Viewing File: /usr/local/cpanel/whostmgr/docroot/templates/wh-sql-config/vendor.3e9b7c8f58292097.min.js
(self.webpackChunkwh_sql_config=self.webpackChunkwh_sql_config||[]).push([[736],{109:(G,O,u)=>{"use strict";u.d(O,{F:()=>o});var o=(()=>{return(p=o||(o={}))[p.GET=0]="GET",p[p.HEAD=1]="HEAD",p[p.POST=2]="POST",p[p.PUT=3]="PUT",p[p.DELETE=4]="DELETE",p[p.CONNECT=5]="CONNECT",p[p.OPTIONS=6]="OPTIONS",p[p.TRACE=7]="TRACE",p[p.PATCH=8]="PATCH",o;var p})()},7709:(G,O,u)=>{"use strict";u.d(O,{h:()=>o});class o{constructor(S,E){if(!S)throw new Error("You must provide a name when creating a name/value argument");this.name=S,this.value=E}}},3022:(G,O,u)=>{"use strict";u.d(O,{tO:()=>Ot,VN:()=>Oe});var o=u(4235),p=u.n(o),A=u(1305),S=u.n(A),E=u(4798),M=u.n(E),R=u(9138),I=u.n(R),P=u(248),x=u.n(P),L=u(1503),Z=u.n(L),te=u(7614),ye=u.n(te);function Ce(me){if(p()(me)||S()(me)||M()(me)||I()(me)||x()(me))return!0;if(!ye()(me)&&!Z()(me))return!1;for(const ze in me)if(!Ce(me[ze]))return!1;return!0}class Oe{constructor(){this.contentType="application/x-www-form-urlencoded",this.separatorStart="",this.separatorEnd="",this.recordSeparator="&"}encode(ze,Ee,fe){if(!ze)throw new Error("Name must have a non-empty value");return`${ze}=${encodeURIComponent(Ee.toString())}`+(fe?"":this.recordSeparator)}}class Ot{constructor(){this.contentType="application/json",this.separatorStart="{",this.separatorEnd="}",this.recordSeparator=","}encode(ze,Ee,fe){if(!ze)throw new Error("Name must have a non-empty value");if(!Ce(Ee))throw new Error("The passed in value can not be serialized to JSON");return JSON.stringify(ze)+":"+JSON.stringify(Ee)+(fe?"":this.recordSeparator)}}},4642:(G,O,u)=>{"use strict";u.d(O,{r:()=>nt,N:()=>vt});var o=u(1978),p=u.n(o);function A(we){return we?"1":"0"}var M=(()=>{return(we=M||(M={}))[we.Ascending=0]="Ascending",we[we.Descending=1]="Descending",M;var we})(),R=(()=>{return(we=R||(R={}))[we.Lexicographic=0]="Lexicographic",we[we.Ipv4=1]="Ipv4",we[we.Numeric=2]="Numeric",we[we.NumericZeroAsMax=3]="NumericZeroAsMax",R;var we})();class I{constructor(be,rt=M.Ascending,Mt=R.Lexicographic){if(!be)throw new Error("You must provide a non-empty column name for a Sort rule.");this.column=be,this.direction=rt,this.type=Mt}}var P=(()=>{return(we=P||(P={}))[we.Contains=0]="Contains",we[we.Begins=1]="Begins",we[we.Ends=2]="Ends",we[we.Matches=3]="Matches",we[we.Equal=4]="Equal",we[we.NotEqual=5]="NotEqual",we[we.LessThan=6]="LessThan",we[we.LessThanUnlimited=7]="LessThanUnlimited",we[we.GreaterThan=8]="GreaterThan",we[we.GreaterThanUnlimited=9]="GreaterThanUnlimited",we[we.Defined=10]="Defined",we[we.Undefined=11]="Undefined",P;var we})();class x{constructor(be,rt,Mt){if(!be)throw new Error("You must define a non-empty column name.");this.column=be,this.operator=rt,this.value=Mt}}var L=u(7709);const te=Number.POSITIVE_INFINITY;class ye{constructor(be=1,rt=20){if(be<=0)throw new Error("The page must be 1 or greater. This is the logical page, not a programming index.");if(rt<=0)throw new Error("The pageSize must be set to 'ALL' or a number > 0");this.page=be,this.pageSize=rt}all(){return this.pageSize===te}}class Ce{constructor(be=[]){this.headers=be}push(be){this.headers.push(be)}forEach(be,rt){this.headers.forEach(be,rt)}toArray(){const be=[];return this.headers.forEach((rt=>be.push({name:rt.name,value:rt.value}))),be}toObject(){return this.headers.reduce(((be,rt)=>(be[rt.name]=rt.value,be)),{})}}class Te{constructor(be){this._header=be}get name(){return this._header.name}get value(){return this._header.value}}class Oe extends Error{constructor(be){super(be),this.name="CpanelApiTokenInvalidError",Object.setPrototypeOf(this,Oe.prototype)}}class Ot extends Error{constructor(be){super(be),this.name="CpanelApiTokenMismatchError",Object.setPrototypeOf(this,Ot.prototype)}}class me extends Te{constructor(be,rt){if(!be)throw new Oe("You must pass a valid token to the constructor.");if(!rt&&!/^.+[:]/.test(be))throw new Oe("You must pass a cPanel username associated with the cPanel API token.");if(!rt&&!/[:].+$/.test(be))throw new Oe("You must pass a valid cPanel API token.");super({name:"Authorization",value:`cpanel ${rt?rt+":":""}${be}`})}}Error,Error;var Lt=u(109);const je=new class xt{constructor(){this.map={},this.map.DEFAULT={verb:"DEFAULT",dataInBody:!0},[Lt.F.GET,Lt.F.DELETE,Lt.F.HEAD].forEach((be=>{const rt=Lt.F[be].toString();this.map[rt]={verb:rt,dataInBody:!1}})),[Lt.F.POST,Lt.F.PUT,Lt.F.PATCH].forEach((be=>{const rt=Lt.F[be].toString();this.map[rt]={verb:rt,dataInBody:!0}}))}getRule(be){const rt="string"==typeof be?be:Lt.F[be].toString();let Mt=this.map[rt];return Mt||(Mt=this.map.DEFAULT),Mt}};var Ue=u(3022),Qe=u(8448),Nt=u.n(Qe),vt=(()=>{return(we=vt||(vt={})).JsonApi="json-api",we.XmlApi="xml-api",vt;var we})();class nt extends class bt{constructor(be){this.namespace="",this.method="",this.arguments=[],this.sorts=[],this.filters=[],this.columns=[],this.pager=new ye,this.headers=new Ce,this._usePager=!1,this.defaultConfig={analytics:!1,json:!1},this.config=this.defaultConfig,be&&(this.method=be.method,be.namespace&&(this.namespace=be.namespace),be.arguments&&be.arguments.forEach((rt=>{this.addArgument(rt)})),be.sorts&&be.sorts.forEach((rt=>{this.addSort(rt)})),be.filters&&be.filters.forEach((rt=>{this.addFilter(rt)})),be.columns&&be.columns.forEach((rt=>this.addColumn(rt))),be.pager&&this.paginate(be.pager),this.config=be.config?be.config:this.defaultConfig,be.headers&&be.headers.forEach((rt=>{this.addHeader(rt)})))}get usePager(){return this._usePager}addArgument(be){return this.arguments.push(be instanceof L.h?be:new L.h(be.name,be.value)),this}addSort(be){return this.sorts.push(be instanceof I?be:new I(be.column,be.direction,be.type)),this}addFilter(be){return this.filters.push(be instanceof x?be:new x(be.column,be.operator,be.value)),this}addColumn(be){return this.columns.push(be),this}addHeader(be){return this.headers.push(be instanceof Te?be:new Te(be)),this}paginate(be){return this.pager=be instanceof ye?be:new ye(be.page,be.pageSize||20),this._usePager=!0,this}}{constructor(be,rt){if(super(rt),this.apiType=vt.JsonApi,be!=vt.JsonApi&&be!=vt.XmlApi)throw new Error("You must define the API type for the whmapi call before you generate a request.");if(this.apiType=be,!this.method)throw new Error("You must define a method for the WHM API call before you generate a request")}addHeader(be){if(be instanceof me)throw new Ot("A CpanelApiTokenHeader cannot be used on a WhmApiRequest");return super.addHeader(be),this}_build(be,rt){let Mt="";return be.forEach(((wt,$e,Ke)=>{Mt+=rt.encode(wt.name,wt.value,$e===Ke.length-1)})),rt.separatorStart+Mt+rt.separatorEnd}_make_whm_api_fieldspec_from_number(be){return Nt()("",Math.floor(be/26),"z")+"abcdefghijklmnopqrstuvwxyz".charAt(be%26)}_generateArguments(be){be.push({name:"api.version",value:1}),this.arguments.forEach((Mt=>be.push(Mt)))}_generateSorts(be){this.sorts.forEach(((rt,Mt)=>{0===Mt&&be.push({name:"api.sort.enable",value:A(!0)});const wt=`api.sort.${this._make_whm_api_fieldspec_from_number(Mt)}`;be.push({name:`${wt}.field`,value:rt.column}),be.push({name:`${wt}.reverse`,value:A(rt.direction!==M.Ascending)}),be.push({name:`${wt}.method`,value:p()(R[rt.type])})}))}_lookupFilterOperator(be){switch(be){case P.GreaterThanUnlimited:return"gt_handle_unlimited";case P.GreaterThan:return"gt";case P.LessThanUnlimited:return"lt_handle_unlimited";case P.LessThan:return"lt";case P.Equal:return"eq";case P.Begins:return"begins";case P.Contains:return"contains";default:throw new Error(`Unrecoginzed FilterOperator ${P[be]} for WHM API 1`)}}_generateFilters(be){this.filters.forEach(((rt,Mt)=>{0===Mt&&(be.push({name:"api.filter.enable",value:A(!0)}),be.push({name:"api.filter.verbose",value:A(!0)}));const wt=`api.filter.${this._make_whm_api_fieldspec_from_number(Mt)}`;be.push({name:`${wt}.field`,value:rt.column}),be.push({name:`${wt}.type`,value:this._lookupFilterOperator(rt.operator)}),be.push({name:`${wt}.arg0`,value:rt.value})}))}_translatePageToStart(be){return(be.page-1)*be.pageSize+1}_generatePagination(be){if(!this.usePager)return;const rt=this.pager.all();be.push({name:"api.chunk.enable",value:A(!0)}),be.push({name:"api.chunk.verbose",value:A(!0)}),be.push({name:"api.chunk.start",value:rt?-1:this._translatePageToStart(this.pager)}),rt||be.push({name:"api.chunk.size",value:this.pager.pageSize})}generate(be){be||(be={verb:Lt.F.POST,encoder:this.config.json?new Ue.tO:new Ue.VN}),be.encoder||(be.encoder=this.config.json?new Ue.tO:new Ue.VN);const rt=je.getRule(be.verb),Mt={headers:new Ce([{name:"Content-Type",value:be.encoder.contentType}]),url:["",this.apiType,this.method].map(encodeURIComponent).join("/"),body:""},wt=[];this._generateArguments(wt),this._generateSorts(wt),this._generateFilters(wt),this._generatePagination(wt);const $e=this._build(wt,be.encoder);return rt.dataInBody?Mt.body=$e:Mt.url+=be.verb===Lt.F.GET?`?${$e}`:$e,this.headers.forEach((Ke=>{Mt.headers.push({name:Ke.name,value:Ke.value})})),Mt}}},269:(G,O,u)=>{"use strict";O.g=void 0;const p=u(1680);Object.defineProperty(O,"g",{enumerable:!0,get:function(){return p.Locale}})},5074:(G,O)=>{"use strict";Object.defineProperty(O,"__esModule",{value:!0}),O.CLDR=void 0,O.CLDR=class u{constructor(p){this.rawData=p,this.validateCLDR(this.rawData)}validateCLDR(p){if(!p)throw new Error("CLDR data cannot be null");if(!p.locale)throw new Error("CLDR data is missing locale information");if(!Object.prototype.hasOwnProperty.call(p,"functions")||Object.prototype.hasOwnProperty.call(p,"get_plural_form")||"function"!=typeof p.functions.get_plural_form)throw new Error("CLDR data is missing function get_plural_form");if(!Object.prototype.hasOwnProperty.call(p,"datetime_info"))throw new Error("CLDR data is missing datetime_info");if(!Object.prototype.hasOwnProperty.call(p,"misc_info"))throw new Error("CLDR data is missing misc_info");if(!Object.prototype.hasOwnProperty.call(p.misc_info,"cldr_formats"))throw new Error("CLDR data is missing cldr_formats");if(!Object.prototype.hasOwnProperty.call(p.misc_info,"orientation")||!Object.prototype.hasOwnProperty.call(p.misc_info.orientation,"characters"))throw new Error("CLDR data is missing orientation information");if(!Object.prototype.hasOwnProperty.call(p.misc_info,"delimiters"))throw new Error("CLDR data is missing delimiter information");return!0}getLocale(){return this.rawData.locale}getPluralForm(p,...A){return this.rawData.functions.get_plural_form(p,...A)}getDateTimeInfo(){return this.rawData.datetime_info}getFormats(){return this.rawData.misc_info.cldr_formats}getDelimiters(){return this.rawData.misc_info.delimiters}isRtl(){return"right-to-left"===this.rawData.misc_info.orientation.characters}isLtr(){return"left-to-right"===this.rawData.misc_info.orientation.characters}}},1680:(G,O,u)=>{"use strict";Object.defineProperty(O,"__esModule",{value:!0}),O.Locale=void 0;const o=u(2889),p=u(9483),A=u(741),S=u(786),E=u(5074);O.Locale=class M{constructor(I,P={}){this.lexicon=P,this._cldr=new E.CLDR(I)}maketext(I,...P){return o.maketext({cldr:this._cldr,lexicon:this.lexicon,template:I,args:P})}localDatetime(I,P){return this._datetimeWrapper(p.local_datetime,I,P)}datetime(I,P){return this._datetimeWrapper(p.datetime,I,P)}_datetimeWrapper(I,P,x){return I({cldr:this._cldr,args:[P,x]})}getCurrentLocale(){return this._cldr.getLocale()}get isRtl(){return this._cldr.isRtl()}get isLtr(){return this._cldr.isLtr()}get cldr(){return this._cldr}numf(I,P){return this._formatNumber(A.numf,I,P)}format_bytes(I,P){return this._formatNumber(A.format_bytes,I,P)}_formatNumber(I,...P){return this._callCLDRFunc(I,P)}list_and(...I){return this._callCLDRFunc(S.list_and,I)}list_and_quoted(...I){return this._callCLDRFunc(S.list_and_quoted,I)}list_or(...I){return this._callCLDRFunc(S.list_or,I)}list_or_quoted(...I){return this._callCLDRFunc(S.list_or_quoted,I)}_callCLDRFunc(I,P){return I({cldr:this._cldr,args:P})}}},7296:(G,O,u)=>{"use strict";Object.defineProperty(O,"__esModule",{value:!0}),O.asis=void 0;const o=u(5247);O.asis=function p({args:[A,...S]}){if(!A||S.length>0||"string"!=typeof A)throw new Error("asis function accepts one non translatable string.");return(A=A.replace(/chr\((\d+)\)/g,(function(E,M){return o.functions.chr(Number(M))}))).replace(/amp\(\)/g,(function(E){return o.functions.amp()}))}},527:(G,O)=>{"use strict";Object.defineProperty(O,"__esModule",{value:!0}),O.boolean=void 0,O.boolean=function u({args:[o,p,A,S]}){if(null==p||0===p.length||null==A||0===A.length)throw new Error("boolean function needs a valid whenTrue, whenFalse arguments.");return String(typeof o<"u"&&o?p:S&&null==o?S:A)}},9076:(G,O)=>{"use strict";Object.defineProperty(O,"__esModule",{value:!0}),O.comment=void 0,O.comment=function u({args:[o]}){return""}},9483:(G,O,u)=>{"use strict";Object.defineProperty(O,"__esModule",{value:!0}),O.local_datetime=O.datetime=O.dateToLocalDayNum=void 0;const o=u(5074),p=function(x){const L=x.getUTCDay()-1;return L<0?6:L},A=[7,1,2,3,4,5,6];function S(x,L){return(A[x.getUTCDay()]+7-L)%7+1}O.dateToLocalDayNum=S;const E=function(x,L,Z){let te="",ye=0;return L=L||0,Z=String(void 0===Z?" ":Z),ye=L-String(x).length,ye>0&&(te=[...Array(ye)].map(String.prototype.valueOf,Z).join("")),te+x};function M({cldr:x,args:[L=new Date,Z],tzString:te="UTC"}){if("number"==typeof L&&/^-?\d+$/.test(L.toString())&&(L=new Date(1e3*L)),!(L instanceof Date))throw new Error("The datetime function only accepts Date instances or integer values (unix timestamps) for the `date` parameter.");if(!(x instanceof o.CLDR))throw new Error("The datetime function requires a valid CLDR instance for the `cldr` parameter.");const ye=x.getDateTimeInfo();return"string"==typeof Z&&/^(?:date|time|datetime|special)_format_/.test(Z)&&(Z=ye[Z]),Z||(Z=ye.date_format_long),Z.replace(/('[^']+')|(([a-zA-Z])\3*)/g,(function(Ce,Te,Oe){return Te?function R(x){return x.substr(1,x.length-2)}(Te):function I(x,L,Z,te){switch(Z){case"yy":return Math.abs(x.getUTCFullYear()).toString().slice(-2);case"y":case"yyy":case"yyyy":return String(Math.abs(x.getUTCFullYear()));case"MMMMM":return L.month_format_narrow[x.getUTCMonth()];case"LLLLL":return L.month_stand_alone_narrow[x.getUTCMonth()];case"MMMM":return L.month_format_wide[x.getUTCMonth()];case"LLLL":return L.month_stand_alone_wide[x.getUTCMonth()];case"MMM":return L.month_format_abbreviated[x.getUTCMonth()];case"LLL":return L.month_stand_alone_abbreviated[x.getUTCMonth()];case"MM":case"LL":return E((x.getUTCMonth()+1).toString(),2,"0");case"M":case"L":return String(x.getUTCMonth()+1);case"EEEE":return L.day_format_wide[p(x)];case"EEE":case"EE":case"E":return L.day_format_abbreviated[p(x)];case"EEEEE":return L.day_format_narrow[p(x)];case"cccc":return L.day_stand_alone_wide[p(x)];case"ccc":return L.day_stand_alone_abbreviated[p(x)];case"cc":case"c":return String(S(x,Number(L.first_day_of_week)));case"ccccc":return L.day_stand_alone_narrow[p(x)];case"dd":return E(x.getUTCDate().toString(),2,"0");case"d":return String(x.getUTCDate());case"h":case"hh":{let ye=x.getUTCHours();ye>12&&(ye-=12),0===ye&&(ye=12);const Ce="hh"===Z?E(ye.toString(),2,"0"):ye;return String(Ce)}case"H":return String(x.getUTCHours());case"HH":return E(x.getUTCHours().toString(),2,"0");case"m":return String(x.getUTCMinutes());case"mm":return E(x.getUTCMinutes().toString(),2,"0");case"s":return String(x.getUTCSeconds());case"ss":return E(x.getUTCSeconds().toString(),2,"0");case"a":return x.getUTCHours()<12?L.am_pm_abbreviated[0]:L.am_pm_abbreviated[1];case"z":case"zzzz":case"v":case"vvvv":return te;case"G":case"GG":case"GGG":return L.era_abbreviated[x.getUTCFullYear()<0?0:1];case"GGGGG":return L.era_narrow[x.getUTCFullYear()<0?0:1];case"GGGG":return L.era_wide[x.getUTCFullYear()<0?0:1]}return Z}(L,ye,Oe,te)}))}O.datetime=M,O.local_datetime=function P({cldr:x,args:[L=new Date,Z]}){if("number"==typeof L&&/^-?\d+$/.test(L.toString())&&(L=new Date(1e3*L)),!(L instanceof Date))throw new Error("The datetime function only accepts Date instances or integer values (unix timestamps) for the `date` parameter.");if(!(x instanceof o.CLDR))throw new Error("The datetime function requires a valid CLDR instance for the `cldr` parameter.");const te=L.getTimezoneOffset();(L=new Date(L)).setMinutes(L.getMinutes()-te);const ye=te>0?"-":"+",Ce=Math.floor(Math.abs(te)/60),Te=Math.abs(te%60);return M({cldr:x,args:[L,Z],tzString:"GMT"+ye+E(Ce.toString(),2,"0")+E(Te.toString(),2,"0")})}},40:(G,O,u)=>{"use strict";Object.defineProperty(O,"__esModule",{value:!0}),O.functions=void 0;const o=u(7296),p=u(5247),A=u(9076),S=u(527),E=u(741),M=u(9483),R=u(786);O.functions={asis:o.asis,output:p.output,comment:A.comment,boolean:S.boolean,numf:E.numf,numerate:E.numerate,quant:E.quant,format_bytes:E.format_bytes,datetime:M.datetime,local_datetime:M.local_datetime,list_and:R.list_and,list_or:R.list_or,list_or_quoted:R.list_or_quoted,list_and_quoted:R.list_and_quoted}},786:(G,O)=>{"use strict";function o(R,I,...P){let x=P.slice();switch(1===x.length&&Array.isArray(x[0])&&(x=x[0].slice()),(typeof x>"u"||0===x.length)&&(x=[""]),x=x.map((L=>function u(R,I){const P=R.getDelimiters();return P&&Object.prototype.hasOwnProperty.call(P,"quotation_start")&&Object.prototype.hasOwnProperty.call(P,"quotation_end")?P.quotation_start+I+P.quotation_end:I}(R,L))),I){case"list_and":return E({cldr:R,args:x});case"list_or":return M({cldr:R,args:x});default:throw new Error("Did you mean list_and_quoted or list_or_quoted?")}}function S(R,I,...P){let x=P.slice();1===x.length&&Array.isArray(x[0])&&(x=x[0].slice());const L=x.length;let Z,te,ye,Ce;try{Z=R.getFormats()[I]}catch{throw new Error("CLDR Data is missing information related to formatting list.")}const Te=function(Oe,Ot){switch(Ot){case"0":return ye;case"1":return x[Ce++]}};switch(L){case 0:return"";case 1:return String(x[0]);default:if(ye=2===L?Z[2]:Z.start,ye=ye.replace(/\{([01])\}/g,(function(Oe,Ot){return x[Ot]})),2===L)return ye;for(Ce=2;Ce<L;)te=Z[Ce===L-1?"end":"middle"],ye=te.replace(/\{([01])\}/g,Te);return ye}}function E({cldr:R,args:[...I]}){return S(R,"list",...I)}function M({cldr:R,args:[...I]}){return S(R,"list_or",...I)}Object.defineProperty(O,"__esModule",{value:!0}),O.list_or=O.list_and=O.list_or_quoted=O.list_and_quoted=void 0,O.list_and_quoted=function p({cldr:R,args:[...I]}){return o(R,"list_and",...I)},O.list_or_quoted=function A({cldr:R,args:[...I]}){return o(R,"list_or",...I)},O.list_and=E,O.list_or=M},5247:(G,O,u)=>{"use strict";Object.defineProperty(O,"__esModule",{value:!0}),O.functions=O.output=void 0;const o=u(7906),p=u(8533);O.output=function A({args:[S,...E]}){if(E&&"string"==typeof E[0]&&(E[0]=E[0].replace(/chr\((\d+)\)/g,(function(M,R){return O.functions.chr(Number(R))})),E[0]=E[0].replace(/amp\(\)/g,(function(M){return O.functions.amp()}))),"function"==typeof O.functions[S])return O.functions[S](...E);throw new Error(`Locale output function '${S}' is not implemented.`)},O.functions={amp:()=>o.htmlEscape("&"),apos:()=>o.htmlEscape("'"),quot:()=>o.htmlEscape('"'),underline:S=>`<u>${S}</u>`,strong:S=>`<strong>${S}</strong>`,em:S=>`<em>${S}</em>`,abbr:(S,E)=>`<abbr title="${E}">${S}</abbr>`,acronym:(S,E)=>`<abbr title="${E}" class="initialism">${S}</abbr>`,class:(S,...E)=>`<span class="${E.join(" ")}">${S}</span>`,chr(S){if("string"==typeof S&&(S=Number(S)),"number"!=typeof S||isNaN(S))throw new Error("chr needs a number as argument");return o.htmlEscape(String.fromCharCode(S))},url(S,...E){let M,R;if("object"==typeof E[E.length-1])if(M=E[E.length-1],2===E.length){if(M.html)throw new Error("Cannot provide both text and configuration with html attribute");R=E[0]}else M&&M.html?(R=M.html,delete M.html):R=S;else E.length%2==0?(M=p.listToObject(...E),M&&"html"in M&&""!==M.html?(R=M.html,delete M.html):R=S):(R=E.shift(),M=p.listToObject(...E));"_type"in M&&"offsite"===M._type&&(M.class="offsite",M.target="_blank",delete M._type);let I=`<a href="${S}"`;if("object"==typeof M)for(const P in M)Object.prototype.hasOwnProperty.call(M,P)&&(I+=` ${P}="${M[P]}"`);return I+=`>${R}</a>`,I}}},741:(G,O,u)=>{"use strict";Object.defineProperty(O,"__esModule",{value:!0}),O.format_bytes=O.numf=O.quant=O.numerate=void 0;const o=u(5074);function A({cldr:R,args:[I,...P]}){if(!(R instanceof o.CLDR))throw new Error("`quant` function requires a valid CLDR instance for the `cldr` parameter.");let x,L=3;I instanceof Array?(L=I[1],x=I[0]):x=I;const Z=R.getPluralForm(x,...P),te=Z[0]?Z[0]:P[P.length-1];if(Z&&Z.length>=2&&Z[1])return te;const Ce=E({cldr:R,args:[x,L]});return-1!==te.indexOf("%s")?te.replace(/%s/g,Ce):R.isRtl()?te+" "+Ce:Ce+" "+te}function E({cldr:R,args:[I,P=6]}){if(!(R instanceof o.CLDR))throw new Error("`numf` function requires a valid CLDR instance for the `cldr` parameter.");if(/e/.test(I.toString()))return String(I);const{decimalFormat:x,decimalGroup:L,decimalDecimal:Z}=function S(R){const I={},P=R.getFormats();return Object.prototype.hasOwnProperty.call(P,"decimal")&&(I.decimalFormat=P.decimal),Object.prototype.hasOwnProperty.call(P,"_decimal_format_group")&&(I.decimalGroup=P._decimal_format_group),Object.prototype.hasOwnProperty.call(P,"_decimal_format_decimal")&&(I.decimalDecimal=P._decimal_format_decimal),I}(R);if(!x||!L||!Z)throw new Error("CLDR Data is missing information related to formatting decimals.");const te=I<0;I=Math.abs(I);let Ce,Te,ye=Math.floor(I);/(?!')\.(?!')/.test(I.toString())&&(Ce=String(I).replace(/^[^.]+/,"0"),Ce=Number(Ce).toFixed(P),/^1/.test(Ce)?(ye++,I=ye,Ce=void 0):Ce=Ce.replace(/^.*\./,"").replace(/0+$/,"")),Te=/(?!');(?!')/.test(x)?x.split(/(?!');(?!')/)[te?1:0]:(te?"-":"")+x;const me=Te.match(/[0#].*[0#]/)[0].split(/(?!')\.(?!')/)[0].split("").reverse().join("").split(/(?!'),(?!')/);let ze;1===me.length?ze="":(me.pop(),ze=L);const Ee=String(ye).split("").reverse(),fe=[];let bt;const Lt=function(je){switch(je){case"#":return Ee.shift()||"";case"0":return Ee.shift()||"0"}};for(;Ee.length;){me.length&&(bt=me.shift());const je=bt.replace(/(?!')[0#]|[0#](?!')/g,Lt).replace(/'([.,0#;\xa4%E])'$/,"").replace(/'([.,0#;\xa4%E])'/,"$1");fe.push(je)}const xt=fe.join(ze).split("").reverse().join("")+(Ce?Z+Ce:"");return Te.replace(/[0#].*[0#]/,xt)}O.numerate=function p({cldr:R,args:[I,...P]}){if(!(R instanceof o.CLDR))throw new Error("`numerate` function requires a valid CLDR instance for the `cldr` parameter.");const x=R.getPluralForm(I,...P);return x?x[0]:P[P.length-1]},O.quant=A,O.numf=E,O.format_bytes=function M({cldr:R,args:[I,P=2]}){if(!(R instanceof o.CLDR))throw new Error("`format_bytes` function requires a valid CLDR instance for the `cldr` parameter.");const x=["KB","MB","GB","TB","PB","EB","ZB","YB"],Z=I&&Math.min(Math.floor(Math.log(I)/Math.log(1024)),x.length);return Z?E({cldr:R,args:[I/Math.pow(1024,Z),P]})+" "+x[Z-1]:A({cldr:R,args:[I,"%s byte","%s bytes"]})}},2889:(G,O,u)=>{"use strict";Object.defineProperty(O,"__esModule",{value:!0}),O.maketext=O.functions=O.config=void 0;const o=u(40);function E(M,R){const I=[];let P=!1,x=!1;return M.forEach(((L,Z)=>{if("_"===L.charAt(0))if("_*"===L){if(x)throw"You cannot combine wildcard substitution (_*) with a numeric substitution (e.g. _1) in the same bracket.";I.push(...R),P=!0}else{const te=L.match(O.config.underscoreDigitRe);if(te){if(P)throw"You cannot combine wildcard substitution (_*) with a numeric substitution (e.g. _1) in the same bracket.";const[ye,Ce]=te,Te=Number(Ce)-1;if(!(Te in R))throw`The "${ye}" substitution argument was not passed to the maketext function.`;I.push(R[Te]),x=!0}}else I.push(L)})),I}O.config={bracketRe:/([^~\[\]]+|~.|\[|\]|~)/g,underscoreDigitRe:/^_(\d+)$/,fauxComma:"",fauxCommaRe:new RegExp("","g"),tildeChars:new Set(["[","]","~"])},O.functions={...o.functions},O.maketext=function A({cldr:M,lexicon:R,template:I,args:P}){if("string"!=typeof I)throw"You must pass a string template to the maketext function.";if(-1===(I=R&&R[I]||I).indexOf("["))return I;const x=I.match(O.config.bracketRe)||[],L=[];let Z=!1,te="";if(x.forEach((ye=>{if("["===ye){if(Z)throw Error(`Invalid maketext string: ${I} \nThe string contains nested brackets.`);Z=!0}else if("]"===ye){if(!Z)throw Error(`Invalid maketext string: ${I} \nThe string contains an unmatched closing bracket character (]).`);if(!te)throw Error(`Invalid maketext string: ${I} \nThe string contains empty brackets. Use the escape character (~) if the bracket characters were meant to be printed literally.`);let Ce;Z=!1;try{Ce=function S(M,R,I){let P=R.split(",");if(P=P.map((Z=>Z.replace(O.config.fauxCommaRe,","))),1===P.length){if(!O.config.underscoreDigitRe.test(P[0]))throw"A bracket must contain more than one argument, unless it is a pure substition.\n Example: Number of accounts: [_1]";const[Z]=E(P,I);return String(Z)}const x=P.shift();if(!x||"function"!=typeof O.functions[x])throw`Invalid function "${x}" in maketext string.`;const L=E(P,I);return O.functions[x]({cldr:M,args:L})}(M,te,P)}catch(Te){throw Error(`Invalid maketext string: ${I} \n${Te}`)}te="",L.push(Ce)}else if("~"===ye.charAt(0)){const Ce=ye.charAt(1)||"~";Z?te+=","===Ce?O.config.fauxComma:Ce:O.config.tildeChars.has(Ce)?L.push(Ce):L.push(ye)}else Z?te+=ye:L.push(ye)})),Z)throw Error(`Invalid maketext string: ${I} \nThe string contains an unmatched opening bracket character ([).`);return L.join("")}},7906:(G,O)=>{"use strict";Object.defineProperty(O,"__esModule",{value:!0}),O.htmlEscape=O.entityMap=void 0,O.entityMap={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/"},O.htmlEscape=function u(o){return String(o).replace(/[&<>"'\/]/g,(p=>O.entityMap[p]))}},8533:(G,O)=>{"use strict";Object.defineProperty(O,"__esModule",{value:!0}),O.listToObject=void 0,O.listToObject=function p(...A){let S={};return function u(A){if(A.length%2>0)throw new Error("An associative list must have an even number of parts: {name1}, {value1}, {name2}, {value2} ...");for(let E=0,M=A.length;E<M;E+=2){const R=A[E];if("string"!=typeof R||""===R)throw new Error("An associative list must provide non-empty string names in the 1st, 3rd, ... positions.")}return!0}(A)&&(S=function o(A){const S=A.length,E={};let R,I,M=0;for(;M<S;)R=A[M],I=A[++M],E[R]=I,M++;return E}(A)),S}},50:(G,O,u)=>{"use strict";Object.defineProperty(O,"__esModule",{value:!0}),O.commonValidators=void 0;const o=u(2257);O.commonValidators=new class p extends o.BaseValidator{constructor(){super(...arguments),this.prefix="common",this.STARTS_WITH_LETTER=/^[a-zA-Z]/,this.CONTAINS_SPACES=/^\S*$/}required(S){const E=S||this.locale.maketext("This field is required.");return M=>{let R={},I=M.value;return I&&(I=I.toString()),I&&I.length?null:(R=this.addError(R,"required",E),R)}}requiredTrue(S){const E=S||this.locale.maketext("This control's value should be true.");return M=>{let R={};return!0!==M.value?(R=this.addError(R,"requiredTrue",E),R):null}}startsWithLetter(S){return E=>{let M={};return E.value&&!this.STARTS_WITH_LETTER.test(E.value)?(M=this.addError(M,"doesNotStartWithLetter",S),M):null}}containsSpaces(S){return E=>{let M={};return E.value&&!this.CONTAINS_SPACES.test(E.value)?(M=this.addError(M,"containsSpace",S),M):null}}minLength(S,E){return M=>{let R={};return M.value&&M.value.length<E?(R=this.addError(R,"minLength",S),R):null}}maxLength(S,E){return M=>{let R={};return M.value&&M.value.length>E?(R=this.addError(R,"maxLength",S),R):null}}min(S,E){return M=>{let R={};return M.value&&M.value<E?(R=this.addError(R,"min",S),R):null}}max(S,E){return M=>{let R={};return M.value&&M.value>E?(R=this.addError(R,"max",S),R):null}}}},7414:(G,O,u)=>{"use strict";Object.defineProperty(O,"__esModule",{value:!0}),O.cPUserNoteValidators=void 0;const o=u(2257),p=u(9761),S=/[^ \n\P{White_Space}]|[^ \n\P{Control}]|[^ \P{Separator}]/u;O.cPUserNoteValidators=new class E extends o.BaseValidator{constructor(){super(...arguments),this.prefix="note"}validate(R=250,I=""){return P=>{let x=p.stringValidators.validUnicode()(P);if(!x){const L=this.locale.maketext("This note is too long.");x=p.stringValidators.maxCharacterLength(L)(R,P)}if(!x){const L=P.match(S);if(L){x={};const Z=L.index,te=L[0].codePointAt(0);this.addError(x,"character",this.locale.maketext("[asis,Unicode] character [numf,_1] (position [numf,_2]) is forbidden.",te,1+Z))}}return x}}}},6128:(G,O,u)=>{"use strict";Object.defineProperty(O,"__esModule",{value:!0}),O.cpanelUsernameValidators=void 0;const o=u(2257);O.cpanelUsernameValidators=new class p extends o.BaseValidator{constructor(){super(...arguments),this.prefix="cpanelUsername",this.VALID_USERNAME=/^(?![-.0-9])[a-z0-9]{1,16}$/}cpanelUsername(S){const E=S||this.locale.maketext("This is not a valid username.");return M=>{let R={};return M.value&&!this.VALID_USERNAME.test(M.value)?(R=this.addError(R,"invalidUsername",E),R):null}}}},6156:(G,O,u)=>{"use strict";Object.defineProperty(O,"__esModule",{value:!0}),O.databaseValidators=void 0;const o=u(2257),p=u(6369);O.databaseValidators=new class A extends o.BaseValidator{constructor(){super(...arguments),this.prefix="databases",this._dbPrefix="",this.DATABASE_NAME_LENGTH_LIMIT=64,this.ANYTHING_BUT_PRINTABLE_7_BIT_ASCII=/[^\u0020-\u007e]/,this.MYSQL_DB_NAME_INVALID_CHARACTERS=/[`'"\/\\]/,this.MYSQL_DB_NAME_INVALID_CHARACTERS_LIST=["'",'"',"`","/","\\"],this.MYSQL_DB_NAME_WILDCARDS=/(_|%|\\)/g,this.MYSQL_STARTED_ALLOWING_FILESYS_CHARACTERS=50116,this.MYSQL_STARTED_ALLOWING_LONG_USERNAMES=1e5}get dbPrefix(){return this._dbPrefix}validateDatabaseName(E,M,R){return I=>E===p.DatabaseType.MySQL?(this._dbPrefix=M||"",this.validateMySQLDatabaseName(I.value,R||"")):null}validateMySQLDatabaseName(E,M){const R=this._performMySqlDatabaseNameValidation(E,M);let I={};return R?(I=this.addError(I,"databaseName",R),I):null}_performMySqlDatabaseNameValidation(E,M){let R=null;return R=this._verifyNameLengthLimit(E),null!==R||(R=this._verifyDatabaseNameIgnoreLength(E),null!==R)||(R=this._verifyDatabaseName(E,M)),R}_verifyNameLengthLimit(E){let M=null,R=this.DATABASE_NAME_LENGTH_LIMIT;this._dbPrefix&&(R-=this._dbPrefix.length+1);const I=unescape(encodeURIComponent(E)).length-R;return I>0&&(M={message:this.locale.maketext("This value is too long by [quant,_1,character,characters]. The maximum length is [quant,_2,character,characters].",I,R)}),M}_verifyDatabaseNameIgnoreLength(E){return this.ANYTHING_BUT_PRINTABLE_7_BIT_ASCII.test(E)?{message:this.locale.maketext("This system allows only printable [asis,ASCII] characters in database names.")}:this.MYSQL_DB_NAME_INVALID_CHARACTERS.test(E)?{message:this.locale.maketext("This system prohibits the following [numerate,_1,character,characters] in database names: [list_or,_2]",3,this.MYSQL_DB_NAME_INVALID_CHARACTERS_LIST)}:null}_verifyDatabaseName(E,M){if(null!==E&&E.endsWith(" "))return{message:this.locale.maketext("A [asis,MariaDB]/[asis,MySQL] database name cannot end with a space character.")};const R=this._verifySpecialWildcardsInDatabaseNames(E);return null!==R?R:M&&this._convertVersionStringToNumber(M)<this.MYSQL_STARTED_ALLOWING_FILESYS_CHARACTERS&&/\./.test(E)?{message:this.locale.maketext("This system’s [asis,MySQL] version ([_1]) prohibits the character “[_2]” in database names. Ask your administrator to upgrade to a [asis,MariaDB] or to a newer [asis,MySQL] version.",M,".")}:null}_convertVersionStringToNumber(E){return E.match(/mariadb/i)&&(E=E.replace(/^[^-]+-/,"")),parseInt(E.replace(/-.*/,"").split(/\./).map((function(M){return M.padStart(2,"0")})).join(""),10)}_verifySpecialWildcardsInDatabaseNames(E){if(null===E)return null;const M=E.replace(this.MYSQL_DB_NAME_WILDCARDS,"\\$1").length;let R=this.DATABASE_NAME_LENGTH_LIMIT;this._dbPrefix&&(R-=this._dbPrefix.length+1);const I=M-R;return I>0?{message:this.locale.maketext("This database name has too many wildcard-sensitive characters ([list_and_quoted,_1]). The system stores each of these as two characters internally, up to a limit of [quant,_2,character,characters]. This name would take up [quant,_3,character,characters] of internal storage, which is [numf,_4] too many.",["\\","_","%"],R,M,I)}:null}}},4559:function(G,O,u){"use strict";var o=this&&this.__importDefault||function(R){return R&&R.__esModule?R:{default:R}};Object.defineProperty(O,"__esModule",{value:!0}),O.domainValidators=void 0;const p=u(549),A=o(u(4879)),S=o(u(836)),E=u(2257);O.domainValidators=new class M extends E.BaseValidator{constructor(){super(...arguments),this.prefix="domains",this.VALID_TLD_REGEX=/^[.][a-zA-Z0-9]+$/,this.VALID_IDN_TLD_REGEX=/^[.]xn--[a-zA-Z0-9-]+$/,this.MAX_DOMAIN_BYTES=254,this.MAX_LABEL_BYTES=63,this.UNICODE_ASCII_CUTOFF=127,this.NONINITIAL_LABEL_REGEX=/^[a-zA-Z0-9]([a-zA-Z0-9-]*[a-zA-Z0-9])?$/,this.IPv4_REGEX=/^(([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])$/,this.IPv6_REGEX=/((^\s*((([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5]))\s*$)|(^\s*((([0-9A-Fa-f]{1,4}:){7}([0-9A-Fa-f]{1,4}|:))|(([0-9A-Fa-f]{1,4}:){6}(:[0-9A-Fa-f]{1,4}|((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){5}(((:[0-9A-Fa-f]{1,4}){1,2})|:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){4}(((:[0-9A-Fa-f]{1,4}){1,3})|((:[0-9A-Fa-f]{1,4})?:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){3}(((:[0-9A-Fa-f]{1,4}){1,4})|((:[0-9A-Fa-f]{1,4}){0,2}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){2}(((:[0-9A-Fa-f]{1,4}){1,5})|((:[0-9A-Fa-f]{1,4}){0,3}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){1}(((:[0-9A-Fa-f]{1,4}){1,6})|((:[0-9A-Fa-f]{1,4}){0,4}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(:(((:[0-9A-Fa-f]{1,4}){1,7})|((:[0-9A-Fa-f]{1,4}){0,5}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:)))(%.+)?\s*$))/}_getNonASCII(I){const P=[],x=A.default.ucs2.decode(I);for(let L=0;L<x.length;L++)x[L]>this.UNICODE_ASCII_CUTOFF&&P.push(A.default.ucs2.encode([x[L]]));return S.default(P)}_validateLabelBasics(){return I=>{let P={};if(I.value&&0!==I.value.length){if(I.value.length>this.MAX_LABEL_BYTES)P=this.addError(P,"length",{message:this.locale.maketext("A label must not exceed [quant,_1,character,characters].",this.MAX_LABEL_BYTES),MAX_LABEL_BYTES:this.MAX_LABEL_BYTES});else if("-"===I.value[0])P=this.addError(P,"charCondition",this.locale.maketext("A label must not begin with “[_1]”.","-"));else if("-"===I.value[I.value.length-1])P=this.addError(P,"charCondition",this.locale.maketext("A label must not end with “[_1]”.","-"));else if(A.default.toASCII(I.value).length>this.MAX_LABEL_BYTES){const x=this._getNonASCII(I.value);P=this.addError(P,"length",this.locale.maketext("The label’s [asis,Punycode] representation cannot exceed [quant,_1,byte,bytes]. (Non-[asis,ASCII] characters, like “[_2]”, require multiple characters to represent in [asis,Punycode].)",this.MAX_LABEL_BYTES,x[0]))}}else P=this.addError(P,"length",this.locale.maketext("A label must not be empty."));return P}}validDomainLength(){return I=>{let P={};if(I.value.length>this.MAX_DOMAIN_BYTES)return P=this.addError(P,"length",this.locale.maketext("The domain name cannot exceed [quant,_1,character,characters].",this.MAX_DOMAIN_BYTES)),P;if(A.default.toASCII(I.value).length>this.MAX_DOMAIN_BYTES){const L=this._getNonASCII(I.value);return P=this.addError(P,"length",this.locale.maketext("The domain name’s [asis,Punycode] representation cannot exceed [quant,_1,character,characters]. (Non-[asis,ASCII] characters, like “[_2]”, require multiple characters to represent in [asis,Punycode].)",this.MAX_DOMAIN_BYTES,L[0])),P}return null}}validateLabel(){return I=>p.runValidationGroup(I,[this._validateLabelBasics(),P=>{let x={};return this.NONINITIAL_LABEL_REGEX.test(P.value)||(x=this.addError(x,"charCondition",this.locale.maketext("The label must contain only the following characters: [list_and,_1].",["a-z","A-Z","0-9","-"]))),x}])}validateTLD(){return I=>{let P={};return!this.VALID_TLD_REGEX.test(I.value)&&!this.VALID_IDN_TLD_REGEX.test(I.value)&&(P=this.addError(P,"tld",this.locale.maketext("The domain name must include a valid [output,acronym,TLD,Top Level Domain]."))),P}}fqdn(){return I=>{const P=I.value.split("."),x=P[P.length-1],L=P[0],Z=I.value,te=[()=>{let ye={};const Ce=this.IPv4_REGEX.test(Z),Te=this.IPv6_REGEX.test(Z);return Ce||Te?ye=this.addError(ye,"ipAddr",this.locale.maketext("You [output,strong,must] enter a hostname.")):P.length<2?ye=this.addError(ye,"oneDomain",this.locale.maketext("The domain name must include at least two labels.")):null},this.validDomainLength(),this.validateLabel().bind(this,{value:L}),this.validateTLD().bind(this,{value:"."+x})];return P.forEach((ye=>{te.push(this.validateLabel().bind(this,{value:ye}))})),p.runValidationGroup(I,te)}}fqdnOrIP(){return I=>{const P=p.runValidationGroup(I,[this.anyIP()]),x=I.value.split("."),L=x[x.length-1],Z=x[0],te=[Ce=>{let Te={};return x.length<2&&(Te=this.addError(Te,"oneDomain",this.locale.maketext("The domain name must include at least two labels."))),Te},this.validDomainLength(),this.validateLabel().bind(this,{value:Z}),this.validateTLD().bind(this,{value:"."+L})];x.forEach((Ce=>{te.push(this.validateLabel().bind(this,{value:Ce}))}));const ye=p.runValidationGroup(I,te);return P&&ye?{...P,...ye}:null}}ipv4(){return I=>{let P={};return I.value&&!this.IPv4_REGEX.test(I.value)?(P=this.addError(P,"ipv4",this.locale.maketext("Invalid [asis,IPv4] compatible address.")),P):null}}ipv6(){return I=>{let P={};return I.value&&!this.IPv6_REGEX.test(I.value)?(P=this.addError(P,"ipv6",this.locale.maketext("Invalid [asis,IPv6] compatible address.")),P):null}}anyIP(){return I=>{let P={};return!I.value||this.IPv4_REGEX.test(I.value)||this.IPv6_REGEX.test(I.value)?null:(P=this.addError(P,"anyIP",this.locale.maketext("Invalid [asis,IPv4] or [asis,IPv6] compatible address.")),P)}}}},8415:(G,O,u)=>{"use strict";Object.defineProperty(O,"__esModule",{value:!0}),O.emailValidators=void 0;const o=u(2257);O.emailValidators=new class p extends o.BaseValidator{constructor(){super(...arguments),this.prefix="email",this.VALID_EMAIL=/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/}validateEmail(S){const E=S||this.locale.maketext("Make sure to use a valid email format. For example, [asis,user@example.com].");return M=>{let R={};return M.value&&!this.VALID_EMAIL.test(M.value)?(R=this.addError(R,"invalidEmail",E),R):null}}}},7348:(G,O,u)=>{"use strict";Object.defineProperty(O,"__esModule",{value:!0}),O.equalityValidators=void 0;const o=u(2257);O.equalityValidators=new class p extends o.BaseValidator{constructor(){super(...arguments),this.prefix="equality"}equalTo(S,E,M){return R=>{const I=R.get(E).value;let x={};return I===R.get(M).value&&""!==I?(x=this.addError(x,"equalFields",S),x):null}}}},2502:(G,O,u)=>{"use strict";O.uZ=void 0;u(50),u(4559);const S=u(2257);Object.defineProperty(O,"uZ",{enumerable:!0,get:function(){return S.BaseValidator}});u(6156),u(6369),u(6128),u(8415),u(7348),u(7414),u(9761)},2257:(G,O)=>{"use strict";Object.defineProperty(O,"__esModule",{value:!0}),O.BaseValidator=void 0;let u,o=!0;O.BaseValidator=class A{constructor(){this.prefix="",u={maketext:E=>{throw"DEVELOPER: You must specify a locale engine through the static variable BaseValidator.locale = myLocaleEngine"}}}static set locale(E){u=E}get locale(){return u}_buildKey(E){return o?`cpanel.${this.prefix}.${E}`:E}static disablePrefixing(){o=!1}static enablePrefixing(){o=!0}addError(E={},M,R){return"string"==typeof R&&(R={message:R}),E[this._buildKey(M)]=R,E}}},6369:(G,O)=>{"use strict";var o;Object.defineProperty(O,"__esModule",{value:!0}),O.DatabaseType=void 0,(o=O.DatabaseType||(O.DatabaseType={})).MySQL="MySQL",o.PostgreSQL="PostgreSQL"},91:(G,O)=>{"use strict";function A(E){return"0x"+E.toString(16)}Object.defineProperty(O,"__esModule",{value:!0}),O.characterLength=void 0,O.characterLength=function S(E,M){let R=0;for(let I=0;I<E.length;I++){R++;const P=E.charCodeAt(I);if(55296==(64512&P)){if(I++,I===E.length)throw new Error(M.maketext("This string ends with an incomplete [asis,UTF-16] surrogate pair ([_1]).",A(P)));const x=E.charCodeAt(I);if(56320!=(64512&x))throw new Error(M.maketext("This string contains an invalid [asis,UTF-16] surrogate pair ([join,~, ,_1]) at position [numf,_2].",[P,x].map(A),I))}}return R}},549:function(G,O,u){"use strict";var o=this&&this.__importDefault||function(S){return S&&S.__esModule?S:{default:S}};Object.defineProperty(O,"__esModule",{value:!0}),O.runValidationGroup=void 0;const p=o(u(9721));O.runValidationGroup=function A(S,E){const M={};return E.forEach((R=>{p.default(M,R(S))})),Object.keys(M).length?M:null}},9761:(G,O,u)=>{"use strict";Object.defineProperty(O,"__esModule",{value:!0}),O.stringValidators=void 0;const o=u(2257),p=u(91);O.stringValidators=new class S extends o.BaseValidator{constructor(){super(...arguments),this.prefix="string"}validUnicode(){return M=>{let R;try{R=p.characterLength(M,this.locale)}catch(I){const P={};return this.addError(P,"unicode",I.message),P}return null}}maxCharacterLength(M){return(R,I)=>{if(p.characterLength(I,this.locale)>R){const Z={};return this.addError(Z,"length",M),Z}return null}}maxUTF8Length(M){return(R,I)=>{if(function A(E){return unescape(encodeURIComponent(E)).length}(I)>R){const P={};return this.addError(P,"length",M),P}return null}}}},4994:(G,O,u)=>{var o=u(4312),p=u(6421),A=u(5764),S=u(8685),E=u(6676);function M(R){var I=-1,P=null==R?0:R.length;for(this.clear();++I<P;){var x=R[I];this.set(x[0],x[1])}}M.prototype.clear=o,M.prototype.delete=p,M.prototype.get=A,M.prototype.has=S,M.prototype.set=E,G.exports=M},9215:(G,O,u)=>{var o=u(1840),p=u(4378),A=u(4981),S=u(7343),E=u(8895);function M(R){var I=-1,P=null==R?0:R.length;for(this.clear();++I<P;){var x=R[I];this.set(x[0],x[1])}}M.prototype.clear=o,M.prototype.delete=p,M.prototype.get=A,M.prototype.has=S,M.prototype.set=E,G.exports=M},1501:(G,O,u)=>{var A=u(3436)(u(2119),"Map");G.exports=A},9850:(G,O,u)=>{var o=u(638),p=u(1184),A=u(866),S=u(3771),E=u(1772);function M(R){var I=-1,P=null==R?0:R.length;for(this.clear();++I<P;){var x=R[I];this.set(x[0],x[1])}}M.prototype.clear=o,M.prototype.delete=p,M.prototype.get=A,M.prototype.has=S,M.prototype.set=E,G.exports=M},6323:(G,O,u)=>{var A=u(3436)(u(2119),"Set");G.exports=A},8849:(G,O,u)=>{var o=u(9850),p=u(4600),A=u(1387);function S(E){var M=-1,R=null==E?0:E.length;for(this.__data__=new o;++M<R;)this.add(E[M])}S.prototype.add=S.prototype.push=p,S.prototype.has=A,G.exports=S},443:(G,O,u)=>{var o=u(2119);G.exports=o.Symbol},6999:G=>{G.exports=function O(u,o,p){switch(p.length){case 0:return u.call(o);case 1:return u.call(o,p[0]);case 2:return u.call(o,p[0],p[1]);case 3:return u.call(o,p[0],p[1],p[2])}return u.apply(o,p)}},1253:(G,O,u)=>{var o=u(4164);G.exports=function p(A,S){return!(null==A||!A.length)&&o(A,S,0)>-1}},177:G=>{G.exports=function O(u,o,p){for(var A=-1,S=null==u?0:u.length;++A<S;)if(p(o,u[A]))return!0;return!1}},2271:(G,O,u)=>{var o=u(5334),p=u(7151),A=u(1503),S=u(891),E=u(8442),M=u(8159),I=Object.prototype.hasOwnProperty;G.exports=function P(x,L){var Z=A(x),te=!Z&&p(x),ye=!Z&&!te&&S(x),Ce=!Z&&!te&&!ye&&M(x),Te=Z||te||ye||Ce,Oe=Te?o(x.length,String):[],Ot=Oe.length;for(var me in x)(L||I.call(x,me))&&(!Te||!("length"==me||ye&&("offset"==me||"parent"==me)||Ce&&("buffer"==me||"byteLength"==me||"byteOffset"==me)||E(me,Ot)))&&Oe.push(me);return Oe}},4633:G=>{G.exports=function O(u,o){for(var p=-1,A=null==u?0:u.length,S=Array(A);++p<A;)S[p]=o(u[p],p,u);return S}},8745:G=>{G.exports=function O(u,o,p,A){var S=-1,E=null==u?0:u.length;for(A&&E&&(p=u[++S]);++S<E;)p=o(p,u[S],S,u);return p}},5481:(G,O,u)=>{var p=u(1847)("length");G.exports=p},6422:G=>{G.exports=function O(u){return u.split("")}},69:G=>{var O=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;G.exports=function u(o){return o.match(O)||[]}},9719:(G,O,u)=>{var o=u(5683),p=u(217),S=Object.prototype.hasOwnProperty;G.exports=function E(M,R,I){var P=M[R];(!S.call(M,R)||!p(P,I)||void 0===I&&!(R in M))&&o(M,R,I)}},3503:(G,O,u)=>{var o=u(217);G.exports=function p(A,S){for(var E=A.length;E--;)if(o(A[E][0],S))return E;return-1}},5683:(G,O,u)=>{var o=u(6713);G.exports=function p(A,S,E){"__proto__"==S&&o?o(A,S,{configurable:!0,enumerable:!0,value:E,writable:!0}):A[S]=E}},5317:G=>{G.exports=function O(u,o,p,A){for(var S=u.length,E=p+(A?1:-1);A?E--:++E<S;)if(o(u[E],E,u))return E;return-1}},3337:(G,O,u)=>{var o=u(443),p=u(1318),A=u(2902),M=o?o.toStringTag:void 0;G.exports=function R(I){return null==I?void 0===I?"[object Undefined]":"[object Null]":M&&M in Object(I)?p(I):A(I)}},4164:(G,O,u)=>{var o=u(5317),p=u(968),A=u(4977);G.exports=function S(E,M,R){return M==M?A(E,M,R):o(E,p,R)}},186:(G,O,u)=>{var o=u(3337),p=u(2671);G.exports=function S(E){return p(E)&&"[object Arguments]"==o(E)}},968:G=>{G.exports=function O(u){return u!=u}},7304:(G,O,u)=>{var o=u(5946),p=u(1943),A=u(5940),S=u(2827),M=/^\[object .+?Constructor\]$/,L=RegExp("^"+Function.prototype.toString.call(Object.prototype.hasOwnProperty).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");G.exports=function Z(te){return!(!A(te)||p(te))&&(o(te)?L:M).test(S(te))}},1083:(G,O,u)=>{var o=u(3337),p=u(6231),A=u(2671),Qe={};Qe["[object Float32Array]"]=Qe["[object Float64Array]"]=Qe["[object Int8Array]"]=Qe["[object Int16Array]"]=Qe["[object Int32Array]"]=Qe["[object Uint8Array]"]=Qe["[object Uint8ClampedArray]"]=Qe["[object Uint16Array]"]=Qe["[object Uint32Array]"]=!0,Qe["[object Arguments]"]=Qe["[object Array]"]=Qe["[object ArrayBuffer]"]=Qe["[object Boolean]"]=Qe["[object DataView]"]=Qe["[object Date]"]=Qe["[object Error]"]=Qe["[object Function]"]=Qe["[object Map]"]=Qe["[object Number]"]=Qe["[object Object]"]=Qe["[object RegExp]"]=Qe["[object Set]"]=Qe["[object String]"]=Qe["[object WeakMap]"]=!1,G.exports=function Nt(vt){return A(vt)&&p(vt.length)&&!!Qe[o(vt)]}},2809:(G,O,u)=>{var o=u(5940),p=u(5488),A=u(2158),E=Object.prototype.hasOwnProperty;G.exports=function M(R){if(!o(R))return A(R);var I=p(R),P=[];for(var x in R)"constructor"==x&&(I||!E.call(R,x))||P.push(x);return P}},1847:G=>{G.exports=function O(u){return function(o){return null==o?void 0:o[u]}}},2724:G=>{G.exports=function O(u){return function(o){return null==u?void 0:u[o]}}},7065:G=>{var u=Math.floor;G.exports=function o(p,A){var S="";if(!p||A<1||A>9007199254740991)return S;do{A%2&&(S+=p),(A=u(A/2))&&(p+=p)}while(A);return S}},3269:(G,O,u)=>{var o=u(2608),p=u(3983),A=u(2185);G.exports=function S(E,M){return A(p(E,M,o),E+"")}},9510:(G,O,u)=>{var o=u(6684),p=u(6713),A=u(2608);G.exports=p?function(E,M){return p(E,"toString",{configurable:!0,enumerable:!1,value:o(M),writable:!0})}:A},4363:G=>{G.exports=function O(u,o,p){var A=-1,S=u.length;o<0&&(o=-o>S?0:S+o),(p=p>S?S:p)<0&&(p+=S),S=o>p?0:p-o>>>0,o>>>=0;for(var E=Array(S);++A<S;)E[A]=u[A+o];return E}},5334:G=>{G.exports=function O(u,o){for(var p=-1,A=Array(u);++p<u;)A[p]=o(p);return A}},3935:(G,O,u)=>{var o=u(443),p=u(4633),A=u(1503),S=u(4129),M=o?o.prototype:void 0,R=M?M.toString:void 0;G.exports=function I(P){if("string"==typeof P)return P;if(A(P))return p(P,I)+"";if(S(P))return R?R.call(P):"";var x=P+"";return"0"==x&&1/P==-1/0?"-0":x}},3348:(G,O,u)=>{var o=u(2760),p=/^\s+/;G.exports=function A(S){return S&&S.slice(0,o(S)+1).replace(p,"")}},5647:G=>{G.exports=function O(u){return function(o){return u(o)}}},707:(G,O,u)=>{var o=u(8849),p=u(1253),A=u(177),S=u(5972),E=u(4575),M=u(4174);G.exports=function I(P,x,L){var Z=-1,te=p,ye=P.length,Ce=!0,Te=[],Oe=Te;if(L)Ce=!1,te=A;else if(ye>=200){var Ot=x?null:E(P);if(Ot)return M(Ot);Ce=!1,te=S,Oe=new o}else Oe=x?[]:Te;e:for(;++Z<ye;){var me=P[Z],ze=x?x(me):me;if(me=L||0!==me?me:0,Ce&&ze==ze){for(var Ee=Oe.length;Ee--;)if(Oe[Ee]===ze)continue e;x&&Oe.push(ze),Te.push(me)}else te(Oe,ze,L)||(Oe!==Te&&Oe.push(ze),Te.push(me))}return Te}},5972:G=>{G.exports=function O(u,o){return u.has(o)}},2329:(G,O,u)=>{var o=u(4363);G.exports=function p(A,S,E){var M=A.length;return E=void 0===E?M:E,!S&&E>=M?A:o(A,S,E)}},1989:(G,O,u)=>{var o=u(9719),p=u(5683);G.exports=function A(S,E,M,R){var I=!M;M||(M={});for(var P=-1,x=E.length;++P<x;){var L=E[P],Z=R?R(M[L],S[L],L,M,S):void 0;void 0===Z&&(Z=S[L]),I?p(M,L,Z):o(M,L,Z)}return M}},4610:(G,O,u)=>{var o=u(2119);G.exports=o["__core-js_shared__"]},4944:(G,O,u)=>{var o=u(3269),p=u(3342);G.exports=function A(S){return o((function(E,M){var R=-1,I=M.length,P=I>1?M[I-1]:void 0,x=I>2?M[2]:void 0;for(P=S.length>3&&"function"==typeof P?(I--,P):void 0,x&&p(M[0],M[1],x)&&(P=I<3?void 0:P,I=1),E=Object(E);++R<I;){var L=M[R];L&&S(E,L,R,P)}return E}))}},1491:(G,O,u)=>{var o=u(8745),p=u(4707),A=u(7188),E=RegExp("['’]","g");G.exports=function M(R){return function(I){return o(A(p(I).replace(E,"")),R,"")}}},5171:(G,O,u)=>{var o=u(7065),p=u(3935),A=u(2329),S=u(7609),E=u(2315),M=u(6007),R=Math.ceil;G.exports=function I(P,x){var L=(x=void 0===x?" ":p(x)).length;if(L<2)return L?o(x,P):x;var Z=o(x,R(P/E(x)));return S(x)?A(M(Z),0,P).join(""):Z.slice(0,P)}},4575:(G,O,u)=>{var o=u(6323),p=u(2552),A=u(4174),E=o&&1/A(new o([,-0]))[1]==1/0?function(M){return new o(M)}:p;G.exports=E},9148:(G,O,u)=>{var A=u(2724)({"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss","Ā":"A","Ă":"A","Ą":"A","ā":"a","ă":"a","ą":"a","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","ć":"c","ĉ":"c","ċ":"c","č":"c","Ď":"D","Đ":"D","ď":"d","đ":"d","Ē":"E","Ĕ":"E","Ė":"E","Ę":"E","Ě":"E","ē":"e","ĕ":"e","ė":"e","ę":"e","ě":"e","Ĝ":"G","Ğ":"G","Ġ":"G","Ģ":"G","ĝ":"g","ğ":"g","ġ":"g","ģ":"g","Ĥ":"H","Ħ":"H","ĥ":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Į":"I","İ":"I","ĩ":"i","ī":"i","ĭ":"i","į":"i","ı":"i","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","ĸ":"k","Ĺ":"L","Ļ":"L","Ľ":"L","Ŀ":"L","Ł":"L","ĺ":"l","ļ":"l","ľ":"l","ŀ":"l","ł":"l","Ń":"N","Ņ":"N","Ň":"N","Ŋ":"N","ń":"n","ņ":"n","ň":"n","ŋ":"n","Ō":"O","Ŏ":"O","Ő":"O","ō":"o","ŏ":"o","ő":"o","Ŕ":"R","Ŗ":"R","Ř":"R","ŕ":"r","ŗ":"r","ř":"r","Ś":"S","Ŝ":"S","Ş":"S","Š":"S","ś":"s","ŝ":"s","ş":"s","š":"s","Ţ":"T","Ť":"T","Ŧ":"T","ţ":"t","ť":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Ů":"U","Ű":"U","Ų":"U","ũ":"u","ū":"u","ŭ":"u","ů":"u","ű":"u","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","Ż":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","IJ":"IJ","ij":"ij","Œ":"Oe","œ":"oe","ʼn":"'n","ſ":"s"});G.exports=A},6713:(G,O,u)=>{var o=u(3436),p=function(){try{var A=o(Object,"defineProperty");return A({},"",{}),A}catch{}}();G.exports=p},9122:G=>{var O="object"==typeof global&&global&&global.Object===Object&&global;G.exports=O},4537:(G,O,u)=>{var o=u(3819);G.exports=function p(A,S){var E=A.__data__;return o(S)?E["string"==typeof S?"string":"hash"]:E.map}},3436:(G,O,u)=>{var o=u(7304),p=u(1990);G.exports=function A(S,E){var M=p(S,E);return o(M)?M:void 0}},9519:(G,O,u)=>{var p=u(9385)(Object.getPrototypeOf,Object);G.exports=p},1318:(G,O,u)=>{var o=u(443),p=Object.prototype,A=p.hasOwnProperty,S=p.toString,E=o?o.toStringTag:void 0;G.exports=function M(R){var I=A.call(R,E),P=R[E];try{R[E]=void 0;var x=!0}catch{}var L=S.call(R);return x&&(I?R[E]=P:delete R[E]),L}},1990:G=>{G.exports=function O(u,o){return null==u?void 0:u[o]}},7609:G=>{var M=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");G.exports=function R(I){return M.test(I)}},9062:G=>{var O=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;G.exports=function u(o){return O.test(o)}},4312:(G,O,u)=>{var o=u(862);G.exports=function p(){this.__data__=o?o(null):{},this.size=0}},6421:G=>{G.exports=function O(u){var o=this.has(u)&&delete this.__data__[u];return this.size-=o?1:0,o}},5764:(G,O,u)=>{var o=u(862),S=Object.prototype.hasOwnProperty;G.exports=function E(M){var R=this.__data__;if(o){var I=R[M];return"__lodash_hash_undefined__"===I?void 0:I}return S.call(R,M)?R[M]:void 0}},8685:(G,O,u)=>{var o=u(862),A=Object.prototype.hasOwnProperty;G.exports=function S(E){var M=this.__data__;return o?void 0!==M[E]:A.call(M,E)}},6676:(G,O,u)=>{var o=u(862);G.exports=function A(S,E){var M=this.__data__;return this.size+=this.has(S)?0:1,M[S]=o&&void 0===E?"__lodash_hash_undefined__":E,this}},8442:G=>{var u=/^(?:0|[1-9]\d*)$/;G.exports=function o(p,A){var S=typeof p;return!!(A=A??9007199254740991)&&("number"==S||"symbol"!=S&&u.test(p))&&p>-1&&p%1==0&&p<A}},3342:(G,O,u)=>{var o=u(217),p=u(6507),A=u(8442),S=u(5940);G.exports=function E(M,R,I){if(!S(I))return!1;var P=typeof R;return!!("number"==P?p(I)&&A(R,I.length):"string"==P&&R in I)&&o(I[R],M)}},3819:G=>{G.exports=function O(u){var o=typeof u;return"string"==o||"number"==o||"symbol"==o||"boolean"==o?"__proto__"!==u:null===u}},1943:(G,O,u)=>{var S,o=u(4610),p=(S=/[^.]+$/.exec(o&&o.keys&&o.keys.IE_PROTO||""))?"Symbol(src)_1."+S:"";G.exports=function A(S){return!!p&&p in S}},5488:G=>{var O=Object.prototype;G.exports=function u(o){var p=o&&o.constructor;return o===("function"==typeof p&&p.prototype||O)}},1840:G=>{G.exports=function O(){this.__data__=[],this.size=0}},4378:(G,O,u)=>{var o=u(3503),A=Array.prototype.splice;G.exports=function S(E){var M=this.__data__,R=o(M,E);return!(R<0||(R==M.length-1?M.pop():A.call(M,R,1),--this.size,0))}},4981:(G,O,u)=>{var o=u(3503);G.exports=function p(A){var S=this.__data__,E=o(S,A);return E<0?void 0:S[E][1]}},7343:(G,O,u)=>{var o=u(3503);G.exports=function p(A){return o(this.__data__,A)>-1}},8895:(G,O,u)=>{var o=u(3503);G.exports=function p(A,S){var E=this.__data__,M=o(E,A);return M<0?(++this.size,E.push([A,S])):E[M][1]=S,this}},638:(G,O,u)=>{var o=u(4994),p=u(9215),A=u(1501);G.exports=function S(){this.size=0,this.__data__={hash:new o,map:new(A||p),string:new o}}},1184:(G,O,u)=>{var o=u(4537);G.exports=function p(A){var S=o(this,A).delete(A);return this.size-=S?1:0,S}},866:(G,O,u)=>{var o=u(4537);G.exports=function p(A){return o(this,A).get(A)}},3771:(G,O,u)=>{var o=u(4537);G.exports=function p(A){return o(this,A).has(A)}},1772:(G,O,u)=>{var o=u(4537);G.exports=function p(A,S){var E=o(this,A),M=E.size;return E.set(A,S),this.size+=E.size==M?0:1,this}},862:(G,O,u)=>{var p=u(3436)(Object,"create");G.exports=p},2158:G=>{G.exports=function O(u){var o=[];if(null!=u)for(var p in Object(u))o.push(p);return o}},3597:(G,O,u)=>{G=u.nmd(G);var o=u(9122),p=O&&!O.nodeType&&O,A=p&&G&&!G.nodeType&&G,E=A&&A.exports===p&&o.process,M=function(){try{return A&&A.require&&A.require("util").types||E&&E.binding&&E.binding("util")}catch{}}();G.exports=M},2902:G=>{var u=Object.prototype.toString;G.exports=function o(p){return u.call(p)}},9385:G=>{G.exports=function O(u,o){return function(p){return u(o(p))}}},3983:(G,O,u)=>{var o=u(6999),p=Math.max;G.exports=function A(S,E,M){return E=p(void 0===E?S.length-1:E,0),function(){for(var R=arguments,I=-1,P=p(R.length-E,0),x=Array(P);++I<P;)x[I]=R[E+I];I=-1;for(var L=Array(E+1);++I<E;)L[I]=R[I];return L[E]=M(x),o(S,this,L)}}},2119:(G,O,u)=>{var o=u(9122),p="object"==typeof self&&self&&self.Object===Object&&self,A=o||p||Function("return this")();G.exports=A},4600:G=>{G.exports=function u(o){return this.__data__.set(o,"__lodash_hash_undefined__"),this}},1387:G=>{G.exports=function O(u){return this.__data__.has(u)}},4174:G=>{G.exports=function O(u){var o=-1,p=Array(u.size);return u.forEach((function(A){p[++o]=A})),p}},2185:(G,O,u)=>{var o=u(9510),A=u(29)(o);G.exports=A},29:G=>{var o=Date.now;G.exports=function p(A){var S=0,E=0;return function(){var M=o(),R=16-(M-E);if(E=M,R>0){if(++S>=800)return arguments[0]}else S=0;return A.apply(void 0,arguments)}}},4977:G=>{G.exports=function O(u,o,p){for(var A=p-1,S=u.length;++A<S;)if(u[A]===o)return A;return-1}},2315:(G,O,u)=>{var o=u(5481),p=u(7609),A=u(1149);G.exports=function S(E){return p(E)?A(E):o(E)}},6007:(G,O,u)=>{var o=u(6422),p=u(7609),A=u(6319);G.exports=function S(E){return p(E)?A(E):o(E)}},2827:G=>{var u=Function.prototype.toString;G.exports=function o(p){if(null!=p){try{return u.call(p)}catch{}try{return p+""}catch{}}return""}},2760:G=>{var O=/\s/;G.exports=function u(o){for(var p=o.length;p--&&O.test(o.charAt(p)););return p}},1149:G=>{var O="\\ud800-\\udfff",E="["+O+"]",M="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",R="\\ud83c[\\udffb-\\udfff]",P="[^"+O+"]",x="(?:\\ud83c[\\udde6-\\uddff]){2}",L="[\\ud800-\\udbff][\\udc00-\\udfff]",te="(?:"+M+"|"+R+")?",ye="[\\ufe0e\\ufe0f]?",Te=ye+te+"(?:\\u200d(?:"+[P,x,L].join("|")+")"+ye+te+")*",Oe="(?:"+[P+M+"?",M,x,L,E].join("|")+")",Ot=RegExp(R+"(?="+R+")|"+Oe+Te,"g");G.exports=function me(ze){for(var Ee=Ot.lastIndex=0;Ot.test(ze);)++Ee;return Ee}},6319:G=>{var O="\\ud800-\\udfff",E="["+O+"]",M="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",R="\\ud83c[\\udffb-\\udfff]",P="[^"+O+"]",x="(?:\\ud83c[\\udde6-\\uddff]){2}",L="[\\ud800-\\udbff][\\udc00-\\udfff]",te="(?:"+M+"|"+R+")?",ye="[\\ufe0e\\ufe0f]?",Te=ye+te+"(?:\\u200d(?:"+[P,x,L].join("|")+")"+ye+te+")*",Oe="(?:"+[P+M+"?",M,x,L,E].join("|")+")",Ot=RegExp(R+"(?="+R+")|"+Oe+Te,"g");G.exports=function me(ze){return ze.match(Ot)||[]}},910:G=>{var O="\\ud800-\\udfff",S="\\u2700-\\u27bf",E="a-z\\xdf-\\xf6\\xf8-\\xff",x="A-Z\\xc0-\\xd6\\xd8-\\xde",Z="\\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",ye="["+Z+"]",Te="\\d+",Oe="["+S+"]",Ot="["+E+"]",me="[^"+O+Z+Te+S+E+x+"]",bt="(?:\\ud83c[\\udde6-\\uddff]){2}",Lt="[\\ud800-\\udbff][\\udc00-\\udfff]",xt="["+x+"]",Ue="(?:"+Ot+"|"+me+")",Qe="(?:"+xt+"|"+me+")",Nt="(?:['’](?:d|ll|m|re|s|t|ve))?",vt="(?:['’](?:D|LL|M|RE|S|T|VE))?",nt="(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\\ud83c[\\udffb-\\udfff])?",we="[\\ufe0e\\ufe0f]?",wt=we+nt+"(?:\\u200d(?:"+["[^"+O+"]",bt,Lt].join("|")+")"+we+nt+")*",$e="(?:"+[Oe,bt,Lt].join("|")+")"+wt,Ke=RegExp([xt+"?"+Ot+"+"+Nt+"(?="+[ye,xt,"$"].join("|")+")",Qe+"+"+vt+"(?="+[ye,xt+Ue,"$"].join("|")+")",xt+"?"+Ue+"+"+Nt,xt+"+"+vt,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Te,$e].join("|"),"g");G.exports=function ct(De){return De.match(Ke)||[]}},9919:(G,O,u)=>{var o=u(1989),p=u(4944),A=u(6555),S=p((function(E,M){o(M,A(M),E)}));G.exports=S},6684:G=>{G.exports=function O(u){return function(){return u}}},4707:(G,O,u)=>{var o=u(9148),p=u(3943),A=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,P=RegExp("[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]","g");G.exports=function x(L){return(L=p(L))&&L.replace(A,o).replace(P,"")}},217:G=>{G.exports=function O(u,o){return u===o||u!=u&&o!=o}},9721:(G,O,u)=>{G.exports=u(9919)},2608:G=>{G.exports=function O(u){return u}},7151:(G,O,u)=>{var o=u(186),p=u(2671),A=Object.prototype,S=A.hasOwnProperty,E=A.propertyIsEnumerable,M=o(function(){return arguments}())?o:function(R){return p(R)&&S.call(R,"callee")&&!E.call(R,"callee")};G.exports=M},1503:G=>{G.exports=Array.isArray},6507:(G,O,u)=>{var o=u(5946),p=u(6231);G.exports=function A(S){return null!=S&&p(S.length)&&!o(S)}},4798:(G,O,u)=>{var o=u(3337),p=u(2671);G.exports=function S(E){return!0===E||!1===E||p(E)&&"[object Boolean]"==o(E)}},891:(G,O,u)=>{G=u.nmd(G);var o=u(2119),p=u(3580),A=O&&!O.nodeType&&O,S=A&&G&&!G.nodeType&&G,M=S&&S.exports===A?o.Buffer:void 0;G.exports=(M?M.isBuffer:void 0)||p},5946:(G,O,u)=>{var o=u(3337),p=u(5940);G.exports=function R(I){if(!p(I))return!1;var P=o(I);return"[object Function]"==P||"[object GeneratorFunction]"==P||"[object AsyncFunction]"==P||"[object Proxy]"==P}},6231:G=>{G.exports=function u(o){return"number"==typeof o&&o>-1&&o%1==0&&o<=9007199254740991}},1305:G=>{G.exports=function O(u){return null===u}},9138:(G,O,u)=>{var o=u(3337),p=u(2671);G.exports=function S(E){return"number"==typeof E||p(E)&&"[object Number]"==o(E)}},5940:G=>{G.exports=function O(u){var o=typeof u;return null!=u&&("object"==o||"function"==o)}},2671:G=>{G.exports=function O(u){return null!=u&&"object"==typeof u}},7614:(G,O,u)=>{var o=u(3337),p=u(9519),A=u(2671),R=Function.prototype.toString,I=Object.prototype.hasOwnProperty,P=R.call(Object);G.exports=function x(L){if(!A(L)||"[object Object]"!=o(L))return!1;var Z=p(L);if(null===Z)return!0;var te=I.call(Z,"constructor")&&Z.constructor;return"function"==typeof te&&te instanceof te&&R.call(te)==P}},248:(G,O,u)=>{var o=u(3337),p=u(1503),A=u(2671);G.exports=function E(M){return"string"==typeof M||!p(M)&&A(M)&&"[object String]"==o(M)}},4129:(G,O,u)=>{var o=u(3337),p=u(2671);G.exports=function S(E){return"symbol"==typeof E||p(E)&&"[object Symbol]"==o(E)}},8159:(G,O,u)=>{var o=u(1083),p=u(5647),A=u(3597),S=A&&A.isTypedArray,E=S?p(S):o;G.exports=E},4235:G=>{G.exports=function O(u){return void 0===u}},6555:(G,O,u)=>{var o=u(2271),p=u(2809),A=u(6507);G.exports=function S(E){return A(E)?o(E,!0):p(E)}},2552:G=>{G.exports=function O(){}},8448:(G,O,u)=>{var o=u(5171),p=u(2315),A=u(4401),S=u(3943);G.exports=function E(M,R,I){M=S(M);var P=(R=A(R))?p(M):0;return R&&P<R?o(R-P,I)+M:M}},1978:(G,O,u)=>{var p=u(1491)((function(A,S,E){return A+(E?"_":"")+S.toLowerCase()}));G.exports=p},3580:G=>{G.exports=function O(){return!1}},2232:(G,O,u)=>{var o=u(1467),p=1/0;G.exports=function S(E){return E?(E=o(E))===p||E===-p?17976931348623157e292*(E<0?-1:1):E==E?E:0:0===E?E:0}},4401:(G,O,u)=>{var o=u(2232);G.exports=function p(A){var S=o(A),E=S%1;return S==S?E?S-E:S:0}},1467:(G,O,u)=>{var o=u(3348),p=u(5940),A=u(4129),E=/^[-+]0x[0-9a-f]+$/i,M=/^0b[01]+$/i,R=/^0o[0-7]+$/i,I=parseInt;G.exports=function P(x){if("number"==typeof x)return x;if(A(x))return NaN;if(p(x)){var L="function"==typeof x.valueOf?x.valueOf():x;x=p(L)?L+"":L}if("string"!=typeof x)return 0===x?x:+x;x=o(x);var Z=M.test(x);return Z||R.test(x)?I(x.slice(2),Z?2:8):E.test(x)?NaN:+x}},3943:(G,O,u)=>{var o=u(3935);G.exports=function p(A){return null==A?"":o(A)}},836:(G,O,u)=>{var o=u(707);G.exports=function p(A){return A&&A.length?o(A):[]}},7188:(G,O,u)=>{var o=u(69),p=u(9062),A=u(3943),S=u(910);G.exports=function E(M,R,I){return M=A(M),void 0===(R=I?void 0:R)?p(M)?S(M):o(M):M.match(R)||[]}},4879:(G,O,u)=>{"use strict";u.r(O),u.d(O,{decode:()=>xt,default:()=>vt,encode:()=>je,toASCII:()=>Qe,toUnicode:()=>Ue,ucs2decode:()=>ze,ucs2encode:()=>Ee});const o=2147483647,p=36,x=/^xn--/,L=/[^\0-\x7E]/,Z=/[\x2E\u3002\uFF0E\uFF61]/g,te={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},Ce=Math.floor,Te=String.fromCharCode;function Oe(nt){throw new RangeError(te[nt])}function me(nt,we){const be=nt.split("@");let rt="";be.length>1&&(rt=be[0]+"@",nt=be[1]);const wt=function Ot(nt,we){const be=[];let rt=nt.length;for(;rt--;)be[rt]=we(nt[rt]);return be}((nt=nt.replace(Z,".")).split("."),we).join(".");return rt+wt}function ze(nt){const we=[];let be=0;const rt=nt.length;for(;be<rt;){const Mt=nt.charCodeAt(be++);if(Mt>=55296&&Mt<=56319&&be<rt){const wt=nt.charCodeAt(be++);56320==(64512&wt)?we.push(((1023&Mt)<<10)+(1023&wt)+65536):(we.push(Mt),be--)}else we.push(Mt)}return we}const Ee=nt=>String.fromCodePoint(...nt),fe=function(nt){return nt-48<10?nt-22:nt-65<26?nt-65:nt-97<26?nt-97:p},bt=function(nt,we){return nt+22+75*(nt<26)-((0!=we)<<5)},Lt=function(nt,we,be){let rt=0;for(nt=be?Ce(nt/700):nt>>1,nt+=Ce(nt/we);nt>455;rt+=p)nt=Ce(nt/35);return Ce(rt+36*nt/(nt+38))},xt=function(nt){const we=[],be=nt.length;let rt=0,Mt=128,wt=72,$e=nt.lastIndexOf("-");$e<0&&($e=0);for(let Ke=0;Ke<$e;++Ke)nt.charCodeAt(Ke)>=128&&Oe("not-basic"),we.push(nt.charCodeAt(Ke));for(let Ke=$e>0?$e+1:0;Ke<be;){let ct=rt;for(let Ae=1,ve=p;;ve+=p){Ke>=be&&Oe("invalid-input");const Ge=fe(nt.charCodeAt(Ke++));(Ge>=p||Ge>Ce((o-rt)/Ae))&&Oe("overflow"),rt+=Ge*Ae;const Ye=ve<=wt?1:ve>=wt+26?26:ve-wt;if(Ge<Ye)break;const ht=p-Ye;Ae>Ce(o/ht)&&Oe("overflow"),Ae*=ht}const De=we.length+1;wt=Lt(rt-ct,De,0==ct),Ce(rt/De)>o-Mt&&Oe("overflow"),Mt+=Ce(rt/De),rt%=De,we.splice(rt++,0,Mt)}return String.fromCodePoint(...we)},je=function(nt){const we=[];let be=(nt=ze(nt)).length,rt=128,Mt=0,wt=72;for(const ct of nt)ct<128&&we.push(Te(ct));let $e=we.length,Ke=$e;for($e&&we.push("-");Ke<be;){let ct=o;for(const Ae of nt)Ae>=rt&&Ae<ct&&(ct=Ae);const De=Ke+1;ct-rt>Ce((o-Mt)/De)&&Oe("overflow"),Mt+=(ct-rt)*De,rt=ct;for(const Ae of nt)if(Ae<rt&&++Mt>o&&Oe("overflow"),Ae==rt){let ve=Mt;for(let Ge=p;;Ge+=p){const Ye=Ge<=wt?1:Ge>=wt+26?26:Ge-wt;if(ve<Ye)break;const ht=ve-Ye,Ut=p-Ye;we.push(Te(bt(Ye+ht%Ut,0))),ve=Ce(ht/Ut)}we.push(Te(bt(ve,0))),wt=Lt(Mt,De,Ke==$e),Mt=0,++Ke}++Mt,++rt}return we.join("")},Ue=function(nt){return me(nt,(function(we){return x.test(we)?xt(we.slice(4).toLowerCase()):we}))},Qe=function(nt){return me(nt,(function(we){return L.test(we)?"xn--"+je(we):we}))},vt={version:"2.1.0",ucs2:{decode:ze,encode:Ee},decode:xt,encode:je,toASCII:Qe,toUnicode:Ue}},591:(G,O,u)=>{"use strict";u.d(O,{X:()=>A});var o=u(8929),p=u(5279);class A extends o.xQ{constructor(E){super(),this._value=E}get value(){return this.getValue()}_subscribe(E){const M=super._subscribe(E);return M&&!M.closed&&E.next(this._value),M}getValue(){if(this.hasError)throw this.thrownError;if(this.closed)throw new p.N;return this._value}next(E){super.next(this._value=E)}}},2916:(G,O,u)=>{"use strict";u.d(O,{y:()=>L});var o=u(3489),A=u(7668),S=u(3292),M=u(3821),R=u(5379);var x=u(2830);let L=(()=>{class te{constructor(Ce){this._isScalar=!1,Ce&&(this._subscribe=Ce)}lift(Ce){const Te=new te;return Te.source=this,Te.operator=Ce,Te}subscribe(Ce,Te,Oe){const{operator:Ot}=this,me=function E(te,ye,Ce){if(te){if(te instanceof o.L)return te;if(te[A.b])return te[A.b]()}return te||ye||Ce?new o.L(te,ye,Ce):new o.L(S.c)}(Ce,Te,Oe);if(me.add(Ot?Ot.call(me,this.source):this.source||x.v.useDeprecatedSynchronousErrorHandling&&!me.syncErrorThrowable?this._subscribe(me):this._trySubscribe(me)),x.v.useDeprecatedSynchronousErrorHandling&&me.syncErrorThrowable&&(me.syncErrorThrowable=!1,me.syncErrorThrown))throw me.syncErrorValue;return me}_trySubscribe(Ce){try{return this._subscribe(Ce)}catch(Te){x.v.useDeprecatedSynchronousErrorHandling&&(Ce.syncErrorThrown=!0,Ce.syncErrorValue=Te),function p(te){for(;te;){const{closed:ye,destination:Ce,isStopped:Te}=te;if(ye||Te)return!1;te=Ce&&Ce instanceof o.L?Ce:null}return!0}(Ce)?Ce.error(Te):console.warn(Te)}}forEach(Ce,Te){return new(Te=Z(Te))(((Oe,Ot)=>{let me;me=this.subscribe((ze=>{try{Ce(ze)}catch(Ee){Ot(Ee),me&&me.unsubscribe()}}),Ot,Oe)}))}_subscribe(Ce){const{source:Te}=this;return Te&&Te.subscribe(Ce)}[M.L](){return this}pipe(...Ce){return 0===Ce.length?this:function P(te){return 0===te.length?R.y:1===te.length?te[0]:function(Ce){return te.reduce(((Te,Oe)=>Oe(Te)),Ce)}}(Ce)(this)}toPromise(Ce){return new(Ce=Z(Ce))(((Te,Oe)=>{let Ot;this.subscribe((me=>Ot=me),(me=>Oe(me)),(()=>Te(Ot)))}))}}return te.create=ye=>new te(ye),te})();function Z(te){if(te||(te=x.v.Promise||Promise),!te)throw new Error("no Promise impl found");return te}},3292:(G,O,u)=>{"use strict";u.d(O,{c:()=>A});var o=u(2830),p=u(2782);const A={closed:!0,next(S){},error(S){if(o.v.useDeprecatedSynchronousErrorHandling)throw S;(0,p.z)(S)},complete(){}}},8929:(G,O,u)=>{"use strict";u.d(O,{Yc:()=>R,xQ:()=>I});var o=u(2916),p=u(3489),A=u(2654),S=u(5279),E=u(5283),M=u(7668);class R extends p.L{constructor(L){super(L),this.destination=L}}let I=(()=>{class x extends o.y{constructor(){super(),this.observers=[],this.closed=!1,this.isStopped=!1,this.hasError=!1,this.thrownError=null}[M.b](){return new R(this)}lift(Z){const te=new P(this,this);return te.operator=Z,te}next(Z){if(this.closed)throw new S.N;if(!this.isStopped){const{observers:te}=this,ye=te.length,Ce=te.slice();for(let Te=0;Te<ye;Te++)Ce[Te].next(Z)}}error(Z){if(this.closed)throw new S.N;this.hasError=!0,this.thrownError=Z,this.isStopped=!0;const{observers:te}=this,ye=te.length,Ce=te.slice();for(let Te=0;Te<ye;Te++)Ce[Te].error(Z);this.observers.length=0}complete(){if(this.closed)throw new S.N;this.isStopped=!0;const{observers:Z}=this,te=Z.length,ye=Z.slice();for(let Ce=0;Ce<te;Ce++)ye[Ce].complete();this.observers.length=0}unsubscribe(){this.isStopped=!0,this.closed=!0,this.observers=null}_trySubscribe(Z){if(this.closed)throw new S.N;return super._trySubscribe(Z)}_subscribe(Z){if(this.closed)throw new S.N;return this.hasError?(Z.error(this.thrownError),A.w.EMPTY):this.isStopped?(Z.complete(),A.w.EMPTY):(this.observers.push(Z),new E.W(this,Z))}asObservable(){const Z=new o.y;return Z.source=this,Z}}return x.create=(L,Z)=>new P(L,Z),x})();class P extends I{constructor(L,Z){super(),this.destination=L,this.source=Z}next(L){const{destination:Z}=this;Z&&Z.next&&Z.next(L)}error(L){const{destination:Z}=this;Z&&Z.error&&this.destination.error(L)}complete(){const{destination:L}=this;L&&L.complete&&this.destination.complete()}_subscribe(L){const{source:Z}=this;return Z?this.source.subscribe(L):A.w.EMPTY}}},5283:(G,O,u)=>{"use strict";u.d(O,{W:()=>p});var o=u(2654);class p extends o.w{constructor(S,E){super(),this.subject=S,this.subscriber=E,this.closed=!1}unsubscribe(){if(this.closed)return;this.closed=!0;const S=this.subject,E=S.observers;if(this.subject=null,!E||0===E.length||S.isStopped||S.closed)return;const M=E.indexOf(this.subscriber);-1!==M&&E.splice(M,1)}}},3489:(G,O,u)=>{"use strict";u.d(O,{L:()=>R});var o=u(7043),p=u(3292),A=u(2654),S=u(7668),E=u(2830),M=u(2782);class R extends A.w{constructor(x,L,Z){switch(super(),this.syncErrorValue=null,this.syncErrorThrown=!1,this.syncErrorThrowable=!1,this.isStopped=!1,arguments.length){case 0:this.destination=p.c;break;case 1:if(!x){this.destination=p.c;break}if("object"==typeof x){x instanceof R?(this.syncErrorThrowable=x.syncErrorThrowable,this.destination=x,x.add(this)):(this.syncErrorThrowable=!0,this.destination=new I(this,x));break}default:this.syncErrorThrowable=!0,this.destination=new I(this,x,L,Z)}}[S.b](){return this}static create(x,L,Z){const te=new R(x,L,Z);return te.syncErrorThrowable=!1,te}next(x){this.isStopped||this._next(x)}error(x){this.isStopped||(this.isStopped=!0,this._error(x))}complete(){this.isStopped||(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe())}_next(x){this.destination.next(x)}_error(x){this.destination.error(x),this.unsubscribe()}_complete(){this.destination.complete(),this.unsubscribe()}_unsubscribeAndRecycle(){const{_parentOrParents:x}=this;return this._parentOrParents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parentOrParents=x,this}}class I extends R{constructor(x,L,Z,te){super(),this._parentSubscriber=x;let ye,Ce=this;(0,o.m)(L)?ye=L:L&&(ye=L.next,Z=L.error,te=L.complete,L!==p.c&&(Ce=Object.create(L),(0,o.m)(Ce.unsubscribe)&&this.add(Ce.unsubscribe.bind(Ce)),Ce.unsubscribe=this.unsubscribe.bind(this))),this._context=Ce,this._next=ye,this._error=Z,this._complete=te}next(x){if(!this.isStopped&&this._next){const{_parentSubscriber:L}=this;E.v.useDeprecatedSynchronousErrorHandling&&L.syncErrorThrowable?this.__tryOrSetError(L,this._next,x)&&this.unsubscribe():this.__tryOrUnsub(this._next,x)}}error(x){if(!this.isStopped){const{_parentSubscriber:L}=this,{useDeprecatedSynchronousErrorHandling:Z}=E.v;if(this._error)Z&&L.syncErrorThrowable?(this.__tryOrSetError(L,this._error,x),this.unsubscribe()):(this.__tryOrUnsub(this._error,x),this.unsubscribe());else if(L.syncErrorThrowable)Z?(L.syncErrorValue=x,L.syncErrorThrown=!0):(0,M.z)(x),this.unsubscribe();else{if(this.unsubscribe(),Z)throw x;(0,M.z)(x)}}}complete(){if(!this.isStopped){const{_parentSubscriber:x}=this;if(this._complete){const L=()=>this._complete.call(this._context);E.v.useDeprecatedSynchronousErrorHandling&&x.syncErrorThrowable?(this.__tryOrSetError(x,L),this.unsubscribe()):(this.__tryOrUnsub(L),this.unsubscribe())}else this.unsubscribe()}}__tryOrUnsub(x,L){try{x.call(this._context,L)}catch(Z){if(this.unsubscribe(),E.v.useDeprecatedSynchronousErrorHandling)throw Z;(0,M.z)(Z)}}__tryOrSetError(x,L,Z){if(!E.v.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{L.call(this._context,Z)}catch(te){return E.v.useDeprecatedSynchronousErrorHandling?(x.syncErrorValue=te,x.syncErrorThrown=!0,!0):((0,M.z)(te),!0)}return!1}_unsubscribe(){const{_parentSubscriber:x}=this;this._context=null,this._parentSubscriber=null,x.unsubscribe()}}},2654:(G,O,u)=>{"use strict";u.d(O,{w:()=>M});var o=u(6688),p=u(7830),A=u(7043);const E=(()=>{function I(P){return Error.call(this),this.message=P?`${P.length} errors occurred during unsubscription:\n${P.map(((x,L)=>`${L+1}) ${x.toString()}`)).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=P,this}return I.prototype=Object.create(Error.prototype),I})();class M{constructor(P){this.closed=!1,this._parentOrParents=null,this._subscriptions=null,P&&(this._ctorUnsubscribe=!0,this._unsubscribe=P)}unsubscribe(){let P;if(this.closed)return;let{_parentOrParents:x,_ctorUnsubscribe:L,_unsubscribe:Z,_subscriptions:te}=this;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,x instanceof M)x.remove(this);else if(null!==x)for(let ye=0;ye<x.length;++ye)x[ye].remove(this);if((0,A.m)(Z)){L&&(this._unsubscribe=void 0);try{Z.call(this)}catch(ye){P=ye instanceof E?R(ye.errors):[ye]}}if((0,o.k)(te)){let ye=-1,Ce=te.length;for(;++ye<Ce;){const Te=te[ye];if((0,p.K)(Te))try{Te.unsubscribe()}catch(Oe){P=P||[],Oe instanceof E?P=P.concat(R(Oe.errors)):P.push(Oe)}}}if(P)throw new E(P)}add(P){let x=P;if(!P)return M.EMPTY;switch(typeof P){case"function":x=new M(P);case"object":if(x===this||x.closed||"function"!=typeof x.unsubscribe)return x;if(this.closed)return x.unsubscribe(),x;if(!(x instanceof M)){const te=x;x=new M,x._subscriptions=[te]}break;default:throw new Error("unrecognized teardown "+P+" added to Subscription.")}let{_parentOrParents:L}=x;if(null===L)x._parentOrParents=this;else if(L instanceof M){if(L===this)return x;x._parentOrParents=[L,this]}else{if(-1!==L.indexOf(this))return x;L.push(this)}const Z=this._subscriptions;return null===Z?this._subscriptions=[x]:Z.push(x),x}remove(P){const x=this._subscriptions;if(x){const L=x.indexOf(P);-1!==L&&x.splice(L,1)}}}var I;function R(I){return I.reduce(((P,x)=>P.concat(x instanceof E?x.errors:x)),[])}M.EMPTY=((I=new M).closed=!0,I)},2830:(G,O,u)=>{"use strict";u.d(O,{v:()=>p});let o=!1;const p={Promise:void 0,set useDeprecatedSynchronousErrorHandling(A){if(A){const S=new Error;console.warn("DEPRECATED! RxJS was set to use deprecated synchronous error handling behavior by code at: \n"+S.stack)}else o&&console.log("RxJS: Back to a better error behavior. Thank you. <3");o=A},get useDeprecatedSynchronousErrorHandling(){return o}}},1177:(G,O,u)=>{"use strict";u.d(O,{Ds:()=>M,IY:()=>S,ft:()=>I});var o=u(3489),p=u(2916),A=u(9249);class S extends o.L{constructor(x){super(),this.parent=x}_next(x){this.parent.notifyNext(x)}_error(x){this.parent.notifyError(x),this.unsubscribe()}_complete(){this.parent.notifyComplete(),this.unsubscribe()}}class M extends o.L{notifyNext(x){this.destination.next(x)}notifyError(x){this.destination.error(x)}notifyComplete(){this.destination.complete()}}function I(P,x){if(x.closed)return;if(P instanceof p.y)return P.subscribe(x);let L;try{L=(0,A.s)(P)(x)}catch(Z){x.error(Z)}return L}},1762:(G,O,u)=>{"use strict";u.d(O,{N:()=>M,c:()=>E});var o=u(8929),p=u(2916),A=u(2654),S=u(4327);class E extends p.y{constructor(L,Z){super(),this.source=L,this.subjectFactory=Z,this._refCount=0,this._isComplete=!1}_subscribe(L){return this.getSubject().subscribe(L)}getSubject(){const L=this._subject;return(!L||L.isStopped)&&(this._subject=this.subjectFactory()),this._subject}connect(){let L=this._connection;return L||(this._isComplete=!1,L=this._connection=new A.w,L.add(this.source.subscribe(new R(this.getSubject(),this))),L.closed&&(this._connection=null,L=A.w.EMPTY)),L}refCount(){return(0,S.x)()(this)}}const M=(()=>{const x=E.prototype;return{operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:x._subscribe},_isComplete:{value:x._isComplete,writable:!0},getSubject:{value:x.getSubject},connect:{value:x.connect},refCount:{value:x.refCount}}})();class R extends o.Yc{constructor(L,Z){super(L),this.connectable=Z}_error(L){this._unsubscribe(),super._error(L)}_complete(){this.connectable._isComplete=!0,this._unsubscribe(),super._complete()}_unsubscribe(){const L=this.connectable;if(L){this.connectable=null;const Z=L._connection;L._refCount=0,L._subject=null,L._connection=null,Z&&Z.unsubscribe()}}}},1221:(G,O,u)=>{"use strict";u.d(O,{z:()=>S});var o=u(1086),p=u(9146);function S(...E){return function A(){return(0,p.J)(1)}()((0,o.of)(...E))}},8896:(G,O,u)=>{"use strict";u.d(O,{E:()=>p,c:()=>A});var o=u(2916);const p=new o.y((E=>E.complete()));function A(E){return E?function S(E){return new o.y((M=>E.schedule((()=>M.complete()))))}(E):p}},5254:(G,O,u)=>{"use strict";u.d(O,{D:()=>Ce});var o=u(2916),p=u(9249),A=u(2654),S=u(3821),R=u(6454),I=u(5430),L=u(8955),Z=u(8515);function Ce(Te,Oe){return Oe?function ye(Te,Oe){if(null!=Te){if(function x(Te){return Te&&"function"==typeof Te[S.L]}(Te))return function E(Te,Oe){return new o.y((Ot=>{const me=new A.w;return me.add(Oe.schedule((()=>{const ze=Te[S.L]();me.add(ze.subscribe({next(Ee){me.add(Oe.schedule((()=>Ot.next(Ee))))},error(Ee){me.add(Oe.schedule((()=>Ot.error(Ee))))},complete(){me.add(Oe.schedule((()=>Ot.complete())))}}))}))),me}))}(Te,Oe);if((0,L.t)(Te))return function M(Te,Oe){return new o.y((Ot=>{const me=new A.w;return me.add(Oe.schedule((()=>Te.then((ze=>{me.add(Oe.schedule((()=>{Ot.next(ze),me.add(Oe.schedule((()=>Ot.complete())))})))}),(ze=>{me.add(Oe.schedule((()=>Ot.error(ze))))}))))),me}))}(Te,Oe);if((0,Z.z)(Te))return(0,R.r)(Te,Oe);if(function te(Te){return Te&&"function"==typeof Te[I.hZ]}(Te)||"string"==typeof Te)return function P(Te,Oe){if(!Te)throw new Error("Iterable cannot be null");return new o.y((Ot=>{const me=new A.w;let ze;return me.add((()=>{ze&&"function"==typeof ze.return&&ze.return()})),me.add(Oe.schedule((()=>{ze=Te[I.hZ](),me.add(Oe.schedule((function(){if(Ot.closed)return;let Ee,fe;try{const bt=ze.next();Ee=bt.value,fe=bt.done}catch(bt){return void Ot.error(bt)}fe?Ot.complete():(Ot.next(Ee),this.schedule())})))}))),me}))}(Te,Oe)}throw new TypeError((null!==Te&&typeof Te||Te)+" is not observable")}(Te,Oe):Te instanceof o.y?Te:new o.y((0,p.s)(Te))}},3009:(G,O,u)=>{"use strict";u.d(O,{n:()=>S});var o=u(2916),p=u(3650),A=u(6454);function S(E,M){return M?(0,A.r)(E,M):new o.y((0,p.V)(E))}},3753:(G,O,u)=>{"use strict";u.d(O,{R:()=>M});var o=u(2916),p=u(6688),A=u(7043),S=u(4850);function M(L,Z,te,ye){return(0,A.m)(te)&&(ye=te,te=void 0),ye?M(L,Z,te).pipe((0,S.U)((Ce=>(0,p.k)(Ce)?ye(...Ce):ye(Ce)))):new o.y((Ce=>{R(L,Z,(function Te(Oe){Ce.next(arguments.length>1?Array.prototype.slice.call(arguments):Oe)}),Ce,te)}))}function R(L,Z,te,ye,Ce){let Te;if(function x(L){return L&&"function"==typeof L.addEventListener&&"function"==typeof L.removeEventListener}(L)){const Oe=L;L.addEventListener(Z,te,Ce),Te=()=>Oe.removeEventListener(Z,te,Ce)}else if(function P(L){return L&&"function"==typeof L.on&&"function"==typeof L.off}(L)){const Oe=L;L.on(Z,te),Te=()=>Oe.off(Z,te)}else if(function I(L){return L&&"function"==typeof L.addListener&&"function"==typeof L.removeListener}(L)){const Oe=L;L.addListener(Z,te),Te=()=>Oe.removeListener(Z,te)}else{if(!L||!L.length)throw new TypeError("Invalid event target");for(let Oe=0,Ot=L.length;Oe<Ot;Oe++)R(L[Oe],Z,te,ye,Ce)}ye.add(Te)}},6787:(G,O,u)=>{"use strict";u.d(O,{T:()=>E});var o=u(2916),p=u(2866),A=u(9146),S=u(3009);function E(...M){let R=Number.POSITIVE_INFINITY,I=null,P=M[M.length-1];return(0,p.K)(P)?(I=M.pop(),M.length>1&&"number"==typeof M[M.length-1]&&(R=M.pop())):"number"==typeof P&&(R=M.pop()),null===I&&1===M.length&&M[0]instanceof o.y?M[0]:(0,A.J)(R)((0,S.n)(M,I))}},1086:(G,O,u)=>{"use strict";u.d(O,{of:()=>S});var o=u(2866),p=u(3009),A=u(6454);function S(...E){let M=E[E.length-1];return(0,o.K)(M)?(E.pop(),(0,A.r)(E,M)):(0,p.n)(E)}},1737:(G,O,u)=>{"use strict";u.d(O,{_:()=>p});var o=u(2916);function p(S,E){return new o.y(E?M=>E.schedule(A,0,{error:S,subscriber:M}):M=>M.error(S))}function A({error:S,subscriber:E}){E.error(S)}},7739:(G,O,u)=>{"use strict";u.d(O,{H:()=>M});var o=u(2916),p=u(353),A=u(6688);function S(I){return!(0,A.k)(I)&&I-parseFloat(I)+1>=0}var E=u(2866);function M(I=0,P,x){let L=-1;return S(P)?L=Number(P)<1?1:Number(P):(0,E.K)(P)&&(x=P),(0,E.K)(x)||(x=p.P),new o.y((Z=>{const te=S(I)?I:+I-x.now();return x.schedule(R,te,{index:0,period:L,subscriber:Z})}))}function R(I){const{index:P,period:x,subscriber:L}=I;if(L.next(P),!L.closed){if(-1===x)return L.complete();I.index=P+1,this.schedule(I,x)}}},7138:(G,O,u)=>{"use strict";u.d(O,{e:()=>R});var o=u(353),p=u(1177);class S{constructor(P){this.durationSelector=P}call(P,x){return x.subscribe(new E(P,this.durationSelector))}}class E extends p.Ds{constructor(P,x){super(P),this.durationSelector=x,this.hasValue=!1}_next(P){if(this.value=P,this.hasValue=!0,!this.throttled){let x;try{const{durationSelector:Z}=this;x=Z(P)}catch(Z){return this.destination.error(Z)}const L=(0,p.ft)(x,new p.IY(this));!L||L.closed?this.clearThrottle():this.add(this.throttled=L)}}clearThrottle(){const{value:P,hasValue:x,throttled:L}=this;L&&(this.remove(L),this.throttled=void 0,L.unsubscribe()),x&&(this.value=void 0,this.hasValue=!1,this.destination.next(P))}notifyNext(){this.clearThrottle()}notifyComplete(){this.clearThrottle()}}var M=u(7739);function R(I,P=o.P){return function A(I){return function(x){return x.lift(new S(I))}}((()=>(0,M.H)(I,P)))}},1406:(G,O,u)=>{"use strict";u.d(O,{b:()=>p});var o=u(1709);function p(A,S){return(0,o.zg)(A,S,1)}},7314:(G,O,u)=>{"use strict";u.d(O,{d:()=>p});var o=u(3489);function p(E=null){return M=>M.lift(new A(E))}class A{constructor(M){this.defaultValue=M}call(M,R){return R.subscribe(new S(M,this.defaultValue))}}class S extends o.L{constructor(M,R){super(M),this.defaultValue=R,this.isEmpty=!0}_next(M){this.isEmpty=!1,this.destination.next(M)}_complete(){this.isEmpty&&this.destination.next(this.defaultValue),this.destination.complete()}}},2198:(G,O,u)=>{"use strict";u.d(O,{h:()=>p});var o=u(3489);function p(E,M){return function(I){return I.lift(new A(E,M))}}class A{constructor(M,R){this.predicate=M,this.thisArg=R}call(M,R){return R.subscribe(new S(M,this.predicate,this.thisArg))}}class S extends o.L{constructor(M,R,I){super(M),this.predicate=R,this.thisArg=I,this.count=0}_next(M){let R;try{R=this.predicate.call(this.thisArg,M,this.count++)}catch(I){return void this.destination.error(I)}R&&this.destination.next(M)}}},7224:(G,O,u)=>{"use strict";u.d(O,{P:()=>R});var o=u(4450),p=u(2198),A=u(2986),S=u(7314),E=u(4907),M=u(5379);function R(I,P){const x=arguments.length>=2;return L=>L.pipe(I?(0,p.h)(((Z,te)=>I(Z,te,L))):M.y,(0,A.q)(1),x?(0,S.d)(P):(0,E.T)((()=>new o.K)))}},4850:(G,O,u)=>{"use strict";u.d(O,{U:()=>p});var o=u(3489);function p(E,M){return function(I){if("function"!=typeof E)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return I.lift(new A(E,M))}}class A{constructor(M,R){this.project=M,this.thisArg=R}call(M,R){return R.subscribe(new S(M,this.project,this.thisArg))}}class S extends o.L{constructor(M,R,I){super(M),this.project=R,this.count=0,this.thisArg=I||this}_next(M){let R;try{R=this.project.call(this.thisArg,M,this.count++)}catch(I){return void this.destination.error(I)}this.destination.next(R)}}},9146:(G,O,u)=>{"use strict";u.d(O,{J:()=>A});var o=u(1709),p=u(5379);function A(S=Number.POSITIVE_INFINITY){return(0,o.zg)(p.y,S)}},1709:(G,O,u)=>{"use strict";u.d(O,{zg:()=>S});var o=u(4850),p=u(5254),A=u(1177);function S(I,P,x=Number.POSITIVE_INFINITY){return"function"==typeof P?L=>L.pipe(S(((Z,te)=>(0,p.D)(I(Z,te)).pipe((0,o.U)(((ye,Ce)=>P(Z,ye,te,Ce))))),x)):("number"==typeof P&&(x=P),L=>L.lift(new E(I,x)))}class E{constructor(P,x=Number.POSITIVE_INFINITY){this.project=P,this.concurrent=x}call(P,x){return x.subscribe(new M(P,this.project,this.concurrent))}}class M extends A.Ds{constructor(P,x,L=Number.POSITIVE_INFINITY){super(P),this.project=x,this.concurrent=L,this.hasCompleted=!1,this.buffer=[],this.active=0,this.index=0}_next(P){this.active<this.concurrent?this._tryNext(P):this.buffer.push(P)}_tryNext(P){let x;const L=this.index++;try{x=this.project(P,L)}catch(Z){return void this.destination.error(Z)}this.active++,this._innerSub(x)}_innerSub(P){const x=new A.IY(this),L=this.destination;L.add(x);const Z=(0,A.ft)(P,x);Z!==x&&L.add(Z)}_complete(){this.hasCompleted=!0,0===this.active&&0===this.buffer.length&&this.destination.complete(),this.unsubscribe()}notifyNext(P){this.destination.next(P)}notifyComplete(){const P=this.buffer;this.active--,P.length>0?this._next(P.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()}}},4327:(G,O,u)=>{"use strict";u.d(O,{x:()=>p});var o=u(3489);function p(){return function(M){return M.lift(new A(M))}}class A{constructor(M){this.connectable=M}call(M,R){const{connectable:I}=this;I._refCount++;const P=new S(M,I),x=R.subscribe(P);return P.closed||(P.connection=I.connect()),x}}class S extends o.L{constructor(M,R){super(M),this.connectable=R}_unsubscribe(){const{connectable:M}=this;if(!M)return void(this.connection=null);this.connectable=null;const R=M._refCount;if(R<=0)return void(this.connection=null);if(M._refCount=R-1,R>1)return void(this.connection=null);const{connection:I}=this,P=M._connection;this.connection=null,P&&(!I||P===I)&&P.unsubscribe()}}},7803:(G,O,u)=>{"use strict";u.d(O,{d:()=>bt});var o=u(8929),p=u(6686),S=u(2268);const R=new class E extends S.v{}(class A extends p.o{constructor(je,Ue){super(je,Ue),this.scheduler=je,this.work=Ue}schedule(je,Ue=0){return Ue>0?super.schedule(je,Ue):(this.delay=Ue,this.state=je,this.scheduler.flush(this),this)}execute(je,Ue){return Ue>0||this.closed?super.execute(je,Ue):this._execute(je,Ue)}requestAsyncId(je,Ue,Qe=0){return null!==Qe&&Qe>0||null===Qe&&this.delay>0?super.requestAsyncId(je,Ue,Qe):je.flush(this)}});var I=u(2654),P=u(3489),x=u(8896),L=u(1086),Z=u(1737);class ye{constructor(je,Ue,Qe){this.kind=je,this.value=Ue,this.error=Qe,this.hasValue="N"===je}observe(je){switch(this.kind){case"N":return je.next&&je.next(this.value);case"E":return je.error&&je.error(this.error);case"C":return je.complete&&je.complete()}}do(je,Ue,Qe){switch(this.kind){case"N":return je&&je(this.value);case"E":return Ue&&Ue(this.error);case"C":return Qe&&Qe()}}accept(je,Ue,Qe){return je&&"function"==typeof je.next?this.observe(je):this.do(je,Ue,Qe)}toObservable(){switch(this.kind){case"N":return(0,L.of)(this.value);case"E":return(0,Z._)(this.error);case"C":return(0,x.c)()}throw new Error("unexpected notification kind value")}static createNext(je){return typeof je<"u"?new ye("N",je):ye.undefinedValueNotification}static createError(je){return new ye("E",void 0,je)}static createComplete(){return ye.completeNotification}}ye.completeNotification=new ye("C"),ye.undefinedValueNotification=new ye("N",void 0);class Oe extends P.L{constructor(je,Ue,Qe=0){super(je),this.scheduler=Ue,this.delay=Qe}static dispatch(je){const{notification:Ue,destination:Qe}=je;Ue.observe(Qe),this.unsubscribe()}scheduleMessage(je){this.destination.add(this.scheduler.schedule(Oe.dispatch,this.delay,new Ot(je,this.destination)))}_next(je){this.scheduleMessage(ye.createNext(je))}_error(je){this.scheduleMessage(ye.createError(je)),this.unsubscribe()}_complete(){this.scheduleMessage(ye.createComplete()),this.unsubscribe()}}class Ot{constructor(je,Ue){this.notification=je,this.destination=Ue}}var me=u(5279),ze=u(5283);class Ee extends o.xQ{constructor(je=Number.POSITIVE_INFINITY,Ue=Number.POSITIVE_INFINITY,Qe){super(),this.scheduler=Qe,this._events=[],this._infiniteTimeWindow=!1,this._bufferSize=je<1?1:je,this._windowTime=Ue<1?1:Ue,Ue===Number.POSITIVE_INFINITY?(this._infiniteTimeWindow=!0,this.next=this.nextInfiniteTimeWindow):this.next=this.nextTimeWindow}nextInfiniteTimeWindow(je){if(!this.isStopped){const Ue=this._events;Ue.push(je),Ue.length>this._bufferSize&&Ue.shift()}super.next(je)}nextTimeWindow(je){this.isStopped||(this._events.push(new fe(this._getNow(),je)),this._trimBufferThenGetEvents()),super.next(je)}_subscribe(je){const Ue=this._infiniteTimeWindow,Qe=Ue?this._events:this._trimBufferThenGetEvents(),Nt=this.scheduler,vt=Qe.length;let nt;if(this.closed)throw new me.N;if(this.isStopped||this.hasError?nt=I.w.EMPTY:(this.observers.push(je),nt=new ze.W(this,je)),Nt&&je.add(je=new Oe(je,Nt)),Ue)for(let we=0;we<vt&&!je.closed;we++)je.next(Qe[we]);else for(let we=0;we<vt&&!je.closed;we++)je.next(Qe[we].value);return this.hasError?je.error(this.thrownError):this.isStopped&&je.complete(),nt}_getNow(){return(this.scheduler||R).now()}_trimBufferThenGetEvents(){const je=this._getNow(),Ue=this._bufferSize,Qe=this._windowTime,Nt=this._events,vt=Nt.length;let nt=0;for(;nt<vt&&!(je-Nt[nt].time<Qe);)nt++;return vt>Ue&&(nt=Math.max(nt,vt-Ue)),nt>0&&Nt.splice(0,nt),Nt}}class fe{constructor(je,Ue){this.time=je,this.value=Ue}}function bt(xt,je,Ue){let Qe;return Qe=xt&&"object"==typeof xt?xt:{bufferSize:xt,windowTime:je,refCount:!1,scheduler:Ue},Nt=>Nt.lift(function Lt({bufferSize:xt=Number.POSITIVE_INFINITY,windowTime:je=Number.POSITIVE_INFINITY,refCount:Ue,scheduler:Qe}){let Nt,nt,vt=0,we=!1,be=!1;return function(Mt){let wt;vt++,!Nt||we?(we=!1,Nt=new Ee(xt,je,Qe),wt=Nt.subscribe(this),nt=Mt.subscribe({next($e){Nt.next($e)},error($e){we=!0,Nt.error($e)},complete(){be=!0,nt=void 0,Nt.complete()}}),be&&(nt=void 0)):wt=Nt.subscribe(this),this.add((()=>{vt--,wt.unsubscribe(),wt=void 0,nt&&!be&&Ue&&0===vt&&(nt.unsubscribe(),nt=void 0,Nt=void 0)}))}}(Qe))}},1059:(G,O,u)=>{"use strict";u.d(O,{O:()=>A});var o=u(1221),p=u(2866);function A(...S){const E=S[S.length-1];return(0,p.K)(E)?(S.pop(),M=>(0,o.z)(S,M,E)):M=>(0,o.z)(S,M)}},7545:(G,O,u)=>{"use strict";u.d(O,{w:()=>S});var o=u(4850),p=u(5254),A=u(1177);function S(R,I){return"function"==typeof I?P=>P.pipe(S(((x,L)=>(0,p.D)(R(x,L)).pipe((0,o.U)(((Z,te)=>I(x,Z,L,te))))))):P=>P.lift(new E(R))}class E{constructor(I){this.project=I}call(I,P){return P.subscribe(new M(I,this.project))}}class M extends A.Ds{constructor(I,P){super(I),this.project=P,this.index=0}_next(I){let P;const x=this.index++;try{P=this.project(I,x)}catch(L){return void this.destination.error(L)}this._innerSub(P)}_innerSub(I){const P=this.innerSubscription;P&&P.unsubscribe();const x=new A.IY(this),L=this.destination;L.add(x),this.innerSubscription=(0,A.ft)(I,x),this.innerSubscription!==x&&L.add(this.innerSubscription)}_complete(){const{innerSubscription:I}=this;(!I||I.closed)&&super._complete(),this.unsubscribe()}_unsubscribe(){this.innerSubscription=void 0}notifyComplete(){this.innerSubscription=void 0,this.isStopped&&super._complete()}notifyNext(I){this.destination.next(I)}}},2986:(G,O,u)=>{"use strict";u.d(O,{q:()=>S});var o=u(3489),p=u(4231),A=u(8896);function S(R){return I=>0===R?(0,A.c)():I.lift(new E(R))}class E{constructor(I){if(this.total=I,this.total<0)throw new p.W}call(I,P){return P.subscribe(new M(I,this.total))}}class M extends o.L{constructor(I,P){super(I),this.total=P,this.count=0}_next(I){const P=this.total,x=++this.count;x<=P&&(this.destination.next(I),x===P&&(this.destination.complete(),this.unsubscribe()))}}},7625:(G,O,u)=>{"use strict";u.d(O,{R:()=>p});var o=u(1177);function p(E){return M=>M.lift(new A(E))}class A{constructor(M){this.notifier=M}call(M,R){const I=new S(M),P=(0,o.ft)(this.notifier,new o.IY(I));return P&&!I.seenValue?(I.add(P),R.subscribe(I)):I}}class S extends o.Ds{constructor(M){super(M),this.seenValue=!1}notifyNext(){this.seenValue=!0,this.complete()}notifyComplete(){}}},4907:(G,O,u)=>{"use strict";u.d(O,{T:()=>A});var o=u(4450),p=u(3489);function A(R=M){return I=>I.lift(new S(R))}class S{constructor(I){this.errorFactory=I}call(I,P){return P.subscribe(new E(I,this.errorFactory))}}class E extends p.L{constructor(I,P){super(I),this.errorFactory=P,this.hasValue=!1}_next(I){this.hasValue=!0,this.destination.next(I)}_complete(){if(this.hasValue)return this.destination.complete();{let I;try{I=this.errorFactory()}catch(P){I=P}this.destination.error(I)}}}function M(){return new o.K}},6454:(G,O,u)=>{"use strict";u.d(O,{r:()=>A});var o=u(2916),p=u(2654);function A(S,E){return new o.y((M=>{const R=new p.w;let I=0;return R.add(E.schedule((function(){I!==S.length?(M.next(S[I++]),M.closed||R.add(this.schedule())):M.complete()}))),R}))}},6686:(G,O,u)=>{"use strict";u.d(O,{o:()=>A});var o=u(2654);class p extends o.w{constructor(E,M){super()}schedule(E,M=0){return this}}class A extends p{constructor(E,M){super(E,M),this.scheduler=E,this.work=M,this.pending=!1}schedule(E,M=0){if(this.closed)return this;this.state=E;const R=this.id,I=this.scheduler;return null!=R&&(this.id=this.recycleAsyncId(I,R,M)),this.pending=!0,this.delay=M,this.id=this.id||this.requestAsyncId(I,this.id,M),this}requestAsyncId(E,M,R=0){return setInterval(E.flush.bind(E,this),R)}recycleAsyncId(E,M,R=0){if(null!==R&&this.delay===R&&!1===this.pending)return M;clearInterval(M)}execute(E,M){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const R=this._execute(E,M);if(R)return R;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(E,M){let I,R=!1;try{this.work(E)}catch(P){R=!0,I=!!P&&P||new Error(P)}if(R)return this.unsubscribe(),I}_unsubscribe(){const E=this.id,M=this.scheduler,R=M.actions,I=R.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==I&&R.splice(I,1),null!=E&&(this.id=this.recycleAsyncId(M,E,null)),this.delay=null}}},2268:(G,O,u)=>{"use strict";u.d(O,{v:()=>p});let o=(()=>{class A{constructor(E,M=A.now){this.SchedulerAction=E,this.now=M}schedule(E,M=0,R){return new this.SchedulerAction(this,E).schedule(R,M)}}return A.now=()=>Date.now(),A})();class p extends o{constructor(S,E=o.now){super(S,(()=>p.delegate&&p.delegate!==this?p.delegate.now():E())),this.actions=[],this.active=!1,this.scheduled=void 0}schedule(S,E=0,M){return p.delegate&&p.delegate!==this?p.delegate.schedule(S,E,M):super.schedule(S,E,M)}flush(S){const{actions:E}=this;if(this.active)return void E.push(S);let M;this.active=!0;do{if(M=S.execute(S.state,S.delay))break}while(S=E.shift());if(this.active=!1,M){for(;S=E.shift();)S.unsubscribe();throw M}}}},353:(G,O,u)=>{"use strict";u.d(O,{P:()=>S});var o=u(6686);const S=new(u(2268).v)(o.o)},5430:(G,O,u)=>{"use strict";u.d(O,{hZ:()=>p});const p=function o(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}()},3821:(G,O,u)=>{"use strict";u.d(O,{L:()=>o});const o="function"==typeof Symbol&&Symbol.observable||"@@observable"},7668:(G,O,u)=>{"use strict";u.d(O,{b:()=>o});const o="function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random()},4231:(G,O,u)=>{"use strict";u.d(O,{W:()=>p});const p=(()=>{function A(){return Error.call(this),this.message="argument out of range",this.name="ArgumentOutOfRangeError",this}return A.prototype=Object.create(Error.prototype),A})()},4450:(G,O,u)=>{"use strict";u.d(O,{K:()=>p});const p=(()=>{function A(){return Error.call(this),this.message="no elements in sequence",this.name="EmptyError",this}return A.prototype=Object.create(Error.prototype),A})()},5279:(G,O,u)=>{"use strict";u.d(O,{N:()=>p});const p=(()=>{function A(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}return A.prototype=Object.create(Error.prototype),A})()},2782:(G,O,u)=>{"use strict";function o(p){setTimeout((()=>{throw p}),0)}u.d(O,{z:()=>o})},5379:(G,O,u)=>{"use strict";function o(p){return p}u.d(O,{y:()=>o})},6688:(G,O,u)=>{"use strict";u.d(O,{k:()=>o});const o=Array.isArray||(p=>p&&"number"==typeof p.length)},8515:(G,O,u)=>{"use strict";u.d(O,{z:()=>o});const o=p=>p&&"number"==typeof p.length&&"function"!=typeof p},7043:(G,O,u)=>{"use strict";function o(p){return"function"==typeof p}u.d(O,{m:()=>o})},7830:(G,O,u)=>{"use strict";function o(p){return null!==p&&"object"==typeof p}u.d(O,{K:()=>o})},8955:(G,O,u)=>{"use strict";function o(p){return!!p&&"function"!=typeof p.subscribe&&"function"==typeof p.then}u.d(O,{t:()=>o})},2866:(G,O,u)=>{"use strict";function o(p){return p&&"function"==typeof p.schedule}u.d(O,{K:()=>o})},9249:(G,O,u)=>{"use strict";u.d(O,{s:()=>L});var o=u(3650),p=u(2782),S=u(5430),M=u(3821),I=u(8515),P=u(8955),x=u(7830);const L=Z=>{if(Z&&"function"==typeof Z[M.L])return(Z=>te=>{const ye=Z[M.L]();if("function"!=typeof ye.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return ye.subscribe(te)})(Z);if((0,I.z)(Z))return(0,o.V)(Z);if((0,P.t)(Z))return(Z=>te=>(Z.then((ye=>{te.closed||(te.next(ye),te.complete())}),(ye=>te.error(ye))).then(null,p.z),te))(Z);if(Z&&"function"==typeof Z[S.hZ])return(Z=>te=>{const ye=Z[S.hZ]();for(;;){let Ce;try{Ce=ye.next()}catch(Te){return te.error(Te),te}if(Ce.done){te.complete();break}if(te.next(Ce.value),te.closed)break}return"function"==typeof ye.return&&te.add((()=>{ye.return&&ye.return()})),te})(Z);{const ye=`You provided ${(0,x.K)(Z)?"an invalid object":`'${Z}'`} where a stream was expected. You can provide an Observable, Promise, Array, or Iterable.`;throw new TypeError(ye)}}},3650:(G,O,u)=>{"use strict";u.d(O,{V:()=>o});const o=p=>A=>{for(let S=0,E=p.length;S<E&&!A.closed;S++)A.next(p[S]);A.complete()}},8583:()=>{"use strict";!function(se){const ge=se.performance;function He(ut){ge&&ge.mark&&ge.mark(ut)}function Pe(ut,lt){ge&&ge.measure&&ge.measure(ut,lt)}He("Zone");const F=se.__Zone_symbol_prefix||"__zone_symbol__";function X(ut){return F+ut}const ae=!0===se[X("forceDuplicateZoneCheck")];if(se.Zone){if(ae||"function"!=typeof se.Zone.__symbol__)throw new Error("Zone already loaded.");return se.Zone}let ne=(()=>{class ut{constructor(ie,Ne){this._parent=ie,this._name=Ne?Ne.name||"unnamed":"<root>",this._properties=Ne&&Ne.properties||{},this._zoneDelegate=new et(this,this._parent&&this._parent._zoneDelegate,Ne)}static assertZonePatched(){if(se.Promise!==B.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 ie=ut.current;for(;ie.parent;)ie=ie.parent;return ie}static get current(){return U.zone}static get currentTask(){return ce}static __load_patch(ie,Ne,St=!1){if(B.hasOwnProperty(ie)){if(!St&&ae)throw Error("Already loaded patch: "+ie)}else if(!se["__Zone_disable_"+ie]){const Tt="Zone:"+ie;He(Tt),B[ie]=Ne(se,ut,W),Pe(Tt,Tt)}}get parent(){return this._parent}get name(){return this._name}get(ie){const Ne=this.getZoneWith(ie);if(Ne)return Ne._properties[ie]}getZoneWith(ie){let Ne=this;for(;Ne;){if(Ne._properties.hasOwnProperty(ie))return Ne;Ne=Ne._parent}return null}fork(ie){if(!ie)throw new Error("ZoneSpec required!");return this._zoneDelegate.fork(this,ie)}wrap(ie,Ne){if("function"!=typeof ie)throw new Error("Expecting function got: "+ie);const St=this._zoneDelegate.intercept(this,ie,Ne),Tt=this;return function(){return Tt.runGuarded(St,this,arguments,Ne)}}run(ie,Ne,St,Tt){U={parent:U,zone:this};try{return this._zoneDelegate.invoke(this,ie,Ne,St,Tt)}finally{U=U.parent}}runGuarded(ie,Ne=null,St,Tt){U={parent:U,zone:this};try{try{return this._zoneDelegate.invoke(this,ie,Ne,St,Tt)}catch(Zt){if(this._zoneDelegate.handleError(this,Zt))throw Zt}}finally{U=U.parent}}runTask(ie,Ne,St){if(ie.zone!=this)throw new Error("A task can only be run in the zone of creation! (Creation: "+(ie.zone||Ct).name+"; Execution: "+this.name+")");if(ie.state===sn&&(ie.type===J||ie.type===de))return;const Tt=ie.state!=It;Tt&&ie._transitionTo(It,dn),ie.runCount++;const Zt=ce;ce=ie,U={parent:U,zone:this};try{ie.type==de&&ie.data&&!ie.data.isPeriodic&&(ie.cancelFn=void 0);try{return this._zoneDelegate.invokeTask(this,ie,Ne,St)}catch(Re){if(this._zoneDelegate.handleError(this,Re))throw Re}}finally{ie.state!==sn&&ie.state!==Vt&&(ie.type==J||ie.data&&ie.data.isPeriodic?Tt&&ie._transitionTo(dn,It):(ie.runCount=0,this._updateTaskCount(ie,-1),Tt&&ie._transitionTo(sn,It,sn))),U=U.parent,ce=Zt}}scheduleTask(ie){if(ie.zone&&ie.zone!==this){let St=this;for(;St;){if(St===ie.zone)throw Error(`can not reschedule task to ${this.name} which is descendants of the original zone ${ie.zone.name}`);St=St.parent}}ie._transitionTo(yn,sn);const Ne=[];ie._zoneDelegates=Ne,ie._zone=this;try{ie=this._zoneDelegate.scheduleTask(this,ie)}catch(St){throw ie._transitionTo(Vt,yn,sn),this._zoneDelegate.handleError(this,St),St}return ie._zoneDelegates===Ne&&this._updateTaskCount(ie,1),ie.state==yn&&ie._transitionTo(dn,yn),ie}scheduleMicroTask(ie,Ne,St,Tt){return this.scheduleTask(new Je(an,ie,Ne,St,Tt,void 0))}scheduleMacroTask(ie,Ne,St,Tt,Zt){return this.scheduleTask(new Je(de,ie,Ne,St,Tt,Zt))}scheduleEventTask(ie,Ne,St,Tt,Zt){return this.scheduleTask(new Je(J,ie,Ne,St,Tt,Zt))}cancelTask(ie){if(ie.zone!=this)throw new Error("A task can only be cancelled in the zone of creation! (Creation: "+(ie.zone||Ct).name+"; Execution: "+this.name+")");ie._transitionTo(pn,dn,It);try{this._zoneDelegate.cancelTask(this,ie)}catch(Ne){throw ie._transitionTo(Vt,pn),this._zoneDelegate.handleError(this,Ne),Ne}return this._updateTaskCount(ie,-1),ie._transitionTo(sn,pn),ie.runCount=0,ie}_updateTaskCount(ie,Ne){const St=ie._zoneDelegates;-1==Ne&&(ie._zoneDelegates=null);for(let Tt=0;Tt<St.length;Tt++)St[Tt]._updateTaskCount(ie.type,Ne)}}return ut.__symbol__=X,ut})();const Ie={name:"",onHasTask:(ut,lt,ie,Ne)=>ut.hasTask(ie,Ne),onScheduleTask:(ut,lt,ie,Ne)=>ut.scheduleTask(ie,Ne),onInvokeTask:(ut,lt,ie,Ne,St,Tt)=>ut.invokeTask(ie,Ne,St,Tt),onCancelTask:(ut,lt,ie,Ne)=>ut.cancelTask(ie,Ne)};class et{constructor(lt,ie,Ne){this._taskCounts={microTask:0,macroTask:0,eventTask:0},this.zone=lt,this._parentDelegate=ie,this._forkZS=Ne&&(Ne&&Ne.onFork?Ne:ie._forkZS),this._forkDlgt=Ne&&(Ne.onFork?ie:ie._forkDlgt),this._forkCurrZone=Ne&&(Ne.onFork?this.zone:ie._forkCurrZone),this._interceptZS=Ne&&(Ne.onIntercept?Ne:ie._interceptZS),this._interceptDlgt=Ne&&(Ne.onIntercept?ie:ie._interceptDlgt),this._interceptCurrZone=Ne&&(Ne.onIntercept?this.zone:ie._interceptCurrZone),this._invokeZS=Ne&&(Ne.onInvoke?Ne:ie._invokeZS),this._invokeDlgt=Ne&&(Ne.onInvoke?ie:ie._invokeDlgt),this._invokeCurrZone=Ne&&(Ne.onInvoke?this.zone:ie._invokeCurrZone),this._handleErrorZS=Ne&&(Ne.onHandleError?Ne:ie._handleErrorZS),this._handleErrorDlgt=Ne&&(Ne.onHandleError?ie:ie._handleErrorDlgt),this._handleErrorCurrZone=Ne&&(Ne.onHandleError?this.zone:ie._handleErrorCurrZone),this._scheduleTaskZS=Ne&&(Ne.onScheduleTask?Ne:ie._scheduleTaskZS),this._scheduleTaskDlgt=Ne&&(Ne.onScheduleTask?ie:ie._scheduleTaskDlgt),this._scheduleTaskCurrZone=Ne&&(Ne.onScheduleTask?this.zone:ie._scheduleTaskCurrZone),this._invokeTaskZS=Ne&&(Ne.onInvokeTask?Ne:ie._invokeTaskZS),this._invokeTaskDlgt=Ne&&(Ne.onInvokeTask?ie:ie._invokeTaskDlgt),this._invokeTaskCurrZone=Ne&&(Ne.onInvokeTask?this.zone:ie._invokeTaskCurrZone),this._cancelTaskZS=Ne&&(Ne.onCancelTask?Ne:ie._cancelTaskZS),this._cancelTaskDlgt=Ne&&(Ne.onCancelTask?ie:ie._cancelTaskDlgt),this._cancelTaskCurrZone=Ne&&(Ne.onCancelTask?this.zone:ie._cancelTaskCurrZone),this._hasTaskZS=null,this._hasTaskDlgt=null,this._hasTaskDlgtOwner=null,this._hasTaskCurrZone=null;const St=Ne&&Ne.onHasTask;(St||ie&&ie._hasTaskZS)&&(this._hasTaskZS=St?Ne:Ie,this._hasTaskDlgt=ie,this._hasTaskDlgtOwner=this,this._hasTaskCurrZone=lt,Ne.onScheduleTask||(this._scheduleTaskZS=Ie,this._scheduleTaskDlgt=ie,this._scheduleTaskCurrZone=this.zone),Ne.onInvokeTask||(this._invokeTaskZS=Ie,this._invokeTaskDlgt=ie,this._invokeTaskCurrZone=this.zone),Ne.onCancelTask||(this._cancelTaskZS=Ie,this._cancelTaskDlgt=ie,this._cancelTaskCurrZone=this.zone))}fork(lt,ie){return this._forkZS?this._forkZS.onFork(this._forkDlgt,this.zone,lt,ie):new ne(lt,ie)}intercept(lt,ie,Ne){return this._interceptZS?this._interceptZS.onIntercept(this._interceptDlgt,this._interceptCurrZone,lt,ie,Ne):ie}invoke(lt,ie,Ne,St,Tt){return this._invokeZS?this._invokeZS.onInvoke(this._invokeDlgt,this._invokeCurrZone,lt,ie,Ne,St,Tt):ie.apply(Ne,St)}handleError(lt,ie){return!this._handleErrorZS||this._handleErrorZS.onHandleError(this._handleErrorDlgt,this._handleErrorCurrZone,lt,ie)}scheduleTask(lt,ie){let Ne=ie;if(this._scheduleTaskZS)this._hasTaskZS&&Ne._zoneDelegates.push(this._hasTaskDlgtOwner),Ne=this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt,this._scheduleTaskCurrZone,lt,ie),Ne||(Ne=ie);else if(ie.scheduleFn)ie.scheduleFn(ie);else{if(ie.type!=an)throw new Error("Task is missing scheduleFn.");zt(ie)}return Ne}invokeTask(lt,ie,Ne,St){return this._invokeTaskZS?this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt,this._invokeTaskCurrZone,lt,ie,Ne,St):ie.callback.apply(Ne,St)}cancelTask(lt,ie){let Ne;if(this._cancelTaskZS)Ne=this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt,this._cancelTaskCurrZone,lt,ie);else{if(!ie.cancelFn)throw Error("Task is not cancelable");Ne=ie.cancelFn(ie)}return Ne}hasTask(lt,ie){try{this._hasTaskZS&&this._hasTaskZS.onHasTask(this._hasTaskDlgt,this._hasTaskCurrZone,lt,ie)}catch(Ne){this.handleError(lt,Ne)}}_updateTaskCount(lt,ie){const Ne=this._taskCounts,St=Ne[lt],Tt=Ne[lt]=St+ie;if(Tt<0)throw new Error("More tasks executed then were scheduled.");0!=St&&0!=Tt||this.hasTask(this.zone,{microTask:Ne.microTask>0,macroTask:Ne.macroTask>0,eventTask:Ne.eventTask>0,change:lt})}}class Je{constructor(lt,ie,Ne,St,Tt,Zt){if(this._zone=null,this.runCount=0,this._zoneDelegates=null,this._state="notScheduled",this.type=lt,this.source=ie,this.data=St,this.scheduleFn=Tt,this.cancelFn=Zt,!Ne)throw new Error("callback is not defined");this.callback=Ne;const Re=this;this.invoke=lt===J&&St&&St.useG?Je.invokeTask:function(){return Je.invokeTask.call(se,Re,this,arguments)}}static invokeTask(lt,ie,Ne){lt||(lt=this),Ve++;try{return lt.runCount++,lt.zone.runTask(lt,ie,Ne)}finally{1==Ve&&Et(),Ve--}}get zone(){return this._zone}get state(){return this._state}cancelScheduleRequest(){this._transitionTo(sn,yn)}_transitionTo(lt,ie,Ne){if(this._state!==ie&&this._state!==Ne)throw new Error(`${this.type} '${this.source}': can not transition to '${lt}', expecting state '${ie}'${Ne?" or '"+Ne+"'":""}, was '${this._state}'.`);this._state=lt,lt==sn&&(this._zoneDelegates=null)}toString(){return this.data&&typeof this.data.handleId<"u"?this.data.handleId.toString():Object.prototype.toString.call(this)}toJSON(){return{type:this.type,state:this.state,source:this.source,zone:this.zone.name,runCount:this.runCount}}}const at=X("setTimeout"),_t=X("Promise"),ft=X("then");let Jt,Bt=[],Ft=!1;function Ht(ut){if(Jt||se[_t]&&(Jt=se[_t].resolve(0)),Jt){let lt=Jt[ft];lt||(lt=Jt.then),lt.call(Jt,ut)}else se[at](ut,0)}function zt(ut){0===Ve&&0===Bt.length&&Ht(Et),ut&&Bt.push(ut)}function Et(){if(!Ft){for(Ft=!0;Bt.length;){const ut=Bt;Bt=[];for(let lt=0;lt<ut.length;lt++){const ie=ut[lt];try{ie.zone.runTask(ie,null,null)}catch(Ne){W.onUnhandledError(Ne)}}}W.microtaskDrainDone(),Ft=!1}}const Ct={name:"NO ZONE"},sn="notScheduled",yn="scheduling",dn="scheduled",It="running",pn="canceling",Vt="unknown",an="microTask",de="macroTask",J="eventTask",B={},W={symbol:X,currentZoneFrame:()=>U,onUnhandledError:yt,microtaskDrainDone:yt,scheduleMicroTask:zt,showUncaughtError:()=>!ne[X("ignoreConsoleErrorUncaughtError")],patchEventTarget:()=>[],patchOnProperties:yt,patchMethod:()=>yt,bindArguments:()=>[],patchThen:()=>yt,patchMacroTask:()=>yt,patchEventPrototype:()=>yt,isIEOrEdge:()=>!1,getGlobalObjects:()=>{},ObjectDefineProperty:()=>yt,ObjectGetOwnPropertyDescriptor:()=>{},ObjectCreate:()=>{},ArraySlice:()=>[],patchClass:()=>yt,wrapWithCurrentZone:()=>yt,filterProperties:()=>[],attachOriginToPatched:()=>yt,_redefineProperty:()=>yt,patchCallbacks:()=>yt,nativeScheduleMicroTask:Ht};let U={parent:null,zone:new ne(null,null)},ce=null,Ve=0;function yt(){}Pe("Zone","Zone"),se.Zone=ne}(typeof window<"u"&&window||typeof self<"u"&&self||global);const G=Object.getOwnPropertyDescriptor,O=Object.defineProperty,u=Object.getPrototypeOf,o=Object.create,p=Array.prototype.slice,A="addEventListener",S="removeEventListener",E=Zone.__symbol__(A),M=Zone.__symbol__(S),R="true",I="false",P=Zone.__symbol__("");function x(se,ge){return Zone.current.wrap(se,ge)}function L(se,ge,He,Pe,F){return Zone.current.scheduleMacroTask(se,ge,He,Pe,F)}const Z=Zone.__symbol__,te=typeof window<"u",ye=te?window:void 0,Ce=te&&ye||"object"==typeof self&&self||global;function Oe(se,ge){for(let He=se.length-1;He>=0;He--)"function"==typeof se[He]&&(se[He]=x(se[He],ge+"_"+He));return se}function me(se){return!se||!1!==se.writable&&!("function"==typeof se.get&&typeof se.set>"u")}const ze=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope,Ee=!("nw"in Ce)&&typeof Ce.process<"u"&&"[object process]"==={}.toString.call(Ce.process),fe=!Ee&&!ze&&!(!te||!ye.HTMLElement),bt=typeof Ce.process<"u"&&"[object process]"==={}.toString.call(Ce.process)&&!ze&&!(!te||!ye.HTMLElement),Lt={},xt=function(se){if(!(se=se||Ce.event))return;let ge=Lt[se.type];ge||(ge=Lt[se.type]=Z("ON_PROPERTY"+se.type));const He=this||se.target||Ce,Pe=He[ge];let F;if(fe&&He===ye&&"error"===se.type){const X=se;F=Pe&&Pe.call(this,X.message,X.filename,X.lineno,X.colno,X.error),!0===F&&se.preventDefault()}else F=Pe&&Pe.apply(this,arguments),null!=F&&!F&&se.preventDefault();return F};function je(se,ge,He){let Pe=G(se,ge);if(!Pe&&He&&G(He,ge)&&(Pe={enumerable:!0,configurable:!0}),!Pe||!Pe.configurable)return;const F=Z("on"+ge+"patched");if(se.hasOwnProperty(F)&&se[F])return;delete Pe.writable,delete Pe.value;const X=Pe.get,ae=Pe.set,ne=ge.slice(2);let Ie=Lt[ne];Ie||(Ie=Lt[ne]=Z("ON_PROPERTY"+ne)),Pe.set=function(et){let Je=this;!Je&&se===Ce&&(Je=Ce),Je&&("function"==typeof Je[Ie]&&Je.removeEventListener(ne,xt),ae&&ae.call(Je,null),Je[Ie]=et,"function"==typeof et&&Je.addEventListener(ne,xt,!1))},Pe.get=function(){let et=this;if(!et&&se===Ce&&(et=Ce),!et)return null;const Je=et[Ie];if(Je)return Je;if(X){let at=X.call(this);if(at)return Pe.set.call(this,at),"function"==typeof et.removeAttribute&&et.removeAttribute(ge),at}return null},O(se,ge,Pe),se[F]=!0}function Ue(se,ge,He){if(ge)for(let Pe=0;Pe<ge.length;Pe++)je(se,"on"+ge[Pe],He);else{const Pe=[];for(const F in se)"on"==F.slice(0,2)&&Pe.push(F);for(let F=0;F<Pe.length;F++)je(se,Pe[F],He)}}const Qe=Z("originalInstance");function Nt(se){const ge=Ce[se];if(!ge)return;Ce[Z(se)]=ge,Ce[se]=function(){const F=Oe(arguments,se);switch(F.length){case 0:this[Qe]=new ge;break;case 1:this[Qe]=new ge(F[0]);break;case 2:this[Qe]=new ge(F[0],F[1]);break;case 3:this[Qe]=new ge(F[0],F[1],F[2]);break;case 4:this[Qe]=new ge(F[0],F[1],F[2],F[3]);break;default:throw new Error("Arg list too long.")}},we(Ce[se],ge);const He=new ge((function(){}));let Pe;for(Pe in He)"XMLHttpRequest"===se&&"responseBlob"===Pe||function(F){"function"==typeof He[F]?Ce[se].prototype[F]=function(){return this[Qe][F].apply(this[Qe],arguments)}:O(Ce[se].prototype,F,{set:function(X){"function"==typeof X?(this[Qe][F]=x(X,se+"."+F),we(this[Qe][F],X)):this[Qe][F]=X},get:function(){return this[Qe][F]}})}(Pe);for(Pe in ge)"prototype"!==Pe&&ge.hasOwnProperty(Pe)&&(Ce[se][Pe]=ge[Pe])}function vt(se,ge,He){let Pe=se;for(;Pe&&!Pe.hasOwnProperty(ge);)Pe=u(Pe);!Pe&&se[ge]&&(Pe=se);const F=Z(ge);let X=null;if(Pe&&(!(X=Pe[F])||!Pe.hasOwnProperty(F))&&(X=Pe[F]=Pe[ge],me(Pe&&G(Pe,ge)))){const ne=He(X,F,ge);Pe[ge]=function(){return ne(this,arguments)},we(Pe[ge],X)}return X}function nt(se,ge,He){let Pe=null;function F(X){const ae=X.data;return ae.args[ae.cbIdx]=function(){X.invoke.apply(this,arguments)},Pe.apply(ae.target,ae.args),X}Pe=vt(se,ge,(X=>function(ae,ne){const Ie=He(ae,ne);return Ie.cbIdx>=0&&"function"==typeof ne[Ie.cbIdx]?L(Ie.name,ne[Ie.cbIdx],Ie,F):X.apply(ae,ne)}))}function we(se,ge){se[Z("OriginalDelegate")]=ge}let be=!1,rt=!1;function wt(){if(be)return rt;be=!0;try{const se=ye.navigator.userAgent;(-1!==se.indexOf("MSIE ")||-1!==se.indexOf("Trident/")||-1!==se.indexOf("Edge/"))&&(rt=!0)}catch{}return rt}Zone.__load_patch("ZoneAwarePromise",((se,ge,He)=>{const Pe=Object.getOwnPropertyDescriptor,F=Object.defineProperty,ae=He.symbol,ne=[],Ie=!0===se[ae("DISABLE_WRAPPING_UNCAUGHT_PROMISE_REJECTION")],et=ae("Promise"),Je=ae("then");He.onUnhandledError=Re=>{if(He.showUncaughtError()){const Xe=Re&&Re.rejection;Xe?console.error("Unhandled Promise rejection:",Xe instanceof Error?Xe.message:Xe,"; Zone:",Re.zone.name,"; Task:",Re.task&&Re.task.source,"; Value:",Xe,Xe instanceof Error?Xe.stack:void 0):console.error(Re)}},He.microtaskDrainDone=()=>{for(;ne.length;){const Re=ne.shift();try{Re.zone.runGuarded((()=>{throw Re.throwOriginal?Re.rejection:Re}))}catch(Xe){ft(Xe)}}};const _t=ae("unhandledPromiseRejectionHandler");function ft(Re){He.onUnhandledError(Re);try{const Xe=ge[_t];"function"==typeof Xe&&Xe.call(this,Re)}catch{}}function Bt(Re){return Re&&Re.then}function Ft(Re){return Re}function Jt(Re){return ie.reject(Re)}const Ht=ae("state"),zt=ae("value"),Et=ae("finally"),Ct=ae("parentPromiseValue"),sn=ae("parentPromiseState"),dn=null,pn=!1;function an(Re,Xe){return xe=>{try{W(Re,Xe,xe)}catch(qe){W(Re,!1,qe)}}}const de=function(){let Re=!1;return function(xe){return function(){Re||(Re=!0,xe.apply(null,arguments))}}},B=ae("currentTaskTrace");function W(Re,Xe,xe){const qe=de();if(Re===xe)throw new TypeError("Promise resolved with itself");if(Re[Ht]===dn){let jt=null;try{("object"==typeof xe||"function"==typeof xe)&&(jt=xe&&xe.then)}catch(Gt){return qe((()=>{W(Re,!1,Gt)}))(),Re}if(Xe!==pn&&xe instanceof ie&&xe.hasOwnProperty(Ht)&&xe.hasOwnProperty(zt)&&xe[Ht]!==dn)ce(xe),W(Re,xe[Ht],xe[zt]);else if(Xe!==pn&&"function"==typeof jt)try{jt.call(xe,qe(an(Re,Xe)),qe(an(Re,!1)))}catch(Gt){qe((()=>{W(Re,!1,Gt)}))()}else{Re[Ht]=Xe;const Gt=Re[zt];if(Re[zt]=xe,Re[Et]===Et&&!0===Xe&&(Re[Ht]=Re[sn],Re[zt]=Re[Ct]),Xe===pn&&xe instanceof Error){const Rt=ge.currentTask&&ge.currentTask.data&&ge.currentTask.data.__creationTrace__;Rt&&F(xe,B,{configurable:!0,enumerable:!1,writable:!0,value:Rt})}for(let Rt=0;Rt<Gt.length;)Ve(Re,Gt[Rt++],Gt[Rt++],Gt[Rt++],Gt[Rt++]);if(0==Gt.length&&Xe==pn){Re[Ht]=0;let Rt=xe;try{throw new Error("Uncaught (in promise): "+function X(Re){return Re&&Re.toString===Object.prototype.toString?(Re.constructor&&Re.constructor.name||"")+": "+JSON.stringify(Re):Re?Re.toString():Object.prototype.toString.call(Re)}(xe)+(xe&&xe.stack?"\n"+xe.stack:""))}catch(Yt){Rt=Yt}Ie&&(Rt.throwOriginal=!0),Rt.rejection=xe,Rt.promise=Re,Rt.zone=ge.current,Rt.task=ge.currentTask,ne.push(Rt),He.scheduleMicroTask()}}}return Re}const U=ae("rejectionHandledHandler");function ce(Re){if(0===Re[Ht]){try{const Xe=ge[U];Xe&&"function"==typeof Xe&&Xe.call(this,{rejection:Re[zt],promise:Re})}catch{}Re[Ht]=pn;for(let Xe=0;Xe<ne.length;Xe++)Re===ne[Xe].promise&&ne.splice(Xe,1)}}function Ve(Re,Xe,xe,qe,jt){ce(Re);const Gt=Re[Ht],Rt=Gt?"function"==typeof qe?qe:Ft:"function"==typeof jt?jt:Jt;Xe.scheduleMicroTask("Promise.then",(()=>{try{const Yt=Re[zt],rn=!!xe&&Et===xe[Et];rn&&(xe[Ct]=Yt,xe[sn]=Gt);const on=Xe.run(Rt,void 0,rn&&Rt!==Jt&&Rt!==Ft?[]:[Yt]);W(xe,!0,on)}catch(Yt){W(xe,!1,Yt)}}),xe)}const ut=function(){},lt=se.AggregateError;class ie{static toString(){return"function ZoneAwarePromise() { [native code] }"}static resolve(Xe){return W(new this(null),!0,Xe)}static reject(Xe){return W(new this(null),pn,Xe)}static any(Xe){if(!Xe||"function"!=typeof Xe[Symbol.iterator])return Promise.reject(new lt([],"All promises were rejected"));const xe=[];let qe=0;try{for(let Rt of Xe)qe++,xe.push(ie.resolve(Rt))}catch{return Promise.reject(new lt([],"All promises were rejected"))}if(0===qe)return Promise.reject(new lt([],"All promises were rejected"));let jt=!1;const Gt=[];return new ie(((Rt,Yt)=>{for(let rn=0;rn<xe.length;rn++)xe[rn].then((on=>{jt||(jt=!0,Rt(on))}),(on=>{Gt.push(on),qe--,0===qe&&(jt=!0,Yt(new lt(Gt,"All promises were rejected")))}))}))}static race(Xe){let xe,qe,jt=new this(((Yt,rn)=>{xe=Yt,qe=rn}));function Gt(Yt){xe(Yt)}function Rt(Yt){qe(Yt)}for(let Yt of Xe)Bt(Yt)||(Yt=this.resolve(Yt)),Yt.then(Gt,Rt);return jt}static all(Xe){return ie.allWithCallback(Xe)}static allSettled(Xe){return(this&&this.prototype instanceof ie?this:ie).allWithCallback(Xe,{thenCallback:qe=>({status:"fulfilled",value:qe}),errorCallback:qe=>({status:"rejected",reason:qe})})}static allWithCallback(Xe,xe){let qe,jt,Gt=new this(((on,kt)=>{qe=on,jt=kt})),Rt=2,Yt=0;const rn=[];for(let on of Xe){Bt(on)||(on=this.resolve(on));const kt=Yt;try{on.then((vn=>{rn[kt]=xe?xe.thenCallback(vn):vn,Rt--,0===Rt&&qe(rn)}),(vn=>{xe?(rn[kt]=xe.errorCallback(vn),Rt--,0===Rt&&qe(rn)):jt(vn)}))}catch(vn){jt(vn)}Rt++,Yt++}return Rt-=2,0===Rt&&qe(rn),Gt}constructor(Xe){const xe=this;if(!(xe instanceof ie))throw new Error("Must be an instanceof Promise.");xe[Ht]=dn,xe[zt]=[];try{const qe=de();Xe&&Xe(qe(an(xe,!0)),qe(an(xe,pn)))}catch(qe){W(xe,!1,qe)}}get[Symbol.toStringTag](){return"Promise"}get[Symbol.species](){return ie}then(Xe,xe){var qe;let jt=null===(qe=this.constructor)||void 0===qe?void 0:qe[Symbol.species];(!jt||"function"!=typeof jt)&&(jt=this.constructor||ie);const Gt=new jt(ut),Rt=ge.current;return this[Ht]==dn?this[zt].push(Rt,Gt,Xe,xe):Ve(this,Rt,Gt,Xe,xe),Gt}catch(Xe){return this.then(null,Xe)}finally(Xe){var xe;let qe=null===(xe=this.constructor)||void 0===xe?void 0:xe[Symbol.species];(!qe||"function"!=typeof qe)&&(qe=ie);const jt=new qe(ut);jt[Et]=Et;const Gt=ge.current;return this[Ht]==dn?this[zt].push(Gt,jt,Xe,Xe):Ve(this,Gt,jt,Xe,Xe),jt}}ie.resolve=ie.resolve,ie.reject=ie.reject,ie.race=ie.race,ie.all=ie.all;const Ne=se[et]=se.Promise;se.Promise=ie;const St=ae("thenPatched");function Tt(Re){const Xe=Re.prototype,xe=Pe(Xe,"then");if(xe&&(!1===xe.writable||!xe.configurable))return;const qe=Xe.then;Xe[Je]=qe,Re.prototype.then=function(jt,Gt){return new ie(((Yt,rn)=>{qe.call(this,Yt,rn)})).then(jt,Gt)},Re[St]=!0}return He.patchThen=Tt,Ne&&(Tt(Ne),vt(se,"fetch",(Re=>function Zt(Re){return function(Xe,xe){let qe=Re.apply(Xe,xe);if(qe instanceof ie)return qe;let jt=qe.constructor;return jt[St]||Tt(jt),qe}}(Re)))),Promise[ge.__symbol__("uncaughtPromiseErrors")]=ne,ie})),Zone.__load_patch("toString",(se=>{const ge=Function.prototype.toString,He=Z("OriginalDelegate"),Pe=Z("Promise"),F=Z("Error"),X=function(){if("function"==typeof this){const et=this[He];if(et)return"function"==typeof et?ge.call(et):Object.prototype.toString.call(et);if(this===Promise){const Je=se[Pe];if(Je)return ge.call(Je)}if(this===Error){const Je=se[F];if(Je)return ge.call(Je)}}return ge.call(this)};X[He]=ge,Function.prototype.toString=X;const ae=Object.prototype.toString;Object.prototype.toString=function(){return"function"==typeof Promise&&this instanceof Promise?"[object Promise]":ae.call(this)}}));let $e=!1;if(typeof window<"u")try{const se=Object.defineProperty({},"passive",{get:function(){$e=!0}});window.addEventListener("test",se,se),window.removeEventListener("test",se,se)}catch{$e=!1}const Ke={useG:!0},ct={},De={},Ae=new RegExp("^"+P+"(\\w+)(true|false)$"),ve=Z("propagationStopped");function Ge(se,ge){const He=(ge?ge(se):se)+I,Pe=(ge?ge(se):se)+R,F=P+He,X=P+Pe;ct[se]={},ct[se][I]=F,ct[se][R]=X}function Ye(se,ge,He,Pe){const F=Pe&&Pe.add||A,X=Pe&&Pe.rm||S,ae=Pe&&Pe.listeners||"eventListeners",ne=Pe&&Pe.rmAll||"removeAllListeners",Ie=Z(F),et="."+F+":",_t=function(zt,Et,Ct){if(zt.isRemoved)return;const sn=zt.callback;let yn;"object"==typeof sn&&sn.handleEvent&&(zt.callback=It=>sn.handleEvent(It),zt.originalDelegate=sn);try{zt.invoke(zt,Et,[Ct])}catch(It){yn=It}const dn=zt.options;return dn&&"object"==typeof dn&&dn.once&&Et[X].call(Et,Ct.type,zt.originalDelegate?zt.originalDelegate:zt.callback,dn),yn};function ft(zt,Et,Ct){if(!(Et=Et||se.event))return;const sn=zt||Et.target||se,yn=sn[ct[Et.type][Ct?R:I]];if(yn){const dn=[];if(1===yn.length){const It=_t(yn[0],sn,Et);It&&dn.push(It)}else{const It=yn.slice();for(let pn=0;pn<It.length&&(!Et||!0!==Et[ve]);pn++){const Vt=_t(It[pn],sn,Et);Vt&&dn.push(Vt)}}if(1===dn.length)throw dn[0];for(let It=0;It<dn.length;It++){const pn=dn[It];ge.nativeScheduleMicroTask((()=>{throw pn}))}}}const Bt=function(zt){return ft(this,zt,!1)},Ft=function(zt){return ft(this,zt,!0)};function Jt(zt,Et){if(!zt)return!1;let Ct=!0;Et&&void 0!==Et.useG&&(Ct=Et.useG);const sn=Et&&Et.vh;let yn=!0;Et&&void 0!==Et.chkDup&&(yn=Et.chkDup);let dn=!1;Et&&void 0!==Et.rt&&(dn=Et.rt);let It=zt;for(;It&&!It.hasOwnProperty(F);)It=u(It);if(!It&&zt[F]&&(It=zt),!It||It[Ie])return!1;const pn=Et&&Et.eventNameToString,Vt={},an=It[Ie]=It[F],de=It[Z(X)]=It[X],J=It[Z(ae)]=It[ae],B=It[Z(ne)]=It[ne];let W;function U(xe,qe){return!$e&&"object"==typeof xe&&xe?!!xe.capture:$e&&qe?"boolean"==typeof xe?{capture:xe,passive:!0}:xe?"object"==typeof xe&&!1!==xe.passive?Object.assign(Object.assign({},xe),{passive:!0}):xe:{passive:!0}:xe}Et&&Et.prepend&&(W=It[Z(Et.prepend)]=It[Et.prepend]);const ie=Ct?function(xe){if(!Vt.isExisting)return an.call(Vt.target,Vt.eventName,Vt.capture?Ft:Bt,Vt.options)}:function(xe){return an.call(Vt.target,Vt.eventName,xe.invoke,Vt.options)},Ne=Ct?function(xe){if(!xe.isRemoved){const qe=ct[xe.eventName];let jt;qe&&(jt=qe[xe.capture?R:I]);const Gt=jt&&xe.target[jt];if(Gt)for(let Rt=0;Rt<Gt.length;Rt++)if(Gt[Rt]===xe){Gt.splice(Rt,1),xe.isRemoved=!0,0===Gt.length&&(xe.allRemoved=!0,xe.target[jt]=null);break}}if(xe.allRemoved)return de.call(xe.target,xe.eventName,xe.capture?Ft:Bt,xe.options)}:function(xe){return de.call(xe.target,xe.eventName,xe.invoke,xe.options)},Tt=Et&&Et.diff?Et.diff:function(xe,qe){const jt=typeof qe;return"function"===jt&&xe.callback===qe||"object"===jt&&xe.originalDelegate===qe},Zt=Zone[Z("UNPATCHED_EVENTS")],Re=se[Z("PASSIVE_EVENTS")],Xe=function(xe,qe,jt,Gt,Rt=!1,Yt=!1){return function(){const rn=this||se;let on=arguments[0];Et&&Et.transferEventName&&(on=Et.transferEventName(on));let kt=arguments[1];if(!kt)return xe.apply(this,arguments);if(Ee&&"uncaughtException"===on)return xe.apply(this,arguments);let vn=!1;if("function"!=typeof kt){if(!kt.handleEvent)return xe.apply(this,arguments);vn=!0}if(sn&&!sn(xe,kt,rn,arguments))return;const zn=$e&&!!Re&&-1!==Re.indexOf(on),Zn=U(arguments[2],zn);if(Zt)for(let Be=0;Be<Zt.length;Be++)if(on===Zt[Be])return zn?xe.call(rn,on,kt,Zn):xe.apply(this,arguments);const nr=!!Zn&&("boolean"==typeof Zn||Zn.capture),jn=!(!Zn||"object"!=typeof Zn)&&Zn.once,ur=Zone.current;let Qn=ct[on];Qn||(Ge(on,pn),Qn=ct[on]);const qn=Qn[nr?R:I];let Pr,Dn=rn[qn],Sr=!1;if(Dn){if(Sr=!0,yn)for(let Be=0;Be<Dn.length;Be++)if(Tt(Dn[Be],kt))return}else Dn=rn[qn]=[];const pr=rn.constructor.name,q=De[pr];q&&(Pr=q[on]),Pr||(Pr=pr+qe+(pn?pn(on):on)),Vt.options=Zn,jn&&(Vt.options.once=!1),Vt.target=rn,Vt.capture=nr,Vt.eventName=on,Vt.isExisting=Sr;const Me=Ct?Ke:void 0;Me&&(Me.taskData=Vt);const $=ur.scheduleEventTask(Pr,kt,Me,jt,Gt);return Vt.target=null,Me&&(Me.taskData=null),jn&&(Zn.once=!0),!$e&&"boolean"==typeof $.options||($.options=Zn),$.target=rn,$.capture=nr,$.eventName=on,vn&&($.originalDelegate=kt),Yt?Dn.unshift($):Dn.push($),Rt?rn:void 0}};return It[F]=Xe(an,et,ie,Ne,dn),W&&(It.prependListener=Xe(W,".prependListener:",(function(xe){return W.call(Vt.target,Vt.eventName,xe.invoke,Vt.options)}),Ne,dn,!0)),It[X]=function(){const xe=this||se;let qe=arguments[0];Et&&Et.transferEventName&&(qe=Et.transferEventName(qe));const jt=arguments[2],Gt=!!jt&&("boolean"==typeof jt||jt.capture),Rt=arguments[1];if(!Rt)return de.apply(this,arguments);if(sn&&!sn(de,Rt,xe,arguments))return;const Yt=ct[qe];let rn;Yt&&(rn=Yt[Gt?R:I]);const on=rn&&xe[rn];if(on)for(let kt=0;kt<on.length;kt++){const vn=on[kt];if(Tt(vn,Rt))return on.splice(kt,1),vn.isRemoved=!0,0===on.length&&(vn.allRemoved=!0,xe[rn]=null,"string"==typeof qe)&&(xe[P+"ON_PROPERTY"+qe]=null),vn.zone.cancelTask(vn),dn?xe:void 0}return de.apply(this,arguments)},It[ae]=function(){const xe=this||se;let qe=arguments[0];Et&&Et.transferEventName&&(qe=Et.transferEventName(qe));const jt=[],Gt=ht(xe,pn?pn(qe):qe);for(let Rt=0;Rt<Gt.length;Rt++){const Yt=Gt[Rt];jt.push(Yt.originalDelegate?Yt.originalDelegate:Yt.callback)}return jt},It[ne]=function(){const xe=this||se;let qe=arguments[0];if(qe){Et&&Et.transferEventName&&(qe=Et.transferEventName(qe));const jt=ct[qe];if(jt){const Yt=xe[jt[I]],rn=xe[jt[R]];if(Yt){const on=Yt.slice();for(let kt=0;kt<on.length;kt++){const vn=on[kt];this[X].call(this,qe,vn.originalDelegate?vn.originalDelegate:vn.callback,vn.options)}}if(rn){const on=rn.slice();for(let kt=0;kt<on.length;kt++){const vn=on[kt];this[X].call(this,qe,vn.originalDelegate?vn.originalDelegate:vn.callback,vn.options)}}}}else{const jt=Object.keys(xe);for(let Gt=0;Gt<jt.length;Gt++){const Yt=Ae.exec(jt[Gt]);let rn=Yt&&Yt[1];rn&&"removeListener"!==rn&&this[ne].call(this,rn)}this[ne].call(this,"removeListener")}if(dn)return this},we(It[F],an),we(It[X],de),B&&we(It[ne],B),J&&we(It[ae],J),!0}let Ht=[];for(let zt=0;zt<He.length;zt++)Ht[zt]=Jt(He[zt],Pe);return Ht}function ht(se,ge){if(!ge){const X=[];for(let ae in se){const ne=Ae.exec(ae);let Ie=ne&&ne[1];if(Ie&&(!ge||Ie===ge)){const et=se[ae];if(et)for(let Je=0;Je<et.length;Je++)X.push(et[Je])}}return X}let He=ct[ge];He||(Ge(ge),He=ct[ge]);const Pe=se[He[I]],F=se[He[R]];return Pe?F?Pe.concat(F):Pe.slice():F?F.slice():[]}function Ut(se,ge){const He=se.Event;He&&He.prototype&&ge.patchMethod(He.prototype,"stopImmediatePropagation",(Pe=>function(F,X){F[ve]=!0,Pe&&Pe.apply(F,X)}))}function fn(se,ge,He,Pe,F){const X=Zone.__symbol__(Pe);if(ge[X])return;const ae=ge[X]=ge[Pe];ge[Pe]=function(ne,Ie,et){return Ie&&Ie.prototype&&F.forEach((function(Je){const at=`${He}.${Pe}::`+Je,_t=Ie.prototype;try{if(_t.hasOwnProperty(Je)){const ft=se.ObjectGetOwnPropertyDescriptor(_t,Je);ft&&ft.value?(ft.value=se.wrapWithCurrentZone(ft.value,at),se._redefineProperty(Ie.prototype,Je,ft)):_t[Je]&&(_t[Je]=se.wrapWithCurrentZone(_t[Je],at))}else _t[Je]&&(_t[Je]=se.wrapWithCurrentZone(_t[Je],at))}catch{}})),ae.call(ge,ne,Ie,et)},se.attachOriginToPatched(ge[Pe],ae)}function Le(se,ge,He){if(!He||0===He.length)return ge;const Pe=He.filter((X=>X.target===se));if(!Pe||0===Pe.length)return ge;const F=Pe[0].ignoreProperties;return ge.filter((X=>-1===F.indexOf(X)))}function Se(se,ge,He,Pe){se&&Ue(se,Le(se,ge,He),Pe)}function _e(se){return Object.getOwnPropertyNames(se).filter((ge=>ge.startsWith("on")&&ge.length>2)).map((ge=>ge.substring(2)))}Zone.__load_patch("util",((se,ge,He)=>{const Pe=_e(se);He.patchOnProperties=Ue,He.patchMethod=vt,He.bindArguments=Oe,He.patchMacroTask=nt;const F=ge.__symbol__("BLACK_LISTED_EVENTS"),X=ge.__symbol__("UNPATCHED_EVENTS");se[X]&&(se[F]=se[X]),se[F]&&(ge[F]=ge[X]=se[F]),He.patchEventPrototype=Ut,He.patchEventTarget=Ye,He.isIEOrEdge=wt,He.ObjectDefineProperty=O,He.ObjectGetOwnPropertyDescriptor=G,He.ObjectCreate=o,He.ArraySlice=p,He.patchClass=Nt,He.wrapWithCurrentZone=x,He.filterProperties=Le,He.attachOriginToPatched=we,He._redefineProperty=Object.defineProperty,He.patchCallbacks=fn,He.getGlobalObjects=()=>({globalSources:De,zoneSymbolEventNames:ct,eventNames:Pe,isBrowser:fe,isMix:bt,isNode:Ee,TRUE_STR:R,FALSE_STR:I,ZONE_SYMBOL_PREFIX:P,ADD_EVENT_LISTENER_STR:A,REMOVE_EVENT_LISTENER_STR:S})}));const dt=Z("zoneTask");function qt(se,ge,He,Pe){let F=null,X=null;He+=Pe;const ae={};function ne(et){const Je=et.data;return Je.args[0]=function(){return et.invoke.apply(this,arguments)},Je.handleId=F.apply(se,Je.args),et}function Ie(et){return X.call(se,et.data.handleId)}F=vt(se,ge+=Pe,(et=>function(Je,at){if("function"==typeof at[0]){const _t={isPeriodic:"Interval"===Pe,delay:"Timeout"===Pe||"Interval"===Pe?at[1]||0:void 0,args:at},ft=at[0];at[0]=function(){try{return ft.apply(this,arguments)}finally{_t.isPeriodic||("number"==typeof _t.handleId?delete ae[_t.handleId]:_t.handleId&&(_t.handleId[dt]=null))}};const Bt=L(ge,at[0],_t,ne,Ie);if(!Bt)return Bt;const Ft=Bt.data.handleId;return"number"==typeof Ft?ae[Ft]=Bt:Ft&&(Ft[dt]=Bt),Ft&&Ft.ref&&Ft.unref&&"function"==typeof Ft.ref&&"function"==typeof Ft.unref&&(Bt.ref=Ft.ref.bind(Ft),Bt.unref=Ft.unref.bind(Ft)),"number"==typeof Ft||Ft?Ft:Bt}return et.apply(se,at)})),X=vt(se,He,(et=>function(Je,at){const _t=at[0];let ft;"number"==typeof _t?ft=ae[_t]:(ft=_t&&_t[dt],ft||(ft=_t)),ft&&"string"==typeof ft.type?"notScheduled"!==ft.state&&(ft.cancelFn&&ft.data.isPeriodic||0===ft.runCount)&&("number"==typeof _t?delete ae[_t]:_t&&(_t[dt]=null),ft.zone.cancelTask(ft)):et.apply(se,at)}))}Zone.__load_patch("legacy",(se=>{const ge=se[Zone.__symbol__("legacyPatch")];ge&&ge()})),Zone.__load_patch("queueMicrotask",((se,ge,He)=>{He.patchMethod(se,"queueMicrotask",(Pe=>function(F,X){ge.current.scheduleMicroTask("queueMicrotask",X[0])}))})),Zone.__load_patch("timers",(se=>{const He="clear";qt(se,"set",He,"Timeout"),qt(se,"set",He,"Interval"),qt(se,"set",He,"Immediate")})),Zone.__load_patch("requestAnimationFrame",(se=>{qt(se,"request","cancel","AnimationFrame"),qt(se,"mozRequest","mozCancel","AnimationFrame"),qt(se,"webkitRequest","webkitCancel","AnimationFrame")})),Zone.__load_patch("blocking",((se,ge)=>{const He=["alert","prompt","confirm"];for(let Pe=0;Pe<He.length;Pe++)vt(se,He[Pe],((X,ae,ne)=>function(Ie,et){return ge.current.run(X,se,et,ne)}))})),Zone.__load_patch("EventTarget",((se,ge,He)=>{(function Jn(se,ge){ge.patchEventPrototype(se,ge)})(se,He),function In(se,ge){if(Zone[ge.symbol("patchEventTarget")])return;const{eventNames:He,zoneSymbolEventNames:Pe,TRUE_STR:F,FALSE_STR:X,ZONE_SYMBOL_PREFIX:ae}=ge.getGlobalObjects();for(let Ie=0;Ie<He.length;Ie++){const et=He[Ie],_t=ae+(et+X),ft=ae+(et+F);Pe[et]={},Pe[et][X]=_t,Pe[et][F]=ft}const ne=se.EventTarget;ne&&ne.prototype&&ge.patchEventTarget(se,ge,[ne&&ne.prototype])}(se,He);const Pe=se.XMLHttpRequestEventTarget;Pe&&Pe.prototype&&He.patchEventTarget(se,He,[Pe.prototype])})),Zone.__load_patch("MutationObserver",((se,ge,He)=>{Nt("MutationObserver"),Nt("WebKitMutationObserver")})),Zone.__load_patch("IntersectionObserver",((se,ge,He)=>{Nt("IntersectionObserver")})),Zone.__load_patch("FileReader",((se,ge,He)=>{Nt("FileReader")})),Zone.__load_patch("on_property",((se,ge,He)=>{!function We(se,ge){if(Ee&&!bt||Zone[se.symbol("patchEvents")])return;const He=ge.__Zone_ignore_on_properties;let Pe=[];if(fe){const F=window;Pe=Pe.concat(["Document","SVGElement","Element","HTMLElement","HTMLBodyElement","HTMLMediaElement","HTMLFrameSetElement","HTMLFrameElement","HTMLIFrameElement","HTMLMarqueeElement","Worker"]);const X=function Mt(){try{const se=ye.navigator.userAgent;if(-1!==se.indexOf("MSIE ")||-1!==se.indexOf("Trident/"))return!0}catch{}return!1}()?[{target:F,ignoreProperties:["error"]}]:[];Se(F,_e(F),He&&He.concat(X),u(F))}Pe=Pe.concat(["XMLHttpRequest","XMLHttpRequestEventTarget","IDBIndex","IDBRequest","IDBOpenDBRequest","IDBDatabase","IDBTransaction","IDBCursor","WebSocket"]);for(let F=0;F<Pe.length;F++){const X=ge[Pe[F]];X&&X.prototype&&Se(X.prototype,_e(X.prototype),He)}}(He,se)})),Zone.__load_patch("customElements",((se,ge,He)=>{!function Bn(se,ge){const{isBrowser:He,isMix:Pe}=ge.getGlobalObjects();(He||Pe)&&se.customElements&&"customElements"in se&&ge.patchCallbacks(ge,se.customElements,"customElements","define",["connectedCallback","disconnectedCallback","adoptedCallback","attributeChangedCallback"])}(se,He)})),Zone.__load_patch("XHR",((se,ge)=>{!function Ie(et){const Je=et.XMLHttpRequest;if(!Je)return;const at=Je.prototype;let ft=at[E],Bt=at[M];if(!ft){const Vt=et.XMLHttpRequestEventTarget;if(Vt){const an=Vt.prototype;ft=an[E],Bt=an[M]}}const Ft="readystatechange",Jt="scheduled";function Ht(Vt){const an=Vt.data,de=an.target;de[X]=!1,de[ne]=!1;const J=de[F];ft||(ft=de[E],Bt=de[M]),J&&Bt.call(de,Ft,J);const B=de[F]=()=>{if(de.readyState===de.DONE)if(!an.aborted&&de[X]&&Vt.state===Jt){const U=de[ge.__symbol__("loadfalse")];if(0!==de.status&&U&&U.length>0){const ce=Vt.invoke;Vt.invoke=function(){const Ve=de[ge.__symbol__("loadfalse")];for(let yt=0;yt<Ve.length;yt++)Ve[yt]===Vt&&Ve.splice(yt,1);!an.aborted&&Vt.state===Jt&&ce.call(Vt)},U.push(Vt)}else Vt.invoke()}else!an.aborted&&!1===de[X]&&(de[ne]=!0)};return ft.call(de,Ft,B),de[He]||(de[He]=Vt),It.apply(de,an.args),de[X]=!0,Vt}function zt(){}function Et(Vt){const an=Vt.data;return an.aborted=!0,pn.apply(an.target,an.args)}const Ct=vt(at,"open",(()=>function(Vt,an){return Vt[Pe]=0==an[2],Vt[ae]=an[1],Ct.apply(Vt,an)})),yn=Z("fetchTaskAborting"),dn=Z("fetchTaskScheduling"),It=vt(at,"send",(()=>function(Vt,an){if(!0===ge.current[dn]||Vt[Pe])return It.apply(Vt,an);{const de={target:Vt,url:Vt[ae],isPeriodic:!1,args:an,aborted:!1},J=L("XMLHttpRequest.send",zt,de,Ht,Et);Vt&&!0===Vt[ne]&&!de.aborted&&J.state===Jt&&J.invoke()}})),pn=vt(at,"abort",(()=>function(Vt,an){const de=function _t(Vt){return Vt[He]}(Vt);if(de&&"string"==typeof de.type){if(null==de.cancelFn||de.data&&de.data.aborted)return;de.zone.cancelTask(de)}else if(!0===ge.current[yn])return pn.apply(Vt,an)}))}(se);const He=Z("xhrTask"),Pe=Z("xhrSync"),F=Z("xhrListener"),X=Z("xhrScheduled"),ae=Z("xhrURL"),ne=Z("xhrErrorBeforeScheduled")})),Zone.__load_patch("geolocation",(se=>{se.navigator&&se.navigator.geolocation&&function Ot(se,ge){const He=se.constructor.name;for(let Pe=0;Pe<ge.length;Pe++){const F=ge[Pe],X=se[F];if(X){if(!me(G(se,F)))continue;se[F]=(ne=>{const Ie=function(){return ne.apply(this,Oe(arguments,He+"."+F))};return we(Ie,ne),Ie})(X)}}}(se.navigator.geolocation,["getCurrentPosition","watchPosition"])})),Zone.__load_patch("PromiseRejectionEvent",((se,ge)=>{function He(Pe){return function(F){ht(se,Pe).forEach((ae=>{const ne=se.PromiseRejectionEvent;if(ne){const Ie=new ne(Pe,{promise:F.promise,reason:F.rejection});ae.invoke(Ie)}}))}}se.PromiseRejectionEvent&&(ge[Z("unhandledPromiseRejectionHandler")]=He("unhandledrejection"),ge[Z("rejectionHandledHandler")]=He("rejectionhandled"))}))},7340:(G,O,u)=>{"use strict";u.d(O,{LC:()=>p,SB:()=>P,X$:()=>S,ZE:()=>me,ZN:()=>Ot,_j:()=>o,eR:()=>L,jt:()=>E,k1:()=>ze,l3:()=>A,oB:()=>I,vP:()=>R});class o{}class p{}const A="*";function S(Ee,fe){return{type:7,name:Ee,definitions:fe,options:{}}}function E(Ee,fe=null){return{type:4,styles:fe,timings:Ee}}function R(Ee,fe=null){return{type:2,steps:Ee,options:fe}}function I(Ee){return{type:6,styles:Ee,offset:null}}function P(Ee,fe,bt){return{type:0,name:Ee,styles:fe,options:bt}}function L(Ee,fe,bt=null){return{type:1,expr:Ee,animation:fe,options:bt}}function Oe(Ee){Promise.resolve(null).then(Ee)}class Ot{constructor(fe=0,bt=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=fe+bt}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach((fe=>fe())),this._onDoneFns=[])}onStart(fe){this._onStartFns.push(fe)}onDone(fe){this._onDoneFns.push(fe)}onDestroy(fe){this._onDestroyFns.push(fe)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){Oe((()=>this._onFinish()))}_onStart(){this._onStartFns.forEach((fe=>fe())),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach((fe=>fe())),this._onDestroyFns=[])}reset(){this._started=!1}setPosition(fe){this._position=this.totalTime?fe*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(fe){const bt="start"==fe?this._onStartFns:this._onDoneFns;bt.forEach((Lt=>Lt())),bt.length=0}}class me{constructor(fe){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=fe;let bt=0,Lt=0,xt=0;const je=this.players.length;0==je?Oe((()=>this._onFinish())):this.players.forEach((Ue=>{Ue.onDone((()=>{++bt==je&&this._onFinish()})),Ue.onDestroy((()=>{++Lt==je&&this._onDestroy()})),Ue.onStart((()=>{++xt==je&&this._onStart()}))})),this.totalTime=this.players.reduce(((Ue,Qe)=>Math.max(Ue,Qe.totalTime)),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach((fe=>fe())),this._onDoneFns=[])}init(){this.players.forEach((fe=>fe.init()))}onStart(fe){this._onStartFns.push(fe)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach((fe=>fe())),this._onStartFns=[])}onDone(fe){this._onDoneFns.push(fe)}onDestroy(fe){this._onDestroyFns.push(fe)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach((fe=>fe.play()))}pause(){this.players.forEach((fe=>fe.pause()))}restart(){this.players.forEach((fe=>fe.restart()))}finish(){this._onFinish(),this.players.forEach((fe=>fe.finish()))}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach((fe=>fe.destroy())),this._onDestroyFns.forEach((fe=>fe())),this._onDestroyFns=[])}reset(){this.players.forEach((fe=>fe.reset())),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(fe){const bt=fe*this.totalTime;this.players.forEach((Lt=>{const xt=Lt.totalTime?Math.min(1,bt/Lt.totalTime):1;Lt.setPosition(xt)}))}getPosition(){const fe=this.players.reduce(((bt,Lt)=>null===bt||Lt.totalTime>bt.totalTime?Lt:bt),null);return null!=fe?fe.getPosition():0}beforeDestroy(){this.players.forEach((fe=>{fe.beforeDestroy&&fe.beforeDestroy()}))}triggerCallback(fe){const bt="start"==fe?this._onStartFns:this._onDoneFns;bt.forEach((Lt=>Lt())),bt.length=0}}const ze="!"},6895:(G,O,u)=>{"use strict";u.d(O,{Do:()=>Ee,ED:()=>Be,EM:()=>ir,HT:()=>E,JF:()=>$r,K0:()=>R,Mx:()=>Zn,NF:()=>si,O5:()=>Sr,Ov:()=>Ei,RF:()=>Me,S$:()=>Oe,V_:()=>x,Ye:()=>fe,b0:()=>ze,bD:()=>Ur,ez:()=>io,lw:()=>I,mk:()=>nr,mr:()=>me,n9:()=>$,q:()=>A,sg:()=>Qn,tP:()=>Ir,w_:()=>M});var o=u(5062);let p=null;function A(){return p}function E(b){p||(p=b)}class M{}const R=new o.OlP("DocumentToken");let I=(()=>{class b{historyGo(D){throw new Error("Not implemented")}}return b.ɵfac=function(D){return new(D||b)},b.ɵprov=o.Yz7({token:b,factory:function(){return function P(){return(0,o.LFG)(L)}()},providedIn:"platform"}),b})();const x=new o.OlP("Location Initialized");let L=(()=>{class b extends I{constructor(D){super(),this._doc=D,this._init()}_init(){this.location=window.location,this._history=window.history}getBaseHrefFromDOM(){return A().getBaseHref(this._doc)}onPopState(D){const K=A().getGlobalEventTarget(this._doc,"window");return K.addEventListener("popstate",D,!1),()=>K.removeEventListener("popstate",D)}onHashChange(D){const K=A().getGlobalEventTarget(this._doc,"window");return K.addEventListener("hashchange",D,!1),()=>K.removeEventListener("hashchange",D)}get href(){return this.location.href}get protocol(){return this.location.protocol}get hostname(){return this.location.hostname}get port(){return this.location.port}get pathname(){return this.location.pathname}get search(){return this.location.search}get hash(){return this.location.hash}set pathname(D){this.location.pathname=D}pushState(D,K,ue){Z()?this._history.pushState(D,K,ue):this.location.hash=ue}replaceState(D,K,ue){Z()?this._history.replaceState(D,K,ue):this.location.hash=ue}forward(){this._history.forward()}back(){this._history.back()}historyGo(D=0){this._history.go(D)}getState(){return this._history.state}}return b.ɵfac=function(D){return new(D||b)(o.LFG(R))},b.ɵprov=o.Yz7({token:b,factory:function(){return function te(){return new L((0,o.LFG)(R))}()},providedIn:"platform"}),b})();function Z(){return!!window.history.pushState}function ye(b,z){if(0==b.length)return z;if(0==z.length)return b;let D=0;return b.endsWith("/")&&D++,z.startsWith("/")&&D++,2==D?b+z.substring(1):1==D?b+z:b+"/"+z}function Ce(b){const z=b.match(/#|\?|$/),D=z&&z.index||b.length;return b.slice(0,D-("/"===b[D-1]?1:0))+b.slice(D)}function Te(b){return b&&"?"!==b[0]?"?"+b:b}let Oe=(()=>{class b{historyGo(D){throw new Error("Not implemented")}}return b.ɵfac=function(D){return new(D||b)},b.ɵprov=o.Yz7({token:b,factory:function(){return function Ot(b){const z=(0,o.LFG)(R).location;return new ze((0,o.LFG)(I),z&&z.origin||"")}()},providedIn:"root"}),b})();const me=new o.OlP("appBaseHref");let ze=(()=>{class b extends Oe{constructor(D,K){if(super(),this._platformLocation=D,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(D){this._removeListenerFns.push(this._platformLocation.onPopState(D),this._platformLocation.onHashChange(D))}getBaseHref(){return this._baseHref}prepareExternalUrl(D){return ye(this._baseHref,D)}path(D=!1){const K=this._platformLocation.pathname+Te(this._platformLocation.search),ue=this._platformLocation.hash;return ue&&D?`${K}${ue}`:K}pushState(D,K,ue,Ze){const pt=this.prepareExternalUrl(ue+Te(Ze));this._platformLocation.pushState(D,K,pt)}replaceState(D,K,ue,Ze){const pt=this.prepareExternalUrl(ue+Te(Ze));this._platformLocation.replaceState(D,K,pt)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}historyGo(D=0){this._platformLocation.historyGo?.(D)}}return b.ɵfac=function(D){return new(D||b)(o.LFG(I),o.LFG(me,8))},b.ɵprov=o.Yz7({token:b,factory:b.ɵfac}),b})(),Ee=(()=>{class b extends Oe{constructor(D,K){super(),this._platformLocation=D,this._baseHref="",this._removeListenerFns=[],null!=K&&(this._baseHref=K)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(D){this._removeListenerFns.push(this._platformLocation.onPopState(D),this._platformLocation.onHashChange(D))}getBaseHref(){return this._baseHref}path(D=!1){let K=this._platformLocation.hash;return null==K&&(K="#"),K.length>0?K.substring(1):K}prepareExternalUrl(D){const K=ye(this._baseHref,D);return K.length>0?"#"+K:K}pushState(D,K,ue,Ze){let pt=this.prepareExternalUrl(ue+Te(Ze));0==pt.length&&(pt=this._platformLocation.pathname),this._platformLocation.pushState(D,K,pt)}replaceState(D,K,ue,Ze){let pt=this.prepareExternalUrl(ue+Te(Ze));0==pt.length&&(pt=this._platformLocation.pathname),this._platformLocation.replaceState(D,K,pt)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}historyGo(D=0){this._platformLocation.historyGo?.(D)}}return b.ɵfac=function(D){return new(D||b)(o.LFG(I),o.LFG(me,8))},b.ɵprov=o.Yz7({token:b,factory:b.ɵfac}),b})(),fe=(()=>{class b{constructor(D,K){this._subject=new o.vpe,this._urlChangeListeners=[],this._platformStrategy=D;const ue=this._platformStrategy.getBaseHref();this._platformLocation=K,this._baseHref=Ce(xt(ue)),this._platformStrategy.onPopState((Ze=>{this._subject.emit({url:this.path(!0),pop:!0,state:Ze.state,type:Ze.type})}))}path(D=!1){return this.normalize(this._platformStrategy.path(D))}getState(){return this._platformLocation.getState()}isCurrentPathEqualTo(D,K=""){return this.path()==this.normalize(D+Te(K))}normalize(D){return b.stripTrailingSlash(function Lt(b,z){return b&&z.startsWith(b)?z.substring(b.length):z}(this._baseHref,xt(D)))}prepareExternalUrl(D){return D&&"/"!==D[0]&&(D="/"+D),this._platformStrategy.prepareExternalUrl(D)}go(D,K="",ue=null){this._platformStrategy.pushState(ue,"",D,K),this._notifyUrlChangeListeners(this.prepareExternalUrl(D+Te(K)),ue)}replaceState(D,K="",ue=null){this._platformStrategy.replaceState(ue,"",D,K),this._notifyUrlChangeListeners(this.prepareExternalUrl(D+Te(K)),ue)}forward(){this._platformStrategy.forward()}back(){this._platformStrategy.back()}historyGo(D=0){this._platformStrategy.historyGo?.(D)}onUrlChange(D){this._urlChangeListeners.push(D),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe((K=>{this._notifyUrlChangeListeners(K.url,K.state)})))}_notifyUrlChangeListeners(D="",K){this._urlChangeListeners.forEach((ue=>ue(D,K)))}subscribe(D,K,ue){return this._subject.subscribe({next:D,error:K,complete:ue})}}return b.normalizeQueryParams=Te,b.joinWithSlash=ye,b.stripTrailingSlash=Ce,b.ɵfac=function(D){return new(D||b)(o.LFG(Oe),o.LFG(I))},b.ɵprov=o.Yz7({token:b,factory:function(){return function bt(){return new fe((0,o.LFG)(Oe),(0,o.LFG)(I))}()},providedIn:"root"}),b})();function xt(b){return b.replace(/\/index.html$/,"")}function Zn(b,z){z=encodeURIComponent(z);for(const D of b.split(";")){const K=D.indexOf("="),[ue,Ze]=-1==K?[D,""]:[D.slice(0,K),D.slice(K+1)];if(ue.trim()===z)return decodeURIComponent(Ze)}return null}let nr=(()=>{class b{constructor(D,K,ue,Ze){this._iterableDiffers=D,this._keyValueDiffers=K,this._ngEl=ue,this._renderer=Ze,this._iterableDiffer=null,this._keyValueDiffer=null,this._initialClasses=[],this._rawClass=null}set klass(D){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof D?D.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)}set ngClass(D){this._removeClasses(this._rawClass),this._applyClasses(this._initialClasses),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof D?D.split(/\s+/):D,this._rawClass&&((0,o.sIi)(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())}ngDoCheck(){if(this._iterableDiffer){const D=this._iterableDiffer.diff(this._rawClass);D&&this._applyIterableChanges(D)}else if(this._keyValueDiffer){const D=this._keyValueDiffer.diff(this._rawClass);D&&this._applyKeyValueChanges(D)}}_applyKeyValueChanges(D){D.forEachAddedItem((K=>this._toggleClass(K.key,K.currentValue))),D.forEachChangedItem((K=>this._toggleClass(K.key,K.currentValue))),D.forEachRemovedItem((K=>{K.previousValue&&this._toggleClass(K.key,!1)}))}_applyIterableChanges(D){D.forEachAddedItem((K=>{if("string"!=typeof K.item)throw new Error(`NgClass can only toggle CSS classes expressed as strings, got ${(0,o.AaK)(K.item)}`);this._toggleClass(K.item,!0)})),D.forEachRemovedItem((K=>this._toggleClass(K.item,!1)))}_applyClasses(D){D&&(Array.isArray(D)||D instanceof Set?D.forEach((K=>this._toggleClass(K,!0))):Object.keys(D).forEach((K=>this._toggleClass(K,!!D[K]))))}_removeClasses(D){D&&(Array.isArray(D)||D instanceof Set?D.forEach((K=>this._toggleClass(K,!1))):Object.keys(D).forEach((K=>this._toggleClass(K,!1))))}_toggleClass(D,K){(D=D.trim())&&D.split(/\s+/g).forEach((ue=>{K?this._renderer.addClass(this._ngEl.nativeElement,ue):this._renderer.removeClass(this._ngEl.nativeElement,ue)}))}}return b.ɵfac=function(D){return new(D||b)(o.Y36(o.ZZ4),o.Y36(o.aQg),o.Y36(o.SBq),o.Y36(o.Qsj))},b.ɵdir=o.lG2({type:b,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"}}),b})();class ur{constructor(z,D,K,ue){this.$implicit=z,this.ngForOf=D,this.index=K,this.count=ue}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 Qn=(()=>{class b{constructor(D,K,ue){this._viewContainer=D,this._template=K,this._differs=ue,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForOf(D){this._ngForOf=D,this._ngForOfDirty=!0}set ngForTrackBy(D){this._trackByFn=D}get ngForTrackBy(){return this._trackByFn}set ngForTemplate(D){D&&(this._template=D)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const D=this._ngForOf;!this._differ&&D&&(this._differ=this._differs.find(D).create(this.ngForTrackBy))}if(this._differ){const D=this._differ.diff(this._ngForOf);D&&this._applyChanges(D)}}_applyChanges(D){const K=this._viewContainer;D.forEachOperation(((ue,Ze,pt)=>{if(null==ue.previousIndex)K.createEmbeddedView(this._template,new ur(ue.item,this._ngForOf,-1,-1),null===pt?void 0:pt);else if(null==pt)K.remove(null===Ze?void 0:Ze);else if(null!==Ze){const Dt=K.get(Ze);K.move(Dt,pt),qn(Dt,ue)}}));for(let ue=0,Ze=K.length;ue<Ze;ue++){const Dt=K.get(ue).context;Dt.index=ue,Dt.count=Ze,Dt.ngForOf=this._ngForOf}D.forEachIdentityChange((ue=>{qn(K.get(ue.currentIndex),ue)}))}static ngTemplateContextGuard(D,K){return!0}}return b.ɵfac=function(D){return new(D||b)(o.Y36(o.s_b),o.Y36(o.Rgc),o.Y36(o.ZZ4))},b.ɵdir=o.lG2({type:b,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}}),b})();function qn(b,z){b.context.$implicit=z.item}let Sr=(()=>{class b{constructor(D,K){this._viewContainer=D,this._context=new Pr,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=K}set ngIf(D){this._context.$implicit=this._context.ngIf=D,this._updateView()}set ngIfThen(D){pr("ngIfThen",D),this._thenTemplateRef=D,this._thenViewRef=null,this._updateView()}set ngIfElse(D){pr("ngIfElse",D),this._elseTemplateRef=D,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(D,K){return!0}}return b.ɵfac=function(D){return new(D||b)(o.Y36(o.s_b),o.Y36(o.Rgc))},b.ɵdir=o.lG2({type:b,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}}),b})();class Pr{constructor(){this.$implicit=null,this.ngIf=null}}function pr(b,z){if(z&&!z.createEmbeddedView)throw new Error(`${b} must be a TemplateRef, but received '${(0,o.AaK)(z)}'.`)}class q{constructor(z,D){this._viewContainerRef=z,this._templateRef=D,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(z){z&&!this._created?this.create():!z&&this._created&&this.destroy()}}let Me=(()=>{class b{constructor(){this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(D){this._ngSwitch=D,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(D){this._defaultViews||(this._defaultViews=[]),this._defaultViews.push(D)}_matchCase(D){const K=D==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(D){if(this._defaultViews&&D!==this._defaultUsed){this._defaultUsed=D;for(let K=0;K<this._defaultViews.length;K++)this._defaultViews[K].enforceState(D)}}}return b.ɵfac=function(D){return new(D||b)},b.ɵdir=o.lG2({type:b,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"}}),b})(),$=(()=>{class b{constructor(D,K,ue){this.ngSwitch=ue,ue._addCase(),this._view=new q(D,K)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}}return b.ɵfac=function(D){return new(D||b)(o.Y36(o.s_b),o.Y36(o.Rgc),o.Y36(Me,9))},b.ɵdir=o.lG2({type:b,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"}}),b})(),Be=(()=>{class b{constructor(D,K,ue){ue._addDefault(new q(D,K))}}return b.ɵfac=function(D){return new(D||b)(o.Y36(o.s_b),o.Y36(o.Rgc),o.Y36(Me,9))},b.ɵdir=o.lG2({type:b,selectors:[["","ngSwitchDefault",""]]}),b})(),Ir=(()=>{class b{constructor(D){this._viewContainerRef=D,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null}ngOnChanges(D){if(D.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&&D.ngTemplateOutletContext&&this.ngTemplateOutletContext&&(this._viewRef.context=this.ngTemplateOutletContext)}}return b.ɵfac=function(D){return new(D||b)(o.Y36(o.s_b))},b.ɵdir=o.lG2({type:b,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet"},features:[o.TTD]}),b})();class dr{createSubscription(z,D){return z.subscribe({next:D,error:K=>{throw K}})}dispose(z){z.unsubscribe()}onDestroy(z){z.unsubscribe()}}class ti{createSubscription(z,D){return z.then(D,(K=>{throw K}))}dispose(z){}onDestroy(z){}}const to=new ti,Tr=new dr;let Ei=(()=>{class b{constructor(D){this._ref=D,this._latestValue=null,this._subscription=null,this._obj=null,this._strategy=null}ngOnDestroy(){this._subscription&&this._dispose()}transform(D){return this._obj?D!==this._obj?(this._dispose(),this.transform(D)):this._latestValue:(D&&this._subscribe(D),this._latestValue)}_subscribe(D){this._obj=D,this._strategy=this._selectStrategy(D),this._subscription=this._strategy.createSubscription(D,(K=>this._updateLatestValue(D,K)))}_selectStrategy(D){if((0,o.QGY)(D))return to;if((0,o.F4k)(D))return Tr;throw function Wn(b,z){return new o.vHH(2100,"")}()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(D,K){D===this._obj&&(this._latestValue=K,this._ref.markForCheck())}}return b.ɵfac=function(D){return new(D||b)(o.Y36(o.sBO,16))},b.ɵpipe=o.Yjl({name:"async",type:b,pure:!1}),b})(),io=(()=>{class b{}return b.ɵfac=function(D){return new(D||b)},b.ɵmod=o.oAB({type:b}),b.ɵinj=o.cJS({}),b})();const Ur="browser";function si(b){return b===Ur}let ir=(()=>{class b{}return b.ɵprov=(0,o.Yz7)({token:b,providedIn:"root",factory:()=>new Hr((0,o.LFG)(R),window)}),b})();class Hr{constructor(z,D){this.document=z,this.window=D,this.offset=()=>[0,0]}setOffset(z){this.offset=Array.isArray(z)?()=>z:z}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(z){this.supportsScrolling()&&this.window.scrollTo(z[0],z[1])}scrollToAnchor(z){if(!this.supportsScrolling())return;const D=function yr(b,z){const D=b.getElementById(z)||b.getElementsByName(z)[0];if(D)return D;if("function"==typeof b.createTreeWalker&&b.body&&(b.body.createShadowRoot||b.body.attachShadow)){const K=b.createTreeWalker(b.body,NodeFilter.SHOW_ELEMENT);let ue=K.currentNode;for(;ue;){const Ze=ue.shadowRoot;if(Ze){const pt=Ze.getElementById(z)||Ze.querySelector(`[name="${z}"]`);if(pt)return pt}ue=K.nextNode()}}return null}(this.document,z);D&&(this.scrollToElement(D),D.focus())}setHistoryScrollRestoration(z){if(this.supportScrollRestoration()){const D=this.window.history;D&&D.scrollRestoration&&(D.scrollRestoration=z)}}scrollToElement(z){const D=z.getBoundingClientRect(),K=D.left+this.window.pageXOffset,ue=D.top+this.window.pageYOffset,Ze=this.offset();this.window.scrollTo(K-Ze[0],ue-Ze[1])}supportScrollRestoration(){try{if(!this.supportsScrolling())return!1;const z=gi(this.window.history)||gi(Object.getPrototypeOf(this.window.history));return!(!z||!z.writable&&!z.set)}catch{return!1}}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch{return!1}}}function gi(b){return Object.getOwnPropertyDescriptor(b,"scrollRestoration")}class $r{}},5062:(G,O,u)=>{"use strict";u.d(O,{deG:()=>bo,tb:()=>pg,AFp:()=>dg,ip1:()=>ug,CZH:()=>Gc,hGG:()=>V0,z2F:()=>Jc,sBO:()=>w0,Sil:()=>Xb,_Vd:()=>ka,EJc:()=>qb,SBq:()=>Us,qLn:()=>da,vpe:()=>eo,tBr:()=>oa,XFs:()=>ge,OlP:()=>tr,zs3:()=>Qi,ZZ4:()=>iu,aQg:()=>ou,soG:()=>Wc,YKP:()=>vp,h0i:()=>as,PXZ:()=>f0,R0b:()=>Li,FiY:()=>bs,Lbi:()=>Kb,g9A:()=>fg,Qsj:()=>ZC,FYo:()=>gp,JOm:()=>Ki,tp0:()=>ws,Rgc:()=>zs,dDg:()=>_g,GfV:()=>mp,s_b:()=>Ba,ifc:()=>at,eFA:()=>Cg,G48:()=>b0,Gpc:()=>Te,X6Q:()=>C0,_c5:()=>L0,VLi:()=>u0,c2e:()=>Zb,zSh:()=>Ql,wAp:()=>gn,vHH:()=>ze,cg1:()=>bc,kL8:()=>Bf,dqk:()=>Jt,sIi:()=>Rs,CqO:()=>Uh,QGY:()=>fc,F4k:()=>jh,RDi:()=>z,AaK:()=>te,qOj:()=>tc,TTD:()=>Ur,_Bn:()=>hp,xp6:()=>Cd,uIk:()=>ic,Tol:()=>df,Gre:()=>Tf,ekj:()=>yc,Suo:()=>Hp,Xpm:()=>de,lG2:()=>ut,Yz7:()=>Ut,cJS:()=>Le,oAB:()=>ce,Yjl:()=>lt,Y36:()=>Fs,_UZ:()=>dc,GkF:()=>hc,BQk:()=>Ta,ynx:()=>Sa,qZA:()=>Ma,TgZ:()=>Da,EpF:()=>Bh,n5z:()=>re,LFG:()=>xr,$8M:()=>st,$Z:()=>Vh,NdJ:()=>pc,CRH:()=>$p,O4$:()=>_i,oxw:()=>zh,ALo:()=>Ip,lcZ:()=>Rp,xi3:()=>Np,Hsn:()=>Yh,F$t:()=>Wh,Q6J:()=>cc,s9C:()=>mc,MGl:()=>Pa,hYB:()=>_c,DdM:()=>Ep,VKq:()=>Dp,WLB:()=>Mp,kEZ:()=>Sp,iGM:()=>jp,MAs:()=>Th,Jf7:()=>Ku,CHM:()=>To,oJD:()=>ju,LSH:()=>dl,YNc:()=>Sh,W1O:()=>Yp,_uU:()=>yf,Oqu:()=>Cc,hij:()=>Aa,Gf:()=>Up});var o=u(8929),p=u(2654),A=u(2916),S=u(6787),E=u(1762);class R{constructor(t,n){this.subjectFactory=t,this.selector=n}call(t,n){const{selector:r}=this,i=this.subjectFactory(),s=r(i).subscribe(t);return s.add(n.subscribe(i)),s}}var I=u(4327);function P(){return new o.xQ}function L(e){for(let t in e)if(e[t]===L)return t;throw Error("Could not find renamed property on target object.")}function Z(e,t){for(const n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function te(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(te).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 ye(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const Ce=L({__forward_ref__:L});function Te(e){return e.__forward_ref__=Te,e.toString=function(){return te(this())},e}function Oe(e){return Ot(e)?e():e}function Ot(e){return"function"==typeof e&&e.hasOwnProperty(Ce)&&e.__forward_ref__===Te}class ze extends Error{constructor(t,n){super(function Ee(e,t){return`NG0${Math.abs(e)}${t?": "+t:""}`}(t,n)),this.code=t}}function fe(e){return"string"==typeof e?e:null==e?"":String(e)}function bt(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():fe(e)}function Ue(e,t){const n=t?` in ${t}`:"";throw new ze(-201,`No provider for ${bt(e)} found${n}`)}function Ae(e,t){null==e&&function ve(e,t,n,r){throw new Error(`ASSERTION ERROR: ${e}`+(null==r?"":` [Expected=> ${n} ${r} ${t} <=Actual]`))}(t,e,null,"!=")}function Ut(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function Le(e){return{providers:e.providers||[],imports:e.imports||[]}}function Se(e){return _e(e,Bn)||_e(e,Jn)}function _e(e,t){return e.hasOwnProperty(t)?e[t]:null}function qt(e){return e&&(e.hasOwnProperty(In)||e.hasOwnProperty(se))?e[In]:null}const Bn=L({"ɵprov":L}),In=L({"ɵinj":L}),Jn=L({ngInjectableDef:L}),se=L({ngInjectorDef:L});var ge=(()=>((ge=ge||{})[ge.Default=0]="Default",ge[ge.Host=1]="Host",ge[ge.Self=2]="Self",ge[ge.SkipSelf=4]="SkipSelf",ge[ge.Optional=8]="Optional",ge))();let He;function F(e){const t=He;return He=e,t}function X(e,t,n){const r=Se(e);return r&&"root"==r.providedIn?void 0===r.value?r.value=r.factory():r.value:n&ge.Optional?null:void 0!==t?t:void Ue(te(e),"Injector")}function ne(e){return{toString:e}.toString()}var Ie=(()=>((Ie=Ie||{})[Ie.OnPush=0]="OnPush",Ie[Ie.Default=1]="Default",Ie))(),at=(()=>{return(e=at||(at={}))[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",at;var e})();const _t=typeof globalThis<"u"&&globalThis,ft=typeof window<"u"&&window,Bt=typeof self<"u"&&typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&self,Jt=_t||typeof global<"u"&&global||ft||Bt,Et={},Ct=[],sn=L({"ɵcmp":L}),yn=L({"ɵdir":L}),dn=L({"ɵpipe":L}),It=L({"ɵmod":L}),pn=L({"ɵfac":L}),Vt=L({__NG_ELEMENT_ID__:L});let an=0;function de(e){return ne((()=>{const n={},r={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===Ie.OnPush,directiveDefs:null,pipeDefs:null,selectors:e.selectors||Ct,viewQuery:e.viewQuery||null,features:e.features||null,data:e.data||{},encapsulation:e.encapsulation||at.Emulated,id:"c",styles:e.styles||Ct,_:null,setInput:null,schemas:e.schemas||null,tView:null},i=e.directives,s=e.features,a=e.pipes;return r.id+=an++,r.inputs=yt(e.inputs,n),r.outputs=yt(e.outputs),s&&s.forEach((f=>f(r))),r.directiveDefs=i?()=>("function"==typeof i?i():i).map(B):null,r.pipeDefs=a?()=>("function"==typeof a?a():a).map(W):null,r}))}function B(e){return ie(e)||function Ne(e){return e[yn]||null}(e)}function W(e){return function St(e){return e[dn]||null}(e)}const U={};function ce(e){return ne((()=>{const t={type:e.type,bootstrap:e.bootstrap||Ct,declarations:e.declarations||Ct,imports:e.imports||Ct,exports:e.exports||Ct,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null};return null!=e.id&&(U[e.id]=e.type),t}))}function yt(e,t){if(null==e)return Et;const n={};for(const r in e)if(e.hasOwnProperty(r)){let i=e[r],s=i;Array.isArray(i)&&(s=i[1],i=i[0]),n[i]=r,t&&(t[i]=s)}return n}const ut=de;function lt(e){return{type:e.type,name:e.name,factory:null,pure:!1!==e.pure,onDestroy:e.type.prototype.ngOnDestroy||null}}function ie(e){return e[sn]||null}function Tt(e,t){const n=e[It]||null;if(!n&&!0===t)throw new Error(`Type ${te(e)} does not have 'ɵmod' property.`);return n}function Ln(e){return Array.isArray(e)&&"object"==typeof e[1]}function rr(e){return Array.isArray(e)&&!0===e[1]}function Ir(e){return 0!=(8&e.flags)}function _r(e){return 2==(2&e.flags)}function Wn(e){return 1==(1&e.flags)}function dr(e){return null!==e.template}function ti(e){return 0!=(512&e[2])}function Rr(e,t){return e.hasOwnProperty(pn)?e[pn]:null}class io{constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}}function Ur(){return Ti}function Ti(e){return e.type.prototype.ngOnChanges&&(e.setInput=Oi),Pi}function Pi(){const e=Ai(this),t=e?.current;if(t){const n=e.previous;if(n===Et)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function Oi(e,t,n,r){const i=Ai(e)||function oo(e,t){return e[si]=t}(e,{previous:Et,current:null}),s=i.current||(i.current={}),a=i.previous,f=this.declaredInputs[n],m=a[f];s[f]=new io(m&&m.currentValue,t,a===Et),e[r]=t}Ur.ngInherit=!0;const si="__ngSimpleChanges__";function Ai(e){return e[si]||null}let b;function z(e){b=e}function D(){return void 0!==b?b:typeof document<"u"?document:void 0}function ue(e){return!!e.listen}const Ze={createRenderer:(e,t)=>D()};function Dt(e){for(;Array.isArray(e);)e=e[0];return e}function xn(e,t){return Dt(t[e])}function mn(e,t){return Dt(t[e.index])}function Pn(e,t){return e.data[t]}function Un(e,t){return e[t]}function On(e,t){const n=t[e];return Ln(n)?n:n[0]}function br(e){return 4==(4&e[2])}function Gr(e){return 128==(128&e[2])}function w(e,t){return null==t?null:e[t]}function v(e){e[18]=0}function _(e,t){e[5]+=t;let n=e,r=e[3];for(;null!==r&&(1===t&&1===n[5]||-1===t&&0===n[5]);)r[5]+=t,n=r,r=r[3]}const V={lFrame:hr(null),bindingsEnabled:!0};function Fr(){return V.bindingsEnabled}function mt(){return V.lFrame.lView}function Tn(){return V.lFrame.tView}function To(e){return V.lFrame.contextLView=e,e[8]}function cr(){let e=vo();for(;null!==e&&64===e.type;)e=e.parent;return e}function vo(){return V.lFrame.currentTNode}function Wr(e,t){const n=V.lFrame;n.currentTNode=e,n.isParent=t}function go(){return V.lFrame.isParent}function $i(){V.lFrame.isParent=!1}function y(){const e=V.lFrame;let t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function oe(){return V.lFrame.bindingIndex++}function le(e){const t=V.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function Wt(e,t){const n=V.lFrame;n.bindingIndex=n.bindingRootIndex=e,_n(t)}function _n(e){V.lFrame.currentDirectiveIndex=e}function cn(){return V.lFrame.currentQueryIndex}function Cn(e){V.lFrame.currentQueryIndex=e}function Fn(e){const t=e[1];return 2===t.type?t.declTNode:1===t.type?e[6]:null}function sr(e,t,n){if(n&ge.SkipSelf){let i=t,s=e;for(;!(i=i.parent,null!==i||n&ge.Host||(i=Fn(s),null===i||(s=s[15],10&i.type))););if(null===i)return!1;t=i,e=s}const r=V.lFrame=vr();return r.currentTNode=t,r.lView=e,!0}function Xn(e){const t=vr(),n=e[1];V.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function vr(){const e=V.lFrame,t=null===e?null:e.child;return null===t?hr(e):t}function hr(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 xi(){const e=V.lFrame;return V.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const Lr=xi;function gr(){const e=xi();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 V.lFrame.selectedIndex}function Xr(e){V.lFrame.selectedIndex=e}function Hn(){const e=V.lFrame;return Pn(e.tView,e.selectedIndex)}function _i(){V.lFrame.currentNamespace="svg"}function Mn(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n<r;n++){const s=e.data[n].type.prototype,{ngAfterContentInit:a,ngAfterContentChecked:f,ngAfterViewInit:m,ngAfterViewChecked:N,ngOnDestroy:H}=s;a&&(e.contentHooks||(e.contentHooks=[])).push(-n,a),f&&((e.contentHooks||(e.contentHooks=[])).push(n,f),(e.contentCheckHooks||(e.contentCheckHooks=[])).push(n,f)),m&&(e.viewHooks||(e.viewHooks=[])).push(-n,m),N&&((e.viewHooks||(e.viewHooks=[])).push(n,N),(e.viewCheckHooks||(e.viewCheckHooks=[])).push(n,N)),null!=H&&(e.destroyHooks||(e.destroyHooks=[])).push(n,H)}}function er(e,t,n){ei(e,t,3,n)}function Ar(e,t,n,r){(3&e[2])===n&&ei(e,t,n,r)}function mr(e,t){let n=e[2];(3&n)===t&&(n&=2047,n+=1,e[2]=n)}function ei(e,t,n,r){const s=r??-1,a=t.length-1;let f=0;for(let m=void 0!==r?65535&e[18]:0;m<a;m++)if("number"==typeof t[m+1]){if(f=t[m],null!=r&&f>=r)break}else t[m]<0&&(e[18]+=65536),(f<s||-1==s)&&(Kn(e,n,t,m),e[18]=(4294901760&e[18])+m+2),m++}function Kn(e,t,n,r){const i=n[r]<0,s=n[r+1],f=e[i?-n[r]:n[r]];if(i){if(e[2]>>11<e[18]>>16&&(3&e[2])===t){e[2]+=2048;try{s.call(f)}finally{}}}else try{s.call(f)}finally{}}class so{constructor(t,n,r){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=r}}function ao(e,t,n){const r=ue(e);let i=0;for(;i<n.length;){const s=n[i];if("number"==typeof s){if(0!==s)break;i++;const a=n[i++],f=n[i++],m=n[i++];r?e.setAttribute(t,f,m,a):t.setAttributeNS(a,f,m)}else{const a=s,f=n[++i];us(a)?r&&e.setProperty(t,a,f):r?e.setAttribute(t,a,f):t.setAttribute(a,f),i++}}return i}function lo(e){return 3===e||4===e||6===e}function us(e){return 64===e.charCodeAt(0)}function Ao(e,t){if(null!==t&&0!==t.length)if(null===e||0===e.length)e=t.slice();else{let n=-1;for(let r=0;r<t.length;r++){const i=t[r];"number"==typeof i?n=i:0===n||ds(e,n,i,null,-1===n||2===n?t[++r]:null)}}return e}function ds(e,t,n,r,i){let s=0,a=e.length;if(-1===t)a=-1;else for(;s<e.length;){const f=e[s++];if("number"==typeof f){if(f===t){a=-1;break}if(f>t){a=s-1;break}}}for(;s<e.length;){const f=e[s];if("number"==typeof f)break;if(f===n){if(null===r)return void(null!==i&&(e[s+1]=i));if(r===e[s+1])return void(e[s+2]=i)}s++,null!==r&&s++,null!==i&&s++}-1!==a&&(e.splice(a,0,t),s=a+1),e.splice(s++,0,n),null!==r&&e.splice(s++,0,r),null!==i&&e.splice(s++,0,i)}function Zs(e){return-1!==e}function co(e){return 32767&e}function Gi(e,t){let n=function Qs(e){return e>>16}(e),r=t;for(;n>0;)r=r[15],n--;return r}let qs=!0;function vi(e){const t=qs;return qs=e,t}let Za=0;function Co(e,t){const n=xo(e,t);if(-1!==n)return n;const r=t[1];r.firstCreatePass&&(e.injectorIndex=t.length,hs(r.data,e),hs(t,null),hs(r.blueprint,null));const i=Io(e,t),s=e.injectorIndex;if(Zs(i)){const a=co(i),f=Gi(i,t),m=f[1].data;for(let N=0;N<8;N++)t[s+N]=f[a+N]|m[a+N]}return t[s+8]=i,s}function hs(e,t){e.push(0,0,0,0,0,0,0,0,t)}function xo(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function Io(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let n=0,r=null,i=t;for(;null!==i;){const s=i[1],a=s.type;if(r=2===a?s.declTNode:1===a?i[6]:null,null===r)return-1;if(n++,i=i[15],-1!==r.injectorIndex)return r.injectorIndex|n<<16}return-1}function Ro(e,t,n){!function Qa(e,t,n){let r;"string"==typeof n?r=n.charCodeAt(0)||0:n.hasOwnProperty(Vt)&&(r=n[Vt]),null==r&&(r=n[Vt]=Za++);const i=255&r;t.data[e+(i>>5)]|=1<<i}(e,t,n)}function No(e,t,n){if(n&ge.Optional)return e;Ue(t,"NodeInjector")}function ea(e,t,n,r){if(n&ge.Optional&&void 0===r&&(r=null),0==(n&(ge.Self|ge.Host))){const i=e[9],s=F(void 0);try{return i?i.get(t,r,n&ge.Optional):X(t,r,n&ge.Optional)}finally{F(s)}}return No(r,t,n)}function ta(e,t,n,r=ge.Default,i){if(null!==e){const s=function c(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:Ja:t}(n);if("function"==typeof s){if(!sr(t,e,r))return r&ge.Host?No(i,n,r):ea(t,n,r,i);try{const a=s(r);if(null!=a||r&ge.Optional)return a;Ue(n)}finally{Lr()}}else if("number"==typeof s){let a=null,f=xo(e,t),m=-1,N=r&ge.Host?t[16][6]:null;for((-1===f||r&ge.SkipSelf)&&(m=-1===f?Io(e,t):t[f+8],-1!==m&&T(r,!1)?(a=t[1],f=co(m),t=Gi(m,t)):f=-1);-1!==f;){const H=t[1];if(C(s,f,H.data)){const ee=gu(f,t,n,a,r,N);if(ee!==fs)return ee}m=t[f+8],-1!==m&&T(r,t[1].data[f+8]===N)&&C(s,f,t)?(a=H,f=co(m),t=Gi(m,t)):f=-1}}}return ea(t,n,r,i)}const fs={};function Ja(){return new Y(cr(),mt())}function gu(e,t,n,r,i,s){const a=t[1],f=a.data[e+8],H=g(f,a,n,null==r?_r(f)&&qs:r!=a&&0!=(3&f.type),i&ge.Host&&s===f);return null!==H?d(t,a,H,f):fs}function g(e,t,n,r,i){const s=e.providerIndexes,a=t.data,f=1048575&s,m=e.directiveStart,H=s>>20,he=i?f+H:e.directiveEnd;for(let Fe=r?f:f+H;Fe<he;Fe++){const ot=a[Fe];if(Fe<m&&n===ot||Fe>=m&&ot.type===n)return Fe}if(i){const Fe=a[m];if(Fe&&dr(Fe)&&Fe.type===n)return m}return null}function d(e,t,n,r){let i=e[n];const s=t.data;if(function wr(e){return e instanceof so}(i)){const a=i;a.resolving&&function Lt(e,t){const n=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new ze(-200,`Circular dependency in DI detected for ${e}${n}`)}(bt(s[n]));const f=vi(a.canSeeViewProviders);a.resolving=!0;const m=a.injectImpl?F(a.injectImpl):null;sr(e,r,ge.Default);try{i=e[n]=a.factory(void 0,s,e,r),t.firstCreatePass&&n>=r.directiveStart&&function hn(e,t,n){const{ngOnChanges:r,ngOnInit:i,ngDoCheck:s}=t.type.prototype;if(r){const a=Ti(t);(n.preOrderHooks||(n.preOrderHooks=[])).push(e,a),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,a)}i&&(n.preOrderHooks||(n.preOrderHooks=[])).push(0-e,i),s&&((n.preOrderHooks||(n.preOrderHooks=[])).push(e,s),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,s))}(n,s[n],t)}finally{null!==m&&F(m),vi(f),a.resolving=!1,Lr()}}return i}function C(e,t,n){return!!(n[t+(e>>5)]&1<<e)}function T(e,t){return!(e&ge.Self||e&ge.Host&&t)}class Y{constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return ta(this._tNode,this._lView,t,r,n)}}function re(e){return ne((()=>{const t=e.prototype.constructor,n=t[pn]||pe(t),r=Object.prototype;let i=Object.getPrototypeOf(e.prototype).constructor;for(;i&&i!==r;){const s=i[pn]||pe(i);if(s&&s!==n)return s;i=Object.getPrototypeOf(i)}return s=>new s}))}function pe(e){return Ot(e)?()=>{const t=pe(Oe(e));return t&&t()}:Rr(e)}function st(e){return function qa(e,t){if("class"===t)return e.classes;if("style"===t)return e.styles;const n=e.attrs;if(n){const r=n.length;let i=0;for(;i<r;){const s=n[i];if(lo(s))break;if(0===s)i+=2;else if("number"==typeof s)for(i++;i<r&&"string"==typeof n[i];)i++;else{if(s===t)return n[i+1];i+=2}}}return null}(cr(),e)}const Sn="__parameters__";function Ci(e,t,n){return ne((()=>{const r=function $n(e){return function(...n){if(e){const r=e(...n);for(const i in r)this[i]=r[i]}}}(t);function i(...s){if(this instanceof i)return r.apply(this,s),this;const a=new i(...s);return f.annotation=a,f;function f(m,N,H){const ee=m.hasOwnProperty(Sn)?m[Sn]:Object.defineProperty(m,Sn,{value:[]})[Sn];for(;ee.length<=H;)ee.push(null);return(ee[H]=ee[H]||[]).push(a),m}}return n&&(i.prototype=Object.create(n.prototype)),i.prototype.ngMetadataName=e,i.annotationCls=i,i}))}class tr{constructor(t,n){this._desc=t,this.ngMetadataName="InjectionToken",this.ɵprov=void 0,"number"==typeof n?this.__NG_ELEMENT_ID__=n:void 0!==n&&(this.ɵprov=Ut({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}toString(){return`InjectionToken ${this._desc}`}}const bo=new tr("AnalyzeForEntryComponents");function bi(e,t){void 0===t&&(t=e);for(let n=0;n<e.length;n++){let r=e[n];Array.isArray(r)?(t===e&&(t=e.slice(0,n)),bi(r,t)):t!==e&&t.push(r)}return t}function zi(e,t){e.forEach((n=>Array.isArray(n)?zi(n,t):t(n)))}function _u(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function na(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function _s(e,t){const n=[];for(let r=0;r<e;r++)n.push(t);return n}function ci(e,t,n){let r=ko(e,t);return r>=0?e[1|r]=n:(r=~r,function Lg(e,t,n,r){let i=e.length;if(i==t)e.push(n,r);else if(1===i)e.push(r,e[0]),e[0]=n;else{for(i--,e.push(e[i-1],e[i]);i>t;)e[i]=e[i-2],i--;e[t]=n,e[t+1]=r}}(e,r,t,n)),r}function el(e,t){const n=ko(e,t);if(n>=0)return e[1|n]}function ko(e,t){return function Cu(e,t,n){let r=0,i=e.length>>n;for(;i!==r;){const s=r+(i-r>>1),a=e[s<<n];if(t===a)return s<<n;a>t?i=s:r=s+1}return~(i<<n)}(e,t,1)}const ys={},nl="__NG_DI_FLAG__",ia="ngTempTokenPath",Gg=/\n/gm,wu="__source",Wg=L({provide:String,useValue:L});let vs;function Eu(e){const t=vs;return vs=e,t}function Yg(e,t=ge.Default){if(void 0===vs)throw new ze(203,"");return null===vs?X(e,void 0,t):vs.get(e,t&ge.Optional?null:void 0,t)}function xr(e,t=ge.Default){return(function Pe(){return He}()||Yg)(Oe(e),t)}const Kg=xr;function rl(e){const t=[];for(let n=0;n<e.length;n++){const r=Oe(e[n]);if(Array.isArray(r)){if(0===r.length)throw new ze(900,"");let i,s=ge.Default;for(let a=0;a<r.length;a++){const f=r[a],m=Zg(f);"number"==typeof m?-1===m?i=f.token:s|=m:i=f}t.push(xr(i,s))}else t.push(xr(r))}return t}function Cs(e,t){return e[nl]=t,e.prototype[nl]=t,e}function Zg(e){return e[nl]}const oa=Cs(Ci("Inject",(e=>({token:e}))),-1),bs=Cs(Ci("Optional"),8),ws=Cs(Ci("SkipSelf"),4);let aa,la;function Vo(e){return function ol(){if(void 0===aa&&(aa=null,Jt.trustedTypes))try{aa=Jt.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return aa}()?.createHTML(e)||e}function Ou(e){return function sl(){if(void 0===la&&(la=null,Jt.trustedTypes))try{la=Jt.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return la}()?.createHTML(e)||e}class Iu{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see https://g.co/ng/security#xss)`}}function mo(e){return e instanceof Iu?e.changingThisBreaksApplicationSecurity:e}function Ds(e,t){const n=function fm(e){return e instanceof Iu&&e.getTypeName()||null}(e);if(null!=n&&n!==t){if("ResourceURL"===n&&"URL"===t)return!0;throw new Error(`Required a safe ${t}, got a ${n} (see https://g.co/ng/security#xss)`)}return n===t}class pm{constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t="<body><remove></remove>"+t;try{const n=(new window.DOMParser).parseFromString(Vo(t),"text/html").body;return null===n?this.inertDocumentHelper.getInertBodyElement(t):(n.removeChild(n.firstChild),n)}catch{return null}}}class gm{constructor(t){if(this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert"),null==this.inertDocument.body){const n=this.inertDocument.createElement("html");this.inertDocument.appendChild(n);const r=this.inertDocument.createElement("body");n.appendChild(r)}}getInertBodyElement(t){const n=this.inertDocument.createElement("template");if("content"in n)return n.innerHTML=Vo(t),n;const r=this.inertDocument.createElement("body");return r.innerHTML=Vo(t),this.defaultDoc.documentMode&&this.stripCustomNsAttrs(r),r}stripCustomNsAttrs(t){const n=t.attributes;for(let i=n.length-1;0<i;i--){const a=n.item(i).name;("xmlns:ns1"===a||0===a.indexOf("ns1:"))&&t.removeAttribute(a)}let r=t.firstChild;for(;r;)r.nodeType===Node.ELEMENT_NODE&&this.stripCustomNsAttrs(r),r=r.nextSibling}}const _m=/^(?:(?:https?|mailto|ftp|tel|file|sms):|[^&:/?#]*(?:[/?#]|$))/gi,ym=/^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 ca(e){return(e=String(e)).match(_m)||e.match(ym)?e:"unsafe:"+e}function Wi(e){const t={};for(const n of e.split(","))t[n]=!0;return t}function Ms(...e){const t={};for(const n of e)for(const r in n)n.hasOwnProperty(r)&&(t[r]=!0);return t}const Fu=Wi("area,br,col,hr,img,wbr"),ku=Wi("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Lu=Wi("rp,rt"),al=Ms(Fu,Ms(ku,Wi("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")),Ms(Lu,Wi("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")),Ms(Lu,ku)),ll=Wi("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),cl=Wi("srcset"),Vu=Ms(ll,cl,Wi("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"),Wi("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")),vm=Wi("script,style,template");class Cm{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(t){let n=t.firstChild,r=!0;for(;n;)if(n.nodeType===Node.ELEMENT_NODE?r=this.startElement(n):n.nodeType===Node.TEXT_NODE?this.chars(n.nodeValue):this.sanitizedSomething=!0,r&&n.firstChild)n=n.firstChild;else for(;n;){n.nodeType===Node.ELEMENT_NODE&&this.endElement(n);let i=this.checkClobberedElement(n,n.nextSibling);if(i){n=i;break}n=this.checkClobberedElement(n,n.parentNode)}return this.buf.join("")}startElement(t){const n=t.nodeName.toLowerCase();if(!al.hasOwnProperty(n))return this.sanitizedSomething=!0,!vm.hasOwnProperty(n);this.buf.push("<"),this.buf.push(n);const r=t.attributes;for(let i=0;i<r.length;i++){const s=r.item(i),a=s.name,f=a.toLowerCase();if(!Vu.hasOwnProperty(f)){this.sanitizedSomething=!0;continue}let m=s.value;ll[f]&&(m=ca(m)),cl[f]&&(e=m,m=(e=String(e)).split(",").map((t=>ca(t.trim()))).join(", ")),this.buf.push(" ",a,'="',Bu(m),'"')}var e;return this.buf.push(">"),!0}endElement(t){const n=t.nodeName.toLowerCase();al.hasOwnProperty(n)&&!Fu.hasOwnProperty(n)&&(this.buf.push("</"),this.buf.push(n),this.buf.push(">"))}chars(t){this.buf.push(Bu(t))}checkClobberedElement(t,n){if(n&&(t.compareDocumentPosition(n)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error(`Failed to sanitize html because the element is clobbered: ${t.outerHTML}`);return n}}const bm=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,wm=/([^\#-~ |!])/g;function Bu(e){return e.replace(/&/g,"&").replace(bm,(function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"})).replace(wm,(function(t){return"&#"+t.charCodeAt(0)+";"})).replace(/</g,"<").replace(/>/g,">")}let ua;function ul(e){return"content"in e&&function Dm(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var Cr=(()=>((Cr=Cr||{})[Cr.NONE=0]="NONE",Cr[Cr.HTML=1]="HTML",Cr[Cr.STYLE=2]="STYLE",Cr[Cr.SCRIPT=3]="SCRIPT",Cr[Cr.URL=4]="URL",Cr[Cr.RESOURCE_URL=5]="RESOURCE_URL",Cr))();function ju(e){const t=Ss();return t?Ou(t.sanitize(Cr.HTML,e)||""):Ds(e,"HTML")?Ou(mo(e)):function Em(e,t){let n=null;try{ua=ua||function Ru(e){const t=new gm(e);return function mm(){try{return!!(new window.DOMParser).parseFromString(Vo(""),"text/html")}catch{return!1}}()?new pm(t):t}(e);let r=t?String(t):"";n=ua.getInertBodyElement(r);let i=5,s=r;do{if(0===i)throw new Error("Failed to sanitize html because the input is unstable");i--,r=s,s=n.innerHTML,n=ua.getInertBodyElement(r)}while(r!==s);return Vo((new Cm).sanitizeChildren(ul(n)||n))}finally{if(n){const r=ul(n)||n;for(;r.firstChild;)r.removeChild(r.firstChild)}}}(D(),fe(e))}function dl(e){const t=Ss();return t?t.sanitize(Cr.URL,e)||"":Ds(e,"URL")?mo(e):ca(fe(e))}function Ss(){const e=mt();return e&&e[12]}const $u="__ngContext__";function Br(e,t){e[$u]=t}function fl(e){const t=function Ts(e){return e[$u]||null}(e);return t?Array.isArray(t)?t:t.lView:null}function gl(e){return e.ngOriginalError}function jm(e,...t){e.error(...t)}class da{constructor(){this._console=console}handleError(t){const n=this._findOriginalError(t),r=function Bm(e){return e&&e.ngErrorLogger||jm}(t);r(this._console,"ERROR",t),n&&r(this._console,"ORIGINAL ERROR",n)}_findOriginalError(t){let n=t&&gl(t);for(;n&&gl(n);)n=gl(n);return n||null}}const Qm=(()=>(typeof requestAnimationFrame<"u"&&requestAnimationFrame||setTimeout).bind(Jt))();function Ku(e){return e.ownerDocument.defaultView}function Yi(e){return e instanceof Function?e():e}var Ki=(()=>((Ki=Ki||{})[Ki.Important=1]="Important",Ki[Ki.DashCase=2]="DashCase",Ki))();function _l(e,t){return undefined(e,t)}function Ps(e){const t=e[3];return rr(t)?t[3]:t}function yl(e){return Xu(e[13])}function vl(e){return Xu(e[4])}function Xu(e){for(;null!==e&&!rr(e);)e=e[4];return e}function jo(e,t,n,r,i){if(null!=r){let s,a=!1;rr(r)?s=r:Ln(r)&&(a=!0,r=r[0]);const f=Dt(r);0===e&&null!==n?null==i?od(t,n,f):wo(t,n,f,i||null,!0):1===e&&null!==n?wo(t,n,f,i||null,!0):2===e?function hd(e,t,n){const r=ha(e,t);r&&function c_(e,t,n,r){ue(e)?e.removeChild(t,n,r):t.removeChild(n)}(e,r,t,n)}(t,f,a):3===e&&t.destroyNode(f),null!=s&&function h_(e,t,n,r,i){const s=n[7];s!==Dt(n)&&jo(t,e,r,s,i);for(let f=10;f<n.length;f++){const m=n[f];Os(m[1],m,e,t,r,s)}}(t,e,s,n,i)}}function bl(e,t,n){if(ue(e))return e.createElement(t,n);{const r=null!==n?function $r(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===r?e.createElement(t):e.createElementNS(r,t)}}function td(e,t){const n=e[9],r=n.indexOf(t),i=t[3];1024&t[2]&&(t[2]&=-1025,_(i,-1)),n.splice(r,1)}function wl(e,t){if(e.length<=10)return;const n=10+t,r=e[n];if(r){const i=r[17];null!==i&&i!==e&&td(i,r),t>0&&(e[n-1][4]=r[4]);const s=na(e,10+t);!function t_(e,t){Os(e,t,t[11],2,null,null),t[0]=null,t[6]=null}(r[1],r);const a=s[19];null!==a&&a.detachView(s[1]),r[3]=null,r[4]=null,r[2]&=-129}return r}function nd(e,t){if(!(256&t[2])){const n=t[11];ue(n)&&n.destroyNode&&Os(e,t,n,3,null,null),function i_(e){let t=e[13];if(!t)return El(e[1],e);for(;t;){let n=null;if(Ln(t))n=t[13];else{const r=t[10];r&&(n=r)}if(!n){for(;t&&!t[4]&&t!==e;)Ln(t)&&El(t[1],t),t=t[3];null===t&&(t=e),Ln(t)&&El(t[1],t),n=t&&t[4]}t=n}}(t)}}function El(e,t){if(!(256&t[2])){t[2]&=-129,t[2]|=256,function l_(e,t){let n;if(null!=e&&null!=(n=e.destroyHooks))for(let r=0;r<n.length;r+=2){const i=t[n[r]];if(!(i instanceof so)){const s=n[r+1];if(Array.isArray(s))for(let a=0;a<s.length;a+=2){const f=i[s[a]],m=s[a+1];try{m.call(f)}finally{}}else try{s.call(i)}finally{}}}}(e,t),function a_(e,t){const n=e.cleanup,r=t[7];let i=-1;if(null!==n)for(let s=0;s<n.length-1;s+=2)if("string"==typeof n[s]){const a=n[s+1],f="function"==typeof a?a(t):Dt(t[a]),m=r[i=n[s+2]],N=n[s+3];"boolean"==typeof N?f.removeEventListener(n[s],m,N):N>=0?r[i=N]():r[i=-N].unsubscribe(),s+=2}else{const a=r[i=n[s+1]];n[s].call(a)}if(null!==r){for(let s=i+1;s<r.length;s++)r[s]();t[7]=null}}(e,t),1===t[1].type&&ue(t[11])&&t[11].destroy();const n=t[17];if(null!==n&&rr(t[3])){n!==t[3]&&td(n,t);const r=t[19];null!==r&&r.detachView(e)}}}function rd(e,t,n){return function id(e,t,n){let r=t;for(;null!==r&&40&r.type;)r=(t=r).parent;if(null===r)return n[0];if(2&r.flags){const i=e.data[r.directiveStart].encapsulation;if(i===at.None||i===at.Emulated)return null}return mn(r,n)}(e,t.parent,n)}function wo(e,t,n,r,i){ue(e)?e.insertBefore(t,n,r,i):t.insertBefore(n,r,i)}function od(e,t,n){ue(e)?e.appendChild(t,n):t.appendChild(n)}function sd(e,t,n,r,i){null!==r?wo(e,t,n,r,i):od(e,t,n)}function ha(e,t){return ue(e)?e.parentNode(t):t.parentNode}function ad(e,t,n){return cd(e,t,n)}let cd=function ld(e,t,n){return 40&e.type?mn(e,n):null};function fa(e,t,n,r){const i=rd(e,r,t),s=t[11],f=ad(r.parent||t[6],r,t);if(null!=i)if(Array.isArray(n))for(let m=0;m<n.length;m++)sd(s,i,n[m],f,!1);else sd(s,i,n,f,!1)}function pa(e,t){if(null!==t){const n=t.type;if(3&n)return mn(t,e);if(4&n)return Ml(-1,e[t.index]);if(8&n){const r=t.child;if(null!==r)return pa(e,r);{const i=e[t.index];return rr(i)?Ml(-1,i):Dt(i)}}if(32&n)return _l(t,e)()||Dt(e[t.index]);{const r=dd(e,t);return null!==r?Array.isArray(r)?r[0]:pa(Ps(e[16]),r):pa(e,t.next)}}return null}function dd(e,t){return null!==t?e[16][6].projection[t.projection]:null}function Ml(e,t){const n=10+e+1;if(n<t.length){const r=t[n],i=r[1].firstChild;if(null!==i)return pa(r,i)}return t[7]}function Sl(e,t,n,r,i,s,a){for(;null!=n;){const f=r[n.index],m=n.type;if(a&&0===t&&(f&&Br(Dt(f),r),n.flags|=4),64!=(64&n.flags))if(8&m)Sl(e,t,n.child,r,i,s,!1),jo(t,e,i,f,s);else if(32&m){const N=_l(n,r);let H;for(;H=N();)jo(t,e,i,H,s);jo(t,e,i,f,s)}else 16&m?fd(e,t,r,n,i,s):jo(t,e,i,f,s);n=a?n.projectionNext:n.next}}function Os(e,t,n,r,i,s){Sl(n,r,e.firstChild,t,i,s,!1)}function fd(e,t,n,r,i,s){const a=n[16],m=a[6].projection[r.projection];if(Array.isArray(m))for(let N=0;N<m.length;N++)jo(t,e,i,m[N],s);else Sl(e,t,m,a[3],i,s,!0)}function pd(e,t,n){ue(e)?e.setAttribute(t,"style",n):t.style.cssText=n}function Tl(e,t,n){ue(e)?""===n?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n):t.className=n}function gd(e,t,n){let r=e.length;for(;;){const i=e.indexOf(t,n);if(-1===i)return i;if(0===i||e.charCodeAt(i-1)<=32){const s=t.length;if(i+s===r||e.charCodeAt(i+s)<=32)return i}n=i+1}}const md="ng-template";function p_(e,t,n){let r=0;for(;r<e.length;){let i=e[r++];if(n&&"class"===i){if(i=e[r],-1!==gd(i.toLowerCase(),t,0))return!0}else if(1===i){for(;r<e.length&&"string"==typeof(i=e[r++]);)if(i.toLowerCase()===t)return!0;return!1}}return!1}function _d(e){return 4===e.type&&e.value!==md}function g_(e,t,n){return t===(4!==e.type||n?e.value:md)}function m_(e,t,n){let r=4;const i=e.attrs||[],s=function v_(e){for(let t=0;t<e.length;t++)if(lo(e[t]))return t;return e.length}(i);let a=!1;for(let f=0;f<t.length;f++){const m=t[f];if("number"!=typeof m){if(!a)if(4&r){if(r=2|1&r,""!==m&&!g_(e,m,n)||""===m&&1===t.length){if(Ii(r))return!1;a=!0}}else{const N=8&r?m:t[++f];if(8&r&&null!==e.attrs){if(!p_(e.attrs,N,n)){if(Ii(r))return!1;a=!0}continue}const ee=__(8&r?"class":m,i,_d(e),n);if(-1===ee){if(Ii(r))return!1;a=!0;continue}if(""!==N){let he;he=ee>s?"":i[ee+1].toLowerCase();const Fe=8&r?he:null;if(Fe&&-1!==gd(Fe,N,0)||2&r&&N!==he){if(Ii(r))return!1;a=!0}}}}else{if(!a&&!Ii(r)&&!Ii(m))return!1;if(a&&Ii(m))continue;a=!1,r=m|1&r}}return Ii(r)||a}function Ii(e){return 0==(1&e)}function __(e,t,n,r){if(null===t)return-1;let i=0;if(r||!n){let s=!1;for(;i<t.length;){const a=t[i];if(a===e)return i;if(3===a||6===a)s=!0;else{if(1===a||2===a){let f=t[++i];for(;"string"==typeof f;)f=t[++i];continue}if(4===a)break;if(0===a){i+=4;continue}}i+=s?1:2}return-1}return function C_(e,t){let n=e.indexOf(4);if(n>-1)for(n++;n<e.length;){const r=e[n];if("number"==typeof r)return-1;if(r===t)return n;n++}return-1}(t,e)}function yd(e,t,n=!1){for(let r=0;r<t.length;r++)if(m_(e,t[r],n))return!0;return!1}function b_(e,t){e:for(let n=0;n<t.length;n++){const r=t[n];if(e.length===r.length){for(let i=0;i<e.length;i++)if(e[i]!==r[i])continue e;return!0}}return!1}function vd(e,t){return e?":not("+t.trim()+")":t}function w_(e){let t=e[0],n=1,r=2,i="",s=!1;for(;n<e.length;){let a=e[n];if("string"==typeof a)if(2&r){const f=e[++n];i+="["+a+(f.length>0?'="'+f+'"':"")+"]"}else 8&r?i+="."+a:4&r&&(i+=" "+a);else""!==i&&!Ii(a)&&(t+=vd(s,i),i=""),r=a,s=s||!Ii(r);n++}return""!==i&&(t+=vd(s,i)),t}const wn={};function Cd(e){bd(Tn(),mt(),Yn()+e,!1)}function bd(e,t,n,r){if(!r)if(3==(3&t[2])){const s=e.preOrderCheckHooks;null!==s&&er(t,s,n)}else{const s=e.preOrderHooks;null!==s&&Ar(t,s,0,n)}Xr(n)}function ga(e,t){return e<<17|t<<2}function Ri(e){return e>>17&32767}function Pl(e){return 2|e}function uo(e){return(131068&e)>>2}function Ol(e,t){return-131069&e|t<<2}function Al(e){return 1|e}function Id(e,t){const n=e.contentQueries;if(null!==n)for(let r=0;r<n.length;r+=2){const i=n[r],s=n[r+1];if(-1!==s){const a=e.data[s];Cn(i),a.contentQueries(2,t[s],s)}}}function As(e,t,n,r,i,s,a,f,m,N){const H=t.blueprint.slice();return H[0]=i,H[2]=140|r,v(H),H[3]=H[15]=e,H[8]=n,H[10]=a||e&&e[10],H[11]=f||e&&e[11],H[12]=m||e&&e[12]||null,H[9]=N||e&&e[9]||null,H[6]=s,H[16]=2==t.type?e[16]:H,H}function Uo(e,t,n,r,i){let s=e.data[t];if(null===s)s=function Bl(e,t,n,r,i){const s=vo(),a=go(),m=e.data[t]=function j_(e,t,n,r,i,s){return{type:n,index:r,insertBeforeIndex:null,injectorIndex:t?t.injectorIndex:-1,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,propertyBindings:null,flags:0,providerIndexes:0,value:i,attrs:s,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,a?s:s&&s.parent,n,t,r,i);return null===e.firstChild&&(e.firstChild=m),null!==s&&(a?null==s.child&&null!==m.parent&&(s.child=m):null===s.next&&(s.next=m)),m}(e,t,n,r,i),function ke(){return V.lFrame.inI18n}()&&(s.flags|=64);else if(64&s.type){s.type=n,s.value=r,s.attrs=i;const a=function mi(){const e=V.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}();s.injectorIndex=null===a?-1:a.injectorIndex}return Wr(s,!0),s}function Ho(e,t,n,r){if(0===n)return-1;const i=t.length;for(let s=0;s<n;s++)t.push(r),e.blueprint.push(r),e.data.push(null);return i}function xs(e,t,n){Xn(t);try{const r=e.viewQuery;null!==r&&Kl(1,r,n);const i=e.template;null!==i&&Rd(e,t,i,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),e.staticContentQueries&&Id(e,t),e.staticViewQueries&&Kl(2,e.viewQuery,n);const s=e.components;null!==s&&function L_(e,t){for(let n=0;n<t.length;n++)iy(e,t[n])}(t,s)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{t[2]&=-5,gr()}}function $o(e,t,n,r){const i=t[2];if(256!=(256&i)){Xn(t);try{v(t),function Q(e){return V.lFrame.bindingIndex=e}(e.bindingStartIndex),null!==n&&Rd(e,t,n,2,r);const a=3==(3&i);if(a){const N=e.preOrderCheckHooks;null!==N&&er(t,N,null)}else{const N=e.preOrderHooks;null!==N&&Ar(t,N,0,null),mr(t,0)}if(function ny(e){for(let t=yl(e);null!==t;t=vl(t)){if(!t[2])continue;const n=t[9];for(let r=0;r<n.length;r++){const i=n[r],s=i[3];0==(1024&i[2])&&_(s,1),i[2]|=1024}}}(t),function ty(e){for(let t=yl(e);null!==t;t=vl(t))for(let n=10;n<t.length;n++){const r=t[n],i=r[1];Gr(r)&&$o(i,r,i.template,r[8])}}(t),null!==e.contentQueries&&Id(e,t),a){const N=e.contentCheckHooks;null!==N&&er(t,N)}else{const N=e.contentHooks;null!==N&&Ar(t,N,1),mr(t,1)}!function F_(e,t){const n=e.hostBindingOpCodes;if(null!==n)try{for(let r=0;r<n.length;r++){const i=n[r];if(i<0)Xr(~i);else{const s=i,a=n[++r],f=n[++r];Wt(a,s),f(2,t[s])}}}finally{Xr(-1)}}(e,t);const f=e.components;null!==f&&function k_(e,t){for(let n=0;n<t.length;n++)ry(e,t[n])}(t,f);const m=e.viewQuery;if(null!==m&&Kl(2,m,r),a){const N=e.viewCheckHooks;null!==N&&er(t,N)}else{const N=e.viewHooks;null!==N&&Ar(t,N,2),mr(t,2)}!0===e.firstUpdatePass&&(e.firstUpdatePass=!1),t[2]&=-73,1024&t[2]&&(t[2]&=-1025,_(t[3],-1))}finally{gr()}}}function V_(e,t,n,r){const i=t[10],a=br(t);try{!a&&i.begin&&i.begin(),a&&xs(e,t,r),$o(e,t,n,r)}finally{!a&&i.end&&i.end()}}function Rd(e,t,n,r,i){const s=Yn(),a=2&r;try{Xr(-1),a&&t.length>20&&bd(e,t,20,!1),n(r,i)}finally{Xr(s)}}function Nd(e,t,n){if(Ir(t)){const i=t.directiveEnd;for(let s=t.directiveStart;s<i;s++){const a=e.data[s];a.contentQueries&&a.contentQueries(1,n[s],s)}}}function jl(e,t,n){!Fr()||(function Y_(e,t,n,r){const i=n.directiveStart,s=n.directiveEnd;e.firstCreatePass||Co(n,t),Br(r,t);const a=n.initialInputs;for(let f=i;f<s;f++){const m=e.data[f],N=dr(m);N&&J_(t,n,m);const H=d(t,e,f,n);Br(H,t),null!==a&&X_(0,f-i,H,m,0,a),N&&(On(n.index,t)[8]=H)}}(e,t,n,mn(n,t)),128==(128&n.flags)&&function K_(e,t,n){const r=n.directiveStart,i=n.directiveEnd,a=n.index,f=function tn(){return V.lFrame.currentDirectiveIndex}();try{Xr(a);for(let m=r;m<i;m++){const N=e.data[m],H=t[m];_n(m),(null!==N.hostBindings||0!==N.hostVars||null!==N.hostAttrs)&&Hd(N,H)}}finally{Xr(-1),_n(f)}}(e,t,n))}function Ul(e,t,n=mn){const r=t.localNames;if(null!==r){let i=t.index+1;for(let s=0;s<r.length;s+=2){const a=r[s+1],f=-1===a?n(t,e):e[a];e[i++]=f}}}function Fd(e){const t=e.tView;return null===t||t.incompleteFirstPass?e.tView=ya(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts):t}function ya(e,t,n,r,i,s,a,f,m,N){const H=20+r,ee=H+i,he=function B_(e,t){const n=[];for(let r=0;r<t;r++)n.push(r<e?null:wn);return n}(H,ee),Fe="function"==typeof N?N():N;return he[1]={type:e,blueprint:he,template:n,queries:null,viewQuery:f,declTNode:t,data:he.slice().fill(null,H),bindingStartIndex:H,expandoStartIndex:ee,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:"function"==typeof s?s():s,pipeRegistry:"function"==typeof a?a():a,firstChild:null,schemas:m,consts:Fe,incompleteFirstPass:!1}}function Vd(e,t,n,r){const i=Kd(t);null===n?i.push(r):(i.push(n),e.firstCreatePass&&Zd(e).push(r,i.length-1))}function Bd(e,t,n){for(let r in e)if(e.hasOwnProperty(r)){const i=e[r];(n=null===n?{}:n).hasOwnProperty(r)?n[r].push(t,i):n[r]=[t,i]}return n}function ui(e,t,n,r,i,s,a,f){const m=mn(t,n);let H,N=t.inputs;!f&&null!=N&&(H=N[r])?(Jd(e,n,H,r,i),_r(t)&&function $_(e,t){const n=On(t,e);16&n[2]||(n[2]|=64)}(n,t.index)):3&t.type&&(r=function H_(e){return"class"===e?"className":"for"===e?"htmlFor":"formaction"===e?"formAction":"innerHtml"===e?"innerHTML":"readonly"===e?"readOnly":"tabindex"===e?"tabIndex":e}(r),i=null!=a?a(i,t.value||"",r):i,ue(s)?s.setProperty(m,r,i):us(r)||(m.setProperty?m.setProperty(r,i):m[r]=i))}function Hl(e,t,n,r){let i=!1;if(Fr()){const s=function Z_(e,t,n){const r=e.directiveRegistry;let i=null;if(r)for(let s=0;s<r.length;s++){const a=r[s];yd(n,a.selectors,!1)&&(i||(i=[]),Ro(Co(n,t),e,a.type),dr(a)?($d(e,n),i.unshift(a)):i.push(a))}return i}(e,t,n),a=null===r?null:{"":-1};if(null!==s){i=!0,Gd(n,e.data.length,s.length);for(let H=0;H<s.length;H++){const ee=s[H];ee.providersResolver&&ee.providersResolver(ee)}let f=!1,m=!1,N=Ho(e,t,s.length,null);for(let H=0;H<s.length;H++){const ee=s[H];n.mergedAttrs=Ao(n.mergedAttrs,ee.hostAttrs),zd(e,n,t,N,ee),q_(N,ee,a),null!==ee.contentQueries&&(n.flags|=8),(null!==ee.hostBindings||null!==ee.hostAttrs||0!==ee.hostVars)&&(n.flags|=128);const he=ee.type.prototype;!f&&(he.ngOnChanges||he.ngOnInit||he.ngDoCheck)&&((e.preOrderHooks||(e.preOrderHooks=[])).push(n.index),f=!0),!m&&(he.ngOnChanges||he.ngDoCheck)&&((e.preOrderCheckHooks||(e.preOrderCheckHooks=[])).push(n.index),m=!0),N++}!function U_(e,t){const r=t.directiveEnd,i=e.data,s=t.attrs,a=[];let f=null,m=null;for(let N=t.directiveStart;N<r;N++){const H=i[N],ee=H.inputs,he=null===s||_d(t)?null:ey(ee,s);a.push(he),f=Bd(ee,N,f),m=Bd(H.outputs,N,m)}null!==f&&(f.hasOwnProperty("class")&&(t.flags|=16),f.hasOwnProperty("style")&&(t.flags|=32)),t.initialInputs=a,t.inputs=f,t.outputs=m}(e,n)}a&&function Q_(e,t,n){if(t){const r=e.localNames=[];for(let i=0;i<t.length;i+=2){const s=n[t[i+1]];if(null==s)throw new ze(-301,!1);r.push(t[i],s)}}}(n,r,a)}return n.mergedAttrs=Ao(n.mergedAttrs,n.attrs),i}function Ud(e,t,n,r,i,s){const a=s.hostBindings;if(a){let f=e.hostBindingOpCodes;null===f&&(f=e.hostBindingOpCodes=[]);const m=~t.index;(function W_(e){let t=e.length;for(;t>0;){const n=e[--t];if("number"==typeof n&&n<0)return n}return 0})(f)!=m&&f.push(m),f.push(r,i,a)}}function Hd(e,t){null!==e.hostBindings&&e.hostBindings(1,t)}function $d(e,t){t.flags|=2,(e.components||(e.components=[])).push(t.index)}function q_(e,t,n){if(n){if(t.exportAs)for(let r=0;r<t.exportAs.length;r++)n[t.exportAs[r]]=e;dr(t)&&(n[""]=e)}}function Gd(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}function zd(e,t,n,r,i){e.data[r]=i;const s=i.factory||(i.factory=Rr(i.type)),a=new so(s,dr(i),null);e.blueprint[r]=a,n[r]=a,Ud(e,t,0,r,Ho(e,n,i.hostVars,wn),i)}function J_(e,t,n){const r=mn(t,e),i=Fd(n),s=e[10],a=va(e,As(e,i,null,n.onPush?64:16,r,t,s,s.createRenderer(r,n),null,null));e[t.index]=a}function Zi(e,t,n,r,i,s){const a=mn(e,t);!function $l(e,t,n,r,i,s,a){if(null==s)ue(e)?e.removeAttribute(t,i,n):t.removeAttribute(i);else{const f=null==a?fe(s):a(s,r||"",i);ue(e)?e.setAttribute(t,i,f,n):n?t.setAttributeNS(n,i,f):t.setAttribute(i,f)}}(t[11],a,s,e.value,n,r,i)}function X_(e,t,n,r,i,s){const a=s[t];if(null!==a){const f=r.setInput;for(let m=0;m<a.length;){const N=a[m++],H=a[m++],ee=a[m++];null!==f?r.setInput(n,ee,N,H):n[H]=ee}}}function ey(e,t){let n=null,r=0;for(;r<t.length;){const i=t[r];if(0!==i)if(5!==i){if("number"==typeof i)break;e.hasOwnProperty(i)&&(null===n&&(n=[]),n.push(i,e[i],t[r+1])),r+=2}else r+=2;else r+=4}return n}function Wd(e,t,n,r){return new Array(e,!0,!1,t,null,0,r,n,null,null)}function ry(e,t){const n=On(t,e);if(Gr(n)){const r=n[1];80&n[2]?$o(r,n,r.template,n[8]):n[5]>0&&Gl(n)}}function Gl(e){for(let r=yl(e);null!==r;r=vl(r))for(let i=10;i<r.length;i++){const s=r[i];if(1024&s[2]){const a=s[1];$o(a,s,a.template,s[8])}else s[5]>0&&Gl(s)}const n=e[1].components;if(null!==n)for(let r=0;r<n.length;r++){const i=On(n[r],e);Gr(i)&&i[5]>0&&Gl(i)}}function iy(e,t){const n=On(t,e),r=n[1];(function oy(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])})(r,n),xs(r,n,n[8])}function va(e,t){return e[13]?e[14][4]=t:e[13]=t,e[14]=t,t}function zl(e){for(;e;){e[2]|=64;const t=Ps(e);if(ti(e)&&!t)return e;e=t}return null}function Yd(e){!function Wl(e){for(let t=0;t<e.components.length;t++){const n=e.components[t],r=fl(n),i=r[1];V_(i,r,i.template,n)}}(e[8])}function Kl(e,t,n){Cn(0),t(e,n)}const ay=(()=>Promise.resolve(null))();function Kd(e){return e[7]||(e[7]=[])}function Zd(e){return e.cleanup||(e.cleanup=[])}function qd(e,t){const n=e[9],r=n?n.get(da,null):null;r&&r.handleError(t)}function Jd(e,t,n,r,i){for(let s=0;s<n.length;){const a=n[s++],f=n[s++],m=t[a],N=e.data[a];null!==N.setInput?N.setInput(m,i,r,f):m[f]=i}}function ho(e,t,n){const r=xn(t,e);!function ed(e,t,n){ue(e)?e.setValue(t,n):t.textContent=n}(e[11],r,n)}function Ca(e,t,n){let r=n?e.styles:null,i=n?e.classes:null,s=0;if(null!==t)for(let a=0;a<t.length;a++){const f=t[a];"number"==typeof f?s=f:1==s?i=ye(i,f):2==s&&(r=ye(r,f+": "+t[++a]+";"))}n?e.styles=r:e.stylesWithoutHost=r,n?e.classes=i:e.classesWithoutHost=i}const Zl=new tr("INJECTOR",-1);class Xd{get(t,n=ys){if(n===ys){const r=new Error(`NullInjectorError: No provider for ${te(t)}!`);throw r.name="NullInjectorError",r}return n}}const Ql=new tr("Set Injector scope."),Is={},uy={};let ql;function eh(){return void 0===ql&&(ql=new Xd),ql}function th(e,t=null,n=null,r){const i=nh(e,t,n,r);return i._resolveInjectorDefTypes(),i}function nh(e,t=null,n=null,r){return new dy(e,n,t||eh(),r)}class dy{constructor(t,n,r,i=null){this.parent=r,this.records=new Map,this.injectorDefTypes=new Set,this.onDestroy=new Set,this._destroyed=!1;const s=[];n&&zi(n,(f=>this.processProvider(f,t,n))),zi([t],(f=>this.processInjectorType(f,[],s))),this.records.set(Zl,Go(void 0,this));const a=this.records.get(Ql);this.scope=null!=a?a.value:null,this.source=i||("object"==typeof t?null:te(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=ys,r=ge.Default){this.assertNotDestroyed();const i=Eu(this),s=F(void 0);try{if(!(r&ge.SkipSelf)){let f=this.records.get(t);if(void 0===f){const m=function vy(e){return"function"==typeof e||"object"==typeof e&&e instanceof tr}(t)&&Se(t);f=m&&this.injectableDefInScope(m)?Go(Jl(t),Is):null,this.records.set(t,f)}if(null!=f)return this.hydrate(t,f)}return(r&ge.Self?eh():this.parent).get(t,n=r&ge.Optional&&n===ys?null:n)}catch(a){if("NullInjectorError"===a.name){if((a[ia]=a[ia]||[]).unshift(te(t)),i)throw a;return function Qg(e,t,n,r){const i=e[ia];throw t[wu]&&i.unshift(t[wu]),e.message=function qg(e,t,n,r=null){e=e&&"\n"===e.charAt(0)&&"ɵ"==e.charAt(1)?e.substr(2):e;let i=te(t);if(Array.isArray(t))i=t.map(te).join(" -> ");else if("object"==typeof t){let s=[];for(let a in t)if(t.hasOwnProperty(a)){let f=t[a];s.push(a+":"+("string"==typeof f?JSON.stringify(f):te(f)))}i=`{${s.join(", ")}}`}return`${n}${r?"("+r+")":""}[${i}]: ${e.replace(Gg,"\n ")}`}("\n"+e.message,i,n,r),e.ngTokenPath=i,e[ia]=null,e}(a,t,"R3InjectorError",this.source)}throw a}finally{F(s),Eu(i)}}_resolveInjectorDefTypes(){this.injectorDefTypes.forEach((t=>this.get(t)))}toString(){const t=[];return this.records.forEach(((r,i)=>t.push(te(i)))),`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new ze(205,!1)}processInjectorType(t,n,r){if(!(t=Oe(t)))return!1;let i=qt(t);const s=null==i&&t.ngModule||void 0,a=void 0===s?t:s,f=-1!==r.indexOf(a);if(void 0!==s&&(i=qt(s)),null==i)return!1;if(null!=i.imports&&!f){let H;r.push(a);try{zi(i.imports,(ee=>{this.processInjectorType(ee,n,r)&&(void 0===H&&(H=[]),H.push(ee))}))}finally{}if(void 0!==H)for(let ee=0;ee<H.length;ee++){const{ngModule:he,providers:Fe}=H[ee];zi(Fe,(ot=>this.processProvider(ot,he,Fe||Ct)))}}this.injectorDefTypes.add(a);const m=Rr(a)||(()=>new a);this.records.set(a,Go(m,Is));const N=i.providers;if(null!=N&&!f){const H=t;zi(N,(ee=>this.processProvider(ee,H,N)))}return void 0!==s&&void 0!==t.providers}processProvider(t,n,r){let i=zo(t=Oe(t))?t:Oe(t&&t.provide);const s=function fy(e,t,n){return ih(e)?Go(void 0,e.useValue):Go(rh(e),Is)}(t);if(zo(t)||!0!==t.multi)this.records.get(i);else{let a=this.records.get(i);a||(a=Go(void 0,Is,!0),a.factory=()=>rl(a.multi),this.records.set(i,a)),i=t,a.multi.push(t)}this.records.set(i,s)}hydrate(t,n){return n.value===Is&&(n.value=uy,n.value=n.factory()),"object"==typeof n.value&&n.value&&function yy(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=Oe(t.providedIn);return"string"==typeof n?"any"===n||n===this.scope:this.injectorDefTypes.has(n)}}function Jl(e){const t=Se(e),n=null!==t?t.factory:Rr(e);if(null!==n)return n;if(e instanceof tr)throw new ze(204,!1);if(e instanceof Function)return function hy(e){const t=e.length;if(t>0)throw _s(t,"?"),new ze(204,!1);const n=function We(e){const t=e&&(e[Bn]||e[Jn]);if(t){const n=function dt(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 ze(204,!1)}function rh(e,t,n){let r;if(zo(e)){const i=Oe(e);return Rr(i)||Jl(i)}if(ih(e))r=()=>Oe(e.useValue);else if(function gy(e){return!(!e||!e.useFactory)}(e))r=()=>e.useFactory(...rl(e.deps||[]));else if(function py(e){return!(!e||!e.useExisting)}(e))r=()=>xr(Oe(e.useExisting));else{const i=Oe(e&&(e.useClass||e.provide));if(!function _y(e){return!!e.deps}(e))return Rr(i)||Jl(i);r=()=>new i(...rl(e.deps))}return r}function Go(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function ih(e){return null!==e&&"object"==typeof e&&Wg in e}function zo(e){return"function"==typeof e}let Qi=(()=>{class e{static create(n,r){if(Array.isArray(n))return th({name:""},r,n,"");{const i=n.name??"";return th({name:i},n.parent,n.providers,i)}}}return e.THROW_IF_NOT_FOUND=ys,e.NULL=new Xd,e.ɵprov=Ut({token:e,providedIn:"any",factory:()=>xr(Zl)}),e.__NG_ELEMENT_ID__=-1,e})();function Ty(e,t){Mn(fl(e)[1],cr())}function tc(e){let t=function mh(e){return Object.getPrototypeOf(e.prototype).constructor}(e.type),n=!0;const r=[e];for(;t;){let i;if(dr(e))i=t.ɵcmp||t.ɵdir;else{if(t.ɵcmp)throw new ze(903,"");i=t.ɵdir}if(i){if(n){r.push(i);const a=e;a.inputs=nc(e.inputs),a.declaredInputs=nc(e.declaredInputs),a.outputs=nc(e.outputs);const f=i.hostBindings;f&&xy(e,f);const m=i.viewQuery,N=i.contentQueries;if(m&&Oy(e,m),N&&Ay(e,N),Z(e.inputs,i.inputs),Z(e.declaredInputs,i.declaredInputs),Z(e.outputs,i.outputs),dr(i)&&i.data.animation){const H=e.data;H.animation=(H.animation||[]).concat(i.data.animation)}}const s=i.features;if(s)for(let a=0;a<s.length;a++){const f=s[a];f&&f.ngInherit&&f(e),f===tc&&(n=!1)}}t=Object.getPrototypeOf(t)}!function Py(e){let t=0,n=null;for(let r=e.length-1;r>=0;r--){const i=e[r];i.hostVars=t+=i.hostVars,i.hostAttrs=Ao(i.hostAttrs,n=Ao(n,i.hostAttrs))}}(r)}function nc(e){return e===Et?{}:e===Ct?[]:e}function Oy(e,t){const n=e.viewQuery;e.viewQuery=n?(r,i)=>{t(r,i),n(r,i)}:t}function Ay(e,t){const n=e.contentQueries;e.contentQueries=n?(r,i,s)=>{t(r,i,s),n(r,i,s)}:t}function xy(e,t){const n=e.hostBindings;e.hostBindings=n?(r,i)=>{t(r,i),n(r,i)}:t}let ba=null;function Wo(){if(!ba){const e=Jt.Symbol;if(e&&e.iterator)ba=e.iterator;else{const t=Object.getOwnPropertyNames(Map.prototype);for(let n=0;n<t.length;++n){const r=t[n];"entries"!==r&&"size"!==r&&Map.prototype[r]===Map.prototype.entries&&(ba=r)}}}return ba}function Rs(e){return!!rc(e)&&(Array.isArray(e)||!(e instanceof Map)&&Wo()in e)}function rc(e){return null!==e&&("function"==typeof e||"object"==typeof e)}function qi(e,t,n){return e[t]=n}function jr(e,t,n){return!Object.is(e[t],n)&&(e[t]=n,!0)}function Eo(e,t,n,r){const i=jr(e,t,n);return jr(e,t+1,r)||i}function ic(e,t,n,r){const i=mt();return jr(i,oe(),t)&&(Tn(),Zi(Hn(),i,e,t,n,r)),ic}function Ko(e,t,n,r){return jr(e,oe(),n)?t+fe(n)+r:wn}function Zo(e,t,n,r,i,s){const f=Eo(e,function j(){return V.lFrame.bindingIndex}(),n,i);return le(2),f?t+fe(n)+r+fe(i)+s:wn}function Sh(e,t,n,r,i,s,a,f){const m=mt(),N=Tn(),H=e+20,ee=N.firstCreatePass?function Vy(e,t,n,r,i,s,a,f,m){const N=t.consts,H=Uo(t,e,4,a||null,w(N,f));Hl(t,n,H,w(N,m)),Mn(t,H);const ee=H.tViews=ya(2,H,r,i,s,t.directiveRegistry,t.pipeRegistry,null,t.schemas,N);return null!==t.queries&&(t.queries.template(t,H),ee.queries=t.queries.embeddedTView(H)),H}(H,N,m,t,n,r,i,s,a):N.data[H];Wr(ee,!1);const he=m[11].createComment("");fa(N,m,he,ee),Br(he,m),va(m,m[H]=Wd(he,m,he,ee)),Wn(ee)&&jl(N,m,ee),null!=a&&Ul(m,ee,f)}function Th(e){return Un(function k(){return V.lFrame.contextLView}(),20+e)}function Fs(e,t=ge.Default){const n=mt();return null===n?xr(e,t):ta(cr(),n,Oe(e),t)}function Vh(){throw new Error("invalid")}function cc(e,t,n){const r=mt();return jr(r,oe(),t)&&ui(Tn(),Hn(),r,e,t,r[11],n,!1),cc}function uc(e,t,n,r,i){const a=i?"class":"style";Jd(e,n,t.inputs[a],a,r)}function Da(e,t,n,r){const i=mt(),s=Tn(),a=20+e,f=i[11],m=i[a]=bl(f,t,function ln(){return V.lFrame.currentNamespace}()),N=s.firstCreatePass?function ov(e,t,n,r,i,s,a){const f=t.consts,N=Uo(t,e,2,i,w(f,s));return Hl(t,n,N,w(f,a)),null!==N.attrs&&Ca(N,N.attrs,!1),null!==N.mergedAttrs&&Ca(N,N.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,N),N}(a,s,i,0,t,n,r):s.data[a];Wr(N,!0);const H=N.mergedAttrs;null!==H&&ao(f,m,H);const ee=N.classes;null!==ee&&Tl(f,m,ee);const he=N.styles;return null!==he&&pd(f,m,he),64!=(64&N.flags)&&fa(s,i,m,N),0===function Nn(){return V.lFrame.elementDepthCount}()&&Br(m,i),function lr(){V.lFrame.elementDepthCount++}(),Wn(N)&&(jl(s,i,N),Nd(s,N,i)),null!==r&&Ul(i,N),Da}function Ma(){let e=cr();go()?$i():(e=e.parent,Wr(e,!1));const t=e;!function zr(){V.lFrame.elementDepthCount--}();const n=Tn();return n.firstCreatePass&&(Mn(n,e),Ir(e)&&n.queries.elementEnd(e)),null!=t.classesWithoutHost&&function Er(e){return 0!=(16&e.flags)}(t)&&uc(n,t,mt(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function Wa(e){return 0!=(32&e.flags)}(t)&&uc(n,t,mt(),t.stylesWithoutHost,!1),Ma}function dc(e,t,n,r){return Da(e,t,n,r),Ma(),dc}function Sa(e,t,n){const r=mt(),i=Tn(),s=e+20,a=i.firstCreatePass?function sv(e,t,n,r,i){const s=t.consts,a=w(s,r),f=Uo(t,e,8,"ng-container",a);return null!==a&&Ca(f,a,!0),Hl(t,n,f,w(s,i)),null!==t.queries&&t.queries.elementStart(t,f),f}(s,i,r,t,n):i.data[s];Wr(a,!0);const f=r[s]=r[11].createComment("");return fa(i,r,f,a),Br(f,r),Wn(a)&&(jl(i,r,a),Nd(i,a,r)),null!=n&&Ul(r,a),Sa}function Ta(){let e=cr();const t=Tn();return go()?$i():(e=e.parent,Wr(e,!1)),t.firstCreatePass&&(Mn(t,e),Ir(e)&&t.queries.elementEnd(e)),Ta}function hc(e,t,n){return Sa(e,t,n),Ta(),hc}function Bh(){return mt()}function fc(e){return!!e&&"function"==typeof e.then}function jh(e){return!!e&&"function"==typeof e.subscribe}const Uh=jh;function pc(e,t,n,r){const i=mt(),s=Tn(),a=cr();return function $h(e,t,n,r,i,s,a,f){const m=Wn(r),H=e.firstCreatePass&&Zd(e),ee=t[8],he=Kd(t);let Fe=!0;if(3&r.type||f){const $t=mn(r,t),en=f?f($t):$t,gt=he.length,un=f?An=>f(Dt(An[r.index])):r.index;if(ue(n)){let An=null;if(!f&&m&&(An=function av(e,t,n,r){const i=e.cleanup;if(null!=i)for(let s=0;s<i.length-1;s+=2){const a=i[s];if(a===n&&i[s+1]===r){const f=t[7],m=i[s+2];return f.length>m?f[m]:null}"string"==typeof a&&(s+=2)}return null}(e,t,i,r.index)),null!==An)(An.__ngLastListenerFn__||An).__ngNextListenerFn__=s,An.__ngLastListenerFn__=s,Fe=!1;else{s=gc(r,t,ee,s,!1);const Gn=n.listen(en,i,s);he.push(s,Gn),H&&H.push(i,un,gt,gt+1)}}else s=gc(r,t,ee,s,!0),en.addEventListener(i,s,a),he.push(s),H&&H.push(i,un,gt,a)}else s=gc(r,t,ee,s,!1);const ot=r.outputs;let Pt;if(Fe&&null!==ot&&(Pt=ot[i])){const $t=Pt.length;if($t)for(let en=0;en<$t;en+=2){const di=t[Pt[en]][Pt[en+1]].subscribe(s),So=he.length;he.push(s,di),H&&H.push(i,r.index,So,-(So+1))}}}(s,i,i[11],a,e,t,!!n,r),pc}function Gh(e,t,n,r){try{return!1!==n(r)}catch(i){return qd(e,i),!1}}function gc(e,t,n,r,i){return function s(a){if(a===Function)return r;const f=2&e.flags?On(e.index,t):t;0==(32&t[2])&&zl(f);let m=Gh(t,0,r,a),N=s.__ngNextListenerFn__;for(;N;)m=Gh(t,0,N,a)&&m,N=N.__ngNextListenerFn__;return i&&!1===m&&(a.preventDefault(),a.returnValue=!1),m}}function zh(e=1){return function qr(e){return(V.lFrame.contextLView=function Jr(e,t){for(;e>0;)t=t[15],e--;return t}(e,V.lFrame.contextLView))[8]}(e)}function lv(e,t){let n=null;const r=function y_(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 i=0;i<t.length;i++){const s=t[i];if("*"!==s){if(null===r?yd(e,s,!0):b_(r,s))return i}else n=i}return n}function Wh(e){const t=mt()[16][6];if(!t.projection){const r=t.projection=_s(e?e.length:1,null),i=r.slice();let s=t.child;for(;null!==s;){const a=e?lv(s,e):0;null!==a&&(i[a]?i[a].projectionNext=s:r[a]=s,i[a]=s),s=s.next}}}function Yh(e,t=0,n){const r=mt(),i=Tn(),s=Uo(i,20+e,16,null,n||null);null===s.projection&&(s.projection=t),$i(),64!=(64&s.flags)&&function d_(e,t,n){fd(t[11],0,t,n,rd(e,n,t),ad(n.parent||t[6],n,t))}(i,r,s)}function mc(e,t,n){return Pa(e,"",t,"",n),mc}function Pa(e,t,n,r,i){const s=mt(),a=Ko(s,t,n,r);return a!==wn&&ui(Tn(),Hn(),s,e,a,s[11],i,!1),Pa}function _c(e,t,n,r,i,s,a){const f=mt(),m=Zo(f,t,n,r,i,s);return m!==wn&&ui(Tn(),Hn(),f,e,m,f[11],a,!1),_c}function tf(e,t,n,r,i){const s=e[n+1],a=null===t;let f=r?Ri(s):uo(s),m=!1;for(;0!==f&&(!1===m||a);){const H=e[f+1];dv(e[f],t)&&(m=!0,e[f+1]=r?Al(H):Pl(H)),f=r?Ri(H):uo(H)}m&&(e[n+1]=r?Pl(s):Al(s))}function dv(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&ko(e,t)>=0}const Mr={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function nf(e){return e.substring(Mr.key,Mr.keyEnd)}function rf(e,t){const n=Mr.textEnd;return n===t?-1:(t=Mr.keyEnd=function gv(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}(e,Mr.key=t,n),rs(e,t,n))}function rs(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function yc(e,t){return function Fi(e,t,n,r){const i=mt(),s=Tn(),a=le(2);s.firstUpdatePass&&ff(s,e,a,r),t!==wn&&jr(i,a,t)&&gf(s,s.data[Yn()],i,i[11],e,i[a+1]=function Mv(e,t){return null==e||("string"==typeof t?e+=t:"object"==typeof e&&(e=te(mo(e)))),e}(t,n),r,a)}(e,t,null,!0),yc}function df(e){ki(ci,Xi,e,!0)}function Xi(e,t){for(let n=function fv(e){return function af(e){Mr.key=0,Mr.keyEnd=0,Mr.value=0,Mr.valueEnd=0,Mr.textEnd=e.length}(e),rf(e,rs(e,0,Mr.textEnd))}(t);n>=0;n=rf(t,n))ci(e,nf(t),!0)}function ki(e,t,n,r){const i=Tn(),s=le(2);i.firstUpdatePass&&ff(i,null,s,r);const a=mt();if(n!==wn&&jr(a,s,n)){const f=i.data[Yn()];if(_f(f,r)&&!hf(i,s)){let m=r?f.classesWithoutHost:f.stylesWithoutHost;null!==m&&(n=ye(m,n||"")),uc(i,f,a,n,r)}else!function Dv(e,t,n,r,i,s,a,f){i===wn&&(i=Ct);let m=0,N=0,H=0<i.length?i[0]:null,ee=0<s.length?s[0]:null;for(;null!==H||null!==ee;){const he=m<i.length?i[m+1]:void 0,Fe=N<s.length?s[N+1]:void 0;let Pt,ot=null;H===ee?(m+=2,N+=2,he!==Fe&&(ot=ee,Pt=Fe)):null===ee||null!==H&&H<ee?(m+=2,ot=H):(N+=2,ot=ee,Pt=Fe),null!==ot&&gf(e,t,n,r,ot,Pt,a,f),H=m<i.length?i[m]:null,ee=N<s.length?s[N]:null}}(i,f,a,a[11],a[s+1],a[s+1]=function Ev(e,t,n){if(null==n||""===n)return Ct;const r=[],i=mo(n);if(Array.isArray(i))for(let s=0;s<i.length;s++)e(r,i[s],!0);else if("object"==typeof i)for(const s in i)i.hasOwnProperty(s)&&e(r,s,i[s]);else"string"==typeof i&&t(r,i);return r}(e,t,n),r,s)}}function hf(e,t){return t>=e.expandoStartIndex}function ff(e,t,n,r){const i=e.data;if(null===i[n+1]){const s=i[Yn()],a=hf(e,n);_f(s,r)&&null===t&&!a&&(t=!1),t=function vv(e,t,n,r){const i=function En(e){const t=V.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}(e);let s=r?t.residualClasses:t.residualStyles;if(null===i)0===(r?t.classBindings:t.styleBindings)&&(n=ks(n=vc(null,e,t,n,r),t.attrs,r),s=null);else{const a=t.directiveStylingLast;if(-1===a||e[a]!==i)if(n=vc(i,e,t,n,r),null===s){let m=function Cv(e,t,n){const r=n?t.classBindings:t.styleBindings;if(0!==uo(r))return e[Ri(r)]}(e,t,r);void 0!==m&&Array.isArray(m)&&(m=vc(null,e,t,m[1],r),m=ks(m,t.attrs,r),function bv(e,t,n,r){e[Ri(n?t.classBindings:t.styleBindings)]=r}(e,t,r,m))}else s=function wv(e,t,n){let r;const i=t.directiveEnd;for(let s=1+t.directiveStylingLast;s<i;s++)r=ks(r,e[s].hostAttrs,n);return ks(r,t.attrs,n)}(e,t,r)}return void 0!==s&&(r?t.residualClasses=s:t.residualStyles=s),n}(i,s,t,r),function cv(e,t,n,r,i,s){let a=s?t.classBindings:t.styleBindings,f=Ri(a),m=uo(a);e[r]=n;let H,N=!1;if(Array.isArray(n)){const ee=n;H=ee[1],(null===H||ko(ee,H)>0)&&(N=!0)}else H=n;if(i)if(0!==m){const he=Ri(e[f+1]);e[r+1]=ga(he,f),0!==he&&(e[he+1]=Ol(e[he+1],r)),e[f+1]=function M_(e,t){return 131071&e|t<<17}(e[f+1],r)}else e[r+1]=ga(f,0),0!==f&&(e[f+1]=Ol(e[f+1],r)),f=r;else e[r+1]=ga(m,0),0===f?f=r:e[m+1]=Ol(e[m+1],r),m=r;N&&(e[r+1]=Pl(e[r+1])),tf(e,H,r,!0),tf(e,H,r,!1),function uv(e,t,n,r,i){const s=i?e.residualClasses:e.residualStyles;null!=s&&"string"==typeof t&&ko(s,t)>=0&&(n[r+1]=Al(n[r+1]))}(t,H,e,r,s),a=ga(f,m),s?t.classBindings=a:t.styleBindings=a}(i,s,t,n,a,r)}}function vc(e,t,n,r,i){let s=null;const a=n.directiveEnd;let f=n.directiveStylingLast;for(-1===f?f=n.directiveStart:f++;f<a&&(s=t[f],r=ks(r,s.hostAttrs,i),s!==e);)f++;return null!==e&&(n.directiveStylingLast=f),r}function ks(e,t,n){const r=n?1:2;let i=-1;if(null!==t)for(let s=0;s<t.length;s++){const a=t[s];"number"==typeof a?i=a:i===r&&(Array.isArray(e)||(e=void 0===e?[]:["",e]),ci(e,a,!!n||t[++s]))}return void 0===e?null:e}function gf(e,t,n,r,i,s,a,f){if(!(3&t.type))return;const m=e.data,N=m[f+1];Oa(function Dd(e){return 1==(1&e)}(N)?mf(m,t,n,i,uo(N),a):void 0)||(Oa(s)||function Ed(e){return 2==(2&e)}(N)&&(s=mf(m,null,n,i,f,a)),function f_(e,t,n,r,i){const s=ue(e);if(t)i?s?e.addClass(n,r):n.classList.add(r):s?e.removeClass(n,r):n.classList.remove(r);else{let a=-1===r.indexOf("-")?void 0:Ki.DashCase;if(null==i)s?e.removeStyle(n,r,a):n.style.removeProperty(r);else{const f="string"==typeof i&&i.endsWith("!important");f&&(i=i.slice(0,-10),a|=Ki.Important),s?e.setStyle(n,r,i,a):n.style.setProperty(r,i,f?"important":"")}}}(r,a,xn(Yn(),n),i,s))}function mf(e,t,n,r,i,s){const a=null===t;let f;for(;i>0;){const m=e[i],N=Array.isArray(m),H=N?m[1]:m,ee=null===H;let he=n[i+1];he===wn&&(he=ee?Ct:void 0);let Fe=ee?el(he,r):H===r?he:void 0;if(N&&!Oa(Fe)&&(Fe=el(m,r)),Oa(Fe)&&(f=Fe,a))return f;const ot=e[i+1];i=a?Ri(ot):uo(ot)}if(null!==t){let m=s?t.residualClasses:t.residualStyles;null!=m&&(f=el(m,r))}return f}function Oa(e){return void 0!==e}function _f(e,t){return 0!=(e.flags&(t?16:32))}function yf(e,t=""){const n=mt(),r=Tn(),i=e+20,s=r.firstCreatePass?Uo(r,i,1,t,null):r.data[i],a=n[i]=function Cl(e,t){return ue(e)?e.createText(t):e.createTextNode(t)}(n[11],t);fa(r,n,a,s),Wr(s,!1)}function Cc(e){return Aa("",e,""),Cc}function Aa(e,t,n){const r=mt(),i=Ko(r,e,t,n);return i!==wn&&ho(r,Yn(),i),Aa}function Tf(e,t,n){ki(ci,Xi,Ko(mt(),e,t,n),!0)}const Do=void 0;var Gv=["en",[["a","p"],["AM","PM"],Do],[["AM","PM"],Do,Do],[["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"]],Do,[["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"]],Do,[["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}",Do,"{1} 'at' {0}",Do],[".",",",";","%","+","-","E","×","‰","∞","NaN",":"],["#,##0.###","#,##0%","¤#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function $v(e){const n=Math.floor(Math.abs(e)),r=e.toString().replace(/^[^.]*\.?/,"").length;return 1===n&&0===r?1:5}];let is={};function bc(e){const t=function zv(e){return e.toLowerCase().replace(/_/g,"-")}(e);let n=jf(t);if(n)return n;const r=t.split("-")[0];if(n=jf(r),n)return n;if("en"===r)return Gv;throw new Error(`Missing locale data for the locale "${e}".`)}function Bf(e){return bc(e)[gn.PluralCase]}function jf(e){return e in is||(is[e]=Jt.ng&&Jt.ng.common&&Jt.ng.common.locales&&Jt.ng.common.locales[e]),is[e]}var gn=(()=>((gn=gn||{})[gn.LocaleId=0]="LocaleId",gn[gn.DayPeriodsFormat=1]="DayPeriodsFormat",gn[gn.DayPeriodsStandalone=2]="DayPeriodsStandalone",gn[gn.DaysFormat=3]="DaysFormat",gn[gn.DaysStandalone=4]="DaysStandalone",gn[gn.MonthsFormat=5]="MonthsFormat",gn[gn.MonthsStandalone=6]="MonthsStandalone",gn[gn.Eras=7]="Eras",gn[gn.FirstDayOfWeek=8]="FirstDayOfWeek",gn[gn.WeekendRange=9]="WeekendRange",gn[gn.DateFormat=10]="DateFormat",gn[gn.TimeFormat=11]="TimeFormat",gn[gn.DateTimeFormat=12]="DateTimeFormat",gn[gn.NumberSymbols=13]="NumberSymbols",gn[gn.NumberFormats=14]="NumberFormats",gn[gn.CurrencyCode=15]="CurrencyCode",gn[gn.CurrencySymbol=16]="CurrencySymbol",gn[gn.CurrencyName=17]="CurrencyName",gn[gn.Currencies=18]="Currencies",gn[gn.Directionality=19]="Directionality",gn[gn.PluralCase=20]="PluralCase",gn[gn.ExtraData=21]="ExtraData",gn))();const xa="en-US";let Uf=xa;function Dc(e,t,n,r,i){if(e=Oe(e),Array.isArray(e))for(let s=0;s<e.length;s++)Dc(e[s],t,n,r,i);else{const s=Tn(),a=mt();let f=zo(e)?e:Oe(e.provide),m=rh(e);const N=cr(),H=1048575&N.providerIndexes,ee=N.directiveStart,he=N.providerIndexes>>20;if(zo(e)||!e.multi){const Fe=new so(m,i,Fs),ot=Sc(f,t,i?H:H+he,ee);-1===ot?(Ro(Co(N,a),s,f),Mc(s,e,t.length),t.push(f),N.directiveStart++,N.directiveEnd++,i&&(N.providerIndexes+=1048576),n.push(Fe),a.push(Fe)):(n[ot]=Fe,a[ot]=Fe)}else{const Fe=Sc(f,t,H+he,ee),ot=Sc(f,t,H,H+he),Pt=Fe>=0&&n[Fe],$t=ot>=0&&n[ot];if(i&&!$t||!i&&!Pt){Ro(Co(N,a),s,f);const en=function $C(e,t,n,r,i){const s=new so(e,n,Fs);return s.multi=[],s.index=t,s.componentProviders=0,dp(s,i,r&&!n),s}(i?HC:UC,n.length,i,r,m);!i&&$t&&(n[ot].providerFactory=en),Mc(s,e,t.length,0),t.push(f),N.directiveStart++,N.directiveEnd++,i&&(N.providerIndexes+=1048576),n.push(en),a.push(en)}else Mc(s,e,Fe>-1?Fe:ot,dp(n[i?ot:Fe],m,!i&&r));!i&&r&&$t&&n[ot].componentProviders++}}}function Mc(e,t,n,r){const i=zo(t),s=function my(e){return!!e.useClass}(t);if(i||s){const m=(s?Oe(t.useClass):t).prototype.ngOnDestroy;if(m){const N=e.destroyHooks||(e.destroyHooks=[]);if(!i&&t.multi){const H=N.indexOf(n);-1===H?N.push(n,[r,m]):N[H+1].push(r,m)}else N.push(n,m)}}}function dp(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function Sc(e,t,n,r){for(let i=n;i<r;i++)if(t[i]===e)return i;return-1}function UC(e,t,n,r){return Tc(this.multi,[])}function HC(e,t,n,r){const i=this.multi;let s;if(this.providerFactory){const a=this.providerFactory.componentProviders,f=d(n,n[1],this.providerFactory.index,r);s=f.slice(0,a),Tc(i,s);for(let m=a;m<f.length;m++)s.push(f[m])}else s=[],Tc(i,s);return s}function Tc(e,t){for(let n=0;n<e.length;n++)t.push((0,e[n])());return t}function hp(e,t=[]){return n=>{n.providersResolver=(r,i)=>function jC(e,t,n){const r=Tn();if(r.firstCreatePass){const i=dr(e);Dc(n,r.data,r.blueprint,i,!0),Dc(t,r.data,r.blueprint,i,!1)}}(r,i?i(e):e,t)}}class fp{}class WC{resolveComponentFactory(t){throw function zC(e){const t=Error(`No component factory found for ${te(e)}. Did you add it to @NgModule.entryComponents?`);return t.ngComponent=e,t}(t)}}let ka=(()=>{class e{}return e.NULL=new WC,e})();function YC(){return ss(cr(),mt())}function ss(e,t){return new Us(mn(e,t))}let Us=(()=>{class e{constructor(n){this.nativeElement=n}}return e.__NG_ELEMENT_ID__=YC,e})();function KC(e){return e instanceof Us?e.nativeElement:e}class gp{}let ZC=(()=>{class e{}return e.__NG_ELEMENT_ID__=()=>function qC(){const e=mt(),n=On(cr().index,e);return function QC(e){return e[11]}(Ln(n)?n:e)}(),e})(),JC=(()=>{class e{}return e.ɵprov=Ut({token:e,providedIn:"root",factory:()=>null}),e})();class mp{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const XC=new mp("13.3.11"),Pc={};function La(e,t,n,r,i=!1){for(;null!==n;){const s=t[n.index];if(null!==s&&r.push(Dt(s)),rr(s))for(let f=10;f<s.length;f++){const m=s[f],N=m[1].firstChild;null!==N&&La(m[1],m,N,r)}const a=n.type;if(8&a)La(e,t,n.child,r);else if(32&a){const f=_l(n,t);let m;for(;m=f();)r.push(m)}else if(16&a){const f=dd(t,n);if(Array.isArray(f))r.push(...f);else{const m=Ps(t[16]);La(m[1],m,f,r,!0)}}n=i?n.projectionNext:n.next}return r}class Hs{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 La(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(rr(t)){const n=t[8],r=n?n.indexOf(this):-1;r>-1&&(wl(t,r),na(n,r))}this._attachedToViewContainer=!1}nd(this._lView[1],this._lView)}onDestroy(t){Vd(this._lView[1],this._lView,null,t)}markForCheck(){zl(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-129}reattach(){this._lView[2]|=128}detectChanges(){!function Yl(e,t,n){const r=t[10];r.begin&&r.begin();try{$o(e,t,e.template,n)}catch(i){throw qd(t,i),i}finally{r.end&&r.end()}}(this._lView[1],this._lView,this.context)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new ze(902,"");this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function r_(e,t){Os(e,t,t[11],2,null,null)}(this._lView[1],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new ze(902,"");this._appRef=t}}class eb extends Hs{constructor(t){super(t),this._view=t}detectChanges(){Yd(this._view)}checkNoChanges(){}get context(){return null}}class _p extends ka{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const n=ie(t);return new Oc(n,this.ngModule)}}function yp(e){const t=[];for(let n in e)e.hasOwnProperty(n)&&t.push({propName:e[n],templateName:n});return t}class Oc extends fp{constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=function E_(e){return e.map(w_).join(",")}(t.selectors),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!n}get inputs(){return yp(this.componentDef.inputs)}get outputs(){return yp(this.componentDef.outputs)}create(t,n,r,i){const s=(i=i||this.ngModule)?function nb(e,t){return{get:(n,r,i)=>{const s=e.get(n,Pc,i);return s!==Pc||r===Pc?s:t.get(n,r,i)}}}(t,i.injector):t,a=s.get(gp,Ze),f=s.get(JC,null),m=a.createRenderer(null,this.componentDef),N=this.componentDef.selectors[0][0]||"div",H=r?function Ld(e,t,n){if(ue(e))return e.selectRootElement(t,n===at.ShadowDom);let r="string"==typeof t?e.querySelector(t):t;return r.textContent="",r}(m,r,this.componentDef.encapsulation):bl(a.createRenderer(null,this.componentDef),N,function tb(e){const t=e.toLowerCase();return"svg"===t?"svg":"math"===t?"math":null}(N)),ee=this.componentDef.onPush?576:528,he=function gh(e,t){return{components:[],scheduler:e||Qm,clean:ay,playerHandler:t||null,flags:0}}(),Fe=ya(0,null,null,1,0,null,null,null,null,null),ot=As(null,Fe,he,ee,null,null,a,m,f,s);let Pt,$t;Xn(ot);try{const en=function fh(e,t,n,r,i,s){const a=n[1];n[20]=e;const m=Uo(a,20,2,"#host",null),N=m.mergedAttrs=t.hostAttrs;null!==N&&(Ca(m,N,!0),null!==e&&(ao(i,e,N),null!==m.classes&&Tl(i,e,m.classes),null!==m.styles&&pd(i,e,m.styles)));const H=r.createRenderer(e,t),ee=As(n,Fd(t),null,t.onPush?64:16,n[20],m,r,H,s||null,null);return a.firstCreatePass&&(Ro(Co(m,n),a,t.type),$d(a,m),Gd(m,n.length,1)),va(n,ee),n[20]=ee}(H,this.componentDef,ot,a,m);if(H)if(r)ao(m,H,["ng-version",XC.full]);else{const{attrs:gt,classes:un}=function D_(e){const t=[],n=[];let r=1,i=2;for(;r<e.length;){let s=e[r];if("string"==typeof s)2===i?""!==s&&t.push(s,e[++r]):8===i&&n.push(s);else{if(!Ii(i))break;i=s}r++}return{attrs:t,classes:n}}(this.componentDef.selectors[0]);gt&&ao(m,H,gt),un&&un.length>0&&Tl(m,H,un.join(" "))}if($t=Pn(Fe,20),void 0!==n){const gt=$t.projection=[];for(let un=0;un<this.ngContentSelectors.length;un++){const An=n[un];gt.push(null!=An?Array.from(An):null)}}Pt=function ph(e,t,n,r,i){const s=n[1],a=function z_(e,t,n){const r=cr();e.firstCreatePass&&(n.providersResolver&&n.providersResolver(n),zd(e,r,t,Ho(e,t,1,null),n));const i=d(t,e,r.directiveStart,r);Br(i,t);const s=mn(r,t);return s&&Br(s,t),i}(s,n,t);if(r.components.push(a),e[8]=a,i&&i.forEach((m=>m(a,t))),t.contentQueries){const m=cr();t.contentQueries(1,a,m.directiveStart)}const f=cr();return!s.firstCreatePass||null===t.hostBindings&&null===t.hostAttrs||(Xr(f.index),Ud(n[1],f,0,f.directiveStart,f.directiveEnd,t),Hd(t,a)),a}(en,this.componentDef,ot,he,[Ty]),xs(Fe,ot,null)}finally{gr()}return new ib(this.componentType,Pt,ss($t,ot),ot,$t)}}class ib extends class GC{}{constructor(t,n,r,i,s){super(),this.location=r,this._rootLView=i,this._tNode=s,this.instance=n,this.hostView=this.changeDetectorRef=new eb(i),this.componentType=t}get injector(){return new Y(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}}class as{}class vp{}const ls=new Map;class wp extends as{constructor(t,n){super(),this._parent=n,this._bootstrapComponents=[],this.injector=this,this.destroyCbs=[],this.componentFactoryResolver=new _p(this);const r=Tt(t);this._bootstrapComponents=Yi(r.bootstrap),this._r3Injector=nh(t,n,[{provide:as,useValue:this},{provide:ka,useValue:this.componentFactoryResolver}],te(t)),this._r3Injector._resolveInjectorDefTypes(),this.instance=this.get(t)}get(t,n=Qi.THROW_IF_NOT_FOUND,r=ge.Default){return t===Qi||t===as||t===Zl?this:this._r3Injector.get(t,n,r)}destroy(){const t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach((n=>n())),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}}class Ac extends vp{constructor(t){super(),this.moduleType=t,null!==Tt(t)&&function sb(e){const t=new Set;!function n(r){const i=Tt(r,!0),s=i.id;null!==s&&(function Cp(e,t,n){if(t&&t!==n)throw new Error(`Duplicate module registered for ${e} - ${te(t)} vs ${te(t.name)}`)}(s,ls.get(s),r),ls.set(s,r));const a=Yi(i.imports);for(const f of a)t.has(f)||(t.add(f),n(f))}(e)}(t)}create(t){return new wp(this.moduleType,t)}}function Ep(e,t,n){const r=y()+e,i=mt();return i[r]===wn?qi(i,r,n?t.call(n):t()):function Ns(e,t){return e[t]}(i,r)}function Dp(e,t,n,r){return Tp(mt(),y(),e,t,n,r)}function Mp(e,t,n,r,i){return Pp(mt(),y(),e,t,n,r,i)}function Sp(e,t,n,r,i,s){return function Op(e,t,n,r,i,s,a,f){const m=t+n;return function wa(e,t,n,r,i){const s=Eo(e,t,n,r);return jr(e,t+2,i)||s}(e,m,i,s,a)?qi(e,m+3,f?r.call(f,i,s,a):r(i,s,a)):$s(e,m+3)}(mt(),y(),e,t,n,r,i,s)}function $s(e,t){const n=e[t];return n===wn?void 0:n}function Tp(e,t,n,r,i,s){const a=t+n;return jr(e,a,i)?qi(e,a+1,s?r.call(s,i):r(i)):$s(e,a+1)}function Pp(e,t,n,r,i,s,a){const f=t+n;return Eo(e,f,i,s)?qi(e,f+2,a?r.call(a,i,s):r(i,s)):$s(e,f+2)}function Ip(e,t){const n=Tn();let r;const i=e+20;n.firstCreatePass?(r=function fb(e,t){if(t)for(let n=t.length-1;n>=0;n--){const r=t[n];if(e===r.name)return r}}(t,n.pipeRegistry),n.data[i]=r,r.onDestroy&&(n.destroyHooks||(n.destroyHooks=[])).push(i,r.onDestroy)):r=n.data[i];const s=r.factory||(r.factory=Rr(r.type)),a=F(Fs);try{const f=vi(!1),m=s();return vi(f),function By(e,t,n,r){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=r}(n,mt(),i,m),m}finally{F(a)}}function Rp(e,t,n){const r=e+20,i=mt(),s=Un(i,r);return Gs(i,r)?Tp(i,y(),t,s.transform,n,s):s.transform(n)}function Np(e,t,n,r){const i=e+20,s=mt(),a=Un(s,i);return Gs(s,i)?Pp(s,y(),t,a.transform,n,r,a):a.transform(n,r)}function Gs(e,t){return e[1].data[t].pure}function xc(e){return t=>{setTimeout(e,void 0,t)}}const eo=class _b extends o.xQ{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,n,r){let i=t,s=n||(()=>null),a=r;if(t&&"object"==typeof t){const m=t;i=m.next?.bind(m),s=m.error?.bind(m),a=m.complete?.bind(m)}this.__isAsync&&(s=xc(s),i&&(i=xc(i)),a&&(a=xc(a)));const f=super.subscribe({next:i,error:s,complete:a});return t instanceof p.w&&t.add(f),f}};function yb(){return this._results[Wo()]()}class Ic{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=Wo(),r=Ic.prototype;r[n]||(r[n]=yb)}get changes(){return this._changes||(this._changes=new eo)}get(t){return this._results[t]}map(t){return this._results.map(t)}filter(t){return this._results.filter(t)}find(t){return this._results.find(t)}reduce(t,n){return this._results.reduce(t,n)}forEach(t){this._results.forEach(t)}some(t){return this._results.some(t)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(t,n){const r=this;r.dirty=!1;const i=bi(t);(this._changesDetected=!function Fg(e,t,n){if(e.length!==t.length)return!1;for(let r=0;r<e.length;r++){let i=e[r],s=t[r];if(n&&(i=n(i),s=n(s)),s!==i)return!1}return!0}(r._results,i,n))&&(r._results=i,r.length=i.length,r.last=i[this.length-1],r.first=i[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 zs=(()=>{class e{}return e.__NG_ELEMENT_ID__=bb,e})();const vb=zs,Cb=class extends vb{constructor(t,n,r){super(),this._declarationLView=t,this._declarationTContainer=n,this.elementRef=r}createEmbeddedView(t){const n=this._declarationTContainer.tViews,r=As(this._declarationLView,n,t,16,null,n.declTNode,null,null,null,null);r[17]=this._declarationLView[this._declarationTContainer.index];const s=this._declarationLView[19];return null!==s&&(r[19]=s.createEmbeddedView(n)),xs(n,r,t),new Hs(r)}};function bb(){return Va(cr(),mt())}function Va(e,t){return 4&e.type?new Cb(t,e,ss(e,t)):null}let Ba=(()=>{class e{}return e.__NG_ELEMENT_ID__=wb,e})();function wb(){return Lp(cr(),mt())}const Eb=Ba,Fp=class extends Eb{constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return ss(this._hostTNode,this._hostLView)}get injector(){return new Y(this._hostTNode,this._hostLView)}get parentInjector(){const t=Io(this._hostTNode,this._hostLView);if(Zs(t)){const n=Gi(t,this._hostLView),r=co(t);return new Y(n[1].data[r+8],n)}return new Y(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const n=kp(this._lContainer);return null!==n&&n[t]||null}get length(){return this._lContainer.length-10}createEmbeddedView(t,n,r){const i=t.createEmbeddedView(n||{});return this.insert(i,r),i}createComponent(t,n,r,i,s){const a=t&&!function ms(e){return"function"==typeof e}(t);let f;if(a)f=n;else{const ee=n||{};f=ee.index,r=ee.injector,i=ee.projectableNodes,s=ee.ngModuleRef}const m=a?t:new Oc(ie(t)),N=r||this.parentInjector;if(!s&&null==m.ngModule){const he=(a?N:this.parentInjector).get(as,null);he&&(s=he)}const H=m.create(N,i,void 0,s);return this.insert(H.hostView,f),H}insert(t,n){const r=t._lView,i=r[1];if(function Or(e){return rr(e[3])}(r)){const H=this.indexOf(t);if(-1!==H)this.detach(H);else{const ee=r[3],he=new Fp(ee,ee[6],ee[3]);he.detach(he.indexOf(t))}}const s=this._adjustIndex(n),a=this._lContainer;!function o_(e,t,n,r){const i=10+r,s=n.length;r>0&&(n[i-1][4]=t),r<s-10?(t[4]=n[i],_u(n,10+r,t)):(n.push(t),t[4]=null),t[3]=n;const a=t[17];null!==a&&n!==a&&function s_(e,t){const n=e[9];t[16]!==t[3][3][16]&&(e[2]=!0),null===n?e[9]=[t]:n.push(t)}(a,t);const f=t[19];null!==f&&f.insertView(e),t[2]|=128}(i,r,a,s);const f=Ml(s,a),m=r[11],N=ha(m,a[7]);return null!==N&&function n_(e,t,n,r,i,s){r[0]=i,r[6]=t,Os(e,r,n,1,i,s)}(i,a[6],m,r,N,f),t.attachToViewContainerRef(),_u(Rc(a),s,t),t}move(t,n){return this.insert(t,n)}indexOf(t){const n=kp(this._lContainer);return null!==n?n.indexOf(t):-1}remove(t){const n=this._adjustIndex(t,-1),r=wl(this._lContainer,n);r&&(na(Rc(this._lContainer),n),nd(r[1],r))}detach(t){const n=this._adjustIndex(t,-1),r=wl(this._lContainer,n);return r&&null!=na(Rc(this._lContainer),n)?new Hs(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function kp(e){return e[8]}function Rc(e){return e[8]||(e[8]=[])}function Lp(e,t){let n;const r=t[e.index];if(rr(r))n=r;else{let i;if(8&e.type)i=Dt(r);else{const s=t[11];i=s.createComment("");const a=mn(e,t);wo(s,ha(s,a),i,function u_(e,t){return ue(e)?e.nextSibling(t):t.nextSibling}(s,a),!1)}t[e.index]=n=Wd(r,t,i,e),va(t,n)}return new Fp(n,e,t)}class Nc{constructor(t){this.queryList=t,this.matches=null}clone(){return new Nc(this.queryList)}setDirty(){this.queryList.setDirty()}}class Fc{constructor(t=[]){this.queries=t}createEmbeddedView(t){const n=t.queries;if(null!==n){const r=null!==t.contentQueries?t.contentQueries[0]:n.length,i=[];for(let s=0;s<r;s++){const a=n.getByIndex(s);i.push(this.queries[a.indexInDeclarationView].clone())}return new Fc(i)}return null}insertView(t){this.dirtyQueriesWithMatches(t)}detachView(t){this.dirtyQueriesWithMatches(t)}dirtyQueriesWithMatches(t){for(let n=0;n<this.queries.length;n++)null!==Wp(t,n).matches&&this.queries[n].setDirty()}}class Vp{constructor(t,n,r=null){this.predicate=t,this.flags=n,this.read=r}}class kc{constructor(t=[]){this.queries=t}elementStart(t,n){for(let r=0;r<this.queries.length;r++)this.queries[r].elementStart(t,n)}elementEnd(t){for(let n=0;n<this.queries.length;n++)this.queries[n].elementEnd(t)}embeddedTView(t){let n=null;for(let r=0;r<this.length;r++){const i=null!==n?n.length:0,s=this.getByIndex(r).embeddedTView(t,i);s&&(s.indexInDeclarationView=r,null!==n?n.push(s):n=[s])}return null!==n?new kc(n):null}template(t,n){for(let r=0;r<this.queries.length;r++)this.queries[r].template(t,n)}getByIndex(t){return this.queries[t]}get length(){return this.queries.length}track(t){this.queries.push(t)}}class Lc{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 Lc(this.metadata)):null}isApplyingToNode(t){if(this._appliesToNextNode&&1!=(1&this.metadata.flags)){const n=this._declarationNodeIndex;let r=t.parent;for(;null!==r&&8&r.type&&r.index!==n;)r=r.parent;return n===(null!==r?r.index:-1)}return this._appliesToNextNode}matchTNode(t,n){const r=this.metadata.predicate;if(Array.isArray(r))for(let i=0;i<r.length;i++){const s=r[i];this.matchTNodeWithReadOption(t,n,Sb(n,s)),this.matchTNodeWithReadOption(t,n,g(n,t,s,!1,!1))}else r===zs?4&n.type&&this.matchTNodeWithReadOption(t,n,-1):this.matchTNodeWithReadOption(t,n,g(n,t,r,!1,!1))}matchTNodeWithReadOption(t,n,r){if(null!==r){const i=this.metadata.read;if(null!==i)if(i===Us||i===Ba||i===zs&&4&n.type)this.addMatch(n.index,-2);else{const s=g(n,t,i,!1,!1);null!==s&&this.addMatch(n.index,s)}else this.addMatch(n.index,r)}}addMatch(t,n){null===this.matches?this.matches=[t,n]:this.matches.push(t,n)}}function Sb(e,t){const n=e.localNames;if(null!==n)for(let r=0;r<n.length;r+=2)if(n[r]===t)return n[r+1];return null}function Pb(e,t,n,r){return-1===n?function Tb(e,t){return 11&e.type?ss(e,t):4&e.type?Va(e,t):null}(t,e):-2===n?function Ob(e,t,n){return n===Us?ss(t,e):n===zs?Va(t,e):n===Ba?Lp(t,e):void 0}(e,t,r):d(e,e[1],n,t)}function Bp(e,t,n,r){const i=t[19].queries[r];if(null===i.matches){const s=e.data,a=n.matches,f=[];for(let m=0;m<a.length;m+=2){const N=a[m];f.push(N<0?null:Pb(t,s[N],a[m+1],n.metadata.read))}i.matches=f}return i.matches}function Vc(e,t,n,r){const i=e.queries.getByIndex(n),s=i.matches;if(null!==s){const a=Bp(e,t,i,n);for(let f=0;f<s.length;f+=2){const m=s[f];if(m>0)r.push(a[f/2]);else{const N=s[f+1],H=t[-m];for(let ee=10;ee<H.length;ee++){const he=H[ee];he[17]===he[3]&&Vc(he[1],he,N,r)}if(null!==H[9]){const ee=H[9];for(let he=0;he<ee.length;he++){const Fe=ee[he];Vc(Fe[1],Fe,N,r)}}}}}return r}function jp(e){const t=mt(),n=Tn(),r=cn();Cn(r+1);const i=Wp(n,r);if(e.dirty&&br(t)===(2==(2&i.metadata.flags))){if(null===i.matches)e.reset([]);else{const s=i.crossesNgTemplate?Vc(n,t,r,[]):Bp(n,t,i,r);e.reset(s,KC),e.notifyOnChanges()}return!0}return!1}function Up(e,t,n){const r=Tn();r.firstCreatePass&&(zp(r,new Vp(e,t,n),-1),2==(2&t)&&(r.staticViewQueries=!0)),Gp(r,mt(),t)}function Hp(e,t,n,r){const i=Tn();if(i.firstCreatePass){const s=cr();zp(i,new Vp(t,n,r),s.index),function xb(e,t){const n=e.contentQueries||(e.contentQueries=[]);t!==(n.length?n[n.length-1]:-1)&&n.push(e.queries.length-1,t)}(i,e),2==(2&n)&&(i.staticContentQueries=!0)}Gp(i,mt(),n)}function $p(){return function Ab(e,t){return e[19].queries[t].queryList}(mt(),cn())}function Gp(e,t,n){const r=new Ic(4==(4&n));Vd(e,t,r,r.destroy),null===t[19]&&(t[19]=new Fc),t[19].queries.push(new Nc(r))}function zp(e,t,n){null===e.queries&&(e.queries=new kc),e.queries.track(new Lc(t,n))}function Wp(e,t){return e.queries.getByIndex(t)}function Yp(e,t){return Va(e,t)}function Ha(...e){}const ug=new tr("Application Initializer");let Gc=(()=>{class e{constructor(n){this.appInits=n,this.resolve=Ha,this.reject=Ha,this.initialized=!1,this.done=!1,this.donePromise=new Promise(((r,i)=>{this.resolve=r,this.reject=i}))}runInitializers(){if(this.initialized)return;const n=[],r=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let i=0;i<this.appInits.length;i++){const s=this.appInits[i]();if(fc(s))n.push(s);else if(Uh(s)){const a=new Promise(((f,m)=>{s.subscribe({complete:f,error:m})}));n.push(a)}}Promise.all(n).then((()=>{r()})).catch((i=>{this.reject(i)})),0===n.length&&r(),this.initialized=!0}}return e.ɵfac=function(n){return new(n||e)(xr(ug,8))},e.ɵprov=Ut({token:e,factory:e.ɵfac,providedIn:"root"}),e})();const dg=new tr("AppId",{providedIn:"root",factory:function hg(){return`${zc()}${zc()}${zc()}`}});function zc(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const fg=new tr("Platform Initializer"),Kb=new tr("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),pg=new tr("appBootstrapListener");let Zb=(()=>{class e{log(n){console.log(n)}warn(n){console.warn(n)}}return e.ɵfac=function(n){return new(n||e)},e.ɵprov=Ut({token:e,factory:e.ɵfac,providedIn:"platform"}),e})();const Wc=new tr("LocaleId",{providedIn:"root",factory:()=>Kg(Wc,ge.Optional|ge.SkipSelf)||function Qb(){return typeof $localize<"u"&&$localize.locale||xa}()}),qb=new tr("DefaultCurrencyCode",{providedIn:"root",factory:()=>"USD"});class Jb{constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}}let Xb=(()=>{class e{compileModuleSync(n){return new Ac(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){const r=this.compileModuleSync(n),s=Yi(Tt(n).declarations).reduce(((a,f)=>{const m=ie(f);return m&&a.push(new Oc(m)),a}),[]);return new Jb(r,s)}compileModuleAndAllComponentsAsync(n){return Promise.resolve(this.compileModuleAndAllComponentsSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}}return e.ɵfac=function(n){return new(n||e)},e.ɵprov=Ut({token:e,factory:e.ɵfac,providedIn:"root"}),e})();const t0=(()=>Promise.resolve(0))();function Yc(e){typeof Zone>"u"?t0.then((()=>{e&&e.apply(null,null)})):Zone.current.scheduleMicroTask("scheduleMicrotask",e)}class Li{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:r=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new eo(!1),this.onMicrotaskEmpty=new eo(!1),this.onStable=new eo(!1),this.onError=new eo(!1),typeof Zone>"u")throw new Error("In this configuration Angular requires Zone.js");Zone.assertZonePatched();const i=this;i._nesting=0,i._outer=i._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(i._inner=i._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(i._inner=i._inner.fork(Zone.longStackTraceZoneSpec)),i.shouldCoalesceEventChangeDetection=!r&&n,i.shouldCoalesceRunChangeDetection=r,i.lastRequestAnimationFrameId=-1,i.nativeRequestAnimationFrame=function n0(){let e=Jt.requestAnimationFrame,t=Jt.cancelAnimationFrame;if(typeof Zone<"u"&&e&&t){const n=e[Zone.__symbol__("OriginalDelegate")];n&&(e=n);const r=t[Zone.__symbol__("OriginalDelegate")];r&&(t=r)}return{nativeRequestAnimationFrame:e,nativeCancelAnimationFrame:t}}().nativeRequestAnimationFrame,function s0(e){const t=()=>{!function o0(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(Jt,(()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",(()=>{e.lastRequestAnimationFrameId=-1,Zc(e),e.isCheckStableRunning=!0,Kc(e),e.isCheckStableRunning=!1}),void 0,(()=>{}),(()=>{}))),e.fakeTopEventTask.invoke()})),Zc(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,r,i,s,a,f)=>{try{return gg(e),n.invokeTask(i,s,a,f)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===s.type||e.shouldCoalesceRunChangeDetection)&&t(),mg(e)}},onInvoke:(n,r,i,s,a,f,m)=>{try{return gg(e),n.invoke(i,s,a,f,m)}finally{e.shouldCoalesceRunChangeDetection&&t(),mg(e)}},onHasTask:(n,r,i,s)=>{n.hasTask(i,s),r===i&&("microTask"==s.change?(e._hasPendingMicrotasks=s.microTask,Zc(e),Kc(e)):"macroTask"==s.change&&(e.hasPendingMacrotasks=s.macroTask))},onHandleError:(n,r,i,s)=>(n.handleError(i,s),e.runOutsideAngular((()=>e.onError.emit(s))),!1)})}(i)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!Li.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")}static assertNotInAngularZone(){if(Li.isInAngularZone())throw new Error("Expected to not be in Angular Zone, but it is!")}run(t,n,r){return this._inner.run(t,n,r)}runTask(t,n,r,i){const s=this._inner,a=s.scheduleEventTask("NgZoneEvent: "+i,t,r0,Ha,Ha);try{return s.runTask(a,n,r)}finally{s.cancelTask(a)}}runGuarded(t,n,r){return this._inner.runGuarded(t,n,r)}runOutsideAngular(t){return this._outer.run(t)}}const r0={};function Kc(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 Zc(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function gg(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function mg(e){e._nesting--,Kc(e)}class a0{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new eo,this.onMicrotaskEmpty=new eo,this.onStable=new eo,this.onError=new eo}run(t,n,r){return t.apply(n,r)}runGuarded(t,n,r){return t.apply(n,r)}runOutsideAngular(t){return t()}runTask(t,n,r,i){return t.apply(n,r)}}let _g=(()=>{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:()=>{Li.assertNotInAngularZone(),Yc((()=>{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())Yc((()=>{for(;0!==this._callbacks.length;){let n=this._callbacks.pop();clearTimeout(n.timeoutId),n.doneCb(this._didWork)}this._didWork=!1}));else{let n=this.getPendingTasks();this._callbacks=this._callbacks.filter((r=>!r.updateCb||!r.updateCb(n)||(clearTimeout(r.timeoutId),!1))),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map((n=>({source:n.source,creationLocation:n.creationLocation,data:n.data}))):[]}addCallback(n,r,i){let s=-1;r&&r>0&&(s=setTimeout((()=>{this._callbacks=this._callbacks.filter((a=>a.timeoutId!==s)),n(this._didWork,this.getPendingTasks())}),r)),this._callbacks.push({doneCb:n,timeoutId:s,updateCb:i})}whenStable(n,r,i){if(i&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(n,r,i),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}findProviders(n,r,i){return[]}}return e.ɵfac=function(n){return new(n||e)(xr(Li))},e.ɵprov=Ut({token:e,factory:e.ɵfac}),e})(),l0=(()=>{class e{constructor(){this._applications=new Map,Qc.addToWindow(this)}registerApplication(n,r){this._applications.set(n,r)}unregisterApplication(n){this._applications.delete(n)}unregisterAllApplications(){this._applications.clear()}getTestability(n){return this._applications.get(n)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(n,r=!0){return Qc.findTestabilityInTree(this,n,r)}}return e.ɵfac=function(n){return new(n||e)},e.ɵprov=Ut({token:e,factory:e.ɵfac,providedIn:"platform"}),e})();class c0{addToWindow(t){}findTestabilityInTree(t,n,r){return null}}function u0(e){Qc=e}let Qc=new c0,Ys=null;const yg=new tr("AllowMultipleToken"),vg=new tr("PlatformOnDestroy");class f0{constructor(t,n){this.name=t,this.token=n}}function Cg(e,t,n=[]){const r=`Platform: ${t}`,i=new tr(r);return(s=[])=>{let a=qc();if(!a||a.injector.get(yg,!1)){const f=[...n,...s,{provide:i,useValue:!0}];e?e(f):function p0(e){if(Ys&&!Ys.get(yg,!1))throw new ze(400,"");Ys=e;const t=e.get(bg),n=e.get(fg,null);n&&n.forEach((r=>r()))}(function m0(e=[],t){return Qi.create({name:t,providers:[{provide:Ql,useValue:"platform"},{provide:vg,useValue:()=>Ys=null},...e]})}(f,r))}return function g0(e){const t=qc();if(!t)throw new ze(401,"");return t}()}}function qc(){return Ys?.get(bg)??null}let bg=(()=>{class e{constructor(n){this._injector=n,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(n,r){const f=function _0(e,t){let n;return n="noop"===e?new a0:("zone.js"===e?void 0:e)||new Li({enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:!!t?.ngZoneEventCoalescing,shouldCoalesceRunChangeDetection:!!t?.ngZoneRunCoalescing}),n}(r?r.ngZone:void 0,{ngZoneEventCoalescing:r&&r.ngZoneEventCoalescing||!1,ngZoneRunCoalescing:r&&r.ngZoneRunCoalescing||!1}),m=[{provide:Li,useValue:f}];return f.run((()=>{const N=Qi.create({providers:m,parent:this.injector,name:n.moduleType.name}),H=n.create(N),ee=H.injector.get(da,null);if(!ee)throw new ze(402,"");return f.runOutsideAngular((()=>{const he=f.onError.subscribe({next:Fe=>{ee.handleError(Fe)}});H.onDestroy((()=>{Xc(this._modules,H),he.unsubscribe()}))})),function y0(e,t,n){try{const r=n();return fc(r)?r.catch((i=>{throw t.runOutsideAngular((()=>e.handleError(i))),i})):r}catch(r){throw t.runOutsideAngular((()=>e.handleError(r))),r}}(ee,f,(()=>{const he=H.injector.get(Gc);return he.runInitializers(),he.donePromise.then((()=>(function Zv(e){Ae(e,"Expected localeId to be defined"),"string"==typeof e&&(Uf=e.toLowerCase().replace(/_/g,"-"))}(H.injector.get(Wc,xa)||xa),this._moduleDoBootstrap(H),H)))}))}))}bootstrapModule(n,r=[]){const i=wg({},r);return function d0(e,t,n){const r=new Ac(n);return Promise.resolve(r)}(0,0,n).then((s=>this.bootstrapModuleFactory(s,i)))}_moduleDoBootstrap(n){const r=n.injector.get(Jc);if(n._bootstrapComponents.length>0)n._bootstrapComponents.forEach((i=>r.bootstrap(i)));else{if(!n.instance.ngDoBootstrap)throw new ze(403,"");n.instance.ngDoBootstrap(r)}this._modules.push(n)}onDestroy(n){this._destroyListeners.push(n)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new ze(404,"");this._modules.slice().forEach((r=>r.destroy())),this._destroyListeners.forEach((r=>r())),this._injector.get(vg,null)?.(),this._destroyed=!0}get destroyed(){return this._destroyed}}return e.ɵfac=function(n){return new(n||e)(xr(Qi))},e.ɵprov=Ut({token:e,factory:e.ɵfac,providedIn:"platform"}),e})();function wg(e,t){return Array.isArray(t)?t.reduce(wg,e):{...e,...t}}let Jc=(()=>{class e{constructor(n,r,i,s){this._zone=n,this._injector=r,this._exceptionHandler=i,this._initStatus=s,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 a=new A.y((m=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular((()=>{m.next(this._stable),m.complete()}))})),f=new A.y((m=>{let N;this._zone.runOutsideAngular((()=>{N=this._zone.onStable.subscribe((()=>{Li.assertNotInAngularZone(),Yc((()=>{!this._stable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks&&(this._stable=!0,m.next(!0))}))}))}));const H=this._zone.onUnstable.subscribe((()=>{Li.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular((()=>{m.next(!1)})))}));return()=>{N.unsubscribe(),H.unsubscribe()}}));this.isStable=(0,S.T)(a,f.pipe(function x(){return e=>(0,I.x)()(function M(e,t){return function(r){let i;if(i="function"==typeof e?e:function(){return e},"function"==typeof t)return r.lift(new R(i,t));const s=Object.create(r,E.N);return s.source=r,s.subjectFactory=i,s}}(P)(e))}()))}bootstrap(n,r){if(!this._initStatus.done)throw new ze(405,"");let i;i=n instanceof fp?n:this._injector.get(ka).resolveComponentFactory(n),this.componentTypes.push(i.componentType);const s=function h0(e){return e.isBoundToModule}(i)?void 0:this._injector.get(as),f=i.create(Qi.NULL,[],r||i.selector,s),m=f.location.nativeElement,N=f.injector.get(_g,null),H=N&&f.injector.get(l0);return N&&H&&H.registerApplication(m,N),f.onDestroy((()=>{this.detachView(f.hostView),Xc(this.components,f),H&&H.unregisterApplication(m)})),this._loadComponent(f),f}tick(){if(this._runningTick)throw new ze(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 r=n;this._views.push(r),r.attachToAppRef(this)}detachView(n){const r=n;Xc(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n),this._injector.get(pg,[]).concat(this._bootstrapListeners).forEach((i=>i(n)))}ngOnDestroy(){this._views.slice().forEach((n=>n.destroy())),this._onMicrotaskEmptySubscription.unsubscribe()}get viewCount(){return this._views.length}}return e.ɵfac=function(n){return new(n||e)(xr(Li),xr(Qi),xr(da),xr(Gc))},e.ɵprov=Ut({token:e,factory:e.ɵfac,providedIn:"root"}),e})();function Xc(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}let Dg=!0,Mg=!1;function C0(){return Mg=!0,Dg}function b0(){if(Mg)throw new Error("Cannot enable prod mode after platform setup.");Dg=!1}let w0=(()=>{class e{}return e.__NG_ELEMENT_ID__=E0,e})();function E0(e){return function D0(e,t,n){if(_r(e)&&!n){const r=On(e.index,t);return new Hs(r,r)}return 47&e.type?new Hs(t[16],t):null}(cr(),mt(),16==(16&e))}class Og{constructor(){}supports(t){return Rs(t)}create(t){return new A0(t)}}const O0=(e,t)=>t;class A0{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||O0}forEachItem(t){let n;for(n=this._itHead;null!==n;n=n._next)t(n)}forEachOperation(t){let n=this._itHead,r=this._removalsHead,i=0,s=null;for(;n||r;){const a=!r||n&&n.currentIndex<xg(r,i,s)?n:r,f=xg(a,i,s),m=a.currentIndex;if(a===r)i--,r=r._nextRemoved;else if(n=n._next,null==a.previousIndex)i++;else{s||(s=[]);const N=f-i,H=m-i;if(N!=H){for(let he=0;he<N;he++){const Fe=he<s.length?s[he]:s[he]=0,ot=Fe+he;H<=ot&&ot<N&&(s[he]=Fe+1)}s[a.previousIndex]=H-N}}f!==m&&t(a,f,m)}}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=[]),!Rs(t))throw new ze(900,"");return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let i,s,a,n=this._itHead,r=!1;if(Array.isArray(t)){this.length=t.length;for(let f=0;f<this.length;f++)s=t[f],a=this._trackByFn(f,s),null!==n&&Object.is(n.trackById,a)?(r&&(n=this._verifyReinsertion(n,s,a,f)),Object.is(n.item,s)||this._addIdentityChange(n,s)):(n=this._mismatch(n,s,a,f),r=!0),n=n._next}else i=0,function Ly(e,t){if(Array.isArray(e))for(let n=0;n<e.length;n++)t(e[n]);else{const n=e[Wo()]();let r;for(;!(r=n.next()).done;)t(r.value)}}(t,(f=>{a=this._trackByFn(i,f),null!==n&&Object.is(n.trackById,a)?(r&&(n=this._verifyReinsertion(n,f,a,i)),Object.is(n.item,f)||this._addIdentityChange(n,f)):(n=this._mismatch(n,f,a,i),r=!0),n=n._next,i++})),this.length=i;return this._truncate(n),this.collection=t,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let t;for(t=this._previousItHead=this._itHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;null!==t;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;null!==t;t=t._nextMoved)t.previousIndex=t.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(t,n,r,i){let s;return null===t?s=this._itTail:(s=t._prev,this._remove(t)),null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._reinsertAfter(t,s,i)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(r,i))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._moveAfter(t,s,i)):t=this._addAfter(new x0(n,r),s,i),t}_verifyReinsertion(t,n,r,i){let s=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null);return null!==s?t=this._reinsertAfter(s,t._prev,i):t.currentIndex!=i&&(t.currentIndex=i,this._addToMoves(t,i)),t}_truncate(t){for(;null!==t;){const n=t._next;this._addToRemovals(this._unlink(t)),t=n}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(t,n,r){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(t);const i=t._prevRemoved,s=t._nextRemoved;return null===i?this._removalsHead=s:i._nextRemoved=s,null===s?this._removalsTail=i:s._prevRemoved=i,this._insertAfter(t,n,r),this._addToMoves(t,r),t}_moveAfter(t,n,r){return this._unlink(t),this._insertAfter(t,n,r),this._addToMoves(t,r),t}_addAfter(t,n,r){return this._insertAfter(t,n,r),this._additionsTail=null===this._additionsTail?this._additionsHead=t:this._additionsTail._nextAdded=t,t}_insertAfter(t,n,r){const i=null===n?this._itHead:n._next;return t._next=i,t._prev=n,null===i?this._itTail=t:i._prev=t,null===n?this._itHead=t:n._next=t,null===this._linkedRecords&&(this._linkedRecords=new Ag),this._linkedRecords.put(t),t.currentIndex=r,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){null!==this._linkedRecords&&this._linkedRecords.remove(t);const n=t._prev,r=t._next;return null===n?this._itHead=r:n._next=r,null===r?this._itTail=n:r._prev=n,t}_addToMoves(t,n){return t.previousIndex===n||(this._movesTail=null===this._movesTail?this._movesHead=t:this._movesTail._nextMoved=t),t}_addToRemovals(t){return null===this._unlinkedRecords&&(this._unlinkedRecords=new Ag),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 x0{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 I0{constructor(){this._head=null,this._tail=null}add(t){null===this._head?(this._head=this._tail=t,t._nextDup=null,t._prevDup=null):(this._tail._nextDup=t,t._prevDup=this._tail,t._nextDup=null,this._tail=t)}get(t,n){let r;for(r=this._head;null!==r;r=r._nextDup)if((null===n||n<=r.currentIndex)&&Object.is(r.trackById,t))return r;return null}remove(t){const n=t._prevDup,r=t._nextDup;return null===n?this._head=r:n._nextDup=r,null===r?this._tail=n:r._prevDup=n,null===this._head}}class Ag{constructor(){this.map=new Map}put(t){const n=t.trackById;let r=this.map.get(n);r||(r=new I0,this.map.set(n,r)),r.add(t)}get(t,n){const i=this.map.get(t);return i?i.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 xg(e,t,n){const r=e.previousIndex;if(null===r)return r;let i=0;return n&&r<n.length&&(i=n[r]),r+t+i}class Ig{constructor(){}supports(t){return t instanceof Map||rc(t)}create(){return new R0}}class R0{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||rc(t)))throw new ze(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,((r,i)=>{if(n&&n.key===i)this._maybeAddToChanges(n,r),this._appendAfter=n,n=n._next;else{const s=this._getOrCreateRecordForKey(i,r);n=this._insertBeforeOrAppend(n,s)}})),n){n._prev&&(n._prev._next=null),this._removalsHead=n;for(let r=n;null!==r;r=r._nextRemoved)r===this._mapHead&&(this._mapHead=null),this._records.delete(r.key),r._nextRemoved=r._next,r.previousValue=r.currentValue,r.currentValue=null,r._prev=null,r._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,n){if(t){const r=t._prev;return n._next=t,n._prev=r,t._prev=n,r&&(r._next=n),t===this._mapHead&&(this._mapHead=n),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=n,n._prev=this._appendAfter):this._mapHead=n,this._appendAfter=n,null}_getOrCreateRecordForKey(t,n){if(this._records.has(t)){const i=this._records.get(t);this._maybeAddToChanges(i,n);const s=i._prev,a=i._next;return s&&(s._next=a),a&&(a._prev=s),i._next=null,i._prev=null,i}const r=new N0(t);return this._records.set(t,r),r.currentValue=n,this._addToAdditions(r),r}_reset(){if(this.isDirty){let t;for(this._previousMapHead=this._mapHead,t=this._previousMapHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._changesHead;null!==t;t=t._nextChanged)t.previousValue=t.currentValue;for(t=this._additionsHead;null!=t;t=t._nextAdded)t.previousValue=t.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(t,n){Object.is(n,t.currentValue)||(t.previousValue=t.currentValue,t.currentValue=n,this._addToChanges(t))}_addToAdditions(t){null===this._additionsHead?this._additionsHead=this._additionsTail=t:(this._additionsTail._nextAdded=t,this._additionsTail=t)}_addToChanges(t){null===this._changesHead?this._changesHead=this._changesTail=t:(this._changesTail._nextChanged=t,this._changesTail=t)}_forEach(t,n){t instanceof Map?t.forEach(n):Object.keys(t).forEach((r=>n(t[r],r)))}}class N0{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 Rg(){return new iu([new Og])}let iu=(()=>{class e{constructor(n){this.factories=n}static create(n,r){if(null!=r){const i=r.factories.slice();n=n.concat(i)}return new e(n)}static extend(n){return{provide:e,useFactory:r=>e.create(n,r||Rg()),deps:[[e,new ws,new bs]]}}find(n){const r=this.factories.find((i=>i.supports(n)));if(null!=r)return r;throw new ze(901,"")}}return e.ɵprov=Ut({token:e,providedIn:"root",factory:Rg}),e})();function Ng(){return new ou([new Ig])}let ou=(()=>{class e{constructor(n){this.factories=n}static create(n,r){if(r){const i=r.factories.slice();n=n.concat(i)}return new e(n)}static extend(n){return{provide:e,useFactory:r=>e.create(n,r||Ng()),deps:[[e,new ws,new bs]]}}find(n){const r=this.factories.find((s=>s.supports(n)));if(r)return r;throw new ze(901,"")}}return e.ɵprov=Ut({token:e,providedIn:"root",factory:Ng}),e})();const L0=Cg(null,"core",[]);let V0=(()=>{class e{constructor(n){}}return e.ɵfac=function(n){return new(n||e)(xr(Jc))},e.ɵmod=ce({type:e}),e.ɵinj=Le({}),e})()},4719:(G,O,u)=>{"use strict";u.d(O,{Fj:()=>Ot,qu:()=>Gr,NI:()=>ur,u:()=>Qr,sg:()=>Si,u5:()=>Un,Fd:()=>Hr,qQ:()=>yr,JU:()=>Z,JJ:()=>se,JL:()=>ge,On:()=>Ir,YN:()=>Rr,wV:()=>dr,UX:()=>On,EJ:()=>oi,kI:()=>Lt,_Y:()=>_r,Kr:()=>si});var o=u(5062),p=u(6895),A=u(2916),S=u(6688),E=u(4850),M=u(7830),R=u(5254);function P(w,v){return new A.y((_=>{const V=w.length;if(0===V)return void _.complete();const tt=new Array(V);let Qt=0,Nn=0;for(let lr=0;lr<V;lr++){const zr=(0,R.D)(w[lr]);let Fr=!1;_.add(zr.subscribe({next:kr=>{Fr||(Fr=!0,Nn++),tt[lr]=kr},error:kr=>_.error(kr),complete:()=>{Qt++,(Qt===V||!Fr)&&(Nn===V&&_.next(v?v.reduce(((kr,po,mt)=>(kr[po]=tt[mt],kr)),{}):tt),_.complete())}}))}}))}let x=(()=>{class w{constructor(_,V){this._renderer=_,this._elementRef=V,this.onChange=tt=>{},this.onTouched=()=>{}}setProperty(_,V){this._renderer.setProperty(this._elementRef.nativeElement,_,V)}registerOnTouched(_){this.onTouched=_}registerOnChange(_){this.onChange=_}setDisabledState(_){this.setProperty("disabled",_)}}return w.ɵfac=function(_){return new(_||w)(o.Y36(o.Qsj),o.Y36(o.SBq))},w.ɵdir=o.lG2({type:w}),w})(),L=(()=>{class w extends x{}return w.ɵfac=function(){let v;return function(V){return(v||(v=o.n5z(w)))(V||w)}}(),w.ɵdir=o.lG2({type:w,features:[o.qOj]}),w})();const Z=new o.OlP("NgValueAccessor"),Ce={provide:Z,useExisting:(0,o.Gpc)((()=>Ot)),multi:!0},Oe=new o.OlP("CompositionEventMode");let Ot=(()=>{class w extends x{constructor(_,V,tt){super(_,V),this._compositionMode=tt,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function Te(){const w=(0,p.q)()?(0,p.q)().getUserAgent():"";return/android (\d+)/.test(w.toLowerCase())}())}writeValue(_){this.setProperty("value",_??"")}_handleInput(_){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(_)}_compositionStart(){this._composing=!0}_compositionEnd(_){this._composing=!1,this._compositionMode&&this.onChange(_)}}return w.ɵfac=function(_){return new(_||w)(o.Y36(o.Qsj),o.Y36(o.SBq),o.Y36(Oe,8))},w.ɵdir=o.lG2({type:w,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(_,V){1&_&&o.NdJ("input",(function(Qt){return V._handleInput(Qt.target.value)}))("blur",(function(){return V.onTouched()}))("compositionstart",(function(){return V._compositionStart()}))("compositionend",(function(Qt){return V._compositionEnd(Qt.target.value)}))},features:[o._Bn([Ce]),o.qOj]}),w})();function me(w){return null==w||0===w.length}function ze(w){return null!=w&&"number"==typeof w.length}const Ee=new o.OlP("NgValidators"),fe=new o.OlP("NgAsyncValidators"),bt=/^(?=.{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 Lt{static min(v){return xt(v)}static max(v){return je(v)}static required(v){return function Ue(w){return me(w.value)?{required:!0}:null}(v)}static requiredTrue(v){return function Qe(w){return!0===w.value?null:{required:!0}}(v)}static email(v){return function Nt(w){return me(w.value)||bt.test(w.value)?null:{email:!0}}(v)}static minLength(v){return function vt(w){return v=>me(v.value)||!ze(v.value)?null:v.value.length<w?{minlength:{requiredLength:w,actualLength:v.value.length}}:null}(v)}static maxLength(v){return function nt(w){return v=>ze(v.value)&&v.value.length>w?{maxlength:{requiredLength:w,actualLength:v.value.length}}:null}(v)}static pattern(v){return function we(w){if(!w)return be;let v,_;return"string"==typeof w?(_="","^"!==w.charAt(0)&&(_+="^"),_+=w,"$"!==w.charAt(w.length-1)&&(_+="$"),v=new RegExp(_)):(_=w.toString(),v=w),V=>{if(me(V.value))return null;const tt=V.value;return v.test(tt)?null:{pattern:{requiredPattern:_,actualValue:tt}}}}(v)}static nullValidator(v){return null}static compose(v){return De(v)}static composeAsync(v){return ve(v)}}function xt(w){return v=>{if(me(v.value)||me(w))return null;const _=parseFloat(v.value);return!isNaN(_)&&_<w?{min:{min:w,actual:v.value}}:null}}function je(w){return v=>{if(me(v.value)||me(w))return null;const _=parseFloat(v.value);return!isNaN(_)&&_>w?{max:{max:w,actual:v.value}}:null}}function be(w){return null}function rt(w){return null!=w}function Mt(w){const v=(0,o.QGY)(w)?(0,R.D)(w):w;return(0,o.CqO)(v),v}function wt(w){let v={};return w.forEach((_=>{v=null!=_?{...v,..._}:v})),0===Object.keys(v).length?null:v}function $e(w,v){return v.map((_=>_(w)))}function ct(w){return w.map((v=>function Ke(w){return!w.validate}(v)?v:_=>v.validate(_)))}function De(w){if(!w)return null;const v=w.filter(rt);return 0==v.length?null:function(_){return wt($e(_,v))}}function Ae(w){return null!=w?De(ct(w)):null}function ve(w){if(!w)return null;const v=w.filter(rt);return 0==v.length?null:function(_){return function I(...w){if(1===w.length){const v=w[0];if((0,S.k)(v))return P(v,null);if((0,M.K)(v)&&Object.getPrototypeOf(v)===Object.prototype){const _=Object.keys(v);return P(_.map((V=>v[V])),_)}}if("function"==typeof w[w.length-1]){const v=w.pop();return P(w=1===w.length&&(0,S.k)(w[0])?w[0]:w,null).pipe((0,E.U)((_=>v(..._))))}return P(w,null)}($e(_,v).map(Mt)).pipe((0,E.U)(wt))}}function Ge(w){return null!=w?ve(ct(w)):null}function Ye(w,v){return null===w?[v]:Array.isArray(w)?[...w,v]:[w,v]}function ht(w){return w._rawValidators}function Ut(w){return w._rawAsyncValidators}function fn(w){return w?Array.isArray(w)?w:[w]:[]}function Le(w,v){return Array.isArray(w)?w.includes(v):w===v}function Se(w,v){const _=fn(v);return fn(w).forEach((tt=>{Le(_,tt)||_.push(tt)})),_}function _e(w,v){return fn(v).filter((_=>!Le(w,_)))}class We{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(v){this._rawValidators=v||[],this._composedValidatorFn=Ae(this._rawValidators)}_setAsyncValidators(v){this._rawAsyncValidators=v||[],this._composedAsyncValidatorFn=Ge(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(v){this._onDestroyCallbacks.push(v)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach((v=>v())),this._onDestroyCallbacks=[]}reset(v){this.control&&this.control.reset(v)}hasError(v,_){return!!this.control&&this.control.hasError(v,_)}getError(v,_){return this.control?this.control.getError(v,_):null}}class dt extends We{get formDirective(){return null}get path(){return null}}class qt extends We{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class Bn{constructor(v){this._cd=v}is(v){return"submitted"===v?!!this._cd?.submitted:!!this._cd?.control?.[v]}}let se=(()=>{class w extends Bn{constructor(_){super(_)}}return w.ɵfac=function(_){return new(_||w)(o.Y36(qt,2))},w.ɵdir=o.lG2({type:w,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(_,V){2&_&&o.ekj("ng-untouched",V.is("untouched"))("ng-touched",V.is("touched"))("ng-pristine",V.is("pristine"))("ng-dirty",V.is("dirty"))("ng-valid",V.is("valid"))("ng-invalid",V.is("invalid"))("ng-pending",V.is("pending"))},features:[o.qOj]}),w})(),ge=(()=>{class w extends Bn{constructor(_){super(_)}}return w.ɵfac=function(_){return new(_||w)(o.Y36(dt,10))},w.ɵdir=o.lG2({type:w,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(_,V){2&_&&o.ekj("ng-untouched",V.is("untouched"))("ng-touched",V.is("touched"))("ng-pristine",V.is("pristine"))("ng-dirty",V.is("dirty"))("ng-valid",V.is("valid"))("ng-invalid",V.is("invalid"))("ng-pending",V.is("pending"))("ng-submitted",V.is("submitted"))},features:[o.qOj]}),w})();function zt(w,v){return[...v.path,w]}function Et(w,v){dn(w,v),v.valueAccessor.writeValue(w.value),function pn(w,v){v.valueAccessor.registerOnChange((_=>{w._pendingValue=_,w._pendingChange=!0,w._pendingDirty=!0,"change"===w.updateOn&&an(w,v)}))}(w,v),function de(w,v){const _=(V,tt)=>{v.valueAccessor.writeValue(V),tt&&v.viewToModelUpdate(V)};w.registerOnChange(_),v._registerOnDestroy((()=>{w._unregisterOnChange(_)}))}(w,v),function Vt(w,v){v.valueAccessor.registerOnTouched((()=>{w._pendingTouched=!0,"blur"===w.updateOn&&w._pendingChange&&an(w,v),"submit"!==w.updateOn&&w.markAsTouched()}))}(w,v),function yn(w,v){if(v.valueAccessor.setDisabledState){const _=V=>{v.valueAccessor.setDisabledState(V)};w.registerOnDisabledChange(_),v._registerOnDestroy((()=>{w._unregisterOnDisabledChange(_)}))}}(w,v)}function Ct(w,v,_=!0){const V=()=>{};v.valueAccessor&&(v.valueAccessor.registerOnChange(V),v.valueAccessor.registerOnTouched(V)),It(w,v),w&&(v._invokeOnDestroyCallbacks(),w._registerOnCollectionChange((()=>{})))}function sn(w,v){w.forEach((_=>{_.registerOnValidatorChange&&_.registerOnValidatorChange(v)}))}function dn(w,v){const _=ht(w);null!==v.validator?w.setValidators(Ye(_,v.validator)):"function"==typeof _&&w.setValidators([_]);const V=Ut(w);null!==v.asyncValidator?w.setAsyncValidators(Ye(V,v.asyncValidator)):"function"==typeof V&&w.setAsyncValidators([V]);const tt=()=>w.updateValueAndValidity();sn(v._rawValidators,tt),sn(v._rawAsyncValidators,tt)}function It(w,v){let _=!1;if(null!==w){if(null!==v.validator){const tt=ht(w);if(Array.isArray(tt)&&tt.length>0){const Qt=tt.filter((Nn=>Nn!==v.validator));Qt.length!==tt.length&&(_=!0,w.setValidators(Qt))}}if(null!==v.asyncValidator){const tt=Ut(w);if(Array.isArray(tt)&&tt.length>0){const Qt=tt.filter((Nn=>Nn!==v.asyncValidator));Qt.length!==tt.length&&(_=!0,w.setAsyncValidators(Qt))}}}const V=()=>{};return sn(v._rawValidators,V),sn(v._rawAsyncValidators,V),_}function an(w,v){w._pendingDirty&&w.markAsDirty(),w.setValue(w._pendingValue,{emitModelToViewChange:!1}),v.viewToModelUpdate(w._pendingValue),w._pendingChange=!1}function yt(w,v){if(!w.hasOwnProperty("model"))return!1;const _=w.model;return!!_.isFirstChange()||!Object.is(v,_.currentValue)}function ie(w,v){if(!v)return null;let _,V,tt;return Array.isArray(v),v.forEach((Qt=>{Qt.constructor===Ot?_=Qt:function ut(w){return Object.getPrototypeOf(w.constructor)===L}(Qt)?V=Qt:tt=Qt})),tt||V||_||null}function Ne(w,v){const _=w.indexOf(v);_>-1&&w.splice(_,1)}const Zt="VALID",Re="INVALID",Xe="PENDING",xe="DISABLED";function jt(w){return(rn(w)?w.validators:w)||null}function Gt(w){return Array.isArray(w)?Ae(w):w||null}function Rt(w,v){return(rn(v)?v.asyncValidators:w)||null}function Yt(w){return Array.isArray(w)?Ge(w):w||null}function rn(w){return null!=w&&!Array.isArray(w)&&"object"==typeof w}const on=w=>w instanceof ur,kt=w=>w instanceof Qn,vn=w=>w instanceof qn;function zn(w){return on(w)?w.value:w.getRawValue()}function Zn(w,v){const _=kt(w),V=w.controls;if(!(_?Object.keys(V):V).length)throw new o.vHH(1e3,"");if(!V[v])throw new o.vHH(1001,"")}function nr(w,v){kt(w),w._forEachChild(((V,tt)=>{if(void 0===v[tt])throw new o.vHH(1002,"")}))}class jn{constructor(v,_){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._rawValidators=v,this._rawAsyncValidators=_,this._composedValidatorFn=Gt(this._rawValidators),this._composedAsyncValidatorFn=Yt(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn}set validator(v){this._rawValidators=this._composedValidatorFn=v}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(v){this._rawAsyncValidators=this._composedAsyncValidatorFn=v}get parent(){return this._parent}get valid(){return this.status===Zt}get invalid(){return this.status===Re}get pending(){return this.status==Xe}get disabled(){return this.status===xe}get enabled(){return this.status!==xe}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(v){this._rawValidators=v,this._composedValidatorFn=Gt(v)}setAsyncValidators(v){this._rawAsyncValidators=v,this._composedAsyncValidatorFn=Yt(v)}addValidators(v){this.setValidators(Se(v,this._rawValidators))}addAsyncValidators(v){this.setAsyncValidators(Se(v,this._rawAsyncValidators))}removeValidators(v){this.setValidators(_e(v,this._rawValidators))}removeAsyncValidators(v){this.setAsyncValidators(_e(v,this._rawAsyncValidators))}hasValidator(v){return Le(this._rawValidators,v)}hasAsyncValidator(v){return Le(this._rawAsyncValidators,v)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(v={}){this.touched=!0,this._parent&&!v.onlySelf&&this._parent.markAsTouched(v)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild((v=>v.markAllAsTouched()))}markAsUntouched(v={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild((_=>{_.markAsUntouched({onlySelf:!0})})),this._parent&&!v.onlySelf&&this._parent._updateTouched(v)}markAsDirty(v={}){this.pristine=!1,this._parent&&!v.onlySelf&&this._parent.markAsDirty(v)}markAsPristine(v={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild((_=>{_.markAsPristine({onlySelf:!0})})),this._parent&&!v.onlySelf&&this._parent._updatePristine(v)}markAsPending(v={}){this.status=Xe,!1!==v.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!v.onlySelf&&this._parent.markAsPending(v)}disable(v={}){const _=this._parentMarkedDirty(v.onlySelf);this.status=xe,this.errors=null,this._forEachChild((V=>{V.disable({...v,onlySelf:!0})})),this._updateValue(),!1!==v.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...v,skipPristineCheck:_}),this._onDisabledChange.forEach((V=>V(!0)))}enable(v={}){const _=this._parentMarkedDirty(v.onlySelf);this.status=Zt,this._forEachChild((V=>{V.enable({...v,onlySelf:!0})})),this.updateValueAndValidity({onlySelf:!0,emitEvent:v.emitEvent}),this._updateAncestors({...v,skipPristineCheck:_}),this._onDisabledChange.forEach((V=>V(!1)))}_updateAncestors(v){this._parent&&!v.onlySelf&&(this._parent.updateValueAndValidity(v),v.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(v){this._parent=v}updateValueAndValidity(v={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===Zt||this.status===Xe)&&this._runAsyncValidator(v.emitEvent)),!1!==v.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!v.onlySelf&&this._parent.updateValueAndValidity(v)}_updateTreeValidity(v={emitEvent:!0}){this._forEachChild((_=>_._updateTreeValidity(v))),this.updateValueAndValidity({onlySelf:!0,emitEvent:v.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?xe:Zt}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(v){if(this.asyncValidator){this.status=Xe,this._hasOwnPendingAsyncValidator=!0;const _=Mt(this.asyncValidator(this));this._asyncValidationSubscription=_.subscribe((V=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(V,{emitEvent:v})}))}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(v,_={}){this.errors=v,this._updateControlsErrors(!1!==_.emitEvent)}get(v){return function qe(w,v,_){if(null==v||(Array.isArray(v)||(v=v.split(_)),Array.isArray(v)&&0===v.length))return null;let V=w;return v.forEach((tt=>{V=kt(V)?V.controls.hasOwnProperty(tt)?V.controls[tt]:null:vn(V)&&V.at(tt)||null})),V}(this,v,".")}getError(v,_){const V=_?this.get(_):this;return V&&V.errors?V.errors[v]:null}hasError(v,_){return!!this.getError(v,_)}get root(){let v=this;for(;v._parent;)v=v._parent;return v}_updateControlsErrors(v){this.status=this._calculateStatus(),v&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(v)}_initObservables(){this.valueChanges=new o.vpe,this.statusChanges=new o.vpe}_calculateStatus(){return this._allControlsDisabled()?xe:this.errors?Re:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(Xe)?Xe:this._anyControlsHaveStatus(Re)?Re:Zt}_anyControlsHaveStatus(v){return this._anyControls((_=>_.status===v))}_anyControlsDirty(){return this._anyControls((v=>v.dirty))}_anyControlsTouched(){return this._anyControls((v=>v.touched))}_updatePristine(v={}){this.pristine=!this._anyControlsDirty(),this._parent&&!v.onlySelf&&this._parent._updatePristine(v)}_updateTouched(v={}){this.touched=this._anyControlsTouched(),this._parent&&!v.onlySelf&&this._parent._updateTouched(v)}_isBoxedValue(v){return"object"==typeof v&&null!==v&&2===Object.keys(v).length&&"value"in v&&"disabled"in v}_registerOnCollectionChange(v){this._onCollectionChange=v}_setUpdateStrategy(v){rn(v)&&null!=v.updateOn&&(this._updateOn=v.updateOn)}_parentMarkedDirty(v){return!v&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}}class ur extends jn{constructor(v=null,_,V){super(jt(_),Rt(V,_)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(v),this._setUpdateStrategy(_),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),rn(_)&&_.initialValueIsDefault&&(this.defaultValue=this._isBoxedValue(v)?v.value:v)}setValue(v,_={}){this.value=this._pendingValue=v,this._onChange.length&&!1!==_.emitModelToViewChange&&this._onChange.forEach((V=>V(this.value,!1!==_.emitViewToModelChange))),this.updateValueAndValidity(_)}patchValue(v,_={}){this.setValue(v,_)}reset(v=this.defaultValue,_={}){this._applyFormState(v),this.markAsPristine(_),this.markAsUntouched(_),this.setValue(this.value,_),this._pendingChange=!1}_updateValue(){}_anyControls(v){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(v){this._onChange.push(v)}_unregisterOnChange(v){Ne(this._onChange,v)}registerOnDisabledChange(v){this._onDisabledChange.push(v)}_unregisterOnDisabledChange(v){Ne(this._onDisabledChange,v)}_forEachChild(v){}_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(v){this._isBoxedValue(v)?(this.value=this._pendingValue=v.value,v.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=v}}class Qn extends jn{constructor(v,_,V){super(jt(_),Rt(V,_)),this.controls=v,this._initObservables(),this._setUpdateStrategy(_),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(v,_){return this.controls[v]?this.controls[v]:(this.controls[v]=_,_.setParent(this),_._registerOnCollectionChange(this._onCollectionChange),_)}addControl(v,_,V={}){this.registerControl(v,_),this.updateValueAndValidity({emitEvent:V.emitEvent}),this._onCollectionChange()}removeControl(v,_={}){this.controls[v]&&this.controls[v]._registerOnCollectionChange((()=>{})),delete this.controls[v],this.updateValueAndValidity({emitEvent:_.emitEvent}),this._onCollectionChange()}setControl(v,_,V={}){this.controls[v]&&this.controls[v]._registerOnCollectionChange((()=>{})),delete this.controls[v],_&&this.registerControl(v,_),this.updateValueAndValidity({emitEvent:V.emitEvent}),this._onCollectionChange()}contains(v){return this.controls.hasOwnProperty(v)&&this.controls[v].enabled}setValue(v,_={}){nr(this,v),Object.keys(v).forEach((V=>{Zn(this,V),this.controls[V].setValue(v[V],{onlySelf:!0,emitEvent:_.emitEvent})})),this.updateValueAndValidity(_)}patchValue(v,_={}){null!=v&&(Object.keys(v).forEach((V=>{this.controls[V]&&this.controls[V].patchValue(v[V],{onlySelf:!0,emitEvent:_.emitEvent})})),this.updateValueAndValidity(_))}reset(v={},_={}){this._forEachChild(((V,tt)=>{V.reset(v[tt],{onlySelf:!0,emitEvent:_.emitEvent})})),this._updatePristine(_),this._updateTouched(_),this.updateValueAndValidity(_)}getRawValue(){return this._reduceChildren({},((v,_,V)=>(v[V]=zn(_),v)))}_syncPendingControls(){let v=this._reduceChildren(!1,((_,V)=>!!V._syncPendingControls()||_));return v&&this.updateValueAndValidity({onlySelf:!0}),v}_forEachChild(v){Object.keys(this.controls).forEach((_=>{const V=this.controls[_];V&&v(V,_)}))}_setUpControls(){this._forEachChild((v=>{v.setParent(this),v._registerOnCollectionChange(this._onCollectionChange)}))}_updateValue(){this.value=this._reduceValue()}_anyControls(v){for(const _ of Object.keys(this.controls)){const V=this.controls[_];if(this.contains(_)&&v(V))return!0}return!1}_reduceValue(){return this._reduceChildren({},((v,_,V)=>((_.enabled||this.disabled)&&(v[V]=_.value),v)))}_reduceChildren(v,_){let V=v;return this._forEachChild(((tt,Qt)=>{V=_(V,tt,Qt)})),V}_allControlsDisabled(){for(const v of Object.keys(this.controls))if(this.controls[v].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}}class qn extends jn{constructor(v,_,V){super(jt(_),Rt(V,_)),this.controls=v,this._initObservables(),this._setUpdateStrategy(_),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(v){return this.controls[v]}push(v,_={}){this.controls.push(v),this._registerControl(v),this.updateValueAndValidity({emitEvent:_.emitEvent}),this._onCollectionChange()}insert(v,_,V={}){this.controls.splice(v,0,_),this._registerControl(_),this.updateValueAndValidity({emitEvent:V.emitEvent})}removeAt(v,_={}){this.controls[v]&&this.controls[v]._registerOnCollectionChange((()=>{})),this.controls.splice(v,1),this.updateValueAndValidity({emitEvent:_.emitEvent})}setControl(v,_,V={}){this.controls[v]&&this.controls[v]._registerOnCollectionChange((()=>{})),this.controls.splice(v,1),_&&(this.controls.splice(v,0,_),this._registerControl(_)),this.updateValueAndValidity({emitEvent:V.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(v,_={}){nr(this,v),v.forEach(((V,tt)=>{Zn(this,tt),this.at(tt).setValue(V,{onlySelf:!0,emitEvent:_.emitEvent})})),this.updateValueAndValidity(_)}patchValue(v,_={}){null!=v&&(v.forEach(((V,tt)=>{this.at(tt)&&this.at(tt).patchValue(V,{onlySelf:!0,emitEvent:_.emitEvent})})),this.updateValueAndValidity(_))}reset(v=[],_={}){this._forEachChild(((V,tt)=>{V.reset(v[tt],{onlySelf:!0,emitEvent:_.emitEvent})})),this._updatePristine(_),this._updateTouched(_),this.updateValueAndValidity(_)}getRawValue(){return this.controls.map((v=>zn(v)))}clear(v={}){this.controls.length<1||(this._forEachChild((_=>_._registerOnCollectionChange((()=>{})))),this.controls.splice(0),this.updateValueAndValidity({emitEvent:v.emitEvent}))}_syncPendingControls(){let v=this.controls.reduce(((_,V)=>!!V._syncPendingControls()||_),!1);return v&&this.updateValueAndValidity({onlySelf:!0}),v}_forEachChild(v){this.controls.forEach(((_,V)=>{v(_,V)}))}_updateValue(){this.value=this.controls.filter((v=>v.enabled||this.disabled)).map((v=>v.value))}_anyControls(v){return this.controls.some((_=>_.enabled&&v(_)))}_setUpControls(){this._forEachChild((v=>this._registerControl(v)))}_allControlsDisabled(){for(const v of this.controls)if(v.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(v){v.setParent(this),v._registerOnCollectionChange(this._onCollectionChange)}}const Ln={provide:qt,useExisting:(0,o.Gpc)((()=>Ir))},rr=(()=>Promise.resolve(null))();let Ir=(()=>{class w extends qt{constructor(_,V,tt,Qt,Nn){super(),this._changeDetectorRef=Nn,this.control=new ur,this._registered=!1,this.update=new o.vpe,this._parent=_,this._setValidators(V),this._setAsyncValidators(tt),this.valueAccessor=ie(0,Qt)}ngOnChanges(_){if(this._checkForErrors(),!this._registered||"name"in _){if(this._registered&&(this._checkName(),this.formDirective)){const V=_.name.previousValue;this.formDirective.removeControl({name:V,path:this._getPath(V)})}this._setUpControl()}"isDisabled"in _&&this._updateDisabled(_),yt(_,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(_){this.viewModel=_,this.update.emit(_)}_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(){Et(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(_){rr.then((()=>{this.control.setValue(_,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()}))}_updateDisabled(_){const V=_.isDisabled.currentValue,tt=""===V||V&&"false"!==V;rr.then((()=>{tt&&!this.control.disabled?this.control.disable():!tt&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()}))}_getPath(_){return this._parent?zt(_,this._parent):[_]}}return w.ɵfac=function(_){return new(_||w)(o.Y36(dt,9),o.Y36(Ee,10),o.Y36(fe,10),o.Y36(Z,10),o.Y36(o.sBO,8))},w.ɵdir=o.lG2({type:w,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[o._Bn([Ln]),o.qOj,o.TTD]}),w})(),_r=(()=>{class w{}return w.ɵfac=function(_){return new(_||w)},w.ɵdir=o.lG2({type:w,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]}),w})();const Wn={provide:Z,useExisting:(0,o.Gpc)((()=>dr)),multi:!0};let dr=(()=>{class w extends L{writeValue(_){this.setProperty("value",_??"")}registerOnChange(_){this.onChange=V=>{_(""==V?null:parseFloat(V))}}}return w.ɵfac=function(){let v;return function(V){return(v||(v=o.n5z(w)))(V||w)}}(),w.ɵdir=o.lG2({type:w,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(_,V){1&_&&o.NdJ("input",(function(Qt){return V.onChange(Qt.target.value)}))("blur",(function(){return V.onTouched()}))},features:[o._Bn([Wn]),o.qOj]}),w})(),Tr=(()=>{class w{}return w.ɵfac=function(_){return new(_||w)},w.ɵmod=o.oAB({type:w}),w.ɵinj=o.cJS({}),w})();const Zr=new o.OlP("NgModelWithFormControlWarning"),Bi={provide:dt,useExisting:(0,o.Gpc)((()=>Si))};let Si=(()=>{class w extends dt{constructor(_,V){super(),this.validators=_,this.asyncValidators=V,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new o.vpe,this._setValidators(_),this._setAsyncValidators(V)}ngOnChanges(_){this._checkFormPresent(),_.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(It(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange((()=>{})))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(_){const V=this.form.get(_.path);return Et(V,_),V.updateValueAndValidity({emitEvent:!1}),this.directives.push(_),V}getControl(_){return this.form.get(_.path)}removeControl(_){Ct(_.control||null,_,!1),Ne(this.directives,_)}addFormGroup(_){this._setUpFormContainer(_)}removeFormGroup(_){this._cleanUpFormContainer(_)}getFormGroup(_){return this.form.get(_.path)}addFormArray(_){this._setUpFormContainer(_)}removeFormArray(_){this._cleanUpFormContainer(_)}getFormArray(_){return this.form.get(_.path)}updateModel(_,V){this.form.get(_.path).setValue(V)}onSubmit(_){return this.submitted=!0,function lt(w,v){w._syncPendingControls(),v.forEach((_=>{const V=_.control;"submit"===V.updateOn&&V._pendingChange&&(_.viewToModelUpdate(V._pendingValue),V._pendingChange=!1)}))}(this.form,this.directives),this.ngSubmit.emit(_),!1}onReset(){this.resetForm()}resetForm(_){this.form.reset(_),this.submitted=!1}_updateDomValue(){this.directives.forEach((_=>{const V=_.control,tt=this.form.get(_.path);V!==tt&&(Ct(V||null,_),on(tt)&&(Et(tt,_),_.control=tt))})),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(_){const V=this.form.get(_.path);(function J(w,v){dn(w,v)})(V,_),V.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(_){if(this.form){const V=this.form.get(_.path);V&&function B(w,v){return It(w,v)}(V,_)&&V.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange((()=>{}))}_updateValidators(){dn(this.form,this),this._oldForm&&It(this._oldForm,this)}_checkFormPresent(){}}return w.ɵfac=function(_){return new(_||w)(o.Y36(Ee,10),o.Y36(fe,10))},w.ɵdir=o.lG2({type:w,selectors:[["","formGroup",""]],hostBindings:function(_,V){1&_&&o.NdJ("submit",(function(Qt){return V.onSubmit(Qt)}))("reset",(function(){return V.onReset()}))},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[o._Bn([Bi]),o.qOj,o.TTD]}),w})();const fi={provide:qt,useExisting:(0,o.Gpc)((()=>Qr))};let Qr=(()=>{class w extends qt{constructor(_,V,tt,Qt,Nn){super(),this._ngModelWarningConfig=Nn,this._added=!1,this.update=new o.vpe,this._ngModelWarningSent=!1,this._parent=_,this._setValidators(V),this._setAsyncValidators(tt),this.valueAccessor=ie(0,Qt)}set isDisabled(_){}ngOnChanges(_){this._added||this._setUpControl(),yt(_,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(_){this.viewModel=_,this.update.emit(_)}get path(){return zt(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}_setUpControl(){this._checkParentType(),this.control=this.formDirective.addControl(this),this.control.disabled&&this.valueAccessor.setDisabledState&&this.valueAccessor.setDisabledState(!0),this._added=!0}}return w._ngModelWarningSentOnce=!1,w.ɵfac=function(_){return new(_||w)(o.Y36(dt,13),o.Y36(Ee,10),o.Y36(fe,10),o.Y36(Z,10),o.Y36(Zr,8))},w.ɵdir=o.lG2({type:w,selectors:[["","formControlName",""]],inputs:{name:["formControlName","name"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},features:[o._Bn([fi]),o.qOj,o.TTD]}),w})();const pi={provide:Z,useExisting:(0,o.Gpc)((()=>oi)),multi:!0};function ii(w,v){return null==w?`${v}`:(v&&"object"==typeof v&&(v="Object"),`${w}: ${v}`.slice(0,50))}let oi=(()=>{class w extends L{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(_){this._compareWith=_}writeValue(_){this.value=_;const tt=ii(this._getOptionId(_),_);this.setProperty("value",tt)}registerOnChange(_){this.onChange=V=>{this.value=this._getOptionValue(V),_(this.value)}}_registerOption(){return(this._idCounter++).toString()}_getOptionId(_){for(const V of Array.from(this._optionMap.keys()))if(this._compareWith(this._optionMap.get(V),_))return V;return null}_getOptionValue(_){const V=function Ui(w){return w.split(":")[0]}(_);return this._optionMap.has(V)?this._optionMap.get(V):_}}return w.ɵfac=function(){let v;return function(V){return(v||(v=o.n5z(w)))(V||w)}}(),w.ɵdir=o.lG2({type:w,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(_,V){1&_&&o.NdJ("change",(function(Qt){return V.onChange(Qt.target.value)}))("blur",(function(){return V.onTouched()}))},inputs:{compareWith:"compareWith"},features:[o._Bn([pi]),o.qOj]}),w})(),Rr=(()=>{class w{constructor(_,V,tt){this._element=_,this._renderer=V,this._select=tt,this._select&&(this.id=this._select._registerOption())}set ngValue(_){null!=this._select&&(this._select._optionMap.set(this.id,_),this._setElementValue(ii(this.id,_)),this._select.writeValue(this._select.value))}set value(_){this._setElementValue(_),this._select&&this._select.writeValue(this._select.value)}_setElementValue(_){this._renderer.setProperty(this._element.nativeElement,"value",_)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}}return w.ɵfac=function(_){return new(_||w)(o.Y36(o.SBq),o.Y36(o.Qsj),o.Y36(oi,9))},w.ɵdir=o.lG2({type:w,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}}),w})();const io={provide:Z,useExisting:(0,o.Gpc)((()=>Oi)),multi:!0};function Ur(w,v){return null==w?`${v}`:("string"==typeof v&&(v=`'${v}'`),v&&"object"==typeof v&&(v="Object"),`${w}: ${v}`.slice(0,50))}let Oi=(()=>{class w extends L{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(_){this._compareWith=_}writeValue(_){let V;if(this.value=_,Array.isArray(_)){const tt=_.map((Qt=>this._getOptionId(Qt)));V=(Qt,Nn)=>{Qt._setSelected(tt.indexOf(Nn.toString())>-1)}}else V=(tt,Qt)=>{tt._setSelected(!1)};this._optionMap.forEach(V)}registerOnChange(_){this.onChange=V=>{const tt=[],Qt=V.selectedOptions;if(void 0!==Qt){const Nn=Qt;for(let lr=0;lr<Nn.length;lr++){const Fr=this._getOptionValue(Nn[lr].value);tt.push(Fr)}}else{const Nn=V.options;for(let lr=0;lr<Nn.length;lr++){const zr=Nn[lr];if(zr.selected){const Fr=this._getOptionValue(zr.value);tt.push(Fr)}}}this.value=tt,_(tt)}}_registerOption(_){const V=(this._idCounter++).toString();return this._optionMap.set(V,_),V}_getOptionId(_){for(const V of Array.from(this._optionMap.keys()))if(this._compareWith(this._optionMap.get(V)._value,_))return V;return null}_getOptionValue(_){const V=function Ti(w){return w.split(":")[0]}(_);return this._optionMap.has(V)?this._optionMap.get(V)._value:_}}return w.ɵfac=function(){let v;return function(V){return(v||(v=o.n5z(w)))(V||w)}}(),w.ɵdir=o.lG2({type:w,selectors:[["select","multiple","","formControlName",""],["select","multiple","","formControl",""],["select","multiple","","ngModel",""]],hostBindings:function(_,V){1&_&&o.NdJ("change",(function(Qt){return V.onChange(Qt.target)}))("blur",(function(){return V.onTouched()}))},inputs:{compareWith:"compareWith"},features:[o._Bn([io]),o.qOj]}),w})(),si=(()=>{class w{constructor(_,V,tt){this._element=_,this._renderer=V,this._select=tt,this._select&&(this.id=this._select._registerOption(this))}set ngValue(_){null!=this._select&&(this._value=_,this._setElementValue(Ur(this.id,_)),this._select.writeValue(this._select.value))}set value(_){this._select?(this._value=_,this._setElementValue(Ur(this.id,_)),this._select.writeValue(this._select.value)):this._setElementValue(_)}_setElementValue(_){this._renderer.setProperty(this._element.nativeElement,"value",_)}_setSelected(_){this._renderer.setProperty(this._element.nativeElement,"selected",_)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}}return w.ɵfac=function(_){return new(_||w)(o.Y36(o.SBq),o.Y36(o.Qsj),o.Y36(Oi,9))},w.ɵdir=o.lG2({type:w,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}}),w})();function ar(w){return"number"==typeof w?w:parseFloat(w)}let Nr=(()=>{class w{constructor(){this._validator=be}ngOnChanges(_){if(this.inputName in _){const V=this.normalizeInput(_[this.inputName].currentValue);this._enabled=this.enabled(V),this._validator=this._enabled?this.createValidator(V):be,this._onChange&&this._onChange()}}validate(_){return this._validator(_)}registerOnValidatorChange(_){this._onChange=_}enabled(_){return null!=_}}return w.ɵfac=function(_){return new(_||w)},w.ɵdir=o.lG2({type:w,features:[o.TTD]}),w})();const ir={provide:Ee,useExisting:(0,o.Gpc)((()=>Hr)),multi:!0};let Hr=(()=>{class w extends Nr{constructor(){super(...arguments),this.inputName="max",this.normalizeInput=_=>ar(_),this.createValidator=_=>je(_)}}return w.ɵfac=function(){let v;return function(V){return(v||(v=o.n5z(w)))(V||w)}}(),w.ɵdir=o.lG2({type:w,selectors:[["input","type","number","max","","formControlName",""],["input","type","number","max","","formControl",""],["input","type","number","max","","ngModel",""]],hostVars:1,hostBindings:function(_,V){2&_&&o.uIk("max",V._enabled?V.max:null)},inputs:{max:"max"},features:[o._Bn([ir]),o.qOj]}),w})();const gi={provide:Ee,useExisting:(0,o.Gpc)((()=>yr)),multi:!0};let yr=(()=>{class w extends Nr{constructor(){super(...arguments),this.inputName="min",this.normalizeInput=_=>ar(_),this.createValidator=_=>xt(_)}}return w.ɵfac=function(){let v;return function(V){return(v||(v=o.n5z(w)))(V||w)}}(),w.ɵdir=o.lG2({type:w,selectors:[["input","type","number","min","","formControlName",""],["input","type","number","min","","formControl",""],["input","type","number","min","","ngModel",""]],hostVars:1,hostBindings:function(_,V){2&_&&o.uIk("min",V._enabled?V.min:null)},inputs:{min:"min"},features:[o._Bn([gi]),o.qOj]}),w})(),Pn=(()=>{class w{}return w.ɵfac=function(_){return new(_||w)},w.ɵmod=o.oAB({type:w}),w.ɵinj=o.cJS({imports:[[Tr]]}),w})(),Un=(()=>{class w{}return w.ɵfac=function(_){return new(_||w)},w.ɵmod=o.oAB({type:w}),w.ɵinj=o.cJS({imports:[Pn]}),w})(),On=(()=>{class w{static withConfig(_){return{ngModule:w,providers:[{provide:Zr,useValue:_.warnOnNgModelWithFormControl}]}}}return w.ɵfac=function(_){return new(_||w)},w.ɵmod=o.oAB({type:w}),w.ɵinj=o.cJS({imports:[Pn]}),w})(),Gr=(()=>{class w{group(_,V=null){const tt=this._reduceControls(_);let lr,Qt=null,Nn=null;return null!=V&&(function br(w){return void 0!==w.asyncValidators||void 0!==w.validators||void 0!==w.updateOn}(V)?(Qt=null!=V.validators?V.validators:null,Nn=null!=V.asyncValidators?V.asyncValidators:null,lr=null!=V.updateOn?V.updateOn:void 0):(Qt=null!=V.validator?V.validator:null,Nn=null!=V.asyncValidator?V.asyncValidator:null)),new Qn(tt,{asyncValidators:Nn,updateOn:lr,validators:Qt})}control(_,V,tt){return new ur(_,V,tt)}array(_,V,tt){const Qt=_.map((Nn=>this._createControl(Nn)));return new qn(Qt,V,tt)}_reduceControls(_){const V={};return Object.keys(_).forEach((tt=>{V[tt]=this._createControl(_[tt])})),V}_createControl(_){return on(_)||kt(_)||vn(_)?_:Array.isArray(_)?this.control(_[0],_.length>1?_[1]:null,_.length>2?_[2]:null):this.control(_)}}return w.ɵfac=function(_){return new(_||w)},w.ɵprov=o.Yz7({token:w,factory:w.ɵfac,providedIn:On}),w})()},8746:(G,O,u)=>{"use strict";u.d(O,{PW:()=>$i});var o=u(5062),p=u(1481),A=u(7340);const S=!1;function M(k){return new o.vHH(3e3,S)}function ve(){return typeof window<"u"&&typeof window.document<"u"}function Ge(){return typeof process<"u"&&"[object process]"==={}.toString.call(process)}function Ye(k){switch(k.length){case 0:return new A.ZN;case 1:return k[0];default:return new A.ZE(k)}}function ht(k,l,h,y,j={},Q={}){const oe=[],le=[];let ke=-1,it=null;if(y.forEach((Wt=>{const tn=Wt.offset,_n=tn==ke,En=_n&&it||{};Object.keys(Wt).forEach((cn=>{let Cn=cn,Fn=Wt[cn];if("offset"!==cn)switch(Cn=l.normalizePropertyName(Cn,oe),Fn){case A.k1:Fn=j[cn];break;case A.l3:Fn=Q[cn];break;default:Fn=l.normalizeStyleValue(cn,Cn,Fn,oe)}En[Cn]=Fn})),_n||le.push(En),it=En,ke=tn})),oe.length)throw function vt(k){return new o.vHH(3502,S)}();return le}function Ut(k,l,h,y){switch(l){case"start":k.onStart((()=>y(h&&fn(h,"start",k))));break;case"done":k.onDone((()=>y(h&&fn(h,"done",k))));break;case"destroy":k.onDestroy((()=>y(h&&fn(h,"destroy",k))))}}function fn(k,l,h){const Q=Le(k.element,k.triggerName,k.fromState,k.toState,l||k.phaseName,h.totalTime??k.totalTime,!!h.disabled),oe=k._data;return null!=oe&&(Q._data=oe),Q}function Le(k,l,h,y,j="",Q=0,oe){return{element:k,triggerName:l,fromState:h,toState:y,phaseName:j,totalTime:Q,disabled:!!oe}}function Se(k,l,h){let y;return k instanceof Map?(y=k.get(l),y||k.set(l,y=h)):(y=k[l],y||(y=k[l]=h)),y}function _e(k){const l=k.indexOf(":");return[k.substring(1,l),k.substr(l+1)]}let We=(k,l)=>!1,dt=(k,l,h)=>[],qt=null;function Bn(k){const l=k.parentNode||k.host;return l===qt?null:l}(Ge()||typeof Element<"u")&&(ve()?(qt=(()=>document.documentElement)(),We=(k,l)=>{for(;l;){if(l===k)return!0;l=Bn(l)}return!1}):We=(k,l)=>k.contains(l),dt=(k,l,h)=>{if(h)return Array.from(k.querySelectorAll(l));const y=k.querySelector(l);return y?[y]:[]});let se=null,ge=!1;function He(k){se||(se=function Pe(){return typeof document<"u"?document.body:null}()||{},ge=!!se.style&&"WebkitAppearance"in se.style);let l=!0;return se.style&&!function Jn(k){return"ebkit"==k.substring(1,6)}(k)&&(l=k in se.style,!l&&ge&&(l="Webkit"+k.charAt(0).toUpperCase()+k.substr(1)in se.style)),l}const F=We,X=dt;let ne=(()=>{class k{validateStyleProperty(h){return He(h)}matchesElement(h,y){return!1}containsElement(h,y){return F(h,y)}getParentElement(h){return Bn(h)}query(h,y,j){return X(h,y,j)}computeStyle(h,y,j){return j||""}animate(h,y,j,Q,oe,le=[],ke){return new A.ZN(j,Q)}}return k.ɵfac=function(h){return new(h||k)},k.ɵprov=o.Yz7({token:k,factory:k.ɵfac}),k})(),Ie=(()=>{class k{}return k.NOOP=new ne,k})();const _t="ng-enter",ft="ng-leave",Bt="ng-trigger",Ft=".ng-trigger",Jt="ng-animating",Ht=".ng-animating";function zt(k){if("number"==typeof k)return k;const l=k.match(/^(-?[\.\d]+)(m?s)/);return!l||l.length<2?0:Et(parseFloat(l[1]),l[2])}function Et(k,l){return"s"===l?1e3*k:k}function Ct(k,l,h){return k.hasOwnProperty("duration")?k:function sn(k,l,h){let j,Q=0,oe="";if("string"==typeof k){const le=k.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===le)return l.push(M()),{duration:0,delay:0,easing:""};j=Et(parseFloat(le[1]),le[2]);const ke=le[3];null!=ke&&(Q=Et(parseFloat(ke),le[4]));const it=le[5];it&&(oe=it)}else j=k;if(!h){let le=!1,ke=l.length;j<0&&(l.push(function R(){return new o.vHH(3100,S)}()),le=!0),Q<0&&(l.push(function I(){return new o.vHH(3101,S)}()),le=!0),le&&l.splice(ke,0,M())}return{duration:j,delay:Q,easing:oe}}(k,l,h)}function yn(k,l={}){return Object.keys(k).forEach((h=>{l[h]=k[h]})),l}function It(k,l,h={}){if(l)for(let y in k)h[y]=k[y];else yn(k,h);return h}function pn(k,l,h){return h?l+":"+h+";":""}function Vt(k){let l="";for(let h=0;h<k.style.length;h++){const y=k.style.item(h);l+=pn(0,y,k.style.getPropertyValue(y))}for(const h in k.style)k.style.hasOwnProperty(h)&&!h.startsWith("_")&&(l+=pn(0,lt(h),k.style[h]));k.setAttribute("style",l)}function an(k,l,h){k.style&&(Object.keys(l).forEach((y=>{const j=ut(y);h&&!h.hasOwnProperty(y)&&(h[y]=k.style[j]),k.style[j]=l[y]})),Ge()&&Vt(k))}function de(k,l){k.style&&(Object.keys(l).forEach((h=>{const y=ut(h);k.style[y]=""})),Ge()&&Vt(k))}function J(k){return Array.isArray(k)?1==k.length?k[0]:(0,A.vP)(k):k}const W=new RegExp("{{\\s*(.+?)\\s*}}","g");function U(k){let l=[];if("string"==typeof k){let h;for(;h=W.exec(k);)l.push(h[1]);W.lastIndex=0}return l}function ce(k,l,h){const y=k.toString(),j=y.replace(W,((Q,oe)=>{let le=l[oe];return l.hasOwnProperty(oe)||(h.push(function x(k){return new o.vHH(3003,S)}()),le=""),le.toString()}));return j==y?k:j}function Ve(k){const l=[];let h=k.next();for(;!h.done;)l.push(h.value),h=k.next();return l}const yt=/-+([a-z0-9])/g;function ut(k){return k.replace(yt,((...l)=>l[1].toUpperCase()))}function lt(k){return k.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function St(k,l,h){switch(l.type){case 7:return k.visitTrigger(l,h);case 0:return k.visitState(l,h);case 1:return k.visitTransition(l,h);case 2:return k.visitSequence(l,h);case 3:return k.visitGroup(l,h);case 4:return k.visitAnimate(l,h);case 5:return k.visitKeyframes(l,h);case 6:return k.visitStyle(l,h);case 8:return k.visitReference(l,h);case 9:return k.visitAnimateChild(l,h);case 10:return k.visitAnimateRef(l,h);case 11:return k.visitQuery(l,h);case 12:return k.visitStagger(l,h);default:throw function L(k){return new o.vHH(3004,S)}()}}function Tt(k,l){return window.getComputedStyle(k)[l]}function Yt(k,l){const h=[];return"string"==typeof k?k.split(/\s*,\s*/).forEach((y=>function rn(k,l,h){if(":"==k[0]){const ke=function on(k,l){switch(k){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(h,y)=>parseFloat(y)>parseFloat(h);case":decrement":return(h,y)=>parseFloat(y)<parseFloat(h);default:return l.push(function je(k){return new o.vHH(3016,S)}()),"* => *"}}(k,h);if("function"==typeof ke)return void l.push(ke);k=ke}const y=k.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(null==y||y.length<4)return h.push(function xt(k){return new o.vHH(3015,S)}()),l;const j=y[1],Q=y[2],oe=y[3];l.push(zn(j,oe));"<"==Q[0]&&!("*"==j&&"*"==oe)&&l.push(zn(oe,j))}(y,h,l))):h.push(k),h}const kt=new Set(["true","1"]),vn=new Set(["false","0"]);function zn(k,l){const h=kt.has(k)||vn.has(k),y=kt.has(l)||vn.has(l);return(j,Q)=>{let oe="*"==k||k==j,le="*"==l||l==Q;return!oe&&h&&"boolean"==typeof j&&(oe=j?kt.has(k):vn.has(k)),!le&&y&&"boolean"==typeof Q&&(le=Q?kt.has(l):vn.has(l)),oe&&le}}const nr=new RegExp("s*:selfs*,?","g");function jn(k,l,h,y){return new Qn(k).build(l,h,y)}class Qn{constructor(l){this._driver=l}build(l,h,y){const j=new Sr(h);this._resetContextStyleTimingState(j);const Q=St(this,J(l),j);return j.unsupportedCSSPropertiesFound.size&&j.unsupportedCSSPropertiesFound.keys(),Q}_resetContextStyleTimingState(l){l.currentQuerySelector="",l.collectedStyles={},l.collectedStyles[""]={},l.currentTime=0}visitTrigger(l,h){let y=h.queryCount=0,j=h.depCount=0;const Q=[],oe=[];return"@"==l.name.charAt(0)&&h.errors.push(function te(){return new o.vHH(3006,S)}()),l.definitions.forEach((le=>{if(this._resetContextStyleTimingState(h),0==le.type){const ke=le,it=ke.name;it.toString().split(/\s*,\s*/).forEach((Wt=>{ke.name=Wt,Q.push(this.visitState(ke,h))})),ke.name=it}else if(1==le.type){const ke=this.visitTransition(le,h);y+=ke.queryCount,j+=ke.depCount,oe.push(ke)}else h.errors.push(function ye(){return new o.vHH(3007,S)}())})),{type:7,name:l.name,states:Q,transitions:oe,queryCount:y,depCount:j,options:null}}visitState(l,h){const y=this.visitStyle(l.styles,h),j=l.options&&l.options.params||null;if(y.containsDynamicStyles){const Q=new Set,oe=j||{};y.styles.forEach((le=>{if(pr(le)){const ke=le;Object.keys(ke).forEach((it=>{U(ke[it]).forEach((Wt=>{oe.hasOwnProperty(Wt)||Q.add(Wt)}))}))}})),Q.size&&(Ve(Q.values()),h.errors.push(function Ce(k,l){return new o.vHH(3008,S)}()))}return{type:0,name:l.name,style:y,options:j?{params:j}:null}}visitTransition(l,h){h.queryCount=0,h.depCount=0;const y=St(this,J(l.animation),h);return{type:1,matchers:Yt(l.expr,h.errors),animation:y,queryCount:h.queryCount,depCount:h.depCount,options:Me(l.options)}}visitSequence(l,h){return{type:2,steps:l.steps.map((y=>St(this,y,h))),options:Me(l.options)}}visitGroup(l,h){const y=h.currentTime;let j=0;const Q=l.steps.map((oe=>{h.currentTime=y;const le=St(this,oe,h);return j=Math.max(j,h.currentTime),le}));return h.currentTime=j,{type:3,steps:Q,options:Me(l.options)}}visitAnimate(l,h){const y=function q(k,l){if(k.hasOwnProperty("duration"))return k;if("number"==typeof k)return $(Ct(k,l).duration,0,"");const h=k;if(h.split(/\s+/).some((Q=>"{"==Q.charAt(0)&&"{"==Q.charAt(1)))){const Q=$(0,0,"");return Q.dynamic=!0,Q.strValue=h,Q}const j=Ct(h,l);return $(j.duration,j.delay,j.easing)}(l.timings,h.errors);h.currentAnimateTimings=y;let j,Q=l.styles?l.styles:(0,A.oB)({});if(5==Q.type)j=this.visitKeyframes(Q,h);else{let oe=l.styles,le=!1;if(!oe){le=!0;const it={};y.easing&&(it.easing=y.easing),oe=(0,A.oB)(it)}h.currentTime+=y.duration+y.delay;const ke=this.visitStyle(oe,h);ke.isEmptyStep=le,j=ke}return h.currentAnimateTimings=null,{type:4,timings:y,style:j,options:null}}visitStyle(l,h){const y=this._makeStyleAst(l,h);return this._validateStyleAst(y,h),y}_makeStyleAst(l,h){const y=[];Array.isArray(l.styles)?l.styles.forEach((oe=>{"string"==typeof oe?oe==A.l3?y.push(oe):h.errors.push(function Te(k){return new o.vHH(3002,S)}()):y.push(oe)})):y.push(l.styles);let j=!1,Q=null;return y.forEach((oe=>{if(pr(oe)){const le=oe,ke=le.easing;if(ke&&(Q=ke,delete le.easing),!j)for(let it in le)if(le[it].toString().indexOf("{{")>=0){j=!0;break}}})),{type:6,styles:y,easing:Q,offset:l.offset,containsDynamicStyles:j,options:null}}_validateStyleAst(l,h){const y=h.currentAnimateTimings;let j=h.currentTime,Q=h.currentTime;y&&Q>0&&(Q-=y.duration+y.delay),l.styles.forEach((oe=>{"string"!=typeof oe&&Object.keys(oe).forEach((le=>{if(!this._driver.validateStyleProperty(le))return delete oe[le],void h.unsupportedCSSPropertiesFound.add(le);const ke=h.collectedStyles[h.currentQuerySelector],it=ke[le];let Wt=!0;it&&(Q!=j&&Q>=it.startTime&&j<=it.endTime&&(h.errors.push(function Ot(k,l,h,y,j){return new o.vHH(3010,S)}()),Wt=!1),Q=it.startTime),Wt&&(ke[le]={startTime:Q,endTime:j}),h.options&&function B(k,l,h){const y=l.params||{},j=U(k);j.length&&j.forEach((Q=>{y.hasOwnProperty(Q)||h.push(function P(k){return new o.vHH(3001,S)}())}))}(oe[le],h.options,h.errors)}))}))}visitKeyframes(l,h){const y={type:5,styles:[],options:null};if(!h.currentAnimateTimings)return h.errors.push(function me(){return new o.vHH(3011,S)}()),y;let Q=0;const oe=[];let le=!1,ke=!1,it=0;const Wt=l.steps.map((sr=>{const Xn=this._makeStyleAst(sr,h);let vr=null!=Xn.offset?Xn.offset:function Pr(k){if("string"==typeof k)return null;let l=null;if(Array.isArray(k))k.forEach((h=>{if(pr(h)&&h.hasOwnProperty("offset")){const y=h;l=parseFloat(y.offset),delete y.offset}}));else if(pr(k)&&k.hasOwnProperty("offset")){const h=k;l=parseFloat(h.offset),delete h.offset}return l}(Xn.styles),hr=0;return null!=vr&&(Q++,hr=Xn.offset=vr),ke=ke||hr<0||hr>1,le=le||hr<it,it=hr,oe.push(hr),Xn}));ke&&h.errors.push(function ze(){return new o.vHH(3012,S)}()),le&&h.errors.push(function Ee(){return new o.vHH(3200,S)}());const tn=l.steps.length;let _n=0;Q>0&&Q<tn?h.errors.push(function fe(){return new o.vHH(3202,S)}()):0==Q&&(_n=1/(tn-1));const En=tn-1,cn=h.currentTime,Cn=h.currentAnimateTimings,Fn=Cn.duration;return Wt.forEach(((sr,Xn)=>{const vr=_n>0?Xn==En?1:_n*Xn:oe[Xn],hr=vr*Fn;h.currentTime=cn+Cn.delay+hr,Cn.duration=hr,this._validateStyleAst(sr,h),sr.offset=vr,y.styles.push(sr)})),y}visitReference(l,h){return{type:8,animation:St(this,J(l.animation),h),options:Me(l.options)}}visitAnimateChild(l,h){return h.depCount++,{type:9,options:Me(l.options)}}visitAnimateRef(l,h){return{type:10,animation:this.visitReference(l.animation,h),options:Me(l.options)}}visitQuery(l,h){const y=h.currentQuerySelector,j=l.options||{};h.queryCount++,h.currentQuery=l;const[Q,oe]=function qn(k){const l=!!k.split(/\s*,\s*/).find((h=>":self"==h));return l&&(k=k.replace(nr,"")),k=k.replace(/@\*/g,Ft).replace(/@\w+/g,(h=>Ft+"-"+h.substr(1))).replace(/:animating/g,Ht),[k,l]}(l.selector);h.currentQuerySelector=y.length?y+" "+Q:Q,Se(h.collectedStyles,h.currentQuerySelector,{});const le=St(this,J(l.animation),h);return h.currentQuery=null,h.currentQuerySelector=y,{type:11,selector:Q,limit:j.limit||0,optional:!!j.optional,includeSelf:oe,animation:le,originalSelector:l.selector,options:Me(l.options)}}visitStagger(l,h){h.currentQuery||h.errors.push(function bt(){return new o.vHH(3013,S)}());const y="full"===l.timings?{duration:0,delay:0,easing:"full"}:Ct(l.timings,h.errors,!0);return{type:12,animation:St(this,J(l.animation),h),timings:y,options:null}}}class Sr{constructor(l){this.errors=l,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 pr(k){return!Array.isArray(k)&&"object"==typeof k}function Me(k){return k?(k=yn(k)).params&&(k.params=function Dn(k){return k?yn(k):null}(k.params)):k={},k}function $(k,l,h){return{duration:k,delay:l,easing:h}}function Be(k,l,h,y,j,Q,oe=null,le=!1){return{type:1,element:k,keyframes:l,preStyleProps:h,postStyleProps:y,duration:j,delay:Q,totalTime:j+Q,easing:oe,subTimeline:le}}class At{constructor(){this._map=new Map}get(l){return this._map.get(l)||[]}append(l,h){let y=this._map.get(l);y||this._map.set(l,y=[]),y.push(...h)}has(l){return this._map.has(l)}clear(){this._map.clear()}}const rr=new RegExp(":enter","g"),_r=new RegExp(":leave","g");function Wn(k,l,h,y,j,Q={},oe={},le,ke,it=[]){return(new dr).buildKeyframes(k,l,h,y,j,Q,oe,le,ke,it)}class dr{buildKeyframes(l,h,y,j,Q,oe,le,ke,it,Wt=[]){it=it||new At;const tn=new to(l,h,it,j,Q,Wt,[]);tn.options=ke,tn.currentTimeline.setStyles([oe],null,tn.errors,ke),St(this,y,tn);const _n=tn.timelines.filter((En=>En.containsAnimation()));if(Object.keys(le).length){let En;for(let cn=_n.length-1;cn>=0;cn--){const Cn=_n[cn];if(Cn.element===h){En=Cn;break}}En&&!En.allowOnlyTimelineStyles()&&En.setStyles([le],null,tn.errors,ke)}return _n.length?_n.map((En=>En.buildKeyframes())):[Be(h,[],[],[],0,0,"",!1)]}visitTrigger(l,h){}visitState(l,h){}visitTransition(l,h){}visitAnimateChild(l,h){const y=h.subInstructions.get(h.element);if(y){const j=h.createSubContext(l.options),Q=h.currentTimeline.currentTime,oe=this._visitSubInstructions(y,j,j.options);Q!=oe&&h.transformIntoNewTimeline(oe)}h.previousNode=l}visitAnimateRef(l,h){const y=h.createSubContext(l.options);y.transformIntoNewTimeline(),this.visitReference(l.animation,y),h.transformIntoNewTimeline(y.currentTimeline.currentTime),h.previousNode=l}_visitSubInstructions(l,h,y){let Q=h.currentTimeline.currentTime;const oe=null!=y.duration?zt(y.duration):null,le=null!=y.delay?zt(y.delay):null;return 0!==oe&&l.forEach((ke=>{const it=h.appendInstructionToTimeline(ke,oe,le);Q=Math.max(Q,it.duration+it.delay)})),Q}visitReference(l,h){h.updateOptions(l.options,!0),St(this,l.animation,h),h.previousNode=l}visitSequence(l,h){const y=h.subContextCount;let j=h;const Q=l.options;if(Q&&(Q.params||Q.delay)&&(j=h.createSubContext(Q),j.transformIntoNewTimeline(),null!=Q.delay)){6==j.previousNode.type&&(j.currentTimeline.snapshotCurrentStyles(),j.previousNode=ti);const oe=zt(Q.delay);j.delayNextStep(oe)}l.steps.length&&(l.steps.forEach((oe=>St(this,oe,j))),j.currentTimeline.applyStylesToKeyframe(),j.subContextCount>y&&j.transformIntoNewTimeline()),h.previousNode=l}visitGroup(l,h){const y=[];let j=h.currentTimeline.currentTime;const Q=l.options&&l.options.delay?zt(l.options.delay):0;l.steps.forEach((oe=>{const le=h.createSubContext(l.options);Q&&le.delayNextStep(Q),St(this,oe,le),j=Math.max(j,le.currentTimeline.currentTime),y.push(le.currentTimeline)})),y.forEach((oe=>h.currentTimeline.mergeTimelineCollectedStyles(oe))),h.transformIntoNewTimeline(j),h.previousNode=l}_visitTiming(l,h){if(l.dynamic){const y=l.strValue;return Ct(h.params?ce(y,h.params,h.errors):y,h.errors)}return{duration:l.duration,delay:l.delay,easing:l.easing}}visitAnimate(l,h){const y=h.currentAnimateTimings=this._visitTiming(l.timings,h),j=h.currentTimeline;y.delay&&(h.incrementTime(y.delay),j.snapshotCurrentStyles());const Q=l.style;5==Q.type?this.visitKeyframes(Q,h):(h.incrementTime(y.duration),this.visitStyle(Q,h),j.applyStylesToKeyframe()),h.currentAnimateTimings=null,h.previousNode=l}visitStyle(l,h){const y=h.currentTimeline,j=h.currentAnimateTimings;!j&&y.getCurrentStyleProperties().length&&y.forwardFrame();const Q=j&&j.easing||l.easing;l.isEmptyStep?y.applyEmptyStep(Q):y.setStyles(l.styles,Q,h.errors,h.options),h.previousNode=l}visitKeyframes(l,h){const y=h.currentAnimateTimings,j=h.currentTimeline.duration,Q=y.duration,le=h.createSubContext().currentTimeline;le.easing=y.easing,l.styles.forEach((ke=>{le.forwardTime((ke.offset||0)*Q),le.setStyles(ke.styles,ke.easing,h.errors,h.options),le.applyStylesToKeyframe()})),h.currentTimeline.mergeTimelineCollectedStyles(le),h.transformIntoNewTimeline(j+Q),h.previousNode=l}visitQuery(l,h){const y=h.currentTimeline.currentTime,j=l.options||{},Q=j.delay?zt(j.delay):0;Q&&(6===h.previousNode.type||0==y&&h.currentTimeline.getCurrentStyleProperties().length)&&(h.currentTimeline.snapshotCurrentStyles(),h.previousNode=ti);let oe=y;const le=h.invokeQuery(l.selector,l.originalSelector,l.limit,l.includeSelf,!!j.optional,h.errors);h.currentQueryTotal=le.length;let ke=null;le.forEach(((it,Wt)=>{h.currentQueryIndex=Wt;const tn=h.createSubContext(l.options,it);Q&&tn.delayNextStep(Q),it===h.element&&(ke=tn.currentTimeline),St(this,l.animation,tn),tn.currentTimeline.applyStylesToKeyframe(),oe=Math.max(oe,tn.currentTimeline.currentTime)})),h.currentQueryIndex=0,h.currentQueryTotal=0,h.transformIntoNewTimeline(oe),ke&&(h.currentTimeline.mergeTimelineCollectedStyles(ke),h.currentTimeline.snapshotCurrentStyles()),h.previousNode=l}visitStagger(l,h){const y=h.parentContext,j=h.currentTimeline,Q=l.timings,oe=Math.abs(Q.duration),le=oe*(h.currentQueryTotal-1);let ke=oe*h.currentQueryIndex;switch(Q.duration<0?"reverse":Q.easing){case"reverse":ke=le-ke;break;case"full":ke=y.currentStaggerTime}const Wt=h.currentTimeline;ke&&Wt.delayNextStep(ke);const tn=Wt.currentTime;St(this,l.animation,h),h.previousNode=l,y.currentStaggerTime=j.currentTime-tn+(j.startTime-y.currentTimeline.startTime)}}const ti={};class to{constructor(l,h,y,j,Q,oe,le,ke){this._driver=l,this.element=h,this.subInstructions=y,this._enterClassName=j,this._leaveClassName=Q,this.errors=oe,this.timelines=le,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=ti,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=ke||new Tr(this._driver,h,0),le.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(l,h){if(!l)return;const y=l;let j=this.options;null!=y.duration&&(j.duration=zt(y.duration)),null!=y.delay&&(j.delay=zt(y.delay));const Q=y.params;if(Q){let oe=j.params;oe||(oe=this.options.params={}),Object.keys(Q).forEach((le=>{(!h||!oe.hasOwnProperty(le))&&(oe[le]=ce(Q[le],oe,this.errors))}))}}_copyOptions(){const l={};if(this.options){const h=this.options.params;if(h){const y=l.params={};Object.keys(h).forEach((j=>{y[j]=h[j]}))}}return l}createSubContext(l=null,h,y){const j=h||this.element,Q=new to(this._driver,j,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(j,y||0));return Q.previousNode=this.previousNode,Q.currentAnimateTimings=this.currentAnimateTimings,Q.options=this._copyOptions(),Q.updateOptions(l),Q.currentQueryIndex=this.currentQueryIndex,Q.currentQueryTotal=this.currentQueryTotal,Q.parentContext=this,this.subContextCount++,Q}transformIntoNewTimeline(l){return this.previousNode=ti,this.currentTimeline=this.currentTimeline.fork(this.element,l),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(l,h,y){const j={duration:h??l.duration,delay:this.currentTimeline.currentTime+(y??0)+l.delay,easing:""},Q=new Ei(this._driver,l.element,l.keyframes,l.preStyleProps,l.postStyleProps,j,l.stretchStartingKeyframe);return this.timelines.push(Q),j}incrementTime(l){this.currentTimeline.forwardTime(this.currentTimeline.duration+l)}delayNextStep(l){l>0&&this.currentTimeline.delayNextStep(l)}invokeQuery(l,h,y,j,Q,oe){let le=[];if(j&&le.push(this.element),l.length>0){l=(l=l.replace(rr,"."+this._enterClassName)).replace(_r,"."+this._leaveClassName);let it=this._driver.query(this.element,l,1!=y);0!==y&&(it=y<0?it.slice(it.length+y,it.length):it.slice(0,y)),le.push(...it)}return!Q&&0==le.length&&oe.push(function Lt(k){return new o.vHH(3014,S)}()),le}}class Tr{constructor(l,h,y,j){this._driver=l,this.element=h,this.startTime=y,this._elementTimelineStylesLookup=j,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(h),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(h,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(l){const h=1==this._keyframes.size&&Object.keys(this._pendingStyles).length;this.duration||h?(this.forwardTime(this.currentTime+l),h&&this.snapshotCurrentStyles()):this.startTime+=l}fork(l,h){return this.applyStylesToKeyframe(),new Tr(this._driver,l,h||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(l){this.applyStylesToKeyframe(),this.duration=l,this._loadKeyframe()}_updateStyle(l,h){this._localTimelineStyles[l]=h,this._globalTimelineStyles[l]=h,this._styleSummary[l]={time:this.currentTime,value:h}}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(l){l&&(this._previousKeyframe.easing=l),Object.keys(this._globalTimelineStyles).forEach((h=>{this._backFill[h]=this._globalTimelineStyles[h]||A.l3,this._currentKeyframe[h]=A.l3})),this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(l,h,y,j){h&&(this._previousKeyframe.easing=h);const Q=j&&j.params||{},oe=function Di(k,l){const h={};let y;return k.forEach((j=>{"*"===j?(y=y||Object.keys(l),y.forEach((Q=>{h[Q]=A.l3}))):It(j,!1,h)})),h}(l,this._globalTimelineStyles);Object.keys(oe).forEach((le=>{const ke=ce(oe[le],Q,y);this._pendingStyles[le]=ke,this._localTimelineStyles.hasOwnProperty(le)||(this._backFill[le]=this._globalTimelineStyles.hasOwnProperty(le)?this._globalTimelineStyles[le]:A.l3),this._updateStyle(le,ke)}))}applyStylesToKeyframe(){const l=this._pendingStyles,h=Object.keys(l);0!=h.length&&(this._pendingStyles={},h.forEach((y=>{this._currentKeyframe[y]=l[y]})),Object.keys(this._localTimelineStyles).forEach((y=>{this._currentKeyframe.hasOwnProperty(y)||(this._currentKeyframe[y]=this._localTimelineStyles[y])})))}snapshotCurrentStyles(){Object.keys(this._localTimelineStyles).forEach((l=>{const h=this._localTimelineStyles[l];this._pendingStyles[l]=h,this._updateStyle(l,h)}))}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const l=[];for(let h in this._currentKeyframe)l.push(h);return l}mergeTimelineCollectedStyles(l){Object.keys(l._styleSummary).forEach((h=>{const y=this._styleSummary[h],j=l._styleSummary[h];(!y||j.time>y.time)&&this._updateStyle(h,j.value)}))}buildKeyframes(){this.applyStylesToKeyframe();const l=new Set,h=new Set,y=1===this._keyframes.size&&0===this.duration;let j=[];this._keyframes.forEach(((le,ke)=>{const it=It(le,!0);Object.keys(it).forEach((Wt=>{const tn=it[Wt];tn==A.k1?l.add(Wt):tn==A.l3&&h.add(Wt)})),y||(it.offset=ke/this.duration),j.push(it)}));const Q=l.size?Ve(l.values()):[],oe=h.size?Ve(h.values()):[];if(y){const le=j[0],ke=yn(le);le.offset=0,ke.offset=1,j=[le,ke]}return Be(this.element,j,Q,oe,this.duration,this.startTime,this.easing,!1)}}class Ei extends Tr{constructor(l,h,y,j,Q,oe,le=!1){super(l,h,oe.delay),this.keyframes=y,this.preStyleProps=j,this.postStyleProps=Q,this._stretchStartingKeyframe=le,this.timings={duration:oe.duration,delay:oe.delay,easing:oe.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let l=this.keyframes,{delay:h,duration:y,easing:j}=this.timings;if(this._stretchStartingKeyframe&&h){const Q=[],oe=y+h,le=h/oe,ke=It(l[0],!1);ke.offset=0,Q.push(ke);const it=It(l[0],!1);it.offset=Vi(le),Q.push(it);const Wt=l.length-1;for(let tn=1;tn<=Wt;tn++){let _n=It(l[tn],!1);_n.offset=Vi((h+_n.offset*y)/oe),Q.push(_n)}y=oe,h=0,j="",l=Q}return Be(this.element,l,this.preStyleProps,this.postStyleProps,y,h,j,!0)}}function Vi(k,l=3){const h=Math.pow(10,l-1);return Math.round(k*h)/h}class Zr{}class Mi extends Zr{normalizePropertyName(l,h){return ut(l)}normalizeStyleValue(l,h,y,j){let Q="";const oe=y.toString().trim();if(Bi[h]&&0!==y&&"0"!==y)if("number"==typeof y)Q="px";else{const le=y.match(/^[+-]?[\d\.]+([a-z]*)$/);le&&0==le[1].length&&j.push(function Z(k,l){return new o.vHH(3005,S)}())}return oe+Q}}const Bi=(()=>function Si(k){const l={};return k.forEach((h=>l[h]=!0)),l}("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 ni(k,l,h,y,j,Q,oe,le,ke,it,Wt,tn,_n){return{type:0,element:k,triggerName:l,isRemovalTransition:j,fromState:h,fromStyles:Q,toState:y,toStyles:oe,timelines:le,queriedElements:ke,preStyleProps:it,postStyleProps:Wt,totalTime:tn,errors:_n}}const hi={};class ro{constructor(l,h,y){this._triggerName=l,this.ast=h,this._stateStyles=y}match(l,h,y,j){return function ji(k,l,h,y,j){return k.some((Q=>Q(l,h,y,j)))}(this.ast.matchers,l,h,y,j)}buildStyles(l,h,y){const j=this._stateStyles["*"],Q=this._stateStyles[l],oe=j?j.buildStyles(h,y):{};return Q?Q.buildStyles(h,y):oe}build(l,h,y,j,Q,oe,le,ke,it,Wt){const tn=[],_n=this.ast.options&&this.ast.options.params||hi,cn=this.buildStyles(y,le&&le.params||hi,tn),Cn=ke&&ke.params||hi,Fn=this.buildStyles(j,Cn,tn),sr=new Set,Xn=new Map,vr=new Map,hr="void"===j,xi={params:{..._n,...Cn}},Lr=Wt?[]:Wn(l,h,this.ast.animation,Q,oe,cn,Fn,xi,it,tn);let gr=0;if(Lr.forEach((Jr=>{gr=Math.max(Jr.duration+Jr.delay,gr)})),tn.length)return ni(h,this._triggerName,y,j,hr,cn,Fn,[],[],Xn,vr,gr,tn);Lr.forEach((Jr=>{const Yn=Jr.element,Xr=Se(Xn,Yn,{});Jr.preStyleProps.forEach((_i=>Xr[_i]=!0));const Hn=Se(vr,Yn,{});Jr.postStyleProps.forEach((_i=>Hn[_i]=!0)),Yn!==h&&sr.add(Yn)}));const qr=Ve(sr.values());return ni(h,this._triggerName,y,j,hr,cn,Fn,Lr,qr,Xn,vr,gr)}}class ri{constructor(l,h,y){this.styles=l,this.defaultParams=h,this.normalizer=y}buildStyles(l,h){const y={},j=yn(this.defaultParams);return Object.keys(l).forEach((Q=>{const oe=l[Q];null!=oe&&(j[Q]=oe)})),this.styles.styles.forEach((Q=>{if("string"!=typeof Q){const oe=Q;Object.keys(oe).forEach((le=>{let ke=oe[le];ke.length>1&&(ke=ce(ke,j,h));const it=this.normalizer.normalizePropertyName(le,h);ke=this.normalizer.normalizeStyleValue(le,it,ke,h),y[it]=ke}))}})),y}}class Qr{constructor(l,h,y){this.name=l,this.ast=h,this._normalizer=y,this.transitionFactories=[],this.states={},h.states.forEach((j=>{this.states[j.name]=new ri(j.style,j.options&&j.options.params||{},y)})),ii(this.states,"true","1"),ii(this.states,"false","0"),h.transitions.forEach((j=>{this.transitionFactories.push(new ro(l,j,this.states))})),this.fallbackTransition=function pi(k,l,h){return new ro(k,{type:1,animation:{type:2,steps:[],options:null},matchers:[(oe,le)=>!0],options:null,queryCount:0,depCount:0},l)}(l,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(l,h,y,j){return this.transitionFactories.find((oe=>oe.match(l,h,y,j)))||null}matchStyles(l,h,y){return this.fallbackTransition.buildStyles(l,h,y)}}function ii(k,l,h){k.hasOwnProperty(l)?k.hasOwnProperty(h)||(k[h]=k[l]):k.hasOwnProperty(h)&&(k[l]=k[h])}const Ui=new At;class oi{constructor(l,h,y){this.bodyNode=l,this._driver=h,this._normalizer=y,this._animations={},this._playersById={},this.players=[]}register(l,h){const y=[],Q=jn(this._driver,h,y,[]);if(y.length)throw function nt(k){return new o.vHH(3503,S)}();this._animations[l]=Q}_buildPlayer(l,h,y){const j=l.element,Q=ht(0,this._normalizer,0,l.keyframes,h,y);return this._driver.animate(j,Q,l.duration,l.delay,l.easing,[],!0)}create(l,h,y={}){const j=[],Q=this._animations[l];let oe;const le=new Map;if(Q?(oe=Wn(this._driver,h,Q,_t,ft,{},{},y,Ui,j),oe.forEach((Wt=>{const tn=Se(le,Wt.element,{});Wt.postStyleProps.forEach((_n=>tn[_n]=null))}))):(j.push(function we(){return new o.vHH(3300,S)}()),oe=[]),j.length)throw function be(k){return new o.vHH(3504,S)}();le.forEach(((Wt,tn)=>{Object.keys(Wt).forEach((_n=>{Wt[_n]=this._driver.computeStyle(tn,_n,A.l3)}))}));const it=Ye(oe.map((Wt=>{const tn=le.get(Wt.element);return this._buildPlayer(Wt,{},tn)})));return this._playersById[l]=it,it.onDestroy((()=>this.destroy(l))),this.players.push(it),it}destroy(l){const h=this._getPlayer(l);h.destroy(),delete this._playersById[l];const y=this.players.indexOf(h);y>=0&&this.players.splice(y,1)}_getPlayer(l){const h=this._playersById[l];if(!h)throw function rt(k){return new o.vHH(3301,S)}();return h}listen(l,h,y,j){const Q=Le(h,"","","");return Ut(this._getPlayer(l),y,Q,j),()=>{}}command(l,h,y,j){if("register"==y)return void this.register(l,j[0]);if("create"==y)return void this.create(l,h,j[0]||{});const Q=this._getPlayer(l);switch(y){case"play":Q.play();break;case"pause":Q.pause();break;case"reset":Q.reset();break;case"restart":Q.restart();break;case"finish":Q.finish();break;case"init":Q.init();break;case"setPosition":Q.setPosition(parseFloat(j[0]));break;case"destroy":this.destroy(l)}}}const Rr="ng-animate-queued",Ur="ng-animate-disabled",si=[],Ai={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},oo={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},ar="__ng_removed";class Nr{constructor(l,h=""){this.namespaceId=h;const y=l&&l.hasOwnProperty("value");if(this.value=function b(k){return k??null}(y?l.value:l),y){const Q=yn(l);delete Q.value,this.options=Q}else this.options={};this.options.params||(this.options.params={})}get params(){return this.options.params}absorbOptions(l){const h=l.params;if(h){const y=this.options.params;Object.keys(h).forEach((j=>{null==y[j]&&(y[j]=h[j])}))}}}const ir="void",Hr=new Nr(ir);class gi{constructor(l,h,y){this.id=l,this.hostElement=h,this._engine=y,this.players=[],this._triggers={},this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+l,pt(h,this._hostClassName)}listen(l,h,y,j){if(!this._triggers.hasOwnProperty(h))throw function Mt(k,l){return new o.vHH(3302,S)}();if(null==y||0==y.length)throw function wt(k){return new o.vHH(3303,S)}();if(!function D(k){return"start"==k||"done"==k}(y))throw function $e(k,l){return new o.vHH(3400,S)}();const Q=Se(this._elementListeners,l,[]),oe={name:h,phase:y,callback:j};Q.push(oe);const le=Se(this._engine.statesByElement,l,{});return le.hasOwnProperty(h)||(pt(l,Bt),pt(l,Bt+"-"+h),le[h]=Hr),()=>{this._engine.afterFlush((()=>{const ke=Q.indexOf(oe);ke>=0&&Q.splice(ke,1),this._triggers[h]||delete le[h]}))}}register(l,h){return!this._triggers[l]&&(this._triggers[l]=h,!0)}_getTrigger(l){const h=this._triggers[l];if(!h)throw function Ke(k){return new o.vHH(3401,S)}();return h}trigger(l,h,y,j=!0){const Q=this._getTrigger(h),oe=new Hi(this.id,h,l);let le=this._engine.statesByElement.get(l);le||(pt(l,Bt),pt(l,Bt+"-"+h),this._engine.statesByElement.set(l,le={}));let ke=le[h];const it=new Nr(y,this.id);if(!(y&&y.hasOwnProperty("value"))&&ke&&it.absorbOptions(ke.options),le[h]=it,ke||(ke=Hr),it.value!==ir&&ke.value===it.value){if(!function mn(k,l){const h=Object.keys(k),y=Object.keys(l);if(h.length!=y.length)return!1;for(let j=0;j<h.length;j++){const Q=h[j];if(!l.hasOwnProperty(Q)||k[Q]!==l[Q])return!1}return!0}(ke.params,it.params)){const Cn=[],Fn=Q.matchStyles(ke.value,ke.params,Cn),sr=Q.matchStyles(it.value,it.params,Cn);Cn.length?this._engine.reportError(Cn):this._engine.afterFlush((()=>{de(l,Fn),an(l,sr)}))}return}const _n=Se(this._engine.playersByElement,l,[]);_n.forEach((Cn=>{Cn.namespaceId==this.id&&Cn.triggerName==h&&Cn.queued&&Cn.destroy()}));let En=Q.matchTransition(ke.value,it.value,l,it.params),cn=!1;if(!En){if(!j)return;En=Q.fallbackTransition,cn=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:l,triggerName:h,transition:En,fromState:ke,toState:it,player:oe,isFallbackTransition:cn}),cn||(pt(l,Rr),oe.onStart((()=>{Dt(l,Rr)}))),oe.onDone((()=>{let Cn=this.players.indexOf(oe);Cn>=0&&this.players.splice(Cn,1);const Fn=this._engine.playersByElement.get(l);if(Fn){let sr=Fn.indexOf(oe);sr>=0&&Fn.splice(sr,1)}})),this.players.push(oe),_n.push(oe),oe}deregister(l){delete this._triggers[l],this._engine.statesByElement.forEach(((h,y)=>{delete h[l]})),this._elementListeners.forEach(((h,y)=>{this._elementListeners.set(y,h.filter((j=>j.name!=l)))}))}clearElementCache(l){this._engine.statesByElement.delete(l),this._elementListeners.delete(l);const h=this._engine.playersByElement.get(l);h&&(h.forEach((y=>y.destroy())),this._engine.playersByElement.delete(l))}_signalRemovalForInnerTriggers(l,h){const y=this._engine.driver.query(l,Ft,!0);y.forEach((j=>{if(j[ar])return;const Q=this._engine.fetchNamespacesByElement(j);Q.size?Q.forEach((oe=>oe.triggerLeaveAnimation(j,h,!1,!0))):this.clearElementCache(j)})),this._engine.afterFlushAnimationsDone((()=>y.forEach((j=>this.clearElementCache(j)))))}triggerLeaveAnimation(l,h,y,j){const Q=this._engine.statesByElement.get(l),oe=new Map;if(Q){const le=[];if(Object.keys(Q).forEach((ke=>{if(oe.set(ke,Q[ke].value),this._triggers[ke]){const it=this.trigger(l,ke,ir,j);it&&le.push(it)}})),le.length)return this._engine.markElementAsRemoved(this.id,l,!0,h,oe),y&&Ye(le).onDone((()=>this._engine.processLeaveNode(l))),!0}return!1}prepareLeaveAnimationListeners(l){const h=this._elementListeners.get(l),y=this._engine.statesByElement.get(l);if(h&&y){const j=new Set;h.forEach((Q=>{const oe=Q.name;if(j.has(oe))return;j.add(oe);const ke=this._triggers[oe].fallbackTransition,it=y[oe]||Hr,Wt=new Nr(ir),tn=new Hi(this.id,oe,l);this._engine.totalQueuedPlayers++,this._queue.push({element:l,triggerName:oe,transition:ke,fromState:it,toState:Wt,player:tn,isFallbackTransition:!0})}))}}removeNode(l,h){const y=this._engine;if(l.childElementCount&&this._signalRemovalForInnerTriggers(l,h),this.triggerLeaveAnimation(l,h,!0))return;let j=!1;if(y.totalAnimations){const Q=y.players.length?y.playersByQueriedElement.get(l):[];if(Q&&Q.length)j=!0;else{let oe=l;for(;oe=oe.parentNode;)if(y.statesByElement.get(oe)){j=!0;break}}}if(this.prepareLeaveAnimationListeners(l),j)y.markElementAsRemoved(this.id,l,!1,h);else{const Q=l[ar];(!Q||Q===Ai)&&(y.afterFlush((()=>this.clearElementCache(l))),y.destroyInnerAnimations(l),y._onRemovalComplete(l,h))}}insertNode(l,h){pt(l,this._hostClassName)}drainQueuedTransitions(l){const h=[];return this._queue.forEach((y=>{const j=y.player;if(j.destroyed)return;const Q=y.element,oe=this._elementListeners.get(Q);oe&&oe.forEach((le=>{if(le.name==y.triggerName){const ke=Le(Q,y.triggerName,y.fromState.value,y.toState.value);ke._data=l,Ut(y.player,le.phase,ke,le.callback)}})),j.markedForDestroy?this._engine.afterFlush((()=>{j.destroy()})):h.push(y)})),this._queue=[],h.sort(((y,j)=>{const Q=y.transition.ast.depCount,oe=j.transition.ast.depCount;return 0==Q||0==oe?Q-oe:this._engine.driver.containsElement(y.element,j.element)?1:-1}))}destroy(l){this.players.forEach((h=>h.destroy())),this._signalRemovalForInnerTriggers(this.hostElement,l)}elementContainsData(l){let h=!1;return this._elementListeners.has(l)&&(h=!0),h=!!this._queue.find((y=>y.element===l))||h,h}}class yr{constructor(l,h,y){this.bodyNode=l,this.driver=h,this._normalizer=y,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=(j,Q)=>{}}_onRemovalComplete(l,h){this.onRemovalComplete(l,h)}get queuedPlayers(){const l=[];return this._namespaceList.forEach((h=>{h.players.forEach((y=>{y.queued&&l.push(y)}))})),l}createNamespace(l,h){const y=new gi(l,h,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,h)?this._balanceNamespaceList(y,h):(this.newHostElements.set(h,y),this.collectEnterElement(h)),this._namespaceLookup[l]=y}_balanceNamespaceList(l,h){const y=this._namespaceList,j=this.namespacesByHostElement,Q=y.length-1;if(Q>=0){let oe=!1;if(void 0!==this.driver.getParentElement){let le=this.driver.getParentElement(h);for(;le;){const ke=j.get(le);if(ke){const it=y.indexOf(ke);y.splice(it+1,0,l),oe=!0;break}le=this.driver.getParentElement(le)}}else for(let le=Q;le>=0;le--)if(this.driver.containsElement(y[le].hostElement,h)){y.splice(le+1,0,l),oe=!0;break}oe||y.unshift(l)}else y.push(l);return j.set(h,l),l}register(l,h){let y=this._namespaceLookup[l];return y||(y=this.createNamespace(l,h)),y}registerTrigger(l,h,y){let j=this._namespaceLookup[l];j&&j.register(h,y)&&this.totalAnimations++}destroy(l,h){if(!l)return;const y=this._fetchNamespace(l);this.afterFlush((()=>{this.namespacesByHostElement.delete(y.hostElement),delete this._namespaceLookup[l];const j=this._namespaceList.indexOf(y);j>=0&&this._namespaceList.splice(j,1)})),this.afterFlushAnimationsDone((()=>y.destroy(h)))}_fetchNamespace(l){return this._namespaceLookup[l]}fetchNamespacesByElement(l){const h=new Set,y=this.statesByElement.get(l);if(y){const j=Object.keys(y);for(let Q=0;Q<j.length;Q++){const oe=y[j[Q]].namespaceId;if(oe){const le=this._fetchNamespace(oe);le&&h.add(le)}}}return h}trigger(l,h,y,j){if(z(h)){const Q=this._fetchNamespace(l);if(Q)return Q.trigger(h,y,j),!0}return!1}insertNode(l,h,y,j){if(!z(h))return;const Q=h[ar];if(Q&&Q.setForRemoval){Q.setForRemoval=!1,Q.setForMove=!0;const oe=this.collectedLeaveElements.indexOf(h);oe>=0&&this.collectedLeaveElements.splice(oe,1)}if(l){const oe=this._fetchNamespace(l);oe&&oe.insertNode(h,y)}j&&this.collectEnterElement(h)}collectEnterElement(l){this.collectedEnterElements.push(l)}markElementAsDisabled(l,h){h?this.disabledNodes.has(l)||(this.disabledNodes.add(l),pt(l,Ur)):this.disabledNodes.has(l)&&(this.disabledNodes.delete(l),Dt(l,Ur))}removeNode(l,h,y,j){if(z(h)){const Q=l?this._fetchNamespace(l):null;if(Q?Q.removeNode(h,j):this.markElementAsRemoved(l,h,!1,j),y){const oe=this.namespacesByHostElement.get(h);oe&&oe.id!==l&&oe.removeNode(h,j)}}else this._onRemovalComplete(h,j)}markElementAsRemoved(l,h,y,j,Q){this.collectedLeaveElements.push(h),h[ar]={namespaceId:l,setForRemoval:j,hasAnimation:y,removedBeforeQueried:!1,previousTriggersValues:Q}}listen(l,h,y,j,Q){return z(h)?this._fetchNamespace(l).listen(h,y,j,Q):()=>{}}_buildInstruction(l,h,y,j,Q){return l.transition.build(this.driver,l.element,l.fromState.value,l.toState.value,y,j,l.fromState.options,l.toState.options,h,Q)}destroyInnerAnimations(l){let h=this.driver.query(l,Ft,!0);h.forEach((y=>this.destroyActiveAnimationsForElement(y))),0!=this.playersByQueriedElement.size&&(h=this.driver.query(l,Ht,!0),h.forEach((y=>this.finishActiveQueriedAnimationOnElement(y))))}destroyActiveAnimationsForElement(l){const h=this.playersByElement.get(l);h&&h.forEach((y=>{y.queued?y.markedForDestroy=!0:y.destroy()}))}finishActiveQueriedAnimationOnElement(l){const h=this.playersByQueriedElement.get(l);h&&h.forEach((y=>y.finish()))}whenRenderingDone(){return new Promise((l=>{if(this.players.length)return Ye(this.players).onDone((()=>l()));l()}))}processLeaveNode(l){const h=l[ar];if(h&&h.setForRemoval){if(l[ar]=Ai,h.namespaceId){this.destroyInnerAnimations(l);const y=this._fetchNamespace(h.namespaceId);y&&y.clearElementCache(l)}this._onRemovalComplete(l,h.setForRemoval)}l.classList?.contains(Ur)&&this.markElementAsDisabled(l,!1),this.driver.query(l,".ng-animate-disabled",!0).forEach((y=>{this.markElementAsDisabled(y,!1)}))}flush(l=-1){let h=[];if(this.newHostElements.size&&(this.newHostElements.forEach(((y,j)=>this._balanceNamespaceList(y,j))),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let y=0;y<this.collectedEnterElements.length;y++)pt(this.collectedEnterElements[y],"ng-star-inserted");if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){const y=[];try{h=this._flushAnimations(y,l)}finally{for(let j=0;j<y.length;j++)y[j]()}}else for(let y=0;y<this.collectedLeaveElements.length;y++)this.processLeaveNode(this.collectedLeaveElements[y]);if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach((y=>y())),this._flushFns=[],this._whenQuietFns.length){const y=this._whenQuietFns;this._whenQuietFns=[],h.length?Ye(h).onDone((()=>{y.forEach((j=>j()))})):y.forEach((j=>j()))}}reportError(l){throw function ct(k){return new o.vHH(3402,S)}()}_flushAnimations(l,h){const y=new At,j=[],Q=new Map,oe=[],le=new Map,ke=new Map,it=new Map,Wt=new Set;this.disabledNodes.forEach((Xt=>{Wt.add(Xt);const ln=this.driver.query(Xt,".ng-animate-queued",!0);for(let hn=0;hn<ln.length;hn++)Wt.add(ln[hn])}));const tn=this.bodyNode,_n=Array.from(this.statesByElement.keys()),En=Ze(_n,this.collectedEnterElements),cn=new Map;let Cn=0;En.forEach(((Xt,ln)=>{const hn=_t+Cn++;cn.set(ln,hn),Xt.forEach((Mn=>pt(Mn,hn)))}));const Fn=[],sr=new Set,Xn=new Set;for(let Xt=0;Xt<this.collectedLeaveElements.length;Xt++){const ln=this.collectedLeaveElements[Xt],hn=ln[ar];hn&&hn.setForRemoval&&(Fn.push(ln),sr.add(ln),hn.hasAnimation?this.driver.query(ln,".ng-star-inserted",!0).forEach((Mn=>sr.add(Mn))):Xn.add(ln))}const vr=new Map,hr=Ze(_n,Array.from(sr));hr.forEach(((Xt,ln)=>{const hn=ft+Cn++;vr.set(ln,hn),Xt.forEach((Mn=>pt(Mn,hn)))})),l.push((()=>{En.forEach(((Xt,ln)=>{const hn=cn.get(ln);Xt.forEach((Mn=>Dt(Mn,hn)))})),hr.forEach(((Xt,ln)=>{const hn=vr.get(ln);Xt.forEach((Mn=>Dt(Mn,hn)))})),Fn.forEach((Xt=>{this.processLeaveNode(Xt)}))}));const xi=[],Lr=[];for(let Xt=this._namespaceList.length-1;Xt>=0;Xt--)this._namespaceList[Xt].drainQueuedTransitions(h).forEach((hn=>{const Mn=hn.player,er=hn.element;if(xi.push(Mn),this.collectedEnterElements.length){const wr=er[ar];if(wr&&wr.setForMove){if(wr.previousTriggersValues&&wr.previousTriggersValues.has(hn.triggerName)){const yi=wr.previousTriggersValues.get(hn.triggerName),Vr=this.statesByElement.get(hn.element);Vr&&Vr[hn.triggerName]&&(Vr[hn.triggerName].value=yi)}return void Mn.destroy()}}const Ar=!tn||!this.driver.containsElement(tn,er),mr=vr.get(er),ei=cn.get(er),Kn=this._buildInstruction(hn,y,ei,mr,Ar);if(Kn.errors&&Kn.errors.length)return void Lr.push(Kn);if(Ar)return Mn.onStart((()=>de(er,Kn.fromStyles))),Mn.onDestroy((()=>an(er,Kn.toStyles))),void j.push(Mn);if(hn.isFallbackTransition)return Mn.onStart((()=>de(er,Kn.fromStyles))),Mn.onDestroy((()=>an(er,Kn.toStyles))),void j.push(Mn);const ai=[];Kn.timelines.forEach((wr=>{wr.stretchStartingKeyframe=!0,this.disabledNodes.has(wr.element)||ai.push(wr)})),Kn.timelines=ai,y.append(er,Kn.timelines),oe.push({instruction:Kn,player:Mn,element:er}),Kn.queriedElements.forEach((wr=>Se(le,wr,[]).push(Mn))),Kn.preStyleProps.forEach(((wr,yi)=>{const Vr=Object.keys(wr);if(Vr.length){let li=ke.get(yi);li||ke.set(yi,li=new Set),Vr.forEach((Er=>li.add(Er)))}})),Kn.postStyleProps.forEach(((wr,yi)=>{const Vr=Object.keys(wr);let li=it.get(yi);li||it.set(yi,li=new Set),Vr.forEach((Er=>li.add(Er)))}))}));if(Lr.length){const Xt=[];Lr.forEach((ln=>{Xt.push(function Ae(k,l){return new o.vHH(3505,S)}())})),xi.forEach((ln=>ln.destroy())),this.reportError(Xt)}const gr=new Map,qr=new Map;oe.forEach((Xt=>{const ln=Xt.element;y.has(ln)&&(qr.set(ln,ln),this._beforeAnimationBuild(Xt.player.namespaceId,Xt.instruction,gr))})),j.forEach((Xt=>{const ln=Xt.element;this._getPreviousPlayers(ln,!1,Xt.namespaceId,Xt.triggerName,null).forEach((Mn=>{Se(gr,ln,[]).push(Mn),Mn.destroy()}))}));const Jr=Fn.filter((Xt=>or(Xt,ke,it))),Yn=new Map;ue(Yn,this.driver,Xn,it,A.l3).forEach((Xt=>{or(Xt,ke,it)&&Jr.push(Xt)}));const Hn=new Map;En.forEach(((Xt,ln)=>{ue(Hn,this.driver,new Set(Xt),ke,A.k1)})),Jr.forEach((Xt=>{const ln=Yn.get(Xt),hn=Hn.get(Xt);Yn.set(Xt,{...ln,...hn})}));const _i=[],Po=[],Oo={};oe.forEach((Xt=>{const{element:ln,player:hn,instruction:Mn}=Xt;if(y.has(ln)){if(Wt.has(ln))return hn.onDestroy((()=>an(ln,Mn.toStyles))),hn.disabled=!0,hn.overrideTotalTime(Mn.totalTime),void j.push(hn);let er=Oo;if(qr.size>1){let mr=ln;const ei=[];for(;mr=mr.parentNode;){const Kn=qr.get(mr);if(Kn){er=Kn;break}ei.push(mr)}ei.forEach((Kn=>qr.set(Kn,er)))}const Ar=this._buildAnimation(hn.namespaceId,Mn,gr,Q,Hn,Yn);if(hn.setRealPlayer(Ar),er===Oo)_i.push(hn);else{const mr=this.playersByElement.get(er);mr&&mr.length&&(hn.parentPlayer=Ye(mr)),j.push(hn)}}else de(ln,Mn.fromStyles),hn.onDestroy((()=>an(ln,Mn.toStyles))),Po.push(hn),Wt.has(ln)&&j.push(hn)})),Po.forEach((Xt=>{const ln=Q.get(Xt.element);if(ln&&ln.length){const hn=Ye(ln);Xt.setRealPlayer(hn)}})),j.forEach((Xt=>{Xt.parentPlayer?Xt.syncPlayerEvents(Xt.parentPlayer):Xt.destroy()}));for(let Xt=0;Xt<Fn.length;Xt++){const ln=Fn[Xt],hn=ln[ar];if(Dt(ln,ft),hn&&hn.hasAnimation)continue;let Mn=[];if(le.size){let Ar=le.get(ln);Ar&&Ar.length&&Mn.push(...Ar);let mr=this.driver.query(ln,Ht,!0);for(let ei=0;ei<mr.length;ei++){let Kn=le.get(mr[ei]);Kn&&Kn.length&&Mn.push(...Kn)}}const er=Mn.filter((Ar=>!Ar.destroyed));er.length?Rn(this,ln,er):this.processLeaveNode(ln)}return Fn.length=0,_i.forEach((Xt=>{this.players.push(Xt),Xt.onDone((()=>{Xt.destroy();const ln=this.players.indexOf(Xt);this.players.splice(ln,1)})),Xt.play()})),_i}elementContainsData(l,h){let y=!1;const j=h[ar];return j&&j.setForRemoval&&(y=!0),this.playersByElement.has(h)&&(y=!0),this.playersByQueriedElement.has(h)&&(y=!0),this.statesByElement.has(h)&&(y=!0),this._fetchNamespace(l).elementContainsData(h)||y}afterFlush(l){this._flushFns.push(l)}afterFlushAnimationsDone(l){this._whenQuietFns.push(l)}_getPreviousPlayers(l,h,y,j,Q){let oe=[];if(h){const le=this.playersByQueriedElement.get(l);le&&(oe=le)}else{const le=this.playersByElement.get(l);if(le){const ke=!Q||Q==ir;le.forEach((it=>{it.queued||!ke&&it.triggerName!=j||oe.push(it)}))}}return(y||j)&&(oe=oe.filter((le=>!(y&&y!=le.namespaceId||j&&j!=le.triggerName)))),oe}_beforeAnimationBuild(l,h,y){const Q=h.element,oe=h.isRemovalTransition?void 0:l,le=h.isRemovalTransition?void 0:h.triggerName;for(const ke of h.timelines){const it=ke.element,Wt=it!==Q,tn=Se(y,it,[]);this._getPreviousPlayers(it,Wt,oe,le,h.toState).forEach((En=>{const cn=En.getRealPlayer();cn.beforeDestroy&&cn.beforeDestroy(),En.destroy(),tn.push(En)}))}de(Q,h.fromStyles)}_buildAnimation(l,h,y,j,Q,oe){const le=h.triggerName,ke=h.element,it=[],Wt=new Set,tn=new Set,_n=h.timelines.map((cn=>{const Cn=cn.element;Wt.add(Cn);const Fn=Cn[ar];if(Fn&&Fn.removedBeforeQueried)return new A.ZN(cn.duration,cn.delay);const sr=Cn!==ke,Xn=function kn(k){const l=[];return xn(k,l),l}((y.get(Cn)||si).map((gr=>gr.getRealPlayer()))).filter((gr=>!!gr.element&&gr.element===Cn)),vr=Q.get(Cn),hr=oe.get(Cn),xi=ht(0,this._normalizer,0,cn.keyframes,vr,hr),Lr=this._buildPlayer(cn,xi,Xn);if(cn.subTimeline&&j&&tn.add(Cn),sr){const gr=new Hi(l,le,Cn);gr.setRealPlayer(Lr),it.push(gr)}return Lr}));it.forEach((cn=>{Se(this.playersByQueriedElement,cn.element,[]).push(cn),cn.onDone((()=>function $r(k,l,h){let y;if(k instanceof Map){if(y=k.get(l),y){if(y.length){const j=y.indexOf(h);y.splice(j,1)}0==y.length&&k.delete(l)}}else if(y=k[l],y){if(y.length){const j=y.indexOf(h);y.splice(j,1)}0==y.length&&delete k[l]}return y}(this.playersByQueriedElement,cn.element,cn)))})),Wt.forEach((cn=>pt(cn,Jt)));const En=Ye(_n);return En.onDestroy((()=>{Wt.forEach((cn=>Dt(cn,Jt))),an(ke,h.toStyles)})),tn.forEach((cn=>{Se(j,cn,[]).push(En)})),En}_buildPlayer(l,h,y){return h.length>0?this.driver.animate(l.element,h,l.duration,l.delay,l.easing,y):new A.ZN(l.duration,l.delay)}}class Hi{constructor(l,h,y){this.namespaceId=l,this.triggerName=h,this.element=y,this._player=new A.ZN,this._containsRealPlayer=!1,this._queuedCallbacks={},this.destroyed=!1,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(l){this._containsRealPlayer||(this._player=l,Object.keys(this._queuedCallbacks).forEach((h=>{this._queuedCallbacks[h].forEach((y=>Ut(l,h,void 0,y)))})),this._queuedCallbacks={},this._containsRealPlayer=!0,this.overrideTotalTime(l.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(l){this.totalTime=l}syncPlayerEvents(l){const h=this._player;h.triggerCallback&&l.onStart((()=>h.triggerCallback("start"))),l.onDone((()=>this.finish())),l.onDestroy((()=>this.destroy()))}_queueEvent(l,h){Se(this._queuedCallbacks,l,[]).push(h)}onDone(l){this.queued&&this._queueEvent("done",l),this._player.onDone(l)}onStart(l){this.queued&&this._queueEvent("start",l),this._player.onStart(l)}onDestroy(l){this.queued&&this._queueEvent("destroy",l),this._player.onDestroy(l)}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(l){this.queued||this._player.setPosition(l)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(l){const h=this._player;h.triggerCallback&&h.triggerCallback(l)}}function z(k){return k&&1===k.nodeType}function K(k,l){const h=k.style.display;return k.style.display=l??"none",h}function ue(k,l,h,y,j){const Q=[];h.forEach((ke=>Q.push(K(ke))));const oe=[];y.forEach(((ke,it)=>{const Wt={};ke.forEach((tn=>{const _n=Wt[tn]=l.computeStyle(it,tn,j);(!_n||0==_n.length)&&(it[ar]=oo,oe.push(it))})),k.set(it,Wt)}));let le=0;return h.forEach((ke=>K(ke,Q[le++]))),oe}function Ze(k,l){const h=new Map;if(k.forEach((le=>h.set(le,[]))),0==l.length)return h;const j=new Set(l),Q=new Map;function oe(le){if(!le)return 1;let ke=Q.get(le);if(ke)return ke;const it=le.parentNode;return ke=h.has(it)?it:j.has(it)?1:oe(it),Q.set(le,ke),ke}return l.forEach((le=>{const ke=oe(le);1!==ke&&h.get(ke).push(le)})),h}function pt(k,l){k.classList?.add(l)}function Dt(k,l){k.classList?.remove(l)}function Rn(k,l,h){Ye(h).onDone((()=>k.processLeaveNode(l)))}function xn(k,l){for(let h=0;h<k.length;h++){const y=k[h];y instanceof A.ZE?xn(y.players,l):l.push(y)}}function or(k,l,h){const y=h.get(k);if(!y)return!1;let j=l.get(k);return j?y.forEach((Q=>j.add(Q))):l.set(k,y),h.delete(k),!0}class Pn{constructor(l,h,y){this.bodyNode=l,this._driver=h,this._normalizer=y,this._triggerCache={},this.onRemovalComplete=(j,Q)=>{},this._transitionEngine=new yr(l,h,y),this._timelineEngine=new oi(l,h,y),this._transitionEngine.onRemovalComplete=(j,Q)=>this.onRemovalComplete(j,Q)}registerTrigger(l,h,y,j,Q){const oe=l+"-"+j;let le=this._triggerCache[oe];if(!le){const ke=[],Wt=jn(this._driver,Q,ke,[]);if(ke.length)throw function Nt(k,l){return new o.vHH(3404,S)}();le=function fi(k,l,h){return new Qr(k,l,h)}(j,Wt,this._normalizer),this._triggerCache[oe]=le}this._transitionEngine.registerTrigger(h,j,le)}register(l,h){this._transitionEngine.register(l,h)}destroy(l,h){this._transitionEngine.destroy(l,h)}onInsert(l,h,y,j){this._transitionEngine.insertNode(l,h,y,j)}onRemove(l,h,y,j){this._transitionEngine.removeNode(l,h,j||!1,y)}disableAnimations(l,h){this._transitionEngine.markElementAsDisabled(l,h)}process(l,h,y,j){if("@"==y.charAt(0)){const[Q,oe]=_e(y);this._timelineEngine.command(Q,h,oe,j)}else this._transitionEngine.trigger(l,h,y,j)}listen(l,h,y,j,Q){if("@"==y.charAt(0)){const[oe,le]=_e(y);return this._timelineEngine.listen(oe,h,le,Q)}return this._transitionEngine.listen(l,h,y,j,Q)}flush(l=-1){this._transitionEngine.flush(l)}get players(){return this._transitionEngine.players.concat(this._timelineEngine.players)}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}}let On=(()=>{class k{constructor(h,y,j){this._element=h,this._startStyles=y,this._endStyles=j,this._state=0;let Q=k.initialStylesByElement.get(h);Q||k.initialStylesByElement.set(h,Q={}),this._initialStyles=Q}start(){this._state<1&&(this._startStyles&&an(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(an(this._element,this._initialStyles),this._endStyles&&(an(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(k.initialStylesByElement.delete(this._element),this._startStyles&&(de(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(de(this._element,this._endStyles),this._endStyles=null),an(this._element,this._initialStyles),this._state=3)}}return k.initialStylesByElement=new WeakMap,k})();function br(k){let l=null;const h=Object.keys(k);for(let y=0;y<h.length;y++){const j=h[y];Gr(j)&&(l=l||{},l[j]=k[j])}return l}function Gr(k){return"display"===k||"position"===k}class Or{constructor(l,h,y,j){this.element=l,this.keyframes=h,this.options=y,this._specialStyles=j,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=y.duration,this._delay=y.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach((l=>l())),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const l=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,l,this.options),this._finalKeyframe=l.length?l[l.length-1]:{},this.domPlayer.addEventListener("finish",(()=>this._onFinish()))}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_triggerWebAnimation(l,h,y){return l.animate(h,y)}onStart(l){this._onStartFns.push(l)}onDone(l){this._onDoneFns.push(l)}onDestroy(l){this._onDestroyFns.push(l)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach((l=>l())),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((l=>l())),this._onDestroyFns=[])}setPosition(l){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=l*this.time}getPosition(){return this.domPlayer.currentTime/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const l={};if(this.hasStarted()){const h=this._finalKeyframe;Object.keys(h).forEach((y=>{"offset"!=y&&(l[y]=this._finished?h[y]:Tt(this.element,y))}))}this.currentSnapshot=l}triggerCallback(l){const h="start"==l?this._onStartFns:this._onDoneFns;h.forEach((y=>y())),h.length=0}}class w{validateStyleProperty(l){return He(l)}matchesElement(l,h){return!1}containsElement(l,h){return F(l,h)}getParentElement(l){return Bn(l)}query(l,h,y){return X(l,h,y)}computeStyle(l,h,y){return window.getComputedStyle(l)[h]}animate(l,h,y,j,Q,oe=[]){const ke={duration:y,delay:j,fill:0==j?"both":"forwards"};Q&&(ke.easing=Q);const it={},Wt=oe.filter((_n=>_n instanceof Or));(function ie(k,l){return 0===k||0===l})(y,j)&&Wt.forEach((_n=>{let En=_n.currentSnapshot;Object.keys(En).forEach((cn=>it[cn]=En[cn]))})),h=function Ne(k,l,h){const y=Object.keys(h);if(y.length&&l.length){let Q=l[0],oe=[];if(y.forEach((le=>{Q.hasOwnProperty(le)||oe.push(le),Q[le]=h[le]})),oe.length)for(var j=1;j<l.length;j++){let le=l[j];oe.forEach((function(ke){le[ke]=Tt(k,ke)}))}}return l}(l,h=h.map((_n=>It(_n,!1))),it);const tn=function Un(k,l){let h=null,y=null;return Array.isArray(l)&&l.length?(h=br(l[0]),l.length>1&&(y=br(l[l.length-1]))):l&&(h=br(l)),h||y?new On(k,h,y):null}(l,h);return new Or(l,h,ke,tn)}}var v=u(6895);let _=(()=>{class k extends A._j{constructor(h,y){super(),this._nextAnimationId=0,this._renderer=h.createRenderer(y.body,{id:"0",encapsulation:o.ifc.None,styles:[],data:{animation:[]}})}build(h){const y=this._nextAnimationId.toString();this._nextAnimationId++;const j=Array.isArray(h)?(0,A.vP)(h):h;return Qt(this._renderer,null,y,"register",[j]),new V(y,this._renderer)}}return k.ɵfac=function(h){return new(h||k)(o.LFG(o.FYo),o.LFG(v.K0))},k.ɵprov=o.Yz7({token:k,factory:k.ɵfac}),k})();class V extends A.LC{constructor(l,h){super(),this._id=l,this._renderer=h}create(l,h){return new tt(this._id,l,h||{},this._renderer)}}class tt{constructor(l,h,y,j){this.id=l,this.element=h,this._renderer=j,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",y)}_listen(l,h){return this._renderer.listen(this.element,`@@${this.id}:${l}`,h)}_command(l,...h){return Qt(this._renderer,this.element,this.id,l,h)}onDone(l){this._listen("done",l)}onStart(l){this._listen("start",l)}onDestroy(l){this._listen("destroy",l)}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(l){this._command("setPosition",l)}getPosition(){return this._renderer.engine.players[+this.id]?.getPosition()??0}}function Qt(k,l,h,y,j){return k.setProperty(l,`@@${h}:${y}`,j)}const lr="@.disabled";let zr=(()=>{class k{constructor(h,y,j){this.delegate=h,this.engine=y,this._zone=j,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,this.promise=Promise.resolve(0),y.onRemovalComplete=(Q,oe)=>{const le=oe?.parentNode(Q);le&&oe.removeChild(le,Q)}}createRenderer(h,y){const Q=this.delegate.createRenderer(h,y);if(!(h&&y&&y.data&&y.data.animation)){let Wt=this._rendererCache.get(Q);return Wt||(Wt=new Fr("",Q,this.engine),this._rendererCache.set(Q,Wt)),Wt}const oe=y.id,le=y.id+"-"+this._currentId;this._currentId++,this.engine.register(le,h);const ke=Wt=>{Array.isArray(Wt)?Wt.forEach(ke):this.engine.registerTrigger(oe,le,h,Wt.name,Wt)};return y.data.animation.forEach(ke),new kr(this,le,Q,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){this.promise.then((()=>{this._microtaskId++}))}scheduleListenerCallback(h,y,j){h>=0&&h<this._microtaskId?this._zone.run((()=>y(j))):(0==this._animationCallbacksBuffer.length&&Promise.resolve(null).then((()=>{this._zone.run((()=>{this._animationCallbacksBuffer.forEach((Q=>{const[oe,le]=Q;oe(le)})),this._animationCallbacksBuffer=[]}))})),this._animationCallbacksBuffer.push([y,j]))}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 k.ɵfac=function(h){return new(h||k)(o.LFG(o.FYo),o.LFG(Pn),o.LFG(o.R0b))},k.ɵprov=o.Yz7({token:k,factory:k.ɵfac}),k})();class Fr{constructor(l,h,y){this.namespaceId=l,this.delegate=h,this.engine=y,this.destroyNode=this.delegate.destroyNode?j=>h.destroyNode(j):null}get data(){return this.delegate.data}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.delegate.destroy()}createElement(l,h){return this.delegate.createElement(l,h)}createComment(l){return this.delegate.createComment(l)}createText(l){return this.delegate.createText(l)}appendChild(l,h){this.delegate.appendChild(l,h),this.engine.onInsert(this.namespaceId,h,l,!1)}insertBefore(l,h,y,j=!0){this.delegate.insertBefore(l,h,y),this.engine.onInsert(this.namespaceId,h,l,j)}removeChild(l,h,y){this.engine.onRemove(this.namespaceId,h,this.delegate,y)}selectRootElement(l,h){return this.delegate.selectRootElement(l,h)}parentNode(l){return this.delegate.parentNode(l)}nextSibling(l){return this.delegate.nextSibling(l)}setAttribute(l,h,y,j){this.delegate.setAttribute(l,h,y,j)}removeAttribute(l,h,y){this.delegate.removeAttribute(l,h,y)}addClass(l,h){this.delegate.addClass(l,h)}removeClass(l,h){this.delegate.removeClass(l,h)}setStyle(l,h,y,j){this.delegate.setStyle(l,h,y,j)}removeStyle(l,h,y){this.delegate.removeStyle(l,h,y)}setProperty(l,h,y){"@"==h.charAt(0)&&h==lr?this.disableAnimations(l,!!y):this.delegate.setProperty(l,h,y)}setValue(l,h){this.delegate.setValue(l,h)}listen(l,h,y){return this.delegate.listen(l,h,y)}disableAnimations(l,h){this.engine.disableAnimations(l,h)}}class kr extends Fr{constructor(l,h,y,j){super(h,y,j),this.factory=l,this.namespaceId=h}setProperty(l,h,y){"@"==h.charAt(0)?"."==h.charAt(1)&&h==lr?this.disableAnimations(l,y=void 0===y||!!y):this.engine.process(this.namespaceId,l,h.substr(1),y):this.delegate.setProperty(l,h,y)}listen(l,h,y){if("@"==h.charAt(0)){const j=function po(k){switch(k){case"body":return document.body;case"document":return document;case"window":return window;default:return k}}(l);let Q=h.substr(1),oe="";return"@"!=Q.charAt(0)&&([Q,oe]=function mt(k){const l=k.indexOf(".");return[k.substring(0,l),k.substr(l+1)]}(Q)),this.engine.listen(this.namespaceId,j,Q,oe,(le=>{this.factory.scheduleListenerCallback(le._data||-1,y,le)}))}return this.delegate.listen(l,h,y)}}let Tn=(()=>{class k extends Pn{constructor(h,y,j){super(h.body,y,j)}ngOnDestroy(){this.flush()}}return k.ɵfac=function(h){return new(h||k)(o.LFG(v.K0),o.LFG(Ie),o.LFG(Zr))},k.ɵprov=o.Yz7({token:k,factory:k.ɵfac}),k})();const vo=new o.OlP("AnimationModuleType"),mi=[{provide:A._j,useClass:_},{provide:Zr,useFactory:function To(){return new Mi}},{provide:Pn,useClass:Tn},{provide:o.FYo,useFactory:function cr(k,l,h){return new zr(k,l,h)},deps:[p.se,Pn,o.R0b]}],Wr=[{provide:Ie,useFactory:()=>new w},{provide:vo,useValue:"BrowserAnimations"},...mi],go=[{provide:Ie,useClass:ne},{provide:vo,useValue:"NoopAnimations"},...mi];let $i=(()=>{class k{static withConfig(h){return{ngModule:k,providers:h.disableAnimations?go:Wr}}}return k.ɵfac=function(h){return new(h||k)},k.ɵmod=o.oAB({type:k}),k.ɵinj=o.cJS({providers:Wr,imports:[p.b2]}),k})()},1481:(G,O,u)=>{"use strict";u.d(O,{b2:()=>We,q6:()=>Se,se:()=>nt});var o=u(6895),p=u(5062);class A extends o.w_{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class S extends A{static makeCurrent(){(0,o.HT)(new S)}onAndCancel(W,U,ce){return W.addEventListener(U,ce,!1),()=>{W.removeEventListener(U,ce,!1)}}dispatchEvent(W,U){W.dispatchEvent(U)}remove(W){W.parentNode&&W.parentNode.removeChild(W)}createElement(W,U){return(U=U||this.getDefaultDocument()).createElement(W)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(W){return W.nodeType===Node.ELEMENT_NODE}isShadowRoot(W){return W instanceof DocumentFragment}getGlobalEventTarget(W,U){return"window"===U?window:"document"===U?W:"body"===U?W.body:null}getBaseHref(W){const U=function M(){return E=E||document.querySelector("base"),E?E.getAttribute("href"):null}();return null==U?null:function I(B){R=R||document.createElement("a"),R.setAttribute("href",B);const W=R.pathname;return"/"===W.charAt(0)?W:`/${W}`}(U)}resetBaseElement(){E=null}getUserAgent(){return window.navigator.userAgent}getCookie(W){return(0,o.Mx)(document.cookie,W)}}let R,E=null;const P=new p.OlP("TRANSITION_ID"),L=[{provide:p.ip1,useFactory:function x(B,W,U){return()=>{U.get(p.CZH).donePromise.then((()=>{const ce=(0,o.q)(),Ve=W.querySelectorAll(`style[ng-transition="${B}"]`);for(let yt=0;yt<Ve.length;yt++)ce.remove(Ve[yt])}))}},deps:[P,o.K0,p.zs3],multi:!0}];class Z{static init(){(0,p.VLi)(new Z)}addToWindow(W){p.dqk.getAngularTestability=(ce,Ve=!0)=>{const yt=W.findTestabilityInTree(ce,Ve);if(null==yt)throw new Error("Could not find testability for element.");return yt},p.dqk.getAllAngularTestabilities=()=>W.getAllTestabilities(),p.dqk.getAllAngularRootElements=()=>W.getAllRootElements(),p.dqk.frameworkStabilizers||(p.dqk.frameworkStabilizers=[]),p.dqk.frameworkStabilizers.push((ce=>{const Ve=p.dqk.getAllAngularTestabilities();let yt=Ve.length,ut=!1;const lt=function(ie){ut=ut||ie,yt--,0==yt&&ce(ut)};Ve.forEach((function(ie){ie.whenStable(lt)}))}))}findTestabilityInTree(W,U,ce){return null==U?null:W.getTestability(U)??(ce?(0,o.q)().isShadowRoot(U)?this.findTestabilityInTree(W,U.host,!0):this.findTestabilityInTree(W,U.parentElement,!0):null)}}let te=(()=>{class B{build(){return new XMLHttpRequest}}return B.ɵfac=function(U){return new(U||B)},B.ɵprov=p.Yz7({token:B,factory:B.ɵfac}),B})();const ye=new p.OlP("EventManagerPlugins");let Ce=(()=>{class B{constructor(U,ce){this._zone=ce,this._eventNameToPlugin=new Map,U.forEach((Ve=>Ve.manager=this)),this._plugins=U.slice().reverse()}addEventListener(U,ce,Ve){return this._findPluginFor(ce).addEventListener(U,ce,Ve)}addGlobalEventListener(U,ce,Ve){return this._findPluginFor(ce).addGlobalEventListener(U,ce,Ve)}getZone(){return this._zone}_findPluginFor(U){const ce=this._eventNameToPlugin.get(U);if(ce)return ce;const Ve=this._plugins;for(let yt=0;yt<Ve.length;yt++){const ut=Ve[yt];if(ut.supports(U))return this._eventNameToPlugin.set(U,ut),ut}throw new Error(`No event manager plugin found for event ${U}`)}}return B.ɵfac=function(U){return new(U||B)(p.LFG(ye),p.LFG(p.R0b))},B.ɵprov=p.Yz7({token:B,factory:B.ɵfac}),B})();class Te{constructor(W){this._doc=W}addGlobalEventListener(W,U,ce){const Ve=(0,o.q)().getGlobalEventTarget(this._doc,W);if(!Ve)throw new Error(`Unsupported event target ${Ve} for event ${U}`);return this.addEventListener(Ve,U,ce)}}let Oe=(()=>{class B{constructor(){this._stylesSet=new Set}addStyles(U){const ce=new Set;U.forEach((Ve=>{this._stylesSet.has(Ve)||(this._stylesSet.add(Ve),ce.add(Ve))})),this.onStylesAdded(ce)}onStylesAdded(U){}getAllStyles(){return Array.from(this._stylesSet)}}return B.ɵfac=function(U){return new(U||B)},B.ɵprov=p.Yz7({token:B,factory:B.ɵfac}),B})(),Ot=(()=>{class B extends Oe{constructor(U){super(),this._doc=U,this._hostNodes=new Map,this._hostNodes.set(U.head,[])}_addStylesToHost(U,ce,Ve){U.forEach((yt=>{const ut=this._doc.createElement("style");ut.textContent=yt,Ve.push(ce.appendChild(ut))}))}addHost(U){const ce=[];this._addStylesToHost(this._stylesSet,U,ce),this._hostNodes.set(U,ce)}removeHost(U){const ce=this._hostNodes.get(U);ce&&ce.forEach(me),this._hostNodes.delete(U)}onStylesAdded(U){this._hostNodes.forEach(((ce,Ve)=>{this._addStylesToHost(U,Ve,ce)}))}ngOnDestroy(){this._hostNodes.forEach((U=>U.forEach(me)))}}return B.ɵfac=function(U){return new(U||B)(p.LFG(o.K0))},B.ɵprov=p.Yz7({token:B,factory:B.ɵfac}),B})();function me(B){(0,o.q)().remove(B)}const ze={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/"},Ee=/%COMP%/g;function Qe(B,W,U){for(let ce=0;ce<W.length;ce++){let Ve=W[ce];Array.isArray(Ve)?Qe(B,Ve,U):(Ve=Ve.replace(Ee,B),U.push(Ve))}return U}function Nt(B){return W=>{if("__ngUnwrap__"===W)return B;!1===B(W)&&(W.preventDefault(),W.returnValue=!1)}}let nt=(()=>{class B{constructor(U,ce,Ve){this.eventManager=U,this.sharedStylesHost=ce,this.appId=Ve,this.rendererByCompId=new Map,this.defaultRenderer=new we(U)}createRenderer(U,ce){if(!U||!ce)return this.defaultRenderer;switch(ce.encapsulation){case p.ifc.Emulated:{let Ve=this.rendererByCompId.get(ce.id);return Ve||(Ve=new Mt(this.eventManager,this.sharedStylesHost,ce,this.appId),this.rendererByCompId.set(ce.id,Ve)),Ve.applyToHost(U),Ve}case 1:case p.ifc.ShadowDom:return new wt(this.eventManager,this.sharedStylesHost,U,ce);default:if(!this.rendererByCompId.has(ce.id)){const Ve=Qe(ce.id,ce.styles,[]);this.sharedStylesHost.addStyles(Ve),this.rendererByCompId.set(ce.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}return B.ɵfac=function(U){return new(U||B)(p.LFG(Ce),p.LFG(Ot),p.LFG(p.AFp))},B.ɵprov=p.Yz7({token:B,factory:B.ɵfac}),B})();class we{constructor(W){this.eventManager=W,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(W,U){return U?document.createElementNS(ze[U]||U,W):document.createElement(W)}createComment(W){return document.createComment(W)}createText(W){return document.createTextNode(W)}appendChild(W,U){W.appendChild(U)}insertBefore(W,U,ce){W&&W.insertBefore(U,ce)}removeChild(W,U){W&&W.removeChild(U)}selectRootElement(W,U){let ce="string"==typeof W?document.querySelector(W):W;if(!ce)throw new Error(`The selector "${W}" did not match any elements`);return U||(ce.textContent=""),ce}parentNode(W){return W.parentNode}nextSibling(W){return W.nextSibling}setAttribute(W,U,ce,Ve){if(Ve){U=Ve+":"+U;const yt=ze[Ve];yt?W.setAttributeNS(yt,U,ce):W.setAttribute(U,ce)}else W.setAttribute(U,ce)}removeAttribute(W,U,ce){if(ce){const Ve=ze[ce];Ve?W.removeAttributeNS(Ve,U):W.removeAttribute(`${ce}:${U}`)}else W.removeAttribute(U)}addClass(W,U){W.classList.add(U)}removeClass(W,U){W.classList.remove(U)}setStyle(W,U,ce,Ve){Ve&(p.JOm.DashCase|p.JOm.Important)?W.style.setProperty(U,ce,Ve&p.JOm.Important?"important":""):W.style[U]=ce}removeStyle(W,U,ce){ce&p.JOm.DashCase?W.style.removeProperty(U):W.style[U]=""}setProperty(W,U,ce){W[U]=ce}setValue(W,U){W.nodeValue=U}listen(W,U,ce){return"string"==typeof W?this.eventManager.addGlobalEventListener(W,U,Nt(ce)):this.eventManager.addEventListener(W,U,Nt(ce))}}class Mt extends we{constructor(W,U,ce,Ve){super(W),this.component=ce;const yt=Qe(Ve+"-"+ce.id,ce.styles,[]);U.addStyles(yt),this.contentAttr=function je(B){return"_ngcontent-%COMP%".replace(Ee,B)}(Ve+"-"+ce.id),this.hostAttr=function Ue(B){return"_nghost-%COMP%".replace(Ee,B)}(Ve+"-"+ce.id)}applyToHost(W){super.setAttribute(W,this.hostAttr,"")}createElement(W,U){const ce=super.createElement(W,U);return super.setAttribute(ce,this.contentAttr,""),ce}}class wt extends we{constructor(W,U,ce,Ve){super(W),this.sharedStylesHost=U,this.hostEl=ce,this.shadowRoot=ce.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const yt=Qe(Ve.id,Ve.styles,[]);for(let ut=0;ut<yt.length;ut++){const lt=document.createElement("style");lt.textContent=yt[ut],this.shadowRoot.appendChild(lt)}}nodeOrShadowRoot(W){return W===this.hostEl?this.shadowRoot:W}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}appendChild(W,U){return super.appendChild(this.nodeOrShadowRoot(W),U)}insertBefore(W,U,ce){return super.insertBefore(this.nodeOrShadowRoot(W),U,ce)}removeChild(W,U){return super.removeChild(this.nodeOrShadowRoot(W),U)}parentNode(W){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(W)))}}let $e=(()=>{class B extends Te{constructor(U){super(U)}supports(U){return!0}addEventListener(U,ce,Ve){return U.addEventListener(ce,Ve,!1),()=>this.removeEventListener(U,ce,Ve)}removeEventListener(U,ce,Ve){return U.removeEventListener(ce,Ve)}}return B.ɵfac=function(U){return new(U||B)(p.LFG(o.K0))},B.ɵprov=p.Yz7({token:B,factory:B.ɵfac}),B})();const Ke=["alt","control","meta","shift"],De={"\b":"Backspace","\t":"Tab","":"Delete","":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},Ae={A:"1",B:"2",C:"3",D:"4",E:"5",F:"6",G:"7",H:"8",I:"9",J:"*",K:"+",M:"-",N:".",O:"/","`":"0","":"NumLock"},ve={alt:B=>B.altKey,control:B=>B.ctrlKey,meta:B=>B.metaKey,shift:B=>B.shiftKey};let Ge=(()=>{class B extends Te{constructor(U){super(U)}supports(U){return null!=B.parseEventName(U)}addEventListener(U,ce,Ve){const yt=B.parseEventName(ce),ut=B.eventCallback(yt.fullKey,Ve,this.manager.getZone());return this.manager.getZone().runOutsideAngular((()=>(0,o.q)().onAndCancel(U,yt.domEventName,ut)))}static parseEventName(U){const ce=U.toLowerCase().split("."),Ve=ce.shift();if(0===ce.length||"keydown"!==Ve&&"keyup"!==Ve)return null;const yt=B._normalizeKey(ce.pop());let ut="";if(Ke.forEach((ie=>{const Ne=ce.indexOf(ie);Ne>-1&&(ce.splice(Ne,1),ut+=ie+".")})),ut+=yt,0!=ce.length||0===yt.length)return null;const lt={};return lt.domEventName=Ve,lt.fullKey=ut,lt}static getEventFullKey(U){let ce="",Ve=function Ye(B){let W=B.key;if(null==W){if(W=B.keyIdentifier,null==W)return"Unidentified";W.startsWith("U+")&&(W=String.fromCharCode(parseInt(W.substring(2),16)),3===B.location&&Ae.hasOwnProperty(W)&&(W=Ae[W]))}return De[W]||W}(U);return Ve=Ve.toLowerCase()," "===Ve?Ve="space":"."===Ve&&(Ve="dot"),Ke.forEach((yt=>{yt!=Ve&&ve[yt](U)&&(ce+=yt+".")})),ce+=Ve,ce}static eventCallback(U,ce,Ve){return yt=>{B.getEventFullKey(yt)===U&&Ve.runGuarded((()=>ce(yt)))}}static _normalizeKey(U){return"esc"===U?"escape":U}}return B.ɵfac=function(U){return new(U||B)(p.LFG(o.K0))},B.ɵprov=p.Yz7({token:B,factory:B.ɵfac}),B})();const Se=(0,p.eFA)(p._c5,"browser",[{provide:p.Lbi,useValue:o.bD},{provide:p.g9A,useValue:function ht(){S.makeCurrent(),Z.init()},multi:!0},{provide:o.K0,useFactory:function fn(){return(0,p.RDi)(document),document},deps:[]}]),_e=[{provide:p.zSh,useValue:"root"},{provide:p.qLn,useFactory:function Ut(){return new p.qLn},deps:[]},{provide:ye,useClass:$e,multi:!0,deps:[o.K0,p.R0b,p.Lbi]},{provide:ye,useClass:Ge,multi:!0,deps:[o.K0]},{provide:nt,useClass:nt,deps:[Ce,Ot,p.AFp]},{provide:p.FYo,useExisting:nt},{provide:Oe,useExisting:Ot},{provide:Ot,useClass:Ot,deps:[o.K0]},{provide:p.dDg,useClass:p.dDg,deps:[p.R0b]},{provide:Ce,useClass:Ce,deps:[ye,p.R0b]},{provide:o.JF,useClass:te,deps:[]}];let We=(()=>{class B{constructor(U){if(U)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(U){return{ngModule:B,providers:[{provide:p.AFp,useValue:U.appId},{provide:P,useExisting:p.AFp},L]}}}return B.ɵfac=function(U){return new(U||B)(p.LFG(B,12))},B.ɵmod=p.oAB({type:B}),B.ɵinj=p.cJS({providers:_e,imports:[o.ez,p.hGG]}),B})();typeof window<"u"&&window},7451:(G,O,u)=>{"use strict";u.d(O,{yS:()=>ao,Bz:()=>Za,lC:()=>Rn});var o=u(6895),p=u(5062),A=u(2866),S=u(6688),E=u(3489);class M extends E.L{notifyNext(d,c,C,T,Y){this.destination.next(c)}notifyError(d,c){this.destination.error(d)}notifyComplete(d){this.destination.complete()}}class R extends E.L{constructor(d,c,C){super(),this.parent=d,this.outerValue=c,this.outerIndex=C,this.index=0}_next(d){this.parent.notifyNext(this.outerValue,d,this.outerIndex,this.index++,this)}_error(d){this.parent.notifyError(d,this),this.unsubscribe()}_complete(){this.parent.notifyComplete(this),this.unsubscribe()}}var I=u(9249),P=u(2916);function x(g,d,c,C,T=new R(g,c,C)){if(!T.closed)return d instanceof P.y?d.subscribe(T):(0,I.s)(d)(T)}var L=u(3009);const Z={};class ye{constructor(d){this.resultSelector=d}call(d,c){return c.subscribe(new Ce(d,this.resultSelector))}}class Ce extends M{constructor(d,c){super(d),this.resultSelector=c,this.active=0,this.values=[],this.observables=[]}_next(d){this.values.push(Z),this.observables.push(d)}_complete(){const d=this.observables,c=d.length;if(0===c)this.destination.complete();else{this.active=c,this.toRespond=c;for(let C=0;C<c;C++)this.add(x(this,d[C],void 0,C))}}notifyComplete(d){0==(this.active-=1)&&this.destination.complete()}notifyNext(d,c,C){const T=this.values,re=this.toRespond?T[C]===Z?--this.toRespond:this.toRespond:0;T[C]=c,0===re&&(this.resultSelector?this._tryResultSelector(T):this.destination.next(T.slice()))}_tryResultSelector(d){let c;try{c=this.resultSelector.apply(this,d)}catch(C){return void this.destination.error(C)}this.destination.next(c)}}var Te=u(5254),Oe=u(8896);function Ot(g){return new P.y((d=>{let c;try{c=g()}catch(T){return void d.error(T)}return(c?(0,Te.D)(c):(0,Oe.c)()).subscribe(d)}))}var me=u(1086),ze=u(591),Ee=u(1737),fe=u(4450),bt=u(1221),Lt=u(1762),xt=u(8929);function je(g,d){let c=!1;return arguments.length>=2&&(c=!0),function(T){return T.lift(new Ue(g,d,c))}}class Ue{constructor(d,c,C=!1){this.accumulator=d,this.seed=c,this.hasSeed=C}call(d,c){return c.subscribe(new Qe(d,this.accumulator,this.seed,this.hasSeed))}}class Qe extends E.L{constructor(d,c,C,T){super(d),this.accumulator=c,this._seed=C,this.hasSeed=T,this.index=0}get seed(){return this._seed}set seed(d){this.hasSeed=!0,this._seed=d}_next(d){if(this.hasSeed)return this._tryNext(d);this.seed=d,this.destination.next(d)}_tryNext(d){const c=this.index++;let C;try{C=this.accumulator(this.seed,d,c)}catch(T){this.destination.error(T)}this.seed=C,this.destination.next(C)}}var Nt=u(1177);function vt(g){return function(c){const C=new nt(g),T=c.lift(C);return C.caught=T}}class nt{constructor(d){this.selector=d}call(d,c){return c.subscribe(new we(d,this.selector,this.caught))}}class we extends Nt.Ds{constructor(d,c,C){super(d),this.selector=c,this.caught=C}error(d){if(!this.isStopped){let c;try{c=this.selector(d,this.caught)}catch(Y){return void super.error(Y)}this._unsubscribeAndRecycle();const C=new Nt.IY(this);this.add(C);const T=(0,Nt.ft)(c,C);T!==C&&this.add(T)}}}var be=u(2198),rt=u(4231);function Mt(g){return function(c){return 0===g?(0,Oe.c)():c.lift(new wt(g))}}class wt{constructor(d){if(this.total=d,this.total<0)throw new rt.W}call(d,c){return c.subscribe(new $e(d,this.total))}}class $e extends E.L{constructor(d,c){super(d),this.total=c,this.ring=new Array,this.count=0}_next(d){const c=this.ring,C=this.total,T=this.count++;c.length<C?c.push(d):c[T%C]=d}_complete(){const d=this.destination;let c=this.count;if(c>0){const C=this.count>=this.total?this.total:this.count,T=this.ring;for(let Y=0;Y<C;Y++){const re=c++%C;d.next(T[re])}}d.complete()}}var Ke=u(4907),ct=u(7314),De=u(5379);function ve(){}var Ge=u(7043);function Ye(g,d,c){return function(T){return T.lift(new ht(g,d,c))}}class ht{constructor(d,c,C){this.nextOrObserver=d,this.error=c,this.complete=C}call(d,c){return c.subscribe(new Ut(d,this.nextOrObserver,this.error,this.complete))}}class Ut extends E.L{constructor(d,c,C,T){super(d),this._tapNext=ve,this._tapError=ve,this._tapComplete=ve,this._tapError=C||ve,this._tapComplete=T||ve,(0,Ge.m)(c)?(this._context=this,this._tapNext=c):c&&(this._context=c,this._tapNext=c.next||ve,this._tapError=c.error||ve,this._tapComplete=c.complete||ve)}_next(d){try{this._tapNext.call(this._context,d)}catch(c){return void this.destination.error(c)}this.destination.next(d)}_error(d){try{this._tapError.call(this._context,d)}catch(c){return void this.destination.error(c)}this.destination.error(d)}_complete(){try{this._tapComplete.call(this._context)}catch(d){return void this.destination.error(d)}return this.destination.complete()}}var fn=u(2654);class Se{constructor(d){this.callback=d}call(d,c){return c.subscribe(new _e(d,this.callback))}}class _e extends E.L{constructor(d,c){super(d),this.add(new fn.w(c))}}var We=u(4850),dt=u(7545),qt=u(2986),Bn=u(1059),In=u(1406),Jn=u(7224),se=u(1709),ge=u(4327),He=u(9146);class Pe{constructor(d,c){this.id=d,this.url=c}}class F extends Pe{constructor(d,c,C="imperative",T=null){super(d,c),this.navigationTrigger=C,this.restoredState=T}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class X extends Pe{constructor(d,c,C){super(d,c),this.urlAfterRedirects=C}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class ae extends Pe{constructor(d,c,C){super(d,c),this.reason=C}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class ne extends Pe{constructor(d,c,C){super(d,c),this.error=C}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class Ie extends Pe{constructor(d,c,C,T){super(d,c),this.urlAfterRedirects=C,this.state=T}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class et extends Pe{constructor(d,c,C,T){super(d,c),this.urlAfterRedirects=C,this.state=T}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Je extends Pe{constructor(d,c,C,T,Y){super(d,c),this.urlAfterRedirects=C,this.state=T,this.shouldActivate=Y}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class at extends Pe{constructor(d,c,C,T){super(d,c),this.urlAfterRedirects=C,this.state=T}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class _t extends Pe{constructor(d,c,C,T){super(d,c),this.urlAfterRedirects=C,this.state=T}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class ft{constructor(d){this.route=d}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class Bt{constructor(d){this.route=d}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class Ft{constructor(d){this.snapshot=d}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Jt{constructor(d){this.snapshot=d}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Ht{constructor(d){this.snapshot=d}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class zt{constructor(d){this.snapshot=d}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Et{constructor(d,c,C){this.routerEvent=d,this.position=c,this.anchor=C}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}const Ct="primary";class sn{constructor(d){this.params=d||{}}has(d){return Object.prototype.hasOwnProperty.call(this.params,d)}get(d){if(this.has(d)){const c=this.params[d];return Array.isArray(c)?c[0]:c}return null}getAll(d){if(this.has(d)){const c=this.params[d];return Array.isArray(c)?c:[c]}return[]}get keys(){return Object.keys(this.params)}}function yn(g){return new sn(g)}const dn="ngNavigationCancelingError";function It(g){const d=Error("NavigationCancelingError: "+g);return d[dn]=!0,d}function Vt(g,d,c){const C=c.path.split("/");if(C.length>g.length||"full"===c.pathMatch&&(d.hasChildren()||C.length<g.length))return null;const T={};for(let Y=0;Y<C.length;Y++){const re=C[Y],pe=g[Y];if(re.startsWith(":"))T[re.substring(1)]=pe;else if(re!==pe.path)return null}return{consumed:g.slice(0,C.length),posParams:T}}function de(g,d){const c=g?Object.keys(g):void 0,C=d?Object.keys(d):void 0;if(!c||!C||c.length!=C.length)return!1;let T;for(let Y=0;Y<c.length;Y++)if(T=c[Y],!J(g[T],d[T]))return!1;return!0}function J(g,d){if(Array.isArray(g)&&Array.isArray(d)){if(g.length!==d.length)return!1;const c=[...g].sort(),C=[...d].sort();return c.every(((T,Y)=>C[Y]===T))}return g===d}function B(g){return Array.prototype.concat.apply([],g)}function W(g){return g.length>0?g[g.length-1]:null}function ce(g,d){for(const c in g)g.hasOwnProperty(c)&&d(g[c],c)}function Ve(g){return(0,p.CqO)(g)?g:(0,p.QGY)(g)?(0,Te.D)(Promise.resolve(g)):(0,me.of)(g)}const ut={exact:function St(g,d,c){if(!Rt(g.segments,d.segments)||!Xe(g.segments,d.segments,c)||g.numberOfChildren!==d.numberOfChildren)return!1;for(const C in d.children)if(!g.children[C]||!St(g.children[C],d.children[C],c))return!1;return!0},subset:Zt},lt={exact:function Ne(g,d){return de(g,d)},subset:function Tt(g,d){return Object.keys(d).length<=Object.keys(g).length&&Object.keys(d).every((c=>J(g[c],d[c])))},ignored:()=>!0};function ie(g,d,c){return ut[c.paths](g.root,d.root,c.matrixParams)&<[c.queryParams](g.queryParams,d.queryParams)&&!("exact"===c.fragment&&g.fragment!==d.fragment)}function Zt(g,d,c){return Re(g,d,d.segments,c)}function Re(g,d,c,C){if(g.segments.length>c.length){const T=g.segments.slice(0,c.length);return!(!Rt(T,c)||d.hasChildren()||!Xe(T,c,C))}if(g.segments.length===c.length){if(!Rt(g.segments,c)||!Xe(g.segments,c,C))return!1;for(const T in d.children)if(!g.children[T]||!Zt(g.children[T],d.children[T],C))return!1;return!0}{const T=c.slice(0,g.segments.length),Y=c.slice(g.segments.length);return!!(Rt(g.segments,T)&&Xe(g.segments,T,C)&&g.children[Ct])&&Re(g.children[Ct],d,Y,C)}}function Xe(g,d,c){return d.every(((C,T)=>lt[c](g[T].parameters,C.parameters)))}class xe{constructor(d,c,C){this.root=d,this.queryParams=c,this.fragment=C}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=yn(this.queryParams)),this._queryParamMap}toString(){return kt.serialize(this)}}class qe{constructor(d,c){this.segments=d,this.children=c,this.parent=null,ce(c,((C,T)=>C.parent=this))}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return vn(this)}}class jt{constructor(d,c){this.path=d,this.parameters=c}get parameterMap(){return this._parameterMap||(this._parameterMap=yn(this.parameters)),this._parameterMap}toString(){return Dn(this)}}function Rt(g,d){return g.length===d.length&&g.every(((c,C)=>c.path===d[C].path))}class rn{}class on{parse(d){const c=new bn(d);return new xe(c.parseRootSegment(),c.parseQueryParams(),c.parseFragment())}serialize(d){const c=`/${zn(d.root,!0)}`,C=function Pr(g){const d=Object.keys(g).map((c=>{const C=g[c];return Array.isArray(C)?C.map((T=>`${nr(c)}=${nr(T)}`)).join("&"):`${nr(c)}=${nr(C)}`})).filter((c=>!!c));return d.length?`?${d.join("&")}`:""}(d.queryParams);return`${c}${C}${"string"==typeof d.fragment?`#${function jn(g){return encodeURI(g)}(d.fragment)}`:""}`}}const kt=new on;function vn(g){return g.segments.map((d=>Dn(d))).join("/")}function zn(g,d){if(!g.hasChildren())return vn(g);if(d){const c=g.children[Ct]?zn(g.children[Ct],!1):"",C=[];return ce(g.children,((T,Y)=>{Y!==Ct&&C.push(`${Y}:${zn(T,!1)}`)})),C.length>0?`${c}(${C.join("//")})`:c}{const c=function Yt(g,d){let c=[];return ce(g.children,((C,T)=>{T===Ct&&(c=c.concat(d(C,T)))})),ce(g.children,((C,T)=>{T!==Ct&&(c=c.concat(d(C,T)))})),c}(g,((C,T)=>T===Ct?[zn(g.children[Ct],!1)]:[`${T}:${zn(C,!1)}`]));return 1===Object.keys(g.children).length&&null!=g.children[Ct]?`${vn(g)}/${c[0]}`:`${vn(g)}/(${c.join("//")})`}}function Zn(g){return encodeURIComponent(g).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function nr(g){return Zn(g).replace(/%3B/gi,";")}function ur(g){return Zn(g).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Qn(g){return decodeURIComponent(g)}function qn(g){return Qn(g.replace(/\+/g,"%20"))}function Dn(g){return`${ur(g.path)}${function Sr(g){return Object.keys(g).map((d=>`;${ur(d)}=${ur(g[d])}`)).join("")}(g.parameters)}`}const pr=/^[^\/()?;=#]+/;function q(g){const d=g.match(pr);return d?d[0]:""}const Me=/^[^=?&#]+/,Be=/^[^&#]+/;class bn{constructor(d){this.url=d,this.remaining=d}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new qe([],{}):new qe([],this.parseChildren())}parseQueryParams(){const d={};if(this.consumeOptional("?"))do{this.parseQueryParam(d)}while(this.consumeOptional("&"));return d}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const d=[];for(this.peekStartsWith("(")||d.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),d.push(this.parseSegment());let c={};this.peekStartsWith("/(")&&(this.capture("/"),c=this.parseParens(!0));let C={};return this.peekStartsWith("(")&&(C=this.parseParens(!1)),(d.length>0||Object.keys(c).length>0)&&(C[Ct]=new qe(d,c)),C}parseSegment(){const d=q(this.remaining);if(""===d&&this.peekStartsWith(";"))throw new Error(`Empty path url segment cannot have parameters: '${this.remaining}'.`);return this.capture(d),new jt(Qn(d),this.parseMatrixParams())}parseMatrixParams(){const d={};for(;this.consumeOptional(";");)this.parseParam(d);return d}parseParam(d){const c=q(this.remaining);if(!c)return;this.capture(c);let C="";if(this.consumeOptional("=")){const T=q(this.remaining);T&&(C=T,this.capture(C))}d[Qn(c)]=Qn(C)}parseQueryParam(d){const c=function $(g){const d=g.match(Me);return d?d[0]:""}(this.remaining);if(!c)return;this.capture(c);let C="";if(this.consumeOptional("=")){const re=function At(g){const d=g.match(Be);return d?d[0]:""}(this.remaining);re&&(C=re,this.capture(C))}const T=qn(c),Y=qn(C);if(d.hasOwnProperty(T)){let re=d[T];Array.isArray(re)||(re=[re],d[T]=re),re.push(Y)}else d[T]=Y}parseParens(d){const c={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const C=q(this.remaining),T=this.remaining[C.length];if("/"!==T&&")"!==T&&";"!==T)throw new Error(`Cannot parse url '${this.url}'`);let Y;C.indexOf(":")>-1?(Y=C.substr(0,C.indexOf(":")),this.capture(Y),this.capture(":")):d&&(Y=Ct);const re=this.parseChildren();c[Y]=1===Object.keys(re).length?re[Ct]:new qe([],re),this.consumeOptional("//")}return c}peekStartsWith(d){return this.remaining.startsWith(d)}consumeOptional(d){return!!this.peekStartsWith(d)&&(this.remaining=this.remaining.substring(d.length),!0)}capture(d){if(!this.consumeOptional(d))throw new Error(`Expected "${d}".`)}}class Ln{constructor(d){this._root=d}get root(){return this._root.value}parent(d){const c=this.pathFromRoot(d);return c.length>1?c[c.length-2]:null}children(d){const c=rr(d,this._root);return c?c.children.map((C=>C.value)):[]}firstChild(d){const c=rr(d,this._root);return c&&c.children.length>0?c.children[0].value:null}siblings(d){const c=Ir(d,this._root);return c.length<2?[]:c[c.length-2].children.map((T=>T.value)).filter((T=>T!==d))}pathFromRoot(d){return Ir(d,this._root).map((c=>c.value))}}function rr(g,d){if(g===d.value)return d;for(const c of d.children){const C=rr(g,c);if(C)return C}return null}function Ir(g,d){if(g===d.value)return[d];for(const c of d.children){const C=Ir(g,c);if(C.length)return C.unshift(d),C}return[]}class _r{constructor(d,c){this.value=d,this.children=c}toString(){return`TreeNode(${this.value})`}}function Wn(g){const d={};return g&&g.children.forEach((c=>d[c.value.outlet]=c)),d}class dr extends Ln{constructor(d,c){super(d),this.snapshot=c,Zr(this,d)}toString(){return this.snapshot.toString()}}function ti(g,d){const c=function to(g,d){const re=new Di([],{},{},"",{},Ct,d,null,g.root,-1,{});return new no("",new _r(re,[]))}(g,d),C=new ze.X([new jt("",{})]),T=new ze.X({}),Y=new ze.X({}),re=new ze.X({}),pe=new ze.X(""),st=new Tr(C,T,re,pe,Y,Ct,d,c.root);return st.snapshot=c.root,new dr(new _r(st,[]),c)}class Tr{constructor(d,c,C,T,Y,re,pe,st){this.url=d,this.params=c,this.queryParams=C,this.fragment=T,this.data=Y,this.outlet=re,this.component=pe,this._futureSnapshot=st}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=this.params.pipe((0,We.U)((d=>yn(d))))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe((0,We.U)((d=>yn(d))))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function Ei(g,d="emptyOnly"){const c=g.pathFromRoot;let C=0;if("always"!==d)for(C=c.length-1;C>=1;){const T=c[C],Y=c[C-1];if(T.routeConfig&&""===T.routeConfig.path)C--;else{if(Y.component)break;C--}}return function Vi(g){return g.reduce(((d,c)=>({params:{...d.params,...c.params},data:{...d.data,...c.data},resolve:{...d.resolve,...c._resolvedData}})),{params:{},data:{},resolve:{}})}(c.slice(C))}class Di{constructor(d,c,C,T,Y,re,pe,st,Kt,Sn,nn){this.url=d,this.params=c,this.queryParams=C,this.fragment=T,this.data=Y,this.outlet=re,this.component=pe,this.routeConfig=st,this._urlSegment=Kt,this._lastPathIndex=Sn,this._resolve=nn}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=yn(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=yn(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map((C=>C.toString())).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class no extends Ln{constructor(d,c){super(c),this.url=d,Zr(this,c)}toString(){return fo(this._root)}}function Zr(g,d){d.value._routerState=g,d.children.forEach((c=>Zr(g,c)))}function fo(g){const d=g.children.length>0?` { ${g.children.map(fo).join(", ")} } `:"";return`${g.value}${d}`}function Mi(g){if(g.snapshot){const d=g.snapshot,c=g._futureSnapshot;g.snapshot=c,de(d.queryParams,c.queryParams)||g.queryParams.next(c.queryParams),d.fragment!==c.fragment&&g.fragment.next(c.fragment),de(d.params,c.params)||g.params.next(c.params),function an(g,d){if(g.length!==d.length)return!1;for(let c=0;c<g.length;++c)if(!de(g[c],d[c]))return!1;return!0}(d.url,c.url)||g.url.next(c.url),de(d.data,c.data)||g.data.next(c.data)}else g.snapshot=g._futureSnapshot,g.data.next(g._futureSnapshot.data)}function Bi(g,d){const c=de(g.params,d.params)&&function Gt(g,d){return Rt(g,d)&&g.every(((c,C)=>de(c.parameters,d[C].parameters)))}(g.url,d.url);return c&&!(!g.parent!=!d.parent)&&(!g.parent||Bi(g.parent,d.parent))}function ni(g,d,c){if(c&&g.shouldReuseRoute(d.value,c.value.snapshot)){const C=c.value;C._futureSnapshot=d.value;const T=function hi(g,d,c){return d.children.map((C=>{for(const T of c.children)if(g.shouldReuseRoute(C.value,T.value.snapshot))return ni(g,C,T);return ni(g,C)}))}(g,d,c);return new _r(C,T)}{if(g.shouldAttach(d.value)){const Y=g.retrieve(d.value);if(null!==Y){const re=Y.route;return re.value._futureSnapshot=d.value,re.children=d.children.map((pe=>ni(g,pe))),re}}const C=function ro(g){return new Tr(new ze.X(g.url),new ze.X(g.params),new ze.X(g.queryParams),new ze.X(g.fragment),new ze.X(g.data),g.outlet,g.component,g)}(d.value),T=d.children.map((Y=>ni(g,Y)));return new _r(C,T)}}function ri(g){return"object"==typeof g&&null!=g&&!g.outlets&&!g.segmentPath}function fi(g){return"object"==typeof g&&null!=g&&g.outlets}function Qr(g,d,c,C,T){let Y={};if(C&&ce(C,((pe,st)=>{Y[st]=Array.isArray(pe)?pe.map((Kt=>`${Kt}`)):`${pe}`})),g===d)return new xe(c,Y,T);const re=pi(g,d,c);return new xe(re,Y,T)}function pi(g,d,c){const C={};return ce(g.children,((T,Y)=>{C[Y]=T===d?c:pi(T,d,c)})),new qe(g.segments,C)}class ii{constructor(d,c,C){if(this.isAbsolute=d,this.numberOfDoubleDots=c,this.commands=C,d&&C.length>0&&ri(C[0]))throw new Error("Root segment cannot have matrix parameters");const T=C.find(fi);if(T&&T!==W(C))throw new Error("{outlets:{}} has to be the last command")}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class oi{constructor(d,c,C){this.segmentGroup=d,this.processChildren=c,this.index=C}}function Ti(g,d,c){if(g||(g=new qe([],{})),0===g.segments.length&&g.hasChildren())return Pi(g,d,c);const C=function Oi(g,d,c){let C=0,T=d;const Y={match:!1,pathIndex:0,commandIndex:0};for(;T<g.segments.length;){if(C>=c.length)return Y;const re=g.segments[T],pe=c[C];if(fi(pe))break;const st=`${pe}`,Kt=C<c.length-1?c[C+1]:null;if(T>0&&void 0===st)break;if(st&&Kt&&"object"==typeof Kt&&void 0===Kt.outlets){if(!ar(st,Kt,re))return Y;C+=2}else{if(!ar(st,{},re))return Y;C++}T++}return{match:!0,pathIndex:T,commandIndex:C}}(g,d,c),T=c.slice(C.commandIndex);if(C.match&&C.pathIndex<g.segments.length){const Y=new qe(g.segments.slice(0,C.pathIndex),{});return Y.children[Ct]=new qe(g.segments.slice(C.pathIndex),g.children),Pi(Y,0,T)}return C.match&&0===T.length?new qe(g.segments,{}):C.match&&!g.hasChildren()?si(g,d,c):C.match?Pi(g,0,T):si(g,d,c)}function Pi(g,d,c){if(0===c.length)return new qe(g.segments,{});{const C=function Ur(g){return fi(g[0])?g[0].outlets:{[Ct]:g}}(c),T={};return ce(C,((Y,re)=>{"string"==typeof Y&&(Y=[Y]),null!==Y&&(T[re]=Ti(g.children[re],d,Y))})),ce(g.children,((Y,re)=>{void 0===C[re]&&(T[re]=Y)})),new qe(g.segments,T)}}function si(g,d,c){const C=g.segments.slice(0,d);let T=0;for(;T<c.length;){const Y=c[T];if(fi(Y)){const st=Ai(Y.outlets);return new qe(C,st)}if(0===T&&ri(c[0])){C.push(new jt(g.segments[d].path,oo(c[0]))),T++;continue}const re=fi(Y)?Y.outlets[Ct]:`${Y}`,pe=T<c.length-1?c[T+1]:null;re&&pe&&ri(pe)?(C.push(new jt(re,oo(pe))),T+=2):(C.push(new jt(re,{})),T++)}return new qe(C,{})}function Ai(g){const d={};return ce(g,((c,C)=>{"string"==typeof c&&(c=[c]),null!==c&&(d[C]=si(new qe([],{}),0,c))})),d}function oo(g){const d={};return ce(g,((c,C)=>d[C]=`${c}`)),d}function ar(g,d,c){return g==c.path&&de(d,c.parameters)}class ir{constructor(d,c,C,T){this.routeReuseStrategy=d,this.futureState=c,this.currState=C,this.forwardEvent=T}activate(d){const c=this.futureState._root,C=this.currState?this.currState._root:null;this.deactivateChildRoutes(c,C,d),Mi(this.futureState.root),this.activateChildRoutes(c,C,d)}deactivateChildRoutes(d,c,C){const T=Wn(c);d.children.forEach((Y=>{const re=Y.value.outlet;this.deactivateRoutes(Y,T[re],C),delete T[re]})),ce(T,((Y,re)=>{this.deactivateRouteAndItsChildren(Y,C)}))}deactivateRoutes(d,c,C){const T=d.value,Y=c?c.value:null;if(T===Y)if(T.component){const re=C.getContext(T.outlet);re&&this.deactivateChildRoutes(d,c,re.children)}else this.deactivateChildRoutes(d,c,C);else Y&&this.deactivateRouteAndItsChildren(c,C)}deactivateRouteAndItsChildren(d,c){d.value.component&&this.routeReuseStrategy.shouldDetach(d.value.snapshot)?this.detachAndStoreRouteSubtree(d,c):this.deactivateRouteAndOutlet(d,c)}detachAndStoreRouteSubtree(d,c){const C=c.getContext(d.value.outlet),T=C&&d.value.component?C.children:c,Y=Wn(d);for(const re of Object.keys(Y))this.deactivateRouteAndItsChildren(Y[re],T);if(C&&C.outlet){const re=C.outlet.detach(),pe=C.children.onOutletDeactivated();this.routeReuseStrategy.store(d.value.snapshot,{componentRef:re,route:d,contexts:pe})}}deactivateRouteAndOutlet(d,c){const C=c.getContext(d.value.outlet),T=C&&d.value.component?C.children:c,Y=Wn(d);for(const re of Object.keys(Y))this.deactivateRouteAndItsChildren(Y[re],T);C&&C.outlet&&(C.outlet.deactivate(),C.children.onOutletDeactivated(),C.attachRef=null,C.resolver=null,C.route=null)}activateChildRoutes(d,c,C){const T=Wn(c);d.children.forEach((Y=>{this.activateRoutes(Y,T[Y.value.outlet],C),this.forwardEvent(new zt(Y.value.snapshot))})),d.children.length&&this.forwardEvent(new Jt(d.value.snapshot))}activateRoutes(d,c,C){const T=d.value,Y=c?c.value:null;if(Mi(T),T===Y)if(T.component){const re=C.getOrCreateContext(T.outlet);this.activateChildRoutes(d,c,re.children)}else this.activateChildRoutes(d,c,C);else if(T.component){const re=C.getOrCreateContext(T.outlet);if(this.routeReuseStrategy.shouldAttach(T.snapshot)){const pe=this.routeReuseStrategy.retrieve(T.snapshot);this.routeReuseStrategy.store(T.snapshot,null),re.children.onOutletReAttached(pe.contexts),re.attachRef=pe.componentRef,re.route=pe.route.value,re.outlet&&re.outlet.attach(pe.componentRef,pe.route.value),Mi(pe.route.value),this.activateChildRoutes(d,null,re.children)}else{const pe=function Hr(g){for(let d=g.parent;d;d=d.parent){const c=d.routeConfig;if(c&&c._loadedConfig)return c._loadedConfig;if(c&&c.component)return null}return null}(T.snapshot),st=pe?pe.module.componentFactoryResolver:null;re.attachRef=null,re.route=T,re.resolver=st,re.outlet&&re.outlet.activateWith(T,st),this.activateChildRoutes(d,null,re.children)}}else this.activateChildRoutes(d,null,C)}}class gi{constructor(d,c){this.routes=d,this.module=c}}function yr(g){return"function"==typeof g}function $r(g){return g instanceof xe}const ue=Symbol("INITIAL_VALUE");function Ze(){return(0,dt.w)((g=>function te(...g){let d,c;return(0,A.K)(g[g.length-1])&&(c=g.pop()),"function"==typeof g[g.length-1]&&(d=g.pop()),1===g.length&&(0,S.k)(g[0])&&(g=g[0]),(0,L.n)(g,c).lift(new ye(d))}(g.map((d=>d.pipe((0,qt.q)(1),(0,Bn.O)(ue))))).pipe(je(((d,c)=>{let C=!1;return c.reduce(((T,Y,re)=>T!==ue?T:(Y===ue&&(C=!0),C||!1!==Y&&re!==c.length-1&&!$r(Y)?T:Y)),d)}),ue),(0,be.h)((d=>d!==ue)),(0,We.U)((d=>$r(d)?d:!0===d)),(0,qt.q)(1))))}class pt{constructor(){this.outlet=null,this.route=null,this.resolver=null,this.children=new Dt,this.attachRef=null}}class Dt{constructor(){this.contexts=new Map}onChildOutletCreated(d,c){const C=this.getOrCreateContext(d);C.outlet=c,this.contexts.set(d,C)}onChildOutletDestroyed(d){const c=this.getContext(d);c&&(c.outlet=null,c.attachRef=null)}onOutletDeactivated(){const d=this.contexts;return this.contexts=new Map,d}onOutletReAttached(d){this.contexts=d}getOrCreateContext(d){let c=this.getContext(d);return c||(c=new pt,this.contexts.set(d,c)),c}getContext(d){return this.contexts.get(d)||null}}let Rn=(()=>{class g{constructor(c,C,T,Y,re){this.parentContexts=c,this.location=C,this.resolver=T,this.changeDetector=re,this.activated=null,this._activatedRoute=null,this.activateEvents=new p.vpe,this.deactivateEvents=new p.vpe,this.attachEvents=new p.vpe,this.detachEvents=new p.vpe,this.name=Y||Ct,c.onChildOutletCreated(this.name,this)}ngOnDestroy(){this.parentContexts.onChildOutletDestroyed(this.name)}ngOnInit(){if(!this.activated){const c=this.parentContexts.getContext(this.name);c&&c.route&&(c.attachRef?this.attach(c.attachRef,c.route):this.activateWith(c.route,c.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 c=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(c.instance),c}attach(c,C){this.activated=c,this._activatedRoute=C,this.location.insert(c.hostView),this.attachEvents.emit(c.instance)}deactivate(){if(this.activated){const c=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(c)}}activateWith(c,C){if(this.isActivated)throw new Error("Cannot activate an already activated outlet");this._activatedRoute=c;const re=(C=C||this.resolver).resolveComponentFactory(c._futureSnapshot.routeConfig.component),pe=this.parentContexts.getOrCreateContext(this.name).children,st=new kn(c,pe,this.location.injector);this.activated=this.location.createComponent(re,this.location.length,st),this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}return g.ɵfac=function(c){return new(c||g)(p.Y36(Dt),p.Y36(p.s_b),p.Y36(p._Vd),p.$8M("name"),p.Y36(p.sBO))},g.ɵdir=p.lG2({type:g,selectors:[["router-outlet"]],outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"]}),g})();class kn{constructor(d,c,C){this.route=d,this.childContexts=c,this.parent=C}get(d,c){return d===Tr?this.route:d===Dt?this.childContexts:this.parent.get(d,c)}}let xn=(()=>{class g{}return g.ɵfac=function(c){return new(c||g)},g.ɵcmp=p.Xpm({type:g,selectors:[["ng-component"]],decls:1,vars:0,template:function(c,C){1&c&&p._UZ(0,"router-outlet")},directives:[Rn],encapsulation:2}),g})();function mn(g,d=""){for(let c=0;c<g.length;c++){const C=g[c];or(C,Pn(d,C))}}function or(g,d){g.children&&mn(g.children,d)}function Pn(g,d){return d?g||d.path?g&&!d.path?`${g}/`:!g&&d.path?d.path:`${g}/${d.path}`:"":g}function Un(g){const d=g.children&&g.children.map(Un),c=d?{...g,children:d}:{...g};return!c.component&&(d||c.loadChildren)&&c.outlet&&c.outlet!==Ct&&(c.component=xn),c}function On(g){return g.outlet||Ct}function br(g,d){const c=g.filter((C=>On(C)===d));return c.push(...g.filter((C=>On(C)!==d))),c}const Gr={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function Or(g,d,c){if(""===d.path)return"full"===d.pathMatch&&(g.hasChildren()||c.length>0)?{...Gr}:{matched:!0,consumedSegments:[],remainingSegments:c,parameters:{},positionalParamSegments:{}};const T=(d.matcher||Vt)(c,g,d);if(!T)return{...Gr};const Y={};ce(T.posParams,((pe,st)=>{Y[st]=pe.path}));const re=T.consumed.length>0?{...Y,...T.consumed[T.consumed.length-1].parameters}:Y;return{matched:!0,consumedSegments:T.consumed,remainingSegments:c.slice(T.consumed.length),parameters:re,positionalParamSegments:T.posParams??{}}}function w(g,d,c,C,T="corrected"){if(c.length>0&&function V(g,d,c){return c.some((C=>Qt(g,d,C)&&On(C)!==Ct))}(g,c,C)){const re=new qe(d,function _(g,d,c,C){const T={};T[Ct]=C,C._sourceSegment=g,C._segmentIndexShift=d.length;for(const Y of c)if(""===Y.path&&On(Y)!==Ct){const re=new qe([],{});re._sourceSegment=g,re._segmentIndexShift=d.length,T[On(Y)]=re}return T}(g,d,C,new qe(c,g.children)));return re._sourceSegment=g,re._segmentIndexShift=d.length,{segmentGroup:re,slicedSegments:[]}}if(0===c.length&&function tt(g,d,c){return c.some((C=>Qt(g,d,C)))}(g,c,C)){const re=new qe(g.segments,function v(g,d,c,C,T,Y){const re={};for(const pe of C)if(Qt(g,c,pe)&&!T[On(pe)]){const st=new qe([],{});st._sourceSegment=g,st._segmentIndexShift="legacy"===Y?g.segments.length:d.length,re[On(pe)]=st}return{...T,...re}}(g,d,c,C,g.children,T));return re._sourceSegment=g,re._segmentIndexShift=d.length,{segmentGroup:re,slicedSegments:c}}const Y=new qe(g.segments,g.children);return Y._sourceSegment=g,Y._segmentIndexShift=d.length,{segmentGroup:Y,slicedSegments:c}}function Qt(g,d,c){return(!(g.hasChildren()||d.length>0)||"full"!==c.pathMatch)&&""===c.path}function Nn(g,d,c,C){return!!(On(g)===C||C!==Ct&&Qt(d,c,g))&&("**"===g.path||Or(d,g,c).matched)}function lr(g,d,c){return 0===d.length&&!g.children[c]}class zr{constructor(d){this.segmentGroup=d||null}}class Fr{constructor(d){this.urlTree=d}}function kr(g){return(0,Ee._)(new zr(g))}function po(g){return(0,Ee._)(new Fr(g))}class cr{constructor(d,c,C,T,Y){this.configLoader=c,this.urlSerializer=C,this.urlTree=T,this.config=Y,this.allowRedirects=!0,this.ngModule=d.get(p.h0i)}apply(){const d=w(this.urlTree.root,[],[],this.config).segmentGroup,c=new qe(d.segments,d.children);return this.expandSegmentGroup(this.ngModule,this.config,c,Ct).pipe((0,We.U)((Y=>this.createUrlTree(mi(Y),this.urlTree.queryParams,this.urlTree.fragment)))).pipe(vt((Y=>{if(Y instanceof Fr)return this.allowRedirects=!1,this.match(Y.urlTree);throw Y instanceof zr?this.noMatchError(Y):Y})))}match(d){return this.expandSegmentGroup(this.ngModule,this.config,d.root,Ct).pipe((0,We.U)((T=>this.createUrlTree(mi(T),d.queryParams,d.fragment)))).pipe(vt((T=>{throw T instanceof zr?this.noMatchError(T):T})))}noMatchError(d){return new Error(`Cannot match any routes. URL Segment: '${d.segmentGroup}'`)}createUrlTree(d,c,C){const T=d.segments.length>0?new qe([],{[Ct]:d}):d;return new xe(T,c,C)}expandSegmentGroup(d,c,C,T){return 0===C.segments.length&&C.hasChildren()?this.expandChildren(d,c,C).pipe((0,We.U)((Y=>new qe([],Y)))):this.expandSegment(d,C,c,C.segments,T,!0)}expandChildren(d,c,C){const T=[];for(const Y of Object.keys(C.children))"primary"===Y?T.unshift(Y):T.push(Y);return(0,Te.D)(T).pipe((0,In.b)((Y=>{const re=C.children[Y],pe=br(c,Y);return this.expandSegmentGroup(d,pe,re,Y).pipe((0,We.U)((st=>({segment:st,outlet:Y}))))})),je(((Y,re)=>(Y[re.outlet]=re.segment,Y)),{}),function Ae(g,d){const c=arguments.length>=2;return C=>C.pipe(g?(0,be.h)(((T,Y)=>g(T,Y,C))):De.y,Mt(1),c?(0,ct.d)(d):(0,Ke.T)((()=>new fe.K)))}())}expandSegment(d,c,C,T,Y,re){return(0,Te.D)(C).pipe((0,In.b)((pe=>this.expandSegmentAgainstRoute(d,c,C,pe,T,Y,re).pipe(vt((Kt=>{if(Kt instanceof zr)return(0,me.of)(null);throw Kt}))))),(0,Jn.P)((pe=>!!pe)),vt(((pe,st)=>{if(pe instanceof fe.K||"EmptyError"===pe.name)return lr(c,T,Y)?(0,me.of)(new qe([],{})):kr(c);throw pe})))}expandSegmentAgainstRoute(d,c,C,T,Y,re,pe){return Nn(T,c,Y,re)?void 0===T.redirectTo?this.matchSegmentAgainstRoute(d,c,T,Y,re):pe&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(d,c,C,T,Y,re):kr(c):kr(c)}expandSegmentAgainstRouteUsingRedirect(d,c,C,T,Y,re){return"**"===T.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(d,C,T,re):this.expandRegularSegmentAgainstRouteUsingRedirect(d,c,C,T,Y,re)}expandWildCardWithParamsAgainstRouteUsingRedirect(d,c,C,T){const Y=this.applyRedirectCommands([],C.redirectTo,{});return C.redirectTo.startsWith("/")?po(Y):this.lineralizeSegments(C,Y).pipe((0,se.zg)((re=>{const pe=new qe(re,{});return this.expandSegment(d,pe,c,re,T,!1)})))}expandRegularSegmentAgainstRouteUsingRedirect(d,c,C,T,Y,re){const{matched:pe,consumedSegments:st,remainingSegments:Kt,positionalParamSegments:Sn}=Or(c,T,Y);if(!pe)return kr(c);const nn=this.applyRedirectCommands(st,T.redirectTo,Sn);return T.redirectTo.startsWith("/")?po(nn):this.lineralizeSegments(T,nn).pipe((0,se.zg)((Vn=>this.expandSegment(d,c,C,Vn.concat(Kt),re,!1))))}matchSegmentAgainstRoute(d,c,C,T,Y){if("**"===C.path)return C.loadChildren?(C._loadedConfig?(0,me.of)(C._loadedConfig):this.configLoader.load(d.injector,C)).pipe((0,We.U)((nn=>(C._loadedConfig=nn,new qe(T,{}))))):(0,me.of)(new qe(T,{}));const{matched:re,consumedSegments:pe,remainingSegments:st}=Or(c,C,T);return re?this.getChildConfig(d,C,T).pipe((0,se.zg)((Sn=>{const nn=Sn.module,Vn=Sn.routes,{segmentGroup:$n,slicedSegments:Ci}=w(c,pe,st,Vn),Fo=new qe($n.segments,$n.children);if(0===Ci.length&&Fo.hasChildren())return this.expandChildren(nn,Vn,Fo).pipe((0,We.U)((mu=>new qe(pe,mu))));if(0===Vn.length&&0===Ci.length)return(0,me.of)(new qe(pe,{}));const ps=On(C)===Y;return this.expandSegment(nn,Fo,Vn,Ci,ps?Ct:Y,!0).pipe((0,We.U)((bo=>new qe(pe.concat(bo.segments),bo.children))))}))):kr(c)}getChildConfig(d,c,C){return c.children?(0,me.of)(new gi(c.children,d)):c.loadChildren?void 0!==c._loadedConfig?(0,me.of)(c._loadedConfig):this.runCanLoadGuards(d.injector,c,C).pipe((0,se.zg)((T=>T?this.configLoader.load(d.injector,c).pipe((0,We.U)((Y=>(c._loadedConfig=Y,Y)))):function Tn(g){return(0,Ee._)(It(`Cannot load children because the guard of the route "path: '${g.path}'" returned false`))}(c)))):(0,me.of)(new gi([],d))}runCanLoadGuards(d,c,C){const T=c.canLoad;if(!T||0===T.length)return(0,me.of)(!0);const Y=T.map((re=>{const pe=d.get(re);let st;if(function b(g){return g&&yr(g.canLoad)}(pe))st=pe.canLoad(c,C);else{if(!yr(pe))throw new Error("Invalid CanLoad guard");st=pe(c,C)}return Ve(st)}));return(0,me.of)(Y).pipe(Ze(),Ye((re=>{if(!$r(re))return;const pe=It(`Redirecting to "${this.urlSerializer.serialize(re)}"`);throw pe.url=re,pe})),(0,We.U)((re=>!0===re)))}lineralizeSegments(d,c){let C=[],T=c.root;for(;;){if(C=C.concat(T.segments),0===T.numberOfChildren)return(0,me.of)(C);if(T.numberOfChildren>1||!T.children[Ct])return(0,Ee._)(new Error(`Only absolute redirects can have named outlets. redirectTo: '${d.redirectTo}'`));T=T.children[Ct]}}applyRedirectCommands(d,c,C){return this.applyRedirectCreatreUrlTree(c,this.urlSerializer.parse(c),d,C)}applyRedirectCreatreUrlTree(d,c,C,T){const Y=this.createSegmentGroup(d,c.root,C,T);return new xe(Y,this.createQueryParams(c.queryParams,this.urlTree.queryParams),c.fragment)}createQueryParams(d,c){const C={};return ce(d,((T,Y)=>{if("string"==typeof T&&T.startsWith(":")){const pe=T.substring(1);C[Y]=c[pe]}else C[Y]=T})),C}createSegmentGroup(d,c,C,T){const Y=this.createSegments(d,c.segments,C,T);let re={};return ce(c.children,((pe,st)=>{re[st]=this.createSegmentGroup(d,pe,C,T)})),new qe(Y,re)}createSegments(d,c,C,T){return c.map((Y=>Y.path.startsWith(":")?this.findPosParam(d,Y,T):this.findOrReturn(Y,C)))}findPosParam(d,c,C){const T=C[c.path.substring(1)];if(!T)throw new Error(`Cannot redirect to '${d}'. Cannot find '${c.path}'.`);return T}findOrReturn(d,c){let C=0;for(const T of c){if(T.path===d.path)return c.splice(C),T;C++}return d}}function mi(g){const d={};for(const C of Object.keys(g.children)){const Y=mi(g.children[C]);(Y.segments.length>0||Y.hasChildren())&&(d[C]=Y)}return function vo(g){if(1===g.numberOfChildren&&g.children[Ct]){const d=g.children[Ct];return new qe(g.segments.concat(d.segments),d.children)}return g}(new qe(g.segments,d))}class go{constructor(d){this.path=d,this.route=this.path[this.path.length-1]}}class $i{constructor(d,c){this.component=d,this.route=c}}function za(g,d,c){const C=g._root;return y(C,d?d._root:null,c,[C.value])}function l(g,d,c){const C=function h(g){if(!g)return null;for(let d=g.parent;d;d=d.parent){const c=d.routeConfig;if(c&&c._loadedConfig)return c._loadedConfig}return null}(d);return(C?C.module.injector:c).get(g)}function y(g,d,c,C,T={canDeactivateChecks:[],canActivateChecks:[]}){const Y=Wn(d);return g.children.forEach((re=>{(function j(g,d,c,C,T={canDeactivateChecks:[],canActivateChecks:[]}){const Y=g.value,re=d?d.value:null,pe=c?c.getContext(g.value.outlet):null;if(re&&Y.routeConfig===re.routeConfig){const st=function Q(g,d,c){if("function"==typeof c)return c(g,d);switch(c){case"pathParamsChange":return!Rt(g.url,d.url);case"pathParamsOrQueryParamsChange":return!Rt(g.url,d.url)||!de(g.queryParams,d.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Bi(g,d)||!de(g.queryParams,d.queryParams);default:return!Bi(g,d)}}(re,Y,Y.routeConfig.runGuardsAndResolvers);st?T.canActivateChecks.push(new go(C)):(Y.data=re.data,Y._resolvedData=re._resolvedData),y(g,d,Y.component?pe?pe.children:null:c,C,T),st&&pe&&pe.outlet&&pe.outlet.isActivated&&T.canDeactivateChecks.push(new $i(pe.outlet.component,re))}else re&&oe(d,pe,T),T.canActivateChecks.push(new go(C)),y(g,null,Y.component?pe?pe.children:null:c,C,T)})(re,Y[re.value.outlet],c,C.concat([re.value]),T),delete Y[re.value.outlet]})),ce(Y,((re,pe)=>oe(re,c.getContext(pe),T))),T}function oe(g,d,c){const C=Wn(g),T=g.value;ce(C,((Y,re)=>{oe(Y,T.component?d?d.children.getContext(re):null:d,c)})),c.canDeactivateChecks.push(new $i(T.component&&d&&d.outlet&&d.outlet.isActivated?d.outlet.component:null,T))}class Cn{}function Fn(g){return new P.y((d=>d.error(g)))}class Xn{constructor(d,c,C,T,Y,re){this.rootComponentType=d,this.config=c,this.urlTree=C,this.url=T,this.paramsInheritanceStrategy=Y,this.relativeLinkResolution=re}recognize(){const d=w(this.urlTree.root,[],[],this.config.filter((re=>void 0===re.redirectTo)),this.relativeLinkResolution).segmentGroup,c=this.processSegmentGroup(this.config,d,Ct);if(null===c)return null;const C=new Di([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,{},Ct,this.rootComponentType,null,this.urlTree.root,-1,{}),T=new _r(C,c),Y=new no(this.url,T);return this.inheritParamsAndData(Y._root),Y}inheritParamsAndData(d){const c=d.value,C=Ei(c,this.paramsInheritanceStrategy);c.params=Object.freeze(C.params),c.data=Object.freeze(C.data),d.children.forEach((T=>this.inheritParamsAndData(T)))}processSegmentGroup(d,c,C){return 0===c.segments.length&&c.hasChildren()?this.processChildren(d,c):this.processSegment(d,c,c.segments,C)}processChildren(d,c){const C=[];for(const Y of Object.keys(c.children)){const re=c.children[Y],pe=br(d,Y),st=this.processSegmentGroup(pe,re,Y);if(null===st)return null;C.push(...st)}const T=Lr(C);return function vr(g){g.sort(((d,c)=>d.value.outlet===Ct?-1:c.value.outlet===Ct?1:d.value.outlet.localeCompare(c.value.outlet)))}(T),T}processSegment(d,c,C,T){for(const Y of d){const re=this.processSegmentAgainstRoute(Y,c,C,T);if(null!==re)return re}return lr(c,C,T)?[]:null}processSegmentAgainstRoute(d,c,C,T){if(d.redirectTo||!Nn(d,c,C,T))return null;let Y,re=[],pe=[];if("**"===d.path){const $n=C.length>0?W(C).parameters:{};Y=new Di(C,$n,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,Yn(d),On(d),d.component,d,qr(c),Jr(c)+C.length,Xr(d))}else{const $n=Or(c,d,C);if(!$n.matched)return null;re=$n.consumedSegments,pe=$n.remainingSegments,Y=new Di(re,$n.parameters,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,Yn(d),On(d),d.component,d,qr(c),Jr(c)+re.length,Xr(d))}const st=function hr(g){return g.children?g.children:g.loadChildren?g._loadedConfig.routes:[]}(d),{segmentGroup:Kt,slicedSegments:Sn}=w(c,re,pe,st.filter(($n=>void 0===$n.redirectTo)),this.relativeLinkResolution);if(0===Sn.length&&Kt.hasChildren()){const $n=this.processChildren(st,Kt);return null===$n?null:[new _r(Y,$n)]}if(0===st.length&&0===Sn.length)return[new _r(Y,[])];const nn=On(d)===T,Vn=this.processSegment(st,Kt,Sn,nn?Ct:T);return null===Vn?null:[new _r(Y,Vn)]}}function xi(g){const d=g.value.routeConfig;return d&&""===d.path&&void 0===d.redirectTo}function Lr(g){const d=[],c=new Set;for(const C of g){if(!xi(C)){d.push(C);continue}const T=d.find((Y=>C.value.routeConfig===Y.value.routeConfig));void 0!==T?(T.children.push(...C.children),c.add(T)):d.push(C)}for(const C of c){const T=Lr(C.children);d.push(new _r(C.value,T))}return d.filter((C=>!c.has(C)))}function qr(g){let d=g;for(;d._sourceSegment;)d=d._sourceSegment;return d}function Jr(g){let d=g,c=d._segmentIndexShift?d._segmentIndexShift:0;for(;d._sourceSegment;)d=d._sourceSegment,c+=d._segmentIndexShift?d._segmentIndexShift:0;return c-1}function Yn(g){return g.data||{}}function Xr(g){return g.resolve||{}}function Xt(g){return[...Object.keys(g),...Object.getOwnPropertySymbols(g)]}function hn(g){return(0,dt.w)((d=>{const c=g(d);return c?(0,Te.D)(c).pipe((0,We.U)((()=>d))):(0,me.of)(d)}))}class Ar extends class er{shouldDetach(d){return!1}store(d,c){}shouldAttach(d){return!1}retrieve(d){return null}shouldReuseRoute(d,c){return d.routeConfig===c.routeConfig}}{}const mr=new p.OlP("ROUTES");class ei{constructor(d,c,C,T){this.injector=d,this.compiler=c,this.onLoadStartListener=C,this.onLoadEndListener=T}load(d,c){if(c._loader$)return c._loader$;this.onLoadStartListener&&this.onLoadStartListener(c);const T=this.loadModuleFactory(c.loadChildren).pipe((0,We.U)((Y=>{this.onLoadEndListener&&this.onLoadEndListener(c);const re=Y.create(d);return new gi(B(re.injector.get(mr,void 0,p.XFs.Self|p.XFs.Optional)).map(Un),re)})),vt((Y=>{throw c._loader$=void 0,Y})));return c._loader$=new Lt.c(T,(()=>new xt.xQ)).pipe((0,ge.x)()),c._loader$}loadModuleFactory(d){return Ve(d()).pipe((0,se.zg)((c=>c instanceof p.YKP?(0,me.of)(c):(0,Te.D)(this.compiler.compileModuleAsync(c)))))}}class ai{shouldProcessUrl(d){return!0}extract(d){return d}merge(d,c){return d}}function so(g){throw g}function wr(g,d,c){return d.parse("/")}function yi(g,d){return(0,me.of)(null)}const Vr={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},li={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let Er=(()=>{class g{constructor(c,C,T,Y,re,pe,st){this.rootComponentType=c,this.urlSerializer=C,this.rootContexts=T,this.location=Y,this.config=st,this.lastSuccessfulNavigation=null,this.currentNavigation=null,this.disposed=!1,this.navigationId=0,this.currentPageId=0,this.isNgZoneEnabled=!1,this.events=new xt.xQ,this.errorHandler=so,this.malformedUriErrorHandler=wr,this.navigated=!1,this.lastSuccessfulId=-1,this.hooks={beforePreactivation:yi,afterPreactivation:yi},this.urlHandlingStrategy=new ai,this.routeReuseStrategy=new Ar,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="corrected",this.canceledNavigationResolution="replace",this.ngModule=re.get(p.h0i),this.console=re.get(p.c2e);const nn=re.get(p.R0b);this.isNgZoneEnabled=nn instanceof p.R0b&&p.R0b.isInAngularZone(),this.resetConfig(st),this.currentUrlTree=function yt(){return new xe(new qe([],{}),{},null)}(),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.configLoader=new ei(re,pe,(Vn=>this.triggerEvent(new ft(Vn))),(Vn=>this.triggerEvent(new Bt(Vn)))),this.routerState=ti(this.currentUrlTree,this.rootComponentType),this.transitions=new ze.X({id:0,targetPageId:0,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,extractedUrl:this.urlHandlingStrategy.extract(this.currentUrlTree),urlAfterRedirects:this.urlHandlingStrategy.extract(this.currentUrlTree),rawUrl:this.currentUrlTree,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:"imperative",restoredState:null,currentSnapshot:this.routerState.snapshot,targetSnapshot:null,currentRouterState:this.routerState,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.navigations=this.setupNavigations(this.transitions),this.processNavigations()}get browserPageId(){return this.location.getState()?.ɵrouterPageId}setupNavigations(c){const C=this.events;return c.pipe((0,be.h)((T=>0!==T.id)),(0,We.U)((T=>({...T,extractedUrl:this.urlHandlingStrategy.extract(T.rawUrl)}))),(0,dt.w)((T=>{let Y=!1,re=!1;return(0,me.of)(T).pipe(Ye((pe=>{this.currentNavigation={id:pe.id,initialUrl:pe.currentRawUrl,extractedUrl:pe.extractedUrl,trigger:pe.source,extras:pe.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null}})),(0,dt.w)((pe=>{const st=this.browserUrlTree.toString(),Kt=!this.navigated||pe.extractedUrl.toString()!==st||st!==this.currentUrlTree.toString();if(("reload"===this.onSameUrlNavigation||Kt)&&this.urlHandlingStrategy.shouldProcessUrl(pe.rawUrl))return Ya(pe.source)&&(this.browserUrlTree=pe.extractedUrl),(0,me.of)(pe).pipe((0,dt.w)((nn=>{const Vn=this.transitions.getValue();return C.next(new F(nn.id,this.serializeUrl(nn.extractedUrl),nn.source,nn.restoredState)),Vn!==this.transitions.getValue()?Oe.E:Promise.resolve(nn)})),function Wr(g,d,c,C){return(0,dt.w)((T=>function To(g,d,c,C,T){return new cr(g,d,c,C,T).apply()}(g,d,c,T.extractedUrl,C).pipe((0,We.U)((Y=>({...T,urlAfterRedirects:Y}))))))}(this.ngModule.injector,this.configLoader,this.urlSerializer,this.config),Ye((nn=>{this.currentNavigation={...this.currentNavigation,finalUrl:nn.urlAfterRedirects}})),function Hn(g,d,c,C,T){return(0,se.zg)((Y=>function sr(g,d,c,C,T="emptyOnly",Y="legacy"){try{const re=new Xn(g,d,c,C,T,Y).recognize();return null===re?Fn(new Cn):(0,me.of)(re)}catch(re){return Fn(re)}}(g,d,Y.urlAfterRedirects,c(Y.urlAfterRedirects),C,T).pipe((0,We.U)((re=>({...Y,targetSnapshot:re}))))))}(this.rootComponentType,this.config,(nn=>this.serializeUrl(nn)),this.paramsInheritanceStrategy,this.relativeLinkResolution),Ye((nn=>{if("eager"===this.urlUpdateStrategy){if(!nn.extras.skipLocationChange){const $n=this.urlHandlingStrategy.merge(nn.urlAfterRedirects,nn.rawUrl);this.setBrowserUrl($n,nn)}this.browserUrlTree=nn.urlAfterRedirects}const Vn=new Ie(nn.id,this.serializeUrl(nn.extractedUrl),this.serializeUrl(nn.urlAfterRedirects),nn.targetSnapshot);C.next(Vn)})));if(Kt&&this.rawUrlTree&&this.urlHandlingStrategy.shouldProcessUrl(this.rawUrlTree)){const{id:Vn,extractedUrl:$n,source:Ci,restoredState:Fo,extras:ps}=pe,tr=new F(Vn,this.serializeUrl($n),Ci,Fo);C.next(tr);const bo=ti($n,this.rootComponentType).snapshot;return(0,me.of)({...pe,targetSnapshot:bo,urlAfterRedirects:$n,extras:{...ps,skipLocationChange:!1,replaceUrl:!1}})}return this.rawUrlTree=pe.rawUrl,pe.resolve(null),Oe.E})),hn((pe=>{const{targetSnapshot:st,id:Kt,extractedUrl:Sn,rawUrl:nn,extras:{skipLocationChange:Vn,replaceUrl:$n}}=pe;return this.hooks.beforePreactivation(st,{navigationId:Kt,appliedUrlTree:Sn,rawUrlTree:nn,skipLocationChange:!!Vn,replaceUrl:!!$n})})),Ye((pe=>{const st=new et(pe.id,this.serializeUrl(pe.extractedUrl),this.serializeUrl(pe.urlAfterRedirects),pe.targetSnapshot);this.triggerEvent(st)})),(0,We.U)((pe=>({...pe,guards:za(pe.targetSnapshot,pe.currentSnapshot,this.rootContexts)}))),function le(g,d){return(0,se.zg)((c=>{const{targetSnapshot:C,currentSnapshot:T,guards:{canActivateChecks:Y,canDeactivateChecks:re}}=c;return 0===re.length&&0===Y.length?(0,me.of)({...c,guardsResult:!0}):function ke(g,d,c,C){return(0,Te.D)(g).pipe((0,se.zg)((T=>function cn(g,d,c,C,T){const Y=d&&d.routeConfig?d.routeConfig.canDeactivate:null;if(!Y||0===Y.length)return(0,me.of)(!0);const re=Y.map((pe=>{const st=l(pe,d,T);let Kt;if(function K(g){return g&&yr(g.canDeactivate)}(st))Kt=Ve(st.canDeactivate(g,d,c,C));else{if(!yr(st))throw new Error("Invalid CanDeactivate guard");Kt=Ve(st(g,d,c,C))}return Kt.pipe((0,Jn.P)())}));return(0,me.of)(re).pipe(Ze())}(T.component,T.route,c,d,C))),(0,Jn.P)((T=>!0!==T),!0))}(re,C,T,g).pipe((0,se.zg)((pe=>pe&&function Hi(g){return"boolean"==typeof g}(pe)?function it(g,d,c,C){return(0,Te.D)(d).pipe((0,In.b)((T=>(0,bt.z)(function tn(g,d){return null!==g&&d&&d(new Ft(g)),(0,me.of)(!0)}(T.route.parent,C),function Wt(g,d){return null!==g&&d&&d(new Ht(g)),(0,me.of)(!0)}(T.route,C),function En(g,d,c){const C=d[d.length-1],Y=d.slice(0,d.length-1).reverse().map((re=>function k(g){const d=g.routeConfig?g.routeConfig.canActivateChild:null;return d&&0!==d.length?{node:g,guards:d}:null}(re))).filter((re=>null!==re)).map((re=>Ot((()=>{const pe=re.guards.map((st=>{const Kt=l(st,re.node,c);let Sn;if(function D(g){return g&&yr(g.canActivateChild)}(Kt))Sn=Ve(Kt.canActivateChild(C,g));else{if(!yr(Kt))throw new Error("Invalid CanActivateChild guard");Sn=Ve(Kt(C,g))}return Sn.pipe((0,Jn.P)())}));return(0,me.of)(pe).pipe(Ze())}))));return(0,me.of)(Y).pipe(Ze())}(g,T.path,c),function _n(g,d,c){const C=d.routeConfig?d.routeConfig.canActivate:null;if(!C||0===C.length)return(0,me.of)(!0);const T=C.map((Y=>Ot((()=>{const re=l(Y,d,c);let pe;if(function z(g){return g&&yr(g.canActivate)}(re))pe=Ve(re.canActivate(d,g));else{if(!yr(re))throw new Error("Invalid CanActivate guard");pe=Ve(re(d,g))}return pe.pipe((0,Jn.P)())}))));return(0,me.of)(T).pipe(Ze())}(g,T.route,c)))),(0,Jn.P)((T=>!0!==T),!0))}(C,Y,g,d):(0,me.of)(pe))),(0,We.U)((pe=>({...c,guardsResult:pe}))))}))}(this.ngModule.injector,(pe=>this.triggerEvent(pe))),Ye((pe=>{if($r(pe.guardsResult)){const Kt=It(`Redirecting to "${this.serializeUrl(pe.guardsResult)}"`);throw Kt.url=pe.guardsResult,Kt}const st=new Je(pe.id,this.serializeUrl(pe.extractedUrl),this.serializeUrl(pe.urlAfterRedirects),pe.targetSnapshot,!!pe.guardsResult);this.triggerEvent(st)})),(0,be.h)((pe=>!!pe.guardsResult||(this.restoreHistory(pe),this.cancelNavigationTransition(pe,""),!1))),hn((pe=>{if(pe.guards.canActivateChecks.length)return(0,me.of)(pe).pipe(Ye((st=>{const Kt=new at(st.id,this.serializeUrl(st.extractedUrl),this.serializeUrl(st.urlAfterRedirects),st.targetSnapshot);this.triggerEvent(Kt)})),(0,dt.w)((st=>{let Kt=!1;return(0,me.of)(st).pipe(function _i(g,d){return(0,se.zg)((c=>{const{targetSnapshot:C,guards:{canActivateChecks:T}}=c;if(!T.length)return(0,me.of)(c);let Y=0;return(0,Te.D)(T).pipe((0,In.b)((re=>function Po(g,d,c,C){return function Oo(g,d,c,C){const T=Xt(g);if(0===T.length)return(0,me.of)({});const Y={};return(0,Te.D)(T).pipe((0,se.zg)((re=>function ln(g,d,c,C){const T=l(g,d,C);return Ve(T.resolve?T.resolve(d,c):T(d,c))}(g[re],d,c,C).pipe(Ye((pe=>{Y[re]=pe}))))),Mt(1),(0,se.zg)((()=>Xt(Y).length===T.length?(0,me.of)(Y):Oe.E)))}(g._resolve,g,d,C).pipe((0,We.U)((Y=>(g._resolvedData=Y,g.data={...g.data,...Ei(g,c).resolve},null))))}(re.route,C,g,d))),Ye((()=>Y++)),Mt(1),(0,se.zg)((re=>Y===T.length?(0,me.of)(c):Oe.E)))}))}(this.paramsInheritanceStrategy,this.ngModule.injector),Ye({next:()=>Kt=!0,complete:()=>{Kt||(this.restoreHistory(st),this.cancelNavigationTransition(st,"At least one route resolver didn't emit any value."))}}))})),Ye((st=>{const Kt=new _t(st.id,this.serializeUrl(st.extractedUrl),this.serializeUrl(st.urlAfterRedirects),st.targetSnapshot);this.triggerEvent(Kt)})))})),hn((pe=>{const{targetSnapshot:st,id:Kt,extractedUrl:Sn,rawUrl:nn,extras:{skipLocationChange:Vn,replaceUrl:$n}}=pe;return this.hooks.afterPreactivation(st,{navigationId:Kt,appliedUrlTree:Sn,rawUrlTree:nn,skipLocationChange:!!Vn,replaceUrl:!!$n})})),(0,We.U)((pe=>{const st=function Si(g,d,c){const C=ni(g,d._root,c?c._root:void 0);return new dr(C,d)}(this.routeReuseStrategy,pe.targetSnapshot,pe.currentRouterState);return{...pe,targetRouterState:st}})),Ye((pe=>{this.currentUrlTree=pe.urlAfterRedirects,this.rawUrlTree=this.urlHandlingStrategy.merge(pe.urlAfterRedirects,pe.rawUrl),this.routerState=pe.targetRouterState,"deferred"===this.urlUpdateStrategy&&(pe.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,pe),this.browserUrlTree=pe.urlAfterRedirects)})),((g,d,c)=>(0,We.U)((C=>(new ir(d,C.targetRouterState,C.currentRouterState,c).activate(g),C))))(this.rootContexts,this.routeReuseStrategy,(pe=>this.triggerEvent(pe))),Ye({next(){Y=!0},complete(){Y=!0}}),function Le(g){return d=>d.lift(new Se(g))}((()=>{Y||re||this.cancelNavigationTransition(T,`Navigation ID ${T.id} is not equal to the current navigation id ${this.navigationId}`),this.currentNavigation?.id===T.id&&(this.currentNavigation=null)})),vt((pe=>{if(re=!0,function pn(g){return g&&g[dn]}(pe)){const st=$r(pe.url);st||(this.navigated=!0,this.restoreHistory(T,!0));const Kt=new ae(T.id,this.serializeUrl(T.extractedUrl),pe.message);C.next(Kt),st?setTimeout((()=>{const Sn=this.urlHandlingStrategy.merge(pe.url,this.rawUrlTree),nn={skipLocationChange:T.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy||Ya(T.source)};this.scheduleNavigation(Sn,"imperative",null,nn,{resolve:T.resolve,reject:T.reject,promise:T.promise})}),0):T.resolve(!1)}else{this.restoreHistory(T,!0);const st=new ne(T.id,this.serializeUrl(T.extractedUrl),pe);C.next(st);try{T.resolve(this.errorHandler(pe))}catch(Kt){T.reject(Kt)}}return Oe.E})))})))}resetRootComponentType(c){this.rootComponentType=c,this.routerState.root.component=this.rootComponentType}setTransition(c){this.transitions.next({...this.transitions.value,...c})}initialNavigation(){this.setUpLocationChangeListener(),0===this.navigationId&&this.navigateByUrl(this.location.path(!0),{replaceUrl:!0})}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe((c=>{const C="popstate"===c.type?"popstate":"hashchange";"popstate"===C&&setTimeout((()=>{const T={replaceUrl:!0},Y=c.state?.navigationId?c.state:null;if(Y){const pe={...Y};delete pe.navigationId,delete pe.ɵrouterPageId,0!==Object.keys(pe).length&&(T.state=pe)}const re=this.parseUrl(c.url);this.scheduleNavigation(re,C,Y,T)}),0)})))}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.currentNavigation}triggerEvent(c){this.events.next(c)}resetConfig(c){mn(c),this.config=c.map(Un),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(c,C={}){const{relativeTo:T,queryParams:Y,fragment:re,queryParamsHandling:pe,preserveFragment:st}=C,Kt=T||this.routerState.root,Sn=st?this.currentUrlTree.fragment:re;let nn=null;switch(pe){case"merge":nn={...this.currentUrlTree.queryParams,...Y};break;case"preserve":nn=this.currentUrlTree.queryParams;break;default:nn=Y||null}return null!==nn&&(nn=this.removeEmptyProps(nn)),function ji(g,d,c,C,T){if(0===c.length)return Qr(d.root,d.root,d.root,C,T);const Y=function Ui(g){if("string"==typeof g[0]&&1===g.length&&"/"===g[0])return new ii(!0,0,g);let d=0,c=!1;const C=g.reduce(((T,Y,re)=>{if("object"==typeof Y&&null!=Y){if(Y.outlets){const pe={};return ce(Y.outlets,((st,Kt)=>{pe[Kt]="string"==typeof st?st.split("/"):st})),[...T,{outlets:pe}]}if(Y.segmentPath)return[...T,Y.segmentPath]}return"string"!=typeof Y?[...T,Y]:0===re?(Y.split("/").forEach(((pe,st)=>{0==st&&"."===pe||(0==st&&""===pe?c=!0:".."===pe?d++:""!=pe&&T.push(pe))})),T):[...T,Y]}),[]);return new ii(c,d,C)}(c);if(Y.toRoot())return Qr(d.root,d.root,new qe([],{}),C,T);const re=function Rr(g,d,c){if(g.isAbsolute)return new oi(d.root,!0,0);if(-1===c.snapshot._lastPathIndex){const Y=c.snapshot._urlSegment;return new oi(Y,Y===d.root,0)}const C=ri(g.commands[0])?0:1;return function io(g,d,c){let C=g,T=d,Y=c;for(;Y>T;){if(Y-=T,C=C.parent,!C)throw new Error("Invalid number of '../'");T=C.segments.length}return new oi(C,!1,T-Y)}(c.snapshot._urlSegment,c.snapshot._lastPathIndex+C,g.numberOfDoubleDots)}(Y,d,g),pe=re.processChildren?Pi(re.segmentGroup,re.index,Y.commands):Ti(re.segmentGroup,re.index,Y.commands);return Qr(d.root,re.segmentGroup,pe,C,T)}(Kt,this.currentUrlTree,c,nn,Sn??null)}navigateByUrl(c,C={skipLocationChange:!1}){const T=$r(c)?c:this.parseUrl(c),Y=this.urlHandlingStrategy.merge(T,this.rawUrlTree);return this.scheduleNavigation(Y,"imperative",null,C)}navigate(c,C={skipLocationChange:!1}){return function Wa(g){for(let d=0;d<g.length;d++){const c=g[d];if(null==c)throw new Error(`The requested path contains ${c} segment at index ${d}`)}}(c),this.navigateByUrl(this.createUrlTree(c,C),C)}serializeUrl(c){return this.urlSerializer.serialize(c)}parseUrl(c){let C;try{C=this.urlSerializer.parse(c)}catch(T){C=this.malformedUriErrorHandler(T,this.urlSerializer,c)}return C}isActive(c,C){let T;if(T=!0===C?{...Vr}:!1===C?{...li}:C,$r(c))return ie(this.currentUrlTree,c,T);const Y=this.parseUrl(c);return ie(this.currentUrlTree,Y,T)}removeEmptyProps(c){return Object.keys(c).reduce(((C,T)=>{const Y=c[T];return null!=Y&&(C[T]=Y),C}),{})}processNavigations(){this.navigations.subscribe((c=>{this.navigated=!0,this.lastSuccessfulId=c.id,this.currentPageId=c.targetPageId,this.events.next(new X(c.id,this.serializeUrl(c.extractedUrl),this.serializeUrl(this.currentUrlTree))),this.lastSuccessfulNavigation=this.currentNavigation,c.resolve(!0)}),(c=>{this.console.warn(`Unhandled Navigation Error: ${c}`)}))}scheduleNavigation(c,C,T,Y,re){if(this.disposed)return Promise.resolve(!1);let pe,st,Kt;re?(pe=re.resolve,st=re.reject,Kt=re.promise):Kt=new Promise(((Vn,$n)=>{pe=Vn,st=$n}));const Sn=++this.navigationId;let nn;return"computed"===this.canceledNavigationResolution?(0===this.currentPageId&&(T=this.location.getState()),nn=T&&T.ɵrouterPageId?T.ɵrouterPageId:Y.replaceUrl||Y.skipLocationChange?this.browserPageId??0:(this.browserPageId??0)+1):nn=0,this.setTransition({id:Sn,targetPageId:nn,source:C,restoredState:T,currentUrlTree:this.currentUrlTree,currentRawUrl:this.rawUrlTree,rawUrl:c,extras:Y,resolve:pe,reject:st,promise:Kt,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),Kt.catch((Vn=>Promise.reject(Vn)))}setBrowserUrl(c,C){const T=this.urlSerializer.serialize(c),Y={...C.extras.state,...this.generateNgRouterState(C.id,C.targetPageId)};this.location.isCurrentPathEqualTo(T)||C.extras.replaceUrl?this.location.replaceState(T,"",Y):this.location.go(T,"",Y)}restoreHistory(c,C=!1){if("computed"===this.canceledNavigationResolution){const T=this.currentPageId-c.targetPageId;"popstate"!==c.source&&"eager"!==this.urlUpdateStrategy&&this.currentUrlTree!==this.currentNavigation?.finalUrl||0===T?this.currentUrlTree===this.currentNavigation?.finalUrl&&0===T&&(this.resetState(c),this.browserUrlTree=c.currentUrlTree,this.resetUrlToCurrentUrlTree()):this.location.historyGo(T)}else"replace"===this.canceledNavigationResolution&&(C&&this.resetState(c),this.resetUrlToCurrentUrlTree())}resetState(c){this.routerState=c.currentRouterState,this.currentUrlTree=c.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,c.rawUrl)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}cancelNavigationTransition(c,C){const T=new ae(c.id,this.serializeUrl(c.extractedUrl),C);this.triggerEvent(T),c.resolve(!1)}generateNgRouterState(c,C){return"computed"===this.canceledNavigationResolution?{navigationId:c,"ɵrouterPageId":C}:{navigationId:c}}}return g.ɵfac=function(c){p.$Z()},g.ɵprov=p.Yz7({token:g,factory:g.ɵfac}),g})();function Ya(g){return"imperative"!==g}let ao=(()=>{class g{constructor(c,C,T){this.router=c,this.route=C,this.locationStrategy=T,this.commands=null,this.href=null,this.onChanges=new xt.xQ,this.subscription=c.events.subscribe((Y=>{Y instanceof X&&this.updateTargetUrlAndHref()}))}set routerLink(c){this.commands=null!=c?Array.isArray(c)?c:[c]:null}ngOnChanges(c){this.updateTargetUrlAndHref(),this.onChanges.next(this)}ngOnDestroy(){this.subscription.unsubscribe()}onClick(c,C,T,Y,re){if(0!==c||C||T||Y||re||"string"==typeof this.target&&"_self"!=this.target||null===this.urlTree)return!0;const pe={skipLocationChange:lo(this.skipLocationChange),replaceUrl:lo(this.replaceUrl),state:this.state};return this.router.navigateByUrl(this.urlTree,pe),!1}updateTargetUrlAndHref(){this.href=null!==this.urlTree?this.locationStrategy.prepareExternalUrl(this.router.serializeUrl(this.urlTree)):null}get urlTree(){return null===this.commands?null:this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:lo(this.preserveFragment)})}}return g.ɵfac=function(c){return new(c||g)(p.Y36(Er),p.Y36(Tr),p.Y36(o.S$))},g.ɵdir=p.lG2({type:g,selectors:[["a","routerLink",""],["area","routerLink",""]],hostVars:2,hostBindings:function(c,C){1&c&&p.NdJ("click",(function(Y){return C.onClick(Y.button,Y.ctrlKey,Y.shiftKey,Y.altKey,Y.metaKey)})),2&c&&p.uIk("target",C.target)("href",C.href,p.LSH)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",state:"state",relativeTo:"relativeTo",routerLink:"routerLink"},features:[p.TTD]}),g})();function lo(g){return""===g||!!g}class ds{}class co{preload(d,c){return(0,me.of)(null)}}let Qs=(()=>{class g{constructor(c,C,T,Y){this.router=c,this.injector=T,this.preloadingStrategy=Y,this.loader=new ei(T,C,(st=>c.triggerEvent(new ft(st))),(st=>c.triggerEvent(new Bt(st))))}setUpPreloading(){this.subscription=this.router.events.pipe((0,be.h)((c=>c instanceof X)),(0,In.b)((()=>this.preload()))).subscribe((()=>{}))}preload(){const c=this.injector.get(p.h0i);return this.processRoutes(c,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(c,C){const T=[];for(const Y of C)if(Y.loadChildren&&!Y.canLoad&&Y._loadedConfig){const re=Y._loadedConfig;T.push(this.processRoutes(re.module,re.routes))}else Y.loadChildren&&!Y.canLoad?T.push(this.preloadConfig(c,Y)):Y.children&&T.push(this.processRoutes(c,Y.children));return(0,Te.D)(T).pipe((0,He.J)(),(0,We.U)((Y=>{})))}preloadConfig(c,C){return this.preloadingStrategy.preload(C,(()=>(C._loadedConfig?(0,me.of)(C._loadedConfig):this.loader.load(c.injector,C)).pipe((0,se.zg)((Y=>(C._loadedConfig=Y,this.processRoutes(Y.module,Y.routes)))))))}}return g.ɵfac=function(c){return new(c||g)(p.LFG(Er),p.LFG(p.Sil),p.LFG(p.zs3),p.LFG(ds))},g.ɵprov=p.Yz7({token:g,factory:g.ɵfac}),g})(),Gi=(()=>{class g{constructor(c,C,T={}){this.router=c,this.viewportScroller=C,this.options=T,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},T.scrollPositionRestoration=T.scrollPositionRestoration||"disabled",T.anchorScrolling=T.anchorScrolling||"disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.router.events.subscribe((c=>{c instanceof F?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=c.navigationTrigger,this.restoredId=c.restoredState?c.restoredState.navigationId:0):c instanceof X&&(this.lastId=c.id,this.scheduleScrollEvent(c,this.router.parseUrl(c.urlAfterRedirects).fragment))}))}consumeScrollEvents(){return this.router.events.subscribe((c=>{c instanceof Et&&(c.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(c.position):c.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(c.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))}))}scheduleScrollEvent(c,C){this.router.triggerEvent(new Et(c,"popstate"===this.lastSource?this.store[this.restoredId]:null,C))}ngOnDestroy(){this.routerEventsSubscription&&this.routerEventsSubscription.unsubscribe(),this.scrollEventsSubscription&&this.scrollEventsSubscription.unsubscribe()}}return g.ɵfac=function(c){p.$Z()},g.ɵprov=p.Yz7({token:g,factory:g.ɵfac}),g})();const vi=new p.OlP("ROUTER_CONFIGURATION"),Ka=new p.OlP("ROUTER_FORROOT_GUARD"),Js=[o.Ye,{provide:rn,useClass:on},{provide:Er,useFactory:function Io(g,d,c,C,T,Y,re={},pe,st){const Kt=new Er(null,g,d,c,C,T,B(Y));return pe&&(Kt.urlHandlingStrategy=pe),st&&(Kt.routeReuseStrategy=st),function Ro(g,d){g.errorHandler&&(d.errorHandler=g.errorHandler),g.malformedUriErrorHandler&&(d.malformedUriErrorHandler=g.malformedUriErrorHandler),g.onSameUrlNavigation&&(d.onSameUrlNavigation=g.onSameUrlNavigation),g.paramsInheritanceStrategy&&(d.paramsInheritanceStrategy=g.paramsInheritanceStrategy),g.relativeLinkResolution&&(d.relativeLinkResolution=g.relativeLinkResolution),g.urlUpdateStrategy&&(d.urlUpdateStrategy=g.urlUpdateStrategy),g.canceledNavigationResolution&&(d.canceledNavigationResolution=g.canceledNavigationResolution)}(re,Kt),re.enableTracing&&Kt.events.subscribe((Sn=>{console.group?.(`Router Event: ${Sn.constructor.name}`),console.log(Sn.toString()),console.log(Sn),console.groupEnd?.()})),Kt},deps:[rn,Dt,o.Ye,p.zs3,p.Sil,mr,vi,[class Kn{},new p.FiY],[class Mn{},new p.FiY]]},Dt,{provide:Tr,useFactory:function qa(g){return g.routerState.root},deps:[Er]},Qs,co,class Zs{preload(d,c){return c().pipe(vt((()=>(0,me.of)(null))))}},{provide:vi,useValue:{enableTracing:!1}}];function Xs(){return new p.PXZ("Router",Er)}let Za=(()=>{class g{constructor(c,C){}static forRoot(c,C){return{ngModule:g,providers:[Js,xo(c),{provide:Ka,useFactory:hs,deps:[[Er,new p.FiY,new p.tp0]]},{provide:vi,useValue:C||{}},{provide:o.S$,useFactory:Co,deps:[o.lw,[new p.tBr(o.mr),new p.FiY],vi]},{provide:Gi,useFactory:Qa,deps:[Er,o.EM,vi]},{provide:ds,useExisting:C&&C.preloadingStrategy?C.preloadingStrategy:co},{provide:p.PXZ,multi:!0,useFactory:Xs},[No,{provide:p.ip1,multi:!0,useFactory:ea,deps:[No]},{provide:fs,useFactory:ta,deps:[No]},{provide:p.tb,multi:!0,useExisting:fs}]]}}static forChild(c){return{ngModule:g,providers:[xo(c)]}}}return g.ɵfac=function(c){return new(c||g)(p.LFG(Ka,8),p.LFG(Er,8))},g.ɵmod=p.oAB({type:g}),g.ɵinj=p.cJS({}),g})();function Qa(g,d,c){return c.scrollOffset&&d.setOffset(c.scrollOffset),new Gi(g,d,c)}function Co(g,d,c={}){return c.useHash?new o.Do(g,d):new o.b0(g,d)}function hs(g){return"guarded"}function xo(g){return[{provide:p.deG,multi:!0,useValue:g},{provide:mr,multi:!0,useValue:g}]}let No=(()=>{class g{constructor(c){this.injector=c,this.initNavigation=!1,this.destroyed=!1,this.resultOfPreactivationDone=new xt.xQ}appInitializer(){return this.injector.get(o.V_,Promise.resolve(null)).then((()=>{if(this.destroyed)return Promise.resolve(!0);let C=null;const T=new Promise((pe=>C=pe)),Y=this.injector.get(Er),re=this.injector.get(vi);return"disabled"===re.initialNavigation?(Y.setUpLocationChangeListener(),C(!0)):"enabled"===re.initialNavigation||"enabledBlocking"===re.initialNavigation?(Y.hooks.afterPreactivation=()=>this.initNavigation?(0,me.of)(null):(this.initNavigation=!0,C(!0),this.resultOfPreactivationDone),Y.initialNavigation()):C(!0),T}))}bootstrapListener(c){const C=this.injector.get(vi),T=this.injector.get(Qs),Y=this.injector.get(Gi),re=this.injector.get(Er),pe=this.injector.get(p.z2F);c===pe.components[0]&&(("enabledNonBlocking"===C.initialNavigation||void 0===C.initialNavigation)&&re.initialNavigation(),T.setUpPreloading(),Y.init(),re.resetRootComponentType(pe.componentTypes[0]),this.resultOfPreactivationDone.next(null),this.resultOfPreactivationDone.complete())}ngOnDestroy(){this.destroyed=!0}}return g.ɵfac=function(c){return new(c||g)(p.LFG(p.zs3))},g.ɵprov=p.Yz7({token:g,factory:g.ɵfac}),g})();function ea(g){return g.appInitializer.bind(g)}function ta(g){return g.bootstrapListener.bind(g)}const fs=new p.OlP("Router Initializer")},802:(G,O,u)=>{"use strict";u.d(O,{au:()=>sn,A4:()=>an});var o=u(5062),p=u(6895),A=u(1086),S=u(2916),E=u(1406),M=u(2198),R=u(4850);class I{}class P{}class x{constructor(J){this.normalizedNames=new Map,this.lazyUpdate=null,J?this.lazyInit="string"==typeof J?()=>{this.headers=new Map,J.split("\n").forEach((B=>{const W=B.indexOf(":");if(W>0){const U=B.slice(0,W),ce=U.toLowerCase(),Ve=B.slice(W+1).trim();this.maybeSetNormalizedName(U,ce),this.headers.has(ce)?this.headers.get(ce).push(Ve):this.headers.set(ce,[Ve])}}))}:()=>{this.headers=new Map,Object.keys(J).forEach((B=>{let W=J[B];const U=B.toLowerCase();"string"==typeof W&&(W=[W]),W.length>0&&(this.headers.set(U,W),this.maybeSetNormalizedName(B,U))}))}:this.headers=new Map}has(J){return this.init(),this.headers.has(J.toLowerCase())}get(J){this.init();const B=this.headers.get(J.toLowerCase());return B&&B.length>0?B[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(J){return this.init(),this.headers.get(J.toLowerCase())||null}append(J,B){return this.clone({name:J,value:B,op:"a"})}set(J,B){return this.clone({name:J,value:B,op:"s"})}delete(J,B){return this.clone({name:J,value:B,op:"d"})}maybeSetNormalizedName(J,B){this.normalizedNames.has(B)||this.normalizedNames.set(B,J)}init(){this.lazyInit&&(this.lazyInit instanceof x?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((B=>{this.headers.set(B,J.headers.get(B)),this.normalizedNames.set(B,J.normalizedNames.get(B))}))}clone(J){const B=new x;return B.lazyInit=this.lazyInit&&this.lazyInit instanceof x?this.lazyInit:this,B.lazyUpdate=(this.lazyUpdate||[]).concat([J]),B}applyUpdate(J){const B=J.name.toLowerCase();switch(J.op){case"a":case"s":let W=J.value;if("string"==typeof W&&(W=[W]),0===W.length)return;this.maybeSetNormalizedName(J.name,B);const U=("a"===J.op?this.headers.get(B):void 0)||[];U.push(...W),this.headers.set(B,U);break;case"d":const ce=J.value;if(ce){let Ve=this.headers.get(B);if(!Ve)return;Ve=Ve.filter((yt=>-1===ce.indexOf(yt))),0===Ve.length?(this.headers.delete(B),this.normalizedNames.delete(B)):this.headers.set(B,Ve)}else this.headers.delete(B),this.normalizedNames.delete(B)}}forEach(J){this.init(),Array.from(this.normalizedNames.keys()).forEach((B=>J(this.normalizedNames.get(B),this.headers.get(B))))}}class L{encodeKey(J){return Ce(J)}encodeValue(J){return Ce(J)}decodeKey(J){return decodeURIComponent(J)}decodeValue(J){return decodeURIComponent(J)}}const te=/%(\d[a-f0-9])/gi,ye={40:"@","3A":":",24:"$","2C":",","3B":";","2B":"+","3D":"=","3F":"?","2F":"/"};function Ce(de){return encodeURIComponent(de).replace(te,((J,B)=>ye[B]??J))}function Te(de){return`${de}`}class Oe{constructor(J={}){if(this.updates=null,this.cloneFrom=null,this.encoder=J.encoder||new L,J.fromString){if(J.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function Z(de,J){const B=new Map;return de.length>0&&de.replace(/^\?/,"").split("&").forEach((U=>{const ce=U.indexOf("="),[Ve,yt]=-1==ce?[J.decodeKey(U),""]:[J.decodeKey(U.slice(0,ce)),J.decodeValue(U.slice(ce+1))],ut=B.get(Ve)||[];ut.push(yt),B.set(Ve,ut)})),B}(J.fromString,this.encoder)}else J.fromObject?(this.map=new Map,Object.keys(J.fromObject).forEach((B=>{const W=J.fromObject[B];this.map.set(B,Array.isArray(W)?W:[W])}))):this.map=null}has(J){return this.init(),this.map.has(J)}get(J){this.init();const B=this.map.get(J);return B?B[0]:null}getAll(J){return this.init(),this.map.get(J)||null}keys(){return this.init(),Array.from(this.map.keys())}append(J,B){return this.clone({param:J,value:B,op:"a"})}appendAll(J){const B=[];return Object.keys(J).forEach((W=>{const U=J[W];Array.isArray(U)?U.forEach((ce=>{B.push({param:W,value:ce,op:"a"})})):B.push({param:W,value:U,op:"a"})})),this.clone(B)}set(J,B){return this.clone({param:J,value:B,op:"s"})}delete(J,B){return this.clone({param:J,value:B,op:"d"})}toString(){return this.init(),this.keys().map((J=>{const B=this.encoder.encodeKey(J);return this.map.get(J).map((W=>B+"="+this.encoder.encodeValue(W))).join("&")})).filter((J=>""!==J)).join("&")}clone(J){const B=new Oe({encoder:this.encoder});return B.cloneFrom=this.cloneFrom||this,B.updates=(this.updates||[]).concat(J),B}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 B=("a"===J.op?this.map.get(J.param):void 0)||[];B.push(Te(J.value)),this.map.set(J.param,B);break;case"d":if(void 0===J.value){this.map.delete(J.param);break}{let W=this.map.get(J.param)||[];const U=W.indexOf(Te(J.value));-1!==U&&W.splice(U,1),W.length>0?this.map.set(J.param,W):this.map.delete(J.param)}}})),this.cloneFrom=this.updates=null)}}class me{constructor(){this.map=new Map}set(J,B){return this.map.set(J,B),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 Ee(de){return typeof ArrayBuffer<"u"&&de instanceof ArrayBuffer}function fe(de){return typeof Blob<"u"&&de instanceof Blob}function bt(de){return typeof FormData<"u"&&de instanceof FormData}class xt{constructor(J,B,W,U){let ce;if(this.url=B,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=J.toUpperCase(),function ze(de){switch(de){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||U?(this.body=void 0!==W?W:null,ce=U):ce=W,ce&&(this.reportProgress=!!ce.reportProgress,this.withCredentials=!!ce.withCredentials,ce.responseType&&(this.responseType=ce.responseType),ce.headers&&(this.headers=ce.headers),ce.context&&(this.context=ce.context),ce.params&&(this.params=ce.params)),this.headers||(this.headers=new x),this.context||(this.context=new me),this.params){const Ve=this.params.toString();if(0===Ve.length)this.urlWithParams=B;else{const yt=B.indexOf("?");this.urlWithParams=B+(-1===yt?"?":yt<B.length-1?"&":"")+Ve}}else this.params=new Oe,this.urlWithParams=B}serializeBody(){return null===this.body?null:Ee(this.body)||fe(this.body)||bt(this.body)||function Lt(de){return typeof URLSearchParams<"u"&&de instanceof URLSearchParams}(this.body)||"string"==typeof this.body?this.body:this.body instanceof Oe?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||bt(this.body)?null:fe(this.body)?this.body.type||null:Ee(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof Oe?"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 B=J.method||this.method,W=J.url||this.url,U=J.responseType||this.responseType,ce=void 0!==J.body?J.body:this.body,Ve=void 0!==J.withCredentials?J.withCredentials:this.withCredentials,yt=void 0!==J.reportProgress?J.reportProgress:this.reportProgress;let ut=J.headers||this.headers,lt=J.params||this.params;const ie=J.context??this.context;return void 0!==J.setHeaders&&(ut=Object.keys(J.setHeaders).reduce(((Ne,St)=>Ne.set(St,J.setHeaders[St])),ut)),J.setParams&&(lt=Object.keys(J.setParams).reduce(((Ne,St)=>Ne.set(St,J.setParams[St])),lt)),new xt(B,W,ce,{params:lt,headers:ut,context:ie,reportProgress:yt,responseType:U,withCredentials:Ve})}}var je=(()=>((je=je||{})[je.Sent=0]="Sent",je[je.UploadProgress=1]="UploadProgress",je[je.ResponseHeader=2]="ResponseHeader",je[je.DownloadProgress=3]="DownloadProgress",je[je.Response=4]="Response",je[je.User=5]="User",je))();class Ue{constructor(J,B=200,W="OK"){this.headers=J.headers||new x,this.status=void 0!==J.status?J.status:B,this.statusText=J.statusText||W,this.url=J.url||null,this.ok=this.status>=200&&this.status<300}}class Qe extends Ue{constructor(J={}){super(J),this.type=je.ResponseHeader}clone(J={}){return new Qe({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 Nt extends Ue{constructor(J={}){super(J),this.type=je.Response,this.body=void 0!==J.body?J.body:null}clone(J={}){return new Nt({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 vt extends Ue{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 nt(de,J){return{body:J,headers:de.headers,context:de.context,observe:de.observe,params:de.params,reportProgress:de.reportProgress,responseType:de.responseType,withCredentials:de.withCredentials}}let we=(()=>{class de{constructor(B){this.handler=B}request(B,W,U={}){let ce;if(B instanceof xt)ce=B;else{let ut,lt;ut=U.headers instanceof x?U.headers:new x(U.headers),U.params&&(lt=U.params instanceof Oe?U.params:new Oe({fromObject:U.params})),ce=new xt(B,W,void 0!==U.body?U.body:null,{headers:ut,context:U.context,params:lt,reportProgress:U.reportProgress,responseType:U.responseType||"json",withCredentials:U.withCredentials})}const Ve=(0,A.of)(ce).pipe((0,E.b)((ut=>this.handler.handle(ut))));if(B instanceof xt||"events"===U.observe)return Ve;const yt=Ve.pipe((0,M.h)((ut=>ut instanceof Nt)));switch(U.observe||"body"){case"body":switch(ce.responseType){case"arraybuffer":return yt.pipe((0,R.U)((ut=>{if(null!==ut.body&&!(ut.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return ut.body})));case"blob":return yt.pipe((0,R.U)((ut=>{if(null!==ut.body&&!(ut.body instanceof Blob))throw new Error("Response is not a Blob.");return ut.body})));case"text":return yt.pipe((0,R.U)((ut=>{if(null!==ut.body&&"string"!=typeof ut.body)throw new Error("Response is not a string.");return ut.body})));default:return yt.pipe((0,R.U)((ut=>ut.body)))}case"response":return yt;default:throw new Error(`Unreachable: unhandled observe type ${U.observe}}`)}}delete(B,W={}){return this.request("DELETE",B,W)}get(B,W={}){return this.request("GET",B,W)}head(B,W={}){return this.request("HEAD",B,W)}jsonp(B,W){return this.request("JSONP",B,{params:(new Oe).append(W,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(B,W={}){return this.request("OPTIONS",B,W)}patch(B,W,U={}){return this.request("PATCH",B,nt(U,W))}post(B,W,U={}){return this.request("POST",B,nt(U,W))}put(B,W,U={}){return this.request("PUT",B,nt(U,W))}}return de.ɵfac=function(B){return new(B||de)(o.LFG(I))},de.ɵprov=o.Yz7({token:de,factory:de.ɵfac}),de})();class be{constructor(J,B){this.next=J,this.interceptor=B}handle(J){return this.interceptor.intercept(J,this.next)}}const rt=new o.OlP("HTTP_INTERCEPTORS");let Mt=(()=>{class de{intercept(B,W){return W.handle(B)}}return de.ɵfac=function(B){return new(B||de)},de.ɵprov=o.Yz7({token:de,factory:de.ɵfac}),de})();const Ye=/^\)\]\}',?\n/;let Ut=(()=>{class de{constructor(B){this.xhrFactory=B}handle(B){if("JSONP"===B.method)throw new Error("Attempted to construct Jsonp request without HttpClientJsonpModule installed.");return new S.y((W=>{const U=this.xhrFactory.build();if(U.open(B.method,B.urlWithParams),B.withCredentials&&(U.withCredentials=!0),B.headers.forEach(((Tt,Zt)=>U.setRequestHeader(Tt,Zt.join(",")))),B.headers.has("Accept")||U.setRequestHeader("Accept","application/json, text/plain, */*"),!B.headers.has("Content-Type")){const Tt=B.detectContentTypeHeader();null!==Tt&&U.setRequestHeader("Content-Type",Tt)}if(B.responseType){const Tt=B.responseType.toLowerCase();U.responseType="json"!==Tt?Tt:"text"}const ce=B.serializeBody();let Ve=null;const yt=()=>{if(null!==Ve)return Ve;const Tt=U.statusText||"OK",Zt=new x(U.getAllResponseHeaders()),Re=function ht(de){return"responseURL"in de&&de.responseURL?de.responseURL:/^X-Request-URL:/m.test(de.getAllResponseHeaders())?de.getResponseHeader("X-Request-URL"):null}(U)||B.url;return Ve=new Qe({headers:Zt,status:U.status,statusText:Tt,url:Re}),Ve},ut=()=>{let{headers:Tt,status:Zt,statusText:Re,url:Xe}=yt(),xe=null;204!==Zt&&(xe=typeof U.response>"u"?U.responseText:U.response),0===Zt&&(Zt=xe?200:0);let qe=Zt>=200&&Zt<300;if("json"===B.responseType&&"string"==typeof xe){const jt=xe;xe=xe.replace(Ye,"");try{xe=""!==xe?JSON.parse(xe):null}catch(Gt){xe=jt,qe&&(qe=!1,xe={error:Gt,text:xe})}}qe?(W.next(new Nt({body:xe,headers:Tt,status:Zt,statusText:Re,url:Xe||void 0})),W.complete()):W.error(new vt({error:xe,headers:Tt,status:Zt,statusText:Re,url:Xe||void 0}))},lt=Tt=>{const{url:Zt}=yt(),Re=new vt({error:Tt,status:U.status||0,statusText:U.statusText||"Unknown Error",url:Zt||void 0});W.error(Re)};let ie=!1;const Ne=Tt=>{ie||(W.next(yt()),ie=!0);let Zt={type:je.DownloadProgress,loaded:Tt.loaded};Tt.lengthComputable&&(Zt.total=Tt.total),"text"===B.responseType&&!!U.responseText&&(Zt.partialText=U.responseText),W.next(Zt)},St=Tt=>{let Zt={type:je.UploadProgress,loaded:Tt.loaded};Tt.lengthComputable&&(Zt.total=Tt.total),W.next(Zt)};return U.addEventListener("load",ut),U.addEventListener("error",lt),U.addEventListener("timeout",lt),U.addEventListener("abort",lt),B.reportProgress&&(U.addEventListener("progress",Ne),null!==ce&&U.upload&&U.upload.addEventListener("progress",St)),U.send(ce),W.next({type:je.Sent}),()=>{U.removeEventListener("error",lt),U.removeEventListener("abort",lt),U.removeEventListener("load",ut),U.removeEventListener("timeout",lt),B.reportProgress&&(U.removeEventListener("progress",Ne),null!==ce&&U.upload&&U.upload.removeEventListener("progress",St)),U.readyState!==U.DONE&&U.abort()}}))}}return de.ɵfac=function(B){return new(B||de)(o.LFG(p.JF))},de.ɵprov=o.Yz7({token:de,factory:de.ɵfac}),de})();const fn=new o.OlP("XSRF_COOKIE_NAME"),Le=new o.OlP("XSRF_HEADER_NAME");class Se{}let _e=(()=>{class de{constructor(B,W,U){this.doc=B,this.platform=W,this.cookieName=U,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const B=this.doc.cookie||"";return B!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,p.Mx)(B,this.cookieName),this.lastCookieString=B),this.lastToken}}return de.ɵfac=function(B){return new(B||de)(o.LFG(p.K0),o.LFG(o.Lbi),o.LFG(fn))},de.ɵprov=o.Yz7({token:de,factory:de.ɵfac}),de})(),We=(()=>{class de{constructor(B,W){this.tokenService=B,this.headerName=W}intercept(B,W){const U=B.url.toLowerCase();if("GET"===B.method||"HEAD"===B.method||U.startsWith("http://")||U.startsWith("https://"))return W.handle(B);const ce=this.tokenService.getToken();return null!==ce&&!B.headers.has(this.headerName)&&(B=B.clone({headers:B.headers.set(this.headerName,ce)})),W.handle(B)}}return de.ɵfac=function(B){return new(B||de)(o.LFG(Se),o.LFG(Le))},de.ɵprov=o.Yz7({token:de,factory:de.ɵfac}),de})(),dt=(()=>{class de{constructor(B,W){this.backend=B,this.injector=W,this.chain=null}handle(B){if(null===this.chain){const W=this.injector.get(rt,[]);this.chain=W.reduceRight(((U,ce)=>new be(U,ce)),this.backend)}return this.chain.handle(B)}}return de.ɵfac=function(B){return new(B||de)(o.LFG(P),o.LFG(o.zs3))},de.ɵprov=o.Yz7({token:de,factory:de.ɵfac}),de})(),In=(()=>{class de{static disable(){return{ngModule:de,providers:[{provide:We,useClass:Mt}]}}static withOptions(B={}){return{ngModule:de,providers:[B.cookieName?{provide:fn,useValue:B.cookieName}:[],B.headerName?{provide:Le,useValue:B.headerName}:[]]}}}return de.ɵfac=function(B){return new(B||de)},de.ɵmod=o.oAB({type:de}),de.ɵinj=o.cJS({providers:[We,{provide:rt,useExisting:We,multi:!0},{provide:Se,useClass:_e},{provide:fn,useValue:"XSRF-TOKEN"},{provide:Le,useValue:"X-XSRF-TOKEN"}]}),de})(),Jn=(()=>{class de{}return de.ɵfac=function(B){return new(B||de)},de.ɵmod=o.oAB({type:de}),de.ɵinj=o.cJS({providers:[we,{provide:I,useClass:dt},Ut,{provide:P,useExisting:Ut}],imports:[[In.withOptions({cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"})]]}),de})();const ae={80:"other",443:"other",2082:"cpanel",2083:"cpanel",2086:"whostmgr",2087:"whostmgr",2095:"webmail",2096:"webmail",9876:"unittest",9877:"unittest",9878:"unittest",9879:"unittest",frontend:"cpanel",webmail:"webmail"};class ne{constructor(J){this.unprotectedPaths=["/resetpass","/invitation"],this.protocol=J.protocol;let B=J.port;B||(function He(de){return/^https:$/i.test(de)}(this.protocol)?B="443":function Pe(de){return/^http:$/i.test(de)}(this.protocol)&&(B="80")),this.domain=J.hostname,this.port=parseInt(B,10),this.path=J.pathname;const W=this.path.match(/((?:\/cpsess\d+)?)(?:\/([^\/]+))?/)||[];if(this.applicationName=/^whm\./.test(this.domain)?ae[2087]:/^cpanel\./.test(this.domain)?ae[2083]:/^webmail\./.test(this.domain)?ae[2095]:ae[B.toString()]||ae[W[2]]||"whostmgr",this.securityToken=W[1]||"",this.applicationPath=this.securityToken?this.path.replace(this.securityToken,""):this.path,this.theme="",!this.isUnprotected&&(this.isCpanel||this.isWebmail)){const ce=this.path.split("/");this.theme=ce[3]}this.themePath="";let U=this.securityToken+"/";this.isUnprotected?U="/":this.isCpanel?U+="frontend/"+this.theme+"/":this.isWebmail?U+="webmail/"+this.theme+"/":this.isOther&&(U="/"),this.themePath=U,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 F(de){return de&&de.replace(/\/?$/,"")}(this.applicationPath))}get isCpanel(){return/cpanel/i.test(this.applicationName)}get isWhm(){return/whostmgr/i.test(this.applicationName)}get isWebmail(){return/webmail/i.test(this.applicationName)}buildPath(J){return this.themePath+J}buildFullPath(J){return this.protocol+"//"+this.domain+":"+this.port+this.buildPath(J)}buildTokenPath(J){return this.protocol+"//"+this.domain+":"+this.port+this.securityToken+J}}class Ie{get pathname(){return window.location.pathname}get port(){return window.location.port}get hostname(){return window.location.hostname}get protocol(){return window.location.protocol}}var et=u(4235),Je=u.n(et),at=u(1305),_t=u.n(at),ft=(()=>{return(de=ft||(ft={}))[de.Error=0]="Error",de[de.Warning=1]="Warning",de[de.Information=2]="Information",de[de.Unknown=3]="Unknown",ft;var de})();const Bt={isPaged:!1,isFiltered:!1,record:0,page:0,pageSize:0,totalRecords:0,totalPages:0,recordsBeforeFilter:0,batch:!1,properties:{}};class Ht{constructor(J){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={},J.chunk&&(this.isPaged=!0,this.record=parseInt(J.chunk.start,10)||0,this.page=parseInt(J.chunk.current,10)||0,this.pageSize=parseInt(J.chunk.size,10)||0,this.totalPages=parseInt(J.chunk.chunks,10)||0,this.totalRecords=parseInt(J.chunk.records,10)||0),J.filter&&(this.isFiltered=!0,this.recordsBeforeFilter=parseInt(J.filter.filtered,10)||0);const B=new Set(["paginate","filter"]);Object.keys(J).filter((W=>!B.has(W))).forEach((W=>{this.properties[W]=J[W]}))}}class zt extends class Jt{constructor(J,B){if(this.status=0,this.messages=[],this.meta=function Ft(de){return JSON.parse(JSON.stringify(de))}(Bt),this.options={keepUnprocessedResponse:!1},Je()(J)||_t()(J))throw new Error("The response was unexpectedly undefined or null");B&&(this.options=B),this.options.keepUnprocessedResponse&&(this.raw=JSON.parse(JSON.stringify(J)))}get success(){return this.status>0}get failed(){return 0===this.status}_getMessages(J){return this.messages.filter((B=>B.type===J))}get errors(){return this._getMessages(ft.Error)}get warnings(){return this._getMessages(ft.Warning)}get infoMessages(){return this._getMessages(ft.Information)}_hasMessages(J){return this.messages.filter((B=>B.type===J)).length>0}get hasErrors(){return this._hasMessages(ft.Error)}get hasWarnings(){return this._hasMessages(ft.Warning)}get hasInfoMessages(){return this._hasMessages(ft.Information)}get isPaged(){return this.meta.isPaged}get isFiltered(){return this.meta.isFiltered}}{_parseStatus(J){if(this.status=0,typeof J.result>"u")throw new Error("The response should have a numeric status property indicating the API succeeded (>0) or failed (=0)");this.status=parseInt(J.result,10)}_parseMessages(J){if(!J.result){const B=[J.reason];B&&B.length&&B.forEach((W=>{this.messages.push({type:ft.Error,message:W})}))}}_reduce_list_data(J){if("object"==typeof J&&!(J instanceof Array)){const B=Object.keys(J);if(1===B.length){const W=J[B[0]];W?W instanceof Array&&(J=W):J=[]}}return J}constructor(J,B){if(super(J,B),!J)throw new Error("Response object should be defined.");J.metadata&&(this._parseStatus(J.metadata),this._parseMessages(J.metadata),this.meta=new Ht(J.metadata)),this.data=this._reduce_list_data(J.data)}}var Et=u(109),Ct=u(3022);let sn=(()=>{class de{}return de.ɵfac=function(B){return new(B||de)},de.ɵmod=o.oAB({type:de}),de.ɵinj=o.cJS({imports:[[Jn]]}),de})(),an=(()=>{class de{constructor(B){this.http=B}get(B){const W=B.generate({verb:Et.F.GET,encoder:new Ct.VN}),U=this.packageUrl(W);return this.http.get(U,{headers:this.packageHeaders(W)}).pipe((0,R.U)(this.packageResponseHandler(U)))}post(B){const W=B.generate(),U=this.packageUrl(W);return this.http.post(U,W.body,{headers:this.packageHeaders(W)}).pipe((0,R.U)(this.packageResponseHandler(U)))}packageHeaders(B){const W={};return B.headers.forEach((U=>{W[U.name]=U.value})),new x(W)}packageUrl(B){return new ne(new Ie).buildTokenPath(B.url)}packageResponseHandler(B){return W=>{const U=new zt(W);return U.meta.properties.url=B,U}}}return de.ɵfac=function(B){return new(B||de)(o.LFG(we))},de.ɵprov=o.Yz7({token:de,factory:de.ɵfac,providedIn:"root"}),de})()},348:(G,O,u)=>{"use strict";u.d(O,{m:()=>E});var o=u(5062),p=u(269);const A=new o.OlP("window"),S=M=>new p.g(M.CLDR,M.LEXICON);let E=(()=>{class M{}return M.ɵfac=function(I){return new(I||M)},M.ɵmod=o.oAB({type:M}),M.ɵinj=o.cJS({providers:[{provide:A,useValue:window},{provide:p.g,useFactory:S,deps:[A]}],imports:[[]]}),M})()},8517:(G,O,u)=>{"use strict";u.d(O,{CQ:()=>Zt,Gy:()=>U,MF:()=>ce,Oc:()=>It,Op:()=>Ve,Yg:()=>W,c9:()=>X,df:()=>pn,hF:()=>Tt});var o=u(5062),p=u(6895),A=u(8929),S=u(2198),E=u(348),M=u(269),R=u(7340),I=u(8746);const ye=["header"];function Ce(q,Me){if(1&q){const $=o.EpF();o.TgZ(0,"button",4),o.NdJ("click",(function(){return o.CHM($),o.oxw().closeClicked()})),o._UZ(1,"i",5),o.qZA()}if(2&q){const $=o.oxw();o.uIk("id",$.buttonID)}}const Te=[[["","callout-heading",""]],"*"],Oe=["[callout-heading]","*"];function Ee(q,Me){if(1&q&&(o.TgZ(0,"label",10)(1,"span",11),o._uU(2),o.qZA()()),2&q){const $=o.oxw();o.s9C("for",$.toggleID),o.uIk("aria-label",$.labelValue),o.xp6(1),o.uIk("id",$.onTextID),o.xp6(1),o.hij(" ",$.isToggleOff?$.offText:$.onText," ")}}function fe(q,Me){if(1&q&&o._UZ(0,"i",12),2&q){const $=o.oxw();o.uIk("id",$.leftSpinnerID)}}function bt(q,Me){if(1&q&&(o.TgZ(0,"label",13)(1,"span",14),o._uU(2),o.qZA()()),2&q){const $=o.oxw();o.s9C("for",$.toggleID),o.uIk("aria-label",$.labelValue),o.xp6(1),o.uIk("id",$.offTextID),o.xp6(1),o.hij(" ",$.isToggleOff?$.offText:$.onText," ")}}function Lt(q,Me){if(1&q&&o._UZ(0,"i",15),2&q){const $=o.oxw();o.uIk("id",$.rightSpinnerID)}}const xt=function(q,Me,$){return{"switch-on":q,"switch-off":Me,disabled:$}},je=function(q){return{disabled:q}},Ue=function(q,Me){return{"switch-on":q,"switch-off":Me}};function Qe(q,Me){if(1&q){const $=o.EpF();o.TgZ(0,"button",9),o.NdJ("click",(function(){return o.CHM($),o.oxw(2).fireClose()})),o.TgZ(1,"span"),o._uU(2,"×"),o.qZA()()}if(2&q){const $=o.oxw(2);o.Q6J("id",$.closeButtonID)("title",$.closeLabel),o.uIk("aria-label",$.closeLabel),o.xp6(1),o.uIk("aria-hidden",!0)}}function Nt(q,Me){if(1&q){const $=o.EpF();o.TgZ(0,"button",10),o.NdJ("click",(function(){return o.CHM($),o.oxw(2).fireToggleMore()})),o._uU(1),o.qZA()}if(2&q){const $=o.oxw(2);o.Q6J("id",$.moreButtonID),o.xp6(1),o.hij(" ",$.moreLabel," ")}}function vt(q,Me){if(1&q&&(o.TgZ(0,"strong",11),o._uU(1),o.qZA()),2&q){const $=o.oxw(2);o.xp6(1),o.Oqu($.label)}}function nt(q,Me){if(1&q&&(o.TgZ(0,"span",12),o._uU(1),o.qZA()),2&q){const $=o.oxw(2);o.Q6J("id",$.textMessageID),o.xp6(1),o.hij(" ",$.message," ")}}function we(q,Me){if(1&q&&(o.TgZ(0,"li")(1,"span",12),o._uU(2),o.qZA()()),2&q){const $=Me.$implicit,Be=Me.index,At=o.oxw(3);o.xp6(1),o.s9C("id",At.textListID+"_"+Be),o.xp6(1),o.hij(" ",$," ")}}function be(q,Me){if(1&q&&(o.TgZ(0,"ul",13),o.YNc(1,we,3,2,"li",14),o.qZA()),2&q){const $=o.oxw(2);o.xp6(1),o.Q6J("ngForOf",$.alert.list)}}function rt(q,Me){if(1&q&&(o.TgZ(0,"div",1),o.YNc(1,Qe,3,4,"button",2),o.YNc(2,Nt,2,2,"button",3),o._UZ(3,"span"),o.TgZ(4,"div",4),o.YNc(5,vt,2,1,"strong",5),o.TgZ(6,"span",6),o.YNc(7,nt,2,2,"span",7),o.qZA(),o.YNc(8,be,2,1,"ul",8),o.qZA()()),2&q){const $=o.oxw();o.Gre("alert alert-",$.type," ng-hide"),o.Q6J("@openClose",$.animationClass),o.xp6(1),o.Q6J("ngIf",$.showCloseButton),o.xp6(1),o.Q6J("ngIf",$.showMoreButton),o.xp6(1),o.Tol($.icon),o.uIk("aria-hidden",!0),o.xp6(2),o.Q6J("ngIf",$.hasLabel),o.xp6(2),o.Q6J("ngIf",$.message),o.xp6(1),o.Q6J("ngIf",$.alert&&$.alert.list&&$.alert.list.length)}}function Mt(q,Me){if(1&q){const $=o.EpF();o.TgZ(0,"div",6)(1,"cp-alert",7),o.NdJ("close",(function(){const bn=o.CHM($).$implicit;return o.oxw().alertClosed(bn)})),o.qZA()()}if(2&q){const $=Me.$implicit;o.xp6(1),o.Q6J("alert",$)}}function wt(q,Me){if(1&q&&o._UZ(0,"div",8),2&q){const $=o.oxw();o.Q6J("ngClass",$.positionClasses)}}class He{constructor(Me,$,Be=He.defaultOptions){this._message=Me,this._type=$;const At=Be.id?Be.id:Math.random().toString(36).substr(2,9);this._id=At,this._closable=Be.isCloseable??!0,this._autoClosePeriod=Be.autoClosePeriod,this._list=Be.list,this._showMore=Be.showMore||He.defaultShowMore,this._ts=Be.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(Me){const{message:$,type:Be,...At}=Me;return new He($,Be,At)}}He.defaultShowMore=!1,He.defaultAutoClosePeriod=0,He.defaultOptions={autoClosePeriod:He.defaultAutoClosePeriod,list:[]};var Pe=(()=>{return(q=Pe||(Pe={}))[q.error=0]="error",q[q.success=1]="success",q[q.warning=2]="warning",q[q.information=3]="information",Pe;var q})(),F=(()=>{return(q=F||(F={})).add="add",q.remove="remove",q.clear="clear",F;var q})();let X=(()=>{class q{constructor(){this._alertEventsSource=new A.xQ,this._alerts={},this.alertEvents=this._alertEventsSource.asObservable()}add($,Be=q.defaultGroup){this._alerts[Be]||(this._alerts[Be]=[]);const At=$ instanceof He?$:He.makeAlert($);if(this.list(Be).push(At),this._alertEventsSource.next({type:F.add,group:Be,alert:At}),(0,o.X6Q)())switch(At.type){case Pe.error:console.error(At.message,At);break;case Pe.warning:console.warn(At.message,At);break;default:console.log(At.message,At)}return At}success($,Be=q.defaultGroup){return this.add(new He($,Pe.success,q.defaultSuccessOptions),Be)}error($,Be=q.defaultGroup){return this.add({message:$,type:Pe.error},Be)}info($,Be=q.defaultGroup){return this.add({message:$,type:Pe.information},Be)}warn($,Be=q.defaultGroup){return this.add({message:$,type:Pe.warning},Be)}removeById($,Be=q.defaultGroup){const At=this.list(Be),bn=At.findIndex((Ln=>Ln.id===$),0);if(-1!==bn){const Ln=At[bn];At.splice(bn,1),this._alertEventsSource.next({type:F.remove,group:Be,alert:Ln})}}clear($=q.defaultGroup){this._alerts[$]=[],this._alertEventsSource.next({type:F.clear,group:$})}list($=q.defaultGroup){return null==this._alerts[$]&&(this._alerts[$]=[]),this._alerts[$]}}return q.defaultGroup="__DEFAULT__",q.defaultSuccessOptions={autoClosePeriod:1e4},q.ɵfac=function($){return new($||q)},q.ɵprov=o.Yz7({token:q,factory:q.ɵfac,providedIn:"root"}),q})();var ne=(()=>{return(q=ne||(ne={})).inline="inline",q.topLeft="top-left",q.topMiddle="top-middle",q.topRight="top-right",q.bottomLeft="bottom-left",q.bottomMiddle="bottom-middle",q.bottomRight="bottom-right",q.middleLeft="middle-left",q.middleMiddle="middle-middle",q.middleRight="middle-right",ne;var q})();const et=ne.topRight,Je=ne.topLeft;var dn=(()=>{return(q=dn||(dn={})).warnings="warnings",q.danger="danger",q.info="info",q.default="info",dn;var q})();let It=(()=>{class q{constructor(){this.calloutType=dn.default,this.closeable=!1,this.close=new o.vpe}closeClicked(){this.close.emit(null)}ngOnInit(){if(!this.id)throw new Error("id must be defined for `cp-callout`");this.buttonID=`${this.id}_button`,this.headingID=`${this.id}_heading`,this.contentID=`${this.id}_content`}ngAfterViewInit(){0===this.header.nativeElement.children.length&&this.header.nativeElement.classList.add("hidden")}}return q.ɵfac=function($){return new($||q)},q.ɵcmp=o.Xpm({type:q,selectors:[["cp-callout"]],viewQuery:function($,Be){if(1&$&&o.Gf(ye,5),2&$){let At;o.iGM(At=o.CRH())&&(Be.header=At.first)}},inputs:{id:"id",calloutType:"calloutType",closeable:"closeable"},outputs:{close:"close"},ngContentSelectors:Oe,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($,Be){1&$&&(o.F$t(Te),o.TgZ(0,"div",0),o.YNc(1,Ce,2,1,"button",1),o.TgZ(2,"div",2,3),o.Hsn(4),o.qZA(),o.TgZ(5,"div"),o.Hsn(6,1),o.qZA()()),2&$&&(o.Gre("callout callout-",Be.calloutType,""),o.uIk("aria-label",Be.calloutType),o.xp6(1),o.Q6J("ngIf",Be.closeable),o.xp6(1),o.uIk("id",Be.headingID),o.xp6(3),o.uIk("id",Be.contentID))},directives:[p.O5],styles:['.callout[_ngcontent-%COMP%]{border-left-width:3px;border-left-style:solid;border-left-color:#eee;margin:15px 0;padding:15px}.callout-danger[_ngcontent-%COMP%]{background-color:#f2dede;border-left-color:#d03f00}.callout-success[_ngcontent-%COMP%]{background-color:#dff2d5;border-left-color:#83b655}.callout-warning[_ngcontent-%COMP%]{background-color:#fcf8e1;border-left-color:#f6c342}.callout-info[_ngcontent-%COMP%]{background-color:#d7edf9;border-left-color:#179bd7}.callout-heading[_ngcontent-%COMP%]{font-size:16px;margin-bottom:15px;font-family:inherit;font-weight:600;line-height:1.1;color:inherit;text-transform:capitalize}html[dir="rtl"][_nghost-%COMP%] .callout[_ngcontent-%COMP%], html[dir="rtl"] [_nghost-%COMP%] .callout[_ngcontent-%COMP%]{border-left-width:0;border-left-style:none;border-left-color:transparent;border-right-width:3px;border-right-style:solid;border-right-color:#eee}html[dir="rtl"][_nghost-%COMP%] .callout-danger[_ngcontent-%COMP%], html[dir="rtl"] [_nghost-%COMP%] .callout-danger[_ngcontent-%COMP%]{border-left-color:transparent;border-right-color:#d03f00}html[dir="rtl"][_nghost-%COMP%] .callout-success[_ngcontent-%COMP%], html[dir="rtl"] [_nghost-%COMP%] .callout-success[_ngcontent-%COMP%]{border-left-color:transparent;border-right-color:#83b655}html[dir="rtl"][_nghost-%COMP%] .callout-warning[_ngcontent-%COMP%], html[dir="rtl"] [_nghost-%COMP%] .callout-warning[_ngcontent-%COMP%]{border-left-color:transparent;border-right-color:#f6c342}html[dir="rtl"][_nghost-%COMP%] .callout-info[_ngcontent-%COMP%], html[dir="rtl"] [_nghost-%COMP%] .callout-info[_ngcontent-%COMP%]{border-left-color:transparent;border-right-color:#179bd7}']}),q})(),pn=(()=>{class q{}return q.ɵfac=function($){return new($||q)},q.ɵmod=o.oAB({type:q}),q.ɵinj=o.cJS({imports:[[p.ez]]}),q})();var W=(()=>{return(q=W||(W={})).toggleOn="toggleSwitchOn",q.toggleOff="toggleSwitchOff",q.toggleUpdating="toggleSwitchUpdating",W;var q})(),U=(()=>{return(q=U||(U={})).left="left",q.right="right",U;var q})();let ce=(()=>{class q{constructor($){this.locale=$,this.onText="",this.offText="",this.isDisabled=!1,this.toggleStatus=new o.vpe,this._isToggleUpdating=!1,this._hasSpinner=!1}set toggleState($){switch(this._toggleState=$,$){case W.toggleOn:this._isToggleOffStatus=!1,this._isToggleUpdating=!1;break;case W.toggleOff:this._isToggleOffStatus=!0,this._isToggleUpdating=!1;break;case W.toggleUpdating:this._isToggleUpdating=!0,this._hasSpinner=!0}}checkToggle($){this.isDisabled||this._isToggleUpdating||("click"===$.type?this.toggleStatus.emit($):"keyup"===$.type&&((13===$.keyCode||32===$.keyCode)&&this.toggleStatus.emit($),this.isLTR?37!==$.keyCode||this._isToggleOffStatus?39===$.keyCode&&this._isToggleOffStatus&&this.toggleStatus.emit($):this.toggleStatus.emit($):(37===$.keyCode&&this._isToggleOffStatus||39===$.keyCode&&!this._isToggleOffStatus)&&this.toggleStatus.emit($)))}isLabelVisible($){return!(!this.labelPosition||this._isToggleUpdating)&&(!(!this.labelPosition||$!==this.labelPosition)||void 0)}isSpinnerVisible($){return!(!(this.hasSpinner&&this.labelPosition&&this.isToggleUpdating)||this.isDisabled||$!==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 U.left}get rightLabelPosition(){return U.right}get isLTR(){return this.locale.isLtr}}return q.ɵfac=function($){return new($||q)(o.Y36(M.g))},q.ɵcmp=o.Xpm({type:q,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($,Be){1&$&&(o.TgZ(0,"div",0),o.NdJ("click",(function(bn){return Be.checkToggle(bn)}))("keyup",(function(bn){return Be.checkToggle(bn)})),o.YNc(1,Ee,3,4,"label",1),o.YNc(2,fe,1,1,"i",2),o.TgZ(3,"div",3)(4,"div",4),o._UZ(5,"span",5)(6,"span",6)(7,"span",7),o.qZA()(),o.YNc(8,bt,3,4,"label",8),o.YNc(9,Lt,1,1,"i",9),o.qZA()),2&$&&(o.Q6J("ngClass",o.kEZ(10,xt,!Be.isToggleOff,Be.isToggleOff,Be.isDisabled||Be.isToggleUpdating)),o.uIk("id",Be.toggleID)("value",Be.labelValue)("aria-checked",!Be.isToggleOff),o.xp6(1),o.Q6J("ngIf",Be.isLabelVisible(Be.leftLabelPosition)),o.xp6(1),o.Q6J("ngIf",Be.isSpinnerVisible(Be.leftLabelPosition)),o.xp6(1),o.Q6J("ngClass",o.VKq(14,je,Be.isDisabled||Be.isToggleUpdating)),o.xp6(1),o.Q6J("ngClass",o.WLB(16,Ue,!Be.isToggleOff,Be.isToggleOff)),o.xp6(4),o.Q6J("ngIf",Be.isLabelVisible(Be.rightLabelPosition)),o.xp6(1),o.Q6J("ngIf",Be.isSpinnerVisible(Be.rightLabelPosition)))},directives:[p.mk,p.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}']}),q})(),Ve=(()=>{class q{}return q.ɵfac=function($){return new($||q)},q.ɵmod=o.oAB({type:q}),q.ɵinj=o.cJS({imports:[[p.ez,E.m]]}),q})();var lt=(()=>{return(q=lt||(lt={})).new="new",q.closed="closed",q.open="open",lt;var q})();let ie=(()=>{class q{constructor($){this.locale=$,this.close=new o.vpe,this.toggleMore=new o.vpe,this.animationClass=lt.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 Pe.success:this.label=this.locale.maketext("Success:");break;case Pe.error:this.label=this.locale.maketext("Error:");break;case Pe.information:this.label=this.locale.maketext("Information:");break;case Pe.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=lt.open}),.25)}ngAfterViewInit(){this.willAutoClose&&this.startTimer()}get icon(){switch(this.alert.type){case Pe.error:return"type-icon fas fa-times-circle";case Pe.warning:return"type-icon fas fa-exclamation-triangle";case Pe.information:return"type-icon fas fa-info-circle";case Pe.success:return"type-icon fas fa-check-circle"}}get type(){switch(this.alert.type){case Pe.error:return"danger";case Pe.warning:return"warning";case Pe.information:return"info";case Pe.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=lt.closed,setTimeout((()=>{this.close.emit({alert:this.alert,component:this}),this._closed=!0}),250)}fireTimeout(){this.fireClose(),this.clearTimer()}get hasLabel(){const $=this.label;return null!==$&&""!==$}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(...$){return $.join("_")}}return q.ɵfac=function($){return new($||q)(o.Y36(M.g))},q.ɵcmp=o.Xpm({type:q,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($,Be){1&$&&o.YNc(0,rt,9,13,"div",0),2&$&&o.Q6J("ngIf",!Be.isClosed)},directives:[p.O5,p.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,R.X$)("openClose",[(0,R.SB)(lt.new,(0,R.oB)({opacity:0})),(0,R.SB)(lt.open,(0,R.oB)({opacity:1})),(0,R.SB)(lt.closed,(0,R.oB)({opacity:0,transform:"translateX(25%)"})),(0,R.eR)(`${lt.open} => ${lt.closed}`,[(0,R.jt)("0.25s")]),(0,R.eR)(`${lt.new} => ${lt.open}`,[(0,R.jt)("0.25s")]),(0,R.eR)(`${lt.closed} => ${lt.open}`,[(0,R.jt)("0.25s")])])]}}),q})(),Ne=(()=>{class q{}return q.ɵfac=function($){return new($||q)},q.ɵmod=o.oAB({type:q}),q.ɵinj=o.cJS({imports:[[p.ez,I.PW,E.m]]}),q})(),St=(()=>{class q{constructor($){this.locale=$}get position(){return this.locale.isLtr?et:Je}}return q.ɵfac=function($){return new($||q)(o.LFG(M.g))},q.ɵprov=o.Yz7({token:q,factory:q.ɵfac,providedIn:"root"}),q})(),Tt=(()=>{class q{constructor($,Be){this._alertService=$,this._positionService=Be,this.alerts=this.alerts?this.alerts:[]}set position($){this._position=((q,Me=ne.topRight)=>{if(q){const $=(q=>{const Me=Object.keys(ne),Be=Object.values(ne).indexOf(q);return-1!==Be?Me[Be]:(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)})(q);if($)return ne[$]}return Me})($)}get position(){return this._position.toString()}alertClosed($){this._alertService.removeById($.id,this.group)}ngOnInit(){this.group||(this.group=X.defaultGroup),this._position||(this._position=this._positionService.position),this._alertService.list(this.group).forEach((Be=>this._addAlert(Be))),this._groupEvents=this._alertService.alertEvents.pipe((0,S.h)((Be=>Be.group===this.group))),this._eventSubscription=this._groupEvents.subscribe({next:this._onAlertEvent.bind(this),error:console.error})}ngOnDestroy(){this._eventSubscription.unsubscribe()}_findAlertIndexById($){return this.alerts.findIndex((Be=>Be.id===$))}_addAlert($){return this.alerts.push($),this.alerts}_removeAlert($){const Be=this._findAlertIndexById($.id);return Be>-1&&(this.alerts.splice(Be,1),!0)}_clearAlerts(){this.alerts.splice(0,this.alerts.length)}_onAlertEvent($){switch($.type){case F.add:this._addAlert($.alert);break;case F.clear:this._clearAlerts();break;case F.remove:this._removeAlert($.alert)}}get hasAlerts(){return this.alerts.length>0}get positionClasses(){return this.inline?q.positionPrefix+ne.inline.toString():q.positionPrefix+this.position.toString()}}return q.positionPrefix="position-",q.ɵfac=function($){return new($||q)(o.Y36(X),o.Y36(St))},q.ɵcmp=o.Xpm({type:q,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($,Be){1&$&&(o.TgZ(0,"div")(1,"div",0,1)(3,"div",2,3),o.YNc(5,Mt,2,1,"div",4),o.qZA()(),o.YNc(6,wt,1,1,"div",5),o.qZA()),2&$&&(o.xp6(1),o.Q6J("ngClass",Be.positionClasses),o.xp6(4),o.Q6J("ngForOf",Be.alerts),o.xp6(1),o.Q6J("ngIf",Be.hasAlerts))},directives:[ie,p.mk,p.sg,p.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}}"]}),q})(),Zt=(()=>{class q{}return q.ɵfac=function($){return new($||q)},q.ɵmod=o.oAB({type:q}),q.ɵinj=o.cJS({imports:[[p.ez,Ne]]}),q})()},2381:(G,O,u)=>{"use strict";u.d(O,{oj:()=>R});var o=u(5062),p=u(1607),A=u(8200);class E{constructor(P,x,L){this.nodes=P,this.viewRef=x,this.componentRef=L}}class M{constructor(P,x,L,Z,te,ye,Ce,Te){this._viewContainerRef=P,this._renderer=x,this._elementRef=L,this._injector=Z,this._componentFactoryResolver=te,this._ngZone=ye,this._applicationRef=Ce,this._posService=Te,this.onBeforeShow=new o.vpe,this.onShown=new o.vpe,this.onBeforeHide=new o.vpe,this.onHidden=new o.vpe,this._providers=[],this._isHiding=!1,this.containerDefaultSelector="body",this._listenOpts={},this._globalListener=Function.prototype}get isShown(){return!this._isHiding&&!!this._componentRef}attach(P){return this._componentFactory=this._componentFactoryResolver.resolveComponentFactory(P),this}to(P){return this.container=P||this.container,this}position(P){return P?(this.attachment=P.attachment||this.attachment,this._elementRef=P.target||this._elementRef,this):this}provide(P){return this._providers.push(P),this}show(P={}){if(this._subscribePositioning(),this._innerComponent=void 0,!this._componentRef){this.onBeforeShow.emit(),this._contentRef=this._getContentRef(P.content,P.context,P.initialState);const x=o.zs3.create({providers:this._providers,parent:this._injector});if(!this._componentFactory)return;if(this._componentRef=this._componentFactory.create(x,this._contentRef.nodes),this._applicationRef.attachView(this._componentRef.hostView),this.instance=this._componentRef.instance,Object.assign(this._componentRef.instance,P),this.container instanceof o.SBq&&this.container.nativeElement.appendChild(this._componentRef.location.nativeElement),"string"==typeof this.container&&typeof document<"u"){const L=document.querySelector(this.container)||document.querySelector(this.containerDefaultSelector);if(!L)return;L.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(P.id?{id:P.id}:this._componentRef.instance)}return this._registerOutsideClick(),this._componentRef}hide(P){if(!this._componentRef)return this;this._posService.deletePositionElement(this._componentRef.location),this.onBeforeHide.emit(this._componentRef.instance);const x=this._componentRef.location.nativeElement;return x.parentNode?.removeChild(x),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(P?{id:P}:null),this}toggle(){this.isShown?this.hide():this.show()}dispose(){this.isShown&&this.hide(),this._unsubscribePositioning(),this._unregisterListenersFn&&this._unregisterListenersFn()}listen(P){this.triggers=P.triggers||this.triggers,this._listenOpts.outsideClick=P.outsideClick,this._listenOpts.outsideEsc=P.outsideEsc,P.target=P.target||this._elementRef?.nativeElement;const x=this._listenOpts.hide=()=>P.hide?P.hide():void this.hide(),L=this._listenOpts.show=te=>{P.show?P.show(te):this.show(te),te()};return this._renderer&&(this._unregisterListenersFn=(0,p.wo)(this._renderer,{target:P.target,triggers:P.triggers,show:L,hide:x,toggle:te=>{this.isShown?x():L(te)}})),this}_removeGlobalListener(){this._globalListener&&(this._globalListener(),this._globalListener=Function.prototype)}attachInline(P,x){return P&&x&&(this._inlineViewRef=P.createEmbeddedView(x)),this}_registerOutsideClick(){if(this._componentRef&&this._componentRef.location){if(this._listenOpts.outsideClick){const P=this._componentRef.location.nativeElement;setTimeout((()=>{this._renderer&&this._elementRef&&(this._globalListener=(0,p.Rg)(this._renderer,{targets:[P,this._elementRef.nativeElement],outsideClick:this._listenOpts.outsideClick,hide:()=>this._listenOpts.hide&&this._listenOpts.hide()}))}))}this._listenOpts.outsideEsc&&this._renderer&&this._elementRef&&(this._globalListener=(0,p.C)(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(P,x,L){if(!P)return new E([]);if(P instanceof o.Rgc){if(this._viewContainerRef){const ye=this._viewContainerRef.createEmbeddedView(P,x);return ye.markForCheck(),new E([ye.rootNodes],ye)}const te=P.createEmbeddedView({});return this._applicationRef.attachView(te),new E([te.rootNodes],te)}if("function"==typeof P){const te=this._componentFactoryResolver.resolveComponentFactory(P),ye=o.zs3.create({providers:this._providers,parent:this._injector}),Ce=te.create(ye);return Object.assign(Ce.instance,L),this._applicationRef.attachView(Ce.hostView),new E([[Ce.location.nativeElement]],Ce.hostView,Ce)}const Z=this._renderer?[this._renderer.createText(`${P}`)]:[];return new E([Z])}}let R=(()=>{class I{constructor(x,L,Z,te,ye){this._componentFactoryResolver=x,this._ngZone=L,this._injector=Z,this._posService=te,this._applicationRef=ye}createLoader(x,L,Z){return new M(L,Z,x,this._injector,this._componentFactoryResolver,this._ngZone,this._applicationRef,this._posService)}}return I.ɵfac=function(x){return new(x||I)(o.LFG(o._Vd),o.LFG(o.R0b),o.LFG(o.zs3),o.LFG(A.sA),o.LFG(o.z2F))},I.ɵprov=o.Yz7({token:I,factory:I.ɵfac,providedIn:"root"}),I})()},9245:(G,O,u)=>{"use strict";u.d(O,{Hz:()=>Te,Mq:()=>Oe,TO:()=>Ce,mr:()=>Ot});var o=u(5062),p=u(2198),A=u(2381),S=u(1607),E=u(7340),M=u(6895),R=u(8200);const I=function(me){return{dropdown:me}},P=["*"];let x=(()=>{class me{constructor(){this.autoClose=!0,this.insideClick=!1,this.isAnimated=!1,this.stopOnClickPropagation=!1}}return me.ɵfac=function(Ee){return new(Ee||me)},me.ɵprov=o.Yz7({token:me,factory:me.ɵfac,providedIn:"root"}),me})(),L=(()=>{class me{constructor(){this.direction="down",this.autoClose=!0,this.insideClick=!1,this.isAnimated=!1,this.stopOnClickPropagation=!1,this.isOpenChange=new o.vpe,this.isDisabledChange=new o.vpe,this.toggleClick=new o.vpe,this.counts=0,this.dropdownMenu=new Promise((Ee=>{this.resolveDropdownMenu=Ee}))}}return me.ɵfac=function(Ee){return new(Ee||me)},me.ɵprov=o.Yz7({token:me,factory:me.ɵfac,providedIn:"platform"}),me})();const te=[(0,E.oB)({height:0,overflow:"hidden"}),(0,E.jt)("220ms cubic-bezier(0, 0, 0.2, 1)",(0,E.oB)({height:"*",overflow:"hidden"}))];let ye=(()=>{class me{constructor(Ee,fe,bt,Lt,xt){this._state=Ee,this.cd=fe,this._renderer=bt,this._element=Lt,this.isOpen=!1,this._factoryDropDownAnimation=xt.build(te),this._subscription=Ee.isOpenChange.subscribe((je=>{this.isOpen=je;const Ue=this._element.nativeElement.querySelector(".dropdown-menu");this._renderer.addClass(this._element.nativeElement.querySelector("div"),"open"),Ue&&!(0,S.XA)()&&(this._renderer.addClass(Ue,"show"),(Ue.classList.contains("dropdown-menu-right")||Ue.classList.contains("dropdown-menu-end"))&&(this._renderer.setStyle(Ue,"left","auto"),this._renderer.setStyle(Ue,"right","0")),"up"===this.direction&&(this._renderer.setStyle(Ue,"top","auto"),this._renderer.setStyle(Ue,"transform","translateY(-101%)"))),Ue&&this._state.isAnimated&&this._factoryDropDownAnimation.create(Ue).play(),this.cd.markForCheck(),this.cd.detectChanges()}))}get direction(){return this._state.direction}_contains(Ee){return this._element.nativeElement.contains(Ee)}ngOnDestroy(){this._subscription.unsubscribe()}}return me.ɵfac=function(Ee){return new(Ee||me)(o.Y36(L),o.Y36(o.sBO),o.Y36(o.Qsj),o.Y36(o.SBq),o.Y36(E._j))},me.ɵcmp=o.Xpm({type:me,selectors:[["bs-dropdown-container"]],hostAttrs:[2,"display","block","position","absolute","z-index","1040"],ngContentSelectors:P,decls:2,vars:9,consts:[[3,"ngClass"]],template:function(Ee,fe){1&Ee&&(o.F$t(),o.TgZ(0,"div",0),o.Hsn(1),o.qZA()),2&Ee&&(o.ekj("dropup","up"===fe.direction)("show",fe.isOpen)("open",fe.isOpen),o.Q6J("ngClass",o.VKq(7,I,"down"===fe.direction)))},directives:[M.mk],encapsulation:2,changeDetection:0}),me})(),Ce=(()=>{class me{constructor(Ee,fe,bt,Lt,xt,je,Ue){this._elementRef=Ee,this._renderer=fe,this._viewContainerRef=bt,this._cis=Lt,this._state=xt,this._config=je,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=Ue.build(te),this._dropdown=this._cis.createLoader(this._elementRef,this._viewContainerRef,this._renderer).provide({provide:L,useValue:this._state}),this.onShown=this._dropdown.onShown,this.onHidden=this._dropdown.onHidden,this.isOpenChange=this._state.isOpenChange}set autoClose(Ee){this._state.autoClose=Ee}get autoClose(){return this._state.autoClose}set isAnimated(Ee){this._state.isAnimated=Ee}get isAnimated(){return this._state.isAnimated}set insideClick(Ee){this._state.insideClick=Ee}get insideClick(){return this._state.insideClick}set isDisabled(Ee){this._isDisabled=Ee,this._state.isDisabledChange.emit(Ee),Ee&&this.hide()}get isDisabled(){return this._isDisabled}get isOpen(){return this._showInline?this._isInlineOpen:this._dropdown.isShown}set isOpen(Ee){Ee?this.show():this.hide()}get isBs4(){return!(0,S.XA)()}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((Ee=>this.toggle(Ee)))),this._subscriptions.push(this._state.isDisabledChange.pipe((0,p.h)((Ee=>Ee))).subscribe((()=>this.hide()))))}show(){if(!this.isOpen&&!this.isDisabled){if(this._showInline)return this._inlinedMenu||this._state.dropdownMenu.then((Ee=>{this._dropdown.attachInline(Ee.viewContainer,Ee.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((Ee=>{const fe=this.dropup||typeof this.dropup<"u"&&this.dropup;this._state.direction=fe?"up":"down";const bt=this.placement||(fe?"top start":"bottom start");this._dropdown.attach(ye).to(this.container).position({attachment:bt}).show({content:Ee.templateRef,placement:bt}),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(Ee){return this.isOpen||!Ee?this.hide():this.show()}_contains(Ee){return this._elementRef.nativeElement.contains(Ee.target)||this._dropdown.instance&&this._dropdown.instance._contains(Ee.target)}navigationClick(Ee){const fe=this._elementRef.nativeElement.querySelector(".dropdown-menu");if(!fe)return;const bt=this._elementRef.nativeElement.ownerDocument.activeElement,Lt=fe.querySelectorAll(".dropdown-item");switch(Ee.keyCode){case 38:this._state.counts>0&&Lt[--this._state.counts].focus();break;case 40:this._state.counts+1<Lt.length&&(bt.classList!==Lt[this._state.counts].classList?Lt[this._state.counts].focus():Lt[++this._state.counts].focus())}Ee.preventDefault()}ngOnDestroy(){for(const Ee of this._subscriptions)Ee.unsubscribe();this._dropdown.dispose()}addBs4Polyfills(){(0,S.XA)()||(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 Ee=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",Ee?"auto":"0"),this._renderer.setStyle(this._inlinedMenu.rootNodes[0],"right",Ee?"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 me.ɵfac=function(Ee){return new(Ee||me)(o.Y36(o.SBq),o.Y36(o.Qsj),o.Y36(o.s_b),o.Y36(A.oj),o.Y36(L),o.Y36(x),o.Y36(E._j))},me.ɵdir=o.lG2({type:me,selectors:[["","bsDropdown",""],["","dropdown",""]],hostVars:6,hostBindings:function(Ee,fe){1&Ee&&o.NdJ("keydown.arrowDown",(function(Lt){return fe.navigationClick(Lt)}))("keydown.arrowUp",(function(Lt){return fe.navigationClick(Lt)})),2&Ee&&o.ekj("dropup",fe.dropup)("open",fe.isOpen)("show",fe.isOpen&&fe.isBs4)},inputs:{placement:"placement",triggers:"triggers",container:"container",dropup:"dropup",autoClose:"autoClose",isAnimated:"isAnimated",insideClick:"insideClick",isDisabled:"isDisabled",isOpen:"isOpen"},outputs:{isOpenChange:"isOpenChange",onShown:"onShown",onHidden:"onHidden"},exportAs:["bs-dropdown"],features:[o._Bn([L])]}),me})(),Te=(()=>{class me{constructor(Ee,fe,bt){Ee.resolveDropdownMenu({templateRef:bt,viewContainer:fe})}}return me.ɵfac=function(Ee){return new(Ee||me)(o.Y36(L),o.Y36(o.s_b),o.Y36(o.Rgc))},me.ɵdir=o.lG2({type:me,selectors:[["","bsDropdownMenu",""],["","dropdownMenu",""]],exportAs:["bs-dropdown-menu"]}),me})(),Oe=(()=>{class me{constructor(Ee,fe,bt,Lt,xt){this._changeDetectorRef=Ee,this._dropdown=fe,this._element=bt,this._renderer=Lt,this._state=xt,this.isOpen=!1,this._subscriptions=[],this._subscriptions.push(this._state.isOpenChange.subscribe((je=>{this.isOpen=je,je?(this._documentClickListener=this._renderer.listen("document","click",(Ue=>{this._state.autoClose&&2!==Ue.button&&!this._element.nativeElement.contains(Ue.target)&&(!this._state.insideClick||!this._dropdown._contains(Ue))&&(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((je=>this.isDisabled=je||void 0)))}onClick(Ee){this._state.stopOnClickPropagation&&Ee.stopPropagation(),!this.isDisabled&&this._state.toggleClick.emit(!0)}ngOnDestroy(){this._documentClickListener&&this._documentClickListener(),this._escKeyUpListener&&this._escKeyUpListener();for(const Ee of this._subscriptions)Ee.unsubscribe()}}return me.ɵfac=function(Ee){return new(Ee||me)(o.Y36(o.sBO),o.Y36(Ce),o.Y36(o.SBq),o.Y36(o.Qsj),o.Y36(L))},me.ɵdir=o.lG2({type:me,selectors:[["","bsDropdownToggle",""],["","dropdownToggle",""]],hostVars:3,hostBindings:function(Ee,fe){1&Ee&&o.NdJ("click",(function(Lt){return fe.onClick(Lt)})),2&Ee&&o.uIk("aria-haspopup",!0)("disabled",fe.isDisabled)("aria-expanded",fe.isOpen)},exportAs:["bs-dropdown-toggle"]}),me})(),Ot=(()=>{class me{static forRoot(){return{ngModule:me,providers:[A.oj,R.sA,L]}}}return me.ɵfac=function(Ee){return new(Ee||me)},me.ɵmod=o.oAB({type:me}),me.ɵinj=o.cJS({imports:[[M.ez]]}),me})()},388:(G,O,u)=>{"use strict";u.d(O,{tT:()=>ht,zk:()=>fn});var o=u(5062),p=u(1607),A=u(6895),S=u(2986);let M,E=(()=>{class Le{constructor(){this._focusTrapStack=[]}register(_e){this._focusTrapStack=this._focusTrapStack.filter((dt=>dt!==_e));let We=this._focusTrapStack;We.length&&We[We.length-1]._disable(),We.push(_e),_e._enable()}deregister(_e){_e._disable();const We=this._focusTrapStack,dt=We.indexOf(_e);-1!==dt&&(We.splice(dt,1),We.length&&We[We.length-1]._enable())}}return Le.ɵfac=function(_e){return new(_e||Le)},Le.ɵprov=o.Yz7({token:Le,factory:Le.ɵfac,providedIn:"root"}),Le})();try{M=typeof Intl<"u"&&Intl.v8BreakIterator}catch{M=!1}let R=(()=>{class Le{constructor(_e){this._platformId=_e,this.isBrowser=this._platformId?(0,A.NF)(this._platformId):"object"==typeof document&&!!document,this.EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent),this.TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent),this.BLINK=this.isBrowser&&!(!window.chrome&&!M)&&typeof CSS<"u"&&!this.EDGE&&!this.TRIDENT,this.WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT,this.IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window),this.FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent),this.ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT,this.SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT}}return Le.ɵfac=function(_e){return new(_e||Le)(o.LFG(o.Lbi))},Le.ɵprov=o.Yz7({token:Le,factory:Le.ɵfac,providedIn:"root"}),Le})(),P=(()=>{class Le{constructor(_e){this._platform=_e}isDisabled(_e){return _e.hasAttribute("disabled")}isVisible(_e){return function L(Le){return!!(Le.offsetWidth||Le.offsetHeight||"function"==typeof Le.getClientRects&&Le.getClientRects().length)}(_e)&&"visible"===getComputedStyle(_e).visibility}isTabbable(_e){if(!this._platform.isBrowser)return!1;const We=function x(Le){try{return Le.frameElement}catch{return null}}(function Ee(Le){return Le.ownerDocument&&Le.ownerDocument.defaultView||window}(_e));if(We&&(-1===Ot(We)||!this.isVisible(We)))return!1;let dt=_e.nodeName.toLowerCase(),qt=Ot(_e);return _e.hasAttribute("contenteditable")?-1!==qt:!("iframe"===dt||"object"===dt||this._platform.WEBKIT&&this._platform.IOS&&!function me(Le){let Se=Le.nodeName.toLowerCase(),_e="input"===Se&&Le.type;return"text"===_e||"password"===_e||"select"===Se||"textarea"===Se}(_e))&&("audio"===dt?!!_e.hasAttribute("controls")&&-1!==qt:"video"===dt?-1!==qt&&(null!==qt||this._platform.FIREFOX||_e.hasAttribute("controls")):_e.tabIndex>=0)}isFocusable(_e,We){return function ze(Le){return!function te(Le){return function Ce(Le){return"input"==Le.nodeName.toLowerCase()}(Le)&&"hidden"==Le.type}(Le)&&(function Z(Le){let Se=Le.nodeName.toLowerCase();return"input"===Se||"select"===Se||"button"===Se||"textarea"===Se}(Le)||function ye(Le){return function Te(Le){return"a"==Le.nodeName.toLowerCase()}(Le)&&Le.hasAttribute("href")}(Le)||Le.hasAttribute("contenteditable")||Oe(Le))}(_e)&&!this.isDisabled(_e)&&(We?.ignoreVisibility||this.isVisible(_e))}}return Le.ɵfac=function(_e){return new(_e||Le)(o.LFG(R))},Le.ɵprov=o.Yz7({token:Le,factory:Le.ɵfac,providedIn:"root"}),Le})();function Oe(Le){if(!Le.hasAttribute("tabindex")||void 0===Le.tabIndex)return!1;let Se=Le.getAttribute("tabindex");return"-32768"!=Se&&!(!Se||isNaN(parseInt(Se,10)))}function Ot(Le){if(!Oe(Le))return null;const Se=parseInt(Le.getAttribute("tabindex")||"",10);return isNaN(Se)?-1:Se}function fe(Le){return null!=Le&&"false"!=`${Le}`}class bt{constructor(Se,_e,We,dt,qt=!1){this._element=Se,this._checker=_e,this._ngZone=We,this._document=dt,this._hasAttached=!1,this.startAnchorListener=()=>this.focusLastTabbableElement(),this.endAnchorListener=()=>this.focusFirstTabbableElement(),this._enabled=!0,qt||this.attachAnchors()}get enabled(){return this._enabled}set enabled(Se){this._enabled=Se,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(Se,this._startAnchor),this._toggleAnchorTabIndex(Se,this._endAnchor))}destroy(){const Se=this._startAnchor,_e=this._endAnchor;Se&&(Se.removeEventListener("focus",this.startAnchorListener),Se.parentNode&&Se.parentNode.removeChild(Se)),_e&&(_e.removeEventListener("focus",this.endAnchorListener),_e.parentNode&&_e.parentNode.removeChild(_e)),this._startAnchor=this._endAnchor=null,this._hasAttached=!1}attachAnchors(){return!!this._hasAttached||(this._ngZone.runOutsideAngular((()=>{this._startAnchor||(this._startAnchor=this._createAnchor(),this._startAnchor.addEventListener("focus",this.startAnchorListener)),this._endAnchor||(this._endAnchor=this._createAnchor(),this._endAnchor.addEventListener("focus",this.endAnchorListener))})),this._element.parentNode&&(this._element.parentNode.insertBefore(this._startAnchor,this._element),this._element.parentNode.insertBefore(this._endAnchor,this._element.nextSibling),this._hasAttached=!0),this._hasAttached)}focusInitialElementWhenReady(){return new Promise((Se=>{this._executeOnStable((()=>Se(this.focusInitialElement())))}))}focusFirstTabbableElementWhenReady(){return new Promise((Se=>{this._executeOnStable((()=>Se(this.focusFirstTabbableElement())))}))}focusLastTabbableElementWhenReady(){return new Promise((Se=>{this._executeOnStable((()=>Se(this.focusLastTabbableElement())))}))}_getRegionBoundary(Se){let _e=this._element.querySelectorAll(`[cdk-focus-region-${Se}], [cdkFocusRegion${Se}], [cdk-focus-${Se}]`);for(let We=0;We<_e.length;We++)_e[We].hasAttribute(`cdk-focus-${Se}`)?console.warn(`Found use of deprecated attribute 'cdk-focus-${Se}', use 'cdkFocusRegion${Se}' instead. The deprecated attribute will be removed in 8.0.0.`,_e[We]):_e[We].hasAttribute(`cdk-focus-region-${Se}`)&&console.warn(`Found use of deprecated attribute 'cdk-focus-region-${Se}', use 'cdkFocusRegion${Se}' instead. The deprecated attribute will be removed in 8.0.0.`,_e[We]);return"start"==Se?_e.length?_e[0]:this._getFirstTabbableElement(this._element):_e.length?_e[_e.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(){const Se=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(Se){if(Se.hasAttribute("cdk-focus-initial")&&console.warn("Found use of deprecated attribute 'cdk-focus-initial', use 'cdkFocusInitial' instead. The deprecated attribute will be removed in 8.0.0",Se),!this._checker.isFocusable(Se)){const _e=this._getFirstTabbableElement(Se);return _e?.focus(),!!_e}return Se.focus(),!0}return this.focusFirstTabbableElement()}focusFirstTabbableElement(){const Se=this._getRegionBoundary("start");return Se&&Se.focus(),!!Se}focusLastTabbableElement(){const Se=this._getRegionBoundary("end");return Se&&Se.focus(),!!Se}hasAttached(){return this._hasAttached}_getFirstTabbableElement(Se){if(this._checker.isFocusable(Se)&&this._checker.isTabbable(Se))return Se;let _e=Se.children||Se.childNodes;for(let We=0;We<_e.length;We++){let dt=_e[We].nodeType===this._document.ELEMENT_NODE?this._getFirstTabbableElement(_e[We]):null;if(dt)return dt}return null}_getLastTabbableElement(Se){if(this._checker.isFocusable(Se)&&this._checker.isTabbable(Se))return Se;let _e=Se.children||Se.childNodes;for(let We=_e.length-1;We>=0;We--){let dt=_e[We].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(_e[We]):null;if(dt)return dt}return null}_createAnchor(){const Se=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,Se),Se.classList.add("cdk-visually-hidden"),Se.classList.add("cdk-focus-trap-anchor"),Se.setAttribute("aria-hidden","true"),Se}_toggleAnchorTabIndex(Se,_e){Se?_e.setAttribute("tabindex","0"):_e.removeAttribute("tabindex")}toggleAnchors(Se){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(Se,this._startAnchor),this._toggleAnchorTabIndex(Se,this._endAnchor))}_executeOnStable(Se){this._ngZone.isStable?Se():this._ngZone.onStable.pipe((0,S.q)(1)).subscribe(Se)}}let Lt=(()=>{class Le{constructor(_e,We,dt){this._checker=_e,this._ngZone=We,this._document=dt}create(_e,We=!1){return new bt(_e,this._checker,this._ngZone,this._document,We)}}return Le.ɵfac=function(_e){return new(_e||Le)(o.LFG(P),o.LFG(o.R0b),o.LFG(A.K0))},Le.ɵprov=o.Yz7({token:Le,factory:Le.ɵfac,providedIn:"root"}),Le})(),xt=(()=>{class Le{constructor(_e,We,dt){this._elementRef=_e,this._focusTrapFactory=We,this._previouslyFocusedElement=null,this._autoCapture=!1,this._document=dt,this.focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement,!0)}get enabled(){return this.focusTrap.enabled}set enabled(_e){this.focusTrap.enabled=fe(_e)}get autoCapture(){return this._autoCapture}set autoCapture(_e){this._autoCapture=fe(_e)}ngOnDestroy(){this.focusTrap.destroy(),this._previouslyFocusedElement&&(this._previouslyFocusedElement.focus(),this._previouslyFocusedElement=null)}ngAfterContentInit(){this.focusTrap.attachAnchors(),this.autoCapture&&this._captureFocus()}ngDoCheck(){this.focusTrap.hasAttached()||this.focusTrap.attachAnchors()}ngOnChanges(_e){const We=_e.autoCapture;We&&!We.firstChange&&this.autoCapture&&this.focusTrap.hasAttached()&&this._captureFocus()}_captureFocus(){this._previouslyFocusedElement=this._document.activeElement,this.focusTrap.focusInitialElementWhenReady()}}return Le.ɵfac=function(_e){return new(_e||Le)(o.Y36(o.SBq),o.Y36(Lt),o.Y36(A.K0))},Le.ɵdir=o.lG2({type:Le,selectors:[["","focusTrap",""]],inputs:{enabled:["cdkTrapFocus","enabled"],autoCapture:["cdkTrapFocusAutoCapture","autoCapture"]},exportAs:["focusTrap"],features:[o.TTD]}),Le})(),je=(()=>{class Le{static forRoot(){return{ngModule:Le,providers:[E,R,P]}}}return Le.ɵfac=function(_e){return new(_e||Le)},Le.ɵmod=o.oAB({type:Le}),Le.ɵinj=o.cJS({imports:[[A.ez]]}),Le})();var Ue=u(2381),Qe=u(8200);const Nt=["*"];let vt=(()=>{class Le{constructor(){this.hide=()=>{},this.setClass=()=>{}}}return Le.ɵfac=function(_e){return new(_e||Le)},Le.ɵprov=o.Yz7({token:Le,factory:Le.ɵfac,providedIn:"platform"}),Le})(),we=(()=>{class Le{}return Le.ɵfac=function(_e){return new(_e||Le)},Le.ɵprov=o.Yz7({token:Le,factory:Le.ɵfac,providedIn:"platform"}),Le})();const be={backdrop:!0,keyboard:!0,focus:!0,show:!1,ignoreBackdropClick:!1,class:"",animated:!0,initialState:{},closeInterceptor:void 0},rt=new o.OlP("override-default-config");let ct=(()=>{class Le{constructor(_e,We,dt){this._element=We,this._renderer=dt,this.isShown=!1,this.isAnimated=!1,this.isModalHiding=!1,this.clickStartedInContent=!1,this.config=Object.assign({},_e)}ngOnInit(){this.isAnimated&&this._renderer.addClass(this._element.nativeElement,"fade"),this._renderer.setStyle(this._element.nativeElement,"display","block"),setTimeout((()=>{this.isShown=!0,this._renderer.addClass(this._element.nativeElement,(0,p.XA)()?"in":"show")}),this.isAnimated?150:0),document&&document.body&&(this.bsModalService&&1===this.bsModalService.getModalsCount()&&(this.bsModalService.checkScrollbar(),this.bsModalService.setScrollbar()),this._renderer.addClass(document.body,"modal-open"),this._renderer.setStyle(document.body,"overflow-y","hidden")),this._element.nativeElement&&this._element.nativeElement.focus()}onClickStarted(_e){this.clickStartedInContent=_e.target!==this._element.nativeElement}onClickStop(_e){this.config.ignoreBackdropClick||"static"===this.config.backdrop||_e.target!==this._element.nativeElement||this.clickStartedInContent?this.clickStartedInContent=!1:(this.bsModalService?.setDismissReason("backdrop-click"),this.hide())}onPopState(){this.bsModalService?.setDismissReason("browser-back-navigation-clicked"),this.hide()}onEsc(_e){!this.isShown||((27===_e.keyCode||"Escape"===_e.key)&&_e.preventDefault(),this.config.keyboard&&this.level===this.bsModalService?.getModalsCount()&&(this.bsModalService?.setDismissReason("esc"),this.hide()))}ngOnDestroy(){this.isShown&&this._hide()}hide(){if(!this.isModalHiding&&this.isShown){if(this.config.closeInterceptor)return void this.config.closeInterceptor().then((()=>this._hide()),(()=>{}));this._hide()}}_hide(){this.isModalHiding=!0,this._renderer.removeClass(this._element.nativeElement,(0,p.XA)()?"in":"show"),setTimeout((()=>{this.isShown=!1,document&&document.body&&1===this.bsModalService?.getModalsCount()&&(this._renderer.removeClass(document.body,"modal-open"),this._renderer.setStyle(document.body,"overflow-y","")),this.bsModalService?.hide(this.config.id),this.isModalHiding=!1}),this.isAnimated?300:0)}}return Le.ɵfac=function(_e){return new(_e||Le)(o.Y36(we),o.Y36(o.SBq),o.Y36(o.Qsj))},Le.ɵcmp=o.Xpm({type:Le,selectors:[["modal-container"]],hostAttrs:["role","dialog","tabindex","-1",1,"modal"],hostVars:3,hostBindings:function(_e,We){1&_e&&o.NdJ("mousedown",(function(qt){return We.onClickStarted(qt)}))("click",(function(qt){return We.onClickStop(qt)}))("popstate",(function(){return We.onPopState()}),!1,o.Jf7)("keydown.esc",(function(qt){return We.onEsc(qt)}),!1,o.Jf7),2&_e&&o.uIk("aria-modal",!0)("aria-labelledby",We.config.ariaLabelledBy)("aria-describedby",We.config.ariaDescribedby)},ngContentSelectors:Nt,decls:3,vars:2,consts:[["role","document","focusTrap",""],[1,"modal-content"]],template:function(_e,We){1&_e&&(o.F$t(),o.TgZ(0,"div",0)(1,"div",1),o.Hsn(2),o.qZA()()),2&_e&&o.Tol("modal-dialog"+(We.config.class?" "+We.config.class:""))},directives:[xt],encapsulation:2}),Le})(),De=(()=>{class Le{constructor(_e,We){this._isAnimated=!1,this._isShown=!1,this.element=_e,this.renderer=We}get isAnimated(){return this._isAnimated}set isAnimated(_e){this._isAnimated=_e}get isShown(){return this._isShown}set isShown(_e){this._isShown=_e,_e?this.renderer.addClass(this.element.nativeElement,"in"):this.renderer.removeClass(this.element.nativeElement,"in"),(0,p.XA)()||(_e?this.renderer.addClass(this.element.nativeElement,"show"):this.renderer.removeClass(this.element.nativeElement,"show"))}ngOnInit(){this.isAnimated&&(this.renderer.addClass(this.element.nativeElement,"fade"),p.cQ.reflow(this.element.nativeElement)),this.isShown=!0}}return Le.ɵfac=function(_e){return new(_e||Le)(o.Y36(o.SBq),o.Y36(o.Qsj))},Le.ɵcmp=o.Xpm({type:Le,selectors:[["bs-modal-backdrop"]],hostAttrs:[1,"modal-backdrop"],decls:0,vars:0,template:function(_e,We){},encapsulation:2}),Le})(),Ye=1,ht=(()=>{class Le{constructor(_e,We,dt){this.clf=We,this.modalDefaultOption=dt,this.onShow=new o.vpe,this.onShown=new o.vpe,this.onHide=new o.vpe,this.onHidden=new o.vpe,this.isBodyOverflowing=!1,this.originalBodyPadding=0,this.scrollbarWidth=0,this.modalsCount=0,this.loaders=[],this._backdropLoader=this.clf.createLoader(),this._renderer=_e.createRenderer(null,null),this.config=dt?Object.assign({},be,dt):be}show(_e,We){this.modalsCount++,this._createLoaders();const dt=We?.id||Ye++;return this.config=this.modalDefaultOption?Object.assign({},be,this.modalDefaultOption,We):Object.assign({},be,We),this.config.id=dt,this._showBackdrop(),this.lastDismissReason=void 0,this._showModal(_e)}hide(_e){(1===this.modalsCount||null==_e)&&(this._hideBackdrop(),this.resetScrollbar()),this.modalsCount=this.modalsCount>=1&&null!=_e?this.modalsCount-1:0,setTimeout((()=>{this._hideModal(_e),this.removeLoaders(_e)}),this.config.animated?150:0)}_showBackdrop(){const _e=!0===this.config.backdrop||"static"===this.config.backdrop,We=!this.backdropRef||!this.backdropRef.instance.isShown;1===this.modalsCount&&(this.removeBackdrop(),_e&&We&&(this._backdropLoader.attach(De).to("body").show({isAnimated:this.config.animated}),this.backdropRef=this._backdropLoader._componentRef))}_hideBackdrop(){this.backdropRef&&(this.backdropRef.instance.isShown=!1,setTimeout((()=>this.removeBackdrop()),this.config.animated?150:0))}_showModal(_e){const We=this.loaders[this.loaders.length-1];if(this.config&&this.config.providers)for(const Bn of this.config.providers)We.provide(Bn);const dt=new vt,qt=We.provide({provide:we,useValue:this.config}).provide({provide:vt,useValue:dt}).attach(ct).to("body");return dt.hide=()=>qt.instance?.hide(),dt.setClass=Bn=>{qt.instance&&(qt.instance.config.class=Bn)},dt.onHidden=new o.vpe,dt.onHide=new o.vpe,this.copyEvent(We.onBeforeHide,dt.onHide),this.copyEvent(We.onHidden,dt.onHidden),qt.show({content:_e,isAnimated:this.config.animated,initialState:this.config.initialState,bsModalService:this,id:this.config.id}),qt.instance&&(qt.instance.level=this.getModalsCount(),dt.content=We.getInnerComponent(),dt.id=qt.instance.config?.id),dt}_hideModal(_e){if(null!=_e){const We=this.loaders.findIndex((qt=>qt.instance?.config.id===_e)),dt=this.loaders[We];dt&&dt.hide(_e)}else this.loaders.forEach((We=>{We.instance&&We.hide(We.instance.config.id)}))}getModalsCount(){return this.modalsCount}setDismissReason(_e){this.lastDismissReason=_e}removeBackdrop(){this._renderer.removeClass(document.body,"modal-open"),this._renderer.setStyle(document.body,"overflow-y",""),this._backdropLoader.hide(),this.backdropRef=void 0}checkScrollbar(){this.isBodyOverflowing=document.body.clientWidth<window.innerWidth,this.scrollbarWidth=this.getScrollbarWidth()}setScrollbar(){!document||(this.originalBodyPadding=parseInt(window.getComputedStyle(document.body).getPropertyValue("padding-right")||"0",10),this.isBodyOverflowing&&(document.body.style.paddingRight=`${this.originalBodyPadding+this.scrollbarWidth}px`))}resetScrollbar(){document.body.style.paddingRight=`${this.originalBodyPadding}px`}getScrollbarWidth(){const _e=this._renderer.createElement("div");this._renderer.addClass(_e,"modal-scrollbar-measure"),this._renderer.appendChild(document.body,_e);const We=_e.offsetWidth-_e.clientWidth;return this._renderer.removeChild(document.body,_e),We}_createLoaders(){const _e=this.clf.createLoader();this.copyEvent(_e.onBeforeShow,this.onShow),this.copyEvent(_e.onShown,this.onShown),this.copyEvent(_e.onBeforeHide,this.onHide),this.copyEvent(_e.onHidden,this.onHidden),this.loaders.push(_e)}removeLoaders(_e){if(null!=_e){const We=this.loaders.findIndex((dt=>dt.instance?.config.id===_e));We>=0&&(this.loaders.splice(We,1),this.loaders.forEach(((dt,qt)=>{dt.instance&&(dt.instance.level=qt+1)})))}else this.loaders.splice(0,this.loaders.length)}copyEvent(_e,We){_e.subscribe((dt=>{We.emit(this.lastDismissReason||dt)}))}}return Le.ɵfac=function(_e){return new(_e||Le)(o.LFG(o.FYo),o.LFG(Ue.oj),o.LFG(rt,8))},Le.ɵprov=o.Yz7({token:Le,factory:Le.ɵfac,providedIn:"platform"}),Le})();je.forRoot();let fn=(()=>{class Le{static forRoot(){return{ngModule:Le,providers:[ht,Ue.oj,Qe.sA]}}static forChild(){return{ngModule:Le,providers:[ht,Ue.oj,Qe.sA]}}}return Le.ɵfac=function(_e){return new(_e||Le)},Le.ɵmod=o.oAB({type:Le}),Le.ɵinj=o.cJS({imports:[[je]]}),Le})()},8200:(G,O,u)=>{"use strict";u.d(O,{Bz:()=>Ce,sA:()=>He});var o=u(1607),p=u(5062),A=u(6895),S=u(6686),M=u(2268);const I=new class R extends M.v{flush(X){this.active=!0,this.scheduled=void 0;const{actions:ae}=this;let ne,Ie=-1,et=ae.length;X=X||ae.shift();do{if(ne=X.execute(X.state,X.delay))break}while(++Ie<et&&(X=ae.shift()));if(this.active=!1,ne){for(;++Ie<et&&(X=ae.shift());)X.unsubscribe();throw ne}}}(class E extends S.o{constructor(X,ae){super(X,ae),this.scheduler=X,this.work=ae}requestAsyncId(X,ae,ne=0){return null!==ne&&ne>0?super.requestAsyncId(X,ae,ne):(X.actions.push(this),X.scheduled||(X.scheduled=requestAnimationFrame((()=>X.flush(null)))))}recycleAsyncId(X,ae,ne=0){if(null!==ne&&ne>0||null===ne&&this.delay>0)return super.recycleAsyncId(X,ae,ne);0===X.actions.length&&(cancelAnimationFrame(ae),X.scheduled=void 0)}});var x=u(8929),L=u(6787),Z=u(3753),te=u(1086),ye=(()=>{return(F=ye||(ye={})).top="top",F.bottom="bottom",F.left="left",F.right="right",F.auto="auto",F.end="right",F.start="left",F["top left"]="top left",F["top right"]="top right",F["right top"]="right top",F["right bottom"]="right bottom",F["bottom right"]="bottom right",F["bottom left"]="bottom left",F["left bottom"]="left bottom",F["left top"]="left top",F["top start"]="top left",F["top end"]="top right",F["end top"]="right top",F["end bottom"]="right bottom",F["bottom end"]="bottom right",F["bottom start"]="bottom left",F["start bottom"]="start bottom",F["start top"]="left top",ye;var F})(),Ce=(()=>{return(F=Ce||(Ce={})).top="top",F.bottom="bottom",F.left="start",F.right="end",F.auto="auto",F.end="end",F.start="start",F["top left"]="top start",F["top right"]="top end",F["right top"]="end top",F["right bottom"]="end bottom",F["bottom right"]="bottom end",F["bottom left"]="bottom start",F["left bottom"]="start bottom",F["left top"]="start top",F["top start"]="top start",F["top end"]="top end",F["end top"]="end top",F["end bottom"]="end bottom",F["bottom end"]="bottom end",F["bottom start"]="bottom start",F["start bottom"]="start bottom",F["start top"]="start top",Ce;var F})();function Te(F,X){if(1!==F.nodeType)return[];const ne=F.ownerDocument.defaultView?.getComputedStyle(F,null);return X?ne&&ne[X]:ne}function Oe(F){if(!F)return document.documentElement;let ne,ae=F?.offsetParent;for(;null===ae&&F.nextElementSibling&&ne!==F.nextElementSibling;)ne=F.nextElementSibling,ae=ne.offsetParent;const Ie=ae&&ae.nodeName;return Ie&&"BODY"!==Ie&&"HTML"!==Ie?ae&&-1!==["TH","TD","TABLE"].indexOf(ae.nodeName)&&"static"===Te(ae,"position")?Oe(ae):ae:ne?ne.ownerDocument.documentElement:document.documentElement}function me(F){return null!==F.parentNode?me(F.parentNode):F}function ze(F,X){if(!(F&&F.nodeType&&X&&X.nodeType))return document.documentElement;const ae=F.compareDocumentPosition(X)&Node.DOCUMENT_POSITION_FOLLOWING,ne=ae?F:X,Ie=ae?X:F,et=document.createRange();et.setStart(ne,0),et.setEnd(Ie,0);const Je=et.commonAncestorContainer;if(F!==Je&&X!==Je||ne.contains(Ie))return function Ot(F){const{nodeName:X}=F;return"BODY"!==X&&("HTML"===X||Oe(F.firstElementChild)===F)}(Je)?Je:Oe(Je);const at=me(F);return at.host?ze(at.host,X):ze(F,me(X).host)}function Ee(F){if(!F||!F.parentElement)return document.documentElement;let X=F.parentElement;for(;X?.parentElement&&"none"===Te(X,"transform");)X=X.parentElement;return X||document.documentElement}function fe(F,X){const ae="x"===X?"Left":"Top",ne="Left"===ae?"Right":"Bottom";return parseFloat(F[`border${ae}Width`])+parseFloat(F[`border${ne}Width`])}function bt(F,X,ae,ne){return Math.max(X[`offset${F}`],X[`scroll${F}`],ae[`client${F}`],ae[`offset${F}`],ae[`scroll${F}`],0)}function Lt(F){const X=F.body,ae=F.documentElement;return{height:bt("Height",X,ae),width:bt("Width",X,ae)}}function xt(F){return{...F,right:(F.left||0)+F.width,bottom:(F.top||0)+F.height}}function Ue(F){return"number"==typeof F||"[object Number]"===Object.prototype.toString.call(F)}function Qe(F){const X=F.getBoundingClientRect();if(!(X&&Ue(X.top)&&Ue(X.left)&&Ue(X.bottom)&&Ue(X.right)))return X;const ae={left:X.left,top:X.top,width:X.right-X.left,height:X.bottom-X.top},ne="HTML"===F.nodeName?Lt(F.ownerDocument):void 0,Ie=ne?.width||F.clientWidth||Ue(X.right)&&Ue(ae.left)&&X.right-ae.left||0,et=ne?.height||F.clientHeight||Ue(X.bottom)&&Ue(ae.top)&&X.bottom-ae.top||0;let Je=F.offsetWidth-Ie,at=F.offsetHeight-et;if(Je||at){const _t=Te(F);Je-=fe(_t,"x"),at-=fe(_t,"y"),ae.width-=Je,ae.height-=at}return xt(ae)}function Nt(F){return"HTML"===F.nodeName?F:F.parentNode||F.host}function vt(F){if(!F)return document.body;switch(F.nodeName){case"HTML":case"BODY":return F.ownerDocument.body;case"#document":return F.body}const{overflow:X,overflowX:ae,overflowY:ne}=Te(F);return/(auto|scroll|overlay)/.test(String(X)+String(ne)+String(ae))?F:vt(Nt(F))}function nt(F,X,ae=!1){const ne="HTML"===X.nodeName,Ie=Qe(F),et=Qe(X),at=(vt(F),Te(X)),_t=parseFloat(at.borderTopWidth),ft=parseFloat(at.borderLeftWidth);ae&&ne&&(et.top=Math.max(et.top??0,0),et.left=Math.max(et.left??0,0));const Bt=xt({top:(Ie.top??0)-(et.top??0)-_t,left:(Ie.left??0)-(et.left??0)-ft,width:Ie.width,height:Ie.height});if(Bt.marginTop=0,Bt.marginLeft=0,ne){const Ft=parseFloat(at.marginTop),Jt=parseFloat(at.marginLeft);Ue(Bt.top)&&(Bt.top-=_t-Ft),Ue(Bt.bottom)&&(Bt.bottom-=_t-Ft),Ue(Bt.left)&&(Bt.left-=ft-Jt),Ue(Bt.right)&&(Bt.right-=ft-Jt),Bt.marginTop=Ft,Bt.marginLeft=Jt}return Bt}function we(F,X="top"){const ae="top"===X?"scrollTop":"scrollLeft",ne=F.nodeName;if("BODY"===ne||"HTML"===ne){const Ie=F.ownerDocument.documentElement;return(F.ownerDocument.scrollingElement||Ie)[ae]}return F[ae]}function rt(F){const X=F.nodeName;return"BODY"!==X&&"HTML"!==X&&("fixed"===Te(F,"position")||rt(Nt(F)))}function Mt(F,X,ae=0,ne,Ie=!1){let et={top:0,left:0};const Je=Ie?Ee(F):ze(F,X);if("viewport"===ne)et=function be(F,X=!1){const ae=F.ownerDocument.documentElement,ne=nt(F,ae),Ie=Math.max(ae.clientWidth,window.innerWidth||0),et=Math.max(ae.clientHeight,window.innerHeight||0),Je=X?0:we(ae),at=X?0:we(ae,"left");return xt({top:Je-Number(ne?.top)+Number(ne?.marginTop),left:at-Number(ne?.left)+Number(ne?.marginLeft),width:Ie,height:et})}(Je,Ie);else{let at;"scrollParent"===ne?(at=vt(Nt(X)),"BODY"===at.nodeName&&(at=F.ownerDocument.documentElement)):at="window"===ne?F.ownerDocument.documentElement:ne;const _t=nt(at,Je,Ie);if(_t&&"HTML"===at.nodeName&&!rt(Je)){const{height:ft,width:Bt}=Lt(F.ownerDocument);Ue(et.top)&&Ue(_t.top)&&Ue(_t.marginTop)&&(et.top+=_t.top-_t.marginTop),Ue(et.top)&&(et.bottom=Number(ft)+Number(_t.top)),Ue(et.left)&&Ue(_t.left)&&Ue(_t.marginLeft)&&(et.left+=_t.left-_t.marginLeft),Ue(et.top)&&(et.right=Number(Bt)+Number(_t.left))}else _t&&(et=_t)}return Ue(et.left)&&(et.left+=ae),Ue(et.top)&&(et.top+=ae),Ue(et.right)&&(et.right-=ae),Ue(et.bottom)&&(et.bottom-=ae),et}function wt({width:F,height:X}){return F*X}function $e(F,X,ae,ne,Ie=["top","bottom","right","left"],et="viewport",Je=0){if(-1===F.indexOf("auto"))return F;const at=Mt(ae,ne,Je,et),_t={top:{width:at?.width??0,height:(X?.top??0)-(at?.top??0)},right:{width:(at?.right??0)-(X?.right??0),height:at?.height??0},bottom:{width:at?.width??0,height:(at?.bottom??0)-(X?.bottom??0)},left:{width:(X.left??0)-(at?.left??0),height:at?.height??0}},ft=Object.keys(_t).map((Ht=>({position:Ht,..._t[Ht],area:wt(_t[Ht])}))).sort(((Ht,zt)=>zt.area-Ht.area));let Bt=ft.filter((({width:Ht,height:zt})=>Ht>=ae.clientWidth&&zt>=ae.clientHeight));Bt=Bt.filter((({position:Ht})=>Ie.some((zt=>zt===Ht))));const Ft=Bt.length>0?Bt[0].position:ft[0].position,Jt=F.split(" ")[1];return ae.className=ae.className.replace(/bs-tooltip-auto/g,`bs-tooltip-${(0,o.Wl)().isBs5?Ce[Ft]:Ft}`),Ft+(Jt?`-${Jt}`:"")}const Ae=(F,X=0)=>F?parseFloat(F):X;function ve(F){const ae=F.ownerDocument.defaultView?.getComputedStyle(F),ne=Ae(ae?.marginTop)+Ae(ae?.marginBottom),Ie=Ae(ae?.marginLeft)+Ae(ae?.marginRight);return{width:Number(F.offsetWidth)+Ie,height:Number(F.offsetHeight)+ne}}function Ge(F,X,ae){return nt(X,ae?Ee(F):ze(F,X),ae)}function Ye(F,X,ae){const ne=ae.split(" ")[0],Ie=ve(F),et={width:Ie.width,height:Ie.height},Je=-1!==["right","left"].indexOf(ne),at=Je?"top":"left",_t=Je?"left":"top",ft=Je?"height":"width",Bt=Je?"width":"height";return et[at]=(X[at]??0)+X[ft]/2-Ie[ft]/2,et[_t]=ne===_t?(X[_t]??0)-Ie[Bt]:X[function ct(F){const X={left:"right",right:"left",bottom:"top",top:"bottom"};return F.replace(/left|right|bottom|top/g,(ae=>X[ae]))}(_t)]??0,et}function ht(F,X){return!!F.modifiers[X]?.enabled}const Ut={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 fn(F,X){return!!(0,o.Wl)().isBs5&&Ut[X].includes(F)}function _e(F,X,ae){!F||!X||Object.keys(X).forEach((ne=>{let Ie="";-1!==["width","height","top","right","bottom","left"].indexOf(ne)&&function je(F){return""!==F&&!isNaN(parseFloat(F))&&isFinite(Number(F))}(X[ne])&&(Ie="px"),ae?ae.setStyle(F,ne,`${String(X[ne])}${Ie}`):F.style[ne]=String(X[ne])+Ie}))}function We(F){let X=F.offsets.target;const ae=F.instance.target.querySelector(".arrow");if(!ae)return F;const ne=-1!==["left","right"].indexOf(F.placement.split(" ")[0]),Ie=ne?"height":"width",et=ne?"Top":"Left",Je=et.toLowerCase(),at=ne?"left":"top",_t=ne?"bottom":"right",ft=ve(ae)[Ie],Bt=F.placement.split(" ")[1];(F.offsets.host[_t]??0)-ft<(X[Je]??0)&&(X[Je]-=(X[Je]??0)-((F.offsets.host[_t]??0)-ft)),Number(F.offsets.host[Je])+Number(ft)>(X[_t]??0)&&(X[Je]+=Number(F.offsets.host[Je])+Number(ft)-Number(X[_t])),X=xt(X);const Ft=Te(F.instance.target),Jt=parseFloat(Ft[`margin${et}`])||0,Ht=parseFloat(Ft[`border${et}Width`])||0;let zt;if(Bt){const Ct=parseFloat(Ft.borderRadius)||0,sn=Number(Jt+Ht+Ct);zt=Je===Bt?Number(F.offsets.host[Je])+sn:Number(F.offsets.host[Je])+Number(F.offsets.host[Ie]-sn)}else zt=Number(F.offsets.host[Je])+Number(F.offsets.host[Ie]/2-ft/2);let Et=zt-(X[Je]??0)-Jt-Ht;return Et=Math.max(Math.min(X[Ie]-(ft+5),Et),0),F.offsets.arrow={[Je]:Math.round(Et),[at]:""},F.instance.arrow=ae,F}function dt(F){if(F.offsets.target=xt(F.offsets.target),!ht(F.options,"flip"))return F.offsets.target={...F.offsets.target,...Ye(F.instance.target,F.offsets.host,F.placement)},F;const X=Mt(F.instance.target,F.instance.host,0,"viewport",!1);let ae=F.placement.split(" ")[0],ne=F.placement.split(" ")[1]||"";const at=$e("auto",F.offsets.host,F.instance.target,F.instance.host,F.options.allowedPositions),_t=[ae,at];return _t.forEach(((ft,Bt)=>{if(ae!==ft||_t.length===Bt+1)return;ae=F.placement.split(" ")[0];const Ft="left"===ae&&Math.floor(F.offsets.target.right??0)>Math.floor(F.offsets.host.left??0)||"right"===ae&&Math.floor(F.offsets.target.left??0)<Math.floor(F.offsets.host.right??0)||"top"===ae&&Math.floor(F.offsets.target.bottom??0)>Math.floor(F.offsets.host.top??0)||"bottom"===ae&&Math.floor(F.offsets.target.top??0)<Math.floor(F.offsets.host.bottom??0),Jt=Math.floor(F.offsets.target.left??0)<Math.floor(X.left??0),Ht=Math.floor(F.offsets.target.right??0)>Math.floor(X.right??0),zt=Math.floor(F.offsets.target.top??0)<Math.floor(X.top??0),Et=Math.floor(F.offsets.target.bottom??0)>Math.floor(X.bottom??0),Ct="left"===ae&&Jt||"right"===ae&&Ht||"top"===ae&&zt||"bottom"===ae&&Et,sn=-1!==["top","bottom"].indexOf(ae),yn=sn&&"left"===ne&&Jt||sn&&"right"===ne&&Ht||!sn&&"left"===ne&&zt||!sn&&"right"===ne&&Et;(Ft||Ct||yn)&&((Ft||Ct)&&(ae=_t[Bt+1]),yn&&(ne=function De(F){return"right"===F?"left":"left"===F?"right":F}(ne)),F.placement=ae+(ne?` ${ne}`:""),F.offsets.target={...F.offsets.target,...Ye(F.instance.target,F.offsets.host,F.placement)})})),F}function Bn(F){if(!ht(F.options,"preventOverflow"))return F;const X="transform",ae=F.instance.target.style,{top:ne,left:Ie,[X]:et}=ae;ae.top="",ae.left="",ae[X]="";const Je=Mt(F.instance.target,F.instance.host,0,F.options.modifiers.preventOverflow?.boundariesElement||"scrollParent",!1);ae.top=ne,ae.left=Ie,ae[X]=et;const _t={primary(ft){let Bt=F.offsets.target[ft];return(F.offsets.target[ft]??0)<(Je[ft]??0)&&(Bt=Math.max(F.offsets.target[ft]??0,Je[ft]??0)),{[ft]:Bt}},secondary(ft){const Bt="right"===ft,Ft=Bt?"left":"top";let Ht=F.offsets.target[Ft];return(F.offsets.target[ft]??0)>(Je[ft]??0)&&(Ht=Math.min(F.offsets.target[Ft]??0,(Je[ft]??0)-F.offsets.target[Bt?"width":"height"])),{[Ft]:Ht}}};return["left","right","top","bottom"].forEach((ft=>{const Bt=-1!==["left","top","start"].indexOf(ft)?_t.primary:_t.secondary;F.offsets.target={...F.offsets.target,...Bt(ft)}})),F}function In(F){const X=F.placement,ae=X.split(" ")[0],ne=X.split(" ")[1];if(ne){const{host:Ie,target:et}=F.offsets,Je=-1!==["bottom","top"].indexOf(ae),at=Je?"left":"top",_t=Je?"width":"height",ft={start:{[at]:Ie[at]},end:{[at]:(Ie[at]??0)+Ie[_t]-et[_t]}};F.offsets.target={...et,[at]:at===ne?ft.start[at]:ft.end[at]}}return F}const se=new class Jn{position(X,ae){return this.offset(X,ae)}offset(X,ae){return Ge(ae,X)}positionElements(X,ae,ne,Ie,et){const Je=[dt,In,Bn,We],_t=function qt(F,X,ae,ne){if(!F||!X)return;const Ie=Ge(F,X);!ae.match(/^(auto)*\s*(left|right|top|bottom|start|end)*$/)&&!ae.match(/^(left|right|top|bottom|start|end)*(?: (left|right|top|bottom|start|end))*$/)&&(ae="auto");const et=!!ae.match(/auto/g);let Je=ae.match(/auto\s(left|right|top|bottom|start|end)/)?ae.split(" ")[1]||"auto":ae;const at=Je.match(/^(left|right|top|bottom|start|end)* ?(?!\1)(left|right|top|bottom|start|end)?/);return at&&(Je=at[1]+(at[2]?` ${at[2]}`:"")),-1!==["left right","right left","top bottom","bottom top"].indexOf(Je)&&(Je="auto"),Je=$e(Je,Ie,F,X,ne?ne.allowedPositions:void 0),{options:ne||{modifiers:{}},instance:{target:F,host:X,arrow:void 0},offsets:{target:Ye(F,Ie,Je),host:Ie,arrow:void 0},positionFixed:!1,placement:Je,placementAuto:et}}(ae,X,ye[ne],et);if(_t)return Je.reduce(((ft,Bt)=>Bt(ft)),_t)}};function ge(F,X,ae,ne,Ie,et){const Je=se.positionElements(F,X,ae,ne,Ie);if(!Je)return;const at=function Ke(F){return{width:F.offsets.target.width,height:F.offsets.target.height,left:Math.floor(F.offsets.target.left??0),top:Math.round(F.offsets.target.top??0),bottom:Math.round(F.offsets.target.bottom??0),right:Math.floor(F.offsets.target.right??0)}}(Je);_e(X,{"will-change":"transform",top:"0px",left:"0px",transform:`translate3d(${at.left}px, ${at.top}px, 0px)`},et),Je.instance.arrow&&_e(Je.instance.arrow,Je.offsets.arrow,et),function Se(F,X){const ae=F.instance.target;let ne=ae.className;const Ie=(0,o.Wl)().isBs5?Ce[F.placement]:F.placement;F.placementAuto&&(ne=ne.replace(/bs-popover-auto/g,`bs-popover-${Ie}`),ne=ne.replace(/ms-2|me-2|mb-2|mt-2/g,""),ne=ne.replace(/bs-tooltip-auto/g,`bs-tooltip-${Ie}`),ne=ne.replace(/\sauto/g,` ${Ie}`),-1!==ne.indexOf("popover")&&(ne=ne+" "+function Le(F){return(0,o.Wl)().isBs5?fn(F,"end")?"ms-2":fn(F,"start")?"me-2":fn(F,"top")?"mb-2":fn(F,"bottom")?"mt-2":"":""}(Ie)),-1!==ne.indexOf("popover")&&-1===ne.indexOf("popover-auto")&&(ne+=" popover-auto"),-1!==ne.indexOf("tooltip")&&-1===ne.indexOf("tooltip-auto")&&(ne+=" tooltip-auto")),ne=ne.replace(/left|right|top|bottom|end|start/g,`${Ie.split(" ")[0]}`),X?X.setAttribute(ae,"class",ne):ae.className=ne}(Je,et)}let He=(()=>{class F{constructor(ae,ne,Ie){this.update$$=new x.xQ,this.positionElements=new Map,this.isDisabled=!1,(0,A.NF)(Ie)&&ae.runOutsideAngular((()=>{this.triggerEvent$=(0,L.T)((0,Z.R)(window,"scroll",{passive:!0}),(0,Z.R)(window,"resize",{passive:!0}),(0,te.of)(0,I),this.update$$),this.triggerEvent$.subscribe((()=>{this.isDisabled||this.positionElements.forEach((et=>{ge(Pe(et.target),Pe(et.element),et.attachment,et.appendToBody,this.options,ne.createRenderer(null,null))}))}))}))}position(ae){this.addPositionElement(ae)}get event$(){return this.triggerEvent$}disable(){this.isDisabled=!0}enable(){this.isDisabled=!1}addPositionElement(ae){this.positionElements.set(Pe(ae.element),ae)}calcPosition(){this.update$$.next(null)}deletePositionElement(ae){this.positionElements.delete(Pe(ae))}setOptions(ae){this.options=ae}}return F.ɵfac=function(ae){return new(ae||F)(p.LFG(p.R0b),p.LFG(p.FYo),p.LFG(p.Lbi))},F.ɵprov=p.Yz7({token:F,factory:F.ɵfac,providedIn:"root"}),F})();function Pe(F){return"string"==typeof F?document.querySelector(F):F instanceof p.SBq?F.nativeElement:F??null}},3194:(G,O,u)=>{"use strict";u.d(O,{i9:()=>Ke,z8:()=>ct});var o=u(5062),p=u(1607),A=u(8200);function x(De,Ae){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(De,Ae)}var nt=u(2381),we=u(7739),be=u(6895);const rt=["*"];let Mt=(()=>{class De{constructor(){this.adaptivePosition=!0,this.placement="top",this.triggers="hover focus",this.delay=0}}return De.ɵfac=function(ve){return new(ve||De)},De.ɵprov=o.Yz7({token:De,factory:De.ɵfac,providedIn:"root"}),De})(),wt=(()=>{class De{constructor(ve){Object.assign(this,ve)}get _bsVersions(){return(0,p.Wl)()}ngAfterViewInit(){this.classMap={in:!1,fade:!1},this.placement&&(this._bsVersions.isBs5&&(this.placement=A.Bz[this.placement]),this.classMap[this.placement]=!0),this.classMap[`tooltip-${this.placement}`]=!0,this.classMap.in=!0,this.animation&&(this.classMap.fade=!0),this.containerClass&&(this.classMap[this.containerClass]=!0)}}return De.ɵfac=function(ve){return new(ve||De)(o.Y36(Mt))},De.ɵcmp=o.Xpm({type:De,selectors:[["bs-tooltip-container"]],hostAttrs:["role","tooltip"],hostVars:7,hostBindings:function(ve,Ge){2&ve&&(o.uIk("id",Ge.id),o.Tol("tooltip in tooltip-"+Ge.placement+" bs-tooltip-"+Ge.placement+" "+Ge.placement+" "+Ge.containerClass),o.ekj("show",!Ge._bsVersions.isBs3)("bs3",Ge._bsVersions.isBs3))},ngContentSelectors:rt,decls:3,vars:0,consts:[[1,"tooltip-arrow","arrow"],[1,"tooltip-inner"]],template:function(ve,Ge){1&ve&&(o.F$t(),o._UZ(0,"div",0),o.TgZ(1,"div",1),o.Hsn(2),o.qZA())},styles:[".tooltip[_nghost-%COMP%]{display:block;pointer-events:none}.bs3.tooltip.top[_nghost-%COMP%] > .arrow[_ngcontent-%COMP%]{margin-left:-2px}.bs3.tooltip.bottom[_nghost-%COMP%]{margin-top:0}.bs3.bs-tooltip-left[_nghost-%COMP%], .bs3.bs-tooltip-right[_nghost-%COMP%]{margin:0}.bs3.bs-tooltip-right[_nghost-%COMP%] .arrow[_ngcontent-%COMP%], .bs3.bs-tooltip-left[_nghost-%COMP%] .arrow[_ngcontent-%COMP%]{margin:.3rem 0}"],changeDetection:0}),De})(),$e=0,Ke=(()=>{class De{constructor(ve,Ge,Ye,ht,Ut,fn){this._elementRef=ht,this._renderer=Ut,this._positionService=fn,this.tooltipId=$e++,this.adaptivePosition=!0,this.tooltipChange=new o.vpe,this.placement="top",this.triggers="hover focus",this.containerClass="",this.isDisabled=!1,this.delay=0,this.tooltipAnimation=!0,this.tooltipFadeDuration=150,this.tooltipStateChanged=new o.vpe,this._tooltip=Ge.createLoader(this._elementRef,ve,this._renderer).provide({provide:Mt,useValue:Ye}),Object.assign(this,Ye),this.onShown=this._tooltip.onShown,this.onHidden=this._tooltip.onHidden}get isOpen(){return this._tooltip.isShown}set isOpen(ve){ve?this.show():this.hide()}set htmlContent(ve){(0,p.O4)("tooltipHtml was deprecated, please use `tooltip` instead"),this.tooltip=ve}set _placement(ve){(0,p.O4)("tooltipPlacement was deprecated, please use `placement` instead"),this.placement=ve}set _isOpen(ve){(0,p.O4)("tooltipIsOpen was deprecated, please use `isOpen` instead"),this.isOpen=ve}get _isOpen(){return(0,p.O4)("tooltipIsOpen was deprecated, please use `isOpen` instead"),this.isOpen}set _enable(ve){(0,p.O4)("tooltipEnable was deprecated, please use `isDisabled` instead"),this.isDisabled=!ve}get _enable(){return(0,p.O4)("tooltipEnable was deprecated, please use `isDisabled` instead"),this.isDisabled}set _appendToBody(ve){(0,p.O4)('tooltipAppendToBody was deprecated, please use `container="body"` instead'),this.container=ve?"body":this.container}get _appendToBody(){return(0,p.O4)('tooltipAppendToBody was deprecated, please use `container="body"` instead'),"body"===this.container}set _popupClass(ve){(0,p.O4)("tooltipClass deprecated")}set _tooltipContext(ve){(0,p.O4)("tooltipContext deprecated")}set _tooltipPopupDelay(ve){(0,p.O4)("tooltipPopupDelay is deprecated, use `delay` instead"),this.delay=ve}get _tooltipTrigger(){return(0,p.O4)("tooltipTrigger was deprecated, please use `triggers` instead"),this.triggers}set _tooltipTrigger(ve){(0,p.O4)("tooltipTrigger was deprecated, please use `triggers` instead"),this.triggers=(ve||"").toString()}ngOnInit(){this._tooltip.listen({triggers:this.triggers,show:()=>this.show()}),this.tooltipChange.subscribe((ve=>{ve||this._tooltip.hide()})),this.onShown.subscribe((()=>{this.setAriaDescribedBy()})),this.onHidden.subscribe((()=>{this.setAriaDescribedBy()}))}setAriaDescribedBy(){this._ariaDescribedby=this.isOpen?`tooltip-${this.tooltipId}`:void 0,this._ariaDescribedby?this._renderer.setAttribute(this._elementRef.nativeElement,"aria-describedby",this._ariaDescribedby):this._renderer.removeAttribute(this._elementRef.nativeElement,"aria-describedby")}toggle(){if(this.isOpen)return this.hide();this.show()}show(){if(this._positionService.setOptions({modifiers:{flip:{enabled:this.adaptivePosition},preventOverflow:{enabled:this.adaptivePosition,boundariesElement:this.boundariesElement||"scrollParent"}}}),this.isOpen||this.isDisabled||this._delayTimeoutId||!this.tooltip)return;const ve=()=>{this._delayTimeoutId&&(this._delayTimeoutId=void 0),this._tooltip.attach(wt).to(this.container).position({attachment:this.placement}).show({content:this.tooltip,placement:this.placement,containerClass:this.containerClass,id:`tooltip-${this.tooltipId}`})},Ge=()=>{this._tooltipCancelShowFn&&this._tooltipCancelShowFn()};this.delay?(this._delaySubscription&&this._delaySubscription.unsubscribe(),this._delaySubscription=(0,we.H)(this.delay).subscribe((()=>{ve(),Ge()})),this.triggers&&(0,p.AL)(this.triggers).forEach((Ye=>{!Ye.close||(this._tooltipCancelShowFn=this._renderer.listen(this._elementRef.nativeElement,Ye.close,(()=>{this._delaySubscription?.unsubscribe(),Ge()})))}))):ve()}hide(){this._delayTimeoutId&&(clearTimeout(this._delayTimeoutId),this._delayTimeoutId=void 0),this._tooltip.isShown&&(this._tooltip.instance?.classMap&&(this._tooltip.instance.classMap.in=!1),setTimeout((()=>{this._tooltip.hide()}),this.tooltipFadeDuration))}ngOnDestroy(){this._tooltip.dispose(),this.tooltipChange.unsubscribe(),this._delaySubscription&&this._delaySubscription.unsubscribe(),this.onShown.unsubscribe(),this.onHidden.unsubscribe()}}return De.ɵfac=function(ve){return new(ve||De)(o.Y36(o.s_b),o.Y36(nt.oj),o.Y36(Mt),o.Y36(o.SBq),o.Y36(o.Qsj),o.Y36(A.sA))},De.ɵdir=o.lG2({type:De,selectors:[["","tooltip",""],["","tooltipHtml",""]],inputs:{adaptivePosition:"adaptivePosition",tooltip:"tooltip",placement:"placement",triggers:"triggers",container:"container",containerClass:"containerClass",boundariesElement:"boundariesElement",isOpen:"isOpen",isDisabled:"isDisabled",delay:"delay",htmlContent:["tooltipHtml","htmlContent"],_placement:["tooltipPlacement","_placement"],_isOpen:["tooltipIsOpen","_isOpen"],_enable:["tooltipEnable","_enable"],_appendToBody:["tooltipAppendToBody","_appendToBody"],tooltipAnimation:"tooltipAnimation",_popupClass:["tooltipClass","_popupClass"],_tooltipContext:["tooltipContext","_tooltipContext"],_tooltipPopupDelay:["tooltipPopupDelay","_tooltipPopupDelay"],tooltipFadeDuration:"tooltipFadeDuration",_tooltipTrigger:["tooltipTrigger","_tooltipTrigger"]},outputs:{tooltipChange:"tooltipChange",onShown:"onShown",onHidden:"onHidden",tooltipStateChanged:"tooltipStateChanged"},exportAs:["bs-tooltip"]}),function I(De,Ae,ve,Ge){var Ut,Ye=arguments.length,ht=Ye<3?Ae:null===Ge?Ge=Object.getOwnPropertyDescriptor(Ae,ve):Ge;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)ht=Reflect.decorate(De,Ae,ve,Ge);else for(var fn=De.length-1;fn>=0;fn--)(Ut=De[fn])&&(ht=(Ye<3?Ut(ht):Ye>3?Ut(Ae,ve,ht):Ut(Ae,ve))||ht);Ye>3&&ht&&Object.defineProperty(Ae,ve,ht)}([(0,p.GU)(),x("design:type",Object)],De.prototype,"tooltip",void 0),De})(),ct=(()=>{class De{static forRoot(){return{ngModule:De,providers:[nt.oj,A.sA]}}}return De.ɵfac=function(ve){return new(ve||De)},De.ɵmod=o.oAB({type:De}),De.ɵinj=o.cJS({imports:[[be.ez]]}),De})()},1607:(G,O,u)=>{"use strict";u.d(O,{AL:()=>S,C:()=>I,Dc:()=>Lt,GU:()=>nt,O4:()=>Mt,Rg:()=>R,Wl:()=>Qe,XA:()=>xt,cQ:()=>we,wo:()=>M});var o=u(5062);class p{constructor($e,Ke){this.open=$e,this.close=Ke||$e}isManual(){return"manual"===this.open||"manual"===this.close}}const A={hover:["mouseover","mouseout"],focus:["focusin","focusout"]};function S(wt,$e=A){const Ke=(wt||"").trim();if(0===Ke.length)return[];const ct=Ke.split(/\s+/).map((Ae=>Ae.split(":"))).map((Ae=>{const ve=$e[Ae[0]]||Ae;return new p(ve[0],ve[1])})),De=ct.filter((Ae=>Ae.isManual()));if(De.length>1)throw new Error("Triggers parse error: only one manual trigger is allowed");if(1===De.length&&ct.length>1)throw new Error("Triggers parse error: manual trigger can't be mixed with other triggers");return ct}function M(wt,$e){const Ke=S($e.triggers),ct=$e.target;if(1===Ke.length&&Ke[0].isManual())return Function.prototype;const De=[],Ae=[],ve=()=>{Ae.forEach((Ge=>De.push(Ge()))),Ae.length=0};return Ke.forEach((Ge=>{const Ye=Ge.open===Ge.close,ht=Ye?$e.toggle:$e.show;if(!Ye&&Ge.close&&$e.hide){const Ut=wt.listen(ct,Ge.close,$e.hide);Ae.push((()=>Ut))}ht&&De.push(wt.listen(ct,Ge.open,(()=>ht(ve))))})),()=>{De.forEach((Ge=>Ge()))}}function R(wt,$e){return $e.outsideClick?wt.listen("document","click",(Ke=>{$e.target&&$e.target.contains(Ke.target)||$e.targets&&$e.targets.some((ct=>ct.contains(Ke.target)))||$e.hide&&$e.hide()})):Function.prototype}function I(wt,$e){return $e.outsideEsc?wt.listen("document","keyup.esc",(Ke=>{$e.target&&$e.target.contains(Ke.target)||$e.targets&&$e.targets.some((ct=>ct.contains(Ke.target)))||$e.hide&&$e.hide()})):Function.prototype}const P=typeof window<"u"&&window||{};var Ee=(()=>{return(wt=Ee||(Ee={})).isBs3="bs3",wt.isBs4="bs4",wt.isBs5="bs5",Ee;var wt})();let fe;function bt(){if(typeof P.document>"u")return"bs4";const wt=P.document.createElement("span");wt.innerText="testing bs version",wt.classList.add("d-none"),wt.classList.add("pl-1"),P.document.head.appendChild(wt);const $e=wt.getBoundingClientRect(),Ke=P.getComputedStyle(wt).paddingLeft;return!$e||$e&&0!==$e.top?(P.document.head.removeChild(wt),"bs3"):Ke&&parseFloat(Ke)?(P.document.head.removeChild(wt),"bs4"):(P.document.head.removeChild(wt),"bs5")}function Lt(wt){fe=wt}function xt(){return typeof P>"u"||(typeof P.__theme>"u"?(fe||(fe=bt()),"bs3"===fe):"bs3"===P.__theme)}function je(){return!xt()&&(fe||(fe=bt()),"bs4"===fe)}function Qe(){return{isBs3:xt(),isBs4:je(),isBs5:!xt()&&!je()&&(fe||(fe=bt()),"bs5"===fe)}}function nt(){return function(Ke,ct){const De=` __${ct}Value`;Object.defineProperty(Ke,ct,{get(){return this[De]},set(Ae){const ve=this[De];this[De]=Ae,ve!==Ae&&this[ct+"Change"]&&this[ct+"Change"].emit(Ae)}})}}class we{static reflow($e){}static getStyles($e){let Ke=$e.ownerDocument.defaultView;return(!Ke||!Ke.opener)&&(Ke=P),Ke.getComputedStyle($e)}static stackOverflowConfig(){const $e=function Nt(){const wt=Qe(),$e=Object.keys(wt).find((Ke=>wt[Ke]));return Ee[$e]}();return{crossorigin:"bs3"!==$e?"anonymous":void 0,integrity:"bs5"===$e?"sha384-KyZXEAg3QhqLMpG8r+8fhAXLRk2vvoC2f3B09zVXn8CA5QIVfZOJ3BCsw2P0p/We":"bs4"===$e?"sha384-TX8t27EcRE3e/ihU7zmQxVncDAy5uIKz4rEkgIXeMed4M0jlfIDPvg6uqKI2xXr2":void 0,cdnLink:"bs5"===$e?"https://cdn.jsdelivr.net/npm/bootstrap@5.1.0/dist/css/bootstrap.min.css":"bs4"===$e?"https://cdn.jsdelivr.net/npm/bootstrap@4.5.3/dist/css/bootstrap.min.css":"https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css"}}}const be={},rt=typeof console>"u"||!("warn"in console);function Mt(wt){!(0,o.X6Q)()||rt||wt in be||(be[wt]=!0,console.warn(wt))}}}]);
Back to Directory
File Manager