Viewing File: /usr/local/cpanel/whostmgr/docroot/templates/multiphp-manager-ng7/vendor.js

(self.webpackChunkmultiphp_manager_ng7=self.webpackChunkmultiphp_manager_ng7||[]).push([[736],{109:(Ne,se,M)=>{"use strict";M.d(se,{F:()=>s});var s=(()=>{return(f=s||(s={}))[f.GET=0]="GET",f[f.HEAD=1]="HEAD",f[f.POST=2]="POST",f[f.PUT=3]="PUT",f[f.DELETE=4]="DELETE",f[f.CONNECT=5]="CONNECT",f[f.OPTIONS=6]="OPTIONS",f[f.TRACE=7]="TRACE",f[f.PATCH=8]="PATCH",s;var f})()},7709:(Ne,se,M)=>{"use strict";M.d(se,{h:()=>s});class s{constructor(Q,re){if(!Q)throw new Error("You must provide a name when creating a name/value argument");this.name=Q,this.value=re}}},3022:(Ne,se,M)=>{"use strict";M.d(se,{tO:()=>yt,VN:()=>ke});var s=M(4235),f=M.n(s),te=M(1305),Q=M.n(te),re=M(4798),X=M.n(re),ie=M(9138),ee=M.n(ie),he=M(248),L=M.n(he),N=M(1503),G=M.n(N),oe=M(7614),Pe=M.n(oe);function le(it){if(f()(it)||Q()(it)||X()(it)||ee()(it)||L()(it))return!0;if(!Pe()(it)&&!G()(it))return!1;for(const ut in it)if(!le(it[ut]))return!1;return!0}class ke{constructor(){this.contentType="application/x-www-form-urlencoded",this.separatorStart="",this.separatorEnd="",this.recordSeparator="&"}encode(ut,pt,ze){if(!ut)throw new Error("Name must have a non-empty value");return`${ut}=${encodeURIComponent(pt.toString())}`+(ze?"":this.recordSeparator)}}class yt{constructor(){this.contentType="application/json",this.separatorStart="{",this.separatorEnd="}",this.recordSeparator=","}encode(ut,pt,ze){if(!ut)throw new Error("Name must have a non-empty value");if(!le(pt))throw new Error("The passed in value can not be serialized to JSON");return JSON.stringify(ut)+":"+JSON.stringify(pt)+(ze?"":this.recordSeparator)}}},3357:(Ne,se,M)=>{"use strict";M.d(se,{p:()=>s,w:()=>f});var s=(()=>{return(te=s||(s={}))[te.Contains=0]="Contains",te[te.Begins=1]="Begins",te[te.Ends=2]="Ends",te[te.Matches=3]="Matches",te[te.Equal=4]="Equal",te[te.NotEqual=5]="NotEqual",te[te.LessThan=6]="LessThan",te[te.LessThanUnlimited=7]="LessThanUnlimited",te[te.GreaterThan=8]="GreaterThan",te[te.GreaterThanUnlimited=9]="GreaterThanUnlimited",te[te.Defined=10]="Defined",te[te.Undefined=11]="Undefined",s;var te})();class f{constructor(Q,re,X){if(!Q)throw new Error("You must define a non-empty column name.");this.column=Q,this.operator=re,this.value=X}}},5380:(Ne,se,M)=>{"use strict";M.d(se,{uE:()=>te});const f=Number.POSITIVE_INFINITY;class te{constructor(re=1,X=20){if(re<=0)throw new Error("The page must be 1 or greater. This is the logical page, not a programming index.");if(X<=0)throw new Error("The pageSize must be set to 'ALL' or a number > 0");this.page=re,this.pageSize=X}all(){return this.pageSize===f}}},755:(Ne,se,M)=>{"use strict";M.d(se,{ER:()=>f,PE:()=>te,Sr:()=>s});var s=(()=>{return(Q=s||(s={}))[Q.Ascending=0]="Ascending",Q[Q.Descending=1]="Descending",s;var Q})(),f=(()=>{return(Q=f||(f={}))[Q.Lexicographic=0]="Lexicographic",Q[Q.Ipv4=1]="Ipv4",Q[Q.Numeric=2]="Numeric",Q[Q.NumericZeroAsMax=3]="NumericZeroAsMax",f;var Q})();class te{constructor(re,X=s.Ascending,ie=f.Lexicographic){if(!re)throw new Error("You must provide a non-empty column name for a Sort rule.");this.column=re,this.direction=X,this.type=ie}}},5397:(Ne,se,M)=>{"use strict";M.d(se,{r:()=>Le,N:()=>Gt});var s=M(1978),f=M.n(s);function te(rt){return rt?"1":"0"}var X=M(755),ie=M(3357),ee=M(7709),he=M(5380);class L{constructor(_e=[]){this.headers=_e}push(_e){this.headers.push(_e)}forEach(_e,Xe){this.headers.forEach(_e,Xe)}toArray(){const _e=[];return this.headers.forEach(Xe=>_e.push({name:Xe.name,value:Xe.value})),_e}toObject(){return this.headers.reduce((_e,Xe)=>(_e[Xe.name]=Xe.value,_e),{})}}class N{constructor(_e){this._header=_e}get name(){return this._header.name}get value(){return this._header.value}}class G extends Error{constructor(_e){super(_e),this.name="CpanelApiTokenInvalidError",Object.setPrototypeOf(this,G.prototype)}}class oe extends Error{constructor(_e){super(_e),this.name="CpanelApiTokenMismatchError",Object.setPrototypeOf(this,oe.prototype)}}class Pe extends N{constructor(_e,Xe){if(!_e)throw new G("You must pass a valid token to the constructor.");if(!Xe&&!/^.+[:]/.test(_e))throw new G("You must pass a cPanel username associated with the cPanel API token.");if(!Xe&&!/[:].+$/.test(_e))throw new G("You must pass a valid cPanel API token.");super({name:"Authorization",value:`cpanel ${Xe?Xe+":":""}${_e}`})}}Error,Error;var it=M(109);const pt=new class ut{constructor(){this.map={},this.map.DEFAULT={verb:"DEFAULT",dataInBody:!0},[it.F.GET,it.F.DELETE,it.F.HEAD].forEach(_e=>{const Xe=it.F[_e].toString();this.map[Xe]={verb:Xe,dataInBody:!1}}),[it.F.POST,it.F.PUT,it.F.PATCH].forEach(_e=>{const Xe=it.F[_e].toString();this.map[Xe]={verb:Xe,dataInBody:!0}})}getRule(_e){const Xe="string"==typeof _e?_e:it.F[_e].toString();let tt=this.map[Xe];return tt||(tt=this.map.DEFAULT),tt}};var ze=M(3022),xt=M(8448),gt=M.n(xt),Gt=(()=>{return(rt=Gt||(Gt={})).JsonApi="json-api",rt.XmlApi="xml-api",Gt;var rt})();class Le extends class yt{constructor(_e){this.namespace="",this.method="",this.arguments=[],this.sorts=[],this.filters=[],this.columns=[],this.pager=new he.uE,this.headers=new L,this._usePager=!1,this.defaultConfig={analytics:!1,json:!1},this.config=this.defaultConfig,_e&&(this.method=_e.method,_e.namespace&&(this.namespace=_e.namespace),_e.arguments&&_e.arguments.forEach(Xe=>{this.addArgument(Xe)}),_e.sorts&&_e.sorts.forEach(Xe=>{this.addSort(Xe)}),_e.filters&&_e.filters.forEach(Xe=>{this.addFilter(Xe)}),_e.columns&&_e.columns.forEach(Xe=>this.addColumn(Xe)),_e.pager&&this.paginate(_e.pager),this.config=_e.config?_e.config:this.defaultConfig,_e.headers&&_e.headers.forEach(Xe=>{this.addHeader(Xe)}))}get usePager(){return this._usePager}addArgument(_e){return this.arguments.push(_e instanceof ee.h?_e:new ee.h(_e.name,_e.value)),this}addSort(_e){return this.sorts.push(_e instanceof X.PE?_e:new X.PE(_e.column,_e.direction,_e.type)),this}addFilter(_e){return this.filters.push(_e instanceof ie.w?_e:new ie.w(_e.column,_e.operator,_e.value)),this}addColumn(_e){return this.columns.push(_e),this}addHeader(_e){return this.headers.push(_e instanceof N?_e:new N(_e)),this}paginate(_e){return this.pager=_e instanceof he.uE?_e:new he.uE(_e.page,_e.pageSize||20),this._usePager=!0,this}}{constructor(_e,Xe){if(super(Xe),this.apiType=Gt.JsonApi,_e!=Gt.JsonApi&&_e!=Gt.XmlApi)throw new Error("You must define the API type for the whmapi call before you generate a request.");if(this.apiType=_e,!this.method)throw new Error("You must define a method for the WHM API call before you generate a request")}addHeader(_e){if(_e instanceof Pe)throw new oe("A CpanelApiTokenHeader cannot be used on a WhmApiRequest");return super.addHeader(_e),this}_build(_e,Xe){let tt="";return _e.forEach((ot,We,zt)=>{tt+=Xe.encode(ot.name,ot.value,We===zt.length-1)}),Xe.separatorStart+tt+Xe.separatorEnd}_make_whm_api_fieldspec_from_number(_e){return gt()("",Math.floor(_e/26),"z")+"abcdefghijklmnopqrstuvwxyz".charAt(_e%26)}_generateArguments(_e){_e.push({name:"api.version",value:1}),this.arguments.forEach(tt=>_e.push(tt))}_generateSorts(_e){this.sorts.forEach((Xe,tt)=>{0===tt&&_e.push({name:"api.sort.enable",value:te(!0)});const ot=`api.sort.${this._make_whm_api_fieldspec_from_number(tt)}`;_e.push({name:`${ot}.field`,value:Xe.column}),_e.push({name:`${ot}.reverse`,value:te(Xe.direction!==X.Sr.Ascending)}),_e.push({name:`${ot}.method`,value:f()(X.ER[Xe.type])})})}_lookupFilterOperator(_e){switch(_e){case ie.p.GreaterThanUnlimited:return"gt_handle_unlimited";case ie.p.GreaterThan:return"gt";case ie.p.LessThanUnlimited:return"lt_handle_unlimited";case ie.p.LessThan:return"lt";case ie.p.Equal:return"eq";case ie.p.Begins:return"begins";case ie.p.Contains:return"contains";default:throw new Error(`Unrecoginzed FilterOperator ${ie.p[_e]} for WHM API 1`)}}_generateFilters(_e){this.filters.forEach((Xe,tt)=>{0===tt&&(_e.push({name:"api.filter.enable",value:te(!0)}),_e.push({name:"api.filter.verbose",value:te(!0)}));const ot=`api.filter.${this._make_whm_api_fieldspec_from_number(tt)}`;_e.push({name:`${ot}.field`,value:Xe.column}),_e.push({name:`${ot}.type`,value:this._lookupFilterOperator(Xe.operator)}),_e.push({name:`${ot}.arg0`,value:Xe.value})})}_translatePageToStart(_e){return(_e.page-1)*_e.pageSize+1}_generatePagination(_e){if(!this.usePager)return;const Xe=this.pager.all();_e.push({name:"api.chunk.enable",value:te(!0)}),_e.push({name:"api.chunk.verbose",value:te(!0)}),_e.push({name:"api.chunk.start",value:Xe?-1:this._translatePageToStart(this.pager)}),Xe||_e.push({name:"api.chunk.size",value:this.pager.pageSize})}generate(_e){_e||(_e={verb:it.F.POST,encoder:this.config.json?new ze.tO:new ze.VN}),_e.encoder||(_e.encoder=this.config.json?new ze.tO:new ze.VN);const Xe=pt.getRule(_e.verb),tt={headers:new L([{name:"Content-Type",value:_e.encoder.contentType}]),url:["",this.apiType,this.method].map(encodeURIComponent).join("/"),body:""},ot=[];this._generateArguments(ot),this._generateSorts(ot),this._generateFilters(ot),this._generatePagination(ot);const We=this._build(ot,_e.encoder);return Xe.dataInBody?tt.body=We:tt.url+=_e.verb===it.F.GET?`?${We}`:We,this.headers.forEach(zt=>{tt.headers.push({name:zt.name,value:zt.value})}),tt}}},269:(Ne,se,M)=>{"use strict";se.g=void 0;const f=M(1680);Object.defineProperty(se,"g",{enumerable:!0,get:function(){return f.Locale}})},5074:(Ne,se)=>{"use strict";Object.defineProperty(se,"__esModule",{value:!0}),se.CLDR=void 0,se.CLDR=class M{constructor(f){this.rawData=f,this.validateCLDR(this.rawData)}validateCLDR(f){if(!f)throw new Error("CLDR data cannot be null");if(!f.locale)throw new Error("CLDR data is missing locale information");if(!Object.prototype.hasOwnProperty.call(f,"functions")||Object.prototype.hasOwnProperty.call(f,"get_plural_form")||"function"!=typeof f.functions.get_plural_form)throw new Error("CLDR data is missing function get_plural_form");if(!Object.prototype.hasOwnProperty.call(f,"datetime_info"))throw new Error("CLDR data is missing datetime_info");if(!Object.prototype.hasOwnProperty.call(f,"misc_info"))throw new Error("CLDR data is missing misc_info");if(!Object.prototype.hasOwnProperty.call(f.misc_info,"cldr_formats"))throw new Error("CLDR data is missing cldr_formats");if(!Object.prototype.hasOwnProperty.call(f.misc_info,"orientation")||!Object.prototype.hasOwnProperty.call(f.misc_info.orientation,"characters"))throw new Error("CLDR data is missing orientation information");if(!Object.prototype.hasOwnProperty.call(f.misc_info,"delimiters"))throw new Error("CLDR data is missing delimiter information");return!0}getLocale(){return this.rawData.locale}getPluralForm(f,...te){return this.rawData.functions.get_plural_form(f,...te)}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:(Ne,se,M)=>{"use strict";Object.defineProperty(se,"__esModule",{value:!0}),se.Locale=void 0;const s=M(2889),f=M(9483),te=M(741),Q=M(786),re=M(5074);se.Locale=class X{constructor(ee,he={}){this.lexicon=he,this._cldr=new re.CLDR(ee)}maketext(ee,...he){return s.maketext({cldr:this._cldr,lexicon:this.lexicon,template:ee,args:he})}localDatetime(ee,he){return this._datetimeWrapper(f.local_datetime,ee,he)}datetime(ee,he){return this._datetimeWrapper(f.datetime,ee,he)}_datetimeWrapper(ee,he,L){return ee({cldr:this._cldr,args:[he,L]})}getCurrentLocale(){return this._cldr.getLocale()}get isRtl(){return this._cldr.isRtl()}get isLtr(){return this._cldr.isLtr()}get cldr(){return this._cldr}numf(ee,he){return this._formatNumber(te.numf,ee,he)}format_bytes(ee,he){return this._formatNumber(te.format_bytes,ee,he)}_formatNumber(ee,...he){return this._callCLDRFunc(ee,he)}list_and(...ee){return this._callCLDRFunc(Q.list_and,ee)}list_and_quoted(...ee){return this._callCLDRFunc(Q.list_and_quoted,ee)}list_or(...ee){return this._callCLDRFunc(Q.list_or,ee)}list_or_quoted(...ee){return this._callCLDRFunc(Q.list_or_quoted,ee)}_callCLDRFunc(ee,he){return ee({cldr:this._cldr,args:he})}}},7296:(Ne,se,M)=>{"use strict";Object.defineProperty(se,"__esModule",{value:!0}),se.asis=void 0;const s=M(5247);se.asis=function f({args:[te,...Q]}){if(!te||Q.length>0||"string"!=typeof te)throw new Error("asis function accepts one non translatable string.");return(te=te.replace(/chr\((\d+)\)/g,function(re,X){return s.functions.chr(Number(X))})).replace(/amp\(\)/g,function(re){return s.functions.amp()})}},527:(Ne,se)=>{"use strict";Object.defineProperty(se,"__esModule",{value:!0}),se.boolean=void 0,se.boolean=function M({args:[s,f,te,Q]}){if(null==f||0===f.length||null==te||0===te.length)throw new Error("boolean function needs a valid whenTrue, whenFalse arguments.");return String(typeof s<"u"&&s?f:Q&&null==s?Q:te)}},9076:(Ne,se)=>{"use strict";Object.defineProperty(se,"__esModule",{value:!0}),se.comment=void 0,se.comment=function M({args:[s]}){return""}},9483:(Ne,se,M)=>{"use strict";Object.defineProperty(se,"__esModule",{value:!0}),se.local_datetime=se.datetime=se.dateToLocalDayNum=void 0;const s=M(5074),f=function(L){const N=L.getUTCDay()-1;return N<0?6:N},te=[7,1,2,3,4,5,6];function Q(L,N){return(te[L.getUTCDay()]+7-N)%7+1}se.dateToLocalDayNum=Q;const re=function(L,N,G){let oe="",Pe=0;return N=N||0,G=String(void 0===G?" ":G),Pe=N-String(L).length,Pe>0&&(oe=[...Array(Pe)].map(String.prototype.valueOf,G).join("")),oe+L};function X({cldr:L,args:[N=new Date,G],tzString:oe="UTC"}){if("number"==typeof N&&/^-?\d+$/.test(N.toString())&&(N=new Date(1e3*N)),!(N instanceof Date))throw new Error("The datetime function only accepts Date instances or integer values (unix timestamps) for the `date` parameter.");if(!(L instanceof s.CLDR))throw new Error("The datetime function requires a valid CLDR instance for the `cldr` parameter.");const Pe=L.getDateTimeInfo();return"string"==typeof G&&/^(?:date|time|datetime|special)_format_/.test(G)&&(G=Pe[G]),G||(G=Pe.date_format_long),G.replace(/('[^']+')|(([a-zA-Z])\3*)/g,function(le,Oe,ke){return Oe?function ie(L){return L.substr(1,L.length-2)}(Oe):function ee(L,N,G,oe){switch(G){case"yy":return Math.abs(L.getUTCFullYear()).toString().slice(-2);case"y":case"yyy":case"yyyy":return String(Math.abs(L.getUTCFullYear()));case"MMMMM":return N.month_format_narrow[L.getUTCMonth()];case"LLLLL":return N.month_stand_alone_narrow[L.getUTCMonth()];case"MMMM":return N.month_format_wide[L.getUTCMonth()];case"LLLL":return N.month_stand_alone_wide[L.getUTCMonth()];case"MMM":return N.month_format_abbreviated[L.getUTCMonth()];case"LLL":return N.month_stand_alone_abbreviated[L.getUTCMonth()];case"MM":case"LL":return re((L.getUTCMonth()+1).toString(),2,"0");case"M":case"L":return String(L.getUTCMonth()+1);case"EEEE":return N.day_format_wide[f(L)];case"EEE":case"EE":case"E":return N.day_format_abbreviated[f(L)];case"EEEEE":return N.day_format_narrow[f(L)];case"cccc":return N.day_stand_alone_wide[f(L)];case"ccc":return N.day_stand_alone_abbreviated[f(L)];case"cc":case"c":return String(Q(L,Number(N.first_day_of_week)));case"ccccc":return N.day_stand_alone_narrow[f(L)];case"dd":return re(L.getUTCDate().toString(),2,"0");case"d":return String(L.getUTCDate());case"h":case"hh":{let Pe=L.getUTCHours();Pe>12&&(Pe-=12),0===Pe&&(Pe=12);const le="hh"===G?re(Pe.toString(),2,"0"):Pe;return String(le)}case"H":return String(L.getUTCHours());case"HH":return re(L.getUTCHours().toString(),2,"0");case"m":return String(L.getUTCMinutes());case"mm":return re(L.getUTCMinutes().toString(),2,"0");case"s":return String(L.getUTCSeconds());case"ss":return re(L.getUTCSeconds().toString(),2,"0");case"a":return L.getUTCHours()<12?N.am_pm_abbreviated[0]:N.am_pm_abbreviated[1];case"z":case"zzzz":case"v":case"vvvv":return oe;case"G":case"GG":case"GGG":return N.era_abbreviated[L.getUTCFullYear()<0?0:1];case"GGGGG":return N.era_narrow[L.getUTCFullYear()<0?0:1];case"GGGG":return N.era_wide[L.getUTCFullYear()<0?0:1]}return G}(N,Pe,ke,oe)})}se.datetime=X,se.local_datetime=function he({cldr:L,args:[N=new Date,G]}){if("number"==typeof N&&/^-?\d+$/.test(N.toString())&&(N=new Date(1e3*N)),!(N instanceof Date))throw new Error("The datetime function only accepts Date instances or integer values (unix timestamps) for the `date` parameter.");if(!(L instanceof s.CLDR))throw new Error("The datetime function requires a valid CLDR instance for the `cldr` parameter.");const oe=N.getTimezoneOffset();(N=new Date(N)).setMinutes(N.getMinutes()-oe);const Pe=oe>0?"-":"+",le=Math.floor(Math.abs(oe)/60),Oe=Math.abs(oe%60);return X({cldr:L,args:[N,G],tzString:"GMT"+Pe+re(le.toString(),2,"0")+re(Oe.toString(),2,"0")})}},40:(Ne,se,M)=>{"use strict";Object.defineProperty(se,"__esModule",{value:!0}),se.functions=void 0;const s=M(7296),f=M(5247),te=M(9076),Q=M(527),re=M(741),X=M(9483),ie=M(786);se.functions={asis:s.asis,output:f.output,comment:te.comment,boolean:Q.boolean,numf:re.numf,numerate:re.numerate,quant:re.quant,format_bytes:re.format_bytes,datetime:X.datetime,local_datetime:X.local_datetime,list_and:ie.list_and,list_or:ie.list_or,list_or_quoted:ie.list_or_quoted,list_and_quoted:ie.list_and_quoted}},786:(Ne,se)=>{"use strict";function s(ie,ee,...he){let L=he.slice();switch(1===L.length&&Array.isArray(L[0])&&(L=L[0].slice()),(typeof L>"u"||0===L.length)&&(L=[""]),L=L.map(N=>function M(ie,ee){const he=ie.getDelimiters();return he&&Object.prototype.hasOwnProperty.call(he,"quotation_start")&&Object.prototype.hasOwnProperty.call(he,"quotation_end")?he.quotation_start+ee+he.quotation_end:ee}(ie,N)),ee){case"list_and":return re({cldr:ie,args:L});case"list_or":return X({cldr:ie,args:L});default:throw new Error("Did you mean list_and_quoted or list_or_quoted?")}}function Q(ie,ee,...he){let L=he.slice();1===L.length&&Array.isArray(L[0])&&(L=L[0].slice());const N=L.length;let G,oe,Pe,le;try{G=ie.getFormats()[ee]}catch{throw new Error("CLDR Data is missing information related to formatting list.")}const Oe=function(ke,yt){switch(yt){case"0":return Pe;case"1":return L[le++]}};switch(N){case 0:return"";case 1:return String(L[0]);default:if(Pe=2===N?G[2]:G.start,Pe=Pe.replace(/\{([01])\}/g,function(ke,yt){return L[yt]}),2===N)return Pe;for(le=2;le<N;)oe=G[le===N-1?"end":"middle"],Pe=oe.replace(/\{([01])\}/g,Oe);return Pe}}function re({cldr:ie,args:[...ee]}){return Q(ie,"list",...ee)}function X({cldr:ie,args:[...ee]}){return Q(ie,"list_or",...ee)}Object.defineProperty(se,"__esModule",{value:!0}),se.list_or=se.list_and=se.list_or_quoted=se.list_and_quoted=void 0,se.list_and_quoted=function f({cldr:ie,args:[...ee]}){return s(ie,"list_and",...ee)},se.list_or_quoted=function te({cldr:ie,args:[...ee]}){return s(ie,"list_or",...ee)},se.list_and=re,se.list_or=X},5247:(Ne,se,M)=>{"use strict";Object.defineProperty(se,"__esModule",{value:!0}),se.functions=se.output=void 0;const s=M(7906),f=M(8533);se.output=function te({args:[Q,...re]}){if(re&&"string"==typeof re[0]&&(re[0]=re[0].replace(/chr\((\d+)\)/g,function(X,ie){return se.functions.chr(Number(ie))}),re[0]=re[0].replace(/amp\(\)/g,function(X){return se.functions.amp()})),"function"==typeof se.functions[Q])return se.functions[Q](...re);throw new Error(`Locale output function '${Q}' is not implemented.`)},se.functions={amp:()=>s.htmlEscape("&"),apos:()=>s.htmlEscape("'"),quot:()=>s.htmlEscape('"'),underline:Q=>`<u>${Q}</u>`,strong:Q=>`<strong>${Q}</strong>`,em:Q=>`<em>${Q}</em>`,abbr:(Q,re)=>`<abbr title="${re}">${Q}</abbr>`,acronym:(Q,re)=>`<abbr title="${re}" class="initialism">${Q}</abbr>`,class:(Q,...re)=>`<span class="${re.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 s.htmlEscape(String.fromCharCode(Q))},url(Q,...re){let X,ie;if("object"==typeof re[re.length-1])if(X=re[re.length-1],2===re.length){if(X.html)throw new Error("Cannot provide both text and configuration with html attribute");ie=re[0]}else X&&X.html?(ie=X.html,delete X.html):ie=Q;else re.length%2==0?(X=f.listToObject(...re),X&&"html"in X&&""!==X.html?(ie=X.html,delete X.html):ie=Q):(ie=re.shift(),X=f.listToObject(...re));"_type"in X&&"offsite"===X._type&&(X.class="offsite",X.target="_blank",delete X._type);let ee=`<a href="${Q}"`;if("object"==typeof X)for(const he in X)Object.prototype.hasOwnProperty.call(X,he)&&(ee+=` ${he}="${X[he]}"`);return ee+=`>${ie}</a>`,ee}}},741:(Ne,se,M)=>{"use strict";Object.defineProperty(se,"__esModule",{value:!0}),se.format_bytes=se.numf=se.quant=se.numerate=void 0;const s=M(5074);function te({cldr:ie,args:[ee,...he]}){if(!(ie instanceof s.CLDR))throw new Error("`quant` function requires a valid CLDR instance for the `cldr` parameter.");let L,N=3;ee instanceof Array?(N=ee[1],L=ee[0]):L=ee;const G=ie.getPluralForm(L,...he),oe=G[0]?G[0]:he[he.length-1];if(G&&G.length>=2&&G[1])return oe;const le=re({cldr:ie,args:[L,N]});return-1!==oe.indexOf("%s")?oe.replace(/%s/g,le):ie.isRtl()?oe+" "+le:le+" "+oe}function re({cldr:ie,args:[ee,he=6]}){if(!(ie instanceof s.CLDR))throw new Error("`numf` function requires a valid CLDR instance for the `cldr` parameter.");if(/e/.test(ee.toString()))return String(ee);const{decimalFormat:L,decimalGroup:N,decimalDecimal:G}=function Q(ie){const ee={},he=ie.getFormats();return Object.prototype.hasOwnProperty.call(he,"decimal")&&(ee.decimalFormat=he.decimal),Object.prototype.hasOwnProperty.call(he,"_decimal_format_group")&&(ee.decimalGroup=he._decimal_format_group),Object.prototype.hasOwnProperty.call(he,"_decimal_format_decimal")&&(ee.decimalDecimal=he._decimal_format_decimal),ee}(ie);if(!L||!N||!G)throw new Error("CLDR Data is missing information related to formatting decimals.");const oe=ee<0;ee=Math.abs(ee);let le,Oe,Pe=Math.floor(ee);/(?!')\.(?!')/.test(ee.toString())&&(le=String(ee).replace(/^[^.]+/,"0"),le=Number(le).toFixed(he),/^1/.test(le)?(Pe++,ee=Pe,le=void 0):le=le.replace(/^.*\./,"").replace(/0+$/,"")),Oe=/(?!');(?!')/.test(L)?L.split(/(?!');(?!')/)[oe?1:0]:(oe?"-":"")+L;const it=Oe.match(/[0#].*[0#]/)[0].split(/(?!')\.(?!')/)[0].split("").reverse().join("").split(/(?!'),(?!')/);let ut;1===it.length?ut="":(it.pop(),ut=N);const pt=String(Pe).split("").reverse(),ze=[];let xt;const gt=function(Le){switch(Le){case"#":return pt.shift()||"";case"0":return pt.shift()||"0"}};for(;pt.length;){it.length&&(xt=it.shift());const Le=xt.replace(/(?!')[0#]|[0#](?!')/g,gt).replace(/'([.,0#;\xa4%E])'$/,"").replace(/'([.,0#;\xa4%E])'/,"$1");ze.push(Le)}const Gt=ze.join(ut).split("").reverse().join("")+(le?G+le:"");return Oe.replace(/[0#].*[0#]/,Gt)}se.numerate=function f({cldr:ie,args:[ee,...he]}){if(!(ie instanceof s.CLDR))throw new Error("`numerate` function requires a valid CLDR instance for the `cldr` parameter.");const L=ie.getPluralForm(ee,...he);return L?L[0]:he[he.length-1]},se.quant=te,se.numf=re,se.format_bytes=function X({cldr:ie,args:[ee,he=2]}){if(!(ie instanceof s.CLDR))throw new Error("`format_bytes` function requires a valid CLDR instance for the `cldr` parameter.");const L=["KB","MB","GB","TB","PB","EB","ZB","YB"],G=ee&&Math.min(Math.floor(Math.log(ee)/Math.log(1024)),L.length);return G?re({cldr:ie,args:[ee/Math.pow(1024,G),he]})+"\xa0"+L[G-1]:te({cldr:ie,args:[ee,"%s\xa0byte","%s\xa0bytes"]})}},2889:(Ne,se,M)=>{"use strict";Object.defineProperty(se,"__esModule",{value:!0}),se.maketext=se.functions=se.config=void 0;const s=M(40);function re(X,ie){const ee=[];let he=!1,L=!1;return X.forEach((N,G)=>{if("_"===N.charAt(0))if("_*"===N){if(L)throw"You cannot combine wildcard substitution (_*) with a numeric substitution (e.g. _1) in the same bracket.";ee.push(...ie),he=!0}else{const oe=N.match(se.config.underscoreDigitRe);if(oe){if(he)throw"You cannot combine wildcard substitution (_*) with a numeric substitution (e.g. _1) in the same bracket.";const[Pe,le]=oe,Oe=Number(le)-1;if(!(Oe in ie))throw`The "${Pe}" substitution argument was not passed to the maketext function.`;ee.push(ie[Oe]),L=!0}}else ee.push(N)}),ee}se.config={bracketRe:/([^~\[\]]+|~.|\[|\]|~)/g,underscoreDigitRe:/^_(\d+)$/,fauxComma:"\x07",fauxCommaRe:new RegExp("\x07","g"),tildeChars:new Set(["[","]","~"])},se.functions={...s.functions},se.maketext=function te({cldr:X,lexicon:ie,template:ee,args:he}){if("string"!=typeof ee)throw"You must pass a string template to the maketext function.";if(-1===(ee=ie&&ie[ee]||ee).indexOf("["))return ee;const L=ee.match(se.config.bracketRe)||[],N=[];let G=!1,oe="";if(L.forEach(Pe=>{if("["===Pe){if(G)throw Error(`Invalid maketext string: ${ee} \nThe string contains nested brackets.`);G=!0}else if("]"===Pe){if(!G)throw Error(`Invalid maketext string: ${ee} \nThe string contains an unmatched closing bracket character (]).`);if(!oe)throw Error(`Invalid maketext string: ${ee} \nThe string contains empty brackets. Use the escape character (~) if the bracket characters were meant to be printed literally.`);let le;G=!1;try{le=function Q(X,ie,ee){let he=ie.split(",");if(he=he.map(G=>G.replace(se.config.fauxCommaRe,",")),1===he.length){if(!se.config.underscoreDigitRe.test(he[0]))throw"A bracket must contain more than one argument, unless it is a pure substition.\n Example: Number of accounts: [_1]";const[G]=re(he,ee);return String(G)}const L=he.shift();if(!L||"function"!=typeof se.functions[L])throw`Invalid function "${L}" in maketext string.`;const N=re(he,ee);return se.functions[L]({cldr:X,args:N})}(X,oe,he)}catch(Oe){throw Error(`Invalid maketext string: ${ee} \n${Oe}`)}oe="",N.push(le)}else if("~"===Pe.charAt(0)){const le=Pe.charAt(1)||"~";G?oe+=","===le?se.config.fauxComma:le:se.config.tildeChars.has(le)?N.push(le):N.push(Pe)}else G?oe+=Pe:N.push(Pe)}),G)throw Error(`Invalid maketext string: ${ee} \nThe string contains an unmatched opening bracket character ([).`);return N.join("")}},7906:(Ne,se)=>{"use strict";Object.defineProperty(se,"__esModule",{value:!0}),se.htmlEscape=se.entityMap=void 0,se.entityMap={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","/":"&#x2F;"},se.htmlEscape=function M(s){return String(s).replace(/[&<>"'\/]/g,f=>se.entityMap[f])}},8533:(Ne,se)=>{"use strict";Object.defineProperty(se,"__esModule",{value:!0}),se.listToObject=void 0,se.listToObject=function f(...te){let Q={};return function M(te){if(te.length%2>0)throw new Error("An associative list must have an even number of parts: {name1}, {value1}, {name2}, {value2} ...");for(let re=0,X=te.length;re<X;re+=2){const ie=te[re];if("string"!=typeof ie||""===ie)throw new Error("An associative list must provide non-empty string names in the 1st, 3rd, ... positions.")}return!0}(te)&&(Q=function s(te){const Q=te.length,re={};let ie,ee,X=0;for(;X<Q;)ie=te[X],ee=te[++X],re[ie]=ee,X++;return re}(te)),Q}},443:(Ne,se,M)=>{var s=M(2119);Ne.exports=s.Symbol},4633:Ne=>{Ne.exports=function se(M,s){for(var f=-1,te=null==M?0:M.length,Q=Array(te);++f<te;)Q[f]=s(M[f],f,M);return Q}},8745:Ne=>{Ne.exports=function se(M,s,f,te){var Q=-1,re=null==M?0:M.length;for(te&&re&&(f=M[++Q]);++Q<re;)f=s(f,M[Q],Q,M);return f}},5481:(Ne,se,M)=>{var f=M(1847)("length");Ne.exports=f},6422:Ne=>{Ne.exports=function se(M){return M.split("")}},69:Ne=>{var se=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;Ne.exports=function M(s){return s.match(se)||[]}},3337:(Ne,se,M)=>{var s=M(443),f=M(1318),te=M(2902),X=s?s.toStringTag:void 0;Ne.exports=function ie(ee){return null==ee?void 0===ee?"[object Undefined]":"[object Null]":X&&X in Object(ee)?f(ee):te(ee)}},1847:Ne=>{Ne.exports=function se(M){return function(s){return null==s?void 0:s[M]}}},2724:Ne=>{Ne.exports=function se(M){return function(s){return null==M?void 0:M[s]}}},7065:Ne=>{var M=Math.floor;Ne.exports=function s(f,te){var Q="";if(!f||te<1||te>9007199254740991)return Q;do{te%2&&(Q+=f),(te=M(te/2))&&(f+=f)}while(te);return Q}},4363:Ne=>{Ne.exports=function se(M,s,f){var te=-1,Q=M.length;s<0&&(s=-s>Q?0:Q+s),(f=f>Q?Q:f)<0&&(f+=Q),Q=s>f?0:f-s>>>0,s>>>=0;for(var re=Array(Q);++te<Q;)re[te]=M[te+s];return re}},3935:(Ne,se,M)=>{var s=M(443),f=M(4633),te=M(1503),Q=M(4129),X=s?s.prototype:void 0,ie=X?X.toString:void 0;Ne.exports=function ee(he){if("string"==typeof he)return he;if(te(he))return f(he,ee)+"";if(Q(he))return ie?ie.call(he):"";var L=he+"";return"0"==L&&1/he==-1/0?"-0":L}},3348:(Ne,se,M)=>{var s=M(2760),f=/^\s+/;Ne.exports=function te(Q){return Q&&Q.slice(0,s(Q)+1).replace(f,"")}},2329:(Ne,se,M)=>{var s=M(4363);Ne.exports=function f(te,Q,re){var X=te.length;return re=void 0===re?X:re,!Q&&re>=X?te:s(te,Q,re)}},1491:(Ne,se,M)=>{var s=M(8745),f=M(4707),te=M(7188),re=RegExp("['\u2019]","g");Ne.exports=function X(ie){return function(ee){return s(te(f(ee).replace(re,"")),ie,"")}}},5171:(Ne,se,M)=>{var s=M(7065),f=M(3935),te=M(2329),Q=M(7609),re=M(2315),X=M(6007),ie=Math.ceil;Ne.exports=function ee(he,L){var N=(L=void 0===L?" ":f(L)).length;if(N<2)return N?s(L,he):L;var G=s(L,ie(he/re(L)));return Q(L)?te(X(G),0,he).join(""):G.slice(0,he)}},9148:(Ne,se,M)=>{var te=M(2724)({\u00c0:"A",\u00c1:"A",\u00c2:"A",\u00c3:"A",\u00c4:"A",\u00c5:"A",\u00e0:"a",\u00e1:"a",\u00e2:"a",\u00e3:"a",\u00e4:"a",\u00e5:"a",\u00c7:"C",\u00e7:"c",\u00d0:"D",\u00f0:"d",\u00c8:"E",\u00c9:"E",\u00ca:"E",\u00cb:"E",\u00e8:"e",\u00e9:"e",\u00ea:"e",\u00eb:"e",\u00cc:"I",\u00cd:"I",\u00ce:"I",\u00cf:"I",\u00ec:"i",\u00ed:"i",\u00ee:"i",\u00ef:"i",\u00d1:"N",\u00f1:"n",\u00d2:"O",\u00d3:"O",\u00d4:"O",\u00d5:"O",\u00d6:"O",\u00d8:"O",\u00f2:"o",\u00f3:"o",\u00f4:"o",\u00f5:"o",\u00f6:"o",\u00f8:"o",\u00d9:"U",\u00da:"U",\u00db:"U",\u00dc:"U",\u00f9:"u",\u00fa:"u",\u00fb:"u",\u00fc:"u",\u00dd:"Y",\u00fd:"y",\u00ff:"y",\u00c6:"Ae",\u00e6:"ae",\u00de:"Th",\u00fe:"th",\u00df:"ss",\u0100:"A",\u0102:"A",\u0104:"A",\u0101:"a",\u0103:"a",\u0105:"a",\u0106:"C",\u0108:"C",\u010a:"C",\u010c:"C",\u0107:"c",\u0109:"c",\u010b:"c",\u010d:"c",\u010e:"D",\u0110:"D",\u010f:"d",\u0111:"d",\u0112:"E",\u0114:"E",\u0116:"E",\u0118:"E",\u011a:"E",\u0113:"e",\u0115:"e",\u0117:"e",\u0119:"e",\u011b:"e",\u011c:"G",\u011e:"G",\u0120:"G",\u0122:"G",\u011d:"g",\u011f:"g",\u0121:"g",\u0123:"g",\u0124:"H",\u0126:"H",\u0125:"h",\u0127:"h",\u0128:"I",\u012a:"I",\u012c:"I",\u012e:"I",\u0130:"I",\u0129:"i",\u012b:"i",\u012d:"i",\u012f:"i",\u0131:"i",\u0134:"J",\u0135:"j",\u0136:"K",\u0137:"k",\u0138:"k",\u0139:"L",\u013b:"L",\u013d:"L",\u013f:"L",\u0141:"L",\u013a:"l",\u013c:"l",\u013e:"l",\u0140:"l",\u0142:"l",\u0143:"N",\u0145:"N",\u0147:"N",\u014a:"N",\u0144:"n",\u0146:"n",\u0148:"n",\u014b:"n",\u014c:"O",\u014e:"O",\u0150:"O",\u014d:"o",\u014f:"o",\u0151:"o",\u0154:"R",\u0156:"R",\u0158:"R",\u0155:"r",\u0157:"r",\u0159:"r",\u015a:"S",\u015c:"S",\u015e:"S",\u0160:"S",\u015b:"s",\u015d:"s",\u015f:"s",\u0161:"s",\u0162:"T",\u0164:"T",\u0166:"T",\u0163:"t",\u0165:"t",\u0167:"t",\u0168:"U",\u016a:"U",\u016c:"U",\u016e:"U",\u0170:"U",\u0172:"U",\u0169:"u",\u016b:"u",\u016d:"u",\u016f:"u",\u0171:"u",\u0173:"u",\u0174:"W",\u0175:"w",\u0176:"Y",\u0177:"y",\u0178:"Y",\u0179:"Z",\u017b:"Z",\u017d:"Z",\u017a:"z",\u017c:"z",\u017e:"z",\u0132:"IJ",\u0133:"ij",\u0152:"Oe",\u0153:"oe",\u0149:"'n",\u017f:"s"});Ne.exports=te},9122:Ne=>{var se="object"==typeof global&&global&&global.Object===Object&&global;Ne.exports=se},9519:(Ne,se,M)=>{var f=M(9385)(Object.getPrototypeOf,Object);Ne.exports=f},1318:(Ne,se,M)=>{var s=M(443),f=Object.prototype,te=f.hasOwnProperty,Q=f.toString,re=s?s.toStringTag:void 0;Ne.exports=function X(ie){var ee=te.call(ie,re),he=ie[re];try{ie[re]=void 0;var L=!0}catch{}var N=Q.call(ie);return L&&(ee?ie[re]=he:delete ie[re]),N}},7609:Ne=>{var X=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");Ne.exports=function ie(ee){return X.test(ee)}},9062:Ne=>{var se=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;Ne.exports=function M(s){return se.test(s)}},2902:Ne=>{var M=Object.prototype.toString;Ne.exports=function s(f){return M.call(f)}},9385:Ne=>{Ne.exports=function se(M,s){return function(f){return M(s(f))}}},2119:(Ne,se,M)=>{var s=M(9122),f="object"==typeof self&&self&&self.Object===Object&&self,te=s||f||Function("return this")();Ne.exports=te},2315:(Ne,se,M)=>{var s=M(5481),f=M(7609),te=M(1149);Ne.exports=function Q(re){return f(re)?te(re):s(re)}},6007:(Ne,se,M)=>{var s=M(6422),f=M(7609),te=M(6319);Ne.exports=function Q(re){return f(re)?te(re):s(re)}},2760:Ne=>{var se=/\s/;Ne.exports=function M(s){for(var f=s.length;f--&&se.test(s.charAt(f)););return f}},1149:Ne=>{var se="\\ud800-\\udfff",re="["+se+"]",X="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",ie="\\ud83c[\\udffb-\\udfff]",he="[^"+se+"]",L="(?:\\ud83c[\\udde6-\\uddff]){2}",N="[\\ud800-\\udbff][\\udc00-\\udfff]",oe="(?:"+X+"|"+ie+")?",Pe="[\\ufe0e\\ufe0f]?",Oe=Pe+oe+"(?:\\u200d(?:"+[he,L,N].join("|")+")"+Pe+oe+")*",ke="(?:"+[he+X+"?",X,L,N,re].join("|")+")",yt=RegExp(ie+"(?="+ie+")|"+ke+Oe,"g");Ne.exports=function it(ut){for(var pt=yt.lastIndex=0;yt.test(ut);)++pt;return pt}},6319:Ne=>{var se="\\ud800-\\udfff",re="["+se+"]",X="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",ie="\\ud83c[\\udffb-\\udfff]",he="[^"+se+"]",L="(?:\\ud83c[\\udde6-\\uddff]){2}",N="[\\ud800-\\udbff][\\udc00-\\udfff]",oe="(?:"+X+"|"+ie+")?",Pe="[\\ufe0e\\ufe0f]?",Oe=Pe+oe+"(?:\\u200d(?:"+[he,L,N].join("|")+")"+Pe+oe+")*",ke="(?:"+[he+X+"?",X,L,N,re].join("|")+")",yt=RegExp(ie+"(?="+ie+")|"+ke+Oe,"g");Ne.exports=function it(ut){return ut.match(yt)||[]}},910:Ne=>{var se="\\ud800-\\udfff",Q="\\u2700-\\u27bf",re="a-z\\xdf-\\xf6\\xf8-\\xff",L="A-Z\\xc0-\\xd6\\xd8-\\xde",G="\\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",Pe="["+G+"]",Oe="\\d+",ke="["+Q+"]",yt="["+re+"]",it="[^"+se+G+Oe+Q+re+L+"]",xt="(?:\\ud83c[\\udde6-\\uddff]){2}",gt="[\\ud800-\\udbff][\\udc00-\\udfff]",Gt="["+L+"]",rt="(?:"+yt+"|"+it+")",_e="(?:"+Gt+"|"+it+")",Xe="(?:['\u2019](?:d|ll|m|re|s|t|ve))?",tt="(?:['\u2019](?:D|LL|M|RE|S|T|VE))?",ot="(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\\ud83c[\\udffb-\\udfff])?",We="[\\ufe0e\\ufe0f]?",Er=We+ot+"(?:\\u200d(?:"+["[^"+se+"]",xt,gt].join("|")+")"+We+ot+")*",ir="(?:"+[ke,xt,gt].join("|")+")"+Er,si=RegExp([Gt+"?"+yt+"+"+Xe+"(?="+[Pe,Gt,"$"].join("|")+")",_e+"+"+tt+"(?="+[Pe,Gt+rt,"$"].join("|")+")",Gt+"?"+rt+"+"+Xe,Gt+"+"+tt,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Oe,ir].join("|"),"g");Ne.exports=function Dr(jr){return jr.match(si)||[]}},4707:(Ne,se,M)=>{var s=M(9148),f=M(3943),te=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,he=RegExp("[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]","g");Ne.exports=function L(N){return(N=f(N))&&N.replace(te,s).replace(he,"")}},1503:Ne=>{Ne.exports=Array.isArray},4798:(Ne,se,M)=>{var s=M(3337),f=M(2671);Ne.exports=function Q(re){return!0===re||!1===re||f(re)&&"[object Boolean]"==s(re)}},1305:Ne=>{Ne.exports=function se(M){return null===M}},9138:(Ne,se,M)=>{var s=M(3337),f=M(2671);Ne.exports=function Q(re){return"number"==typeof re||f(re)&&"[object Number]"==s(re)}},5940:Ne=>{Ne.exports=function se(M){var s=typeof M;return null!=M&&("object"==s||"function"==s)}},2671:Ne=>{Ne.exports=function se(M){return null!=M&&"object"==typeof M}},7614:(Ne,se,M)=>{var s=M(3337),f=M(9519),te=M(2671),ie=Function.prototype.toString,ee=Object.prototype.hasOwnProperty,he=ie.call(Object);Ne.exports=function L(N){if(!te(N)||"[object Object]"!=s(N))return!1;var G=f(N);if(null===G)return!0;var oe=ee.call(G,"constructor")&&G.constructor;return"function"==typeof oe&&oe instanceof oe&&ie.call(oe)==he}},248:(Ne,se,M)=>{var s=M(3337),f=M(1503),te=M(2671);Ne.exports=function re(X){return"string"==typeof X||!f(X)&&te(X)&&"[object String]"==s(X)}},4129:(Ne,se,M)=>{var s=M(3337),f=M(2671);Ne.exports=function Q(re){return"symbol"==typeof re||f(re)&&"[object Symbol]"==s(re)}},4235:Ne=>{Ne.exports=function se(M){return void 0===M}},7489:function(Ne,se,M){var s;Ne=M.nmd(Ne),function(){var f,X="Expected a function",ee="__lodash_hash_undefined__",L="__lodash_placeholder__",zt=1/0,cn=9007199254740991,ir=4294967295,jr=[["ary",128],["bind",1],["bindKey",2],["curry",8],["curryRight",16],["flip",512],["partial",32],["partialRight",64],["rearg",256]],zn="[object Arguments]",Pn="[object Array]",Un="[object Boolean]",dr="[object Date]",$r="[object Error]",tr="[object Function]",Mn="[object GeneratorFunction]",Vn="[object Map]",Ar="[object Number]",Yn="[object Object]",hr="[object Promise]",On="[object RegExp]",Ce="[object Set]",Me="[object String]",me="[object Symbol]",ne="[object WeakMap]",He="[object ArrayBuffer]",Ge="[object DataView]",st="[object Float32Array]",It="[object Float64Array]",dt="[object Int8Array]",kt="[object Int16Array]",un="[object Int32Array]",Yt="[object Uint8Array]",Tt="[object Uint8ClampedArray]",Rt="[object Uint16Array]",$t="[object Uint32Array]",nn=/\b__p \+= '';/g,sn=/\b(__p \+=) '' \+/g,Mt=/(__e\(.*?\)|\b__t\)) \+\n'';/g,an=/&(?:amp|lt|gt|quot|#39);/g,Xt=/[&<>"']/g,_n=RegExp(an.source),xn=RegExp(Xt.source),Bt=/<%-([\s\S]+?)%>/g,En=/<%([\s\S]+?)%>/g,Vt=/<%=([\s\S]+?)%>/g,qt=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Wt=/^\w*$/,ur=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,$e=/[\\^$.*+?()[\]{}|]/g,we=RegExp($e.source),ce=/^\s+/,Be=/\s/,at=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Ft=/\{\n\/\* \[wrapped with (.+)\] \*/,Ut=/,? & /,At=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,ge=/[()=,{}\[\]\/\s]/,Ue=/\\(\\)?/g,_t=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,Nt=/\w*$/,Tn=/^[-+]0x[0-9a-f]+$/i,je=/^0b[01]+$/i,nt=/^\[object .+?Constructor\]$/,Qe=/^0o[0-7]+$/i,St=/^(?:0|[1-9]\d*)$/,Zt=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,jt=/($^)/,x=/['\n\r\u2028\u2029\\]/g,z="\\ud800-\\udfff",R="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",$="\\u2700-\\u27bf",y="a-z\\xdf-\\xf6\\xf8-\\xff",ln="A-Z\\xc0-\\xd6\\xd8-\\xde",Qt="\\ufe0e\\ufe0f",kn="\\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",sr="["+z+"]",or="["+kn+"]",Jn="["+R+"]",Gr="\\d+",Mr="["+$+"]",Tr="["+y+"]",qi="[^"+z+kn+Gr+$+y+ln+"]",oi="\\ud83c[\\udffb-\\udfff]",Re="[^"+z+"]",I="(?:\\ud83c[\\udde6-\\uddff]){2}",Ie="[\\ud800-\\udbff][\\udc00-\\udfff]",Ot="["+ln+"]",ei="(?:"+Tr+"|"+qi+")",Ai="(?:"+Ot+"|"+qi+")",Cs="(?:['\u2019](?:d|ll|m|re|s|t|ve))?",ns="(?:['\u2019](?:D|LL|M|RE|S|T|VE))?",mo="(?:"+Jn+"|"+oi+")?",rs="["+Qt+"]?",bs=rs+mo+"(?:\\u200d(?:"+[Re,I,Ie].join("|")+")"+rs+mo+")*",Ki="(?:"+[Mr,I,Ie].join("|")+")"+bs,Ns="(?:"+[Re+Jn+"?",Jn,I,Ie,sr].join("|")+")",is=RegExp("['\u2019]","g"),Xs=RegExp(Jn,"g"),ws=RegExp(oi+"(?="+oi+")|"+Ns+bs,"g"),Es=RegExp([Ot+"?"+Tr+"+"+Cs+"(?="+[or,Ot,"$"].join("|")+")",Ai+"+"+ns+"(?="+[or,Ot+ei,"$"].join("|")+")",Ot+"?"+ei+"+"+Cs,Ot+"+"+ns,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Gr,Ki].join("|"),"g"),Mo=RegExp("[\\u200d"+z+R+Qt+"]"),ks=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,Ls=["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"],ss=-1,pr={};pr[st]=pr[It]=pr[dt]=pr[kt]=pr[un]=pr[Yt]=pr[Tt]=pr[Rt]=pr[$t]=!0,pr[zn]=pr[Pn]=pr[He]=pr[Un]=pr[Ge]=pr[dr]=pr[$r]=pr[tr]=pr[Vn]=pr[Ar]=pr[Yn]=pr[On]=pr[Ce]=pr[Me]=pr[ne]=!1;var mr={};mr[zn]=mr[Pn]=mr[He]=mr[Ge]=mr[Un]=mr[dr]=mr[st]=mr[It]=mr[dt]=mr[kt]=mr[un]=mr[Vn]=mr[Ar]=mr[Yn]=mr[On]=mr[Ce]=mr[Me]=mr[me]=mr[Yt]=mr[Tt]=mr[Rt]=mr[$t]=!0,mr[$r]=mr[tr]=mr[ne]=!1;var Bs={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},To=parseFloat,Vs=parseInt,Ds="object"==typeof global&&global&&global.Object===Object&&global,os="object"==typeof self&&self&&self.Object===Object&&self,Ir=Ds||os||Function("return this")(),ni=se&&!se.nodeType&&se,zr=ni&&Ne&&!Ne.nodeType&&Ne,Kr=zr&&zr.exports===ni,Fi=Kr&&Ds.process,ci=function(){try{return zr&&zr.require&&zr.require("util").types||Fi&&Fi.binding&&Fi.binding("util")}catch{}}(),as=ci&&ci.isArrayBuffer,$i=ci&&ci.isDate,Qi=ci&&ci.isMap,T=ci&&ci.isRegExp,W=ci&&ci.isSet,S=ci&&ci.isTypedArray;function K(Ve,lt,Je){switch(Je.length){case 0:return Ve.call(lt);case 1:return Ve.call(lt,Je[0]);case 2:return Ve.call(lt,Je[0],Je[1]);case 3:return Ve.call(lt,Je[0],Je[1],Je[2])}return Ve.apply(lt,Je)}function De(Ve,lt,Je,Kt){for(var Dn=-1,yn=null==Ve?0:Ve.length;++Dn<yn;){var Rr=Ve[Dn];lt(Kt,Rr,Je(Rr),Ve)}return Kt}function et(Ve,lt){for(var Je=-1,Kt=null==Ve?0:Ve.length;++Je<Kt&&!1!==lt(Ve[Je],Je,Ve););return Ve}function wt(Ve,lt){for(var Je=null==Ve?0:Ve.length;Je--&&!1!==lt(Ve[Je],Je,Ve););return Ve}function Lt(Ve,lt){for(var Je=-1,Kt=null==Ve?0:Ve.length;++Je<Kt;)if(!lt(Ve[Je],Je,Ve))return!1;return!0}function Xn(Ve,lt){for(var Je=-1,Kt=null==Ve?0:Ve.length,Dn=0,yn=[];++Je<Kt;){var Rr=Ve[Je];lt(Rr,Je,Ve)&&(yn[Dn++]=Rr)}return yn}function $n(Ve,lt){return!(null==Ve||!Ve.length)&&C(Ve,lt,0)>-1}function cr(Ve,lt,Je){for(var Kt=-1,Dn=null==Ve?0:Ve.length;++Kt<Dn;)if(Je(lt,Ve[Kt]))return!0;return!1}function rn(Ve,lt){for(var Je=-1,Kt=null==Ve?0:Ve.length,Dn=Array(Kt);++Je<Kt;)Dn[Je]=lt(Ve[Je],Je,Ve);return Dn}function vr(Ve,lt){for(var Je=-1,Kt=lt.length,Dn=Ve.length;++Je<Kt;)Ve[Dn+Je]=lt[Je];return Ve}function er(Ve,lt,Je,Kt){var Dn=-1,yn=null==Ve?0:Ve.length;for(Kt&&yn&&(Je=Ve[++Dn]);++Dn<yn;)Je=lt(Je,Ve[Dn],Dn,Ve);return Je}function Br(Ve,lt,Je,Kt){var Dn=null==Ve?0:Ve.length;for(Kt&&Dn&&(Je=Ve[--Dn]);Dn--;)Je=lt(Je,Ve[Dn],Dn,Ve);return Je}function Wr(Ve,lt){for(var Je=-1,Kt=null==Ve?0:Ve.length;++Je<Kt;)if(lt(Ve[Je],Je,Ve))return!0;return!1}var Ti=Fr("length");function P(Ve,lt,Je){var Kt;return Je(Ve,function(Dn,yn,Rr){if(lt(Dn,yn,Rr))return Kt=yn,!1}),Kt}function E(Ve,lt,Je,Kt){for(var Dn=Ve.length,yn=Je+(Kt?1:-1);Kt?yn--:++yn<Dn;)if(lt(Ve[yn],yn,Ve))return yn;return-1}function C(Ve,lt,Je){return lt==lt?function en(Ve,lt,Je){for(var Kt=Je-1,Dn=Ve.length;++Kt<Dn;)if(Ve[Kt]===lt)return Kt;return-1}(Ve,lt,Je):E(Ve,ct,Je)}function H(Ve,lt,Je,Kt){for(var Dn=Je-1,yn=Ve.length;++Dn<yn;)if(Kt(Ve[Dn],lt))return Dn;return-1}function ct(Ve){return Ve!=Ve}function fn(Ve,lt){var Je=null==Ve?0:Ve.length;return Je?Ji(Ve,lt)/Je:NaN}function Fr(Ve){return function(lt){return null==lt?f:lt[Ve]}}function ai(Ve){return function(lt){return null==Ve?f:Ve[lt]}}function us(Ve,lt,Je,Kt,Dn){return Dn(Ve,function(yn,Rr,vn){Je=Kt?(Kt=!1,yn):lt(Je,yn,Rr,vn)}),Je}function Ji(Ve,lt){for(var Je,Kt=-1,Dn=Ve.length;++Kt<Dn;){var yn=lt(Ve[Kt]);yn!==f&&(Je=Je===f?yn:Je+yn)}return Je}function Us(Ve,lt){for(var Je=-1,Kt=Array(Ve);++Je<Ve;)Kt[Je]=lt(Je);return Kt}function nr(Ve){return Ve&&Ve.slice(0,bn(Ve)+1).replace(ce,"")}function di(Ve){return function(lt){return Ve(lt)}}function Qr(Ve,lt){return rn(lt,function(Je){return Ve[Je]})}function Hs(Ve,lt){return Ve.has(lt)}function Xi(Ve,lt){for(var Je=-1,Kt=Ve.length;++Je<Kt&&C(lt,Ve[Je],0)>-1;);return Je}function Ri(Ve,lt){for(var Je=Ve.length;Je--&&C(lt,Ve[Je],0)>-1;);return Je}function js(Ve,lt){for(var Je=Ve.length,Kt=0;Je--;)Ve[Je]===lt&&++Kt;return Kt}var Jo=ai({\u00c0:"A",\u00c1:"A",\u00c2:"A",\u00c3:"A",\u00c4:"A",\u00c5:"A",\u00e0:"a",\u00e1:"a",\u00e2:"a",\u00e3:"a",\u00e4:"a",\u00e5:"a",\u00c7:"C",\u00e7:"c",\u00d0:"D",\u00f0:"d",\u00c8:"E",\u00c9:"E",\u00ca:"E",\u00cb:"E",\u00e8:"e",\u00e9:"e",\u00ea:"e",\u00eb:"e",\u00cc:"I",\u00cd:"I",\u00ce:"I",\u00cf:"I",\u00ec:"i",\u00ed:"i",\u00ee:"i",\u00ef:"i",\u00d1:"N",\u00f1:"n",\u00d2:"O",\u00d3:"O",\u00d4:"O",\u00d5:"O",\u00d6:"O",\u00d8:"O",\u00f2:"o",\u00f3:"o",\u00f4:"o",\u00f5:"o",\u00f6:"o",\u00f8:"o",\u00d9:"U",\u00da:"U",\u00db:"U",\u00dc:"U",\u00f9:"u",\u00fa:"u",\u00fb:"u",\u00fc:"u",\u00dd:"Y",\u00fd:"y",\u00ff:"y",\u00c6:"Ae",\u00e6:"ae",\u00de:"Th",\u00fe:"th",\u00df:"ss",\u0100:"A",\u0102:"A",\u0104:"A",\u0101:"a",\u0103:"a",\u0105:"a",\u0106:"C",\u0108:"C",\u010a:"C",\u010c:"C",\u0107:"c",\u0109:"c",\u010b:"c",\u010d:"c",\u010e:"D",\u0110:"D",\u010f:"d",\u0111:"d",\u0112:"E",\u0114:"E",\u0116:"E",\u0118:"E",\u011a:"E",\u0113:"e",\u0115:"e",\u0117:"e",\u0119:"e",\u011b:"e",\u011c:"G",\u011e:"G",\u0120:"G",\u0122:"G",\u011d:"g",\u011f:"g",\u0121:"g",\u0123:"g",\u0124:"H",\u0126:"H",\u0125:"h",\u0127:"h",\u0128:"I",\u012a:"I",\u012c:"I",\u012e:"I",\u0130:"I",\u0129:"i",\u012b:"i",\u012d:"i",\u012f:"i",\u0131:"i",\u0134:"J",\u0135:"j",\u0136:"K",\u0137:"k",\u0138:"k",\u0139:"L",\u013b:"L",\u013d:"L",\u013f:"L",\u0141:"L",\u013a:"l",\u013c:"l",\u013e:"l",\u0140:"l",\u0142:"l",\u0143:"N",\u0145:"N",\u0147:"N",\u014a:"N",\u0144:"n",\u0146:"n",\u0148:"n",\u014b:"n",\u014c:"O",\u014e:"O",\u0150:"O",\u014d:"o",\u014f:"o",\u0151:"o",\u0154:"R",\u0156:"R",\u0158:"R",\u0155:"r",\u0157:"r",\u0159:"r",\u015a:"S",\u015c:"S",\u015e:"S",\u0160:"S",\u015b:"s",\u015d:"s",\u015f:"s",\u0161:"s",\u0162:"T",\u0164:"T",\u0166:"T",\u0163:"t",\u0165:"t",\u0167:"t",\u0168:"U",\u016a:"U",\u016c:"U",\u016e:"U",\u0170:"U",\u0172:"U",\u0169:"u",\u016b:"u",\u016d:"u",\u016f:"u",\u0171:"u",\u0173:"u",\u0174:"W",\u0175:"w",\u0176:"Y",\u0177:"y",\u0178:"Y",\u0179:"Z",\u017b:"Z",\u017d:"Z",\u017a:"z",\u017c:"z",\u017e:"z",\u0132:"IJ",\u0133:"ij",\u0152:"Oe",\u0153:"oe",\u0149:"'n",\u017f:"s"}),Cu=ai({"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"});function F(Ve){return"\\"+Bs[Ve]}function p(Ve){return Mo.test(Ve)}function ue(Ve){var lt=-1,Je=Array(Ve.size);return Ve.forEach(function(Kt,Dn){Je[++lt]=[Dn,Kt]}),Je}function be(Ve,lt){return function(Je){return Ve(lt(Je))}}function ye(Ve,lt){for(var Je=-1,Kt=Ve.length,Dn=0,yn=[];++Je<Kt;){var Rr=Ve[Je];(Rr===lt||Rr===L)&&(Ve[Je]=L,yn[Dn++]=Je)}return yn}function Ze(Ve){var lt=-1,Je=Array(Ve.size);return Ve.forEach(function(Kt){Je[++lt]=Kt}),Je}function Sn(Ve){return p(Ve)?function Sr(Ve){for(var lt=ws.lastIndex=0;ws.test(Ve);)++lt;return lt}(Ve):Ti(Ve)}function An(Ve){return p(Ve)?function ri(Ve){return Ve.match(ws)||[]}(Ve):function ls(Ve){return Ve.split("")}(Ve)}function bn(Ve){for(var lt=Ve.length;lt--&&Be.test(Ve.charAt(lt)););return lt}var Hn=ai({"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'"}),Zr=function Ve(lt){var r,Je=(lt=null==lt?Ir:Zr.defaults(Ir.Object(),lt,Zr.pick(Ir,Ls))).Array,Kt=lt.Date,Dn=lt.Error,yn=lt.Function,Rr=lt.Math,vn=lt.Object,cs=lt.RegExp,pa=lt.String,Pi=lt.TypeError,on=Je.prototype,wn=vn.prototype,qn=lt["__core-js_shared__"],Vr=yn.prototype.toString,Gn=wn.hasOwnProperty,mi=0,es=(r=/[^.]+$/.exec(qn&&qn.keys&&qn.keys.IE_PROTO||""))?"Symbol(src)_1."+r:"",Nr=wn.toString,qr=Vr.call(vn),vo=Ir._,_i=cs("^"+Vr.call(Gn).replace($e,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Ni=Kr?lt.Buffer:f,Jr=lt.Symbol,fi=lt.Uint8Array,So=Ni?Ni.allocUnsafe:f,ga=be(vn.getPrototypeOf,vn),Ol=vn.create,bu=wn.propertyIsEnumerable,eo=on.splice,ma=Jr?Jr.isConcatSpreadable:f,$s=Jr?Jr.iterator:f,Gs=Jr?Jr.toStringTag:f,ds=function(){try{var r=la(vn,"defineProperty");return r({},"",{}),r}catch{}}(),qa=lt.clearTimeout!==Ir.clearTimeout&&lt.clearTimeout,Po=Kt&&Kt.now!==Ir.Date.now&&Kt.now,wu=lt.setTimeout!==Ir.setTimeout&&lt.setTimeout,zs=Rr.ceil,Oo=Rr.floor,xo=vn.getOwnPropertySymbols,sd=Ni?Ni.isBuffer:f,_a=lt.isFinite,xl=on.join,Eu=be(vn.keys,vn),pi=Rr.max,ti=Rr.min,Ka=Kt.now,Qa=lt.parseInt,Ao=Rr.random,ya=on.reverse,Al=la(lt,"DataView"),_=la(lt,"Map"),g=la(lt,"Promise"),h=la(lt,"Set"),D=la(lt,"WeakMap"),O=la(vn,"create"),Z=D&&new D,pe={},Te=Vo(Al),mt=Vo(_),dn=Vo(g),_r=Vo(h),gn=Vo(D),Cr=Jr?Jr.prototype:f,br=Cr?Cr.valueOf:f,to=Cr?Cr.toString:f;function q(r){if(ui(r)&&!Kn(r)&&!(r instanceof rr)){if(r instanceof vi)return r;if(Gn.call(r,"__wrapped__"))return nc(r)}return new vi(r)}var zi=function(){function r(){}return function(a){if(!Xr(a))return{};if(Ol)return Ol(a);r.prototype=a;var u=new r;return r.prototype=f,u}}();function Ms(){}function vi(r,a){this.__wrapped__=r,this.__actions__=[],this.__chain__=!!a,this.__index__=0,this.__values__=f}function rr(r){this.__wrapped__=r,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=ir,this.__views__=[]}function Ur(r){var a=-1,u=null==r?0:r.length;for(this.clear();++a<u;){var w=r[a];this.set(w[0],w[1])}}function Io(r){var a=-1,u=null==r?0:r.length;for(this.clear();++a<u;){var w=r[a];this.set(w[0],w[1])}}function hs(r){var a=-1,u=null==r?0:r.length;for(this.clear();++a<u;){var w=r[a];this.set(w[0],w[1])}}function ro(r){var a=-1,u=null==r?0:r.length;for(this.__data__=new hs;++a<u;)this.add(r[a])}function Ws(r){var a=this.__data__=new Io(r);this.size=a.size}function Il(r,a){var u=Kn(r),w=!u&&jo(r),k=!u&&!w&&$o(r),ae=!u&&!w&&!k&&fa(r),ve=u||w||k||ae,xe=ve?Us(r.length,pa):[],Ye=xe.length;for(var vt in r)(a||Gn.call(r,vt))&&(!ve||!("length"==vt||k&&("offset"==vt||"parent"==vt)||ae&&("buffer"==vt||"byteLength"==vt||"byteOffset"==vt)||Bo(vt,Ye)))&&xe.push(vt);return xe}function Xo(r){var a=r.length;return a?r[ku(0,a-1)]:f}function qm(r,a){return Kl(Wi(r),ba(a,0,r.length))}function ud(r){return Kl(Wi(r))}function Mu(r,a,u){(u!==f&&!Ks(r[a],u)||u===f&&!(a in r))&&Ys(r,a,u)}function el(r,a,u){var w=r[a];(!Gn.call(r,a)||!Ks(w,u)||u===f&&!(a in r))&&Ys(r,a,u)}function Fl(r,a){for(var u=r.length;u--;)if(Ks(r[u][0],a))return u;return-1}function Lf(r,a,u,w){return Fo(r,function(k,ae,ve){a(w,k,u(k),ve)}),w}function cd(r,a){return r&&xs(a,Di(a),r)}function Ys(r,a,u){"__proto__"==a&&ds?ds(r,a,{configurable:!0,enumerable:!0,value:u,writable:!0}):r[a]=u}function Ca(r,a){for(var u=-1,w=a.length,k=Je(w),ae=null==r;++u<w;)k[u]=ae?f:Go(r,a[u]);return k}function ba(r,a,u){return r==r&&(u!==f&&(r=r<=u?r:u),a!==f&&(r=r>=a?r:a)),r}function ki(r,a,u,w,k,ae){var ve,xe=1&a,Ye=2&a,vt=4&a;if(u&&(ve=k?u(r,w,k,ae):u(r)),ve!==f)return ve;if(!Xr(r))return r;var Ct=Kn(r);if(Ct){if(ve=function sp(r){var a=r.length,u=new r.constructor(a);return a&&"string"==typeof r[0]&&Gn.call(r,"index")&&(u.index=r.index,u.input=r.input),u}(r),!xe)return Wi(r,ve)}else{var Pt=Vi(r),tn=Pt==tr||Pt==Mn;if($o(r))return Gl(r,xe);if(Pt==Yn||Pt==zn||tn&&!k){if(ve=Ye||tn?{}:$d(r),!xe)return Ye?function gi(r,a){return xs(r,Hd(r),a)}(r,function dd(r,a){return r&&xs(a,ts(a),r)}(ve,r)):function Kf(r,a){return xs(r,Zu(r),a)}(r,cd(ve,r))}else{if(!mr[Pt])return k?r:{};ve=function xa(r,a,u){var w=r.constructor;switch(a){case He:return xd(r);case Un:case dr:return new w(+r);case Ge:return function Jm(r,a){var u=a?xd(r.buffer):r.buffer;return new r.constructor(u,r.byteOffset,r.byteLength)}(r,u);case st:case It:case dt:case kt:case un:case Yt:case Tt:case Rt:case $t:return Id(r,u);case Vn:return new w;case Ar:case Me:return new w(r);case On:return function Ad(r){var a=new r.constructor(r.source,Nt.exec(r));return a.lastIndex=r.lastIndex,a}(r);case Ce:return new w;case me:return function Zf(r){return br?vn(br.call(r)):{}}(r)}}(r,Pt,xe)}}ae||(ae=new Ws);var mn=ae.get(r);if(mn)return mn;ae.set(r,ve),Nh(r)?r.forEach(function(Rn){ve.add(ki(Rn,a,u,Rn,r,ae))}):Ih(r)&&r.forEach(function(Rn,gr){ve.set(gr,ki(Rn,a,u,gr,r,ae))});var ar=Ct?f:(vt?Ye?zu:dl:Ye?ts:Di)(r);return et(ar||r,function(Rn,gr){ar&&(Rn=r[gr=Rn]),el(ve,gr,ki(Rn,a,u,gr,r,ae))}),ve}function tl(r,a,u){var w=u.length;if(null==r)return!w;for(r=vn(r);w--;){var k=u[w],ve=r[k];if(ve===f&&!(k in r)||!(0,a[k])(ve))return!1}return!0}function hd(r,a,u){if("function"!=typeof r)throw new Pi(X);return ca(function(){r.apply(f,u)},a)}function nl(r,a,u,w){var k=-1,ae=$n,ve=!0,xe=r.length,Ye=[],vt=a.length;if(!xe)return Ye;u&&(a=rn(a,di(u))),w?(ae=cr,ve=!1):a.length>=200&&(ae=Hs,ve=!1,a=new ro(a));e:for(;++k<xe;){var Ct=r[k],Pt=null==u?Ct:u(Ct);if(Ct=w||0!==Ct?Ct:0,ve&&Pt==Pt){for(var tn=vt;tn--;)if(a[tn]===Pt)continue e;Ye.push(Ct)}else ae(a,Pt,w)||Ye.push(Ct)}return Ye}q.templateSettings={escape:Bt,evaluate:En,interpolate:Vt,variable:"",imports:{_:q}},(q.prototype=Ms.prototype).constructor=q,(vi.prototype=zi(Ms.prototype)).constructor=vi,(rr.prototype=zi(Ms.prototype)).constructor=rr,Ur.prototype.clear=function Rf(){this.__data__=O?O(null):{},this.size=0},Ur.prototype.delete=function Um(r){var a=this.has(r)&&delete this.__data__[r];return this.size-=a?1:0,a},Ur.prototype.get=function Hm(r){var a=this.__data__;if(O){var u=a[r];return u===ee?f:u}return Gn.call(a,r)?a[r]:f},Ur.prototype.has=function jm(r){var a=this.__data__;return O?a[r]!==f:Gn.call(a,r)},Ur.prototype.set=function $m(r,a){var u=this.__data__;return this.size+=this.has(r)?0:1,u[r]=O&&a===f?ee:a,this},Io.prototype.clear=function Gm(){this.__data__=[],this.size=0},Io.prototype.delete=function Ja(r){var a=this.__data__,u=Fl(a,r);return!(u<0||(u==a.length-1?a.pop():eo.call(a,u,1),--this.size,0))},Io.prototype.get=function zm(r){var a=this.__data__,u=Fl(a,r);return u<0?f:a[u][1]},Io.prototype.has=function Ci(r){return Fl(this.__data__,r)>-1},Io.prototype.set=function Du(r,a){var u=this.__data__,w=Fl(u,r);return w<0?(++this.size,u.push([r,a])):u[w][1]=a,this},hs.prototype.clear=function Wm(){this.size=0,this.__data__={hash:new Ur,map:new(_||Io),string:new Ur}},hs.prototype.delete=function Nf(r){var a=Zl(this,r).delete(r);return this.size-=a?1:0,a},hs.prototype.get=function Ts(r){return Zl(this,r).get(r)},hs.prototype.has=function no(r){return Zl(this,r).has(r)},hs.prototype.set=function od(r,a){var u=Zl(this,r),w=u.size;return u.set(r,a),this.size+=u.size==w?0:1,this},ro.prototype.add=ro.prototype.push=function Xa(r){return this.__data__.set(r,ee),this},ro.prototype.has=function ad(r){return this.__data__.has(r)},Ws.prototype.clear=function kf(){this.__data__=new Io,this.size=0},Ws.prototype.delete=function Ym(r){var a=this.__data__,u=a.delete(r);return this.size=a.size,u},Ws.prototype.get=function Zm(r){return this.__data__.get(r)},Ws.prototype.has=function ld(r){return this.__data__.has(r)},Ws.prototype.set=function fs(r,a){var u=this.__data__;if(u instanceof Io){var w=u.__data__;if(!_||w.length<199)return w.push([r,a]),this.size=++u.size,this;u=this.__data__=new hs(w)}return u.set(r,a),this.size=u.size,this};var Fo=zl(Ss),Su=zl(ea,!0);function Bf(r,a){var u=!0;return Fo(r,function(w,k,ae){return u=!!a(w,k,ae)}),u}function Ro(r,a,u){for(var w=-1,k=r.length;++w<k;){var ae=r[w],ve=a(ae);if(null!=ve&&(xe===f?ve==ve&&!Yi(ve):u(ve,xe)))var xe=ve,Ye=ae}return Ye}function pd(r,a){var u=[];return Fo(r,function(w,k,ae){a(w,k,ae)&&u.push(w)}),u}function Pr(r,a,u,w,k){var ae=-1,ve=r.length;for(u||(u=Xm),k||(k=[]);++ae<ve;){var xe=r[ae];a>0&&u(xe)?a>1?Pr(xe,a-1,u,w,k):vr(k,xe):w||(k[k.length]=xe)}return k}var Rl=Wl(),gd=Wl(!0);function Ss(r,a){return r&&Rl(r,a,Di)}function ea(r,a){return r&&gd(r,a,Di)}function Nl(r,a){return Xn(a,function(u){return co(r[u])})}function ta(r,a){for(var u=0,w=(a=oa(a,r)).length;null!=r&&u<w;)r=r[uo(a[u++])];return u&&u==w?r:f}function md(r,a,u){var w=a(r);return Kn(r)?w:vr(w,u(r))}function Ei(r){return null==r?r===f?"[object Undefined]":"[object Null]":Gs&&Gs in vn(r)?function Ud(r){var a=Gn.call(r,Gs),u=r[Gs];try{r[Gs]=f;var w=!0}catch{}var k=Nr.call(r);return w&&(a?r[Gs]=u:delete r[Gs]),k}(r):function Wd(r){return Nr.call(r)}(r)}function na(r,a){return r>a}function _d(r,a){return null!=r&&Gn.call(r,a)}function rl(r,a){return null!=r&&a in vn(r)}function kl(r,a,u){for(var w=u?cr:$n,k=r[0].length,ae=r.length,ve=ae,xe=Je(ae),Ye=1/0,vt=[];ve--;){var Ct=r[ve];ve&&a&&(Ct=rn(Ct,di(a))),Ye=ti(Ct.length,Ye),xe[ve]=!u&&(a||k>=120&&Ct.length>=120)?new ro(ve&&Ct):f}Ct=r[0];var Pt=-1,tn=xe[0];e:for(;++Pt<k&&vt.length<Ye;){var mn=Ct[Pt],Fn=a?a(mn):mn;if(mn=u||0!==mn?mn:0,!(tn?Hs(tn,Fn):w(vt,Fn,u))){for(ve=ae;--ve;){var ar=xe[ve];if(!(ar?Hs(ar,Fn):w(r[ve],Fn,u)))continue e}tn&&tn.push(Fn),vt.push(mn)}}return vt}function No(r,a,u){var w=null==(r=ua(r,a=oa(a,r)))?r:r[uo(gs(a))];return null==w?f:K(w,r,u)}function Ou(r){return ui(r)&&Ei(r)==zn}function io(r,a,u,w,k){return r===a||(null==r||null==a||!ui(r)&&!ui(a)?r!=r&&a!=a:function il(r,a,u,w,k,ae){var ve=Kn(r),xe=Kn(a),Ye=ve?Pn:Vi(r),vt=xe?Pn:Vi(a),Ct=(Ye=Ye==zn?Yn:Ye)==Yn,Pt=(vt=vt==zn?Yn:vt)==Yn,tn=Ye==vt;if(tn&&$o(r)){if(!$o(a))return!1;ve=!0,Ct=!1}if(tn&&!Ct)return ae||(ae=new Ws),ve||fa(r)?Vd(r,a,u,w,k,ae):function Gu(r,a,u,w,k,ae,ve){switch(u){case Ge:if(r.byteLength!=a.byteLength||r.byteOffset!=a.byteOffset)return!1;r=r.buffer,a=a.buffer;case He:return!(r.byteLength!=a.byteLength||!ae(new fi(r),new fi(a)));case Un:case dr:case Ar:return Ks(+r,+a);case $r:return r.name==a.name&&r.message==a.message;case On:case Me:return r==a+"";case Vn:var xe=ue;case Ce:if(xe||(xe=Ze),r.size!=a.size&&!(1&w))return!1;var vt=ve.get(r);if(vt)return vt==a;w|=2,ve.set(r,a);var Ct=Vd(xe(r),xe(a),w,k,ae,ve);return ve.delete(r),Ct;case me:if(br)return br.call(r)==br.call(a)}return!1}(r,a,Ye,u,w,k,ae);if(!(1&u)){var mn=Ct&&Gn.call(r,"__wrapped__"),Fn=Pt&&Gn.call(a,"__wrapped__");if(mn||Fn){var ar=mn?r.value():r,Rn=Fn?a.value():a;return ae||(ae=new Ws),k(ar,Rn,u,w,ae)}}return!!tn&&(ae||(ae=new Ws),function np(r,a,u,w,k,ae){var ve=1&u,xe=dl(r),Ye=xe.length;if(Ye!=dl(a).length&&!ve)return!1;for(var Pt=Ye;Pt--;){var tn=xe[Pt];if(!(ve?tn in a:Gn.call(a,tn)))return!1}var mn=ae.get(r),Fn=ae.get(a);if(mn&&Fn)return mn==a&&Fn==r;var ar=!0;ae.set(r,a),ae.set(a,r);for(var Rn=ve;++Pt<Ye;){var gr=r[tn=xe[Pt]],wr=a[tn];if(w)var Oi=ve?w(wr,gr,tn,a,r,ae):w(gr,wr,tn,r,a,ae);if(!(Oi===f?gr===wr||k(gr,wr,u,w,ae):Oi)){ar=!1;break}Rn||(Rn="constructor"==tn)}if(ar&&!Rn){var ji=r.constructor,Zi=a.constructor;ji!=Zi&&"constructor"in r&&"constructor"in a&&!("function"==typeof ji&&ji instanceof ji&&"function"==typeof Zi&&Zi instanceof Zi)&&(ar=!1)}return ae.delete(r),ae.delete(a),ar}(r,a,u,w,k,ae))}(r,a,u,w,io,k))}function yd(r,a,u,w){var k=u.length,ae=k,ve=!w;if(null==r)return!ae;for(r=vn(r);k--;){var xe=u[k];if(ve&&xe[2]?xe[1]!==r[xe[0]]:!(xe[0]in r))return!1}for(;++k<ae;){var Ye=(xe=u[k])[0],vt=r[Ye],Ct=xe[1];if(ve&&xe[2]){if(vt===f&&!(Ye in r))return!1}else{var Pt=new Ws;if(w)var tn=w(vt,Ct,Ye,r,a,Pt);if(!(tn===f?io(Ct,vt,3,w,Pt):tn))return!1}}return!0}function xu(r){return!(!Xr(r)||function qu(r){return!!es&&es in r}(r))&&(co(r)?_i:nt).test(Vo(r))}function vd(r){return"function"==typeof r?r:null==r?bi:"object"==typeof r?Kn(r)?bd(r[0],r[1]):Cd(r):af(r)}function Au(r){if(!Aa(r))return Eu(r);var a=[];for(var u in vn(r))Gn.call(r,u)&&"constructor"!=u&&a.push(u);return a}function sl(r,a){return r<a}function ra(r,a){var u=-1,w=Hi(r)?Je(r.length):[];return Fo(r,function(k,ae,ve){w[++u]=a(k,ae,ve)}),w}function Cd(r){var a=Yu(r);return 1==a.length&&a[0][2]?Ku(a[0][0],a[0][1]):function(u){return u===r||yd(u,r,a)}}function bd(r,a){return Gd(r)&&Ia(a)?Ku(uo(r),a):function(u){var w=Go(u,r);return w===f&&w===a?Rc(u,r):io(a,w,3)}}function Iu(r,a,u,w,k){r!==a&&Rl(a,function(ae,ve){if(k||(k=new Ws),Xr(ae))!function Bl(r,a,u,w,k,ae,ve){var xe=ql(r,u),Ye=ql(a,u),vt=ve.get(Ye);if(vt)Mu(r,u,vt);else{var Ct=ae?ae(xe,Ye,u+"",r,a,ve):f,Pt=Ct===f;if(Pt){var tn=Kn(Ye),mn=!tn&&$o(Ye),Fn=!tn&&!mn&&fa(Ye);Ct=Ye,tn||mn||Fn?Kn(xe)?Ct=xe:li(xe)?Ct=Wi(xe):mn?(Pt=!1,Ct=Gl(Ye,!0)):Fn?(Pt=!1,Ct=Id(Ye,!0)):Ct=[]:vl(Ye)||jo(Ye)?(Ct=xe,jo(xe)?Ct=fo(xe):(!Xr(xe)||co(xe))&&(Ct=$d(Ye))):Pt=!1}Pt&&(ve.set(Ye,Ct),k(Ct,Ye,w,ae,ve),ve.delete(Ye)),Mu(r,u,Ct)}}(r,a,ve,u,Iu,w,k);else{var xe=w?w(ql(r,ve),ae,ve+"",r,a,k):f;xe===f&&(xe=ae),Mu(r,ve,xe)}},ts)}function Vl(r,a){var u=r.length;if(u)return Bo(a+=a<0?u:0,u)?r[a]:f}function Fu(r,a,u){a=a.length?rn(a,function(ae){return Kn(ae)?function(ve){return ta(ve,1===ae.length?ae[0]:ae)}:ae}):[bi];var w=-1;return a=rn(a,di(Nn())),function Gi(Ve,lt){var Je=Ve.length;for(Ve.sort(lt);Je--;)Ve[Je]=Ve[Je].value;return Ve}(ra(r,function(ae,ve,xe){return{criteria:rn(a,function(vt){return vt(ae)}),index:++w,value:ae}}),function(ae,ve){return function qf(r,a,u){for(var w=-1,k=r.criteria,ae=a.criteria,ve=k.length,xe=u.length;++w<ve;){var Ye=Fd(k[w],ae[w]);if(Ye)return w>=xe?Ye:Ye*("desc"==u[w]?-1:1)}return r.index-a.index}(ae,ve,u)})}function Ru(r,a,u){for(var w=-1,k=a.length,ae={};++w<k;){var ve=a[w],xe=ta(r,ve);u(xe,ve)&&ol(ae,oa(ve,r),xe)}return ae}function Nu(r,a,u,w){var k=w?H:C,ae=-1,ve=a.length,xe=r;for(r===a&&(a=Wi(a)),u&&(xe=rn(r,di(u)));++ae<ve;)for(var Ye=0,vt=a[ae],Ct=u?u(vt):vt;(Ye=k(xe,Ct,Ye,w))>-1;)xe!==r&&eo.call(xe,Ye,1),eo.call(r,Ye,1);return r}function Ed(r,a){for(var u=r?a.length:0,w=u-1;u--;){var k=a[u];if(u==w||k!==ae){var ae=k;Bo(k)?eo.call(r,k,1):sa(r,k)}}return r}function ku(r,a){return r+Oo(Ao()*(a-r+1))}function Lu(r,a){var u="";if(!r||a<1||a>cn)return u;do{a%2&&(u+=r),(a=Oo(a/2))&&(r+=r)}while(a);return u}function jn(r,a){return ec(ap(r,a,bi),r+"")}function wa(r){return Xo(bl(r))}function Dd(r,a){var u=bl(r);return Kl(u,ba(a,0,u.length))}function ol(r,a,u,w){if(!Xr(r))return r;for(var k=-1,ae=(a=oa(a,r)).length,ve=ae-1,xe=r;null!=xe&&++k<ae;){var Ye=uo(a[k]),vt=u;if("__proto__"===Ye||"constructor"===Ye||"prototype"===Ye)return r;if(k!=ve){var Ct=xe[Ye];(vt=w?w(Ct,Ye,xe):f)===f&&(vt=Xr(Ct)?Ct:Bo(a[k+1])?[]:{})}el(xe,Ye,vt),xe=xe[Ye]}return r}var Md=Z?function(r,a){return Z.set(r,a),r}:bi,Wf=ds?function(r,a){return ds(r,"toString",{configurable:!0,enumerable:!1,value:Wo(a),writable:!0})}:bi;function Yf(r){return Kl(bl(r))}function Ps(r,a,u){var w=-1,k=r.length;a<0&&(a=-a>k?0:k+a),(u=u>k?k:u)<0&&(u+=k),k=a>u?0:u-a>>>0,a>>>=0;for(var ae=Je(k);++w<k;)ae[w]=r[w+a];return ae}function Td(r,a){var u;return Fo(r,function(w,k,ae){return!(u=a(w,k,ae))}),!!u}function Ul(r,a,u){var w=0,k=null==r?w:r.length;if("number"==typeof a&&a==a&&k<=2147483647){for(;w<k;){var ae=w+k>>>1,ve=r[ae];null!==ve&&!Yi(ve)&&(u?ve<=a:ve<a)?w=ae+1:k=ae}return k}return Bu(r,a,bi,u)}function Bu(r,a,u,w){var k=0,ae=null==r?0:r.length;if(0===ae)return 0;for(var ve=(a=u(a))!=a,xe=null===a,Ye=Yi(a),vt=a===f;k<ae;){var Ct=Oo((k+ae)/2),Pt=u(r[Ct]),tn=Pt!==f,mn=null===Pt,Fn=Pt==Pt,ar=Yi(Pt);if(ve)var Rn=w||Fn;else Rn=vt?Fn&&(w||tn):xe?Fn&&tn&&(w||!mn):Ye?Fn&&tn&&!mn&&(w||!ar):!mn&&!ar&&(w?Pt<=a:Pt<a);Rn?k=Ct+1:ae=Ct}return ti(ae,4294967294)}function Sd(r,a){for(var u=-1,w=r.length,k=0,ae=[];++u<w;){var ve=r[u],xe=a?a(ve):ve;if(!u||!Ks(xe,Ye)){var Ye=xe;ae[k++]=0===ve?0:ve}}return ae}function Pd(r){return"number"==typeof r?r:Yi(r)?NaN:+r}function Os(r){if("string"==typeof r)return r;if(Kn(r))return rn(r,Os)+"";if(Yi(r))return to?to.call(r):"";var a=r+"";return"0"==a&&1/r==-zt?"-0":a}function ko(r,a,u){var w=-1,k=$n,ae=r.length,ve=!0,xe=[],Ye=xe;if(u)ve=!1,k=cr;else if(ae>=200){var vt=a?null:kd(r);if(vt)return Ze(vt);ve=!1,k=Hs,Ye=new ro}else Ye=a?[]:xe;e:for(;++w<ae;){var Ct=r[w],Pt=a?a(Ct):Ct;if(Ct=u||0!==Ct?Ct:0,ve&&Pt==Pt){for(var tn=Ye.length;tn--;)if(Ye[tn]===Pt)continue e;a&&Ye.push(Pt),xe.push(Ct)}else k(Ye,Pt,u)||(Ye!==xe&&Ye.push(Pt),xe.push(Ct))}return xe}function sa(r,a){return null==(r=ua(r,a=oa(a,r)))||delete r[uo(gs(a))]}function Vu(r,a,u,w){return ol(r,a,u(ta(r,a)),w)}function ps(r,a,u,w){for(var k=r.length,ae=w?k:-1;(w?ae--:++ae<k)&&a(r[ae],ae,r););return u?Ps(r,w?0:ae,w?ae+1:k):Ps(r,w?ae+1:0,w?k:ae)}function Ea(r,a){var u=r;return u instanceof rr&&(u=u.value()),er(a,function(w,k){return k.func.apply(k.thisArg,vr([w],k.args))},u)}function Hl(r,a,u){var w=r.length;if(w<2)return w?ko(r[0]):[];for(var k=-1,ae=Je(w);++k<w;)for(var ve=r[k],xe=-1;++xe<w;)xe!=k&&(ae[k]=nl(ae[k]||ve,r[xe],a,u));return ko(Pr(ae,1),a,u)}function Uu(r,a,u){for(var w=-1,k=r.length,ae=a.length,ve={};++w<k;)u(ve,r[w],w<ae?a[w]:f);return ve}function jl(r){return li(r)?r:[]}function Od(r){return"function"==typeof r?r:bi}function oa(r,a){return Kn(r)?r:Gd(r,a)?[r]:Kd(kr(r))}var Qm=jn;function so(r,a,u){var w=r.length;return u=u===f?w:u,!a&&u>=w?r:Ps(r,a,u)}var $l=qa||function(r){return Ir.clearTimeout(r)};function Gl(r,a){if(a)return r.slice();var u=r.length,w=So?So(u):new r.constructor(u);return r.copy(w),w}function xd(r){var a=new r.constructor(r.byteLength);return new fi(a).set(new fi(r)),a}function Id(r,a){var u=a?xd(r.buffer):r.buffer;return new r.constructor(u,r.byteOffset,r.length)}function Fd(r,a){if(r!==a){var u=r!==f,w=null===r,k=r==r,ae=Yi(r),ve=a!==f,xe=null===a,Ye=a==a,vt=Yi(a);if(!xe&&!vt&&!ae&&r>a||ae&&ve&&Ye&&!xe&&!vt||w&&ve&&Ye||!u&&Ye||!k)return 1;if(!w&&!ae&&!vt&&r<a||vt&&u&&k&&!w&&!ae||xe&&u&&k||!ve&&k||!Ye)return-1}return 0}function Hu(r,a,u,w){for(var k=-1,ae=r.length,ve=u.length,xe=-1,Ye=a.length,vt=pi(ae-ve,0),Ct=Je(Ye+vt),Pt=!w;++xe<Ye;)Ct[xe]=a[xe];for(;++k<ve;)(Pt||k<ae)&&(Ct[u[k]]=r[k]);for(;vt--;)Ct[xe++]=r[k++];return Ct}function al(r,a,u,w){for(var k=-1,ae=r.length,ve=-1,xe=u.length,Ye=-1,vt=a.length,Ct=pi(ae-xe,0),Pt=Je(Ct+vt),tn=!w;++k<Ct;)Pt[k]=r[k];for(var mn=k;++Ye<vt;)Pt[mn+Ye]=a[Ye];for(;++ve<xe;)(tn||k<ae)&&(Pt[mn+u[ve]]=r[k++]);return Pt}function Wi(r,a){var u=-1,w=r.length;for(a||(a=Je(w));++u<w;)a[u]=r[u];return a}function xs(r,a,u,w){var k=!u;u||(u={});for(var ae=-1,ve=a.length;++ae<ve;){var xe=a[ae],Ye=w?w(u[xe],r[xe],xe,u,r):f;Ye===f&&(Ye=r[xe]),k?Ys(u,xe,Ye):el(u,xe,Ye)}return u}function ll(r,a){return function(u,w){var k=Kn(u)?De:Lf,ae=a?a():{};return k(u,r,Nn(w,2),ae)}}function Da(r){return jn(function(a,u){var w=-1,k=u.length,ae=k>1?u[k-1]:f,ve=k>2?u[2]:f;for(ae=r.length>3&&"function"==typeof ae?(k--,ae):f,ve&&Ui(u[0],u[1],ve)&&(ae=k<3?f:ae,k=1),a=vn(a);++w<k;){var xe=u[w];xe&&r(a,xe,w,ae)}return a})}function zl(r,a){return function(u,w){if(null==u)return u;if(!Hi(u))return r(u,w);for(var k=u.length,ae=a?k:-1,ve=vn(u);(a?ae--:++ae<k)&&!1!==w(ve[ae],ae,ve););return u}}function Wl(r){return function(a,u,w){for(var k=-1,ae=vn(a),ve=w(a),xe=ve.length;xe--;){var Ye=ve[r?xe:++k];if(!1===u(ae[Ye],Ye,ae))break}return a}}function Rd(r){return function(a){var u=p(a=kr(a))?An(a):f,w=u?u[0]:a.charAt(0),k=u?so(u,1).join(""):a.slice(1);return w[r]()+k}}function Ma(r){return function(a){return er(zo(hg(a).replace(is,"")),r,"")}}function ul(r){return function(){var a=arguments;switch(a.length){case 0:return new r;case 1:return new r(a[0]);case 2:return new r(a[0],a[1]);case 3:return new r(a[0],a[1],a[2]);case 4:return new r(a[0],a[1],a[2],a[3]);case 5:return new r(a[0],a[1],a[2],a[3],a[4]);case 6:return new r(a[0],a[1],a[2],a[3],a[4],a[5]);case 7:return new r(a[0],a[1],a[2],a[3],a[4],a[5],a[6])}var u=zi(r.prototype),w=r.apply(u,a);return Xr(w)?w:u}}function Xf(r){return function(a,u,w){var k=vn(a);if(!Hi(a)){var ae=Nn(u,3);a=Di(a),u=function(xe){return ae(k[xe],xe,k)}}var ve=r(a,u,w);return ve>-1?k[ae?a[ve]:ve]:f}}function ep(r){return Co(function(a){var u=a.length,w=u,k=vi.prototype.thru;for(r&&a.reverse();w--;){var ae=a[w];if("function"!=typeof ae)throw new Pi(X);if(k&&!ve&&"wrapper"==aa(ae))var ve=new vi([],!0)}for(w=ve?w:u;++w<u;){var xe=aa(ae=a[w]),Ye="wrapper"==xe?Wu(ae):f;ve=Ye&&hl(Ye[0])&&424==Ye[1]&&!Ye[4].length&&1==Ye[9]?ve[aa(Ye[0])].apply(ve,Ye[3]):1==ae.length&&hl(ae)?ve[xe]():ve.thru(ae)}return function(){var vt=arguments,Ct=vt[0];if(ve&&1==vt.length&&Kn(Ct))return ve.plant(Ct).value();for(var Pt=0,tn=u?a[Pt].apply(this,vt):Ct;++Pt<u;)tn=a[Pt].call(this,tn);return tn}})}function Lo(r,a,u,w,k,ae,ve,xe,Ye,vt){var Ct=128&a,Pt=1&a,tn=2&a,mn=24&a,Fn=512&a,ar=tn?f:ul(r);return function Rn(){for(var gr=arguments.length,wr=Je(gr),Oi=gr;Oi--;)wr[Oi]=arguments[Oi];if(mn)var ji=Oa(Rn),Zi=js(wr,ji);if(w&&(wr=Hu(wr,w,k,mn)),ae&&(wr=al(wr,ae,ve,mn)),gr-=Zi,mn&&gr<vt){var ii=ye(wr,ji);return Nd(r,a,Lo,Rn.placeholder,u,wr,ii,xe,Ye,vt-gr)}var Qs=Pt?u:this,Fs=tn?Qs[r]:r;return gr=wr.length,xe?wr=Xu(wr,xe):Fn&&gr>1&&wr.reverse(),Ct&&Ye<gr&&(wr.length=Ye),this&&this!==Ir&&this instanceof Rn&&(Fs=ar||ul(Fs)),Fs.apply(Qs,wr)}}function Li(r,a){return function(u,w){return function Pu(r,a,u,w){return Ss(r,function(k,ae,ve){a(w,u(k),ae,ve)}),w}(u,r,a(w),{})}}function Ta(r,a){return function(u,w){var k;if(u===f&&w===f)return a;if(u!==f&&(k=u),w!==f){if(k===f)return w;"string"==typeof u||"string"==typeof w?(u=Os(u),w=Os(w)):(u=Pd(u),w=Pd(w)),k=r(u,w)}return k}}function Yl(r){return Co(function(a){return a=rn(a,di(Nn())),jn(function(u){var w=this;return r(a,function(k){return K(k,w,u)})})})}function cl(r,a){var u=(a=a===f?" ":Os(a)).length;if(u<2)return u?Lu(a,r):a;var w=Lu(a,zs(r/Sn(a)));return p(a)?so(An(w),0,r).join(""):w.slice(0,r)}function Sa(r){return function(a,u,w){return w&&"number"!=typeof w&&Ui(a,u,w)&&(u=w=f),a=ho(a),u===f?(u=a,a=0):u=ho(u),function zf(r,a,u,w){for(var k=-1,ae=pi(zs((a-r)/(u||1)),0),ve=Je(ae);ae--;)ve[w?ae:++k]=r,r+=u;return ve}(a,u,w=w===f?a<u?1:-1:ho(w),r)}}function Pa(r){return function(a,u){return"string"==typeof a&&"string"==typeof u||(a=ys(a),u=ys(u)),r(a,u)}}function Nd(r,a,u,w,k,ae,ve,xe,Ye,vt){var Ct=8&a;a|=Ct?32:64,4&(a&=~(Ct?64:32))||(a&=-4);var ar=[r,a,k,Ct?ae:f,Ct?ve:f,Ct?f:ae,Ct?f:ve,xe,Ye,vt],Rn=u.apply(f,ar);return hl(r)&&Yd(Rn,ar),Rn.placeholder=w,Zd(Rn,r,a)}function ju(r){var a=Rr[r];return function(u,w){if(u=ys(u),(w=null==w?0:ti(Qn(w),292))&&_a(u)){var k=(kr(u)+"e").split("e");return+((k=(kr(a(k[0]+"e"+(+k[1]+w)))+"e").split("e"))[0]+"e"+(+k[1]-w))}return a(u)}}var kd=h&&1/Ze(new h([,-0]))[1]==zt?function(r){return new h(r)}:du;function Ld(r){return function(a){var u=Vi(a);return u==Vn?ue(a):u==Ce?function ht(Ve){var lt=-1,Je=Array(Ve.size);return Ve.forEach(function(Kt){Je[++lt]=[Kt,Kt]}),Je}(a):function Et(Ve,lt){return rn(lt,function(Je){return[Je,Ve[Je]]})}(a,r(a))}}function oo(r,a,u,w,k,ae,ve,xe){var Ye=2&a;if(!Ye&&"function"!=typeof r)throw new Pi(X);var vt=w?w.length:0;if(vt||(a&=-97,w=k=f),ve=ve===f?ve:pi(Qn(ve),0),xe=xe===f?xe:Qn(xe),vt-=k?k.length:0,64&a){var Ct=w,Pt=k;w=k=f}var tn=Ye?f:Wu(r),mn=[r,a,u,w,k,Ct,Pt,ae,ve,xe];if(tn&&function Qu(r,a){var u=r[1],w=a[1],k=u|w;if(!(k<131||(128==w&&8==u||128==w&&256==u&&r[7].length<=a[8]||384==w&&a[7].length<=a[8]&&8==u)))return r;1&w&&(r[2]=a[2],k|=1&u?0:4);var xe=a[3];if(xe){var Ye=r[3];r[3]=Ye?Hu(Ye,xe,a[4]):xe,r[4]=Ye?ye(r[3],L):a[4]}(xe=a[5])&&(r[5]=(Ye=r[5])?al(Ye,xe,a[6]):xe,r[6]=Ye?ye(r[5],L):a[6]),(xe=a[7])&&(r[7]=xe),128&w&&(r[8]=null==r[8]?a[8]:ti(r[8],a[8])),null==r[9]&&(r[9]=a[9]),r[0]=a[0],r[1]=k}(mn,tn),r=mn[0],a=mn[1],u=mn[2],w=mn[3],k=mn[4],!(xe=mn[9]=mn[9]===f?Ye?0:r.length:pi(mn[9]-vt,0))&&24&a&&(a&=-25),a&&1!=a)Fn=8==a||16==a?function Jf(r,a,u){var w=ul(r);return function k(){for(var ae=arguments.length,ve=Je(ae),xe=ae,Ye=Oa(k);xe--;)ve[xe]=arguments[xe];var vt=ae<3&&ve[0]!==Ye&&ve[ae-1]!==Ye?[]:ye(ve,Ye);return(ae-=vt.length)<u?Nd(r,a,Lo,k.placeholder,f,ve,vt,f,f,u-ae):K(this&&this!==Ir&&this instanceof k?w:r,this,ve)}}(r,a,xe):32!=a&&33!=a||k.length?Lo.apply(f,mn):function Bi(r,a,u,w){var k=1&a,ae=ul(r);return function ve(){for(var xe=-1,Ye=arguments.length,vt=-1,Ct=w.length,Pt=Je(Ct+Ye),tn=this&&this!==Ir&&this instanceof ve?ae:r;++vt<Ct;)Pt[vt]=w[vt];for(;Ye--;)Pt[vt++]=arguments[++xe];return K(tn,k?u:this,Pt)}}(r,a,u,w);else var Fn=function Qf(r,a,u){var w=1&a,k=ul(r);return function ae(){return(this&&this!==Ir&&this instanceof ae?k:r).apply(w?u:this,arguments)}}(r,a,u);return Zd((tn?Md:Yd)(Fn,mn),r,a)}function Bd(r,a,u,w){return r===f||Ks(r,wn[u])&&!Gn.call(w,u)?a:r}function $u(r,a,u,w,k,ae){return Xr(r)&&Xr(a)&&(ae.set(a,r),Iu(r,a,f,$u,ae),ae.delete(a)),r}function tp(r){return vl(r)?f:r}function Vd(r,a,u,w,k,ae){var ve=1&u,xe=r.length,Ye=a.length;if(xe!=Ye&&!(ve&&Ye>xe))return!1;var vt=ae.get(r),Ct=ae.get(a);if(vt&&Ct)return vt==a&&Ct==r;var Pt=-1,tn=!0,mn=2&u?new ro:f;for(ae.set(r,a),ae.set(a,r);++Pt<xe;){var Fn=r[Pt],ar=a[Pt];if(w)var Rn=ve?w(ar,Fn,Pt,a,r,ae):w(Fn,ar,Pt,r,a,ae);if(Rn!==f){if(Rn)continue;tn=!1;break}if(mn){if(!Wr(a,function(gr,wr){if(!Hs(mn,wr)&&(Fn===gr||k(Fn,gr,u,w,ae)))return mn.push(wr)})){tn=!1;break}}else if(Fn!==ar&&!k(Fn,ar,u,w,ae)){tn=!1;break}}return ae.delete(r),ae.delete(a),tn}function Co(r){return ec(ap(r,f,oc),r+"")}function dl(r){return md(r,Di,Zu)}function zu(r){return md(r,ts,Hd)}var Wu=Z?function(r){return Z.get(r)}:du;function aa(r){for(var a=r.name+"",u=pe[a],w=Gn.call(pe,a)?u.length:0;w--;){var k=u[w],ae=k.func;if(null==ae||ae==r)return k.name}return a}function Oa(r){return(Gn.call(q,"placeholder")?q:r).placeholder}function Nn(){var r=q.iteratee||Yo;return r=r===Yo?vd:r,arguments.length?r(arguments[0],arguments[1]):r}function Zl(r,a){var u=r.__data__;return function lo(r){var a=typeof r;return"string"==a||"number"==a||"symbol"==a||"boolean"==a?"__proto__"!==r:null===r}(a)?u["string"==typeof a?"string":"hash"]:u.map}function Yu(r){for(var a=Di(r),u=a.length;u--;){var w=a[u],k=r[w];a[u]=[w,k,Ia(k)]}return a}function la(r,a){var u=function d(Ve,lt){return null==Ve?f:Ve[lt]}(r,a);return xu(u)?u:f}var Zu=xo?function(r){return null==r?[]:(r=vn(r),Xn(xo(r),function(a){return bu.call(r,a)}))}:hu,Hd=xo?function(r){for(var a=[];r;)vr(a,Zu(r)),r=ga(r);return a}:hu,Vi=Ei;function jd(r,a,u){for(var w=-1,k=(a=oa(a,r)).length,ae=!1;++w<k;){var ve=uo(a[w]);if(!(ae=null!=r&&u(r,ve)))break;r=r[ve]}return ae||++w!=k?ae:!!(k=null==r?0:r.length)&&_s(k)&&Bo(ve,k)&&(Kn(r)||jo(r))}function $d(r){return"function"!=typeof r.constructor||Aa(r)?{}:zi(ga(r))}function Xm(r){return Kn(r)||jo(r)||!!(ma&&r&&r[ma])}function Bo(r,a){var u=typeof r;return!!(a=a??cn)&&("number"==u||"symbol"!=u&&St.test(r))&&r>-1&&r%1==0&&r<a}function Ui(r,a,u){if(!Xr(u))return!1;var w=typeof a;return!!("number"==w?Hi(u)&&Bo(a,u.length):"string"==w&&a in u)&&Ks(u[a],r)}function Gd(r,a){if(Kn(r))return!1;var u=typeof r;return!("number"!=u&&"symbol"!=u&&"boolean"!=u&&null!=r&&!Yi(r))||Wt.test(r)||!qt.test(r)||null!=a&&r in vn(a)}function hl(r){var a=aa(r),u=q[a];if("function"!=typeof u||!(a in rr.prototype))return!1;if(r===u)return!0;var w=Wu(u);return!!w&&r===w[0]}(Al&&Vi(new Al(new ArrayBuffer(1)))!=Ge||_&&Vi(new _)!=Vn||g&&Vi(g.resolve())!=hr||h&&Vi(new h)!=Ce||D&&Vi(new D)!=ne)&&(Vi=function(r){var a=Ei(r),u=a==Yn?r.constructor:f,w=u?Vo(u):"";if(w)switch(w){case Te:return Ge;case mt:return Vn;case dn:return hr;case _r:return Ce;case gn:return ne}return a});var op=qn?co:Gc;function Aa(r){var a=r&&r.constructor;return r===("function"==typeof a&&a.prototype||wn)}function Ia(r){return r==r&&!Xr(r)}function Ku(r,a){return function(u){return null!=u&&u[r]===a&&(a!==f||r in vn(u))}}function ap(r,a,u){return a=pi(a===f?r.length-1:a,0),function(){for(var w=arguments,k=-1,ae=pi(w.length-a,0),ve=Je(ae);++k<ae;)ve[k]=w[a+k];k=-1;for(var xe=Je(a+1);++k<a;)xe[k]=w[k];return xe[a]=u(ve),K(r,this,xe)}}function ua(r,a){return a.length<2?r:ta(r,Ps(a,0,-1))}function Xu(r,a){for(var u=r.length,w=ti(a.length,u),k=Wi(r);w--;){var ae=a[w];r[w]=Bo(ae,u)?k[ae]:f}return r}function ql(r,a){if(("constructor"!==a||"function"!=typeof r[a])&&"__proto__"!=a)return r[a]}var Yd=qd(Md),ca=wu||function(r,a){return Ir.setTimeout(r,a)},ec=qd(Wf);function Zd(r,a,u){var w=a+"";return ec(r,function ao(r,a){var u=a.length;if(!u)return r;var w=u-1;return a[w]=(u>1?"& ":"")+a[w],a=a.join(u>2?", ":" "),r.replace(at,"{\n/* [wrapped with "+a+"] */\n")}(w,function tc(r,a){return et(jr,function(u){var w="_."+u[0];a&u[1]&&!$n(r,w)&&r.push(w)}),r.sort()}(function ip(r){var a=r.match(Ft);return a?a[1].split(Ut):[]}(w),u)))}function qd(r){var a=0,u=0;return function(){var w=Ka(),k=16-(w-u);if(u=w,k>0){if(++a>=800)return arguments[0]}else a=0;return r.apply(f,arguments)}}function Kl(r,a){var u=-1,w=r.length,k=w-1;for(a=a===f?w:a;++u<a;){var ae=ku(u,k),ve=r[ae];r[ae]=r[u],r[u]=ve}return r.length=a,r}var Kd=function zd(r){var a=ou(r,function(w){return 500===u.size&&u.clear(),w}),u=a.cache;return a}(function(r){var a=[];return 46===r.charCodeAt(0)&&a.push(""),r.replace(ur,function(u,w,k,ae){a.push(k?ae.replace(Ue,"$1"):w||u)}),a});function uo(r){if("string"==typeof r||Yi(r))return r;var a=r+"";return"0"==a&&1/r==-zt?"-0":a}function Vo(r){if(null!=r){try{return Vr.call(r)}catch{}try{return r+""}catch{}}return""}function nc(r){if(r instanceof rr)return r.clone();var a=new vi(r.__wrapped__,r.__chain__);return a.__actions__=Wi(r.__actions__),a.__index__=r.__index__,a.__values__=r.__values__,a}var Qd=jn(function(r,a){return li(r)?nl(r,Pr(a,1,li,!0)):[]}),Jd=jn(function(r,a){var u=gs(a);return li(u)&&(u=f),li(r)?nl(r,Pr(a,1,li,!0),Nn(u,2)):[]}),da=jn(function(r,a){var u=gs(a);return li(u)&&(u=f),li(r)?nl(r,Pr(a,1,li,!0),f,u):[]});function ic(r,a,u){var w=null==r?0:r.length;if(!w)return-1;var k=null==u?0:Qn(u);return k<0&&(k=pi(w+k,0)),E(r,Nn(a,3),k)}function sc(r,a,u){var w=null==r?0:r.length;if(!w)return-1;var k=w-1;return u!==f&&(k=Qn(u),k=u<0?pi(w+k,0):ti(k,w-1)),E(r,Nn(a,3),k,!0)}function oc(r){return null!=r&&r.length?Pr(r,1):[]}function fl(r){return r&&r.length?r[0]:f}var rh=jn(function(r){var a=rn(r,jl);return a.length&&a[0]===r[0]?kl(a):[]}),uc=jn(function(r){var a=gs(r),u=rn(r,jl);return a===gs(u)?a=f:u.pop(),u.length&&u[0]===r[0]?kl(u,Nn(a,2)):[]}),pl=jn(function(r){var a=gs(r),u=rn(r,jl);return(a="function"==typeof a?a:f)&&u.pop(),u.length&&u[0]===r[0]?kl(u,f,a):[]});function gs(r){var a=null==r?0:r.length;return a?r[a-1]:f}var ih=jn(Xl);function Xl(r,a){return r&&r.length&&a&&a.length?Nu(r,a):r}var oh=Co(function(r,a){var u=null==r?0:r.length,w=Ca(r,a);return Ed(r,rn(a,function(k){return Bo(k,u)?+k:k}).sort(Fd)),w});function eu(r){return null==r?r:ya.call(r)}var uh=jn(function(r){return ko(Pr(r,1,li,!0))}),ch=jn(function(r){var a=gs(r);return li(a)&&(a=f),ko(Pr(r,1,li,!0),Nn(a,2))}),dh=jn(function(r){var a=gs(r);return a="function"==typeof a?a:f,ko(Pr(r,1,li,!0),f,a)});function cc(r){if(!r||!r.length)return[];var a=0;return r=Xn(r,function(u){if(li(u))return a=pi(u.length,a),!0}),Us(a,function(u){return rn(r,Fr(u))})}function nu(r,a){if(!r||!r.length)return[];var u=cc(r);return null==a?u:rn(u,function(w){return K(a,f,w)})}var bo=jn(function(r,a){return li(r)?nl(r,a):[]}),dc=jn(function(r){return Hl(Xn(r,li))}),fh=jn(function(r){var a=gs(r);return li(a)&&(a=f),Hl(Xn(r,li),Nn(a,2))}),hc=jn(function(r){var a=gs(r);return a="function"==typeof a?a:f,Hl(Xn(r,li),f,a)}),t_=jn(cc),ru=jn(function(r){var a=r.length,u=a>1?r[a-1]:f;return u="function"==typeof u?(r.pop(),u):f,nu(r,u)});function gl(r){var a=q(r);return a.__chain__=!0,a}function Fa(r,a){return a(r)}var pc=Co(function(r){var a=r.length,u=a?r[0]:0,w=this.__wrapped__,k=function(ae){return Ca(ae,r)};return!(a>1||this.__actions__.length)&&w instanceof rr&&Bo(u)?((w=w.slice(u,+u+(a?1:0))).__actions__.push({func:Fa,args:[k],thisArg:f}),new vi(w,this.__chain__).thru(function(ae){return a&&!ae.length&&ae.push(f),ae})):this.thru(k)}),xp=ll(function(r,a,u){Gn.call(r,u)?++r[u]:Ys(r,u,1)}),_h=Xf(ic),Ap=Xf(sc);function Ip(r,a){return(Kn(r)?et:Fo)(r,Nn(a,3))}function Fp(r,a){return(Kn(r)?wt:Su)(r,Nn(a,3))}var l_=ll(function(r,a,u){Gn.call(r,u)?r[u].push(a):Ys(r,u,[a])}),c_=jn(function(r,a,u){var w=-1,k="function"==typeof a,ae=Hi(r)?Je(r.length):[];return Fo(r,function(ve){ae[++w]=k?K(a,ve,u):No(ve,a,u)}),ae}),d_=ll(function(r,a,u){Ys(r,u,a)});function mc(r,a){return(Kn(r)?rn:ra)(r,Nn(a,3))}var Uo=ll(function(r,a,u){r[u?0:1].push(a)},function(){return[[],[]]}),Ch=jn(function(r,a){if(null==r)return[];var u=a.length;return u>1&&Ui(r,a[0],a[1])?a=[]:u>2&&Ui(a[0],a[1],a[2])&&(a=[a[0]]),Fu(r,Pr(a,1),[])}),iu=Po||function(){return Ir.Date.now()};function bh(r,a,u){return a=u?f:a,oo(r,128,f,f,f,f,a=r&&null==a?r.length:a)}function bc(r,a){var u;if("function"!=typeof a)throw new Pi(X);return r=Qn(r),function(){return--r>0&&(u=a.apply(this,arguments)),r<=1&&(a=f),u}}var wc=jn(function(r,a,u){var w=1;if(u.length){var k=ye(u,Oa(wc));w|=32}return oo(r,w,a,u,k)}),wh=jn(function(r,a,u){var w=3;if(u.length){var k=ye(u,Oa(wh));w|=32}return oo(a,w,r,u,k)});function su(r,a,u){var w,k,ae,ve,xe,Ye,vt=0,Ct=!1,Pt=!1,tn=!0;if("function"!=typeof r)throw new Pi(X);function mn(ii){var Qs=w,Fs=k;return w=k=f,vt=ii,ve=r.apply(Fs,Qs)}function Fn(ii){return vt=ii,xe=ca(gr,a),Ct?mn(ii):ve}function Rn(ii){var Qs=ii-Ye;return Ye===f||Qs>=a||Qs<0||Pt&&ii-vt>=ae}function gr(){var ii=iu();if(Rn(ii))return wr(ii);xe=ca(gr,function ar(ii){var Ml=a-(ii-Ye);return Pt?ti(Ml,ae-(ii-vt)):Ml}(ii))}function wr(ii){return xe=f,tn&&w?mn(ii):(w=k=f,ve)}function Zi(){var ii=iu(),Qs=Rn(ii);if(w=arguments,k=this,Ye=ii,Qs){if(xe===f)return Fn(Ye);if(Pt)return $l(xe),xe=ca(gr,a),mn(Ye)}return xe===f&&(xe=ca(gr,a)),ve}return a=ys(a)||0,Xr(u)&&(Ct=!!u.leading,ae=(Pt="maxWait"in u)?pi(ys(u.maxWait)||0,a):ae,tn="trailing"in u?!!u.trailing:tn),Zi.cancel=function Oi(){xe!==f&&$l(xe),vt=0,w=Ye=k=xe=f},Zi.flush=function ji(){return xe===f?ve:wr(iu())},Zi}var Na=jn(function(r,a){return hd(r,1,a)}),ml=jn(function(r,a,u){return hd(r,ys(a)||0,u)});function ou(r,a){if("function"!=typeof r||null!=a&&"function"!=typeof a)throw new Pi(X);var u=function(){var w=arguments,k=a?a.apply(this,w):w[0],ae=u.cache;if(ae.has(k))return ae.get(k);var ve=r.apply(this,w);return u.cache=ae.set(k,ve)||ae,ve};return u.cache=new(ou.Cache||hs),u}function _l(r){if("function"!=typeof r)throw new Pi(X);return function(){var a=arguments;switch(a.length){case 0:return!r.call(this);case 1:return!r.call(this,a[0]);case 2:return!r.call(this,a[0],a[1]);case 3:return!r.call(this,a[0],a[1],a[2])}return!r.apply(this,a)}}ou.Cache=hs;var Ec=Qm(function(r,a){var u=(a=1==a.length&&Kn(a[0])?rn(a[0],di(Nn())):rn(Pr(a,1),di(Nn()))).length;return jn(function(w){for(var k=-1,ae=ti(w.length,u);++k<ae;)w[k]=a[k].call(this,w[k]);return K(r,this,w)})}),yl=jn(function(r,a){var u=ye(a,Oa(yl));return oo(r,32,f,a,u)}),Dc=jn(function(r,a){var u=ye(a,Oa(Dc));return oo(r,64,f,a,u)}),au=Co(function(r,a){return oo(r,256,f,f,f,a)});function Ks(r,a){return r===a||r!=r&&a!=a}var p_=Pa(na),g_=Pa(function(r,a){return r>=a}),jo=Ou(function(){return arguments}())?Ou:function(r){return ui(r)&&Gn.call(r,"callee")&&!bu.call(r,"callee")},Kn=Je.isArray,Hp=as?di(as):function Uf(r){return ui(r)&&Ei(r)==He};function Hi(r){return null!=r&&_s(r.length)&&!co(r)}function li(r){return ui(r)&&Hi(r)}var $o=sd||Gc,$p=$i?di($i):function Hf(r){return ui(r)&&Ei(r)==dr};function Mc(r){if(!ui(r))return!1;var a=Ei(r);return a==$r||"[object DOMException]"==a||"string"==typeof r.message&&"string"==typeof r.name&&!vl(r)}function co(r){if(!Xr(r))return!1;var a=Ei(r);return a==tr||a==Mn||"[object AsyncFunction]"==a||"[object Proxy]"==a}function Ah(r){return"number"==typeof r&&r==Qn(r)}function _s(r){return"number"==typeof r&&r>-1&&r%1==0&&r<=cn}function Xr(r){var a=typeof r;return null!=r&&("object"==a||"function"==a)}function ui(r){return null!=r&&"object"==typeof r}var Ih=Qi?di(Qi):function jf(r){return ui(r)&&Vi(r)==Vn};function Rh(r){return"number"==typeof r||ui(r)&&Ei(r)==Ar}function vl(r){if(!ui(r)||Ei(r)!=Yn)return!1;var a=ga(r);if(null===a)return!0;var u=Gn.call(a,"constructor")&&a.constructor;return"function"==typeof u&&u instanceof u&&Vr.call(u)==qr}var La=T?di(T):function $f(r){return ui(r)&&Ei(r)==On},Nh=W?di(W):function Km(r){return ui(r)&&Vi(r)==Ce};function Ba(r){return"string"==typeof r||!Kn(r)&&ui(r)&&Ei(r)==Me}function Yi(r){return"symbol"==typeof r||ui(r)&&Ei(r)==me}var fa=S?di(S):function Gf(r){return ui(r)&&_s(r.length)&&!!pr[Ei(r)]},v_=Pa(sl),qp=Pa(function(r,a){return r<=a});function Oc(r){if(!r)return[];if(Hi(r))return Ba(r)?An(r):Wi(r);if($s&&r[$s])return function B(Ve){for(var lt,Je=[];!(lt=Ve.next()).done;)Je.push(lt.value);return Je}(r[$s]());var a=Vi(r);return(a==Vn?ue:a==Ce?Ze:bl)(r)}function ho(r){return r?(r=ys(r))===zt||r===-zt?17976931348623157e292*(r<0?-1:1):r==r?r:0:0===r?r:0}function Qn(r){var a=ho(r),u=a%1;return a==a?u?a-u:a:0}function xc(r){return r?ba(Qn(r),0,ir):0}function ys(r){if("number"==typeof r)return r;if(Yi(r))return NaN;if(Xr(r)){var a="function"==typeof r.valueOf?r.valueOf():r;r=Xr(a)?a+"":a}if("string"!=typeof r)return 0===r?r:+r;r=nr(r);var u=je.test(r);return u||Qe.test(r)?Vs(r.slice(2),u?2:8):Tn.test(r)?NaN:+r}function fo(r){return xs(r,ts(r))}function kr(r){return null==r?"":Os(r)}var Kp=Da(function(r,a){if(Aa(a)||Hi(a))xs(a,Di(a),r);else for(var u in a)Gn.call(a,u)&&el(r,u,a[u])}),Qp=Da(function(r,a){xs(a,ts(a),r)}),Va=Da(function(r,a,u,w){xs(a,ts(a),r,w)}),kh=Da(function(r,a,u,w){xs(a,Di(a),r,w)}),Ac=Co(Ca),Jp=jn(function(r,a){r=vn(r);var u=-1,w=a.length,k=w>2?a[2]:f;for(k&&Ui(a[0],a[1],k)&&(w=1);++u<w;)for(var ae=a[u],ve=ts(ae),xe=-1,Ye=ve.length;++xe<Ye;){var vt=ve[xe],Ct=r[vt];(Ct===f||Ks(Ct,wn[vt])&&!Gn.call(r,vt))&&(r[vt]=ae[vt])}return r}),Ic=jn(function(r){return r.push(f,$u),K(kc,f,r)});function Go(r,a,u){var w=null==r?f:ta(r,a);return w===f?u:w}function Rc(r,a){return null!=r&&jd(r,a,rl)}var ng=Li(function(r,a,u){null!=a&&"function"!=typeof a.toString&&(a=Nr.call(a)),r[a]=u},Wo(bi)),Ua=Li(function(r,a,u){null!=a&&"function"!=typeof a.toString&&(a=Nr.call(a)),Gn.call(r,a)?r[a].push(u):r[a]=[u]},Nn),rg=jn(No);function Di(r){return Hi(r)?Il(r):Au(r)}function ts(r){return Hi(r)?Il(r,!0):function Ll(r){if(!Xr(r))return function Ju(r){var a=[];if(null!=r)for(var u in vn(r))a.push(u);return a}(r);var a=Aa(r),u=[];for(var w in r)"constructor"==w&&(a||!Gn.call(r,w))||u.push(w);return u}(r)}var Nc=Da(function(r,a,u){Iu(r,a,u)}),kc=Da(function(r,a,u,w){Iu(r,a,u,w)}),jh=Co(function(r,a){var u={};if(null==r)return u;var w=!1;a=rn(a,function(ae){return ae=oa(ae,r),w||(w=ae.length>1),ae}),xs(r,zu(r),u),w&&(u=ki(u,7,tp));for(var k=a.length;k--;)sa(u,a[k]);return u}),Gh=Co(function(r,a){return null==r?{}:function wd(r,a){return Ru(r,a,function(u,w){return Rc(r,w)})}(r,a)});function zh(r,a){if(null==r)return{};var u=rn(zu(r),function(w){return[w]});return a=Nn(a),Ru(r,u,function(w,k){return a(w,k[0])})}var Lc=Ld(Di),lg=Ld(ts);function bl(r){return null==r?[]:Qr(r,Di(r))}var b_=Ma(function(r,a,u){return a=a.toLowerCase(),r+(u?As(a):a)});function As(r){return Mi(kr(r).toLowerCase())}function hg(r){return(r=kr(r))&&r.replace(Zt,Jo).replace(Xs,"")}var Qh=Ma(function(r,a,u){return r+(u?"-":"")+a.toLowerCase()}),fg=Ma(function(r,a,u){return r+(u?" ":"")+a.toLowerCase()}),E_=Rd("toLowerCase"),_g=Ma(function(r,a,u){return r+(u?"_":"")+a.toLowerCase()}),vg=Ma(function(r,a,u){return r+(u?" ":"")+Mi(a)}),El=Ma(function(r,a,u){return r+(u?" ":"")+a.toUpperCase()}),Mi=Rd("toUpperCase");function zo(r,a,u){return r=kr(r),(a=u?f:a)===f?function b(Ve){return ks.test(Ve)}(r)?function Yr(Ve){return Ve.match(Es)||[]}(r):function Si(Ve){return Ve.match(At)||[]}(r):r.match(a)||[]}var Dl=jn(function(r,a){try{return K(r,f,a)}catch(u){return Mc(u)?u:new Dn(u)}}),Is=Co(function(r,a){return et(a,function(u){u=uo(u),Ys(r,u,wc(r[u],r))}),r});function Wo(r){return function(){return r}}var Ga=ep(),za=ep(!0);function bi(r){return r}function Yo(r){return vd("function"==typeof r?r:ki(r,1))}var $c=jn(function(r,a){return function(u){return No(u,r,a)}}),Xh=jn(function(r,a){return function(u){return No(r,u,a)}});function cu(r,a,u){var w=Di(a),k=Nl(a,w);null==u&&(!Xr(a)||!k.length&&w.length)&&(u=a,a=r,r=this,k=Nl(a,Di(a)));var ae=!(Xr(u)&&"chain"in u&&!u.chain),ve=co(r);return et(k,function(xe){var Ye=a[xe];r[xe]=Ye,ve&&(r.prototype[xe]=function(){var vt=this.__chain__;if(ae||vt){var Ct=r(this.__wrapped__),Pt=Ct.__actions__=Wi(this.__actions__);return Pt.push({func:Ye,args:arguments,thisArg:r}),Ct.__chain__=vt,Ct}return Ye.apply(r,vr([this.value()],arguments))})}),r}function du(){}var nf=Yl(rn),rf=Yl(Lt),sf=Yl(Wr);function af(r){return Gd(r)?Fr(uo(r)):function ia(r){return function(a){return ta(a,r)}}(r)}var Dg=Sa(),uf=Sa(!0);function hu(){return[]}function Gc(){return!1}var D_=Ta(function(r,a){return r+a},0),Og=ju("ceil"),zc=Ta(function(r,a){return r/a},1),Wc=ju("floor"),P_=Ta(function(r,a){return r*a},1),Ig=ju("round"),Za=Ta(function(r,a){return r-a},0);return q.after=function Cc(r,a){if("function"!=typeof a)throw new Pi(X);return r=Qn(r),function(){if(--r<1)return a.apply(this,arguments)}},q.ary=bh,q.assign=Kp,q.assignIn=Qp,q.assignInWith=Va,q.assignWith=kh,q.at=Ac,q.before=bc,q.bind=wc,q.bindAll=Is,q.bindKey=wh,q.castArray=function Lp(){if(!arguments.length)return[];var r=arguments[0];return Kn(r)?r:[r]},q.chain=gl,q.chunk=function rc(r,a,u){a=(u?Ui(r,a,u):a===f)?1:pi(Qn(a),0);var w=null==r?0:r.length;if(!w||a<1)return[];for(var k=0,ae=0,ve=Je(zs(w/a));k<w;)ve[ae++]=Ps(r,k,k+=a);return ve},q.compact=function lp(r){for(var a=-1,u=null==r?0:r.length,w=0,k=[];++a<u;){var ae=r[a];ae&&(k[w++]=ae)}return k},q.concat=function up(){var r=arguments.length;if(!r)return[];for(var a=Je(r-1),u=arguments[0],w=r;w--;)a[w-1]=arguments[w];return vr(Kn(u)?Wi(u):[u],Pr(a,1))},q.cond=function jc(r){var a=null==r?0:r.length,u=Nn();return r=a?rn(r,function(w){if("function"!=typeof w[1])throw new Pi(X);return[u(w[0]),w[1]]}):[],jn(function(w){for(var k=-1;++k<a;){var ae=r[k];if(K(ae[0],this,w))return K(ae[1],this,w)}})},q.conforms=function ja(r){return function Tu(r){var a=Di(r);return function(u){return tl(u,r,a)}}(ki(r,1))},q.constant=Wo,q.countBy=xp,q.create=function Cl(r,a){var u=zi(r);return null==a?u:cd(u,a)},q.curry=function Ra(r,a,u){var w=oo(r,8,f,f,f,f,f,a=u?f:a);return w.placeholder=Ra.placeholder,w},q.curryRight=function ha(r,a,u){var w=oo(r,16,f,f,f,f,f,a=u?f:a);return w.placeholder=ha.placeholder,w},q.debounce=su,q.defaults=Jp,q.defaultsDeep=Ic,q.defer=Na,q.delay=ml,q.difference=Qd,q.differenceBy=Jd,q.differenceWith=da,q.drop=function Xd(r,a,u){var w=null==r?0:r.length;return w?Ps(r,(a=u||a===f?1:Qn(a))<0?0:a,w):[]},q.dropRight=function eh(r,a,u){var w=null==r?0:r.length;return w?Ps(r,0,(a=w-(a=u||a===f?1:Qn(a)))<0?0:a):[]},q.dropRightWhile=function cp(r,a){return r&&r.length?ps(r,Nn(a,3),!0,!0):[]},q.dropWhile=function Ql(r,a){return r&&r.length?ps(r,Nn(a,3),!0):[]},q.fill=function dp(r,a,u,w){var k=null==r?0:r.length;return k?(u&&"number"!=typeof u&&Ui(r,a,u)&&(u=0,w=k),function fd(r,a,u,w){var k=r.length;for((u=Qn(u))<0&&(u=-u>k?0:k+u),(w=w===f||w>k?k:Qn(w))<0&&(w+=k),w=u>w?0:xc(w);u<w;)r[u++]=a;return r}(r,a,u,w)):[]},q.filter=function mh(r,a){return(Kn(r)?Xn:pd)(r,Nn(a,3))},q.flatMap=function gc(r,a){return Pr(mc(r,a),1)},q.flatMapDeep=function o_(r,a){return Pr(mc(r,a),zt)},q.flatMapDepth=function a_(r,a,u){return u=u===f?1:Qn(u),Pr(mc(r,a),u)},q.flatten=oc,q.flattenDeep=function ac(r){return null!=r&&r.length?Pr(r,zt):[]},q.flattenDepth=function th(r,a){return null!=r&&r.length?Pr(r,a=a===f?1:Qn(a)):[]},q.flip=function ka(r){return oo(r,512)},q.flow=Ga,q.flowRight=za,q.fromPairs=function Jl(r){for(var a=-1,u=null==r?0:r.length,w={};++a<u;){var k=r[a];w[k[0]]=k[1]}return w},q.functions=function tg(r){return null==r?[]:Nl(r,Di(r))},q.functionsIn=function Uh(r){return null==r?[]:Nl(r,ts(r))},q.groupBy=l_,q.initial=function lc(r){return null!=r&&r.length?Ps(r,0,-1):[]},q.intersection=rh,q.intersectionBy=uc,q.intersectionWith=pl,q.invert=ng,q.invertBy=Ua,q.invokeMap=c_,q.iteratee=Yo,q.keyBy=d_,q.keys=Di,q.keysIn=ts,q.map=mc,q.mapKeys=function ig(r,a){var u={};return a=Nn(a,3),Ss(r,function(w,k,ae){Ys(u,a(w,k,ae),w)}),u},q.mapValues=function po(r,a){var u={};return a=Nn(a,3),Ss(r,function(w,k,ae){Ys(u,k,a(w,k,ae))}),u},q.matches=function Wa(r){return Cd(ki(r,1))},q.matchesProperty=function Ya(r,a){return bd(r,ki(a,1))},q.memoize=ou,q.merge=Nc,q.mergeWith=kc,q.method=$c,q.methodOf=Xh,q.mixin=cu,q.negate=_l,q.nthArg=function tf(r){return r=Qn(r),jn(function(a){return Vl(a,r)})},q.omit=jh,q.omitBy=function $h(r,a){return zh(r,_l(Nn(a)))},q.once=function Eh(r){return bc(2,r)},q.orderBy=function h_(r,a,u,w){return null==r?[]:(Kn(a)||(a=null==a?[]:[a]),Kn(u=w?f:u)||(u=null==u?[]:[u]),Fu(r,a,u))},q.over=nf,q.overArgs=Ec,q.overEvery=rf,q.overSome=sf,q.partial=yl,q.partialRight=Dc,q.partition=Uo,q.pick=Gh,q.pickBy=zh,q.property=af,q.propertyOf=function lf(r){return function(a){return null==r?f:ta(r,a)}},q.pull=ih,q.pullAll=Xl,q.pullAllBy=function sh(r,a,u){return r&&r.length&&a&&a.length?Nu(r,a,Nn(u,2)):r},q.pullAllWith=function e_(r,a,u){return r&&r.length&&a&&a.length?Nu(r,a,f,u):r},q.pullAt=oh,q.range=Dg,q.rangeRight=uf,q.rearg=au,q.reject=function yh(r,a){return(Kn(r)?Xn:pd)(r,_l(Nn(a,3)))},q.remove=function gp(r,a){var u=[];if(!r||!r.length)return u;var w=-1,k=[],ae=r.length;for(a=Nn(a,3);++w<ae;){var ve=r[w];a(ve,w,r)&&(u.push(ve),k.push(w))}return Ed(r,k),u},q.rest=function kp(r,a){if("function"!=typeof r)throw new Pi(X);return jn(r,a=a===f?a:Qn(a))},q.reverse=eu,q.sampleSize=function vh(r,a,u){return a=(u?Ui(r,a,u):a===f)?1:Qn(a),(Kn(r)?qm:Dd)(r,a)},q.set=function og(r,a,u){return null==r?r:ol(r,a,u)},q.setWith=function ag(r,a,u,w){return w="function"==typeof w?w:f,null==r?r:ol(r,a,u,w)},q.shuffle=function vc(r){return(Kn(r)?ud:Yf)(r)},q.slice=function mp(r,a,u){var w=null==r?0:r.length;return w?(u&&"number"!=typeof u&&Ui(r,a,u)?(a=0,u=w):(a=null==a?0:Qn(a),u=u===f?w:Qn(u)),Ps(r,a,u)):[]},q.sortBy=Ch,q.sortedUniq=function bp(r){return r&&r.length?Sd(r):[]},q.sortedUniqBy=function wp(r,a){return r&&r.length?Sd(r,Nn(a,2)):[]},q.split=function yg(r,a,u){return u&&"number"!=typeof u&&Ui(r,a,u)&&(a=u=f),(u=u===f?ir:u>>>0)?(r=kr(r))&&("string"==typeof a||null!=a&&!La(a))&&!(a=Os(a))&&p(r)?so(An(r),0,u):r.split(a,u):[]},q.spread=function Dh(r,a){if("function"!=typeof r)throw new Pi(X);return a=null==a?0:pi(Qn(a),0),jn(function(u){var w=u[a],k=so(u,0,a);return w&&vr(k,w),K(r,this,k)})},q.tail=function lh(r){var a=null==r?0:r.length;return a?Ps(r,1,a):[]},q.take=function Ep(r,a,u){return r&&r.length?Ps(r,0,(a=u||a===f?1:Qn(a))<0?0:a):[]},q.takeRight=function Dp(r,a,u){var w=null==r?0:r.length;return w?Ps(r,(a=w-(a=u||a===f?1:Qn(a)))<0?0:a,w):[]},q.takeRightWhile=function Mp(r,a){return r&&r.length?ps(r,Nn(a,3),!1,!0):[]},q.takeWhile=function Zn(r,a){return r&&r.length?ps(r,Nn(a,3)):[]},q.tap=function fc(r,a){return a(r),r},q.throttle=function f_(r,a,u){var w=!0,k=!0;if("function"!=typeof r)throw new Pi(X);return Xr(u)&&(w="leading"in u?!!u.leading:w,k="trailing"in u?!!u.trailing:k),su(r,a,{leading:w,maxWait:a,trailing:k})},q.thru=Fa,q.toArray=Oc,q.toPairs=Lc,q.toPairsIn=lg,q.toPath=function Sg(r){return Kn(r)?rn(r,uo):Yi(r)?[r]:Wi(Kd(kr(r)))},q.toPlainObject=fo,q.transform=function Wh(r,a,u){var w=Kn(r),k=w||$o(r)||fa(r);if(a=Nn(a,4),null==u){var ae=r&&r.constructor;u=k?w?new ae:[]:Xr(r)&&co(ae)?zi(ga(r)):{}}return(k?et:Ss)(r,function(ve,xe,Ye){return a(u,ve,xe,Ye)}),u},q.unary=function Mh(r){return bh(r,1)},q.union=uh,q.unionBy=ch,q.unionWith=dh,q.uniq=function tu(r){return r&&r.length?ko(r):[]},q.uniqBy=function qs(r,a){return r&&r.length?ko(r,Nn(a,2)):[]},q.uniqWith=function hh(r,a){return a="function"==typeof a?a:f,r&&r.length?ko(r,f,a):[]},q.unset=function ug(r,a){return null==r||sa(r,a)},q.unzip=cc,q.unzipWith=nu,q.update=function cg(r,a,u){return null==r?r:Vu(r,a,Od(u))},q.updateWith=function C_(r,a,u,w){return w="function"==typeof w?w:f,null==r?r:Vu(r,a,Od(u),w)},q.values=bl,q.valuesIn=function Bc(r){return null==r?[]:Qr(r,ts(r))},q.without=bo,q.words=zo,q.wrap=function Th(r,a){return yl(Od(a),r)},q.xor=dc,q.xorBy=fh,q.xorWith=hc,q.zip=t_,q.zipObject=function ph(r,a){return Uu(r||[],a||[],el)},q.zipObjectDeep=function n_(r,a){return Uu(r||[],a||[],ol)},q.zipWith=ru,q.entries=Lc,q.entriesIn=lg,q.extend=Qp,q.extendWith=Va,cu(q,q),q.add=D_,q.attempt=Dl,q.camelCase=b_,q.capitalize=As,q.ceil=Og,q.clamp=function dg(r,a,u){return u===f&&(u=a,a=f),u!==f&&(u=(u=ys(u))==u?u:0),a!==f&&(a=(a=ys(a))==a?a:0),ba(ys(r),a,u)},q.clone=function Sh(r){return ki(r,4)},q.cloneDeep=function Vp(r){return ki(r,5)},q.cloneDeepWith=function ms(r,a){return ki(r,5,a="function"==typeof a?a:f)},q.cloneWith=function Bp(r,a){return ki(r,4,a="function"==typeof a?a:f)},q.conformsTo=function Up(r,a){return null==a||tl(r,a,Di(a))},q.deburr=hg,q.defaultTo=function $a(r,a){return null==r||r!=r?a:r},q.divide=zc,q.endsWith=function w_(r,a,u){r=kr(r),a=Os(a);var w=r.length,k=u=u===f?w:ba(Qn(u),0,w);return(u-=a.length)>=0&&r.slice(u,k)==a},q.eq=Ks,q.escape=function qh(r){return(r=kr(r))&&xn.test(r)?r.replace(Xt,Cu):r},q.escapeRegExp=function Kh(r){return(r=kr(r))&&we.test(r)?r.replace($e,"\\$&"):r},q.every=function s_(r,a,u){var w=Kn(r)?Lt:Bf;return u&&Ui(r,a,u)&&(a=f),w(r,Nn(a,3))},q.find=_h,q.findIndex=ic,q.findKey=function Lh(r,a){return P(r,Nn(a,3),Ss)},q.findLast=Ap,q.findLastIndex=sc,q.findLastKey=function Bh(r,a){return P(r,Nn(a,3),ea)},q.floor=Wc,q.forEach=Ip,q.forEachRight=Fp,q.forIn=function Vh(r,a){return null==r?r:Rl(r,Nn(a,3),ts)},q.forInRight=function Xp(r,a){return null==r?r:gd(r,Nn(a,3),ts)},q.forOwn=function Fc(r,a){return r&&Ss(r,Nn(a,3))},q.forOwnRight=function eg(r,a){return r&&ea(r,Nn(a,3))},q.get=Go,q.gt=p_,q.gte=g_,q.has=function Hh(r,a){return null!=r&&jd(r,a,_d)},q.hasIn=Rc,q.head=fl,q.identity=bi,q.includes=function u_(r,a,u,w){r=Hi(r)?r:bl(r),u=u&&!w?Qn(u):0;var k=r.length;return u<0&&(u=pi(k+u,0)),Ba(r)?u<=k&&r.indexOf(a,u)>-1:!!k&&C(r,a,u)>-1},q.indexOf=function nh(r,a,u){var w=null==r?0:r.length;if(!w)return-1;var k=null==u?0:Qn(u);return k<0&&(k=pi(w+k,0)),C(r,a,k)},q.inRange=function Yh(r,a,u){return a=ho(a),u===f?(u=a,a=0):u=ho(u),function Vf(r,a,u){return r>=ti(a,u)&&r<pi(a,u)}(r=ys(r),a,u)},q.invoke=rg,q.isArguments=jo,q.isArray=Kn,q.isArrayBuffer=Hp,q.isArrayLike=Hi,q.isArrayLikeObject=li,q.isBoolean=function jp(r){return!0===r||!1===r||ui(r)&&Ei(r)==Un},q.isBuffer=$o,q.isDate=$p,q.isElement=function Ph(r){return ui(r)&&1===r.nodeType&&!vl(r)},q.isEmpty=function Gp(r){if(null==r)return!0;if(Hi(r)&&(Kn(r)||"string"==typeof r||"function"==typeof r.splice||$o(r)||fa(r)||jo(r)))return!r.length;var a=Vi(r);if(a==Vn||a==Ce)return!r.size;if(Aa(r))return!Au(r).length;for(var u in r)if(Gn.call(r,u))return!1;return!0},q.isEqual=function Oh(r,a){return io(r,a)},q.isEqualWith=function zp(r,a,u){var w=(u="function"==typeof u?u:f)?u(r,a):f;return w===f?io(r,a,f,u):!!w},q.isError=Mc,q.isFinite=function xh(r){return"number"==typeof r&&_a(r)},q.isFunction=co,q.isInteger=Ah,q.isLength=_s,q.isMap=Ih,q.isMatch=function m_(r,a){return r===a||yd(r,a,Yu(a))},q.isMatchWith=function Fh(r,a,u){return u="function"==typeof u?u:f,yd(r,a,Yu(a),u)},q.isNaN=function Wp(r){return Rh(r)&&r!=+r},q.isNative=function Yp(r){if(op(r))throw new Dn("Unsupported core-js use. Try https://npms.io/search?q=ponyfill.");return xu(r)},q.isNil=function Tc(r){return null==r},q.isNull=function Zp(r){return null===r},q.isNumber=Rh,q.isObject=Xr,q.isObjectLike=ui,q.isPlainObject=vl,q.isRegExp=La,q.isSafeInteger=function Sc(r){return Ah(r)&&r>=-cn&&r<=cn},q.isSet=Nh,q.isString=Ba,q.isSymbol=Yi,q.isTypedArray=fa,q.isUndefined=function __(r){return r===f},q.isWeakMap=function y_(r){return ui(r)&&Vi(r)==ne},q.isWeakSet=function Pc(r){return ui(r)&&"[object WeakSet]"==Ei(r)},q.join=function hp(r,a){return null==r?"":xl.call(r,a)},q.kebabCase=Qh,q.last=gs,q.lastIndexOf=function fp(r,a,u){var w=null==r?0:r.length;if(!w)return-1;var k=w;return u!==f&&(k=(k=Qn(u))<0?pi(w+k,0):ti(k,w-1)),a==a?function pn(Ve,lt,Je){for(var Kt=Je+1;Kt--;)if(Ve[Kt]===lt)return Kt;return Kt}(r,a,k):E(r,ct,k,!0)},q.lowerCase=fg,q.lowerFirst=E_,q.lt=v_,q.lte=qp,q.max=function xg(r){return r&&r.length?Ro(r,bi,na):f},q.maxBy=function M_(r,a){return r&&r.length?Ro(r,Nn(a,2),na):f},q.mean=function T_(r){return fn(r,bi)},q.meanBy=function S_(r,a){return fn(r,Nn(a,2))},q.min=function Ag(r){return r&&r.length?Ro(r,bi,sl):f},q.minBy=function hf(r,a){return r&&r.length?Ro(r,Nn(a,2),sl):f},q.stubArray=hu,q.stubFalse=Gc,q.stubObject=function Mg(){return{}},q.stubString=function cf(){return""},q.stubTrue=function Tg(){return!0},q.multiply=P_,q.nth=function pp(r,a){return r&&r.length?Vl(r,Qn(a)):f},q.noConflict=function ef(){return Ir._===this&&(Ir._=vo),this},q.noop=du,q.now=iu,q.pad=function Jh(r,a,u){r=kr(r);var w=(a=Qn(a))?Sn(r):0;if(!a||w>=a)return r;var k=(a-w)/2;return cl(Oo(k),u)+r+cl(zs(k),u)},q.padEnd=function Vc(r,a,u){r=kr(r);var w=(a=Qn(a))?Sn(r):0;return a&&w<a?r+cl(a-w,u):r},q.padStart=function pg(r,a,u){r=kr(r);var w=(a=Qn(a))?Sn(r):0;return a&&w<a?cl(a-w,u)+r:r},q.parseInt=function Uc(r,a,u){return u||null==a?a=0:a&&(a=+a),Qa(kr(r).replace(ce,""),a||0)},q.random=function Zh(r,a,u){if(u&&"boolean"!=typeof u&&Ui(r,a,u)&&(a=u=f),u===f&&("boolean"==typeof a?(u=a,a=f):"boolean"==typeof r&&(u=r,r=f)),r===f&&a===f?(r=0,a=1):(r=ho(r),a===f?(a=r,r=0):a=ho(a)),r>a){var w=r;r=a,a=w}if(u||r%1||a%1){var k=Ao();return ti(r+k*(a-r+To("1e-"+((k+"").length-1))),a)}return ku(r,a)},q.reduce=function _c(r,a,u){var w=Kn(r)?er:us,k=arguments.length<3;return w(r,Nn(a,4),u,k,Fo)},q.reduceRight=function Rp(r,a,u){var w=Kn(r)?Br:us,k=arguments.length<3;return w(r,Nn(a,4),u,k,Su)},q.repeat=function gg(r,a,u){return a=(u?Ui(r,a,u):a===f)?1:Qn(a),Lu(kr(r),a)},q.replace=function mg(){var r=arguments,a=kr(r[0]);return r.length<3?a:a.replace(r[1],r[2])},q.result=function sg(r,a,u){var w=-1,k=(a=oa(a,r)).length;for(k||(k=1,r=f);++w<k;){var ae=null==r?f:r[uo(a[w])];ae===f&&(w=k,ae=u),r=co(ae)?ae.call(r):ae}return r},q.round=Ig,q.runInContext=Ve,q.sample=function yc(r){return(Kn(r)?Xo:wa)(r)},q.size=function Np(r){if(null==r)return 0;if(Hi(r))return Ba(r)?Sn(r):r.length;var a=Vi(r);return a==Vn||a==Ce?r.size:Au(r).length},q.snakeCase=_g,q.some=function Ho(r,a,u){var w=Kn(r)?Wr:Td;return u&&Ui(r,a,u)&&(a=f),w(r,Nn(a,3))},q.sortedIndex=function _p(r,a){return Ul(r,a)},q.sortedIndexBy=function Zs(r,a,u){return Bu(r,a,Nn(u,2))},q.sortedIndexOf=function yp(r,a){var u=null==r?0:r.length;if(u){var w=Ul(r,a);if(w<u&&Ks(r[w],a))return w}return-1},q.sortedLastIndex=function ah(r,a){return Ul(r,a,!0)},q.sortedLastIndexBy=function vp(r,a,u){return Bu(r,a,Nn(u,2),!0)},q.sortedLastIndexOf=function Cp(r,a){if(null!=r&&r.length){var w=Ul(r,a,!0)-1;if(Ks(r[w],a))return w}return-1},q.startCase=vg,q.startsWith=function Cg(r,a,u){return r=kr(r),u=null==u?0:ba(Qn(u),0,r.length),a=Os(a),r.slice(u,u+a.length)==a},q.subtract=Za,q.sum=function Fg(r){return r&&r.length?Ji(r,bi):0},q.sumBy=function ff(r,a){return r&&r.length?Ji(r,Nn(a,2)):0},q.template=function uu(r,a,u){var w=q.templateSettings;u&&Ui(r,a,u)&&(a=f),r=kr(r),a=Va({},a,w,Bd);var xe,Ye,k=Va({},a.imports,w.imports,Bd),ae=Di(k),ve=Qr(k,ae),vt=0,Ct=a.interpolate||jt,Pt="__p += '",tn=cs((a.escape||jt).source+"|"+Ct.source+"|"+(Ct===Vt?_t:jt).source+"|"+(a.evaluate||jt).source+"|$","g"),mn="//# sourceURL="+(Gn.call(a,"sourceURL")?(a.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++ss+"]")+"\n";r.replace(tn,function(Rn,gr,wr,Oi,ji,Zi){return wr||(wr=Oi),Pt+=r.slice(vt,Zi).replace(x,F),gr&&(xe=!0,Pt+="' +\n__e("+gr+") +\n'"),ji&&(Ye=!0,Pt+="';\n"+ji+";\n__p += '"),wr&&(Pt+="' +\n((__t = ("+wr+")) == null ? '' : __t) +\n'"),vt=Zi+Rn.length,Rn}),Pt+="';\n";var Fn=Gn.call(a,"variable")&&a.variable;if(Fn){if(ge.test(Fn))throw new Dn("Invalid `variable` option passed into `_.template`")}else Pt="with (obj) {\n"+Pt+"\n}\n";Pt=(Ye?Pt.replace(nn,""):Pt).replace(sn,"$1").replace(Mt,"$1;"),Pt="function("+(Fn||"obj")+") {\n"+(Fn?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(xe?", __e = _.escape":"")+(Ye?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+Pt+"return __p\n}";var ar=Dl(function(){return yn(ae,mn+"return "+Pt).apply(f,ve)});if(ar.source=Pt,Mc(ar))throw ar;return ar},q.times=function df(r,a){if((r=Qn(r))<1||r>cn)return[];var u=ir,w=ti(r,ir);a=Nn(a),r-=ir;for(var k=Us(w,a);++u<r;)a(u);return k},q.toFinite=ho,q.toInteger=Qn,q.toLength=xc,q.toLower=function Ha(r){return kr(r).toLowerCase()},q.toNumber=ys,q.toSafeInteger=function lu(r){return r?ba(Qn(r),-cn,cn):0===r?r:0},q.toString=kr,q.toUpper=function bg(r){return kr(r).toUpperCase()},q.trim=function wl(r,a,u){if((r=kr(r))&&(u||a===f))return nr(r);if(!r||!(a=Os(a)))return r;var w=An(r),k=An(a);return so(w,Xi(w,k),Ri(w,k)+1).join("")},q.trimEnd=function wg(r,a,u){if((r=kr(r))&&(u||a===f))return r.slice(0,bn(r)+1);if(!r||!(a=Os(a)))return r;var w=An(r);return so(w,0,Ri(w,An(a))+1).join("")},q.trimStart=function Eg(r,a,u){if((r=kr(r))&&(u||a===f))return r.replace(ce,"");if(!r||!(a=Os(a)))return r;var w=An(r);return so(w,Xi(w,An(a))).join("")},q.truncate=function Hc(r,a){var u=30,w="...";if(Xr(a)){var k="separator"in a?a.separator:k;u="length"in a?Qn(a.length):u,w="omission"in a?Os(a.omission):w}var ae=(r=kr(r)).length;if(p(r)){var ve=An(r);ae=ve.length}if(u>=ae)return r;var xe=u-Sn(w);if(xe<1)return w;var Ye=ve?so(ve,0,xe).join(""):r.slice(0,xe);if(k===f)return Ye+w;if(ve&&(xe+=Ye.length-xe),La(k)){if(r.slice(xe).search(k)){var vt,Ct=Ye;for(k.global||(k=cs(k.source,kr(Nt.exec(k))+"g")),k.lastIndex=0;vt=k.exec(Ct);)var Pt=vt.index;Ye=Ye.slice(0,Pt===f?xe:Pt)}}else if(r.indexOf(Os(k),xe)!=xe){var tn=Ye.lastIndexOf(k);tn>-1&&(Ye=Ye.slice(0,tn))}return Ye+w},q.unescape=function go(r){return(r=kr(r))&&_n.test(r)?r.replace(an,Hn):r},q.uniqueId=function Pg(r){var a=++mi;return kr(r)+a},q.upperCase=El,q.upperFirst=Mi,q.each=Ip,q.eachRight=Fp,q.first=fl,cu(q,function(){var r={};return Ss(q,function(a,u){Gn.call(q.prototype,u)||(r[u]=a)}),r}(),{chain:!1}),q.VERSION="4.17.21",et(["bind","bindKey","curry","curryRight","partial","partialRight"],function(r){q[r].placeholder=q}),et(["drop","take"],function(r,a){rr.prototype[r]=function(u){u=u===f?1:pi(Qn(u),0);var w=this.__filtered__&&!a?new rr(this):this.clone();return w.__filtered__?w.__takeCount__=ti(u,w.__takeCount__):w.__views__.push({size:ti(u,ir),type:r+(w.__dir__<0?"Right":"")}),w},rr.prototype[r+"Right"]=function(u){return this.reverse()[r](u).reverse()}}),et(["filter","map","takeWhile"],function(r,a){var u=a+1,w=1==u||3==u;rr.prototype[r]=function(k){var ae=this.clone();return ae.__iteratees__.push({iteratee:Nn(k,3),type:u}),ae.__filtered__=ae.__filtered__||w,ae}}),et(["head","last"],function(r,a){var u="take"+(a?"Right":"");rr.prototype[r]=function(){return this[u](1).value()[0]}}),et(["initial","tail"],function(r,a){var u="drop"+(a?"":"Right");rr.prototype[r]=function(){return this.__filtered__?new rr(this):this[u](1)}}),rr.prototype.compact=function(){return this.filter(bi)},rr.prototype.find=function(r){return this.filter(r).head()},rr.prototype.findLast=function(r){return this.reverse().find(r)},rr.prototype.invokeMap=jn(function(r,a){return"function"==typeof r?new rr(this):this.map(function(u){return No(u,r,a)})}),rr.prototype.reject=function(r){return this.filter(_l(Nn(r)))},rr.prototype.slice=function(r,a){r=Qn(r);var u=this;return u.__filtered__&&(r>0||a<0)?new rr(u):(r<0?u=u.takeRight(-r):r&&(u=u.drop(r)),a!==f&&(u=(a=Qn(a))<0?u.dropRight(-a):u.take(a-r)),u)},rr.prototype.takeRightWhile=function(r){return this.reverse().takeWhile(r).reverse()},rr.prototype.toArray=function(){return this.take(ir)},Ss(rr.prototype,function(r,a){var u=/^(?:filter|find|map|reject)|While$/.test(a),w=/^(?:head|last)$/.test(a),k=q[w?"take"+("last"==a?"Right":""):a],ae=w||/^find/.test(a);!k||(q.prototype[a]=function(){var ve=this.__wrapped__,xe=w?[1]:arguments,Ye=ve instanceof rr,vt=xe[0],Ct=Ye||Kn(ve),Pt=function(gr){var wr=k.apply(q,vr([gr],xe));return w&&tn?wr[0]:wr};Ct&&u&&"function"==typeof vt&&1!=vt.length&&(Ye=Ct=!1);var tn=this.__chain__,mn=!!this.__actions__.length,Fn=ae&&!tn,ar=Ye&&!mn;if(!ae&&Ct){ve=ar?ve:new rr(this);var Rn=r.apply(ve,xe);return Rn.__actions__.push({func:Fa,args:[Pt],thisArg:f}),new vi(Rn,tn)}return Fn&&ar?r.apply(this,xe):(Rn=this.thru(Pt),Fn?w?Rn.value()[0]:Rn.value():Rn)})}),et(["pop","push","shift","sort","splice","unshift"],function(r){var a=on[r],u=/^(?:push|sort|unshift)$/.test(r)?"tap":"thru",w=/^(?:pop|shift)$/.test(r);q.prototype[r]=function(){var k=arguments;if(w&&!this.__chain__){var ae=this.value();return a.apply(Kn(ae)?ae:[],k)}return this[u](function(ve){return a.apply(Kn(ve)?ve:[],k)})}}),Ss(rr.prototype,function(r,a){var u=q[a];if(u){var w=u.name+"";Gn.call(pe,w)||(pe[w]=[]),pe[w].push({name:a,func:u})}}),pe[Lo(f,2).name]=[{name:"wrapper",func:f}],rr.prototype.clone=function va(){var r=new rr(this.__wrapped__);return r.__actions__=Wi(this.__actions__),r.__dir__=this.__dir__,r.__filtered__=this.__filtered__,r.__iteratees__=Wi(this.__iteratees__),r.__takeCount__=this.__takeCount__,r.__views__=Wi(this.__views__),r},rr.prototype.reverse=function Vm(){if(this.__filtered__){var r=new rr(this);r.__dir__=-1,r.__filtered__=!0}else(r=this.clone()).__dir__*=-1;return r},rr.prototype.value=function Ff(){var r=this.__wrapped__.value(),a=this.__dir__,u=Kn(r),w=a<0,k=u?r.length:0,ae=function rp(r,a,u){for(var w=-1,k=u.length;++w<k;){var ae=u[w],ve=ae.size;switch(ae.type){case"drop":r+=ve;break;case"dropRight":a-=ve;break;case"take":a=ti(a,r+ve);break;case"takeRight":r=pi(r,a-ve)}}return{start:r,end:a}}(0,k,this.__views__),ve=ae.start,xe=ae.end,Ye=xe-ve,vt=w?xe:ve-1,Ct=this.__iteratees__,Pt=Ct.length,tn=0,mn=ti(Ye,this.__takeCount__);if(!u||!w&&k==Ye&&mn==Ye)return Ea(r,this.__actions__);var Fn=[];e:for(;Ye--&&tn<mn;){for(var ar=-1,Rn=r[vt+=a];++ar<Pt;){var gr=Ct[ar],Oi=gr.type,ji=(0,gr.iteratee)(Rn);if(2==Oi)Rn=ji;else if(!ji){if(1==Oi)continue e;break e}}Fn[tn++]=Rn}return Fn},q.prototype.at=pc,q.prototype.chain=function r_(){return gl(this)},q.prototype.commit=function Tp(){return new vi(this.value(),this.__chain__)},q.prototype.next=function Sp(){this.__values__===f&&(this.__values__=Oc(this.value()));var r=this.__index__>=this.__values__.length;return{done:r,value:r?f:this.__values__[this.__index__++]}},q.prototype.plant=function Op(r){for(var a,u=this;u instanceof Ms;){var w=nc(u);w.__index__=0,w.__values__=f,a?k.__wrapped__=w:a=w;var k=w;u=u.__wrapped__}return k.__wrapped__=r,a},q.prototype.reverse=function gh(){var r=this.__wrapped__;if(r instanceof rr){var a=r;return this.__actions__.length&&(a=new rr(this)),(a=a.reverse()).__actions__.push({func:Fa,args:[eu],thisArg:f}),new vi(a,this.__chain__)}return this.thru(eu)},q.prototype.toJSON=q.prototype.valueOf=q.prototype.value=function i_(){return Ea(this.__wrapped__,this.__actions__)},q.prototype.first=q.prototype.head,$s&&(q.prototype[$s]=function Pp(){return this}),q}();Ir._=Zr,(s=function(){return Zr}.call(se,M,se,Ne))!==f&&(Ne.exports=s)}.call(this)},8448:(Ne,se,M)=>{var s=M(5171),f=M(2315),te=M(4401),Q=M(3943);Ne.exports=function re(X,ie,ee){X=Q(X);var he=(ie=te(ie))?f(X):0;return ie&&he<ie?s(ie-he,ee)+X:X}},1978:(Ne,se,M)=>{var f=M(1491)(function(te,Q,re){return te+(re?"_":"")+Q.toLowerCase()});Ne.exports=f},2232:(Ne,se,M)=>{var s=M(1467),f=1/0;Ne.exports=function Q(re){return re?(re=s(re))===f||re===-f?17976931348623157e292*(re<0?-1:1):re==re?re:0:0===re?re:0}},4401:(Ne,se,M)=>{var s=M(2232);Ne.exports=function f(te){var Q=s(te),re=Q%1;return Q==Q?re?Q-re:Q:0}},1467:(Ne,se,M)=>{var s=M(3348),f=M(5940),te=M(4129),re=/^[-+]0x[0-9a-f]+$/i,X=/^0b[01]+$/i,ie=/^0o[0-7]+$/i,ee=parseInt;Ne.exports=function he(L){if("number"==typeof L)return L;if(te(L))return NaN;if(f(L)){var N="function"==typeof L.valueOf?L.valueOf():L;L=f(N)?N+"":N}if("string"!=typeof L)return 0===L?L:+L;L=s(L);var G=X.test(L);return G||ie.test(L)?ee(L.slice(2),G?2:8):re.test(L)?NaN:+L}},3943:(Ne,se,M)=>{var s=M(3935);Ne.exports=function f(te){return null==te?"":s(te)}},7188:(Ne,se,M)=>{var s=M(69),f=M(9062),te=M(3943),Q=M(910);Ne.exports=function re(X,ie,ee){return X=te(X),void 0===(ie=ee?void 0:ie)?f(X)?Q(X):s(X):X.match(ie)||[]}},591:(Ne,se,M)=>{"use strict";M.d(se,{X:()=>te});var s=M(5529),f=M(5279);class te extends s.xQ{constructor(re){super(),this._value=re}get value(){return this.getValue()}_subscribe(re){const X=super._subscribe(re);return X&&!X.closed&&re.next(this._value),X}getValue(){if(this.hasError)throw this.thrownError;if(this.closed)throw new f.N;return this._value}next(re){super.next(this._value=re)}}},1869:(Ne,se,M)=>{"use strict";M.d(se,{d:()=>f});var s=M(3489);class f extends s.L{constructor(Q,re,X){super(),this.parent=Q,this.outerValue=re,this.outerIndex=X,this.index=0}_next(Q){this.parent.notifyNext(this.outerValue,Q,this.outerIndex,this.index++,this)}_error(Q){this.parent.notifyError(Q,this),this.unsubscribe()}_complete(){this.parent.notifyComplete(this),this.unsubscribe()}}},2916:(Ne,se,M)=>{"use strict";M.d(se,{y:()=>N});var s=M(3489),te=M(7668),Q=M(3292),X=M(3821),ie=M(5379);var L=M(2830);let N=(()=>{class oe{constructor(le){this._isScalar=!1,le&&(this._subscribe=le)}lift(le){const Oe=new oe;return Oe.source=this,Oe.operator=le,Oe}subscribe(le,Oe,ke){const{operator:yt}=this,it=function re(oe,Pe,le){if(oe){if(oe instanceof s.L)return oe;if(oe[te.b])return oe[te.b]()}return oe||Pe||le?new s.L(oe,Pe,le):new s.L(Q.c)}(le,Oe,ke);if(it.add(yt?yt.call(it,this.source):this.source||L.v.useDeprecatedSynchronousErrorHandling&&!it.syncErrorThrowable?this._subscribe(it):this._trySubscribe(it)),L.v.useDeprecatedSynchronousErrorHandling&&it.syncErrorThrowable&&(it.syncErrorThrowable=!1,it.syncErrorThrown))throw it.syncErrorValue;return it}_trySubscribe(le){try{return this._subscribe(le)}catch(Oe){L.v.useDeprecatedSynchronousErrorHandling&&(le.syncErrorThrown=!0,le.syncErrorValue=Oe),function f(oe){for(;oe;){const{closed:Pe,destination:le,isStopped:Oe}=oe;if(Pe||Oe)return!1;oe=le&&le instanceof s.L?le:null}return!0}(le)?le.error(Oe):console.warn(Oe)}}forEach(le,Oe){return new(Oe=G(Oe))((ke,yt)=>{let it;it=this.subscribe(ut=>{try{le(ut)}catch(pt){yt(pt),it&&it.unsubscribe()}},yt,ke)})}_subscribe(le){const{source:Oe}=this;return Oe&&Oe.subscribe(le)}[X.L](){return this}pipe(...le){return 0===le.length?this:function he(oe){return 0===oe.length?ie.y:1===oe.length?oe[0]:function(le){return oe.reduce((Oe,ke)=>ke(Oe),le)}}(le)(this)}toPromise(le){return new(le=G(le))((Oe,ke)=>{let yt;this.subscribe(it=>yt=it,it=>ke(it),()=>Oe(yt))})}}return oe.create=Pe=>new oe(Pe),oe})();function G(oe){if(oe||(oe=L.v.Promise||Promise),!oe)throw new Error("no Promise impl found");return oe}},3292:(Ne,se,M)=>{"use strict";M.d(se,{c:()=>te});var s=M(2830),f=M(2782);const te={closed:!0,next(Q){},error(Q){if(s.v.useDeprecatedSynchronousErrorHandling)throw Q;(0,f.z)(Q)},complete(){}}},826:(Ne,se,M)=>{"use strict";M.d(se,{L:()=>f});var s=M(3489);class f extends s.L{notifyNext(Q,re,X,ie,ee){this.destination.next(re)}notifyError(Q,re){this.destination.error(Q)}notifyComplete(Q){this.destination.complete()}}},5529:(Ne,se,M)=>{"use strict";M.d(se,{xQ:()=>ee,Yc:()=>ie});var s=M(2916),f=M(3489),te=M(2654),Q=M(5279);class re extends te.w{constructor(N,G){super(),this.subject=N,this.subscriber=G,this.closed=!1}unsubscribe(){if(this.closed)return;this.closed=!0;const N=this.subject,G=N.observers;if(this.subject=null,!G||0===G.length||N.isStopped||N.closed)return;const oe=G.indexOf(this.subscriber);-1!==oe&&G.splice(oe,1)}}var X=M(7668);class ie extends f.L{constructor(N){super(N),this.destination=N}}let ee=(()=>{class L extends s.y{constructor(){super(),this.observers=[],this.closed=!1,this.isStopped=!1,this.hasError=!1,this.thrownError=null}[X.b](){return new ie(this)}lift(G){const oe=new he(this,this);return oe.operator=G,oe}next(G){if(this.closed)throw new Q.N;if(!this.isStopped){const{observers:oe}=this,Pe=oe.length,le=oe.slice();for(let Oe=0;Oe<Pe;Oe++)le[Oe].next(G)}}error(G){if(this.closed)throw new Q.N;this.hasError=!0,this.thrownError=G,this.isStopped=!0;const{observers:oe}=this,Pe=oe.length,le=oe.slice();for(let Oe=0;Oe<Pe;Oe++)le[Oe].error(G);this.observers.length=0}complete(){if(this.closed)throw new Q.N;this.isStopped=!0;const{observers:G}=this,oe=G.length,Pe=G.slice();for(let le=0;le<oe;le++)Pe[le].complete();this.observers.length=0}unsubscribe(){this.isStopped=!0,this.closed=!0,this.observers=null}_trySubscribe(G){if(this.closed)throw new Q.N;return super._trySubscribe(G)}_subscribe(G){if(this.closed)throw new Q.N;return this.hasError?(G.error(this.thrownError),te.w.EMPTY):this.isStopped?(G.complete(),te.w.EMPTY):(this.observers.push(G),new re(this,G))}asObservable(){const G=new s.y;return G.source=this,G}}return L.create=(N,G)=>new he(N,G),L})();class he extends ee{constructor(N,G){super(),this.destination=N,this.source=G}next(N){const{destination:G}=this;G&&G.next&&G.next(N)}error(N){const{destination:G}=this;G&&G.error&&this.destination.error(N)}complete(){const{destination:N}=this;N&&N.complete&&this.destination.complete()}_subscribe(N){const{source:G}=this;return G?this.source.subscribe(N):te.w.EMPTY}}},3489:(Ne,se,M)=>{"use strict";M.d(se,{L:()=>ie});var s=M(7043),f=M(3292),te=M(2654),Q=M(7668),re=M(2830),X=M(2782);class ie extends te.w{constructor(L,N,G){switch(super(),this.syncErrorValue=null,this.syncErrorThrown=!1,this.syncErrorThrowable=!1,this.isStopped=!1,arguments.length){case 0:this.destination=f.c;break;case 1:if(!L){this.destination=f.c;break}if("object"==typeof L){L instanceof ie?(this.syncErrorThrowable=L.syncErrorThrowable,this.destination=L,L.add(this)):(this.syncErrorThrowable=!0,this.destination=new ee(this,L));break}default:this.syncErrorThrowable=!0,this.destination=new ee(this,L,N,G)}}[Q.b](){return this}static create(L,N,G){const oe=new ie(L,N,G);return oe.syncErrorThrowable=!1,oe}next(L){this.isStopped||this._next(L)}error(L){this.isStopped||(this.isStopped=!0,this._error(L))}complete(){this.isStopped||(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe())}_next(L){this.destination.next(L)}_error(L){this.destination.error(L),this.unsubscribe()}_complete(){this.destination.complete(),this.unsubscribe()}_unsubscribeAndRecycle(){const{_parentOrParents:L}=this;return this._parentOrParents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parentOrParents=L,this}}class ee extends ie{constructor(L,N,G,oe){super(),this._parentSubscriber=L;let Pe,le=this;(0,s.m)(N)?Pe=N:N&&(Pe=N.next,G=N.error,oe=N.complete,N!==f.c&&(le=Object.create(N),(0,s.m)(le.unsubscribe)&&this.add(le.unsubscribe.bind(le)),le.unsubscribe=this.unsubscribe.bind(this))),this._context=le,this._next=Pe,this._error=G,this._complete=oe}next(L){if(!this.isStopped&&this._next){const{_parentSubscriber:N}=this;re.v.useDeprecatedSynchronousErrorHandling&&N.syncErrorThrowable?this.__tryOrSetError(N,this._next,L)&&this.unsubscribe():this.__tryOrUnsub(this._next,L)}}error(L){if(!this.isStopped){const{_parentSubscriber:N}=this,{useDeprecatedSynchronousErrorHandling:G}=re.v;if(this._error)G&&N.syncErrorThrowable?(this.__tryOrSetError(N,this._error,L),this.unsubscribe()):(this.__tryOrUnsub(this._error,L),this.unsubscribe());else if(N.syncErrorThrowable)G?(N.syncErrorValue=L,N.syncErrorThrown=!0):(0,X.z)(L),this.unsubscribe();else{if(this.unsubscribe(),G)throw L;(0,X.z)(L)}}}complete(){if(!this.isStopped){const{_parentSubscriber:L}=this;if(this._complete){const N=()=>this._complete.call(this._context);re.v.useDeprecatedSynchronousErrorHandling&&L.syncErrorThrowable?(this.__tryOrSetError(L,N),this.unsubscribe()):(this.__tryOrUnsub(N),this.unsubscribe())}else this.unsubscribe()}}__tryOrUnsub(L,N){try{L.call(this._context,N)}catch(G){if(this.unsubscribe(),re.v.useDeprecatedSynchronousErrorHandling)throw G;(0,X.z)(G)}}__tryOrSetError(L,N,G){if(!re.v.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{N.call(this._context,G)}catch(oe){return re.v.useDeprecatedSynchronousErrorHandling?(L.syncErrorValue=oe,L.syncErrorThrown=!0,!0):((0,X.z)(oe),!0)}return!1}_unsubscribe(){const{_parentSubscriber:L}=this;this._context=null,this._parentSubscriber=null,L.unsubscribe()}}},2654:(Ne,se,M)=>{"use strict";M.d(se,{w:()=>X});var s=M(6688),f=M(7830),te=M(7043);const re=(()=>{function ee(he){return Error.call(this),this.message=he?`${he.length} errors occurred during unsubscription:\n${he.map((L,N)=>`${N+1}) ${L.toString()}`).join("\n  ")}`:"",this.name="UnsubscriptionError",this.errors=he,this}return ee.prototype=Object.create(Error.prototype),ee})();class X{constructor(he){this.closed=!1,this._parentOrParents=null,this._subscriptions=null,he&&(this._unsubscribe=he)}unsubscribe(){let he;if(this.closed)return;let{_parentOrParents:L,_unsubscribe:N,_subscriptions:G}=this;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,L instanceof X)L.remove(this);else if(null!==L)for(let oe=0;oe<L.length;++oe)L[oe].remove(this);if((0,te.m)(N))try{N.call(this)}catch(oe){he=oe instanceof re?ie(oe.errors):[oe]}if((0,s.k)(G)){let oe=-1,Pe=G.length;for(;++oe<Pe;){const le=G[oe];if((0,f.K)(le))try{le.unsubscribe()}catch(Oe){he=he||[],Oe instanceof re?he=he.concat(ie(Oe.errors)):he.push(Oe)}}}if(he)throw new re(he)}add(he){let L=he;if(!he)return X.EMPTY;switch(typeof he){case"function":L=new X(he);case"object":if(L===this||L.closed||"function"!=typeof L.unsubscribe)return L;if(this.closed)return L.unsubscribe(),L;if(!(L instanceof X)){const oe=L;L=new X,L._subscriptions=[oe]}break;default:throw new Error("unrecognized teardown "+he+" added to Subscription.")}let{_parentOrParents:N}=L;if(null===N)L._parentOrParents=this;else if(N instanceof X){if(N===this)return L;L._parentOrParents=[N,this]}else{if(-1!==N.indexOf(this))return L;N.push(this)}const G=this._subscriptions;return null===G?this._subscriptions=[L]:G.push(L),L}remove(he){const L=this._subscriptions;if(L){const N=L.indexOf(he);-1!==N&&L.splice(N,1)}}}var ee;function ie(ee){return ee.reduce((he,L)=>he.concat(L instanceof re?L.errors:L),[])}X.EMPTY=((ee=new X).closed=!0,ee)},2830:(Ne,se,M)=>{"use strict";M.d(se,{v:()=>f});let s=!1;const f={Promise:void 0,set useDeprecatedSynchronousErrorHandling(te){if(te){const Q=new Error;console.warn("DEPRECATED! RxJS was set to use deprecated synchronous error handling behavior by code at: \n"+Q.stack)}else s&&console.log("RxJS: Back to a better error behavior. Thank you. <3");s=te},get useDeprecatedSynchronousErrorHandling(){return s}}},1762:(Ne,se,M)=>{"use strict";M.d(se,{N:()=>X,c:()=>re});var s=M(5529),f=M(2916),te=M(2654),Q=M(4327);class re extends f.y{constructor(N,G){super(),this.source=N,this.subjectFactory=G,this._refCount=0,this._isComplete=!1}_subscribe(N){return this.getSubject().subscribe(N)}getSubject(){const N=this._subject;return(!N||N.isStopped)&&(this._subject=this.subjectFactory()),this._subject}connect(){let N=this._connection;return N||(this._isComplete=!1,N=this._connection=new te.w,N.add(this.source.subscribe(new ie(this.getSubject(),this))),N.closed&&(this._connection=null,N=te.w.EMPTY)),N}refCount(){return(0,Q.x)()(this)}}const X=(()=>{const L=re.prototype;return{operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:L._subscribe},_isComplete:{value:L._isComplete,writable:!0},getSubject:{value:L.getSubject},connect:{value:L.connect},refCount:{value:L.refCount}}})();class ie extends s.Yc{constructor(N,G){super(N),this.connectable=G}_error(N){this._unsubscribe(),super._error(N)}_complete(){this.connectable._isComplete=!0,this._unsubscribe(),super._complete()}_unsubscribe(){const N=this.connectable;if(N){this.connectable=null;const G=N._connection;N._refCount=0,N._subject=null,N._connection=null,G&&G.unsubscribe()}}}},6053:(Ne,se,M)=>{"use strict";M.d(se,{aj:()=>ie});var s=M(2866),f=M(6688),te=M(826),Q=M(9054),re=M(3009);const X={};function ie(...L){let N=null,G=null;return(0,s.K)(L[L.length-1])&&(G=L.pop()),"function"==typeof L[L.length-1]&&(N=L.pop()),1===L.length&&(0,f.k)(L[0])&&(L=L[0]),(0,re.n)(L,G).lift(new ee(N))}class ee{constructor(N){this.resultSelector=N}call(N,G){return G.subscribe(new he(N,this.resultSelector))}}class he extends te.L{constructor(N,G){super(N),this.resultSelector=G,this.active=0,this.values=[],this.observables=[]}_next(N){this.values.push(X),this.observables.push(N)}_complete(){const N=this.observables,G=N.length;if(0===G)this.destination.complete();else{this.active=G,this.toRespond=G;for(let oe=0;oe<G;oe++){const Pe=N[oe];this.add((0,Q.D)(this,Pe,Pe,oe))}}}notifyComplete(N){0==(this.active-=1)&&this.destination.complete()}notifyNext(N,G,oe,Pe,le){const Oe=this.values,yt=this.toRespond?Oe[oe]===X?--this.toRespond:this.toRespond:0;Oe[oe]=G,0===yt&&(this.resultSelector?this._tryResultSelector(Oe):this.destination.next(Oe.slice()))}_tryResultSelector(N){let G;try{G=this.resultSelector.apply(this,N)}catch(oe){return void this.destination.error(oe)}this.destination.next(G)}}},1221:(Ne,se,M)=>{"use strict";M.d(se,{z:()=>Q});var s=M(1086),f=M(9146);function Q(...re){return function te(){return(0,f.J)(1)}()((0,s.of)(...re))}},8896:(Ne,se,M)=>{"use strict";M.d(se,{E:()=>f,c:()=>te});var s=M(2916);const f=new s.y(re=>re.complete());function te(re){return re?function Q(re){return new s.y(X=>re.schedule(()=>X.complete()))}(re):f}},5254:(Ne,se,M)=>{"use strict";M.d(se,{D:()=>le});var s=M(2916),f=M(9249),te=M(2654),Q=M(3821),ie=M(6454),ee=M(5430),N=M(8955),G=M(8515);function le(Oe,ke){return ke?function Pe(Oe,ke){if(null!=Oe){if(function L(Oe){return Oe&&"function"==typeof Oe[Q.L]}(Oe))return function re(Oe,ke){return new s.y(yt=>{const it=new te.w;return it.add(ke.schedule(()=>{const ut=Oe[Q.L]();it.add(ut.subscribe({next(pt){it.add(ke.schedule(()=>yt.next(pt)))},error(pt){it.add(ke.schedule(()=>yt.error(pt)))},complete(){it.add(ke.schedule(()=>yt.complete()))}}))})),it})}(Oe,ke);if((0,N.t)(Oe))return function X(Oe,ke){return new s.y(yt=>{const it=new te.w;return it.add(ke.schedule(()=>Oe.then(ut=>{it.add(ke.schedule(()=>{yt.next(ut),it.add(ke.schedule(()=>yt.complete()))}))},ut=>{it.add(ke.schedule(()=>yt.error(ut)))}))),it})}(Oe,ke);if((0,G.z)(Oe))return(0,ie.r)(Oe,ke);if(function oe(Oe){return Oe&&"function"==typeof Oe[ee.hZ]}(Oe)||"string"==typeof Oe)return function he(Oe,ke){if(!Oe)throw new Error("Iterable cannot be null");return new s.y(yt=>{const it=new te.w;let ut;return it.add(()=>{ut&&"function"==typeof ut.return&&ut.return()}),it.add(ke.schedule(()=>{ut=Oe[ee.hZ](),it.add(ke.schedule(function(){if(yt.closed)return;let pt,ze;try{const xt=ut.next();pt=xt.value,ze=xt.done}catch(xt){return void yt.error(xt)}ze?yt.complete():(yt.next(pt),this.schedule())}))})),it})}(Oe,ke)}throw new TypeError((null!==Oe&&typeof Oe||Oe)+" is not observable")}(Oe,ke):Oe instanceof s.y?Oe:new s.y((0,f.s)(Oe))}},3009:(Ne,se,M)=>{"use strict";M.d(se,{n:()=>Q});var s=M(2916),f=M(3650),te=M(6454);function Q(re,X){return X?(0,te.r)(re,X):new s.y((0,f.V)(re))}},3753:(Ne,se,M)=>{"use strict";M.d(se,{R:()=>X});var s=M(2916),f=M(6688),te=M(7043),Q=M(4850);function X(N,G,oe,Pe){return(0,te.m)(oe)&&(Pe=oe,oe=void 0),Pe?X(N,G,oe).pipe((0,Q.U)(le=>(0,f.k)(le)?Pe(...le):Pe(le))):new s.y(le=>{ie(N,G,function Oe(ke){le.next(arguments.length>1?Array.prototype.slice.call(arguments):ke)},le,oe)})}function ie(N,G,oe,Pe,le){let Oe;if(function L(N){return N&&"function"==typeof N.addEventListener&&"function"==typeof N.removeEventListener}(N)){const ke=N;N.addEventListener(G,oe,le),Oe=()=>ke.removeEventListener(G,oe,le)}else if(function he(N){return N&&"function"==typeof N.on&&"function"==typeof N.off}(N)){const ke=N;N.on(G,oe),Oe=()=>ke.off(G,oe)}else if(function ee(N){return N&&"function"==typeof N.addListener&&"function"==typeof N.removeListener}(N)){const ke=N;N.addListener(G,oe),Oe=()=>ke.removeListener(G,oe)}else{if(!N||!N.length)throw new TypeError("Invalid event target");for(let ke=0,yt=N.length;ke<yt;ke++)ie(N[ke],G,oe,Pe,le)}Pe.add(Oe)}},1715:(Ne,se,M)=>{"use strict";M.d(se,{F:()=>Q});var s=M(2916),f=M(353),te=M(4241);function Q(X=0,ie=f.P){return(!(0,te.k)(X)||X<0)&&(X=0),(!ie||"function"!=typeof ie.schedule)&&(ie=f.P),new s.y(ee=>(ee.add(ie.schedule(re,X,{subscriber:ee,counter:0,period:X})),ee))}function re(X){const{subscriber:ie,counter:ee,period:he}=X;ie.next(ee),this.schedule({subscriber:ie,counter:ee+1,period:he},he)}},6787:(Ne,se,M)=>{"use strict";M.d(se,{T:()=>re});var s=M(2916),f=M(2866),te=M(9146),Q=M(3009);function re(...X){let ie=Number.POSITIVE_INFINITY,ee=null,he=X[X.length-1];return(0,f.K)(he)?(ee=X.pop(),X.length>1&&"number"==typeof X[X.length-1]&&(ie=X.pop())):"number"==typeof he&&(ie=X.pop()),null===ee&&1===X.length&&X[0]instanceof s.y?X[0]:(0,te.J)(ie)((0,Q.n)(X,ee))}},1086:(Ne,se,M)=>{"use strict";M.d(se,{of:()=>Q});var s=M(2866),f=M(3009),te=M(6454);function Q(...re){let X=re[re.length-1];return(0,s.K)(X)?(re.pop(),(0,te.r)(re,X)):(0,f.n)(re)}},1406:(Ne,se,M)=>{"use strict";M.d(se,{b:()=>f});var s=M(1709);function f(te,Q){return(0,s.zg)(te,Q,1)}},13:(Ne,se,M)=>{"use strict";M.d(se,{b:()=>te});var s=M(3489),f=M(353);function te(ie,ee=f.P){return he=>he.lift(new Q(ie,ee))}class Q{constructor(ee,he){this.dueTime=ee,this.scheduler=he}call(ee,he){return he.subscribe(new re(ee,this.dueTime,this.scheduler))}}class re extends s.L{constructor(ee,he,L){super(ee),this.dueTime=he,this.scheduler=L,this.debouncedSubscription=null,this.lastValue=null,this.hasValue=!1}_next(ee){this.clearDebounce(),this.lastValue=ee,this.hasValue=!0,this.add(this.debouncedSubscription=this.scheduler.schedule(X,this.dueTime,this))}_complete(){this.debouncedNext(),this.destination.complete()}debouncedNext(){if(this.clearDebounce(),this.hasValue){const{lastValue:ee}=this;this.lastValue=null,this.hasValue=!1,this.destination.next(ee)}}clearDebounce(){const ee=this.debouncedSubscription;null!==ee&&(this.remove(ee),ee.unsubscribe(),this.debouncedSubscription=null)}}function X(ie){ie.debouncedNext()}},2198:(Ne,se,M)=>{"use strict";M.d(se,{h:()=>f});var s=M(3489);function f(re,X){return function(ee){return ee.lift(new te(re,X))}}class te{constructor(X,ie){this.predicate=X,this.thisArg=ie}call(X,ie){return ie.subscribe(new Q(X,this.predicate,this.thisArg))}}class Q extends s.L{constructor(X,ie,ee){super(X),this.predicate=ie,this.thisArg=ee,this.count=0}_next(X){let ie;try{ie=this.predicate.call(this.thisArg,X,this.count++)}catch(ee){return void this.destination.error(ee)}ie&&this.destination.next(X)}}},537:(Ne,se,M)=>{"use strict";M.d(se,{x:()=>te});var s=M(3489),f=M(2654);function te(X){return ie=>ie.lift(new Q(X))}class Q{constructor(ie){this.callback=ie}call(ie,ee){return ee.subscribe(new re(ie,this.callback))}}class re extends s.L{constructor(ie,ee){super(ie),this.add(new f.w(ee))}}},4850:(Ne,se,M)=>{"use strict";M.d(se,{U:()=>f});var s=M(3489);function f(re,X){return function(ee){if("function"!=typeof re)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return ee.lift(new te(re,X))}}class te{constructor(X,ie){this.project=X,this.thisArg=ie}call(X,ie){return ie.subscribe(new Q(X,this.project,this.thisArg))}}class Q extends s.L{constructor(X,ie,ee){super(X),this.project=ie,this.count=0,this.thisArg=ee||this}_next(X){let ie;try{ie=this.project.call(this.thisArg,X,this.count++)}catch(ee){return void this.destination.error(ee)}this.destination.next(ie)}}},9146:(Ne,se,M)=>{"use strict";M.d(se,{J:()=>te});var s=M(1709),f=M(5379);function te(Q=Number.POSITIVE_INFINITY){return(0,s.zg)(f.y,Q)}},1709:(Ne,se,M)=>{"use strict";M.d(se,{zg:()=>X});var s=M(9054),f=M(826),te=M(1869),Q=M(4850),re=M(5254);function X(he,L,N=Number.POSITIVE_INFINITY){return"function"==typeof L?G=>G.pipe(X((oe,Pe)=>(0,re.D)(he(oe,Pe)).pipe((0,Q.U)((le,Oe)=>L(oe,le,Pe,Oe))),N)):("number"==typeof L&&(N=L),G=>G.lift(new ie(he,N)))}class ie{constructor(L,N=Number.POSITIVE_INFINITY){this.project=L,this.concurrent=N}call(L,N){return N.subscribe(new ee(L,this.project,this.concurrent))}}class ee extends f.L{constructor(L,N,G=Number.POSITIVE_INFINITY){super(L),this.project=N,this.concurrent=G,this.hasCompleted=!1,this.buffer=[],this.active=0,this.index=0}_next(L){this.active<this.concurrent?this._tryNext(L):this.buffer.push(L)}_tryNext(L){let N;const G=this.index++;try{N=this.project(L,G)}catch(oe){return void this.destination.error(oe)}this.active++,this._innerSub(N,L,G)}_innerSub(L,N,G){const oe=new te.d(this,N,G),Pe=this.destination;Pe.add(oe);const le=(0,s.D)(this,L,void 0,void 0,oe);le!==oe&&Pe.add(le)}_complete(){this.hasCompleted=!0,0===this.active&&0===this.buffer.length&&this.destination.complete(),this.unsubscribe()}notifyNext(L,N,G,oe,Pe){this.destination.next(N)}notifyComplete(L){const N=this.buffer;this.remove(L),this.active--,N.length>0?this._next(N.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()}}},4327:(Ne,se,M)=>{"use strict";M.d(se,{x:()=>f});var s=M(3489);function f(){return function(X){return X.lift(new te(X))}}class te{constructor(X){this.connectable=X}call(X,ie){const{connectable:ee}=this;ee._refCount++;const he=new Q(X,ee),L=ie.subscribe(he);return he.closed||(he.connection=ee.connect()),L}}class Q extends s.L{constructor(X,ie){super(X),this.connectable=ie}_unsubscribe(){const{connectable:X}=this;if(!X)return void(this.connection=null);this.connectable=null;const ie=X._refCount;if(ie<=0)return void(this.connection=null);if(X._refCount=ie-1,ie>1)return void(this.connection=null);const{connection:ee}=this,he=X._connection;this.connection=null,he&&(!ee||he===ee)&&he.unsubscribe()}}},1059:(Ne,se,M)=>{"use strict";M.d(se,{O:()=>te});var s=M(1221),f=M(2866);function te(...Q){const re=Q[Q.length-1];return(0,f.K)(re)?(Q.pop(),X=>(0,s.z)(Q,X,re)):X=>(0,s.z)(Q,X)}},2986:(Ne,se,M)=>{"use strict";M.d(se,{q:()=>Q});var s=M(3489),f=M(4231),te=M(8896);function Q(ie){return ee=>0===ie?(0,te.c)():ee.lift(new re(ie))}class re{constructor(ee){if(this.total=ee,this.total<0)throw new f.W}call(ee,he){return he.subscribe(new X(ee,this.total))}}class X extends s.L{constructor(ee,he){super(ee),this.total=he,this.count=0}_next(ee){const he=this.total,L=++this.count;L<=he&&(this.destination.next(ee),L===he&&(this.destination.complete(),this.unsubscribe()))}}},7625:(Ne,se,M)=>{"use strict";M.d(se,{R:()=>te});var s=M(826),f=M(9054);function te(X){return ie=>ie.lift(new Q(X))}class Q{constructor(ie){this.notifier=ie}call(ie,ee){const he=new re(ie),L=(0,f.D)(he,this.notifier);return L&&!he.seenValue?(he.add(L),ee.subscribe(he)):he}}class re extends s.L{constructor(ie){super(ie),this.seenValue=!1}notifyNext(ie,ee,he,L,N){this.seenValue=!0,this.complete()}notifyComplete(){}}},2868:(Ne,se,M)=>{"use strict";M.d(se,{b:()=>Q});var s=M(3489);function f(){}var te=M(7043);function Q(ie,ee,he){return function(N){return N.lift(new re(ie,ee,he))}}class re{constructor(ee,he,L){this.nextOrObserver=ee,this.error=he,this.complete=L}call(ee,he){return he.subscribe(new X(ee,this.nextOrObserver,this.error,this.complete))}}class X extends s.L{constructor(ee,he,L,N){super(ee),this._tapNext=f,this._tapError=f,this._tapComplete=f,this._tapError=L||f,this._tapComplete=N||f,(0,te.m)(he)?(this._context=this,this._tapNext=he):he&&(this._context=he,this._tapNext=he.next||f,this._tapError=he.error||f,this._tapComplete=he.complete||f)}_next(ee){try{this._tapNext.call(this._context,ee)}catch(he){return void this.destination.error(he)}this.destination.next(ee)}_error(ee){try{this._tapError.call(this._context,ee)}catch(he){return void this.destination.error(he)}this.destination.error(ee)}_complete(){try{this._tapComplete.call(this._context)}catch(ee){return void this.destination.error(ee)}return this.destination.complete()}}},6454:(Ne,se,M)=>{"use strict";M.d(se,{r:()=>te});var s=M(2916),f=M(2654);function te(Q,re){return new s.y(X=>{const ie=new f.w;let ee=0;return ie.add(re.schedule(function(){ee!==Q.length?(X.next(Q[ee++]),X.closed||ie.add(this.schedule())):X.complete()})),ie})}},6686:(Ne,se,M)=>{"use strict";M.d(se,{o:()=>te});var s=M(2654);class f extends s.w{constructor(re,X){super()}schedule(re,X=0){return this}}class te extends f{constructor(re,X){super(re,X),this.scheduler=re,this.work=X,this.pending=!1}schedule(re,X=0){if(this.closed)return this;this.state=re;const ie=this.id,ee=this.scheduler;return null!=ie&&(this.id=this.recycleAsyncId(ee,ie,X)),this.pending=!0,this.delay=X,this.id=this.id||this.requestAsyncId(ee,this.id,X),this}requestAsyncId(re,X,ie=0){return setInterval(re.flush.bind(re,this),ie)}recycleAsyncId(re,X,ie=0){if(null!==ie&&this.delay===ie&&!1===this.pending)return X;clearInterval(X)}execute(re,X){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const ie=this._execute(re,X);if(ie)return ie;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(re,X){let ee,ie=!1;try{this.work(re)}catch(he){ie=!0,ee=!!he&&he||new Error(he)}if(ie)return this.unsubscribe(),ee}_unsubscribe(){const re=this.id,X=this.scheduler,ie=X.actions,ee=ie.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==ee&&ie.splice(ee,1),null!=re&&(this.id=this.recycleAsyncId(X,re,null)),this.delay=null}}},2268:(Ne,se,M)=>{"use strict";M.d(se,{v:()=>f});let s=(()=>{class te{constructor(re,X=te.now){this.SchedulerAction=re,this.now=X}schedule(re,X=0,ie){return new this.SchedulerAction(this,re).schedule(ie,X)}}return te.now=()=>Date.now(),te})();class f extends s{constructor(Q,re=s.now){super(Q,()=>f.delegate&&f.delegate!==this?f.delegate.now():re()),this.actions=[],this.active=!1,this.scheduled=void 0}schedule(Q,re=0,X){return f.delegate&&f.delegate!==this?f.delegate.schedule(Q,re,X):super.schedule(Q,re,X)}flush(Q){const{actions:re}=this;if(this.active)return void re.push(Q);let X;this.active=!0;do{if(X=Q.execute(Q.state,Q.delay))break}while(Q=re.shift());if(this.active=!1,X){for(;Q=re.shift();)Q.unsubscribe();throw X}}}},5146:(Ne,se,M)=>{"use strict";M.d(se,{r:()=>re});var s=M(6686),te=M(2268);const re=new class Q extends te.v{flush(ie){this.active=!0,this.scheduled=void 0;const{actions:ee}=this;let he,L=-1,N=ee.length;ie=ie||ee.shift();do{if(he=ie.execute(ie.state,ie.delay))break}while(++L<N&&(ie=ee.shift()));if(this.active=!1,he){for(;++L<N&&(ie=ee.shift());)ie.unsubscribe();throw he}}}(class f extends s.o{constructor(ie,ee){super(ie,ee),this.scheduler=ie,this.work=ee}requestAsyncId(ie,ee,he=0){return null!==he&&he>0?super.requestAsyncId(ie,ee,he):(ie.actions.push(this),ie.scheduled||(ie.scheduled=requestAnimationFrame(()=>ie.flush(null))))}recycleAsyncId(ie,ee,he=0){if(null!==he&&he>0||null===he&&this.delay>0)return super.recycleAsyncId(ie,ee,he);0===ie.actions.length&&(cancelAnimationFrame(ee),ie.scheduled=void 0)}})},353:(Ne,se,M)=>{"use strict";M.d(se,{P:()=>te});var s=M(6686);const te=new(M(2268).v)(s.o)},5430:(Ne,se,M)=>{"use strict";M.d(se,{hZ:()=>f});const f=function s(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}()},3821:(Ne,se,M)=>{"use strict";M.d(se,{L:()=>s});const s="function"==typeof Symbol&&Symbol.observable||"@@observable"},7668:(Ne,se,M)=>{"use strict";M.d(se,{b:()=>s});const s="function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random()},4231:(Ne,se,M)=>{"use strict";M.d(se,{W:()=>f});const f=(()=>{function te(){return Error.call(this),this.message="argument out of range",this.name="ArgumentOutOfRangeError",this}return te.prototype=Object.create(Error.prototype),te})()},5279:(Ne,se,M)=>{"use strict";M.d(se,{N:()=>f});const f=(()=>{function te(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}return te.prototype=Object.create(Error.prototype),te})()},2782:(Ne,se,M)=>{"use strict";function s(f){setTimeout(()=>{throw f},0)}M.d(se,{z:()=>s})},5379:(Ne,se,M)=>{"use strict";function s(f){return f}M.d(se,{y:()=>s})},6688:(Ne,se,M)=>{"use strict";M.d(se,{k:()=>s});const s=Array.isArray||(f=>f&&"number"==typeof f.length)},8515:(Ne,se,M)=>{"use strict";M.d(se,{z:()=>s});const s=f=>f&&"number"==typeof f.length&&"function"!=typeof f},7043:(Ne,se,M)=>{"use strict";function s(f){return"function"==typeof f}M.d(se,{m:()=>s})},4241:(Ne,se,M)=>{"use strict";M.d(se,{k:()=>f});var s=M(6688);function f(te){return!(0,s.k)(te)&&te-parseFloat(te)+1>=0}},7830:(Ne,se,M)=>{"use strict";function s(f){return null!==f&&"object"==typeof f}M.d(se,{K:()=>s})},8955:(Ne,se,M)=>{"use strict";function s(f){return!!f&&"function"!=typeof f.subscribe&&"function"==typeof f.then}M.d(se,{t:()=>s})},2866:(Ne,se,M)=>{"use strict";function s(f){return f&&"function"==typeof f.schedule}M.d(se,{K:()=>s})},9249:(Ne,se,M)=>{"use strict";M.d(se,{s:()=>N});var s=M(3650),f=M(2782),Q=M(5430),X=M(3821),ee=M(8515),he=M(8955),L=M(7830);const N=G=>{if(G&&"function"==typeof G[X.L])return(G=>oe=>{const Pe=G[X.L]();if("function"!=typeof Pe.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return Pe.subscribe(oe)})(G);if((0,ee.z)(G))return(0,s.V)(G);if((0,he.t)(G))return(G=>oe=>(G.then(Pe=>{oe.closed||(oe.next(Pe),oe.complete())},Pe=>oe.error(Pe)).then(null,f.z),oe))(G);if(G&&"function"==typeof G[Q.hZ])return(G=>oe=>{const Pe=G[Q.hZ]();for(;;){const le=Pe.next();if(le.done){oe.complete();break}if(oe.next(le.value),oe.closed)break}return"function"==typeof Pe.return&&oe.add(()=>{Pe.return&&Pe.return()}),oe})(G);{const Pe=`You provided ${(0,L.K)(G)?"an invalid object":`'${G}'`} where a stream was expected. You can provide an Observable, Promise, Array, or Iterable.`;throw new TypeError(Pe)}}},3650:(Ne,se,M)=>{"use strict";M.d(se,{V:()=>s});const s=f=>te=>{for(let Q=0,re=f.length;Q<re&&!te.closed;Q++)te.next(f[Q]);te.complete()}},9054:(Ne,se,M)=>{"use strict";M.d(se,{D:()=>Q});var s=M(1869),f=M(9249),te=M(2916);function Q(re,X,ie,ee,he=new s.d(re,ie,ee)){if(!he.closed)return X instanceof te.y?X.subscribe(he):(0,f.s)(X)(he)}},8583:()=>{"use strict";!function(Ce){const Me=Ce.performance;function me(Ut){Me&&Me.mark&&Me.mark(Ut)}function J(Ut,At){Me&&Me.measure&&Me.measure(Ut,At)}me("Zone");const ne=Ce.__Zone_symbol_prefix||"__zone_symbol__";function Fe(Ut){return ne+Ut}const He=!0===Ce[Fe("forceDuplicateZoneCheck")];if(Ce.Zone){if(He||"function"!=typeof Ce.Zone.__symbol__)throw new Error("Zone already loaded.");return Ce.Zone}let Ge=(()=>{class Ut{constructor(ge,Ue){this._parent=ge,this._name=Ue?Ue.name||"unnamed":"<root>",this._properties=Ue&&Ue.properties||{},this._zoneDelegate=new It(this,this._parent&&this._parent._zoneDelegate,Ue)}static assertZonePatched(){if(Ce.Promise!==$e.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 ge=Ut.current;for(;ge.parent;)ge=ge.parent;return ge}static get current(){return ce.zone}static get currentTask(){return Be}static __load_patch(ge,Ue,_t=!1){if($e.hasOwnProperty(ge)){if(!_t&&He)throw Error("Already loaded patch: "+ge)}else if(!Ce["__Zone_disable_"+ge]){const Nt="Zone:"+ge;me(Nt),$e[ge]=Ue(Ce,Ut,we),J(Nt,Nt)}}get parent(){return this._parent}get name(){return this._name}get(ge){const Ue=this.getZoneWith(ge);if(Ue)return Ue._properties[ge]}getZoneWith(ge){let Ue=this;for(;Ue;){if(Ue._properties.hasOwnProperty(ge))return Ue;Ue=Ue._parent}return null}fork(ge){if(!ge)throw new Error("ZoneSpec required!");return this._zoneDelegate.fork(this,ge)}wrap(ge,Ue){if("function"!=typeof ge)throw new Error("Expecting function got: "+ge);const _t=this._zoneDelegate.intercept(this,ge,Ue),Nt=this;return function(){return Nt.runGuarded(_t,this,arguments,Ue)}}run(ge,Ue,_t,Nt){ce={parent:ce,zone:this};try{return this._zoneDelegate.invoke(this,ge,Ue,_t,Nt)}finally{ce=ce.parent}}runGuarded(ge,Ue=null,_t,Nt){ce={parent:ce,zone:this};try{try{return this._zoneDelegate.invoke(this,ge,Ue,_t,Nt)}catch(Tn){if(this._zoneDelegate.handleError(this,Tn))throw Tn}}finally{ce=ce.parent}}runTask(ge,Ue,_t){if(ge.zone!=this)throw new Error("A task can only be run in the zone of creation! (Creation: "+(ge.zone||an).name+"; Execution: "+this.name+")");if(ge.state===Xt&&(ge.type===ur||ge.type===Wt))return;const Nt=ge.state!=Bt;Nt&&ge._transitionTo(Bt,xn),ge.runCount++;const Tn=Be;Be=ge,ce={parent:ce,zone:this};try{ge.type==Wt&&ge.data&&!ge.data.isPeriodic&&(ge.cancelFn=void 0);try{return this._zoneDelegate.invokeTask(this,ge,Ue,_t)}catch(je){if(this._zoneDelegate.handleError(this,je))throw je}}finally{ge.state!==Xt&&ge.state!==Vt&&(ge.type==ur||ge.data&&ge.data.isPeriodic?Nt&&ge._transitionTo(xn,Bt):(ge.runCount=0,this._updateTaskCount(ge,-1),Nt&&ge._transitionTo(Xt,Bt,Xt))),ce=ce.parent,Be=Tn}}scheduleTask(ge){if(ge.zone&&ge.zone!==this){let _t=this;for(;_t;){if(_t===ge.zone)throw Error(`can not reschedule task to ${this.name} which is descendants of the original zone ${ge.zone.name}`);_t=_t.parent}}ge._transitionTo(_n,Xt);const Ue=[];ge._zoneDelegates=Ue,ge._zone=this;try{ge=this._zoneDelegate.scheduleTask(this,ge)}catch(_t){throw ge._transitionTo(Vt,_n,Xt),this._zoneDelegate.handleError(this,_t),_t}return ge._zoneDelegates===Ue&&this._updateTaskCount(ge,1),ge.state==_n&&ge._transitionTo(xn,_n),ge}scheduleMicroTask(ge,Ue,_t,Nt){return this.scheduleTask(new dt(qt,ge,Ue,_t,Nt,void 0))}scheduleMacroTask(ge,Ue,_t,Nt,Tn){return this.scheduleTask(new dt(Wt,ge,Ue,_t,Nt,Tn))}scheduleEventTask(ge,Ue,_t,Nt,Tn){return this.scheduleTask(new dt(ur,ge,Ue,_t,Nt,Tn))}cancelTask(ge){if(ge.zone!=this)throw new Error("A task can only be cancelled in the zone of creation! (Creation: "+(ge.zone||an).name+"; Execution: "+this.name+")");ge._transitionTo(En,xn,Bt);try{this._zoneDelegate.cancelTask(this,ge)}catch(Ue){throw ge._transitionTo(Vt,En),this._zoneDelegate.handleError(this,Ue),Ue}return this._updateTaskCount(ge,-1),ge._transitionTo(Xt,En),ge.runCount=0,ge}_updateTaskCount(ge,Ue){const _t=ge._zoneDelegates;-1==Ue&&(ge._zoneDelegates=null);for(let Nt=0;Nt<_t.length;Nt++)_t[Nt]._updateTaskCount(ge.type,Ue)}}return Ut.__symbol__=Fe,Ut})();const st={name:"",onHasTask:(Ut,At,ge,Ue)=>Ut.hasTask(ge,Ue),onScheduleTask:(Ut,At,ge,Ue)=>Ut.scheduleTask(ge,Ue),onInvokeTask:(Ut,At,ge,Ue,_t,Nt)=>Ut.invokeTask(ge,Ue,_t,Nt),onCancelTask:(Ut,At,ge,Ue)=>Ut.cancelTask(ge,Ue)};class It{constructor(At,ge,Ue){this._taskCounts={microTask:0,macroTask:0,eventTask:0},this.zone=At,this._parentDelegate=ge,this._forkZS=Ue&&(Ue&&Ue.onFork?Ue:ge._forkZS),this._forkDlgt=Ue&&(Ue.onFork?ge:ge._forkDlgt),this._forkCurrZone=Ue&&(Ue.onFork?this.zone:ge._forkCurrZone),this._interceptZS=Ue&&(Ue.onIntercept?Ue:ge._interceptZS),this._interceptDlgt=Ue&&(Ue.onIntercept?ge:ge._interceptDlgt),this._interceptCurrZone=Ue&&(Ue.onIntercept?this.zone:ge._interceptCurrZone),this._invokeZS=Ue&&(Ue.onInvoke?Ue:ge._invokeZS),this._invokeDlgt=Ue&&(Ue.onInvoke?ge:ge._invokeDlgt),this._invokeCurrZone=Ue&&(Ue.onInvoke?this.zone:ge._invokeCurrZone),this._handleErrorZS=Ue&&(Ue.onHandleError?Ue:ge._handleErrorZS),this._handleErrorDlgt=Ue&&(Ue.onHandleError?ge:ge._handleErrorDlgt),this._handleErrorCurrZone=Ue&&(Ue.onHandleError?this.zone:ge._handleErrorCurrZone),this._scheduleTaskZS=Ue&&(Ue.onScheduleTask?Ue:ge._scheduleTaskZS),this._scheduleTaskDlgt=Ue&&(Ue.onScheduleTask?ge:ge._scheduleTaskDlgt),this._scheduleTaskCurrZone=Ue&&(Ue.onScheduleTask?this.zone:ge._scheduleTaskCurrZone),this._invokeTaskZS=Ue&&(Ue.onInvokeTask?Ue:ge._invokeTaskZS),this._invokeTaskDlgt=Ue&&(Ue.onInvokeTask?ge:ge._invokeTaskDlgt),this._invokeTaskCurrZone=Ue&&(Ue.onInvokeTask?this.zone:ge._invokeTaskCurrZone),this._cancelTaskZS=Ue&&(Ue.onCancelTask?Ue:ge._cancelTaskZS),this._cancelTaskDlgt=Ue&&(Ue.onCancelTask?ge:ge._cancelTaskDlgt),this._cancelTaskCurrZone=Ue&&(Ue.onCancelTask?this.zone:ge._cancelTaskCurrZone),this._hasTaskZS=null,this._hasTaskDlgt=null,this._hasTaskDlgtOwner=null,this._hasTaskCurrZone=null;const _t=Ue&&Ue.onHasTask;(_t||ge&&ge._hasTaskZS)&&(this._hasTaskZS=_t?Ue:st,this._hasTaskDlgt=ge,this._hasTaskDlgtOwner=this,this._hasTaskCurrZone=At,Ue.onScheduleTask||(this._scheduleTaskZS=st,this._scheduleTaskDlgt=ge,this._scheduleTaskCurrZone=this.zone),Ue.onInvokeTask||(this._invokeTaskZS=st,this._invokeTaskDlgt=ge,this._invokeTaskCurrZone=this.zone),Ue.onCancelTask||(this._cancelTaskZS=st,this._cancelTaskDlgt=ge,this._cancelTaskCurrZone=this.zone))}fork(At,ge){return this._forkZS?this._forkZS.onFork(this._forkDlgt,this.zone,At,ge):new Ge(At,ge)}intercept(At,ge,Ue){return this._interceptZS?this._interceptZS.onIntercept(this._interceptDlgt,this._interceptCurrZone,At,ge,Ue):ge}invoke(At,ge,Ue,_t,Nt){return this._invokeZS?this._invokeZS.onInvoke(this._invokeDlgt,this._invokeCurrZone,At,ge,Ue,_t,Nt):ge.apply(Ue,_t)}handleError(At,ge){return!this._handleErrorZS||this._handleErrorZS.onHandleError(this._handleErrorDlgt,this._handleErrorCurrZone,At,ge)}scheduleTask(At,ge){let Ue=ge;if(this._scheduleTaskZS)this._hasTaskZS&&Ue._zoneDelegates.push(this._hasTaskDlgtOwner),Ue=this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt,this._scheduleTaskCurrZone,At,ge),Ue||(Ue=ge);else if(ge.scheduleFn)ge.scheduleFn(ge);else{if(ge.type!=qt)throw new Error("Task is missing scheduleFn.");sn(ge)}return Ue}invokeTask(At,ge,Ue,_t){return this._invokeTaskZS?this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt,this._invokeTaskCurrZone,At,ge,Ue,_t):ge.callback.apply(Ue,_t)}cancelTask(At,ge){let Ue;if(this._cancelTaskZS)Ue=this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt,this._cancelTaskCurrZone,At,ge);else{if(!ge.cancelFn)throw Error("Task is not cancelable");Ue=ge.cancelFn(ge)}return Ue}hasTask(At,ge){try{this._hasTaskZS&&this._hasTaskZS.onHasTask(this._hasTaskDlgt,this._hasTaskCurrZone,At,ge)}catch(Ue){this.handleError(At,Ue)}}_updateTaskCount(At,ge){const Ue=this._taskCounts,_t=Ue[At],Nt=Ue[At]=_t+ge;if(Nt<0)throw new Error("More tasks executed then were scheduled.");0!=_t&&0!=Nt||this.hasTask(this.zone,{microTask:Ue.microTask>0,macroTask:Ue.macroTask>0,eventTask:Ue.eventTask>0,change:At})}}class dt{constructor(At,ge,Ue,_t,Nt,Tn){if(this._zone=null,this.runCount=0,this._zoneDelegates=null,this._state="notScheduled",this.type=At,this.source=ge,this.data=_t,this.scheduleFn=Nt,this.cancelFn=Tn,!Ue)throw new Error("callback is not defined");this.callback=Ue;const je=this;this.invoke=At===ur&&_t&&_t.useG?dt.invokeTask:function(){return dt.invokeTask.call(Ce,je,this,arguments)}}static invokeTask(At,ge,Ue){At||(At=this),at++;try{return At.runCount++,At.zone.runTask(At,ge,Ue)}finally{1==at&&Mt(),at--}}get zone(){return this._zone}get state(){return this._state}cancelScheduleRequest(){this._transitionTo(Xt,_n)}_transitionTo(At,ge,Ue){if(this._state!==ge&&this._state!==Ue)throw new Error(`${this.type} '${this.source}': can not transition to '${At}', expecting state '${ge}'${Ue?" or '"+Ue+"'":""}, was '${this._state}'.`);this._state=At,At==Xt&&(this._zoneDelegates=null)}toString(){return this.data&&typeof this.data.handleId<"u"?this.data.handleId.toString():Object.prototype.toString.call(this)}toJSON(){return{type:this.type,state:this.state,source:this.source,zone:this.zone.name,runCount:this.runCount}}}const kt=Fe("setTimeout"),un=Fe("Promise"),Yt=Fe("then");let $t,Tt=[],Rt=!1;function nn(Ut){if($t||Ce[un]&&($t=Ce[un].resolve(0)),$t){let At=$t[Yt];At||(At=$t.then),At.call($t,Ut)}else Ce[kt](Ut,0)}function sn(Ut){0===at&&0===Tt.length&&nn(Mt),Ut&&Tt.push(Ut)}function Mt(){if(!Rt){for(Rt=!0;Tt.length;){const Ut=Tt;Tt=[];for(let At=0;At<Ut.length;At++){const ge=Ut[At];try{ge.zone.runTask(ge,null,null)}catch(Ue){we.onUnhandledError(Ue)}}}we.microtaskDrainDone(),Rt=!1}}const an={name:"NO ZONE"},Xt="notScheduled",_n="scheduling",xn="scheduled",Bt="running",En="canceling",Vt="unknown",qt="microTask",Wt="macroTask",ur="eventTask",$e={},we={symbol:Fe,currentZoneFrame:()=>ce,onUnhandledError:Ft,microtaskDrainDone:Ft,scheduleMicroTask:sn,showUncaughtError:()=>!Ge[Fe("ignoreConsoleErrorUncaughtError")],patchEventTarget:()=>[],patchOnProperties:Ft,patchMethod:()=>Ft,bindArguments:()=>[],patchThen:()=>Ft,patchMacroTask:()=>Ft,patchEventPrototype:()=>Ft,isIEOrEdge:()=>!1,getGlobalObjects:()=>{},ObjectDefineProperty:()=>Ft,ObjectGetOwnPropertyDescriptor:()=>{},ObjectCreate:()=>{},ArraySlice:()=>[],patchClass:()=>Ft,wrapWithCurrentZone:()=>Ft,filterProperties:()=>[],attachOriginToPatched:()=>Ft,_redefineProperty:()=>Ft,patchCallbacks:()=>Ft,nativeScheduleMicroTask:nn};let ce={parent:null,zone:new Ge(null,null)},Be=null,at=0;function Ft(){}J("Zone","Zone"),Ce.Zone=Ge}(typeof window<"u"&&window||typeof self<"u"&&self||global);const Ne=Object.getOwnPropertyDescriptor,se=Object.defineProperty,M=Object.getPrototypeOf,s=Object.create,f=Array.prototype.slice,te="addEventListener",Q="removeEventListener",re=Zone.__symbol__(te),X=Zone.__symbol__(Q),ie="true",ee="false",he=Zone.__symbol__("");function L(Ce,Me){return Zone.current.wrap(Ce,Me)}function N(Ce,Me,me,J,ne){return Zone.current.scheduleMacroTask(Ce,Me,me,J,ne)}const G=Zone.__symbol__,oe=typeof window<"u",Pe=oe?window:void 0,le=oe&&Pe||"object"==typeof self&&self||global;function ke(Ce,Me){for(let me=Ce.length-1;me>=0;me--)"function"==typeof Ce[me]&&(Ce[me]=L(Ce[me],Me+"_"+me));return Ce}function it(Ce){return!Ce||!1!==Ce.writable&&!("function"==typeof Ce.get&&typeof Ce.set>"u")}const ut=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope,pt=!("nw"in le)&&typeof le.process<"u"&&"[object process]"==={}.toString.call(le.process),ze=!pt&&!ut&&!(!oe||!Pe.HTMLElement),xt=typeof le.process<"u"&&"[object process]"==={}.toString.call(le.process)&&!ut&&!(!oe||!Pe.HTMLElement),gt={},Gt=function(Ce){if(!(Ce=Ce||le.event))return;let Me=gt[Ce.type];Me||(Me=gt[Ce.type]=G("ON_PROPERTY"+Ce.type));const me=this||Ce.target||le,J=me[Me];let ne;if(ze&&me===Pe&&"error"===Ce.type){const Fe=Ce;ne=J&&J.call(this,Fe.message,Fe.filename,Fe.lineno,Fe.colno,Fe.error),!0===ne&&Ce.preventDefault()}else ne=J&&J.apply(this,arguments),null!=ne&&!ne&&Ce.preventDefault();return ne};function Le(Ce,Me,me){let J=Ne(Ce,Me);if(!J&&me&&Ne(me,Me)&&(J={enumerable:!0,configurable:!0}),!J||!J.configurable)return;const ne=G("on"+Me+"patched");if(Ce.hasOwnProperty(ne)&&Ce[ne])return;delete J.writable,delete J.value;const Fe=J.get,He=J.set,Ge=Me.slice(2);let st=gt[Ge];st||(st=gt[Ge]=G("ON_PROPERTY"+Ge)),J.set=function(It){let dt=this;!dt&&Ce===le&&(dt=le),dt&&("function"==typeof dt[st]&&dt.removeEventListener(Ge,Gt),He&&He.call(dt,null),dt[st]=It,"function"==typeof It&&dt.addEventListener(Ge,Gt,!1))},J.get=function(){let It=this;if(!It&&Ce===le&&(It=le),!It)return null;const dt=It[st];if(dt)return dt;if(Fe){let kt=Fe.call(this);if(kt)return J.set.call(this,kt),"function"==typeof It.removeAttribute&&It.removeAttribute(Me),kt}return null},se(Ce,Me,J),Ce[ne]=!0}function rt(Ce,Me,me){if(Me)for(let J=0;J<Me.length;J++)Le(Ce,"on"+Me[J],me);else{const J=[];for(const ne in Ce)"on"==ne.slice(0,2)&&J.push(ne);for(let ne=0;ne<J.length;ne++)Le(Ce,J[ne],me)}}const _e=G("originalInstance");function Xe(Ce){const Me=le[Ce];if(!Me)return;le[G(Ce)]=Me,le[Ce]=function(){const ne=ke(arguments,Ce);switch(ne.length){case 0:this[_e]=new Me;break;case 1:this[_e]=new Me(ne[0]);break;case 2:this[_e]=new Me(ne[0],ne[1]);break;case 3:this[_e]=new Me(ne[0],ne[1],ne[2]);break;case 4:this[_e]=new Me(ne[0],ne[1],ne[2],ne[3]);break;default:throw new Error("Arg list too long.")}},We(le[Ce],Me);const me=new Me(function(){});let J;for(J in me)"XMLHttpRequest"===Ce&&"responseBlob"===J||function(ne){"function"==typeof me[ne]?le[Ce].prototype[ne]=function(){return this[_e][ne].apply(this[_e],arguments)}:se(le[Ce].prototype,ne,{set:function(Fe){"function"==typeof Fe?(this[_e][ne]=L(Fe,Ce+"."+ne),We(this[_e][ne],Fe)):this[_e][ne]=Fe},get:function(){return this[_e][ne]}})}(J);for(J in Me)"prototype"!==J&&Me.hasOwnProperty(J)&&(le[Ce][J]=Me[J])}function tt(Ce,Me,me){let J=Ce;for(;J&&!J.hasOwnProperty(Me);)J=M(J);!J&&Ce[Me]&&(J=Ce);const ne=G(Me);let Fe=null;if(J&&(!(Fe=J[ne])||!J.hasOwnProperty(ne))&&(Fe=J[ne]=J[Me],it(J&&Ne(J,Me)))){const Ge=me(Fe,ne,Me);J[Me]=function(){return Ge(this,arguments)},We(J[Me],Fe)}return Fe}function ot(Ce,Me,me){let J=null;function ne(Fe){const He=Fe.data;return He.args[He.cbIdx]=function(){Fe.invoke.apply(this,arguments)},J.apply(He.target,He.args),Fe}J=tt(Ce,Me,Fe=>function(He,Ge){const st=me(He,Ge);return st.cbIdx>=0&&"function"==typeof Ge[st.cbIdx]?N(st.name,Ge[st.cbIdx],st,ne):Fe.apply(He,Ge)})}function We(Ce,Me){Ce[G("OriginalDelegate")]=Me}let zt=!1,cn=!1;function Er(){if(zt)return cn;zt=!0;try{const Ce=Pe.navigator.userAgent;(-1!==Ce.indexOf("MSIE ")||-1!==Ce.indexOf("Trident/")||-1!==Ce.indexOf("Edge/"))&&(cn=!0)}catch{}return cn}Zone.__load_patch("ZoneAwarePromise",(Ce,Me,me)=>{const J=Object.getOwnPropertyDescriptor,ne=Object.defineProperty,He=me.symbol,Ge=[],st=!0===Ce[He("DISABLE_WRAPPING_UNCAUGHT_PROMISE_REJECTION")],It=He("Promise"),dt=He("then");me.onUnhandledError=je=>{if(me.showUncaughtError()){const nt=je&&je.rejection;nt?console.error("Unhandled Promise rejection:",nt instanceof Error?nt.message:nt,"; Zone:",je.zone.name,"; Task:",je.task&&je.task.source,"; Value:",nt,nt instanceof Error?nt.stack:void 0):console.error(je)}},me.microtaskDrainDone=()=>{for(;Ge.length;){const je=Ge.shift();try{je.zone.runGuarded(()=>{throw je.throwOriginal?je.rejection:je})}catch(nt){Yt(nt)}}};const un=He("unhandledPromiseRejectionHandler");function Yt(je){me.onUnhandledError(je);try{const nt=Me[un];"function"==typeof nt&&nt.call(this,je)}catch{}}function Tt(je){return je&&je.then}function Rt(je){return je}function $t(je){return ge.reject(je)}const nn=He("state"),sn=He("value"),Mt=He("finally"),an=He("parentPromiseValue"),Xt=He("parentPromiseState"),xn=null,En=!1;function qt(je,nt){return Qe=>{try{we(je,nt,Qe)}catch(St){we(je,!1,St)}}}const Wt=function(){let je=!1;return function(Qe){return function(){je||(je=!0,Qe.apply(null,arguments))}}},$e=He("currentTaskTrace");function we(je,nt,Qe){const St=Wt();if(je===Qe)throw new TypeError("Promise resolved with itself");if(je[nn]===xn){let Zt=null;try{("object"==typeof Qe||"function"==typeof Qe)&&(Zt=Qe&&Qe.then)}catch(jt){return St(()=>{we(je,!1,jt)})(),je}if(nt!==En&&Qe instanceof ge&&Qe.hasOwnProperty(nn)&&Qe.hasOwnProperty(sn)&&Qe[nn]!==xn)Be(Qe),we(je,Qe[nn],Qe[sn]);else if(nt!==En&&"function"==typeof Zt)try{Zt.call(Qe,St(qt(je,nt)),St(qt(je,!1)))}catch(jt){St(()=>{we(je,!1,jt)})()}else{je[nn]=nt;const jt=je[sn];if(je[sn]=Qe,je[Mt]===Mt&&!0===nt&&(je[nn]=je[Xt],je[sn]=je[an]),nt===En&&Qe instanceof Error){const x=Me.currentTask&&Me.currentTask.data&&Me.currentTask.data.__creationTrace__;x&&ne(Qe,$e,{configurable:!0,enumerable:!1,writable:!0,value:x})}for(let x=0;x<jt.length;)at(je,jt[x++],jt[x++],jt[x++],jt[x++]);if(0==jt.length&&nt==En){je[nn]=0;let x=Qe;try{throw new Error("Uncaught (in promise): "+function Fe(je){return je&&je.toString===Object.prototype.toString?(je.constructor&&je.constructor.name||"")+": "+JSON.stringify(je):je?je.toString():Object.prototype.toString.call(je)}(Qe)+(Qe&&Qe.stack?"\n"+Qe.stack:""))}catch(z){x=z}st&&(x.throwOriginal=!0),x.rejection=Qe,x.promise=je,x.zone=Me.current,x.task=Me.currentTask,Ge.push(x),me.scheduleMicroTask()}}}return je}const ce=He("rejectionHandledHandler");function Be(je){if(0===je[nn]){try{const nt=Me[ce];nt&&"function"==typeof nt&&nt.call(this,{rejection:je[sn],promise:je})}catch{}je[nn]=En;for(let nt=0;nt<Ge.length;nt++)je===Ge[nt].promise&&Ge.splice(nt,1)}}function at(je,nt,Qe,St,Zt){Be(je);const jt=je[nn],x=jt?"function"==typeof St?St:Rt:"function"==typeof Zt?Zt:$t;nt.scheduleMicroTask("Promise.then",()=>{try{const z=je[sn],U=!!Qe&&Mt===Qe[Mt];U&&(Qe[an]=z,Qe[Xt]=jt);const de=nt.run(x,void 0,U&&x!==$t&&x!==Rt?[]:[z]);we(Qe,!0,de)}catch(z){we(Qe,!1,z)}},Qe)}const Ut=function(){},At=Ce.AggregateError;class ge{static toString(){return"function ZoneAwarePromise() { [native code] }"}static resolve(nt){return we(new this(null),!0,nt)}static reject(nt){return we(new this(null),En,nt)}static any(nt){if(!nt||"function"!=typeof nt[Symbol.iterator])return Promise.reject(new At([],"All promises were rejected"));const Qe=[];let St=0;try{for(let x of nt)St++,Qe.push(ge.resolve(x))}catch{return Promise.reject(new At([],"All promises were rejected"))}if(0===St)return Promise.reject(new At([],"All promises were rejected"));let Zt=!1;const jt=[];return new ge((x,z)=>{for(let U=0;U<Qe.length;U++)Qe[U].then(de=>{Zt||(Zt=!0,x(de))},de=>{jt.push(de),St--,0===St&&(Zt=!0,z(new At(jt,"All promises were rejected")))})})}static race(nt){let Qe,St,Zt=new this((z,U)=>{Qe=z,St=U});function jt(z){Qe(z)}function x(z){St(z)}for(let z of nt)Tt(z)||(z=this.resolve(z)),z.then(jt,x);return Zt}static all(nt){return ge.allWithCallback(nt)}static allSettled(nt){return(this&&this.prototype instanceof ge?this:ge).allWithCallback(nt,{thenCallback:St=>({status:"fulfilled",value:St}),errorCallback:St=>({status:"rejected",reason:St})})}static allWithCallback(nt,Qe){let St,Zt,jt=new this((de,Ae)=>{St=de,Zt=Ae}),x=2,z=0;const U=[];for(let de of nt){Tt(de)||(de=this.resolve(de));const Ae=z;try{de.then(R=>{U[Ae]=Qe?Qe.thenCallback(R):R,x--,0===x&&St(U)},R=>{Qe?(U[Ae]=Qe.errorCallback(R),x--,0===x&&St(U)):Zt(R)})}catch(R){Zt(R)}x++,z++}return x-=2,0===x&&St(U),jt}constructor(nt){const Qe=this;if(!(Qe instanceof ge))throw new Error("Must be an instanceof Promise.");Qe[nn]=xn,Qe[sn]=[];try{const St=Wt();nt&&nt(St(qt(Qe,!0)),St(qt(Qe,En)))}catch(St){we(Qe,!1,St)}}get[Symbol.toStringTag](){return"Promise"}get[Symbol.species](){return ge}then(nt,Qe){var St;let Zt=null===(St=this.constructor)||void 0===St?void 0:St[Symbol.species];(!Zt||"function"!=typeof Zt)&&(Zt=this.constructor||ge);const jt=new Zt(Ut),x=Me.current;return this[nn]==xn?this[sn].push(x,jt,nt,Qe):at(this,x,jt,nt,Qe),jt}catch(nt){return this.then(null,nt)}finally(nt){var Qe;let St=null===(Qe=this.constructor)||void 0===Qe?void 0:Qe[Symbol.species];(!St||"function"!=typeof St)&&(St=ge);const Zt=new St(Ut);Zt[Mt]=Mt;const jt=Me.current;return this[nn]==xn?this[sn].push(jt,Zt,nt,nt):at(this,jt,Zt,nt,nt),Zt}}ge.resolve=ge.resolve,ge.reject=ge.reject,ge.race=ge.race,ge.all=ge.all;const Ue=Ce[It]=Ce.Promise;Ce.Promise=ge;const _t=He("thenPatched");function Nt(je){const nt=je.prototype,Qe=J(nt,"then");if(Qe&&(!1===Qe.writable||!Qe.configurable))return;const St=nt.then;nt[dt]=St,je.prototype.then=function(Zt,jt){return new ge((z,U)=>{St.call(this,z,U)}).then(Zt,jt)},je[_t]=!0}return me.patchThen=Nt,Ue&&(Nt(Ue),tt(Ce,"fetch",je=>function Tn(je){return function(nt,Qe){let St=je.apply(nt,Qe);if(St instanceof ge)return St;let Zt=St.constructor;return Zt[_t]||Nt(Zt),St}}(je))),Promise[Me.__symbol__("uncaughtPromiseErrors")]=Ge,ge}),Zone.__load_patch("toString",Ce=>{const Me=Function.prototype.toString,me=G("OriginalDelegate"),J=G("Promise"),ne=G("Error"),Fe=function(){if("function"==typeof this){const It=this[me];if(It)return"function"==typeof It?Me.call(It):Object.prototype.toString.call(It);if(this===Promise){const dt=Ce[J];if(dt)return Me.call(dt)}if(this===Error){const dt=Ce[ne];if(dt)return Me.call(dt)}}return Me.call(this)};Fe[me]=Me,Function.prototype.toString=Fe;const He=Object.prototype.toString;Object.prototype.toString=function(){return"function"==typeof Promise&&this instanceof Promise?"[object Promise]":He.call(this)}});let ir=!1;if(typeof window<"u")try{const Ce=Object.defineProperty({},"passive",{get:function(){ir=!0}});window.addEventListener("test",Ce,Ce),window.removeEventListener("test",Ce,Ce)}catch{ir=!1}const si={useG:!0},Dr={},jr={},zn=new RegExp("^"+he+"(\\w+)(true|false)$"),Pn=G("propagationStopped");function Or(Ce,Me){const me=(Me?Me(Ce):Ce)+ee,J=(Me?Me(Ce):Ce)+ie,ne=he+me,Fe=he+J;Dr[Ce]={},Dr[Ce][ee]=ne,Dr[Ce][ie]=Fe}function Un(Ce,Me,me,J){const ne=J&&J.add||te,Fe=J&&J.rm||Q,He=J&&J.listeners||"eventListeners",Ge=J&&J.rmAll||"removeAllListeners",st=G(ne),It="."+ne+":",un=function(sn,Mt,an){if(sn.isRemoved)return;const Xt=sn.callback;let _n;"object"==typeof Xt&&Xt.handleEvent&&(sn.callback=Bt=>Xt.handleEvent(Bt),sn.originalDelegate=Xt);try{sn.invoke(sn,Mt,[an])}catch(Bt){_n=Bt}const xn=sn.options;return xn&&"object"==typeof xn&&xn.once&&Mt[Fe].call(Mt,an.type,sn.originalDelegate?sn.originalDelegate:sn.callback,xn),_n};function Yt(sn,Mt,an){if(!(Mt=Mt||Ce.event))return;const Xt=sn||Mt.target||Ce,_n=Xt[Dr[Mt.type][an?ie:ee]];if(_n){const xn=[];if(1===_n.length){const Bt=un(_n[0],Xt,Mt);Bt&&xn.push(Bt)}else{const Bt=_n.slice();for(let En=0;En<Bt.length&&(!Mt||!0!==Mt[Pn]);En++){const Vt=un(Bt[En],Xt,Mt);Vt&&xn.push(Vt)}}if(1===xn.length)throw xn[0];for(let Bt=0;Bt<xn.length;Bt++){const En=xn[Bt];Me.nativeScheduleMicroTask(()=>{throw En})}}}const Tt=function(sn){return Yt(this,sn,!1)},Rt=function(sn){return Yt(this,sn,!0)};function $t(sn,Mt){if(!sn)return!1;let an=!0;Mt&&void 0!==Mt.useG&&(an=Mt.useG);const Xt=Mt&&Mt.vh;let _n=!0;Mt&&void 0!==Mt.chkDup&&(_n=Mt.chkDup);let xn=!1;Mt&&void 0!==Mt.rt&&(xn=Mt.rt);let Bt=sn;for(;Bt&&!Bt.hasOwnProperty(ne);)Bt=M(Bt);if(!Bt&&sn[ne]&&(Bt=sn),!Bt||Bt[st])return!1;const En=Mt&&Mt.eventNameToString,Vt={},qt=Bt[st]=Bt[ne],Wt=Bt[G(Fe)]=Bt[Fe],ur=Bt[G(He)]=Bt[He],$e=Bt[G(Ge)]=Bt[Ge];let we;function ce(Qe,St){return!ir&&"object"==typeof Qe&&Qe?!!Qe.capture:ir&&St?"boolean"==typeof Qe?{capture:Qe,passive:!0}:Qe?"object"==typeof Qe&&!1!==Qe.passive?Object.assign(Object.assign({},Qe),{passive:!0}):Qe:{passive:!0}:Qe}Mt&&Mt.prepend&&(we=Bt[G(Mt.prepend)]=Bt[Mt.prepend]);const ge=an?function(Qe){if(!Vt.isExisting)return qt.call(Vt.target,Vt.eventName,Vt.capture?Rt:Tt,Vt.options)}:function(Qe){return qt.call(Vt.target,Vt.eventName,Qe.invoke,Vt.options)},Ue=an?function(Qe){if(!Qe.isRemoved){const St=Dr[Qe.eventName];let Zt;St&&(Zt=St[Qe.capture?ie:ee]);const jt=Zt&&Qe.target[Zt];if(jt)for(let x=0;x<jt.length;x++)if(jt[x]===Qe){jt.splice(x,1),Qe.isRemoved=!0,0===jt.length&&(Qe.allRemoved=!0,Qe.target[Zt]=null);break}}if(Qe.allRemoved)return Wt.call(Qe.target,Qe.eventName,Qe.capture?Rt:Tt,Qe.options)}:function(Qe){return Wt.call(Qe.target,Qe.eventName,Qe.invoke,Qe.options)},Nt=Mt&&Mt.diff?Mt.diff:function(Qe,St){const Zt=typeof St;return"function"===Zt&&Qe.callback===St||"object"===Zt&&Qe.originalDelegate===St},Tn=Zone[G("UNPATCHED_EVENTS")],je=Ce[G("PASSIVE_EVENTS")],nt=function(Qe,St,Zt,jt,x=!1,z=!1){return function(){const U=this||Ce;let de=arguments[0];Mt&&Mt.transferEventName&&(de=Mt.transferEventName(de));let Ae=arguments[1];if(!Ae)return Qe.apply(this,arguments);if(pt&&"uncaughtException"===de)return Qe.apply(this,arguments);let R=!1;if("function"!=typeof Ae){if(!Ae.handleEvent)return Qe.apply(this,arguments);R=!0}if(Xt&&!Xt(Qe,Ae,U,arguments))return;const $=ir&&!!je&&-1!==je.indexOf(de),y=ce(arguments[2],$);if(Tn)for(let Mr=0;Mr<Tn.length;Mr++)if(de===Tn[Mr])return $?Qe.call(U,de,Ae,y):Qe.apply(this,arguments);const V=!!y&&("boolean"==typeof y||y.capture),Ee=!(!y||"object"!=typeof y)&&y.once,Ke=Zone.current;let bt=Dr[de];bt||(Or(de,En),bt=Dr[de]);const ln=bt[V?ie:ee];let fr,Qt=U[ln],kn=!1;if(Qt){if(kn=!0,_n)for(let Mr=0;Mr<Qt.length;Mr++)if(Nt(Qt[Mr],Ae))return}else Qt=U[ln]=[];const sr=U.constructor.name,or=jr[sr];or&&(fr=or[de]),fr||(fr=sr+St+(En?En(de):de)),Vt.options=y,Ee&&(Vt.options.once=!1),Vt.target=U,Vt.capture=V,Vt.eventName=de,Vt.isExisting=kn;const Jn=an?si:void 0;Jn&&(Jn.taskData=Vt);const Gr=Ke.scheduleEventTask(fr,Ae,Jn,Zt,jt);return Vt.target=null,Jn&&(Jn.taskData=null),Ee&&(y.once=!0),!ir&&"boolean"==typeof Gr.options||(Gr.options=y),Gr.target=U,Gr.capture=V,Gr.eventName=de,R&&(Gr.originalDelegate=Ae),z?Qt.unshift(Gr):Qt.push(Gr),x?U:void 0}};return Bt[ne]=nt(qt,It,ge,Ue,xn),we&&(Bt.prependListener=nt(we,".prependListener:",function(Qe){return we.call(Vt.target,Vt.eventName,Qe.invoke,Vt.options)},Ue,xn,!0)),Bt[Fe]=function(){const Qe=this||Ce;let St=arguments[0];Mt&&Mt.transferEventName&&(St=Mt.transferEventName(St));const Zt=arguments[2],jt=!!Zt&&("boolean"==typeof Zt||Zt.capture),x=arguments[1];if(!x)return Wt.apply(this,arguments);if(Xt&&!Xt(Wt,x,Qe,arguments))return;const z=Dr[St];let U;z&&(U=z[jt?ie:ee]);const de=U&&Qe[U];if(de)for(let Ae=0;Ae<de.length;Ae++){const R=de[Ae];if(Nt(R,x))return de.splice(Ae,1),R.isRemoved=!0,0===de.length&&(R.allRemoved=!0,Qe[U]=null,"string"==typeof St)&&(Qe[he+"ON_PROPERTY"+St]=null),R.zone.cancelTask(R),xn?Qe:void 0}return Wt.apply(this,arguments)},Bt[He]=function(){const Qe=this||Ce;let St=arguments[0];Mt&&Mt.transferEventName&&(St=Mt.transferEventName(St));const Zt=[],jt=dr(Qe,En?En(St):St);for(let x=0;x<jt.length;x++){const z=jt[x];Zt.push(z.originalDelegate?z.originalDelegate:z.callback)}return Zt},Bt[Ge]=function(){const Qe=this||Ce;let St=arguments[0];if(St){Mt&&Mt.transferEventName&&(St=Mt.transferEventName(St));const Zt=Dr[St];if(Zt){const z=Qe[Zt[ee]],U=Qe[Zt[ie]];if(z){const de=z.slice();for(let Ae=0;Ae<de.length;Ae++){const R=de[Ae];this[Fe].call(this,St,R.originalDelegate?R.originalDelegate:R.callback,R.options)}}if(U){const de=U.slice();for(let Ae=0;Ae<de.length;Ae++){const R=de[Ae];this[Fe].call(this,St,R.originalDelegate?R.originalDelegate:R.callback,R.options)}}}}else{const Zt=Object.keys(Qe);for(let jt=0;jt<Zt.length;jt++){const z=zn.exec(Zt[jt]);let U=z&&z[1];U&&"removeListener"!==U&&this[Ge].call(this,U)}this[Ge].call(this,"removeListener")}if(xn)return this},We(Bt[ne],qt),We(Bt[Fe],Wt),$e&&We(Bt[Ge],$e),ur&&We(Bt[He],ur),!0}let nn=[];for(let sn=0;sn<me.length;sn++)nn[sn]=$t(me[sn],J);return nn}function dr(Ce,Me){if(!Me){const Fe=[];for(let He in Ce){const Ge=zn.exec(He);let st=Ge&&Ge[1];if(st&&(!Me||st===Me)){const It=Ce[He];if(It)for(let dt=0;dt<It.length;dt++)Fe.push(It[dt])}}return Fe}let me=Dr[Me];me||(Or(Me),me=Dr[Me]);const J=Ce[me[ee]],ne=Ce[me[ie]];return J?ne?J.concat(ne):J.slice():ne?ne.slice():[]}function Wn(Ce,Me){const me=Ce.Event;me&&me.prototype&&Me.patchMethod(me.prototype,"stopImmediatePropagation",J=>function(ne,Fe){ne[Pn]=!0,J&&J.apply(ne,Fe)})}function $r(Ce,Me,me,J,ne){const Fe=Zone.__symbol__(J);if(Me[Fe])return;const He=Me[Fe]=Me[J];Me[J]=function(Ge,st,It){return st&&st.prototype&&ne.forEach(function(dt){const kt=`${me}.${J}::`+dt,un=st.prototype;try{if(un.hasOwnProperty(dt)){const Yt=Ce.ObjectGetOwnPropertyDescriptor(un,dt);Yt&&Yt.value?(Yt.value=Ce.wrapWithCurrentZone(Yt.value,kt),Ce._redefineProperty(st.prototype,dt,Yt)):un[dt]&&(un[dt]=Ce.wrapWithCurrentZone(un[dt],kt))}else un[dt]&&(un[dt]=Ce.wrapWithCurrentZone(un[dt],kt))}catch{}}),He.call(Me,Ge,st,It)},Ce.attachOriginToPatched(Me[J],He)}function tr(Ce,Me,me){if(!me||0===me.length)return Me;const J=me.filter(Fe=>Fe.target===Ce);if(!J||0===J.length)return Me;const ne=J[0].ignoreProperties;return Me.filter(Fe=>-1===ne.indexOf(Fe))}function Mn(Ce,Me,me,J){Ce&&rt(Ce,tr(Ce,Me,me),J)}function Vn(Ce){return Object.getOwnPropertyNames(Ce).filter(Me=>Me.startsWith("on")&&Me.length>2).map(Me=>Me.substring(2))}Zone.__load_patch("util",(Ce,Me,me)=>{const J=Vn(Ce);me.patchOnProperties=rt,me.patchMethod=tt,me.bindArguments=ke,me.patchMacroTask=ot;const ne=Me.__symbol__("BLACK_LISTED_EVENTS"),Fe=Me.__symbol__("UNPATCHED_EVENTS");Ce[Fe]&&(Ce[ne]=Ce[Fe]),Ce[ne]&&(Me[ne]=Me[Fe]=Ce[ne]),me.patchEventPrototype=Wn,me.patchEventTarget=Un,me.isIEOrEdge=Er,me.ObjectDefineProperty=se,me.ObjectGetOwnPropertyDescriptor=Ne,me.ObjectCreate=s,me.ArraySlice=f,me.patchClass=Xe,me.wrapWithCurrentZone=L,me.filterProperties=tr,me.attachOriginToPatched=We,me._redefineProperty=Object.defineProperty,me.patchCallbacks=$r,me.getGlobalObjects=()=>({globalSources:jr,zoneSymbolEventNames:Dr,eventNames:J,isBrowser:ze,isMix:xt,isNode:pt,TRUE_STR:ie,FALSE_STR:ee,ZONE_SYMBOL_PREFIX:he,ADD_EVENT_LISTENER_STR:te,REMOVE_EVENT_LISTENER_STR:Q})});const lr=G("zoneTask");function Yn(Ce,Me,me,J){let ne=null,Fe=null;me+=J;const He={};function Ge(It){const dt=It.data;return dt.args[0]=function(){return It.invoke.apply(this,arguments)},dt.handleId=ne.apply(Ce,dt.args),It}function st(It){return Fe.call(Ce,It.data.handleId)}ne=tt(Ce,Me+=J,It=>function(dt,kt){if("function"==typeof kt[0]){const un={isPeriodic:"Interval"===J,delay:"Timeout"===J||"Interval"===J?kt[1]||0:void 0,args:kt},Yt=kt[0];kt[0]=function(){try{return Yt.apply(this,arguments)}finally{un.isPeriodic||("number"==typeof un.handleId?delete He[un.handleId]:un.handleId&&(un.handleId[lr]=null))}};const Tt=N(Me,kt[0],un,Ge,st);if(!Tt)return Tt;const Rt=Tt.data.handleId;return"number"==typeof Rt?He[Rt]=Tt:Rt&&(Rt[lr]=Tt),Rt&&Rt.ref&&Rt.unref&&"function"==typeof Rt.ref&&"function"==typeof Rt.unref&&(Tt.ref=Rt.ref.bind(Rt),Tt.unref=Rt.unref.bind(Rt)),"number"==typeof Rt||Rt?Rt:Tt}return It.apply(Ce,kt)}),Fe=tt(Ce,me,It=>function(dt,kt){const un=kt[0];let Yt;"number"==typeof un?Yt=He[un]:(Yt=un&&un[lr],Yt||(Yt=un)),Yt&&"string"==typeof Yt.type?"notScheduled"!==Yt.state&&(Yt.cancelFn&&Yt.data.isPeriodic||0===Yt.runCount)&&("number"==typeof un?delete He[un]:un&&(un[lr]=null),Yt.zone.cancelTask(Yt)):It.apply(Ce,kt)})}Zone.__load_patch("legacy",Ce=>{const Me=Ce[Zone.__symbol__("legacyPatch")];Me&&Me()}),Zone.__load_patch("queueMicrotask",(Ce,Me,me)=>{me.patchMethod(Ce,"queueMicrotask",J=>function(ne,Fe){Me.current.scheduleMicroTask("queueMicrotask",Fe[0])})}),Zone.__load_patch("timers",Ce=>{const me="clear";Yn(Ce,"set",me,"Timeout"),Yn(Ce,"set",me,"Interval"),Yn(Ce,"set",me,"Immediate")}),Zone.__load_patch("requestAnimationFrame",Ce=>{Yn(Ce,"request","cancel","AnimationFrame"),Yn(Ce,"mozRequest","mozCancel","AnimationFrame"),Yn(Ce,"webkitRequest","webkitCancel","AnimationFrame")}),Zone.__load_patch("blocking",(Ce,Me)=>{const me=["alert","prompt","confirm"];for(let J=0;J<me.length;J++)tt(Ce,me[J],(Fe,He,Ge)=>function(st,It){return Me.current.run(Fe,Ce,It,Ge)})}),Zone.__load_patch("EventTarget",(Ce,Me,me)=>{(function On(Ce,Me){Me.patchEventPrototype(Ce,Me)})(Ce,me),function xr(Ce,Me){if(Zone[Me.symbol("patchEventTarget")])return;const{eventNames:me,zoneSymbolEventNames:J,TRUE_STR:ne,FALSE_STR:Fe,ZONE_SYMBOL_PREFIX:He}=Me.getGlobalObjects();for(let st=0;st<me.length;st++){const It=me[st],un=He+(It+Fe),Yt=He+(It+ne);J[It]={},J[It][Fe]=un,J[It][ne]=Yt}const Ge=Ce.EventTarget;Ge&&Ge.prototype&&Me.patchEventTarget(Ce,Me,[Ge&&Ge.prototype])}(Ce,me);const J=Ce.XMLHttpRequestEventTarget;J&&J.prototype&&me.patchEventTarget(Ce,me,[J.prototype])}),Zone.__load_patch("MutationObserver",(Ce,Me,me)=>{Xe("MutationObserver"),Xe("WebKitMutationObserver")}),Zone.__load_patch("IntersectionObserver",(Ce,Me,me)=>{Xe("IntersectionObserver")}),Zone.__load_patch("FileReader",(Ce,Me,me)=>{Xe("FileReader")}),Zone.__load_patch("on_property",(Ce,Me,me)=>{!function Ar(Ce,Me){if(pt&&!xt||Zone[Ce.symbol("patchEvents")])return;const me=Me.__Zone_ignore_on_properties;let J=[];if(ze){const ne=window;J=J.concat(["Document","SVGElement","Element","HTMLElement","HTMLBodyElement","HTMLMediaElement","HTMLFrameSetElement","HTMLFrameElement","HTMLIFrameElement","HTMLMarqueeElement","Worker"]);const Fe=function Lr(){try{const Ce=Pe.navigator.userAgent;if(-1!==Ce.indexOf("MSIE ")||-1!==Ce.indexOf("Trident/"))return!0}catch{}return!1}()?[{target:ne,ignoreProperties:["error"]}]:[];Mn(ne,Vn(ne),me&&me.concat(Fe),M(ne))}J=J.concat(["XMLHttpRequest","XMLHttpRequestEventTarget","IDBIndex","IDBRequest","IDBOpenDBRequest","IDBDatabase","IDBTransaction","IDBCursor","WebSocket"]);for(let ne=0;ne<J.length;ne++){const Fe=Me[J[ne]];Fe&&Fe.prototype&&Mn(Fe.prototype,Vn(Fe.prototype),me)}}(me,Ce)}),Zone.__load_patch("customElements",(Ce,Me,me)=>{!function hr(Ce,Me){const{isBrowser:me,isMix:J}=Me.getGlobalObjects();(me||J)&&Ce.customElements&&"customElements"in Ce&&Me.patchCallbacks(Me,Ce.customElements,"customElements","define",["connectedCallback","disconnectedCallback","adoptedCallback","attributeChangedCallback"])}(Ce,me)}),Zone.__load_patch("XHR",(Ce,Me)=>{!function st(It){const dt=It.XMLHttpRequest;if(!dt)return;const kt=dt.prototype;let Yt=kt[re],Tt=kt[X];if(!Yt){const Vt=It.XMLHttpRequestEventTarget;if(Vt){const qt=Vt.prototype;Yt=qt[re],Tt=qt[X]}}const Rt="readystatechange",$t="scheduled";function nn(Vt){const qt=Vt.data,Wt=qt.target;Wt[Fe]=!1,Wt[Ge]=!1;const ur=Wt[ne];Yt||(Yt=Wt[re],Tt=Wt[X]),ur&&Tt.call(Wt,Rt,ur);const $e=Wt[ne]=()=>{if(Wt.readyState===Wt.DONE)if(!qt.aborted&&Wt[Fe]&&Vt.state===$t){const ce=Wt[Me.__symbol__("loadfalse")];if(0!==Wt.status&&ce&&ce.length>0){const Be=Vt.invoke;Vt.invoke=function(){const at=Wt[Me.__symbol__("loadfalse")];for(let Ft=0;Ft<at.length;Ft++)at[Ft]===Vt&&at.splice(Ft,1);!qt.aborted&&Vt.state===$t&&Be.call(Vt)},ce.push(Vt)}else Vt.invoke()}else!qt.aborted&&!1===Wt[Fe]&&(Wt[Ge]=!0)};return Yt.call(Wt,Rt,$e),Wt[me]||(Wt[me]=Vt),Bt.apply(Wt,qt.args),Wt[Fe]=!0,Vt}function sn(){}function Mt(Vt){const qt=Vt.data;return qt.aborted=!0,En.apply(qt.target,qt.args)}const an=tt(kt,"open",()=>function(Vt,qt){return Vt[J]=0==qt[2],Vt[He]=qt[1],an.apply(Vt,qt)}),_n=G("fetchTaskAborting"),xn=G("fetchTaskScheduling"),Bt=tt(kt,"send",()=>function(Vt,qt){if(!0===Me.current[xn]||Vt[J])return Bt.apply(Vt,qt);{const Wt={target:Vt,url:Vt[He],isPeriodic:!1,args:qt,aborted:!1},ur=N("XMLHttpRequest.send",sn,Wt,nn,Mt);Vt&&!0===Vt[Ge]&&!Wt.aborted&&ur.state===$t&&ur.invoke()}}),En=tt(kt,"abort",()=>function(Vt,qt){const Wt=function un(Vt){return Vt[me]}(Vt);if(Wt&&"string"==typeof Wt.type){if(null==Wt.cancelFn||Wt.data&&Wt.data.aborted)return;Wt.zone.cancelTask(Wt)}else if(!0===Me.current[_n])return En.apply(Vt,qt)})}(Ce);const me=G("xhrTask"),J=G("xhrSync"),ne=G("xhrListener"),Fe=G("xhrScheduled"),He=G("xhrURL"),Ge=G("xhrErrorBeforeScheduled")}),Zone.__load_patch("geolocation",Ce=>{Ce.navigator&&Ce.navigator.geolocation&&function yt(Ce,Me){const me=Ce.constructor.name;for(let J=0;J<Me.length;J++){const ne=Me[J],Fe=Ce[ne];if(Fe){if(!it(Ne(Ce,ne)))continue;Ce[ne]=(Ge=>{const st=function(){return Ge.apply(this,ke(arguments,me+"."+ne))};return We(st,Ge),st})(Fe)}}}(Ce.navigator.geolocation,["getCurrentPosition","watchPosition"])}),Zone.__load_patch("PromiseRejectionEvent",(Ce,Me)=>{function me(J){return function(ne){dr(Ce,J).forEach(He=>{const Ge=Ce.PromiseRejectionEvent;if(Ge){const st=new Ge(J,{promise:ne.promise,reason:ne.rejection});He.invoke(st)}})}}Ce.PromiseRejectionEvent&&(Me[G("unhandledPromiseRejectionHandler")]=me("unhandledrejection"),Me[G("rejectionHandledHandler")]=me("rejectionhandled"))})},7340:(Ne,se,M)=>{"use strict";M.d(se,{LC:()=>f,SB:()=>he,X$:()=>Q,ZE:()=>it,ZN:()=>yt,_j:()=>s,eR:()=>N,jt:()=>re,k1:()=>ut,l3:()=>te,oB:()=>ee,vP:()=>ie});class s{}class f{}const te="*";function Q(pt,ze){return{type:7,name:pt,definitions:ze,options:{}}}function re(pt,ze=null){return{type:4,styles:ze,timings:pt}}function ie(pt,ze=null){return{type:2,steps:pt,options:ze}}function ee(pt){return{type:6,styles:pt,offset:null}}function he(pt,ze,xt){return{type:0,name:pt,styles:ze,options:xt}}function N(pt,ze,xt=null){return{type:1,expr:pt,animation:ze,options:xt}}function ke(pt){Promise.resolve(null).then(pt)}class yt{constructor(ze=0,xt=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=ze+xt}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(ze=>ze()),this._onDoneFns=[])}onStart(ze){this._onStartFns.push(ze)}onDone(ze){this._onDoneFns.push(ze)}onDestroy(ze){this._onDestroyFns.push(ze)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){ke(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(ze=>ze()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(ze=>ze()),this._onDestroyFns=[])}reset(){this._started=!1}setPosition(ze){this._position=this.totalTime?ze*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(ze){const xt="start"==ze?this._onStartFns:this._onDoneFns;xt.forEach(gt=>gt()),xt.length=0}}class it{constructor(ze){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=ze;let xt=0,gt=0,Gt=0;const Le=this.players.length;0==Le?ke(()=>this._onFinish()):this.players.forEach(rt=>{rt.onDone(()=>{++xt==Le&&this._onFinish()}),rt.onDestroy(()=>{++gt==Le&&this._onDestroy()}),rt.onStart(()=>{++Gt==Le&&this._onStart()})}),this.totalTime=this.players.reduce((rt,_e)=>Math.max(rt,_e.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(ze=>ze()),this._onDoneFns=[])}init(){this.players.forEach(ze=>ze.init())}onStart(ze){this._onStartFns.push(ze)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(ze=>ze()),this._onStartFns=[])}onDone(ze){this._onDoneFns.push(ze)}onDestroy(ze){this._onDestroyFns.push(ze)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(ze=>ze.play())}pause(){this.players.forEach(ze=>ze.pause())}restart(){this.players.forEach(ze=>ze.restart())}finish(){this._onFinish(),this.players.forEach(ze=>ze.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(ze=>ze.destroy()),this._onDestroyFns.forEach(ze=>ze()),this._onDestroyFns=[])}reset(){this.players.forEach(ze=>ze.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(ze){const xt=ze*this.totalTime;this.players.forEach(gt=>{const Gt=gt.totalTime?Math.min(1,xt/gt.totalTime):1;gt.setPosition(Gt)})}getPosition(){const ze=this.players.reduce((xt,gt)=>null===xt||gt.totalTime>xt.totalTime?gt:xt,null);return null!=ze?ze.getPosition():0}beforeDestroy(){this.players.forEach(ze=>{ze.beforeDestroy&&ze.beforeDestroy()})}triggerCallback(ze){const xt="start"==ze?this._onStartFns:this._onDoneFns;xt.forEach(gt=>gt()),xt.length=0}}const ut="!"},6895:(Ne,se,M)=>{"use strict";M.d(se,{Do:()=>pt,EM:()=>Kr,HT:()=>re,JF:()=>Qi,K0:()=>ie,Mx:()=>y,NF:()=>Ds,O5:()=>kn,PC:()=>Y,RF:()=>Jn,S$:()=>ke,V_:()=>L,Ye:()=>ze,b0:()=>ut,bD:()=>Ii,ez:()=>yo,lw:()=>ee,mk:()=>V,mr:()=>it,n9:()=>Gr,q:()=>te,sg:()=>bt,tP:()=>Re,w_:()=>X});var s=M(5062);let f=null;function te(){return f}function re(T){f||(f=T)}class X{}const ie=new s.OlP("DocumentToken");let ee=(()=>{class T{historyGo(S){throw new Error("Not implemented")}}return T.\u0275fac=function(S){return new(S||T)},T.\u0275prov=s.Yz7({token:T,factory:function(){return function he(){return(0,s.LFG)(N)}()},providedIn:"platform"}),T})();const L=new s.OlP("Location Initialized");let N=(()=>{class T extends ee{constructor(S){super(),this._doc=S,this._init()}_init(){this.location=window.location,this._history=window.history}getBaseHrefFromDOM(){return te().getBaseHref(this._doc)}onPopState(S){const K=te().getGlobalEventTarget(this._doc,"window");return K.addEventListener("popstate",S,!1),()=>K.removeEventListener("popstate",S)}onHashChange(S){const K=te().getGlobalEventTarget(this._doc,"window");return K.addEventListener("hashchange",S,!1),()=>K.removeEventListener("hashchange",S)}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(S){this.location.pathname=S}pushState(S,K,De){G()?this._history.pushState(S,K,De):this.location.hash=De}replaceState(S,K,De){G()?this._history.replaceState(S,K,De):this.location.hash=De}forward(){this._history.forward()}back(){this._history.back()}historyGo(S=0){this._history.go(S)}getState(){return this._history.state}}return T.\u0275fac=function(S){return new(S||T)(s.LFG(ie))},T.\u0275prov=s.Yz7({token:T,factory:function(){return function oe(){return new N((0,s.LFG)(ie))}()},providedIn:"platform"}),T})();function G(){return!!window.history.pushState}function Pe(T,W){if(0==T.length)return W;if(0==W.length)return T;let S=0;return T.endsWith("/")&&S++,W.startsWith("/")&&S++,2==S?T+W.substring(1):1==S?T+W:T+"/"+W}function le(T){const W=T.match(/#|\?|$/),S=W&&W.index||T.length;return T.slice(0,S-("/"===T[S-1]?1:0))+T.slice(S)}function Oe(T){return T&&"?"!==T[0]?"?"+T:T}let ke=(()=>{class T{historyGo(S){throw new Error("Not implemented")}}return T.\u0275fac=function(S){return new(S||T)},T.\u0275prov=s.Yz7({token:T,factory:function(){return function yt(T){const W=(0,s.LFG)(ie).location;return new ut((0,s.LFG)(ee),W&&W.origin||"")}()},providedIn:"root"}),T})();const it=new s.OlP("appBaseHref");let ut=(()=>{class T extends ke{constructor(S,K){if(super(),this._platformLocation=S,this._removeListenerFns=[],null==K&&(K=this._platformLocation.getBaseHrefFromDOM()),null==K)throw new Error("No base href set. Please provide a value for the APP_BASE_HREF token or add a base element to the document.");this._baseHref=K}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(S){this._removeListenerFns.push(this._platformLocation.onPopState(S),this._platformLocation.onHashChange(S))}getBaseHref(){return this._baseHref}prepareExternalUrl(S){return Pe(this._baseHref,S)}path(S=!1){const K=this._platformLocation.pathname+Oe(this._platformLocation.search),De=this._platformLocation.hash;return De&&S?`${K}${De}`:K}pushState(S,K,De,et){const wt=this.prepareExternalUrl(De+Oe(et));this._platformLocation.pushState(S,K,wt)}replaceState(S,K,De,et){const wt=this.prepareExternalUrl(De+Oe(et));this._platformLocation.replaceState(S,K,wt)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}historyGo(S=0){this._platformLocation.historyGo?.(S)}}return T.\u0275fac=function(S){return new(S||T)(s.LFG(ee),s.LFG(it,8))},T.\u0275prov=s.Yz7({token:T,factory:T.\u0275fac}),T})(),pt=(()=>{class T extends ke{constructor(S,K){super(),this._platformLocation=S,this._baseHref="",this._removeListenerFns=[],null!=K&&(this._baseHref=K)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(S){this._removeListenerFns.push(this._platformLocation.onPopState(S),this._platformLocation.onHashChange(S))}getBaseHref(){return this._baseHref}path(S=!1){let K=this._platformLocation.hash;return null==K&&(K="#"),K.length>0?K.substring(1):K}prepareExternalUrl(S){const K=Pe(this._baseHref,S);return K.length>0?"#"+K:K}pushState(S,K,De,et){let wt=this.prepareExternalUrl(De+Oe(et));0==wt.length&&(wt=this._platformLocation.pathname),this._platformLocation.pushState(S,K,wt)}replaceState(S,K,De,et){let wt=this.prepareExternalUrl(De+Oe(et));0==wt.length&&(wt=this._platformLocation.pathname),this._platformLocation.replaceState(S,K,wt)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}historyGo(S=0){this._platformLocation.historyGo?.(S)}}return T.\u0275fac=function(S){return new(S||T)(s.LFG(ee),s.LFG(it,8))},T.\u0275prov=s.Yz7({token:T,factory:T.\u0275fac}),T})(),ze=(()=>{class T{constructor(S,K){this._subject=new s.vpe,this._urlChangeListeners=[],this._platformStrategy=S;const De=this._platformStrategy.getBaseHref();this._platformLocation=K,this._baseHref=le(Gt(De)),this._platformStrategy.onPopState(et=>{this._subject.emit({url:this.path(!0),pop:!0,state:et.state,type:et.type})})}path(S=!1){return this.normalize(this._platformStrategy.path(S))}getState(){return this._platformLocation.getState()}isCurrentPathEqualTo(S,K=""){return this.path()==this.normalize(S+Oe(K))}normalize(S){return T.stripTrailingSlash(function gt(T,W){return T&&W.startsWith(T)?W.substring(T.length):W}(this._baseHref,Gt(S)))}prepareExternalUrl(S){return S&&"/"!==S[0]&&(S="/"+S),this._platformStrategy.prepareExternalUrl(S)}go(S,K="",De=null){this._platformStrategy.pushState(De,"",S,K),this._notifyUrlChangeListeners(this.prepareExternalUrl(S+Oe(K)),De)}replaceState(S,K="",De=null){this._platformStrategy.replaceState(De,"",S,K),this._notifyUrlChangeListeners(this.prepareExternalUrl(S+Oe(K)),De)}forward(){this._platformStrategy.forward()}back(){this._platformStrategy.back()}historyGo(S=0){this._platformStrategy.historyGo?.(S)}onUrlChange(S){this._urlChangeListeners.push(S),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(K=>{this._notifyUrlChangeListeners(K.url,K.state)}))}_notifyUrlChangeListeners(S="",K){this._urlChangeListeners.forEach(De=>De(S,K))}subscribe(S,K,De){return this._subject.subscribe({next:S,error:K,complete:De})}}return T.normalizeQueryParams=Oe,T.joinWithSlash=Pe,T.stripTrailingSlash=le,T.\u0275fac=function(S){return new(S||T)(s.LFG(ke),s.LFG(ee))},T.\u0275prov=s.Yz7({token:T,factory:function(){return function xt(){return new ze((0,s.LFG)(ke),(0,s.LFG)(ee))}()},providedIn:"root"}),T})();function Gt(T){return T.replace(/\/index.html$/,"")}function y(T,W){W=encodeURIComponent(W);for(const S of T.split(";")){const K=S.indexOf("="),[De,et]=-1==K?[S,""]:[S.slice(0,K),S.slice(K+1)];if(De.trim()===W)return decodeURIComponent(et)}return null}let V=(()=>{class T{constructor(S,K,De,et){this._iterableDiffers=S,this._keyValueDiffers=K,this._ngEl=De,this._renderer=et,this._iterableDiffer=null,this._keyValueDiffer=null,this._initialClasses=[],this._rawClass=null}set klass(S){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof S?S.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)}set ngClass(S){this._removeClasses(this._rawClass),this._applyClasses(this._initialClasses),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof S?S.split(/\s+/):S,this._rawClass&&((0,s.sIi)(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())}ngDoCheck(){if(this._iterableDiffer){const S=this._iterableDiffer.diff(this._rawClass);S&&this._applyIterableChanges(S)}else if(this._keyValueDiffer){const S=this._keyValueDiffer.diff(this._rawClass);S&&this._applyKeyValueChanges(S)}}_applyKeyValueChanges(S){S.forEachAddedItem(K=>this._toggleClass(K.key,K.currentValue)),S.forEachChangedItem(K=>this._toggleClass(K.key,K.currentValue)),S.forEachRemovedItem(K=>{K.previousValue&&this._toggleClass(K.key,!1)})}_applyIterableChanges(S){S.forEachAddedItem(K=>{if("string"!=typeof K.item)throw new Error(`NgClass can only toggle CSS classes expressed as strings, got ${(0,s.AaK)(K.item)}`);this._toggleClass(K.item,!0)}),S.forEachRemovedItem(K=>this._toggleClass(K.item,!1))}_applyClasses(S){S&&(Array.isArray(S)||S instanceof Set?S.forEach(K=>this._toggleClass(K,!0)):Object.keys(S).forEach(K=>this._toggleClass(K,!!S[K])))}_removeClasses(S){S&&(Array.isArray(S)||S instanceof Set?S.forEach(K=>this._toggleClass(K,!1)):Object.keys(S).forEach(K=>this._toggleClass(K,!1)))}_toggleClass(S,K){(S=S.trim())&&S.split(/\s+/g).forEach(De=>{K?this._renderer.addClass(this._ngEl.nativeElement,De):this._renderer.removeClass(this._ngEl.nativeElement,De)})}}return T.\u0275fac=function(S){return new(S||T)(s.Y36(s.ZZ4),s.Y36(s.aQg),s.Y36(s.SBq),s.Y36(s.Qsj))},T.\u0275dir=s.lG2({type:T,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"}}),T})();class Ke{constructor(W,S,K,De){this.$implicit=W,this.ngForOf=S,this.index=K,this.count=De}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 bt=(()=>{class T{constructor(S,K,De){this._viewContainer=S,this._template=K,this._differs=De,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForOf(S){this._ngForOf=S,this._ngForOfDirty=!0}set ngForTrackBy(S){this._trackByFn=S}get ngForTrackBy(){return this._trackByFn}set ngForTemplate(S){S&&(this._template=S)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const S=this._ngForOf;!this._differ&&S&&(this._differ=this._differs.find(S).create(this.ngForTrackBy))}if(this._differ){const S=this._differ.diff(this._ngForOf);S&&this._applyChanges(S)}}_applyChanges(S){const K=this._viewContainer;S.forEachOperation((De,et,wt)=>{if(null==De.previousIndex)K.createEmbeddedView(this._template,new Ke(De.item,this._ngForOf,-1,-1),null===wt?void 0:wt);else if(null==wt)K.remove(null===et?void 0:et);else if(null!==et){const Lt=K.get(et);K.move(Lt,wt),ln(Lt,De)}});for(let De=0,et=K.length;De<et;De++){const Lt=K.get(De).context;Lt.index=De,Lt.count=et,Lt.ngForOf=this._ngForOf}S.forEachIdentityChange(De=>{ln(K.get(De.currentIndex),De)})}static ngTemplateContextGuard(S,K){return!0}}return T.\u0275fac=function(S){return new(S||T)(s.Y36(s.s_b),s.Y36(s.Rgc),s.Y36(s.ZZ4))},T.\u0275dir=s.lG2({type:T,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}}),T})();function ln(T,W){T.context.$implicit=W.item}let kn=(()=>{class T{constructor(S,K){this._viewContainer=S,this._context=new fr,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=K}set ngIf(S){this._context.$implicit=this._context.ngIf=S,this._updateView()}set ngIfThen(S){sr("ngIfThen",S),this._thenTemplateRef=S,this._thenViewRef=null,this._updateView()}set ngIfElse(S){sr("ngIfElse",S),this._elseTemplateRef=S,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(S,K){return!0}}return T.\u0275fac=function(S){return new(S||T)(s.Y36(s.s_b),s.Y36(s.Rgc))},T.\u0275dir=s.lG2({type:T,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}}),T})();class fr{constructor(){this.$implicit=null,this.ngIf=null}}function sr(T,W){if(W&&!W.createEmbeddedView)throw new Error(`${T} must be a TemplateRef, but received '${(0,s.AaK)(W)}'.`)}class or{constructor(W,S){this._viewContainerRef=W,this._templateRef=S,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(W){W&&!this._created?this.create():!W&&this._created&&this.destroy()}}let Jn=(()=>{class T{constructor(){this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(S){this._ngSwitch=S,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(S){this._defaultViews||(this._defaultViews=[]),this._defaultViews.push(S)}_matchCase(S){const K=S==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||K,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),K}_updateDefaultCases(S){if(this._defaultViews&&S!==this._defaultUsed){this._defaultUsed=S;for(let K=0;K<this._defaultViews.length;K++)this._defaultViews[K].enforceState(S)}}}return T.\u0275fac=function(S){return new(S||T)},T.\u0275dir=s.lG2({type:T,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"}}),T})(),Gr=(()=>{class T{constructor(S,K,De){this.ngSwitch=De,De._addCase(),this._view=new or(S,K)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}}return T.\u0275fac=function(S){return new(S||T)(s.Y36(s.s_b),s.Y36(s.Rgc),s.Y36(Jn,9))},T.\u0275dir=s.lG2({type:T,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"}}),T})(),Y=(()=>{class T{constructor(S,K,De){this._ngEl=S,this._differs=K,this._renderer=De,this._ngStyle=null,this._differ=null}set ngStyle(S){this._ngStyle=S,!this._differ&&S&&(this._differ=this._differs.find(S).create())}ngDoCheck(){if(this._differ){const S=this._differ.diff(this._ngStyle);S&&this._applyChanges(S)}}_setStyle(S,K){const[De,et]=S.split(".");null!=(K=null!=K&&et?`${K}${et}`:K)?this._renderer.setStyle(this._ngEl.nativeElement,De,K):this._renderer.removeStyle(this._ngEl.nativeElement,De)}_applyChanges(S){S.forEachRemovedItem(K=>this._setStyle(K.key,null)),S.forEachAddedItem(K=>this._setStyle(K.key,K.currentValue)),S.forEachChangedItem(K=>this._setStyle(K.key,K.currentValue))}}return T.\u0275fac=function(S){return new(S||T)(s.Y36(s.SBq),s.Y36(s.aQg),s.Y36(s.Qsj))},T.\u0275dir=s.lG2({type:T,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"}}),T})(),Re=(()=>{class T{constructor(S){this._viewContainerRef=S,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null}ngOnChanges(S){if(S.ngTemplateOutlet){const K=this._viewContainerRef;this._viewRef&&K.remove(K.indexOf(this._viewRef)),this._viewRef=this.ngTemplateOutlet?K.createEmbeddedView(this.ngTemplateOutlet,this.ngTemplateOutletContext):null}else this._viewRef&&S.ngTemplateOutletContext&&this.ngTemplateOutletContext&&(this._viewRef.context=this.ngTemplateOutletContext)}}return T.\u0275fac=function(S){return new(S||T)(s.Y36(s.s_b))},T.\u0275dir=s.lG2({type:T,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet"},features:[s.TTD]}),T})(),yo=(()=>{class T{}return T.\u0275fac=function(S){return new(S||T)},T.\u0275mod=s.oAB({type:T}),T.\u0275inj=s.cJS({}),T})();const Ii="browser";function Ds(T){return T===Ii}let Kr=(()=>{class T{}return T.\u0275prov=(0,s.Yz7)({token:T,providedIn:"root",factory:()=>new Fi((0,s.LFG)(ie),window)}),T})();class Fi{constructor(W,S){this.document=W,this.window=S,this.offset=()=>[0,0]}setOffset(W){this.offset=Array.isArray(W)?()=>W:W}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(W){this.supportsScrolling()&&this.window.scrollTo(W[0],W[1])}scrollToAnchor(W){if(!this.supportsScrolling())return;const S=function as(T,W){const S=T.getElementById(W)||T.getElementsByName(W)[0];if(S)return S;if("function"==typeof T.createTreeWalker&&T.body&&(T.body.createShadowRoot||T.body.attachShadow)){const K=T.createTreeWalker(T.body,NodeFilter.SHOW_ELEMENT);let De=K.currentNode;for(;De;){const et=De.shadowRoot;if(et){const wt=et.getElementById(W)||et.querySelector(`[name="${W}"]`);if(wt)return wt}De=K.nextNode()}}return null}(this.document,W);S&&(this.scrollToElement(S),S.focus())}setHistoryScrollRestoration(W){if(this.supportScrollRestoration()){const S=this.window.history;S&&S.scrollRestoration&&(S.scrollRestoration=W)}}scrollToElement(W){const S=W.getBoundingClientRect(),K=S.left+this.window.pageXOffset,De=S.top+this.window.pageYOffset,et=this.offset();this.window.scrollTo(K-et[0],De-et[1])}supportScrollRestoration(){try{if(!this.supportsScrolling())return!1;const W=ci(this.window.history)||ci(Object.getPrototypeOf(this.window.history));return!(!W||!W.writable&&!W.set)}catch{return!1}}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch{return!1}}}function ci(T){return Object.getOwnPropertyDescriptor(T,"scrollRestoration")}class Qi{}},529:(Ne,se,M)=>{"use strict";M.d(se,{JF:()=>On,WM:()=>L,eN:()=>We});var s=M(6895),f=M(5062),te=M(1086),Q=M(2916),re=M(1406),X=M(2198),ie=M(4850);class ee{}class he{}class L{constructor(J){this.normalizedNames=new Map,this.lazyUpdate=null,J?this.lazyInit="string"==typeof J?()=>{this.headers=new Map,J.split("\n").forEach(ne=>{const Fe=ne.indexOf(":");if(Fe>0){const He=ne.slice(0,Fe),Ge=He.toLowerCase(),st=ne.slice(Fe+1).trim();this.maybeSetNormalizedName(He,Ge),this.headers.has(Ge)?this.headers.get(Ge).push(st):this.headers.set(Ge,[st])}})}:()=>{this.headers=new Map,Object.keys(J).forEach(ne=>{let Fe=J[ne];const He=ne.toLowerCase();"string"==typeof Fe&&(Fe=[Fe]),Fe.length>0&&(this.headers.set(He,Fe),this.maybeSetNormalizedName(ne,He))})}:this.headers=new Map}has(J){return this.init(),this.headers.has(J.toLowerCase())}get(J){this.init();const ne=this.headers.get(J.toLowerCase());return ne&&ne.length>0?ne[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(J){return this.init(),this.headers.get(J.toLowerCase())||null}append(J,ne){return this.clone({name:J,value:ne,op:"a"})}set(J,ne){return this.clone({name:J,value:ne,op:"s"})}delete(J,ne){return this.clone({name:J,value:ne,op:"d"})}maybeSetNormalizedName(J,ne){this.normalizedNames.has(ne)||this.normalizedNames.set(ne,J)}init(){this.lazyInit&&(this.lazyInit instanceof L?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(ne=>{this.headers.set(ne,J.headers.get(ne)),this.normalizedNames.set(ne,J.normalizedNames.get(ne))})}clone(J){const ne=new L;return ne.lazyInit=this.lazyInit&&this.lazyInit instanceof L?this.lazyInit:this,ne.lazyUpdate=(this.lazyUpdate||[]).concat([J]),ne}applyUpdate(J){const ne=J.name.toLowerCase();switch(J.op){case"a":case"s":let Fe=J.value;if("string"==typeof Fe&&(Fe=[Fe]),0===Fe.length)return;this.maybeSetNormalizedName(J.name,ne);const He=("a"===J.op?this.headers.get(ne):void 0)||[];He.push(...Fe),this.headers.set(ne,He);break;case"d":const Ge=J.value;if(Ge){let st=this.headers.get(ne);if(!st)return;st=st.filter(It=>-1===Ge.indexOf(It)),0===st.length?(this.headers.delete(ne),this.normalizedNames.delete(ne)):this.headers.set(ne,st)}else this.headers.delete(ne),this.normalizedNames.delete(ne)}}forEach(J){this.init(),Array.from(this.normalizedNames.keys()).forEach(ne=>J(this.normalizedNames.get(ne),this.headers.get(ne)))}}class N{encodeKey(J){return le(J)}encodeValue(J){return le(J)}decodeKey(J){return decodeURIComponent(J)}decodeValue(J){return decodeURIComponent(J)}}const oe=/%(\d[a-f0-9])/gi,Pe={40:"@","3A":":",24:"$","2C":",","3B":";","2B":"+","3D":"=","3F":"?","2F":"/"};function le(me){return encodeURIComponent(me).replace(oe,(J,ne)=>Pe[ne]??J)}function Oe(me){return`${me}`}class ke{constructor(J={}){if(this.updates=null,this.cloneFrom=null,this.encoder=J.encoder||new N,J.fromString){if(J.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function G(me,J){const ne=new Map;return me.length>0&&me.replace(/^\?/,"").split("&").forEach(He=>{const Ge=He.indexOf("="),[st,It]=-1==Ge?[J.decodeKey(He),""]:[J.decodeKey(He.slice(0,Ge)),J.decodeValue(He.slice(Ge+1))],dt=ne.get(st)||[];dt.push(It),ne.set(st,dt)}),ne}(J.fromString,this.encoder)}else J.fromObject?(this.map=new Map,Object.keys(J.fromObject).forEach(ne=>{const Fe=J.fromObject[ne];this.map.set(ne,Array.isArray(Fe)?Fe:[Fe])})):this.map=null}has(J){return this.init(),this.map.has(J)}get(J){this.init();const ne=this.map.get(J);return ne?ne[0]:null}getAll(J){return this.init(),this.map.get(J)||null}keys(){return this.init(),Array.from(this.map.keys())}append(J,ne){return this.clone({param:J,value:ne,op:"a"})}appendAll(J){const ne=[];return Object.keys(J).forEach(Fe=>{const He=J[Fe];Array.isArray(He)?He.forEach(Ge=>{ne.push({param:Fe,value:Ge,op:"a"})}):ne.push({param:Fe,value:He,op:"a"})}),this.clone(ne)}set(J,ne){return this.clone({param:J,value:ne,op:"s"})}delete(J,ne){return this.clone({param:J,value:ne,op:"d"})}toString(){return this.init(),this.keys().map(J=>{const ne=this.encoder.encodeKey(J);return this.map.get(J).map(Fe=>ne+"="+this.encoder.encodeValue(Fe)).join("&")}).filter(J=>""!==J).join("&")}clone(J){const ne=new ke({encoder:this.encoder});return ne.cloneFrom=this.cloneFrom||this,ne.updates=(this.updates||[]).concat(J),ne}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 ne=("a"===J.op?this.map.get(J.param):void 0)||[];ne.push(Oe(J.value)),this.map.set(J.param,ne);break;case"d":if(void 0===J.value){this.map.delete(J.param);break}{let Fe=this.map.get(J.param)||[];const He=Fe.indexOf(Oe(J.value));-1!==He&&Fe.splice(He,1),Fe.length>0?this.map.set(J.param,Fe):this.map.delete(J.param)}}}),this.cloneFrom=this.updates=null)}}class it{constructor(){this.map=new Map}set(J,ne){return this.map.set(J,ne),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 pt(me){return typeof ArrayBuffer<"u"&&me instanceof ArrayBuffer}function ze(me){return typeof Blob<"u"&&me instanceof Blob}function xt(me){return typeof FormData<"u"&&me instanceof FormData}class Gt{constructor(J,ne,Fe,He){let Ge;if(this.url=ne,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=J.toUpperCase(),function ut(me){switch(me){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||He?(this.body=void 0!==Fe?Fe:null,Ge=He):Ge=Fe,Ge&&(this.reportProgress=!!Ge.reportProgress,this.withCredentials=!!Ge.withCredentials,Ge.responseType&&(this.responseType=Ge.responseType),Ge.headers&&(this.headers=Ge.headers),Ge.context&&(this.context=Ge.context),Ge.params&&(this.params=Ge.params)),this.headers||(this.headers=new L),this.context||(this.context=new it),this.params){const st=this.params.toString();if(0===st.length)this.urlWithParams=ne;else{const It=ne.indexOf("?");this.urlWithParams=ne+(-1===It?"?":It<ne.length-1?"&":"")+st}}else this.params=new ke,this.urlWithParams=ne}serializeBody(){return null===this.body?null:pt(this.body)||ze(this.body)||xt(this.body)||function gt(me){return typeof URLSearchParams<"u"&&me instanceof URLSearchParams}(this.body)||"string"==typeof this.body?this.body:this.body instanceof ke?this.body.toString():"object"==typeof this.body||"boolean"==typeof this.body||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()}detectContentTypeHeader(){return null===this.body||xt(this.body)?null:ze(this.body)?this.body.type||null:pt(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof ke?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||"boolean"==typeof this.body?"application/json":null}clone(J={}){const ne=J.method||this.method,Fe=J.url||this.url,He=J.responseType||this.responseType,Ge=void 0!==J.body?J.body:this.body,st=void 0!==J.withCredentials?J.withCredentials:this.withCredentials,It=void 0!==J.reportProgress?J.reportProgress:this.reportProgress;let dt=J.headers||this.headers,kt=J.params||this.params;const un=J.context??this.context;return void 0!==J.setHeaders&&(dt=Object.keys(J.setHeaders).reduce((Yt,Tt)=>Yt.set(Tt,J.setHeaders[Tt]),dt)),J.setParams&&(kt=Object.keys(J.setParams).reduce((Yt,Tt)=>Yt.set(Tt,J.setParams[Tt]),kt)),new Gt(ne,Fe,Ge,{params:kt,headers:dt,context:un,reportProgress:It,responseType:He,withCredentials:st})}}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 rt{constructor(J,ne=200,Fe="OK"){this.headers=J.headers||new L,this.status=void 0!==J.status?J.status:ne,this.statusText=J.statusText||Fe,this.url=J.url||null,this.ok=this.status>=200&&this.status<300}}class _e extends rt{constructor(J={}){super(J),this.type=Le.ResponseHeader}clone(J={}){return new _e({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 Xe extends rt{constructor(J={}){super(J),this.type=Le.Response,this.body=void 0!==J.body?J.body:null}clone(J={}){return new Xe({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 tt extends rt{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 ot(me,J){return{body:J,headers:me.headers,context:me.context,observe:me.observe,params:me.params,reportProgress:me.reportProgress,responseType:me.responseType,withCredentials:me.withCredentials}}let We=(()=>{class me{constructor(ne){this.handler=ne}request(ne,Fe,He={}){let Ge;if(ne instanceof Gt)Ge=ne;else{let dt,kt;dt=He.headers instanceof L?He.headers:new L(He.headers),He.params&&(kt=He.params instanceof ke?He.params:new ke({fromObject:He.params})),Ge=new Gt(ne,Fe,void 0!==He.body?He.body:null,{headers:dt,context:He.context,params:kt,reportProgress:He.reportProgress,responseType:He.responseType||"json",withCredentials:He.withCredentials})}const st=(0,te.of)(Ge).pipe((0,re.b)(dt=>this.handler.handle(dt)));if(ne instanceof Gt||"events"===He.observe)return st;const It=st.pipe((0,X.h)(dt=>dt instanceof Xe));switch(He.observe||"body"){case"body":switch(Ge.responseType){case"arraybuffer":return It.pipe((0,ie.U)(dt=>{if(null!==dt.body&&!(dt.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return dt.body}));case"blob":return It.pipe((0,ie.U)(dt=>{if(null!==dt.body&&!(dt.body instanceof Blob))throw new Error("Response is not a Blob.");return dt.body}));case"text":return It.pipe((0,ie.U)(dt=>{if(null!==dt.body&&"string"!=typeof dt.body)throw new Error("Response is not a string.");return dt.body}));default:return It.pipe((0,ie.U)(dt=>dt.body))}case"response":return It;default:throw new Error(`Unreachable: unhandled observe type ${He.observe}}`)}}delete(ne,Fe={}){return this.request("DELETE",ne,Fe)}get(ne,Fe={}){return this.request("GET",ne,Fe)}head(ne,Fe={}){return this.request("HEAD",ne,Fe)}jsonp(ne,Fe){return this.request("JSONP",ne,{params:(new ke).append(Fe,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(ne,Fe={}){return this.request("OPTIONS",ne,Fe)}patch(ne,Fe,He={}){return this.request("PATCH",ne,ot(He,Fe))}post(ne,Fe,He={}){return this.request("POST",ne,ot(He,Fe))}put(ne,Fe,He={}){return this.request("PUT",ne,ot(He,Fe))}}return me.\u0275fac=function(ne){return new(ne||me)(f.LFG(ee))},me.\u0275prov=f.Yz7({token:me,factory:me.\u0275fac}),me})();class zt{constructor(J,ne){this.next=J,this.interceptor=ne}handle(J){return this.interceptor.intercept(J,this.next)}}const cn=new f.OlP("HTTP_INTERCEPTORS");let Lr=(()=>{class me{intercept(ne,Fe){return Fe.handle(ne)}}return me.\u0275fac=function(ne){return new(ne||me)},me.\u0275prov=f.Yz7({token:me,factory:me.\u0275fac}),me})();const Un=/^\)\]\}',?\n/;let Wn=(()=>{class me{constructor(ne){this.xhrFactory=ne}handle(ne){if("JSONP"===ne.method)throw new Error("Attempted to construct Jsonp request without HttpClientJsonpModule installed.");return new Q.y(Fe=>{const He=this.xhrFactory.build();if(He.open(ne.method,ne.urlWithParams),ne.withCredentials&&(He.withCredentials=!0),ne.headers.forEach((Rt,$t)=>He.setRequestHeader(Rt,$t.join(","))),ne.headers.has("Accept")||He.setRequestHeader("Accept","application/json, text/plain, */*"),!ne.headers.has("Content-Type")){const Rt=ne.detectContentTypeHeader();null!==Rt&&He.setRequestHeader("Content-Type",Rt)}if(ne.responseType){const Rt=ne.responseType.toLowerCase();He.responseType="json"!==Rt?Rt:"text"}const Ge=ne.serializeBody();let st=null;const It=()=>{if(null!==st)return st;const Rt=He.statusText||"OK",$t=new L(He.getAllResponseHeaders()),nn=function dr(me){return"responseURL"in me&&me.responseURL?me.responseURL:/^X-Request-URL:/m.test(me.getAllResponseHeaders())?me.getResponseHeader("X-Request-URL"):null}(He)||ne.url;return st=new _e({headers:$t,status:He.status,statusText:Rt,url:nn}),st},dt=()=>{let{headers:Rt,status:$t,statusText:nn,url:sn}=It(),Mt=null;204!==$t&&(Mt=typeof He.response>"u"?He.responseText:He.response),0===$t&&($t=Mt?200:0);let an=$t>=200&&$t<300;if("json"===ne.responseType&&"string"==typeof Mt){const Xt=Mt;Mt=Mt.replace(Un,"");try{Mt=""!==Mt?JSON.parse(Mt):null}catch(_n){Mt=Xt,an&&(an=!1,Mt={error:_n,text:Mt})}}an?(Fe.next(new Xe({body:Mt,headers:Rt,status:$t,statusText:nn,url:sn||void 0})),Fe.complete()):Fe.error(new tt({error:Mt,headers:Rt,status:$t,statusText:nn,url:sn||void 0}))},kt=Rt=>{const{url:$t}=It(),nn=new tt({error:Rt,status:He.status||0,statusText:He.statusText||"Unknown Error",url:$t||void 0});Fe.error(nn)};let un=!1;const Yt=Rt=>{un||(Fe.next(It()),un=!0);let $t={type:Le.DownloadProgress,loaded:Rt.loaded};Rt.lengthComputable&&($t.total=Rt.total),"text"===ne.responseType&&!!He.responseText&&($t.partialText=He.responseText),Fe.next($t)},Tt=Rt=>{let $t={type:Le.UploadProgress,loaded:Rt.loaded};Rt.lengthComputable&&($t.total=Rt.total),Fe.next($t)};return He.addEventListener("load",dt),He.addEventListener("error",kt),He.addEventListener("timeout",kt),He.addEventListener("abort",kt),ne.reportProgress&&(He.addEventListener("progress",Yt),null!==Ge&&He.upload&&He.upload.addEventListener("progress",Tt)),He.send(Ge),Fe.next({type:Le.Sent}),()=>{He.removeEventListener("error",kt),He.removeEventListener("abort",kt),He.removeEventListener("load",dt),He.removeEventListener("timeout",kt),ne.reportProgress&&(He.removeEventListener("progress",Yt),null!==Ge&&He.upload&&He.upload.removeEventListener("progress",Tt)),He.readyState!==He.DONE&&He.abort()}})}}return me.\u0275fac=function(ne){return new(ne||me)(f.LFG(s.JF))},me.\u0275prov=f.Yz7({token:me,factory:me.\u0275fac}),me})();const $r=new f.OlP("XSRF_COOKIE_NAME"),tr=new f.OlP("XSRF_HEADER_NAME");class Mn{}let Vn=(()=>{class me{constructor(ne,Fe,He){this.doc=ne,this.platform=Fe,this.cookieName=He,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const ne=this.doc.cookie||"";return ne!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,s.Mx)(ne,this.cookieName),this.lastCookieString=ne),this.lastToken}}return me.\u0275fac=function(ne){return new(ne||me)(f.LFG(s.K0),f.LFG(f.Lbi),f.LFG($r))},me.\u0275prov=f.Yz7({token:me,factory:me.\u0275fac}),me})(),Ar=(()=>{class me{constructor(ne,Fe){this.tokenService=ne,this.headerName=Fe}intercept(ne,Fe){const He=ne.url.toLowerCase();if("GET"===ne.method||"HEAD"===ne.method||He.startsWith("http://")||He.startsWith("https://"))return Fe.handle(ne);const Ge=this.tokenService.getToken();return null!==Ge&&!ne.headers.has(this.headerName)&&(ne=ne.clone({headers:ne.headers.set(this.headerName,Ge)})),Fe.handle(ne)}}return me.\u0275fac=function(ne){return new(ne||me)(f.LFG(Mn),f.LFG(tr))},me.\u0275prov=f.Yz7({token:me,factory:me.\u0275fac}),me})(),lr=(()=>{class me{constructor(ne,Fe){this.backend=ne,this.injector=Fe,this.chain=null}handle(ne){if(null===this.chain){const Fe=this.injector.get(cn,[]);this.chain=Fe.reduceRight((He,Ge)=>new zt(He,Ge),this.backend)}return this.chain.handle(ne)}}return me.\u0275fac=function(ne){return new(ne||me)(f.LFG(he),f.LFG(f.zs3))},me.\u0275prov=f.Yz7({token:me,factory:me.\u0275fac}),me})(),xr=(()=>{class me{static disable(){return{ngModule:me,providers:[{provide:Ar,useClass:Lr}]}}static withOptions(ne={}){return{ngModule:me,providers:[ne.cookieName?{provide:$r,useValue:ne.cookieName}:[],ne.headerName?{provide:tr,useValue:ne.headerName}:[]]}}}return me.\u0275fac=function(ne){return new(ne||me)},me.\u0275mod=f.oAB({type:me}),me.\u0275inj=f.cJS({providers:[Ar,{provide:cn,useExisting:Ar,multi:!0},{provide:Mn,useClass:Vn},{provide:$r,useValue:"XSRF-TOKEN"},{provide:tr,useValue:"X-XSRF-TOKEN"}]}),me})(),On=(()=>{class me{}return me.\u0275fac=function(ne){return new(ne||me)},me.\u0275mod=f.oAB({type:me}),me.\u0275inj=f.cJS({providers:[We,{provide:ee,useClass:lr},Wn,{provide:he,useExisting:Wn}],imports:[[xr.withOptions({cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"})]]}),me})()},5062:(Ne,se,M)=>{"use strict";M.d(se,{deG:()=>Rf,tb:()=>Jv,AFp:()=>qv,ip1:()=>Zv,CZH:()=>pm,hGG:()=>eE,z2F:()=>wm,sBO:()=>Bw,Sil:()=>mw,_Vd:()=>Df,EJc:()=>pw,SBq:()=>Jc,qLn:()=>aa,vpe:()=>Ko,tBr:()=>Ei,XFs:()=>Me,OlP:()=>Ur,zs3:()=>po,ZZ4:()=>Pm,aQg:()=>Om,soG:()=>mm,YKP:()=>ov,h0i:()=>_u,PXZ:()=>Ow,R0b:()=>Do,FiY:()=>na,Lbi:()=>dw,g9A:()=>Qv,Qsj:()=>ub,FYo:()=>nv,JOm:()=>lo,q3G:()=>gi,tp0:()=>rl,Rgc:()=>nd,dDg:()=>t0,GfV:()=>rv,s_b:()=>Sf,ifc:()=>kt,eFA:()=>s0,G48:()=>Lw,Gpc:()=>Oe,X6Q:()=>kw,_c5:()=>Xw,VLi:()=>Tw,c2e:()=>hw,zSh:()=>Ac,wAp:()=>Ln,vHH:()=>ut,EiD:()=>Wi,mCW:()=>sa,qzn:()=>wa,JVY:()=>ol,pB0:()=>Ps,eBb:()=>Wf,L6k:()=>Md,LAX:()=>Yf,cg1:()=>zg,kL8:()=>Ty,yhl:()=>Dd,dqk:()=>$t,sIi:()=>wl,CqO:()=>A_,QGY:()=>kg,F4k:()=>x_,RDi:()=>W,AaK:()=>oe,z3N:()=>jn,qOj:()=>Vc,TTD:()=>Ii,_Bn:()=>Xy,xp6:()=>uh,uIk:()=>jc,Q2q:()=>$c,Tol:()=>J_,Gre:()=>py,ekj:()=>jg,Suo:()=>Tv,Xpm:()=>Wt,lG2:()=>Ut,Yz7:()=>Wn,cJS:()=>tr,oAB:()=>Be,Yjl:()=>At,Y36:()=>Oi,_UZ:()=>Rg,GkF:()=>Ng,BQk:()=>gf,ynx:()=>pf,qZA:()=>Ml,TgZ:()=>Fs,EpF:()=>O_,n5z:()=>Cr,LFG:()=>Pr,$8M:()=>to,$Z:()=>ji,NdJ:()=>Lg,CRH:()=>Sv,oxw:()=>N_,Hsn:()=>L_,F$t:()=>k_,Q6J:()=>Zi,s9C:()=>Vg,MGl:()=>mf,hYB:()=>Ug,VKq:()=>cv,WLB:()=>dv,kEZ:()=>hv,l5B:()=>fv,iGM:()=>Dv,MAs:()=>uf,CHM:()=>di,oJD:()=>ll,uOi:()=>Wl,LSH:()=>zl,B6R:()=>ur,Udp:()=>Hg,YNc:()=>lf,W1O:()=>Av,_uU:()=>sy,Oqu:()=>Gg,hij:()=>yf,Gf:()=>Mv});var s=M(5529),f=M(2654),te=M(2916),Q=M(6787),re=M(1762);class ie{constructor(t,n){this.subjectFactory=t,this.selector=n}call(t,n){const{selector:i}=this,o=this.subjectFactory(),l=i(o).subscribe(t);return l.add(n.subscribe(o)),l}}var ee=M(4327);function he(){return new s.xQ}function N(e){for(let t in e)if(e[t]===N)return t;throw Error("Could not find renamed property on target object.")}function G(e,t){for(const n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function oe(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(oe).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 Pe(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const le=N({__forward_ref__:N});function Oe(e){return e.__forward_ref__=Oe,e.toString=function(){return oe(this())},e}function ke(e){return yt(e)?e():e}function yt(e){return"function"==typeof e&&e.hasOwnProperty(le)&&e.__forward_ref__===Oe}class ut extends Error{constructor(t,n){super(function pt(e,t){return`NG0${Math.abs(e)}${t?": "+t:""}`}(t,n)),this.code=t}}function ze(e){return"string"==typeof e?e:null==e?"":String(e)}function xt(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():ze(e)}function rt(e,t){const n=t?` in ${t}`:"";throw new ut(-201,`No provider for ${xt(e)} found${n}`)}function zn(e,t){null==e&&function Pn(e,t,n,i){throw new Error(`ASSERTION ERROR: ${e}`+(null==i?"":` [Expected=> ${n} ${i} ${t} <=Actual]`))}(t,e,null,"!=")}function Wn(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function tr(e){return{providers:e.providers||[],imports:e.imports||[]}}function Mn(e){return Vn(e,hr)||Vn(e,On)}function Vn(e,t){return e.hasOwnProperty(t)?e[t]:null}function Yn(e){return e&&(e.hasOwnProperty(xr)||e.hasOwnProperty(Ce))?e[xr]:null}const hr=N({\u0275prov:N}),xr=N({\u0275inj:N}),On=N({ngInjectableDef:N}),Ce=N({ngInjectorDef:N});var Me=(()=>((Me=Me||{})[Me.Default=0]="Default",Me[Me.Host=1]="Host",Me[Me.Self=2]="Self",Me[Me.SkipSelf=4]="SkipSelf",Me[Me.Optional=8]="Optional",Me))();let me;function ne(e){const t=me;return me=e,t}function Fe(e,t,n){const i=Mn(e);return i&&"root"==i.providedIn?void 0===i.value?i.value=i.factory():i.value:n&Me.Optional?null:void 0!==t?t:void rt(oe(e),"Injector")}function Ge(e){return{toString:e}.toString()}var st=(()=>((st=st||{})[st.OnPush=0]="OnPush",st[st.Default=1]="Default",st))(),kt=(()=>{return(e=kt||(kt={}))[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",kt;var e})();const un=typeof globalThis<"u"&&globalThis,Yt=typeof window<"u"&&window,Tt=typeof self<"u"&&typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&self,$t=un||typeof global<"u"&&global||Yt||Tt,Mt={},an=[],Xt=N({\u0275cmp:N}),_n=N({\u0275dir:N}),xn=N({\u0275pipe:N}),Bt=N({\u0275mod:N}),En=N({\u0275fac:N}),Vt=N({__NG_ELEMENT_ID__:N});let qt=0;function Wt(e){return Ge(()=>{const n={},i={type:e.type,providersResolver:null,decls:e.decls,vars:e.vars,factory:null,template:e.template||null,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:n,inputs:null,outputs:null,exportAs:e.exportAs||null,onPush:e.changeDetection===st.OnPush,directiveDefs:null,pipeDefs:null,selectors:e.selectors||an,viewQuery:e.viewQuery||null,features:e.features||null,data:e.data||{},encapsulation:e.encapsulation||kt.Emulated,id:"c",styles:e.styles||an,_:null,setInput:null,schemas:e.schemas||null,tView:null},o=e.directives,l=e.features,c=e.pipes;return i.id+=qt++,i.inputs=Ft(e.inputs,n),i.outputs=Ft(e.outputs),l&&l.forEach(m=>m(i)),i.directiveDefs=o?()=>("function"==typeof o?o():o).map($e):null,i.pipeDefs=c?()=>("function"==typeof c?c():c).map(we):null,i})}function ur(e,t,n){const i=e.\u0275cmp;i.directiveDefs=()=>t.map($e),i.pipeDefs=()=>n.map(we)}function $e(e){return ge(e)||function Ue(e){return e[_n]||null}(e)}function we(e){return function _t(e){return e[xn]||null}(e)}const ce={};function Be(e){return Ge(()=>{const t={type:e.type,bootstrap:e.bootstrap||an,declarations:e.declarations||an,imports:e.imports||an,exports:e.exports||an,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null};return null!=e.id&&(ce[e.id]=e.type),t})}function Ft(e,t){if(null==e)return Mt;const n={};for(const i in e)if(e.hasOwnProperty(i)){let o=e[i],l=o;Array.isArray(o)&&(l=o[1],o=o[0]),n[o]=i,t&&(t[o]=l)}return n}const Ut=Wt;function At(e){return{type:e.type,name:e.name,factory:null,pure:!1!==e.pure,onDestroy:e.type.prototype.ngOnDestroy||null}}function ge(e){return e[Xt]||null}function Nt(e,t){const n=e[Bt]||null;if(!n&&!0===t)throw new Error(`Type ${oe(e)} does not have '\u0275mod' property.`);return n}function oi(e){return Array.isArray(e)&&"object"==typeof e[1]}function Y(e){return Array.isArray(e)&&!0===e[1]}function Re(e){return 0!=(8&e.flags)}function I(e){return 2==(2&e.flags)}function Ie(e){return 1==(1&e.flags)}function Ot(e){return null!==e.template}function Bn(e){return 0!=(512&e[2])}function wi(e,t){return e.hasOwnProperty(En)?e[En]:null}class yo{constructor(t,n,i){this.previousValue=t,this.currentValue=n,this.firstChange=i}isFirstChange(){return this.firstChange}}function Ii(){return Bs}function Bs(e){return e.type.prototype.ngOnChanges&&(e.setInput=Vs),To}function To(){const e=os(this),t=e?.current;if(t){const n=e.previous;if(n===Mt)e.previous=t;else for(let i in t)n[i]=t[i];e.current=null,this.ngOnChanges(t)}}function Vs(e,t,n,i){const o=os(e)||function Ir(e,t){return e[Ds]=t}(e,{previous:Mt,current:null}),l=o.current||(o.current={}),c=o.previous,m=this.declaredInputs[n],v=c[m];l[m]=new yo(v&&v.currentValue,t,c===Mt),e[i]=t}Ii.ngInherit=!0;const Ds="__ngSimpleChanges__";function os(e){return e[Ds]||null}let T;function W(e){T=e}function S(){return void 0!==T?T:typeof document<"u"?document:void 0}function De(e){return!!e.listen}const et={createRenderer:(e,t)=>S()};function Lt(e){for(;Array.isArray(e);)e=e[0];return e}function cr(e,t){return Lt(t[e])}function rn(e,t){return Lt(t[e.index])}function er(e,t){return e.data[t]}function Wr(e,t){const n=t[e];return oi(n)?n:n[0]}function Ti(e){return 4==(4&e[2])}function ls(e){return 128==(128&e[2])}function P(e,t){return null==t?null:e[t]}function E(e){e[18]=0}function C(e,t){e[5]+=t;let n=e,i=e[3];for(;null!==i&&(1===t&&1===n[5]||-1===t&&0===n[5]);)i[5]+=t,n=i,i=i[3]}const H={lFrame:Zr(null),bindingsEnabled:!0};function Gi(){return H.bindingsEnabled}function Et(){return H.lFrame.lView}function nr(){return H.lFrame.tView}function di(e){return H.lFrame.contextLView=e,e[8]}function Qr(){let e=Hs();for(;null!==e&&64===e.type;)e=e.parent;return e}function Hs(){return H.lFrame.currentTNode}function Ri(e,t){const n=H.lFrame;n.currentTNode=e,n.isParent=t}function js(){return H.lFrame.isParent}function Jo(){H.lFrame.isParent=!1}function b(){const e=H.lFrame;let t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function be(){return H.lFrame.bindingIndex++}function ye(e){const t=H.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function en(e,t){const n=H.lFrame;n.bindingIndex=n.bindingRootIndex=e,Sn(t)}function Sn(e){H.lFrame.currentDirectiveIndex=e}function bn(){return H.lFrame.currentQueryIndex}function Hn(e){H.lFrame.currentQueryIndex=e}function Sr(e){const t=e[1];return 2===t.type?t.declTNode:1===t.type?e[6]:null}function ri(e,t,n){if(n&Me.SkipSelf){let o=t,l=e;for(;!(o=o.parent,null!==o||n&Me.Host||(o=Sr(l),null===o||(l=l[15],10&o.type))););if(null===o)return!1;t=o,e=l}const i=H.lFrame=hi();return i.currentTNode=t,i.lView=e,!0}function Yr(e){const t=hi(),n=e[1];H.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function hi(){const e=H.lFrame,t=null===e?null:e.child;return null===t?Zr(e):t}function Zr(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 Ve(){const e=H.lFrame;return H.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const lt=Ve;function Je(){const e=Ve();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 yn(){return H.lFrame.selectedIndex}function Rr(e){H.lFrame.selectedIndex=e}function vn(){const e=H.lFrame;return er(e.tView,e.selectedIndex)}function qn(e,t){for(let n=t.directiveStart,i=t.directiveEnd;n<i;n++){const l=e.data[n].type.prototype,{ngAfterContentInit:c,ngAfterContentChecked:m,ngAfterViewInit:v,ngAfterViewChecked:A,ngOnDestroy:j}=l;c&&(e.contentHooks||(e.contentHooks=[])).push(-n,c),m&&((e.contentHooks||(e.contentHooks=[])).push(n,m),(e.contentCheckHooks||(e.contentCheckHooks=[])).push(n,m)),v&&(e.viewHooks||(e.viewHooks=[])).push(-n,v),A&&((e.viewHooks||(e.viewHooks=[])).push(n,A),(e.viewCheckHooks||(e.viewCheckHooks=[])).push(n,A)),null!=j&&(e.destroyHooks||(e.destroyHooks=[])).push(n,j)}}function Vr(e,t,n){es(e,t,3,n)}function Gn(e,t,n,i){(3&e[2])===n&&es(e,t,n,i)}function mi(e,t){let n=e[2];(3&n)===t&&(n&=2047,n+=1,e[2]=n)}function es(e,t,n,i){const l=i??-1,c=t.length-1;let m=0;for(let v=void 0!==i?65535&e[18]:0;v<c;v++)if("number"==typeof t[v+1]){if(m=t[v],null!=i&&m>=i)break}else t[v]<0&&(e[18]+=65536),(m<l||-1==l)&&(Nr(e,n,t,v),e[18]=(4294901760&e[18])+v+2),v++}function Nr(e,t,n,i){const o=n[i]<0,l=n[i+1],m=e[o?-n[i]:n[i]];if(o){if(e[2]>>11<e[18]>>16&&(3&e[2])===t){e[2]+=2048;try{l.call(m)}finally{}}}else try{l.call(m)}finally{}}class vo{constructor(t,n,i){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=i}}function eo(e,t,n){const i=De(e);let o=0;for(;o<n.length;){const l=n[o];if("number"==typeof l){if(0!==l)break;o++;const c=n[o++],m=n[o++],v=n[o++];i?e.setAttribute(t,m,v,c):t.setAttributeNS(c,m,v)}else{const c=l,m=n[++o];$s(c)?i&&e.setProperty(t,c,m):i?e.setAttribute(t,c,m):t.setAttribute(c,m),o++}}return o}function ma(e){return 3===e||4===e||6===e}function $s(e){return 64===e.charCodeAt(0)}function Gs(e,t){if(null!==t&&0!==t.length)if(null===e||0===e.length)e=t.slice();else{let n=-1;for(let i=0;i<t.length;i++){const o=t[i];"number"==typeof o?n=o:0===n||ds(e,n,o,null,-1===n||2===n?t[++i]:null)}}return e}function ds(e,t,n,i,o){let l=0,c=e.length;if(-1===t)c=-1;else for(;l<e.length;){const m=e[l++];if("number"==typeof m){if(m===t){c=-1;break}if(m>t){c=l-1;break}}}for(;l<e.length;){const m=e[l];if("number"==typeof m)break;if(m===n){if(null===i)return void(null!==o&&(e[l+1]=o));if(i===e[l+1])return void(e[l+2]=o)}l++,null!==i&&l++,null!==o&&l++}-1!==c&&(e.splice(c,0,t),l=c+1),e.splice(l++,0,n),null!==i&&e.splice(l++,0,i),null!==o&&e.splice(l++,0,o)}function qa(e){return-1!==e}function Po(e){return 32767&e}function zs(e,t){let n=function wu(e){return e>>16}(e),i=t;for(;n>0;)i=i[15],n--;return i}let Oo=!0;function xo(e){const t=Oo;return Oo=e,t}let Eu=0;function ti(e,t){const n=Qa(e,t);if(-1!==n)return n;const i=t[1];i.firstCreatePass&&(e.injectorIndex=t.length,Ka(i.data,e),Ka(t,null),Ka(i.blueprint,null));const o=Ao(e,t),l=e.injectorIndex;if(qa(o)){const c=Po(o),m=zs(o,t),v=m[1].data;for(let A=0;A<8;A++)t[l+A]=m[c+A]|v[c+A]}return t[l+8]=o,l}function Ka(e,t){e.push(0,0,0,0,0,0,0,0,t)}function Qa(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function Ao(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let n=0,i=null,o=t;for(;null!==o;){const l=o[1],c=l.type;if(i=2===c?l.declTNode:1===c?o[6]:null,null===i)return-1;if(n++,o=o[15],-1!==i.injectorIndex)return i.injectorIndex|n<<16}return-1}function ya(e,t,n){!function pi(e,t,n){let i;"string"==typeof n?i=n.charCodeAt(0)||0:n.hasOwnProperty(Vt)&&(i=n[Vt]),null==i&&(i=n[Vt]=Eu++);const o=255&i;t.data[e+(o>>5)]|=1<<o}(e,t,n)}function _(e,t,n){if(n&Me.Optional)return e;rt(t,"NodeInjector")}function g(e,t,n,i){if(n&Me.Optional&&void 0===i&&(i=null),0==(n&(Me.Self|Me.Host))){const o=e[9],l=ne(void 0);try{return o?o.get(t,i,n&Me.Optional):Fe(t,i,n&Me.Optional)}finally{ne(l)}}return _(i,t,n)}function h(e,t,n,i=Me.Default,o){if(null!==e){const l=function mt(e){if("string"==typeof e)return e.charCodeAt(0)||0;const t=e.hasOwnProperty(Vt)?e[Vt]:void 0;return"number"==typeof t?t>=0?255&t:O:t}(n);if("function"==typeof l){if(!ri(t,e,i))return i&Me.Host?_(o,n,i):g(t,n,i,o);try{const c=l(i);if(null!=c||i&Me.Optional)return c;rt(n)}finally{lt()}}else if("number"==typeof l){let c=null,m=Qa(e,t),v=-1,A=i&Me.Host?t[16][6]:null;for((-1===m||i&Me.SkipSelf)&&(v=-1===m?Ao(e,t):t[m+8],-1!==v&&_r(i,!1)?(c=t[1],m=Po(v),t=zs(v,t)):m=-1);-1!==m;){const j=t[1];if(dn(l,m,j.data)){const fe=Z(m,t,n,c,i,A);if(fe!==D)return fe}v=t[m+8],-1!==v&&_r(i,t[1].data[m+8]===A)&&dn(l,m,t)?(c=j,m=Po(v),t=zs(v,t)):m=-1}}}return g(t,n,i,o)}const D={};function O(){return new gn(Qr(),Et())}function Z(e,t,n,i,o,l){const c=t[1],m=c.data[e+8],j=pe(m,c,n,null==i?I(m)&&Oo:i!=c&&0!=(3&m.type),o&Me.Host&&l===m);return null!==j?Te(t,c,j,m):D}function pe(e,t,n,i,o){const l=e.providerIndexes,c=t.data,m=1048575&l,v=e.directiveStart,j=l>>20,Se=o?m+j:e.directiveEnd;for(let qe=i?m:m+j;qe<Se;qe++){const ft=c[qe];if(qe<v&&n===ft||qe>=v&&ft.type===n)return qe}if(o){const qe=c[v];if(qe&&Ot(qe)&&qe.type===n)return v}return null}function Te(e,t,n,i){let o=e[n];const l=t.data;if(function _i(e){return e instanceof vo}(o)){const c=o;c.resolving&&function gt(e,t){const n=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new ut(-200,`Circular dependency in DI detected for ${e}${n}`)}(xt(l[n]));const m=xo(c.canSeeViewProviders);c.resolving=!0;const v=c.injectImpl?ne(c.injectImpl):null;ri(e,i,Me.Default);try{o=e[n]=c.factory(void 0,l,e,i),t.firstCreatePass&&n>=i.directiveStart&&function wn(e,t,n){const{ngOnChanges:i,ngOnInit:o,ngDoCheck:l}=t.type.prototype;if(i){const c=Bs(t);(n.preOrderHooks||(n.preOrderHooks=[])).push(e,c),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,c)}o&&(n.preOrderHooks||(n.preOrderHooks=[])).push(0-e,o),l&&((n.preOrderHooks||(n.preOrderHooks=[])).push(e,l),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,l))}(n,l[n],t)}finally{null!==v&&ne(v),xo(m),c.resolving=!1,lt()}}return o}function dn(e,t,n){return!!(n[t+(e>>5)]&1<<e)}function _r(e,t){return!(e&Me.Self||e&Me.Host&&t)}class gn{constructor(t,n){this._tNode=t,this._lView=n}get(t,n,i){return h(this._tNode,this._lView,t,i,n)}}function Cr(e){return Ge(()=>{const t=e.prototype.constructor,n=t[En]||br(t),i=Object.prototype;let o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==i;){const l=o[En]||br(o);if(l&&l!==n)return l;o=Object.getPrototypeOf(o)}return l=>new l})}function br(e){return yt(e)?()=>{const t=br(ke(e));return t&&t()}:wi(e)}function to(e){return function Al(e,t){if("class"===t)return e.classes;if("style"===t)return e.styles;const n=e.attrs;if(n){const i=n.length;let o=0;for(;o<i;){const l=n[o];if(ma(l))break;if(0===l)o+=2;else if("number"==typeof l)for(o++;o<i&&"string"==typeof n[o];)o++;else{if(l===t)return n[o+1];o+=2}}}return null}(Qr(),e)}const zi="__parameters__";function va(e,t,n){return Ge(()=>{const i=function rr(e){return function(...n){if(e){const i=e(...n);for(const o in i)this[o]=i[o]}}}(t);function o(...l){if(this instanceof o)return i.apply(this,l),this;const c=new o(...l);return m.annotation=c,m;function m(v,A,j){const fe=v.hasOwnProperty(zi)?v[zi]:Object.defineProperty(v,zi,{value:[]})[zi];for(;fe.length<=j;)fe.push(null);return(fe[j]=fe[j]||[]).push(c),v}}return n&&(o.prototype=Object.create(n.prototype)),o.prototype.ngMetadataName=e,o.annotationCls=o,o})}class Ur{constructor(t,n){this._desc=t,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof n?this.__NG_ELEMENT_ID__=n:void 0!==n&&(this.\u0275prov=Wn({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}toString(){return`InjectionToken ${this._desc}`}}const Rf=new Ur("AnalyzeForEntryComponents");function Ts(e,t){void 0===t&&(t=e);for(let n=0;n<e.length;n++){let i=e[n];Array.isArray(i)?(t===e&&(t=e.slice(0,n)),Ts(i,t)):t!==e&&t.push(i)}return t}function no(e,t){e.forEach(n=>Array.isArray(n)?no(n,t):t(n))}function od(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function ro(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function Xa(e,t){const n=[];for(let i=0;i<e;i++)n.push(t);return n}function fs(e,t,n){let i=Xo(e,t);return i>=0?e[1|i]=n:(i=~i,function kf(e,t,n,i){let o=e.length;if(o==t)e.push(n,i);else if(1===o)e.push(i,e[0]),e[0]=n;else{for(o--,e.push(e[o-1],e[o]);o>t;)e[o]=e[o-2],o--;e[t]=n,e[t+1]=i}}(e,i,t,n)),i}function Il(e,t){const n=Xo(e,t);if(n>=0)return e[1|n]}function Xo(e,t){return function ud(e,t,n){let i=0,o=e.length>>n;for(;o!==i;){const l=i+(o-i>>1),c=e[l<<n];if(t===c)return l<<n;c>t?o=l:i=l+1}return~(o<<n)}(e,t,1)}const ki={},Tu="__NG_DI_FLAG__",tl="ngTempTokenPath",nl=/\n/gm,Su="__source",Bf=N({provide:String,useValue:N});let Ro;function fd(e){const t=Ro;return Ro=e,t}function pd(e,t=Me.Default){if(void 0===Ro)throw new ut(203,"");return null===Ro?Fe(e,void 0,t):Ro.get(e,t&Me.Optional?null:void 0,t)}function Pr(e,t=Me.Default){return(function J(){return me}()||pd)(ke(e),t)}const gd=Pr;function Ss(e){const t=[];for(let n=0;n<e.length;n++){const i=ke(e[n]);if(Array.isArray(i)){if(0===i.length)throw new ut(900,"");let o,l=Me.Default;for(let c=0;c<i.length;c++){const m=i[c],v=Nl(m);"number"==typeof v?-1===v?o=m.token:l|=v:o=m}t.push(Pr(o,l))}else t.push(Pr(i))}return t}function ea(e,t){return e[Tu]=t,e.prototype[Tu]=t,e}function Nl(e){return e[Tu]}const Ei=ea(va("Inject",e=>({token:e})),-1),na=ea(va("Optional"),8),rl=ea(va("SkipSelf"),4);let Ll,Bl;function ra(e){return function sl(){if(void 0===Ll&&(Ll=null,$t.trustedTypes))try{Ll=$t.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Ll}()?.createHTML(e)||e}function Vl(){if(void 0===Bl&&(Bl=null,$t.trustedTypes))try{Bl=$t.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Bl}function Fu(e){return Vl()?.createHTML(e)||e}function Ru(e){return Vl()?.createScriptURL(e)||e}class ia{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see https://g.co/ng/security#xss)`}}class Nu extends ia{getTypeName(){return"HTML"}}class Ed extends ia{getTypeName(){return"Style"}}class ku extends ia{getTypeName(){return"Script"}}class zf extends ia{getTypeName(){return"URL"}}class Lu extends ia{getTypeName(){return"ResourceURL"}}function jn(e){return e instanceof ia?e.changingThisBreaksApplicationSecurity:e}function wa(e,t){const n=Dd(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 Dd(e){return e instanceof ia&&e.getTypeName()||null}function ol(e){return new Nu(e)}function Md(e){return new Ed(e)}function Wf(e){return new ku(e)}function Yf(e){return new zf(e)}function Ps(e){return new Lu(e)}class Ul{constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t="<body><remove></remove>"+t;try{const n=(new window.DOMParser).parseFromString(ra(t),"text/html").body;return null===n?this.inertDocumentHelper.getInertBodyElement(t):(n.removeChild(n.firstChild),n)}catch{return null}}}class Bu{constructor(t){if(this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert"),null==this.inertDocument.body){const n=this.inertDocument.createElement("html");this.inertDocument.appendChild(n);const i=this.inertDocument.createElement("body");n.appendChild(i)}}getInertBodyElement(t){const n=this.inertDocument.createElement("template");if("content"in n)return n.innerHTML=ra(t),n;const i=this.inertDocument.createElement("body");return i.innerHTML=ra(t),this.defaultDoc.documentMode&&this.stripCustomNsAttrs(i),i}stripCustomNsAttrs(t){const n=t.attributes;for(let o=n.length-1;0<o;o--){const c=n.item(o).name;("xmlns:ns1"===c||0===c.indexOf("ns1:"))&&t.removeAttribute(c)}let i=t.firstChild;for(;i;)i.nodeType===Node.ELEMENT_NODE&&this.stripCustomNsAttrs(i),i=i.nextSibling}}const Pd=/^(?:(?:https?|mailto|ftp|tel|file|sms):|[^&:/?#]*(?:[/?#]|$))/gi,ko=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[a-z0-9+\/]+=*$/i;function sa(e){return(e=String(e)).match(Pd)||e.match(ko)?e:"unsafe:"+e}function ps(e){const t={};for(const n of e.split(","))t[n]=!0;return t}function Ea(...e){const t={};for(const n of e)for(const i in n)n.hasOwnProperty(i)&&(t[i]=!0);return t}const Hl=ps("area,br,col,hr,img,wbr"),Uu=ps("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),jl=ps("rp,rt"),so=Ea(Hl,Ea(Uu,ps("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),Ea(jl,ps("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),Ea(jl,Uu)),$l=ps("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),Gl=ps("srcset"),Ad=Ea($l,Gl,ps("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),ps("aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext")),Zf=ps("script,style,template");class Id{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(t){let n=t.firstChild,i=!0;for(;n;)if(n.nodeType===Node.ELEMENT_NODE?i=this.startElement(n):n.nodeType===Node.TEXT_NODE?this.chars(n.nodeValue):this.sanitizedSomething=!0,i&&n.firstChild)n=n.firstChild;else for(;n;){n.nodeType===Node.ELEMENT_NODE&&this.endElement(n);let o=this.checkClobberedElement(n,n.nextSibling);if(o){n=o;break}n=this.checkClobberedElement(n,n.parentNode)}return this.buf.join("")}startElement(t){const n=t.nodeName.toLowerCase();if(!so.hasOwnProperty(n))return this.sanitizedSomething=!0,!Zf.hasOwnProperty(n);this.buf.push("<"),this.buf.push(n);const i=t.attributes;for(let o=0;o<i.length;o++){const l=i.item(o),c=l.name,m=c.toLowerCase();if(!Ad.hasOwnProperty(m)){this.sanitizedSomething=!0;continue}let v=l.value;$l[m]&&(v=sa(v)),Gl[m]&&(e=v,v=(e=String(e)).split(",").map(t=>sa(t.trim())).join(", ")),this.buf.push(" ",c,'="',Hu(v),'"')}var e;return this.buf.push(">"),!0}endElement(t){const n=t.nodeName.toLowerCase();so.hasOwnProperty(n)&&!Hl.hasOwnProperty(n)&&(this.buf.push("</"),this.buf.push(n),this.buf.push(">"))}chars(t){this.buf.push(Hu(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 Fd=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,qf=/([^\#-~ |!])/g;function Hu(e){return e.replace(/&/g,"&amp;").replace(Fd,function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"}).replace(qf,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")}let al;function Wi(e,t){let n=null;try{al=al||function Td(e){const t=new Bu(e);return function Sd(){try{return!!(new window.DOMParser).parseFromString(ra(""),"text/html")}catch{return!1}}()?new Ul(t):t}(e);let i=t?String(t):"";n=al.getInertBodyElement(i);let o=5,l=i;do{if(0===o)throw new Error("Failed to sanitize html because the input is unstable");o--,i=l,l=n.innerHTML,n=al.getInertBodyElement(i)}while(i!==l);return ra((new Id).sanitizeChildren(xs(n)||n))}finally{if(n){const i=xs(n)||n;for(;i.firstChild;)i.removeChild(i.firstChild)}}}function xs(e){return"content"in e&&function Kf(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 ll(e){const t=Lo();return t?Fu(t.sanitize(gi.HTML,e)||""):wa(e,"HTML")?Fu(jn(e)):Wi(S(),ze(e))}function zl(e){const t=Lo();return t?t.sanitize(gi.URL,e)||"":wa(e,"URL")?jn(e):sa(ze(e))}function Wl(e){const t=Lo();if(t)return Ru(t.sanitize(gi.RESOURCE_URL,e)||"");if(wa(e,"ResourceURL"))return Ru(jn(e));throw new ut(904,"")}function Lo(){const e=Et();return e&&e[12]}const cl="__ngContext__";function Bi(e,t){e[cl]=t}function Pa(e){const t=function Sa(e){return e[cl]||null}(e);return t?Array.isArray(t)?t:t.lView:null}function dl(e){return e.ngOriginalError}function Wu(e,...t){e.error(...t)}class aa{constructor(){this._console=console}handleError(t){const n=this._findOriginalError(t),i=function zu(e){return e&&e.ngErrorLogger||Wu}(t);i(this._console,"ERROR",t),n&&i(this._console,"ORIGINAL ERROR",n)}_findOriginalError(t){let n=t&&dl(t);for(;n&&dl(n);)n=dl(n);return n||null}}const ip=(()=>(typeof requestAnimationFrame<"u"&&requestAnimationFrame||setTimeout).bind($t))();function ao(e){return e instanceof Function?e():e}var lo=(()=>((lo=lo||{})[lo.Important=1]="Important",lo[lo.DashCase=2]="DashCase",lo))();function qu(e,t){return undefined(e,t)}function Ia(e){const t=e[3];return Y(t)?t[3]:t}function Qu(e){return Wd(e[13])}function Ju(e){return Wd(e[4])}function Wd(e){for(;null!==e&&!Y(e);)e=e[4];return e}function ua(e,t,n,i,o){if(null!=i){let l,c=!1;Y(i)?l=i:oi(i)&&(c=!0,i=i[0]);const m=Lt(i);0===e&&null!==n?null==o?Xd(t,n,m):da(t,n,m,o||null,!0):1===e&&null!==n?da(t,n,m,o||null,!0):2===e?function rh(e,t,n){const i=Ql(e,t);i&&function cp(e,t,n,i){De(e)?e.removeChild(t,n,i):t.removeChild(n)}(e,i,t,n)}(t,m,c):3===e&&t.destroyNode(m),null!=l&&function fp(e,t,n,i,o){const l=n[7];l!==Lt(n)&&ua(t,e,i,l,o);for(let m=10;m<n.length;m++){const v=n[m];pl(v[1],v,e,t,i,l)}}(t,e,l,n,o)}}function ca(e,t,n){if(De(e))return e.createElement(t,n);{const i=null!==n?function Qi(e){const t=e.toLowerCase();return"svg"===t?"http://www.w3.org/2000/svg":"math"===t?"http://www.w3.org/1998/MathML/":null}(n):null;return null===i?e.createElement(t):e.createElementNS(i,t)}}function Vo(e,t){const n=e[9],i=n.indexOf(t),o=t[3];1024&t[2]&&(t[2]&=-1025,C(o,-1)),n.splice(i,1)}function tc(e,t){if(e.length<=10)return;const n=10+t,i=e[n];if(i){const o=i[17];null!==o&&o!==e&&Vo(o,i),t>0&&(e[n-1][4]=i[4]);const l=ro(e,10+t);!function ec(e,t){pl(e,t,t[11],2,null,null),t[0]=null,t[6]=null}(i[1],i);const c=l[19];null!==c&&c.detachView(l[1]),i[3]=null,i[4]=null,i[2]&=-129}return i}function nc(e,t){if(!(256&t[2])){const n=t[11];De(n)&&n.destroyNode&&pl(e,t,n,3,null,null),function Kl(e){let t=e[13];if(!t)return rc(e[1],e);for(;t;){let n=null;if(oi(t))n=t[13];else{const i=t[10];i&&(n=i)}if(!n){for(;t&&!t[4]&&t!==e;)oi(t)&&rc(t[1],t),t=t[3];null===t&&(t=e),oi(t)&&rc(t[1],t),n=t&&t[4]}t=n}}(t)}}function rc(e,t){if(!(256&t[2])){t[2]&=-129,t[2]|=256,function up(e,t){let n;if(null!=e&&null!=(n=e.destroyHooks))for(let i=0;i<n.length;i+=2){const o=t[n[i]];if(!(o instanceof vo)){const l=n[i+1];if(Array.isArray(l))for(let c=0;c<l.length;c+=2){const m=o[l[c]],v=l[c+1];try{v.call(m)}finally{}}else try{l.call(o)}finally{}}}}(e,t),function lp(e,t){const n=e.cleanup,i=t[7];let o=-1;if(null!==n)for(let l=0;l<n.length-1;l+=2)if("string"==typeof n[l]){const c=n[l+1],m="function"==typeof c?c(t):Lt(t[c]),v=i[o=n[l+2]],A=n[l+3];"boolean"==typeof A?m.removeEventListener(n[l],v,A):A>=0?i[o=A]():i[o=-A].unsubscribe(),l+=2}else{const c=i[o=n[l+1]];n[l].call(c)}if(null!==i){for(let l=o+1;l<i.length;l++)i[l]();t[7]=null}}(e,t),1===t[1].type&&De(t[11])&&t[11].destroy();const n=t[17];if(null!==n&&Y(t[3])){n!==t[3]&&Vo(n,t);const i=t[19];null!==i&&i.detachView(e)}}}function Qd(e,t,n){return function Jd(e,t,n){let i=t;for(;null!==i&&40&i.type;)i=(t=i).parent;if(null===i)return n[0];if(2&i.flags){const o=e.data[i.directiveStart].encapsulation;if(o===kt.None||o===kt.Emulated)return null}return rn(i,n)}(e,t.parent,n)}function da(e,t,n,i,o){De(e)?e.insertBefore(t,n,i,o):t.insertBefore(n,i,o)}function Xd(e,t,n){De(e)?e.appendChild(t,n):t.appendChild(n)}function eh(e,t,n,i,o){null!==i?da(e,t,n,i,o):Xd(e,t,n)}function Ql(e,t){return De(e)?e.parentNode(t):t.parentNode}function ic(e,t,n){return oc(e,t,n)}let oc=function sc(e,t,n){return 40&e.type?rn(e,n):null};function Jl(e,t,n,i){const o=Qd(e,i,t),l=t[11],m=ic(i.parent||t[6],i,t);if(null!=o)if(Array.isArray(n))for(let v=0;v<n.length;v++)eh(l,o,n[v],m,!1);else eh(l,o,n,m,!1)}function fl(e,t){if(null!==t){const n=t.type;if(3&n)return rn(t,e);if(4&n)return lc(-1,e[t.index]);if(8&n){const i=t.child;if(null!==i)return fl(e,i);{const o=e[t.index];return Y(o)?lc(-1,o):Lt(o)}}if(32&n)return qu(t,e)()||Lt(e[t.index]);{const i=nh(e,t);return null!==i?Array.isArray(i)?i[0]:fl(Ia(e[16]),i):fl(e,t.next)}}return null}function nh(e,t){return null!==t?e[16][6].projection[t.projection]:null}function lc(e,t){const n=10+e+1;if(n<t.length){const i=t[n],o=i[1].firstChild;if(null!==o)return fl(i,o)}return t[7]}function uc(e,t,n,i,o,l,c){for(;null!=n;){const m=i[n.index],v=n.type;if(c&&0===t&&(m&&Bi(Lt(m),i),n.flags|=4),64!=(64&n.flags))if(8&v)uc(e,t,n.child,i,o,l,!1),ua(t,e,o,m,l);else if(32&v){const A=qu(n,i);let j;for(;j=A();)ua(t,e,o,j,l);ua(t,e,o,m,l)}else 16&v?gs(e,t,i,n,o,l):ua(t,e,o,m,l);n=c?n.projectionNext:n.next}}function pl(e,t,n,i,o,l){uc(n,i,e.firstChild,t,o,l,!1)}function gs(e,t,n,i,o,l){const c=n[16],v=c[6].projection[i.projection];if(Array.isArray(v))for(let A=0;A<v.length;A++)ua(t,e,o,v[A],l);else uc(e,t,v,c[3],o,l,!0)}function ih(e,t,n){De(e)?e.setAttribute(t,"style",n):t.style.cssText=n}function Xl(e,t,n){De(e)?""===n?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n):t.className=n}function sh(e,t,n){let i=e.length;for(;;){const o=e.indexOf(t,n);if(-1===o)return o;if(0===o||e.charCodeAt(o-1)<=32){const l=t.length;if(o+l===i||e.charCodeAt(o+l)<=32)return o}n=o+1}}const oh="ng-template";function gp(e,t,n){let i=0;for(;i<e.length;){let o=e[i++];if(n&&"class"===o){if(o=e[i],-1!==sh(o.toLowerCase(),t,0))return!0}else if(1===o){for(;i<e.length&&"string"==typeof(o=e[i++]);)if(o.toLowerCase()===t)return!0;return!1}}return!1}function eu(e){return 4===e.type&&e.value!==oh}function mp(e,t,n){return t===(4!==e.type||n?e.value:oh)}function _p(e,t,n){let i=4;const o=e.attrs||[],l=function Cp(e){for(let t=0;t<e.length;t++)if(ma(e[t]))return t;return e.length}(o);let c=!1;for(let m=0;m<t.length;m++){const v=t[m];if("number"!=typeof v){if(!c)if(4&i){if(i=2|1&i,""!==v&&!mp(e,v,n)||""===v&&1===t.length){if(Zs(i))return!1;c=!0}}else{const A=8&i?v:t[++m];if(8&i&&null!==e.attrs){if(!gp(e.attrs,A,n)){if(Zs(i))return!1;c=!0}continue}const fe=yp(8&i?"class":v,o,eu(e),n);if(-1===fe){if(Zs(i))return!1;c=!0;continue}if(""!==A){let Se;Se=fe>l?"":o[fe+1].toLowerCase();const qe=8&i?Se:null;if(qe&&-1!==sh(qe,A,0)||2&i&&A!==Se){if(Zs(i))return!1;c=!0}}}}else{if(!c&&!Zs(i)&&!Zs(v))return!1;if(c&&Zs(v))continue;c=!1,i=v|1&i}}return Zs(i)||c}function Zs(e){return 0==(1&e)}function yp(e,t,n,i){if(null===t)return-1;let o=0;if(i||!n){let l=!1;for(;o<t.length;){const c=t[o];if(c===e)return o;if(3===c||6===c)l=!0;else{if(1===c||2===c){let m=t[++o];for(;"string"==typeof m;)m=t[++o];continue}if(4===c)break;if(0===c){o+=4;continue}}o+=l?1:2}return-1}return function bp(e,t){let n=e.indexOf(4);if(n>-1)for(n++;n<e.length;){const i=e[n];if("number"==typeof i)return-1;if(i===t)return n;n++}return-1}(t,e)}function ah(e,t,n=!1){for(let i=0;i<t.length;i++)if(_p(e,t[i],n))return!0;return!1}function wp(e,t){e:for(let n=0;n<t.length;n++){const i=t[n];if(e.length===i.length){for(let o=0;o<e.length;o++)if(e[o]!==i[o])continue e;return!0}}return!1}function lh(e,t){return e?":not("+t.trim()+")":t}function Ep(e){let t=e[0],n=1,i=2,o="",l=!1;for(;n<e.length;){let c=e[n];if("string"==typeof c)if(2&i){const m=e[++n];o+="["+c+(m.length>0?'="'+m+'"':"")+"]"}else 8&i?o+="."+c:4&i&&(o+=" "+c);else""!==o&&!Zs(c)&&(t+=lh(l,o),o=""),i=c,l=l||!Zs(i);n++}return""!==o&&(t+=lh(l,o)),t}const Zn={};function uh(e){ch(nr(),Et(),yn()+e,!1)}function ch(e,t,n,i){if(!i)if(3==(3&t[2])){const l=e.preOrderCheckHooks;null!==l&&Vr(t,l,n)}else{const l=e.preOrderHooks;null!==l&&Gn(t,l,0,n)}Rr(n)}function tu(e,t){return e<<17|t<<2}function qs(e){return e>>17&32767}function nu(e){return 2|e}function bo(e){return(131068&e)>>2}function dc(e,t){return-131069&e|t<<2}function hc(e){return 1|e}function bc(e,t){const n=e.contentQueries;if(null!==n)for(let i=0;i<n.length;i+=2){const o=n[i],l=n[i+1];if(-1!==l){const c=e.data[l];Hn(o),c.contentQueries(2,t[l],l)}}}function Ra(e,t,n,i,o,l,c,m,v,A){const j=t.blueprint.slice();return j[0]=o,j[2]=140|i,E(j),j[3]=j[15]=e,j[8]=n,j[10]=c||e&&e[10],j[11]=m||e&&e[11],j[12]=v||e&&e[12]||null,j[9]=A||e&&e[9]||null,j[6]=l,j[16]=2==t.type?e[16]:j,j}function ha(e,t,n,i,o){let l=e.data[t];if(null===l)l=function su(e,t,n,i,o){const l=Hs(),c=js(),v=e.data[t]=function Lp(e,t,n,i,o,l){return{type:n,index:i,insertBeforeIndex:null,injectorIndex:t?t.injectorIndex:-1,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,propertyBindings:null,flags:0,providerIndexes:0,value:o,attrs:l,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tViews:null,next:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,c?l:l&&l.parent,n,t,i,o);return null===e.firstChild&&(e.firstChild=v),null!==l&&(c?null==l.child&&null!==v.parent&&(l.child=v):null===l.next&&(l.next=v)),v}(e,t,n,i,o),function Ze(){return H.lFrame.inI18n}()&&(l.flags|=64);else if(64&l.type){l.type=n,l.value=i,l.attrs=o;const c=function Xi(){const e=H.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}();l.injectorIndex=null===c?-1:c.injectorIndex}return Ri(l,!0),l}function Na(e,t,n,i){if(0===n)return-1;const o=t.length;for(let l=0;l<n;l++)t.push(i),e.blueprint.push(i),e.data.push(null);return o}function ml(e,t,n){Yr(t);try{const i=e.viewQuery;null!==i&&Pc(1,i,n);const o=e.template;null!==o&&_l(e,t,o,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),e.staticContentQueries&&bc(e,t),e.staticViewQueries&&Pc(2,e.viewQuery,n);const l=e.components;null!==l&&function wh(e,t){for(let n=0;n<t.length;n++)Rh(e,t[n])}(t,l)}catch(i){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),i}finally{t[2]&=-5,Je()}}function ka(e,t,n,i){const o=t[2];if(256!=(256&o)){Yr(t);try{E(t),function ue(e){return H.lFrame.bindingIndex=e}(e.bindingStartIndex),null!==n&&_l(e,t,n,2,i);const c=3==(3&o);if(c){const A=e.preOrderCheckHooks;null!==A&&Vr(t,A,null)}else{const A=e.preOrderHooks;null!==A&&Gn(t,A,0,null),mi(t,0)}if(function Yp(e){for(let t=Qu(e);null!==t;t=Ju(t)){if(!t[2])continue;const n=t[9];for(let i=0;i<n.length;i++){const o=n[i],l=o[3];0==(1024&o[2])&&C(l,1),o[2]|=1024}}}(t),function Wp(e){for(let t=Qu(e);null!==t;t=Ju(t))for(let n=10;n<t.length;n++){const i=t[n],o=i[1];ls(i)&&ka(o,i,o.template,i[8])}}(t),null!==e.contentQueries&&bc(e,t),c){const A=e.contentCheckHooks;null!==A&&Vr(t,A)}else{const A=e.contentHooks;null!==A&&Gn(t,A,1),mi(t,1)}!function bh(e,t){const n=e.hostBindingOpCodes;if(null!==n)try{for(let i=0;i<n.length;i++){const o=n[i];if(o<0)Rr(~o);else{const l=o,c=n[++i],m=n[++i];en(c,l),m(2,t[l])}}}finally{Rr(-1)}}(e,t);const m=e.components;null!==m&&function wc(e,t){for(let n=0;n<t.length;n++)Zp(e,t[n])}(t,m);const v=e.viewQuery;if(null!==v&&Pc(2,v,i),c){const A=e.viewCheckHooks;null!==A&&Vr(t,A)}else{const A=e.viewHooks;null!==A&&Gn(t,A,2),mi(t,2)}!0===e.firstUpdatePass&&(e.firstUpdatePass=!1),t[2]&=-73,1024&t[2]&&(t[2]&=-1025,C(t[3],-1))}finally{Je()}}}function ou(e,t,n,i){const o=t[10],c=Ti(t);try{!c&&o.begin&&o.begin(),c&&ml(e,t,i),ka(e,t,n,i)}finally{!c&&o.end&&o.end()}}function _l(e,t,n,i,o){const l=yn(),c=2&i;try{Rr(-1),c&&t.length>20&&ch(e,t,20,!1),n(i,o)}finally{Rr(l)}}function Eh(e,t,n){if(Re(t)){const o=t.directiveEnd;for(let l=t.directiveStart;l<o;l++){const c=e.data[l];c.contentQueries&&c.contentQueries(1,n[l],l)}}}function Ec(e,t,n){!Gi()||(function $o(e,t,n,i){const o=n.directiveStart,l=n.directiveEnd;e.firstCreatePass||ti(n,t),Bi(i,t);const c=n.initialInputs;for(let m=o;m<l;m++){const v=e.data[m],A=Ot(v);A&&Ah(t,n,v);const j=Te(t,e,m,n);Bi(j,t),null!==c&&ui(0,m-o,j,v,0,c),A&&(Wr(n.index,t)[8]=j)}}(e,t,n,rn(n,t)),128==(128&n.flags)&&function $p(e,t,n){const i=n.directiveStart,o=n.directiveEnd,c=n.index,m=function pn(){return H.lFrame.currentDirectiveIndex}();try{Rr(c);for(let v=i;v<o;v++){const A=e.data[v],j=t[v];Sn(v),(null!==A.hostBindings||0!==A.hostVars||null!==A.hostAttrs)&&Ph(A,j)}}finally{Rr(-1),Sn(m)}}(e,t,n))}function yl(e,t,n=rn){const i=t.localNames;if(null!==i){let o=t.index+1;for(let l=0;l<i.length;l+=2){const c=i[l+1],m=-1===c?n(t,e):e[c];e[o++]=m}}}function Dc(e){const t=e.tView;return null===t||t.incompleteFirstPass?e.tView=au(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts):t}function au(e,t,n,i,o,l,c,m,v,A){const j=20+i,fe=j+o,Se=function kp(e,t){const n=[];for(let i=0;i<t;i++)n.push(i<e?null:Zn);return n}(j,fe),qe="function"==typeof A?A():A;return Se[1]={type:e,blueprint:Se,template:n,queries:null,viewQuery:m,declTNode:t,data:Se.slice().fill(null,j),bindingStartIndex:j,expandoStartIndex:fe,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 c?c():c,firstChild:null,schemas:v,consts:qe,incompleteFirstPass:!1}}function Th(e,t,n,i){const o=Oc(t);null===n?o.push(i):(o.push(n),e.firstCreatePass&&ho(e).push(i,o.length-1))}function Sh(e,t,n){for(let i in e)if(e.hasOwnProperty(i)){const o=e[i];(n=null===n?{}:n).hasOwnProperty(i)?n[i].push(t,o):n[i]=[t,o]}return n}function ms(e,t,n,i,o,l,c,m){const v=rn(t,n);let j,A=t.inputs;!m&&null!=A&&(j=A[i])?(ys(e,n,j,i,o),I(t)&&function Up(e,t){const n=Wr(t,e);16&n[2]||(n[2]|=64)}(n,t.index)):3&t.type&&(i=function Vp(e){return"class"===e?"className":"for"===e?"htmlFor":"formaction"===e?"formAction":"innerHtml"===e?"innerHTML":"readonly"===e?"readOnly":"tabindex"===e?"tabIndex":e}(i),o=null!=c?c(o,t.value||"",i):o,De(l)?l.setProperty(v,i,o):$s(i)||(v.setProperty?v.setProperty(i,o):v[i]=o))}function Hi(e,t,n,i){let o=!1;if(Gi()){const l=function Gp(e,t,n){const i=e.directiveRegistry;let o=null;if(i)for(let l=0;l<i.length;l++){const c=i[l];ah(n,c.selectors,!1)&&(o||(o=[]),ya(ti(n,t),e,c.type),Ot(c)?(Oh(e,n),o.unshift(c)):o.push(c))}return o}(e,t,n),c=null===i?null:{"":-1};if(null!==l){o=!0,xh(n,e.data.length,l.length);for(let j=0;j<l.length;j++){const fe=l[j];fe.providersResolver&&fe.providersResolver(fe)}let m=!1,v=!1,A=Na(e,t,l.length,null);for(let j=0;j<l.length;j++){const fe=l[j];n.mergedAttrs=Gs(n.mergedAttrs,fe.hostAttrs),co(e,n,t,A,fe),Mc(A,fe,c),null!==fe.contentQueries&&(n.flags|=8),(null!==fe.hostBindings||null!==fe.hostAttrs||0!==fe.hostVars)&&(n.flags|=128);const Se=fe.type.prototype;!m&&(Se.ngOnChanges||Se.ngOnInit||Se.ngDoCheck)&&((e.preOrderHooks||(e.preOrderHooks=[])).push(n.index),m=!0),!v&&(Se.ngOnChanges||Se.ngDoCheck)&&((e.preOrderCheckHooks||(e.preOrderCheckHooks=[])).push(n.index),v=!0),A++}!function Bp(e,t){const i=t.directiveEnd,o=e.data,l=t.attrs,c=[];let m=null,v=null;for(let A=t.directiveStart;A<i;A++){const j=o[A],fe=j.inputs,Se=null===l||eu(t)?null:Ih(fe,l);c.push(Se),m=Sh(fe,A,m),v=Sh(j.outputs,A,v)}null!==m&&(m.hasOwnProperty("class")&&(t.flags|=16),m.hasOwnProperty("style")&&(t.flags|=32)),t.initialInputs=c,t.inputs=m,t.outputs=v}(e,n)}c&&function zp(e,t,n){if(t){const i=e.localNames=[];for(let o=0;o<t.length;o+=2){const l=n[t[o+1]];if(null==l)throw new ut(-301,!1);i.push(t[o],l)}}}(n,i,c)}return n.mergedAttrs=Gs(n.mergedAttrs,n.attrs),o}function li(e,t,n,i,o,l){const c=l.hostBindings;if(c){let m=e.hostBindingOpCodes;null===m&&(m=e.hostBindingOpCodes=[]);const v=~t.index;(function jp(e){let t=e.length;for(;t>0;){const n=e[--t];if("number"==typeof n&&n<0)return n}return 0})(m)!=v&&m.push(v),m.push(i,o,c)}}function Ph(e,t){null!==e.hostBindings&&e.hostBindings(1,t)}function Oh(e,t){t.flags|=2,(e.components||(e.components=[])).push(t.index)}function Mc(e,t,n){if(n){if(t.exportAs)for(let i=0;i<t.exportAs.length;i++)n[t.exportAs[i]]=e;Ot(t)&&(n[""]=e)}}function xh(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}function co(e,t,n,i,o){e.data[i]=o;const l=o.factory||(o.factory=wi(o.type)),c=new vo(l,Ot(o),null);e.blueprint[i]=c,n[i]=c,li(e,t,0,i,Na(e,n,o.hostVars,Zn),o)}function Ah(e,t,n){const i=rn(t,e),o=Dc(n),l=e[10],c=La(e,Ra(e,o,null,n.onPush?64:16,i,t,l,l.createRenderer(i,n),null,null));e[t.index]=c}function _s(e,t,n,i,o,l){const c=rn(e,t);!function Xr(e,t,n,i,o,l,c){if(null==l)De(e)?e.removeAttribute(t,o,n):t.removeAttribute(o);else{const m=null==c?ze(l):c(l,i||"",o);De(e)?e.setAttribute(t,o,m,n):n?t.setAttributeNS(n,o,m):t.setAttribute(o,m)}}(t[11],c,l,e.value,n,i,o)}function ui(e,t,n,i,o,l){const c=l[t];if(null!==c){const m=i.setInput;for(let v=0;v<c.length;){const A=c[v++],j=c[v++],fe=c[v++];null!==m?i.setInput(n,fe,A,j):n[j]=fe}}}function Ih(e,t){let n=null,i=0;for(;i<t.length;){const o=t[i];if(0!==o)if(5!==o){if("number"==typeof o)break;e.hasOwnProperty(o)&&(null===n&&(n=[]),n.push(o,e[o],t[i+1])),i+=2}else i+=2;else i+=4}return n}function Fh(e,t,n,i){return new Array(e,!0,!1,t,null,0,i,n,null,null)}function Zp(e,t){const n=Wr(t,e);if(ls(n)){const i=n[1];80&n[2]?ka(i,n,i.template,n[8]):n[5]>0&&Tc(n)}}function Tc(e){for(let i=Qu(e);null!==i;i=Ju(i))for(let o=10;o<i.length;o++){const l=i[o];if(1024&l[2]){const c=l[1];ka(c,l,c.template,l[8])}else l[5]>0&&Tc(l)}const n=e[1].components;if(null!==n)for(let i=0;i<n.length;i++){const o=Wr(n[i],e);ls(o)&&o[5]>0&&Tc(o)}}function Rh(e,t){const n=Wr(t,e),i=n[1];(function vl(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])})(i,n),ml(i,n,n[8])}function La(e,t){return e[13]?e[14][4]=t:e[13]=t,e[14]=t,t}function Sc(e){for(;e;){e[2]|=64;const t=Ia(e);if(Bn(e)&&!t)return e;e=t}return null}function fa(e){!function Ba(e){for(let t=0;t<e.components.length;t++){const n=e.components[t],i=Pa(n),o=i[1];ou(o,i,o.template,n)}}(e[8])}function Pc(e,t,n){Hn(0),t(e,n)}const qp=(()=>Promise.resolve(null))();function Oc(e){return e[7]||(e[7]=[])}function ho(e){return e.cleanup||(e.cleanup=[])}function xc(e,t){const n=e[9],i=n?n.get(aa,null):null;i&&i.handleError(t)}function ys(e,t,n,i,o){for(let l=0;l<n.length;){const c=n[l++],m=n[l++],v=t[c],A=e.data[c];null!==A.setInput?A.setInput(v,o,i,m):v[m]=o}}function fo(e,t,n){const i=cr(t,e);!function ql(e,t,n){De(e)?e.setValue(t,n):t.textContent=n}(e[11],i,n)}function lu(e,t,n){let i=n?e.styles:null,o=n?e.classes:null,l=0;if(null!==t)for(let c=0;c<t.length;c++){const m=t[c];"number"==typeof m?l=m:1==l?o=Pe(o,m):2==l&&(i=Pe(i,m+": "+t[++c]+";"))}n?e.styles=i:e.stylesWithoutHost=i,n?e.classes=o:e.classesWithoutHost=o}const Va=new Ur("INJECTOR",-1);class kh{get(t,n=ki){if(n===ki){const i=new Error(`NullInjectorError: No provider for ${oe(t)}!`);throw i.name="NullInjectorError",i}return n}}const Ac=new Ur("Set Injector scope."),Cl={},Jp={};let Ic;function Lh(){return void 0===Ic&&(Ic=new kh),Ic}function Bh(e,t=null,n=null,i){const o=Vh(e,t,n,i);return o._resolveInjectorDefTypes(),o}function Vh(e,t=null,n=null,i){return new Xp(e,n,t||Lh(),i)}class Xp{constructor(t,n,i,o=null){this.parent=i,this.records=new Map,this.injectorDefTypes=new Set,this.onDestroy=new Set,this._destroyed=!1;const l=[];n&&no(n,m=>this.processProvider(m,t,n)),no([t],m=>this.processInjectorType(m,[],l)),this.records.set(Va,Go(void 0,this));const c=this.records.get(Ac);this.scope=null!=c?c.value:null,this.source=o||("object"==typeof t?null:oe(t))}get destroyed(){return this._destroyed}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{this.onDestroy.forEach(t=>t.ngOnDestroy())}finally{this.records.clear(),this.onDestroy.clear(),this.injectorDefTypes.clear()}}get(t,n=ki,i=Me.Default){this.assertNotDestroyed();const o=fd(this),l=ne(void 0);try{if(!(i&Me.SkipSelf)){let m=this.records.get(t);if(void 0===m){const v=function ig(e){return"function"==typeof e||"object"==typeof e&&e instanceof Ur}(t)&&Mn(t);m=v&&this.injectableDefInScope(v)?Go(Fc(t),Cl):null,this.records.set(t,m)}if(null!=m)return this.hydrate(t,m)}return(i&Me.Self?Lh():this.parent).get(t,n=i&Me.Optional&&n===ki?null:n)}catch(c){if("NullInjectorError"===c.name){if((c[tl]=c[tl]||[]).unshift(oe(t)),o)throw c;return function ta(e,t,n,i){const o=e[tl];throw t[Su]&&o.unshift(t[Su]),e.message=function md(e,t,n,i=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.substr(2):e;let o=oe(t);if(Array.isArray(t))o=t.map(oe).join(" -> ");else if("object"==typeof t){let l=[];for(let c in t)if(t.hasOwnProperty(c)){let m=t[c];l.push(c+":"+("string"==typeof m?JSON.stringify(m):oe(m)))}o=`{${l.join(", ")}}`}return`${n}${i?"("+i+")":""}[${o}]: ${e.replace(nl,"\n  ")}`}("\n"+e.message,o,n,i),e.ngTokenPath=o,e[tl]=null,e}(c,t,"R3InjectorError",this.source)}throw c}finally{ne(l),fd(o)}}_resolveInjectorDefTypes(){this.injectorDefTypes.forEach(t=>this.get(t))}toString(){const t=[];return this.records.forEach((i,o)=>t.push(oe(o))),`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new ut(205,!1)}processInjectorType(t,n,i){if(!(t=ke(t)))return!1;let o=Yn(t);const l=null==o&&t.ngModule||void 0,c=void 0===l?t:l,m=-1!==i.indexOf(c);if(void 0!==l&&(o=Yn(l)),null==o)return!1;if(null!=o.imports&&!m){let j;i.push(c);try{no(o.imports,fe=>{this.processInjectorType(fe,n,i)&&(void 0===j&&(j=[]),j.push(fe))})}finally{}if(void 0!==j)for(let fe=0;fe<j.length;fe++){const{ngModule:Se,providers:qe}=j[fe];no(qe,ft=>this.processProvider(ft,Se,qe||an))}}this.injectorDefTypes.add(c);const v=wi(c)||(()=>new c);this.records.set(c,Go(v,Cl));const A=o.providers;if(null!=A&&!m){const j=t;no(A,fe=>this.processProvider(fe,j,A))}return void 0!==l&&void 0!==t.providers}processProvider(t,n,i){let o=Ua(t=ke(t))?t:ke(t&&t.provide);const l=function tg(e,t,n){return Hh(e)?Go(void 0,e.useValue):Go(Uh(e),Cl)}(t);if(Ua(t)||!0!==t.multi)this.records.get(o);else{let c=this.records.get(o);c||(c=Go(void 0,Cl,!0),c.factory=()=>Ss(c.multi),this.records.set(o,c)),o=t,c.multi.push(t)}this.records.set(o,l)}hydrate(t,n){return n.value===Cl&&(n.value=Jp,n.value=n.factory()),"object"==typeof n.value&&n.value&&function ts(e){return null!==e&&"object"==typeof e&&"function"==typeof e.ngOnDestroy}(n.value)&&this.onDestroy.add(n.value),n.value}injectableDefInScope(t){if(!t.providedIn)return!1;const n=ke(t.providedIn);return"string"==typeof n?"any"===n||n===this.scope:this.injectorDefTypes.has(n)}}function Fc(e){const t=Mn(e),n=null!==t?t.factory:wi(e);if(null!==n)return n;if(e instanceof Ur)throw new ut(204,!1);if(e instanceof Function)return function eg(e){const t=e.length;if(t>0)throw Xa(t,"?"),new ut(204,!1);const n=function Ar(e){const t=e&&(e[hr]||e[On]);if(t){const n=function lr(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 ut(204,!1)}function Uh(e,t,n){let i;if(Ua(e)){const o=ke(e);return wi(o)||Fc(o)}if(Hh(e))i=()=>ke(e.useValue);else if(function ng(e){return!(!e||!e.useFactory)}(e))i=()=>e.useFactory(...Ss(e.deps||[]));else if(function Rc(e){return!(!e||!e.useExisting)}(e))i=()=>Pr(ke(e.useExisting));else{const o=ke(e&&(e.useClass||e.provide));if(!function Di(e){return!!e.deps}(e))return wi(o)||Fc(o);i=()=>new o(...Ss(e.deps))}return i}function Go(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function Hh(e){return null!==e&&"object"==typeof e&&Bf in e}function Ua(e){return"function"==typeof e}let po=(()=>{class e{static create(n,i){if(Array.isArray(n))return Bh({name:""},i,n,"");{const o=n.name??"";return Bh({name:o},n.parent,n.providers,o)}}}return e.THROW_IF_NOT_FOUND=ki,e.NULL=new kh,e.\u0275prov=Wn({token:e,providedIn:"any",factory:()=>Pr(Va)}),e.__NG_ELEMENT_ID__=-1,e})();function fg(e,t){qn(Pa(e)[1],Qr())}function Vc(e){let t=function Jh(e){return Object.getPrototypeOf(e.prototype).constructor}(e.type),n=!0;const i=[e];for(;t;){let o;if(Ot(e))o=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new ut(903,"");o=t.\u0275dir}if(o){if(n){i.push(o);const c=e;c.inputs=Uc(e.inputs),c.declaredInputs=Uc(e.declaredInputs),c.outputs=Uc(e.outputs);const m=o.hostBindings;m&&_g(e,m);const v=o.viewQuery,A=o.contentQueries;if(v&&gg(e,v),A&&mg(e,A),G(e.inputs,o.inputs),G(e.declaredInputs,o.declaredInputs),G(e.outputs,o.outputs),Ot(o)&&o.data.animation){const j=e.data;j.animation=(j.animation||[]).concat(o.data.animation)}}const l=o.features;if(l)for(let c=0;c<l.length;c++){const m=l[c];m&&m.ngInherit&&m(e),m===Vc&&(n=!1)}}t=Object.getPrototypeOf(t)}!function pg(e){let t=0,n=null;for(let i=e.length-1;i>=0;i--){const o=e[i];o.hostVars=t+=o.hostVars,o.hostAttrs=Gs(o.hostAttrs,n=Gs(n,o.hostAttrs))}}(i)}function Uc(e){return e===Mt?{}:e===an?[]:e}function gg(e,t){const n=e.viewQuery;e.viewQuery=n?(i,o)=>{t(i,o),n(i,o)}:t}function mg(e,t){const n=e.contentQueries;e.contentQueries=n?(i,o,l)=>{t(i,o,l),n(i,o,l)}:t}function _g(e,t){const n=e.hostBindings;e.hostBindings=n?(i,o)=>{t(i,o),n(i,o)}:t}let uu=null;function Ha(){if(!uu){const e=$t.Symbol;if(e&&e.iterator)uu=e.iterator;else{const t=Object.getOwnPropertyNames(Map.prototype);for(let n=0;n<t.length;++n){const i=t[n];"entries"!==i&&"size"!==i&&Map.prototype[i]===Map.prototype.entries&&(uu=i)}}}return uu}function wl(e){return!!Hc(e)&&(Array.isArray(e)||!(e instanceof Map)&&Ha()in e)}function Hc(e){return null!==e&&("function"==typeof e||"object"==typeof e)}function go(e,t,n){return e[t]=n}function Mi(e,t,n){return!Object.is(e[t],n)&&(e[t]=n,!0)}function zo(e,t,n,i){const o=Mi(e,t,n);return Mi(e,t+1,i)||o}function jc(e,t,n,i){const o=Et();return Mi(o,be(),t)&&(nr(),_s(vn(),o,e,t,n,i)),jc}function Wo(e,t,n,i){return Mi(e,be(),n)?t+ze(n)+i:Zn}function $a(e,t,n,i,o,l){const m=zo(e,function B(){return H.lFrame.bindingIndex}(),n,o);return ye(2),m?t+ze(n)+i+ze(o)+l:Zn}function $c(e,t,n,i,o,l){const c=Et(),m=Wo(c,t,n,i);return m!==Zn&&_s(vn(),c,e,m,o,l),$c}function lf(e,t,n,i,o,l,c,m){const v=Et(),A=nr(),j=e+20,fe=A.firstCreatePass?function af(e,t,n,i,o,l,c,m,v){const A=t.consts,j=ha(t,e,4,c||null,P(A,m));Hi(t,n,j,P(A,v)),qn(t,j);const fe=j.tViews=au(2,j,i,o,l,t.directiveRegistry,t.pipeRegistry,null,t.schemas,A);return null!==t.queries&&(t.queries.template(t,j),fe.queries=t.queries.embeddedTView(j)),j}(j,A,v,t,n,i,o,l,c):A.data[j];Ri(fe,!1);const Se=v[11].createComment("");Jl(A,v,Se,fe),Bi(Se,v),La(v,v[j]=Fh(Se,v,Se,fe)),Ie(fe)&&Ec(A,v,fe),null!=c&&yl(v,fe,m)}function uf(e){return function Br(e,t){return e[t]}(function F(){return H.lFrame.contextLView}(),20+e)}function Oi(e,t=Me.Default){const n=Et();return null===n?Pr(e,t):h(Qr(),n,ke(e),t)}function ji(){throw new Error("invalid")}function Zi(e,t,n){const i=Et();return Mi(i,be(),t)&&ms(nr(),vn(),i,e,t,i[11],n,!1),Zi}function ii(e,t,n,i,o){const c=o?"class":"style";ys(e,n,t.inputs[c],c,i)}function Fs(e,t,n,i){const o=Et(),l=nr(),c=20+e,m=o[11],v=o[c]=ca(m,t,function Cn(){return H.lFrame.currentNamespace}()),A=l.firstCreatePass?function Qs(e,t,n,i,o,l,c){const m=t.consts,A=ha(t,e,2,o,P(m,l));return Hi(t,n,A,P(m,c)),null!==A.attrs&&lu(A,A.attrs,!1),null!==A.mergedAttrs&&lu(A,A.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,A),A}(c,l,o,0,t,n,i):l.data[c];Ri(A,!0);const j=A.mergedAttrs;null!==j&&eo(m,v,j);const fe=A.classes;null!==fe&&Xl(m,v,fe);const Se=A.styles;return null!==Se&&ih(m,v,Se),64!=(64&A.flags)&&Jl(l,o,v,A),0===function Fr(){return H.lFrame.elementDepthCount}()&&Bi(v,o),function ai(){H.lFrame.elementDepthCount++}(),Ie(A)&&(Ec(l,o,A),Eh(l,A,o)),null!==i&&yl(o,A),Fs}function Ml(){let e=Qr();js()?Jo():(e=e.parent,Ri(e,!1));const t=e;!function us(){H.lFrame.elementDepthCount--}();const n=nr();return n.firstCreatePass&&(qn(n,e),Re(e)&&n.queries.elementEnd(e)),null!=t.classesWithoutHost&&function So(e){return 0!=(16&e.flags)}(t)&&ii(n,t,Et(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function ga(e){return 0!=(32&e.flags)}(t)&&ii(n,t,Et(),t.stylesWithoutHost,!1),Ml}function Rg(e,t,n,i){return Fs(e,t,n,i),Ml(),Rg}function pf(e,t,n){const i=Et(),o=nr(),l=e+20,c=o.firstCreatePass?function C0(e,t,n,i,o){const l=t.consts,c=P(l,i),m=ha(t,e,8,"ng-container",c);return null!==c&&lu(m,c,!0),Hi(t,n,m,P(l,o)),null!==t.queries&&t.queries.elementStart(t,m),m}(l,o,i,t,n):o.data[l];Ri(c,!0);const m=i[l]=i[11].createComment("");return Jl(o,i,m,c),Bi(m,i),Ie(c)&&(Ec(o,i,c),Eh(o,c,i)),null!=n&&yl(i,c),pf}function gf(){let e=Qr();const t=nr();return js()?Jo():(e=e.parent,Ri(e,!1)),t.firstCreatePass&&(qn(t,e),Re(e)&&t.queries.elementEnd(e)),gf}function Ng(e,t,n){return pf(e,t,n),gf(),Ng}function O_(){return Et()}function kg(e){return!!e&&"function"==typeof e.then}function x_(e){return!!e&&"function"==typeof e.subscribe}const A_=x_;function Lg(e,t,n,i){const o=Et(),l=nr(),c=Qr();return function F_(e,t,n,i,o,l,c,m){const v=Ie(i),j=e.firstCreatePass&&ho(e),fe=t[8],Se=Oc(t);let qe=!0;if(3&i.type||m){const Jt=rn(i,t),hn=m?m(Jt):Jt,Dt=Se.length,In=m?yr=>m(Lt(yr[i.index])):i.index;if(De(n)){let yr=null;if(!m&&v&&(yr=function b0(e,t,n,i){const o=e.cleanup;if(null!=o)for(let l=0;l<o.length-1;l+=2){const c=o[l];if(c===n&&o[l+1]===i){const m=t[7],v=o[l+2];return m.length>v?m[v]:null}"string"==typeof c&&(l+=2)}return null}(e,t,o,i.index)),null!==yr)(yr.__ngLastListenerFn__||yr).__ngNextListenerFn__=l,yr.__ngLastListenerFn__=l,qe=!1;else{l=Bg(i,t,fe,l,!1);const Hr=n.listen(hn,o,l);Se.push(l,Hr),j&&j.push(o,In,Dt,Dt+1)}}else l=Bg(i,t,fe,l,!0),hn.addEventListener(o,l,c),Se.push(l),j&&j.push(o,In,Dt,c)}else l=Bg(i,t,fe,l,!1);const ft=i.outputs;let Ht;if(qe&&null!==ft&&(Ht=ft[o])){const Jt=Ht.length;if(Jt)for(let hn=0;hn<Jt;hn+=2){const Js=t[Ht[hn]][Ht[hn+1]].subscribe(l),Pl=Se.length;Se.push(l,Js),j&&j.push(o,i.index,Pl,-(Pl+1))}}}(l,o,o[11],c,e,t,!!n,i),Lg}function R_(e,t,n,i){try{return!1!==n(i)}catch(o){return xc(e,o),!1}}function Bg(e,t,n,i,o){return function l(c){if(c===Function)return i;const m=2&e.flags?Wr(e.index,t):t;0==(32&t[2])&&Sc(m);let v=R_(t,0,i,c),A=l.__ngNextListenerFn__;for(;A;)v=R_(t,0,A,c)&&v,A=A.__ngNextListenerFn__;return o&&!1===v&&(c.preventDefault(),c.returnValue=!1),v}}function N_(e=1){return function Kt(e){return(H.lFrame.contextLView=function Dn(e,t){for(;e>0;)t=t[15],e--;return t}(e,H.lFrame.contextLView))[8]}(e)}function w0(e,t){let n=null;const i=function vp(e){const t=e.attrs;if(null!=t){const n=t.indexOf(5);if(0==(1&n))return t[n+1]}return null}(e);for(let o=0;o<t.length;o++){const l=t[o];if("*"!==l){if(null===i?ah(e,l,!0):wp(i,l))return o}else n=o}return n}function k_(e){const t=Et()[16][6];if(!t.projection){const i=t.projection=Xa(e?e.length:1,null),o=i.slice();let l=t.child;for(;null!==l;){const c=e?w0(l,e):0;null!==c&&(o[c]?o[c].projectionNext=l:i[c]=l,o[c]=l),l=l.next}}}function L_(e,t=0,n){const i=Et(),o=nr(),l=ha(o,20+e,16,null,n||null);null===l.projection&&(l.projection=t),Jo(),64!=(64&l.flags)&&function hp(e,t,n){gs(t[11],0,t,n,Qd(e,n,t),ic(n.parent||t[6],n,t))}(o,i,l)}function Vg(e,t,n){return mf(e,"",t,"",n),Vg}function mf(e,t,n,i,o){const l=Et(),c=Wo(l,t,n,i);return c!==Zn&&ms(nr(),vn(),l,e,c,l[11],o,!1),mf}function Ug(e,t,n,i,o,l,c){const m=Et(),v=$a(m,t,n,i,o,l);return v!==Zn&&ms(nr(),vn(),m,e,v,m[11],c,!1),Ug}function z_(e,t,n,i,o){const l=e[n+1],c=null===t;let m=i?qs(l):bo(l),v=!1;for(;0!==m&&(!1===v||c);){const j=e[m+1];M0(e[m],t)&&(v=!0,e[m+1]=i?hc(j):nu(j)),m=i?qs(j):bo(j)}v&&(e[n+1]=i?nu(l):hc(l))}function M0(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&Xo(e,t)>=0}const xi={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function W_(e){return e.substring(xi.key,xi.keyEnd)}function Y_(e,t){const n=xi.textEnd;return n===t?-1:(t=xi.keyEnd=function O0(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}(e,xi.key=t,n),fu(e,t,n))}function fu(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function Hg(e,t,n){return wo(e,t,n,!1),Hg}function jg(e,t){return wo(e,t,null,!0),jg}function J_(e){Eo(fs,qo,e,!0)}function qo(e,t){for(let n=function S0(e){return function q_(e){xi.key=0,xi.keyEnd=0,xi.value=0,xi.valueEnd=0,xi.textEnd=e.length}(e),Y_(e,fu(e,0,xi.textEnd))}(t);n>=0;n=Y_(t,n))fs(e,W_(t),!0)}function wo(e,t,n,i){const o=Et(),l=nr(),c=ye(2);l.firstUpdatePass&&ey(l,e,c,i),t!==Zn&&Mi(o,c,t)&&ny(l,l.data[yn()],o,o[11],e,o[c+1]=function V0(e,t){return null==e||("string"==typeof t?e+=t:"object"==typeof e&&(e=oe(jn(e)))),e}(t,n),i,c)}function Eo(e,t,n,i){const o=nr(),l=ye(2);o.firstUpdatePass&&ey(o,null,l,i);const c=Et();if(n!==Zn&&Mi(c,l,n)){const m=o.data[yn()];if(iy(m,i)&&!X_(o,l)){let v=i?m.classesWithoutHost:m.stylesWithoutHost;null!==v&&(n=Pe(v,n||"")),ii(o,m,c,n,i)}else!function B0(e,t,n,i,o,l,c,m){o===Zn&&(o=an);let v=0,A=0,j=0<o.length?o[0]:null,fe=0<l.length?l[0]:null;for(;null!==j||null!==fe;){const Se=v<o.length?o[v+1]:void 0,qe=A<l.length?l[A+1]:void 0;let Ht,ft=null;j===fe?(v+=2,A+=2,Se!==qe&&(ft=fe,Ht=qe)):null===fe||null!==j&&j<fe?(v+=2,ft=j):(A+=2,ft=fe,Ht=qe),null!==ft&&ny(e,t,n,i,ft,Ht,c,m),j=v<o.length?o[v]:null,fe=A<l.length?l[A]:null}}(o,m,c,c[11],c[l+1],c[l+1]=function L0(e,t,n){if(null==n||""===n)return an;const i=[],o=jn(n);if(Array.isArray(o))for(let l=0;l<o.length;l++)e(i,o[l],!0);else if("object"==typeof o)for(const l in o)o.hasOwnProperty(l)&&e(i,l,o[l]);else"string"==typeof o&&t(i,o);return i}(e,t,n),i,l)}}function X_(e,t){return t>=e.expandoStartIndex}function ey(e,t,n,i){const o=e.data;if(null===o[n+1]){const l=o[yn()],c=X_(e,n);iy(l,i)&&null===t&&!c&&(t=!1),t=function F0(e,t,n,i){const o=function An(e){const t=H.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}(e);let l=i?t.residualClasses:t.residualStyles;if(null===o)0===(i?t.classBindings:t.styleBindings)&&(n=Yc(n=$g(null,e,t,n,i),t.attrs,i),l=null);else{const c=t.directiveStylingLast;if(-1===c||e[c]!==o)if(n=$g(o,e,t,n,i),null===l){let v=function R0(e,t,n){const i=n?t.classBindings:t.styleBindings;if(0!==bo(i))return e[qs(i)]}(e,t,i);void 0!==v&&Array.isArray(v)&&(v=$g(null,e,t,v[1],i),v=Yc(v,t.attrs,i),function N0(e,t,n,i){e[qs(n?t.classBindings:t.styleBindings)]=i}(e,t,i,v))}else l=function k0(e,t,n){let i;const o=t.directiveEnd;for(let l=1+t.directiveStylingLast;l<o;l++)i=Yc(i,e[l].hostAttrs,n);return Yc(i,t.attrs,n)}(e,t,i)}return void 0!==l&&(i?t.residualClasses=l:t.residualStyles=l),n}(o,l,t,i),function E0(e,t,n,i,o,l){let c=l?t.classBindings:t.styleBindings,m=qs(c),v=bo(c);e[i]=n;let j,A=!1;if(Array.isArray(n)){const fe=n;j=fe[1],(null===j||Xo(fe,j)>0)&&(A=!0)}else j=n;if(o)if(0!==v){const Se=qs(e[m+1]);e[i+1]=tu(Se,m),0!==Se&&(e[Se+1]=dc(e[Se+1],i)),e[m+1]=function cc(e,t){return 131071&e|t<<17}(e[m+1],i)}else e[i+1]=tu(m,0),0!==m&&(e[m+1]=dc(e[m+1],i)),m=i;else e[i+1]=tu(v,0),0===m?m=i:e[v+1]=dc(e[v+1],i),v=i;A&&(e[i+1]=nu(e[i+1])),z_(e,j,i,!0),z_(e,j,i,!1),function D0(e,t,n,i,o){const l=o?e.residualClasses:e.residualStyles;null!=l&&"string"==typeof t&&Xo(l,t)>=0&&(n[i+1]=hc(n[i+1]))}(t,j,e,i,l),c=tu(m,v),l?t.classBindings=c:t.styleBindings=c}(o,l,t,n,c,i)}}function $g(e,t,n,i,o){let l=null;const c=n.directiveEnd;let m=n.directiveStylingLast;for(-1===m?m=n.directiveStart:m++;m<c&&(l=t[m],i=Yc(i,l.hostAttrs,o),l!==e);)m++;return null!==e&&(n.directiveStylingLast=m),i}function Yc(e,t,n){const i=n?1:2;let o=-1;if(null!==t)for(let l=0;l<t.length;l++){const c=t[l];"number"==typeof c?o=c:o===i&&(Array.isArray(e)||(e=void 0===e?[]:["",e]),fs(e,c,!!n||t[++l]))}return void 0===e?null:e}function ny(e,t,n,i,o,l,c,m){if(!(3&t.type))return;const v=e.data,A=v[m+1];_f(function fh(e){return 1==(1&e)}(A)?ry(v,t,n,o,bo(A),c):void 0)||(_f(l)||function hh(e){return 2==(2&e)}(A)&&(l=ry(v,null,n,o,m,c)),function pp(e,t,n,i,o){const l=De(e);if(t)o?l?e.addClass(n,i):n.classList.add(i):l?e.removeClass(n,i):n.classList.remove(i);else{let c=-1===i.indexOf("-")?void 0:lo.DashCase;if(null==o)l?e.removeStyle(n,i,c):n.style.removeProperty(i);else{const m="string"==typeof o&&o.endsWith("!important");m&&(o=o.slice(0,-10),c|=lo.Important),l?e.setStyle(n,i,o,c):n.style.setProperty(i,o,m?"important":"")}}}(i,c,cr(yn(),n),o,l))}function ry(e,t,n,i,o,l){const c=null===t;let m;for(;o>0;){const v=e[o],A=Array.isArray(v),j=A?v[1]:v,fe=null===j;let Se=n[o+1];Se===Zn&&(Se=fe?an:void 0);let qe=fe?Il(Se,i):j===i?Se:void 0;if(A&&!_f(qe)&&(qe=Il(v,i)),_f(qe)&&(m=qe,c))return m;const ft=e[o+1];o=c?qs(ft):bo(ft)}if(null!==t){let v=l?t.residualClasses:t.residualStyles;null!=v&&(m=Il(v,i))}return m}function _f(e){return void 0!==e}function iy(e,t){return 0!=(e.flags&(t?16:32))}function sy(e,t=""){const n=Et(),i=nr(),o=e+20,l=i.firstCreatePass?ha(i,o,1,t,null):i.data[o],c=n[o]=function Xu(e,t){return De(e)?e.createText(t):e.createTextNode(t)}(n[11],t);Jl(i,n,c,l),Ri(l,!1)}function Gg(e){return yf("",e,""),Gg}function yf(e,t,n){const i=Et(),o=Wo(i,e,t,n);return o!==Zn&&fo(i,yn(),o),yf}function py(e,t,n){Eo(fs,qo,Wo(Et(),e,t,n),!0)}const Tl=void 0;var iC=["en",[["a","p"],["AM","PM"],Tl],[["AM","PM"],Tl,Tl],[["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"]],Tl,[["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"]],Tl,[["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}",Tl,"{1} 'at' {0}",Tl],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function rC(e){const n=Math.floor(Math.abs(e)),i=e.toString().replace(/^[^.]*\.?/,"").length;return 1===n&&0===i?1:5}];let pu={};function zg(e){const t=function sC(e){return e.toLowerCase().replace(/_/g,"-")}(e);let n=Sy(t);if(n)return n;const i=t.split("-")[0];if(n=Sy(i),n)return n;if("en"===i)return iC;throw new Error(`Missing locale data for the locale "${e}".`)}function Ty(e){return zg(e)[Ln.PluralCase]}function Sy(e){return e in pu||(pu[e]=$t.ng&&$t.ng.common&&$t.ng.common.locales&&$t.ng.common.locales[e]),pu[e]}var Ln=(()=>((Ln=Ln||{})[Ln.LocaleId=0]="LocaleId",Ln[Ln.DayPeriodsFormat=1]="DayPeriodsFormat",Ln[Ln.DayPeriodsStandalone=2]="DayPeriodsStandalone",Ln[Ln.DaysFormat=3]="DaysFormat",Ln[Ln.DaysStandalone=4]="DaysStandalone",Ln[Ln.MonthsFormat=5]="MonthsFormat",Ln[Ln.MonthsStandalone=6]="MonthsStandalone",Ln[Ln.Eras=7]="Eras",Ln[Ln.FirstDayOfWeek=8]="FirstDayOfWeek",Ln[Ln.WeekendRange=9]="WeekendRange",Ln[Ln.DateFormat=10]="DateFormat",Ln[Ln.TimeFormat=11]="TimeFormat",Ln[Ln.DateTimeFormat=12]="DateTimeFormat",Ln[Ln.NumberSymbols=13]="NumberSymbols",Ln[Ln.NumberFormats=14]="NumberFormats",Ln[Ln.CurrencyCode=15]="CurrencyCode",Ln[Ln.CurrencySymbol=16]="CurrencySymbol",Ln[Ln.CurrencyName=17]="CurrencyName",Ln[Ln.Currencies=18]="Currencies",Ln[Ln.Directionality=19]="Directionality",Ln[Ln.PluralCase=20]="PluralCase",Ln[Ln.ExtraData=21]="ExtraData",Ln))();const vf="en-US";let Py=vf;function Zg(e,t,n,i,o){if(e=ke(e),Array.isArray(e))for(let l=0;l<e.length;l++)Zg(e[l],t,n,i,o);else{const l=nr(),c=Et();let m=Ua(e)?e:ke(e.provide),v=Uh(e);const A=Qr(),j=1048575&A.providerIndexes,fe=A.directiveStart,Se=A.providerIndexes>>20;if(Ua(e)||!e.multi){const qe=new vo(v,o,Oi),ft=Kg(m,t,o?j:j+Se,fe);-1===ft?(ya(ti(A,c),l,m),qg(l,e,t.length),t.push(m),A.directiveStart++,A.directiveEnd++,o&&(A.providerIndexes+=1048576),n.push(qe),c.push(qe)):(n[ft]=qe,c[ft]=qe)}else{const qe=Kg(m,t,j+Se,fe),ft=Kg(m,t,j,j+Se),Ht=qe>=0&&n[qe],Jt=ft>=0&&n[ft];if(o&&!Jt||!o&&!Ht){ya(ti(A,c),l,m);const hn=function rb(e,t,n,i,o){const l=new vo(e,n,Oi);return l.multi=[],l.index=t,l.componentProviders=0,Jy(l,o,i&&!n),l}(o?nb:tb,n.length,o,i,v);!o&&Jt&&(n[ft].providerFactory=hn),qg(l,e,t.length,0),t.push(m),A.directiveStart++,A.directiveEnd++,o&&(A.providerIndexes+=1048576),n.push(hn),c.push(hn)}else qg(l,e,qe>-1?qe:ft,Jy(n[o?ft:qe],v,!o&&i));!o&&i&&Jt&&n[ft].componentProviders++}}}function qg(e,t,n,i){const o=Ua(t),l=function rg(e){return!!e.useClass}(t);if(o||l){const v=(l?ke(t.useClass):t).prototype.ngOnDestroy;if(v){const A=e.destroyHooks||(e.destroyHooks=[]);if(!o&&t.multi){const j=A.indexOf(n);-1===j?A.push(n,[i,v]):A[j+1].push(i,v)}else A.push(n,v)}}}function Jy(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function Kg(e,t,n,i){for(let o=n;o<i;o++)if(t[o]===e)return o;return-1}function tb(e,t,n,i){return Qg(this.multi,[])}function nb(e,t,n,i){const o=this.multi;let l;if(this.providerFactory){const c=this.providerFactory.componentProviders,m=Te(n,n[1],this.providerFactory.index,i);l=m.slice(0,c),Qg(o,l);for(let v=c;v<m.length;v++)l.push(m[v])}else l=[],Qg(o,l);return l}function Qg(e,t){for(let n=0;n<e.length;n++)t.push((0,e[n])());return t}function Xy(e,t=[]){return n=>{n.providersResolver=(i,o)=>function eb(e,t,n){const i=nr();if(i.firstCreatePass){const o=Ot(e);Zg(n,i.data,i.blueprint,o,!0),Zg(t,i.data,i.blueprint,o,!1)}}(i,o?o(e):e,t)}}class ev{}class ob{resolveComponentFactory(t){throw function sb(e){const t=Error(`No component factory found for ${oe(e)}. Did you add it to @NgModule.entryComponents?`);return t.ngComponent=e,t}(t)}}let Df=(()=>{class e{}return e.NULL=new ob,e})();function ab(){return mu(Qr(),Et())}function mu(e,t){return new Jc(rn(e,t))}let Jc=(()=>{class e{constructor(n){this.nativeElement=n}}return e.__NG_ELEMENT_ID__=ab,e})();function lb(e){return e instanceof Jc?e.nativeElement:e}class nv{}let ub=(()=>{class e{}return e.__NG_ELEMENT_ID__=()=>function db(){const e=Et(),n=Wr(Qr().index,e);return function cb(e){return e[11]}(oi(n)?n:e)}(),e})(),hb=(()=>{class e{}return e.\u0275prov=Wn({token:e,providedIn:"root",factory:()=>null}),e})();class rv{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const fb=new rv("13.3.11"),Jg={};function Mf(e,t,n,i,o=!1){for(;null!==n;){const l=t[n.index];if(null!==l&&i.push(Lt(l)),Y(l))for(let m=10;m<l.length;m++){const v=l[m],A=v[1].firstChild;null!==A&&Mf(v[1],v,A,i)}const c=n.type;if(8&c)Mf(e,t,n.child,i);else if(32&c){const m=qu(n,t);let v;for(;v=m();)i.push(v)}else if(16&c){const m=nh(t,n);if(Array.isArray(m))i.push(...m);else{const v=Ia(t[16]);Mf(v[1],v,m,i,!0)}}n=o?n.projectionNext:n.next}return i}class Xc{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 Mf(n,t,n.firstChild,[])}get context(){return this._lView[8]}set context(t){this._lView[8]=t}get destroyed(){return 256==(256&this._lView[2])}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){const t=this._lView[3];if(Y(t)){const n=t[8],i=n?n.indexOf(this):-1;i>-1&&(tc(t,i),ro(n,i))}this._attachedToViewContainer=!1}nc(this._lView[1],this._lView)}onDestroy(t){Th(this._lView[1],this._lView,null,t)}markForCheck(){Sc(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-129}reattach(){this._lView[2]|=128}detectChanges(){!function Yi(e,t,n){const i=t[10];i.begin&&i.begin();try{ka(e,t,e.template,n)}catch(o){throw xc(t,o),o}finally{i.end&&i.end()}}(this._lView[1],this._lView,this.context)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new ut(902,"");this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function qd(e,t){pl(e,t,t[11],2,null,null)}(this._lView[1],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new ut(902,"");this._appRef=t}}class pb extends Xc{constructor(t){super(t),this._view=t}detectChanges(){fa(this._view)}checkNoChanges(){}get context(){return null}}class iv extends Df{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const n=ge(t);return new Xg(n,this.ngModule)}}function sv(e){const t=[];for(let n in e)e.hasOwnProperty(n)&&t.push({propName:e[n],templateName:n});return t}class Xg extends ev{constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=function Dp(e){return e.map(Ep).join(",")}(t.selectors),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!n}get inputs(){return sv(this.componentDef.inputs)}get outputs(){return sv(this.componentDef.outputs)}create(t,n,i,o){const l=(o=o||this.ngModule)?function mb(e,t){return{get:(n,i,o)=>{const l=e.get(n,Jg,o);return l!==Jg||i===Jg?l:t.get(n,i,o)}}}(t,o.injector):t,c=l.get(nv,et),m=l.get(hb,null),v=c.createRenderer(null,this.componentDef),A=this.componentDef.selectors[0][0]||"div",j=i?function Mh(e,t,n){if(De(e))return e.selectRootElement(t,n===kt.ShadowDom);let i="string"==typeof t?e.querySelector(t):t;return i.textContent="",i}(v,i,this.componentDef.encapsulation):ca(c.createRenderer(null,this.componentDef),A,function gb(e){const t=e.toLowerCase();return"svg"===t?"svg":"math"===t?"math":null}(A)),fe=this.componentDef.onPush?576:528,Se=function Qh(e,t){return{components:[],scheduler:e||ip,clean:qp,playerHandler:t||null,flags:0}}(),qe=au(0,null,null,1,0,null,null,null,null,null),ft=Ra(null,qe,Se,fe,null,null,c,v,m,l);let Ht,Jt;Yr(ft);try{const hn=function qh(e,t,n,i,o,l){const c=n[1];n[20]=e;const v=ha(c,20,2,"#host",null),A=v.mergedAttrs=t.hostAttrs;null!==A&&(lu(v,A,!0),null!==e&&(eo(o,e,A),null!==v.classes&&Xl(o,e,v.classes),null!==v.styles&&ih(o,e,v.styles)));const j=i.createRenderer(e,t),fe=Ra(n,Dc(t),null,t.onPush?64:16,n[20],v,i,j,l||null,null);return c.firstCreatePass&&(ya(ti(v,n),c,t.type),Oh(c,v),xh(v,n.length,1)),La(n,fe),n[20]=fe}(j,this.componentDef,ft,c,v);if(j)if(i)eo(v,j,["ng-version",fb.full]);else{const{attrs:Dt,classes:In}=function Mp(e){const t=[],n=[];let i=1,o=2;for(;i<e.length;){let l=e[i];if("string"==typeof l)2===o?""!==l&&t.push(l,e[++i]):8===o&&n.push(l);else{if(!Zs(o))break;o=l}i++}return{attrs:t,classes:n}}(this.componentDef.selectors[0]);Dt&&eo(v,j,Dt),In&&In.length>0&&Xl(v,j,In.join(" "))}if(Jt=er(qe,20),void 0!==n){const Dt=Jt.projection=[];for(let In=0;In<this.ngContentSelectors.length;In++){const yr=n[In];Dt.push(null!=yr?Array.from(yr):null)}}Ht=function Kh(e,t,n,i,o){const l=n[1],c=function Hp(e,t,n){const i=Qr();e.firstCreatePass&&(n.providersResolver&&n.providersResolver(n),co(e,i,t,Na(e,t,1,null),n));const o=Te(t,e,i.directiveStart,i);Bi(o,t);const l=rn(i,t);return l&&Bi(l,t),o}(l,n,t);if(i.components.push(c),e[8]=c,o&&o.forEach(v=>v(c,t)),t.contentQueries){const v=Qr();t.contentQueries(1,c,v.directiveStart)}const m=Qr();return!l.firstCreatePass||null===t.hostBindings&&null===t.hostAttrs||(Rr(m.index),li(n[1],m,0,m.directiveStart,m.directiveEnd,t),Ph(t,c)),c}(hn,this.componentDef,ft,Se,[fg]),ml(qe,ft,null)}finally{Je()}return new yb(this.componentType,Ht,mu(Jt,ft),ft,Jt)}}class yb extends class ib{}{constructor(t,n,i,o,l){super(),this.location=i,this._rootLView=o,this._tNode=l,this.instance=n,this.hostView=this.changeDetectorRef=new pb(o),this.componentType=t}get injector(){return new gn(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}}class _u{}class ov{}const yu=new Map;class uv extends _u{constructor(t,n){super(),this._parent=n,this._bootstrapComponents=[],this.injector=this,this.destroyCbs=[],this.componentFactoryResolver=new iv(this);const i=Nt(t);this._bootstrapComponents=ao(i.bootstrap),this._r3Injector=Vh(t,n,[{provide:_u,useValue:this},{provide:Df,useValue:this.componentFactoryResolver}],oe(t)),this._r3Injector._resolveInjectorDefTypes(),this.instance=this.get(t)}get(t,n=po.THROW_IF_NOT_FOUND,i=Me.Default){return t===po||t===_u||t===Va?this:this._r3Injector.get(t,n,i)}destroy(){const t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(n=>n()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}}class em extends ov{constructor(t){super(),this.moduleType=t,null!==Nt(t)&&function Cb(e){const t=new Set;!function n(i){const o=Nt(i,!0),l=o.id;null!==l&&(function av(e,t,n){if(t&&t!==n)throw new Error(`Duplicate module registered for ${e} - ${oe(t)} vs ${oe(t.name)}`)}(l,yu.get(l),i),yu.set(l,i));const c=ao(o.imports);for(const m of c)t.has(m)||(t.add(m),n(m))}(e)}(t)}create(t){return new uv(this.moduleType,t)}}function cv(e,t,n,i){return function pv(e,t,n,i,o,l){const c=t+n;return Mi(e,c,o)?go(e,c+1,l?i.call(l,o):i(o)):ed(e,c+1)}(Et(),b(),e,t,n,i)}function dv(e,t,n,i,o){return function gv(e,t,n,i,o,l,c){const m=t+n;return zo(e,m,o,l)?go(e,m+2,c?i.call(c,o,l):i(o,l)):ed(e,m+2)}(Et(),b(),e,t,n,i,o)}function hv(e,t,n,i,o,l){return function mv(e,t,n,i,o,l,c,m){const v=t+n;return function Dl(e,t,n,i,o){const l=zo(e,t,n,i);return Mi(e,t+2,o)||l}(e,v,o,l,c)?go(e,v+3,m?i.call(m,o,l,c):i(o,l,c)):ed(e,v+3)}(Et(),b(),e,t,n,i,o,l)}function fv(e,t,n,i,o,l,c){return function _v(e,t,n,i,o,l,c,m,v){const A=t+n;return function Is(e,t,n,i,o,l){const c=zo(e,t,n,i);return zo(e,t+2,o,l)||c}(e,A,o,l,c,m)?go(e,A+4,v?i.call(v,o,l,c,m):i(o,l,c,m)):ed(e,A+4)}(Et(),b(),e,t,n,i,o,l,c)}function ed(e,t){const n=e[t];return n===Zn?void 0:n}function tm(e){return t=>{setTimeout(e,void 0,t)}}const Ko=class Rb extends s.xQ{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,n,i){let o=t,l=n||(()=>null),c=i;if(t&&"object"==typeof t){const v=t;o=v.next?.bind(v),l=v.error?.bind(v),c=v.complete?.bind(v)}this.__isAsync&&(l=tm(l),o&&(o=tm(o)),c&&(c=tm(c)));const m=super.subscribe({next:o,error:l,complete:c});return t instanceof f.w&&t.add(m),m}};function Nb(){return this._results[Ha()]()}class nm{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=Ha(),i=nm.prototype;i[n]||(i[n]=Nb)}get changes(){return this._changes||(this._changes=new Ko)}get(t){return this._results[t]}map(t){return this._results.map(t)}filter(t){return this._results.filter(t)}find(t){return this._results.find(t)}reduce(t,n){return this._results.reduce(t,n)}forEach(t){this._results.forEach(t)}some(t){return this._results.some(t)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(t,n){const i=this;i.dirty=!1;const o=Ts(t);(this._changesDetected=!function Nf(e,t,n){if(e.length!==t.length)return!1;for(let i=0;i<e.length;i++){let o=e[i],l=t[i];if(n&&(o=n(o),l=n(l)),l!==o)return!1}return!0}(i._results,o,n))&&(i._results=o,i.length=o.length,i.last=o[this.length-1],i.first=o[0])}notifyOnChanges(){this._changes&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.emit(this)}setDirty(){this.dirty=!0}destroy(){this.changes.complete(),this.changes.unsubscribe()}}Symbol;let nd=(()=>{class e{}return e.__NG_ELEMENT_ID__=Bb,e})();const kb=nd,Lb=class extends kb{constructor(t,n,i){super(),this._declarationLView=t,this._declarationTContainer=n,this.elementRef=i}createEmbeddedView(t){const n=this._declarationTContainer.tViews,i=Ra(this._declarationLView,n,t,16,null,n.declTNode,null,null,null,null);i[17]=this._declarationLView[this._declarationTContainer.index];const l=this._declarationLView[19];return null!==l&&(i[19]=l.createEmbeddedView(n)),ml(n,i,t),new Xc(i)}};function Bb(){return Tf(Qr(),Et())}function Tf(e,t){return 4&e.type?new Lb(t,e,mu(e,t)):null}let Sf=(()=>{class e{}return e.__NG_ELEMENT_ID__=Vb,e})();function Vb(){return bv(Qr(),Et())}const Ub=Sf,vv=class extends Ub{constructor(t,n,i){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=i}get element(){return mu(this._hostTNode,this._hostLView)}get injector(){return new gn(this._hostTNode,this._hostLView)}get parentInjector(){const t=Ao(this._hostTNode,this._hostLView);if(qa(t)){const n=zs(t,this._hostLView),i=Po(t);return new gn(n[1].data[i+8],n)}return new gn(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const n=Cv(this._lContainer);return null!==n&&n[t]||null}get length(){return this._lContainer.length-10}createEmbeddedView(t,n,i){const o=t.createEmbeddedView(n||{});return this.insert(o,i),o}createComponent(t,n,i,o,l){const c=t&&!function hs(e){return"function"==typeof e}(t);let m;if(c)m=n;else{const fe=n||{};m=fe.index,i=fe.injector,o=fe.projectableNodes,l=fe.ngModuleRef}const v=c?t:new Xg(ge(t)),A=i||this.parentInjector;if(!l&&null==v.ngModule){const Se=(c?A:this.parentInjector).get(_u,null);Se&&(l=Se)}const j=v.create(A,o,void 0,l);return this.insert(j.hostView,m),j}insert(t,n){const i=t._lView,o=i[1];if(function Si(e){return Y(e[3])}(i)){const j=this.indexOf(t);if(-1!==j)this.detach(j);else{const fe=i[3],Se=new vv(fe,fe[6],fe[3]);Se.detach(Se.indexOf(t))}}const l=this._adjustIndex(n),c=this._lContainer;!function Kd(e,t,n,i){const o=10+i,l=n.length;i>0&&(n[o-1][4]=t),i<l-10?(t[4]=n[o],od(n,10+i,t)):(n.push(t),t[4]=null),t[3]=n;const c=t[17];null!==c&&n!==c&&function uo(e,t){const n=e[9];t[16]!==t[3][3][16]&&(e[2]=!0),null===n?e[9]=[t]:n.push(t)}(c,t);const m=t[19];null!==m&&m.insertView(e),t[2]|=128}(o,i,c,l);const m=lc(l,c),v=i[11],A=Ql(v,c[7]);return null!==A&&function Zd(e,t,n,i,o,l){i[0]=o,i[6]=t,pl(e,i,n,1,o,l)}(o,c[6],v,i,A,m),t.attachToViewContainerRef(),od(rm(c),l,t),t}move(t,n){return this.insert(t,n)}indexOf(t){const n=Cv(this._lContainer);return null!==n?n.indexOf(t):-1}remove(t){const n=this._adjustIndex(t,-1),i=tc(this._lContainer,n);i&&(ro(rm(this._lContainer),n),nc(i[1],i))}detach(t){const n=this._adjustIndex(t,-1),i=tc(this._lContainer,n);return i&&null!=ro(rm(this._lContainer),n)?new Xc(i):null}_adjustIndex(t,n=0){return t??this.length+n}};function Cv(e){return e[8]}function rm(e){return e[8]||(e[8]=[])}function bv(e,t){let n;const i=t[e.index];if(Y(i))n=i;else{let o;if(8&e.type)o=Lt(i);else{const l=t[11];o=l.createComment("");const c=rn(e,t);da(l,Ql(l,c),o,function dp(e,t){return De(e)?e.nextSibling(t):t.nextSibling}(l,c),!1)}t[e.index]=n=Fh(i,t,o,e),La(t,n)}return new vv(n,e,t)}class im{constructor(t){this.queryList=t,this.matches=null}clone(){return new im(this.queryList)}setDirty(){this.queryList.setDirty()}}class sm{constructor(t=[]){this.queries=t}createEmbeddedView(t){const n=t.queries;if(null!==n){const i=null!==t.contentQueries?t.contentQueries[0]:n.length,o=[];for(let l=0;l<i;l++){const c=n.getByIndex(l);o.push(this.queries[c.indexInDeclarationView].clone())}return new sm(o)}return null}insertView(t){this.dirtyQueriesWithMatches(t)}detachView(t){this.dirtyQueriesWithMatches(t)}dirtyQueriesWithMatches(t){for(let n=0;n<this.queries.length;n++)null!==xv(t,n).matches&&this.queries[n].setDirty()}}class wv{constructor(t,n,i=null){this.predicate=t,this.flags=n,this.read=i}}class om{constructor(t=[]){this.queries=t}elementStart(t,n){for(let i=0;i<this.queries.length;i++)this.queries[i].elementStart(t,n)}elementEnd(t){for(let n=0;n<this.queries.length;n++)this.queries[n].elementEnd(t)}embeddedTView(t){let n=null;for(let i=0;i<this.length;i++){const o=null!==n?n.length:0,l=this.getByIndex(i).embeddedTView(t,o);l&&(l.indexInDeclarationView=i,null!==n?n.push(l):n=[l])}return null!==n?new om(n):null}template(t,n){for(let i=0;i<this.queries.length;i++)this.queries[i].template(t,n)}getByIndex(t){return this.queries[t]}get length(){return this.queries.length}track(t){this.queries.push(t)}}class am{constructor(t,n=-1){this.metadata=t,this.matches=null,this.indexInDeclarationView=-1,this.crossesNgTemplate=!1,this._appliesToNextNode=!0,this._declarationNodeIndex=n}elementStart(t,n){this.isApplyingToNode(n)&&this.matchTNode(t,n)}elementEnd(t){this._declarationNodeIndex===t.index&&(this._appliesToNextNode=!1)}template(t,n){this.elementStart(t,n)}embeddedTView(t,n){return this.isApplyingToNode(t)?(this.crossesNgTemplate=!0,this.addMatch(-t.index,n),new am(this.metadata)):null}isApplyingToNode(t){if(this._appliesToNextNode&&1!=(1&this.metadata.flags)){const n=this._declarationNodeIndex;let i=t.parent;for(;null!==i&&8&i.type&&i.index!==n;)i=i.parent;return n===(null!==i?i.index:-1)}return this._appliesToNextNode}matchTNode(t,n){const i=this.metadata.predicate;if(Array.isArray(i))for(let o=0;o<i.length;o++){const l=i[o];this.matchTNodeWithReadOption(t,n,$b(n,l)),this.matchTNodeWithReadOption(t,n,pe(n,t,l,!1,!1))}else i===nd?4&n.type&&this.matchTNodeWithReadOption(t,n,-1):this.matchTNodeWithReadOption(t,n,pe(n,t,i,!1,!1))}matchTNodeWithReadOption(t,n,i){if(null!==i){const o=this.metadata.read;if(null!==o)if(o===Jc||o===Sf||o===nd&&4&n.type)this.addMatch(n.index,-2);else{const l=pe(n,t,o,!1,!1);null!==l&&this.addMatch(n.index,l)}else this.addMatch(n.index,i)}}addMatch(t,n){null===this.matches?this.matches=[t,n]:this.matches.push(t,n)}}function $b(e,t){const n=e.localNames;if(null!==n)for(let i=0;i<n.length;i+=2)if(n[i]===t)return n[i+1];return null}function zb(e,t,n,i){return-1===n?function Gb(e,t){return 11&e.type?mu(e,t):4&e.type?Tf(e,t):null}(t,e):-2===n?function Wb(e,t,n){return n===Jc?mu(t,e):n===nd?Tf(t,e):n===Sf?bv(t,e):void 0}(e,t,i):Te(e,e[1],n,t)}function Ev(e,t,n,i){const o=t[19].queries[i];if(null===o.matches){const l=e.data,c=n.matches,m=[];for(let v=0;v<c.length;v+=2){const A=c[v];m.push(A<0?null:zb(t,l[A],c[v+1],n.metadata.read))}o.matches=m}return o.matches}function lm(e,t,n,i){const o=e.queries.getByIndex(n),l=o.matches;if(null!==l){const c=Ev(e,t,o,n);for(let m=0;m<l.length;m+=2){const v=l[m];if(v>0)i.push(c[m/2]);else{const A=l[m+1],j=t[-v];for(let fe=10;fe<j.length;fe++){const Se=j[fe];Se[17]===Se[3]&&lm(Se[1],Se,A,i)}if(null!==j[9]){const fe=j[9];for(let Se=0;Se<fe.length;Se++){const qe=fe[Se];lm(qe[1],qe,A,i)}}}}}return i}function Dv(e){const t=Et(),n=nr(),i=bn();Hn(i+1);const o=xv(n,i);if(e.dirty&&Ti(t)===(2==(2&o.metadata.flags))){if(null===o.matches)e.reset([]);else{const l=o.crossesNgTemplate?lm(n,t,i,[]):Ev(n,t,o,i);e.reset(l,lb),e.notifyOnChanges()}return!0}return!1}function Mv(e,t,n){const i=nr();i.firstCreatePass&&(Ov(i,new wv(e,t,n),-1),2==(2&t)&&(i.staticViewQueries=!0)),Pv(i,Et(),t)}function Tv(e,t,n,i){const o=nr();if(o.firstCreatePass){const l=Qr();Ov(o,new wv(t,n,i),l.index),function Zb(e,t){const n=e.contentQueries||(e.contentQueries=[]);t!==(n.length?n[n.length-1]:-1)&&n.push(e.queries.length-1,t)}(o,e),2==(2&n)&&(o.staticContentQueries=!0)}Pv(o,Et(),n)}function Sv(){return function Yb(e,t){return e[19].queries[t].queryList}(Et(),bn())}function Pv(e,t,n){const i=new nm(4==(4&n));Th(e,t,i,i.destroy),null===t[19]&&(t[19]=new sm),t[19].queries.push(new im(i))}function Ov(e,t,n){null===e.queries&&(e.queries=new om),e.queries.track(new am(t,n))}function xv(e,t){return e.queries.getByIndex(t)}function Av(e,t){return Tf(e,t)}function xf(...e){}const Zv=new Ur("Application Initializer");let pm=(()=>{class e{constructor(n){this.appInits=n,this.resolve=xf,this.reject=xf,this.initialized=!1,this.done=!1,this.donePromise=new Promise((i,o)=>{this.resolve=i,this.reject=o})}runInitializers(){if(this.initialized)return;const n=[],i=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let o=0;o<this.appInits.length;o++){const l=this.appInits[o]();if(kg(l))n.push(l);else if(A_(l)){const c=new Promise((m,v)=>{l.subscribe({complete:m,error:v})});n.push(c)}}Promise.all(n).then(()=>{i()}).catch(o=>{this.reject(o)}),0===n.length&&i(),this.initialized=!0}}return e.\u0275fac=function(n){return new(n||e)(Pr(Zv,8))},e.\u0275prov=Wn({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const qv=new Ur("AppId",{providedIn:"root",factory:function Kv(){return`${gm()}${gm()}${gm()}`}});function gm(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const Qv=new Ur("Platform Initializer"),dw=new Ur("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),Jv=new Ur("appBootstrapListener");let hw=(()=>{class e{log(n){console.log(n)}warn(n){console.warn(n)}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=Wn({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})();const mm=new Ur("LocaleId",{providedIn:"root",factory:()=>gd(mm,Me.Optional|Me.SkipSelf)||function fw(){return typeof $localize<"u"&&$localize.locale||vf}()}),pw=new Ur("DefaultCurrencyCode",{providedIn:"root",factory:()=>"USD"});class gw{constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}}let mw=(()=>{class e{compileModuleSync(n){return new em(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){const i=this.compileModuleSync(n),l=ao(Nt(n).declarations).reduce((c,m)=>{const v=ge(m);return v&&c.push(new Xg(v)),c},[]);return new gw(i,l)}compileModuleAndAllComponentsAsync(n){return Promise.resolve(this.compileModuleAndAllComponentsSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=Wn({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const yw=(()=>Promise.resolve(0))();function _m(e){typeof Zone>"u"?yw.then(()=>{e&&e.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",e)}class Do{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:i=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Ko(!1),this.onMicrotaskEmpty=new Ko(!1),this.onStable=new Ko(!1),this.onError=new Ko(!1),typeof Zone>"u")throw new Error("In this configuration Angular requires Zone.js");Zone.assertZonePatched();const o=this;o._nesting=0,o._outer=o._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(o._inner=o._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(o._inner=o._inner.fork(Zone.longStackTraceZoneSpec)),o.shouldCoalesceEventChangeDetection=!i&&n,o.shouldCoalesceRunChangeDetection=i,o.lastRequestAnimationFrameId=-1,o.nativeRequestAnimationFrame=function vw(){let e=$t.requestAnimationFrame,t=$t.cancelAnimationFrame;if(typeof Zone<"u"&&e&&t){const n=e[Zone.__symbol__("OriginalDelegate")];n&&(e=n);const i=t[Zone.__symbol__("OriginalDelegate")];i&&(t=i)}return{nativeRequestAnimationFrame:e,nativeCancelAnimationFrame:t}}().nativeRequestAnimationFrame,function ww(e){const t=()=>{!function bw(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call($t,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,vm(e),e.isCheckStableRunning=!0,ym(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),vm(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,i,o,l,c,m)=>{try{return Xv(e),n.invokeTask(o,l,c,m)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===l.type||e.shouldCoalesceRunChangeDetection)&&t(),e0(e)}},onInvoke:(n,i,o,l,c,m,v)=>{try{return Xv(e),n.invoke(o,l,c,m,v)}finally{e.shouldCoalesceRunChangeDetection&&t(),e0(e)}},onHasTask:(n,i,o,l)=>{n.hasTask(o,l),i===o&&("microTask"==l.change?(e._hasPendingMicrotasks=l.microTask,vm(e),ym(e)):"macroTask"==l.change&&(e.hasPendingMacrotasks=l.macroTask))},onHandleError:(n,i,o,l)=>(n.handleError(o,l),e.runOutsideAngular(()=>e.onError.emit(l)),!1)})}(o)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!Do.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")}static assertNotInAngularZone(){if(Do.isInAngularZone())throw new Error("Expected to not be in Angular Zone, but it is!")}run(t,n,i){return this._inner.run(t,n,i)}runTask(t,n,i,o){const l=this._inner,c=l.scheduleEventTask("NgZoneEvent: "+o,t,Cw,xf,xf);try{return l.runTask(c,n,i)}finally{l.cancelTask(c)}}runGuarded(t,n,i){return this._inner.runGuarded(t,n,i)}runOutsideAngular(t){return this._outer.run(t)}}const Cw={};function ym(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 vm(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function Xv(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function e0(e){e._nesting--,ym(e)}class Ew{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Ko,this.onMicrotaskEmpty=new Ko,this.onStable=new Ko,this.onError=new Ko}run(t,n,i){return t.apply(n,i)}runGuarded(t,n,i){return t.apply(n,i)}runOutsideAngular(t){return t()}runTask(t,n,i,o){return t.apply(n,i)}}let t0=(()=>{class e{constructor(n){this._ngZone=n,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,this._watchAngularEvents(),n.run(()=>{this.taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._didWork=!0,this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{Do.assertNotInAngularZone(),_m(()=>{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())_m(()=>{for(;0!==this._callbacks.length;){let n=this._callbacks.pop();clearTimeout(n.timeoutId),n.doneCb(this._didWork)}this._didWork=!1});else{let n=this.getPendingTasks();this._callbacks=this._callbacks.filter(i=>!i.updateCb||!i.updateCb(n)||(clearTimeout(i.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(n=>({source:n.source,creationLocation:n.creationLocation,data:n.data})):[]}addCallback(n,i,o){let l=-1;i&&i>0&&(l=setTimeout(()=>{this._callbacks=this._callbacks.filter(c=>c.timeoutId!==l),n(this._didWork,this.getPendingTasks())},i)),this._callbacks.push({doneCb:n,timeoutId:l,updateCb:o})}whenStable(n,i,o){if(o&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(n,i,o),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}findProviders(n,i,o){return[]}}return e.\u0275fac=function(n){return new(n||e)(Pr(Do))},e.\u0275prov=Wn({token:e,factory:e.\u0275fac}),e})(),Dw=(()=>{class e{constructor(){this._applications=new Map,Cm.addToWindow(this)}registerApplication(n,i){this._applications.set(n,i)}unregisterApplication(n){this._applications.delete(n)}unregisterAllApplications(){this._applications.clear()}getTestability(n){return this._applications.get(n)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(n,i=!0){return Cm.findTestabilityInTree(this,n,i)}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=Wn({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})();class Mw{addToWindow(t){}findTestabilityInTree(t,n,i){return null}}function Tw(e){Cm=e}let Cm=new Mw,id=null;const n0=new Ur("AllowMultipleToken"),r0=new Ur("PlatformOnDestroy");class Ow{constructor(t,n){this.name=t,this.token=n}}function s0(e,t,n=[]){const i=`Platform: ${t}`,o=new Ur(i);return(l=[])=>{let c=bm();if(!c||c.injector.get(n0,!1)){const m=[...n,...l,{provide:o,useValue:!0}];e?e(m):function xw(e){if(id&&!id.get(n0,!1))throw new ut(400,"");id=e;const t=e.get(o0),n=e.get(Qv,null);n&&n.forEach(i=>i())}(function Iw(e=[],t){return po.create({name:t,providers:[{provide:Ac,useValue:"platform"},{provide:r0,useValue:()=>id=null},...e]})}(m,i))}return function Aw(e){const t=bm();if(!t)throw new ut(401,"");return t}()}}function bm(){return id?.get(o0)??null}let o0=(()=>{class e{constructor(n){this._injector=n,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(n,i){const m=function Fw(e,t){let n;return n="noop"===e?new Ew:("zone.js"===e?void 0:e)||new Do({enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:!!t?.ngZoneEventCoalescing,shouldCoalesceRunChangeDetection:!!t?.ngZoneRunCoalescing}),n}(i?i.ngZone:void 0,{ngZoneEventCoalescing:i&&i.ngZoneEventCoalescing||!1,ngZoneRunCoalescing:i&&i.ngZoneRunCoalescing||!1}),v=[{provide:Do,useValue:m}];return m.run(()=>{const A=po.create({providers:v,parent:this.injector,name:n.moduleType.name}),j=n.create(A),fe=j.injector.get(aa,null);if(!fe)throw new ut(402,"");return m.runOutsideAngular(()=>{const Se=m.onError.subscribe({next:qe=>{fe.handleError(qe)}});j.onDestroy(()=>{Em(this._modules,j),Se.unsubscribe()})}),function Rw(e,t,n){try{const i=n();return kg(i)?i.catch(o=>{throw t.runOutsideAngular(()=>e.handleError(o)),o}):i}catch(i){throw t.runOutsideAngular(()=>e.handleError(i)),i}}(fe,m,()=>{const Se=j.injector.get(pm);return Se.runInitializers(),Se.donePromise.then(()=>(function uC(e){zn(e,"Expected localeId to be defined"),"string"==typeof e&&(Py=e.toLowerCase().replace(/_/g,"-"))}(j.injector.get(mm,vf)||vf),this._moduleDoBootstrap(j),j))})})}bootstrapModule(n,i=[]){const o=a0({},i);return function Sw(e,t,n){const i=new em(n);return Promise.resolve(i)}(0,0,n).then(l=>this.bootstrapModuleFactory(l,o))}_moduleDoBootstrap(n){const i=n.injector.get(wm);if(n._bootstrapComponents.length>0)n._bootstrapComponents.forEach(o=>i.bootstrap(o));else{if(!n.instance.ngDoBootstrap)throw new ut(403,"");n.instance.ngDoBootstrap(i)}this._modules.push(n)}onDestroy(n){this._destroyListeners.push(n)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new ut(404,"");this._modules.slice().forEach(i=>i.destroy()),this._destroyListeners.forEach(i=>i()),this._injector.get(r0,null)?.(),this._destroyed=!0}get destroyed(){return this._destroyed}}return e.\u0275fac=function(n){return new(n||e)(Pr(po))},e.\u0275prov=Wn({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})();function a0(e,t){return Array.isArray(t)?t.reduce(a0,e):{...e,...t}}let wm=(()=>{class e{constructor(n,i,o,l){this._zone=n,this._injector=i,this._exceptionHandler=o,this._initStatus=l,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._onMicrotaskEmptySubscription=this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run(()=>{this.tick()})}});const c=new te.y(v=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{v.next(this._stable),v.complete()})}),m=new te.y(v=>{let A;this._zone.runOutsideAngular(()=>{A=this._zone.onStable.subscribe(()=>{Do.assertNotInAngularZone(),_m(()=>{!this._stable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks&&(this._stable=!0,v.next(!0))})})});const j=this._zone.onUnstable.subscribe(()=>{Do.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{v.next(!1)}))});return()=>{A.unsubscribe(),j.unsubscribe()}});this.isStable=(0,Q.T)(c,m.pipe(function L(){return e=>(0,ee.x)()(function X(e,t){return function(i){let o;if(o="function"==typeof e?e:function(){return e},"function"==typeof t)return i.lift(new ie(o,t));const l=Object.create(i,re.N);return l.source=i,l.subjectFactory=o,l}}(he)(e))}()))}bootstrap(n,i){if(!this._initStatus.done)throw new ut(405,"");let o;o=n instanceof ev?n:this._injector.get(Df).resolveComponentFactory(n),this.componentTypes.push(o.componentType);const l=function Pw(e){return e.isBoundToModule}(o)?void 0:this._injector.get(_u),m=o.create(po.NULL,[],i||o.selector,l),v=m.location.nativeElement,A=m.injector.get(t0,null),j=A&&m.injector.get(Dw);return A&&j&&j.registerApplication(v,A),m.onDestroy(()=>{this.detachView(m.hostView),Em(this.components,m),j&&j.unregisterApplication(v)}),this._loadComponent(m),m}tick(){if(this._runningTick)throw new ut(101,"");try{this._runningTick=!0;for(let n of this._views)n.detectChanges()}catch(n){this._zone.runOutsideAngular(()=>this._exceptionHandler.handleError(n))}finally{this._runningTick=!1}}attachView(n){const i=n;this._views.push(i),i.attachToAppRef(this)}detachView(n){const i=n;Em(this._views,i),i.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n),this._injector.get(Jv,[]).concat(this._bootstrapListeners).forEach(o=>o(n))}ngOnDestroy(){this._views.slice().forEach(n=>n.destroy()),this._onMicrotaskEmptySubscription.unsubscribe()}get viewCount(){return this._views.length}}return e.\u0275fac=function(n){return new(n||e)(Pr(Do),Pr(po),Pr(aa),Pr(pm))},e.\u0275prov=Wn({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();function Em(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}let u0=!0,c0=!1;function kw(){return c0=!0,u0}function Lw(){if(c0)throw new Error("Cannot enable prod mode after platform setup.");u0=!1}let Bw=(()=>{class e{}return e.__NG_ELEMENT_ID__=Vw,e})();function Vw(e){return function Uw(e,t,n){if(I(e)&&!n){const i=Wr(e.index,t);return new Xc(i,i)}return 47&e.type?new Xc(t[16],t):null}(Qr(),Et(),16==(16&e))}class p0{constructor(){}supports(t){return wl(t)}create(t){return new Ww(t)}}const zw=(e,t)=>t;class Ww{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||zw}forEachItem(t){let n;for(n=this._itHead;null!==n;n=n._next)t(n)}forEachOperation(t){let n=this._itHead,i=this._removalsHead,o=0,l=null;for(;n||i;){const c=!i||n&&n.currentIndex<m0(i,o,l)?n:i,m=m0(c,o,l),v=c.currentIndex;if(c===i)o--,i=i._nextRemoved;else if(n=n._next,null==c.previousIndex)o++;else{l||(l=[]);const A=m-o,j=v-o;if(A!=j){for(let Se=0;Se<A;Se++){const qe=Se<l.length?l[Se]:l[Se]=0,ft=qe+Se;j<=ft&&ft<A&&(l[Se]=qe+1)}l[c.previousIndex]=j-A}}m!==v&&t(c,m,v)}}forEachPreviousItem(t){let n;for(n=this._previousItHead;null!==n;n=n._nextPrevious)t(n)}forEachAddedItem(t){let n;for(n=this._additionsHead;null!==n;n=n._nextAdded)t(n)}forEachMovedItem(t){let n;for(n=this._movesHead;null!==n;n=n._nextMoved)t(n)}forEachRemovedItem(t){let n;for(n=this._removalsHead;null!==n;n=n._nextRemoved)t(n)}forEachIdentityChange(t){let n;for(n=this._identityChangesHead;null!==n;n=n._nextIdentityChange)t(n)}diff(t){if(null==t&&(t=[]),!wl(t))throw new ut(900,"");return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let o,l,c,n=this._itHead,i=!1;if(Array.isArray(t)){this.length=t.length;for(let m=0;m<this.length;m++)l=t[m],c=this._trackByFn(m,l),null!==n&&Object.is(n.trackById,c)?(i&&(n=this._verifyReinsertion(n,l,c,m)),Object.is(n.item,l)||this._addIdentityChange(n,l)):(n=this._mismatch(n,l,c,m),i=!0),n=n._next}else o=0,function Eg(e,t){if(Array.isArray(e))for(let n=0;n<e.length;n++)t(e[n]);else{const n=e[Ha()]();let i;for(;!(i=n.next()).done;)t(i.value)}}(t,m=>{c=this._trackByFn(o,m),null!==n&&Object.is(n.trackById,c)?(i&&(n=this._verifyReinsertion(n,m,c,o)),Object.is(n.item,m)||this._addIdentityChange(n,m)):(n=this._mismatch(n,m,c,o),i=!0),n=n._next,o++}),this.length=o;return this._truncate(n),this.collection=t,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let t;for(t=this._previousItHead=this._itHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;null!==t;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;null!==t;t=t._nextMoved)t.previousIndex=t.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(t,n,i,o){let l;return null===t?l=this._itTail:(l=t._prev,this._remove(t)),null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(i,null))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._reinsertAfter(t,l,o)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(i,o))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._moveAfter(t,l,o)):t=this._addAfter(new Yw(n,i),l,o),t}_verifyReinsertion(t,n,i,o){let l=null===this._unlinkedRecords?null:this._unlinkedRecords.get(i,null);return null!==l?t=this._reinsertAfter(l,t._prev,o):t.currentIndex!=o&&(t.currentIndex=o,this._addToMoves(t,o)),t}_truncate(t){for(;null!==t;){const n=t._next;this._addToRemovals(this._unlink(t)),t=n}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(t,n,i){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(t);const o=t._prevRemoved,l=t._nextRemoved;return null===o?this._removalsHead=l:o._nextRemoved=l,null===l?this._removalsTail=o:l._prevRemoved=o,this._insertAfter(t,n,i),this._addToMoves(t,i),t}_moveAfter(t,n,i){return this._unlink(t),this._insertAfter(t,n,i),this._addToMoves(t,i),t}_addAfter(t,n,i){return this._insertAfter(t,n,i),this._additionsTail=null===this._additionsTail?this._additionsHead=t:this._additionsTail._nextAdded=t,t}_insertAfter(t,n,i){const o=null===n?this._itHead:n._next;return t._next=o,t._prev=n,null===o?this._itTail=t:o._prev=t,null===n?this._itHead=t:n._next=t,null===this._linkedRecords&&(this._linkedRecords=new g0),this._linkedRecords.put(t),t.currentIndex=i,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){null!==this._linkedRecords&&this._linkedRecords.remove(t);const n=t._prev,i=t._next;return null===n?this._itHead=i:n._next=i,null===i?this._itTail=n:i._prev=n,t}_addToMoves(t,n){return t.previousIndex===n||(this._movesTail=null===this._movesTail?this._movesHead=t:this._movesTail._nextMoved=t),t}_addToRemovals(t){return null===this._unlinkedRecords&&(this._unlinkedRecords=new g0),this._unlinkedRecords.put(t),t.currentIndex=null,t._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=t,t._prevRemoved=null):(t._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=t),t}_addIdentityChange(t,n){return t.item=n,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=t:this._identityChangesTail._nextIdentityChange=t,t}}class Yw{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 Zw{constructor(){this._head=null,this._tail=null}add(t){null===this._head?(this._head=this._tail=t,t._nextDup=null,t._prevDup=null):(this._tail._nextDup=t,t._prevDup=this._tail,t._nextDup=null,this._tail=t)}get(t,n){let i;for(i=this._head;null!==i;i=i._nextDup)if((null===n||n<=i.currentIndex)&&Object.is(i.trackById,t))return i;return null}remove(t){const n=t._prevDup,i=t._nextDup;return null===n?this._head=i:n._nextDup=i,null===i?this._tail=n:i._prevDup=n,null===this._head}}class g0{constructor(){this.map=new Map}put(t){const n=t.trackById;let i=this.map.get(n);i||(i=new Zw,this.map.set(n,i)),i.add(t)}get(t,n){const o=this.map.get(t);return o?o.get(t,n):null}remove(t){const n=t.trackById;return this.map.get(n).remove(t)&&this.map.delete(n),t}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function m0(e,t,n){const i=e.previousIndex;if(null===i)return i;let o=0;return n&&i<n.length&&(o=n[i]),i+t+o}class _0{constructor(){}supports(t){return t instanceof Map||Hc(t)}create(){return new qw}}class qw{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||Hc(t)))throw new ut(900,"")}else t=new Map;return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let n=this._mapHead;if(this._appendAfter=null,this._forEach(t,(i,o)=>{if(n&&n.key===o)this._maybeAddToChanges(n,i),this._appendAfter=n,n=n._next;else{const l=this._getOrCreateRecordForKey(o,i);n=this._insertBeforeOrAppend(n,l)}}),n){n._prev&&(n._prev._next=null),this._removalsHead=n;for(let i=n;null!==i;i=i._nextRemoved)i===this._mapHead&&(this._mapHead=null),this._records.delete(i.key),i._nextRemoved=i._next,i.previousValue=i.currentValue,i.currentValue=null,i._prev=null,i._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,n){if(t){const i=t._prev;return n._next=t,n._prev=i,t._prev=n,i&&(i._next=n),t===this._mapHead&&(this._mapHead=n),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=n,n._prev=this._appendAfter):this._mapHead=n,this._appendAfter=n,null}_getOrCreateRecordForKey(t,n){if(this._records.has(t)){const o=this._records.get(t);this._maybeAddToChanges(o,n);const l=o._prev,c=o._next;return l&&(l._next=c),c&&(c._prev=l),o._next=null,o._prev=null,o}const i=new Kw(t);return this._records.set(t,i),i.currentValue=n,this._addToAdditions(i),i}_reset(){if(this.isDirty){let t;for(this._previousMapHead=this._mapHead,t=this._previousMapHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._changesHead;null!==t;t=t._nextChanged)t.previousValue=t.currentValue;for(t=this._additionsHead;null!=t;t=t._nextAdded)t.previousValue=t.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(t,n){Object.is(n,t.currentValue)||(t.previousValue=t.currentValue,t.currentValue=n,this._addToChanges(t))}_addToAdditions(t){null===this._additionsHead?this._additionsHead=this._additionsTail=t:(this._additionsTail._nextAdded=t,this._additionsTail=t)}_addToChanges(t){null===this._changesHead?this._changesHead=this._changesTail=t:(this._changesTail._nextChanged=t,this._changesTail=t)}_forEach(t,n){t instanceof Map?t.forEach(n):Object.keys(t).forEach(i=>n(t[i],i))}}class Kw{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 Pm([new p0])}let Pm=(()=>{class e{constructor(n){this.factories=n}static create(n,i){if(null!=i){const o=i.factories.slice();n=n.concat(o)}return new e(n)}static extend(n){return{provide:e,useFactory:i=>e.create(n,i||y0()),deps:[[e,new rl,new na]]}}find(n){const i=this.factories.find(o=>o.supports(n));if(null!=i)return i;throw new ut(901,"")}}return e.\u0275prov=Wn({token:e,providedIn:"root",factory:y0}),e})();function v0(){return new Om([new _0])}let Om=(()=>{class e{constructor(n){this.factories=n}static create(n,i){if(i){const o=i.factories.slice();n=n.concat(o)}return new e(n)}static extend(n){return{provide:e,useFactory:i=>e.create(n,i||v0()),deps:[[e,new rl,new na]]}}find(n){const i=this.factories.find(l=>l.supports(n));if(i)return i;throw new ut(901,"")}}return e.\u0275prov=Wn({token:e,providedIn:"root",factory:v0}),e})();const Xw=s0(null,"core",[]);let eE=(()=>{class e{constructor(n){}}return e.\u0275fac=function(n){return new(n||e)(Pr(wm))},e.\u0275mod=Be({type:e}),e.\u0275inj=tr({}),e})()},4719:(Ne,se,M)=>{"use strict";M.d(se,{Wl:()=>Pe,Fj:()=>yt,u5:()=>Br,Cf:()=>pt,JU:()=>G,JJ:()=>Ce,JL:()=>Me,F:()=>fr,On:()=>Re,YN:()=>wi,wV:()=>Ot,EJ:()=>mr,kI:()=>gt,_Y:()=>I,Kr:()=>Ds});var s=M(5062),f=M(6895),te=M(2916),Q=M(6688),re=M(4850),X=M(7830),ie=M(5254);function he(P,E){return new te.y(C=>{const H=P.length;if(0===H)return void C.complete();const ct=new Array(H);let fn=0,Fr=0;for(let ai=0;ai<H;ai++){const us=(0,ie.D)(P[ai]);let Gi=!1;C.add(us.subscribe({next:Ji=>{Gi||(Gi=!0,Fr++),ct[ai]=Ji},error:Ji=>C.error(Ji),complete:()=>{fn++,(fn===H||!Gi)&&(Fr===H&&C.next(E?E.reduce((Ji,Us,Et)=>(Ji[Us]=ct[Et],Ji),{}):ct),C.complete())}}))}})}let L=(()=>{class P{constructor(C,H){this._renderer=C,this._elementRef=H,this.onChange=ct=>{},this.onTouched=()=>{}}setProperty(C,H){this._renderer.setProperty(this._elementRef.nativeElement,C,H)}registerOnTouched(C){this.onTouched=C}registerOnChange(C){this.onChange=C}setDisabledState(C){this.setProperty("disabled",C)}}return P.\u0275fac=function(C){return new(C||P)(s.Y36(s.Qsj),s.Y36(s.SBq))},P.\u0275dir=s.lG2({type:P}),P})(),N=(()=>{class P extends L{}return P.\u0275fac=function(){let E;return function(H){return(E||(E=s.n5z(P)))(H||P)}}(),P.\u0275dir=s.lG2({type:P,features:[s.qOj]}),P})();const G=new s.OlP("NgValueAccessor"),oe={provide:G,useExisting:(0,s.Gpc)(()=>Pe),multi:!0};let Pe=(()=>{class P extends N{writeValue(C){this.setProperty("checked",C)}}return P.\u0275fac=function(){let E;return function(H){return(E||(E=s.n5z(P)))(H||P)}}(),P.\u0275dir=s.lG2({type:P,selectors:[["input","type","checkbox","formControlName",""],["input","type","checkbox","formControl",""],["input","type","checkbox","ngModel",""]],hostBindings:function(C,H){1&C&&s.NdJ("change",function(fn){return H.onChange(fn.target.checked)})("blur",function(){return H.onTouched()})},features:[s._Bn([oe]),s.qOj]}),P})();const le={provide:G,useExisting:(0,s.Gpc)(()=>yt),multi:!0},ke=new s.OlP("CompositionEventMode");let yt=(()=>{class P extends L{constructor(C,H,ct){super(C,H),this._compositionMode=ct,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function Oe(){const P=(0,f.q)()?(0,f.q)().getUserAgent():"";return/android (\d+)/.test(P.toLowerCase())}())}writeValue(C){this.setProperty("value",C??"")}_handleInput(C){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(C)}_compositionStart(){this._composing=!0}_compositionEnd(C){this._composing=!1,this._compositionMode&&this.onChange(C)}}return P.\u0275fac=function(C){return new(C||P)(s.Y36(s.Qsj),s.Y36(s.SBq),s.Y36(ke,8))},P.\u0275dir=s.lG2({type:P,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(C,H){1&C&&s.NdJ("input",function(fn){return H._handleInput(fn.target.value)})("blur",function(){return H.onTouched()})("compositionstart",function(){return H._compositionStart()})("compositionend",function(fn){return H._compositionEnd(fn.target.value)})},features:[s._Bn([le]),s.qOj]}),P})();function it(P){return null==P||0===P.length}function ut(P){return null!=P&&"number"==typeof P.length}const pt=new s.OlP("NgValidators"),ze=new s.OlP("NgAsyncValidators"),xt=/^(?=.{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 gt{static min(E){return function Gt(P){return E=>{if(it(E.value)||it(P))return null;const C=parseFloat(E.value);return!isNaN(C)&&C<P?{min:{min:P,actual:E.value}}:null}}(E)}static max(E){return function Le(P){return E=>{if(it(E.value)||it(P))return null;const C=parseFloat(E.value);return!isNaN(C)&&C>P?{max:{max:P,actual:E.value}}:null}}(E)}static required(E){return function rt(P){return it(P.value)?{required:!0}:null}(E)}static requiredTrue(E){return function _e(P){return!0===P.value?null:{required:!0}}(E)}static email(E){return function Xe(P){return it(P.value)||xt.test(P.value)?null:{email:!0}}(E)}static minLength(E){return function tt(P){return E=>it(E.value)||!ut(E.value)?null:E.value.length<P?{minlength:{requiredLength:P,actualLength:E.value.length}}:null}(E)}static maxLength(E){return function ot(P){return E=>ut(E.value)&&E.value.length>P?{maxlength:{requiredLength:P,actualLength:E.value.length}}:null}(E)}static pattern(E){return function We(P){if(!P)return zt;let E,C;return"string"==typeof P?(C="","^"!==P.charAt(0)&&(C+="^"),C+=P,"$"!==P.charAt(P.length-1)&&(C+="$"),E=new RegExp(C)):(C=P.toString(),E=P),H=>{if(it(H.value))return null;const ct=H.value;return E.test(ct)?null:{pattern:{requiredPattern:C,actualValue:ct}}}}(E)}static nullValidator(E){return null}static compose(E){return jr(E)}static composeAsync(E){return Pn(E)}}function zt(P){return null}function cn(P){return null!=P}function Lr(P){const E=(0,s.QGY)(P)?(0,ie.D)(P):P;return(0,s.CqO)(E),E}function Er(P){let E={};return P.forEach(C=>{E=null!=C?{...E,...C}:E}),0===Object.keys(E).length?null:E}function ir(P,E){return E.map(C=>C(P))}function Dr(P){return P.map(E=>function si(P){return!P.validate}(E)?E:C=>E.validate(C))}function jr(P){if(!P)return null;const E=P.filter(cn);return 0==E.length?null:function(C){return Er(ir(C,E))}}function zn(P){return null!=P?jr(Dr(P)):null}function Pn(P){if(!P)return null;const E=P.filter(cn);return 0==E.length?null:function(C){return function ee(...P){if(1===P.length){const E=P[0];if((0,Q.k)(E))return he(E,null);if((0,X.K)(E)&&Object.getPrototypeOf(E)===Object.prototype){const C=Object.keys(E);return he(C.map(H=>E[H]),C)}}if("function"==typeof P[P.length-1]){const E=P.pop();return he(P=1===P.length&&(0,Q.k)(P[0])?P[0]:P,null).pipe((0,re.U)(C=>E(...C)))}return he(P,null)}(ir(C,E).map(Lr)).pipe((0,re.U)(Er))}}function Or(P){return null!=P?Pn(Dr(P)):null}function Un(P,E){return null===P?[E]:Array.isArray(P)?[...P,E]:[P,E]}function $r(P){return P?Array.isArray(P)?P:[P]:[]}function tr(P,E){return Array.isArray(P)?P.includes(E):P===E}function Mn(P,E){const C=$r(E);return $r(P).forEach(ct=>{tr(C,ct)||C.push(ct)}),C}function Vn(P,E){return $r(E).filter(C=>!tr(P,C))}class Ar{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(E){this._rawValidators=E||[],this._composedValidatorFn=zn(this._rawValidators)}_setAsyncValidators(E){this._rawAsyncValidators=E||[],this._composedAsyncValidatorFn=Or(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(E){this._onDestroyCallbacks.push(E)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(E=>E()),this._onDestroyCallbacks=[]}reset(E){this.control&&this.control.reset(E)}hasError(E,C){return!!this.control&&this.control.hasError(E,C)}getError(E,C){return this.control?this.control.getError(E,C):null}}class lr extends Ar{get formDirective(){return null}get path(){return null}}class Yn extends Ar{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class hr{constructor(E){this._cd=E}is(E){return"submitted"===E?!!this._cd?.submitted:!!this._cd?.control?.[E]}}let Ce=(()=>{class P extends hr{constructor(C){super(C)}}return P.\u0275fac=function(C){return new(C||P)(s.Y36(Yn,2))},P.\u0275dir=s.lG2({type:P,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(C,H){2&C&&s.ekj("ng-untouched",H.is("untouched"))("ng-touched",H.is("touched"))("ng-pristine",H.is("pristine"))("ng-dirty",H.is("dirty"))("ng-valid",H.is("valid"))("ng-invalid",H.is("invalid"))("ng-pending",H.is("pending"))},features:[s.qOj]}),P})(),Me=(()=>{class P extends hr{constructor(C){super(C)}}return P.\u0275fac=function(C){return new(C||P)(s.Y36(lr,10))},P.\u0275dir=s.lG2({type:P,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(C,H){2&C&&s.ekj("ng-untouched",H.is("untouched"))("ng-touched",H.is("touched"))("ng-pristine",H.is("pristine"))("ng-dirty",H.is("dirty"))("ng-valid",H.is("valid"))("ng-invalid",H.is("invalid"))("ng-pending",H.is("pending"))("ng-submitted",H.is("submitted"))},features:[s.qOj]}),P})();function Mt(P,E){xn(P,E),E.valueAccessor.writeValue(P.value),function En(P,E){E.valueAccessor.registerOnChange(C=>{P._pendingValue=C,P._pendingChange=!0,P._pendingDirty=!0,"change"===P.updateOn&&qt(P,E)})}(P,E),function Wt(P,E){const C=(H,ct)=>{E.valueAccessor.writeValue(H),ct&&E.viewToModelUpdate(H)};P.registerOnChange(C),E._registerOnDestroy(()=>{P._unregisterOnChange(C)})}(P,E),function Vt(P,E){E.valueAccessor.registerOnTouched(()=>{P._pendingTouched=!0,"blur"===P.updateOn&&P._pendingChange&&qt(P,E),"submit"!==P.updateOn&&P.markAsTouched()})}(P,E),function _n(P,E){if(E.valueAccessor.setDisabledState){const C=H=>{E.valueAccessor.setDisabledState(H)};P.registerOnDisabledChange(C),E._registerOnDestroy(()=>{P._unregisterOnDisabledChange(C)})}}(P,E)}function Xt(P,E){P.forEach(C=>{C.registerOnValidatorChange&&C.registerOnValidatorChange(E)})}function xn(P,E){const C=function dr(P){return P._rawValidators}(P);null!==E.validator?P.setValidators(Un(C,E.validator)):"function"==typeof C&&P.setValidators([C]);const H=function Wn(P){return P._rawAsyncValidators}(P);null!==E.asyncValidator?P.setAsyncValidators(Un(H,E.asyncValidator)):"function"==typeof H&&P.setAsyncValidators([H]);const ct=()=>P.updateValueAndValidity();Xt(E._rawValidators,ct),Xt(E._rawAsyncValidators,ct)}function qt(P,E){P._pendingDirty&&P.markAsDirty(),P.setValue(P._pendingValue,{emitModelToViewChange:!1}),E.viewToModelUpdate(P._pendingValue),P._pendingChange=!1}function Ue(P,E){const C=P.indexOf(E);C>-1&&P.splice(C,1)}const Tn="VALID",je="INVALID",nt="PENDING",Qe="DISABLED";function Zt(P){return(U(P)?P.validators:P)||null}function jt(P){return Array.isArray(P)?zn(P):P||null}function x(P,E){return(U(E)?E.asyncValidators:P)||null}function z(P){return Array.isArray(P)?Or(P):P||null}function U(P){return null!=P&&!Array.isArray(P)&&"object"==typeof P}const Ae=P=>P instanceof bt;function $(P){return(P=>P instanceof Ke)(P)?P.value:P.getRawValue()}function y(P,E){const C=Ae(P),H=P.controls;if(!(C?Object.keys(H):H).length)throw new s.vHH(1e3,"");if(!H[E])throw new s.vHH(1001,"")}function V(P,E){Ae(P),P._forEachChild((H,ct)=>{if(void 0===E[ct])throw new s.vHH(1002,"")})}class Ee{constructor(E,C){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._rawValidators=E,this._rawAsyncValidators=C,this._composedValidatorFn=jt(this._rawValidators),this._composedAsyncValidatorFn=z(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn}set validator(E){this._rawValidators=this._composedValidatorFn=E}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(E){this._rawAsyncValidators=this._composedAsyncValidatorFn=E}get parent(){return this._parent}get valid(){return this.status===Tn}get invalid(){return this.status===je}get pending(){return this.status==nt}get disabled(){return this.status===Qe}get enabled(){return this.status!==Qe}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(E){this._rawValidators=E,this._composedValidatorFn=jt(E)}setAsyncValidators(E){this._rawAsyncValidators=E,this._composedAsyncValidatorFn=z(E)}addValidators(E){this.setValidators(Mn(E,this._rawValidators))}addAsyncValidators(E){this.setAsyncValidators(Mn(E,this._rawAsyncValidators))}removeValidators(E){this.setValidators(Vn(E,this._rawValidators))}removeAsyncValidators(E){this.setAsyncValidators(Vn(E,this._rawAsyncValidators))}hasValidator(E){return tr(this._rawValidators,E)}hasAsyncValidator(E){return tr(this._rawAsyncValidators,E)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(E={}){this.touched=!0,this._parent&&!E.onlySelf&&this._parent.markAsTouched(E)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(E=>E.markAllAsTouched())}markAsUntouched(E={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(C=>{C.markAsUntouched({onlySelf:!0})}),this._parent&&!E.onlySelf&&this._parent._updateTouched(E)}markAsDirty(E={}){this.pristine=!1,this._parent&&!E.onlySelf&&this._parent.markAsDirty(E)}markAsPristine(E={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(C=>{C.markAsPristine({onlySelf:!0})}),this._parent&&!E.onlySelf&&this._parent._updatePristine(E)}markAsPending(E={}){this.status=nt,!1!==E.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!E.onlySelf&&this._parent.markAsPending(E)}disable(E={}){const C=this._parentMarkedDirty(E.onlySelf);this.status=Qe,this.errors=null,this._forEachChild(H=>{H.disable({...E,onlySelf:!0})}),this._updateValue(),!1!==E.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...E,skipPristineCheck:C}),this._onDisabledChange.forEach(H=>H(!0))}enable(E={}){const C=this._parentMarkedDirty(E.onlySelf);this.status=Tn,this._forEachChild(H=>{H.enable({...E,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:E.emitEvent}),this._updateAncestors({...E,skipPristineCheck:C}),this._onDisabledChange.forEach(H=>H(!1))}_updateAncestors(E){this._parent&&!E.onlySelf&&(this._parent.updateValueAndValidity(E),E.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(E){this._parent=E}updateValueAndValidity(E={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===Tn||this.status===nt)&&this._runAsyncValidator(E.emitEvent)),!1!==E.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!E.onlySelf&&this._parent.updateValueAndValidity(E)}_updateTreeValidity(E={emitEvent:!0}){this._forEachChild(C=>C._updateTreeValidity(E)),this.updateValueAndValidity({onlySelf:!0,emitEvent:E.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?Qe:Tn}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(E){if(this.asyncValidator){this.status=nt,this._hasOwnPendingAsyncValidator=!0;const C=Lr(this.asyncValidator(this));this._asyncValidationSubscription=C.subscribe(H=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(H,{emitEvent:E})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(E,C={}){this.errors=E,this._updateControlsErrors(!1!==C.emitEvent)}get(E){return function St(P,E,C){if(null==E||(Array.isArray(E)||(E=E.split(C)),Array.isArray(E)&&0===E.length))return null;let H=P;return E.forEach(ct=>{H=Ae(H)?H.controls.hasOwnProperty(ct)?H.controls[ct]:null:(P=>P instanceof ln)(H)&&H.at(ct)||null}),H}(this,E,".")}getError(E,C){const H=C?this.get(C):this;return H&&H.errors?H.errors[E]:null}hasError(E,C){return!!this.getError(E,C)}get root(){let E=this;for(;E._parent;)E=E._parent;return E}_updateControlsErrors(E){this.status=this._calculateStatus(),E&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(E)}_initObservables(){this.valueChanges=new s.vpe,this.statusChanges=new s.vpe}_calculateStatus(){return this._allControlsDisabled()?Qe:this.errors?je:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(nt)?nt:this._anyControlsHaveStatus(je)?je:Tn}_anyControlsHaveStatus(E){return this._anyControls(C=>C.status===E)}_anyControlsDirty(){return this._anyControls(E=>E.dirty)}_anyControlsTouched(){return this._anyControls(E=>E.touched)}_updatePristine(E={}){this.pristine=!this._anyControlsDirty(),this._parent&&!E.onlySelf&&this._parent._updatePristine(E)}_updateTouched(E={}){this.touched=this._anyControlsTouched(),this._parent&&!E.onlySelf&&this._parent._updateTouched(E)}_isBoxedValue(E){return"object"==typeof E&&null!==E&&2===Object.keys(E).length&&"value"in E&&"disabled"in E}_registerOnCollectionChange(E){this._onCollectionChange=E}_setUpdateStrategy(E){U(E)&&null!=E.updateOn&&(this._updateOn=E.updateOn)}_parentMarkedDirty(E){return!E&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}}class Ke extends Ee{constructor(E=null,C,H){super(Zt(C),x(H,C)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(E),this._setUpdateStrategy(C),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),U(C)&&C.initialValueIsDefault&&(this.defaultValue=this._isBoxedValue(E)?E.value:E)}setValue(E,C={}){this.value=this._pendingValue=E,this._onChange.length&&!1!==C.emitModelToViewChange&&this._onChange.forEach(H=>H(this.value,!1!==C.emitViewToModelChange)),this.updateValueAndValidity(C)}patchValue(E,C={}){this.setValue(E,C)}reset(E=this.defaultValue,C={}){this._applyFormState(E),this.markAsPristine(C),this.markAsUntouched(C),this.setValue(this.value,C),this._pendingChange=!1}_updateValue(){}_anyControls(E){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(E){this._onChange.push(E)}_unregisterOnChange(E){Ue(this._onChange,E)}registerOnDisabledChange(E){this._onDisabledChange.push(E)}_unregisterOnDisabledChange(E){Ue(this._onDisabledChange,E)}_forEachChild(E){}_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(E){this._isBoxedValue(E)?(this.value=this._pendingValue=E.value,E.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=E}}class bt extends Ee{constructor(E,C,H){super(Zt(C),x(H,C)),this.controls=E,this._initObservables(),this._setUpdateStrategy(C),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(E,C){return this.controls[E]?this.controls[E]:(this.controls[E]=C,C.setParent(this),C._registerOnCollectionChange(this._onCollectionChange),C)}addControl(E,C,H={}){this.registerControl(E,C),this.updateValueAndValidity({emitEvent:H.emitEvent}),this._onCollectionChange()}removeControl(E,C={}){this.controls[E]&&this.controls[E]._registerOnCollectionChange(()=>{}),delete this.controls[E],this.updateValueAndValidity({emitEvent:C.emitEvent}),this._onCollectionChange()}setControl(E,C,H={}){this.controls[E]&&this.controls[E]._registerOnCollectionChange(()=>{}),delete this.controls[E],C&&this.registerControl(E,C),this.updateValueAndValidity({emitEvent:H.emitEvent}),this._onCollectionChange()}contains(E){return this.controls.hasOwnProperty(E)&&this.controls[E].enabled}setValue(E,C={}){V(this,E),Object.keys(E).forEach(H=>{y(this,H),this.controls[H].setValue(E[H],{onlySelf:!0,emitEvent:C.emitEvent})}),this.updateValueAndValidity(C)}patchValue(E,C={}){null!=E&&(Object.keys(E).forEach(H=>{this.controls[H]&&this.controls[H].patchValue(E[H],{onlySelf:!0,emitEvent:C.emitEvent})}),this.updateValueAndValidity(C))}reset(E={},C={}){this._forEachChild((H,ct)=>{H.reset(E[ct],{onlySelf:!0,emitEvent:C.emitEvent})}),this._updatePristine(C),this._updateTouched(C),this.updateValueAndValidity(C)}getRawValue(){return this._reduceChildren({},(E,C,H)=>(E[H]=$(C),E))}_syncPendingControls(){let E=this._reduceChildren(!1,(C,H)=>!!H._syncPendingControls()||C);return E&&this.updateValueAndValidity({onlySelf:!0}),E}_forEachChild(E){Object.keys(this.controls).forEach(C=>{const H=this.controls[C];H&&E(H,C)})}_setUpControls(){this._forEachChild(E=>{E.setParent(this),E._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(E){for(const C of Object.keys(this.controls)){const H=this.controls[C];if(this.contains(C)&&E(H))return!0}return!1}_reduceValue(){return this._reduceChildren({},(E,C,H)=>((C.enabled||this.disabled)&&(E[H]=C.value),E))}_reduceChildren(E,C){let H=E;return this._forEachChild((ct,fn)=>{H=C(H,ct,fn)}),H}_allControlsDisabled(){for(const E of Object.keys(this.controls))if(this.controls[E].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}}class ln extends Ee{constructor(E,C,H){super(Zt(C),x(H,C)),this.controls=E,this._initObservables(),this._setUpdateStrategy(C),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(E){return this.controls[E]}push(E,C={}){this.controls.push(E),this._registerControl(E),this.updateValueAndValidity({emitEvent:C.emitEvent}),this._onCollectionChange()}insert(E,C,H={}){this.controls.splice(E,0,C),this._registerControl(C),this.updateValueAndValidity({emitEvent:H.emitEvent})}removeAt(E,C={}){this.controls[E]&&this.controls[E]._registerOnCollectionChange(()=>{}),this.controls.splice(E,1),this.updateValueAndValidity({emitEvent:C.emitEvent})}setControl(E,C,H={}){this.controls[E]&&this.controls[E]._registerOnCollectionChange(()=>{}),this.controls.splice(E,1),C&&(this.controls.splice(E,0,C),this._registerControl(C)),this.updateValueAndValidity({emitEvent:H.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(E,C={}){V(this,E),E.forEach((H,ct)=>{y(this,ct),this.at(ct).setValue(H,{onlySelf:!0,emitEvent:C.emitEvent})}),this.updateValueAndValidity(C)}patchValue(E,C={}){null!=E&&(E.forEach((H,ct)=>{this.at(ct)&&this.at(ct).patchValue(H,{onlySelf:!0,emitEvent:C.emitEvent})}),this.updateValueAndValidity(C))}reset(E=[],C={}){this._forEachChild((H,ct)=>{H.reset(E[ct],{onlySelf:!0,emitEvent:C.emitEvent})}),this._updatePristine(C),this._updateTouched(C),this.updateValueAndValidity(C)}getRawValue(){return this.controls.map(E=>$(E))}clear(E={}){this.controls.length<1||(this._forEachChild(C=>C._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:E.emitEvent}))}_syncPendingControls(){let E=this.controls.reduce((C,H)=>!!H._syncPendingControls()||C,!1);return E&&this.updateValueAndValidity({onlySelf:!0}),E}_forEachChild(E){this.controls.forEach((C,H)=>{E(C,H)})}_updateValue(){this.value=this.controls.filter(E=>E.enabled||this.disabled).map(E=>E.value)}_anyControls(E){return this.controls.some(C=>C.enabled&&E(C))}_setUpControls(){this._forEachChild(E=>this._registerControl(E))}_allControlsDisabled(){for(const E of this.controls)if(E.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(E){E.setParent(this),E._registerOnCollectionChange(this._onCollectionChange)}}const Qt={provide:lr,useExisting:(0,s.Gpc)(()=>fr)},kn=(()=>Promise.resolve(null))();let fr=(()=>{class P extends lr{constructor(C,H){super(),this.submitted=!1,this._directives=new Set,this.ngSubmit=new s.vpe,this.form=new bt({},zn(C),Or(H))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(C){kn.then(()=>{const H=this._findContainer(C.path);C.control=H.registerControl(C.name,C.control),Mt(C.control,C),C.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(C)})}getControl(C){return this.form.get(C.path)}removeControl(C){kn.then(()=>{const H=this._findContainer(C.path);H&&H.removeControl(C.name),this._directives.delete(C)})}addFormGroup(C){kn.then(()=>{const H=this._findContainer(C.path),ct=new bt({});(function ur(P,E){xn(P,E)})(ct,C),H.registerControl(C.name,ct),ct.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(C){kn.then(()=>{const H=this._findContainer(C.path);H&&H.removeControl(C.name)})}getFormGroup(C){return this.form.get(C.path)}updateModel(C,H){kn.then(()=>{this.form.get(C.path).setValue(H)})}setValue(C){this.control.setValue(C)}onSubmit(C){return this.submitted=!0,function At(P,E){P._syncPendingControls(),E.forEach(C=>{const H=C.control;"submit"===H.updateOn&&H._pendingChange&&(C.viewToModelUpdate(H._pendingValue),H._pendingChange=!1)})}(this.form,this._directives),this.ngSubmit.emit(C),!1}onReset(){this.resetForm()}resetForm(C){this.form.reset(C),this.submitted=!1}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(C){return C.pop(),C.length?this.form.get(C):this.form}}return P.\u0275fac=function(C){return new(C||P)(s.Y36(pt,10),s.Y36(ze,10))},P.\u0275dir=s.lG2({type:P,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(C,H){1&C&&s.NdJ("submit",function(fn){return H.onSubmit(fn)})("reset",function(){return H.onReset()})},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[s._Bn([Qt]),s.qOj]}),P})();const oi={provide:Yn,useExisting:(0,s.Gpc)(()=>Re)},Y=(()=>Promise.resolve(null))();let Re=(()=>{class P extends Yn{constructor(C,H,ct,fn,Fr){super(),this._changeDetectorRef=Fr,this.control=new Ke,this._registered=!1,this.update=new s.vpe,this._parent=C,this._setValidators(H),this._setAsyncValidators(ct),this.valueAccessor=function ge(P,E){if(!E)return null;let C,H,ct;return Array.isArray(E),E.forEach(fn=>{fn.constructor===yt?C=fn:function Ut(P){return Object.getPrototypeOf(P.constructor)===N}(fn)?H=fn:ct=fn}),ct||H||C||null}(0,fn)}ngOnChanges(C){if(this._checkForErrors(),!this._registered||"name"in C){if(this._registered&&(this._checkName(),this.formDirective)){const H=C.name.previousValue;this.formDirective.removeControl({name:H,path:this._getPath(H)})}this._setUpControl()}"isDisabled"in C&&this._updateDisabled(C),function Ft(P,E){if(!P.hasOwnProperty("model"))return!1;const C=P.model;return!!C.isFirstChange()||!Object.is(E,C.currentValue)}(C,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(C){this.viewModel=C,this.update.emit(C)}_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(){Mt(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(C){Y.then(()=>{this.control.setValue(C,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(C){const H=C.isDisabled.currentValue,ct=""===H||H&&"false"!==H;Y.then(()=>{ct&&!this.control.disabled?this.control.disable():!ct&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(C){return this._parent?function sn(P,E){return[...E.path,P]}(C,this._parent):[C]}}return P.\u0275fac=function(C){return new(C||P)(s.Y36(lr,9),s.Y36(pt,10),s.Y36(ze,10),s.Y36(G,10),s.Y36(s.sBO,8))},P.\u0275dir=s.lG2({type:P,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[s._Bn([oi]),s.qOj,s.TTD]}),P})(),I=(()=>{class P{}return P.\u0275fac=function(C){return new(C||P)},P.\u0275dir=s.lG2({type:P,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]}),P})();const Ie={provide:G,useExisting:(0,s.Gpc)(()=>Ot),multi:!0};let Ot=(()=>{class P extends N{writeValue(C){this.setProperty("value",C??"")}registerOnChange(C){this.onChange=H=>{C(""==H?null:parseFloat(H))}}}return P.\u0275fac=function(){let E;return function(H){return(E||(E=s.n5z(P)))(H||P)}}(),P.\u0275dir=s.lG2({type:P,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(C,H){1&C&&s.NdJ("input",function(fn){return H.onChange(fn.target.value)})("blur",function(){return H.onTouched()})},features:[s._Bn([Ie]),s.qOj]}),P})(),Ai=(()=>{class P{}return P.\u0275fac=function(C){return new(C||P)},P.\u0275mod=s.oAB({type:P}),P.\u0275inj=s.cJS({}),P})();const Ls={provide:G,useExisting:(0,s.Gpc)(()=>mr),multi:!0};function ss(P,E){return null==P?`${E}`:(E&&"object"==typeof E&&(E="Object"),`${P}: ${E}`.slice(0,50))}let mr=(()=>{class P extends N{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(C){this._compareWith=C}writeValue(C){this.value=C;const ct=ss(this._getOptionId(C),C);this.setProperty("value",ct)}registerOnChange(C){this.onChange=H=>{this.value=this._getOptionValue(H),C(this.value)}}_registerOption(){return(this._idCounter++).toString()}_getOptionId(C){for(const H of Array.from(this._optionMap.keys()))if(this._compareWith(this._optionMap.get(H),C))return H;return null}_getOptionValue(C){const H=function pr(P){return P.split(":")[0]}(C);return this._optionMap.has(H)?this._optionMap.get(H):C}}return P.\u0275fac=function(){let E;return function(H){return(E||(E=s.n5z(P)))(H||P)}}(),P.\u0275dir=s.lG2({type:P,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(C,H){1&C&&s.NdJ("change",function(fn){return H.onChange(fn.target.value)})("blur",function(){return H.onTouched()})},inputs:{compareWith:"compareWith"},features:[s._Bn([Ls]),s.qOj]}),P})(),wi=(()=>{class P{constructor(C,H,ct){this._element=C,this._renderer=H,this._select=ct,this._select&&(this.id=this._select._registerOption())}set ngValue(C){null!=this._select&&(this._select._optionMap.set(this.id,C),this._setElementValue(ss(this.id,C)),this._select.writeValue(this._select.value))}set value(C){this._setElementValue(C),this._select&&this._select.writeValue(this._select.value)}_setElementValue(C){this._renderer.setProperty(this._element.nativeElement,"value",C)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}}return P.\u0275fac=function(C){return new(C||P)(s.Y36(s.SBq),s.Y36(s.Qsj),s.Y36(mr,9))},P.\u0275dir=s.lG2({type:P,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}}),P})();const yo={provide:G,useExisting:(0,s.Gpc)(()=>Vs),multi:!0};function Ii(P,E){return null==P?`${E}`:("string"==typeof E&&(E=`'${E}'`),E&&"object"==typeof E&&(E="Object"),`${P}: ${E}`.slice(0,50))}let Vs=(()=>{class P extends N{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(C){this._compareWith=C}writeValue(C){let H;if(this.value=C,Array.isArray(C)){const ct=C.map(fn=>this._getOptionId(fn));H=(fn,Fr)=>{fn._setSelected(ct.indexOf(Fr.toString())>-1)}}else H=(ct,fn)=>{ct._setSelected(!1)};this._optionMap.forEach(H)}registerOnChange(C){this.onChange=H=>{const ct=[],fn=H.selectedOptions;if(void 0!==fn){const Fr=fn;for(let ai=0;ai<Fr.length;ai++){const Gi=this._getOptionValue(Fr[ai].value);ct.push(Gi)}}else{const Fr=H.options;for(let ai=0;ai<Fr.length;ai++){const us=Fr[ai];if(us.selected){const Gi=this._getOptionValue(us.value);ct.push(Gi)}}}this.value=ct,C(ct)}}_registerOption(C){const H=(this._idCounter++).toString();return this._optionMap.set(H,C),H}_getOptionId(C){for(const H of Array.from(this._optionMap.keys()))if(this._compareWith(this._optionMap.get(H)._value,C))return H;return null}_getOptionValue(C){const H=function Bs(P){return P.split(":")[0]}(C);return this._optionMap.has(H)?this._optionMap.get(H)._value:C}}return P.\u0275fac=function(){let E;return function(H){return(E||(E=s.n5z(P)))(H||P)}}(),P.\u0275dir=s.lG2({type:P,selectors:[["select","multiple","","formControlName",""],["select","multiple","","formControl",""],["select","multiple","","ngModel",""]],hostBindings:function(C,H){1&C&&s.NdJ("change",function(fn){return H.onChange(fn.target)})("blur",function(){return H.onTouched()})},inputs:{compareWith:"compareWith"},features:[s._Bn([yo]),s.qOj]}),P})(),Ds=(()=>{class P{constructor(C,H,ct){this._element=C,this._renderer=H,this._select=ct,this._select&&(this.id=this._select._registerOption(this))}set ngValue(C){null!=this._select&&(this._value=C,this._setElementValue(Ii(this.id,C)),this._select.writeValue(this._select.value))}set value(C){this._select?(this._value=C,this._setElementValue(Ii(this.id,C)),this._select.writeValue(this._select.value)):this._setElementValue(C)}_setElementValue(C){this._renderer.setProperty(this._element.nativeElement,"value",C)}_setSelected(C){this._renderer.setProperty(this._element.nativeElement,"selected",C)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}}return P.\u0275fac=function(C){return new(C||P)(s.Y36(s.SBq),s.Y36(s.Qsj),s.Y36(Vs,9))},P.\u0275dir=s.lG2({type:P,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}}),P})(),er=(()=>{class P{}return P.\u0275fac=function(C){return new(C||P)},P.\u0275mod=s.oAB({type:P}),P.\u0275inj=s.cJS({imports:[[Ai]]}),P})(),Br=(()=>{class P{}return P.\u0275fac=function(C){return new(C||P)},P.\u0275mod=s.oAB({type:P}),P.\u0275inj=s.cJS({imports:[er]}),P})()},8746:(Ne,se,M)=>{"use strict";M.d(se,{PW:()=>Jo});var s=M(5062),f=M(1481),te=M(7340);const Q=!1;function X(F){return new s.vHH(3e3,Q)}function Pn(){return typeof window<"u"&&typeof window.document<"u"}function Or(){return typeof process<"u"&&"[object process]"==={}.toString.call(process)}function Un(F){switch(F.length){case 0:return new te.ZN;case 1:return F[0];default:return new te.ZE(F)}}function dr(F,d,p,b,B={},ue={}){const be=[],ye=[];let Ze=-1,ht=null;if(b.forEach(en=>{const pn=en.offset,Sn=pn==Ze,An=Sn&&ht||{};Object.keys(en).forEach(bn=>{let Hn=bn,Sr=en[bn];if("offset"!==bn)switch(Hn=d.normalizePropertyName(Hn,be),Sr){case te.k1:Sr=B[bn];break;case te.l3:Sr=ue[bn];break;default:Sr=d.normalizeStyleValue(bn,Hn,Sr,be)}An[Hn]=Sr}),Sn||ye.push(An),ht=An,Ze=pn}),be.length)throw function tt(F){return new s.vHH(3502,Q)}();return ye}function Wn(F,d,p,b){switch(d){case"start":F.onStart(()=>b(p&&$r(p,"start",F)));break;case"done":F.onDone(()=>b(p&&$r(p,"done",F)));break;case"destroy":F.onDestroy(()=>b(p&&$r(p,"destroy",F)))}}function $r(F,d,p){const ue=tr(F.element,F.triggerName,F.fromState,F.toState,d||F.phaseName,p.totalTime??F.totalTime,!!p.disabled),be=F._data;return null!=be&&(ue._data=be),ue}function tr(F,d,p,b,B="",ue=0,be){return{element:F,triggerName:d,fromState:p,toState:b,phaseName:B,totalTime:ue,disabled:!!be}}function Mn(F,d,p){let b;return F instanceof Map?(b=F.get(d),b||F.set(d,b=p)):(b=F[d],b||(b=F[d]=p)),b}function Vn(F){const d=F.indexOf(":");return[F.substring(1,d),F.substr(d+1)]}let Ar=(F,d)=>!1,lr=(F,d,p)=>[],Yn=null;function hr(F){const d=F.parentNode||F.host;return d===Yn?null:d}(Or()||typeof Element<"u")&&(Pn()?(Yn=(()=>document.documentElement)(),Ar=(F,d)=>{for(;d;){if(d===F)return!0;d=hr(d)}return!1}):Ar=(F,d)=>F.contains(d),lr=(F,d,p)=>{if(p)return Array.from(F.querySelectorAll(d));const b=F.querySelector(d);return b?[b]:[]});let Ce=null,Me=!1;function me(F){Ce||(Ce=function J(){return typeof document<"u"?document.body:null}()||{},Me=!!Ce.style&&"WebkitAppearance"in Ce.style);let d=!0;return Ce.style&&!function On(F){return"ebkit"==F.substring(1,6)}(F)&&(d=F in Ce.style,!d&&Me&&(d="Webkit"+F.charAt(0).toUpperCase()+F.substr(1)in Ce.style)),d}const ne=Ar,Fe=lr;let Ge=(()=>{class F{validateStyleProperty(p){return me(p)}matchesElement(p,b){return!1}containsElement(p,b){return ne(p,b)}getParentElement(p){return hr(p)}query(p,b,B){return Fe(p,b,B)}computeStyle(p,b,B){return B||""}animate(p,b,B,ue,be,ye=[],Ze){return new te.ZN(B,ue)}}return F.\u0275fac=function(p){return new(p||F)},F.\u0275prov=s.Yz7({token:F,factory:F.\u0275fac}),F})(),st=(()=>{class F{}return F.NOOP=new Ge,F})();const un="ng-enter",Yt="ng-leave",Tt="ng-trigger",Rt=".ng-trigger",$t="ng-animating",nn=".ng-animating";function sn(F){if("number"==typeof F)return F;const d=F.match(/^(-?[\.\d]+)(m?s)/);return!d||d.length<2?0:Mt(parseFloat(d[1]),d[2])}function Mt(F,d){return"s"===d?1e3*F:F}function an(F,d,p){return F.hasOwnProperty("duration")?F:function Xt(F,d,p){let B,ue=0,be="";if("string"==typeof F){const ye=F.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===ye)return d.push(X()),{duration:0,delay:0,easing:""};B=Mt(parseFloat(ye[1]),ye[2]);const Ze=ye[3];null!=Ze&&(ue=Mt(parseFloat(Ze),ye[4]));const ht=ye[5];ht&&(be=ht)}else B=F;if(!p){let ye=!1,Ze=d.length;B<0&&(d.push(function ie(){return new s.vHH(3100,Q)}()),ye=!0),ue<0&&(d.push(function ee(){return new s.vHH(3101,Q)}()),ye=!0),ye&&d.splice(Ze,0,X())}return{duration:B,delay:ue,easing:be}}(F,d,p)}function _n(F,d={}){return Object.keys(F).forEach(p=>{d[p]=F[p]}),d}function Bt(F,d,p={}){if(d)for(let b in F)p[b]=F[b];else _n(F,p);return p}function En(F,d,p){return p?d+":"+p+";":""}function Vt(F){let d="";for(let p=0;p<F.style.length;p++){const b=F.style.item(p);d+=En(0,b,F.style.getPropertyValue(b))}for(const p in F.style)F.style.hasOwnProperty(p)&&!p.startsWith("_")&&(d+=En(0,At(p),F.style[p]));F.setAttribute("style",d)}function qt(F,d,p){F.style&&(Object.keys(d).forEach(b=>{const B=Ut(b);p&&!p.hasOwnProperty(b)&&(p[b]=F.style[B]),F.style[B]=d[b]}),Or()&&Vt(F))}function Wt(F,d){F.style&&(Object.keys(d).forEach(p=>{const b=Ut(p);F.style[b]=""}),Or()&&Vt(F))}function ur(F){return Array.isArray(F)?1==F.length?F[0]:(0,te.vP)(F):F}const we=new RegExp("{{\\s*(.+?)\\s*}}","g");function ce(F){let d=[];if("string"==typeof F){let p;for(;p=we.exec(F);)d.push(p[1]);we.lastIndex=0}return d}function Be(F,d,p){const b=F.toString(),B=b.replace(we,(ue,be)=>{let ye=d[be];return d.hasOwnProperty(be)||(p.push(function L(F){return new s.vHH(3003,Q)}()),ye=""),ye.toString()});return B==b?F:B}function at(F){const d=[];let p=F.next();for(;!p.done;)d.push(p.value),p=F.next();return d}const Ft=/-+([a-z0-9])/g;function Ut(F){return F.replace(Ft,(...d)=>d[1].toUpperCase())}function At(F){return F.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function _t(F,d,p){switch(d.type){case 7:return F.visitTrigger(d,p);case 0:return F.visitState(d,p);case 1:return F.visitTransition(d,p);case 2:return F.visitSequence(d,p);case 3:return F.visitGroup(d,p);case 4:return F.visitAnimate(d,p);case 5:return F.visitKeyframes(d,p);case 6:return F.visitStyle(d,p);case 8:return F.visitReference(d,p);case 9:return F.visitAnimateChild(d,p);case 10:return F.visitAnimateRef(d,p);case 11:return F.visitQuery(d,p);case 12:return F.visitStagger(d,p);default:throw function N(F){return new s.vHH(3004,Q)}()}}function Nt(F,d){return window.getComputedStyle(F)[d]}const x="*";function z(F,d){const p=[];return"string"==typeof F?F.split(/\s*,\s*/).forEach(b=>function U(F,d,p){if(":"==F[0]){const Ze=function de(F,d){switch(F){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(p,b)=>parseFloat(b)>parseFloat(p);case":decrement":return(p,b)=>parseFloat(b)<parseFloat(p);default:return d.push(function Le(F){return new s.vHH(3016,Q)}()),"* => *"}}(F,p);if("function"==typeof Ze)return void d.push(Ze);F=Ze}const b=F.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(null==b||b.length<4)return p.push(function Gt(F){return new s.vHH(3015,Q)}()),d;const B=b[1],ue=b[2],be=b[3];d.push($(B,be));"<"==ue[0]&&!(B==x&&be==x)&&d.push($(be,B))}(b,p,d)):p.push(F),p}const Ae=new Set(["true","1"]),R=new Set(["false","0"]);function $(F,d){const p=Ae.has(F)||R.has(F),b=Ae.has(d)||R.has(d);return(B,ue)=>{let be=F==x||F==B,ye=d==x||d==ue;return!be&&p&&"boolean"==typeof B&&(be=B?Ae.has(F):R.has(F)),!ye&&b&&"boolean"==typeof ue&&(ye=ue?Ae.has(d):R.has(d)),be&&ye}}const y=":self",V=new RegExp(`s*${y}s*,?`,"g");function Ee(F,d,p,b){return new bt(F).build(d,p,b)}class bt{constructor(d){this._driver=d}build(d,p,b){const B=new kn(p);this._resetContextStyleTimingState(B);const ue=_t(this,ur(d),B);return B.unsupportedCSSPropertiesFound.size&&B.unsupportedCSSPropertiesFound.keys(),ue}_resetContextStyleTimingState(d){d.currentQuerySelector="",d.collectedStyles={},d.collectedStyles[""]={},d.currentTime=0}visitTrigger(d,p){let b=p.queryCount=0,B=p.depCount=0;const ue=[],be=[];return"@"==d.name.charAt(0)&&p.errors.push(function oe(){return new s.vHH(3006,Q)}()),d.definitions.forEach(ye=>{if(this._resetContextStyleTimingState(p),0==ye.type){const Ze=ye,ht=Ze.name;ht.toString().split(/\s*,\s*/).forEach(en=>{Ze.name=en,ue.push(this.visitState(Ze,p))}),Ze.name=ht}else if(1==ye.type){const Ze=this.visitTransition(ye,p);b+=Ze.queryCount,B+=Ze.depCount,be.push(Ze)}else p.errors.push(function Pe(){return new s.vHH(3007,Q)}())}),{type:7,name:d.name,states:ue,transitions:be,queryCount:b,depCount:B,options:null}}visitState(d,p){const b=this.visitStyle(d.styles,p),B=d.options&&d.options.params||null;if(b.containsDynamicStyles){const ue=new Set,be=B||{};b.styles.forEach(ye=>{if(sr(ye)){const Ze=ye;Object.keys(Ze).forEach(ht=>{ce(Ze[ht]).forEach(en=>{be.hasOwnProperty(en)||ue.add(en)})})}}),ue.size&&(at(ue.values()),p.errors.push(function le(F,d){return new s.vHH(3008,Q)}()))}return{type:0,name:d.name,style:b,options:B?{params:B}:null}}visitTransition(d,p){p.queryCount=0,p.depCount=0;const b=_t(this,ur(d.animation),p);return{type:1,matchers:z(d.expr,p.errors),animation:b,queryCount:p.queryCount,depCount:p.depCount,options:Jn(d.options)}}visitSequence(d,p){return{type:2,steps:d.steps.map(b=>_t(this,b,p)),options:Jn(d.options)}}visitGroup(d,p){const b=p.currentTime;let B=0;const ue=d.steps.map(be=>{p.currentTime=b;const ye=_t(this,be,p);return B=Math.max(B,p.currentTime),ye});return p.currentTime=B,{type:3,steps:ue,options:Jn(d.options)}}visitAnimate(d,p){const b=function or(F,d){if(F.hasOwnProperty("duration"))return F;if("number"==typeof F)return Gr(an(F,d).duration,0,"");const p=F;if(p.split(/\s+/).some(ue=>"{"==ue.charAt(0)&&"{"==ue.charAt(1))){const ue=Gr(0,0,"");return ue.dynamic=!0,ue.strValue=p,ue}const B=an(p,d);return Gr(B.duration,B.delay,B.easing)}(d.timings,p.errors);p.currentAnimateTimings=b;let B,ue=d.styles?d.styles:(0,te.oB)({});if(5==ue.type)B=this.visitKeyframes(ue,p);else{let be=d.styles,ye=!1;if(!be){ye=!0;const ht={};b.easing&&(ht.easing=b.easing),be=(0,te.oB)(ht)}p.currentTime+=b.duration+b.delay;const Ze=this.visitStyle(be,p);Ze.isEmptyStep=ye,B=Ze}return p.currentAnimateTimings=null,{type:4,timings:b,style:B,options:null}}visitStyle(d,p){const b=this._makeStyleAst(d,p);return this._validateStyleAst(b,p),b}_makeStyleAst(d,p){const b=[];Array.isArray(d.styles)?d.styles.forEach(be=>{"string"==typeof be?be==te.l3?b.push(be):p.errors.push(function Oe(F){return new s.vHH(3002,Q)}()):b.push(be)}):b.push(d.styles);let B=!1,ue=null;return b.forEach(be=>{if(sr(be)){const ye=be,Ze=ye.easing;if(Ze&&(ue=Ze,delete ye.easing),!B)for(let ht in ye)if(ye[ht].toString().indexOf("{{")>=0){B=!0;break}}}),{type:6,styles:b,easing:ue,offset:d.offset,containsDynamicStyles:B,options:null}}_validateStyleAst(d,p){const b=p.currentAnimateTimings;let B=p.currentTime,ue=p.currentTime;b&&ue>0&&(ue-=b.duration+b.delay),d.styles.forEach(be=>{"string"!=typeof be&&Object.keys(be).forEach(ye=>{if(!this._driver.validateStyleProperty(ye))return delete be[ye],void p.unsupportedCSSPropertiesFound.add(ye);const Ze=p.collectedStyles[p.currentQuerySelector],ht=Ze[ye];let en=!0;ht&&(ue!=B&&ue>=ht.startTime&&B<=ht.endTime&&(p.errors.push(function yt(F,d,p,b,B){return new s.vHH(3010,Q)}()),en=!1),ue=ht.startTime),en&&(Ze[ye]={startTime:ue,endTime:B}),p.options&&function $e(F,d,p){const b=d.params||{},B=ce(F);B.length&&B.forEach(ue=>{b.hasOwnProperty(ue)||p.push(function he(F){return new s.vHH(3001,Q)}())})}(be[ye],p.options,p.errors)})})}visitKeyframes(d,p){const b={type:5,styles:[],options:null};if(!p.currentAnimateTimings)return p.errors.push(function it(){return new s.vHH(3011,Q)}()),b;let ue=0;const be=[];let ye=!1,Ze=!1,ht=0;const en=d.steps.map(ri=>{const Yr=this._makeStyleAst(ri,p);let hi=null!=Yr.offset?Yr.offset:function fr(F){if("string"==typeof F)return null;let d=null;if(Array.isArray(F))F.forEach(p=>{if(sr(p)&&p.hasOwnProperty("offset")){const b=p;d=parseFloat(b.offset),delete b.offset}});else if(sr(F)&&F.hasOwnProperty("offset")){const p=F;d=parseFloat(p.offset),delete p.offset}return d}(Yr.styles),Zr=0;return null!=hi&&(ue++,Zr=Yr.offset=hi),Ze=Ze||Zr<0||Zr>1,ye=ye||Zr<ht,ht=Zr,be.push(Zr),Yr});Ze&&p.errors.push(function ut(){return new s.vHH(3012,Q)}()),ye&&p.errors.push(function pt(){return new s.vHH(3200,Q)}());const pn=d.steps.length;let Sn=0;ue>0&&ue<pn?p.errors.push(function ze(){return new s.vHH(3202,Q)}()):0==ue&&(Sn=1/(pn-1));const An=pn-1,bn=p.currentTime,Hn=p.currentAnimateTimings,Sr=Hn.duration;return en.forEach((ri,Yr)=>{const hi=Sn>0?Yr==An?1:Sn*Yr:be[Yr],Zr=hi*Sr;p.currentTime=bn+Hn.delay+Zr,Hn.duration=Zr,this._validateStyleAst(ri,p),ri.offset=hi,b.styles.push(ri)}),b}visitReference(d,p){return{type:8,animation:_t(this,ur(d.animation),p),options:Jn(d.options)}}visitAnimateChild(d,p){return p.depCount++,{type:9,options:Jn(d.options)}}visitAnimateRef(d,p){return{type:10,animation:this.visitReference(d.animation,p),options:Jn(d.options)}}visitQuery(d,p){const b=p.currentQuerySelector,B=d.options||{};p.queryCount++,p.currentQuery=d;const[ue,be]=function ln(F){const d=!!F.split(/\s*,\s*/).find(p=>p==y);return d&&(F=F.replace(V,"")),F=F.replace(/@\*/g,Rt).replace(/@\w+/g,p=>Rt+"-"+p.substr(1)).replace(/:animating/g,nn),[F,d]}(d.selector);p.currentQuerySelector=b.length?b+" "+ue:ue,Mn(p.collectedStyles,p.currentQuerySelector,{});const ye=_t(this,ur(d.animation),p);return p.currentQuery=null,p.currentQuerySelector=b,{type:11,selector:ue,limit:B.limit||0,optional:!!B.optional,includeSelf:be,animation:ye,originalSelector:d.selector,options:Jn(d.options)}}visitStagger(d,p){p.currentQuery||p.errors.push(function xt(){return new s.vHH(3013,Q)}());const b="full"===d.timings?{duration:0,delay:0,easing:"full"}:an(d.timings,p.errors,!0);return{type:12,animation:_t(this,ur(d.animation),p),timings:b,options:null}}}class kn{constructor(d){this.errors=d,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles={},this.options=null,this.unsupportedCSSPropertiesFound=new Set}}function sr(F){return!Array.isArray(F)&&"object"==typeof F}function Jn(F){return F?(F=_n(F)).params&&(F.params=function Qt(F){return F?_n(F):null}(F.params)):F={},F}function Gr(F,d,p){return{duration:F,delay:d,easing:p}}function Mr(F,d,p,b,B,ue,be=null,ye=!1){return{type:1,element:F,keyframes:d,preStyleProps:p,postStyleProps:b,duration:B,delay:ue,totalTime:B+ue,easing:be,subTimeline:ye}}class Tr{constructor(){this._map=new Map}get(d){return this._map.get(d)||[]}append(d,p){let b=this._map.get(d);b||this._map.set(d,b=[]),b.push(...p)}has(d){return this._map.has(d)}clear(){this._map.clear()}}const Y=new RegExp(":enter","g"),I=new RegExp(":leave","g");function Ie(F,d,p,b,B,ue={},be={},ye,Ze,ht=[]){return(new Ot).buildKeyframes(F,d,p,b,B,ue,be,ye,Ze,ht)}class Ot{buildKeyframes(d,p,b,B,ue,be,ye,Ze,ht,en=[]){ht=ht||new Tr;const pn=new ei(d,p,ht,B,ue,en,[]);pn.options=Ze,pn.currentTimeline.setStyles([be],null,pn.errors,Ze),_t(this,b,pn);const Sn=pn.timelines.filter(An=>An.containsAnimation());if(Object.keys(ye).length){let An;for(let bn=Sn.length-1;bn>=0;bn--){const Hn=Sn[bn];if(Hn.element===p){An=Hn;break}}An&&!An.allowOnlyTimelineStyles()&&An.setStyles([ye],null,pn.errors,Ze)}return Sn.length?Sn.map(An=>An.buildKeyframes()):[Mr(p,[],[],[],0,0,"",!1)]}visitTrigger(d,p){}visitState(d,p){}visitTransition(d,p){}visitAnimateChild(d,p){const b=p.subInstructions.get(p.element);if(b){const B=p.createSubContext(d.options),ue=p.currentTimeline.currentTime,be=this._visitSubInstructions(b,B,B.options);ue!=be&&p.transformIntoNewTimeline(be)}p.previousNode=d}visitAnimateRef(d,p){const b=p.createSubContext(d.options);b.transformIntoNewTimeline(),this.visitReference(d.animation,b),p.transformIntoNewTimeline(b.currentTimeline.currentTime),p.previousNode=d}_visitSubInstructions(d,p,b){let ue=p.currentTimeline.currentTime;const be=null!=b.duration?sn(b.duration):null,ye=null!=b.delay?sn(b.delay):null;return 0!==be&&d.forEach(Ze=>{const ht=p.appendInstructionToTimeline(Ze,be,ye);ue=Math.max(ue,ht.duration+ht.delay)}),ue}visitReference(d,p){p.updateOptions(d.options,!0),_t(this,d.animation,p),p.previousNode=d}visitSequence(d,p){const b=p.subContextCount;let B=p;const ue=d.options;if(ue&&(ue.params||ue.delay)&&(B=p.createSubContext(ue),B.transformIntoNewTimeline(),null!=ue.delay)){6==B.previousNode.type&&(B.currentTimeline.snapshotCurrentStyles(),B.previousNode=Bn);const be=sn(ue.delay);B.delayNextStep(be)}d.steps.length&&(d.steps.forEach(be=>_t(this,be,B)),B.currentTimeline.applyStylesToKeyframe(),B.subContextCount>b&&B.transformIntoNewTimeline()),p.previousNode=d}visitGroup(d,p){const b=[];let B=p.currentTimeline.currentTime;const ue=d.options&&d.options.delay?sn(d.options.delay):0;d.steps.forEach(be=>{const ye=p.createSubContext(d.options);ue&&ye.delayNextStep(ue),_t(this,be,ye),B=Math.max(B,ye.currentTimeline.currentTime),b.push(ye.currentTimeline)}),b.forEach(be=>p.currentTimeline.mergeTimelineCollectedStyles(be)),p.transformIntoNewTimeline(B),p.previousNode=d}_visitTiming(d,p){if(d.dynamic){const b=d.strValue;return an(p.params?Be(b,p.params,p.errors):b,p.errors)}return{duration:d.duration,delay:d.delay,easing:d.easing}}visitAnimate(d,p){const b=p.currentAnimateTimings=this._visitTiming(d.timings,p),B=p.currentTimeline;b.delay&&(p.incrementTime(b.delay),B.snapshotCurrentStyles());const ue=d.style;5==ue.type?this.visitKeyframes(ue,p):(p.incrementTime(b.duration),this.visitStyle(ue,p),B.applyStylesToKeyframe()),p.currentAnimateTimings=null,p.previousNode=d}visitStyle(d,p){const b=p.currentTimeline,B=p.currentAnimateTimings;!B&&b.getCurrentStyleProperties().length&&b.forwardFrame();const ue=B&&B.easing||d.easing;d.isEmptyStep?b.applyEmptyStep(ue):b.setStyles(d.styles,ue,p.errors,p.options),p.previousNode=d}visitKeyframes(d,p){const b=p.currentAnimateTimings,B=p.currentTimeline.duration,ue=b.duration,ye=p.createSubContext().currentTimeline;ye.easing=b.easing,d.styles.forEach(Ze=>{ye.forwardTime((Ze.offset||0)*ue),ye.setStyles(Ze.styles,Ze.easing,p.errors,p.options),ye.applyStylesToKeyframe()}),p.currentTimeline.mergeTimelineCollectedStyles(ye),p.transformIntoNewTimeline(B+ue),p.previousNode=d}visitQuery(d,p){const b=p.currentTimeline.currentTime,B=d.options||{},ue=B.delay?sn(B.delay):0;ue&&(6===p.previousNode.type||0==b&&p.currentTimeline.getCurrentStyleProperties().length)&&(p.currentTimeline.snapshotCurrentStyles(),p.previousNode=Bn);let be=b;const ye=p.invokeQuery(d.selector,d.originalSelector,d.limit,d.includeSelf,!!B.optional,p.errors);p.currentQueryTotal=ye.length;let Ze=null;ye.forEach((ht,en)=>{p.currentQueryIndex=en;const pn=p.createSubContext(d.options,ht);ue&&pn.delayNextStep(ue),ht===p.element&&(Ze=pn.currentTimeline),_t(this,d.animation,pn),pn.currentTimeline.applyStylesToKeyframe(),be=Math.max(be,pn.currentTimeline.currentTime)}),p.currentQueryIndex=0,p.currentQueryTotal=0,p.transformIntoNewTimeline(be),Ze&&(p.currentTimeline.mergeTimelineCollectedStyles(Ze),p.currentTimeline.snapshotCurrentStyles()),p.previousNode=d}visitStagger(d,p){const b=p.parentContext,B=p.currentTimeline,ue=d.timings,be=Math.abs(ue.duration),ye=be*(p.currentQueryTotal-1);let Ze=be*p.currentQueryIndex;switch(ue.duration<0?"reverse":ue.easing){case"reverse":Ze=ye-Ze;break;case"full":Ze=b.currentStaggerTime}const en=p.currentTimeline;Ze&&en.delayNextStep(Ze);const pn=en.currentTime;_t(this,d.animation,p),p.previousNode=d,b.currentStaggerTime=B.currentTime-pn+(B.startTime-b.currentTimeline.startTime)}}const Bn={};class ei{constructor(d,p,b,B,ue,be,ye,Ze){this._driver=d,this.element=p,this.subInstructions=b,this._enterClassName=B,this._leaveClassName=ue,this.errors=be,this.timelines=ye,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=Bn,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=Ze||new Ai(this._driver,p,0),ye.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(d,p){if(!d)return;const b=d;let B=this.options;null!=b.duration&&(B.duration=sn(b.duration)),null!=b.delay&&(B.delay=sn(b.delay));const ue=b.params;if(ue){let be=B.params;be||(be=this.options.params={}),Object.keys(ue).forEach(ye=>{(!p||!be.hasOwnProperty(ye))&&(be[ye]=Be(ue[ye],be,this.errors))})}}_copyOptions(){const d={};if(this.options){const p=this.options.params;if(p){const b=d.params={};Object.keys(p).forEach(B=>{b[B]=p[B]})}}return d}createSubContext(d=null,p,b){const B=p||this.element,ue=new ei(this._driver,B,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(B,b||0));return ue.previousNode=this.previousNode,ue.currentAnimateTimings=this.currentAnimateTimings,ue.options=this._copyOptions(),ue.updateOptions(d),ue.currentQueryIndex=this.currentQueryIndex,ue.currentQueryTotal=this.currentQueryTotal,ue.parentContext=this,this.subContextCount++,ue}transformIntoNewTimeline(d){return this.previousNode=Bn,this.currentTimeline=this.currentTimeline.fork(this.element,d),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(d,p,b){const B={duration:p??d.duration,delay:this.currentTimeline.currentTime+(b??0)+d.delay,easing:""},ue=new Cs(this._driver,d.element,d.keyframes,d.preStyleProps,d.postStyleProps,B,d.stretchStartingKeyframe);return this.timelines.push(ue),B}incrementTime(d){this.currentTimeline.forwardTime(this.currentTimeline.duration+d)}delayNextStep(d){d>0&&this.currentTimeline.delayNextStep(d)}invokeQuery(d,p,b,B,ue,be){let ye=[];if(B&&ye.push(this.element),d.length>0){d=(d=d.replace(Y,"."+this._enterClassName)).replace(I,"."+this._leaveClassName);let ht=this._driver.query(this.element,d,1!=b);0!==b&&(ht=b<0?ht.slice(ht.length+b,ht.length):ht.slice(0,b)),ye.push(...ht)}return!ue&&0==ye.length&&be.push(function gt(F){return new s.vHH(3014,Q)}()),ye}}class Ai{constructor(d,p,b,B){this._driver=d,this.element=p,this.startTime=b,this._elementTimelineStylesLookup=B,this.duration=0,this._previousKeyframe={},this._currentKeyframe={},this._keyframes=new Map,this._styleSummary={},this._pendingStyles={},this._backFill={},this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._localTimelineStyles=Object.create(this._backFill,{}),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(p),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(p,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.getCurrentStyleProperties().length>0;default:return!0}}getCurrentStyleProperties(){return Object.keys(this._currentKeyframe)}get currentTime(){return this.startTime+this.duration}delayNextStep(d){const p=1==this._keyframes.size&&Object.keys(this._pendingStyles).length;this.duration||p?(this.forwardTime(this.currentTime+d),p&&this.snapshotCurrentStyles()):this.startTime+=d}fork(d,p){return this.applyStylesToKeyframe(),new Ai(this._driver,d,p||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=Object.create(this._backFill,{}),this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=1,this._loadKeyframe()}forwardTime(d){this.applyStylesToKeyframe(),this.duration=d,this._loadKeyframe()}_updateStyle(d,p){this._localTimelineStyles[d]=p,this._globalTimelineStyles[d]=p,this._styleSummary[d]={time:this.currentTime,value:p}}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(d){d&&(this._previousKeyframe.easing=d),Object.keys(this._globalTimelineStyles).forEach(p=>{this._backFill[p]=this._globalTimelineStyles[p]||te.l3,this._currentKeyframe[p]=te.l3}),this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(d,p,b,B){p&&(this._previousKeyframe.easing=p);const ue=B&&B.params||{},be=function mo(F,d){const p={};let b;return F.forEach(B=>{"*"===B?(b=b||Object.keys(d),b.forEach(ue=>{p[ue]=te.l3})):Bt(B,!1,p)}),p}(d,this._globalTimelineStyles);Object.keys(be).forEach(ye=>{const Ze=Be(be[ye],ue,b);this._pendingStyles[ye]=Ze,this._localTimelineStyles.hasOwnProperty(ye)||(this._backFill[ye]=this._globalTimelineStyles.hasOwnProperty(ye)?this._globalTimelineStyles[ye]:te.l3),this._updateStyle(ye,Ze)})}applyStylesToKeyframe(){const d=this._pendingStyles,p=Object.keys(d);0!=p.length&&(this._pendingStyles={},p.forEach(b=>{this._currentKeyframe[b]=d[b]}),Object.keys(this._localTimelineStyles).forEach(b=>{this._currentKeyframe.hasOwnProperty(b)||(this._currentKeyframe[b]=this._localTimelineStyles[b])}))}snapshotCurrentStyles(){Object.keys(this._localTimelineStyles).forEach(d=>{const p=this._localTimelineStyles[d];this._pendingStyles[d]=p,this._updateStyle(d,p)})}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const d=[];for(let p in this._currentKeyframe)d.push(p);return d}mergeTimelineCollectedStyles(d){Object.keys(d._styleSummary).forEach(p=>{const b=this._styleSummary[p],B=d._styleSummary[p];(!b||B.time>b.time)&&this._updateStyle(p,B.value)})}buildKeyframes(){this.applyStylesToKeyframe();const d=new Set,p=new Set,b=1===this._keyframes.size&&0===this.duration;let B=[];this._keyframes.forEach((ye,Ze)=>{const ht=Bt(ye,!0);Object.keys(ht).forEach(en=>{const pn=ht[en];pn==te.k1?d.add(en):pn==te.l3&&p.add(en)}),b||(ht.offset=Ze/this.duration),B.push(ht)});const ue=d.size?at(d.values()):[],be=p.size?at(p.values()):[];if(b){const ye=B[0],Ze=_n(ye);ye.offset=0,Ze.offset=1,B=[ye,Ze]}return Mr(this.element,B,ue,be,this.duration,this.startTime,this.easing,!1)}}class Cs extends Ai{constructor(d,p,b,B,ue,be,ye=!1){super(d,p,be.delay),this.keyframes=b,this.preStyleProps=B,this.postStyleProps=ue,this._stretchStartingKeyframe=ye,this.timings={duration:be.duration,delay:be.delay,easing:be.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let d=this.keyframes,{delay:p,duration:b,easing:B}=this.timings;if(this._stretchStartingKeyframe&&p){const ue=[],be=b+p,ye=p/be,Ze=Bt(d[0],!1);Ze.offset=0,ue.push(Ze);const ht=Bt(d[0],!1);ht.offset=ns(ye),ue.push(ht);const en=d.length-1;for(let pn=1;pn<=en;pn++){let Sn=Bt(d[pn],!1);Sn.offset=ns((p+Sn.offset*b)/be),ue.push(Sn)}b=be,p=0,B="",d=ue}return Mr(this.element,d,this.preStyleProps,this.postStyleProps,b,p,B,!0)}}function ns(F,d=3){const p=Math.pow(10,d-1);return Math.round(F*p)/p}class Rs{}class _o extends Rs{normalizePropertyName(d,p){return Ut(d)}normalizeStyleValue(d,p,b,B){let ue="";const be=b.toString().trim();if(bs[p]&&0!==b&&"0"!==b)if("number"==typeof b)ue="px";else{const ye=b.match(/^[+-]?[\d\.]+([a-z]*)$/);ye&&0==ye[1].length&&B.push(function G(F,d){return new s.vHH(3005,Q)}())}return be+ue}}const bs=(()=>function Ki(F){const d={};return F.forEach(p=>d[p]=!0),d}("width,height,minWidth,minHeight,maxWidth,maxHeight,left,top,bottom,right,fontSize,outlineWidth,outlineOffset,paddingTop,paddingLeft,paddingBottom,paddingRight,marginTop,marginLeft,marginBottom,marginRight,borderRadius,borderWidth,borderTopWidth,borderLeftWidth,borderRightWidth,borderBottomWidth,textIndent,perspective".split(",")))();function Ns(F,d,p,b,B,ue,be,ye,Ze,ht,en,pn,Sn){return{type:0,element:F,triggerName:d,isRemovalTransition:B,fromState:p,fromStyles:ue,toState:b,toStyles:be,timelines:ye,queriedElements:Ze,preStyleProps:ht,postStyleProps:en,totalTime:pn,errors:Sn}}const is={};class Xs{constructor(d,p,b){this._triggerName=d,this.ast=p,this._stateStyles=b}match(d,p,b,B){return function ws(F,d,p,b,B){return F.some(ue=>ue(d,p,b,B))}(this.ast.matchers,d,p,b,B)}buildStyles(d,p,b){const B=this._stateStyles["*"],ue=this._stateStyles[d],be=B?B.buildStyles(p,b):{};return ue?ue.buildStyles(p,b):be}build(d,p,b,B,ue,be,ye,Ze,ht,en){const pn=[],Sn=this.ast.options&&this.ast.options.params||is,bn=this.buildStyles(b,ye&&ye.params||is,pn),Hn=Ze&&Ze.params||is,Sr=this.buildStyles(B,Hn,pn),ri=new Set,Yr=new Map,hi=new Map,Zr="void"===B,Ve={params:{...Sn,...Hn}},lt=en?[]:Ie(d,p,this.ast.animation,ue,be,bn,Sr,Ve,ht,pn);let Je=0;if(lt.forEach(Dn=>{Je=Math.max(Dn.duration+Dn.delay,Je)}),pn.length)return Ns(p,this._triggerName,b,B,Zr,bn,Sr,[],[],Yr,hi,Je,pn);lt.forEach(Dn=>{const yn=Dn.element,Rr=Mn(Yr,yn,{});Dn.preStyleProps.forEach(cs=>Rr[cs]=!0);const vn=Mn(hi,yn,{});Dn.postStyleProps.forEach(cs=>vn[cs]=!0),yn!==p&&ri.add(yn)});const Kt=at(ri.values());return Ns(p,this._triggerName,b,B,Zr,bn,Sr,lt,Kt,Yr,hi,Je)}}class Es{constructor(d,p,b){this.styles=d,this.defaultParams=p,this.normalizer=b}buildStyles(d,p){const b={},B=_n(this.defaultParams);return Object.keys(d).forEach(ue=>{const be=d[ue];null!=be&&(B[ue]=be)}),this.styles.styles.forEach(ue=>{if("string"!=typeof ue){const be=ue;Object.keys(be).forEach(ye=>{let Ze=be[ye];Ze.length>1&&(Ze=Be(Ze,B,p));const ht=this.normalizer.normalizePropertyName(ye,p);Ze=this.normalizer.normalizeStyleValue(ye,ht,Ze,p),b[ht]=Ze})}}),b}}class ks{constructor(d,p,b){this.name=d,this.ast=p,this._normalizer=b,this.transitionFactories=[],this.states={},p.states.forEach(B=>{this.states[B.name]=new Es(B.style,B.options&&B.options.params||{},b)}),ss(this.states,"true","1"),ss(this.states,"false","0"),p.transitions.forEach(B=>{this.transitionFactories.push(new Xs(d,B,this.states))}),this.fallbackTransition=function Ls(F,d,p){return new Xs(F,{type:1,animation:{type:2,steps:[],options:null},matchers:[(be,ye)=>!0],options:null,queryCount:0,depCount:0},d)}(d,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(d,p,b,B){return this.transitionFactories.find(be=>be.match(d,p,b,B))||null}matchStyles(d,p,b){return this.fallbackTransition.buildStyles(d,p,b)}}function ss(F,d,p){F.hasOwnProperty(d)?F.hasOwnProperty(p)||(F[p]=F[d]):F.hasOwnProperty(p)&&(F[d]=F[p])}const pr=new Tr;class mr{constructor(d,p,b){this.bodyNode=d,this._driver=p,this._normalizer=b,this._animations={},this._playersById={},this.players=[]}register(d,p){const b=[],ue=Ee(this._driver,p,b,[]);if(b.length)throw function ot(F){return new s.vHH(3503,Q)}();this._animations[d]=ue}_buildPlayer(d,p,b){const B=d.element,ue=dr(0,this._normalizer,0,d.keyframes,p,b);return this._driver.animate(B,ue,d.duration,d.delay,d.easing,[],!0)}create(d,p,b={}){const B=[],ue=this._animations[d];let be;const ye=new Map;if(ue?(be=Ie(this._driver,p,ue,un,Yt,{},{},b,pr,B),be.forEach(en=>{const pn=Mn(ye,en.element,{});en.postStyleProps.forEach(Sn=>pn[Sn]=null)})):(B.push(function We(){return new s.vHH(3300,Q)}()),be=[]),B.length)throw function zt(F){return new s.vHH(3504,Q)}();ye.forEach((en,pn)=>{Object.keys(en).forEach(Sn=>{en[Sn]=this._driver.computeStyle(pn,Sn,te.l3)})});const ht=Un(be.map(en=>{const pn=ye.get(en.element);return this._buildPlayer(en,{},pn)}));return this._playersById[d]=ht,ht.onDestroy(()=>this.destroy(d)),this.players.push(ht),ht}destroy(d){const p=this._getPlayer(d);p.destroy(),delete this._playersById[d];const b=this.players.indexOf(p);b>=0&&this.players.splice(b,1)}_getPlayer(d){const p=this._playersById[d];if(!p)throw function cn(F){return new s.vHH(3301,Q)}();return p}listen(d,p,b,B){const ue=tr(p,"","","");return Wn(this._getPlayer(d),b,ue,B),()=>{}}command(d,p,b,B){if("register"==b)return void this.register(d,B[0]);if("create"==b)return void this.create(d,p,B[0]||{});const ue=this._getPlayer(d);switch(b){case"play":ue.play();break;case"pause":ue.pause();break;case"reset":ue.reset();break;case"restart":ue.restart();break;case"finish":ue.finish();break;case"init":ue.init();break;case"setPosition":ue.setPosition(parseFloat(B[0]));break;case"destroy":this.destroy(d)}}}const wi="ng-animate-queued",Ii="ng-animate-disabled",Ds=[],os={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},Ir={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},ni="__ng_removed";class zr{constructor(d,p=""){this.namespaceId=p;const b=d&&d.hasOwnProperty("value");if(this.value=function T(F){return F??null}(b?d.value:d),b){const ue=_n(d);delete ue.value,this.options=ue}else this.options={};this.options.params||(this.options.params={})}get params(){return this.options.params}absorbOptions(d){const p=d.params;if(p){const b=this.options.params;Object.keys(p).forEach(B=>{null==b[B]&&(b[B]=p[B])})}}}const Kr="void",Fi=new zr(Kr);class ci{constructor(d,p,b){this.id=d,this.hostElement=p,this._engine=b,this.players=[],this._triggers={},this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+d,wt(p,this._hostClassName)}listen(d,p,b,B){if(!this._triggers.hasOwnProperty(p))throw function Lr(F,d){return new s.vHH(3302,Q)}();if(null==b||0==b.length)throw function Er(F){return new s.vHH(3303,Q)}();if(!function S(F){return"start"==F||"done"==F}(b))throw function ir(F,d){return new s.vHH(3400,Q)}();const ue=Mn(this._elementListeners,d,[]),be={name:p,phase:b,callback:B};ue.push(be);const ye=Mn(this._engine.statesByElement,d,{});return ye.hasOwnProperty(p)||(wt(d,Tt),wt(d,Tt+"-"+p),ye[p]=Fi),()=>{this._engine.afterFlush(()=>{const Ze=ue.indexOf(be);Ze>=0&&ue.splice(Ze,1),this._triggers[p]||delete ye[p]})}}register(d,p){return!this._triggers[d]&&(this._triggers[d]=p,!0)}_getTrigger(d){const p=this._triggers[d];if(!p)throw function si(F){return new s.vHH(3401,Q)}();return p}trigger(d,p,b,B=!0){const ue=this._getTrigger(p),be=new $i(this.id,p,d);let ye=this._engine.statesByElement.get(d);ye||(wt(d,Tt),wt(d,Tt+"-"+p),this._engine.statesByElement.set(d,ye={}));let Ze=ye[p];const ht=new zr(b,this.id);if(!(b&&b.hasOwnProperty("value"))&&Ze&&ht.absorbOptions(Ze.options),ye[p]=ht,Ze||(Ze=Fi),ht.value!==Kr&&Ze.value===ht.value){if(!function rn(F,d){const p=Object.keys(F),b=Object.keys(d);if(p.length!=b.length)return!1;for(let B=0;B<p.length;B++){const ue=p[B];if(!d.hasOwnProperty(ue)||F[ue]!==d[ue])return!1}return!0}(Ze.params,ht.params)){const Hn=[],Sr=ue.matchStyles(Ze.value,Ze.params,Hn),ri=ue.matchStyles(ht.value,ht.params,Hn);Hn.length?this._engine.reportError(Hn):this._engine.afterFlush(()=>{Wt(d,Sr),qt(d,ri)})}return}const Sn=Mn(this._engine.playersByElement,d,[]);Sn.forEach(Hn=>{Hn.namespaceId==this.id&&Hn.triggerName==p&&Hn.queued&&Hn.destroy()});let An=ue.matchTransition(Ze.value,ht.value,d,ht.params),bn=!1;if(!An){if(!B)return;An=ue.fallbackTransition,bn=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:d,triggerName:p,transition:An,fromState:Ze,toState:ht,player:be,isFallbackTransition:bn}),bn||(wt(d,wi),be.onStart(()=>{Lt(d,wi)})),be.onDone(()=>{let Hn=this.players.indexOf(be);Hn>=0&&this.players.splice(Hn,1);const Sr=this._engine.playersByElement.get(d);if(Sr){let ri=Sr.indexOf(be);ri>=0&&Sr.splice(ri,1)}}),this.players.push(be),Sn.push(be),be}deregister(d){delete this._triggers[d],this._engine.statesByElement.forEach((p,b)=>{delete p[d]}),this._elementListeners.forEach((p,b)=>{this._elementListeners.set(b,p.filter(B=>B.name!=d))})}clearElementCache(d){this._engine.statesByElement.delete(d),this._elementListeners.delete(d);const p=this._engine.playersByElement.get(d);p&&(p.forEach(b=>b.destroy()),this._engine.playersByElement.delete(d))}_signalRemovalForInnerTriggers(d,p){const b=this._engine.driver.query(d,Rt,!0);b.forEach(B=>{if(B[ni])return;const ue=this._engine.fetchNamespacesByElement(B);ue.size?ue.forEach(be=>be.triggerLeaveAnimation(B,p,!1,!0)):this.clearElementCache(B)}),this._engine.afterFlushAnimationsDone(()=>b.forEach(B=>this.clearElementCache(B)))}triggerLeaveAnimation(d,p,b,B){const ue=this._engine.statesByElement.get(d),be=new Map;if(ue){const ye=[];if(Object.keys(ue).forEach(Ze=>{if(be.set(Ze,ue[Ze].value),this._triggers[Ze]){const ht=this.trigger(d,Ze,Kr,B);ht&&ye.push(ht)}}),ye.length)return this._engine.markElementAsRemoved(this.id,d,!0,p,be),b&&Un(ye).onDone(()=>this._engine.processLeaveNode(d)),!0}return!1}prepareLeaveAnimationListeners(d){const p=this._elementListeners.get(d),b=this._engine.statesByElement.get(d);if(p&&b){const B=new Set;p.forEach(ue=>{const be=ue.name;if(B.has(be))return;B.add(be);const Ze=this._triggers[be].fallbackTransition,ht=b[be]||Fi,en=new zr(Kr),pn=new $i(this.id,be,d);this._engine.totalQueuedPlayers++,this._queue.push({element:d,triggerName:be,transition:Ze,fromState:ht,toState:en,player:pn,isFallbackTransition:!0})})}}removeNode(d,p){const b=this._engine;if(d.childElementCount&&this._signalRemovalForInnerTriggers(d,p),this.triggerLeaveAnimation(d,p,!0))return;let B=!1;if(b.totalAnimations){const ue=b.players.length?b.playersByQueriedElement.get(d):[];if(ue&&ue.length)B=!0;else{let be=d;for(;be=be.parentNode;)if(b.statesByElement.get(be)){B=!0;break}}}if(this.prepareLeaveAnimationListeners(d),B)b.markElementAsRemoved(this.id,d,!1,p);else{const ue=d[ni];(!ue||ue===os)&&(b.afterFlush(()=>this.clearElementCache(d)),b.destroyInnerAnimations(d),b._onRemovalComplete(d,p))}}insertNode(d,p){wt(d,this._hostClassName)}drainQueuedTransitions(d){const p=[];return this._queue.forEach(b=>{const B=b.player;if(B.destroyed)return;const ue=b.element,be=this._elementListeners.get(ue);be&&be.forEach(ye=>{if(ye.name==b.triggerName){const Ze=tr(ue,b.triggerName,b.fromState.value,b.toState.value);Ze._data=d,Wn(b.player,ye.phase,Ze,ye.callback)}}),B.markedForDestroy?this._engine.afterFlush(()=>{B.destroy()}):p.push(b)}),this._queue=[],p.sort((b,B)=>{const ue=b.transition.ast.depCount,be=B.transition.ast.depCount;return 0==ue||0==be?ue-be:this._engine.driver.containsElement(b.element,B.element)?1:-1})}destroy(d){this.players.forEach(p=>p.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,d)}elementContainsData(d){let p=!1;return this._elementListeners.has(d)&&(p=!0),p=!!this._queue.find(b=>b.element===d)||p,p}}class as{constructor(d,p,b){this.bodyNode=d,this.driver=p,this._normalizer=b,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=(B,ue)=>{}}_onRemovalComplete(d,p){this.onRemovalComplete(d,p)}get queuedPlayers(){const d=[];return this._namespaceList.forEach(p=>{p.players.forEach(b=>{b.queued&&d.push(b)})}),d}createNamespace(d,p){const b=new ci(d,p,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,p)?this._balanceNamespaceList(b,p):(this.newHostElements.set(p,b),this.collectEnterElement(p)),this._namespaceLookup[d]=b}_balanceNamespaceList(d,p){const b=this._namespaceList,B=this.namespacesByHostElement,ue=b.length-1;if(ue>=0){let be=!1;if(void 0!==this.driver.getParentElement){let ye=this.driver.getParentElement(p);for(;ye;){const Ze=B.get(ye);if(Ze){const ht=b.indexOf(Ze);b.splice(ht+1,0,d),be=!0;break}ye=this.driver.getParentElement(ye)}}else for(let ye=ue;ye>=0;ye--)if(this.driver.containsElement(b[ye].hostElement,p)){b.splice(ye+1,0,d),be=!0;break}be||b.unshift(d)}else b.push(d);return B.set(p,d),d}register(d,p){let b=this._namespaceLookup[d];return b||(b=this.createNamespace(d,p)),b}registerTrigger(d,p,b){let B=this._namespaceLookup[d];B&&B.register(p,b)&&this.totalAnimations++}destroy(d,p){if(!d)return;const b=this._fetchNamespace(d);this.afterFlush(()=>{this.namespacesByHostElement.delete(b.hostElement),delete this._namespaceLookup[d];const B=this._namespaceList.indexOf(b);B>=0&&this._namespaceList.splice(B,1)}),this.afterFlushAnimationsDone(()=>b.destroy(p))}_fetchNamespace(d){return this._namespaceLookup[d]}fetchNamespacesByElement(d){const p=new Set,b=this.statesByElement.get(d);if(b){const B=Object.keys(b);for(let ue=0;ue<B.length;ue++){const be=b[B[ue]].namespaceId;if(be){const ye=this._fetchNamespace(be);ye&&p.add(ye)}}}return p}trigger(d,p,b,B){if(W(p)){const ue=this._fetchNamespace(d);if(ue)return ue.trigger(p,b,B),!0}return!1}insertNode(d,p,b,B){if(!W(p))return;const ue=p[ni];if(ue&&ue.setForRemoval){ue.setForRemoval=!1,ue.setForMove=!0;const be=this.collectedLeaveElements.indexOf(p);be>=0&&this.collectedLeaveElements.splice(be,1)}if(d){const be=this._fetchNamespace(d);be&&be.insertNode(p,b)}B&&this.collectEnterElement(p)}collectEnterElement(d){this.collectedEnterElements.push(d)}markElementAsDisabled(d,p){p?this.disabledNodes.has(d)||(this.disabledNodes.add(d),wt(d,Ii)):this.disabledNodes.has(d)&&(this.disabledNodes.delete(d),Lt(d,Ii))}removeNode(d,p,b,B){if(W(p)){const ue=d?this._fetchNamespace(d):null;if(ue?ue.removeNode(p,B):this.markElementAsRemoved(d,p,!1,B),b){const be=this.namespacesByHostElement.get(p);be&&be.id!==d&&be.removeNode(p,B)}}else this._onRemovalComplete(p,B)}markElementAsRemoved(d,p,b,B,ue){this.collectedLeaveElements.push(p),p[ni]={namespaceId:d,setForRemoval:B,hasAnimation:b,removedBeforeQueried:!1,previousTriggersValues:ue}}listen(d,p,b,B,ue){return W(p)?this._fetchNamespace(d).listen(p,b,B,ue):()=>{}}_buildInstruction(d,p,b,B,ue){return d.transition.build(this.driver,d.element,d.fromState.value,d.toState.value,b,B,d.fromState.options,d.toState.options,p,ue)}destroyInnerAnimations(d){let p=this.driver.query(d,Rt,!0);p.forEach(b=>this.destroyActiveAnimationsForElement(b)),0!=this.playersByQueriedElement.size&&(p=this.driver.query(d,nn,!0),p.forEach(b=>this.finishActiveQueriedAnimationOnElement(b)))}destroyActiveAnimationsForElement(d){const p=this.playersByElement.get(d);p&&p.forEach(b=>{b.queued?b.markedForDestroy=!0:b.destroy()})}finishActiveQueriedAnimationOnElement(d){const p=this.playersByQueriedElement.get(d);p&&p.forEach(b=>b.finish())}whenRenderingDone(){return new Promise(d=>{if(this.players.length)return Un(this.players).onDone(()=>d());d()})}processLeaveNode(d){const p=d[ni];if(p&&p.setForRemoval){if(d[ni]=os,p.namespaceId){this.destroyInnerAnimations(d);const b=this._fetchNamespace(p.namespaceId);b&&b.clearElementCache(d)}this._onRemovalComplete(d,p.setForRemoval)}d.classList?.contains(Ii)&&this.markElementAsDisabled(d,!1),this.driver.query(d,".ng-animate-disabled",!0).forEach(b=>{this.markElementAsDisabled(b,!1)})}flush(d=-1){let p=[];if(this.newHostElements.size&&(this.newHostElements.forEach((b,B)=>this._balanceNamespaceList(b,B)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let b=0;b<this.collectedEnterElements.length;b++)wt(this.collectedEnterElements[b],"ng-star-inserted");if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){const b=[];try{p=this._flushAnimations(b,d)}finally{for(let B=0;B<b.length;B++)b[B]()}}else for(let b=0;b<this.collectedLeaveElements.length;b++)this.processLeaveNode(this.collectedLeaveElements[b]);if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(b=>b()),this._flushFns=[],this._whenQuietFns.length){const b=this._whenQuietFns;this._whenQuietFns=[],p.length?Un(p).onDone(()=>{b.forEach(B=>B())}):b.forEach(B=>B())}}reportError(d){throw function Dr(F){return new s.vHH(3402,Q)}()}_flushAnimations(d,p){const b=new Tr,B=[],ue=new Map,be=[],ye=new Map,Ze=new Map,ht=new Map,en=new Set;this.disabledNodes.forEach(on=>{en.add(on);const Cn=this.driver.query(on,".ng-animate-queued",!0);for(let wn=0;wn<Cn.length;wn++)en.add(Cn[wn])});const pn=this.bodyNode,Sn=Array.from(this.statesByElement.keys()),An=et(Sn,this.collectedEnterElements),bn=new Map;let Hn=0;An.forEach((on,Cn)=>{const wn=un+Hn++;bn.set(Cn,wn),on.forEach(qn=>wt(qn,wn))});const Sr=[],ri=new Set,Yr=new Set;for(let on=0;on<this.collectedLeaveElements.length;on++){const Cn=this.collectedLeaveElements[on],wn=Cn[ni];wn&&wn.setForRemoval&&(Sr.push(Cn),ri.add(Cn),wn.hasAnimation?this.driver.query(Cn,".ng-star-inserted",!0).forEach(qn=>ri.add(qn)):Yr.add(Cn))}const hi=new Map,Zr=et(Sn,Array.from(ri));Zr.forEach((on,Cn)=>{const wn=Yt+Hn++;hi.set(Cn,wn),on.forEach(qn=>wt(qn,wn))}),d.push(()=>{An.forEach((on,Cn)=>{const wn=bn.get(Cn);on.forEach(qn=>Lt(qn,wn))}),Zr.forEach((on,Cn)=>{const wn=hi.get(Cn);on.forEach(qn=>Lt(qn,wn))}),Sr.forEach(on=>{this.processLeaveNode(on)})});const Ve=[],lt=[];for(let on=this._namespaceList.length-1;on>=0;on--)this._namespaceList[on].drainQueuedTransitions(p).forEach(wn=>{const qn=wn.player,Vr=wn.element;if(Ve.push(qn),this.collectedEnterElements.length){const _i=Vr[ni];if(_i&&_i.setForMove){if(_i.previousTriggersValues&&_i.previousTriggersValues.has(wn.triggerName)){const Ni=_i.previousTriggersValues.get(wn.triggerName),Jr=this.statesByElement.get(wn.element);Jr&&Jr[wn.triggerName]&&(Jr[wn.triggerName].value=Ni)}return void qn.destroy()}}const Gn=!pn||!this.driver.containsElement(pn,Vr),mi=hi.get(Vr),es=bn.get(Vr),Nr=this._buildInstruction(wn,b,es,mi,Gn);if(Nr.errors&&Nr.errors.length)return void lt.push(Nr);if(Gn)return qn.onStart(()=>Wt(Vr,Nr.fromStyles)),qn.onDestroy(()=>qt(Vr,Nr.toStyles)),void B.push(qn);if(wn.isFallbackTransition)return qn.onStart(()=>Wt(Vr,Nr.fromStyles)),qn.onDestroy(()=>qt(Vr,Nr.toStyles)),void B.push(qn);const qr=[];Nr.timelines.forEach(_i=>{_i.stretchStartingKeyframe=!0,this.disabledNodes.has(_i.element)||qr.push(_i)}),Nr.timelines=qr,b.append(Vr,Nr.timelines),be.push({instruction:Nr,player:qn,element:Vr}),Nr.queriedElements.forEach(_i=>Mn(ye,_i,[]).push(qn)),Nr.preStyleProps.forEach((_i,Ni)=>{const Jr=Object.keys(_i);if(Jr.length){let fi=Ze.get(Ni);fi||Ze.set(Ni,fi=new Set),Jr.forEach(So=>fi.add(So))}}),Nr.postStyleProps.forEach((_i,Ni)=>{const Jr=Object.keys(_i);let fi=ht.get(Ni);fi||ht.set(Ni,fi=new Set),Jr.forEach(So=>fi.add(So))})});if(lt.length){const on=[];lt.forEach(Cn=>{on.push(function zn(F,d){return new s.vHH(3505,Q)}())}),Ve.forEach(Cn=>Cn.destroy()),this.reportError(on)}const Je=new Map,Kt=new Map;be.forEach(on=>{const Cn=on.element;b.has(Cn)&&(Kt.set(Cn,Cn),this._beforeAnimationBuild(on.player.namespaceId,on.instruction,Je))}),B.forEach(on=>{const Cn=on.element;this._getPreviousPlayers(Cn,!1,on.namespaceId,on.triggerName,null).forEach(qn=>{Mn(Je,Cn,[]).push(qn),qn.destroy()})});const Dn=Sr.filter(on=>vr(on,Ze,ht)),yn=new Map;De(yn,this.driver,Yr,ht,te.l3).forEach(on=>{vr(on,Ze,ht)&&Dn.push(on)});const vn=new Map;An.forEach((on,Cn)=>{De(vn,this.driver,new Set(on),Ze,te.k1)}),Dn.forEach(on=>{const Cn=yn.get(on),wn=vn.get(on);yn.set(on,{...Cn,...wn})});const cs=[],pa=[],Pi={};be.forEach(on=>{const{element:Cn,player:wn,instruction:qn}=on;if(b.has(Cn)){if(en.has(Cn))return wn.onDestroy(()=>qt(Cn,qn.toStyles)),wn.disabled=!0,wn.overrideTotalTime(qn.totalTime),void B.push(wn);let Vr=Pi;if(Kt.size>1){let mi=Cn;const es=[];for(;mi=mi.parentNode;){const Nr=Kt.get(mi);if(Nr){Vr=Nr;break}es.push(mi)}es.forEach(Nr=>Kt.set(Nr,Vr))}const Gn=this._buildAnimation(wn.namespaceId,qn,Je,ue,vn,yn);if(wn.setRealPlayer(Gn),Vr===Pi)cs.push(wn);else{const mi=this.playersByElement.get(Vr);mi&&mi.length&&(wn.parentPlayer=Un(mi)),B.push(wn)}}else Wt(Cn,qn.fromStyles),wn.onDestroy(()=>qt(Cn,qn.toStyles)),pa.push(wn),en.has(Cn)&&B.push(wn)}),pa.forEach(on=>{const Cn=ue.get(on.element);if(Cn&&Cn.length){const wn=Un(Cn);on.setRealPlayer(wn)}}),B.forEach(on=>{on.parentPlayer?on.syncPlayerEvents(on.parentPlayer):on.destroy()});for(let on=0;on<Sr.length;on++){const Cn=Sr[on],wn=Cn[ni];if(Lt(Cn,Yt),wn&&wn.hasAnimation)continue;let qn=[];if(ye.size){let Gn=ye.get(Cn);Gn&&Gn.length&&qn.push(...Gn);let mi=this.driver.query(Cn,nn,!0);for(let es=0;es<mi.length;es++){let Nr=ye.get(mi[es]);Nr&&Nr.length&&qn.push(...Nr)}}const Vr=qn.filter(Gn=>!Gn.destroyed);Vr.length?Xn(this,Cn,Vr):this.processLeaveNode(Cn)}return Sr.length=0,cs.forEach(on=>{this.players.push(on),on.onDone(()=>{on.destroy();const Cn=this.players.indexOf(on);this.players.splice(Cn,1)}),on.play()}),cs}elementContainsData(d,p){let b=!1;const B=p[ni];return B&&B.setForRemoval&&(b=!0),this.playersByElement.has(p)&&(b=!0),this.playersByQueriedElement.has(p)&&(b=!0),this.statesByElement.has(p)&&(b=!0),this._fetchNamespace(d).elementContainsData(p)||b}afterFlush(d){this._flushFns.push(d)}afterFlushAnimationsDone(d){this._whenQuietFns.push(d)}_getPreviousPlayers(d,p,b,B,ue){let be=[];if(p){const ye=this.playersByQueriedElement.get(d);ye&&(be=ye)}else{const ye=this.playersByElement.get(d);if(ye){const Ze=!ue||ue==Kr;ye.forEach(ht=>{ht.queued||!Ze&&ht.triggerName!=B||be.push(ht)})}}return(b||B)&&(be=be.filter(ye=>!(b&&b!=ye.namespaceId||B&&B!=ye.triggerName))),be}_beforeAnimationBuild(d,p,b){const ue=p.element,be=p.isRemovalTransition?void 0:d,ye=p.isRemovalTransition?void 0:p.triggerName;for(const Ze of p.timelines){const ht=Ze.element,en=ht!==ue,pn=Mn(b,ht,[]);this._getPreviousPlayers(ht,en,be,ye,p.toState).forEach(An=>{const bn=An.getRealPlayer();bn.beforeDestroy&&bn.beforeDestroy(),An.destroy(),pn.push(An)})}Wt(ue,p.fromStyles)}_buildAnimation(d,p,b,B,ue,be){const ye=p.triggerName,Ze=p.element,ht=[],en=new Set,pn=new Set,Sn=p.timelines.map(bn=>{const Hn=bn.element;en.add(Hn);const Sr=Hn[ni];if(Sr&&Sr.removedBeforeQueried)return new te.ZN(bn.duration,bn.delay);const ri=Hn!==Ze,Yr=function $n(F){const d=[];return cr(F,d),d}((b.get(Hn)||Ds).map(Je=>Je.getRealPlayer())).filter(Je=>!!Je.element&&Je.element===Hn),hi=ue.get(Hn),Zr=be.get(Hn),Ve=dr(0,this._normalizer,0,bn.keyframes,hi,Zr),lt=this._buildPlayer(bn,Ve,Yr);if(bn.subTimeline&&B&&pn.add(Hn),ri){const Je=new $i(d,ye,Hn);Je.setRealPlayer(lt),ht.push(Je)}return lt});ht.forEach(bn=>{Mn(this.playersByQueriedElement,bn.element,[]).push(bn),bn.onDone(()=>function Qi(F,d,p){let b;if(F instanceof Map){if(b=F.get(d),b){if(b.length){const B=b.indexOf(p);b.splice(B,1)}0==b.length&&F.delete(d)}}else if(b=F[d],b){if(b.length){const B=b.indexOf(p);b.splice(B,1)}0==b.length&&delete F[d]}return b}(this.playersByQueriedElement,bn.element,bn))}),en.forEach(bn=>wt(bn,$t));const An=Un(Sn);return An.onDestroy(()=>{en.forEach(bn=>Lt(bn,$t)),qt(Ze,p.toStyles)}),pn.forEach(bn=>{Mn(B,bn,[]).push(An)}),An}_buildPlayer(d,p,b){return p.length>0?this.driver.animate(d.element,p,d.duration,d.delay,d.easing,b):new te.ZN(d.duration,d.delay)}}class $i{constructor(d,p,b){this.namespaceId=d,this.triggerName=p,this.element=b,this._player=new te.ZN,this._containsRealPlayer=!1,this._queuedCallbacks={},this.destroyed=!1,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(d){this._containsRealPlayer||(this._player=d,Object.keys(this._queuedCallbacks).forEach(p=>{this._queuedCallbacks[p].forEach(b=>Wn(d,p,void 0,b))}),this._queuedCallbacks={},this._containsRealPlayer=!0,this.overrideTotalTime(d.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(d){this.totalTime=d}syncPlayerEvents(d){const p=this._player;p.triggerCallback&&d.onStart(()=>p.triggerCallback("start")),d.onDone(()=>this.finish()),d.onDestroy(()=>this.destroy())}_queueEvent(d,p){Mn(this._queuedCallbacks,d,[]).push(p)}onDone(d){this.queued&&this._queueEvent("done",d),this._player.onDone(d)}onStart(d){this.queued&&this._queueEvent("start",d),this._player.onStart(d)}onDestroy(d){this.queued&&this._queueEvent("destroy",d),this._player.onDestroy(d)}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(d){this.queued||this._player.setPosition(d)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(d){const p=this._player;p.triggerCallback&&p.triggerCallback(d)}}function W(F){return F&&1===F.nodeType}function K(F,d){const p=F.style.display;return F.style.display=d??"none",p}function De(F,d,p,b,B){const ue=[];p.forEach(Ze=>ue.push(K(Ze)));const be=[];b.forEach((Ze,ht)=>{const en={};Ze.forEach(pn=>{const Sn=en[pn]=d.computeStyle(ht,pn,B);(!Sn||0==Sn.length)&&(ht[ni]=Ir,be.push(ht))}),F.set(ht,en)});let ye=0;return p.forEach(Ze=>K(Ze,ue[ye++])),be}function et(F,d){const p=new Map;if(F.forEach(ye=>p.set(ye,[])),0==d.length)return p;const B=new Set(d),ue=new Map;function be(ye){if(!ye)return 1;let Ze=ue.get(ye);if(Ze)return Ze;const ht=ye.parentNode;return Ze=p.has(ht)?ht:B.has(ht)?1:be(ht),ue.set(ye,Ze),Ze}return d.forEach(ye=>{const Ze=be(ye);1!==Ze&&p.get(Ze).push(ye)}),p}function wt(F,d){F.classList?.add(d)}function Lt(F,d){F.classList?.remove(d)}function Xn(F,d,p){Un(p).onDone(()=>F.processLeaveNode(d))}function cr(F,d){for(let p=0;p<F.length;p++){const b=F[p];b instanceof te.ZE?cr(b.players,d):d.push(b)}}function vr(F,d,p){const b=p.get(F);if(!b)return!1;let B=d.get(F);return B?b.forEach(ue=>B.add(ue)):d.set(F,b),p.delete(F),!0}class er{constructor(d,p,b){this.bodyNode=d,this._driver=p,this._normalizer=b,this._triggerCache={},this.onRemovalComplete=(B,ue)=>{},this._transitionEngine=new as(d,p,b),this._timelineEngine=new mr(d,p,b),this._transitionEngine.onRemovalComplete=(B,ue)=>this.onRemovalComplete(B,ue)}registerTrigger(d,p,b,B,ue){const be=d+"-"+B;let ye=this._triggerCache[be];if(!ye){const Ze=[],en=Ee(this._driver,ue,Ze,[]);if(Ze.length)throw function Xe(F,d){return new s.vHH(3404,Q)}();ye=function Mo(F,d,p){return new ks(F,d,p)}(B,en,this._normalizer),this._triggerCache[be]=ye}this._transitionEngine.registerTrigger(p,B,ye)}register(d,p){this._transitionEngine.register(d,p)}destroy(d,p){this._transitionEngine.destroy(d,p)}onInsert(d,p,b,B){this._transitionEngine.insertNode(d,p,b,B)}onRemove(d,p,b,B){this._transitionEngine.removeNode(d,p,B||!1,b)}disableAnimations(d,p){this._transitionEngine.markElementAsDisabled(d,p)}process(d,p,b,B){if("@"==b.charAt(0)){const[ue,be]=Vn(b);this._timelineEngine.command(ue,p,be,B)}else this._transitionEngine.trigger(d,p,b,B)}listen(d,p,b,B,ue){if("@"==b.charAt(0)){const[be,ye]=Vn(b);return this._timelineEngine.listen(be,p,ye,ue)}return this._transitionEngine.listen(d,p,b,B,ue)}flush(d=-1){this._transitionEngine.flush(d)}get players(){return this._transitionEngine.players.concat(this._timelineEngine.players)}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}}let Wr=(()=>{class F{constructor(p,b,B){this._element=p,this._startStyles=b,this._endStyles=B,this._state=0;let ue=F.initialStylesByElement.get(p);ue||F.initialStylesByElement.set(p,ue={}),this._initialStyles=ue}start(){this._state<1&&(this._startStyles&&qt(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(qt(this._element,this._initialStyles),this._endStyles&&(qt(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(F.initialStylesByElement.delete(this._element),this._startStyles&&(Wt(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(Wt(this._element,this._endStyles),this._endStyles=null),qt(this._element,this._initialStyles),this._state=3)}}return F.initialStylesByElement=new WeakMap,F})();function Ti(F){let d=null;const p=Object.keys(F);for(let b=0;b<p.length;b++){const B=p[b];ls(B)&&(d=d||{},d[B]=F[B])}return d}function ls(F){return"display"===F||"position"===F}class Si{constructor(d,p,b,B){this.element=d,this.keyframes=p,this.options=b,this._specialStyles=B,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this.time=0,this.parentPlayer=null,this.currentSnapshot={},this._duration=b.duration,this._delay=b.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(d=>d()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const d=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,d,this.options),this._finalKeyframe=d.length?d[d.length-1]:{},this.domPlayer.addEventListener("finish",()=>this._onFinish())}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_triggerWebAnimation(d,p,b){return d.animate(p,b)}onStart(d){this._onStartFns.push(d)}onDone(d){this._onDoneFns.push(d)}onDestroy(d){this._onDestroyFns.push(d)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(d=>d()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}pause(){this.init(),this.domPlayer.pause()}finish(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}reset(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1}_resetDomPlayerState(){this.domPlayer&&this.domPlayer.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(d=>d()),this._onDestroyFns=[])}setPosition(d){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=d*this.time}getPosition(){return this.domPlayer.currentTime/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const d={};if(this.hasStarted()){const p=this._finalKeyframe;Object.keys(p).forEach(b=>{"offset"!=b&&(d[b]=this._finished?p[b]:Nt(this.element,b))})}this.currentSnapshot=d}triggerCallback(d){const p="start"==d?this._onStartFns:this._onDoneFns;p.forEach(b=>b()),p.length=0}}class P{validateStyleProperty(d){return me(d)}matchesElement(d,p){return!1}containsElement(d,p){return ne(d,p)}getParentElement(d){return hr(d)}query(d,p,b){return Fe(d,p,b)}computeStyle(d,p,b){return window.getComputedStyle(d)[p]}animate(d,p,b,B,ue,be=[]){const Ze={duration:b,delay:B,fill:0==B?"both":"forwards"};ue&&(Ze.easing=ue);const ht={},en=be.filter(Sn=>Sn instanceof Si);(function ge(F,d){return 0===F||0===d})(b,B)&&en.forEach(Sn=>{let An=Sn.currentSnapshot;Object.keys(An).forEach(bn=>ht[bn]=An[bn])}),p=function Ue(F,d,p){const b=Object.keys(p);if(b.length&&d.length){let ue=d[0],be=[];if(b.forEach(ye=>{ue.hasOwnProperty(ye)||be.push(ye),ue[ye]=p[ye]}),be.length)for(var B=1;B<d.length;B++){let ye=d[B];be.forEach(function(Ze){ye[Ze]=Nt(F,Ze)})}}return d}(d,p=p.map(Sn=>Bt(Sn,!1)),ht);const pn=function Br(F,d){let p=null,b=null;return Array.isArray(d)&&d.length?(p=Ti(d[0]),d.length>1&&(b=Ti(d[d.length-1]))):d&&(p=Ti(d)),p||b?new Wr(F,p,b):null}(d,p);return new Si(d,p,Ze,pn)}}var E=M(6895);let C=(()=>{class F extends te._j{constructor(p,b){super(),this._nextAnimationId=0,this._renderer=p.createRenderer(b.body,{id:"0",encapsulation:s.ifc.None,styles:[],data:{animation:[]}})}build(p){const b=this._nextAnimationId.toString();this._nextAnimationId++;const B=Array.isArray(p)?(0,te.vP)(p):p;return fn(this._renderer,null,b,"register",[B]),new H(b,this._renderer)}}return F.\u0275fac=function(p){return new(p||F)(s.LFG(s.FYo),s.LFG(E.K0))},F.\u0275prov=s.Yz7({token:F,factory:F.\u0275fac}),F})();class H extends te.LC{constructor(d,p){super(),this._id=d,this._renderer=p}create(d,p){return new ct(this._id,d,p||{},this._renderer)}}class ct{constructor(d,p,b,B){this.id=d,this.element=p,this._renderer=B,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",b)}_listen(d,p){return this._renderer.listen(this.element,`@@${this.id}:${d}`,p)}_command(d,...p){return fn(this._renderer,this.element,this.id,d,p)}onDone(d){this._listen("done",d)}onStart(d){this._listen("start",d)}onDestroy(d){this._listen("destroy",d)}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(d){this._command("setPosition",d)}getPosition(){return this._renderer.engine.players[+this.id]?.getPosition()??0}}function fn(F,d,p,b,B){return F.setProperty(d,`@@${p}:${b}`,B)}const ai="@.disabled";let us=(()=>{class F{constructor(p,b,B){this.delegate=p,this.engine=b,this._zone=B,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,this.promise=Promise.resolve(0),b.onRemovalComplete=(ue,be)=>{const ye=be?.parentNode(ue);ye&&be.removeChild(ye,ue)}}createRenderer(p,b){const ue=this.delegate.createRenderer(p,b);if(!(p&&b&&b.data&&b.data.animation)){let en=this._rendererCache.get(ue);return en||(en=new Gi("",ue,this.engine),this._rendererCache.set(ue,en)),en}const be=b.id,ye=b.id+"-"+this._currentId;this._currentId++,this.engine.register(ye,p);const Ze=en=>{Array.isArray(en)?en.forEach(Ze):this.engine.registerTrigger(be,ye,p,en.name,en)};return b.data.animation.forEach(Ze),new Ji(this,ye,ue,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){this.promise.then(()=>{this._microtaskId++})}scheduleListenerCallback(p,b,B){p>=0&&p<this._microtaskId?this._zone.run(()=>b(B)):(0==this._animationCallbacksBuffer.length&&Promise.resolve(null).then(()=>{this._zone.run(()=>{this._animationCallbacksBuffer.forEach(ue=>{const[be,ye]=ue;be(ye)}),this._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([b,B]))}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 F.\u0275fac=function(p){return new(p||F)(s.LFG(s.FYo),s.LFG(er),s.LFG(s.R0b))},F.\u0275prov=s.Yz7({token:F,factory:F.\u0275fac}),F})();class Gi{constructor(d,p,b){this.namespaceId=d,this.delegate=p,this.engine=b,this.destroyNode=this.delegate.destroyNode?B=>p.destroyNode(B):null}get data(){return this.delegate.data}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.delegate.destroy()}createElement(d,p){return this.delegate.createElement(d,p)}createComment(d){return this.delegate.createComment(d)}createText(d){return this.delegate.createText(d)}appendChild(d,p){this.delegate.appendChild(d,p),this.engine.onInsert(this.namespaceId,p,d,!1)}insertBefore(d,p,b,B=!0){this.delegate.insertBefore(d,p,b),this.engine.onInsert(this.namespaceId,p,d,B)}removeChild(d,p,b){this.engine.onRemove(this.namespaceId,p,this.delegate,b)}selectRootElement(d,p){return this.delegate.selectRootElement(d,p)}parentNode(d){return this.delegate.parentNode(d)}nextSibling(d){return this.delegate.nextSibling(d)}setAttribute(d,p,b,B){this.delegate.setAttribute(d,p,b,B)}removeAttribute(d,p,b){this.delegate.removeAttribute(d,p,b)}addClass(d,p){this.delegate.addClass(d,p)}removeClass(d,p){this.delegate.removeClass(d,p)}setStyle(d,p,b,B){this.delegate.setStyle(d,p,b,B)}removeStyle(d,p,b){this.delegate.removeStyle(d,p,b)}setProperty(d,p,b){"@"==p.charAt(0)&&p==ai?this.disableAnimations(d,!!b):this.delegate.setProperty(d,p,b)}setValue(d,p){this.delegate.setValue(d,p)}listen(d,p,b){return this.delegate.listen(d,p,b)}disableAnimations(d,p){this.engine.disableAnimations(d,p)}}class Ji extends Gi{constructor(d,p,b,B){super(p,b,B),this.factory=d,this.namespaceId=p}setProperty(d,p,b){"@"==p.charAt(0)?"."==p.charAt(1)&&p==ai?this.disableAnimations(d,b=void 0===b||!!b):this.engine.process(this.namespaceId,d,p.substr(1),b):this.delegate.setProperty(d,p,b)}listen(d,p,b){if("@"==p.charAt(0)){const B=function Us(F){switch(F){case"body":return document.body;case"document":return document;case"window":return window;default:return F}}(d);let ue=p.substr(1),be="";return"@"!=ue.charAt(0)&&([ue,be]=function Et(F){const d=F.indexOf(".");return[F.substring(0,d),F.substr(d+1)]}(ue)),this.engine.listen(this.namespaceId,B,ue,be,ye=>{this.factory.scheduleListenerCallback(ye._data||-1,b,ye)})}return this.delegate.listen(d,p,b)}}let nr=(()=>{class F extends er{constructor(p,b,B){super(p.body,b,B)}ngOnDestroy(){this.flush()}}return F.\u0275fac=function(p){return new(p||F)(s.LFG(E.K0),s.LFG(st),s.LFG(Rs))},F.\u0275prov=s.Yz7({token:F,factory:F.\u0275fac}),F})();const Hs=new s.OlP("AnimationModuleType"),Xi=[{provide:te._j,useClass:C},{provide:Rs,useFactory:function di(){return new _o}},{provide:er,useClass:nr},{provide:s.FYo,useFactory:function Qr(F,d,p){return new us(F,d,p)},deps:[f.se,er,s.R0b]}],Ri=[{provide:st,useFactory:()=>new P},{provide:Hs,useValue:"BrowserAnimations"},...Xi],js=[{provide:st,useClass:Ge},{provide:Hs,useValue:"NoopAnimations"},...Xi];let Jo=(()=>{class F{static withConfig(p){return{ngModule:F,providers:p.disableAnimations?js:Ri}}}return F.\u0275fac=function(p){return new(p||F)},F.\u0275mod=s.oAB({type:F}),F.\u0275inj=s.cJS({providers:Ri,imports:[f.b2]}),F})()},1481:(Ne,se,M)=>{"use strict";M.d(se,{H7:()=>Vt,b2:()=>Ar,q6:()=>Mn,se:()=>ot});var s=M(6895),f=M(5062);class te extends s.w_{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class Q extends te{static makeCurrent(){(0,s.HT)(new Q)}onAndCancel(we,ce,Be){return we.addEventListener(ce,Be,!1),()=>{we.removeEventListener(ce,Be,!1)}}dispatchEvent(we,ce){we.dispatchEvent(ce)}remove(we){we.parentNode&&we.parentNode.removeChild(we)}createElement(we,ce){return(ce=ce||this.getDefaultDocument()).createElement(we)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(we){return we.nodeType===Node.ELEMENT_NODE}isShadowRoot(we){return we instanceof DocumentFragment}getGlobalEventTarget(we,ce){return"window"===ce?window:"document"===ce?we:"body"===ce?we.body:null}getBaseHref(we){const ce=function X(){return re=re||document.querySelector("base"),re?re.getAttribute("href"):null}();return null==ce?null:function ee($e){ie=ie||document.createElement("a"),ie.setAttribute("href",$e);const we=ie.pathname;return"/"===we.charAt(0)?we:`/${we}`}(ce)}resetBaseElement(){re=null}getUserAgent(){return window.navigator.userAgent}getCookie(we){return(0,s.Mx)(document.cookie,we)}}let ie,re=null;const he=new f.OlP("TRANSITION_ID"),N=[{provide:f.ip1,useFactory:function L($e,we,ce){return()=>{ce.get(f.CZH).donePromise.then(()=>{const Be=(0,s.q)(),at=we.querySelectorAll(`style[ng-transition="${$e}"]`);for(let Ft=0;Ft<at.length;Ft++)Be.remove(at[Ft])})}},deps:[he,s.K0,f.zs3],multi:!0}];class G{static init(){(0,f.VLi)(new G)}addToWindow(we){f.dqk.getAngularTestability=(Be,at=!0)=>{const Ft=we.findTestabilityInTree(Be,at);if(null==Ft)throw new Error("Could not find testability for element.");return Ft},f.dqk.getAllAngularTestabilities=()=>we.getAllTestabilities(),f.dqk.getAllAngularRootElements=()=>we.getAllRootElements(),f.dqk.frameworkStabilizers||(f.dqk.frameworkStabilizers=[]),f.dqk.frameworkStabilizers.push(Be=>{const at=f.dqk.getAllAngularTestabilities();let Ft=at.length,Ut=!1;const At=function(ge){Ut=Ut||ge,Ft--,0==Ft&&Be(Ut)};at.forEach(function(ge){ge.whenStable(At)})})}findTestabilityInTree(we,ce,Be){return null==ce?null:we.getTestability(ce)??(Be?(0,s.q)().isShadowRoot(ce)?this.findTestabilityInTree(we,ce.host,!0):this.findTestabilityInTree(we,ce.parentElement,!0):null)}}let oe=(()=>{class $e{build(){return new XMLHttpRequest}}return $e.\u0275fac=function(ce){return new(ce||$e)},$e.\u0275prov=f.Yz7({token:$e,factory:$e.\u0275fac}),$e})();const Pe=new f.OlP("EventManagerPlugins");let le=(()=>{class $e{constructor(ce,Be){this._zone=Be,this._eventNameToPlugin=new Map,ce.forEach(at=>at.manager=this),this._plugins=ce.slice().reverse()}addEventListener(ce,Be,at){return this._findPluginFor(Be).addEventListener(ce,Be,at)}addGlobalEventListener(ce,Be,at){return this._findPluginFor(Be).addGlobalEventListener(ce,Be,at)}getZone(){return this._zone}_findPluginFor(ce){const Be=this._eventNameToPlugin.get(ce);if(Be)return Be;const at=this._plugins;for(let Ft=0;Ft<at.length;Ft++){const Ut=at[Ft];if(Ut.supports(ce))return this._eventNameToPlugin.set(ce,Ut),Ut}throw new Error(`No event manager plugin found for event ${ce}`)}}return $e.\u0275fac=function(ce){return new(ce||$e)(f.LFG(Pe),f.LFG(f.R0b))},$e.\u0275prov=f.Yz7({token:$e,factory:$e.\u0275fac}),$e})();class Oe{constructor(we){this._doc=we}addGlobalEventListener(we,ce,Be){const at=(0,s.q)().getGlobalEventTarget(this._doc,we);if(!at)throw new Error(`Unsupported event target ${at} for event ${ce}`);return this.addEventListener(at,ce,Be)}}let ke=(()=>{class $e{constructor(){this._stylesSet=new Set}addStyles(ce){const Be=new Set;ce.forEach(at=>{this._stylesSet.has(at)||(this._stylesSet.add(at),Be.add(at))}),this.onStylesAdded(Be)}onStylesAdded(ce){}getAllStyles(){return Array.from(this._stylesSet)}}return $e.\u0275fac=function(ce){return new(ce||$e)},$e.\u0275prov=f.Yz7({token:$e,factory:$e.\u0275fac}),$e})(),yt=(()=>{class $e extends ke{constructor(ce){super(),this._doc=ce,this._hostNodes=new Map,this._hostNodes.set(ce.head,[])}_addStylesToHost(ce,Be,at){ce.forEach(Ft=>{const Ut=this._doc.createElement("style");Ut.textContent=Ft,at.push(Be.appendChild(Ut))})}addHost(ce){const Be=[];this._addStylesToHost(this._stylesSet,ce,Be),this._hostNodes.set(ce,Be)}removeHost(ce){const Be=this._hostNodes.get(ce);Be&&Be.forEach(it),this._hostNodes.delete(ce)}onStylesAdded(ce){this._hostNodes.forEach((Be,at)=>{this._addStylesToHost(ce,at,Be)})}ngOnDestroy(){this._hostNodes.forEach(ce=>ce.forEach(it))}}return $e.\u0275fac=function(ce){return new(ce||$e)(f.LFG(s.K0))},$e.\u0275prov=f.Yz7({token:$e,factory:$e.\u0275fac}),$e})();function it($e){(0,s.q)().remove($e)}const ut={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/"},pt=/%COMP%/g;function _e($e,we,ce){for(let Be=0;Be<we.length;Be++){let at=we[Be];Array.isArray(at)?_e($e,at,ce):(at=at.replace(pt,$e),ce.push(at))}return ce}function Xe($e){return we=>{if("__ngUnwrap__"===we)return $e;!1===$e(we)&&(we.preventDefault(),we.returnValue=!1)}}let ot=(()=>{class $e{constructor(ce,Be,at){this.eventManager=ce,this.sharedStylesHost=Be,this.appId=at,this.rendererByCompId=new Map,this.defaultRenderer=new We(ce)}createRenderer(ce,Be){if(!ce||!Be)return this.defaultRenderer;switch(Be.encapsulation){case f.ifc.Emulated:{let at=this.rendererByCompId.get(Be.id);return at||(at=new Lr(this.eventManager,this.sharedStylesHost,Be,this.appId),this.rendererByCompId.set(Be.id,at)),at.applyToHost(ce),at}case 1:case f.ifc.ShadowDom:return new Er(this.eventManager,this.sharedStylesHost,ce,Be);default:if(!this.rendererByCompId.has(Be.id)){const at=_e(Be.id,Be.styles,[]);this.sharedStylesHost.addStyles(at),this.rendererByCompId.set(Be.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}return $e.\u0275fac=function(ce){return new(ce||$e)(f.LFG(le),f.LFG(yt),f.LFG(f.AFp))},$e.\u0275prov=f.Yz7({token:$e,factory:$e.\u0275fac}),$e})();class We{constructor(we){this.eventManager=we,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(we,ce){return ce?document.createElementNS(ut[ce]||ce,we):document.createElement(we)}createComment(we){return document.createComment(we)}createText(we){return document.createTextNode(we)}appendChild(we,ce){we.appendChild(ce)}insertBefore(we,ce,Be){we&&we.insertBefore(ce,Be)}removeChild(we,ce){we&&we.removeChild(ce)}selectRootElement(we,ce){let Be="string"==typeof we?document.querySelector(we):we;if(!Be)throw new Error(`The selector "${we}" did not match any elements`);return ce||(Be.textContent=""),Be}parentNode(we){return we.parentNode}nextSibling(we){return we.nextSibling}setAttribute(we,ce,Be,at){if(at){ce=at+":"+ce;const Ft=ut[at];Ft?we.setAttributeNS(Ft,ce,Be):we.setAttribute(ce,Be)}else we.setAttribute(ce,Be)}removeAttribute(we,ce,Be){if(Be){const at=ut[Be];at?we.removeAttributeNS(at,ce):we.removeAttribute(`${Be}:${ce}`)}else we.removeAttribute(ce)}addClass(we,ce){we.classList.add(ce)}removeClass(we,ce){we.classList.remove(ce)}setStyle(we,ce,Be,at){at&(f.JOm.DashCase|f.JOm.Important)?we.style.setProperty(ce,Be,at&f.JOm.Important?"important":""):we.style[ce]=Be}removeStyle(we,ce,Be){Be&f.JOm.DashCase?we.style.removeProperty(ce):we.style[ce]=""}setProperty(we,ce,Be){we[ce]=Be}setValue(we,ce){we.nodeValue=ce}listen(we,ce,Be){return"string"==typeof we?this.eventManager.addGlobalEventListener(we,ce,Xe(Be)):this.eventManager.addEventListener(we,ce,Xe(Be))}}class Lr extends We{constructor(we,ce,Be,at){super(we),this.component=Be;const Ft=_e(at+"-"+Be.id,Be.styles,[]);ce.addStyles(Ft),this.contentAttr=function Le($e){return"_ngcontent-%COMP%".replace(pt,$e)}(at+"-"+Be.id),this.hostAttr=function rt($e){return"_nghost-%COMP%".replace(pt,$e)}(at+"-"+Be.id)}applyToHost(we){super.setAttribute(we,this.hostAttr,"")}createElement(we,ce){const Be=super.createElement(we,ce);return super.setAttribute(Be,this.contentAttr,""),Be}}class Er extends We{constructor(we,ce,Be,at){super(we),this.sharedStylesHost=ce,this.hostEl=Be,this.shadowRoot=Be.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const Ft=_e(at.id,at.styles,[]);for(let Ut=0;Ut<Ft.length;Ut++){const At=document.createElement("style");At.textContent=Ft[Ut],this.shadowRoot.appendChild(At)}}nodeOrShadowRoot(we){return we===this.hostEl?this.shadowRoot:we}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}appendChild(we,ce){return super.appendChild(this.nodeOrShadowRoot(we),ce)}insertBefore(we,ce,Be){return super.insertBefore(this.nodeOrShadowRoot(we),ce,Be)}removeChild(we,ce){return super.removeChild(this.nodeOrShadowRoot(we),ce)}parentNode(we){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(we)))}}let ir=(()=>{class $e extends Oe{constructor(ce){super(ce)}supports(ce){return!0}addEventListener(ce,Be,at){return ce.addEventListener(Be,at,!1),()=>this.removeEventListener(ce,Be,at)}removeEventListener(ce,Be,at){return ce.removeEventListener(Be,at)}}return $e.\u0275fac=function(ce){return new(ce||$e)(f.LFG(s.K0))},$e.\u0275prov=f.Yz7({token:$e,factory:$e.\u0275fac}),$e})();const si=["alt","control","meta","shift"],jr={"\b":"Backspace","\t":"Tab","\x7f":"Delete","\x1b":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},zn={A:"1",B:"2",C:"3",D:"4",E:"5",F:"6",G:"7",H:"8",I:"9",J:"*",K:"+",M:"-",N:".",O:"/","`":"0","\x90":"NumLock"},Pn={alt:$e=>$e.altKey,control:$e=>$e.ctrlKey,meta:$e=>$e.metaKey,shift:$e=>$e.shiftKey};let Or=(()=>{class $e extends Oe{constructor(ce){super(ce)}supports(ce){return null!=$e.parseEventName(ce)}addEventListener(ce,Be,at){const Ft=$e.parseEventName(Be),Ut=$e.eventCallback(Ft.fullKey,at,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,s.q)().onAndCancel(ce,Ft.domEventName,Ut))}static parseEventName(ce){const Be=ce.toLowerCase().split("."),at=Be.shift();if(0===Be.length||"keydown"!==at&&"keyup"!==at)return null;const Ft=$e._normalizeKey(Be.pop());let Ut="";if(si.forEach(ge=>{const Ue=Be.indexOf(ge);Ue>-1&&(Be.splice(Ue,1),Ut+=ge+".")}),Ut+=Ft,0!=Be.length||0===Ft.length)return null;const At={};return At.domEventName=at,At.fullKey=Ut,At}static getEventFullKey(ce){let Be="",at=function Un($e){let we=$e.key;if(null==we){if(we=$e.keyIdentifier,null==we)return"Unidentified";we.startsWith("U+")&&(we=String.fromCharCode(parseInt(we.substring(2),16)),3===$e.location&&zn.hasOwnProperty(we)&&(we=zn[we]))}return jr[we]||we}(ce);return at=at.toLowerCase()," "===at?at="space":"."===at&&(at="dot"),si.forEach(Ft=>{Ft!=at&&Pn[Ft](ce)&&(Be+=Ft+".")}),Be+=at,Be}static eventCallback(ce,Be,at){return Ft=>{$e.getEventFullKey(Ft)===ce&&at.runGuarded(()=>Be(Ft))}}static _normalizeKey(ce){return"esc"===ce?"escape":ce}}return $e.\u0275fac=function(ce){return new(ce||$e)(f.LFG(s.K0))},$e.\u0275prov=f.Yz7({token:$e,factory:$e.\u0275fac}),$e})();const Mn=(0,f.eFA)(f._c5,"browser",[{provide:f.Lbi,useValue:s.bD},{provide:f.g9A,useValue:function dr(){Q.makeCurrent(),G.init()},multi:!0},{provide:s.K0,useFactory:function $r(){return(0,f.RDi)(document),document},deps:[]}]),Vn=[{provide:f.zSh,useValue:"root"},{provide:f.qLn,useFactory:function Wn(){return new f.qLn},deps:[]},{provide:Pe,useClass:ir,multi:!0,deps:[s.K0,f.R0b,f.Lbi]},{provide:Pe,useClass:Or,multi:!0,deps:[s.K0]},{provide:ot,useClass:ot,deps:[le,yt,f.AFp]},{provide:f.FYo,useExisting:ot},{provide:ke,useExisting:yt},{provide:yt,useClass:yt,deps:[s.K0]},{provide:f.dDg,useClass:f.dDg,deps:[f.R0b]},{provide:le,useClass:le,deps:[Pe,f.R0b]},{provide:s.JF,useClass:oe,deps:[]}];let Ar=(()=>{class $e{constructor(ce){if(ce)throw new Error("BrowserModule has already been loaded. If you need access to common directives such as NgIf and NgFor from a lazy loaded module, import CommonModule instead.")}static withServerTransition(ce){return{ngModule:$e,providers:[{provide:f.AFp,useValue:ce.appId},{provide:he,useExisting:f.AFp},N]}}}return $e.\u0275fac=function(ce){return new(ce||$e)(f.LFG($e,12))},$e.\u0275mod=f.oAB({type:$e}),$e.\u0275inj=f.cJS({providers:Vn,imports:[s.ez,f.hGG]}),$e})();typeof window<"u"&&window;let Vt=(()=>{class $e{}return $e.\u0275fac=function(ce){return new(ce||$e)},$e.\u0275prov=f.Yz7({token:$e,factory:function(ce){let Be=null;return Be=ce?new(ce||$e):f.LFG(Wt),Be},providedIn:"root"}),$e})(),Wt=(()=>{class $e extends Vt{constructor(ce){super(),this._doc=ce}sanitize(ce,Be){if(null==Be)return null;switch(ce){case f.q3G.NONE:return Be;case f.q3G.HTML:return(0,f.qzn)(Be,"HTML")?(0,f.z3N)(Be):(0,f.EiD)(this._doc,String(Be)).toString();case f.q3G.STYLE:return(0,f.qzn)(Be,"Style")?(0,f.z3N)(Be):Be;case f.q3G.SCRIPT:if((0,f.qzn)(Be,"Script"))return(0,f.z3N)(Be);throw new Error("unsafe value used in a script context");case f.q3G.URL:return(0,f.yhl)(Be),(0,f.qzn)(Be,"URL")?(0,f.z3N)(Be):(0,f.mCW)(String(Be));case f.q3G.RESOURCE_URL:if((0,f.qzn)(Be,"ResourceURL"))return(0,f.z3N)(Be);throw new Error("unsafe value used in a resource URL context (see https://g.co/ng/security#xss)");default:throw new Error(`Unexpected SecurityContext ${ce} (see https://g.co/ng/security#xss)`)}}bypassSecurityTrustHtml(ce){return(0,f.JVY)(ce)}bypassSecurityTrustStyle(ce){return(0,f.L6k)(ce)}bypassSecurityTrustScript(ce){return(0,f.eBb)(ce)}bypassSecurityTrustUrl(ce){return(0,f.LAX)(ce)}bypassSecurityTrustResourceUrl(ce){return(0,f.pB0)(ce)}}return $e.\u0275fac=function(ce){return new(ce||$e)(f.LFG(s.K0))},$e.\u0275prov=f.Yz7({token:$e,factory:function(ce){let Be=null;return Be=ce?new ce:function qt($e){return new Wt($e.get(s.K0))}(f.LFG(f.zs3)),Be},providedIn:"root"}),$e})()},6304:(Ne,se,M)=>{"use strict";M.d(se,{gz:()=>Re,m2:()=>On,F0:()=>qr,Bz:()=>zs,lC:()=>S});var s=M(6895),f=M(5062),te=M(2916);function Q(_,g){return new te.y(g?h=>g.schedule(re,0,{error:_,subscriber:h}):h=>h.error(_))}function re({error:_,subscriber:g}){g.error(_)}const ie=(()=>{function _(){return Error.call(this),this.message="no elements in sequence",this.name="EmptyError",this}return _.prototype=Object.create(Error.prototype),_})();var ee=M(5254),he=M(8896);function L(_){return new te.y(g=>{let h;try{h=_()}catch(O){return void g.error(O)}return(h?(0,ee.D)(h):(0,he.c)()).subscribe(g)})}var N=M(1086),G=M(591),oe=M(6053),Pe=M(1221),le=M(1762),Oe=M(5529),ke=M(826),yt=M(1869),it=M(9054),ut=M(4850);function pt(_,g){return"function"==typeof g?h=>h.pipe(pt((D,O)=>(0,ee.D)(_(D,O)).pipe((0,ut.U)((Z,pe)=>g(D,Z,O,pe))))):h=>h.lift(new ze(_))}class ze{constructor(g){this.project=g}call(g,h){return h.subscribe(new xt(g,this.project))}}class xt extends ke.L{constructor(g,h){super(g),this.project=h,this.index=0}_next(g){let h;const D=this.index++;try{h=this.project(g,D)}catch(O){return void this.destination.error(O)}this._innerSub(h,g,D)}_innerSub(g,h,D){const O=this.innerSubscription;O&&O.unsubscribe();const Z=new yt.d(this,h,D),pe=this.destination;pe.add(Z),this.innerSubscription=(0,it.D)(this,g,void 0,void 0,Z),this.innerSubscription!==Z&&pe.add(this.innerSubscription)}_complete(){const{innerSubscription:g}=this;(!g||g.closed)&&super._complete(),this.unsubscribe()}_unsubscribe(){this.innerSubscription=null}notifyComplete(g){this.destination.remove(g),this.innerSubscription=null,this.isStopped&&super._complete()}notifyNext(g,h,D,O,Z){this.destination.next(h)}}var gt=M(3489);function Gt(_,g){let h=!1;return arguments.length>=2&&(h=!0),function(O){return O.lift(new Le(_,g,h))}}class Le{constructor(g,h,D=!1){this.accumulator=g,this.seed=h,this.hasSeed=D}call(g,h){return h.subscribe(new rt(g,this.accumulator,this.seed,this.hasSeed))}}class rt extends gt.L{constructor(g,h,D,O){super(g),this.accumulator=h,this._seed=D,this.hasSeed=O,this.index=0}get seed(){return this._seed}set seed(g){this.hasSeed=!0,this._seed=g}_next(g){if(this.hasSeed)return this._tryNext(g);this.seed=g,this.destination.next(g)}_tryNext(g){const h=this.index++;let D;try{D=this.accumulator(this.seed,g,h)}catch(O){this.destination.error(O)}this.seed=D,this.destination.next(D)}}function _e(_){return function(h){const D=new Xe(_),O=h.lift(D);return D.caught=O}}class Xe{constructor(g){this.selector=g}call(g,h){return h.subscribe(new tt(g,this.selector,this.caught))}}class tt extends ke.L{constructor(g,h,D){super(g),this.selector=h,this.caught=D}error(g){if(!this.isStopped){let h;try{h=this.selector(g,this.caught)}catch(Z){return void super.error(Z)}this._unsubscribeAndRecycle();const D=new yt.d(this,void 0,void 0);this.add(D);const O=(0,it.D)(this,h,void 0,void 0,D);O!==D&&this.add(O)}}}var ot=M(2198),We=M(4231);function zt(_){return function(h){return 0===_?(0,he.c)():h.lift(new cn(_))}}class cn{constructor(g){if(this.total=g,this.total<0)throw new We.W}call(g,h){return h.subscribe(new Lr(g,this.total))}}class Lr extends gt.L{constructor(g,h){super(g),this.total=h,this.ring=new Array,this.count=0}_next(g){const h=this.ring,D=this.total,O=this.count++;h.length<D?h.push(g):h[O%D]=g}_complete(){const g=this.destination;let h=this.count;if(h>0){const D=this.count>=this.total?this.total:this.count,O=this.ring;for(let Z=0;Z<D;Z++){const pe=h++%D;g.next(O[pe])}}g.complete()}}function Er(_=Dr){return g=>g.lift(new ir(_))}class ir{constructor(g){this.errorFactory=g}call(g,h){return h.subscribe(new si(g,this.errorFactory))}}class si extends gt.L{constructor(g,h){super(g),this.errorFactory=h,this.hasValue=!1}_next(g){this.hasValue=!0,this.destination.next(g)}_complete(){if(this.hasValue)return this.destination.complete();{let g;try{g=this.errorFactory()}catch(h){g=h}this.destination.error(g)}}}function Dr(){return new ie}function jr(_=null){return g=>g.lift(new zn(_))}class zn{constructor(g){this.defaultValue=g}call(g,h){return h.subscribe(new Pn(g,this.defaultValue))}}class Pn extends gt.L{constructor(g,h){super(g),this.defaultValue=h,this.isEmpty=!0}_next(g){this.isEmpty=!1,this.destination.next(g)}_complete(){this.isEmpty&&this.destination.next(this.defaultValue),this.destination.complete()}}var Or=M(5379),dr=M(2986);function Wn(_,g){const h=arguments.length>=2;return D=>D.pipe(_?(0,ot.h)((O,Z)=>_(O,Z,D)):Or.y,(0,dr.q)(1),h?jr(g):Er(()=>new ie))}var $r=M(1059),tr=M(1406),Mn=M(1709),Vn=M(2868),Ar=M(4327),lr=M(537),Yn=M(9146);class hr{constructor(g,h){this.id=g,this.url=h}}class xr extends hr{constructor(g,h,D="imperative",O=null){super(g,h),this.navigationTrigger=D,this.restoredState=O}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class On extends hr{constructor(g,h,D){super(g,h),this.urlAfterRedirects=D}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class Ce extends hr{constructor(g,h,D){super(g,h),this.reason=D}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class Me extends hr{constructor(g,h,D){super(g,h),this.error=D}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class me extends hr{constructor(g,h,D,O){super(g,h),this.urlAfterRedirects=D,this.state=O}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class J extends hr{constructor(g,h,D,O){super(g,h),this.urlAfterRedirects=D,this.state=O}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class ne extends hr{constructor(g,h,D,O,Z){super(g,h),this.urlAfterRedirects=D,this.state=O,this.shouldActivate=Z}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class Fe extends hr{constructor(g,h,D,O){super(g,h),this.urlAfterRedirects=D,this.state=O}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class He extends hr{constructor(g,h,D,O){super(g,h),this.urlAfterRedirects=D,this.state=O}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Ge{constructor(g){this.route=g}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class st{constructor(g){this.route=g}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class It{constructor(g){this.snapshot=g}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class dt{constructor(g){this.snapshot=g}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class kt{constructor(g){this.snapshot=g}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class un{constructor(g){this.snapshot=g}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Yt{constructor(g,h,D){this.routerEvent=g,this.position=h,this.anchor=D}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}const Tt="primary";class Rt{constructor(g){this.params=g||{}}has(g){return Object.prototype.hasOwnProperty.call(this.params,g)}get(g){if(this.has(g)){const h=this.params[g];return Array.isArray(h)?h[0]:h}return null}getAll(g){if(this.has(g)){const h=this.params[g];return Array.isArray(h)?h:[h]}return[]}get keys(){return Object.keys(this.params)}}function $t(_){return new Rt(_)}const nn="ngNavigationCancelingError";function sn(_){const g=Error("NavigationCancelingError: "+_);return g[nn]=!0,g}function an(_,g,h){const D=h.path.split("/");if(D.length>_.length||"full"===h.pathMatch&&(g.hasChildren()||D.length<_.length))return null;const O={};for(let Z=0;Z<D.length;Z++){const pe=D[Z],Te=_[Z];if(pe.startsWith(":"))O[pe.substring(1)]=Te;else if(pe!==Te.path)return null}return{consumed:_.slice(0,D.length),posParams:O}}function _n(_,g){const h=_?Object.keys(_):void 0,D=g?Object.keys(g):void 0;if(!h||!D||h.length!=D.length)return!1;let O;for(let Z=0;Z<h.length;Z++)if(O=h[Z],!xn(_[O],g[O]))return!1;return!0}function xn(_,g){if(Array.isArray(_)&&Array.isArray(g)){if(_.length!==g.length)return!1;const h=[..._].sort(),D=[...g].sort();return h.every((O,Z)=>D[Z]===O)}return _===g}function Bt(_){return Array.prototype.concat.apply([],_)}function En(_){return _.length>0?_[_.length-1]:null}function qt(_,g){for(const h in _)_.hasOwnProperty(h)&&g(_[h],h)}function Wt(_){return(0,f.CqO)(_)?_:(0,f.QGY)(_)?(0,ee.D)(Promise.resolve(_)):(0,N.of)(_)}const $e={exact:function at(_,g,h){if(!je(_.segments,g.segments)||!ge(_.segments,g.segments,h)||_.numberOfChildren!==g.numberOfChildren)return!1;for(const D in g.children)if(!_.children[D]||!at(_.children[D],g.children[D],h))return!1;return!0},subset:Ut},we={exact:function Be(_,g){return _n(_,g)},subset:function Ft(_,g){return Object.keys(g).length<=Object.keys(_).length&&Object.keys(g).every(h=>xn(_[h],g[h]))},ignored:()=>!0};function ce(_,g,h){return $e[h.paths](_.root,g.root,h.matrixParams)&&we[h.queryParams](_.queryParams,g.queryParams)&&!("exact"===h.fragment&&_.fragment!==g.fragment)}function Ut(_,g,h){return At(_,g,g.segments,h)}function At(_,g,h,D){if(_.segments.length>h.length){const O=_.segments.slice(0,h.length);return!(!je(O,h)||g.hasChildren()||!ge(O,h,D))}if(_.segments.length===h.length){if(!je(_.segments,h)||!ge(_.segments,h,D))return!1;for(const O in g.children)if(!_.children[O]||!Ut(_.children[O],g.children[O],D))return!1;return!0}{const O=h.slice(0,_.segments.length),Z=h.slice(_.segments.length);return!!(je(_.segments,O)&&ge(_.segments,O,D)&&_.children[Tt])&&At(_.children[Tt],g,Z,D)}}function ge(_,g,h){return g.every((D,O)=>we[h](_[O].parameters,D.parameters))}class Ue{constructor(g,h,D){this.root=g,this.queryParams=h,this.fragment=D}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=$t(this.queryParams)),this._queryParamMap}toString(){return Zt.serialize(this)}}class _t{constructor(g,h){this.segments=g,this.children=h,this.parent=null,qt(h,(D,O)=>D.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return jt(this)}}class Nt{constructor(g,h){this.path=g,this.parameters=h}get parameterMap(){return this._parameterMap||(this._parameterMap=$t(this.parameters)),this._parameterMap}toString(){return y(this)}}function je(_,g){return _.length===g.length&&_.every((h,D)=>h.path===g[D].path)}class Qe{}class St{parse(g){const h=new sr(g);return new Ue(h.parseRootSegment(),h.parseQueryParams(),h.parseFragment())}serialize(g){const h=`/${x(g.root,!0)}`,D=function Ee(_){const g=Object.keys(_).map(h=>{const D=_[h];return Array.isArray(D)?D.map(O=>`${U(h)}=${U(O)}`).join("&"):`${U(h)}=${U(D)}`}).filter(h=>!!h);return g.length?`?${g.join("&")}`:""}(g.queryParams);return`${h}${D}${"string"==typeof g.fragment?`#${function de(_){return encodeURI(_)}(g.fragment)}`:""}`}}const Zt=new St;function jt(_){return _.segments.map(g=>y(g)).join("/")}function x(_,g){if(!_.hasChildren())return jt(_);if(g){const h=_.children[Tt]?x(_.children[Tt],!1):"",D=[];return qt(_.children,(O,Z)=>{Z!==Tt&&D.push(`${Z}:${x(O,!1)}`)}),D.length>0?`${h}(${D.join("//")})`:h}{const h=function nt(_,g){let h=[];return qt(_.children,(D,O)=>{O===Tt&&(h=h.concat(g(D,O)))}),qt(_.children,(D,O)=>{O!==Tt&&(h=h.concat(g(D,O)))}),h}(_,(D,O)=>O===Tt?[x(_.children[Tt],!1)]:[`${O}:${x(D,!1)}`]);return 1===Object.keys(_.children).length&&null!=_.children[Tt]?`${jt(_)}/${h[0]}`:`${jt(_)}/(${h.join("//")})`}}function z(_){return encodeURIComponent(_).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function U(_){return z(_).replace(/%3B/gi,";")}function Ae(_){return z(_).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function R(_){return decodeURIComponent(_)}function $(_){return R(_.replace(/\+/g,"%20"))}function y(_){return`${Ae(_.path)}${function V(_){return Object.keys(_).map(g=>`;${Ae(g)}=${Ae(_[g])}`).join("")}(_.parameters)}`}const Ke=/^[^\/()?;=#]+/;function bt(_){const g=_.match(Ke);return g?g[0]:""}const ln=/^[^=?&#]+/,kn=/^[^&#]+/;class sr{constructor(g){this.url=g,this.remaining=g}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new _t([],{}):new _t([],this.parseChildren())}parseQueryParams(){const g={};if(this.consumeOptional("?"))do{this.parseQueryParam(g)}while(this.consumeOptional("&"));return g}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const g=[];for(this.peekStartsWith("(")||g.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),g.push(this.parseSegment());let h={};this.peekStartsWith("/(")&&(this.capture("/"),h=this.parseParens(!0));let D={};return this.peekStartsWith("(")&&(D=this.parseParens(!1)),(g.length>0||Object.keys(h).length>0)&&(D[Tt]=new _t(g,h)),D}parseSegment(){const g=bt(this.remaining);if(""===g&&this.peekStartsWith(";"))throw new Error(`Empty path url segment cannot have parameters: '${this.remaining}'.`);return this.capture(g),new Nt(R(g),this.parseMatrixParams())}parseMatrixParams(){const g={};for(;this.consumeOptional(";");)this.parseParam(g);return g}parseParam(g){const h=bt(this.remaining);if(!h)return;this.capture(h);let D="";if(this.consumeOptional("=")){const O=bt(this.remaining);O&&(D=O,this.capture(D))}g[R(h)]=R(D)}parseQueryParam(g){const h=function Qt(_){const g=_.match(ln);return g?g[0]:""}(this.remaining);if(!h)return;this.capture(h);let D="";if(this.consumeOptional("=")){const pe=function fr(_){const g=_.match(kn);return g?g[0]:""}(this.remaining);pe&&(D=pe,this.capture(D))}const O=$(h),Z=$(D);if(g.hasOwnProperty(O)){let pe=g[O];Array.isArray(pe)||(pe=[pe],g[O]=pe),pe.push(Z)}else g[O]=Z}parseParens(g){const h={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const D=bt(this.remaining),O=this.remaining[D.length];if("/"!==O&&")"!==O&&";"!==O)throw new Error(`Cannot parse url '${this.url}'`);let Z;D.indexOf(":")>-1?(Z=D.substr(0,D.indexOf(":")),this.capture(Z),this.capture(":")):g&&(Z=Tt);const pe=this.parseChildren();h[Z]=1===Object.keys(pe).length?pe[Tt]:new _t([],pe),this.consumeOptional("//")}return h}peekStartsWith(g){return this.remaining.startsWith(g)}consumeOptional(g){return!!this.peekStartsWith(g)&&(this.remaining=this.remaining.substring(g.length),!0)}capture(g){if(!this.consumeOptional(g))throw new Error(`Expected "${g}".`)}}class or{constructor(g){this._root=g}get root(){return this._root.value}parent(g){const h=this.pathFromRoot(g);return h.length>1?h[h.length-2]:null}children(g){const h=Jn(g,this._root);return h?h.children.map(D=>D.value):[]}firstChild(g){const h=Jn(g,this._root);return h&&h.children.length>0?h.children[0].value:null}siblings(g){const h=Gr(g,this._root);return h.length<2?[]:h[h.length-2].children.map(O=>O.value).filter(O=>O!==g)}pathFromRoot(g){return Gr(g,this._root).map(h=>h.value)}}function Jn(_,g){if(_===g.value)return g;for(const h of g.children){const D=Jn(_,h);if(D)return D}return null}function Gr(_,g){if(_===g.value)return[g];for(const h of g.children){const D=Gr(_,h);if(D.length)return D.unshift(g),D}return[]}class Mr{constructor(g,h){this.value=g,this.children=h}toString(){return`TreeNode(${this.value})`}}function Tr(_){const g={};return _&&_.children.forEach(h=>g[h.value.outlet]=h),g}class qi extends or{constructor(g,h){super(g),this.snapshot=h,ei(this,g)}toString(){return this.snapshot.toString()}}function oi(_,g){const h=function Y(_,g){const pe=new Ot([],{},{},"",{},Tt,g,null,_.root,-1,{});return new Bn("",new Mr(pe,[]))}(_,g),D=new G.X([new Nt("",{})]),O=new G.X({}),Z=new G.X({}),pe=new G.X({}),Te=new G.X(""),mt=new Re(D,O,pe,Te,Z,Tt,g,h.root);return mt.snapshot=h.root,new qi(new Mr(mt,[]),h)}class Re{constructor(g,h,D,O,Z,pe,Te,mt){this.url=g,this.params=h,this.queryParams=D,this.fragment=O,this.data=Z,this.outlet=pe,this.component=Te,this._futureSnapshot=mt}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,ut.U)(g=>$t(g)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe((0,ut.U)(g=>$t(g)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function I(_,g="emptyOnly"){const h=_.pathFromRoot;let D=0;if("always"!==g)for(D=h.length-1;D>=1;){const O=h[D],Z=h[D-1];if(O.routeConfig&&""===O.routeConfig.path)D--;else{if(Z.component)break;D--}}return function Ie(_){return _.reduce((g,h)=>({params:{...g.params,...h.params},data:{...g.data,...h.data},resolve:{...g.resolve,...h._resolvedData}}),{params:{},data:{},resolve:{}})}(h.slice(D))}class Ot{constructor(g,h,D,O,Z,pe,Te,mt,dn,_r,gn){this.url=g,this.params=h,this.queryParams=D,this.fragment=O,this.data=Z,this.outlet=pe,this.component=Te,this.routeConfig=mt,this._urlSegment=dn,this._lastPathIndex=_r,this._resolve=gn}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=$t(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=$t(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(D=>D.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class Bn extends or{constructor(g,h){super(h),this.url=g,ei(this,h)}toString(){return Ai(this._root)}}function ei(_,g){g.value._routerState=_,g.children.forEach(h=>ei(_,h))}function Ai(_){const g=_.children.length>0?` { ${_.children.map(Ai).join(", ")} } `:"";return`${_.value}${g}`}function Cs(_){if(_.snapshot){const g=_.snapshot,h=_._futureSnapshot;_.snapshot=h,_n(g.queryParams,h.queryParams)||_.queryParams.next(h.queryParams),g.fragment!==h.fragment&&_.fragment.next(h.fragment),_n(g.params,h.params)||_.params.next(h.params),function Xt(_,g){if(_.length!==g.length)return!1;for(let h=0;h<_.length;++h)if(!_n(_[h],g[h]))return!1;return!0}(g.url,h.url)||_.url.next(h.url),_n(g.data,h.data)||_.data.next(h.data)}else _.snapshot=_._futureSnapshot,_.data.next(_._futureSnapshot.data)}function ns(_,g){const h=_n(_.params,g.params)&&function Tn(_,g){return je(_,g)&&_.every((h,D)=>_n(h.parameters,g[D].parameters))}(_.url,g.url);return h&&!(!_.parent!=!g.parent)&&(!_.parent||ns(_.parent,g.parent))}function rs(_,g,h){if(h&&_.shouldReuseRoute(g.value,h.value.snapshot)){const D=h.value;D._futureSnapshot=g.value;const O=function Rs(_,g,h){return g.children.map(D=>{for(const O of h.children)if(_.shouldReuseRoute(D.value,O.value.snapshot))return rs(_,D,O);return rs(_,D)})}(_,g,h);return new Mr(D,O)}{if(_.shouldAttach(g.value)){const Z=_.retrieve(g.value);if(null!==Z){const pe=Z.route;return pe.value._futureSnapshot=g.value,pe.children=g.children.map(Te=>rs(_,Te)),pe}}const D=function Qo(_){return new Re(new G.X(_.url),new G.X(_.params),new G.X(_.queryParams),new G.X(_.fragment),new G.X(_.data),_.outlet,_.component,_)}(g.value),O=g.children.map(Z=>rs(_,Z));return new Mr(D,O)}}function bs(_){return"object"==typeof _&&null!=_&&!_.outlets&&!_.segmentPath}function Ki(_){return"object"==typeof _&&null!=_&&_.outlets}function Ns(_,g,h,D,O){let Z={};if(D&&qt(D,(Te,mt)=>{Z[mt]=Array.isArray(Te)?Te.map(dn=>`${dn}`):`${Te}`}),_===g)return new Ue(h,Z,O);const pe=is(_,g,h);return new Ue(pe,Z,O)}function is(_,g,h){const D={};return qt(_.children,(O,Z)=>{D[Z]=O===g?h:is(O,g,h)}),new _t(_.segments,D)}class Xs{constructor(g,h,D){if(this.isAbsolute=g,this.numberOfDoubleDots=h,this.commands=D,g&&D.length>0&&bs(D[0]))throw new Error("Root segment cannot have matrix parameters");const O=D.find(Ki);if(O&&O!==En(D))throw new Error("{outlets:{}} has to be the last command")}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class Es{constructor(g,h,D){this.segmentGroup=g,this.processChildren=h,this.index=D}}function ss(_,g,h){if(_||(_=new _t([],{})),0===_.segments.length&&_.hasChildren())return pr(_,g,h);const D=function mr(_,g,h){let D=0,O=g;const Z={match:!1,pathIndex:0,commandIndex:0};for(;O<_.segments.length;){if(D>=h.length)return Z;const pe=_.segments[O],Te=h[D];if(Ki(Te))break;const mt=`${Te}`,dn=D<h.length-1?h[D+1]:null;if(O>0&&void 0===mt)break;if(mt&&dn&&"object"==typeof dn&&void 0===dn.outlets){if(!Bs(mt,dn,pe))return Z;D+=2}else{if(!Bs(mt,{},pe))return Z;D++}O++}return{match:!0,pathIndex:O,commandIndex:D}}(_,g,h),O=h.slice(D.commandIndex);if(D.match&&D.pathIndex<_.segments.length){const Z=new _t(_.segments.slice(0,D.pathIndex),{});return Z.children[Tt]=new _t(_.segments.slice(D.pathIndex),_.children),pr(Z,0,O)}return D.match&&0===O.length?new _t(_.segments,{}):D.match&&!_.hasChildren()?wi(_,g,h):D.match?pr(_,0,O):wi(_,g,h)}function pr(_,g,h){if(0===h.length)return new _t(_.segments,{});{const D=function Ls(_){return Ki(_[0])?_[0].outlets:{[Tt]:_}}(h),O={};return qt(D,(Z,pe)=>{"string"==typeof Z&&(Z=[Z]),null!==Z&&(O[pe]=ss(_.children[pe],g,Z))}),qt(_.children,(Z,pe)=>{void 0===D[pe]&&(O[pe]=Z)}),new _t(_.segments,O)}}function wi(_,g,h){const D=_.segments.slice(0,g);let O=0;for(;O<h.length;){const Z=h[O];if(Ki(Z)){const mt=yo(Z.outlets);return new _t(D,mt)}if(0===O&&bs(h[0])){D.push(new Nt(_.segments[g].path,Ii(h[0]))),O++;continue}const pe=Ki(Z)?Z.outlets[Tt]:`${Z}`,Te=O<h.length-1?h[O+1]:null;pe&&Te&&bs(Te)?(D.push(new Nt(pe,Ii(Te))),O+=2):(D.push(new Nt(pe,{})),O++)}return new _t(D,{})}function yo(_){const g={};return qt(_,(h,D)=>{"string"==typeof h&&(h=[h]),null!==h&&(g[D]=wi(new _t([],{}),0,h))}),g}function Ii(_){const g={};return qt(_,(h,D)=>g[D]=`${h}`),g}function Bs(_,g,h){return _==h.path&&_n(g,h.parameters)}class Vs{constructor(g,h,D,O){this.routeReuseStrategy=g,this.futureState=h,this.currState=D,this.forwardEvent=O}activate(g){const h=this.futureState._root,D=this.currState?this.currState._root:null;this.deactivateChildRoutes(h,D,g),Cs(this.futureState.root),this.activateChildRoutes(h,D,g)}deactivateChildRoutes(g,h,D){const O=Tr(h);g.children.forEach(Z=>{const pe=Z.value.outlet;this.deactivateRoutes(Z,O[pe],D),delete O[pe]}),qt(O,(Z,pe)=>{this.deactivateRouteAndItsChildren(Z,D)})}deactivateRoutes(g,h,D){const O=g.value,Z=h?h.value:null;if(O===Z)if(O.component){const pe=D.getContext(O.outlet);pe&&this.deactivateChildRoutes(g,h,pe.children)}else this.deactivateChildRoutes(g,h,D);else Z&&this.deactivateRouteAndItsChildren(h,D)}deactivateRouteAndItsChildren(g,h){g.value.component&&this.routeReuseStrategy.shouldDetach(g.value.snapshot)?this.detachAndStoreRouteSubtree(g,h):this.deactivateRouteAndOutlet(g,h)}detachAndStoreRouteSubtree(g,h){const D=h.getContext(g.value.outlet),O=D&&g.value.component?D.children:h,Z=Tr(g);for(const pe of Object.keys(Z))this.deactivateRouteAndItsChildren(Z[pe],O);if(D&&D.outlet){const pe=D.outlet.detach(),Te=D.children.onOutletDeactivated();this.routeReuseStrategy.store(g.value.snapshot,{componentRef:pe,route:g,contexts:Te})}}deactivateRouteAndOutlet(g,h){const D=h.getContext(g.value.outlet),O=D&&g.value.component?D.children:h,Z=Tr(g);for(const pe of Object.keys(Z))this.deactivateRouteAndItsChildren(Z[pe],O);D&&D.outlet&&(D.outlet.deactivate(),D.children.onOutletDeactivated(),D.attachRef=null,D.resolver=null,D.route=null)}activateChildRoutes(g,h,D){const O=Tr(h);g.children.forEach(Z=>{this.activateRoutes(Z,O[Z.value.outlet],D),this.forwardEvent(new un(Z.value.snapshot))}),g.children.length&&this.forwardEvent(new dt(g.value.snapshot))}activateRoutes(g,h,D){const O=g.value,Z=h?h.value:null;if(Cs(O),O===Z)if(O.component){const pe=D.getOrCreateContext(O.outlet);this.activateChildRoutes(g,h,pe.children)}else this.activateChildRoutes(g,h,D);else if(O.component){const pe=D.getOrCreateContext(O.outlet);if(this.routeReuseStrategy.shouldAttach(O.snapshot)){const Te=this.routeReuseStrategy.retrieve(O.snapshot);this.routeReuseStrategy.store(O.snapshot,null),pe.children.onOutletReAttached(Te.contexts),pe.attachRef=Te.componentRef,pe.route=Te.route.value,pe.outlet&&pe.outlet.attach(Te.componentRef,Te.route.value),Cs(Te.route.value),this.activateChildRoutes(g,null,pe.children)}else{const Te=function Ds(_){for(let g=_.parent;g;g=g.parent){const h=g.routeConfig;if(h&&h._loadedConfig)return h._loadedConfig;if(h&&h.component)return null}return null}(O.snapshot),mt=Te?Te.module.componentFactoryResolver:null;pe.attachRef=null,pe.route=O,pe.resolver=mt,pe.outlet&&pe.outlet.activateWith(O,mt),this.activateChildRoutes(g,null,pe.children)}}else this.activateChildRoutes(g,null,D)}}class os{constructor(g,h){this.routes=g,this.module=h}}function Ir(_){return"function"==typeof _}function zr(_){return _ instanceof Ue}const $i=Symbol("INITIAL_VALUE");function Qi(){return pt(_=>(0,oe.aj)(_.map(g=>g.pipe((0,dr.q)(1),(0,$r.O)($i)))).pipe(Gt((g,h)=>{let D=!1;return h.reduce((O,Z,pe)=>O!==$i?O:(Z===$i&&(D=!0),D||!1!==Z&&pe!==h.length-1&&!zr(Z)?O:Z),g)},$i),(0,ot.h)(g=>g!==$i),(0,ut.U)(g=>zr(g)?g:!0===g),(0,dr.q)(1)))}class T{constructor(){this.outlet=null,this.route=null,this.resolver=null,this.children=new W,this.attachRef=null}}class W{constructor(){this.contexts=new Map}onChildOutletCreated(g,h){const D=this.getOrCreateContext(g);D.outlet=h,this.contexts.set(g,D)}onChildOutletDestroyed(g){const h=this.getContext(g);h&&(h.outlet=null,h.attachRef=null)}onOutletDeactivated(){const g=this.contexts;return this.contexts=new Map,g}onOutletReAttached(g){this.contexts=g}getOrCreateContext(g){let h=this.getContext(g);return h||(h=new T,this.contexts.set(g,h)),h}getContext(g){return this.contexts.get(g)||null}}let S=(()=>{class _{constructor(h,D,O,Z,pe){this.parentContexts=h,this.location=D,this.resolver=O,this.changeDetector=pe,this.activated=null,this._activatedRoute=null,this.activateEvents=new f.vpe,this.deactivateEvents=new f.vpe,this.attachEvents=new f.vpe,this.detachEvents=new f.vpe,this.name=Z||Tt,h.onChildOutletCreated(this.name,this)}ngOnDestroy(){this.parentContexts.onChildOutletDestroyed(this.name)}ngOnInit(){if(!this.activated){const h=this.parentContexts.getContext(this.name);h&&h.route&&(h.attachRef?this.attach(h.attachRef,h.route):this.activateWith(h.route,h.resolver||null))}}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new Error("Outlet is not activated");return this.activated.instance}get activatedRoute(){if(!this.activated)throw new Error("Outlet is not activated");return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new Error("Outlet is not activated");this.location.detach();const h=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(h.instance),h}attach(h,D){this.activated=h,this._activatedRoute=D,this.location.insert(h.hostView),this.attachEvents.emit(h.instance)}deactivate(){if(this.activated){const h=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(h)}}activateWith(h,D){if(this.isActivated)throw new Error("Cannot activate an already activated outlet");this._activatedRoute=h;const pe=(D=D||this.resolver).resolveComponentFactory(h._futureSnapshot.routeConfig.component),Te=this.parentContexts.getOrCreateContext(this.name).children,mt=new K(h,Te,this.location.injector);this.activated=this.location.createComponent(pe,this.location.length,mt),this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}return _.\u0275fac=function(h){return new(h||_)(f.Y36(W),f.Y36(f.s_b),f.Y36(f._Vd),f.$8M("name"),f.Y36(f.sBO))},_.\u0275dir=f.lG2({type:_,selectors:[["router-outlet"]],outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"]}),_})();class K{constructor(g,h,D){this.route=g,this.childContexts=h,this.parent=D}get(g,h){return g===Re?this.route:g===W?this.childContexts:this.parent.get(g,h)}}let De=(()=>{class _{}return _.\u0275fac=function(h){return new(h||_)},_.\u0275cmp=f.Xpm({type:_,selectors:[["ng-component"]],decls:1,vars:0,template:function(h,D){1&h&&f._UZ(0,"router-outlet")},directives:[S],encapsulation:2}),_})();function et(_,g=""){for(let h=0;h<_.length;h++){const D=_[h];wt(D,Lt(g,D))}}function wt(_,g){_.children&&et(_.children,g)}function Lt(_,g){return g?_||g.path?_&&!g.path?`${_}/`:!_&&g.path?g.path:`${_}/${g.path}`:"":_}function Xn(_){const g=_.children&&_.children.map(Xn),h=g?{..._,children:g}:{..._};return!h.component&&(g||h.loadChildren)&&h.outlet&&h.outlet!==Tt&&(h.component=De),h}function $n(_){return _.outlet||Tt}function cr(_,g){const h=_.filter(D=>$n(D)===g);return h.push(..._.filter(D=>$n(D)!==g)),h}const rn={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function vr(_,g,h){if(""===g.path)return"full"===g.pathMatch&&(_.hasChildren()||h.length>0)?{...rn}:{matched:!0,consumedSegments:[],remainingSegments:h,parameters:{},positionalParamSegments:{}};const O=(g.matcher||an)(h,_,g);if(!O)return{...rn};const Z={};qt(O.posParams,(Te,mt)=>{Z[mt]=Te.path});const pe=O.consumed.length>0?{...Z,...O.consumed[O.consumed.length-1].parameters}:Z;return{matched:!0,consumedSegments:O.consumed,remainingSegments:h.slice(O.consumed.length),parameters:pe,positionalParamSegments:O.posParams??{}}}function er(_,g,h,D,O="corrected"){if(h.length>0&&function Ti(_,g,h){return h.some(D=>Si(_,g,D)&&$n(D)!==Tt)}(_,h,D)){const pe=new _t(g,function Wr(_,g,h,D){const O={};O[Tt]=D,D._sourceSegment=_,D._segmentIndexShift=g.length;for(const Z of h)if(""===Z.path&&$n(Z)!==Tt){const pe=new _t([],{});pe._sourceSegment=_,pe._segmentIndexShift=g.length,O[$n(Z)]=pe}return O}(_,g,D,new _t(h,_.children)));return pe._sourceSegment=_,pe._segmentIndexShift=g.length,{segmentGroup:pe,slicedSegments:[]}}if(0===h.length&&function ls(_,g,h){return h.some(D=>Si(_,g,D))}(_,h,D)){const pe=new _t(_.segments,function Br(_,g,h,D,O,Z){const pe={};for(const Te of D)if(Si(_,h,Te)&&!O[$n(Te)]){const mt=new _t([],{});mt._sourceSegment=_,mt._segmentIndexShift="legacy"===Z?_.segments.length:g.length,pe[$n(Te)]=mt}return{...O,...pe}}(_,g,h,D,_.children,O));return pe._sourceSegment=_,pe._segmentIndexShift=g.length,{segmentGroup:pe,slicedSegments:h}}const Z=new _t(_.segments,_.children);return Z._sourceSegment=_,Z._segmentIndexShift=g.length,{segmentGroup:Z,slicedSegments:h}}function Si(_,g,h){return(!(_.hasChildren()||g.length>0)||"full"!==h.pathMatch)&&""===h.path}function P(_,g,h,D){return!!($n(_)===D||D!==Tt&&Si(g,h,_))&&("**"===_.path||vr(g,_,h).matched)}function E(_,g,h){return 0===g.length&&!_.children[h]}class C{constructor(g){this.segmentGroup=g||null}}class H{constructor(g){this.urlTree=g}}function ct(_){return Q(new C(_))}function fn(_){return Q(new H(_))}class Gi{constructor(g,h,D,O,Z){this.configLoader=h,this.urlSerializer=D,this.urlTree=O,this.config=Z,this.allowRedirects=!0,this.ngModule=g.get(f.h0i)}apply(){const g=er(this.urlTree.root,[],[],this.config).segmentGroup,h=new _t(g.segments,g.children);return this.expandSegmentGroup(this.ngModule,this.config,h,Tt).pipe((0,ut.U)(Z=>this.createUrlTree(Us(Z),this.urlTree.queryParams,this.urlTree.fragment))).pipe(_e(Z=>{if(Z instanceof H)return this.allowRedirects=!1,this.match(Z.urlTree);throw Z instanceof C?this.noMatchError(Z):Z}))}match(g){return this.expandSegmentGroup(this.ngModule,this.config,g.root,Tt).pipe((0,ut.U)(O=>this.createUrlTree(Us(O),g.queryParams,g.fragment))).pipe(_e(O=>{throw O instanceof C?this.noMatchError(O):O}))}noMatchError(g){return new Error(`Cannot match any routes. URL Segment: '${g.segmentGroup}'`)}createUrlTree(g,h,D){const O=g.segments.length>0?new _t([],{[Tt]:g}):g;return new Ue(O,h,D)}expandSegmentGroup(g,h,D,O){return 0===D.segments.length&&D.hasChildren()?this.expandChildren(g,h,D).pipe((0,ut.U)(Z=>new _t([],Z))):this.expandSegment(g,D,h,D.segments,O,!0)}expandChildren(g,h,D){const O=[];for(const Z of Object.keys(D.children))"primary"===Z?O.unshift(Z):O.push(Z);return(0,ee.D)(O).pipe((0,tr.b)(Z=>{const pe=D.children[Z],Te=cr(h,Z);return this.expandSegmentGroup(g,Te,pe,Z).pipe((0,ut.U)(mt=>({segment:mt,outlet:Z})))}),Gt((Z,pe)=>(Z[pe.outlet]=pe.segment,Z),{}),function Un(_,g){const h=arguments.length>=2;return D=>D.pipe(_?(0,ot.h)((O,Z)=>_(O,Z,D)):Or.y,zt(1),h?jr(g):Er(()=>new ie))}())}expandSegment(g,h,D,O,Z,pe){return(0,ee.D)(D).pipe((0,tr.b)(Te=>this.expandSegmentAgainstRoute(g,h,D,Te,O,Z,pe).pipe(_e(dn=>{if(dn instanceof C)return(0,N.of)(null);throw dn}))),Wn(Te=>!!Te),_e((Te,mt)=>{if(Te instanceof ie||"EmptyError"===Te.name)return E(h,O,Z)?(0,N.of)(new _t([],{})):ct(h);throw Te}))}expandSegmentAgainstRoute(g,h,D,O,Z,pe,Te){return P(O,h,Z,pe)?void 0===O.redirectTo?this.matchSegmentAgainstRoute(g,h,O,Z,pe):Te&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(g,h,D,O,Z,pe):ct(h):ct(h)}expandSegmentAgainstRouteUsingRedirect(g,h,D,O,Z,pe){return"**"===O.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(g,D,O,pe):this.expandRegularSegmentAgainstRouteUsingRedirect(g,h,D,O,Z,pe)}expandWildCardWithParamsAgainstRouteUsingRedirect(g,h,D,O){const Z=this.applyRedirectCommands([],D.redirectTo,{});return D.redirectTo.startsWith("/")?fn(Z):this.lineralizeSegments(D,Z).pipe((0,Mn.zg)(pe=>{const Te=new _t(pe,{});return this.expandSegment(g,Te,h,pe,O,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(g,h,D,O,Z,pe){const{matched:Te,consumedSegments:mt,remainingSegments:dn,positionalParamSegments:_r}=vr(h,O,Z);if(!Te)return ct(h);const gn=this.applyRedirectCommands(mt,O.redirectTo,_r);return O.redirectTo.startsWith("/")?fn(gn):this.lineralizeSegments(O,gn).pipe((0,Mn.zg)(Cr=>this.expandSegment(g,h,D,Cr.concat(dn),pe,!1)))}matchSegmentAgainstRoute(g,h,D,O,Z){if("**"===D.path)return D.loadChildren?(D._loadedConfig?(0,N.of)(D._loadedConfig):this.configLoader.load(g.injector,D)).pipe((0,ut.U)(gn=>(D._loadedConfig=gn,new _t(O,{})))):(0,N.of)(new _t(O,{}));const{matched:pe,consumedSegments:Te,remainingSegments:mt}=vr(h,D,O);return pe?this.getChildConfig(g,D,O).pipe((0,Mn.zg)(_r=>{const gn=_r.module,Cr=_r.routes,{segmentGroup:br,slicedSegments:to}=er(h,Te,mt,Cr),q=new _t(br.segments,br.children);if(0===to.length&&q.hasChildren())return this.expandChildren(gn,Cr,q).pipe((0,ut.U)(rr=>new _t(Te,rr)));if(0===Cr.length&&0===to.length)return(0,N.of)(new _t(Te,{}));const zi=$n(D)===Z;return this.expandSegment(gn,q,Cr,to,zi?Tt:Z,!0).pipe((0,ut.U)(vi=>new _t(Te.concat(vi.segments),vi.children)))})):ct(h)}getChildConfig(g,h,D){return h.children?(0,N.of)(new os(h.children,g)):h.loadChildren?void 0!==h._loadedConfig?(0,N.of)(h._loadedConfig):this.runCanLoadGuards(g.injector,h,D).pipe((0,Mn.zg)(O=>O?this.configLoader.load(g.injector,h).pipe((0,ut.U)(Z=>(h._loadedConfig=Z,Z))):function ai(_){return Q(sn(`Cannot load children because the guard of the route "path: '${_.path}'" returned false`))}(h))):(0,N.of)(new os([],g))}runCanLoadGuards(g,h,D){const O=h.canLoad;if(!O||0===O.length)return(0,N.of)(!0);const Z=O.map(pe=>{const Te=g.get(pe);let mt;if(function Kr(_){return _&&Ir(_.canLoad)}(Te))mt=Te.canLoad(h,D);else{if(!Ir(Te))throw new Error("Invalid CanLoad guard");mt=Te(h,D)}return Wt(mt)});return(0,N.of)(Z).pipe(Qi(),(0,Vn.b)(pe=>{if(!zr(pe))return;const Te=sn(`Redirecting to "${this.urlSerializer.serialize(pe)}"`);throw Te.url=pe,Te}),(0,ut.U)(pe=>!0===pe))}lineralizeSegments(g,h){let D=[],O=h.root;for(;;){if(D=D.concat(O.segments),0===O.numberOfChildren)return(0,N.of)(D);if(O.numberOfChildren>1||!O.children[Tt])return Q(new Error(`Only absolute redirects can have named outlets. redirectTo: '${g.redirectTo}'`));O=O.children[Tt]}}applyRedirectCommands(g,h,D){return this.applyRedirectCreatreUrlTree(h,this.urlSerializer.parse(h),g,D)}applyRedirectCreatreUrlTree(g,h,D,O){const Z=this.createSegmentGroup(g,h.root,D,O);return new Ue(Z,this.createQueryParams(h.queryParams,this.urlTree.queryParams),h.fragment)}createQueryParams(g,h){const D={};return qt(g,(O,Z)=>{if("string"==typeof O&&O.startsWith(":")){const Te=O.substring(1);D[Z]=h[Te]}else D[Z]=O}),D}createSegmentGroup(g,h,D,O){const Z=this.createSegments(g,h.segments,D,O);let pe={};return qt(h.children,(Te,mt)=>{pe[mt]=this.createSegmentGroup(g,Te,D,O)}),new _t(Z,pe)}createSegments(g,h,D,O){return h.map(Z=>Z.path.startsWith(":")?this.findPosParam(g,Z,O):this.findOrReturn(Z,D))}findPosParam(g,h,D){const O=D[h.path.substring(1)];if(!O)throw new Error(`Cannot redirect to '${g}'. Cannot find '${h.path}'.`);return O}findOrReturn(g,h){let D=0;for(const O of h){if(O.path===g.path)return h.splice(D),O;D++}return g}}function Us(_){const g={};for(const D of Object.keys(_.children)){const Z=Us(_.children[D]);(Z.segments.length>0||Z.hasChildren())&&(g[D]=Z)}return function Ji(_){if(1===_.numberOfChildren&&_.children[Tt]){const g=_.children[Tt];return new _t(_.segments.concat(g.segments),g.children)}return _}(new _t(_.segments,g))}class nr{constructor(g){this.path=g,this.route=this.path[this.path.length-1]}}class di{constructor(g,h){this.component=g,this.route=h}}function Qr(_,g,h){const D=_._root;return js(D,g?g._root:null,h,[D.value])}function Xi(_,g,h){const D=function Ri(_){if(!_)return null;for(let g=_.parent;g;g=g.parent){const h=g.routeConfig;if(h&&h._loadedConfig)return h._loadedConfig}return null}(g);return(D?D.module.injector:h).get(_)}function js(_,g,h,D,O={canDeactivateChecks:[],canActivateChecks:[]}){const Z=Tr(g);return _.children.forEach(pe=>{(function Jo(_,g,h,D,O={canDeactivateChecks:[],canActivateChecks:[]}){const Z=_.value,pe=g?g.value:null,Te=h?h.getContext(_.value.outlet):null;if(pe&&Z.routeConfig===pe.routeConfig){const mt=function Cu(_,g,h){if("function"==typeof h)return h(_,g);switch(h){case"pathParamsChange":return!je(_.url,g.url);case"pathParamsOrQueryParamsChange":return!je(_.url,g.url)||!_n(_.queryParams,g.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!ns(_,g)||!_n(_.queryParams,g.queryParams);default:return!ns(_,g)}}(pe,Z,Z.routeConfig.runGuardsAndResolvers);mt?O.canActivateChecks.push(new nr(D)):(Z.data=pe.data,Z._resolvedData=pe._resolvedData),js(_,g,Z.component?Te?Te.children:null:h,D,O),mt&&Te&&Te.outlet&&Te.outlet.isActivated&&O.canDeactivateChecks.push(new di(Te.outlet.component,pe))}else pe&&F(g,Te,O),O.canActivateChecks.push(new nr(D)),js(_,null,Z.component?Te?Te.children:null:h,D,O)})(pe,Z[pe.value.outlet],h,D.concat([pe.value]),O),delete Z[pe.value.outlet]}),qt(Z,(pe,Te)=>F(pe,h.getContext(Te),O)),O}function F(_,g,h){const D=Tr(_),O=_.value;qt(D,(Z,pe)=>{F(Z,O.component?g?g.children.getContext(pe):null:g,h)}),h.canDeactivateChecks.push(new di(O.component&&g&&g.outlet&&g.outlet.isActivated?g.outlet.component:null,O))}class ht{}function en(_){return new te.y(g=>g.error(_))}class Sn{constructor(g,h,D,O,Z,pe){this.rootComponentType=g,this.config=h,this.urlTree=D,this.url=O,this.paramsInheritanceStrategy=Z,this.relativeLinkResolution=pe}recognize(){const g=er(this.urlTree.root,[],[],this.config.filter(pe=>void 0===pe.redirectTo),this.relativeLinkResolution).segmentGroup,h=this.processSegmentGroup(this.config,g,Tt);if(null===h)return null;const D=new Ot([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,{},Tt,this.rootComponentType,null,this.urlTree.root,-1,{}),O=new Mr(D,h),Z=new Bn(this.url,O);return this.inheritParamsAndData(Z._root),Z}inheritParamsAndData(g){const h=g.value,D=I(h,this.paramsInheritanceStrategy);h.params=Object.freeze(D.params),h.data=Object.freeze(D.data),g.children.forEach(O=>this.inheritParamsAndData(O))}processSegmentGroup(g,h,D){return 0===h.segments.length&&h.hasChildren()?this.processChildren(g,h):this.processSegment(g,h,h.segments,D)}processChildren(g,h){const D=[];for(const Z of Object.keys(h.children)){const pe=h.children[Z],Te=cr(g,Z),mt=this.processSegmentGroup(Te,pe,Z);if(null===mt)return null;D.push(...mt)}const O=Sr(D);return function An(_){_.sort((g,h)=>g.value.outlet===Tt?-1:h.value.outlet===Tt?1:g.value.outlet.localeCompare(h.value.outlet))}(O),O}processSegment(g,h,D,O){for(const Z of g){const pe=this.processSegmentAgainstRoute(Z,h,D,O);if(null!==pe)return pe}return E(h,D,O)?[]:null}processSegmentAgainstRoute(g,h,D,O){if(g.redirectTo||!P(g,h,D,O))return null;let Z,pe=[],Te=[];if("**"===g.path){const br=D.length>0?En(D).parameters:{};Z=new Ot(D,br,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,Zr(g),$n(g),g.component,g,Yr(h),hi(h)+D.length,Ve(g))}else{const br=vr(h,g,D);if(!br.matched)return null;pe=br.consumedSegments,Te=br.remainingSegments,Z=new Ot(pe,br.parameters,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,Zr(g),$n(g),g.component,g,Yr(h),hi(h)+pe.length,Ve(g))}const mt=function bn(_){return _.children?_.children:_.loadChildren?_._loadedConfig.routes:[]}(g),{segmentGroup:dn,slicedSegments:_r}=er(h,pe,Te,mt.filter(br=>void 0===br.redirectTo),this.relativeLinkResolution);if(0===_r.length&&dn.hasChildren()){const br=this.processChildren(mt,dn);return null===br?null:[new Mr(Z,br)]}if(0===mt.length&&0===_r.length)return[new Mr(Z,[])];const gn=$n(g)===O,Cr=this.processSegment(mt,dn,_r,gn?Tt:O);return null===Cr?null:[new Mr(Z,Cr)]}}function Hn(_){const g=_.value.routeConfig;return g&&""===g.path&&void 0===g.redirectTo}function Sr(_){const g=[],h=new Set;for(const D of _){if(!Hn(D)){g.push(D);continue}const O=g.find(Z=>D.value.routeConfig===Z.value.routeConfig);void 0!==O?(O.children.push(...D.children),h.add(O)):g.push(D)}for(const D of h){const O=Sr(D.children);g.push(new Mr(D.value,O))}return g.filter(D=>!h.has(D))}function Yr(_){let g=_;for(;g._sourceSegment;)g=g._sourceSegment;return g}function hi(_){let g=_,h=g._segmentIndexShift?g._segmentIndexShift:0;for(;g._sourceSegment;)g=g._sourceSegment,h+=g._segmentIndexShift?g._segmentIndexShift:0;return h-1}function Zr(_){return _.data||{}}function Ve(_){return _.resolve||{}}function yn(_){return[...Object.keys(_),...Object.getOwnPropertySymbols(_)]}function vn(_){return pt(g=>{const h=_(g);return h?(0,ee.D)(h).pipe((0,ut.U)(()=>g)):(0,N.of)(g)})}class Pi extends class pa{shouldDetach(g){return!1}store(g,h){}shouldAttach(g){return!1}retrieve(g){return null}shouldReuseRoute(g,h){return g.routeConfig===h.routeConfig}}{}const on=new f.OlP("ROUTES");class Cn{constructor(g,h,D,O){this.injector=g,this.compiler=h,this.onLoadStartListener=D,this.onLoadEndListener=O}load(g,h){if(h._loader$)return h._loader$;this.onLoadStartListener&&this.onLoadStartListener(h);const O=this.loadModuleFactory(h.loadChildren).pipe((0,ut.U)(Z=>{this.onLoadEndListener&&this.onLoadEndListener(h);const pe=Z.create(g);return new os(Bt(pe.injector.get(on,void 0,f.XFs.Self|f.XFs.Optional)).map(Xn),pe)}),_e(Z=>{throw h._loader$=void 0,Z}));return h._loader$=new le.c(O,()=>new Oe.xQ).pipe((0,Ar.x)()),h._loader$}loadModuleFactory(g){return Wt(g()).pipe((0,Mn.zg)(h=>h instanceof f.YKP?(0,N.of)(h):(0,ee.D)(this.compiler.compileModuleAsync(h))))}}class qn{shouldProcessUrl(g){return!0}extract(g){return g}merge(g,h){return g}}function Vr(_){throw _}function Gn(_,g,h){return g.parse("/")}function mi(_,g){return(0,N.of)(null)}const es={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},Nr={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let qr=(()=>{class _{constructor(h,D,O,Z,pe,Te,mt){this.rootComponentType=h,this.urlSerializer=D,this.rootContexts=O,this.location=Z,this.config=mt,this.lastSuccessfulNavigation=null,this.currentNavigation=null,this.disposed=!1,this.navigationId=0,this.currentPageId=0,this.isNgZoneEnabled=!1,this.events=new Oe.xQ,this.errorHandler=Vr,this.malformedUriErrorHandler=Gn,this.navigated=!1,this.lastSuccessfulId=-1,this.hooks={beforePreactivation:mi,afterPreactivation:mi},this.urlHandlingStrategy=new qn,this.routeReuseStrategy=new Pi,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="corrected",this.canceledNavigationResolution="replace",this.ngModule=pe.get(f.h0i),this.console=pe.get(f.c2e);const gn=pe.get(f.R0b);this.isNgZoneEnabled=gn instanceof f.R0b&&f.R0b.isInAngularZone(),this.resetConfig(mt),this.currentUrlTree=function ur(){return new Ue(new _t([],{}),{},null)}(),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.configLoader=new Cn(pe,Te,Cr=>this.triggerEvent(new Ge(Cr)),Cr=>this.triggerEvent(new st(Cr))),this.routerState=oi(this.currentUrlTree,this.rootComponentType),this.transitions=new G.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()?.\u0275routerPageId}setupNavigations(h){const D=this.events;return h.pipe((0,ot.h)(O=>0!==O.id),(0,ut.U)(O=>({...O,extractedUrl:this.urlHandlingStrategy.extract(O.rawUrl)})),pt(O=>{let Z=!1,pe=!1;return(0,N.of)(O).pipe((0,Vn.b)(Te=>{this.currentNavigation={id:Te.id,initialUrl:Te.currentRawUrl,extractedUrl:Te.extractedUrl,trigger:Te.source,extras:Te.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null}}),pt(Te=>{const mt=this.browserUrlTree.toString(),dn=!this.navigated||Te.extractedUrl.toString()!==mt||mt!==this.currentUrlTree.toString();if(("reload"===this.onSameUrlNavigation||dn)&&this.urlHandlingStrategy.shouldProcessUrl(Te.rawUrl))return _i(Te.source)&&(this.browserUrlTree=Te.extractedUrl),(0,N.of)(Te).pipe(pt(gn=>{const Cr=this.transitions.getValue();return D.next(new xr(gn.id,this.serializeUrl(gn.extractedUrl),gn.source,gn.restoredState)),Cr!==this.transitions.getValue()?he.E:Promise.resolve(gn)}),function Et(_,g,h,D){return pt(O=>function us(_,g,h,D,O){return new Gi(_,g,h,D,O).apply()}(_,g,h,O.extractedUrl,D).pipe((0,ut.U)(Z=>({...O,urlAfterRedirects:Z}))))}(this.ngModule.injector,this.configLoader,this.urlSerializer,this.config),(0,Vn.b)(gn=>{this.currentNavigation={...this.currentNavigation,finalUrl:gn.urlAfterRedirects}}),function lt(_,g,h,D,O){return(0,Mn.zg)(Z=>function pn(_,g,h,D,O="emptyOnly",Z="legacy"){try{const pe=new Sn(_,g,h,D,O,Z).recognize();return null===pe?en(new ht):(0,N.of)(pe)}catch(pe){return en(pe)}}(_,g,Z.urlAfterRedirects,h(Z.urlAfterRedirects),D,O).pipe((0,ut.U)(pe=>({...Z,targetSnapshot:pe}))))}(this.rootComponentType,this.config,gn=>this.serializeUrl(gn),this.paramsInheritanceStrategy,this.relativeLinkResolution),(0,Vn.b)(gn=>{if("eager"===this.urlUpdateStrategy){if(!gn.extras.skipLocationChange){const br=this.urlHandlingStrategy.merge(gn.urlAfterRedirects,gn.rawUrl);this.setBrowserUrl(br,gn)}this.browserUrlTree=gn.urlAfterRedirects}const Cr=new me(gn.id,this.serializeUrl(gn.extractedUrl),this.serializeUrl(gn.urlAfterRedirects),gn.targetSnapshot);D.next(Cr)}));if(dn&&this.rawUrlTree&&this.urlHandlingStrategy.shouldProcessUrl(this.rawUrlTree)){const{id:Cr,extractedUrl:br,source:to,restoredState:q,extras:zi}=Te,Ms=new xr(Cr,this.serializeUrl(br),to,q);D.next(Ms);const vi=oi(br,this.rootComponentType).snapshot;return(0,N.of)({...Te,targetSnapshot:vi,urlAfterRedirects:br,extras:{...zi,skipLocationChange:!1,replaceUrl:!1}})}return this.rawUrlTree=Te.rawUrl,Te.resolve(null),he.E}),vn(Te=>{const{targetSnapshot:mt,id:dn,extractedUrl:_r,rawUrl:gn,extras:{skipLocationChange:Cr,replaceUrl:br}}=Te;return this.hooks.beforePreactivation(mt,{navigationId:dn,appliedUrlTree:_r,rawUrlTree:gn,skipLocationChange:!!Cr,replaceUrl:!!br})}),(0,Vn.b)(Te=>{const mt=new J(Te.id,this.serializeUrl(Te.extractedUrl),this.serializeUrl(Te.urlAfterRedirects),Te.targetSnapshot);this.triggerEvent(mt)}),(0,ut.U)(Te=>({...Te,guards:Qr(Te.targetSnapshot,Te.currentSnapshot,this.rootContexts)})),function d(_,g){return(0,Mn.zg)(h=>{const{targetSnapshot:D,currentSnapshot:O,guards:{canActivateChecks:Z,canDeactivateChecks:pe}}=h;return 0===pe.length&&0===Z.length?(0,N.of)({...h,guardsResult:!0}):function p(_,g,h,D){return(0,ee.D)(_).pipe((0,Mn.zg)(O=>function Ze(_,g,h,D,O){const Z=g&&g.routeConfig?g.routeConfig.canDeactivate:null;if(!Z||0===Z.length)return(0,N.of)(!0);const pe=Z.map(Te=>{const mt=Xi(Te,g,O);let dn;if(function as(_){return _&&Ir(_.canDeactivate)}(mt))dn=Wt(mt.canDeactivate(_,g,h,D));else{if(!Ir(mt))throw new Error("Invalid CanDeactivate guard");dn=Wt(mt(_,g,h,D))}return dn.pipe(Wn())});return(0,N.of)(pe).pipe(Qi())}(O.component,O.route,h,g,D)),Wn(O=>!0!==O,!0))}(pe,D,O,_).pipe((0,Mn.zg)(Te=>Te&&function ni(_){return"boolean"==typeof _}(Te)?function b(_,g,h,D){return(0,ee.D)(g).pipe((0,tr.b)(O=>(0,Pe.z)(function ue(_,g){return null!==_&&g&&g(new It(_)),(0,N.of)(!0)}(O.route.parent,D),function B(_,g){return null!==_&&g&&g(new kt(_)),(0,N.of)(!0)}(O.route,D),function ye(_,g,h){const D=g[g.length-1],Z=g.slice(0,g.length-1).reverse().map(pe=>function Hs(_){const g=_.routeConfig?_.routeConfig.canActivateChild:null;return g&&0!==g.length?{node:_,guards:g}:null}(pe)).filter(pe=>null!==pe).map(pe=>L(()=>{const Te=pe.guards.map(mt=>{const dn=Xi(mt,pe.node,h);let _r;if(function ci(_){return _&&Ir(_.canActivateChild)}(dn))_r=Wt(dn.canActivateChild(D,_));else{if(!Ir(dn))throw new Error("Invalid CanActivateChild guard");_r=Wt(dn(D,_))}return _r.pipe(Wn())});return(0,N.of)(Te).pipe(Qi())}));return(0,N.of)(Z).pipe(Qi())}(_,O.path,h),function be(_,g,h){const D=g.routeConfig?g.routeConfig.canActivate:null;if(!D||0===D.length)return(0,N.of)(!0);const O=D.map(Z=>L(()=>{const pe=Xi(Z,g,h);let Te;if(function Fi(_){return _&&Ir(_.canActivate)}(pe))Te=Wt(pe.canActivate(g,_));else{if(!Ir(pe))throw new Error("Invalid CanActivate guard");Te=Wt(pe(g,_))}return Te.pipe(Wn())}));return(0,N.of)(O).pipe(Qi())}(_,O.route,h))),Wn(O=>!0!==O,!0))}(D,Z,_,g):(0,N.of)(Te)),(0,ut.U)(Te=>({...h,guardsResult:Te})))})}(this.ngModule.injector,Te=>this.triggerEvent(Te)),(0,Vn.b)(Te=>{if(zr(Te.guardsResult)){const dn=sn(`Redirecting to "${this.serializeUrl(Te.guardsResult)}"`);throw dn.url=Te.guardsResult,dn}const mt=new ne(Te.id,this.serializeUrl(Te.extractedUrl),this.serializeUrl(Te.urlAfterRedirects),Te.targetSnapshot,!!Te.guardsResult);this.triggerEvent(mt)}),(0,ot.h)(Te=>!!Te.guardsResult||(this.restoreHistory(Te),this.cancelNavigationTransition(Te,""),!1)),vn(Te=>{if(Te.guards.canActivateChecks.length)return(0,N.of)(Te).pipe((0,Vn.b)(mt=>{const dn=new Fe(mt.id,this.serializeUrl(mt.extractedUrl),this.serializeUrl(mt.urlAfterRedirects),mt.targetSnapshot);this.triggerEvent(dn)}),pt(mt=>{let dn=!1;return(0,N.of)(mt).pipe(function Je(_,g){return(0,Mn.zg)(h=>{const{targetSnapshot:D,guards:{canActivateChecks:O}}=h;if(!O.length)return(0,N.of)(h);let Z=0;return(0,ee.D)(O).pipe((0,tr.b)(pe=>function Kt(_,g,h,D){return function Dn(_,g,h,D){const O=yn(_);if(0===O.length)return(0,N.of)({});const Z={};return(0,ee.D)(O).pipe((0,Mn.zg)(pe=>function Rr(_,g,h,D){const O=Xi(_,g,D);return Wt(O.resolve?O.resolve(g,h):O(g,h))}(_[pe],g,h,D).pipe((0,Vn.b)(Te=>{Z[pe]=Te}))),zt(1),(0,Mn.zg)(()=>yn(Z).length===O.length?(0,N.of)(Z):he.E))}(_._resolve,_,g,D).pipe((0,ut.U)(Z=>(_._resolvedData=Z,_.data={..._.data,...I(_,h).resolve},null)))}(pe.route,D,_,g)),(0,Vn.b)(()=>Z++),zt(1),(0,Mn.zg)(pe=>Z===O.length?(0,N.of)(h):he.E))})}(this.paramsInheritanceStrategy,this.ngModule.injector),(0,Vn.b)({next:()=>dn=!0,complete:()=>{dn||(this.restoreHistory(mt),this.cancelNavigationTransition(mt,"At least one route resolver didn't emit any value."))}}))}),(0,Vn.b)(mt=>{const dn=new He(mt.id,this.serializeUrl(mt.extractedUrl),this.serializeUrl(mt.urlAfterRedirects),mt.targetSnapshot);this.triggerEvent(dn)}))}),vn(Te=>{const{targetSnapshot:mt,id:dn,extractedUrl:_r,rawUrl:gn,extras:{skipLocationChange:Cr,replaceUrl:br}}=Te;return this.hooks.afterPreactivation(mt,{navigationId:dn,appliedUrlTree:_r,rawUrlTree:gn,skipLocationChange:!!Cr,replaceUrl:!!br})}),(0,ut.U)(Te=>{const mt=function mo(_,g,h){const D=rs(_,g._root,h?h._root:void 0);return new qi(D,g)}(this.routeReuseStrategy,Te.targetSnapshot,Te.currentRouterState);return{...Te,targetRouterState:mt}}),(0,Vn.b)(Te=>{this.currentUrlTree=Te.urlAfterRedirects,this.rawUrlTree=this.urlHandlingStrategy.merge(Te.urlAfterRedirects,Te.rawUrl),this.routerState=Te.targetRouterState,"deferred"===this.urlUpdateStrategy&&(Te.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,Te),this.browserUrlTree=Te.urlAfterRedirects)}),((_,g,h)=>(0,ut.U)(D=>(new Vs(g,D.targetRouterState,D.currentRouterState,h).activate(_),D)))(this.rootContexts,this.routeReuseStrategy,Te=>this.triggerEvent(Te)),(0,Vn.b)({next(){Z=!0},complete(){Z=!0}}),(0,lr.x)(()=>{Z||pe||this.cancelNavigationTransition(O,`Navigation ID ${O.id} is not equal to the current navigation id ${this.navigationId}`),this.currentNavigation?.id===O.id&&(this.currentNavigation=null)}),_e(Te=>{if(pe=!0,function Mt(_){return _&&_[nn]}(Te)){const mt=zr(Te.url);mt||(this.navigated=!0,this.restoreHistory(O,!0));const dn=new Ce(O.id,this.serializeUrl(O.extractedUrl),Te.message);D.next(dn),mt?setTimeout(()=>{const _r=this.urlHandlingStrategy.merge(Te.url,this.rawUrlTree),gn={skipLocationChange:O.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy||_i(O.source)};this.scheduleNavigation(_r,"imperative",null,gn,{resolve:O.resolve,reject:O.reject,promise:O.promise})},0):O.resolve(!1)}else{this.restoreHistory(O,!0);const mt=new Me(O.id,this.serializeUrl(O.extractedUrl),Te);D.next(mt);try{O.resolve(this.errorHandler(Te))}catch(dn){O.reject(dn)}}return he.E}))}))}resetRootComponentType(h){this.rootComponentType=h,this.routerState.root.component=this.rootComponentType}setTransition(h){this.transitions.next({...this.transitions.value,...h})}initialNavigation(){this.setUpLocationChangeListener(),0===this.navigationId&&this.navigateByUrl(this.location.path(!0),{replaceUrl:!0})}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(h=>{const D="popstate"===h.type?"popstate":"hashchange";"popstate"===D&&setTimeout(()=>{const O={replaceUrl:!0},Z=h.state?.navigationId?h.state:null;if(Z){const Te={...Z};delete Te.navigationId,delete Te.\u0275routerPageId,0!==Object.keys(Te).length&&(O.state=Te)}const pe=this.parseUrl(h.url);this.scheduleNavigation(pe,D,Z,O)},0)}))}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.currentNavigation}triggerEvent(h){this.events.next(h)}resetConfig(h){et(h),this.config=h.map(Xn),this.navigated=!1,this.lastSuccessfulId=-1}ngOnDestroy(){this.dispose()}dispose(){this.transitions.complete(),this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=void 0),this.disposed=!0}createUrlTree(h,D={}){const{relativeTo:O,queryParams:Z,fragment:pe,queryParamsHandling:Te,preserveFragment:mt}=D,dn=O||this.routerState.root,_r=mt?this.currentUrlTree.fragment:pe;let gn=null;switch(Te){case"merge":gn={...this.currentUrlTree.queryParams,...Z};break;case"preserve":gn=this.currentUrlTree.queryParams;break;default:gn=Z||null}return null!==gn&&(gn=this.removeEmptyProps(gn)),function _o(_,g,h,D,O){if(0===h.length)return Ns(g.root,g.root,g.root,D,O);const Z=function ws(_){if("string"==typeof _[0]&&1===_.length&&"/"===_[0])return new Xs(!0,0,_);let g=0,h=!1;const D=_.reduce((O,Z,pe)=>{if("object"==typeof Z&&null!=Z){if(Z.outlets){const Te={};return qt(Z.outlets,(mt,dn)=>{Te[dn]="string"==typeof mt?mt.split("/"):mt}),[...O,{outlets:Te}]}if(Z.segmentPath)return[...O,Z.segmentPath]}return"string"!=typeof Z?[...O,Z]:0===pe?(Z.split("/").forEach((Te,mt)=>{0==mt&&"."===Te||(0==mt&&""===Te?h=!0:".."===Te?g++:""!=Te&&O.push(Te))}),O):[...O,Z]},[]);return new Xs(h,g,D)}(h);if(Z.toRoot())return Ns(g.root,g.root,new _t([],{}),D,O);const pe=function Mo(_,g,h){if(_.isAbsolute)return new Es(g.root,!0,0);if(-1===h.snapshot._lastPathIndex){const Z=h.snapshot._urlSegment;return new Es(Z,Z===g.root,0)}const D=bs(_.commands[0])?0:1;return function ks(_,g,h){let D=_,O=g,Z=h;for(;Z>O;){if(Z-=O,D=D.parent,!D)throw new Error("Invalid number of '../'");O=D.segments.length}return new Es(D,!1,O-Z)}(h.snapshot._urlSegment,h.snapshot._lastPathIndex+D,_.numberOfDoubleDots)}(Z,g,_),Te=pe.processChildren?pr(pe.segmentGroup,pe.index,Z.commands):ss(pe.segmentGroup,pe.index,Z.commands);return Ns(g.root,pe.segmentGroup,Te,D,O)}(dn,this.currentUrlTree,h,gn,_r??null)}navigateByUrl(h,D={skipLocationChange:!1}){const O=zr(h)?h:this.parseUrl(h),Z=this.urlHandlingStrategy.merge(O,this.rawUrlTree);return this.scheduleNavigation(Z,"imperative",null,D)}navigate(h,D={skipLocationChange:!1}){return function vo(_){for(let g=0;g<_.length;g++){const h=_[g];if(null==h)throw new Error(`The requested path contains ${h} segment at index ${g}`)}}(h),this.navigateByUrl(this.createUrlTree(h,D),D)}serializeUrl(h){return this.urlSerializer.serialize(h)}parseUrl(h){let D;try{D=this.urlSerializer.parse(h)}catch(O){D=this.malformedUriErrorHandler(O,this.urlSerializer,h)}return D}isActive(h,D){let O;if(O=!0===D?{...es}:!1===D?{...Nr}:D,zr(h))return ce(this.currentUrlTree,h,O);const Z=this.parseUrl(h);return ce(this.currentUrlTree,Z,O)}removeEmptyProps(h){return Object.keys(h).reduce((D,O)=>{const Z=h[O];return null!=Z&&(D[O]=Z),D},{})}processNavigations(){this.navigations.subscribe(h=>{this.navigated=!0,this.lastSuccessfulId=h.id,this.currentPageId=h.targetPageId,this.events.next(new On(h.id,this.serializeUrl(h.extractedUrl),this.serializeUrl(this.currentUrlTree))),this.lastSuccessfulNavigation=this.currentNavigation,h.resolve(!0)},h=>{this.console.warn(`Unhandled Navigation Error: ${h}`)})}scheduleNavigation(h,D,O,Z,pe){if(this.disposed)return Promise.resolve(!1);let Te,mt,dn;pe?(Te=pe.resolve,mt=pe.reject,dn=pe.promise):dn=new Promise((Cr,br)=>{Te=Cr,mt=br});const _r=++this.navigationId;let gn;return"computed"===this.canceledNavigationResolution?(0===this.currentPageId&&(O=this.location.getState()),gn=O&&O.\u0275routerPageId?O.\u0275routerPageId:Z.replaceUrl||Z.skipLocationChange?this.browserPageId??0:(this.browserPageId??0)+1):gn=0,this.setTransition({id:_r,targetPageId:gn,source:D,restoredState:O,currentUrlTree:this.currentUrlTree,currentRawUrl:this.rawUrlTree,rawUrl:h,extras:Z,resolve:Te,reject:mt,promise:dn,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),dn.catch(Cr=>Promise.reject(Cr))}setBrowserUrl(h,D){const O=this.urlSerializer.serialize(h),Z={...D.extras.state,...this.generateNgRouterState(D.id,D.targetPageId)};this.location.isCurrentPathEqualTo(O)||D.extras.replaceUrl?this.location.replaceState(O,"",Z):this.location.go(O,"",Z)}restoreHistory(h,D=!1){if("computed"===this.canceledNavigationResolution){const O=this.currentPageId-h.targetPageId;"popstate"!==h.source&&"eager"!==this.urlUpdateStrategy&&this.currentUrlTree!==this.currentNavigation?.finalUrl||0===O?this.currentUrlTree===this.currentNavigation?.finalUrl&&0===O&&(this.resetState(h),this.browserUrlTree=h.currentUrlTree,this.resetUrlToCurrentUrlTree()):this.location.historyGo(O)}else"replace"===this.canceledNavigationResolution&&(D&&this.resetState(h),this.resetUrlToCurrentUrlTree())}resetState(h){this.routerState=h.currentRouterState,this.currentUrlTree=h.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,h.rawUrl)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}cancelNavigationTransition(h,D){const O=new Ce(h.id,this.serializeUrl(h.extractedUrl),D);this.triggerEvent(O),h.resolve(!1)}generateNgRouterState(h,D){return"computed"===this.canceledNavigationResolution?{navigationId:h,\u0275routerPageId:D}:{navigationId:h}}}return _.\u0275fac=function(h){f.$Z()},_.\u0275prov=f.Yz7({token:_,factory:_.\u0275fac}),_})();function _i(_){return"imperative"!==_}class Ol{}class eo{preload(g,h){return(0,N.of)(null)}}let ma=(()=>{class _{constructor(h,D,O,Z){this.router=h,this.injector=O,this.preloadingStrategy=Z,this.loader=new Cn(O,D,mt=>h.triggerEvent(new Ge(mt)),mt=>h.triggerEvent(new st(mt)))}setUpPreloading(){this.subscription=this.router.events.pipe((0,ot.h)(h=>h instanceof On),(0,tr.b)(()=>this.preload())).subscribe(()=>{})}preload(){const h=this.injector.get(f.h0i);return this.processRoutes(h,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(h,D){const O=[];for(const Z of D)if(Z.loadChildren&&!Z.canLoad&&Z._loadedConfig){const pe=Z._loadedConfig;O.push(this.processRoutes(pe.module,pe.routes))}else Z.loadChildren&&!Z.canLoad?O.push(this.preloadConfig(h,Z)):Z.children&&O.push(this.processRoutes(h,Z.children));return(0,ee.D)(O).pipe((0,Yn.J)(),(0,ut.U)(Z=>{}))}preloadConfig(h,D){return this.preloadingStrategy.preload(D,()=>(D._loadedConfig?(0,N.of)(D._loadedConfig):this.loader.load(h.injector,D)).pipe((0,Mn.zg)(Z=>(D._loadedConfig=Z,this.processRoutes(Z.module,Z.routes)))))}}return _.\u0275fac=function(h){return new(h||_)(f.LFG(qr),f.LFG(f.Sil),f.LFG(f.zs3),f.LFG(Ol))},_.\u0275prov=f.Yz7({token:_,factory:_.\u0275fac}),_})(),$s=(()=>{class _{constructor(h,D,O={}){this.router=h,this.viewportScroller=D,this.options=O,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},O.scrollPositionRestoration=O.scrollPositionRestoration||"disabled",O.anchorScrolling=O.anchorScrolling||"disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.router.events.subscribe(h=>{h instanceof xr?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=h.navigationTrigger,this.restoredId=h.restoredState?h.restoredState.navigationId:0):h instanceof On&&(this.lastId=h.id,this.scheduleScrollEvent(h,this.router.parseUrl(h.urlAfterRedirects).fragment))})}consumeScrollEvents(){return this.router.events.subscribe(h=>{h instanceof Yt&&(h.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(h.position):h.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(h.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(h,D){this.router.triggerEvent(new Yt(h,"popstate"===this.lastSource?this.store[this.restoredId]:null,D))}ngOnDestroy(){this.routerEventsSubscription&&this.routerEventsSubscription.unsubscribe(),this.scrollEventsSubscription&&this.scrollEventsSubscription.unsubscribe()}}return _.\u0275fac=function(h){f.$Z()},_.\u0275prov=f.Yz7({token:_,factory:_.\u0275fac}),_})();const ds=new f.OlP("ROUTER_CONFIGURATION"),qa=new f.OlP("ROUTER_FORROOT_GUARD"),Po=[s.Ye,{provide:Qe,useClass:St},{provide:qr,useFactory:function xl(_,g,h,D,O,Z,pe={},Te,mt){const dn=new qr(null,_,g,h,D,O,Bt(Z));return Te&&(dn.urlHandlingStrategy=Te),mt&&(dn.routeReuseStrategy=mt),function Eu(_,g){_.errorHandler&&(g.errorHandler=_.errorHandler),_.malformedUriErrorHandler&&(g.malformedUriErrorHandler=_.malformedUriErrorHandler),_.onSameUrlNavigation&&(g.onSameUrlNavigation=_.onSameUrlNavigation),_.paramsInheritanceStrategy&&(g.paramsInheritanceStrategy=_.paramsInheritanceStrategy),_.relativeLinkResolution&&(g.relativeLinkResolution=_.relativeLinkResolution),_.urlUpdateStrategy&&(g.urlUpdateStrategy=_.urlUpdateStrategy),_.canceledNavigationResolution&&(g.canceledNavigationResolution=_.canceledNavigationResolution)}(pe,dn),pe.enableTracing&&dn.events.subscribe(_r=>{console.group?.(`Router Event: ${_r.constructor.name}`),console.log(_r.toString()),console.log(_r),console.groupEnd?.()}),dn},deps:[Qe,W,s.Ye,f.zs3,f.Sil,on,ds,[class wn{},new f.FiY],[class cs{},new f.FiY]]},W,{provide:Re,useFactory:function pi(_){return _.routerState.root},deps:[qr]},ma,eo,class bu{preload(g,h){return h().pipe(_e(()=>(0,N.of)(null)))}},{provide:ds,useValue:{enableTracing:!1}}];function wu(){return new f.PXZ("Router",qr)}let zs=(()=>{class _{constructor(h,D){}static forRoot(h,D){return{ngModule:_,providers:[Po,_a(h),{provide:qa,useFactory:sd,deps:[[qr,new f.FiY,new f.tp0]]},{provide:ds,useValue:D||{}},{provide:s.S$,useFactory:xo,deps:[s.lw,[new f.tBr(s.mr),new f.FiY],ds]},{provide:$s,useFactory:Oo,deps:[qr,s.EM,ds]},{provide:Ol,useExisting:D&&D.preloadingStrategy?D.preloadingStrategy:eo},{provide:f.PXZ,multi:!0,useFactory:wu},[ti,{provide:f.ip1,multi:!0,useFactory:Ka,deps:[ti]},{provide:Ao,useFactory:Qa,deps:[ti]},{provide:f.tb,multi:!0,useExisting:Ao}]]}}static forChild(h){return{ngModule:_,providers:[_a(h)]}}}return _.\u0275fac=function(h){return new(h||_)(f.LFG(qa,8),f.LFG(qr,8))},_.\u0275mod=f.oAB({type:_}),_.\u0275inj=f.cJS({}),_})();function Oo(_,g,h){return h.scrollOffset&&g.setOffset(h.scrollOffset),new $s(_,g,h)}function xo(_,g,h={}){return h.useHash?new s.Do(_,g):new s.b0(_,g)}function sd(_){return"guarded"}function _a(_){return[{provide:f.deG,multi:!0,useValue:_},{provide:on,multi:!0,useValue:_}]}let ti=(()=>{class _{constructor(h){this.injector=h,this.initNavigation=!1,this.destroyed=!1,this.resultOfPreactivationDone=new Oe.xQ}appInitializer(){return this.injector.get(s.V_,Promise.resolve(null)).then(()=>{if(this.destroyed)return Promise.resolve(!0);let D=null;const O=new Promise(Te=>D=Te),Z=this.injector.get(qr),pe=this.injector.get(ds);return"disabled"===pe.initialNavigation?(Z.setUpLocationChangeListener(),D(!0)):"enabled"===pe.initialNavigation||"enabledBlocking"===pe.initialNavigation?(Z.hooks.afterPreactivation=()=>this.initNavigation?(0,N.of)(null):(this.initNavigation=!0,D(!0),this.resultOfPreactivationDone),Z.initialNavigation()):D(!0),O})}bootstrapListener(h){const D=this.injector.get(ds),O=this.injector.get(ma),Z=this.injector.get($s),pe=this.injector.get(qr),Te=this.injector.get(f.z2F);h===Te.components[0]&&(("enabledNonBlocking"===D.initialNavigation||void 0===D.initialNavigation)&&pe.initialNavigation(),O.setUpPreloading(),Z.init(),pe.resetRootComponentType(Te.componentTypes[0]),this.resultOfPreactivationDone.next(null),this.resultOfPreactivationDone.complete())}ngOnDestroy(){this.destroyed=!0}}return _.\u0275fac=function(h){return new(h||_)(f.LFG(f.zs3))},_.\u0275prov=f.Yz7({token:_,factory:_.\u0275fac}),_})();function Ka(_){return _.appInitializer.bind(_)}function Qa(_){return _.bootstrapListener.bind(_)}const Ao=new f.OlP("Router Initializer")},5419:(Ne,se,M)=>{"use strict";M.d(se,{A4:()=>Xe});var s=M(5062),f=M(529),te=M(4850);const ee={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 he{constructor(ot){this.unprotectedPaths=["/resetpass","/invitation"],this.protocol=ot.protocol;let We=ot.port;We||(function Q(tt){return/^https:$/i.test(tt)}(this.protocol)?We="443":function re(tt){return/^http:$/i.test(tt)}(this.protocol)&&(We="80")),this.domain=ot.hostname,this.port=parseInt(We,10),this.path=ot.pathname;const zt=this.path.match(/((?:\/cpsess\d+)?)(?:\/([^\/]+))?/)||[];if(this.applicationName=/^whm\./.test(this.domain)?ee[2087]:/^cpanel\./.test(this.domain)?ee[2083]:/^webmail\./.test(this.domain)?ee[2095]:ee[We.toString()]||ee[zt[2]]||"whostmgr",this.securityToken=zt[1]||"",this.applicationPath=this.securityToken?this.path.replace(this.securityToken,""):this.path,this.theme="",!this.isUnprotected&&(this.isCpanel||this.isWebmail)){const Lr=this.path.split("/");this.theme=Lr[3]}this.themePath="";let cn=this.securityToken+"/";this.isUnprotected?cn="/":this.isCpanel?cn+="frontend/"+this.theme+"/":this.isWebmail?cn+="webmail/"+this.theme+"/":this.isOther&&(cn="/"),this.themePath=cn,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 X(tt){return tt&&tt.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(ot){return this.themePath+ot}buildFullPath(ot){return this.protocol+"//"+this.domain+":"+this.port+this.buildPath(ot)}buildTokenPath(ot){return this.protocol+"//"+this.domain+":"+this.port+this.securityToken+ot}}class L{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 N=M(4235),G=M.n(N),oe=M(1305),Pe=M.n(oe),le=(()=>{return(tt=le||(le={}))[tt.Error=0]="Error",tt[tt.Warning=1]="Warning",tt[tt.Information=2]="Information",tt[tt.Unknown=3]="Unknown",le;var tt})();const Oe={isPaged:!1,isFiltered:!1,record:0,page:0,pageSize:0,totalRecords:0,totalPages:0,recordsBeforeFilter:0,batch:!1,properties:{}};class it{constructor(ot){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={},ot.chunk&&(this.isPaged=!0,this.record=parseInt(ot.chunk.start,10)||0,this.page=parseInt(ot.chunk.current,10)||0,this.pageSize=parseInt(ot.chunk.size,10)||0,this.totalPages=parseInt(ot.chunk.chunks,10)||0,this.totalRecords=parseInt(ot.chunk.records,10)||0),ot.filter&&(this.isFiltered=!0,this.recordsBeforeFilter=parseInt(ot.filter.filtered,10)||0);const We=new Set(["paginate","filter"]);Object.keys(ot).filter(zt=>!We.has(zt)).forEach(zt=>{this.properties[zt]=ot[zt]})}}class ut extends class yt{constructor(ot,We){if(this.status=0,this.messages=[],this.meta=function ke(tt){return JSON.parse(JSON.stringify(tt))}(Oe),this.options={keepUnprocessedResponse:!1},G()(ot)||Pe()(ot))throw new Error("The response was unexpectedly undefined or null");We&&(this.options=We),this.options.keepUnprocessedResponse&&(this.raw=JSON.parse(JSON.stringify(ot)))}get success(){return this.status>0}get failed(){return 0===this.status}_getMessages(ot){return this.messages.filter(We=>We.type===ot)}get errors(){return this._getMessages(le.Error)}get warnings(){return this._getMessages(le.Warning)}get infoMessages(){return this._getMessages(le.Information)}_hasMessages(ot){return this.messages.filter(We=>We.type===ot).length>0}get hasErrors(){return this._hasMessages(le.Error)}get hasWarnings(){return this._hasMessages(le.Warning)}get hasInfoMessages(){return this._hasMessages(le.Information)}get isPaged(){return this.meta.isPaged}get isFiltered(){return this.meta.isFiltered}}{_parseStatus(ot){if(this.status=0,typeof ot.result>"u")throw new Error("The response should have a numeric status property indicating the API succeeded (>0) or failed (=0)");this.status=parseInt(ot.result,10)}_parseMessages(ot){if(!ot.result){const We=[ot.reason];We&&We.length&&We.forEach(zt=>{this.messages.push({type:le.Error,message:zt})})}}_reduce_list_data(ot){if("object"==typeof ot&&!(ot instanceof Array)){const We=Object.keys(ot);if(1===We.length){const zt=ot[We[0]];zt?zt instanceof Array&&(ot=zt):ot=[]}}return ot}constructor(ot,We){if(super(ot,We),!ot)throw new Error("Response object should be defined.");ot.metadata&&(this._parseStatus(ot.metadata),this._parseMessages(ot.metadata),this.meta=new it(ot.metadata)),this.data=this._reduce_list_data(ot.data)}}var pt=M(109),ze=M(3022);let Xe=(()=>{class tt{constructor(We){this.http=We}get(We){const zt=We.generate({verb:pt.F.GET,encoder:new ze.VN}),cn=this.packageUrl(zt);return this.http.get(cn,{headers:this.packageHeaders(zt)}).pipe((0,te.U)(this.packageResponseHandler(cn)))}post(We){const zt=We.generate(),cn=this.packageUrl(zt);return this.http.post(cn,zt.body,{headers:this.packageHeaders(zt)}).pipe((0,te.U)(this.packageResponseHandler(cn)))}packageHeaders(We){const zt={};return We.headers.forEach(cn=>{zt[cn.name]=cn.value}),new f.WM(zt)}packageUrl(We){return new he(new L).buildTokenPath(We.url)}packageResponseHandler(We){return zt=>{const cn=new ut(zt);return cn.meta.properties.url=We,cn}}}return tt.\u0275fac=function(We){return new(We||tt)(s.LFG(f.eN))},tt.\u0275prov=s.Yz7({token:tt,factory:tt.\u0275fac,providedIn:"root"}),tt})()},348:(Ne,se,M)=>{"use strict";M.d(se,{m:()=>re});var s=M(5062),f=M(269);const te=new s.OlP("window"),Q=X=>new f.g(X.CLDR,X.LEXICON);let re=(()=>{class X{}return X.\u0275fac=function(ee){return new(ee||X)},X.\u0275mod=s.oAB({type:X}),X.\u0275inj=s.cJS({providers:[{provide:te,useValue:window},{provide:f.g,useFactory:Q,deps:[te]}],imports:[[]]}),X})()},352:(Ne,se,M)=>{"use strict";M.d(se,{xV:()=>Ut,zr:()=>At,FP:()=>Ft,hF:()=>jt,CQ:()=>x,nM:()=>Yt,c9:()=>un,Oc:()=>we,df:()=>ce,_P:()=>Vt,kM:()=>qt,go:()=>Wt,zf:()=>ur,gS:()=>z,t8:()=>U,Gy:()=>Ue,Yg:()=>ge,MF:()=>_t,Op:()=>Nt,fm:()=>Be,wL:()=>at});var s=M(5062),f=M(6895),te=M(5529),Q=M(3489);class X{constructor(Re,I){this.compare=Re,this.keySelector=I}call(Re,I){return I.subscribe(new ie(Re,this.compare,this.keySelector))}}class ie extends Q.L{constructor(Re,I,Ie){super(Re),this.keySelector=Ie,this.hasKey=!1,"function"==typeof I&&(this.compare=I)}compare(Re,I){return Re===I}_next(Re){let I;try{const{keySelector:Ot}=this;I=Ot?Ot(Re):Re}catch(Ot){return this.destination.error(Ot)}let Ie=!1;if(this.hasKey)try{const{compare:Ot}=this;Ie=Ot(this.key,I)}catch(Ot){return this.destination.error(Ot)}else this.hasKey=!0;Ie||(this.key=I,this.destination.next(Re))}}var ee=M(2198),he=M(7625),L=M(13),N=M(4719),G=M(348),oe=M(269),Pe=M(7340),le=M(8746);function Oe(Y,Re){if(1&Y&&(s.TgZ(0,"span",7),s.Hsn(1),s.qZA()),2&Y){const I=s.oxw(2);s.uIk("id",I.infoBlockID)}}function ke(Y,Re){if(1&Y){const I=s.EpF();s.ynx(0),s.TgZ(1,"a",3),s.NdJ("click",function(){return s.CHM(I),s.oxw().toggleInfoBlock()}),s._UZ(2,"span",4)(3,"span",5),s.qZA(),s.YNc(4,Oe,2,1,"span",6),s.BQk()}if(2&Y){const I=s.oxw();s.xp6(1),s.uIk("id",I.infoIconID)("title",I.toggleActionTitle),s.xp6(2),s.Q6J("innerHtml",I.toggleActionTitle,s.oJD),s.xp6(1),s.Q6J("ngIf",I.showInfoBlock)}}const yt=["*"];function it(Y,Re){if(1&Y&&s._uU(0),2&Y){const I=s.oxw();s.hij(" ",I.locale.maketext("Loading \u2026"),"\n")}}function ut(Y,Re){1&Y&&s.GkF(0)}const pt=["header"];function ze(Y,Re){if(1&Y){const I=s.EpF();s.TgZ(0,"button",4),s.NdJ("click",function(){return s.CHM(I),s.oxw().closeClicked()}),s._UZ(1,"i",5),s.qZA()}if(2&Y){const I=s.oxw();s.uIk("id",I.buttonID)}}const xt=[[["","callout-heading",""]],"*"],gt=["[callout-heading]","*"];function Gt(Y,Re){if(1&Y&&(s.TgZ(0,"li",3),s._UZ(1,"i",4)(2,"span",5),s.qZA()),2&Y){const I=Re.$implicit;s.uIk("id",I.id),s.xp6(2),s.Q6J("innerHtml",I.message,s.oJD)}}function Le(Y,Re){if(1&Y&&(s.TgZ(0,"ul",1),s.YNc(1,Gt,3,2,"li",2),s.qZA()),2&Y){const I=s.oxw();s.xp6(1),s.Q6J("ngForOf",I.getFieldErrors())}}const rt=function(Y){return{visibility:Y}};function _e(Y,Re){if(1&Y&&(s.TgZ(0,"label",10)(1,"span",11),s._uU(2),s.qZA()()),2&Y){const I=s.oxw();s.s9C("for",I.toggleID),s.uIk("aria-label",I.labelValue),s.xp6(1),s.uIk("id",I.onTextID),s.xp6(1),s.hij(" ",I.isToggleOff?I.offText:I.onText," ")}}function Xe(Y,Re){if(1&Y&&s._UZ(0,"i",12),2&Y){const I=s.oxw();s.uIk("id",I.leftSpinnerID)}}function tt(Y,Re){if(1&Y&&(s.TgZ(0,"label",13)(1,"span",14),s._uU(2),s.qZA()()),2&Y){const I=s.oxw();s.s9C("for",I.toggleID),s.uIk("aria-label",I.labelValue),s.xp6(1),s.uIk("id",I.offTextID),s.xp6(1),s.hij(" ",I.isToggleOff?I.offText:I.onText," ")}}function ot(Y,Re){if(1&Y&&s._UZ(0,"i",15),2&Y){const I=s.oxw();s.uIk("id",I.rightSpinnerID)}}const We=function(Y,Re,I){return{"switch-on":Y,"switch-off":Re,disabled:I}},zt=function(Y){return{disabled:Y}},cn=function(Y,Re){return{"switch-on":Y,"switch-off":Re}};function Lr(Y,Re){if(1&Y){const I=s.EpF();s.TgZ(0,"button",9),s.NdJ("click",function(){return s.CHM(I),s.oxw(2).fireClose()}),s.TgZ(1,"span"),s._uU(2,"\xd7"),s.qZA()()}if(2&Y){const I=s.oxw(2);s.Q6J("id",I.closeButtonID)("title",I.closeLabel),s.uIk("aria-label",I.closeLabel),s.xp6(1),s.uIk("aria-hidden",!0)}}function Er(Y,Re){if(1&Y){const I=s.EpF();s.TgZ(0,"button",10),s.NdJ("click",function(){return s.CHM(I),s.oxw(2).fireToggleMore()}),s._uU(1),s.qZA()}if(2&Y){const I=s.oxw(2);s.Q6J("id",I.moreButtonID),s.xp6(1),s.hij(" ",I.moreLabel," ")}}function ir(Y,Re){if(1&Y&&(s.TgZ(0,"strong",11),s._uU(1),s.qZA()),2&Y){const I=s.oxw(2);s.xp6(1),s.Oqu(I.label)}}function si(Y,Re){if(1&Y&&(s.TgZ(0,"span",12),s._uU(1),s.qZA()),2&Y){const I=s.oxw(2);s.Q6J("id",I.textMessageID),s.xp6(1),s.hij(" ",I.message," ")}}function Dr(Y,Re){if(1&Y&&(s.TgZ(0,"li")(1,"span",12),s._uU(2),s.qZA()()),2&Y){const I=Re.$implicit,Ie=Re.index,Ot=s.oxw(3);s.xp6(1),s.s9C("id",Ot.textListID+"_"+Ie),s.xp6(1),s.hij(" ",I," ")}}function jr(Y,Re){if(1&Y&&(s.TgZ(0,"ul",13),s.YNc(1,Dr,3,2,"li",14),s.qZA()),2&Y){const I=s.oxw(2);s.xp6(1),s.Q6J("ngForOf",I.alert.list)}}function zn(Y,Re){if(1&Y&&(s.TgZ(0,"div",1),s.YNc(1,Lr,3,4,"button",2),s.YNc(2,Er,2,2,"button",3),s._UZ(3,"span"),s.TgZ(4,"div",4),s.YNc(5,ir,2,1,"strong",5),s.TgZ(6,"span",6),s.YNc(7,si,2,2,"span",7),s.qZA(),s.YNc(8,jr,2,1,"ul",8),s.qZA()()),2&Y){const I=s.oxw();s.Gre("alert alert-",I.type," ng-hide"),s.Q6J("@openClose",I.animationClass),s.xp6(1),s.Q6J("ngIf",I.showCloseButton),s.xp6(1),s.Q6J("ngIf",I.showMoreButton),s.xp6(1),s.Tol(I.icon),s.uIk("aria-hidden",!0),s.xp6(2),s.Q6J("ngIf",I.hasLabel),s.xp6(2),s.Q6J("ngIf",I.message),s.xp6(1),s.Q6J("ngIf",I.alert&&I.alert.list&&I.alert.list.length)}}function Pn(Y,Re){if(1&Y){const I=s.EpF();s.TgZ(0,"div",6)(1,"cp-alert",7),s.NdJ("close",function(){const Bn=s.CHM(I).$implicit;return s.oxw().alertClosed(Bn)}),s.qZA()()}if(2&Y){const I=Re.$implicit;s.xp6(1),s.Q6J("alert",I)}}function Or(Y,Re){if(1&Y&&s._UZ(0,"div",8),2&Y){const I=s.oxw();s.Q6J("ngClass",I.positionClasses)}}const Un=["searchInput"];function dr(Y,Re){if(1&Y&&(s.TgZ(0,"span",6),s._uU(1),s.qZA()),2&Y){const I=s.oxw();s.xp6(1),s.Oqu(I.clearIconLabel)}}class It{constructor(Re,I,Ie=It.defaultOptions){this._message=Re,this._type=I;const Ot=Ie.id?Ie.id:Math.random().toString(36).substr(2,9);this._id=Ot,this._closable=Ie.isCloseable??!0,this._autoClosePeriod=Ie.autoClosePeriod,this._list=Ie.list,this._showMore=Ie.showMore||It.defaultShowMore,this._ts=Ie.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(Re){const{message:I,type:Ie,...Ot}=Re;return new It(I,Ie,Ot)}}It.defaultShowMore=!1,It.defaultAutoClosePeriod=0,It.defaultOptions={autoClosePeriod:It.defaultAutoClosePeriod,list:[]};var dt=(()=>{return(Y=dt||(dt={}))[Y.error=0]="error",Y[Y.success=1]="success",Y[Y.warning=2]="warning",Y[Y.information=3]="information",dt;var Y})(),kt=(()=>{return(Y=kt||(kt={})).add="add",Y.remove="remove",Y.clear="clear",kt;var Y})();let un=(()=>{class Y{constructor(){this._alertEventsSource=new te.xQ,this._alerts={},this.alertEvents=this._alertEventsSource.asObservable()}add(I,Ie=Y.defaultGroup){this._alerts[Ie]||(this._alerts[Ie]=[]);const Ot=I instanceof It?I:It.makeAlert(I);if(this.list(Ie).push(Ot),this._alertEventsSource.next({type:kt.add,group:Ie,alert:Ot}),(0,s.X6Q)())switch(Ot.type){case dt.error:console.error(Ot.message,Ot);break;case dt.warning:console.warn(Ot.message,Ot);break;default:console.log(Ot.message,Ot)}return Ot}success(I,Ie=Y.defaultGroup){return this.add(new It(I,dt.success,Y.defaultSuccessOptions),Ie)}error(I,Ie=Y.defaultGroup){return this.add({message:I,type:dt.error},Ie)}info(I,Ie=Y.defaultGroup){return this.add({message:I,type:dt.information},Ie)}warn(I,Ie=Y.defaultGroup){return this.add({message:I,type:dt.warning},Ie)}removeById(I,Ie=Y.defaultGroup){const Ot=this.list(Ie),Bn=Ot.findIndex(ei=>ei.id===I,0);if(-1!==Bn){const ei=Ot[Bn];Ot.splice(Bn,1),this._alertEventsSource.next({type:kt.remove,group:Ie,alert:ei})}}clear(I=Y.defaultGroup){this._alerts[I]=[],this._alertEventsSource.next({type:kt.clear,group:I})}list(I=Y.defaultGroup){return null==this._alerts[I]&&(this._alerts[I]=[]),this._alerts[I]}}return Y.defaultGroup="__DEFAULT__",Y.defaultSuccessOptions={autoClosePeriod:1e4},Y.\u0275fac=function(I){return new(I||Y)},Y.\u0275prov=s.Yz7({token:Y,factory:Y.\u0275fac,providedIn:"root"}),Y})(),Yt=(()=>{class Y{}return Y.\u0275fac=function(I){return new(I||Y)},Y.\u0275mod=s.oAB({type:Y}),Y.\u0275inj=s.cJS({providers:[un],imports:[[f.ez]]}),Y})();var Tt=(()=>{return(Y=Tt||(Tt={})).inline="inline",Y.topLeft="top-left",Y.topMiddle="top-middle",Y.topRight="top-right",Y.bottomLeft="bottom-left",Y.bottomMiddle="bottom-middle",Y.bottomRight="bottom-right",Y.middleLeft="middle-left",Y.middleMiddle="middle-middle",Y.middleRight="middle-right",Tt;var Y})();const $t=Tt.topRight,nn=Tt.topLeft;let Vt=(()=>{class Y{constructor(I){this.locale=I,this.showInfoToggle=!0,this.toggleActionTitleExpand=I.maketext("Expand"),this.toggleActionTitleCollapse=I.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(I){this.toggleActionTitle=I?this.toggleActionTitleCollapse:this.toggleActionTitleExpand}}return Y.\u0275fac=function(I){return new(I||Y)(s.Y36(oe.g))},Y.\u0275cmp=s.Xpm({type:Y,selectors:[["cp-form-label"]],inputs:{id:"id",for:"for",showInfoBlock:"showInfoBlock",labelText:"labelText",showInfoToggle:"showInfoToggle"},ngContentSelectors:yt,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(I,Ie){1&I&&(s.F$t(),s.TgZ(0,"div",0),s._UZ(1,"label",1),s._uU(2," \xa0 "),s.YNc(3,ke,5,4,"ng-container",2),s.qZA()),2&I&&(s.xp6(1),s.Q6J("innerHtml",Ie.labelText,s.oJD),s.uIk("id",Ie.labelID)("for",Ie.for),s.xp6(2),s.Q6J("ngIf",Ie.showInfoToggle))},directives:[f.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}"]}),Y})(),qt=(()=>{class Y{}return Y.\u0275fac=function(I){return new(I||Y)},Y.\u0275mod=s.oAB({type:Y}),Y.\u0275inj=s.cJS({imports:[[f.ez,G.m]]}),Y})(),Wt=(()=>{class Y{constructor(I){this.locale=I,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 Y.\u0275fac=function(I){return new(I||Y)(s.Y36(oe.g))},Y.\u0275cmp=s.Xpm({type:Y,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(I,Ie){if(1&I&&(s.YNc(0,it,1,1,"ng-template",null,0,s.W1O),s.TgZ(2,"div",1),s._UZ(3,"i",2),s.TgZ(4,"div",3),s.YNc(5,ut,1,0,"ng-container",4),s.qZA()()),2&I){const Ot=s.MAs(1);s.xp6(2),s.uIk("id",Ie.containerId),s.xp6(1),s.uIk("id",Ie.spinnerId),s.xp6(1),s.uIk("id",Ie.messageId),s.xp6(1),s.Q6J("ngTemplateOutlet",Ie.loadingTemplate?Ie.loadingTemplate:Ot)}},directives:[f.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}']}),Y})(),ur=(()=>{class Y{}return Y.\u0275fac=function(I){return new(I||Y)},Y.\u0275mod=s.oAB({type:Y}),Y.\u0275inj=s.cJS({imports:[[f.ez,G.m]]}),Y})();var $e=(()=>{return(Y=$e||($e={})).warnings="warnings",Y.danger="danger",Y.info="info",Y.default="info",$e;var Y})();let we=(()=>{class Y{constructor(){this.calloutType=$e.default,this.closeable=!1,this.close=new s.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 Y.\u0275fac=function(I){return new(I||Y)},Y.\u0275cmp=s.Xpm({type:Y,selectors:[["cp-callout"]],viewQuery:function(I,Ie){if(1&I&&s.Gf(pt,5),2&I){let Ot;s.iGM(Ot=s.CRH())&&(Ie.header=Ot.first)}},inputs:{id:"id",calloutType:"calloutType",closeable:"closeable"},outputs:{close:"close"},ngContentSelectors:gt,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(I,Ie){1&I&&(s.F$t(xt),s.TgZ(0,"div",0),s.YNc(1,ze,2,1,"button",1),s.TgZ(2,"div",2,3),s.Hsn(4),s.qZA(),s.TgZ(5,"div"),s.Hsn(6,1),s.qZA()()),2&I&&(s.Gre("callout callout-",Ie.calloutType,""),s.uIk("aria-label",Ie.calloutType),s.xp6(1),s.Q6J("ngIf",Ie.closeable),s.xp6(1),s.uIk("id",Ie.headingID),s.xp6(3),s.uIk("id",Ie.contentID))},directives:[f.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}']}),Y})(),ce=(()=>{class Y{}return Y.\u0275fac=function(I){return new(I||Y)},Y.\u0275mod=s.oAB({type:Y}),Y.\u0275inj=s.cJS({imports:[[f.ez]]}),Y})(),Be=(()=>{class Y{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(I=>(this.control.errors[I].id=`${this.id}_${I}`,this.control.errors[I].key=I,this.control.errors[I])):[]}ngOnInit(){if(!this.id)throw new Error("id must be defined for `cp-validation-container`")}}return Y.\u0275fac=function(I){return new(I||Y)},Y.\u0275cmp=s.Xpm({type:Y,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(I,Ie){1&I&&s.YNc(0,Le,2,1,"ul",0),2&I&&s.Q6J("ngIf",Ie.hasErrors()&&Ie.hasChanged())},directives:[f.O5,f.sg],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}']}),Y})(),at=(()=>{class Y{}return Y.\u0275fac=function(I){return new(I||Y)},Y.\u0275mod=s.oAB({type:Y}),Y.\u0275inj=s.cJS({imports:[[f.ez]]}),Y})();var Ft=(()=>{return(Y=Ft||(Ft={})).loading="loading",Y.disabled="disabled",Y.enabled="enabled",Ft;var Y})();let Ut=(()=>{class Y{constructor(){this.click=new s.vpe,this.type="button",this.buttonClass="btn-primary",this.isDisabled=!1,this.showSpinner=!1}set buttonState(I){switch(I){case Ft.enabled:this.setToEnabled();break;case Ft.loading:this.setToLoading();break;case Ft.disabled:this.setToDisable()}}ngOnInit(){if(!this.id)throw new Error("id must be defined for `cp-action-button`")}onClick(I){I.stopPropagation(),this.click.emit()}setToLoading(){this.isDisabled=!0,this.showSpinner=!0}setToDisable(){this.isDisabled=!0}setToEnabled(){this.isDisabled=!1,this.showSpinner=!1}}return Y.\u0275fac=function(I){return new(I||Y)},Y.\u0275cmp=s.Xpm({type:Y,selectors:[["cp-action-button"]],inputs:{id:"id",type:"type",buttonClass:"buttonClass",buttonState:"buttonState"},outputs:{click:"click"},ngContentSelectors:yt,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(I,Ie){1&I&&(s.F$t(),s.TgZ(0,"button",0),s.NdJ("click",function(Bn){return Ie.onClick(Bn)}),s._UZ(1,"i",1),s.Hsn(2),s.qZA()),2&I&&(s.MGl("id","",Ie.id,"-button"),s.s9C("type",Ie.type),s.Q6J("ngClass",Ie.buttonClass)("disabled",Ie.isDisabled),s.xp6(1),s.MGl("id","",Ie.id,"-spinner"),s.Q6J("ngStyle",s.VKq(6,rt,Ie.showSpinner?"visible":"hidden")))},directives:[f.mk,f.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}']}),Y})(),At=(()=>{class Y{}return Y.\u0275fac=function(I){return new(I||Y)},Y.\u0275mod=s.oAB({type:Y}),Y.\u0275inj=s.cJS({imports:[[f.ez]]}),Y})();var ge=(()=>{return(Y=ge||(ge={})).toggleOn="toggleSwitchOn",Y.toggleOff="toggleSwitchOff",Y.toggleUpdating="toggleSwitchUpdating",ge;var Y})(),Ue=(()=>{return(Y=Ue||(Ue={})).left="left",Y.right="right",Ue;var Y})();let _t=(()=>{class Y{constructor(I){this.locale=I,this.onText="",this.offText="",this.isDisabled=!1,this.toggleStatus=new s.vpe,this._isToggleUpdating=!1,this._hasSpinner=!1}set toggleState(I){switch(this._toggleState=I,I){case ge.toggleOn:this._isToggleOffStatus=!1,this._isToggleUpdating=!1;break;case ge.toggleOff:this._isToggleOffStatus=!0,this._isToggleUpdating=!1;break;case ge.toggleUpdating:this._isToggleUpdating=!0,this._hasSpinner=!0}}checkToggle(I){this.isDisabled||this._isToggleUpdating||("click"===I.type?this.toggleStatus.emit(I):"keyup"===I.type&&((13===I.keyCode||32===I.keyCode)&&this.toggleStatus.emit(I),this.isLTR?37!==I.keyCode||this._isToggleOffStatus?39===I.keyCode&&this._isToggleOffStatus&&this.toggleStatus.emit(I):this.toggleStatus.emit(I):(37===I.keyCode&&this._isToggleOffStatus||39===I.keyCode&&!this._isToggleOffStatus)&&this.toggleStatus.emit(I)))}isLabelVisible(I){return!(!this.labelPosition||this._isToggleUpdating)&&(!(!this.labelPosition||I!==this.labelPosition)||void 0)}isSpinnerVisible(I){return!(!(this.hasSpinner&&this.labelPosition&&this.isToggleUpdating)||this.isDisabled||I!==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`}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 Ue.left}get rightLabelPosition(){return Ue.right}get isLTR(){return this.locale.isLtr}}return Y.\u0275fac=function(I){return new(I||Y)(s.Y36(oe.g))},Y.\u0275cmp=s.Xpm({type:Y,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(I,Ie){1&I&&(s.TgZ(0,"div",0),s.NdJ("click",function(Bn){return Ie.checkToggle(Bn)})("keyup",function(Bn){return Ie.checkToggle(Bn)}),s.YNc(1,_e,3,4,"label",1),s.YNc(2,Xe,1,1,"i",2),s.TgZ(3,"div",3)(4,"div",4),s._UZ(5,"span",5)(6,"span",6)(7,"span",7),s.qZA()(),s.YNc(8,tt,3,4,"label",8),s.YNc(9,ot,1,1,"i",9),s.qZA()),2&I&&(s.Q6J("ngClass",s.kEZ(10,We,!Ie.isToggleOff,Ie.isToggleOff,Ie.isDisabled||Ie.isToggleUpdating)),s.uIk("id",Ie.toggleID)("value",Ie.labelValue)("aria-checked",!Ie.isToggleOff),s.xp6(1),s.Q6J("ngIf",Ie.isLabelVisible(Ie.leftLabelPosition)),s.xp6(1),s.Q6J("ngIf",Ie.isSpinnerVisible(Ie.leftLabelPosition)),s.xp6(1),s.Q6J("ngClass",s.VKq(14,zt,Ie.isDisabled||Ie.isToggleUpdating)),s.xp6(1),s.Q6J("ngClass",s.WLB(16,cn,!Ie.isToggleOff,Ie.isToggleOff)),s.xp6(4),s.Q6J("ngIf",Ie.isLabelVisible(Ie.rightLabelPosition)),s.xp6(1),s.Q6J("ngIf",Ie.isSpinnerVisible(Ie.rightLabelPosition)))},directives:[f.mk,f.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}']}),Y})(),Nt=(()=>{class Y{}return Y.\u0275fac=function(I){return new(I||Y)},Y.\u0275mod=s.oAB({type:Y}),Y.\u0275inj=s.cJS({imports:[[f.ez,G.m]]}),Y})();var nt=(()=>{return(Y=nt||(nt={})).new="new",Y.closed="closed",Y.open="open",nt;var Y})();let Qe=(()=>{class Y{constructor(I){this.locale=I,this.close=new s.vpe,this.toggleMore=new s.vpe,this.animationClass=nt.new}ngOnInit(){if(this._showMore=!1,this._closed=!1,this.moreButtonID=this._buildID("btnMore",this.type,this.alert.id),this.closeButtonID=this._buildID("btnClose",this.type,this.alert.id),this.textMessageID=this._buildID("txtMessage",this.type,this.alert.id),this.textListID=this._buildID("txtList",this.type,this.alert.id),!this.label)switch(this.alert.type){case dt.success:this.label=this.locale.maketext("Success:");break;case dt.error:this.label=this.locale.maketext("Error:");break;case dt.information:this.label=this.locale.maketext("Information:");break;case dt.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=nt.open},.25)}ngAfterViewInit(){this.willAutoClose&&this.startTimer()}get icon(){switch(this.alert.type){case dt.error:return"type-icon fas fa-times-circle";case dt.warning:return"type-icon fas fa-exclamation-triangle";case dt.information:return"type-icon fas fa-info-circle";case dt.success:return"type-icon fas fa-check-circle"}}get type(){switch(this.alert.type){case dt.error:return"danger";case dt.warning:return"warning";case dt.information:return"info";case dt.success:return"success"}}fireToggleMore(){this._showMore=!this._showMore,this.toggleMore.emit({alert:this.alert,showMore:this._showMore,component:this})}fireClose(){this._timeout&&this.clearTimer(),this.animationClass=nt.closed,setTimeout(()=>{this.close.emit({alert:this.alert,component:this}),this._closed=!0},250)}fireTimeout(){this.fireClose(),this.clearTimer()}get hasLabel(){const I=this.label;return null!==I&&""!==I}get showCloseButton(){return this.alert.isClosable}get showMoreButton(){return this.alert.showMore&&this.toggleMore.observers.length>0}get message(){return this.alert.message}startTimer(){this._timeout=setTimeout(()=>this.fireTimeout(),this.autoClosePeriod)}clearTimer(){this._timeout&&(clearTimeout(this._timeout),this._timeout=null)}get willAutoClose(){return this.autoClosePeriod>0}get autoClosePeriod(){return this.alert.autoClosePeriod}get isClosed(){return this._closed}_buildID(...I){return I.join("_")}}return Y.\u0275fac=function(I){return new(I||Y)(s.Y36(oe.g))},Y.\u0275cmp=s.Xpm({type:Y,selectors:[["cp-alert"]],inputs:{alert:"alert",label:"label",closeLabel:"closeLabel",moreLabel:"moreLabel"},outputs:{close:"close",toggleMore:"toggleMore"},decls:1,vars:1,consts:[["role","alert",3,"class",4,"ngIf"],["role","alert"],["type","button","class","close",3,"id","title","click",4,"ngIf"],["type","button","class","btn btn-more btn-link pull-right flip",3,"id","click",4,"ngIf"],[1,"alert-message"],["class","alert-title",4,"ngIf"],[1,"alert-body"],[3,"id",4,"ngIf"],["class","alert-list",4,"ngIf"],["type","button",1,"close",3,"id","title","click"],["type","button",1,"btn","btn-more","btn-link","pull-right","flip",3,"id","click"],[1,"alert-title"],[3,"id"],[1,"alert-list"],[4,"ngFor","ngForOf"]],template:function(I,Ie){1&I&&s.YNc(0,zn,9,13,"div",0),2&I&&s.Q6J("ngIf",!Ie.isClosed)},directives:[f.O5,f.sg],styles:['.alert-danger[_ngcontent-%COMP%]{background-color:#f2dede;border:1px solid #d03f00}html[dir="ltr"][_nghost-%COMP%]   .alert-danger[_ngcontent-%COMP%], html[dir="ltr"]   [_nghost-%COMP%]   .alert-danger[_ngcontent-%COMP%]{box-shadow:inset 41px 0 #d03f00}html[dir="rtl"][_nghost-%COMP%]   .alert-danger[_ngcontent-%COMP%], html[dir="rtl"]   [_nghost-%COMP%]   .alert-danger[_ngcontent-%COMP%]{box-shadow:inset -41px 0 #d03f00}.alert-success[_ngcontent-%COMP%]{background-color:#dff2d5;border:1px solid #83b655}html[dir="ltr"][_nghost-%COMP%]   .alert-success[_ngcontent-%COMP%], html[dir="ltr"]   [_nghost-%COMP%]   .alert-success[_ngcontent-%COMP%]{box-shadow:inset 41px 0 #83b655}html[dir="rtl"][_nghost-%COMP%]   .alert-success[_ngcontent-%COMP%], html[dir="rtl"]   [_nghost-%COMP%]   .alert-success[_ngcontent-%COMP%]{box-shadow:inset -41px 0 #83b655}.alert-warning[_ngcontent-%COMP%]{background-color:#fcf8e1;border:1px solid #f6c342}html[dir="ltr"][_nghost-%COMP%]   .alert-warning[_ngcontent-%COMP%], html[dir="ltr"]   [_nghost-%COMP%]   .alert-warning[_ngcontent-%COMP%]{box-shadow:inset 41px 0 #f6c342}html[dir="rtl"][_nghost-%COMP%]   .alert-warning[_ngcontent-%COMP%], html[dir="rtl"]   [_nghost-%COMP%]   .alert-warning[_ngcontent-%COMP%]{box-shadow:inset -41px 0 #f6c342}.alert-info[_ngcontent-%COMP%]{background-color:#d7edf9;border:1px solid #179bd7}html[dir="ltr"][_nghost-%COMP%]   .alert-info[_ngcontent-%COMP%], html[dir="ltr"]   [_nghost-%COMP%]   .alert-info[_ngcontent-%COMP%]{box-shadow:inset 41px 0 #179bd7}html[dir="rtl"][_nghost-%COMP%]   .alert-info[_ngcontent-%COMP%], html[dir="rtl"]   [_nghost-%COMP%]   .alert-info[_ngcontent-%COMP%]{box-shadow:inset -41px 0 #179bd7}.alert[_ngcontent-%COMP%]{position:relative;border-radius:2px;padding:10px 30px 10px 50px}html[dir="rtl"][_nghost-%COMP%]   .alert[_ngcontent-%COMP%], html[dir="rtl"]   [_nghost-%COMP%]   .alert[_ngcontent-%COMP%]{padding:10px 50px 10px 30px}.alert-message[_ngcontent-%COMP%]{color:#333;overflow-wrap:break-word;word-wrap:break-word;word-break:break-word}.alert-message[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{text-decoration:underline}.alert[_ngcontent-%COMP%]   .close[_ngcontent-%COMP%]{top:-2px;position:relative;right:-21px}html[dir="rtl"][_nghost-%COMP%]   .alert[_ngcontent-%COMP%]   .close[_ngcontent-%COMP%], html[dir="rtl"]   [_nghost-%COMP%]   .alert[_ngcontent-%COMP%]   .close[_ngcontent-%COMP%]{left:-21px;right:auto}.alert[_ngcontent-%COMP%]   .type-icon[_ngcontent-%COMP%]{color:#f2dede;left:10px;position:absolute;-webkit-text-size-adjust:100%;text-size-adjust:100%;font-size:20px;line-height:20px;top:9px}html[dir="rtl"][_nghost-%COMP%]   .alert[_ngcontent-%COMP%]   .type-icon[_ngcontent-%COMP%], html[dir="rtl"]   [_nghost-%COMP%]   .alert[_ngcontent-%COMP%]   .type-icon[_ngcontent-%COMP%]{left:auto;right:10px}.alert[_ngcontent-%COMP%]   .close[_ngcontent-%COMP%]{opacity:.5}.alert-success[_ngcontent-%COMP%]   .type-icon[_ngcontent-%COMP%]{color:#dff2d5}.alert-warning[_ngcontent-%COMP%]   .type-icon[_ngcontent-%COMP%]{color:#fcf8e1}.alert-info[_ngcontent-%COMP%]   .type-icon[_ngcontent-%COMP%]{color:#d7edf9}.alert[_ngcontent-%COMP%]   .alert-message[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]{margin-bottom:0;padding:0 30px}.alert-warning[_ngcontent-%COMP%]   .alert-message[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{color:#8a6d3b}.alert-warning[_ngcontent-%COMP%]   .alert-message[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{color:#333}.alert-success[_ngcontent-%COMP%]   .alert-message[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{color:#3c763d}.alert-success[_ngcontent-%COMP%]   .alert-message[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{color:#333}.alert-info[_ngcontent-%COMP%]   .alert-message[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{color:#31708f}.alert-info[_ngcontent-%COMP%]   .alert-message[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{color:#333}.alert-danger[_ngcontent-%COMP%]   .alert-message[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{color:#a94442}.alert-danger[_ngcontent-%COMP%]   .alert-message[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{color:#333}.alert[_ngcontent-%COMP%]   .btn-more[_ngcontent-%COMP%]{padding:0;margin:0;line-height:1em;text-transform:none;color:#255783}'],data:{animation:[(0,Pe.X$)("openClose",[(0,Pe.SB)(nt.new,(0,Pe.oB)({opacity:0})),(0,Pe.SB)(nt.open,(0,Pe.oB)({opacity:1})),(0,Pe.SB)(nt.closed,(0,Pe.oB)({opacity:0,transform:"translateX(25%)"})),(0,Pe.eR)(`${nt.open} => ${nt.closed}`,[(0,Pe.jt)("0.25s")]),(0,Pe.eR)(`${nt.new} => ${nt.open}`,[(0,Pe.jt)("0.25s")]),(0,Pe.eR)(`${nt.closed} => ${nt.open}`,[(0,Pe.jt)("0.25s")])])]}}),Y})(),St=(()=>{class Y{}return Y.\u0275fac=function(I){return new(I||Y)},Y.\u0275mod=s.oAB({type:Y}),Y.\u0275inj=s.cJS({imports:[[f.ez,le.PW,G.m]]}),Y})(),Zt=(()=>{class Y{constructor(I){this.locale=I}get position(){return this.locale.isLtr?$t:nn}}return Y.\u0275fac=function(I){return new(I||Y)(s.LFG(oe.g))},Y.\u0275prov=s.Yz7({token:Y,factory:Y.\u0275fac,providedIn:"root"}),Y})(),jt=(()=>{class Y{constructor(I,Ie){this._alertService=I,this._positionService=Ie,this.alerts=this.alerts?this.alerts:[]}set position(I){this._position=((Y,Re=Tt.topRight)=>{if(Y){const I=(Y=>{const Re=Object.keys(Tt),Ie=Object.values(Tt).indexOf(Y);return-1!==Ie?Re[Ie]:(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)})(Y);if(I)return Tt[I]}return Re})(I)}get position(){return this._position.toString()}alertClosed(I){this._alertService.removeById(I.id,this.group)}ngOnInit(){this.group||(this.group=un.defaultGroup),this._position||(this._position=this._positionService.position),this._alertService.list(this.group).forEach(Ie=>this._addAlert(Ie)),this._groupEvents=this._alertService.alertEvents.pipe((0,ee.h)(Ie=>Ie.group===this.group)),this._eventSubscription=this._groupEvents.subscribe({next:this._onAlertEvent.bind(this),error:console.error})}ngOnDestroy(){this._eventSubscription.unsubscribe()}_findAlertIndexById(I){return this.alerts.findIndex(Ie=>Ie.id===I)}_addAlert(I){return this.alerts.push(I),this.alerts}_removeAlert(I){const Ie=this._findAlertIndexById(I.id);return Ie>-1&&(this.alerts.splice(Ie,1),!0)}_clearAlerts(){this.alerts.splice(0,this.alerts.length)}_onAlertEvent(I){switch(I.type){case kt.add:this._addAlert(I.alert);break;case kt.clear:this._clearAlerts();break;case kt.remove:this._removeAlert(I.alert)}}get hasAlerts(){return this.alerts.length>0}get positionClasses(){return this.inline?Y.positionPrefix+Tt.inline.toString():Y.positionPrefix+this.position.toString()}}return Y.positionPrefix="position-",Y.\u0275fac=function(I){return new(I||Y)(s.Y36(un),s.Y36(Zt))},Y.\u0275cmp=s.Xpm({type:Y,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(I,Ie){1&I&&(s.TgZ(0,"div")(1,"div",0,1)(3,"div",2,3),s.YNc(5,Pn,2,1,"div",4),s.qZA()(),s.YNc(6,Or,1,1,"div",5),s.qZA()),2&I&&(s.xp6(1),s.Q6J("ngClass",Ie.positionClasses),s.xp6(4),s.Q6J("ngForOf",Ie.alerts),s.xp6(1),s.Q6J("ngIf",Ie.hasAlerts))},directives:[Qe,f.mk,f.sg,f.O5],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;top:0;right:0;bottom:0;left: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;bottom:auto;right:auto;left:0;top: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}}"]}),Y})(),x=(()=>{class Y{}return Y.\u0275fac=function(I){return new(I||Y)},Y.\u0275mod=s.oAB({type:Y}),Y.\u0275inj=s.cJS({imports:[[f.ez,St]]}),Y})(),z=(()=>{class Y{constructor(I){this.locale=I,this.autofocus=!1,this.debounce=250,this.disabled=!1,this.label="Search",this.placeholder="Search",this.valueChange=new s.vpe,this._searchSubject=new te.xQ,this._unsubscribe=new te.xQ,delete this.label,delete this.placeholder}set value(I){this._value=I,this._searchSubject.next(I)}get value(){return this._value}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,he.R)(this._unsubscribe),(0,L.b)(this.debounce),function re(Y,Re){return I=>I.lift(new X(Y,Re))}()).subscribe(I=>{this.valueChange.emit(I)})}ngAfterViewInit(){this.autofocus&&this.searchInput.nativeElement.focus()}ngOnDestroy(){this._unsubscribe.next(),this._unsubscribe.complete()}clearValue(){this.value=""}}return Y.\u0275fac=function(I){return new(I||Y)(s.Y36(oe.g))},Y.\u0275cmp=s.Xpm({type:Y,selectors:[["cp-search"]],viewQuery:function(I,Ie){if(1&I&&s.Gf(Un,5),2&I){let Ot;s.iGM(Ot=s.CRH())&&(Ie.searchInput=Ot.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(I,Ie){1&I&&(s.TgZ(0,"div",0)(1,"input",1,2),s.NdJ("ngModelChange",function(Bn){return Ie.value=Bn})("keyup.esc",function(){return Ie.clearValue()}),s.qZA(),s.TgZ(3,"span",3),s.NdJ("click",function(){return Ie.clearValue()}),s._UZ(4,"span",4),s.YNc(5,dr,2,1,"span",5),s.qZA()()),2&I&&(s.xp6(1),s.MGl("id","",Ie.id,"-search-input"),s.Q6J("ngModel",Ie.value)("disabled",Ie.disabled)("placeholder",Ie.placeholder)("title",Ie.label),s.uIk("aria-label",Ie.label)("list",Ie.list),s.xp6(2),s.MGl("id","",Ie.id,"-search-input-addon"),s.xp6(1),s.MGl("id","",Ie.id,"-search-input-icon"),s.Q6J("ngClass",(null==Ie.value?null:Ie.value.length)>0?"fas fa-times":"fas fa-search"),s.xp6(1),s.Q6J("ngIf",(null==Ie.value?null:Ie.value.length)>0))},directives:[N.Fj,N.JJ,N.On,f.mk,f.O5],styles:[""],changeDetection:0}),Y})(),U=(()=>{class Y{}return Y.\u0275fac=function(I){return new(I||Y)},Y.\u0275mod=s.oAB({type:Y}),Y.\u0275inj=s.cJS({imports:[[f.ez,N.u5,G.m]]}),Y})()},1765:(Ne,se,M)=>{"use strict";M.d(se,{w9:()=>z,A0:()=>Ae,Jr:()=>Ft});var s=M(5062),f=M(4719),te=M(353),Q=M(826),re=M(9054);class ie{constructor($){this.durationSelector=$}call($,y){return y.subscribe(new ee($,this.durationSelector))}}class ee extends Q.L{constructor($,y){super($),this.durationSelector=y,this.hasValue=!1}_next($){if(this.value=$,this.hasValue=!0,!this.throttled){let y;try{const{durationSelector:Ee}=this;y=Ee($)}catch(Ee){return this.destination.error(Ee)}const V=(0,re.D)(this,y);!V||V.closed?this.clearThrottle():this.add(this.throttled=V)}}clearThrottle(){const{value:$,hasValue:y,throttled:V}=this;V&&(this.remove(V),this.throttled=null,V.unsubscribe()),y&&(this.value=null,this.hasValue=!1,this.destination.next($))}notifyNext($,y,V,Ee){this.clearThrottle()}notifyComplete(){this.clearThrottle()}}var he=M(2916),L=M(4241),N=M(2866);function oe(R){const{index:$,period:y,subscriber:V}=R;if(V.next($),!V.closed){if(-1===y)return V.complete();R.index=$+1,this.schedule(R,y)}}var le=M(7625),Oe=M(1059),ke=M(2868),yt=M(13),it=M(2198),ut=M(4850);let pt=1;const ze=Promise.resolve(),xt={};function gt(R){return R in xt&&(delete xt[R],!0)}const Gt={setImmediate(R){const $=pt++;return xt[$]=!0,ze.then(()=>gt($)&&R()),$},clearImmediate(R){gt(R)}};var rt=M(6686),Xe=M(2268);const ot=new class tt extends Xe.v{flush($){this.active=!0,this.scheduled=void 0;const{actions:y}=this;let V,Ee=-1,Ke=y.length;$=$||y.shift();do{if(V=$.execute($.state,$.delay))break}while(++Ee<Ke&&($=y.shift()));if(this.active=!1,V){for(;++Ee<Ke&&($=y.shift());)$.unsubscribe();throw V}}}(class _e extends rt.o{constructor($,y){super($,y),this.scheduler=$,this.work=y}requestAsyncId($,y,V=0){return null!==V&&V>0?super.requestAsyncId($,y,V):($.actions.push(this),$.scheduled||($.scheduled=Gt.setImmediate($.flush.bind($,null))))}recycleAsyncId($,y,V=0){if(null!==V&&V>0||null===V&&this.delay>0)return super.recycleAsyncId($,y,V);0===$.actions.length&&(Gt.clearImmediate(y),$.scheduled=void 0)}});var We=M(5146),zt=M(5529),cn=M(3753),Lr=M(6787),Er=M(6895);const ir=["content"],si=["scroll"],Dr=["padding"],jr=function(R){return{searchTerm:R}};function zn(R,$){if(1&R&&(s.TgZ(0,"div",6),s.GkF(1,7),s.qZA()),2&R){const y=s.oxw();s.xp6(1),s.Q6J("ngTemplateOutlet",y.headerTemplate)("ngTemplateOutletContext",s.VKq(2,jr,y.filterValue))}}function Pn(R,$){if(1&R&&(s.TgZ(0,"div",8),s.GkF(1,7),s.qZA()),2&R){const y=s.oxw();s.xp6(1),s.Q6J("ngTemplateOutlet",y.footerTemplate)("ngTemplateOutletContext",s.VKq(2,jr,y.filterValue))}}const Or=["*"],Un=["searchInput"];function dr(R,$){if(1&R){const y=s.EpF();s.TgZ(0,"span",15),s.NdJ("click",function(){s.CHM(y);const Ee=s.oxw().$implicit;return s.oxw(2).unselect(Ee)}),s._uU(1,"\xd7"),s.qZA(),s._UZ(2,"span",16)}if(2&R){const y=s.oxw().$implicit,V=s.oxw(2);s.xp6(2),s.Q6J("ngItemLabel",y.label)("escape",V.escapeHTML)}}function Wn(R,$){}const $r=function(R,$,y){return{item:R,clear:$,label:y}};function tr(R,$){if(1&R&&(s.TgZ(0,"div",12),s.YNc(1,dr,3,2,"ng-template",null,13,s.W1O),s.YNc(3,Wn,0,0,"ng-template",14),s.qZA()),2&R){const y=$.$implicit,V=s.MAs(2),Ee=s.oxw(2);s.ekj("ng-value-disabled",y.disabled),s.xp6(3),s.Q6J("ngTemplateOutlet",Ee.labelTemplate||V)("ngTemplateOutletContext",s.kEZ(4,$r,y.value,Ee.clearItem,y.label))}}function Mn(R,$){if(1&R&&(s.ynx(0),s.YNc(1,tr,4,8,"div",11),s.BQk()),2&R){const y=s.oxw();s.xp6(1),s.Q6J("ngForOf",y.selectedItems)("ngForTrackBy",y.trackByOption)}}function Vn(R,$){}const Ar=function(R,$){return{items:R,clear:$}};function lr(R,$){if(1&R&&s.YNc(0,Vn,0,0,"ng-template",14),2&R){const y=s.oxw();s.Q6J("ngTemplateOutlet",y.multiLabelTemplate)("ngTemplateOutletContext",s.WLB(2,Ar,y.selectedValues,y.clearItem))}}function Yn(R,$){1&R&&s._UZ(0,"div",19)}function hr(R,$){}function xr(R,$){if(1&R&&(s.ynx(0),s.YNc(1,Yn,1,0,"ng-template",null,17,s.W1O),s.YNc(3,hr,0,0,"ng-template",18),s.BQk()),2&R){const y=s.MAs(2),V=s.oxw();s.xp6(3),s.Q6J("ngTemplateOutlet",V.loadingSpinnerTemplate||y)}}function On(R,$){if(1&R&&(s.TgZ(0,"span",20)(1,"span",21),s._uU(2,"\xd7"),s.qZA()()),2&R){const y=s.oxw();s.s9C("title",y.clearAllText)}}function Ce(R,$){if(1&R&&s._UZ(0,"span",27),2&R){const y=s.oxw().$implicit,V=s.oxw(2);s.Q6J("ngItemLabel",y.label)("escape",V.escapeHTML)}}function Me(R,$){}const me=function(R,$,y,V){return{item:R,item$:$,index:y,searchTerm:V}};function J(R,$){if(1&R){const y=s.EpF();s.TgZ(0,"div",25),s.NdJ("click",function(){const Ke=s.CHM(y).$implicit;return s.oxw(2).toggleItem(Ke)})("mouseover",function(){const Ke=s.CHM(y).$implicit;return s.oxw(2).onItemHover(Ke)}),s.YNc(1,Ce,1,2,"ng-template",null,26,s.W1O),s.YNc(3,Me,0,0,"ng-template",14),s.qZA()}if(2&R){const y=$.$implicit,V=s.MAs(2),Ee=s.oxw(2);s.ekj("ng-option-disabled",y.disabled)("ng-option-selected",y.selected)("ng-optgroup",y.children)("ng-option",!y.children)("ng-option-child",!!y.parent)("ng-option-marked",y===Ee.itemsList.markedItem),s.uIk("role",y.children?"group":"option")("aria-selected",y.selected)("id",null==y?null:y.htmlId),s.xp6(3),s.Q6J("ngTemplateOutlet",y.children?Ee.optgroupTemplate||V:Ee.optionTemplate||V)("ngTemplateOutletContext",s.l5B(17,me,y.value,y,y.index,Ee.searchTerm))}}function ne(R,$){if(1&R&&(s.TgZ(0,"span")(1,"span",30),s._uU(2),s.qZA(),s._uU(3),s.qZA()),2&R){const y=s.oxw(3);s.xp6(2),s.Oqu(y.addTagText),s.xp6(1),s.hij('"',y.searchTerm,'"')}}function Fe(R,$){}function He(R,$){if(1&R){const y=s.EpF();s.TgZ(0,"div",28),s.NdJ("mouseover",function(){return s.CHM(y),s.oxw(2).itemsList.unmarkItem()})("click",function(){return s.CHM(y),s.oxw(2).selectTag()}),s.YNc(1,ne,4,2,"ng-template",null,29,s.W1O),s.YNc(3,Fe,0,0,"ng-template",14),s.qZA()}if(2&R){const y=s.MAs(2),V=s.oxw(2);s.ekj("ng-option-marked",!V.itemsList.markedItem),s.xp6(3),s.Q6J("ngTemplateOutlet",V.tagTemplate||y)("ngTemplateOutletContext",s.VKq(4,jr,V.searchTerm))}}function Ge(R,$){if(1&R&&(s.TgZ(0,"div",32),s._uU(1),s.qZA()),2&R){const y=s.oxw(3);s.xp6(1),s.Oqu(y.notFoundText)}}function st(R,$){}function It(R,$){if(1&R&&(s.ynx(0),s.YNc(1,Ge,2,1,"ng-template",null,31,s.W1O),s.YNc(3,st,0,0,"ng-template",14),s.BQk()),2&R){const y=s.MAs(2),V=s.oxw(2);s.xp6(3),s.Q6J("ngTemplateOutlet",V.notFoundTemplate||y)("ngTemplateOutletContext",s.VKq(2,jr,V.searchTerm))}}function dt(R,$){if(1&R&&(s.TgZ(0,"div",32),s._uU(1),s.qZA()),2&R){const y=s.oxw(3);s.xp6(1),s.Oqu(y.typeToSearchText)}}function kt(R,$){}function un(R,$){if(1&R&&(s.ynx(0),s.YNc(1,dt,2,1,"ng-template",null,33,s.W1O),s.YNc(3,kt,0,0,"ng-template",18),s.BQk()),2&R){const y=s.MAs(2),V=s.oxw(2);s.xp6(3),s.Q6J("ngTemplateOutlet",V.typeToSearchTemplate||y)}}function Yt(R,$){if(1&R&&(s.TgZ(0,"div",32),s._uU(1),s.qZA()),2&R){const y=s.oxw(3);s.xp6(1),s.Oqu(y.loadingText)}}function Tt(R,$){}function Rt(R,$){if(1&R&&(s.ynx(0),s.YNc(1,Yt,2,1,"ng-template",null,34,s.W1O),s.YNc(3,Tt,0,0,"ng-template",14),s.BQk()),2&R){const y=s.MAs(2),V=s.oxw(2);s.xp6(3),s.Q6J("ngTemplateOutlet",V.loadingTextTemplate||y)("ngTemplateOutletContext",s.VKq(2,jr,V.searchTerm))}}function $t(R,$){if(1&R){const y=s.EpF();s.TgZ(0,"ng-dropdown-panel",22),s.NdJ("update",function(Ee){return s.CHM(y),s.oxw().viewPortItems=Ee})("scroll",function(Ee){return s.CHM(y),s.oxw().scroll.emit(Ee)})("scrollToEnd",function(Ee){return s.CHM(y),s.oxw().scrollToEnd.emit(Ee)})("outsideClick",function(){return s.CHM(y),s.oxw().close()}),s.ynx(1),s.YNc(2,J,4,22,"div",23),s.YNc(3,He,4,6,"div",24),s.BQk(),s.YNc(4,It,4,4,"ng-container",3),s.YNc(5,un,4,1,"ng-container",3),s.YNc(6,Rt,4,4,"ng-container",3),s.qZA()}if(2&R){const y=s.oxw();s.ekj("ng-select-multiple",y.multiple),s.Q6J("virtualScroll",y.virtualScroll)("bufferAmount",y.bufferAmount)("appendTo",y.appendTo)("position",y.dropdownPosition)("headerTemplate",y.headerTemplate)("footerTemplate",y.footerTemplate)("filterValue",y.searchTerm)("items",y.itemsList.filteredItems)("markedItem",y.itemsList.markedItem)("ngClass",y.appendTo?y.classes:null)("id",y.dropdownId),s.xp6(2),s.Q6J("ngForOf",y.viewPortItems)("ngForTrackBy",y.trackByOption),s.xp6(1),s.Q6J("ngIf",y.showAddTag),s.xp6(1),s.Q6J("ngIf",y.showNoItemsFound()),s.xp6(1),s.Q6J("ngIf",y.showTypeToSearch()),s.xp6(1),s.Q6J("ngIf",y.loading&&0===y.itemsList.filteredItems.length)}}const nn=/[&<>"']/g,sn=RegExp(nn.source),Mt={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"};function Xt(R){return null!=R}function _n(R){return"object"==typeof R&&Xt(R)}function Bt(R){return R instanceof Function}let En=(()=>{class R{constructor(y){this.element=y,this.escape=!0}ngOnChanges(y){this.element.nativeElement.innerHTML=this.escape?function an(R){return R&&sn.test(R)?R.replace(nn,$=>Mt[$]):R}(this.ngItemLabel):this.ngItemLabel}}return R.\u0275fac=function(y){return new(y||R)(s.Y36(s.SBq))},R.\u0275dir=s.lG2({type:R,selectors:[["","ngItemLabel",""]],inputs:{ngItemLabel:"ngItemLabel",escape:"escape"},features:[s.TTD]}),R})(),Vt=(()=>{class R{constructor(y){this.template=y}}return R.\u0275fac=function(y){return new(y||R)(s.Y36(s.Rgc))},R.\u0275dir=s.lG2({type:R,selectors:[["","ng-option-tmp",""]]}),R})(),qt=(()=>{class R{constructor(y){this.template=y}}return R.\u0275fac=function(y){return new(y||R)(s.Y36(s.Rgc))},R.\u0275dir=s.lG2({type:R,selectors:[["","ng-optgroup-tmp",""]]}),R})(),Wt=(()=>{class R{constructor(y){this.template=y}}return R.\u0275fac=function(y){return new(y||R)(s.Y36(s.Rgc))},R.\u0275dir=s.lG2({type:R,selectors:[["","ng-label-tmp",""]]}),R})(),ur=(()=>{class R{constructor(y){this.template=y}}return R.\u0275fac=function(y){return new(y||R)(s.Y36(s.Rgc))},R.\u0275dir=s.lG2({type:R,selectors:[["","ng-multi-label-tmp",""]]}),R})(),$e=(()=>{class R{constructor(y){this.template=y}}return R.\u0275fac=function(y){return new(y||R)(s.Y36(s.Rgc))},R.\u0275dir=s.lG2({type:R,selectors:[["","ng-header-tmp",""]]}),R})(),we=(()=>{class R{constructor(y){this.template=y}}return R.\u0275fac=function(y){return new(y||R)(s.Y36(s.Rgc))},R.\u0275dir=s.lG2({type:R,selectors:[["","ng-footer-tmp",""]]}),R})(),ce=(()=>{class R{constructor(y){this.template=y}}return R.\u0275fac=function(y){return new(y||R)(s.Y36(s.Rgc))},R.\u0275dir=s.lG2({type:R,selectors:[["","ng-notfound-tmp",""]]}),R})(),Be=(()=>{class R{constructor(y){this.template=y}}return R.\u0275fac=function(y){return new(y||R)(s.Y36(s.Rgc))},R.\u0275dir=s.lG2({type:R,selectors:[["","ng-typetosearch-tmp",""]]}),R})(),at=(()=>{class R{constructor(y){this.template=y}}return R.\u0275fac=function(y){return new(y||R)(s.Y36(s.Rgc))},R.\u0275dir=s.lG2({type:R,selectors:[["","ng-loadingtext-tmp",""]]}),R})(),Ft=(()=>{class R{constructor(y){this.template=y}}return R.\u0275fac=function(y){return new(y||R)(s.Y36(s.Rgc))},R.\u0275dir=s.lG2({type:R,selectors:[["","ng-tag-tmp",""]]}),R})(),Ut=(()=>{class R{constructor(y){this.template=y}}return R.\u0275fac=function(y){return new(y||R)(s.Y36(s.Rgc))},R.\u0275dir=s.lG2({type:R,selectors:[["","ng-loadingspinner-tmp",""]]}),R})();function At(){return"axxxxxxxxxxx".replace(/[x]/g,()=>(16*Math.random()|0).toString(16))}const ge={"\u24b6":"A",\uff21:"A",\u00c0:"A",\u00c1:"A",\u00c2:"A",\u1ea6:"A",\u1ea4:"A",\u1eaa:"A",\u1ea8:"A",\u00c3:"A",\u0100:"A",\u0102:"A",\u1eb0:"A",\u1eae:"A",\u1eb4:"A",\u1eb2:"A",\u0226:"A",\u01e0:"A",\u00c4:"A",\u01de:"A",\u1ea2:"A",\u00c5:"A",\u01fa:"A",\u01cd:"A",\u0200:"A",\u0202:"A",\u1ea0:"A",\u1eac:"A",\u1eb6:"A",\u1e00:"A",\u0104:"A",\u023a:"A",\u2c6f:"A",\ua732:"AA",\u00c6:"AE",\u01fc:"AE",\u01e2:"AE",\ua734:"AO",\ua736:"AU",\ua738:"AV",\ua73a:"AV",\ua73c:"AY","\u24b7":"B",\uff22:"B",\u1e02:"B",\u1e04:"B",\u1e06:"B",\u0243:"B",\u0182:"B",\u0181:"B","\u24b8":"C",\uff23:"C",\u0106:"C",\u0108:"C",\u010a:"C",\u010c:"C",\u00c7:"C",\u1e08:"C",\u0187:"C",\u023b:"C",\ua73e:"C","\u24b9":"D",\uff24:"D",\u1e0a:"D",\u010e:"D",\u1e0c:"D",\u1e10:"D",\u1e12:"D",\u1e0e:"D",\u0110:"D",\u018b:"D",\u018a:"D",\u0189:"D",\ua779:"D",\u01f1:"DZ",\u01c4:"DZ",\u01f2:"Dz",\u01c5:"Dz","\u24ba":"E",\uff25:"E",\u00c8:"E",\u00c9:"E",\u00ca:"E",\u1ec0:"E",\u1ebe:"E",\u1ec4:"E",\u1ec2:"E",\u1ebc:"E",\u0112:"E",\u1e14:"E",\u1e16:"E",\u0114:"E",\u0116:"E",\u00cb:"E",\u1eba:"E",\u011a:"E",\u0204:"E",\u0206:"E",\u1eb8:"E",\u1ec6:"E",\u0228:"E",\u1e1c:"E",\u0118:"E",\u1e18:"E",\u1e1a:"E",\u0190:"E",\u018e:"E","\u24bb":"F",\uff26:"F",\u1e1e:"F",\u0191:"F",\ua77b:"F","\u24bc":"G",\uff27:"G",\u01f4:"G",\u011c:"G",\u1e20:"G",\u011e:"G",\u0120:"G",\u01e6:"G",\u0122:"G",\u01e4:"G",\u0193:"G",\ua7a0:"G",\ua77d:"G",\ua77e:"G","\u24bd":"H",\uff28:"H",\u0124:"H",\u1e22:"H",\u1e26:"H",\u021e:"H",\u1e24:"H",\u1e28:"H",\u1e2a:"H",\u0126:"H",\u2c67:"H",\u2c75:"H",\ua78d:"H","\u24be":"I",\uff29:"I",\u00cc:"I",\u00cd:"I",\u00ce:"I",\u0128:"I",\u012a:"I",\u012c:"I",\u0130:"I",\u00cf:"I",\u1e2e:"I",\u1ec8:"I",\u01cf:"I",\u0208:"I",\u020a:"I",\u1eca:"I",\u012e:"I",\u1e2c:"I",\u0197:"I","\u24bf":"J",\uff2a:"J",\u0134:"J",\u0248:"J","\u24c0":"K",\uff2b:"K",\u1e30:"K",\u01e8:"K",\u1e32:"K",\u0136:"K",\u1e34:"K",\u0198:"K",\u2c69:"K",\ua740:"K",\ua742:"K",\ua744:"K",\ua7a2:"K","\u24c1":"L",\uff2c:"L",\u013f:"L",\u0139:"L",\u013d:"L",\u1e36:"L",\u1e38:"L",\u013b:"L",\u1e3c:"L",\u1e3a:"L",\u0141:"L",\u023d:"L",\u2c62:"L",\u2c60:"L",\ua748:"L",\ua746:"L",\ua780:"L",\u01c7:"LJ",\u01c8:"Lj","\u24c2":"M",\uff2d:"M",\u1e3e:"M",\u1e40:"M",\u1e42:"M",\u2c6e:"M",\u019c:"M","\u24c3":"N",\uff2e:"N",\u01f8:"N",\u0143:"N",\u00d1:"N",\u1e44:"N",\u0147:"N",\u1e46:"N",\u0145:"N",\u1e4a:"N",\u1e48:"N",\u0220:"N",\u019d:"N",\ua790:"N",\ua7a4:"N",\u01ca:"NJ",\u01cb:"Nj","\u24c4":"O",\uff2f:"O",\u00d2:"O",\u00d3:"O",\u00d4:"O",\u1ed2:"O",\u1ed0:"O",\u1ed6:"O",\u1ed4:"O",\u00d5:"O",\u1e4c:"O",\u022c:"O",\u1e4e:"O",\u014c:"O",\u1e50:"O",\u1e52:"O",\u014e:"O",\u022e:"O",\u0230:"O",\u00d6:"O",\u022a:"O",\u1ece:"O",\u0150:"O",\u01d1:"O",\u020c:"O",\u020e:"O",\u01a0:"O",\u1edc:"O",\u1eda:"O",\u1ee0:"O",\u1ede:"O",\u1ee2:"O",\u1ecc:"O",\u1ed8:"O",\u01ea:"O",\u01ec:"O",\u00d8:"O",\u01fe:"O",\u0186:"O",\u019f:"O",\ua74a:"O",\ua74c:"O",\u01a2:"OI",\ua74e:"OO",\u0222:"OU","\u24c5":"P",\uff30:"P",\u1e54:"P",\u1e56:"P",\u01a4:"P",\u2c63:"P",\ua750:"P",\ua752:"P",\ua754:"P","\u24c6":"Q",\uff31:"Q",\ua756:"Q",\ua758:"Q",\u024a:"Q","\u24c7":"R",\uff32:"R",\u0154:"R",\u1e58:"R",\u0158:"R",\u0210:"R",\u0212:"R",\u1e5a:"R",\u1e5c:"R",\u0156:"R",\u1e5e:"R",\u024c:"R",\u2c64:"R",\ua75a:"R",\ua7a6:"R",\ua782:"R","\u24c8":"S",\uff33:"S",\u1e9e:"S",\u015a:"S",\u1e64:"S",\u015c:"S",\u1e60:"S",\u0160:"S",\u1e66:"S",\u1e62:"S",\u1e68:"S",\u0218:"S",\u015e:"S",\u2c7e:"S",\ua7a8:"S",\ua784:"S","\u24c9":"T",\uff34:"T",\u1e6a:"T",\u0164:"T",\u1e6c:"T",\u021a:"T",\u0162:"T",\u1e70:"T",\u1e6e:"T",\u0166:"T",\u01ac:"T",\u01ae:"T",\u023e:"T",\ua786:"T",\ua728:"TZ","\u24ca":"U",\uff35:"U",\u00d9:"U",\u00da:"U",\u00db:"U",\u0168:"U",\u1e78:"U",\u016a:"U",\u1e7a:"U",\u016c:"U",\u00dc:"U",\u01db:"U",\u01d7:"U",\u01d5:"U",\u01d9:"U",\u1ee6:"U",\u016e:"U",\u0170:"U",\u01d3:"U",\u0214:"U",\u0216:"U",\u01af:"U",\u1eea:"U",\u1ee8:"U",\u1eee:"U",\u1eec:"U",\u1ef0:"U",\u1ee4:"U",\u1e72:"U",\u0172:"U",\u1e76:"U",\u1e74:"U",\u0244:"U","\u24cb":"V",\uff36:"V",\u1e7c:"V",\u1e7e:"V",\u01b2:"V",\ua75e:"V",\u0245:"V",\ua760:"VY","\u24cc":"W",\uff37:"W",\u1e80:"W",\u1e82:"W",\u0174:"W",\u1e86:"W",\u1e84:"W",\u1e88:"W",\u2c72:"W","\u24cd":"X",\uff38:"X",\u1e8a:"X",\u1e8c:"X","\u24ce":"Y",\uff39:"Y",\u1ef2:"Y",\u00dd:"Y",\u0176:"Y",\u1ef8:"Y",\u0232:"Y",\u1e8e:"Y",\u0178:"Y",\u1ef6:"Y",\u1ef4:"Y",\u01b3:"Y",\u024e:"Y",\u1efe:"Y","\u24cf":"Z",\uff3a:"Z",\u0179:"Z",\u1e90:"Z",\u017b:"Z",\u017d:"Z",\u1e92:"Z",\u1e94:"Z",\u01b5:"Z",\u0224:"Z",\u2c7f:"Z",\u2c6b:"Z",\ua762:"Z","\u24d0":"a",\uff41:"a",\u1e9a:"a",\u00e0:"a",\u00e1:"a",\u00e2:"a",\u1ea7:"a",\u1ea5:"a",\u1eab:"a",\u1ea9:"a",\u00e3:"a",\u0101:"a",\u0103:"a",\u1eb1:"a",\u1eaf:"a",\u1eb5:"a",\u1eb3:"a",\u0227:"a",\u01e1:"a",\u00e4:"a",\u01df:"a",\u1ea3:"a",\u00e5:"a",\u01fb:"a",\u01ce:"a",\u0201:"a",\u0203:"a",\u1ea1:"a",\u1ead:"a",\u1eb7:"a",\u1e01:"a",\u0105:"a",\u2c65:"a",\u0250:"a",\ua733:"aa",\u00e6:"ae",\u01fd:"ae",\u01e3:"ae",\ua735:"ao",\ua737:"au",\ua739:"av",\ua73b:"av",\ua73d:"ay","\u24d1":"b",\uff42:"b",\u1e03:"b",\u1e05:"b",\u1e07:"b",\u0180:"b",\u0183:"b",\u0253:"b","\u24d2":"c",\uff43:"c",\u0107:"c",\u0109:"c",\u010b:"c",\u010d:"c",\u00e7:"c",\u1e09:"c",\u0188:"c",\u023c:"c",\ua73f:"c",\u2184:"c","\u24d3":"d",\uff44:"d",\u1e0b:"d",\u010f:"d",\u1e0d:"d",\u1e11:"d",\u1e13:"d",\u1e0f:"d",\u0111:"d",\u018c:"d",\u0256:"d",\u0257:"d",\ua77a:"d",\u01f3:"dz",\u01c6:"dz","\u24d4":"e",\uff45:"e",\u00e8:"e",\u00e9:"e",\u00ea:"e",\u1ec1:"e",\u1ebf:"e",\u1ec5:"e",\u1ec3:"e",\u1ebd:"e",\u0113:"e",\u1e15:"e",\u1e17:"e",\u0115:"e",\u0117:"e",\u00eb:"e",\u1ebb:"e",\u011b:"e",\u0205:"e",\u0207:"e",\u1eb9:"e",\u1ec7:"e",\u0229:"e",\u1e1d:"e",\u0119:"e",\u1e19:"e",\u1e1b:"e",\u0247:"e",\u025b:"e",\u01dd:"e","\u24d5":"f",\uff46:"f",\u1e1f:"f",\u0192:"f",\ua77c:"f","\u24d6":"g",\uff47:"g",\u01f5:"g",\u011d:"g",\u1e21:"g",\u011f:"g",\u0121:"g",\u01e7:"g",\u0123:"g",\u01e5:"g",\u0260:"g",\ua7a1:"g",\u1d79:"g",\ua77f:"g","\u24d7":"h",\uff48:"h",\u0125:"h",\u1e23:"h",\u1e27:"h",\u021f:"h",\u1e25:"h",\u1e29:"h",\u1e2b:"h",\u1e96:"h",\u0127:"h",\u2c68:"h",\u2c76:"h",\u0265:"h",\u0195:"hv","\u24d8":"i",\uff49:"i",\u00ec:"i",\u00ed:"i",\u00ee:"i",\u0129:"i",\u012b:"i",\u012d:"i",\u00ef:"i",\u1e2f:"i",\u1ec9:"i",\u01d0:"i",\u0209:"i",\u020b:"i",\u1ecb:"i",\u012f:"i",\u1e2d:"i",\u0268:"i",\u0131:"i","\u24d9":"j",\uff4a:"j",\u0135:"j",\u01f0:"j",\u0249:"j","\u24da":"k",\uff4b:"k",\u1e31:"k",\u01e9:"k",\u1e33:"k",\u0137:"k",\u1e35:"k",\u0199:"k",\u2c6a:"k",\ua741:"k",\ua743:"k",\ua745:"k",\ua7a3:"k","\u24db":"l",\uff4c:"l",\u0140:"l",\u013a:"l",\u013e:"l",\u1e37:"l",\u1e39:"l",\u013c:"l",\u1e3d:"l",\u1e3b:"l",\u017f:"l",\u0142:"l",\u019a:"l",\u026b:"l",\u2c61:"l",\ua749:"l",\ua781:"l",\ua747:"l",\u01c9:"lj","\u24dc":"m",\uff4d:"m",\u1e3f:"m",\u1e41:"m",\u1e43:"m",\u0271:"m",\u026f:"m","\u24dd":"n",\uff4e:"n",\u01f9:"n",\u0144:"n",\u00f1:"n",\u1e45:"n",\u0148:"n",\u1e47:"n",\u0146:"n",\u1e4b:"n",\u1e49:"n",\u019e:"n",\u0272:"n",\u0149:"n",\ua791:"n",\ua7a5:"n",\u01cc:"nj","\u24de":"o",\uff4f:"o",\u00f2:"o",\u00f3:"o",\u00f4:"o",\u1ed3:"o",\u1ed1:"o",\u1ed7:"o",\u1ed5:"o",\u00f5:"o",\u1e4d:"o",\u022d:"o",\u1e4f:"o",\u014d:"o",\u1e51:"o",\u1e53:"o",\u014f:"o",\u022f:"o",\u0231:"o",\u00f6:"o",\u022b:"o",\u1ecf:"o",\u0151:"o",\u01d2:"o",\u020d:"o",\u020f:"o",\u01a1:"o",\u1edd:"o",\u1edb:"o",\u1ee1:"o",\u1edf:"o",\u1ee3:"o",\u1ecd:"o",\u1ed9:"o",\u01eb:"o",\u01ed:"o",\u00f8:"o",\u01ff:"o",\u0254:"o",\ua74b:"o",\ua74d:"o",\u0275:"o",\u01a3:"oi",\u0223:"ou",\ua74f:"oo","\u24df":"p",\uff50:"p",\u1e55:"p",\u1e57:"p",\u01a5:"p",\u1d7d:"p",\ua751:"p",\ua753:"p",\ua755:"p","\u24e0":"q",\uff51:"q",\u024b:"q",\ua757:"q",\ua759:"q","\u24e1":"r",\uff52:"r",\u0155:"r",\u1e59:"r",\u0159:"r",\u0211:"r",\u0213:"r",\u1e5b:"r",\u1e5d:"r",\u0157:"r",\u1e5f:"r",\u024d:"r",\u027d:"r",\ua75b:"r",\ua7a7:"r",\ua783:"r","\u24e2":"s",\uff53:"s",\u00df:"s",\u015b:"s",\u1e65:"s",\u015d:"s",\u1e61:"s",\u0161:"s",\u1e67:"s",\u1e63:"s",\u1e69:"s",\u0219:"s",\u015f:"s",\u023f:"s",\ua7a9:"s",\ua785:"s",\u1e9b:"s","\u24e3":"t",\uff54:"t",\u1e6b:"t",\u1e97:"t",\u0165:"t",\u1e6d:"t",\u021b:"t",\u0163:"t",\u1e71:"t",\u1e6f:"t",\u0167:"t",\u01ad:"t",\u0288:"t",\u2c66:"t",\ua787:"t",\ua729:"tz","\u24e4":"u",\uff55:"u",\u00f9:"u",\u00fa:"u",\u00fb:"u",\u0169:"u",\u1e79:"u",\u016b:"u",\u1e7b:"u",\u016d:"u",\u00fc:"u",\u01dc:"u",\u01d8:"u",\u01d6:"u",\u01da:"u",\u1ee7:"u",\u016f:"u",\u0171:"u",\u01d4:"u",\u0215:"u",\u0217:"u",\u01b0:"u",\u1eeb:"u",\u1ee9:"u",\u1eef:"u",\u1eed:"u",\u1ef1:"u",\u1ee5:"u",\u1e73:"u",\u0173:"u",\u1e77:"u",\u1e75:"u",\u0289:"u","\u24e5":"v",\uff56:"v",\u1e7d:"v",\u1e7f:"v",\u028b:"v",\ua75f:"v",\u028c:"v",\ua761:"vy","\u24e6":"w",\uff57:"w",\u1e81:"w",\u1e83:"w",\u0175:"w",\u1e87:"w",\u1e85:"w",\u1e98:"w",\u1e89:"w",\u2c73:"w","\u24e7":"x",\uff58:"x",\u1e8b:"x",\u1e8d:"x","\u24e8":"y",\uff59:"y",\u1ef3:"y",\u00fd:"y",\u0177:"y",\u1ef9:"y",\u0233:"y",\u1e8f:"y",\u00ff:"y",\u1ef7:"y",\u1e99:"y",\u1ef5:"y",\u01b4:"y",\u024f:"y",\u1eff:"y","\u24e9":"z",\uff5a:"z",\u017a:"z",\u1e91:"z",\u017c:"z",\u017e:"z",\u1e93:"z",\u1e95:"z",\u01b6:"z",\u0225:"z",\u0240:"z",\u2c6c:"z",\ua763:"z",\u0386:"\u0391",\u0388:"\u0395",\u0389:"\u0397",\u038a:"\u0399",\u03aa:"\u0399",\u038c:"\u039f",\u038e:"\u03a5",\u03ab:"\u03a5",\u038f:"\u03a9",\u03ac:"\u03b1",\u03ad:"\u03b5",\u03ae:"\u03b7",\u03af:"\u03b9",\u03ca:"\u03b9",\u0390:"\u03b9",\u03cc:"\u03bf",\u03cd:"\u03c5",\u03cb:"\u03c5",\u03b0:"\u03c5",\u03c9:"\u03c9",\u03c2:"\u03c3"};function Ue(R){return R.replace(/[^\u0000-\u007E]/g,y=>ge[y]||y)}class _t{constructor($,y){this._ngSelect=$,this._selectionModel=y,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 $=this.selectedItems.length-1;for(;$>=0;$--){const y=this.selectedItems[$];if(!y.disabled)return y}return null}setItems($){this._items=$.map((y,V)=>this.mapItem(y,V)),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($){if($.selected||this.maxItemsSelected)return;const y=this._ngSelect.multiple;y||this.clearSelected(),this._selectionModel.select($,y,this._ngSelect.selectableGroupAsModel),this._ngSelect.hideSelected&&this._hideSelected($)}unselect($){!$.selected||(this._selectionModel.unselect($,this._ngSelect.multiple),this._ngSelect.hideSelected&&Xt($.index)&&this._ngSelect.multiple&&this._showSelected($))}findItem($){let y;return y=this._ngSelect.compareWith?V=>this._ngSelect.compareWith(V.value,$):this._ngSelect.bindValue?V=>!V.children&&this.resolveNested(V.value,this._ngSelect.bindValue)===$:V=>V.value===$||!V.children&&V.label&&V.label===this.resolveNested($,this._ngSelect.bindLabel),this._items.find(V=>y(V))}addItem($){const y=this.mapItem($,this._items.length);return this._items.push(y),this._filteredItems.push(y),y}clearSelected($=!1){this._selectionModel.clear($),this._items.forEach(y=>{y.selected=$&&y.selected&&y.disabled,y.marked=!1}),this._ngSelect.hideSelected&&this.resetFilteredItems()}findByLabel($){return $=Ue($).toLocaleLowerCase(),this.filteredItems.find(y=>Ue(y.label).toLocaleLowerCase().substr(0,$.length)===$)}filter($){if(!$)return void this.resetFilteredItems();this._filteredItems=[],$=this._ngSelect.searchFn?$:Ue($).toLocaleLowerCase();const y=this._ngSelect.searchFn||this._defaultSearchFn,V=this._ngSelect.hideSelected;for(const Ee of Array.from(this._groups.keys())){const Ke=[];for(const bt of this._groups.get(Ee))V&&(bt.parent&&bt.parent.selected||bt.selected)||y($,this._ngSelect.searchFn?bt.value:bt)&&Ke.push(bt);if(Ke.length>0){const[bt]=Ke.slice(-1);if(bt.parent){const ln=this._items.find(Qt=>Qt===bt.parent);this._filteredItems.push(ln)}this._filteredItems.push(...Ke)}}}resetFilteredItems(){this._filteredItems.length!==this._items.length&&(this._filteredItems=this._ngSelect.hideSelected&&this.selectedItems.length>0?this._items.filter($=>!$.selected):this._items)}unmarkItem(){this._markedIndex=-1}markNextItem(){this._stepToItem(1)}markPreviousItem(){this._stepToItem(-1)}markItem($){this._markedIndex=this._filteredItems.indexOf($)}markSelectedOrDefault($){if(0===this._filteredItems.length)return;const y=this._getLastMarkedIndex();this._markedIndex=y>-1?y:$?this.filteredItems.findIndex(V=>!V.disabled):-1}resolveNested($,y){if(!_n($))return $;if(-1===y.indexOf("."))return $[y];{const V=y.split(".");let Ee=$;for(let Ke=0,bt=V.length;Ke<bt;++Ke){if(null==Ee)return null;Ee=Ee[V[Ke]]}return Ee}}mapItem($,y){const V=Xt($.$ngOptionLabel)?$.$ngOptionLabel:this.resolveNested($,this._ngSelect.bindLabel),Ee=Xt($.$ngOptionValue)?$.$ngOptionValue:$;return{index:y,label:Xt(V)?V.toString():"",value:Ee,disabled:$.disabled,htmlId:`${this._ngSelect.dropdownId}-${y}`}}mapSelectedItems(){const $=this._ngSelect.multiple;for(const y of this.selectedItems){const V=this._ngSelect.bindValue?this.resolveNested(y.value,this._ngSelect.bindValue):y.value,Ee=Xt(V)?this.findItem(V):null;this._selectionModel.unselect(y,$),this._selectionModel.select(Ee||y,$,this._ngSelect.selectableGroupAsModel)}this._ngSelect.hideSelected&&(this._filteredItems=this.filteredItems.filter(y=>-1===this.selectedItems.indexOf(y)))}_showSelected($){if(this._filteredItems.push($),$.parent){const y=$.parent;this._filteredItems.find(Ee=>Ee===y)||this._filteredItems.push(y)}else if($.children)for(const y of $.children)y.selected=!1,this._filteredItems.push(y);this._filteredItems=[...this._filteredItems.sort((y,V)=>y.index-V.index)]}_hideSelected($){this._filteredItems=this._filteredItems.filter(y=>y!==$),$.parent?$.parent.children.every(V=>V.selected)&&(this._filteredItems=this._filteredItems.filter(V=>V!==$.parent)):$.children&&(this._filteredItems=this.filteredItems.filter(y=>y.parent!==$))}_defaultSearchFn($,y){return Ue(y.label).toLocaleLowerCase().indexOf($)>-1}_getNextItemIndex($){return $>0?this._markedIndex>=this._filteredItems.length-1?0:this._markedIndex+1:this._markedIndex<=0?this._filteredItems.length-1:this._markedIndex-1}_stepToItem($){0===this._filteredItems.length||this._filteredItems.every(y=>y.disabled)||(this._markedIndex=this._getNextItemIndex($),this.markedItem.disabled&&this._stepToItem($))}_getLastMarkedIndex(){if(this._ngSelect.hideSelected||this._markedIndex>-1&&void 0===this.markedItem)return-1;const $=this._filteredItems.indexOf(this.lastSelectedItem);return this.lastSelectedItem&&$<0?-1:Math.max(this.markedIndex,$)}_groupBy($,y){const V=new Map;if(0===$.length)return V;if(Array.isArray($[0].value[y])){for(const bt of $){const ln=(bt.value[y]||[]).map((Qt,kn)=>this.mapItem(Qt,kn));V.set(bt,ln)}return V}const Ee=Bt(this._ngSelect.groupBy),Ke=bt=>{const ln=Ee?y(bt.value):bt.value[y];return Xt(ln)?ln:void 0};for(const bt of $){const ln=Ke(bt),Qt=V.get(ln);Qt?Qt.push(bt):V.set(ln,[bt])}return V}_flatten($){const y=Bt(this._ngSelect.groupBy),V=[];for(const Ee of Array.from($.keys())){let Ke=V.length;if(void 0===Ee){const sr=$.get(void 0)||[];V.push(...sr.map(or=>(or.index=Ke++,or)));continue}const bt=_n(Ee),ln={label:bt?"":String(Ee),children:void 0,parent:null,index:Ke++,disabled:!this._ngSelect.selectableGroup,htmlId:At()},Qt=y?this._ngSelect.bindLabel:this._ngSelect.groupBy,kn=this._ngSelect.groupValue||(()=>bt?Ee.value:{[Qt]:Ee}),fr=$.get(Ee).map(sr=>(sr.parent=ln,sr.children=void 0,sr.index=Ke++,sr));ln.children=fr,ln.value=kn(Ee,fr.map(sr=>sr.value)),V.push(ln),V.push(...fr)}return V}}var Nt=(()=>{return(R=Nt||(Nt={}))[R.Tab=9]="Tab",R[R.Enter=13]="Enter",R[R.Esc=27]="Esc",R[R.Space=32]="Space",R[R.ArrowUp=38]="ArrowUp",R[R.ArrowDown=40]="ArrowDown",R[R.Backspace=8]="Backspace",Nt;var R})();let Tn=(()=>{class R{constructor(){this._dimensions={itemHeight:0,panelHeight:0,itemsPerViewport:0}}get dimensions(){return this._dimensions}calculateItems(y,V,Ee){const Ke=this._dimensions,bt=Ke.itemHeight*V,Qt=Math.max(0,y)/bt*V;let kn=Math.min(V,Math.ceil(Qt)+(Ke.itemsPerViewport+1));const sr=Math.max(0,kn-Ke.itemsPerViewport);let or=Math.min(sr,Math.floor(Qt)),Jn=Ke.itemHeight*Math.ceil(or)-Ke.itemHeight*Math.min(or,Ee);return Jn=isNaN(Jn)?0:Jn,or=isNaN(or)?-1:or,kn=isNaN(kn)?-1:kn,or-=Ee,or=Math.max(0,or),kn+=Ee,kn=Math.min(V,kn),{topPadding:Jn,scrollHeight:bt,start:or,end:kn}}setDimensions(y,V){const Ee=Math.max(1,Math.floor(V/y));this._dimensions={itemHeight:y,panelHeight:V,itemsPerViewport:Ee}}getScrollTo(y,V,Ee){const{panelHeight:Ke}=this.dimensions,bt=y+V,Qt=Ee+Ke;return Ke>=bt&&Ee===y?null:bt>Qt?Ee+bt-Qt:y<=Ee?y:null}}return R.\u0275fac=function(y){return new(y||R)},R.\u0275prov=s.Yz7({token:R,factory:R.\u0275fac}),R})();const je=["top","right","bottom","left"],nt=typeof requestAnimationFrame<"u"?We.r:ot;let Qe=(()=>{class R{constructor(y,V,Ee,Ke,bt){this._renderer=y,this._zone=V,this._panelService=Ee,this._document=bt,this.items=[],this.position="auto",this.virtualScroll=!1,this.filterValue=null,this.update=new s.vpe,this.scroll=new s.vpe,this.scrollToEnd=new s.vpe,this.outsideClick=new s.vpe,this._destroy$=new zt.xQ,this._scrollToEndFired=!1,this._updateScrollHeight=!1,this._lastScrollPosition=0,this._dropdown=Ke.nativeElement}get currentPosition(){return this._currentPosition}get itemsLength(){return this._itemsLength}set itemsLength(y){y!==this._itemsLength&&(this._itemsLength=y,this._onItemsLengthChanged())}get _startOffset(){if(this.markedItem){const{itemHeight:y,panelHeight:V}=this._panelService.dimensions,Ee=this.markedItem.index*y;return V>Ee?0:Ee}return 0}ngOnInit(){this._select=this._dropdown.parentElement,this._virtualPadding=this.paddingElementRef.nativeElement,this._scrollablePanel=this.scrollElementRef.nativeElement,this._contentPanel=this.contentElementRef.nativeElement,this._handleScroll(),this._handleOutsideClick(),this._appendDropdown(),this._setupMousedownListener()}ngOnChanges(y){if(y.items){const V=y.items;this._onItemsChange(V.currentValue,V.firstChange)}}ngOnDestroy(){this._destroy$.next(),this._destroy$.complete(),this._destroy$.unsubscribe(),this.appendTo&&this._renderer.removeChild(this._dropdown.parentNode,this._dropdown)}scrollTo(y,V=!1){if(!y)return;const Ee=this.items.indexOf(y);if(Ee<0||Ee>=this.itemsLength)return;let Ke;if(this.virtualScroll){const bt=this._panelService.dimensions.itemHeight;Ke=this._panelService.getScrollTo(Ee*bt,bt,this._lastScrollPosition)}else{const bt=this._dropdown.querySelector(`#${y.htmlId}`);Ke=this._panelService.getScrollTo(bt.offsetTop,bt.clientHeight,V?bt.offsetTop:this._lastScrollPosition)}Xt(Ke)&&(this._scrollablePanel.scrollTop=Ke)}scrollToTag(){const y=this._scrollablePanel;y.scrollTop=y.scrollHeight-y.clientHeight}adjustPosition(){this._updateYPosition()}_handleDropdownPosition(){this._currentPosition=this._calculateCurrentPosition(this._dropdown),je.includes(this._currentPosition)?this._updateDropdownClass(this._currentPosition):this._updateDropdownClass("bottom"),this.appendTo&&this._updateYPosition(),this._dropdown.style.opacity="1"}_updateDropdownClass(y){je.forEach(Ee=>{const Ke=`ng-select-${Ee}`;this._renderer.removeClass(this._dropdown,Ke),this._renderer.removeClass(this._select,Ke)});const V=`ng-select-${y}`;this._renderer.addClass(this._dropdown,V),this._renderer.addClass(this._select,V)}_handleScroll(){this._zone.runOutsideAngular(()=>{(0,cn.R)(this.scrollElementRef.nativeElement,"scroll").pipe((0,le.R)(this._destroy$),function Pe(R,$=te.P){return function X(R){return function(y){return y.lift(new ie(R))}}(()=>function G(R=0,$,y){let V=-1;return(0,L.k)($)?V=Number($)<1?1:Number($):(0,N.K)($)&&(y=$),(0,N.K)(y)||(y=te.P),new he.y(Ee=>{const Ke=(0,L.k)(R)?R:+R-y.now();return y.schedule(oe,Ke,{index:0,period:V,subscriber:Ee})})}(R,$))}(0,nt)).subscribe(y=>{const V=y.path||y.composedPath&&y.composedPath();this._onContentScrolled(V&&0!==V.length?V[0].scrollTop:y.target.scrollTop)})})}_handleOutsideClick(){!this._document||this._zone.runOutsideAngular(()=>{(0,Lr.T)((0,cn.R)(this._document,"touchstart",{capture:!0}),(0,cn.R)(this._document,"mousedown",{capture:!0})).pipe((0,le.R)(this._destroy$)).subscribe(y=>this._checkToClose(y))})}_checkToClose(y){if(this._select.contains(y.target)||this._dropdown.contains(y.target))return;const V=y.path||y.composedPath&&y.composedPath();y.target&&y.target.shadowRoot&&V&&V[0]&&this._select.contains(V[0])||this._zone.run(()=>this.outsideClick.emit())}_onItemsChange(y,V){this.items=y||[],this._scrollToEndFired=!1,this.itemsLength=y.length,this.virtualScroll?this._updateItemsRange(V):(this._setVirtualHeight(),this._updateItems(V))}_updateItems(y){this.update.emit(this.items),!1!==y&&this._zone.runOutsideAngular(()=>{Promise.resolve().then(()=>{this._panelService.setDimensions(0,this._scrollablePanel.clientHeight),this._handleDropdownPosition(),this.scrollTo(this.markedItem,y)})})}_updateItemsRange(y){this._zone.runOutsideAngular(()=>{this._measureDimensions().then(()=>{y?(this._renderItemsRange(this._startOffset),this._handleDropdownPosition()):this._renderItemsRange()})})}_onContentScrolled(y){this.virtualScroll&&this._renderItemsRange(y),this._lastScrollPosition=y,this._fireScrollToEnd(y)}_updateVirtualHeight(y){this._updateScrollHeight&&(this._virtualPadding.style.height=`${y}px`,this._updateScrollHeight=!1)}_setVirtualHeight(){!this._virtualPadding||(this._virtualPadding.style.height="0px")}_onItemsLengthChanged(){this._updateScrollHeight=!0}_renderItemsRange(y=null){if(y&&this._lastScrollPosition===y)return;const V=this._panelService.calculateItems(y=y||this._scrollablePanel.scrollTop,this.itemsLength,this.bufferAmount);this._updateVirtualHeight(V.scrollHeight),this._contentPanel.style.transform=`translateY(${V.topPadding}px)`,this._zone.run(()=>{this.update.emit(this.items.slice(V.start,V.end)),this.scroll.emit({start:V.start,end:V.end})}),Xt(y)&&0===this._lastScrollPosition&&(this._scrollablePanel.scrollTop=y,this._lastScrollPosition=y)}_measureDimensions(){if(this._panelService.dimensions.itemHeight>0||0===this.itemsLength)return Promise.resolve(this._panelService.dimensions);const[y]=this.items;return this.update.emit([y]),Promise.resolve().then(()=>{const Ee=this._dropdown.querySelector(`#${y.htmlId}`).clientHeight;return this._virtualPadding.style.height=Ee*this.itemsLength+"px",this._panelService.setDimensions(Ee,this._scrollablePanel.clientHeight),this._panelService.dimensions})}_fireScrollToEnd(y){this._scrollToEndFired||0===y||y+this._dropdown.clientHeight>=(this.virtualScroll?this._virtualPadding:this._contentPanel).clientHeight-1&&(this._zone.run(()=>this.scrollToEnd.emit()),this._scrollToEndFired=!0)}_calculateCurrentPosition(y){if("auto"!==this.position)return this.position;const V=this._select.getBoundingClientRect(),Ee=document.documentElement.scrollTop||document.body.scrollTop;return V.top+window.pageYOffset+V.height+y.getBoundingClientRect().height>Ee+document.documentElement.clientHeight?"top":"bottom"}_appendDropdown(){if(this.appendTo){if(this._parent=document.querySelector(this.appendTo),!this._parent)throw new Error(`appendTo selector ${this.appendTo} did not found any parent element`);this._updateXPosition(),this._parent.appendChild(this._dropdown)}}_updateXPosition(){const y=this._select.getBoundingClientRect(),V=this._parent.getBoundingClientRect();this._dropdown.style.left=y.left-V.left+"px",this._dropdown.style.width=y.width+"px",this._dropdown.style.minWidth=y.width+"px"}_updateYPosition(){const y=this._select.getBoundingClientRect(),V=this._parent.getBoundingClientRect(),Ee=y.height;"top"===this._currentPosition?(this._dropdown.style.bottom=V.bottom-y.bottom+Ee+"px",this._dropdown.style.top="auto"):"bottom"===this._currentPosition&&(this._dropdown.style.top=y.top-V.top+Ee+"px",this._dropdown.style.bottom="auto")}_setupMousedownListener(){this._zone.runOutsideAngular(()=>{(0,cn.R)(this._dropdown,"mousedown").pipe((0,le.R)(this._destroy$)).subscribe(y=>{"INPUT"!==y.target.tagName&&y.preventDefault()})})}}return R.\u0275fac=function(y){return new(y||R)(s.Y36(s.Qsj),s.Y36(s.R0b),s.Y36(Tn),s.Y36(s.SBq),s.Y36(Er.K0,8))},R.\u0275cmp=s.Xpm({type:R,selectors:[["ng-dropdown-panel"]],viewQuery:function(y,V){if(1&y&&(s.Gf(ir,7,s.SBq),s.Gf(si,7,s.SBq),s.Gf(Dr,7,s.SBq)),2&y){let Ee;s.iGM(Ee=s.CRH())&&(V.contentElementRef=Ee.first),s.iGM(Ee=s.CRH())&&(V.scrollElementRef=Ee.first),s.iGM(Ee=s.CRH())&&(V.paddingElementRef=Ee.first)}},inputs:{items:"items",markedItem:"markedItem",position:"position",appendTo:"appendTo",bufferAmount:"bufferAmount",virtualScroll:"virtualScroll",headerTemplate:"headerTemplate",footerTemplate:"footerTemplate",filterValue:"filterValue"},outputs:{update:"update",scroll:"scroll",scrollToEnd:"scrollToEnd",outsideClick:"outsideClick"},features:[s.TTD],ngContentSelectors:Or,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(y,V){1&y&&(s.F$t(),s.YNc(0,zn,2,4,"div",0),s.TgZ(1,"div",1,2),s._UZ(3,"div",null,3),s.TgZ(5,"div",null,4),s.Hsn(7),s.qZA()(),s.YNc(8,Pn,2,4,"div",5)),2&y&&(s.Q6J("ngIf",V.headerTemplate),s.xp6(3),s.ekj("total-padding",V.virtualScroll),s.xp6(2),s.ekj("scrollable-content",V.virtualScroll&&V.items.length),s.xp6(3),s.Q6J("ngIf",V.footerTemplate))},directives:[Er.O5,Er.tP],encapsulation:2,changeDetection:0}),R})(),St=(()=>{class R{constructor(y){this.elementRef=y,this.stateChange$=new zt.xQ,this._disabled=!1}get disabled(){return this._disabled}set disabled(y){this._disabled=this._isDisabled(y)}get label(){return(this.elementRef.nativeElement.textContent||"").trim()}ngOnChanges(y){y.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(y){return null!=y&&"false"!=`${y}`}}return R.\u0275fac=function(y){return new(y||R)(s.Y36(s.SBq))},R.\u0275cmp=s.Xpm({type:R,selectors:[["ng-option"]],inputs:{value:"value",disabled:"disabled"},features:[s.TTD],ngContentSelectors:Or,decls:1,vars:0,template:function(y,V){1&y&&(s.F$t(),s.Hsn(0))},encapsulation:2,changeDetection:0}),R})(),Zt=(()=>{class R{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 R.\u0275fac=function(y){return new(y||R)},R.\u0275prov=s.Yz7({token:R,factory:R.\u0275fac,providedIn:"root"}),R})(),jt=(()=>{class R{warn(y){console.warn(y)}}return R.\u0275fac=function(y){return new(y||R)},R.\u0275prov=s.Yz7({token:R,factory:R.\u0275fac,providedIn:"root"}),R})();const x=new s.OlP("ng-select-selection-model");let z=(()=>{class R{constructor(y,V,Ee,Ke,bt,ln,Qt){this.classes=y,this.autoFocus=V,this.config=Ee,this._cd=ln,this._console=Qt,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=kn=>!0,this.multiple=!1,this.addTag=!1,this.searchable=!0,this.clearable=!0,this.isOpen=!1,this.blurEvent=new s.vpe,this.focusEvent=new s.vpe,this.changeEvent=new s.vpe,this.openEvent=new s.vpe,this.closeEvent=new s.vpe,this.searchEvent=new s.vpe,this.clearEvent=new s.vpe,this.addEvent=new s.vpe,this.removeEvent=new s.vpe,this.scroll=new s.vpe,this.scrollToEnd=new s.vpe,this.useDefaultClass=!0,this.viewPortItems=[],this.searchTerm=null,this.dropdownId=At(),this.escapeHTML=!0,this._items=[],this._defaultLabel="label",this._pressedKeys=[],this._isComposing=!1,this._destroy$=new zt.xQ,this._keyPress$=new zt.xQ,this._onChange=kn=>{},this._onTouched=()=>{},this.clearItem=kn=>{const fr=this.selectedItems.find(sr=>sr.value===kn);this.unselect(fr)},this.trackByOption=(kn,fr)=>this.trackByFn?this.trackByFn(fr.value):fr,this._mergeGlobalConfig(Ee),this.itemsList=new _t(this,Ke()),this.element=bt.nativeElement}get items(){return this._items}set items(y){null===y&&(y=[]),this._itemsAreUsed=!0,this._items=y}get compareWith(){return this._compareWith}set compareWith(y){if(null!=y&&!Bt(y))throw Error("`compareWith` must be a function.");this._compareWith=y}get clearSearchOnAdd(){return Xt(this._clearSearchOnAdd)?this._clearSearchOnAdd:Xt(this.config.clearSearchOnAdd)?this.config.clearSearchOnAdd:this.closeOnSelect}set clearSearchOnAdd(y){this._clearSearchOnAdd=y}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(y=>y.value)}get hasValue(){return this.selectedItems.length>0}get currentPanelPosition(){if(this.dropdownPanel)return this.dropdownPanel.currentPosition}ngOnInit(){this._handleKeyPresses(),this._setInputAttributes()}ngOnChanges(y){y.multiple&&this.itemsList.clearSelected(),y.items&&this._setItems(y.items.currentValue||[]),y.isOpen&&(this._manualOpen=Xt(y.isOpen.currentValue))}ngAfterViewInit(){this._itemsAreUsed||(this.escapeHTML=!1,this._setItemsFromNgOptions()),Xt(this.autoFocus)&&this.focus()}ngOnDestroy(){this._destroy$.next(),this._destroy$.complete()}handleKeyDown(y){if(Nt[y.which]){if(!1===this.keyDownFn(y))return;this.handleKeyCode(y)}else y.key&&1===y.key.length&&this._keyPress$.next(y.key.toLocaleLowerCase())}handleKeyCode(y){switch(y.which){case Nt.ArrowDown:this._handleArrowDown(y);break;case Nt.ArrowUp:this._handleArrowUp(y);break;case Nt.Space:this._handleSpace(y);break;case Nt.Enter:this._handleEnter(y);break;case Nt.Tab:this._handleTab(y);break;case Nt.Esc:this.close(),y.preventDefault();break;case Nt.Backspace:this._handleBackspace()}}handleMousedown(y){const V=y.target;"INPUT"!==V.tagName&&y.preventDefault(),V.classList.contains("ng-clear-wrapper")?this.handleClearClick():V.classList.contains("ng-arrow-wrapper")?this.handleArrowClick():V.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(y){this.itemsList.clearSelected(),this._handleWriteValue(y),this._cd.markForCheck()}registerOnChange(y){this._onChange=y}registerOnTouched(y){this._onTouched=y}setDisabledState(y){this._disabled=y,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(y){!y||y.disabled||this.disabled||(this.multiple&&y.selected?this.unselect(y):this.select(y),this._editableSearchTerm&&this._setSearchTermFromItems(),this._onSelectionChanged())}select(y){y.selected||(this.itemsList.select(y),this.clearSearchOnAdd&&!this._editableSearchTerm&&this._clearSearch(),this._updateNgModel(),this.multiple&&this.addEvent.emit(y.value)),(this.closeOnSelect||this.itemsList.noItemsToSelect)&&this.close()}focus(){this.searchInput.nativeElement.focus()}blur(){this.searchInput.nativeElement.blur()}unselect(y){!y||(this.itemsList.unselect(y),this.focus(),this._updateNgModel(),this.removeEvent.emit(y))}selectTag(){let y;y=Bt(this.addTag)?this.addTag(this.searchTerm):this._primitive?this.searchTerm:{[this.bindLabel]:this.searchTerm};const V=Ee=>this._isTypeahead||!this.isOpen?this.itemsList.mapItem(Ee,null):this.itemsList.addItem(Ee);!function xn(R){return R instanceof Promise}(y)?y&&this.select(V(y)):y.then(Ee=>this.select(V(Ee))).catch(()=>{})}showClear(){return this.clearable&&(this.hasValue||this.searchTerm)&&!this.disabled}get showAddTag(){if(!this._validTerm)return!1;const y=this.searchTerm.toLowerCase().trim();return this.addTag&&!this.itemsList.filteredItems.some(V=>V.label.toLowerCase()===y)&&(!this.hideSelected&&this.isOpen||!this.selectedItems.some(V=>V.label.toLowerCase()===y))&&!this.loading}showNoItemsFound(){const y=0===this.itemsList.filteredItems.length;return(y&&!this._isTypeahead&&!this.loading||y&&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(y){this._isComposing=!1,!this.searchWhileComposing&&this.filter(y)}filter(y){this._isComposing&&!this.searchWhileComposing||(this.searchTerm=y,this._isTypeahead&&(this._validTerm||0===this.minTermLength)&&this.typeahead.next(y),this._isTypeahead||(this.itemsList.filter(this.searchTerm),this.isOpen&&this.itemsList.markSelectedOrDefault(this.markFirst)),this.searchEvent.emit({term:y,items:this.itemsList.filteredItems.map(V=>V.value)}),this.open())}onInputFocus(y){this.focused||(this._editableSearchTerm&&this._setSearchTermFromItems(),this.element.classList.add("ng-select-focused"),this.focusEvent.emit(y),this.focused=!0)}onInputBlur(y){this.element.classList.remove("ng-select-focused"),this.blurEvent.emit(y),!this.isOpen&&!this.disabled&&this._onTouched(),this._editableSearchTerm&&this._setSearchTermFromItems(),this.focused=!1}onItemHover(y){y.disabled||this.itemsList.markItem(y)}detectChanges(){this._cd.destroyed||this._cd.detectChanges()}_setSearchTermFromItems(){const y=this.selectedItems&&this.selectedItems[0];this.searchTerm=y&&y.label||null}_setItems(y){const V=y[0];this.bindLabel=this.bindLabel||this._defaultLabel,this._primitive=Xt(V)?!_n(V):this._primitive||this.bindLabel===this._defaultLabel,this.itemsList.setItems(y),y.length>0&&this.hasValue&&this.itemsList.mapSelectedItems(),this.isOpen&&Xt(this.searchTerm)&&!this._isTypeahead&&this.itemsList.filter(this.searchTerm),(this._isTypeahead||this.isOpen)&&this.itemsList.markSelectedOrDefault(this.markFirst)}_setItemsFromNgOptions(){const y=Ee=>{this.items=Ee.map(Ke=>({$ngOptionValue:Ke.value,$ngOptionLabel:Ke.elementRef.nativeElement.innerHTML,disabled:Ke.disabled})),this.itemsList.setItems(this.items),this.hasValue&&this.itemsList.mapSelectedItems(),this.detectChanges()},V=()=>{const Ee=(0,Lr.T)(this.ngOptions.changes,this._destroy$);(0,Lr.T)(...this.ngOptions.map(Ke=>Ke.stateChange$)).pipe((0,le.R)(Ee)).subscribe(Ke=>{const bt=this.itemsList.findItem(Ke.value);bt.disabled=Ke.disabled,bt.label=Ke.label||bt.label,this._cd.detectChanges()})};this.ngOptions.changes.pipe((0,Oe.O)(this.ngOptions),(0,le.R)(this._destroy$)).subscribe(Ee=>{this.bindLabel=this._defaultLabel,y(Ee),V()})}_isValidWriteValue(y){if(!Xt(y)||this.multiple&&""===y||Array.isArray(y)&&0===y.length)return!1;const V=Ee=>!(!Xt(this.compareWith)&&_n(Ee)&&this.bindValue&&(this._console.warn(`Setting object(${JSON.stringify(Ee)}) as your model with bindValue is not allowed unless [compareWith] is used.`),1));return this.multiple?Array.isArray(y)?y.every(Ee=>V(Ee)):(this._console.warn("Multiple select ngModel should be array."),!1):V(y)}_handleWriteValue(y){if(!this._isValidWriteValue(y))return;const V=Ee=>{let Ke=this.itemsList.findItem(Ee);if(Ke)this.itemsList.select(Ke);else{const bt=_n(Ee),ln=!bt&&!this.bindValue;bt||ln?this.itemsList.select(this.itemsList.mapItem(Ee,null)):this.bindValue&&(Ke={[this.bindLabel]:null,[this.bindValue]:Ee},this.itemsList.select(this.itemsList.mapItem(Ke,null)))}};this.multiple?y.forEach(Ee=>V(Ee)):V(y)}_handleKeyPresses(){this.searchable||this._keyPress$.pipe((0,le.R)(this._destroy$),(0,ke.b)(y=>this._pressedKeys.push(y)),(0,yt.b)(200),(0,it.h)(()=>this._pressedKeys.length>0),(0,ut.U)(()=>this._pressedKeys.join(""))).subscribe(y=>{const V=this.itemsList.findByLabel(y);V&&(this.isOpen?(this.itemsList.markItem(V),this._scrollToMarked(),this._cd.markForCheck()):this.select(V)),this._pressedKeys=[]})}_setInputAttributes(){const y=this.searchInput.nativeElement,V={type:"text",autocorrect:"off",autocapitalize:"off",autocomplete:this.labelForId?"off":this.dropdownId,...this.inputAttrs};for(const Ee of Object.keys(V))y.setAttribute(Ee,V[Ee])}_updateNgModel(){const y=[];for(const Ee of this.selectedItems)if(this.bindValue){let Ke=null;Ke=Ee.children?Ee.value[(this.groupValue?this.bindValue:this.groupBy)||this.groupBy]:this.itemsList.resolveNested(Ee.value,this.bindValue),y.push(Ke)}else y.push(Ee.value);const V=this.selectedItems.map(Ee=>Ee.value);this.multiple?(this._onChange(y),this.changeEvent.emit(V)):(this._onChange(Xt(y[0])?y[0]:null),this.changeEvent.emit(V[0])),this._cd.markForCheck()}_clearSearch(){!this.searchTerm||(this._changeSearch(null),this.itemsList.resetFilteredItems())}_changeSearch(y){this.searchTerm=y,this._isTypeahead&&this.typeahead.next(y)}_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(y){!1===this.isOpen&&!this.addTag||(this.selectOnTab?this.itemsList.markedItem?(this.toggleItem(this.itemsList.markedItem),y.preventDefault()):this.showAddTag?(this.selectTag(),y.preventDefault()):this.close():this.close())}_handleEnter(y){if(this.isOpen||this._manualOpen)this.itemsList.markedItem?this.toggleItem(this.itemsList.markedItem):this.showAddTag&&this.selectTag();else{if(!this.openOnEnter)return;this.open()}y.preventDefault()}_handleSpace(y){this.isOpen||this._manualOpen||(this.open(),y.preventDefault())}_handleArrowDown(y){this._nextItemIsTag(1)?(this.itemsList.unmarkItem(),this._scrollToTag()):(this.itemsList.markNextItem(),this._scrollToMarked()),this.open(),y.preventDefault()}_handleArrowUp(y){!this.isOpen||(this._nextItemIsTag(-1)?(this.itemsList.unmarkItem(),this._scrollToTag()):(this.itemsList.markPreviousItem(),this._scrollToMarked()),y.preventDefault())}_nextItemIsTag(y){const V=this.itemsList.markedIndex+y;return this.addTag&&this.searchTerm&&this.itemsList.markedItem&&(V<0||V===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 y=this.searchTerm&&this.searchTerm.trim();return y&&y.length>=this.minTermLength}_mergeGlobalConfig(y){this.placeholder=this.placeholder||y.placeholder,this.notFoundText=this.notFoundText||y.notFoundText,this.typeToSearchText=this.typeToSearchText||y.typeToSearchText,this.addTagText=this.addTagText||y.addTagText,this.loadingText=this.loadingText||y.loadingText,this.clearAllText=this.clearAllText||y.clearAllText,this.virtualScroll=Xt(this.virtualScroll)?this.virtualScroll:!!Xt(y.disableVirtualScroll)&&!y.disableVirtualScroll,this.openOnEnter=Xt(this.openOnEnter)?this.openOnEnter:y.openOnEnter,this.appendTo=this.appendTo||y.appendTo,this.bindValue=this.bindValue||y.bindValue,this.bindLabel=this.bindLabel||y.bindLabel,this.appearance=this.appearance||y.appearance}}return R.\u0275fac=function(y){return new(y||R)(s.$8M("class"),s.$8M("autofocus"),s.Y36(Zt),s.Y36(x),s.Y36(s.SBq),s.Y36(s.sBO),s.Y36(jt))},R.\u0275cmp=s.Xpm({type:R,selectors:[["ng-select"]],contentQueries:function(y,V,Ee){if(1&y&&(s.Suo(Ee,Vt,5,s.Rgc),s.Suo(Ee,qt,5,s.Rgc),s.Suo(Ee,Wt,5,s.Rgc),s.Suo(Ee,ur,5,s.Rgc),s.Suo(Ee,$e,5,s.Rgc),s.Suo(Ee,we,5,s.Rgc),s.Suo(Ee,ce,5,s.Rgc),s.Suo(Ee,Be,5,s.Rgc),s.Suo(Ee,at,5,s.Rgc),s.Suo(Ee,Ft,5,s.Rgc),s.Suo(Ee,Ut,5,s.Rgc),s.Suo(Ee,St,5)),2&y){let Ke;s.iGM(Ke=s.CRH())&&(V.optionTemplate=Ke.first),s.iGM(Ke=s.CRH())&&(V.optgroupTemplate=Ke.first),s.iGM(Ke=s.CRH())&&(V.labelTemplate=Ke.first),s.iGM(Ke=s.CRH())&&(V.multiLabelTemplate=Ke.first),s.iGM(Ke=s.CRH())&&(V.headerTemplate=Ke.first),s.iGM(Ke=s.CRH())&&(V.footerTemplate=Ke.first),s.iGM(Ke=s.CRH())&&(V.notFoundTemplate=Ke.first),s.iGM(Ke=s.CRH())&&(V.typeToSearchTemplate=Ke.first),s.iGM(Ke=s.CRH())&&(V.loadingTextTemplate=Ke.first),s.iGM(Ke=s.CRH())&&(V.tagTemplate=Ke.first),s.iGM(Ke=s.CRH())&&(V.loadingSpinnerTemplate=Ke.first),s.iGM(Ke=s.CRH())&&(V.ngOptions=Ke)}},viewQuery:function(y,V){if(1&y&&(s.Gf(Qe,5),s.Gf(Un,7)),2&y){let Ee;s.iGM(Ee=s.CRH())&&(V.dropdownPanel=Ee.first),s.iGM(Ee=s.CRH())&&(V.searchInput=Ee.first)}},hostVars:20,hostBindings:function(y,V){1&y&&s.NdJ("keydown",function(Ke){return V.handleKeyDown(Ke)}),2&y&&s.ekj("ng-select-typeahead",V.typeahead)("ng-select-multiple",V.multiple)("ng-select-taggable",V.addTag)("ng-select-searchable",V.searchable)("ng-select-clearable",V.clearable)("ng-select-opened",V.isOpen)("ng-select",V.useDefaultClass)("ng-select-disabled",V.disabled)("ng-select-filtered",V.filtered)("ng-select-single",V.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:[s._Bn([{provide:f.JU,useExisting:(0,s.Gpc)(()=>R),multi:!0},Tn]),s.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(y,V){if(1&y){const Ee=s.EpF();s.TgZ(0,"div",0),s.NdJ("mousedown",function(bt){return V.handleMousedown(bt)}),s.TgZ(1,"div",1)(2,"div",2),s._uU(3),s.qZA(),s.YNc(4,Mn,2,2,"ng-container",3),s.YNc(5,lr,1,5,null,3),s.TgZ(6,"div",4)(7,"input",5,6),s.NdJ("input",function(){s.CHM(Ee);const bt=s.MAs(8);return V.filter(bt.value)})("compositionstart",function(){return V.onCompositionStart()})("compositionend",function(){s.CHM(Ee);const bt=s.MAs(8);return V.onCompositionEnd(bt.value)})("focus",function(bt){return V.onInputFocus(bt)})("blur",function(bt){return V.onInputBlur(bt)})("change",function(bt){return bt.stopPropagation()}),s.qZA()()(),s.YNc(9,xr,4,1,"ng-container",3),s.YNc(10,On,3,1,"span",7),s.TgZ(11,"span",8),s._UZ(12,"span",9),s.qZA()(),s.YNc(13,$t,7,19,"ng-dropdown-panel",10)}2&y&&(s.ekj("ng-appearance-outline","outline"===V.appearance)("ng-has-value",V.hasValue),s.xp6(3),s.Oqu(V.placeholder),s.xp6(1),s.Q6J("ngIf",(!V.multiLabelTemplate||!V.multiple)&&V.selectedItems.length>0),s.xp6(1),s.Q6J("ngIf",V.multiple&&V.multiLabelTemplate&&V.selectedValues.length>0),s.xp6(1),s.uIk("aria-expanded",V.isOpen)("aria-owns",V.isOpen?V.dropdownId:null),s.xp6(1),s.Q6J("readOnly",!V.searchable||V.itemsList.maxItemsSelected)("disabled",V.disabled)("value",V.searchTerm?V.searchTerm:""),s.uIk("id",V.labelForId)("tabindex",V.tabIndex)("aria-activedescendant",V.isOpen?null==V.itemsList||null==V.itemsList.markedItem?null:V.itemsList.markedItem.htmlId:null)("aria-controls",V.isOpen?V.dropdownId:null),s.xp6(2),s.Q6J("ngIf",V.loading),s.xp6(1),s.Q6J("ngIf",V.showClear()),s.xp6(3),s.Q6J("ngIf",V.isOpen))},directives:[Qe,Er.O5,Er.sg,En,Er.tP,Er.mk],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}),R})();function U(){return new de}class de{constructor(){this._selected=[]}get value(){return this._selected}select($,y,V){if($.selected=!0,(!$.children||!y&&V)&&this._selected.push($),y)if($.parent){const Ee=$.parent.children.length,Ke=$.parent.children.filter(bt=>bt.selected).length;$.parent.selected=Ee===Ke}else $.children&&(this._setChildrenSelectedState($.children,!0),this._removeChildren($),this._selected=V&&this._activeChildren($)?[...this._selected.filter(Ee=>Ee.parent!==$),$]:[...this._selected,...$.children.filter(Ee=>!Ee.disabled)])}unselect($,y){if(this._selected=this._selected.filter(V=>V!==$),$.selected=!1,y)if($.parent&&$.parent.selected){const V=$.parent.children;this._removeParent($.parent),this._removeChildren($.parent),this._selected.push(...V.filter(Ee=>Ee!==$&&!Ee.disabled)),$.parent.selected=!1}else $.children&&(this._setChildrenSelectedState($.children,!1),this._removeChildren($))}clear($){this._selected=$?this._selected.filter(y=>y.disabled):[]}_setChildrenSelectedState($,y){for(const V of $)V.disabled||(V.selected=y)}_removeChildren($){this._selected=[...this._selected.filter(y=>y.parent!==$),...$.children.filter(y=>y.parent===$&&y.disabled&&y.selected)]}_removeParent($){this._selected=this._selected.filter(y=>y!==$)}_activeChildren($){return $.children.every(y=>!y.disabled||y.selected)}}let Ae=(()=>{class R{}return R.\u0275fac=function(y){return new(y||R)},R.\u0275mod=s.oAB({type:R}),R.\u0275inj=s.cJS({providers:[{provide:x,useValue:U}],imports:[[Er.ez]]}),R})()},835:(Ne,se,M)=>{"use strict";M.d(se,{Fq:()=>he,lz:()=>X,pj:()=>ee});var s=M(5062),f=M(4719);const te={provide:f.JU,useExisting:(0,s.Gpc)(()=>Q),multi:!0};let Q=(()=>{class L{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(G){this.state=G,this.value=this.state?this.trueValue:this.falseValue}writeValue(G){this.state=this.trueValue===G,this.value=G?this.trueValue:this.falseValue}setDisabledState(G){this.isDisabled=G}registerOnChange(G){this.onChange=G}registerOnTouched(G){this.onTouched=G}}return L.\u0275fac=function(G){return new(G||L)},L.\u0275dir=s.lG2({type:L,selectors:[["","btnCheckbox",""]],hostVars:3,hostBindings:function(G,oe){1&G&&s.NdJ("click",function(){return oe.onClick()}),2&G&&(s.uIk("aria-pressed",oe.state),s.ekj("active",oe.state))},inputs:{btnCheckboxTrue:"btnCheckboxTrue",btnCheckboxFalse:"btnCheckboxFalse"},features:[s._Bn([te])]}),L})();const re={provide:f.JU,useExisting:(0,s.Gpc)(()=>X),multi:!0};let X=(()=>{class L{constructor(G,oe,Pe,le){this.el=G,this.cdr=oe,this.renderer=Pe,this.group=le,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(G){this.group?this.group.value=G:(this._value=G,this._onChange(G))}get disabled(){return this._disabled}set disabled(G){this.setDisabledState(G)}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(G){this.toggleIfAllowed(),G.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(G){"uncheckable"in G&&(this.uncheckable=!1!==this.uncheckable&&typeof this.uncheckable<"u")}_onChange(G){this.group?this.group.value=G:(this.onTouched(),this.onChange(G))}writeValue(G){this.value=G,this.cdr.markForCheck()}registerOnChange(G){this.onChange=G}registerOnTouched(G){this.onTouched=G}setDisabledState(G){this._disabled=G,G?this.renderer.setAttribute(this.el.nativeElement,"disabled","disabled"):this.renderer.removeAttribute(this.el.nativeElement,"disabled")}}return L.\u0275fac=function(G){return new(G||L)(s.Y36(s.SBq),s.Y36(s.sBO),s.Y36(s.Qsj),s.Y36((0,s.Gpc)(()=>ee),8))},L.\u0275dir=s.lG2({type:L,selectors:[["","btnRadio",""]],hostVars:8,hostBindings:function(G,oe){1&G&&s.NdJ("click",function(){return oe.toggleIfAllowed()})("keydown.space",function(le){return oe.onSpacePressed(le)})("focus",function(){return oe.onFocus()})("blur",function(){return oe.onBlur()}),2&G&&(s.uIk("aria-disabled",oe.controlOrGroupDisabled)("aria-checked",oe.isActive)("role",oe.role)("tabindex",oe.tabindex),s.ekj("disabled",oe.hasDisabledClass)("active",oe.isActive))},inputs:{btnRadio:"btnRadio",uncheckable:"uncheckable",value:"value",disabled:"disabled"},features:[s._Bn([re]),s.TTD]}),L})();const ie={provide:f.JU,useExisting:(0,s.Gpc)(()=>ee),multi:!0};let ee=(()=>{class L{constructor(G){this.cdr=G,this.onChange=Function.prototype,this.onTouched=Function.prototype,this.role="radiogroup",this._disabled=!1}get value(){return this._value}set value(G){this._value=G,this.onChange(G)}get disabled(){return this._disabled}get tabindex(){return this._disabled?null:0}writeValue(G){this._value=G,this.cdr.markForCheck()}registerOnChange(G){this.onChange=G}registerOnTouched(G){this.onTouched=G}setDisabledState(G){this.radioButtons&&(this._disabled=G,this.radioButtons.forEach(oe=>{oe.setDisabledState(G)}),this.cdr.markForCheck())}onFocus(){if(this._disabled)return;const G=this.getActiveOrFocusedRadio();if(G)G.focus();else if(this.radioButtons){const oe=this.radioButtons.find(Pe=>!Pe.disabled);oe&&oe.focus()}}onBlur(){this.onTouched&&this.onTouched()}selectNext(G){this.selectInDirection("next"),G.preventDefault()}selectPrevious(G){this.selectInDirection("previous"),G.preventDefault()}selectInDirection(G){if(this._disabled)return;function oe(le,Oe){let yt=(le+("next"===G?1:-1))%Oe.length;return yt<0&&(yt=Oe.length-1),yt}const Pe=this.getActiveOrFocusedRadio();if(Pe&&this.radioButtons){const le=this.radioButtons.toArray(),Oe=le.indexOf(Pe);for(let ke=oe(Oe,le);ke!==Oe;ke=oe(ke,le))if(le[ke].canToggle()){le[ke].toggleIfAllowed(),le[ke].focus();break}}}getActiveOrFocusedRadio(){if(this.radioButtons)return this.radioButtons.find(G=>G.isActive)||this.radioButtons.find(G=>G.hasFocus)}}return L.\u0275fac=function(G){return new(G||L)(s.Y36(s.sBO))},L.\u0275dir=s.lG2({type:L,selectors:[["","btnRadioGroup",""]],contentQueries:function(G,oe,Pe){if(1&G&&s.Suo(Pe,X,4),2&G){let le;s.iGM(le=s.CRH())&&(oe.radioButtons=le)}},hostVars:2,hostBindings:function(G,oe){1&G&&s.NdJ("focus",function(){return oe.onFocus()})("blur",function(){return oe.onBlur()})("keydown.ArrowRight",function(le){return oe.selectNext(le)})("keydown.ArrowDown",function(le){return oe.selectNext(le)})("keydown.ArrowLeft",function(le){return oe.selectPrevious(le)})("keydown.ArrowUp",function(le){return oe.selectPrevious(le)}),2&G&&s.uIk("role",oe.role)("tabindex",oe.tabindex)},features:[s._Bn([ie])]}),L})(),he=(()=>{class L{static forRoot(){return{ngModule:L,providers:[]}}}return L.\u0275fac=function(G){return new(G||L)},L.\u0275mod=s.oAB({type:L}),L.\u0275inj=s.cJS({}),L})()},3044:(Ne,se,M)=>{"use strict";M.d(se,{TO:()=>Qe,Hz:()=>St,mr:()=>jt,Mq:()=>Zt});var s=M(5062),f=M(2198);class te{constructor(z,U){this.open=z,this.close=U||z}isManual(){return"manual"===this.open||"manual"===this.close}}const Q={hover:["mouseover","mouseout"],focus:["focusin","focusout"]};const L=typeof window<"u"&&window||{};let xt;function gt(){if(typeof L.document>"u")return"bs4";const x=L.document.createElement("span");x.innerText="testing bs version",x.classList.add("d-none"),x.classList.add("pl-1"),L.document.head.appendChild(x);const z=x.getBoundingClientRect(),U=L.getComputedStyle(x).paddingLeft;return!z||z&&0!==z.top?(L.document.head.removeChild(x),"bs3"):U&&parseFloat(U)?(L.document.head.removeChild(x),"bs4"):(L.document.head.removeChild(x),"bs5")}function Le(){return typeof L>"u"||(typeof L.__theme>"u"?(xt||(xt=gt()),"bs3"===xt):"bs3"===L.__theme)}function rt(){return!Le()&&(xt||(xt=gt()),"bs4"===xt)}function Xe(){return{isBs3:Le(),isBs4:rt(),isBs5:!Le()&&!rt()&&(xt||(xt=gt()),"bs5"===xt)}}typeof console>"u"||console;var ir=M(6895),si=M(5529),Dr=M(6787),jr=M(3753),zn=M(1086),Pn=M(5146),Or=(()=>{return(x=Or||(Or={})).top="top",x.bottom="bottom",x.left="left",x.right="right",x.auto="auto",x.end="right",x.start="left",x["top left"]="top left",x["top right"]="top right",x["right top"]="right top",x["right bottom"]="right bottom",x["bottom right"]="bottom right",x["bottom left"]="bottom left",x["left bottom"]="left bottom",x["left top"]="left top",x["top start"]="top left",x["top end"]="top right",x["end top"]="right top",x["end bottom"]="right bottom",x["bottom end"]="bottom right",x["bottom start"]="bottom left",x["start bottom"]="start bottom",x["start top"]="left top",Or;var x})(),Un=(()=>{return(x=Un||(Un={})).top="top",x.bottom="bottom",x.left="start",x.right="end",x.auto="auto",x.end="end",x.start="start",x["top left"]="top start",x["top right"]="top end",x["right top"]="end top",x["right bottom"]="end bottom",x["bottom right"]="bottom end",x["bottom left"]="bottom start",x["left bottom"]="start bottom",x["left top"]="start top",x["top start"]="top start",x["top end"]="top end",x["end top"]="end top",x["end bottom"]="end bottom",x["bottom end"]="bottom end",x["bottom start"]="bottom start",x["start bottom"]="start bottom",x["start top"]="start top",Un;var x})();function dr(x,z){if(1!==x.nodeType)return[];const de=x.ownerDocument.defaultView?.getComputedStyle(x,null);return z?de&&de[z]:de}function Wn(x){if(!x)return document.documentElement;let de,U=x?.offsetParent;for(;null===U&&x.nextElementSibling&&de!==x.nextElementSibling;)de=x.nextElementSibling,U=de.offsetParent;const Ae=U&&U.nodeName;return Ae&&"BODY"!==Ae&&"HTML"!==Ae?U&&-1!==["TH","TD","TABLE"].indexOf(U.nodeName)&&"static"===dr(U,"position")?Wn(U):U:de?de.ownerDocument.documentElement:document.documentElement}function tr(x){return null!==x.parentNode?tr(x.parentNode):x}function Mn(x,z){if(!(x&&x.nodeType&&z&&z.nodeType))return document.documentElement;const U=x.compareDocumentPosition(z)&Node.DOCUMENT_POSITION_FOLLOWING,de=U?x:z,Ae=U?z:x,R=document.createRange();R.setStart(de,0),R.setEnd(Ae,0);const $=R.commonAncestorContainer;if(x!==$&&z!==$||de.contains(Ae))return function $r(x){const{nodeName:z}=x;return"BODY"!==z&&("HTML"===z||Wn(x.firstElementChild)===x)}($)?$:Wn($);const y=tr(x);return y.host?Mn(y.host,z):Mn(x,tr(z).host)}function Vn(x){if(!x||!x.parentElement)return document.documentElement;let z=x.parentElement;for(;z?.parentElement&&"none"===dr(z,"transform");)z=z.parentElement;return z||document.documentElement}function Ar(x,z){const U="x"===z?"Left":"Top",de="Left"===U?"Right":"Bottom";return parseFloat(x[`border${U}Width`])+parseFloat(x[`border${de}Width`])}function lr(x,z,U,de){return Math.max(z[`offset${x}`],z[`scroll${x}`],U[`client${x}`],U[`offset${x}`],U[`scroll${x}`],0)}function Yn(x){const z=x.body,U=x.documentElement;return{height:lr("Height",z,U),width:lr("Width",z,U)}}function hr(x){return{...x,right:(x.left||0)+x.width,bottom:(x.top||0)+x.height}}function On(x){return"number"==typeof x||"[object Number]"===Object.prototype.toString.call(x)}function Ce(x){const z=x.getBoundingClientRect();if(!(z&&On(z.top)&&On(z.left)&&On(z.bottom)&&On(z.right)))return z;const U={left:z.left,top:z.top,width:z.right-z.left,height:z.bottom-z.top},de="HTML"===x.nodeName?Yn(x.ownerDocument):void 0,Ae=de?.width||x.clientWidth||On(z.right)&&On(U.left)&&z.right-U.left||0,R=de?.height||x.clientHeight||On(z.bottom)&&On(U.top)&&z.bottom-U.top||0;let $=x.offsetWidth-Ae,y=x.offsetHeight-R;if($||y){const V=dr(x);$-=Ar(V,"x"),y-=Ar(V,"y"),U.width-=$,U.height-=y}return hr(U)}function Me(x){return"HTML"===x.nodeName?x:x.parentNode||x.host}function me(x){if(!x)return document.body;switch(x.nodeName){case"HTML":case"BODY":return x.ownerDocument.body;case"#document":return x.body}const{overflow:z,overflowX:U,overflowY:de}=dr(x);return/(auto|scroll|overlay)/.test(String(z)+String(de)+String(U))?x:me(Me(x))}function J(x,z,U=!1){const de="HTML"===z.nodeName,Ae=Ce(x),R=Ce(z),y=(me(x),dr(z)),V=parseFloat(y.borderTopWidth),Ee=parseFloat(y.borderLeftWidth);U&&de&&(R.top=Math.max(R.top??0,0),R.left=Math.max(R.left??0,0));const Ke=hr({top:(Ae.top??0)-(R.top??0)-V,left:(Ae.left??0)-(R.left??0)-Ee,width:Ae.width,height:Ae.height});if(Ke.marginTop=0,Ke.marginLeft=0,de){const bt=parseFloat(y.marginTop),ln=parseFloat(y.marginLeft);On(Ke.top)&&(Ke.top-=V-bt),On(Ke.bottom)&&(Ke.bottom-=V-bt),On(Ke.left)&&(Ke.left-=Ee-ln),On(Ke.right)&&(Ke.right-=Ee-ln),Ke.marginTop=bt,Ke.marginLeft=ln}return Ke}function ne(x,z="top"){const U="top"===z?"scrollTop":"scrollLeft",de=x.nodeName;if("BODY"===de||"HTML"===de){const Ae=x.ownerDocument.documentElement;return(x.ownerDocument.scrollingElement||Ae)[U]}return x[U]}function He(x){const z=x.nodeName;return"BODY"!==z&&"HTML"!==z&&("fixed"===dr(x,"position")||He(Me(x)))}function Ge(x,z,U=0,de,Ae=!1){let R={top:0,left:0};const $=Ae?Vn(x):Mn(x,z);if("viewport"===de)R=function Fe(x,z=!1){const U=x.ownerDocument.documentElement,de=J(x,U),Ae=Math.max(U.clientWidth,window.innerWidth||0),R=Math.max(U.clientHeight,window.innerHeight||0),$=z?0:ne(U),y=z?0:ne(U,"left");return hr({top:$-Number(de?.top)+Number(de?.marginTop),left:y-Number(de?.left)+Number(de?.marginLeft),width:Ae,height:R})}($,Ae);else{let y;"scrollParent"===de?(y=me(Me(z)),"BODY"===y.nodeName&&(y=x.ownerDocument.documentElement)):y="window"===de?x.ownerDocument.documentElement:de;const V=J(y,$,Ae);if(V&&"HTML"===y.nodeName&&!He($)){const{height:Ee,width:Ke}=Yn(x.ownerDocument);On(R.top)&&On(V.top)&&On(V.marginTop)&&(R.top+=V.top-V.marginTop),On(R.top)&&(R.bottom=Number(Ee)+Number(V.top)),On(R.left)&&On(V.left)&&On(V.marginLeft)&&(R.left+=V.left-V.marginLeft),On(R.top)&&(R.right=Number(Ke)+Number(V.left))}else V&&(R=V)}return On(R.left)&&(R.left+=U),On(R.top)&&(R.top+=U),On(R.right)&&(R.right-=U),On(R.bottom)&&(R.bottom-=U),R}function st({width:x,height:z}){return x*z}function It(x,z,U,de,Ae=["top","bottom","right","left"],R="viewport",$=0){if(-1===x.indexOf("auto"))return x;const y=Ge(U,de,$,R),V={top:{width:y?.width??0,height:(z?.top??0)-(y?.top??0)},right:{width:(y?.right??0)-(z?.right??0),height:y?.height??0},bottom:{width:y?.width??0,height:(y?.bottom??0)-(z?.bottom??0)},left:{width:(z.left??0)-(y?.left??0),height:y?.height??0}},Ee=Object.keys(V).map(Qt=>({position:Qt,...V[Qt],area:st(V[Qt])})).sort((Qt,kn)=>kn.area-Qt.area);let Ke=Ee.filter(({width:Qt,height:kn})=>Qt>=U.clientWidth&&kn>=U.clientHeight);Ke=Ke.filter(({position:Qt})=>Ae.some(kn=>kn===Qt));const bt=Ke.length>0?Ke[0].position:Ee[0].position,ln=x.split(" ")[1];return U.className=U.className.replace(/bs-tooltip-auto/g,`bs-tooltip-${Xe().isBs5?Un[bt]:bt}`),bt+(ln?`-${ln}`:"")}const Yt=(x,z=0)=>x?parseFloat(x):z;function Tt(x){const U=x.ownerDocument.defaultView?.getComputedStyle(x),de=Yt(U?.marginTop)+Yt(U?.marginBottom),Ae=Yt(U?.marginLeft)+Yt(U?.marginRight);return{width:Number(x.offsetWidth)+Ae,height:Number(x.offsetHeight)+de}}function Rt(x,z,U){return J(z,U?Vn(x):Mn(x,z),U)}function $t(x,z,U){const de=U.split(" ")[0],Ae=Tt(x),R={width:Ae.width,height:Ae.height},$=-1!==["right","left"].indexOf(de),y=$?"top":"left",V=$?"left":"top",Ee=$?"height":"width",Ke=$?"width":"height";return R[y]=(z[y]??0)+z[Ee]/2-Ae[Ee]/2,R[V]=de===V?(z[V]??0)-Ae[Ke]:z[function kt(x){const z={left:"right",right:"left",bottom:"top",top:"bottom"};return x.replace(/left|right|bottom|top/g,U=>z[U])}(V)]??0,R}function nn(x,z){return!!x.modifiers[z]?.enabled}const sn={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 Mt(x,z){return!!Xe().isBs5&&sn[z].includes(x)}function _n(x,z,U){!x||!z||Object.keys(z).forEach(de=>{let Ae="";-1!==["width","height","top","right","bottom","left"].indexOf(de)&&function xr(x){return""!==x&&!isNaN(parseFloat(x))&&isFinite(Number(x))}(z[de])&&(Ae="px"),U?U.setStyle(x,de,`${String(z[de])}${Ae}`):x.style[de]=String(z[de])+Ae})}function xn(x){let z=x.offsets.target;const U=x.instance.target.querySelector(".arrow");if(!U)return x;const de=-1!==["left","right"].indexOf(x.placement.split(" ")[0]),Ae=de?"height":"width",R=de?"Top":"Left",$=R.toLowerCase(),y=de?"left":"top",V=de?"bottom":"right",Ee=Tt(U)[Ae],Ke=x.placement.split(" ")[1];(x.offsets.host[V]??0)-Ee<(z[$]??0)&&(z[$]-=(z[$]??0)-((x.offsets.host[V]??0)-Ee)),Number(x.offsets.host[$])+Number(Ee)>(z[V]??0)&&(z[$]+=Number(x.offsets.host[$])+Number(Ee)-Number(z[V])),z=hr(z);const bt=dr(x.instance.target),ln=parseFloat(bt[`margin${R}`])||0,Qt=parseFloat(bt[`border${R}Width`])||0;let kn;if(Ke){const sr=parseFloat(bt.borderRadius)||0,or=Number(ln+Qt+sr);kn=$===Ke?Number(x.offsets.host[$])+or:Number(x.offsets.host[$])+Number(x.offsets.host[Ae]-or)}else kn=Number(x.offsets.host[$])+Number(x.offsets.host[Ae]/2-Ee/2);let fr=kn-(z[$]??0)-ln-Qt;return fr=Math.max(Math.min(z[Ae]-(Ee+5),fr),0),x.offsets.arrow={[$]:Math.round(fr),[y]:""},x.instance.arrow=U,x}function Bt(x){if(x.offsets.target=hr(x.offsets.target),!nn(x.options,"flip"))return x.offsets.target={...x.offsets.target,...$t(x.instance.target,x.offsets.host,x.placement)},x;const z=Ge(x.instance.target,x.instance.host,0,"viewport",!1);let U=x.placement.split(" ")[0],de=x.placement.split(" ")[1]||"";const y=It("auto",x.offsets.host,x.instance.target,x.instance.host,x.options.allowedPositions),V=[U,y];return V.forEach((Ee,Ke)=>{if(U!==Ee||V.length===Ke+1)return;U=x.placement.split(" ")[0];const bt="left"===U&&Math.floor(x.offsets.target.right??0)>Math.floor(x.offsets.host.left??0)||"right"===U&&Math.floor(x.offsets.target.left??0)<Math.floor(x.offsets.host.right??0)||"top"===U&&Math.floor(x.offsets.target.bottom??0)>Math.floor(x.offsets.host.top??0)||"bottom"===U&&Math.floor(x.offsets.target.top??0)<Math.floor(x.offsets.host.bottom??0),ln=Math.floor(x.offsets.target.left??0)<Math.floor(z.left??0),Qt=Math.floor(x.offsets.target.right??0)>Math.floor(z.right??0),kn=Math.floor(x.offsets.target.top??0)<Math.floor(z.top??0),fr=Math.floor(x.offsets.target.bottom??0)>Math.floor(z.bottom??0),sr="left"===U&&ln||"right"===U&&Qt||"top"===U&&kn||"bottom"===U&&fr,or=-1!==["top","bottom"].indexOf(U),Jn=or&&"left"===de&&ln||or&&"right"===de&&Qt||!or&&"left"===de&&kn||!or&&"right"===de&&fr;(bt||sr||Jn)&&((bt||sr)&&(U=V[Ke+1]),Jn&&(de=function un(x){return"right"===x?"left":"left"===x?"right":x}(de)),x.placement=U+(de?` ${de}`:""),x.offsets.target={...x.offsets.target,...$t(x.instance.target,x.offsets.host,x.placement)})}),x}function Vt(x){if(!nn(x.options,"preventOverflow"))return x;const z="transform",U=x.instance.target.style,{top:de,left:Ae,[z]:R}=U;U.top="",U.left="",U[z]="";const $=Ge(x.instance.target,x.instance.host,0,x.options.modifiers.preventOverflow?.boundariesElement||"scrollParent",!1);U.top=de,U.left=Ae,U[z]=R;const V={primary(Ee){let Ke=x.offsets.target[Ee];return(x.offsets.target[Ee]??0)<($[Ee]??0)&&(Ke=Math.max(x.offsets.target[Ee]??0,$[Ee]??0)),{[Ee]:Ke}},secondary(Ee){const Ke="right"===Ee,bt=Ke?"left":"top";let Qt=x.offsets.target[bt];return(x.offsets.target[Ee]??0)>($[Ee]??0)&&(Qt=Math.min(x.offsets.target[bt]??0,($[Ee]??0)-x.offsets.target[Ke?"width":"height"])),{[bt]:Qt}}};return["left","right","top","bottom"].forEach(Ee=>{const Ke=-1!==["left","top","start"].indexOf(Ee)?V.primary:V.secondary;x.offsets.target={...x.offsets.target,...Ke(Ee)}}),x}function qt(x){const z=x.placement,U=z.split(" ")[0],de=z.split(" ")[1];if(de){const{host:Ae,target:R}=x.offsets,$=-1!==["bottom","top"].indexOf(U),y=$?"left":"top",V=$?"width":"height",Ee={start:{[y]:Ae[y]},end:{[y]:(Ae[y]??0)+Ae[V]-R[V]}};x.offsets.target={...R,[y]:y===de?Ee.start[y]:Ee.end[y]}}return x}const ur=new class Wt{position(z,U){return this.offset(z,U)}offset(z,U){return Rt(U,z)}positionElements(z,U,de,Ae,R){const $=[Bt,qt,Vt,xn],V=function En(x,z,U,de){if(!x||!z)return;const Ae=Rt(x,z);!U.match(/^(auto)*\s*(left|right|top|bottom|start|end)*$/)&&!U.match(/^(left|right|top|bottom|start|end)*(?: (left|right|top|bottom|start|end))*$/)&&(U="auto");const R=!!U.match(/auto/g);let $=U.match(/auto\s(left|right|top|bottom|start|end)/)?U.split(" ")[1]||"auto":U;const y=$.match(/^(left|right|top|bottom|start|end)* ?(?!\1)(left|right|top|bottom|start|end)?/);return y&&($=y[1]+(y[2]?` ${y[2]}`:"")),-1!==["left right","right left","top bottom","bottom top"].indexOf($)&&($="auto"),$=It($,Ae,x,z,de?de.allowedPositions:void 0),{options:de||{modifiers:{}},instance:{target:x,host:z,arrow:void 0},offsets:{target:$t(x,Ae,$),host:Ae,arrow:void 0},positionFixed:!1,placement:$,placementAuto:R}}(U,z,Or[de],R);if(V)return $.reduce((Ee,Ke)=>Ke(Ee),V)}};function $e(x,z,U,de,Ae,R){const $=ur.positionElements(x,z,U,de,Ae);if(!$)return;const y=function dt(x){return{width:x.offsets.target.width,height:x.offsets.target.height,left:Math.floor(x.offsets.target.left??0),top:Math.round(x.offsets.target.top??0),bottom:Math.round(x.offsets.target.bottom??0),right:Math.floor(x.offsets.target.right??0)}}($);_n(z,{"will-change":"transform",top:"0px",left:"0px",transform:`translate3d(${y.left}px, ${y.top}px, 0px)`},R),$.instance.arrow&&_n($.instance.arrow,$.offsets.arrow,R),function Xt(x,z){const U=x.instance.target;let de=U.className;const Ae=Xe().isBs5?Un[x.placement]:x.placement;x.placementAuto&&(de=de.replace(/bs-popover-auto/g,`bs-popover-${Ae}`),de=de.replace(/ms-2|me-2|mb-2|mt-2/g,""),de=de.replace(/bs-tooltip-auto/g,`bs-tooltip-${Ae}`),de=de.replace(/\sauto/g,` ${Ae}`),-1!==de.indexOf("popover")&&(de=de+" "+function an(x){return Xe().isBs5?Mt(x,"end")?"ms-2":Mt(x,"start")?"me-2":Mt(x,"top")?"mb-2":Mt(x,"bottom")?"mt-2":"":""}(Ae)),-1!==de.indexOf("popover")&&-1===de.indexOf("popover-auto")&&(de+=" popover-auto"),-1!==de.indexOf("tooltip")&&-1===de.indexOf("tooltip-auto")&&(de+=" tooltip-auto")),de=de.replace(/left|right|top|bottom|end|start/g,`${Ae.split(" ")[0]}`),z?z.setAttribute(U,"class",de):U.className=de}($,R)}let we=(()=>{class x{constructor(U,de,Ae){this.update$$=new si.xQ,this.positionElements=new Map,this.isDisabled=!1,(0,ir.NF)(Ae)&&U.runOutsideAngular(()=>{this.triggerEvent$=(0,Dr.T)((0,jr.R)(window,"scroll",{passive:!0}),(0,jr.R)(window,"resize",{passive:!0}),(0,zn.of)(0,Pn.r),this.update$$),this.triggerEvent$.subscribe(()=>{this.isDisabled||this.positionElements.forEach(R=>{$e(ce(R.target),ce(R.element),R.attachment,R.appendToBody,this.options,de.createRenderer(null,null))})})})}position(U){this.addPositionElement(U)}get event$(){return this.triggerEvent$}disable(){this.isDisabled=!0}enable(){this.isDisabled=!1}addPositionElement(U){this.positionElements.set(ce(U.element),U)}calcPosition(){this.update$$.next(null)}deletePositionElement(U){this.positionElements.delete(ce(U))}setOptions(U){this.options=U}}return x.\u0275fac=function(U){return new(U||x)(s.LFG(s.R0b),s.LFG(s.FYo),s.LFG(s.Lbi))},x.\u0275prov=s.Yz7({token:x,factory:x.\u0275fac,providedIn:"root"}),x})();function ce(x){return"string"==typeof x?document.querySelector(x):x instanceof s.SBq?x.nativeElement:x??null}class at{constructor(z,U,de){this.nodes=z,this.viewRef=U,this.componentRef=de}}class Ft{constructor(z,U,de,Ae,R,$,y,V){this._viewContainerRef=z,this._renderer=U,this._elementRef=de,this._injector=Ae,this._componentFactoryResolver=R,this._ngZone=$,this._applicationRef=y,this._posService=V,this.onBeforeShow=new s.vpe,this.onShown=new s.vpe,this.onBeforeHide=new s.vpe,this.onHidden=new s.vpe,this._providers=[],this._isHiding=!1,this.containerDefaultSelector="body",this._listenOpts={},this._globalListener=Function.prototype}get isShown(){return!this._isHiding&&!!this._componentRef}attach(z){return this._componentFactory=this._componentFactoryResolver.resolveComponentFactory(z),this}to(z){return this.container=z||this.container,this}position(z){return z?(this.attachment=z.attachment||this.attachment,this._elementRef=z.target||this._elementRef,this):this}provide(z){return this._providers.push(z),this}show(z={}){if(this._subscribePositioning(),this._innerComponent=void 0,!this._componentRef){this.onBeforeShow.emit(),this._contentRef=this._getContentRef(z.content,z.context,z.initialState);const U=s.zs3.create({providers:this._providers,parent:this._injector});if(!this._componentFactory)return;if(this._componentRef=this._componentFactory.create(U,this._contentRef.nodes),this._applicationRef.attachView(this._componentRef.hostView),this.instance=this._componentRef.instance,Object.assign(this._componentRef.instance,z),this.container instanceof s.SBq&&this.container.nativeElement.appendChild(this._componentRef.location.nativeElement),"string"==typeof this.container&&typeof document<"u"){const de=document.querySelector(this.container)||document.querySelector(this.containerDefaultSelector);if(!de)return;de.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(z.id?{id:z.id}:this._componentRef.instance)}return this._registerOutsideClick(),this._componentRef}hide(z){if(!this._componentRef)return this;this._posService.deletePositionElement(this._componentRef.location),this.onBeforeHide.emit(this._componentRef.instance);const U=this._componentRef.location.nativeElement;return U.parentNode?.removeChild(U),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(z?{id:z}:null),this}toggle(){this.isShown?this.hide():this.show()}dispose(){this.isShown&&this.hide(),this._unsubscribePositioning(),this._unregisterListenersFn&&this._unregisterListenersFn()}listen(z){this.triggers=z.triggers||this.triggers,this._listenOpts.outsideClick=z.outsideClick,this._listenOpts.outsideEsc=z.outsideEsc,z.target=z.target||this._elementRef?.nativeElement;const U=this._listenOpts.hide=()=>z.hide?z.hide():void this.hide(),de=this._listenOpts.show=R=>{z.show?z.show(R):this.show(R),R()};return this._renderer&&(this._unregisterListenersFn=function ie(x,z){const U=function re(x,z=Q){const U=(x||"").trim();if(0===U.length)return[];const de=U.split(/\s+/).map(R=>R.split(":")).map(R=>{const $=z[R[0]]||R;return new te($[0],$[1])}),Ae=de.filter(R=>R.isManual());if(Ae.length>1)throw new Error("Triggers parse error: only one manual trigger is allowed");if(1===Ae.length&&de.length>1)throw new Error("Triggers parse error: manual trigger can't be mixed with other triggers");return de}(z.triggers),de=z.target;if(1===U.length&&U[0].isManual())return Function.prototype;const Ae=[],R=[],$=()=>{R.forEach(y=>Ae.push(y())),R.length=0};return U.forEach(y=>{const V=y.open===y.close,Ee=V?z.toggle:z.show;if(!V&&y.close&&z.hide){const Ke=x.listen(de,y.close,z.hide);R.push(()=>Ke)}Ee&&Ae.push(x.listen(de,y.open,()=>Ee($)))}),()=>{Ae.forEach(y=>y())}}(this._renderer,{target:z.target,triggers:z.triggers,show:de,hide:U,toggle:R=>{this.isShown?U():de(R)}})),this}_removeGlobalListener(){this._globalListener&&(this._globalListener(),this._globalListener=Function.prototype)}attachInline(z,U){return z&&U&&(this._inlineViewRef=z.createEmbeddedView(U)),this}_registerOutsideClick(){if(this._componentRef&&this._componentRef.location){if(this._listenOpts.outsideClick){const z=this._componentRef.location.nativeElement;setTimeout(()=>{this._renderer&&this._elementRef&&(this._globalListener=function ee(x,z){return z.outsideClick?x.listen("document","click",U=>{z.target&&z.target.contains(U.target)||z.targets&&z.targets.some(de=>de.contains(U.target))||z.hide&&z.hide()}):Function.prototype}(this._renderer,{targets:[z,this._elementRef.nativeElement],outsideClick:this._listenOpts.outsideClick,hide:()=>this._listenOpts.hide&&this._listenOpts.hide()}))})}this._listenOpts.outsideEsc&&this._renderer&&this._elementRef&&(this._globalListener=function he(x,z){return z.outsideEsc?x.listen("document","keyup.esc",U=>{z.target&&z.target.contains(U.target)||z.targets&&z.targets.some(de=>de.contains(U.target))||z.hide&&z.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(z,U,de){if(!z)return new at([]);if(z instanceof s.Rgc){if(this._viewContainerRef){const $=this._viewContainerRef.createEmbeddedView(z,U);return $.markForCheck(),new at([$.rootNodes],$)}const R=z.createEmbeddedView({});return this._applicationRef.attachView(R),new at([R.rootNodes],R)}if("function"==typeof z){const R=this._componentFactoryResolver.resolveComponentFactory(z),$=s.zs3.create({providers:this._providers,parent:this._injector}),y=R.create($);return Object.assign(y.instance,de),this._applicationRef.attachView(y.hostView),new at([[y.location.nativeElement]],y.hostView,y)}const Ae=this._renderer?[this._renderer.createText(`${z}`)]:[];return new at([Ae])}}let Ut=(()=>{class x{constructor(U,de,Ae,R,$){this._componentFactoryResolver=U,this._ngZone=de,this._injector=Ae,this._posService=R,this._applicationRef=$}createLoader(U,de,Ae){return new Ft(de,Ae,U,this._injector,this._componentFactoryResolver,this._ngZone,this._applicationRef,this._posService)}}return x.\u0275fac=function(U){return new(U||x)(s.LFG(s._Vd),s.LFG(s.R0b),s.LFG(s.zs3),s.LFG(we),s.LFG(s.z2F))},x.\u0275prov=s.Yz7({token:x,factory:x.\u0275fac,providedIn:"root"}),x})();var At=M(7340);const ge=function(x){return{dropdown:x}},Ue=["*"];let _t=(()=>{class x{constructor(){this.autoClose=!0,this.insideClick=!1,this.isAnimated=!1,this.stopOnClickPropagation=!1}}return x.\u0275fac=function(U){return new(U||x)},x.\u0275prov=s.Yz7({token:x,factory:x.\u0275fac,providedIn:"root"}),x})(),Nt=(()=>{class x{constructor(){this.direction="down",this.autoClose=!0,this.insideClick=!1,this.isAnimated=!1,this.stopOnClickPropagation=!1,this.isOpenChange=new s.vpe,this.isDisabledChange=new s.vpe,this.toggleClick=new s.vpe,this.counts=0,this.dropdownMenu=new Promise(U=>{this.resolveDropdownMenu=U})}}return x.\u0275fac=function(U){return new(U||x)},x.\u0275prov=s.Yz7({token:x,factory:x.\u0275fac,providedIn:"platform"}),x})();const je=[(0,At.oB)({height:0,overflow:"hidden"}),(0,At.jt)("220ms cubic-bezier(0, 0, 0.2, 1)",(0,At.oB)({height:"*",overflow:"hidden"}))];let nt=(()=>{class x{constructor(U,de,Ae,R,$){this._state=U,this.cd=de,this._renderer=Ae,this._element=R,this.isOpen=!1,this._factoryDropDownAnimation=$.build(je),this._subscription=U.isOpenChange.subscribe(y=>{this.isOpen=y;const V=this._element.nativeElement.querySelector(".dropdown-menu");this._renderer.addClass(this._element.nativeElement.querySelector("div"),"open"),V&&!Le()&&(this._renderer.addClass(V,"show"),(V.classList.contains("dropdown-menu-right")||V.classList.contains("dropdown-menu-end"))&&(this._renderer.setStyle(V,"left","auto"),this._renderer.setStyle(V,"right","0")),"up"===this.direction&&(this._renderer.setStyle(V,"top","auto"),this._renderer.setStyle(V,"transform","translateY(-101%)"))),V&&this._state.isAnimated&&this._factoryDropDownAnimation.create(V).play(),this.cd.markForCheck(),this.cd.detectChanges()})}get direction(){return this._state.direction}_contains(U){return this._element.nativeElement.contains(U)}ngOnDestroy(){this._subscription.unsubscribe()}}return x.\u0275fac=function(U){return new(U||x)(s.Y36(Nt),s.Y36(s.sBO),s.Y36(s.Qsj),s.Y36(s.SBq),s.Y36(At._j))},x.\u0275cmp=s.Xpm({type:x,selectors:[["bs-dropdown-container"]],hostAttrs:[2,"display","block","position","absolute","z-index","1040"],ngContentSelectors:Ue,decls:2,vars:9,consts:[[3,"ngClass"]],template:function(U,de){1&U&&(s.F$t(),s.TgZ(0,"div",0),s.Hsn(1),s.qZA()),2&U&&(s.ekj("dropup","up"===de.direction)("show",de.isOpen)("open",de.isOpen),s.Q6J("ngClass",s.VKq(7,ge,"down"===de.direction)))},directives:[ir.mk],encapsulation:2,changeDetection:0}),x})(),Qe=(()=>{class x{constructor(U,de,Ae,R,$,y,V){this._elementRef=U,this._renderer=de,this._viewContainerRef=Ae,this._cis=R,this._state=$,this._config=y,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=V.build(je),this._dropdown=this._cis.createLoader(this._elementRef,this._viewContainerRef,this._renderer).provide({provide:Nt,useValue:this._state}),this.onShown=this._dropdown.onShown,this.onHidden=this._dropdown.onHidden,this.isOpenChange=this._state.isOpenChange}set autoClose(U){this._state.autoClose=U}get autoClose(){return this._state.autoClose}set isAnimated(U){this._state.isAnimated=U}get isAnimated(){return this._state.isAnimated}set insideClick(U){this._state.insideClick=U}get insideClick(){return this._state.insideClick}set isDisabled(U){this._isDisabled=U,this._state.isDisabledChange.emit(U),U&&this.hide()}get isDisabled(){return this._isDisabled}get isOpen(){return this._showInline?this._isInlineOpen:this._dropdown.isShown}set isOpen(U){U?this.show():this.hide()}get isBs4(){return!Le()}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(U=>this.toggle(U))),this._subscriptions.push(this._state.isDisabledChange.pipe((0,f.h)(U=>U)).subscribe(()=>this.hide())))}show(){if(!this.isOpen&&!this.isDisabled){if(this._showInline)return this._inlinedMenu||this._state.dropdownMenu.then(U=>{this._dropdown.attachInline(U.viewContainer,U.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(U=>{const de=this.dropup||typeof this.dropup<"u"&&this.dropup;this._state.direction=de?"up":"down";const Ae=this.placement||(de?"top start":"bottom start");this._dropdown.attach(nt).to(this.container).position({attachment:Ae}).show({content:U.templateRef,placement:Ae}),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(U){return this.isOpen||!U?this.hide():this.show()}_contains(U){return this._elementRef.nativeElement.contains(U.target)||this._dropdown.instance&&this._dropdown.instance._contains(U.target)}navigationClick(U){const de=this._elementRef.nativeElement.querySelector(".dropdown-menu");if(!de)return;const Ae=this._elementRef.nativeElement.ownerDocument.activeElement,R=de.querySelectorAll(".dropdown-item");switch(U.keyCode){case 38:this._state.counts>0&&R[--this._state.counts].focus();break;case 40:this._state.counts+1<R.length&&(Ae.classList!==R[this._state.counts].classList?R[this._state.counts].focus():R[++this._state.counts].focus())}U.preventDefault()}ngOnDestroy(){for(const U of this._subscriptions)U.unsubscribe();this._dropdown.dispose()}addBs4Polyfills(){Le()||(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 U=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",U?"auto":"0"),this._renderer.setStyle(this._inlinedMenu.rootNodes[0],"right",U?"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 x.\u0275fac=function(U){return new(U||x)(s.Y36(s.SBq),s.Y36(s.Qsj),s.Y36(s.s_b),s.Y36(Ut),s.Y36(Nt),s.Y36(_t),s.Y36(At._j))},x.\u0275dir=s.lG2({type:x,selectors:[["","bsDropdown",""],["","dropdown",""]],hostVars:6,hostBindings:function(U,de){1&U&&s.NdJ("keydown.arrowDown",function(R){return de.navigationClick(R)})("keydown.arrowUp",function(R){return de.navigationClick(R)}),2&U&&s.ekj("dropup",de.dropup)("open",de.isOpen)("show",de.isOpen&&de.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:[s._Bn([Nt])]}),x})(),St=(()=>{class x{constructor(U,de,Ae){U.resolveDropdownMenu({templateRef:Ae,viewContainer:de})}}return x.\u0275fac=function(U){return new(U||x)(s.Y36(Nt),s.Y36(s.s_b),s.Y36(s.Rgc))},x.\u0275dir=s.lG2({type:x,selectors:[["","bsDropdownMenu",""],["","dropdownMenu",""]],exportAs:["bs-dropdown-menu"]}),x})(),Zt=(()=>{class x{constructor(U,de,Ae,R,$){this._changeDetectorRef=U,this._dropdown=de,this._element=Ae,this._renderer=R,this._state=$,this.isOpen=!1,this._subscriptions=[],this._subscriptions.push(this._state.isOpenChange.subscribe(y=>{this.isOpen=y,y?(this._documentClickListener=this._renderer.listen("document","click",V=>{this._state.autoClose&&2!==V.button&&!this._element.nativeElement.contains(V.target)&&(!this._state.insideClick||!this._dropdown._contains(V))&&(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(y=>this.isDisabled=y||void 0))}onClick(U){this._state.stopOnClickPropagation&&U.stopPropagation(),!this.isDisabled&&this._state.toggleClick.emit(!0)}ngOnDestroy(){this._documentClickListener&&this._documentClickListener(),this._escKeyUpListener&&this._escKeyUpListener();for(const U of this._subscriptions)U.unsubscribe()}}return x.\u0275fac=function(U){return new(U||x)(s.Y36(s.sBO),s.Y36(Qe),s.Y36(s.SBq),s.Y36(s.Qsj),s.Y36(Nt))},x.\u0275dir=s.lG2({type:x,selectors:[["","bsDropdownToggle",""],["","dropdownToggle",""]],hostVars:3,hostBindings:function(U,de){1&U&&s.NdJ("click",function(R){return de.onClick(R)}),2&U&&s.uIk("aria-haspopup",!0)("disabled",de.isDisabled)("aria-expanded",de.isOpen)},exportAs:["bs-dropdown-toggle"]}),x})(),jt=(()=>{class x{static forRoot(){return{ngModule:x,providers:[Ut,we,Nt]}}}return x.\u0275fac=function(U){return new(U||x)},x.\u0275mod=s.oAB({type:x}),x.\u0275inj=s.cJS({imports:[[ir.ez]]}),x})()},2521:(Ne,se,M)=>{"use strict";M.d(se,{Qt:()=>ze,u3:()=>xt});var s=M(5062),f=M(4719),te=M(6895);const Q=function(gt,Gt){return{"pull-left":gt,"float-left":Gt}},re=function(gt,Gt){return{"pull-right":gt,"float-right":Gt}},X=function(gt,Gt){return{disabled:gt,currentPage:Gt}};function ie(gt,Gt){if(1&gt){const Le=s.EpF();s.TgZ(0,"li",11)(1,"a",12),s.NdJ("click",function(_e){return s.CHM(Le),s.oxw().selectPage(1,_e)}),s.GkF(2,13),s.qZA()()}if(2&gt){const Le=s.oxw(),rt=s.MAs(13);s.ekj("disabled",Le.noPrevious()||Le.disabled),s.xp6(2),s.Q6J("ngTemplateOutlet",Le.customFirstTemplate||rt)("ngTemplateOutletContext",s.WLB(4,X,Le.noPrevious()||Le.disabled,Le.page))}}function ee(gt,Gt){if(1&gt){const Le=s.EpF();s.TgZ(0,"li",14)(1,"a",12),s.NdJ("click",function(_e){s.CHM(Le);const Xe=s.oxw();return Xe.selectPage(Xe.page-1,_e)}),s.GkF(2,13),s.qZA()()}if(2&gt){const Le=s.oxw(),rt=s.MAs(11);s.ekj("disabled",Le.noPrevious()||Le.disabled),s.xp6(2),s.Q6J("ngTemplateOutlet",Le.customPreviousTemplate||rt)("ngTemplateOutletContext",s.WLB(4,X,Le.noPrevious()||Le.disabled,Le.page))}}const he=function(gt,Gt,Le){return{disabled:gt,$implicit:Gt,currentPage:Le}};function L(gt,Gt){if(1&gt){const Le=s.EpF();s.TgZ(0,"li",15)(1,"a",12),s.NdJ("click",function(_e){const tt=s.CHM(Le).$implicit;return s.oxw().selectPage(tt.number,_e)}),s.GkF(2,13),s.qZA()()}if(2&gt){const Le=Gt.$implicit,rt=s.oxw(),_e=s.MAs(7);s.ekj("active",Le.active)("disabled",rt.disabled&&!Le.active),s.xp6(2),s.Q6J("ngTemplateOutlet",rt.customPageTemplate||_e)("ngTemplateOutletContext",s.kEZ(6,he,rt.disabled,Le,rt.page))}}function N(gt,Gt){if(1&gt){const Le=s.EpF();s.TgZ(0,"li",16)(1,"a",12),s.NdJ("click",function(_e){s.CHM(Le);const Xe=s.oxw();return Xe.selectPage(Xe.page+1,_e)}),s.GkF(2,13),s.qZA()()}if(2&gt){const Le=s.oxw(),rt=s.MAs(9);s.ekj("disabled",Le.noNext()||Le.disabled),s.xp6(2),s.Q6J("ngTemplateOutlet",Le.customNextTemplate||rt)("ngTemplateOutletContext",s.WLB(4,X,Le.noNext()||Le.disabled,Le.page))}}function G(gt,Gt){if(1&gt){const Le=s.EpF();s.TgZ(0,"li",17)(1,"a",12),s.NdJ("click",function(_e){s.CHM(Le);const Xe=s.oxw();return Xe.selectPage(Xe.totalPages,_e)}),s.GkF(2,13),s.qZA()()}if(2&gt){const Le=s.oxw(),rt=s.MAs(15);s.ekj("disabled",Le.noNext()||Le.disabled),s.xp6(2),s.Q6J("ngTemplateOutlet",Le.customLastTemplate||rt)("ngTemplateOutletContext",s.WLB(4,X,Le.noNext()||Le.disabled,Le.page))}}function oe(gt,Gt){1&gt&&s._uU(0),2&gt&&s.Oqu(Gt.$implicit.text)}function Pe(gt,Gt){if(1&gt&&s._uU(0),2&gt){const Le=s.oxw();s.Oqu(Le.getText("next"))}}function le(gt,Gt){if(1&gt&&s._uU(0),2&gt){const Le=s.oxw();s.Oqu(Le.getText("previous"))}}function Oe(gt,Gt){if(1&gt&&s._uU(0),2&gt){const Le=s.oxw();s.Oqu(Le.getText("first"))}}function ke(gt,Gt){if(1&gt&&s._uU(0),2&gt){const Le=s.oxw();s.Oqu(Le.getText("last"))}}let yt=(()=>{class gt{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:"\xab Previous",nextText:"Next \xbb",pageBtnClass:"",align:!0}}}return gt.\u0275fac=function(Le){return new(Le||gt)},gt.\u0275prov=s.Yz7({token:gt,factory:gt.\u0275fac,providedIn:"root"}),gt})();const it={provide:f.JU,useExisting:(0,s.Gpc)(()=>ut),multi:!0};let ut=(()=>{class gt{constructor(Le,rt,_e){this.elementRef=Le,this.changeDetection=_e,this.align=!1,this.boundaryLinks=!1,this.directionLinks=!0,this.firstText="First",this.previousText="\xab Previous",this.nextText="Next \xbb",this.lastText="Last",this.rotate=!0,this.pageBtnClass="",this.disabled=!1,this.numPages=new s.vpe,this.pageChanged=new s.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=Le,this.config||this.configureOptions(Object.assign({},rt.main,rt.pager))}get itemsPerPage(){return this._itemsPerPage}set itemsPerPage(Le){this._itemsPerPage=Le,this.totalPages=this.calculateTotalPages()}get totalItems(){return this._totalItems}set totalItems(Le){this._totalItems=Le,this.totalPages=this.calculateTotalPages()}get totalPages(){return this._totalPages}set totalPages(Le){this._totalPages=Le,this.numPages.emit(Le),this.inited&&this.selectPage(this.page)}get page(){return this._page}set page(Le){const rt=this._page;this._page=Le>this.totalPages?this.totalPages:Le||1,this.changeDetection.markForCheck(),!(rt===this._page||typeof rt>"u")&&this.pageChanged.emit({page:this._page,itemsPerPage:this.itemsPerPage})}configureOptions(Le){this.config=Object.assign({},Le)}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(Le){this.page=Le,this.pages=this.getPages(this.page,this.totalPages)}getText(Le){return this[`${Le}Text`]||this.config[`${Le}Text`]}noPrevious(){return 1===this.page}noNext(){return this.page===this.totalPages}registerOnChange(Le){this.onChange=Le}registerOnTouched(Le){this.onTouched=Le}selectPage(Le,rt){rt&&rt.preventDefault(),this.disabled||(rt&&rt.target&&rt.target.blur(),this.writeValue(Le),this.onChange(this.page))}makePage(Le,rt,_e){return{text:rt,number:Le,active:_e}}getPages(Le,rt){const _e=[];let Xe=1,tt=rt;const ot=typeof this.maxSize<"u"&&this.maxSize<rt;ot&&this.maxSize&&(this.rotate?(Xe=Math.max(Le-Math.floor(this.maxSize/2),1),tt=Xe+this.maxSize-1,tt>rt&&(tt=rt,Xe=tt-this.maxSize+1)):(Xe=(Math.ceil(Le/this.maxSize)-1)*this.maxSize+1,tt=Math.min(Xe+this.maxSize-1,rt)));for(let We=Xe;We<=tt;We++){const zt=this.makePage(We,We.toString(),We===Le);_e.push(zt)}if(ot&&!this.rotate){if(Xe>1){const We=this.makePage(Xe-1,"...",!1);_e.unshift(We)}if(tt<rt){const We=this.makePage(tt+1,"...",!1);_e.push(We)}}return _e}calculateTotalPages(){const Le=this.itemsPerPage<1?1:Math.ceil(this.totalItems/this.itemsPerPage);return Math.max(Le||0,1)}}return gt.\u0275fac=function(Le){return new(Le||gt)(s.Y36(s.SBq),s.Y36(yt),s.Y36(s.sBO))},gt.\u0275cmp=s.Xpm({type:gt,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:[s._Bn([it])],decls:7,vars:24,consts:[[1,"pager"],[3,"ngClass"],["href","",3,"click"]],template:function(Le,rt){1&Le&&(s.TgZ(0,"ul",0)(1,"li",1)(2,"a",2),s.NdJ("click",function(Xe){return rt.selectPage(rt.page-1,Xe)}),s._uU(3),s.qZA()(),s.TgZ(4,"li",1)(5,"a",2),s.NdJ("click",function(Xe){return rt.selectPage(rt.page+1,Xe)}),s._uU(6),s.qZA()()()),2&Le&&(s.xp6(1),s.Tol(rt.pageBtnClass),s.ekj("disabled",rt.noPrevious())("previous",rt.align),s.Q6J("ngClass",s.WLB(18,Q,rt.align,rt.align)),s.xp6(2),s.Oqu(rt.getText("previous")),s.xp6(1),s.Tol(rt.pageBtnClass),s.ekj("disabled",rt.noNext())("next",rt.align),s.Q6J("ngClass",s.WLB(21,re,rt.align,rt.align)),s.xp6(2),s.Oqu(rt.getText("next")))},directives:[te.mk],encapsulation:2}),gt})();const pt={provide:f.JU,useExisting:(0,s.Gpc)(()=>ze),multi:!0};let ze=(()=>{class gt{constructor(Le,rt,_e){this.elementRef=Le,this.changeDetection=_e,this.align=!0,this.boundaryLinks=!1,this.directionLinks=!0,this.rotate=!0,this.pageBtnClass="",this.disabled=!1,this.numPages=new s.vpe,this.pageChanged=new s.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=Le,this.config||this.configureOptions(rt.main)}get itemsPerPage(){return this._itemsPerPage}set itemsPerPage(Le){this._itemsPerPage=Le,this.totalPages=this.calculateTotalPages()}get totalItems(){return this._totalItems}set totalItems(Le){this._totalItems=Le,this.totalPages=this.calculateTotalPages()}get totalPages(){return this._totalPages}set totalPages(Le){this._totalPages=Le,this.numPages.emit(Le),this.inited&&this.selectPage(this.page)}get page(){return this._page}set page(Le){const rt=this._page;this._page=Le>this.totalPages?this.totalPages:Le||1,this.changeDetection.markForCheck(),!(rt===this._page||typeof rt>"u")&&this.pageChanged.emit({page:this._page,itemsPerPage:this.itemsPerPage})}configureOptions(Le){this.config=Object.assign({},Le)}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(Le){this.page=Le,this.pages=this.getPages(this.page,this.totalPages)}getText(Le){return this[`${Le}Text`]||this.config[`${Le}Text`]}noPrevious(){return 1===this.page}noNext(){return this.page===this.totalPages}registerOnChange(Le){this.onChange=Le}registerOnTouched(Le){this.onTouched=Le}selectPage(Le,rt){rt&&rt.preventDefault(),this.disabled||(rt&&rt.target&&rt.target.blur(),this.writeValue(Le),this.onChange(this.page))}makePage(Le,rt,_e){return{text:rt,number:Le,active:_e}}getPages(Le,rt){const _e=[];let Xe=1,tt=rt;const ot=typeof this.maxSize<"u"&&this.maxSize<rt;ot&&this.maxSize&&(this.rotate?(Xe=Math.max(Le-Math.floor(this.maxSize/2),1),tt=Xe+this.maxSize-1,tt>rt&&(tt=rt,Xe=tt-this.maxSize+1)):(Xe=(Math.ceil(Le/this.maxSize)-1)*this.maxSize+1,tt=Math.min(Xe+this.maxSize-1,rt)));for(let We=Xe;We<=tt;We++){const zt=this.makePage(We,We.toString(),We===Le);_e.push(zt)}if(ot&&!this.rotate){if(Xe>1){const We=this.makePage(Xe-1,"...",!1);_e.unshift(We)}if(tt<rt){const We=this.makePage(tt+1,"...",!1);_e.push(We)}}return _e}calculateTotalPages(){const Le=this.itemsPerPage<1?1:Math.ceil(this.totalItems/this.itemsPerPage);return Math.max(Le||0,1)}}return gt.\u0275fac=function(Le){return new(Le||gt)(s.Y36(s.SBq),s.Y36(yt),s.Y36(s.sBO))},gt.\u0275cmp=s.Xpm({type:gt,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:[s._Bn([pt])],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(Le,rt){1&Le&&(s.TgZ(0,"ul",0),s.YNc(1,ie,3,7,"li",1),s.YNc(2,ee,3,7,"li",2),s.YNc(3,L,3,10,"li",3),s.YNc(4,N,3,7,"li",4),s.YNc(5,G,3,7,"li",5),s.qZA(),s.YNc(6,oe,1,1,"ng-template",null,6,s.W1O),s.YNc(8,Pe,1,1,"ng-template",null,7,s.W1O),s.YNc(10,le,1,1,"ng-template",null,8,s.W1O),s.YNc(12,Oe,1,1,"ng-template",null,9,s.W1O),s.YNc(14,ke,1,1,"ng-template",null,10,s.W1O)),2&Le&&(s.Q6J("ngClass",rt.classMap),s.xp6(1),s.Q6J("ngIf",rt.boundaryLinks),s.xp6(1),s.Q6J("ngIf",rt.directionLinks),s.xp6(1),s.Q6J("ngForOf",rt.pages),s.xp6(1),s.Q6J("ngIf",rt.directionLinks),s.xp6(1),s.Q6J("ngIf",rt.boundaryLinks))},directives:[te.mk,te.O5,te.tP,te.sg],encapsulation:2}),gt})(),xt=(()=>{class gt{static forRoot(){return{ngModule:gt,providers:[]}}}return gt.\u0275fac=function(Le){return new(Le||gt)},gt.\u0275mod=s.oAB({type:gt}),gt.\u0275inj=s.cJS({imports:[[te.ez]]}),gt})()},9241:(Ne,se,M)=>{"use strict";M.d(se,{AH:()=>he,P4:()=>G,wW:()=>L});var s=M(5062),f=M(6895);function te(oe,Pe){if(1&oe){const le=s.EpF();s.TgZ(0,"span",7),s.NdJ("click",function(ke){s.CHM(le);const yt=s.oxw().$implicit,it=s.oxw();return ke.preventDefault(),it.removeTab(yt)}),s._uU(1," \u274c"),s.qZA()}}const Q=function(oe){return["nav-item",oe]};function re(oe,Pe){if(1&oe){const le=s.EpF();s.TgZ(0,"li",3),s.NdJ("keydown",function(ke){const it=s.CHM(le).index;return s.oxw().keyNavActions(ke,it)}),s.TgZ(1,"a",4),s.NdJ("click",function(){return s.CHM(le).$implicit.active=!0}),s.TgZ(2,"span",5),s._uU(3),s.qZA(),s.YNc(4,te,2,0,"span",6),s.qZA()()}if(2&oe){const le=Pe.$implicit;s.ekj("active",le.active)("disabled",le.disabled),s.Q6J("ngClass",s.VKq(15,Q,le.customClass||"")),s.xp6(1),s.ekj("active",le.active)("disabled",le.disabled),s.uIk("aria-controls",le.id?le.id:"")("aria-selected",!!le.active)("id",le.id?le.id+"-link":""),s.xp6(1),s.Q6J("ngTransclude",le.headingRef),s.xp6(1),s.Oqu(le.heading),s.xp6(1),s.Q6J("ngIf",le.removable)}}const X=["*"];let ie=(()=>{class oe{constructor(le){this.viewRef=le}set ngTransclude(le){this._ngTransclude=le,le&&this.viewRef.createEmbeddedView(le)}get ngTransclude(){return this._ngTransclude}}return oe.\u0275fac=function(le){return new(le||oe)(s.Y36(s.s_b))},oe.\u0275dir=s.lG2({type:oe,selectors:[["","ngTransclude",""]],inputs:{ngTransclude:"ngTransclude"}}),oe})(),ee=(()=>{class oe{constructor(){this.type="tabs",this.isKeysAllowed=!0,this.ariaLabel="Tabs"}}return oe.\u0275fac=function(le){return new(le||oe)},oe.\u0275prov=s.Yz7({token:oe,factory:oe.\u0275fac,providedIn:"root"}),oe})(),he=(()=>{class oe{constructor(le,Oe,ke){this.renderer=Oe,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,le)}get vertical(){return this._vertical}set vertical(le){this._vertical=le,this.setClassMap()}get justified(){return this._justified}set justified(le){this._justified=le,this.setClassMap()}get type(){return this._type}set type(le){this._type=le,this.setClassMap()}get isKeysAllowed(){return this._isKeysAllowed}set isKeysAllowed(le){this._isKeysAllowed=le}ngOnDestroy(){this.isDestroyed=!0}addTab(le){this.tabs.push(le),le.active=1===this.tabs.length&&!le.active}removeTab(le,Oe={reselect:!0,emit:!0}){const ke=this.tabs.indexOf(le);if(-1!==ke&&!this.isDestroyed){if(Oe.reselect&&le.active&&this.hasAvailableTabs(ke)){const yt=this.getClosestTabIndex(ke);this.tabs[yt].active=!0}Oe.emit&&le.removed.emit(le),this.tabs.splice(ke,1),le.elementRef.nativeElement.parentNode&&this.renderer.removeChild(le.elementRef.nativeElement.parentNode,le.elementRef.nativeElement)}}keyNavActions(le,Oe){if(!this.isKeysAllowed)return;const ke=Array.from(this.elementRef.nativeElement.querySelectorAll(".nav-link"));if(13===le.keyCode||"Enter"===le.key||32===le.keyCode||"Space"===le.key)return le.preventDefault(),void ke[Oe%ke.length].click();if(39!==le.keyCode&&"RightArrow"!==le.key)if(37!==le.keyCode&&"LeftArrow"!==le.key)if(36!==le.keyCode&&"Home"!==le.key)if(35!==le.keyCode&&"End"!==le.key){if((46===le.keyCode||"Delete"===le.key)&&this.tabs[Oe].removable){if(this.removeTab(this.tabs[Oe]),ke[Oe+1])return void ke[(Oe+1)%ke.length].focus();ke[ke.length-1]&&ke[0].focus()}}else{le.preventDefault();let yt,it=1,ut=Oe;do{ut-it<0?(ut=ke.length-1,yt=ke[ut],it=0):yt=ke[ut-it],it++}while(yt.classList.contains("disabled"));yt.focus()}else{le.preventDefault();let yt,it=0;do{yt=ke[it%ke.length],it++}while(yt.classList.contains("disabled"));yt.focus()}else{let yt,it=1,ut=Oe;do{ut-it<0?(ut=ke.length-1,yt=ke[ut],it=0):yt=ke[ut-it],it++}while(yt.classList.contains("disabled"));yt.focus()}else{let yt,it=1;do{yt=ke[(Oe+it)%ke.length],it++}while(yt.classList.contains("disabled"));yt.focus()}}getClosestTabIndex(le){const Oe=this.tabs.length;if(!Oe)return-1;for(let ke=1;ke<=Oe;ke+=1){const yt=le-ke,it=le+ke;if(this.tabs[yt]&&!this.tabs[yt].disabled)return yt;if(this.tabs[it]&&!this.tabs[it].disabled)return it}return-1}hasAvailableTabs(le){const Oe=this.tabs.length;if(!Oe)return!1;for(let ke=0;ke<Oe;ke+=1)if(!this.tabs[ke].disabled&&ke!==le)return!0;return!1}setClassMap(){this.classMap={"nav-stacked":this.vertical,"flex-column":this.vertical,"nav-justified":this.justified,[`nav-${this.type}`]:!0}}}return oe.\u0275fac=function(le){return new(le||oe)(s.Y36(ee),s.Y36(s.Qsj),s.Y36(s.SBq))},oe.\u0275cmp=s.Xpm({type:oe,selectors:[["tabset"]],hostVars:2,hostBindings:function(le,Oe){2&le&&s.ekj("tab-container",Oe.clazz)},inputs:{vertical:"vertical",justified:"justified",type:"type"},ngContentSelectors:X,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(le,Oe){1&le&&(s.F$t(),s.TgZ(0,"ul",0),s.NdJ("click",function(yt){return yt.preventDefault()}),s.YNc(1,re,5,17,"li",1),s.qZA(),s.TgZ(2,"div",2),s.Hsn(3),s.qZA()),2&le&&(s.Q6J("ngClass",Oe.classMap),s.uIk("aria-label",Oe.ariaLabel),s.xp6(1),s.Q6J("ngForOf",Oe.tabs))},directives:[f.mk,f.sg,ie,f.O5],styles:["[_nghost-%COMP%]   .nav-tabs[_ngcontent-%COMP%]   .nav-item.disabled[_ngcontent-%COMP%]   a.disabled[_ngcontent-%COMP%]{cursor:default}"]}),oe})(),L=(()=>{class oe{constructor(le,Oe,ke){this.elementRef=Oe,this.renderer=ke,this.disabled=!1,this.removable=!1,this.selectTab=new s.vpe,this.deselect=new s.vpe,this.removed=new s.vpe,this.addClass=!0,this.role="tabpanel",this._active=!1,this._customClass="",this.tabset=le,this.tabset.addTab(this)}get customClass(){return this._customClass}set customClass(le){this.customClass&&this.customClass.split(" ").forEach(Oe=>{this.renderer.removeClass(this.elementRef.nativeElement,Oe)}),this._customClass=le?le.trim():"",this.customClass&&this.customClass.split(" ").forEach(Oe=>{this.renderer.addClass(this.elementRef.nativeElement,Oe)})}get active(){return this._active}set active(le){if(this._active!==le){if(this.disabled&&le||!le)return void(this._active&&!le&&(this.deselect.emit(this),this._active=le));this._active=le,this.selectTab.emit(this),this.tabset.tabs.forEach(Oe=>{Oe!==this&&(Oe.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 oe.\u0275fac=function(le){return new(le||oe)(s.Y36(he),s.Y36(s.SBq),s.Y36(s.Qsj))},oe.\u0275dir=s.lG2({type:oe,selectors:[["tab"],["","tab",""]],hostVars:7,hostBindings:function(le,Oe){2&le&&(s.uIk("id",Oe.id)("role",Oe.role)("aria-labelledby",Oe.ariaLabelledby),s.ekj("active",Oe.active)("tab-pane",Oe.addClass))},inputs:{heading:"heading",id:"id",disabled:"disabled",removable:"removable",customClass:"customClass",active:"active"},outputs:{selectTab:"selectTab",deselect:"deselect",removed:"removed"},exportAs:["tab"]}),oe})(),G=(()=>{class oe{static forRoot(){return{ngModule:oe,providers:[]}}}return oe.\u0275fac=function(le){return new(le||oe)},oe.\u0275mod=s.oAB({type:oe}),oe.\u0275inj=s.cJS({imports:[[f.ez]]}),oe})()}}]);
Back to Directory File Manager