Viewing File: /usr/local/cpanel/whostmgr/docroot/templates/wh-sql-config/vendor.2a62a1f915c9525d.min.js
(self.webpackChunkwh_sql_config=self.webpackChunkwh_sql_config||[]).push([[736],{109:($,O,l)=>{"use strict";l.d(O,{F:()=>i});var i=(()=>{return(m=i||(i={}))[m.GET=0]="GET",m[m.HEAD=1]="HEAD",m[m.POST=2]="POST",m[m.PUT=3]="PUT",m[m.DELETE=4]="DELETE",m[m.CONNECT=5]="CONNECT",m[m.OPTIONS=6]="OPTIONS",m[m.TRACE=7]="TRACE",m[m.PATCH=8]="PATCH",i;var m})()},7709:($,O,l)=>{"use strict";l.d(O,{h:()=>i});class i{constructor(P,S){if(!P)throw new Error("You must provide a name when creating a name/value argument");this.name=P,this.value=S}}},3022:($,O,l)=>{"use strict";l.d(O,{tO:()=>Qe,VN:()=>Ie});var i=l(4235),m=l.n(i),E=l(1305),P=l.n(E),S=l(4798),I=l.n(S),x=l(9138),R=l.n(x),k=l(248),N=l.n(k),Y=l(1503),K=l.n(Y),Re=l(7614),ye=l.n(Re);function oe(Fe){if(m()(Fe)||P()(Fe)||I()(Fe)||R()(Fe)||N()(Fe))return!0;if(!ye()(Fe)&&!K()(Fe))return!1;for(const _t in Fe)if(!oe(Fe[_t]))return!1;return!0}class Ie{constructor(){this.contentType="application/x-www-form-urlencoded",this.separatorStart="",this.separatorEnd="",this.recordSeparator="&"}encode(_t,ue,ge){if(!_t)throw new Error("Name must have a non-empty value");return`${_t}=${encodeURIComponent(ue.toString())}`+(ge?"":this.recordSeparator)}}class Qe{constructor(){this.contentType="application/json",this.separatorStart="{",this.separatorEnd="}",this.recordSeparator=","}encode(_t,ue,ge){if(!_t)throw new Error("Name must have a non-empty value");if(!oe(ue))throw new Error("The passed in value can not be serialized to JSON");return JSON.stringify(_t)+":"+JSON.stringify(ue)+(ge?"":this.recordSeparator)}}},4642:($,O,l)=>{"use strict";l.d(O,{r:()=>Ce,N:()=>Le});var i=l(1978),m=l.n(i);function E(we){return we?"1":"0"}var I=(()=>{return(we=I||(I={}))[we.Ascending=0]="Ascending",we[we.Descending=1]="Descending",I;var we})(),x=(()=>{return(we=x||(x={}))[we.Lexicographic=0]="Lexicographic",we[we.Ipv4=1]="Ipv4",we[we.Numeric=2]="Numeric",we[we.NumericZeroAsMax=3]="NumericZeroAsMax",x;var we})();class R{constructor(de,Ze=I.Ascending,Dt=x.Lexicographic){if(!de)throw new Error("You must provide a non-empty column name for a Sort rule.");this.column=de,this.direction=Ze,this.type=Dt}}var k=(()=>{return(we=k||(k={}))[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",k;var we})();class N{constructor(de,Ze,Dt){if(!de)throw new Error("You must define a non-empty column name.");this.column=de,this.operator=Ze,this.value=Dt}}var Y=l(7709);const Re=Number.POSITIVE_INFINITY;class ye{constructor(de=1,Ze=20){if(de<=0)throw new Error("The page must be 1 or greater. This is the logical page, not a programming index.");if(Ze<=0)throw new Error("The pageSize must be set to 'ALL' or a number > 0");this.page=de,this.pageSize=Ze}all(){return this.pageSize===Re}}class oe{constructor(de=[]){this.headers=de}push(de){this.headers.push(de)}forEach(de,Ze){this.headers.forEach(de,Ze)}toArray(){const de=[];return this.headers.forEach((Ze=>de.push({name:Ze.name,value:Ze.value}))),de}toObject(){return this.headers.reduce(((de,Ze)=>(de[Ze.name]=Ze.value,de)),{})}}class at{constructor(de){this._header=de}get name(){return this._header.name}get value(){return this._header.value}}class Ie extends Error{constructor(de){super(de),this.name="CpanelApiTokenInvalidError",Object.setPrototypeOf(this,Ie.prototype)}}class Qe extends Error{constructor(de){super(de),this.name="CpanelApiTokenMismatchError",Object.setPrototypeOf(this,Qe.prototype)}}class Fe extends at{constructor(de,Ze){if(!de)throw new Ie("You must pass a valid token to the constructor.");if(!Ze&&!/^.+[:]/.test(de))throw new Ie("You must pass a cPanel username associated with the cPanel API token.");if(!Ze&&!/[:].+$/.test(de))throw new Ie("You must pass a valid cPanel API token.");super({name:"Authorization",value:`cpanel ${Ze?Ze+":":""}${de}`})}}Error,Error;var Pt=l(109);const ht=new class dt{constructor(){this.map={},this.map.DEFAULT={verb:"DEFAULT",dataInBody:!0},[Pt.F.GET,Pt.F.DELETE,Pt.F.HEAD].forEach((de=>{const Ze=Pt.F[de].toString();this.map[Ze]={verb:Ze,dataInBody:!1}})),[Pt.F.POST,Pt.F.PUT,Pt.F.PATCH].forEach((de=>{const Ze=Pt.F[de].toString();this.map[Ze]={verb:Ze,dataInBody:!0}}))}getRule(de){const Ze="string"==typeof de?de:Pt.F[de].toString();let Dt=this.map[Ze];return Dt||(Dt=this.map.DEFAULT),Dt}};var ce=l(3022),ve=l(8448),De=l.n(ve),Le=(()=>{return(we=Le||(Le={})).JsonApi="json-api",we.XmlApi="xml-api",Le;var we})();class Ce extends class nt{constructor(de){this.namespace="",this.method="",this.arguments=[],this.sorts=[],this.filters=[],this.columns=[],this.pager=new ye,this.headers=new oe,this._usePager=!1,this.defaultConfig={analytics:!1,json:!1},this.config=this.defaultConfig,de&&(this.method=de.method,de.namespace&&(this.namespace=de.namespace),de.arguments&&de.arguments.forEach((Ze=>{this.addArgument(Ze)})),de.sorts&&de.sorts.forEach((Ze=>{this.addSort(Ze)})),de.filters&&de.filters.forEach((Ze=>{this.addFilter(Ze)})),de.columns&&de.columns.forEach((Ze=>this.addColumn(Ze))),de.pager&&this.paginate(de.pager),this.config=de.config?de.config:this.defaultConfig,de.headers&&de.headers.forEach((Ze=>{this.addHeader(Ze)})))}get usePager(){return this._usePager}addArgument(de){return this.arguments.push(de instanceof Y.h?de:new Y.h(de.name,de.value)),this}addSort(de){return this.sorts.push(de instanceof R?de:new R(de.column,de.direction,de.type)),this}addFilter(de){return this.filters.push(de instanceof N?de:new N(de.column,de.operator,de.value)),this}addColumn(de){return this.columns.push(de),this}addHeader(de){return this.headers.push(de instanceof at?de:new at(de)),this}paginate(de){return this.pager=de instanceof ye?de:new ye(de.page,de.pageSize||20),this._usePager=!0,this}}{constructor(de,Ze){if(super(Ze),this.apiType=Le.JsonApi,de!=Le.JsonApi&&de!=Le.XmlApi)throw new Error("You must define the API type for the whmapi call before you generate a request.");if(this.apiType=de,!this.method)throw new Error("You must define a method for the WHM API call before you generate a request")}addHeader(de){if(de instanceof Fe)throw new Qe("A CpanelApiTokenHeader cannot be used on a WhmApiRequest");return super.addHeader(de),this}_build(de,Ze){let Dt="";return de.forEach(((Xe,Me,je)=>{Dt+=Ze.encode(Xe.name,Xe.value,Me===je.length-1)})),Ze.separatorStart+Dt+Ze.separatorEnd}_make_whm_api_fieldspec_from_number(de){return De()("",Math.floor(de/26),"z")+"abcdefghijklmnopqrstuvwxyz".charAt(de%26)}_generateArguments(de){de.push({name:"api.version",value:1}),this.arguments.forEach((Dt=>de.push(Dt)))}_generateSorts(de){this.sorts.forEach(((Ze,Dt)=>{0===Dt&&de.push({name:"api.sort.enable",value:E(!0)});const Xe=`api.sort.${this._make_whm_api_fieldspec_from_number(Dt)}`;de.push({name:`${Xe}.field`,value:Ze.column}),de.push({name:`${Xe}.reverse`,value:E(Ze.direction!==I.Ascending)}),de.push({name:`${Xe}.method`,value:m()(x[Ze.type])})}))}_lookupFilterOperator(de){switch(de){case k.GreaterThanUnlimited:return"gt_handle_unlimited";case k.GreaterThan:return"gt";case k.LessThanUnlimited:return"lt_handle_unlimited";case k.LessThan:return"lt";case k.Equal:return"eq";case k.Begins:return"begins";case k.Contains:return"contains";default:throw new Error(`Unrecoginzed FilterOperator ${k[de]} for WHM API 1`)}}_generateFilters(de){this.filters.forEach(((Ze,Dt)=>{0===Dt&&(de.push({name:"api.filter.enable",value:E(!0)}),de.push({name:"api.filter.verbose",value:E(!0)}));const Xe=`api.filter.${this._make_whm_api_fieldspec_from_number(Dt)}`;de.push({name:`${Xe}.field`,value:Ze.column}),de.push({name:`${Xe}.type`,value:this._lookupFilterOperator(Ze.operator)}),de.push({name:`${Xe}.arg0`,value:Ze.value})}))}_translatePageToStart(de){return(de.page-1)*de.pageSize+1}_generatePagination(de){if(!this.usePager)return;const Ze=this.pager.all();de.push({name:"api.chunk.enable",value:E(!0)}),de.push({name:"api.chunk.verbose",value:E(!0)}),de.push({name:"api.chunk.start",value:Ze?-1:this._translatePageToStart(this.pager)}),Ze||de.push({name:"api.chunk.size",value:this.pager.pageSize})}generate(de){de||(de={verb:Pt.F.POST,encoder:this.config.json?new ce.tO:new ce.VN}),de.encoder||(de.encoder=this.config.json?new ce.tO:new ce.VN);const Ze=ht.getRule(de.verb),Dt={headers:new oe([{name:"Content-Type",value:de.encoder.contentType}]),url:["",this.apiType,this.method].map(encodeURIComponent).join("/"),body:""},Xe=[];this._generateArguments(Xe),this._generateSorts(Xe),this._generateFilters(Xe),this._generatePagination(Xe);const Me=this._build(Xe,de.encoder);return Ze.dataInBody?Dt.body=Me:Dt.url+=de.verb===Pt.F.GET?`?${Me}`:Me,this.headers.forEach((je=>{Dt.headers.push({name:je.name,value:je.value})})),Dt}}},269:($,O,l)=>{"use strict";O.g=void 0;const m=l(1680);Object.defineProperty(O,"g",{enumerable:!0,get:function(){return m.Locale}})},5074:($,O)=>{"use strict";Object.defineProperty(O,"__esModule",{value:!0}),O.CLDR=void 0,O.CLDR=class l{constructor(m){this.rawData=m,this.validateCLDR(this.rawData)}validateCLDR(m){if(!m)throw new Error("CLDR data cannot be null");if(!m.locale)throw new Error("CLDR data is missing locale information");if(!Object.prototype.hasOwnProperty.call(m,"functions")||Object.prototype.hasOwnProperty.call(m,"get_plural_form")||"function"!=typeof m.functions.get_plural_form)throw new Error("CLDR data is missing function get_plural_form");if(!Object.prototype.hasOwnProperty.call(m,"datetime_info"))throw new Error("CLDR data is missing datetime_info");if(!Object.prototype.hasOwnProperty.call(m,"misc_info"))throw new Error("CLDR data is missing misc_info");if(!Object.prototype.hasOwnProperty.call(m.misc_info,"cldr_formats"))throw new Error("CLDR data is missing cldr_formats");if(!Object.prototype.hasOwnProperty.call(m.misc_info,"orientation")||!Object.prototype.hasOwnProperty.call(m.misc_info.orientation,"characters"))throw new Error("CLDR data is missing orientation information");if(!Object.prototype.hasOwnProperty.call(m.misc_info,"delimiters"))throw new Error("CLDR data is missing delimiter information");return!0}getLocale(){return this.rawData.locale}getPluralForm(m,...E){return(0,this.rawData.functions.get_plural_form)(m,...E)}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:($,O,l)=>{"use strict";Object.defineProperty(O,"__esModule",{value:!0}),O.Locale=void 0;const i=l(2889),m=l(9483),E=l(741),P=l(786),S=l(5074);O.Locale=class I{constructor(R,k={}){this.lexicon=k,this._cldr=new S.CLDR(R)}maketext(R,...k){return(0,i.maketext)({cldr:this._cldr,lexicon:this.lexicon,template:R,args:k})}localDatetime(R,k){return this._datetimeWrapper(m.local_datetime,R,k)}datetime(R,k){return this._datetimeWrapper(m.datetime,R,k)}_datetimeWrapper(R,k,N){return R({cldr:this._cldr,args:[k,N]})}getCurrentLocale(){return this._cldr.getLocale()}get isRtl(){return this._cldr.isRtl()}get isLtr(){return this._cldr.isLtr()}get cldr(){return this._cldr}numf(R,k){return this._formatNumber(E.numf,R,k)}format_bytes(R,k){return this._formatNumber(E.format_bytes,R,k)}_formatNumber(R,...k){return this._callCLDRFunc(R,k)}list_and(...R){return this._callCLDRFunc(P.list_and,R)}list_and_quoted(...R){return this._callCLDRFunc(P.list_and_quoted,R)}list_or(...R){return this._callCLDRFunc(P.list_or,R)}list_or_quoted(...R){return this._callCLDRFunc(P.list_or_quoted,R)}_callCLDRFunc(R,k){return R({cldr:this._cldr,args:k})}}},7296:($,O,l)=>{"use strict";Object.defineProperty(O,"__esModule",{value:!0}),O.asis=void 0;const i=l(5247);O.asis=function m({args:[E,...P]}){if(!E||P.length>0||"string"!=typeof E)throw new Error("asis function accepts one non translatable string.");return(E=E.replace(/chr\((\d+)\)/g,(function(S,I){return i.functions.chr(Number(I))}))).replace(/amp\(\)/g,(function(){return i.functions.amp()}))}},527:($,O)=>{"use strict";Object.defineProperty(O,"__esModule",{value:!0}),O.boolean=void 0,O.boolean=function l({args:[i,m,E,P]}){if(null==m||0===m.length||null==E||0===E.length)throw new Error("boolean function needs a valid whenTrue, whenFalse arguments.");return String(typeof i<"u"&&i?m:P&&null==i?P:E)}},9076:($,O)=>{"use strict";Object.defineProperty(O,"__esModule",{value:!0}),O.comment=void 0,O.comment=function l({args:[i]}){return""}},9483:($,O,l)=>{"use strict";Object.defineProperty(O,"__esModule",{value:!0}),O.local_datetime=O.datetime=O.dateToLocalDayNum=void 0;const i=l(5074),m=function(N){const Y=N.getUTCDay()-1;return Y<0?6:Y},E=[7,1,2,3,4,5,6];function P(N,Y){return(E[N.getUTCDay()]+7-Y)%7+1}O.dateToLocalDayNum=P;const S=function(N,Y,K){let Re="",ye=0;return Y=Y||0,K=String(void 0===K?" ":K),ye=Y-String(N).length,ye>0&&(Re=[...Array(ye)].map(String.prototype.valueOf,K).join("")),Re+N};function I({cldr:N,args:[Y=new Date,K],tzString:Re="UTC"}){if("number"==typeof Y&&/^-?\d+$/.test(Y.toString())&&(Y=new Date(1e3*Y)),!(Y instanceof Date))throw new Error("The datetime function only accepts Date instances or integer values (unix timestamps) for the `date` parameter.");if(!(N instanceof i.CLDR))throw new Error("The datetime function requires a valid CLDR instance for the `cldr` parameter.");const ye=N.getDateTimeInfo();return"string"==typeof K&&/^(?:date|time|datetime|special)_format_/.test(K)&&(K=ye[K]),K||(K=ye.date_format_long),K.replace(/('[^']+')|(([a-zA-Z])\3*)/g,(function(oe,at,Ie){return at?function x(N){return N.substr(1,N.length-2)}(at):function R(N,Y,K,Re){switch(K){case"yy":return Math.abs(N.getUTCFullYear()).toString().slice(-2);case"y":case"yyy":case"yyyy":return String(Math.abs(N.getUTCFullYear()));case"MMMMM":return Y.month_format_narrow[N.getUTCMonth()];case"LLLLL":return Y.month_stand_alone_narrow[N.getUTCMonth()];case"MMMM":return Y.month_format_wide[N.getUTCMonth()];case"LLLL":return Y.month_stand_alone_wide[N.getUTCMonth()];case"MMM":return Y.month_format_abbreviated[N.getUTCMonth()];case"LLL":return Y.month_stand_alone_abbreviated[N.getUTCMonth()];case"MM":case"LL":return S((N.getUTCMonth()+1).toString(),2,"0");case"M":case"L":return String(N.getUTCMonth()+1);case"EEEE":return Y.day_format_wide[m(N)];case"EEE":case"EE":case"E":return Y.day_format_abbreviated[m(N)];case"EEEEE":return Y.day_format_narrow[m(N)];case"cccc":return Y.day_stand_alone_wide[m(N)];case"ccc":return Y.day_stand_alone_abbreviated[m(N)];case"cc":case"c":return String(P(N,Number(Y.first_day_of_week)));case"ccccc":return Y.day_stand_alone_narrow[m(N)];case"dd":return S(N.getUTCDate().toString(),2,"0");case"d":return String(N.getUTCDate());case"h":case"hh":{let ye=N.getUTCHours();ye>12&&(ye-=12),0===ye&&(ye=12);const oe="hh"===K?S(ye.toString(),2,"0"):ye;return String(oe)}case"H":return String(N.getUTCHours());case"HH":return S(N.getUTCHours().toString(),2,"0");case"m":return String(N.getUTCMinutes());case"mm":return S(N.getUTCMinutes().toString(),2,"0");case"s":return String(N.getUTCSeconds());case"ss":return S(N.getUTCSeconds().toString(),2,"0");case"a":return N.getUTCHours()<12?Y.am_pm_abbreviated[0]:Y.am_pm_abbreviated[1];case"z":case"zzzz":case"v":case"vvvv":return Re;case"G":case"GG":case"GGG":return Y.era_abbreviated[N.getUTCFullYear()<0?0:1];case"GGGGG":return Y.era_narrow[N.getUTCFullYear()<0?0:1];case"GGGG":return Y.era_wide[N.getUTCFullYear()<0?0:1]}return K}(Y,ye,Ie,Re)}))}O.datetime=I,O.local_datetime=function k({cldr:N,args:[Y=new Date,K]}){if("number"==typeof Y&&/^-?\d+$/.test(Y.toString())&&(Y=new Date(1e3*Y)),!(Y instanceof Date))throw new Error("The datetime function only accepts Date instances or integer values (unix timestamps) for the `date` parameter.");if(!(N instanceof i.CLDR))throw new Error("The datetime function requires a valid CLDR instance for the `cldr` parameter.");const Re=Y.getTimezoneOffset();(Y=new Date(Y)).setMinutes(Y.getMinutes()-Re);const ye=Re>0?"-":"+",oe=Math.floor(Math.abs(Re)/60),at=Math.abs(Re%60);return I({cldr:N,args:[Y,K],tzString:"GMT"+ye+S(oe.toString(),2,"0")+S(at.toString(),2,"0")})}},40:($,O,l)=>{"use strict";Object.defineProperty(O,"__esModule",{value:!0}),O.functions=void 0;const i=l(7296),m=l(5247),E=l(9076),P=l(527),S=l(741),I=l(9483),x=l(786);O.functions={asis:i.asis,output:m.output,comment:E.comment,boolean:P.boolean,numf:S.numf,numerate:S.numerate,quant:S.quant,format_bytes:S.format_bytes,datetime:I.datetime,local_datetime:I.local_datetime,list_and:x.list_and,list_or:x.list_or,list_or_quoted:x.list_or_quoted,list_and_quoted:x.list_and_quoted}},786:($,O)=>{"use strict";function i(x,R,...k){let N=k.slice();switch(1===N.length&&Array.isArray(N[0])&&(N=N[0].slice()),(typeof N>"u"||0===N.length)&&(N=[""]),N=N.map((Y=>function l(x,R){const k=x.getDelimiters();return k&&Object.prototype.hasOwnProperty.call(k,"quotation_start")&&Object.prototype.hasOwnProperty.call(k,"quotation_end")?k.quotation_start+R+k.quotation_end:R}(x,Y))),R){case"list_and":return S({cldr:x,args:N});case"list_or":return I({cldr:x,args:N});default:throw new Error("Did you mean list_and_quoted or list_or_quoted?")}}function P(x,R,...k){let N=k.slice();1===N.length&&Array.isArray(N[0])&&(N=N[0].slice());const Y=N.length;let K,Re,ye,oe;try{K=x.getFormats()[R]}catch{throw new Error("CLDR Data is missing information related to formatting list.")}const at=function(Ie,Qe){switch(Qe){case"0":return ye;case"1":return N[oe++]}};switch(Y){case 0:return"";case 1:return String(N[0]);default:if(ye=2===Y?K[2]:K.start,ye=ye.replace(/\{([01])\}/g,(function(Ie,Qe){return N[Qe]})),2===Y)return ye;for(oe=2;oe<Y;)Re=K[oe===Y-1?"end":"middle"],ye=Re.replace(/\{([01])\}/g,at);return ye}}function S({cldr:x,args:[...R]}){return P(x,"list",...R)}function I({cldr:x,args:[...R]}){return P(x,"list_or",...R)}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 m({cldr:x,args:[...R]}){return i(x,"list_and",...R)},O.list_or_quoted=function E({cldr:x,args:[...R]}){return i(x,"list_or",...R)},O.list_and=S,O.list_or=I},5247:($,O,l)=>{"use strict";Object.defineProperty(O,"__esModule",{value:!0}),O.functions=O.output=void 0;const i=l(7906),m=l(8533);O.output=function E({args:[P,...S]}){if(S&&"string"==typeof S[0]&&(S[0]=S[0].replace(/chr\((\d+)\)/g,(function(I,x){return O.functions.chr(Number(x))})),S[0]=S[0].replace(/amp\(\)/g,(function(){return O.functions.amp()}))),"function"==typeof O.functions[P])return O.functions[P](...S);throw new Error(`Locale output function '${P}' is not implemented.`)},O.functions={amp:()=>(0,i.htmlEscape)("&"),apos:()=>(0,i.htmlEscape)("'"),quot:()=>(0,i.htmlEscape)('"'),underline:P=>`<u>${P}</u>`,strong:P=>`<strong>${P}</strong>`,em:P=>`<em>${P}</em>`,abbr:(P,S)=>`<abbr title="${S}">${P}</abbr>`,acronym:(P,S)=>`<abbr title="${S}" class="initialism">${P}</abbr>`,class:(P,...S)=>`<span class="${S.join(" ")}">${P}</span>`,chr(P){if("string"==typeof P&&(P=Number(P)),"number"!=typeof P||isNaN(P))throw new Error("chr needs a number as argument");return(0,i.htmlEscape)(String.fromCharCode(P))},url(P,...S){let I,x;if("object"==typeof S[S.length-1])if(I=S[S.length-1],2===S.length){if(I.html)throw new Error("Cannot provide both text and configuration with html attribute");x=S[0]}else I&&I.html?(x=I.html,delete I.html):x=P;else S.length%2==0?(I=(0,m.listToObject)(...S),I&&"html"in I&&""!==I.html?(x=I.html,delete I.html):x=P):(x=S.shift(),I=(0,m.listToObject)(...S));"_type"in I&&"offsite"===I._type&&(I.class="offsite",I.target="_blank",delete I._type);let R=`<a href="${P}"`;if("object"==typeof I)for(const k in I)Object.prototype.hasOwnProperty.call(I,k)&&(R+=` ${k}="${I[k]}"`);return R+=`>${x}</a>`,R}}},741:($,O,l)=>{"use strict";Object.defineProperty(O,"__esModule",{value:!0}),O.format_bytes=O.numf=O.quant=O.numerate=void 0;const i=l(5074);function E({cldr:x,args:[R,...k]}){if(!(x instanceof i.CLDR))throw new Error("`quant` function requires a valid CLDR instance for the `cldr` parameter.");let N,Y=3;R instanceof Array?(Y=R[1],N=R[0]):N=R;const K=x.getPluralForm(N,...k),Re=K[0]?K[0]:k[k.length-1];if(K&&K.length>=2&&K[1])return Re;const oe=S({cldr:x,args:[N,Y]});return-1!==Re.indexOf("%s")?Re.replace(/%s/g,oe):x.isRtl()?Re+" "+oe:oe+" "+Re}function S({cldr:x,args:[R,k=6]}){if(!(x instanceof i.CLDR))throw new Error("`numf` function requires a valid CLDR instance for the `cldr` parameter.");if(/e/.test(R.toString()))return String(R);const{decimalFormat:N,decimalGroup:Y,decimalDecimal:K}=function P(x){const R={},k=x.getFormats();return Object.prototype.hasOwnProperty.call(k,"decimal")&&(R.decimalFormat=k.decimal),Object.prototype.hasOwnProperty.call(k,"_decimal_format_group")&&(R.decimalGroup=k._decimal_format_group),Object.prototype.hasOwnProperty.call(k,"_decimal_format_decimal")&&(R.decimalDecimal=k._decimal_format_decimal),R}(x);if(!N||!Y||!K)throw new Error("CLDR Data is missing information related to formatting decimals.");const Re=R<0;R=Math.abs(R);let oe,at,ye=Math.floor(R);/(?!')\.(?!')/.test(R.toString())&&(oe=String(R).replace(/^[^.]+/,"0"),oe=Number(oe).toFixed(k),/^1/.test(oe)?(ye++,R=ye,oe=void 0):oe=oe.replace(/^.*\./,"").replace(/0+$/,"")),at=/(?!');(?!')/.test(N)?N.split(/(?!');(?!')/)[Re?1:0]:(Re?"-":"")+N;const Fe=at.match(/[0#].*[0#]/)[0].split(/(?!')\.(?!')/)[0].split("").reverse().join("").split(/(?!'),(?!')/);let _t;1===Fe.length?_t="":(Fe.pop(),_t=Y);const ue=String(ye).split("").reverse(),ge=[];let nt;const Pt=function(ht){switch(ht){case"#":return ue.shift()||"";case"0":return ue.shift()||"0"}};for(;ue.length;){Fe.length&&(nt=Fe.shift());const ht=nt.replace(/(?!')[0#]|[0#](?!')/g,Pt).replace(/'([.,0#;\xa4%E])'$/,"").replace(/'([.,0#;\xa4%E])'/,"$1");ge.push(ht)}const dt=ge.join(_t).split("").reverse().join("")+(oe?K+oe:"");return at.replace(/[0#].*[0#]/,dt)}O.numerate=function m({cldr:x,args:[R,...k]}){if(!(x instanceof i.CLDR))throw new Error("`numerate` function requires a valid CLDR instance for the `cldr` parameter.");const N=x.getPluralForm(R,...k);return N?N[0]:k[k.length-1]},O.quant=E,O.numf=S,O.format_bytes=function I({cldr:x,args:[R,k=2]}){if(!(x instanceof i.CLDR))throw new Error("`format_bytes` function requires a valid CLDR instance for the `cldr` parameter.");const N=["KB","MB","GB","TB","PB","EB","ZB","YB"],K=R&&Math.min(Math.floor(Math.log(R)/Math.log(1024)),N.length);return K?S({cldr:x,args:[R/Math.pow(1024,K),k]})+" "+N[K-1]:E({cldr:x,args:[R,"%s byte","%s bytes"]})}},2889:($,O,l)=>{"use strict";Object.defineProperty(O,"__esModule",{value:!0}),O.maketext=O.functions=O.config=void 0;const i=l(40);function S(I,x){const R=[];let k=!1,N=!1;return I.forEach((Y=>{if("_"===Y.charAt(0))if("_*"===Y){if(N)throw"You cannot combine wildcard substitution (_*) with a numeric substitution (e.g. _1) in the same bracket.";R.push(...x),k=!0}else{const K=Y.match(O.config.underscoreDigitRe);if(K){if(k)throw"You cannot combine wildcard substitution (_*) with a numeric substitution (e.g. _1) in the same bracket.";const[Re,ye]=K,oe=Number(ye)-1;if(!(oe in x))throw`The "${Re}" substitution argument was not passed to the maketext function.`;R.push(x[oe]),N=!0}}else R.push(Y)})),R}O.config={bracketRe:/([^~\[\]]+|~.|\[|\]|~)/g,underscoreDigitRe:/^_(\d+)$/,fauxComma:"",fauxCommaRe:new RegExp("","g"),tildeChars:new Set(["[","]","~"])},O.functions={...i.functions},O.maketext=function E({cldr:I,lexicon:x,template:R,args:k}){if("string"!=typeof R)throw"You must pass a string template to the maketext function.";if(-1===(R=x&&x[R]||R).indexOf("["))return R;const N=R.match(O.config.bracketRe)||[],Y=[];let K=!1,Re="";if(N.forEach((ye=>{if("["===ye){if(K)throw Error(`Invalid maketext string: ${R} \nThe string contains nested brackets.`);K=!0}else if("]"===ye){if(!K)throw Error(`Invalid maketext string: ${R} \nThe string contains an unmatched closing bracket character (]).`);if(!Re)throw Error(`Invalid maketext string: ${R} \nThe string contains empty brackets. Use the escape character (~) if the bracket characters were meant to be printed literally.`);let oe;K=!1;try{oe=function P(I,x,R){let k=x.split(",");if(k=k.map((K=>K.replace(O.config.fauxCommaRe,","))),1===k.length){if(!O.config.underscoreDigitRe.test(k[0]))throw"A bracket must contain more than one argument, unless it is a pure substition.\n Example: Number of accounts: [_1]";const[K]=S(k,R);return String(K)}const N=k.shift();if(!N||"function"!=typeof O.functions[N])throw`Invalid function "${N}" in maketext string.`;const Y=S(k,R);return O.functions[N]({cldr:I,args:Y})}(I,Re,k)}catch(at){throw Error(`Invalid maketext string: ${R} \n${at}`)}Re="",Y.push(oe)}else if("~"===ye.charAt(0)){const oe=ye.charAt(1)||"~";K?Re+=","===oe?O.config.fauxComma:oe:O.config.tildeChars.has(oe)?Y.push(oe):Y.push(ye)}else K?Re+=ye:Y.push(ye)})),K)throw Error(`Invalid maketext string: ${R} \nThe string contains an unmatched opening bracket character ([).`);return Y.join("")}},7906:($,O)=>{"use strict";Object.defineProperty(O,"__esModule",{value:!0}),O.htmlEscape=O.entityMap=void 0,O.entityMap={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/"},O.htmlEscape=function l(i){return String(i).replace(/[&<>"'\/]/g,(m=>O.entityMap[m]))}},8533:($,O)=>{"use strict";Object.defineProperty(O,"__esModule",{value:!0}),O.listToObject=void 0,O.listToObject=function m(...E){let P={};return function l(E){if(E.length%2>0)throw new Error("An associative list must have an even number of parts: {name1}, {value1}, {name2}, {value2} ...");for(let S=0,I=E.length;S<I;S+=2){const x=E[S];if("string"!=typeof x||""===x)throw new Error("An associative list must provide non-empty string names in the 1st, 3rd, ... positions.")}return!0}(E)&&(P=function i(E){const P=E.length,S={};let x,R,I=0;for(;I<P;)x=E[I],R=E[++I],S[x]=R,I++;return S}(E)),P}},50:($,O,l)=>{"use strict";Object.defineProperty(O,"__esModule",{value:!0}),O.commonValidators=void 0;const i=l(2257);O.commonValidators=new class m extends i.BaseValidator{constructor(){super(...arguments),this.prefix="common",this.STARTS_WITH_LETTER=/^[a-zA-Z]/,this.CONTAINS_SPACES=/^\S*$/}required(P){const S=P||this.locale.maketext("This field is required.");return I=>{let x={},R=I.value;return R&&(R=R.toString()),R&&R.length?null:(x=this.addError(x,"required",S),x)}}requiredTrue(P){const S=P||this.locale.maketext("This control's value should be true.");return I=>{let x={};return!0!==I.value?(x=this.addError(x,"requiredTrue",S),x):null}}startsWithLetter(P){return S=>{let I={};return S.value&&!this.STARTS_WITH_LETTER.test(S.value)?(I=this.addError(I,"doesNotStartWithLetter",P),I):null}}containsSpaces(P){return S=>{let I={};return S.value&&!this.CONTAINS_SPACES.test(S.value)?(I=this.addError(I,"containsSpace",P),I):null}}minLength(P,S){return I=>{let x={};return I.value&&I.value.length<S?(x=this.addError(x,"minLength",P),x):null}}maxLength(P,S){return I=>{let x={};return I.value&&I.value.length>S?(x=this.addError(x,"maxLength",P),x):null}}min(P,S){return I=>{let x={};return I.value&&I.value<S?(x=this.addError(x,"min",P),x):null}}max(P,S){return I=>{let x={};return I.value&&I.value>S?(x=this.addError(x,"max",P),x):null}}}},7414:($,O,l)=>{"use strict";Object.defineProperty(O,"__esModule",{value:!0}),O.cPUserNoteValidators=void 0;const i=l(2257),m=l(9761),P=/[^ \n\P{White_Space}]|[^ \n\P{Control}]|[^ \P{Separator}]/u;O.cPUserNoteValidators=new class S extends i.BaseValidator{constructor(){super(...arguments),this.prefix="note"}validate(x=250,R=""){return k=>{let N=m.stringValidators.validUnicode()(k);if(!N){const Y=this.locale.maketext("This note is too long.");N=m.stringValidators.maxCharacterLength(Y)(x,k)}if(!N){const Y=k.match(P);if(Y){N={};const K=Y.index,Re=Y[0].codePointAt(0);this.addError(N,"character",this.locale.maketext("[asis,Unicode] character [numf,_1] (position [numf,_2]) is forbidden.",Re,1+K))}}return N}}}},6128:($,O,l)=>{"use strict";Object.defineProperty(O,"__esModule",{value:!0}),O.cpanelUsernameValidators=void 0;const i=l(2257);O.cpanelUsernameValidators=new class m extends i.BaseValidator{constructor(){super(...arguments),this.prefix="cpanelUsername",this.VALID_USERNAME=/^(?![-.0-9])[a-z0-9]{1,16}$/}cpanelUsername(P){const S=P||this.locale.maketext("This is not a valid username.");return I=>{let x={};return I.value&&!this.VALID_USERNAME.test(I.value)?(x=this.addError(x,"invalidUsername",S),x):null}}}},6156:($,O,l)=>{"use strict";Object.defineProperty(O,"__esModule",{value:!0}),O.databaseValidators=void 0;const i=l(2257),m=l(6369);O.databaseValidators=new class E extends i.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(S,I,x){return R=>S===m.DatabaseType.MySQL?(this._dbPrefix=I||"",this.validateMySQLDatabaseName(R.value,x||"")):null}validateMySQLDatabaseName(S,I){const x=this._performMySqlDatabaseNameValidation(S,I);let R={};return x?(R=this.addError(R,"databaseName",x),R):null}_performMySqlDatabaseNameValidation(S,I){let x=null;return x=this._verifyNameLengthLimit(S),null!==x||(x=this._verifyDatabaseNameIgnoreLength(S),null!==x)||(x=this._verifyDatabaseName(S,I)),x}_verifyNameLengthLimit(S){let I=null,x=this.DATABASE_NAME_LENGTH_LIMIT;this._dbPrefix&&(x-=this._dbPrefix.length+1);const R=unescape(encodeURIComponent(S)).length-x;return R>0&&(I={message:this.locale.maketext("This value is too long by [quant,_1,character,characters]. The maximum length is [quant,_2,character,characters].",R,x)}),I}_verifyDatabaseNameIgnoreLength(S){return this.ANYTHING_BUT_PRINTABLE_7_BIT_ASCII.test(S)?{message:this.locale.maketext("This system allows only printable [asis,ASCII] characters in database names.")}:this.MYSQL_DB_NAME_INVALID_CHARACTERS.test(S)?{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(S,I){if(null!==S&&S.endsWith(" "))return{message:this.locale.maketext("A [asis,MariaDB]/[asis,MySQL] database name cannot end with a space character.")};const x=this._verifySpecialWildcardsInDatabaseNames(S);return null!==x?x:I&&this._convertVersionStringToNumber(I)<this.MYSQL_STARTED_ALLOWING_FILESYS_CHARACTERS&&/\./.test(S)?{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.",I,".")}:null}_convertVersionStringToNumber(S){return S.match(/mariadb/i)&&(S=S.replace(/^[^-]+-/,"")),parseInt(S.replace(/-.*/,"").split(/\./).map((function(I){return I.padStart(2,"0")})).join(""),10)}_verifySpecialWildcardsInDatabaseNames(S){if(null===S)return null;const I=S.replace(this.MYSQL_DB_NAME_WILDCARDS,"\\$1").length;let x=this.DATABASE_NAME_LENGTH_LIMIT;this._dbPrefix&&(x-=this._dbPrefix.length+1);const R=I-x;return R>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.",["\\","_","%"],x,I,R)}:null}}},4559:function($,O,l){"use strict";var i=this&&this.__importDefault||function(x){return x&&x.__esModule?x:{default:x}};Object.defineProperty(O,"__esModule",{value:!0}),O.domainValidators=void 0;const m=l(549),E=i(l(4879)),P=i(l(836)),S=l(2257);O.domainValidators=new class I extends S.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(R){const k=[],N=E.default.ucs2.decode(R);for(let Y=0;Y<N.length;Y++)N[Y]>this.UNICODE_ASCII_CUTOFF&&k.push(E.default.ucs2.encode([N[Y]]));return(0,P.default)(k)}_validateLabelBasics(){return R=>{let k={};if(R.value&&0!==R.value.length){if(R.value.length>this.MAX_LABEL_BYTES)k=this.addError(k,"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("-"===R.value[0])k=this.addError(k,"charCondition",this.locale.maketext("A label must not begin with “[_1]”.","-"));else if("-"===R.value[R.value.length-1])k=this.addError(k,"charCondition",this.locale.maketext("A label must not end with “[_1]”.","-"));else if(E.default.toASCII(R.value).length>this.MAX_LABEL_BYTES){const N=this._getNonASCII(R.value);k=this.addError(k,"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,N[0]))}}else k=this.addError(k,"length",this.locale.maketext("A label must not be empty."));return k}}validDomainLength(){return R=>{let k={};if(R.value.length>this.MAX_DOMAIN_BYTES)return k=this.addError(k,"length",this.locale.maketext("The domain name cannot exceed [quant,_1,character,characters].",this.MAX_DOMAIN_BYTES)),k;if(E.default.toASCII(R.value).length>this.MAX_DOMAIN_BYTES){const Y=this._getNonASCII(R.value);return k=this.addError(k,"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,Y[0])),k}return null}}validateLabel(){return R=>(0,m.runValidationGroup)(R,[this._validateLabelBasics(),k=>{let N={};return this.NONINITIAL_LABEL_REGEX.test(k.value)||(N=this.addError(N,"charCondition",this.locale.maketext("The label must contain only the following characters: [list_and,_1].",["a-z","A-Z","0-9","-"]))),N}])}validateTLD(){return R=>{let k={};return!this.VALID_TLD_REGEX.test(R.value)&&!this.VALID_IDN_TLD_REGEX.test(R.value)&&(k=this.addError(k,"tld",this.locale.maketext("The domain name must include a valid [output,acronym,TLD,Top Level Domain]."))),k}}fqdn(){return R=>{const k=R.value.split("."),N=k[k.length-1],Y=k[0],K=R.value,Re=[()=>{let ye={};const oe=this.IPv4_REGEX.test(K),at=this.IPv6_REGEX.test(K);return oe||at?ye=this.addError(ye,"ipAddr",this.locale.maketext("You [output,strong,must] enter a hostname.")):k.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:Y}),this.validateTLD().bind(this,{value:"."+N})];return k.forEach((ye=>{Re.push(this.validateLabel().bind(this,{value:ye}))})),(0,m.runValidationGroup)(R,Re)}}fqdnOrIP(){return R=>{const k=(0,m.runValidationGroup)(R,[this.anyIP()]),N=R.value.split("."),Y=N[N.length-1],K=N[0],Re=[oe=>{let at={};return N.length<2&&(at=this.addError(at,"oneDomain",this.locale.maketext("The domain name must include at least two labels."))),at},this.validDomainLength(),this.validateLabel().bind(this,{value:K}),this.validateTLD().bind(this,{value:"."+Y})];N.forEach((oe=>{Re.push(this.validateLabel().bind(this,{value:oe}))}));const ye=(0,m.runValidationGroup)(R,Re);return k&&ye?{...k,...ye}:null}}ipv4(){return R=>{let k={};return R.value&&!this.IPv4_REGEX.test(R.value)?(k=this.addError(k,"ipv4",this.locale.maketext("Invalid [asis,IPv4] compatible address.")),k):null}}ipv6(){return R=>{let k={};return R.value&&!this.IPv6_REGEX.test(R.value)?(k=this.addError(k,"ipv6",this.locale.maketext("Invalid [asis,IPv6] compatible address.")),k):null}}anyIP(){return R=>{let k={};return!R.value||this.IPv4_REGEX.test(R.value)||this.IPv6_REGEX.test(R.value)?null:(k=this.addError(k,"anyIP",this.locale.maketext("Invalid [asis,IPv4] or [asis,IPv6] compatible address.")),k)}}}},8415:($,O,l)=>{"use strict";Object.defineProperty(O,"__esModule",{value:!0}),O.emailValidators=void 0;const i=l(2257);O.emailValidators=new class m extends i.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(P){const S=P||this.locale.maketext("Make sure to use a valid email format. For example, [asis,user@example.com].");return I=>{let x={};return I.value&&!this.VALID_EMAIL.test(I.value)?(x=this.addError(x,"invalidEmail",S),x):null}}}},7348:($,O,l)=>{"use strict";Object.defineProperty(O,"__esModule",{value:!0}),O.equalityValidators=void 0;const i=l(2257);O.equalityValidators=new class m extends i.BaseValidator{constructor(){super(...arguments),this.prefix="equality"}equalTo(P,S,I){return x=>{const R=x.get(S).value;let N={};return R===x.get(I).value&&""!==R?(N=this.addError(N,"equalFields",P),N):null}}}},2502:($,O,l)=>{"use strict";O.uZ=void 0;l(50),l(4559);const P=l(2257);Object.defineProperty(O,"uZ",{enumerable:!0,get:function(){return P.BaseValidator}});l(6156),l(6369),l(6128),l(8415),l(7348),l(7414),l(9761)},2257:($,O)=>{"use strict";Object.defineProperty(O,"__esModule",{value:!0}),O.BaseValidator=void 0;let l,i=!0;O.BaseValidator=class E{constructor(){this.prefix="",l={maketext:S=>{throw"DEVELOPER: You must specify a locale engine through the static variable BaseValidator.locale = myLocaleEngine"}}}static set locale(S){l=S}get locale(){return l}_buildKey(S){return i?`cpanel.${this.prefix}.${S}`:S}static disablePrefixing(){i=!1}static enablePrefixing(){i=!0}addError(S={},I,x){return"string"==typeof x&&(x={message:x}),S[this._buildKey(I)]=x,S}}},6369:($,O)=>{"use strict";var i;Object.defineProperty(O,"__esModule",{value:!0}),O.DatabaseType=void 0,(i=O.DatabaseType||(O.DatabaseType={})).MySQL="MySQL",i.PostgreSQL="PostgreSQL"},91:($,O)=>{"use strict";function E(S){return"0x"+S.toString(16)}Object.defineProperty(O,"__esModule",{value:!0}),O.characterLength=void 0,O.characterLength=function P(S,I){let x=0;for(let R=0;R<S.length;R++){x++;const k=S.charCodeAt(R);if(55296==(64512&k)){if(R++,R===S.length)throw new Error(I.maketext("This string ends with an incomplete [asis,UTF-16] surrogate pair ([_1]).",E(k)));const N=S.charCodeAt(R);if(56320!=(64512&N))throw new Error(I.maketext("This string contains an invalid [asis,UTF-16] surrogate pair ([join,~, ,_1]) at position [numf,_2].",[k,N].map(E),R))}}return x}},549:function($,O,l){"use strict";var i=this&&this.__importDefault||function(P){return P&&P.__esModule?P:{default:P}};Object.defineProperty(O,"__esModule",{value:!0}),O.runValidationGroup=void 0;const m=i(l(9721));O.runValidationGroup=function E(P,S){const I={};return S.forEach((x=>{(0,m.default)(I,x(P))})),Object.keys(I).length?I:null}},9761:($,O,l)=>{"use strict";Object.defineProperty(O,"__esModule",{value:!0}),O.stringValidators=void 0;const i=l(2257),m=l(91);O.stringValidators=new class P extends i.BaseValidator{constructor(){super(...arguments),this.prefix="string"}validUnicode(){return I=>{let x;try{x=(0,m.characterLength)(I,this.locale)}catch(R){const k={};return R instanceof Error&&this.addError(k,"unicode",R.message),k}return null}}maxCharacterLength(I){return(x,R)=>{if((0,m.characterLength)(R,this.locale)>x){const K={};return this.addError(K,"length",I),K}return null}}maxUTF8Length(I){return(x,R)=>{if(function E(S){return unescape(encodeURIComponent(S)).length}(R)>x){const k={};return this.addError(k,"length",I),k}return null}}}},4994:($,O,l)=>{var i=l(4312),m=l(6421),E=l(5764),P=l(8685),S=l(6676);function I(x){var R=-1,k=null==x?0:x.length;for(this.clear();++R<k;){var N=x[R];this.set(N[0],N[1])}}I.prototype.clear=i,I.prototype.delete=m,I.prototype.get=E,I.prototype.has=P,I.prototype.set=S,$.exports=I},9215:($,O,l)=>{var i=l(1840),m=l(4378),E=l(4981),P=l(7343),S=l(8895);function I(x){var R=-1,k=null==x?0:x.length;for(this.clear();++R<k;){var N=x[R];this.set(N[0],N[1])}}I.prototype.clear=i,I.prototype.delete=m,I.prototype.get=E,I.prototype.has=P,I.prototype.set=S,$.exports=I},1501:($,O,l)=>{var E=l(3436)(l(2119),"Map");$.exports=E},9850:($,O,l)=>{var i=l(638),m=l(1184),E=l(866),P=l(3771),S=l(1772);function I(x){var R=-1,k=null==x?0:x.length;for(this.clear();++R<k;){var N=x[R];this.set(N[0],N[1])}}I.prototype.clear=i,I.prototype.delete=m,I.prototype.get=E,I.prototype.has=P,I.prototype.set=S,$.exports=I},6323:($,O,l)=>{var E=l(3436)(l(2119),"Set");$.exports=E},8849:($,O,l)=>{var i=l(9850),m=l(4600),E=l(1387);function P(S){var I=-1,x=null==S?0:S.length;for(this.__data__=new i;++I<x;)this.add(S[I])}P.prototype.add=P.prototype.push=m,P.prototype.has=E,$.exports=P},443:($,O,l)=>{var i=l(2119);$.exports=i.Symbol},6999:$=>{$.exports=function O(l,i,m){switch(m.length){case 0:return l.call(i);case 1:return l.call(i,m[0]);case 2:return l.call(i,m[0],m[1]);case 3:return l.call(i,m[0],m[1],m[2])}return l.apply(i,m)}},1253:($,O,l)=>{var i=l(4164);$.exports=function m(E,P){return!(null==E||!E.length)&&i(E,P,0)>-1}},177:$=>{$.exports=function O(l,i,m){for(var E=-1,P=null==l?0:l.length;++E<P;)if(m(i,l[E]))return!0;return!1}},2271:($,O,l)=>{var i=l(5334),m=l(7151),E=l(1503),P=l(891),S=l(8442),I=l(8159),R=Object.prototype.hasOwnProperty;$.exports=function k(N,Y){var K=E(N),Re=!K&&m(N),ye=!K&&!Re&&P(N),oe=!K&&!Re&&!ye&&I(N),at=K||Re||ye||oe,Ie=at?i(N.length,String):[],Qe=Ie.length;for(var Fe in N)(Y||R.call(N,Fe))&&(!at||!("length"==Fe||ye&&("offset"==Fe||"parent"==Fe)||oe&&("buffer"==Fe||"byteLength"==Fe||"byteOffset"==Fe)||S(Fe,Qe)))&&Ie.push(Fe);return Ie}},4633:$=>{$.exports=function O(l,i){for(var m=-1,E=null==l?0:l.length,P=Array(E);++m<E;)P[m]=i(l[m],m,l);return P}},8745:$=>{$.exports=function O(l,i,m,E){var P=-1,S=null==l?0:l.length;for(E&&S&&(m=l[++P]);++P<S;)m=i(m,l[P],P,l);return m}},5481:($,O,l)=>{var m=l(1847)("length");$.exports=m},6422:$=>{$.exports=function O(l){return l.split("")}},69:$=>{var O=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;$.exports=function l(i){return i.match(O)||[]}},9719:($,O,l)=>{var i=l(5683),m=l(217),P=Object.prototype.hasOwnProperty;$.exports=function S(I,x,R){var k=I[x];(!P.call(I,x)||!m(k,R)||void 0===R&&!(x in I))&&i(I,x,R)}},3503:($,O,l)=>{var i=l(217);$.exports=function m(E,P){for(var S=E.length;S--;)if(i(E[S][0],P))return S;return-1}},5683:($,O,l)=>{var i=l(6713);$.exports=function m(E,P,S){"__proto__"==P&&i?i(E,P,{configurable:!0,enumerable:!0,value:S,writable:!0}):E[P]=S}},5317:$=>{$.exports=function O(l,i,m,E){for(var P=l.length,S=m+(E?1:-1);E?S--:++S<P;)if(i(l[S],S,l))return S;return-1}},3337:($,O,l)=>{var i=l(443),m=l(1318),E=l(2902),I=i?i.toStringTag:void 0;$.exports=function x(R){return null==R?void 0===R?"[object Undefined]":"[object Null]":I&&I in Object(R)?m(R):E(R)}},4164:($,O,l)=>{var i=l(5317),m=l(968),E=l(4977);$.exports=function P(S,I,x){return I==I?E(S,I,x):i(S,m,x)}},186:($,O,l)=>{var i=l(3337),m=l(2671);$.exports=function P(S){return m(S)&&"[object Arguments]"==i(S)}},968:$=>{$.exports=function O(l){return l!=l}},7304:($,O,l)=>{var i=l(5946),m=l(1943),E=l(5940),P=l(2827),I=/^\[object .+?Constructor\]$/,Y=RegExp("^"+Function.prototype.toString.call(Object.prototype.hasOwnProperty).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");$.exports=function K(Re){return!(!E(Re)||m(Re))&&(i(Re)?Y:I).test(P(Re))}},1083:($,O,l)=>{var i=l(3337),m=l(6231),E=l(2671),ve={};ve["[object Float32Array]"]=ve["[object Float64Array]"]=ve["[object Int8Array]"]=ve["[object Int16Array]"]=ve["[object Int32Array]"]=ve["[object Uint8Array]"]=ve["[object Uint8ClampedArray]"]=ve["[object Uint16Array]"]=ve["[object Uint32Array]"]=!0,ve["[object Arguments]"]=ve["[object Array]"]=ve["[object ArrayBuffer]"]=ve["[object Boolean]"]=ve["[object DataView]"]=ve["[object Date]"]=ve["[object Error]"]=ve["[object Function]"]=ve["[object Map]"]=ve["[object Number]"]=ve["[object Object]"]=ve["[object RegExp]"]=ve["[object Set]"]=ve["[object String]"]=ve["[object WeakMap]"]=!1,$.exports=function De(Le){return E(Le)&&m(Le.length)&&!!ve[i(Le)]}},2809:($,O,l)=>{var i=l(5940),m=l(5488),E=l(2158),S=Object.prototype.hasOwnProperty;$.exports=function I(x){if(!i(x))return E(x);var R=m(x),k=[];for(var N in x)"constructor"==N&&(R||!S.call(x,N))||k.push(N);return k}},1847:$=>{$.exports=function O(l){return function(i){return i?.[l]}}},2724:$=>{$.exports=function O(l){return function(i){return l?.[i]}}},7065:$=>{var l=Math.floor;$.exports=function i(m,E){var P="";if(!m||E<1||E>9007199254740991)return P;do{E%2&&(P+=m),(E=l(E/2))&&(m+=m)}while(E);return P}},6652:($,O,l)=>{var i=l(2608),m=l(3983),E=l(2185);$.exports=function P(S,I){return E(m(S,I,i),S+"")}},9510:($,O,l)=>{var i=l(6684),m=l(6713),E=l(2608);$.exports=m?function(S,I){return m(S,"toString",{configurable:!0,enumerable:!1,value:i(I),writable:!0})}:E},4363:$=>{$.exports=function O(l,i,m){var E=-1,P=l.length;i<0&&(i=-i>P?0:P+i),(m=m>P?P:m)<0&&(m+=P),P=i>m?0:m-i>>>0,i>>>=0;for(var S=Array(P);++E<P;)S[E]=l[E+i];return S}},5334:$=>{$.exports=function O(l,i){for(var m=-1,E=Array(l);++m<l;)E[m]=i(m);return E}},3935:($,O,l)=>{var i=l(443),m=l(4633),E=l(1503),P=l(4129),I=i?i.prototype:void 0,x=I?I.toString:void 0;$.exports=function R(k){if("string"==typeof k)return k;if(E(k))return m(k,R)+"";if(P(k))return x?x.call(k):"";var N=k+"";return"0"==N&&1/k==-1/0?"-0":N}},3348:($,O,l)=>{var i=l(2760),m=/^\s+/;$.exports=function E(P){return P&&P.slice(0,i(P)+1).replace(m,"")}},5647:$=>{$.exports=function O(l){return function(i){return l(i)}}},707:($,O,l)=>{var i=l(8849),m=l(1253),E=l(177),P=l(5972),S=l(4575),I=l(4174);$.exports=function R(k,N,Y){var K=-1,Re=m,ye=k.length,oe=!0,at=[],Ie=at;if(Y)oe=!1,Re=E;else if(ye>=200){var Qe=N?null:S(k);if(Qe)return I(Qe);oe=!1,Re=P,Ie=new i}else Ie=N?[]:at;e:for(;++K<ye;){var Fe=k[K],_t=N?N(Fe):Fe;if(Fe=Y||0!==Fe?Fe:0,oe&&_t==_t){for(var ue=Ie.length;ue--;)if(Ie[ue]===_t)continue e;N&&Ie.push(_t),at.push(Fe)}else Re(Ie,_t,Y)||(Ie!==at&&Ie.push(_t),at.push(Fe))}return at}},5972:$=>{$.exports=function O(l,i){return l.has(i)}},2329:($,O,l)=>{var i=l(4363);$.exports=function m(E,P,S){var I=E.length;return S=void 0===S?I:S,!P&&S>=I?E:i(E,P,S)}},1989:($,O,l)=>{var i=l(9719),m=l(5683);$.exports=function E(P,S,I,x){var R=!I;I||(I={});for(var k=-1,N=S.length;++k<N;){var Y=S[k],K=x?x(I[Y],P[Y],Y,I,P):void 0;void 0===K&&(K=P[Y]),R?m(I,Y,K):i(I,Y,K)}return I}},4610:($,O,l)=>{var i=l(2119);$.exports=i["__core-js_shared__"]},4944:($,O,l)=>{var i=l(6652),m=l(3342);$.exports=function E(P){return i((function(S,I){var x=-1,R=I.length,k=R>1?I[R-1]:void 0,N=R>2?I[2]:void 0;for(k=P.length>3&&"function"==typeof k?(R--,k):void 0,N&&m(I[0],I[1],N)&&(k=R<3?void 0:k,R=1),S=Object(S);++x<R;){var Y=I[x];Y&&P(S,Y,x,k)}return S}))}},1491:($,O,l)=>{var i=l(8745),m=l(4707),E=l(7188),S=RegExp("['’]","g");$.exports=function I(x){return function(R){return i(E(m(R).replace(S,"")),x,"")}}},5171:($,O,l)=>{var i=l(7065),m=l(3935),E=l(2329),P=l(7609),S=l(2315),I=l(6007),x=Math.ceil;$.exports=function R(k,N){var Y=(N=void 0===N?" ":m(N)).length;if(Y<2)return Y?i(N,k):N;var K=i(N,x(k/S(N)));return P(N)?E(I(K),0,k).join(""):K.slice(0,k)}},4575:($,O,l)=>{var i=l(6323),m=l(2552),E=l(4174),S=i&&1/E(new i([,-0]))[1]==1/0?function(I){return new i(I)}:m;$.exports=S},9148:($,O,l)=>{var E=l(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"});$.exports=E},6713:($,O,l)=>{var i=l(3436),m=function(){try{var E=i(Object,"defineProperty");return E({},"",{}),E}catch{}}();$.exports=m},9122:$=>{var O="object"==typeof global&&global&&global.Object===Object&&global;$.exports=O},4537:($,O,l)=>{var i=l(3819);$.exports=function m(E,P){var S=E.__data__;return i(P)?S["string"==typeof P?"string":"hash"]:S.map}},3436:($,O,l)=>{var i=l(7304),m=l(1990);$.exports=function E(P,S){var I=m(P,S);return i(I)?I:void 0}},9519:($,O,l)=>{var m=l(9385)(Object.getPrototypeOf,Object);$.exports=m},1318:($,O,l)=>{var i=l(443),m=Object.prototype,E=m.hasOwnProperty,P=m.toString,S=i?i.toStringTag:void 0;$.exports=function I(x){var R=E.call(x,S),k=x[S];try{x[S]=void 0;var N=!0}catch{}var Y=P.call(x);return N&&(R?x[S]=k:delete x[S]),Y}},1990:$=>{$.exports=function O(l,i){return l?.[i]}},7609:$=>{var I=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");$.exports=function x(R){return I.test(R)}},9062:$=>{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 ]/;$.exports=function l(i){return O.test(i)}},4312:($,O,l)=>{var i=l(862);$.exports=function m(){this.__data__=i?i(null):{},this.size=0}},6421:$=>{$.exports=function O(l){var i=this.has(l)&&delete this.__data__[l];return this.size-=i?1:0,i}},5764:($,O,l)=>{var i=l(862),P=Object.prototype.hasOwnProperty;$.exports=function S(I){var x=this.__data__;if(i){var R=x[I];return"__lodash_hash_undefined__"===R?void 0:R}return P.call(x,I)?x[I]:void 0}},8685:($,O,l)=>{var i=l(862),E=Object.prototype.hasOwnProperty;$.exports=function P(S){var I=this.__data__;return i?void 0!==I[S]:E.call(I,S)}},6676:($,O,l)=>{var i=l(862);$.exports=function E(P,S){var I=this.__data__;return this.size+=this.has(P)?0:1,I[P]=i&&void 0===S?"__lodash_hash_undefined__":S,this}},8442:$=>{var l=/^(?:0|[1-9]\d*)$/;$.exports=function i(m,E){var P=typeof m;return!!(E=E??9007199254740991)&&("number"==P||"symbol"!=P&&l.test(m))&&m>-1&&m%1==0&&m<E}},3342:($,O,l)=>{var i=l(217),m=l(6507),E=l(8442),P=l(5940);$.exports=function S(I,x,R){if(!P(R))return!1;var k=typeof x;return!!("number"==k?m(R)&&E(x,R.length):"string"==k&&x in R)&&i(R[x],I)}},3819:$=>{$.exports=function O(l){var i=typeof l;return"string"==i||"number"==i||"symbol"==i||"boolean"==i?"__proto__"!==l:null===l}},1943:($,O,l)=>{var P,i=l(4610),m=(P=/[^.]+$/.exec(i&&i.keys&&i.keys.IE_PROTO||""))?"Symbol(src)_1."+P:"";$.exports=function E(P){return!!m&&m in P}},5488:$=>{var O=Object.prototype;$.exports=function l(i){var m=i&&i.constructor;return i===("function"==typeof m&&m.prototype||O)}},1840:$=>{$.exports=function O(){this.__data__=[],this.size=0}},4378:($,O,l)=>{var i=l(3503),E=Array.prototype.splice;$.exports=function P(S){var I=this.__data__,x=i(I,S);return!(x<0||(x==I.length-1?I.pop():E.call(I,x,1),--this.size,0))}},4981:($,O,l)=>{var i=l(3503);$.exports=function m(E){var P=this.__data__,S=i(P,E);return S<0?void 0:P[S][1]}},7343:($,O,l)=>{var i=l(3503);$.exports=function m(E){return i(this.__data__,E)>-1}},8895:($,O,l)=>{var i=l(3503);$.exports=function m(E,P){var S=this.__data__,I=i(S,E);return I<0?(++this.size,S.push([E,P])):S[I][1]=P,this}},638:($,O,l)=>{var i=l(4994),m=l(9215),E=l(1501);$.exports=function P(){this.size=0,this.__data__={hash:new i,map:new(E||m),string:new i}}},1184:($,O,l)=>{var i=l(4537);$.exports=function m(E){var P=i(this,E).delete(E);return this.size-=P?1:0,P}},866:($,O,l)=>{var i=l(4537);$.exports=function m(E){return i(this,E).get(E)}},3771:($,O,l)=>{var i=l(4537);$.exports=function m(E){return i(this,E).has(E)}},1772:($,O,l)=>{var i=l(4537);$.exports=function m(E,P){var S=i(this,E),I=S.size;return S.set(E,P),this.size+=S.size==I?0:1,this}},862:($,O,l)=>{var m=l(3436)(Object,"create");$.exports=m},2158:$=>{$.exports=function O(l){var i=[];if(null!=l)for(var m in Object(l))i.push(m);return i}},3597:($,O,l)=>{$=l.nmd($);var i=l(9122),m=O&&!O.nodeType&&O,E=m&&$&&!$.nodeType&&$,S=E&&E.exports===m&&i.process,I=function(){try{return E&&E.require&&E.require("util").types||S&&S.binding&&S.binding("util")}catch{}}();$.exports=I},2902:$=>{var l=Object.prototype.toString;$.exports=function i(m){return l.call(m)}},9385:$=>{$.exports=function O(l,i){return function(m){return l(i(m))}}},3983:($,O,l)=>{var i=l(6999),m=Math.max;$.exports=function E(P,S,I){return S=m(void 0===S?P.length-1:S,0),function(){for(var x=arguments,R=-1,k=m(x.length-S,0),N=Array(k);++R<k;)N[R]=x[S+R];R=-1;for(var Y=Array(S+1);++R<S;)Y[R]=x[R];return Y[S]=I(N),i(P,this,Y)}}},2119:($,O,l)=>{var i=l(9122),m="object"==typeof self&&self&&self.Object===Object&&self,E=i||m||Function("return this")();$.exports=E},4600:$=>{$.exports=function l(i){return this.__data__.set(i,"__lodash_hash_undefined__"),this}},1387:$=>{$.exports=function O(l){return this.__data__.has(l)}},4174:$=>{$.exports=function O(l){var i=-1,m=Array(l.size);return l.forEach((function(E){m[++i]=E})),m}},2185:($,O,l)=>{var i=l(9510),E=l(29)(i);$.exports=E},29:$=>{var i=Date.now;$.exports=function m(E){var P=0,S=0;return function(){var I=i(),x=16-(I-S);if(S=I,x>0){if(++P>=800)return arguments[0]}else P=0;return E.apply(void 0,arguments)}}},4977:$=>{$.exports=function O(l,i,m){for(var E=m-1,P=l.length;++E<P;)if(l[E]===i)return E;return-1}},2315:($,O,l)=>{var i=l(5481),m=l(7609),E=l(1149);$.exports=function P(S){return m(S)?E(S):i(S)}},6007:($,O,l)=>{var i=l(6422),m=l(7609),E=l(6319);$.exports=function P(S){return m(S)?E(S):i(S)}},2827:$=>{var l=Function.prototype.toString;$.exports=function i(m){if(null!=m){try{return l.call(m)}catch{}try{return m+""}catch{}}return""}},2760:$=>{var O=/\s/;$.exports=function l(i){for(var m=i.length;m--&&O.test(i.charAt(m)););return m}},1149:$=>{var O="\\ud800-\\udfff",S="["+O+"]",I="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",x="\\ud83c[\\udffb-\\udfff]",k="[^"+O+"]",N="(?:\\ud83c[\\udde6-\\uddff]){2}",Y="[\\ud800-\\udbff][\\udc00-\\udfff]",Re="(?:"+I+"|"+x+")?",ye="[\\ufe0e\\ufe0f]?",at=ye+Re+"(?:\\u200d(?:"+[k,N,Y].join("|")+")"+ye+Re+")*",Ie="(?:"+[k+I+"?",I,N,Y,S].join("|")+")",Qe=RegExp(x+"(?="+x+")|"+Ie+at,"g");$.exports=function Fe(_t){for(var ue=Qe.lastIndex=0;Qe.test(_t);)++ue;return ue}},6319:$=>{var O="\\ud800-\\udfff",S="["+O+"]",I="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",x="\\ud83c[\\udffb-\\udfff]",k="[^"+O+"]",N="(?:\\ud83c[\\udde6-\\uddff]){2}",Y="[\\ud800-\\udbff][\\udc00-\\udfff]",Re="(?:"+I+"|"+x+")?",ye="[\\ufe0e\\ufe0f]?",at=ye+Re+"(?:\\u200d(?:"+[k,N,Y].join("|")+")"+ye+Re+")*",Ie="(?:"+[k+I+"?",I,N,Y,S].join("|")+")",Qe=RegExp(x+"(?="+x+")|"+Ie+at,"g");$.exports=function Fe(_t){return _t.match(Qe)||[]}},910:$=>{var O="\\ud800-\\udfff",P="\\u2700-\\u27bf",S="a-z\\xdf-\\xf6\\xf8-\\xff",N="A-Z\\xc0-\\xd6\\xd8-\\xde",K="\\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="["+K+"]",at="\\d+",Ie="["+P+"]",Qe="["+S+"]",Fe="[^"+O+K+at+P+S+N+"]",nt="(?:\\ud83c[\\udde6-\\uddff]){2}",Pt="[\\ud800-\\udbff][\\udc00-\\udfff]",dt="["+N+"]",ce="(?:"+Qe+"|"+Fe+")",ve="(?:"+dt+"|"+Fe+")",De="(?:['’](?:d|ll|m|re|s|t|ve))?",Le="(?:['’](?:D|LL|M|RE|S|T|VE))?",Ce="(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\\ud83c[\\udffb-\\udfff])?",we="[\\ufe0e\\ufe0f]?",Xe=we+Ce+"(?:\\u200d(?:"+["[^"+O+"]",nt,Pt].join("|")+")"+we+Ce+")*",Me="(?:"+[Ie,nt,Pt].join("|")+")"+Xe,je=RegExp([dt+"?"+Qe+"+"+De+"(?="+[ye,dt,"$"].join("|")+")",ve+"+"+Le+"(?="+[ye,dt+ce,"$"].join("|")+")",dt+"?"+ce+"+"+De,dt+"+"+Le,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",at,Me].join("|"),"g");$.exports=function st(be){return be.match(je)||[]}},9919:($,O,l)=>{var i=l(1989),m=l(4944),E=l(6555),P=m((function(S,I){i(I,E(I),S)}));$.exports=P},6684:$=>{$.exports=function O(l){return function(){return l}}},4707:($,O,l)=>{var i=l(9148),m=l(3943),E=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,k=RegExp("[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]","g");$.exports=function N(Y){return(Y=m(Y))&&Y.replace(E,i).replace(k,"")}},217:$=>{$.exports=function O(l,i){return l===i||l!=l&&i!=i}},9721:($,O,l)=>{$.exports=l(9919)},2608:$=>{$.exports=function O(l){return l}},7151:($,O,l)=>{var i=l(186),m=l(2671),E=Object.prototype,P=E.hasOwnProperty,S=E.propertyIsEnumerable,I=i(function(){return arguments}())?i:function(x){return m(x)&&P.call(x,"callee")&&!S.call(x,"callee")};$.exports=I},1503:$=>{$.exports=Array.isArray},6507:($,O,l)=>{var i=l(5946),m=l(6231);$.exports=function E(P){return null!=P&&m(P.length)&&!i(P)}},4798:($,O,l)=>{var i=l(3337),m=l(2671);$.exports=function P(S){return!0===S||!1===S||m(S)&&"[object Boolean]"==i(S)}},891:($,O,l)=>{$=l.nmd($);var i=l(2119),m=l(3580),E=O&&!O.nodeType&&O,P=E&&$&&!$.nodeType&&$,I=P&&P.exports===E?i.Buffer:void 0;$.exports=(I?I.isBuffer:void 0)||m},5946:($,O,l)=>{var i=l(3337),m=l(5940);$.exports=function x(R){if(!m(R))return!1;var k=i(R);return"[object Function]"==k||"[object GeneratorFunction]"==k||"[object AsyncFunction]"==k||"[object Proxy]"==k}},6231:$=>{$.exports=function l(i){return"number"==typeof i&&i>-1&&i%1==0&&i<=9007199254740991}},1305:$=>{$.exports=function O(l){return null===l}},9138:($,O,l)=>{var i=l(3337),m=l(2671);$.exports=function P(S){return"number"==typeof S||m(S)&&"[object Number]"==i(S)}},5940:$=>{$.exports=function O(l){var i=typeof l;return null!=l&&("object"==i||"function"==i)}},2671:$=>{$.exports=function O(l){return null!=l&&"object"==typeof l}},7614:($,O,l)=>{var i=l(3337),m=l(9519),E=l(2671),x=Function.prototype.toString,R=Object.prototype.hasOwnProperty,k=x.call(Object);$.exports=function N(Y){if(!E(Y)||"[object Object]"!=i(Y))return!1;var K=m(Y);if(null===K)return!0;var Re=R.call(K,"constructor")&&K.constructor;return"function"==typeof Re&&Re instanceof Re&&x.call(Re)==k}},248:($,O,l)=>{var i=l(3337),m=l(1503),E=l(2671);$.exports=function S(I){return"string"==typeof I||!m(I)&&E(I)&&"[object String]"==i(I)}},4129:($,O,l)=>{var i=l(3337),m=l(2671);$.exports=function P(S){return"symbol"==typeof S||m(S)&&"[object Symbol]"==i(S)}},8159:($,O,l)=>{var i=l(1083),m=l(5647),E=l(3597),P=E&&E.isTypedArray,S=P?m(P):i;$.exports=S},4235:$=>{$.exports=function O(l){return void 0===l}},6555:($,O,l)=>{var i=l(2271),m=l(2809),E=l(6507);$.exports=function P(S){return E(S)?i(S,!0):m(S)}},2552:$=>{$.exports=function O(){}},8448:($,O,l)=>{var i=l(5171),m=l(2315),E=l(4401),P=l(3943);$.exports=function S(I,x,R){I=P(I);var k=(x=E(x))?m(I):0;return x&&k<x?i(x-k,R)+I:I}},1978:($,O,l)=>{var m=l(1491)((function(E,P,S){return E+(S?"_":"")+P.toLowerCase()}));$.exports=m},3580:$=>{$.exports=function O(){return!1}},2232:($,O,l)=>{var i=l(1467),m=1/0;$.exports=function P(S){return S?(S=i(S))===m||S===-m?17976931348623157e292*(S<0?-1:1):S==S?S:0:0===S?S:0}},4401:($,O,l)=>{var i=l(2232);$.exports=function m(E){var P=i(E),S=P%1;return P==P?S?P-S:P:0}},1467:($,O,l)=>{var i=l(3348),m=l(5940),E=l(4129),S=/^[-+]0x[0-9a-f]+$/i,I=/^0b[01]+$/i,x=/^0o[0-7]+$/i,R=parseInt;$.exports=function k(N){if("number"==typeof N)return N;if(E(N))return NaN;if(m(N)){var Y="function"==typeof N.valueOf?N.valueOf():N;N=m(Y)?Y+"":Y}if("string"!=typeof N)return 0===N?N:+N;N=i(N);var K=I.test(N);return K||x.test(N)?R(N.slice(2),K?2:8):S.test(N)?NaN:+N}},3943:($,O,l)=>{var i=l(3935);$.exports=function m(E){return null==E?"":i(E)}},836:($,O,l)=>{var i=l(707);$.exports=function m(E){return E&&E.length?i(E):[]}},7188:($,O,l)=>{var i=l(69),m=l(9062),E=l(3943),P=l(910);$.exports=function S(I,x,R){return I=E(I),void 0===(x=R?void 0:x)?m(I)?P(I):i(I):I.match(x)||[]}},4879:($,O,l)=>{"use strict";l.r(O),l.d(O,{decode:()=>dt,default:()=>Le,encode:()=>ht,toASCII:()=>ve,toUnicode:()=>ce,ucs2decode:()=>_t,ucs2encode:()=>ue});const i=2147483647,m=36,N=/^xn--/,Y=/[^\0-\x7E]/,K=/[\x2E\u3002\uFF0E\uFF61]/g,Re={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},oe=Math.floor,at=String.fromCharCode;function Ie(Ce){throw new RangeError(Re[Ce])}function Fe(Ce,we){const de=Ce.split("@");let Ze="";de.length>1&&(Ze=de[0]+"@",Ce=de[1]);const Xe=function Qe(Ce,we){const de=[];let Ze=Ce.length;for(;Ze--;)de[Ze]=we(Ce[Ze]);return de}((Ce=Ce.replace(K,".")).split("."),we).join(".");return Ze+Xe}function _t(Ce){const we=[];let de=0;const Ze=Ce.length;for(;de<Ze;){const Dt=Ce.charCodeAt(de++);if(Dt>=55296&&Dt<=56319&&de<Ze){const Xe=Ce.charCodeAt(de++);56320==(64512&Xe)?we.push(((1023&Dt)<<10)+(1023&Xe)+65536):(we.push(Dt),de--)}else we.push(Dt)}return we}const ue=Ce=>String.fromCodePoint(...Ce),ge=function(Ce){return Ce-48<10?Ce-22:Ce-65<26?Ce-65:Ce-97<26?Ce-97:m},nt=function(Ce,we){return Ce+22+75*(Ce<26)-((0!=we)<<5)},Pt=function(Ce,we,de){let Ze=0;for(Ce=de?oe(Ce/700):Ce>>1,Ce+=oe(Ce/we);Ce>455;Ze+=m)Ce=oe(Ce/35);return oe(Ze+36*Ce/(Ce+38))},dt=function(Ce){const we=[],de=Ce.length;let Ze=0,Dt=128,Xe=72,Me=Ce.lastIndexOf("-");Me<0&&(Me=0);for(let je=0;je<Me;++je)Ce.charCodeAt(je)>=128&&Ie("not-basic"),we.push(Ce.charCodeAt(je));for(let je=Me>0?Me+1:0;je<de;){let st=Ze;for(let Ae=1,Ne=m;;Ne+=m){je>=de&&Ie("invalid-input");const ze=ge(Ce.charCodeAt(je++));(ze>=m||ze>oe((i-Ze)/Ae))&&Ie("overflow"),Ze+=ze*Ae;const pt=Ne<=Xe?1:Ne>=Xe+26?26:Ne-Xe;if(ze<pt)break;const wt=m-pt;Ae>oe(i/wt)&&Ie("overflow"),Ae*=wt}const be=we.length+1;Xe=Pt(Ze-st,be,0==st),oe(Ze/be)>i-Dt&&Ie("overflow"),Dt+=oe(Ze/be),Ze%=be,we.splice(Ze++,0,Dt)}return String.fromCodePoint(...we)},ht=function(Ce){const we=[];let de=(Ce=_t(Ce)).length,Ze=128,Dt=0,Xe=72;for(const st of Ce)st<128&&we.push(at(st));let Me=we.length,je=Me;for(Me&&we.push("-");je<de;){let st=i;for(const Ae of Ce)Ae>=Ze&&Ae<st&&(st=Ae);const be=je+1;st-Ze>oe((i-Dt)/be)&&Ie("overflow"),Dt+=(st-Ze)*be,Ze=st;for(const Ae of Ce)if(Ae<Ze&&++Dt>i&&Ie("overflow"),Ae==Ze){let Ne=Dt;for(let ze=m;;ze+=m){const pt=ze<=Xe?1:ze>=Xe+26?26:ze-Xe;if(Ne<pt)break;const wt=Ne-pt,Zt=m-pt;we.push(at(nt(pt+wt%Zt,0))),Ne=oe(wt/Zt)}we.push(at(nt(Ne,0))),Xe=Pt(Dt,be,je==Me),Dt=0,++je}++Dt,++Ze}return we.join("")},ce=function(Ce){return Fe(Ce,(function(we){return N.test(we)?dt(we.slice(4).toLowerCase()):we}))},ve=function(Ce){return Fe(Ce,(function(we){return Y.test(we)?"xn--"+ht(we):we}))},Le={version:"2.1.0",ucs2:{decode:_t,encode:ue},decode:dt,encode:ht,toASCII:ve,toUnicode:ce}},1135:($,O,l)=>{"use strict";l.d(O,{X:()=>m});var i=l(7579);class m extends i.x{constructor(P){super(),this._value=P}get value(){return this.getValue()}_subscribe(P){const S=super._subscribe(P);return!S.closed&&P.next(this._value),S}getValue(){const{hasError:P,thrownError:S,_value:I}=this;if(P)throw S;return this._throwIfClosed(),I}next(P){super.next(this._value=P)}}},9751:($,O,l)=>{"use strict";l.d(O,{y:()=>R});var i=l(930),m=l(727),E=l(8822),P=l(9635),S=l(2416),I=l(576),x=l(2806);let R=(()=>{class K{constructor(ye){ye&&(this._subscribe=ye)}lift(ye){const oe=new K;return oe.source=this,oe.operator=ye,oe}subscribe(ye,oe,at){const Ie=function Y(K){return K&&K instanceof i.Lv||function N(K){return K&&(0,I.m)(K.next)&&(0,I.m)(K.error)&&(0,I.m)(K.complete)}(K)&&(0,m.Nn)(K)}(ye)?ye:new i.Hp(ye,oe,at);return(0,x.x)((()=>{const{operator:Qe,source:Fe}=this;Ie.add(Qe?Qe.call(Ie,Fe):Fe?this._subscribe(Ie):this._trySubscribe(Ie))})),Ie}_trySubscribe(ye){try{return this._subscribe(ye)}catch(oe){ye.error(oe)}}forEach(ye,oe){return new(oe=k(oe))(((at,Ie)=>{let Qe;Qe=this.subscribe((Fe=>{try{ye(Fe)}catch(_t){Ie(_t),Qe?.unsubscribe()}}),Ie,at)}))}_subscribe(ye){var oe;return null===(oe=this.source)||void 0===oe?void 0:oe.subscribe(ye)}[E.L](){return this}pipe(...ye){return(0,P.U)(ye)(this)}toPromise(ye){return new(ye=k(ye))(((oe,at)=>{let Ie;this.subscribe((Qe=>Ie=Qe),(Qe=>at(Qe)),(()=>oe(Ie)))}))}}return K.create=Re=>new K(Re),K})();function k(K){var Re;return null!==(Re=K??S.v.Promise)&&void 0!==Re?Re:Promise}},7579:($,O,l)=>{"use strict";l.d(O,{x:()=>x});var i=l(9751),m=l(727);const P=(0,l(3888).d)((k=>function(){k(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}));var S=l(8737),I=l(2806);let x=(()=>{class k extends i.y{constructor(){super(),this.closed=!1,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(Y){const K=new R(this,this);return K.operator=Y,K}_throwIfClosed(){if(this.closed)throw new P}next(Y){(0,I.x)((()=>{if(this._throwIfClosed(),!this.isStopped){const K=this.observers.slice();for(const Re of K)Re.next(Y)}}))}error(Y){(0,I.x)((()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=Y;const{observers:K}=this;for(;K.length;)K.shift().error(Y)}}))}complete(){(0,I.x)((()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:Y}=this;for(;Y.length;)Y.shift().complete()}}))}unsubscribe(){this.isStopped=this.closed=!0,this.observers=null}get observed(){var Y;return(null===(Y=this.observers)||void 0===Y?void 0:Y.length)>0}_trySubscribe(Y){return this._throwIfClosed(),super._trySubscribe(Y)}_subscribe(Y){return this._throwIfClosed(),this._checkFinalizedStatuses(Y),this._innerSubscribe(Y)}_innerSubscribe(Y){const{hasError:K,isStopped:Re,observers:ye}=this;return K||Re?m.Lc:(ye.push(Y),new m.w0((()=>(0,S.P)(ye,Y))))}_checkFinalizedStatuses(Y){const{hasError:K,thrownError:Re,isStopped:ye}=this;K?Y.error(Re):ye&&Y.complete()}asObservable(){const Y=new i.y;return Y.source=this,Y}}return k.create=(N,Y)=>new R(N,Y),k})();class R extends x{constructor(N,Y){super(),this.destination=N,this.source=Y}next(N){var Y,K;null===(K=null===(Y=this.destination)||void 0===Y?void 0:Y.next)||void 0===K||K.call(Y,N)}error(N){var Y,K;null===(K=null===(Y=this.destination)||void 0===Y?void 0:Y.error)||void 0===K||K.call(Y,N)}complete(){var N,Y;null===(Y=null===(N=this.destination)||void 0===N?void 0:N.complete)||void 0===Y||Y.call(N)}_subscribe(N){var Y,K;return null!==(K=null===(Y=this.source)||void 0===Y?void 0:Y.subscribe(N))&&void 0!==K?K:m.Lc}}},930:($,O,l)=>{"use strict";l.d(O,{Hp:()=>Re,Lv:()=>K});var i=l(576),m=l(727),E=l(2416),P=l(7849),S=l(5032);const I=k("C",void 0,void 0);function k(Qe,Fe,_t){return{kind:Qe,value:Fe,error:_t}}var N=l(3410),Y=l(2806);class K extends m.w0{constructor(Fe){super(),this.isStopped=!1,Fe?(this.destination=Fe,(0,m.Nn)(Fe)&&Fe.add(this)):this.destination=Ie}static create(Fe,_t,ue){return new Re(Fe,_t,ue)}next(Fe){this.isStopped?at(function R(Qe){return k("N",Qe,void 0)}(Fe),this):this._next(Fe)}error(Fe){this.isStopped?at(function x(Qe){return k("E",void 0,Qe)}(Fe),this):(this.isStopped=!0,this._error(Fe))}complete(){this.isStopped?at(I,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(Fe){this.destination.next(Fe)}_error(Fe){try{this.destination.error(Fe)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}class Re extends K{constructor(Fe,_t,ue){let ge;if(super(),(0,i.m)(Fe))ge=Fe;else if(Fe){let nt;({next:ge,error:_t,complete:ue}=Fe),this&&E.v.useDeprecatedNextContext?(nt=Object.create(Fe),nt.unsubscribe=()=>this.unsubscribe()):nt=Fe,ge=ge?.bind(nt),_t=_t?.bind(nt),ue=ue?.bind(nt)}this.destination={next:ge?ye(ge):S.Z,error:ye(_t??oe),complete:ue?ye(ue):S.Z}}}function ye(Qe,Fe){return(..._t)=>{try{Qe(..._t)}catch(ue){E.v.useDeprecatedSynchronousErrorHandling?(0,Y.O)(ue):(0,P.h)(ue)}}}function oe(Qe){throw Qe}function at(Qe,Fe){const{onStoppedNotification:_t}=E.v;_t&&N.z.setTimeout((()=>_t(Qe,Fe)))}const Ie={closed:!0,next:S.Z,error:oe,complete:S.Z}},727:($,O,l)=>{"use strict";l.d(O,{Lc:()=>I,w0:()=>S,Nn:()=>x});var i=l(576);const E=(0,l(3888).d)((k=>function(Y){k(this),this.message=Y?`${Y.length} errors occurred during unsubscription:\n${Y.map(((K,Re)=>`${Re+1}) ${K.toString()}`)).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=Y}));var P=l(8737);class S{constructor(N){this.initialTeardown=N,this.closed=!1,this._parentage=null,this._teardowns=null}unsubscribe(){let N;if(!this.closed){this.closed=!0;const{_parentage:Y}=this;if(Y)if(this._parentage=null,Array.isArray(Y))for(const ye of Y)ye.remove(this);else Y.remove(this);const{initialTeardown:K}=this;if((0,i.m)(K))try{K()}catch(ye){N=ye instanceof E?ye.errors:[ye]}const{_teardowns:Re}=this;if(Re){this._teardowns=null;for(const ye of Re)try{R(ye)}catch(oe){N=N??[],oe instanceof E?N=[...N,...oe.errors]:N.push(oe)}}if(N)throw new E(N)}}add(N){var Y;if(N&&N!==this)if(this.closed)R(N);else{if(N instanceof S){if(N.closed||N._hasParent(this))return;N._addParent(this)}(this._teardowns=null!==(Y=this._teardowns)&&void 0!==Y?Y:[]).push(N)}}_hasParent(N){const{_parentage:Y}=this;return Y===N||Array.isArray(Y)&&Y.includes(N)}_addParent(N){const{_parentage:Y}=this;this._parentage=Array.isArray(Y)?(Y.push(N),Y):Y?[Y,N]:N}_removeParent(N){const{_parentage:Y}=this;Y===N?this._parentage=null:Array.isArray(Y)&&(0,P.P)(Y,N)}remove(N){const{_teardowns:Y}=this;Y&&(0,P.P)(Y,N),N instanceof S&&N._removeParent(this)}}S.EMPTY=(()=>{const k=new S;return k.closed=!0,k})();const I=S.EMPTY;function x(k){return k instanceof S||k&&"closed"in k&&(0,i.m)(k.remove)&&(0,i.m)(k.add)&&(0,i.m)(k.unsubscribe)}function R(k){(0,i.m)(k)?k():k.unsubscribe()}},2416:($,O,l)=>{"use strict";l.d(O,{v:()=>i});const i={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}},7272:($,O,l)=>{"use strict";l.d(O,{z:()=>S});var i=l(8189),E=l(3269),P=l(2076);function S(...I){return function m(){return(0,i.J)(1)}()((0,P.D)(I,(0,E.yG)(I)))}},515:($,O,l)=>{"use strict";l.d(O,{E:()=>m});const m=new(l(9751).y)((S=>S.complete()))},2076:($,O,l)=>{"use strict";l.d(O,{D:()=>Pt});var i=l(8421),m=l(9672),E=l(4482),P=l(5403);function S(dt,ht=0){return(0,E.e)(((ce,ve)=>{ce.subscribe(new P.Q(ve,(De=>(0,m.f)(ve,dt,(()=>ve.next(De)),ht)),(()=>(0,m.f)(ve,dt,(()=>ve.complete()),ht)),(De=>(0,m.f)(ve,dt,(()=>ve.error(De)),ht))))}))}function I(dt,ht=0){return(0,E.e)(((ce,ve)=>{ve.add(dt.schedule((()=>ce.subscribe(ve)),ht))}))}var k=l(9751),Y=l(2202),K=l(576);function ye(dt,ht){if(!dt)throw new Error("Iterable cannot be null");return new k.y((ce=>{(0,m.f)(ce,ht,(()=>{const ve=dt[Symbol.asyncIterator]();(0,m.f)(ce,ht,(()=>{ve.next().then((De=>{De.done?ce.complete():ce.next(De.value)}))}),0,!0)}))}))}var oe=l(3670),at=l(8239),Ie=l(1144),Qe=l(6495),Fe=l(2206),_t=l(4532),ue=l(3260);function Pt(dt,ht){return ht?function nt(dt,ht){if(null!=dt){if((0,oe.c)(dt))return function x(dt,ht){return(0,i.Xf)(dt).pipe(I(ht),S(ht))}(dt,ht);if((0,Ie.z)(dt))return function N(dt,ht){return new k.y((ce=>{let ve=0;return ht.schedule((function(){ve===dt.length?ce.complete():(ce.next(dt[ve++]),ce.closed||this.schedule())}))}))}(dt,ht);if((0,at.t)(dt))return function R(dt,ht){return(0,i.Xf)(dt).pipe(I(ht),S(ht))}(dt,ht);if((0,Fe.D)(dt))return ye(dt,ht);if((0,Qe.T)(dt))return function Re(dt,ht){return new k.y((ce=>{let ve;return(0,m.f)(ce,ht,(()=>{ve=dt[Y.h](),(0,m.f)(ce,ht,(()=>{let De,Le;try{({value:De,done:Le}=ve.next())}catch(Ce){return void ce.error(Ce)}Le?ce.complete():ce.next(De)}),0,!0)})),()=>(0,K.m)(ve?.return)&&ve.return()}))}(dt,ht);if((0,ue.L)(dt))return function ge(dt,ht){return ye((0,ue.Q)(dt),ht)}(dt,ht)}throw(0,_t.z)(dt)}(dt,ht):(0,i.Xf)(dt)}},4968:($,O,l)=>{"use strict";l.d(O,{R:()=>N});var i=l(8421),m=l(9751),E=l(5577),P=l(1144),S=l(576),I=l(3268);const x=["addListener","removeListener"],R=["addEventListener","removeEventListener"],k=["on","off"];function N(oe,at,Ie,Qe){if((0,S.m)(Ie)&&(Qe=Ie,Ie=void 0),Qe)return N(oe,at,Ie).pipe((0,I.Z)(Qe));const[Fe,_t]=function ye(oe){return(0,S.m)(oe.addEventListener)&&(0,S.m)(oe.removeEventListener)}(oe)?R.map((ue=>ge=>oe[ue](at,ge,Ie))):function K(oe){return(0,S.m)(oe.addListener)&&(0,S.m)(oe.removeListener)}(oe)?x.map(Y(oe,at)):function Re(oe){return(0,S.m)(oe.on)&&(0,S.m)(oe.off)}(oe)?k.map(Y(oe,at)):[];if(!Fe&&(0,P.z)(oe))return(0,E.z)((ue=>N(ue,at,Ie)))((0,i.Xf)(oe));if(!Fe)throw new TypeError("Invalid event target");return new m.y((ue=>{const ge=(...nt)=>ue.next(1<nt.length?nt:nt[0]);return Fe(ge),()=>_t(ge)}))}function Y(oe,at){return Ie=>Qe=>oe[Ie](at,Qe)}},8421:($,O,l)=>{"use strict";l.d(O,{Xf:()=>Re});var i=l(5987),m=l(1144),E=l(8239),P=l(9751),S=l(3670),I=l(2206),x=l(4532),R=l(6495),k=l(3260),N=l(576),Y=l(7849),K=l(8822);function Re(ue){if(ue instanceof P.y)return ue;if(null!=ue){if((0,S.c)(ue))return function ye(ue){return new P.y((ge=>{const nt=ue[K.L]();if((0,N.m)(nt.subscribe))return nt.subscribe(ge);throw new TypeError("Provided object does not correctly implement Symbol.observable")}))}(ue);if((0,m.z)(ue))return function oe(ue){return new P.y((ge=>{for(let nt=0;nt<ue.length&&!ge.closed;nt++)ge.next(ue[nt]);ge.complete()}))}(ue);if((0,E.t)(ue))return function at(ue){return new P.y((ge=>{ue.then((nt=>{ge.closed||(ge.next(nt),ge.complete())}),(nt=>ge.error(nt))).then(null,Y.h)}))}(ue);if((0,I.D)(ue))return Qe(ue);if((0,R.T)(ue))return function Ie(ue){return new P.y((ge=>{for(const nt of ue)if(ge.next(nt),ge.closed)return;ge.complete()}))}(ue);if((0,k.L)(ue))return function Fe(ue){return Qe((0,k.Q)(ue))}(ue)}throw(0,x.z)(ue)}function Qe(ue){return new P.y((ge=>{(function _t(ue,ge){var nt,Pt,dt,ht;return(0,i.mG)(this,void 0,void 0,(function*(){try{for(nt=(0,i.KL)(ue);!(Pt=yield nt.next()).done;)if(ge.next(Pt.value),ge.closed)return}catch(ce){dt={error:ce}}finally{try{Pt&&!Pt.done&&(ht=nt.return)&&(yield ht.call(nt))}finally{if(dt)throw dt.error}}ge.complete()}))})(ue,ge).catch((nt=>ge.error(nt)))}))}},6451:($,O,l)=>{"use strict";l.d(O,{T:()=>I});var i=l(8189),m=l(8421),E=l(515),P=l(3269),S=l(2076);function I(...x){const R=(0,P.yG)(x),k=(0,P._6)(x,1/0),N=x;return N.length?1===N.length?(0,m.Xf)(N[0]):(0,i.J)(k)((0,S.D)(N,R)):E.E}},9646:($,O,l)=>{"use strict";l.d(O,{of:()=>E});var i=l(3269),m=l(2076);function E(...P){const S=(0,i.yG)(P);return(0,m.D)(P,S)}},5963:($,O,l)=>{"use strict";l.d(O,{H:()=>S});var i=l(9751),m=l(4986),E=l(3532);function S(I=0,x,R=m.P){let k=-1;return null!=x&&((0,E.K)(x)?R=x:k=x),new i.y((N=>{let Y=function P(I){return I instanceof Date&&!isNaN(I)}(I)?+I-R.now():I;Y<0&&(Y=0);let K=0;return R.schedule((function(){N.closed||(N.next(K++),0<=k?this.schedule(void 0,k):N.complete())}),Y)}))}},5403:($,O,l)=>{"use strict";l.d(O,{Q:()=>m});var i=l(930);class m extends i.Lv{constructor(P,S,I,x,R){super(P),this.onFinalize=R,this._next=S?function(k){try{S(k)}catch(N){P.error(N)}}:super._next,this._error=x?function(k){try{x(k)}catch(N){P.error(N)}finally{this.unsubscribe()}}:super._error,this._complete=I?function(){try{I()}catch(k){P.error(k)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var P;const{closed:S}=this;super.unsubscribe(),!S&&(null===(P=this.onFinalize)||void 0===P||P.call(this))}}},3601:($,O,l)=>{"use strict";l.d(O,{e:()=>x});var i=l(4986),m=l(4482),E=l(8421),P=l(5403),I=l(5963);function x(R,k=i.P){return function S(R){return(0,m.e)(((k,N)=>{let Y=!1,K=null,Re=null,ye=!1;const oe=()=>{if(Re?.unsubscribe(),Re=null,Y){Y=!1;const Ie=K;K=null,N.next(Ie)}ye&&N.complete()},at=()=>{Re=null,ye&&N.complete()};k.subscribe(new P.Q(N,(Ie=>{Y=!0,K=Ie,Re||(0,E.Xf)(R(Ie)).subscribe(Re=new P.Q(N,oe,at))}),(()=>{ye=!0,(!Y||!Re||Re.closed)&&N.complete()})))}))}((()=>(0,I.H)(R,k)))}},4351:($,O,l)=>{"use strict";l.d(O,{b:()=>E});var i=l(5577),m=l(576);function E(P,S){return(0,m.m)(S)?(0,i.z)(P,S,1):(0,i.z)(P,1)}},6590:($,O,l)=>{"use strict";l.d(O,{d:()=>E});var i=l(4482),m=l(5403);function E(P){return(0,i.e)(((S,I)=>{let x=!1;S.subscribe(new m.Q(I,(R=>{x=!0,I.next(R)}),(()=>{x||I.next(P),I.complete()})))}))}},9300:($,O,l)=>{"use strict";l.d(O,{h:()=>E});var i=l(4482),m=l(5403);function E(P,S){return(0,i.e)(((I,x)=>{let R=0;I.subscribe(new m.Q(x,(k=>P.call(S,k,R++)&&x.next(k))))}))}},590:($,O,l)=>{"use strict";l.d(O,{P:()=>x});var i=l(6805),m=l(9300),E=l(5698),P=l(6590),S=l(8068),I=l(4671);function x(R,k){const N=arguments.length>=2;return Y=>Y.pipe(R?(0,m.h)(((K,Re)=>R(K,Re,Y))):I.y,(0,E.q)(1),N?(0,P.d)(k):(0,S.T)((()=>new i.K)))}},4004:($,O,l)=>{"use strict";l.d(O,{U:()=>E});var i=l(4482),m=l(5403);function E(P,S){return(0,i.e)(((I,x)=>{let R=0;I.subscribe(new m.Q(x,(k=>{x.next(P.call(S,k,R++))})))}))}},8189:($,O,l)=>{"use strict";l.d(O,{J:()=>E});var i=l(5577),m=l(4671);function E(P=1/0){return(0,i.z)(m.y,P)}},5577:($,O,l)=>{"use strict";l.d(O,{z:()=>R});var i=l(4004),m=l(8421),E=l(4482),P=l(9672),S=l(5403),x=l(576);function R(k,N,Y=1/0){return(0,x.m)(N)?R(((K,Re)=>(0,i.U)(((ye,oe)=>N(K,ye,Re,oe)))((0,m.Xf)(k(K,Re)))),Y):("number"==typeof N&&(Y=N),(0,E.e)(((K,Re)=>function I(k,N,Y,K,Re,ye,oe,at){const Ie=[];let Qe=0,Fe=0,_t=!1;const ue=()=>{_t&&!Ie.length&&!Qe&&N.complete()},ge=Pt=>Qe<K?nt(Pt):Ie.push(Pt),nt=Pt=>{ye&&N.next(Pt),Qe++;let dt=!1;(0,m.Xf)(Y(Pt,Fe++)).subscribe(new S.Q(N,(ht=>{Re?.(ht),ye?ge(ht):N.next(ht)}),(()=>{dt=!0}),void 0,(()=>{if(dt)try{for(Qe--;Ie.length&&Qe<K;){const ht=Ie.shift();oe?(0,P.f)(N,oe,(()=>nt(ht))):nt(ht)}ue()}catch(ht){N.error(ht)}})))};return k.subscribe(new S.Q(N,ge,(()=>{_t=!0,ue()}))),()=>{at?.()}}(K,Re,k,Y))))}},3099:($,O,l)=>{"use strict";l.d(O,{B:()=>I});var i=l(2076),m=l(5698),E=l(7579),P=l(930),S=l(4482);function I(R={}){const{connector:k=(()=>new E.x),resetOnError:N=!0,resetOnComplete:Y=!0,resetOnRefCountZero:K=!0}=R;return Re=>{let ye=null,oe=null,at=null,Ie=0,Qe=!1,Fe=!1;const _t=()=>{oe?.unsubscribe(),oe=null},ue=()=>{_t(),ye=at=null,Qe=Fe=!1},ge=()=>{const nt=ye;ue(),nt?.unsubscribe()};return(0,S.e)(((nt,Pt)=>{Ie++,!Fe&&!Qe&&_t();const dt=at=at??k();Pt.add((()=>{Ie--,0===Ie&&!Fe&&!Qe&&(oe=x(ge,K))})),dt.subscribe(Pt),ye||(ye=new P.Hp({next:ht=>dt.next(ht),error:ht=>{Fe=!0,_t(),oe=x(ue,N,ht),dt.error(ht)},complete:()=>{Qe=!0,_t(),oe=x(ue,Y),dt.complete()}}),(0,i.D)(nt).subscribe(ye))}))(Re)}}function x(R,k,...N){return!0===k?(R(),null):!1===k?null:k(...N).pipe((0,m.q)(1)).subscribe((()=>R()))}},3151:($,O,l)=>{"use strict";l.d(O,{d:()=>S});var i=l(7579),m=l(6063);class E extends i.x{constructor(x=1/0,R=1/0,k=m.l){super(),this._bufferSize=x,this._windowTime=R,this._timestampProvider=k,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=R===1/0,this._bufferSize=Math.max(1,x),this._windowTime=Math.max(1,R)}next(x){const{isStopped:R,_buffer:k,_infiniteTimeWindow:N,_timestampProvider:Y,_windowTime:K}=this;R||(k.push(x),!N&&k.push(Y.now()+K)),this._trimBuffer(),super.next(x)}_subscribe(x){this._throwIfClosed(),this._trimBuffer();const R=this._innerSubscribe(x),{_infiniteTimeWindow:k,_buffer:N}=this,Y=N.slice();for(let K=0;K<Y.length&&!x.closed;K+=k?1:2)x.next(Y[K]);return this._checkFinalizedStatuses(x),R}_trimBuffer(){const{_bufferSize:x,_timestampProvider:R,_buffer:k,_infiniteTimeWindow:N}=this,Y=(N?1:2)*x;if(x<1/0&&Y<k.length&&k.splice(0,k.length-Y),!N){const K=R.now();let Re=0;for(let ye=1;ye<k.length&&k[ye]<=K;ye+=2)Re=ye;Re&&k.splice(0,Re+1)}}}var P=l(3099);function S(I,x,R){var k,N;let Y,K=!1;return I&&"object"==typeof I?(Y=null!==(k=I.bufferSize)&&void 0!==k?k:1/0,x=null!==(N=I.windowTime)&&void 0!==N?N:1/0,K=!!I.refCount,R=I.scheduler):Y=I??1/0,(0,P.B)({connector:()=>new E(Y,x,R),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:K})}},8675:($,O,l)=>{"use strict";l.d(O,{O:()=>P});var i=l(7272),m=l(3269),E=l(4482);function P(...S){const I=(0,m.yG)(S);return(0,E.e)(((x,R)=>{(I?(0,i.z)(S,x,I):(0,i.z)(S,x)).subscribe(R)}))}},3900:($,O,l)=>{"use strict";l.d(O,{w:()=>P});var i=l(8421),m=l(4482),E=l(5403);function P(S,I){return(0,m.e)(((x,R)=>{let k=null,N=0,Y=!1;const K=()=>Y&&!k&&R.complete();x.subscribe(new E.Q(R,(Re=>{k?.unsubscribe();let ye=0;const oe=N++;(0,i.Xf)(S(Re,oe)).subscribe(k=new E.Q(R,(at=>R.next(I?I(Re,at,oe,ye++):at)),(()=>{k=null,K()})))}),(()=>{Y=!0,K()})))}))}},5698:($,O,l)=>{"use strict";l.d(O,{q:()=>P});var i=l(515),m=l(4482),E=l(5403);function P(S){return S<=0?()=>i.E:(0,m.e)(((I,x)=>{let R=0;I.subscribe(new E.Q(x,(k=>{++R<=S&&(x.next(k),S<=R&&x.complete())})))}))}},2722:($,O,l)=>{"use strict";l.d(O,{R:()=>S});var i=l(4482),m=l(5403),E=l(8421),P=l(5032);function S(I){return(0,i.e)(((x,R)=>{(0,E.Xf)(I).subscribe(new m.Q(R,(()=>R.complete()),P.Z)),!R.closed&&x.subscribe(R)}))}},8068:($,O,l)=>{"use strict";l.d(O,{T:()=>P});var i=l(6805),m=l(4482),E=l(5403);function P(I=S){return(0,m.e)(((x,R)=>{let k=!1;x.subscribe(new E.Q(R,(N=>{k=!0,R.next(N)}),(()=>k?R.complete():R.error(I()))))}))}function S(){return new i.K}},4408:($,O,l)=>{"use strict";l.d(O,{o:()=>S});var i=l(727);class m extends i.w0{constructor(x,R){super()}schedule(x,R=0){return this}}const E={setInterval(...I){const{delegate:x}=E;return(x?.setInterval||setInterval)(...I)},clearInterval(I){const{delegate:x}=E;return(x?.clearInterval||clearInterval)(I)},delegate:void 0};var P=l(8737);class S extends m{constructor(x,R){super(x,R),this.scheduler=x,this.work=R,this.pending=!1}schedule(x,R=0){if(this.closed)return this;this.state=x;const k=this.id,N=this.scheduler;return null!=k&&(this.id=this.recycleAsyncId(N,k,R)),this.pending=!0,this.delay=R,this.id=this.id||this.requestAsyncId(N,this.id,R),this}requestAsyncId(x,R,k=0){return E.setInterval(x.flush.bind(x,this),k)}recycleAsyncId(x,R,k=0){if(null!=k&&this.delay===k&&!1===this.pending)return R;E.clearInterval(R)}execute(x,R){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const k=this._execute(x,R);if(k)return k;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(x,R){let N,k=!1;try{this.work(x)}catch(Y){k=!0,N=Y||new Error("Scheduled action threw falsy error")}if(k)return this.unsubscribe(),N}unsubscribe(){if(!this.closed){const{id:x,scheduler:R}=this,{actions:k}=R;this.work=this.state=this.scheduler=null,this.pending=!1,(0,P.P)(k,this),null!=x&&(this.id=this.recycleAsyncId(R,x,null)),this.delay=null,super.unsubscribe()}}}},7565:($,O,l)=>{"use strict";l.d(O,{v:()=>E});var i=l(6063);class m{constructor(S,I=m.now){this.schedulerActionCtor=S,this.now=I}schedule(S,I=0,x){return new this.schedulerActionCtor(this,S).schedule(x,I)}}m.now=i.l.now;class E extends m{constructor(S,I=m.now){super(S,I),this.actions=[],this._active=!1,this._scheduled=void 0}flush(S){const{actions:I}=this;if(this._active)return void I.push(S);let x;this._active=!0;do{if(x=S.execute(S.state,S.delay))break}while(S=I.shift());if(this._active=!1,x){for(;S=I.shift();)S.unsubscribe();throw x}}}},4986:($,O,l)=>{"use strict";l.d(O,{P:()=>P});var i=l(4408);const P=new(l(7565).v)(i.o)},6063:($,O,l)=>{"use strict";l.d(O,{l:()=>i});const i={now:()=>(i.delegate||Date).now(),delegate:void 0}},3410:($,O,l)=>{"use strict";l.d(O,{z:()=>i});const i={setTimeout(...m){const{delegate:E}=i;return(E?.setTimeout||setTimeout)(...m)},clearTimeout(m){const{delegate:E}=i;return(E?.clearTimeout||clearTimeout)(m)},delegate:void 0}},2202:($,O,l)=>{"use strict";l.d(O,{h:()=>m});const m=function i(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}()},8822:($,O,l)=>{"use strict";l.d(O,{L:()=>i});const i="function"==typeof Symbol&&Symbol.observable||"@@observable"},6805:($,O,l)=>{"use strict";l.d(O,{K:()=>m});const m=(0,l(3888).d)((E=>function(){E(this),this.name="EmptyError",this.message="no elements in sequence"}))},3269:($,O,l)=>{"use strict";l.d(O,{_6:()=>I,jO:()=>P,yG:()=>S});var i=l(576),m=l(3532);function E(x){return x[x.length-1]}function P(x){return(0,i.m)(E(x))?x.pop():void 0}function S(x){return(0,m.K)(E(x))?x.pop():void 0}function I(x,R){return"number"==typeof E(x)?x.pop():R}},4742:($,O,l)=>{"use strict";l.d(O,{D:()=>S});const{isArray:i}=Array,{getPrototypeOf:m,prototype:E,keys:P}=Object;function S(x){if(1===x.length){const R=x[0];if(i(R))return{args:R,keys:null};if(function I(x){return x&&"object"==typeof x&&m(x)===E}(R)){const k=P(R);return{args:k.map((N=>R[N])),keys:k}}}return{args:x,keys:null}}},8737:($,O,l)=>{"use strict";function i(m,E){if(m){const P=m.indexOf(E);0<=P&&m.splice(P,1)}}l.d(O,{P:()=>i})},3888:($,O,l)=>{"use strict";function i(m){const P=m((S=>{Error.call(S),S.stack=(new Error).stack}));return P.prototype=Object.create(Error.prototype),P.prototype.constructor=P,P}l.d(O,{d:()=>i})},1810:($,O,l)=>{"use strict";function i(m,E){return m.reduce(((P,S,I)=>(P[S]=E[I],P)),{})}l.d(O,{n:()=>i})},2806:($,O,l)=>{"use strict";l.d(O,{O:()=>P,x:()=>E});var i=l(2416);let m=null;function E(S){if(i.v.useDeprecatedSynchronousErrorHandling){const I=!m;if(I&&(m={errorThrown:!1,error:null}),S(),I){const{errorThrown:x,error:R}=m;if(m=null,x)throw R}}else S()}function P(S){i.v.useDeprecatedSynchronousErrorHandling&&m&&(m.errorThrown=!0,m.error=S)}},9672:($,O,l)=>{"use strict";function i(m,E,P,S=0,I=!1){const x=E.schedule((function(){P(),I?m.add(this.schedule(null,S)):this.unsubscribe()}),S);if(m.add(x),!I)return x}l.d(O,{f:()=>i})},4671:($,O,l)=>{"use strict";function i(m){return m}l.d(O,{y:()=>i})},1144:($,O,l)=>{"use strict";l.d(O,{z:()=>i});const i=m=>m&&"number"==typeof m.length&&"function"!=typeof m},2206:($,O,l)=>{"use strict";l.d(O,{D:()=>m});var i=l(576);function m(E){return Symbol.asyncIterator&&(0,i.m)(E?.[Symbol.asyncIterator])}},576:($,O,l)=>{"use strict";function i(m){return"function"==typeof m}l.d(O,{m:()=>i})},3670:($,O,l)=>{"use strict";l.d(O,{c:()=>E});var i=l(8822),m=l(576);function E(P){return(0,m.m)(P[i.L])}},6495:($,O,l)=>{"use strict";l.d(O,{T:()=>E});var i=l(2202),m=l(576);function E(P){return(0,m.m)(P?.[i.h])}},8239:($,O,l)=>{"use strict";l.d(O,{t:()=>m});var i=l(576);function m(E){return(0,i.m)(E?.then)}},3260:($,O,l)=>{"use strict";l.d(O,{L:()=>P,Q:()=>E});var i=l(5987),m=l(576);function E(S){return(0,i.FC)(this,arguments,(function*(){const x=S.getReader();try{for(;;){const{value:R,done:k}=yield(0,i.qq)(x.read());if(k)return yield(0,i.qq)(void 0);yield yield(0,i.qq)(R)}}finally{x.releaseLock()}}))}function P(S){return(0,m.m)(S?.getReader)}},3532:($,O,l)=>{"use strict";l.d(O,{K:()=>m});var i=l(576);function m(E){return E&&(0,i.m)(E.schedule)}},4482:($,O,l)=>{"use strict";l.d(O,{A:()=>m,e:()=>E});var i=l(576);function m(P){return(0,i.m)(P?.lift)}function E(P){return S=>{if(m(S))return S.lift((function(I){try{return P(I,this)}catch(x){this.error(x)}}));throw new TypeError("Unable to lift unknown Observable type")}}},3268:($,O,l)=>{"use strict";l.d(O,{Z:()=>P});var i=l(4004);const{isArray:m}=Array;function P(S){return(0,i.U)((I=>function E(S,I){return m(I)?S(...I):S(I)}(S,I)))}},5032:($,O,l)=>{"use strict";function i(){}l.d(O,{Z:()=>i})},9635:($,O,l)=>{"use strict";l.d(O,{U:()=>E,z:()=>m});var i=l(4671);function m(...P){return E(P)}function E(P){return 0===P.length?i.y:1===P.length?P[0]:function(I){return P.reduce(((x,R)=>R(x)),I)}}},7849:($,O,l)=>{"use strict";l.d(O,{h:()=>E});var i=l(2416),m=l(3410);function E(P){m.z.setTimeout((()=>{const{onUnhandledError:S}=i.v;if(!S)throw P;S(P)}))}},4532:($,O,l)=>{"use strict";function i(m){return new TypeError(`You provided ${null!==m&&"object"==typeof m?"an invalid object":`'${m}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}l.d(O,{z:()=>i})},8583:()=>{"use strict";!function(ae){const ke=ae.performance;function ot(q){ke&&ke.mark&&ke.mark(q)}function xe(q,W){ke&&ke.measure&&ke.measure(q,W)}ot("Zone");const tt=ae.__Zone_symbol_prefix||"__zone_symbol__";function it(q){return tt+q}const F=!0===ae[it("forceDuplicateZoneCheck")];if(ae.Zone){if(F||"function"!=typeof ae.Zone.__symbol__)throw new Error("Zone already loaded.");return ae.Zone}let ee=(()=>{class q{constructor(j,ne){this._parent=j,this._name=ne?ne.name||"unnamed":"<root>",this._properties=ne&&ne.properties||{},this._zoneDelegate=new Te(this,this._parent&&this._parent._zoneDelegate,ne)}static assertZonePatched(){if(ae.Promise!==Ee.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 j=q.current;for(;j.parent;)j=j.parent;return j}static get current(){return te.zone}static get currentTask(){return Ge}static __load_patch(j,ne,ft=!1){if(Ee.hasOwnProperty(j)){if(!ft&&F)throw Error("Already loaded patch: "+j)}else if(!ae["__Zone_disable_"+j]){const St="Zone:"+j;ot(St),Ee[j]=ne(ae,q,Q),xe(St,St)}}get parent(){return this._parent}get name(){return this._name}get(j){const ne=this.getZoneWith(j);if(ne)return ne._properties[j]}getZoneWith(j){let ne=this;for(;ne;){if(ne._properties.hasOwnProperty(j))return ne;ne=ne._parent}return null}fork(j){if(!j)throw new Error("ZoneSpec required!");return this._zoneDelegate.fork(this,j)}wrap(j,ne){if("function"!=typeof j)throw new Error("Expecting function got: "+j);const ft=this._zoneDelegate.intercept(this,j,ne),St=this;return function(){return St.runGuarded(ft,this,arguments,ne)}}run(j,ne,ft,St){te={parent:te,zone:this};try{return this._zoneDelegate.invoke(this,j,ne,ft,St)}finally{te=te.parent}}runGuarded(j,ne=null,ft,St){te={parent:te,zone:this};try{try{return this._zoneDelegate.invoke(this,j,ne,ft,St)}catch(Vt){if(this._zoneDelegate.handleError(this,Vt))throw Vt}}finally{te=te.parent}}runTask(j,ne,ft){if(j.zone!=this)throw new Error("A task can only be run in the zone of creation! (Creation: "+(j.zone||un).name+"; Execution: "+this.name+")");if(j.state===mn&&(j.type===sn||j.type===Jt))return;const St=j.state!=Lt;St&&j._transitionTo(Lt,Xt),j.runCount++;const Vt=Ge;Ge=j,te={parent:te,zone:this};try{j.type==Jt&&j.data&&!j.data.isPeriodic&&(j.cancelFn=void 0);try{return this._zoneDelegate.invokeTask(this,j,ne,ft)}catch(rt){if(this._zoneDelegate.handleError(this,rt))throw rt}}finally{j.state!==mn&&j.state!==Bt&&(j.type==sn||j.data&&j.data.isPeriodic?St&&j._transitionTo(Xt,Lt):(j.runCount=0,this._updateTaskCount(j,-1),St&&j._transitionTo(mn,Lt,mn))),te=te.parent,Ge=Vt}}scheduleTask(j){if(j.zone&&j.zone!==this){let ft=this;for(;ft;){if(ft===j.zone)throw Error(`can not reschedule task to ${this.name} which is descendants of the original zone ${j.zone.name}`);ft=ft.parent}}j._transitionTo(Cn,mn);const ne=[];j._zoneDelegates=ne,j._zone=this;try{j=this._zoneDelegate.scheduleTask(this,j)}catch(ft){throw j._transitionTo(Bt,Cn,mn),this._zoneDelegate.handleError(this,ft),ft}return j._zoneDelegates===ne&&this._updateTaskCount(j,1),j.state==Cn&&j._transitionTo(Xt,Cn),j}scheduleMicroTask(j,ne,ft,St){return this.scheduleTask(new Ke(en,j,ne,ft,St,void 0))}scheduleMacroTask(j,ne,ft,St,Vt){return this.scheduleTask(new Ke(Jt,j,ne,ft,St,Vt))}scheduleEventTask(j,ne,ft,St,Vt){return this.scheduleTask(new Ke(sn,j,ne,ft,St,Vt))}cancelTask(j){if(j.zone!=this)throw new Error("A task can only be cancelled in the zone of creation! (Creation: "+(j.zone||un).name+"; Execution: "+this.name+")");j._transitionTo(wn,Xt,Lt);try{this._zoneDelegate.cancelTask(this,j)}catch(ne){throw j._transitionTo(Bt,wn),this._zoneDelegate.handleError(this,ne),ne}return this._updateTaskCount(j,-1),j._transitionTo(mn,wn),j.runCount=0,j}_updateTaskCount(j,ne){const ft=j._zoneDelegates;-1==ne&&(j._zoneDelegates=null);for(let St=0;St<ft.length;St++)ft[St]._updateTaskCount(j.type,ne)}}return q.__symbol__=it,q})();const he={name:"",onHasTask:(q,W,j,ne)=>q.hasTask(j,ne),onScheduleTask:(q,W,j,ne)=>q.scheduleTask(j,ne),onInvokeTask:(q,W,j,ne,ft,St)=>q.invokeTask(j,ne,ft,St),onCancelTask:(q,W,j,ne)=>q.cancelTask(j,ne)};class Te{constructor(W,j,ne){this._taskCounts={microTask:0,macroTask:0,eventTask:0},this.zone=W,this._parentDelegate=j,this._forkZS=ne&&(ne&&ne.onFork?ne:j._forkZS),this._forkDlgt=ne&&(ne.onFork?j:j._forkDlgt),this._forkCurrZone=ne&&(ne.onFork?this.zone:j._forkCurrZone),this._interceptZS=ne&&(ne.onIntercept?ne:j._interceptZS),this._interceptDlgt=ne&&(ne.onIntercept?j:j._interceptDlgt),this._interceptCurrZone=ne&&(ne.onIntercept?this.zone:j._interceptCurrZone),this._invokeZS=ne&&(ne.onInvoke?ne:j._invokeZS),this._invokeDlgt=ne&&(ne.onInvoke?j:j._invokeDlgt),this._invokeCurrZone=ne&&(ne.onInvoke?this.zone:j._invokeCurrZone),this._handleErrorZS=ne&&(ne.onHandleError?ne:j._handleErrorZS),this._handleErrorDlgt=ne&&(ne.onHandleError?j:j._handleErrorDlgt),this._handleErrorCurrZone=ne&&(ne.onHandleError?this.zone:j._handleErrorCurrZone),this._scheduleTaskZS=ne&&(ne.onScheduleTask?ne:j._scheduleTaskZS),this._scheduleTaskDlgt=ne&&(ne.onScheduleTask?j:j._scheduleTaskDlgt),this._scheduleTaskCurrZone=ne&&(ne.onScheduleTask?this.zone:j._scheduleTaskCurrZone),this._invokeTaskZS=ne&&(ne.onInvokeTask?ne:j._invokeTaskZS),this._invokeTaskDlgt=ne&&(ne.onInvokeTask?j:j._invokeTaskDlgt),this._invokeTaskCurrZone=ne&&(ne.onInvokeTask?this.zone:j._invokeTaskCurrZone),this._cancelTaskZS=ne&&(ne.onCancelTask?ne:j._cancelTaskZS),this._cancelTaskDlgt=ne&&(ne.onCancelTask?j:j._cancelTaskDlgt),this._cancelTaskCurrZone=ne&&(ne.onCancelTask?this.zone:j._cancelTaskCurrZone),this._hasTaskZS=null,this._hasTaskDlgt=null,this._hasTaskDlgtOwner=null,this._hasTaskCurrZone=null;const ft=ne&&ne.onHasTask;(ft||j&&j._hasTaskZS)&&(this._hasTaskZS=ft?ne:he,this._hasTaskDlgt=j,this._hasTaskDlgtOwner=this,this._hasTaskCurrZone=W,ne.onScheduleTask||(this._scheduleTaskZS=he,this._scheduleTaskDlgt=j,this._scheduleTaskCurrZone=this.zone),ne.onInvokeTask||(this._invokeTaskZS=he,this._invokeTaskDlgt=j,this._invokeTaskCurrZone=this.zone),ne.onCancelTask||(this._cancelTaskZS=he,this._cancelTaskDlgt=j,this._cancelTaskCurrZone=this.zone))}fork(W,j){return this._forkZS?this._forkZS.onFork(this._forkDlgt,this.zone,W,j):new ee(W,j)}intercept(W,j,ne){return this._interceptZS?this._interceptZS.onIntercept(this._interceptDlgt,this._interceptCurrZone,W,j,ne):j}invoke(W,j,ne,ft,St){return this._invokeZS?this._invokeZS.onInvoke(this._invokeDlgt,this._invokeCurrZone,W,j,ne,ft,St):j.apply(ne,ft)}handleError(W,j){return!this._handleErrorZS||this._handleErrorZS.onHandleError(this._handleErrorDlgt,this._handleErrorCurrZone,W,j)}scheduleTask(W,j){let ne=j;if(this._scheduleTaskZS)this._hasTaskZS&&ne._zoneDelegates.push(this._hasTaskDlgtOwner),ne=this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt,this._scheduleTaskCurrZone,W,j),ne||(ne=j);else if(j.scheduleFn)j.scheduleFn(j);else{if(j.type!=en)throw new Error("Task is missing scheduleFn.");kt(j)}return ne}invokeTask(W,j,ne,ft){return this._invokeTaskZS?this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt,this._invokeTaskCurrZone,W,j,ne,ft):j.callback.apply(ne,ft)}cancelTask(W,j){let ne;if(this._cancelTaskZS)ne=this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt,this._cancelTaskCurrZone,W,j);else{if(!j.cancelFn)throw Error("Task is not cancelable");ne=j.cancelFn(j)}return ne}hasTask(W,j){try{this._hasTaskZS&&this._hasTaskZS.onHasTask(this._hasTaskDlgt,this._hasTaskCurrZone,W,j)}catch(ne){this.handleError(W,ne)}}_updateTaskCount(W,j){const ne=this._taskCounts,ft=ne[W],St=ne[W]=ft+j;if(St<0)throw new Error("More tasks executed then were scheduled.");0!=ft&&0!=St||this.hasTask(this.zone,{microTask:ne.microTask>0,macroTask:ne.macroTask>0,eventTask:ne.eventTask>0,change:W})}}class Ke{constructor(W,j,ne,ft,St,Vt){if(this._zone=null,this.runCount=0,this._zoneDelegates=null,this._state="notScheduled",this.type=W,this.source=j,this.data=ft,this.scheduleFn=St,this.cancelFn=Vt,!ne)throw new Error("callback is not defined");this.callback=ne;const rt=this;this.invoke=W===sn&&ft&&ft.useG?Ke.invokeTask:function(){return Ke.invokeTask.call(ae,rt,this,arguments)}}static invokeTask(W,j,ne){W||(W=this),Ue++;try{return W.runCount++,W.zone.runTask(W,j,ne)}finally{1==Ue&<(),Ue--}}get zone(){return this._zone}get state(){return this._state}cancelScheduleRequest(){this._transitionTo(mn,Cn)}_transitionTo(W,j,ne){if(this._state!==j&&this._state!==ne)throw new Error(`${this.type} '${this.source}': can not transition to '${W}', expecting state '${j}'${ne?" or '"+ne+"'":""}, was '${this._state}'.`);this._state=W,W==mn&&(this._zoneDelegates=null)}toString(){return this.data&&typeof this.data.handleId<"u"?this.data.handleId.toString():Object.prototype.toString.call(this)}toJSON(){return{type:this.type,state:this.state,source:this.source,zone:this.zone.name,runCount:this.runCount}}}const ut=it("setTimeout"),Je=it("Promise"),vt=it("then");let At,Ct=[],Nt=!1;function Yt(q){if(At||ae[Je]&&(At=ae[Je].resolve(0)),At){let W=At[vt];W||(W=At.then),W.call(At,q)}else ae[ut](q,0)}function kt(q){0===Ue&&0===Ct.length&&Yt(lt),q&&Ct.push(q)}function lt(){if(!Nt){for(Nt=!0;Ct.length;){const q=Ct;Ct=[];for(let W=0;W<q.length;W++){const j=q[W];try{j.zone.runTask(j,null,null)}catch(ne){Q.onUnhandledError(ne)}}}Q.microtaskDrainDone(),Nt=!1}}const un={name:"NO ZONE"},mn="notScheduled",Cn="scheduling",Xt="scheduled",Lt="running",wn="canceling",Bt="unknown",en="microTask",Jt="macroTask",sn="eventTask",Ee={},Q={symbol:it,currentZoneFrame:()=>te,onUnhandledError:J,microtaskDrainDone:J,scheduleMicroTask:kt,showUncaughtError:()=>!ee[it("ignoreConsoleErrorUncaughtError")],patchEventTarget:()=>[],patchOnProperties:J,patchMethod:()=>J,bindArguments:()=>[],patchThen:()=>J,patchMacroTask:()=>J,patchEventPrototype:()=>J,isIEOrEdge:()=>!1,getGlobalObjects:()=>{},ObjectDefineProperty:()=>J,ObjectGetOwnPropertyDescriptor:()=>{},ObjectCreate:()=>{},ArraySlice:()=>[],patchClass:()=>J,wrapWithCurrentZone:()=>J,filterProperties:()=>[],attachOriginToPatched:()=>J,_redefineProperty:()=>J,patchCallbacks:()=>J,nativeScheduleMicroTask:Yt};let te={parent:null,zone:new ee(null,null)},Ge=null,Ue=0;function J(){}xe("Zone","Zone"),ae.Zone=ee}(typeof window<"u"&&window||typeof self<"u"&&self||global);const $=Object.getOwnPropertyDescriptor,O=Object.defineProperty,l=Object.getPrototypeOf,i=Object.create,m=Array.prototype.slice,E="addEventListener",P="removeEventListener",S=Zone.__symbol__(E),I=Zone.__symbol__(P),x="true",R="false",k=Zone.__symbol__("");function N(ae,ke){return Zone.current.wrap(ae,ke)}function Y(ae,ke,ot,xe,tt){return Zone.current.scheduleMacroTask(ae,ke,ot,xe,tt)}const K=Zone.__symbol__,Re=typeof window<"u",ye=Re?window:void 0,oe=Re&&ye||"object"==typeof self&&self||global;function Ie(ae,ke){for(let ot=ae.length-1;ot>=0;ot--)"function"==typeof ae[ot]&&(ae[ot]=N(ae[ot],ke+"_"+ot));return ae}function Fe(ae){return!ae||!1!==ae.writable&&!("function"==typeof ae.get&&typeof ae.set>"u")}const _t=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope,ue=!("nw"in oe)&&typeof oe.process<"u"&&"[object process]"==={}.toString.call(oe.process),ge=!ue&&!_t&&!(!Re||!ye.HTMLElement),nt=typeof oe.process<"u"&&"[object process]"==={}.toString.call(oe.process)&&!_t&&!(!Re||!ye.HTMLElement),Pt={},dt=function(ae){if(!(ae=ae||oe.event))return;let ke=Pt[ae.type];ke||(ke=Pt[ae.type]=K("ON_PROPERTY"+ae.type));const ot=this||ae.target||oe,xe=ot[ke];let tt;if(ge&&ot===ye&&"error"===ae.type){const it=ae;tt=xe&&xe.call(this,it.message,it.filename,it.lineno,it.colno,it.error),!0===tt&&ae.preventDefault()}else tt=xe&&xe.apply(this,arguments),null!=tt&&!tt&&ae.preventDefault();return tt};function ht(ae,ke,ot){let xe=$(ae,ke);if(!xe&&ot&&$(ot,ke)&&(xe={enumerable:!0,configurable:!0}),!xe||!xe.configurable)return;const tt=K("on"+ke+"patched");if(ae.hasOwnProperty(tt)&&ae[tt])return;delete xe.writable,delete xe.value;const it=xe.get,F=xe.set,ee=ke.slice(2);let he=Pt[ee];he||(he=Pt[ee]=K("ON_PROPERTY"+ee)),xe.set=function(Te){let Ke=this;!Ke&&ae===oe&&(Ke=oe),Ke&&("function"==typeof Ke[he]&&Ke.removeEventListener(ee,dt),F&&F.call(Ke,null),Ke[he]=Te,"function"==typeof Te&&Ke.addEventListener(ee,dt,!1))},xe.get=function(){let Te=this;if(!Te&&ae===oe&&(Te=oe),!Te)return null;const Ke=Te[he];if(Ke)return Ke;if(it){let ut=it.call(this);if(ut)return xe.set.call(this,ut),"function"==typeof Te.removeAttribute&&Te.removeAttribute(ke),ut}return null},O(ae,ke,xe),ae[tt]=!0}function ce(ae,ke,ot){if(ke)for(let xe=0;xe<ke.length;xe++)ht(ae,"on"+ke[xe],ot);else{const xe=[];for(const tt in ae)"on"==tt.slice(0,2)&&xe.push(tt);for(let tt=0;tt<xe.length;tt++)ht(ae,xe[tt],ot)}}const ve=K("originalInstance");function De(ae){const ke=oe[ae];if(!ke)return;oe[K(ae)]=ke,oe[ae]=function(){const tt=Ie(arguments,ae);switch(tt.length){case 0:this[ve]=new ke;break;case 1:this[ve]=new ke(tt[0]);break;case 2:this[ve]=new ke(tt[0],tt[1]);break;case 3:this[ve]=new ke(tt[0],tt[1],tt[2]);break;case 4:this[ve]=new ke(tt[0],tt[1],tt[2],tt[3]);break;default:throw new Error("Arg list too long.")}},we(oe[ae],ke);const ot=new ke((function(){}));let xe;for(xe in ot)"XMLHttpRequest"===ae&&"responseBlob"===xe||function(tt){"function"==typeof ot[tt]?oe[ae].prototype[tt]=function(){return this[ve][tt].apply(this[ve],arguments)}:O(oe[ae].prototype,tt,{set:function(it){"function"==typeof it?(this[ve][tt]=N(it,ae+"."+tt),we(this[ve][tt],it)):this[ve][tt]=it},get:function(){return this[ve][tt]}})}(xe);for(xe in ke)"prototype"!==xe&&ke.hasOwnProperty(xe)&&(oe[ae][xe]=ke[xe])}function Le(ae,ke,ot){let xe=ae;for(;xe&&!xe.hasOwnProperty(ke);)xe=l(xe);!xe&&ae[ke]&&(xe=ae);const tt=K(ke);let it=null;if(xe&&(!(it=xe[tt])||!xe.hasOwnProperty(tt))&&(it=xe[tt]=xe[ke],Fe(xe&&$(xe,ke)))){const ee=ot(it,tt,ke);xe[ke]=function(){return ee(this,arguments)},we(xe[ke],it)}return it}function Ce(ae,ke,ot){let xe=null;function tt(it){const F=it.data;return F.args[F.cbIdx]=function(){it.invoke.apply(this,arguments)},xe.apply(F.target,F.args),it}xe=Le(ae,ke,(it=>function(F,ee){const he=ot(F,ee);return he.cbIdx>=0&&"function"==typeof ee[he.cbIdx]?Y(he.name,ee[he.cbIdx],he,tt):it.apply(F,ee)}))}function we(ae,ke){ae[K("OriginalDelegate")]=ke}let de=!1,Ze=!1;function Xe(){if(de)return Ze;de=!0;try{const ae=ye.navigator.userAgent;(-1!==ae.indexOf("MSIE ")||-1!==ae.indexOf("Trident/")||-1!==ae.indexOf("Edge/"))&&(Ze=!0)}catch{}return Ze}Zone.__load_patch("ZoneAwarePromise",((ae,ke,ot)=>{const xe=Object.getOwnPropertyDescriptor,tt=Object.defineProperty,F=ot.symbol,ee=[],he=!0===ae[F("DISABLE_WRAPPING_UNCAUGHT_PROMISE_REJECTION")],Te=F("Promise"),Ke=F("then");ot.onUnhandledError=rt=>{if(ot.showUncaughtError()){const yt=rt&&rt.rejection;yt?console.error("Unhandled Promise rejection:",yt instanceof Error?yt.message:yt,"; Zone:",rt.zone.name,"; Task:",rt.task&&rt.task.source,"; Value:",yt,yt instanceof Error?yt.stack:void 0):console.error(rt)}},ot.microtaskDrainDone=()=>{for(;ee.length;){const rt=ee.shift();try{rt.zone.runGuarded((()=>{throw rt.throwOriginal?rt.rejection:rt}))}catch(yt){vt(yt)}}};const Je=F("unhandledPromiseRejectionHandler");function vt(rt){ot.onUnhandledError(rt);try{const yt=ke[Je];"function"==typeof yt&&yt.call(this,rt)}catch{}}function Ct(rt){return rt&&rt.then}function Nt(rt){return rt}function At(rt){return j.reject(rt)}const Yt=F("state"),kt=F("value"),lt=F("finally"),un=F("parentPromiseValue"),mn=F("parentPromiseState"),Xt=null,wn=!1;function en(rt,yt){return Oe=>{try{Q(rt,yt,Oe)}catch(Tt){Q(rt,!1,Tt)}}}const Jt=function(){let rt=!1;return function(Oe){return function(){rt||(rt=!0,Oe.apply(null,arguments))}}},Ee=F("currentTaskTrace");function Q(rt,yt,Oe){const Tt=Jt();if(rt===Oe)throw new TypeError("Promise resolved with itself");if(rt[Yt]===Xt){let Ft=null;try{("object"==typeof Oe||"function"==typeof Oe)&&(Ft=Oe&&Oe.then)}catch(Kt){return Tt((()=>{Q(rt,!1,Kt)}))(),rt}if(yt!==wn&&Oe instanceof j&&Oe.hasOwnProperty(Yt)&&Oe.hasOwnProperty(kt)&&Oe[Yt]!==Xt)Ge(Oe),Q(rt,Oe[Yt],Oe[kt]);else if(yt!==wn&&"function"==typeof Ft)try{Ft.call(Oe,Tt(en(rt,yt)),Tt(en(rt,!1)))}catch(Kt){Tt((()=>{Q(rt,!1,Kt)}))()}else{rt[Yt]=yt;const Kt=rt[kt];if(rt[kt]=Oe,rt[lt]===lt&&!0===yt&&(rt[Yt]=rt[mn],rt[kt]=rt[un]),yt===wn&&Oe instanceof Error){const $t=ke.currentTask&&ke.currentTask.data&&ke.currentTask.data.__creationTrace__;$t&&tt(Oe,Ee,{configurable:!0,enumerable:!1,writable:!0,value:$t})}for(let $t=0;$t<Kt.length;)Ue(rt,Kt[$t++],Kt[$t++],Kt[$t++],Kt[$t++]);if(0==Kt.length&&yt==wn){rt[Yt]=0;let $t=Oe;try{throw new Error("Uncaught (in promise): "+function it(rt){return rt&&rt.toString===Object.prototype.toString?(rt.constructor&&rt.constructor.name||"")+": "+JSON.stringify(rt):rt?rt.toString():Object.prototype.toString.call(rt)}(Oe)+(Oe&&Oe.stack?"\n"+Oe.stack:""))}catch(Qt){$t=Qt}he&&($t.throwOriginal=!0),$t.rejection=Oe,$t.promise=rt,$t.zone=ke.current,$t.task=ke.currentTask,ee.push($t),ot.scheduleMicroTask()}}}return rt}const te=F("rejectionHandledHandler");function Ge(rt){if(0===rt[Yt]){try{const yt=ke[te];yt&&"function"==typeof yt&&yt.call(this,{rejection:rt[kt],promise:rt})}catch{}rt[Yt]=wn;for(let yt=0;yt<ee.length;yt++)rt===ee[yt].promise&&ee.splice(yt,1)}}function Ue(rt,yt,Oe,Tt,Ft){Ge(rt);const Kt=rt[Yt],$t=Kt?"function"==typeof Tt?Tt:Nt:"function"==typeof Ft?Ft:At;yt.scheduleMicroTask("Promise.then",(()=>{try{const Qt=rt[kt],dn=!!Oe&<===Oe[lt];dn&&(Oe[un]=Qt,Oe[mn]=Kt);const an=yt.run($t,void 0,dn&&$t!==At&&$t!==Nt?[]:[Qt]);Q(Oe,!0,an)}catch(Qt){Q(Oe,!1,Qt)}}),Oe)}const q=function(){},W=ae.AggregateError;class j{static toString(){return"function ZoneAwarePromise() { [native code] }"}static resolve(yt){return Q(new this(null),!0,yt)}static reject(yt){return Q(new this(null),wn,yt)}static any(yt){if(!yt||"function"!=typeof yt[Symbol.iterator])return Promise.reject(new W([],"All promises were rejected"));const Oe=[];let Tt=0;try{for(let $t of yt)Tt++,Oe.push(j.resolve($t))}catch{return Promise.reject(new W([],"All promises were rejected"))}if(0===Tt)return Promise.reject(new W([],"All promises were rejected"));let Ft=!1;const Kt=[];return new j((($t,Qt)=>{for(let dn=0;dn<Oe.length;dn++)Oe[dn].then((an=>{Ft||(Ft=!0,$t(an))}),(an=>{Kt.push(an),Tt--,0===Tt&&(Ft=!0,Qt(new W(Kt,"All promises were rejected")))}))}))}static race(yt){let Oe,Tt,Ft=new this(((Qt,dn)=>{Oe=Qt,Tt=dn}));function Kt(Qt){Oe(Qt)}function $t(Qt){Tt(Qt)}for(let Qt of yt)Ct(Qt)||(Qt=this.resolve(Qt)),Qt.then(Kt,$t);return Ft}static all(yt){return j.allWithCallback(yt)}static allSettled(yt){return(this&&this.prototype instanceof j?this:j).allWithCallback(yt,{thenCallback:Tt=>({status:"fulfilled",value:Tt}),errorCallback:Tt=>({status:"rejected",reason:Tt})})}static allWithCallback(yt,Oe){let Tt,Ft,Kt=new this(((an,bn)=>{Tt=an,Ft=bn})),$t=2,Qt=0;const dn=[];for(let an of yt){Ct(an)||(an=this.resolve(an));const bn=Qt;try{an.then((Tn=>{dn[bn]=Oe?Oe.thenCallback(Tn):Tn,$t--,0===$t&&Tt(dn)}),(Tn=>{Oe?(dn[bn]=Oe.errorCallback(Tn),$t--,0===$t&&Tt(dn)):Ft(Tn)}))}catch(Tn){Ft(Tn)}$t++,Qt++}return $t-=2,0===$t&&Tt(dn),Kt}constructor(yt){const Oe=this;if(!(Oe instanceof j))throw new Error("Must be an instanceof Promise.");Oe[Yt]=Xt,Oe[kt]=[];try{const Tt=Jt();yt&&yt(Tt(en(Oe,!0)),Tt(en(Oe,wn)))}catch(Tt){Q(Oe,!1,Tt)}}get[Symbol.toStringTag](){return"Promise"}get[Symbol.species](){return j}then(yt,Oe){var Tt;let Ft=null===(Tt=this.constructor)||void 0===Tt?void 0:Tt[Symbol.species];(!Ft||"function"!=typeof Ft)&&(Ft=this.constructor||j);const Kt=new Ft(q),$t=ke.current;return this[Yt]==Xt?this[kt].push($t,Kt,yt,Oe):Ue(this,$t,Kt,yt,Oe),Kt}catch(yt){return this.then(null,yt)}finally(yt){var Oe;let Tt=null===(Oe=this.constructor)||void 0===Oe?void 0:Oe[Symbol.species];(!Tt||"function"!=typeof Tt)&&(Tt=j);const Ft=new Tt(q);Ft[lt]=lt;const Kt=ke.current;return this[Yt]==Xt?this[kt].push(Kt,Ft,yt,yt):Ue(this,Kt,Ft,yt,yt),Ft}}j.resolve=j.resolve,j.reject=j.reject,j.race=j.race,j.all=j.all;const ne=ae[Te]=ae.Promise;ae.Promise=j;const ft=F("thenPatched");function St(rt){const yt=rt.prototype,Oe=xe(yt,"then");if(Oe&&(!1===Oe.writable||!Oe.configurable))return;const Tt=yt.then;yt[Ke]=Tt,rt.prototype.then=function(Ft,Kt){return new j(((Qt,dn)=>{Tt.call(this,Qt,dn)})).then(Ft,Kt)},rt[ft]=!0}return ot.patchThen=St,ne&&(St(ne),Le(ae,"fetch",(rt=>function Vt(rt){return function(yt,Oe){let Tt=rt.apply(yt,Oe);if(Tt instanceof j)return Tt;let Ft=Tt.constructor;return Ft[ft]||St(Ft),Tt}}(rt)))),Promise[ke.__symbol__("uncaughtPromiseErrors")]=ee,j})),Zone.__load_patch("toString",(ae=>{const ke=Function.prototype.toString,ot=K("OriginalDelegate"),xe=K("Promise"),tt=K("Error"),it=function(){if("function"==typeof this){const Te=this[ot];if(Te)return"function"==typeof Te?ke.call(Te):Object.prototype.toString.call(Te);if(this===Promise){const Ke=ae[xe];if(Ke)return ke.call(Ke)}if(this===Error){const Ke=ae[tt];if(Ke)return ke.call(Ke)}}return ke.call(this)};it[ot]=ke,Function.prototype.toString=it;const F=Object.prototype.toString;Object.prototype.toString=function(){return"function"==typeof Promise&&this instanceof Promise?"[object Promise]":F.call(this)}}));let Me=!1;if(typeof window<"u")try{const ae=Object.defineProperty({},"passive",{get:function(){Me=!0}});window.addEventListener("test",ae,ae),window.removeEventListener("test",ae,ae)}catch{Me=!1}const je={useG:!0},st={},be={},Ae=new RegExp("^"+k+"(\\w+)(true|false)$"),Ne=K("propagationStopped");function ze(ae,ke){const ot=(ke?ke(ae):ae)+R,xe=(ke?ke(ae):ae)+x,tt=k+ot,it=k+xe;st[ae]={},st[ae][R]=tt,st[ae][x]=it}function pt(ae,ke,ot,xe){const tt=xe&&xe.add||E,it=xe&&xe.rm||P,F=xe&&xe.listeners||"eventListeners",ee=xe&&xe.rmAll||"removeAllListeners",he=K(tt),Te="."+tt+":",Je=function(kt,lt,un){if(kt.isRemoved)return;const mn=kt.callback;let Cn;"object"==typeof mn&&mn.handleEvent&&(kt.callback=Lt=>mn.handleEvent(Lt),kt.originalDelegate=mn);try{kt.invoke(kt,lt,[un])}catch(Lt){Cn=Lt}const Xt=kt.options;return Xt&&"object"==typeof Xt&&Xt.once&<[it].call(lt,un.type,kt.originalDelegate?kt.originalDelegate:kt.callback,Xt),Cn};function vt(kt,lt,un){if(!(lt=lt||ae.event))return;const mn=kt||lt.target||ae,Cn=mn[st[lt.type][un?x:R]];if(Cn){const Xt=[];if(1===Cn.length){const Lt=Je(Cn[0],mn,lt);Lt&&Xt.push(Lt)}else{const Lt=Cn.slice();for(let wn=0;wn<Lt.length&&(!lt||!0!==lt[Ne]);wn++){const Bt=Je(Lt[wn],mn,lt);Bt&&Xt.push(Bt)}}if(1===Xt.length)throw Xt[0];for(let Lt=0;Lt<Xt.length;Lt++){const wn=Xt[Lt];ke.nativeScheduleMicroTask((()=>{throw wn}))}}}const Ct=function(kt){return vt(this,kt,!1)},Nt=function(kt){return vt(this,kt,!0)};function At(kt,lt){if(!kt)return!1;let un=!0;lt&&void 0!==lt.useG&&(un=lt.useG);const mn=lt&<.vh;let Cn=!0;lt&&void 0!==lt.chkDup&&(Cn=lt.chkDup);let Xt=!1;lt&&void 0!==lt.rt&&(Xt=lt.rt);let Lt=kt;for(;Lt&&!Lt.hasOwnProperty(tt);)Lt=l(Lt);if(!Lt&&kt[tt]&&(Lt=kt),!Lt||Lt[he])return!1;const wn=lt&<.eventNameToString,Bt={},en=Lt[he]=Lt[tt],Jt=Lt[K(it)]=Lt[it],sn=Lt[K(F)]=Lt[F],Ee=Lt[K(ee)]=Lt[ee];let Q;function te(Oe,Tt){return!Me&&"object"==typeof Oe&&Oe?!!Oe.capture:Me&&Tt?"boolean"==typeof Oe?{capture:Oe,passive:!0}:Oe?"object"==typeof Oe&&!1!==Oe.passive?Object.assign(Object.assign({},Oe),{passive:!0}):Oe:{passive:!0}:Oe}lt&<.prepend&&(Q=Lt[K(lt.prepend)]=Lt[lt.prepend]);const j=un?function(Oe){if(!Bt.isExisting)return en.call(Bt.target,Bt.eventName,Bt.capture?Nt:Ct,Bt.options)}:function(Oe){return en.call(Bt.target,Bt.eventName,Oe.invoke,Bt.options)},ne=un?function(Oe){if(!Oe.isRemoved){const Tt=st[Oe.eventName];let Ft;Tt&&(Ft=Tt[Oe.capture?x:R]);const Kt=Ft&&Oe.target[Ft];if(Kt)for(let $t=0;$t<Kt.length;$t++)if(Kt[$t]===Oe){Kt.splice($t,1),Oe.isRemoved=!0,0===Kt.length&&(Oe.allRemoved=!0,Oe.target[Ft]=null);break}}if(Oe.allRemoved)return Jt.call(Oe.target,Oe.eventName,Oe.capture?Nt:Ct,Oe.options)}:function(Oe){return Jt.call(Oe.target,Oe.eventName,Oe.invoke,Oe.options)},St=lt&<.diff?lt.diff:function(Oe,Tt){const Ft=typeof Tt;return"function"===Ft&&Oe.callback===Tt||"object"===Ft&&Oe.originalDelegate===Tt},Vt=Zone[K("UNPATCHED_EVENTS")],rt=ae[K("PASSIVE_EVENTS")],yt=function(Oe,Tt,Ft,Kt,$t=!1,Qt=!1){return function(){const dn=this||ae;let an=arguments[0];lt&<.transferEventName&&(an=lt.transferEventName(an));let bn=arguments[1];if(!bn)return Oe.apply(this,arguments);if(ue&&"uncaughtException"===an)return Oe.apply(this,arguments);let Tn=!1;if("function"!=typeof bn){if(!bn.handleEvent)return Oe.apply(this,arguments);Tn=!0}if(mn&&!mn(Oe,bn,dn,arguments))return;const Zn=Me&&!!rt&&-1!==rt.indexOf(an),cn=te(arguments[2],Zn);if(Vt)for(let Ve=0;Ve<Vt.length;Ve++)if(an===Vt[Ve])return Zn?Oe.call(dn,an,bn,cn):Oe.apply(this,arguments);const Nr=!!cn&&("boolean"==typeof cn||cn.capture),br=!(!cn||"object"!=typeof cn)&&cn.once,Dr=Zone.current;let ir=st[an];ir||(ze(an,wn),ir=st[an]);const or=ir[Nr?x:R];let Bn,sr=dn[or],pr=!1;if(sr){if(pr=!0,Cn)for(let Ve=0;Ve<sr.length;Ve++)if(St(sr[Ve],bn))return}else sr=dn[or]=[];const gr=dn.constructor.name,X=be[gr];X&&(Bn=X[an]),Bn||(Bn=gr+Tt+(wn?wn(an):an)),Bt.options=cn,br&&(Bt.options.once=!1),Bt.target=dn,Bt.capture=Nr,Bt.eventName=an,Bt.isExisting=pr;const Se=un?je:void 0;Se&&(Se.taskData=Bt);const U=Dr.scheduleEventTask(Bn,bn,Se,Ft,Kt);return Bt.target=null,Se&&(Se.taskData=null),br&&(cn.once=!0),!Me&&"boolean"==typeof U.options||(U.options=cn),U.target=dn,U.capture=Nr,U.eventName=an,Tn&&(U.originalDelegate=bn),Qt?sr.unshift(U):sr.push(U),$t?dn:void 0}};return Lt[tt]=yt(en,Te,j,ne,Xt),Q&&(Lt.prependListener=yt(Q,".prependListener:",(function(Oe){return Q.call(Bt.target,Bt.eventName,Oe.invoke,Bt.options)}),ne,Xt,!0)),Lt[it]=function(){const Oe=this||ae;let Tt=arguments[0];lt&<.transferEventName&&(Tt=lt.transferEventName(Tt));const Ft=arguments[2],Kt=!!Ft&&("boolean"==typeof Ft||Ft.capture),$t=arguments[1];if(!$t)return Jt.apply(this,arguments);if(mn&&!mn(Jt,$t,Oe,arguments))return;const Qt=st[Tt];let dn;Qt&&(dn=Qt[Kt?x:R]);const an=dn&&Oe[dn];if(an)for(let bn=0;bn<an.length;bn++){const Tn=an[bn];if(St(Tn,$t))return an.splice(bn,1),Tn.isRemoved=!0,0===an.length&&(Tn.allRemoved=!0,Oe[dn]=null,"string"==typeof Tt)&&(Oe[k+"ON_PROPERTY"+Tt]=null),Tn.zone.cancelTask(Tn),Xt?Oe:void 0}return Jt.apply(this,arguments)},Lt[F]=function(){const Oe=this||ae;let Tt=arguments[0];lt&<.transferEventName&&(Tt=lt.transferEventName(Tt));const Ft=[],Kt=wt(Oe,wn?wn(Tt):Tt);for(let $t=0;$t<Kt.length;$t++){const Qt=Kt[$t];Ft.push(Qt.originalDelegate?Qt.originalDelegate:Qt.callback)}return Ft},Lt[ee]=function(){const Oe=this||ae;let Tt=arguments[0];if(Tt){lt&<.transferEventName&&(Tt=lt.transferEventName(Tt));const Ft=st[Tt];if(Ft){const Qt=Oe[Ft[R]],dn=Oe[Ft[x]];if(Qt){const an=Qt.slice();for(let bn=0;bn<an.length;bn++){const Tn=an[bn];this[it].call(this,Tt,Tn.originalDelegate?Tn.originalDelegate:Tn.callback,Tn.options)}}if(dn){const an=dn.slice();for(let bn=0;bn<an.length;bn++){const Tn=an[bn];this[it].call(this,Tt,Tn.originalDelegate?Tn.originalDelegate:Tn.callback,Tn.options)}}}}else{const Ft=Object.keys(Oe);for(let Kt=0;Kt<Ft.length;Kt++){const Qt=Ae.exec(Ft[Kt]);let dn=Qt&&Qt[1];dn&&"removeListener"!==dn&&this[ee].call(this,dn)}this[ee].call(this,"removeListener")}if(Xt)return this},we(Lt[tt],en),we(Lt[it],Jt),Ee&&we(Lt[ee],Ee),sn&&we(Lt[F],sn),!0}let Yt=[];for(let kt=0;kt<ot.length;kt++)Yt[kt]=At(ot[kt],xe);return Yt}function wt(ae,ke){if(!ke){const it=[];for(let F in ae){const ee=Ae.exec(F);let he=ee&&ee[1];if(he&&(!ke||he===ke)){const Te=ae[F];if(Te)for(let Ke=0;Ke<Te.length;Ke++)it.push(Te[Ke])}}return it}let ot=st[ke];ot||(ze(ke),ot=st[ke]);const xe=ae[ot[R]],tt=ae[ot[x]];return xe?tt?xe.concat(tt):xe.slice():tt?tt.slice():[]}function Zt(ae,ke){const ot=ae.Event;ot&&ot.prototype&&ke.patchMethod(ot.prototype,"stopImmediatePropagation",(xe=>function(tt,it){tt[Ne]=!0,xe&&xe.apply(tt,it)}))}function vn(ae,ke,ot,xe,tt){const it=Zone.__symbol__(xe);if(ke[it])return;const F=ke[it]=ke[xe];ke[xe]=function(ee,he,Te){return he&&he.prototype&&tt.forEach((function(Ke){const ut=`${ot}.${xe}::`+Ke,Je=he.prototype;try{if(Je.hasOwnProperty(Ke)){const vt=ae.ObjectGetOwnPropertyDescriptor(Je,Ke);vt&&vt.value?(vt.value=ae.wrapWithCurrentZone(vt.value,ut),ae._redefineProperty(he.prototype,Ke,vt)):Je[Ke]&&(Je[Ke]=ae.wrapWithCurrentZone(Je[Ke],ut))}else Je[Ke]&&(Je[Ke]=ae.wrapWithCurrentZone(Je[Ke],ut))}catch{}})),F.call(ke,ee,he,Te)},ae.attachOriginToPatched(ke[xe],F)}function He(ae,ke,ot){if(!ot||0===ot.length)return ke;const xe=ot.filter((it=>it.target===ae));if(!xe||0===xe.length)return ke;const tt=xe[0].ignoreProperties;return ke.filter((it=>-1===tt.indexOf(it)))}function Pe(ae,ke,ot,xe){ae&&ce(ae,He(ae,ke,ot),xe)}function me(ae){return Object.getOwnPropertyNames(ae).filter((ke=>ke.startsWith("on")&&ke.length>2)).map((ke=>ke.substring(2)))}Zone.__load_patch("util",((ae,ke,ot)=>{const xe=me(ae);ot.patchOnProperties=ce,ot.patchMethod=Le,ot.bindArguments=Ie,ot.patchMacroTask=Ce;const tt=ke.__symbol__("BLACK_LISTED_EVENTS"),it=ke.__symbol__("UNPATCHED_EVENTS");ae[it]&&(ae[tt]=ae[it]),ae[tt]&&(ke[tt]=ke[it]=ae[tt]),ot.patchEventPrototype=Zt,ot.patchEventTarget=pt,ot.isIEOrEdge=Xe,ot.ObjectDefineProperty=O,ot.ObjectGetOwnPropertyDescriptor=$,ot.ObjectCreate=i,ot.ArraySlice=m,ot.patchClass=De,ot.wrapWithCurrentZone=N,ot.filterProperties=He,ot.attachOriginToPatched=we,ot._redefineProperty=Object.defineProperty,ot.patchCallbacks=vn,ot.getGlobalObjects=()=>({globalSources:be,zoneSymbolEventNames:st,eventNames:xe,isBrowser:ge,isMix:nt,isNode:ue,TRUE_STR:x,FALSE_STR:R,ZONE_SYMBOL_PREFIX:k,ADD_EVENT_LISTENER_STR:E,REMOVE_EVENT_LISTENER_STR:P})}));const Mt=K("zoneTask");function rn(ae,ke,ot,xe){let tt=null,it=null;ot+=xe;const F={};function ee(Te){const Ke=Te.data;return Ke.args[0]=function(){return Te.invoke.apply(this,arguments)},Ke.handleId=tt.apply(ae,Ke.args),Te}function he(Te){return it.call(ae,Te.data.handleId)}tt=Le(ae,ke+=xe,(Te=>function(Ke,ut){if("function"==typeof ut[0]){const Je={isPeriodic:"Interval"===xe,delay:"Timeout"===xe||"Interval"===xe?ut[1]||0:void 0,args:ut},vt=ut[0];ut[0]=function(){try{return vt.apply(this,arguments)}finally{Je.isPeriodic||("number"==typeof Je.handleId?delete F[Je.handleId]:Je.handleId&&(Je.handleId[Mt]=null))}};const Ct=Y(ke,ut[0],Je,ee,he);if(!Ct)return Ct;const Nt=Ct.data.handleId;return"number"==typeof Nt?F[Nt]=Ct:Nt&&(Nt[Mt]=Ct),Nt&&Nt.ref&&Nt.unref&&"function"==typeof Nt.ref&&"function"==typeof Nt.unref&&(Ct.ref=Nt.ref.bind(Nt),Ct.unref=Nt.unref.bind(Nt)),"number"==typeof Nt||Nt?Nt:Ct}return Te.apply(ae,ut)})),it=Le(ae,ot,(Te=>function(Ke,ut){const Je=ut[0];let vt;"number"==typeof Je?vt=F[Je]:(vt=Je&&Je[Mt],vt||(vt=Je)),vt&&"string"==typeof vt.type?"notScheduled"!==vt.state&&(vt.cancelFn&&vt.data.isPeriodic||0===vt.runCount)&&("number"==typeof Je?delete F[Je]:Je&&(Je[Mt]=null),vt.zone.cancelTask(vt)):Te.apply(ae,ut)}))}Zone.__load_patch("legacy",(ae=>{const ke=ae[Zone.__symbol__("legacyPatch")];ke&&ke()})),Zone.__load_patch("queueMicrotask",((ae,ke,ot)=>{ot.patchMethod(ae,"queueMicrotask",(xe=>function(tt,it){ke.current.scheduleMicroTask("queueMicrotask",it[0])}))})),Zone.__load_patch("timers",(ae=>{const ot="clear";rn(ae,"set",ot,"Timeout"),rn(ae,"set",ot,"Interval"),rn(ae,"set",ot,"Immediate")})),Zone.__load_patch("requestAnimationFrame",(ae=>{rn(ae,"request","cancel","AnimationFrame"),rn(ae,"mozRequest","mozCancel","AnimationFrame"),rn(ae,"webkitRequest","webkitCancel","AnimationFrame")})),Zone.__load_patch("blocking",((ae,ke)=>{const ot=["alert","prompt","confirm"];for(let xe=0;xe<ot.length;xe++)Le(ae,ot[xe],((it,F,ee)=>function(he,Te){return ke.current.run(it,ae,Te,ee)}))})),Zone.__load_patch("EventTarget",((ae,ke,ot)=>{(function Vn(ae,ke){ke.patchEventPrototype(ae,ke)})(ae,ot),function Kn(ae,ke){if(Zone[ke.symbol("patchEventTarget")])return;const{eventNames:ot,zoneSymbolEventNames:xe,TRUE_STR:tt,FALSE_STR:it,ZONE_SYMBOL_PREFIX:F}=ke.getGlobalObjects();for(let he=0;he<ot.length;he++){const Te=ot[he],Je=F+(Te+it),vt=F+(Te+tt);xe[Te]={},xe[Te][it]=Je,xe[Te][tt]=vt}const ee=ae.EventTarget;ee&&ee.prototype&&ke.patchEventTarget(ae,ke,[ee&&ee.prototype])}(ae,ot);const xe=ae.XMLHttpRequestEventTarget;xe&&xe.prototype&&ot.patchEventTarget(ae,ot,[xe.prototype])})),Zone.__load_patch("MutationObserver",((ae,ke,ot)=>{De("MutationObserver"),De("WebKitMutationObserver")})),Zone.__load_patch("IntersectionObserver",((ae,ke,ot)=>{De("IntersectionObserver")})),Zone.__load_patch("FileReader",((ae,ke,ot)=>{De("FileReader")})),Zone.__load_patch("on_property",((ae,ke,ot)=>{!function $e(ae,ke){if(ue&&!nt||Zone[ae.symbol("patchEvents")])return;const ot=ke.__Zone_ignore_on_properties;let xe=[];if(ge){const tt=window;xe=xe.concat(["Document","SVGElement","Element","HTMLElement","HTMLBodyElement","HTMLMediaElement","HTMLFrameSetElement","HTMLFrameElement","HTMLIFrameElement","HTMLMarqueeElement","Worker"]);const it=function Dt(){try{const ae=ye.navigator.userAgent;if(-1!==ae.indexOf("MSIE ")||-1!==ae.indexOf("Trident/"))return!0}catch{}return!1}()?[{target:tt,ignoreProperties:["error"]}]:[];Pe(tt,me(tt),ot&&ot.concat(it),l(tt))}xe=xe.concat(["XMLHttpRequest","XMLHttpRequestEventTarget","IDBIndex","IDBRequest","IDBOpenDBRequest","IDBDatabase","IDBTransaction","IDBCursor","WebSocket"]);for(let tt=0;tt<xe.length;tt++){const it=ke[xe[tt]];it&&it.prototype&&Pe(it.prototype,me(it.prototype),ot)}}(ot,ae)})),Zone.__load_patch("customElements",((ae,ke,ot)=>{!function xt(ae,ke){const{isBrowser:ot,isMix:xe}=ke.getGlobalObjects();(ot||xe)&&ae.customElements&&"customElements"in ae&&ke.patchCallbacks(ke,ae.customElements,"customElements","define",["connectedCallback","disconnectedCallback","adoptedCallback","attributeChangedCallback"])}(ae,ot)})),Zone.__load_patch("XHR",((ae,ke)=>{!function he(Te){const Ke=Te.XMLHttpRequest;if(!Ke)return;const ut=Ke.prototype;let vt=ut[S],Ct=ut[I];if(!vt){const Bt=Te.XMLHttpRequestEventTarget;if(Bt){const en=Bt.prototype;vt=en[S],Ct=en[I]}}const Nt="readystatechange",At="scheduled";function Yt(Bt){const en=Bt.data,Jt=en.target;Jt[it]=!1,Jt[ee]=!1;const sn=Jt[tt];vt||(vt=Jt[S],Ct=Jt[I]),sn&&Ct.call(Jt,Nt,sn);const Ee=Jt[tt]=()=>{if(Jt.readyState===Jt.DONE)if(!en.aborted&&Jt[it]&&Bt.state===At){const te=Jt[ke.__symbol__("loadfalse")];if(0!==Jt.status&&te&&te.length>0){const Ge=Bt.invoke;Bt.invoke=function(){const Ue=Jt[ke.__symbol__("loadfalse")];for(let J=0;J<Ue.length;J++)Ue[J]===Bt&&Ue.splice(J,1);!en.aborted&&Bt.state===At&&Ge.call(Bt)},te.push(Bt)}else Bt.invoke()}else!en.aborted&&!1===Jt[it]&&(Jt[ee]=!0)};return vt.call(Jt,Nt,Ee),Jt[ot]||(Jt[ot]=Bt),Lt.apply(Jt,en.args),Jt[it]=!0,Bt}function kt(){}function lt(Bt){const en=Bt.data;return en.aborted=!0,wn.apply(en.target,en.args)}const un=Le(ut,"open",(()=>function(Bt,en){return Bt[xe]=0==en[2],Bt[F]=en[1],un.apply(Bt,en)})),Cn=K("fetchTaskAborting"),Xt=K("fetchTaskScheduling"),Lt=Le(ut,"send",(()=>function(Bt,en){if(!0===ke.current[Xt]||Bt[xe])return Lt.apply(Bt,en);{const Jt={target:Bt,url:Bt[F],isPeriodic:!1,args:en,aborted:!1},sn=Y("XMLHttpRequest.send",kt,Jt,Yt,lt);Bt&&!0===Bt[ee]&&!Jt.aborted&&sn.state===At&&sn.invoke()}})),wn=Le(ut,"abort",(()=>function(Bt,en){const Jt=function Je(Bt){return Bt[ot]}(Bt);if(Jt&&"string"==typeof Jt.type){if(null==Jt.cancelFn||Jt.data&&Jt.data.aborted)return;Jt.zone.cancelTask(Jt)}else if(!0===ke.current[Cn])return wn.apply(Bt,en)}))}(ae);const ot=K("xhrTask"),xe=K("xhrSync"),tt=K("xhrListener"),it=K("xhrScheduled"),F=K("xhrURL"),ee=K("xhrErrorBeforeScheduled")})),Zone.__load_patch("geolocation",(ae=>{ae.navigator&&ae.navigator.geolocation&&function Qe(ae,ke){const ot=ae.constructor.name;for(let xe=0;xe<ke.length;xe++){const tt=ke[xe],it=ae[tt];if(it){if(!Fe($(ae,tt)))continue;ae[tt]=(ee=>{const he=function(){return ee.apply(this,Ie(arguments,ot+"."+tt))};return we(he,ee),he})(it)}}}(ae.navigator.geolocation,["getCurrentPosition","watchPosition"])})),Zone.__load_patch("PromiseRejectionEvent",((ae,ke)=>{function ot(xe){return function(tt){wt(ae,xe).forEach((F=>{const ee=ae.PromiseRejectionEvent;if(ee){const he=new ee(xe,{promise:tt.promise,reason:tt.rejection});F.invoke(he)}}))}}ae.PromiseRejectionEvent&&(ke[K("unhandledPromiseRejectionHandler")]=ot("unhandledrejection"),ke[K("rejectionHandledHandler")]=ot("rejectionhandled"))}))},5987:($,O,l)=>{"use strict";function R(ce,ve,De,Le){return new(De||(De=Promise))((function(we,de){function Ze(Me){try{Xe(Le.next(Me))}catch(je){de(je)}}function Dt(Me){try{Xe(Le.throw(Me))}catch(je){de(je)}}function Xe(Me){Me.done?we(Me.value):function Ce(we){return we instanceof De?we:new De((function(de){de(we)}))}(Me.value).then(Ze,Dt)}Xe((Le=Le.apply(ce,ve||[])).next())}))}function Ie(ce){return this instanceof Ie?(this.v=ce,this):new Ie(ce)}function Qe(ce,ve,De){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var Ce,Le=De.apply(ce,ve||[]),we=[];return Ce={},de("next"),de("throw"),de("return"),Ce[Symbol.asyncIterator]=function(){return this},Ce;function de(st){Le[st]&&(Ce[st]=function(be){return new Promise((function(Ae,Ne){we.push([st,be,Ae,Ne])>1||Ze(st,be)}))})}function Ze(st,be){try{!function Dt(st){st.value instanceof Ie?Promise.resolve(st.value.v).then(Xe,Me):je(we[0][2],st)}(Le[st](be))}catch(Ae){je(we[0][3],Ae)}}function Xe(st){Ze("next",st)}function Me(st){Ze("throw",st)}function je(st,be){st(be),we.shift(),we.length&&Ze(we[0][0],we[0][1])}}function _t(ce){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var De,ve=ce[Symbol.asyncIterator];return ve?ve.call(ce):(ce=function K(ce){var ve="function"==typeof Symbol&&Symbol.iterator,De=ve&&ce[ve],Le=0;if(De)return De.call(ce);if(ce&&"number"==typeof ce.length)return{next:function(){return ce&&Le>=ce.length&&(ce=void 0),{value:ce&&ce[Le++],done:!ce}}};throw new TypeError(ve?"Object is not iterable.":"Symbol.iterator is not defined.")}(ce),De={},Le("next"),Le("throw"),Le("return"),De[Symbol.asyncIterator]=function(){return this},De);function Le(we){De[we]=ce[we]&&function(de){return new Promise((function(Ze,Dt){!function Ce(we,de,Ze,Dt){Promise.resolve(Dt).then((function(Xe){we({value:Xe,done:Ze})}),de)}(Ze,Dt,(de=ce[we](de)).done,de.value)}))}}}l.d(O,{FC:()=>Qe,KL:()=>_t,mG:()=>R,qq:()=>Ie})},7340:($,O,l)=>{"use strict";l.d(O,{LC:()=>m,SB:()=>k,X$:()=>P,ZE:()=>Fe,ZN:()=>Qe,_j:()=>i,eR:()=>Y,jt:()=>S,k1:()=>_t,l3:()=>E,oB:()=>R,vP:()=>x});class i{}class m{}const E="*";function P(ue,ge){return{type:7,name:ue,definitions:ge,options:{}}}function S(ue,ge=null){return{type:4,styles:ge,timings:ue}}function x(ue,ge=null){return{type:2,steps:ue,options:ge}}function R(ue){return{type:6,styles:ue,offset:null}}function k(ue,ge,nt){return{type:0,name:ue,styles:ge,options:nt}}function Y(ue,ge,nt=null){return{type:1,expr:ue,animation:ge,options:nt}}function Ie(ue){Promise.resolve().then(ue)}class Qe{constructor(ge=0,nt=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._originalOnDoneFns=[],this._originalOnStartFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=ge+nt}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach((ge=>ge())),this._onDoneFns=[])}onStart(ge){this._originalOnStartFns.push(ge),this._onStartFns.push(ge)}onDone(ge){this._originalOnDoneFns.push(ge),this._onDoneFns.push(ge)}onDestroy(ge){this._onDestroyFns.push(ge)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){Ie((()=>this._onFinish()))}_onStart(){this._onStartFns.forEach((ge=>ge())),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach((ge=>ge())),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(ge){this._position=this.totalTime?ge*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(ge){const nt="start"==ge?this._onStartFns:this._onDoneFns;nt.forEach((Pt=>Pt())),nt.length=0}}class Fe{constructor(ge){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=ge;let nt=0,Pt=0,dt=0;const ht=this.players.length;0==ht?Ie((()=>this._onFinish())):this.players.forEach((ce=>{ce.onDone((()=>{++nt==ht&&this._onFinish()})),ce.onDestroy((()=>{++Pt==ht&&this._onDestroy()})),ce.onStart((()=>{++dt==ht&&this._onStart()}))})),this.totalTime=this.players.reduce(((ce,ve)=>Math.max(ce,ve.totalTime)),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach((ge=>ge())),this._onDoneFns=[])}init(){this.players.forEach((ge=>ge.init()))}onStart(ge){this._onStartFns.push(ge)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach((ge=>ge())),this._onStartFns=[])}onDone(ge){this._onDoneFns.push(ge)}onDestroy(ge){this._onDestroyFns.push(ge)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach((ge=>ge.play()))}pause(){this.players.forEach((ge=>ge.pause()))}restart(){this.players.forEach((ge=>ge.restart()))}finish(){this._onFinish(),this.players.forEach((ge=>ge.finish()))}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach((ge=>ge.destroy())),this._onDestroyFns.forEach((ge=>ge())),this._onDestroyFns=[])}reset(){this.players.forEach((ge=>ge.reset())),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(ge){const nt=ge*this.totalTime;this.players.forEach((Pt=>{const dt=Pt.totalTime?Math.min(1,nt/Pt.totalTime):1;Pt.setPosition(dt)}))}getPosition(){const ge=this.players.reduce(((nt,Pt)=>null===nt||Pt.totalTime>nt.totalTime?Pt:nt),null);return null!=ge?ge.getPosition():0}beforeDestroy(){this.players.forEach((ge=>{ge.beforeDestroy&&ge.beforeDestroy()}))}triggerCallback(ge){const nt="start"==ge?this._onStartFns:this._onDoneFns;nt.forEach((Pt=>Pt())),nt.length=0}}const _t="!"},6895:($,O,l)=>{"use strict";l.d(O,{Do:()=>_t,ED:()=>jt,EM:()=>Xn,HT:()=>S,JF:()=>ri,K0:()=>x,Mx:()=>Zn,NF:()=>ni,O5:()=>Bn,Ov:()=>si,RF:()=>U,S$:()=>Ie,V_:()=>N,Ye:()=>ue,b0:()=>Fe,bD:()=>ei,ez:()=>ui,mk:()=>cn,mr:()=>Qe,n9:()=>Ve,q:()=>E,sg:()=>or,tP:()=>gi,w_:()=>I});var i=l(4650);let m=null;function E(){return m}function S(g){m||(m=g)}class I{}const x=new i.OlP("DocumentToken");let R=(()=>{class g{historyGo(_){throw new Error("Not implemented")}}return g.ɵfac=function(_){return new(_||g)},g.ɵprov=i.Yz7({token:g,factory:function(){return function k(){return(0,i.LFG)(Y)}()},providedIn:"platform"}),g})();const N=new i.OlP("Location Initialized");let Y=(()=>{class g extends R{constructor(_){super(),this._doc=_,this._init()}_init(){this.location=window.location,this._history=window.history}getBaseHrefFromDOM(){return E().getBaseHref(this._doc)}onPopState(_){const L=E().getGlobalEventTarget(this._doc,"window");return L.addEventListener("popstate",_,!1),()=>L.removeEventListener("popstate",_)}onHashChange(_){const L=E().getGlobalEventTarget(this._doc,"window");return L.addEventListener("hashchange",_,!1),()=>L.removeEventListener("hashchange",_)}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(_){this.location.pathname=_}pushState(_,L,se){K()?this._history.pushState(_,L,se):this.location.hash=se}replaceState(_,L,se){K()?this._history.replaceState(_,L,se):this.location.hash=se}forward(){this._history.forward()}back(){this._history.back()}historyGo(_=0){this._history.go(_)}getState(){return this._history.state}}return g.ɵfac=function(_){return new(_||g)(i.LFG(x))},g.ɵprov=i.Yz7({token:g,factory:function(){return function Re(){return new Y((0,i.LFG)(x))}()},providedIn:"platform"}),g})();function K(){return!!window.history.pushState}function ye(g,T){if(0==g.length)return T;if(0==T.length)return g;let _=0;return g.endsWith("/")&&_++,T.startsWith("/")&&_++,2==_?g+T.substring(1):1==_?g+T:g+"/"+T}function oe(g){const T=g.match(/#|\?|$/),_=T&&T.index||g.length;return g.slice(0,_-("/"===g[_-1]?1:0))+g.slice(_)}function at(g){return g&&"?"!==g[0]?"?"+g:g}let Ie=(()=>{class g{historyGo(_){throw new Error("Not implemented")}}return g.ɵfac=function(_){return new(_||g)},g.ɵprov=i.Yz7({token:g,factory:function(){return(0,i.f3M)(Fe)},providedIn:"root"}),g})();const Qe=new i.OlP("appBaseHref");let Fe=(()=>{class g extends Ie{constructor(_,L){super(),this._platformLocation=_,this._removeListenerFns=[],this._baseHref=L??this._platformLocation.getBaseHrefFromDOM()??(0,i.f3M)(x).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(_){this._removeListenerFns.push(this._platformLocation.onPopState(_),this._platformLocation.onHashChange(_))}getBaseHref(){return this._baseHref}prepareExternalUrl(_){return ye(this._baseHref,_)}path(_=!1){const L=this._platformLocation.pathname+at(this._platformLocation.search),se=this._platformLocation.hash;return se&&_?`${L}${se}`:L}pushState(_,L,se,qe){const ct=this.prepareExternalUrl(se+at(qe));this._platformLocation.pushState(_,L,ct)}replaceState(_,L,se,qe){const ct=this.prepareExternalUrl(se+at(qe));this._platformLocation.replaceState(_,L,ct)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(_=0){this._platformLocation.historyGo?.(_)}}return g.ɵfac=function(_){return new(_||g)(i.LFG(R),i.LFG(Qe,8))},g.ɵprov=i.Yz7({token:g,factory:g.ɵfac,providedIn:"root"}),g})(),_t=(()=>{class g extends Ie{constructor(_,L){super(),this._platformLocation=_,this._baseHref="",this._removeListenerFns=[],null!=L&&(this._baseHref=L)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(_){this._removeListenerFns.push(this._platformLocation.onPopState(_),this._platformLocation.onHashChange(_))}getBaseHref(){return this._baseHref}path(_=!1){let L=this._platformLocation.hash;return null==L&&(L="#"),L.length>0?L.substring(1):L}prepareExternalUrl(_){const L=ye(this._baseHref,_);return L.length>0?"#"+L:L}pushState(_,L,se,qe){let ct=this.prepareExternalUrl(se+at(qe));0==ct.length&&(ct=this._platformLocation.pathname),this._platformLocation.pushState(_,L,ct)}replaceState(_,L,se,qe){let ct=this.prepareExternalUrl(se+at(qe));0==ct.length&&(ct=this._platformLocation.pathname),this._platformLocation.replaceState(_,L,ct)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(_=0){this._platformLocation.historyGo?.(_)}}return g.ɵfac=function(_){return new(_||g)(i.LFG(R),i.LFG(Qe,8))},g.ɵprov=i.Yz7({token:g,factory:g.ɵfac}),g})(),ue=(()=>{class g{constructor(_){this._subject=new i.vpe,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=_;const L=this._locationStrategy.getBaseHref();this._baseHref=oe(Pt(L)),this._locationStrategy.onPopState((se=>{this._subject.emit({url:this.path(!0),pop:!0,state:se.state,type:se.type})}))}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(_=!1){return this.normalize(this._locationStrategy.path(_))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(_,L=""){return this.path()==this.normalize(_+at(L))}normalize(_){return g.stripTrailingSlash(function nt(g,T){return g&&T.startsWith(g)?T.substring(g.length):T}(this._baseHref,Pt(_)))}prepareExternalUrl(_){return _&&"/"!==_[0]&&(_="/"+_),this._locationStrategy.prepareExternalUrl(_)}go(_,L="",se=null){this._locationStrategy.pushState(se,"",_,L),this._notifyUrlChangeListeners(this.prepareExternalUrl(_+at(L)),se)}replaceState(_,L="",se=null){this._locationStrategy.replaceState(se,"",_,L),this._notifyUrlChangeListeners(this.prepareExternalUrl(_+at(L)),se)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(_=0){this._locationStrategy.historyGo?.(_)}onUrlChange(_){return this._urlChangeListeners.push(_),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe((L=>{this._notifyUrlChangeListeners(L.url,L.state)}))),()=>{const L=this._urlChangeListeners.indexOf(_);this._urlChangeListeners.splice(L,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(_="",L){this._urlChangeListeners.forEach((se=>se(_,L)))}subscribe(_,L,se){return this._subject.subscribe({next:_,error:L,complete:se})}}return g.normalizeQueryParams=at,g.joinWithSlash=ye,g.stripTrailingSlash=oe,g.ɵfac=function(_){return new(_||g)(i.LFG(Ie))},g.ɵprov=i.Yz7({token:g,factory:function(){return function ge(){return new ue((0,i.LFG)(Ie))}()},providedIn:"root"}),g})();function Pt(g){return g.replace(/\/index.html$/,"")}function Zn(g,T){T=encodeURIComponent(T);for(const _ of g.split(";")){const L=_.indexOf("="),[se,qe]=-1==L?[_,""]:[_.slice(0,L),_.slice(L+1)];if(se.trim()===T)return decodeURIComponent(qe)}return null}let cn=(()=>{class g{constructor(_,L,se,qe){this._iterableDiffers=_,this._keyValueDiffers=L,this._ngEl=se,this._renderer=qe,this._iterableDiffer=null,this._keyValueDiffer=null,this._initialClasses=[],this._rawClass=null}set klass(_){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof _?_.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)}set ngClass(_){this._removeClasses(this._rawClass),this._applyClasses(this._initialClasses),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof _?_.split(/\s+/):_,this._rawClass&&((0,i.sIi)(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())}ngDoCheck(){if(this._iterableDiffer){const _=this._iterableDiffer.diff(this._rawClass);_&&this._applyIterableChanges(_)}else if(this._keyValueDiffer){const _=this._keyValueDiffer.diff(this._rawClass);_&&this._applyKeyValueChanges(_)}}_applyKeyValueChanges(_){_.forEachAddedItem((L=>this._toggleClass(L.key,L.currentValue))),_.forEachChangedItem((L=>this._toggleClass(L.key,L.currentValue))),_.forEachRemovedItem((L=>{L.previousValue&&this._toggleClass(L.key,!1)}))}_applyIterableChanges(_){_.forEachAddedItem((L=>{if("string"!=typeof L.item)throw new Error(`NgClass can only toggle CSS classes expressed as strings, got ${(0,i.AaK)(L.item)}`);this._toggleClass(L.item,!0)})),_.forEachRemovedItem((L=>this._toggleClass(L.item,!1)))}_applyClasses(_){_&&(Array.isArray(_)||_ instanceof Set?_.forEach((L=>this._toggleClass(L,!0))):Object.keys(_).forEach((L=>this._toggleClass(L,!!_[L]))))}_removeClasses(_){_&&(Array.isArray(_)||_ instanceof Set?_.forEach((L=>this._toggleClass(L,!1))):Object.keys(_).forEach((L=>this._toggleClass(L,!1))))}_toggleClass(_,L){(_=_.trim())&&_.split(/\s+/g).forEach((se=>{L?this._renderer.addClass(this._ngEl.nativeElement,se):this._renderer.removeClass(this._ngEl.nativeElement,se)}))}}return g.ɵfac=function(_){return new(_||g)(i.Y36(i.ZZ4),i.Y36(i.aQg),i.Y36(i.SBq),i.Y36(i.Qsj))},g.ɵdir=i.lG2({type:g,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"},standalone:!0}),g})();class ir{constructor(T,_,L,se){this.$implicit=T,this.ngForOf=_,this.index=L,this.count=se}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 or=(()=>{class g{constructor(_,L,se){this._viewContainer=_,this._template=L,this._differs=se,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForOf(_){this._ngForOf=_,this._ngForOfDirty=!0}set ngForTrackBy(_){this._trackByFn=_}get ngForTrackBy(){return this._trackByFn}set ngForTemplate(_){_&&(this._template=_)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const _=this._ngForOf;!this._differ&&_&&(this._differ=this._differs.find(_).create(this.ngForTrackBy))}if(this._differ){const _=this._differ.diff(this._ngForOf);_&&this._applyChanges(_)}}_applyChanges(_){const L=this._viewContainer;_.forEachOperation(((se,qe,ct)=>{if(null==se.previousIndex)L.createEmbeddedView(this._template,new ir(se.item,this._ngForOf,-1,-1),null===ct?void 0:ct);else if(null==ct)L.remove(null===qe?void 0:qe);else if(null!==qe){const Gt=L.get(qe);L.move(Gt,ct),sr(Gt,se)}}));for(let se=0,qe=L.length;se<qe;se++){const Gt=L.get(se).context;Gt.index=se,Gt.count=qe,Gt.ngForOf=this._ngForOf}_.forEachIdentityChange((se=>{sr(L.get(se.currentIndex),se)}))}static ngTemplateContextGuard(_,L){return!0}}return g.ɵfac=function(_){return new(_||g)(i.Y36(i.s_b),i.Y36(i.Rgc),i.Y36(i.ZZ4))},g.ɵdir=i.lG2({type:g,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0}),g})();function sr(g,T){g.context.$implicit=T.item}let Bn=(()=>{class g{constructor(_,L){this._viewContainer=_,this._context=new gr,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=L}set ngIf(_){this._context.$implicit=this._context.ngIf=_,this._updateView()}set ngIfThen(_){X("ngIfThen",_),this._thenTemplateRef=_,this._thenViewRef=null,this._updateView()}set ngIfElse(_){X("ngIfElse",_),this._elseTemplateRef=_,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(_,L){return!0}}return g.ɵfac=function(_){return new(_||g)(i.Y36(i.s_b),i.Y36(i.Rgc))},g.ɵdir=i.lG2({type:g,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0}),g})();class gr{constructor(){this.$implicit=null,this.ngIf=null}}function X(g,T){if(T&&!T.createEmbeddedView)throw new Error(`${g} must be a TemplateRef, but received '${(0,i.AaK)(T)}'.`)}class Se{constructor(T,_){this._viewContainerRef=T,this._templateRef=_,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(T){T&&!this._created?this.create():!T&&this._created&&this.destroy()}}let U=(()=>{class g{constructor(){this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(_){this._ngSwitch=_,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(_){this._defaultViews||(this._defaultViews=[]),this._defaultViews.push(_)}_matchCase(_){const L=_==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||L,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),L}_updateDefaultCases(_){if(this._defaultViews&&_!==this._defaultUsed){this._defaultUsed=_;for(let L=0;L<this._defaultViews.length;L++)this._defaultViews[L].enforceState(_)}}}return g.ɵfac=function(_){return new(_||g)},g.ɵdir=i.lG2({type:g,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"},standalone:!0}),g})(),Ve=(()=>{class g{constructor(_,L,se){this.ngSwitch=se,se._addCase(),this._view=new Se(_,L)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}}return g.ɵfac=function(_){return new(_||g)(i.Y36(i.s_b),i.Y36(i.Rgc),i.Y36(U,9))},g.ɵdir=i.lG2({type:g,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"},standalone:!0}),g})(),jt=(()=>{class g{constructor(_,L,se){se._addDefault(new Se(_,L))}}return g.ɵfac=function(_){return new(_||g)(i.Y36(i.s_b),i.Y36(i.Rgc),i.Y36(U,9))},g.ɵdir=i.lG2({type:g,selectors:[["","ngSwitchDefault",""]],standalone:!0}),g})(),gi=(()=>{class g{constructor(_){this._viewContainerRef=_,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(_){if(_.ngTemplateOutlet||_.ngTemplateOutletInjector){const L=this._viewContainerRef;if(this._viewRef&&L.remove(L.indexOf(this._viewRef)),this.ngTemplateOutlet){const{ngTemplateOutlet:se,ngTemplateOutletContext:qe,ngTemplateOutletInjector:ct}=this;this._viewRef=L.createEmbeddedView(se,qe,ct?{injector:ct}:void 0)}else this._viewRef=null}else this._viewRef&&_.ngTemplateOutletContext&&this.ngTemplateOutletContext&&(this._viewRef.context=this.ngTemplateOutletContext)}}return g.ɵfac=function(_){return new(_||g)(i.Y36(i.s_b))},g.ɵdir=i.lG2({type:g,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[i.TTD]}),g})();class Pi{createSubscription(T,_){return T.subscribe({next:_,error:L=>{throw L}})}dispose(T){T.unsubscribe()}}class bo{createSubscription(T,_){return T.then(_,(L=>{throw L}))}dispose(T){}}const mi=new bo,_i=new Pi;let si=(()=>{class g{constructor(_){this._latestValue=null,this._subscription=null,this._obj=null,this._strategy=null,this._ref=_}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(_){return this._obj?_!==this._obj?(this._dispose(),this.transform(_)):this._latestValue:(_&&this._subscribe(_),this._latestValue)}_subscribe(_){this._obj=_,this._strategy=this._selectStrategy(_),this._subscription=this._strategy.createSubscription(_,(L=>this._updateLatestValue(_,L)))}_selectStrategy(_){if((0,i.QGY)(_))return mi;if((0,i.F4k)(_))return _i;throw function Er(g,T){return new i.vHH(2100,!1)}()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(_,L){_===this._obj&&(this._latestValue=L,this._ref.markForCheck())}}return g.ɵfac=function(_){return new(_||g)(i.Y36(i.sBO,16))},g.ɵpipe=i.Yjl({name:"async",type:g,pure:!1,standalone:!0}),g})(),ui=(()=>{class g{}return g.ɵfac=function(_){return new(_||g)},g.ɵmod=i.oAB({type:g}),g.ɵinj=i.cJS({}),g})();const ei="browser";function ni(g){return g===ei}let Xn=(()=>{class g{}return g.ɵprov=(0,i.Yz7)({token:g,providedIn:"root",factory:()=>new Ci((0,i.LFG)(x),window)}),g})();class Ci{constructor(T,_){this.document=T,this.window=_,this.offset=()=>[0,0]}setOffset(T){this.offset=Array.isArray(T)?()=>T:T}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(T){this.supportsScrolling()&&this.window.scrollTo(T[0],T[1])}scrollToAnchor(T){if(!this.supportsScrolling())return;const _=function qn(g,T){const _=g.getElementById(T)||g.getElementsByName(T)[0];if(_)return _;if("function"==typeof g.createTreeWalker&&g.body&&(g.body.createShadowRoot||g.body.attachShadow)){const L=g.createTreeWalker(g.body,NodeFilter.SHOW_ELEMENT);let se=L.currentNode;for(;se;){const qe=se.shadowRoot;if(qe){const ct=qe.getElementById(T)||qe.querySelector(`[name="${T}"]`);if(ct)return ct}se=L.nextNode()}}return null}(this.document,T);_&&(this.scrollToElement(_),_.focus())}setHistoryScrollRestoration(T){if(this.supportScrollRestoration()){const _=this.window.history;_&&_.scrollRestoration&&(_.scrollRestoration=T)}}scrollToElement(T){const _=T.getBoundingClientRect(),L=_.left+this.window.pageXOffset,se=_.top+this.window.pageYOffset,qe=this.offset();this.window.scrollTo(L-qe[0],se-qe[1])}supportScrollRestoration(){try{if(!this.supportsScrolling())return!1;const T=mr(this.window.history)||mr(Object.getPrototypeOf(this.window.history));return!(!T||!T.writable&&!T.set)}catch{return!1}}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch{return!1}}}function mr(g){return Object.getOwnPropertyDescriptor(g,"scrollRestoration")}class ri{}},4650:($,O,l)=>{"use strict";l.d(O,{$8M:()=>Uo,$Z:()=>Ch,AFp:()=>Lg,ALo:()=>ng,AaK:()=>R,BQk:()=>qa,CHM:()=>Li,CRH:()=>fg,CZH:()=>cl,CqO:()=>hf,D6c:()=>gb,DdM:()=>Yp,EJc:()=>Aw,EpF:()=>uf,F$t:()=>yf,F4k:()=>df,FYo:()=>Jd,FiY:()=>Ws,G48:()=>qw,Gf:()=>dg,GfV:()=>Xd,GkF:()=>Uc,Gpc:()=>Y,Gre:()=>qf,Hsn:()=>vf,JOm:()=>ro,Jf7:()=>eh,KtG:()=>jr,LFG:()=>hr,LSH:()=>Jl,Lbi:()=>Sw,Lck:()=>M0,MAs:()=>cf,MGl:()=>Ja,MMx:()=>iu,NdJ:()=>zc,O4$:()=>En,OlP:()=>Hn,Oqu:()=>Zc,PXZ:()=>Gw,Q6J:()=>Bc,QGY:()=>$c,QP$:()=>te,QbO:()=>Tw,Qsj:()=>J_,R0b:()=>Si,RDi:()=>p_,Rgc:()=>_a,SBq:()=>ra,Sil:()=>xw,Suo:()=>hg,TTD:()=>xi,TgZ:()=>Ka,Tol:()=>Ff,VKq:()=>Kp,W1O:()=>_g,WLB:()=>Zp,X6Q:()=>Qw,XFs:()=>xt,Xpm:()=>un,Xts:()=>Xl,Y36:()=>ms,YKP:()=>Vp,YNc:()=>lf,Yjl:()=>Jt,Yz7:()=>Ae,Z0I:()=>wt,ZZ4:()=>Ou,_Bn:()=>Lp,_UZ:()=>Hc,_Vd:()=>na,_c5:()=>fb,_uU:()=>Uf,aQg:()=>Au,c2e:()=>Pw,cJS:()=>ze,cg1:()=>Qc,dDg:()=>Hw,dqk:()=>he,eFA:()=>Qg,ekj:()=>Yc,eoX:()=>Yg,f3M:()=>Yu,g9A:()=>Bg,h0i:()=>Is,hGG:()=>pb,hYB:()=>Wc,hij:()=>el,iGM:()=>ug,ifc:()=>ee,ip1:()=>kg,jDz:()=>jp,kEZ:()=>Qp,kL8:()=>cp,lG2:()=>en,lcZ:()=>rg,lqb:()=>Qo,lri:()=>Gg,n5z:()=>ks,oAB:()=>Lt,oJD:()=>Bd,oxw:()=>_f,qLn:()=>ia,qOj:()=>Fc,qZA:()=>Za,rWj:()=>Wg,s9C:()=>Gc,sBO:()=>Jw,sIi:()=>aa,s_b:()=>sl,soG:()=>ul,tb:()=>jg,tp0:()=>Ys,uIk:()=>Vc,vHH:()=>oe,vpe:()=>lo,wAp:()=>_n,xi3:()=>ig,xp6:()=>ah,ynx:()=>Qa,z2F:()=>dl,zSh:()=>nc,zs3:()=>qo});var i=l(7579),m=l(727),E=l(9751),P=l(6451),S=l(3099);function I(e){for(let t in e)if(e[t]===I)return t;throw Error("Could not find renamed property on target object.")}function x(e,t){for(const n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function R(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(R).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 k(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const N=I({__forward_ref__:I});function Y(e){return e.__forward_ref__=Y,e.toString=function(){return R(this())},e}function K(e){return Re(e)?e():e}function Re(e){return"function"==typeof e&&e.hasOwnProperty(N)&&e.__forward_ref__===Y}class oe extends Error{constructor(t,n){super(function at(e,t){return`NG0${Math.abs(e)}${t?": "+t.trim():""}`}(t,n)),this.code=t}}function Ie(e){return"string"==typeof e?e:null==e?"":String(e)}function ge(e,t){throw new oe(-201,!1)}function Xe(e,t){null==e&&function Me(e,t,n,r){throw new Error(`ASSERTION ERROR: ${e}`+(null==r?"":` [Expected=> ${n} ${r} ${t} <=Actual]`))}(t,e,null,"!=")}function Ae(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function ze(e){return{providers:e.providers||[],imports:e.imports||[]}}function pt(e){return Zt(e,me)||Zt(e,Mt)}function wt(e){return null!==pt(e)}function Zt(e,t){return e.hasOwnProperty(t)?e[t]:null}function Pe(e){return e&&(e.hasOwnProperty($e)||e.hasOwnProperty(rn))?e[$e]:null}const me=I({"ɵprov":I}),$e=I({"ɵinj":I}),Mt=I({ngInjectableDef:I}),rn=I({ngInjectorDef:I});var xt=(()=>((xt=xt||{})[xt.Default=0]="Default",xt[xt.Host=1]="Host",xt[xt.Self=2]="Self",xt[xt.SkipSelf=4]="SkipSelf",xt[xt.Optional=8]="Optional",xt))();let Kn;function ae(e){const t=Kn;return Kn=e,t}function ke(e,t,n){const r=pt(e);return r&&"root"==r.providedIn?void 0===r.value?r.value=r.factory():r.value:n&xt.Optional?null:void 0!==t?t:void ge(R(e))}function xe(e){return{toString:e}.toString()}var tt=(()=>((tt=tt||{})[tt.OnPush=0]="OnPush",tt[tt.Default=1]="Default",tt))(),ee=(()=>{return(e=ee||(ee={}))[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",ee;var e})();const he=(()=>typeof globalThis<"u"&&globalThis||typeof global<"u"&&global||typeof window<"u"&&window||typeof self<"u"&&typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&self)(),ut={},Je=[],vt=I({"ɵcmp":I}),Ct=I({"ɵdir":I}),Nt=I({"ɵpipe":I}),At=I({"ɵmod":I}),Yt=I({"ɵfac":I}),kt=I({__NG_ELEMENT_ID__:I});let lt=0;function un(e){return xe((()=>{const n=!0===e.standalone,r={},o={type:e.type,providersResolver:null,decls:e.decls,vars:e.vars,factory:null,template:e.template||null,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:r,inputs:null,outputs:null,exportAs:e.exportAs||null,onPush:e.changeDetection===tt.OnPush,directiveDefs:null,pipeDefs:null,standalone:n,dependencies:n&&e.dependencies||null,getStandaloneInjector:null,selectors:e.selectors||Je,viewQuery:e.viewQuery||null,features:e.features||null,data:e.data||{},encapsulation:e.encapsulation||ee.Emulated,id:"c"+lt++,styles:e.styles||Je,_:null,setInput:null,schemas:e.schemas||null,tView:null},s=e.dependencies,a=e.features;return o.inputs=Bt(e.inputs,r),o.outputs=Bt(e.outputs),a&&a.forEach((p=>p(o))),o.directiveDefs=s?()=>("function"==typeof s?s():s).map(Cn).filter(Xt):null,o.pipeDefs=s?()=>("function"==typeof s?s():s).map(Q).filter(Xt):null,o}))}function Cn(e){return sn(e)||Ee(e)}function Xt(e){return null!==e}function Lt(e){return xe((()=>({type:e.type,bootstrap:e.bootstrap||Je,declarations:e.declarations||Je,imports:e.imports||Je,exports:e.exports||Je,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null})))}function Bt(e,t){if(null==e)return ut;const n={};for(const r in e)if(e.hasOwnProperty(r)){let o=e[r],s=o;Array.isArray(o)&&(s=o[1],o=o[0]),n[o]=r,t&&(t[o]=s)}return n}const en=un;function Jt(e){return{type:e.type,name:e.name,factory:null,pure:!1!==e.pure,standalone:!0===e.standalone,onDestroy:e.type.prototype.ngOnDestroy||null}}function sn(e){return e[vt]||null}function Ee(e){return e[Ct]||null}function Q(e){return e[Nt]||null}function te(e){const t=sn(e)||Ee(e)||Q(e);return null!==t&&t.standalone}function Ge(e,t){const n=e[At]||null;if(!n&&!0===t)throw new Error(`Type ${R(e)} does not have 'ɵmod' property.`);return n}function X(e){return Array.isArray(e)&&"object"==typeof e[1]}function Se(e){return Array.isArray(e)&&!0===e[1]}function U(e){return 0!=(8&e.flags)}function Ve(e){return 2==(2&e.flags)}function jt(e){return 1==(1&e.flags)}function fn(e){return null!==e.template}function In(e){return 0!=(256&e[2])}function kr(e,t){return e.hasOwnProperty(Yt)?e[Yt]:null}class li{constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}}function xi(){return Mr}function Mr(e){return e.type.prototype.ngOnChanges&&(e.setInput=ci),yi}function yi(){const e=Yi(this),t=e?.current;if(t){const n=e.previous;if(n===ut)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function ci(e,t,n,r){const o=Yi(e)||function ui(e,t){return e[Yr]=t}(e,{previous:ut,current:null}),s=o.current||(o.current={}),a=o.previous,p=this.declaredInputs[n],v=a[p];s[p]=new li(v&&v.currentValue,t,a===ut),e[r]=t}xi.ngInherit=!0;const Yr="__ngSimpleChanges__";function Yi(e){return e[Yr]||null}function Un(e){for(;Array.isArray(e);)e=e[0];return e}function mr(e,t){return Un(t[e])}function qn(e,t){return Un(t[e.index])}function ri(e,t){return e.data[t]}function _r(e,t){return e[t]}function er(e,t){const n=t[e];return X(n)?n:n[0]}function Lr(e){return 64==(64&e[2])}function Tr(e,t){return null==t?null:e[t]}function ii(e){e[18]=0}function Ri(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 qt={lFrame:B(null),bindingsEnabled:!0};function tr(){return qt.bindingsEnabled}function bt(){return qt.lFrame.lView}function Sn(){return qt.lFrame.tView}function Li(e){return qt.lFrame.contextLView=e,e[8]}function jr(e){return qt.lFrame.contextLView=null,e}function $n(){let e=Ji();for(;null!==e&&64===e.type;)e=e.parent;return e}function Ji(){return qt.lFrame.currentTNode}function nr(e,t){const n=qt.lFrame;n.currentTNode=e,n.isParent=t}function Vi(){return qt.lFrame.isParent}function Xi(){qt.lFrame.isParent=!1}function C(){const e=qt.lFrame;let t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function Ht(){return qt.lFrame.bindingIndex++}function An(e){const t=qt.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function Ar(e,t){const n=qt.lFrame;n.bindingIndex=n.bindingRootIndex=e,di(t)}function di(e){qt.lFrame.currentDirectiveIndex=e}function fo(){return qt.lFrame.currentQueryIndex}function bi(e){qt.lFrame.currentQueryIndex=e}function V(e){const t=e[1];return 2===t.type?t.declTNode:1===t.type?e[6]:null}function u(e,t,n){if(n&xt.SkipSelf){let o=t,s=e;for(;!(o=o.parent,null!==o||n&xt.Host||(o=V(s),null===o||(s=s[15],10&o.type))););if(null===o)return!1;t=o,e=s}const r=qt.lFrame=w();return r.currentTNode=t,r.lView=e,!0}function h(e){const t=w(),n=e[1];qt.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function w(){const e=qt.lFrame,t=null===e?null:e.child;return null===t?B(e):t}function B(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 Z(){const e=qt.lFrame;return qt.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const fe=Z;function pe(){const e=Z();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 It(){return qt.lFrame.selectedIndex}function zt(e){qt.lFrame.selectedIndex=e}function tn(){const e=qt.lFrame;return ri(e.tView,e.selectedIndex)}function En(){qt.lFrame.currentNamespace="svg"}function Wn(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n<r;n++){const s=e.data[n].type.prototype,{ngAfterContentInit:a,ngAfterContentChecked:p,ngAfterViewInit:v,ngAfterViewChecked:A,ngOnDestroy:G}=s;a&&(e.contentHooks||(e.contentHooks=[])).push(-n,a),p&&((e.contentHooks||(e.contentHooks=[])).push(n,p),(e.contentCheckHooks||(e.contentCheckHooks=[])).push(n,p)),v&&(e.viewHooks||(e.viewHooks=[])).push(-n,v),A&&((e.viewHooks||(e.viewHooks=[])).push(n,A),(e.viewCheckHooks||(e.viewCheckHooks=[])).push(n,A)),null!=G&&(e.destroyHooks||(e.destroyHooks=[])).push(n,G)}}function Gn(e,t,n){lr(e,t,3,n)}function vr(e,t,n,r){(3&e[2])===n&&lr(e,t,n,r)}function Ir(e,t){let n=e[2];(3&n)===t&&(n&=2047,n+=1,e[2]=n)}function lr(e,t,n,r){const s=r??-1,a=t.length-1;let p=0;for(let v=void 0!==r?65535&e[18]:0;v<a;v++)if("number"==typeof t[v+1]){if(p=t[v],null!=r&&p>=r)break}else t[v]<0&&(e[18]+=65536),(p<s||-1==s)&&(oi(e,n,t,v),e[18]=(4294901760&e[18])+v+2),v++}function oi(e,t,n,r){const o=n[r]<0,s=n[r+1],p=e[o?-n[r]:n[r]];if(o){if(e[2]>>11<e[18]>>16&&(3&e[2])===t){e[2]+=2048;try{s.call(p)}finally{}}}else try{s.call(p)}finally{}}class xr{constructor(t,n,r){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=r}}function L(e,t,n){let r=0;for(;r<n.length;){const o=n[r];if("number"==typeof o){if(0!==o)break;r++;const s=n[r++],a=n[r++],p=n[r++];e.setAttribute(t,a,p,s)}else{const s=o,a=n[++r];qe(s)?e.setProperty(t,s,a):e.setAttribute(t,s,a),r++}}return r}function se(e){return 3===e||4===e||6===e}function qe(e){return 64===e.charCodeAt(0)}function ct(e,t){if(null!==t&&0!==t.length)if(null===e||0===e.length)e=t.slice();else{let n=-1;for(let r=0;r<t.length;r++){const o=t[r];"number"==typeof o?n=o:0===n||Gt(e,n,o,null,-1===n||2===n?t[++r]:null)}}return e}function Gt(e,t,n,r,o){let s=0,a=e.length;if(-1===t)a=-1;else for(;s<e.length;){const p=e[s++];if("number"==typeof p){if(p===t){a=-1;break}if(p>t){a=s-1;break}}}for(;s<e.length;){const p=e[s];if("number"==typeof p)break;if(p===n){if(null===r)return void(null!==o&&(e[s+1]=o));if(r===e[s+1])return void(e[s+2]=o)}s++,null!==r&&s++,null!==o&&s++}-1!==a&&(e.splice(a,0,t),s=a+1),e.splice(s++,0,n),null!==r&&e.splice(s++,0,r),null!==o&&e.splice(s++,0,o)}function ln(e){return-1!==e}function On(e){return 32767&e}function on(e,t){let n=function xn(e){return e>>16}(e),r=t;for(;n>0;)r=r[15],n--;return r}let Fn=!0;function Mn(e){const t=Fn;return Fn=e,t}let Di=0;const rr={};function Ei(e,t){const n=Ns(e,t);if(-1!==n)return n;const r=t[1];r.firstCreatePass&&(e.injectorIndex=t.length,jo(r.data,e),jo(t,null),jo(r.blueprint,null));const o=is(e,t),s=e.injectorIndex;if(ln(o)){const a=On(o),p=on(o,t),v=p[1].data;for(let A=0;A<8;A++)t[s+A]=p[a+A]|v[a+A]}return t[s+8]=o,s}function jo(e,t){e.push(0,0,0,0,0,0,0,0,t)}function Ns(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function is(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let n=0,r=null,o=t;for(;null!==o;){if(r=Ls(o),null===r)return-1;if(n++,o=o[15],-1!==r.injectorIndex)return r.injectorIndex|n<<16}return-1}function os(e,t,n){!function go(e,t,n){let r;"string"==typeof n?r=n.charCodeAt(0)||0:n.hasOwnProperty(kt)&&(r=n[kt]),null==r&&(r=n[kt]=Di++);const o=255&r;t.data[e+(o>>5)]|=1<<o}(e,t,n)}function Ho(e,t,n){if(n&xt.Optional||void 0!==e)return e;ge()}function Fs(e,t,n,r){if(n&xt.Optional&&void 0===r&&(r=null),0==(n&(xt.Self|xt.Host))){const o=e[9],s=ae(void 0);try{return o?o.get(t,r,n&xt.Optional):ke(t,r,n&xt.Optional)}finally{ae(s)}}return Ho(r,0,n)}function ss(e,t,n,r=xt.Default,o){if(null!==e){if(1024&t[2]){const a=function vl(e,t,n,r,o){let s=e,a=t;for(;null!==s&&null!==a&&1024&a[2]&&!(256&a[2]);){const p=as(s,a,n,r|xt.Self,rr);if(p!==rr)return p;let v=s.parent;if(!v){const A=a[21];if(A){const G=A.get(n,rr,r);if(G!==rr)return G}v=Ls(a),a=a[15]}s=v}return o}(e,t,n,r,rr);if(a!==rr)return a}const s=as(e,t,n,r,rr);if(s!==rr)return s}return Fs(t,n,r,o)}function as(e,t,n,r,o){const s=function _l(e){if("string"==typeof e)return e.charCodeAt(0)||0;const t=e.hasOwnProperty(kt)?e[kt]:void 0;return"number"==typeof t?t>=0?255&t:yl:t}(n);if("function"==typeof s){if(!u(t,e,r))return r&xt.Host?Ho(o,0,r):Fs(t,n,r,o);try{const a=s(r);if(null!=a||r&xt.Optional)return a;ge()}finally{fe()}}else if("number"==typeof s){let a=null,p=Ns(e,t),v=-1,A=r&xt.Host?t[16][6]:null;for((-1===p||r&xt.SkipSelf)&&(v=-1===p?is(e,t):t[p+8],-1!==v&&Ca(r,!1)?(a=t[1],p=On(v),t=on(v,t)):p=-1);-1!==p;){const G=t[1];if(va(s,p,G.data)){const re=ml(p,t,n,a,r,A);if(re!==rr)return re}v=t[p+8],-1!==v&&Ca(r,t[1].data[p+8]===A)&&va(s,p,t)?(a=G,p=On(v),t=on(v,t)):p=-1}}return o}function ml(e,t,n,r,o,s){const a=t[1],p=a.data[e+8],G=ls(p,a,n,null==r?Ve(p)&&Fn:r!=a&&0!=(3&p.type),o&xt.Host&&s===p);return null!==G?to(t,a,G,p):rr}function ls(e,t,n,r,o){const s=e.providerIndexes,a=t.data,p=1048575&s,v=e.directiveStart,G=s>>20,_e=o?p+G:e.directiveEnd;for(let Be=r?p:p+G;Be<_e;Be++){const mt=a[Be];if(Be<v&&n===mt||Be>=v&&mt.type===n)return Be}if(o){const Be=a[v];if(Be&&fn(Be)&&Be.type===n)return v}return null}function to(e,t,n,r){let o=e[n];const s=t.data;if(function Vo(e){return e instanceof xr}(o)){const a=o;a.resolving&&function Fe(e,t){const n=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new oe(-200,`Circular dependency in DI detected for ${e}${n}`)}(function Qe(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():Ie(e)}(s[n]));const p=Mn(a.canSeeViewProviders);a.resolving=!0;const v=a.injectImpl?ae(a.injectImpl):null;u(e,r,xt.Default);try{o=e[n]=a.factory(void 0,s,e,r),t.firstCreatePass&&n>=r.directiveStart&&function zn(e,t,n){const{ngOnChanges:r,ngOnInit:o,ngDoCheck:s}=t.type.prototype;if(r){const a=Mr(t);(n.preOrderHooks||(n.preOrderHooks=[])).push(e,a),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,a)}o&&(n.preOrderHooks||(n.preOrderHooks=[])).push(0-e,o),s&&((n.preOrderHooks||(n.preOrderHooks=[])).push(e,s),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,s))}(n,s[n],t)}finally{null!==v&&ae(v),Mn(p),a.resolving=!1,fe()}}return o}function va(e,t,n){return!!(n[t+(e>>5)]&1<<e)}function Ca(e,t){return!(e&xt.Self||e&xt.Host&&t)}class To{constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return ss(this._tNode,this._lView,t,r,n)}}function yl(){return new To($n(),bt())}function ks(e){return xe((()=>{const t=e.prototype.constructor,n=t[Yt]||ur(t),r=Object.prototype;let o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==r;){const s=o[Yt]||ur(o);if(s&&s!==n)return s;o=Object.getPrototypeOf(o)}return s=>new s}))}function ur(e){return Re(e)?()=>{const t=ur(K(e));return t&&t()}:kr(e)}function Ls(e){const t=e[1],n=t.type;return 2===n?t.declTNode:1===n?e[6]:null}function Uo(e){return function gl(e,t){if("class"===t)return e.classes;if("style"===t)return e.styles;const n=e.attrs;if(n){const r=n.length;let o=0;for(;o<r;){const s=n[o];if(se(s))break;if(0===s)o+=2;else if("number"==typeof s)for(o++;o<r&&"string"==typeof n[o];)o++;else{if(s===t)return n[o+1];o+=2}}}return null}($n(),e)}const Po="__parameters__";function $o(e,t,n){return xe((()=>{const r=function wa(e){return function(...n){if(e){const r=e(...n);for(const o in r)this[o]=r[o]}}}(t);function o(...s){if(this instanceof o)return r.apply(this,s),this;const a=new o(...s);return p.annotation=a,p;function p(v,A,G){const re=v.hasOwnProperty(Po)?v[Po]:Object.defineProperty(v,Po,{value:[]})[Po];for(;re.length<=G;)re.push(null);return(re[G]=re[G]||[]).push(a),v}}return n&&(o.prototype=Object.create(n.prototype)),o.prototype.ngMetadataName=e,o.annotationCls=o,o}))}class Hn{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=Ae({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}function Rr(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)),Rr(r,t)):t!==e&&t.push(r)}return t}function no(e,t){e.forEach((n=>Array.isArray(n)?no(n,t):t(n)))}function Us(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function cs(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function Go(e,t){const n=[];for(let r=0;r<e;r++)n.push(t);return n}function $r(e,t,n){let r=Wo(e,t);return r>=0?e[1|r]=n:(r=~r,function Dl(e,t,n,r){let o=e.length;if(o==t)e.push(n,r);else if(1===o)e.push(r,e[0]),e[0]=n;else{for(o--,e.push(e[o-1],e[o]);o>t;)e[o]=e[o-2],o--;e[t]=n,e[t+1]=r}}(e,r,t,n)),r}function $s(e,t){const n=Wo(e,t);if(n>=0)return e[1|n]}function Wo(e,t){return function f(e,t,n){let r=0,o=e.length>>n;for(;o!==r;){const s=r+(o-r>>1),a=e[s<<n];if(t===a)return s<<n;a>t?o=s:r=s+1}return~(o<<n)}(e,t,1)}const Wt={},kn="__NG_DI_FLAG__",Cr="ngTempTokenPath",mo=/\n/gm,zs="__source";let Hi;function xo(e){const t=Hi;return Hi=e,t}function _m(e,t=xt.Default){if(void 0===Hi)throw new oe(-203,!1);return null===Hi?ke(e,void 0,t):Hi.get(e,t&xt.Optional?null:void 0,t)}function hr(e,t=xt.Default){return(function Vn(){return Kn}()||_m)(K(e),t)}function Yu(e,t=xt.Default){return"number"!=typeof t&&(t=0|(t.optional&&8)|(t.host&&1)|(t.self&&2)|(t.skipSelf&&4)),hr(e,t)}function El(e){const t=[];for(let n=0;n<e.length;n++){const r=K(e[n]);if(Array.isArray(r)){if(0===r.length)throw new oe(900,!1);let o,s=xt.Default;for(let a=0;a<r.length;a++){const p=r[a],v=ym(p);"number"==typeof v?-1===v?o=p.token:s|=v:o=p}t.push(hr(o,s))}else t.push(hr(r))}return t}function Gs(e,t){return e[kn]=t,e.prototype[kn]=t,e}function ym(e){return e[kn]}const Ws=Gs($o("Optional"),8),Ys=Gs($o("SkipSelf"),4);var ro=(()=>((ro=ro||{})[ro.Important=1]="Important",ro[ro.DashCase=2]="DashCase",ro))();const Ol=new Map;let km=0;const Il="__ngContext__";function zr(e,t){X(t)?(e[Il]=t[20],function Vm(e){Ol.set(e[20],e)}(t)):e[Il]=t}function Rl(e,t){return undefined(e,t)}function qs(e){const t=e[3];return Se(t)?t[3]:t}function Nl(e){return fd(e[13])}function Fl(e){return fd(e[4])}function fd(e){for(;null!==e&&!Se(e);)e=e[4];return e}function ds(e,t,n,r,o){if(null!=r){let s,a=!1;Se(r)?s=r:X(r)&&(a=!0,r=r[0]);const p=Un(r);0===e&&null!==n?null==o?vd(t,n,p):Yo(t,n,p,o||null,!0):1===e&&null!==n?Yo(t,n,p,o||null,!0):2===e?function Ul(e,t,n){const r=Pa(e,t);r&&function s_(e,t,n,r){e.removeChild(t,n,r)}(e,r,t,n)}(t,p,a):3===e&&t.destroyNode(p),null!=s&&function c_(e,t,n,r,o){const s=n[7];s!==Un(n)&&ds(t,e,r,s,o);for(let p=10;p<n.length;p++){const v=n[p];Js(v[1],v,e,t,r,s)}}(t,e,s,n,o)}}function Ll(e,t,n){return e.createElement(t,n)}function gd(e,t){const n=e[9],r=n.indexOf(t),o=t[3];512&t[2]&&(t[2]&=-513,Ri(o,-1)),n.splice(r,1)}function Vl(e,t){if(e.length<=10)return;const n=10+t,r=e[n];if(r){const o=r[17];null!==o&&o!==e&&gd(o,r),t>0&&(e[n-1][4]=r[4]);const s=cs(e,10+t);!function Jm(e,t){Js(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]&=-65}return r}function md(e,t){if(!(128&t[2])){const n=t[11];n.destroyNode&&Js(e,t,n,3,null,null),function t_(e){let t=e[13];if(!t)return Bl(e[1],e);for(;t;){let n=null;if(X(t))n=t[13];else{const r=t[10];r&&(n=r)}if(!n){for(;t&&!t[4]&&t!==e;)X(t)&&Bl(t[1],t),t=t[3];null===t&&(t=e),X(t)&&Bl(t[1],t),n=t&&t[4]}t=n}}(t)}}function Bl(e,t){if(!(128&t[2])){t[2]&=-65,t[2]|=128,function o_(e,t){let n;if(null!=e&&null!=(n=e.destroyHooks))for(let r=0;r<n.length;r+=2){const o=t[n[r]];if(!(o instanceof xr)){const s=n[r+1];if(Array.isArray(s))for(let a=0;a<s.length;a+=2){const p=o[s[a]],v=s[a+1];try{v.call(p)}finally{}}else try{s.call(o)}finally{}}}}(e,t),function i_(e,t){const n=e.cleanup,r=t[7];let o=-1;if(null!==n)for(let s=0;s<n.length-1;s+=2)if("string"==typeof n[s]){const a=n[s+1],p="function"==typeof a?a(t):Un(t[a]),v=r[o=n[s+2]],A=n[s+3];"boolean"==typeof A?p.removeEventListener(n[s],v,A):A>=0?r[o=A]():r[o=-A].unsubscribe(),s+=2}else{const a=r[o=n[s+1]];n[s].call(a)}if(null!==r){for(let s=o+1;s<r.length;s++)(0,r[s])();t[7]=null}}(e,t),1===t[1].type&&t[11].destroy();const n=t[17];if(null!==n&&Se(t[3])){n!==t[3]&&gd(n,t);const r=t[19];null!==r&&r.detachView(e)}!function Bm(e){Ol.delete(e[20])}(t)}}function _d(e,t,n){return function yd(e,t,n){let r=t;for(;null!==r&&40&r.type;)r=(t=r).parent;if(null===r)return n[0];if(2&r.flags){const o=e.data[r.directiveStart].encapsulation;if(o===ee.None||o===ee.Emulated)return null}return qn(r,n)}(e,t.parent,n)}function Yo(e,t,n,r,o){e.insertBefore(t,n,r,o)}function vd(e,t,n){e.appendChild(t,n)}function Cd(e,t,n,r,o){null!==r?Yo(e,t,n,r,o):vd(e,t,n)}function Pa(e,t){return e.parentNode(t)}function wd(e,t,n){return Dd(e,t,n)}let Ia,Wl,xa,Dd=function bd(e,t,n){return 40&e.type?qn(e,n):null};function Oa(e,t,n,r){const o=_d(e,r,t),s=t[11],p=wd(r.parent||t[6],r,t);if(null!=o)if(Array.isArray(n))for(let v=0;v<n.length;v++)Cd(s,o,n[v],p,!1);else Cd(s,o,n,p,!1)}function Aa(e,t){if(null!==t){const n=t.type;if(3&n)return qn(t,e);if(4&n)return Hl(-1,e[t.index]);if(8&n){const r=t.child;if(null!==r)return Aa(e,r);{const o=e[t.index];return Se(o)?Hl(-1,o):Un(o)}}if(32&n)return Rl(t,e)()||Un(e[t.index]);{const r=Md(e,t);return null!==r?Array.isArray(r)?r[0]:Aa(qs(e[16]),r):Aa(e,t.next)}}return null}function Md(e,t){return null!==t?e[16][6].projection[t.projection]:null}function Hl(e,t){const n=10+e+1;if(n<t.length){const r=t[n],o=r[1].firstChild;if(null!==o)return Aa(r,o)}return t[7]}function $l(e,t,n,r,o,s,a){for(;null!=n;){const p=r[n.index],v=n.type;if(a&&0===t&&(p&&zr(Un(p),r),n.flags|=4),64!=(64&n.flags))if(8&v)$l(e,t,n.child,r,o,s,!1),ds(t,e,o,p,s);else if(32&v){const A=Rl(n,r);let G;for(;G=A();)ds(t,e,o,G,s);ds(t,e,o,p,s)}else 16&v?Sd(e,t,r,n,o,s):ds(t,e,o,p,s);n=a?n.projectionNext:n.next}}function Js(e,t,n,r,o,s){$l(n,r,e.firstChild,t,o,s,!1)}function Sd(e,t,n,r,o,s){const a=n[16],v=a[6].projection[r.projection];if(Array.isArray(v))for(let A=0;A<v.length;A++)ds(t,e,o,v[A],s);else $l(e,t,v,a[3],o,s,!0)}function Td(e,t,n){e.setAttribute(t,"style",n)}function zl(e,t,n){""===n?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n)}function Ko(e){return function Gl(){if(void 0===Ia&&(Ia=null,he.trustedTypes))try{Ia=he.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Ia}()?.createHTML(e)||e}function p_(e){Wl=e}function Od(e){return function Yl(){if(void 0===xa&&(xa=null,he.trustedTypes))try{xa=he.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return xa}()?.createHTML(e)||e}class xd{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see https://g.co/ng/security#xss)`}}function Ro(e){return e instanceof xd?e.changingThisBreaksApplicationSecurity:e}function Xs(e,t){const n=function C_(e){return e instanceof xd&&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 w_{constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t="<body><remove></remove>"+t;try{const n=(new window.DOMParser).parseFromString(Ko(t),"text/html").body;return null===n?this.inertDocumentHelper.getInertBodyElement(t):(n.removeChild(n.firstChild),n)}catch{return null}}}class b_{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=Ko(t),n;const r=this.inertDocument.createElement("body");return r.innerHTML=Ko(t),this.defaultDoc.documentMode&&this.stripCustomNsAttrs(r),r}stripCustomNsAttrs(t){const n=t.attributes;for(let o=n.length-1;0<o;o--){const a=n.item(o).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 E_=/^(?:(?:https?|mailto|data|ftp|tel|file|sms):|[^&:/?#]*(?:[/?#]|$))/gi;function Kl(e){return(e=String(e)).match(E_)?e:"unsafe:"+e}function _o(e){const t={};for(const n of e.split(","))t[n]=!0;return t}function ea(...e){const t={};for(const n of e)for(const r in n)n.hasOwnProperty(r)&&(t[r]=!0);return t}const Nd=_o("area,br,col,hr,img,wbr"),Fd=_o("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),kd=_o("rp,rt"),Zl=ea(Nd,ea(Fd,_o("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),ea(kd,_o("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),ea(kd,Fd)),Ql=_o("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),Ld=ea(Ql,_o("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,srcset,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),_o("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")),M_=_o("script,style,template");class S_{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(t){let n=t.firstChild,r=!0;for(;n;)if(n.nodeType===Node.ELEMENT_NODE?r=this.startElement(n):n.nodeType===Node.TEXT_NODE?this.chars(n.nodeValue):this.sanitizedSomething=!0,r&&n.firstChild)n=n.firstChild;else for(;n;){n.nodeType===Node.ELEMENT_NODE&&this.endElement(n);let o=this.checkClobberedElement(n,n.nextSibling);if(o){n=o;break}n=this.checkClobberedElement(n,n.parentNode)}return this.buf.join("")}startElement(t){const n=t.nodeName.toLowerCase();if(!Zl.hasOwnProperty(n))return this.sanitizedSomething=!0,!M_.hasOwnProperty(n);this.buf.push("<"),this.buf.push(n);const r=t.attributes;for(let o=0;o<r.length;o++){const s=r.item(o),a=s.name,p=a.toLowerCase();if(!Ld.hasOwnProperty(p)){this.sanitizedSomething=!0;continue}let v=s.value;Ql[p]&&(v=Kl(v)),this.buf.push(" ",a,'="',Vd(v),'"')}return this.buf.push(">"),!0}endElement(t){const n=t.nodeName.toLowerCase();Zl.hasOwnProperty(n)&&!Nd.hasOwnProperty(n)&&(this.buf.push("</"),this.buf.push(n),this.buf.push(">"))}chars(t){this.buf.push(Vd(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 T_=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,P_=/([^\#-~ |!])/g;function Vd(e){return e.replace(/&/g,"&").replace(T_,(function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"})).replace(P_,(function(t){return"&#"+t.charCodeAt(0)+";"})).replace(/</g,"<").replace(/>/g,">")}let Ra;function ql(e){return"content"in e&&function A_(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var fr=(()=>((fr=fr||{})[fr.NONE=0]="NONE",fr[fr.HTML=1]="HTML",fr[fr.STYLE=2]="STYLE",fr[fr.SCRIPT=3]="SCRIPT",fr[fr.URL=4]="URL",fr[fr.RESOURCE_URL=5]="RESOURCE_URL",fr))();function Bd(e){const t=ta();return t?Od(t.sanitize(fr.HTML,e)||""):Xs(e,"HTML")?Od(Ro(e)):function O_(e,t){let n=null;try{Ra=Ra||function Rd(e){const t=new b_(e);return function D_(){try{return!!(new window.DOMParser).parseFromString(Ko(""),"text/html")}catch{return!1}}()?new w_(t):t}(e);let r=t?String(t):"";n=Ra.getInertBodyElement(r);let o=5,s=r;do{if(0===o)throw new Error("Failed to sanitize html because the input is unstable");o--,r=s,s=n.innerHTML,n=Ra.getInertBodyElement(r)}while(r!==s);return Ko((new S_).sanitizeChildren(ql(n)||n))}finally{if(n){const r=ql(n)||n;for(;r.firstChild;)r.removeChild(r.firstChild)}}}(function Pd(){return void 0!==Wl?Wl:typeof document<"u"?document:void 0}(),Ie(e))}function Jl(e){const t=ta();return t?t.sanitize(fr.URL,e)||"":Xs(e,"URL")?Ro(e):Kl(Ie(e))}function ta(){const e=bt();return e&&e[12]}const Xl=new Hn("ENVIRONMENT_INITIALIZER"),Hd=new Hn("INJECTOR",-1),Ud=new Hn("INJECTOR_DEF_TYPES");class $d{get(t,n=Wt){if(n===Wt){const r=new Error(`NullInjectorError: No provider for ${R(t)}!`);throw r.name="NullInjectorError",r}return n}}function L_(...e){return{"ɵproviders":zd(0,e)}}function zd(e,...t){const n=[],r=new Set;let o;return no(t,(s=>{const a=s;ec(a,n,[],r)&&(o||(o=[]),o.push(a))})),void 0!==o&&Gd(o,n),n}function Gd(e,t){for(let n=0;n<e.length;n++){const{providers:o}=e[n];no(o,(s=>{t.push(s)}))}}function ec(e,t,n,r){if(!(e=K(e)))return!1;let o=null,s=Pe(e);const a=!s&&sn(e);if(s||a){if(a&&!a.standalone)return!1;o=e}else{const v=e.ngModule;if(s=Pe(v),!s)return!1;o=v}const p=r.has(o);if(a){if(p)return!1;if(r.add(o),a.dependencies){const v="function"==typeof a.dependencies?a.dependencies():a.dependencies;for(const A of v)ec(A,t,n,r)}}else{if(!s)return!1;{if(null!=s.imports&&!p){let A;r.add(o);try{no(s.imports,(G=>{ec(G,t,n,r)&&(A||(A=[]),A.push(G))}))}finally{}void 0!==A&&Gd(A,t)}if(!p){const A=kr(o)||(()=>new o);t.push({provide:o,useFactory:A,deps:Je},{provide:Ud,useValue:o,multi:!0},{provide:Xl,useValue:()=>hr(o),multi:!0})}const v=s.providers;null==v||p||no(v,(G=>{t.push(G)}))}}return o!==e&&void 0!==e.providers}const V_=I({provide:String,useValue:I});function tc(e){return null!==e&&"object"==typeof e&&V_ in e}function Zo(e){return"function"==typeof e}const nc=new Hn("Set Injector scope."),Na={},j_={};let rc;function Fa(){return void 0===rc&&(rc=new $d),rc}class Qo{}class Kd extends Qo{constructor(t,n,r,o){super(),this.parent=n,this.source=r,this.scopes=o,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,oc(t,(a=>this.processProvider(a))),this.records.set(Hd,hs(void 0,this)),o.has("environment")&&this.records.set(Qo,hs(void 0,this));const s=this.records.get(nc);null!=s&&"string"==typeof s.value&&this.scopes.add(s.value),this.injectorDefTypes=new Set(this.get(Ud.multi,Je,xt.Self))}get destroyed(){return this._destroyed}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(const t of this._ngOnDestroyHooks)t.ngOnDestroy();for(const t of this._onDestroyHooks)t()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),this._onDestroyHooks.length=0}}onDestroy(t){this._onDestroyHooks.push(t)}runInContext(t){this.assertNotDestroyed();const n=xo(this),r=ae(void 0);try{return t()}finally{xo(n),ae(r)}}get(t,n=Wt,r=xt.Default){this.assertNotDestroyed();const o=xo(this),s=ae(void 0);try{if(!(r&xt.SkipSelf)){let p=this.records.get(t);if(void 0===p){const v=function G_(e){return"function"==typeof e||"object"==typeof e&&e instanceof Hn}(t)&&pt(t);p=v&&this.injectableDefInScope(v)?hs(ic(t),Na):null,this.records.set(t,p)}if(null!=p)return this.hydrate(t,p)}return(r&xt.Self?Fa():this.parent).get(t,n=r&xt.Optional&&n===Wt?null:n)}catch(a){if("NullInjectorError"===a.name){if((a[Cr]=a[Cr]||[]).unshift(R(t)),o)throw a;return function vm(e,t,n,r){const o=e[Cr];throw t[zs]&&o.unshift(t[zs]),e.message=function Cm(e,t,n,r=null){e=e&&"\n"===e.charAt(0)&&"ɵ"==e.charAt(1)?e.slice(2):e;let o=R(t);if(Array.isArray(t))o=t.map(R).join(" -> ");else if("object"==typeof t){let s=[];for(let a in t)if(t.hasOwnProperty(a)){let p=t[a];s.push(a+":"+("string"==typeof p?JSON.stringify(p):R(p)))}o=`{${s.join(", ")}}`}return`${n}${r?"("+r+")":""}[${o}]: ${e.replace(mo,"\n ")}`}("\n"+e.message,o,n,r),e.ngTokenPath=o,e[Cr]=null,e}(a,t,"R3InjectorError",this.source)}throw a}finally{ae(s),xo(o)}}resolveInjectorInitializers(){const t=xo(this),n=ae(void 0);try{const r=this.get(Xl.multi,Je,xt.Self);for(const o of r)o()}finally{xo(t),ae(n)}}toString(){const t=[],n=this.records;for(const r of n.keys())t.push(R(r));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new oe(205,!1)}processProvider(t){let n=Zo(t=K(t))?t:K(t&&t.provide);const r=function U_(e){return tc(e)?hs(void 0,e.useValue):hs(Zd(e),Na)}(t);if(Zo(t)||!0!==t.multi)this.records.get(n);else{let o=this.records.get(n);o||(o=hs(void 0,Na,!0),o.factory=()=>El(o.multi),this.records.set(n,o)),n=t,o.multi.push(t)}this.records.set(n,r)}hydrate(t,n){return n.value===Na&&(n.value=j_,n.value=n.factory()),"object"==typeof n.value&&n.value&&function z_(e){return null!==e&&"object"==typeof e&&"function"==typeof e.ngOnDestroy}(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}injectableDefInScope(t){if(!t.providedIn)return!1;const n=K(t.providedIn);return"string"==typeof n?"any"===n||this.scopes.has(n):this.injectorDefTypes.has(n)}}function ic(e){const t=pt(e),n=null!==t?t.factory:kr(e);if(null!==n)return n;if(e instanceof Hn)throw new oe(204,!1);if(e instanceof Function)return function H_(e){const t=e.length;if(t>0)throw Go(t,"?"),new oe(204,!1);const n=function vn(e){const t=e&&(e[me]||e[Mt]);if(t){const n=function He(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 oe(204,!1)}function Zd(e,t,n){let r;if(Zo(e)){const o=K(e);return kr(o)||ic(o)}if(tc(e))r=()=>K(e.useValue);else if(function Yd(e){return!(!e||!e.useFactory)}(e))r=()=>e.useFactory(...El(e.deps||[]));else if(function Wd(e){return!(!e||!e.useExisting)}(e))r=()=>hr(K(e.useExisting));else{const o=K(e&&(e.useClass||e.provide));if(!function $_(e){return!!e.deps}(e))return kr(o)||ic(o);r=()=>new o(...El(e.deps))}return r}function hs(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function W_(e){return!!e.ɵproviders}function oc(e,t){for(const n of e)Array.isArray(n)?oc(n,t):W_(n)?oc(n.ɵproviders,t):t(n)}class Qd{}class Z_{resolveComponentFactory(t){throw function K_(e){const t=Error(`No component factory found for ${R(e)}. Did you add it to @NgModule.entryComponents?`);return t.ngComponent=e,t}(t)}}let na=(()=>{class e{}return e.NULL=new Z_,e})();function Q_(){return fs($n(),bt())}function fs(e,t){return new ra(qn(e,t))}let ra=(()=>{class e{constructor(n){this.nativeElement=n}}return e.__NG_ELEMENT_ID__=Q_,e})();function q_(e){return e instanceof ra?e.nativeElement:e}class Jd{}let J_=(()=>{class e{}return e.__NG_ELEMENT_ID__=()=>function X_(){const e=bt(),n=er($n().index,e);return(X(n)?n:e)[11]}(),e})(),ey=(()=>{class e{}return e.ɵprov=Ae({token:e,providedIn:"root",factory:()=>null}),e})();class Xd{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const ty=new Xd("14.3.0"),sc={};function lc(e){return e.ngOriginalError}class ia{constructor(){this._console=console}handleError(t){const n=this._findOriginalError(t);this._console.error("ERROR",t),n&&this._console.error("ORIGINAL ERROR",n)}_findOriginalError(t){let n=t&&lc(t);for(;n&&lc(n);)n=lc(n);return n||null}}function eh(e){return e.ownerDocument.defaultView}function yo(e){return e instanceof Function?e():e}function nh(e,t,n){let r=e.length;for(;;){const o=e.indexOf(t,n);if(-1===o)return o;if(0===o||e.charCodeAt(o-1)<=32){const s=t.length;if(o+s===r||e.charCodeAt(o+s)<=32)return o}n=o+1}}const rh="ng-template";function dy(e,t,n){let r=0;for(;r<e.length;){let o=e[r++];if(n&&"class"===o){if(o=e[r],-1!==nh(o.toLowerCase(),t,0))return!0}else if(1===o){for(;r<e.length&&"string"==typeof(o=e[r++]);)if(o.toLowerCase()===t)return!0;return!1}}return!1}function ih(e){return 4===e.type&&e.value!==rh}function hy(e,t,n){return t===(4!==e.type||n?e.value:rh)}function fy(e,t,n){let r=4;const o=e.attrs||[],s=function my(e){for(let t=0;t<e.length;t++)if(se(e[t]))return t;return e.length}(o);let a=!1;for(let p=0;p<t.length;p++){const v=t[p];if("number"!=typeof v){if(!a)if(4&r){if(r=2|1&r,""!==v&&!hy(e,v,n)||""===v&&1===t.length){if(Ui(r))return!1;a=!0}}else{const A=8&r?v:t[++p];if(8&r&&null!==e.attrs){if(!dy(e.attrs,A,n)){if(Ui(r))return!1;a=!0}continue}const re=py(8&r?"class":v,o,ih(e),n);if(-1===re){if(Ui(r))return!1;a=!0;continue}if(""!==A){let _e;_e=re>s?"":o[re+1].toLowerCase();const Be=8&r?_e:null;if(Be&&-1!==nh(Be,A,0)||2&r&&A!==_e){if(Ui(r))return!1;a=!0}}}}else{if(!a&&!Ui(r)&&!Ui(v))return!1;if(a&&Ui(v))continue;a=!1,r=v|1&r}}return Ui(r)||a}function Ui(e){return 0==(1&e)}function py(e,t,n,r){if(null===t)return-1;let o=0;if(r||!n){let s=!1;for(;o<t.length;){const a=t[o];if(a===e)return o;if(3===a||6===a)s=!0;else{if(1===a||2===a){let p=t[++o];for(;"string"==typeof p;)p=t[++o];continue}if(4===a)break;if(0===a){o+=4;continue}}o+=s?1:2}return-1}return function _y(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 oh(e,t,n=!1){for(let r=0;r<t.length;r++)if(fy(e,t[r],n))return!0;return!1}function yy(e,t){e:for(let n=0;n<t.length;n++){const r=t[n];if(e.length===r.length){for(let o=0;o<e.length;o++)if(e[o]!==r[o])continue e;return!0}}return!1}function sh(e,t){return e?":not("+t.trim()+")":t}function vy(e){let t=e[0],n=1,r=2,o="",s=!1;for(;n<e.length;){let a=e[n];if("string"==typeof a)if(2&r){const p=e[++n];o+="["+a+(p.length>0?'="'+p+'"':"")+"]"}else 8&r?o+="."+a:4&r&&(o+=" "+a);else""!==o&&!Ui(a)&&(t+=sh(s,o),o=""),r=a,s=s||!Ui(r);n++}return""!==o&&(t+=sh(s,o)),t}const Pn={};function ah(e){lh(Sn(),bt(),It()+e,!1)}function lh(e,t,n,r){if(!r)if(3==(3&t[2])){const s=e.preOrderCheckHooks;null!==s&&Gn(t,s,n)}else{const s=e.preOrderHooks;null!==s&&vr(t,s,0,n)}zt(n)}function hh(e,t=null,n=null,r){const o=fh(e,t,n,r);return o.resolveInjectorInitializers(),o}function fh(e,t=null,n=null,r,o=new Set){const s=[n||Je,L_(e)];return r=r||("object"==typeof e?void 0:R(e)),new Kd(s,t||Fa(),r||null,o)}let qo=(()=>{class e{static create(n,r){if(Array.isArray(n))return hh({name:""},r,n,"");{const o=n.name??"";return hh({name:o},n.parent,n.providers,o)}}}return e.THROW_IF_NOT_FOUND=Wt,e.NULL=new $d,e.ɵprov=Ae({token:e,providedIn:"any",factory:()=>hr(Hd)}),e.__NG_ELEMENT_ID__=-1,e})();function ms(e,t=xt.Default){const n=bt();return null===n?hr(e,t):ss($n(),n,K(e),t)}function Ch(){throw new Error("invalid")}function La(e,t){return e<<17|t<<2}function $i(e){return e>>17&32767}function fc(e){return 2|e}function vo(e){return(131068&e)>>2}function pc(e,t){return-131069&e|t<<2}function gc(e){return 1|e}function Ih(e,t){const n=e.contentQueries;if(null!==n)for(let r=0;r<n.length;r+=2){const o=n[r],s=n[r+1];if(-1!==s){const a=e.data[s];bi(o),a.contentQueries(2,t[s],s)}}}function ja(e,t,n,r,o,s,a,p,v,A,G){const re=t.blueprint.slice();return re[0]=o,re[2]=76|r,(null!==G||e&&1024&e[2])&&(re[2]|=1024),ii(re),re[3]=re[15]=e,re[8]=n,re[10]=a||e&&e[10],re[11]=p||e&&e[11],re[12]=v||e&&e[12]||null,re[9]=A||e&&e[9]||null,re[6]=s,re[20]=function Lm(){return km++}(),re[21]=G,re[16]=2==t.type?e[16]:re,re}function _s(e,t,n,r,o){let s=e.data[t];if(null===s)s=function Dc(e,t,n,r,o){const s=Ji(),a=Vi(),v=e.data[t]=function tv(e,t,n,r,o,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:o,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,o);return null===e.firstChild&&(e.firstChild=v),null!==s&&(a?null==s.child&&null!==v.parent&&(s.child=v):null===s.next&&(s.next=v)),v}(e,t,n,r,o),function Pr(){return qt.lFrame.inI18n}()&&(s.flags|=64);else if(64&s.type){s.type=n,s.value=r,s.attrs=o;const a=function Br(){const e=qt.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}();s.injectorIndex=null===a?-1:a.injectorIndex}return nr(s,!0),s}function ys(e,t,n,r){if(0===n)return-1;const o=t.length;for(let s=0;s<n;s++)t.push(r),e.blueprint.push(r),e.data.push(null);return o}function Ec(e,t,n){h(t);try{const r=e.viewQuery;null!==r&&xc(1,r,n);const o=e.template;null!==o&&xh(e,t,o,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),e.staticContentQueries&&Ih(e,t),e.staticViewQueries&&xc(2,e.viewQuery,n);const s=e.components;null!==s&&function Jy(e,t){for(let n=0;n<t.length;n++)_v(e,t[n])}(t,s)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{t[2]&=-5,pe()}}function Ha(e,t,n,r){const o=t[2];if(128!=(128&o)){h(t);try{ii(t),function et(e){return qt.lFrame.bindingIndex=e}(e.bindingStartIndex),null!==n&&xh(e,t,n,2,r);const a=3==(3&o);if(a){const A=e.preOrderCheckHooks;null!==A&&Gn(t,A,null)}else{const A=e.preOrderHooks;null!==A&&vr(t,A,0,null),Ir(t,0)}if(function gv(e){for(let t=Nl(e);null!==t;t=Fl(t)){if(!t[2])continue;const n=t[9];for(let r=0;r<n.length;r++){const o=n[r],s=o[3];0==(512&o[2])&&Ri(s,1),o[2]|=512}}}(t),function pv(e){for(let t=Nl(e);null!==t;t=Fl(t))for(let n=10;n<t.length;n++){const r=t[n],o=r[1];Lr(r)&&Ha(o,r,o.template,r[8])}}(t),null!==e.contentQueries&&Ih(e,t),a){const A=e.contentCheckHooks;null!==A&&Gn(t,A)}else{const A=e.contentHooks;null!==A&&vr(t,A,1),Ir(t,1)}!function Qy(e,t){const n=e.hostBindingOpCodes;if(null!==n)try{for(let r=0;r<n.length;r++){const o=n[r];if(o<0)zt(~o);else{const s=o,a=n[++r],p=n[++r];Ar(a,s),p(2,t[s])}}}finally{zt(-1)}}(e,t);const p=e.components;null!==p&&function qy(e,t){for(let n=0;n<t.length;n++)mv(e,t[n])}(t,p);const v=e.viewQuery;if(null!==v&&xc(2,v,r),a){const A=e.viewCheckHooks;null!==A&&Gn(t,A)}else{const A=e.viewHooks;null!==A&&vr(t,A,2),Ir(t,2)}!0===e.firstUpdatePass&&(e.firstUpdatePass=!1),t[2]&=-41,512&t[2]&&(t[2]&=-513,Ri(t[3],-1))}finally{pe()}}}function xh(e,t,n,r,o){const s=It(),a=2&r;try{zt(-1),a&&t.length>22&&lh(e,t,22,!1),n(r,o)}finally{zt(s)}}function Rh(e,t,n){if(U(t)){const o=t.directiveEnd;for(let s=t.directiveStart;s<o;s++){const a=e.data[s];a.contentQueries&&a.contentQueries(1,n[s],s)}}}function Mc(e,t,n){!tr()||(function sv(e,t,n,r){const o=n.directiveStart,s=n.directiveEnd;e.firstCreatePass||Ei(n,t),zr(r,t);const a=n.initialInputs;for(let p=o;p<s;p++){const v=e.data[p],A=fn(v);A&&dv(t,n,v);const G=to(t,e,p,n);zr(G,t),null!==a&&hv(0,p-o,G,v,0,a),A&&(er(n.index,t)[8]=G)}}(e,t,n,qn(n,t)),128==(128&n.flags)&&function av(e,t,n){const r=n.directiveStart,o=n.directiveEnd,s=n.index,a=function yr(){return qt.lFrame.currentDirectiveIndex}();try{zt(s);for(let p=r;p<o;p++){const v=e.data[p],A=t[p];di(p),(null!==v.hostBindings||0!==v.hostVars||null!==v.hostAttrs)&&jh(v,A)}}finally{zt(-1),di(a)}}(e,t,n))}function Sc(e,t,n=qn){const r=t.localNames;if(null!==r){let o=t.index+1;for(let s=0;s<r.length;s+=2){const a=r[s+1],p=-1===a?n(t,e):e[a];e[o++]=p}}}function Nh(e){const t=e.tView;return null===t||t.incompleteFirstPass?e.tView=Tc(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts):t}function Tc(e,t,n,r,o,s,a,p,v,A){const G=22+r,re=G+o,_e=function Xy(e,t){const n=[];for(let r=0;r<t;r++)n.push(r<e?null:Pn);return n}(G,re),Be="function"==typeof A?A():A;return _e[1]={type:e,blueprint:_e,template:n,queries:null,viewQuery:p,declTNode:t,data:_e.slice().fill(null,G),bindingStartIndex:G,expandoStartIndex:re,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:v,consts:Be,incompleteFirstPass:!1}}function Fh(e,t,n,r){const o=Gh(t);null===n?o.push(r):(o.push(n),e.firstCreatePass&&Wh(e).push(r,o.length-1))}function kh(e,t,n){for(let r in e)if(e.hasOwnProperty(r)){const o=e[r];(n=null===n?{}:n).hasOwnProperty(r)?n[r].push(t,o):n[r]=[t,o]}return n}function Lh(e,t){const r=t.directiveEnd,o=e.data,s=t.attrs,a=[];let p=null,v=null;for(let A=t.directiveStart;A<r;A++){const G=o[A],re=G.inputs,_e=null===s||ih(t)?null:fv(re,s);a.push(_e),p=kh(re,A,p),v=kh(G.outputs,A,v)}null!==p&&(p.hasOwnProperty("class")&&(t.flags|=16),p.hasOwnProperty("style")&&(t.flags|=32)),t.initialInputs=a,t.inputs=p,t.outputs=v}function pi(e,t,n,r,o,s,a,p){const v=qn(t,n);let G,A=t.inputs;!p&&null!=A&&(G=A[r])?(Rc(e,n,G,r,o),Ve(t)&&Vh(n,t.index)):3&t.type&&(r=function nv(e){return"class"===e?"className":"for"===e?"htmlFor":"formaction"===e?"formAction":"innerHtml"===e?"innerHTML":"readonly"===e?"readOnly":"tabindex"===e?"tabIndex":e}(r),o=null!=a?a(o,t.value||"",r):o,s.setProperty(v,r,o))}function Vh(e,t){const n=er(t,e);16&n[2]||(n[2]|=32)}function Pc(e,t,n,r){let o=!1;if(tr()){const s=function lv(e,t,n){const r=e.directiveRegistry;let o=null;if(r)for(let s=0;s<r.length;s++){const a=r[s];oh(n,a.selectors,!1)&&(o||(o=[]),os(Ei(n,t),e,a.type),fn(a)?(Hh(e,n),o.unshift(a)):o.push(a))}return o}(e,t,n),a=null===r?null:{"":-1};if(null!==s){o=!0,Uh(n,e.data.length,s.length);for(let G=0;G<s.length;G++){const re=s[G];re.providersResolver&&re.providersResolver(re)}let p=!1,v=!1,A=ys(e,t,s.length,null);for(let G=0;G<s.length;G++){const re=s[G];n.mergedAttrs=ct(n.mergedAttrs,re.hostAttrs),$h(e,n,t,A,re),uv(A,re,a),null!==re.contentQueries&&(n.flags|=8),(null!==re.hostBindings||null!==re.hostAttrs||0!==re.hostVars)&&(n.flags|=128);const _e=re.type.prototype;!p&&(_e.ngOnChanges||_e.ngOnInit||_e.ngDoCheck)&&((e.preOrderHooks||(e.preOrderHooks=[])).push(n.index),p=!0),!v&&(_e.ngOnChanges||_e.ngDoCheck)&&((e.preOrderCheckHooks||(e.preOrderCheckHooks=[])).push(n.index),v=!0),A++}Lh(e,n)}a&&function cv(e,t,n){if(t){const r=e.localNames=[];for(let o=0;o<t.length;o+=2){const s=n[t[o+1]];if(null==s)throw new oe(-301,!1);r.push(t[o],s)}}}(n,r,a)}return n.mergedAttrs=ct(n.mergedAttrs,n.attrs),o}function Bh(e,t,n,r,o,s){const a=s.hostBindings;if(a){let p=e.hostBindingOpCodes;null===p&&(p=e.hostBindingOpCodes=[]);const v=~t.index;(function ov(e){let t=e.length;for(;t>0;){const n=e[--t];if("number"==typeof n&&n<0)return n}return 0})(p)!=v&&p.push(v),p.push(r,o,a)}}function jh(e,t){null!==e.hostBindings&&e.hostBindings(1,t)}function Hh(e,t){t.flags|=2,(e.components||(e.components=[])).push(t.index)}function uv(e,t,n){if(n){if(t.exportAs)for(let r=0;r<t.exportAs.length;r++)n[t.exportAs[r]]=e;fn(t)&&(n[""]=e)}}function Uh(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}function $h(e,t,n,r,o){e.data[r]=o;const s=o.factory||(o.factory=kr(o.type)),a=new xr(s,fn(o),ms);e.blueprint[r]=a,n[r]=a,Bh(e,t,0,r,ys(e,n,o.hostVars,Pn),o)}function dv(e,t,n){const r=qn(t,e),o=Nh(n),s=e[10],a=Ua(e,ja(e,o,null,n.onPush?32:16,r,t,s,s.createRenderer(r,n),null,null,null));e[t.index]=a}function io(e,t,n,r,o,s){const a=qn(e,t);!function Oc(e,t,n,r,o,s,a){if(null==s)e.removeAttribute(t,o,n);else{const p=null==a?Ie(s):a(s,r||"",o);e.setAttribute(t,o,p,n)}}(t[11],a,s,e.value,n,r,o)}function hv(e,t,n,r,o,s){const a=s[t];if(null!==a){const p=r.setInput;for(let v=0;v<a.length;){const A=a[v++],G=a[v++],re=a[v++];null!==p?r.setInput(n,re,A,G):n[G]=re}}}function fv(e,t){let n=null,r=0;for(;r<t.length;){const o=t[r];if(0!==o)if(5!==o){if("number"==typeof o)break;e.hasOwnProperty(o)&&(null===n&&(n=[]),n.push(o,e[o],t[r+1])),r+=2}else r+=2;else r+=4}return n}function zh(e,t,n,r){return new Array(e,!0,!1,t,null,0,r,n,null,null)}function mv(e,t){const n=er(t,e);if(Lr(n)){const r=n[1];48&n[2]?Ha(r,n,r.template,n[8]):n[5]>0&&Ac(n)}}function Ac(e){for(let r=Nl(e);null!==r;r=Fl(r))for(let o=10;o<r.length;o++){const s=r[o];if(Lr(s))if(512&s[2]){const a=s[1];Ha(a,s,a.template,s[8])}else s[5]>0&&Ac(s)}const n=e[1].components;if(null!==n)for(let r=0;r<n.length;r++){const o=er(n[r],e);Lr(o)&&o[5]>0&&Ac(o)}}function _v(e,t){const n=er(t,e),r=n[1];(function yv(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])})(r,n),Ec(r,n,n[8])}function Ua(e,t){return e[13]?e[14][4]=t:e[13]=t,e[14]=t,t}function Ic(e){for(;e;){e[2]|=32;const t=qs(e);if(In(e)&&!t)return e;e=t}return null}function $a(e,t,n,r=!0){const o=t[10];o.begin&&o.begin();try{Ha(e,t,e.template,n)}catch(a){throw r&&Kh(t,a),a}finally{o.end&&o.end()}}function xc(e,t,n){bi(0),t(e,n)}function Gh(e){return e[7]||(e[7]=[])}function Wh(e){return e.cleanup||(e.cleanup=[])}function Kh(e,t){const n=e[9],r=n?n.get(ia,null):null;r&&r.handleError(t)}function Rc(e,t,n,r,o){for(let s=0;s<n.length;){const a=n[s++],p=n[s++],v=t[a],A=e.data[a];null!==A.setInput?A.setInput(v,o,r,p):v[p]=o}}function za(e,t,n){let r=n?e.styles:null,o=n?e.classes:null,s=0;if(null!==t)for(let a=0;a<t.length;a++){const p=t[a];"number"==typeof p?s=p:1==s?o=k(o,p):2==s&&(r=k(r,p+": "+t[++a]+";"))}n?e.styles=r:e.stylesWithoutHost=r,n?e.classes=o:e.classesWithoutHost=o}function Ga(e,t,n,r,o=!1){for(;null!==n;){const s=t[n.index];if(null!==s&&r.push(Un(s)),Se(s))for(let p=10;p<s.length;p++){const v=s[p],A=v[1].firstChild;null!==A&&Ga(v[1],v,A,r)}const a=n.type;if(8&a)Ga(e,t,n.child,r);else if(32&a){const p=Rl(n,t);let v;for(;v=p();)r.push(v)}else if(16&a){const p=Md(t,n);if(Array.isArray(p))r.push(...p);else{const v=qs(t[16]);Ga(v[1],v,p,r,!0)}}n=o?n.projectionNext:n.next}return r}class oa{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 Ga(n,t,n.firstChild,[])}get context(){return this._lView[8]}set context(t){this._lView[8]=t}get destroyed(){return 128==(128&this._lView[2])}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){const t=this._lView[3];if(Se(t)){const n=t[8],r=n?n.indexOf(this):-1;r>-1&&(Vl(t,r),cs(n,r))}this._attachedToViewContainer=!1}md(this._lView[1],this._lView)}onDestroy(t){Fh(this._lView[1],this._lView,null,t)}markForCheck(){Ic(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-65}reattach(){this._lView[2]|=64}detectChanges(){$a(this._lView[1],this._lView,this.context)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new oe(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function e_(e,t){Js(e,t,t[11],2,null,null)}(this._lView[1],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new oe(902,!1);this._appRef=t}}class vv extends oa{constructor(t){super(t),this._view=t}detectChanges(){const t=this._view;$a(t[1],t,t[8],!1)}checkNoChanges(){}get context(){return null}}class Nc extends na{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const n=sn(t);return new sa(n,this.ngModule)}}function Zh(e){const t=[];for(let n in e)e.hasOwnProperty(n)&&t.push({propName:e[n],templateName:n});return t}class wv{constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,r){const o=this.injector.get(t,sc,r);return o!==sc||n===sc?o:this.parentInjector.get(t,n,r)}}class sa extends Qd{constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=function Cy(e){return e.map(vy).join(",")}(t.selectors),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!n}get inputs(){return Zh(this.componentDef.inputs)}get outputs(){return Zh(this.componentDef.outputs)}create(t,n,r,o){let s=(o=o||this.ngModule)instanceof Qo?o:o?.injector;s&&null!==this.componentDef.getStandaloneInjector&&(s=this.componentDef.getStandaloneInjector(s)||s);const a=s?new wv(t,s):t,p=a.get(Jd,null);if(null===p)throw new oe(407,!1);const v=a.get(ey,null),A=p.createRenderer(null,this.componentDef),G=this.componentDef.selectors[0][0]||"div",re=r?function ev(e,t,n){return e.selectRootElement(t,n===ee.ShadowDom)}(A,r,this.componentDef.encapsulation):Ll(A,G,function Cv(e){const t=e.toLowerCase();return"svg"===t?"svg":"math"===t?"math":null}(G)),_e=this.componentDef.onPush?288:272,Be=Tc(0,null,null,1,0,null,null,null,null,null),mt=ja(null,Be,null,_e,null,null,p,A,v,a,null);let Rt,Ut;h(mt);try{const nn=function Ev(e,t,n,r,o,s){const a=n[1];n[22]=e;const v=_s(a,22,2,"#host",null),A=v.mergedAttrs=t.hostAttrs;null!==A&&(za(v,A,!0),null!==e&&(L(o,e,A),null!==v.classes&&zl(o,e,v.classes),null!==v.styles&&Td(o,e,v.styles)));const G=r.createRenderer(e,t),re=ja(n,Nh(t),null,t.onPush?32:16,n[22],v,r,G,s||null,null,null);return a.firstCreatePass&&(os(Ei(v,n),a,t.type),Hh(a,v),Uh(v,n.length,1)),Ua(n,re),n[22]=re}(re,this.componentDef,mt,p,A);if(re)if(r)L(A,re,["ng-version",ty.full]);else{const{attrs:pn,classes:Et}=function wy(e){const t=[],n=[];let r=1,o=2;for(;r<e.length;){let s=e[r];if("string"==typeof s)2===o?""!==s&&t.push(s,e[++r]):8===o&&n.push(s);else{if(!Ui(o))break;o=s}r++}return{attrs:t,classes:n}}(this.componentDef.selectors[0]);pn&&L(A,re,pn),Et&&Et.length>0&&zl(A,re,Et.join(" "))}if(Ut=ri(Be,22),void 0!==n){const pn=Ut.projection=[];for(let Et=0;Et<this.ngContentSelectors.length;Et++){const yn=n[Et];pn.push(null!=yn?Array.from(yn):null)}}Rt=function Mv(e,t,n,r){const o=n[1],s=function iv(e,t,n){const r=$n();e.firstCreatePass&&(n.providersResolver&&n.providersResolver(n),$h(e,r,t,ys(e,t,1,null),n),Lh(e,r));const o=to(t,e,r.directiveStart,r);zr(o,t);const s=qn(r,t);return s&&zr(s,t),o}(o,n,t);if(e[8]=n[8]=s,null!==r)for(const p of r)p(s,t);if(t.contentQueries){const p=$n();t.contentQueries(1,s,p.directiveStart)}const a=$n();return!o.firstCreatePass||null===t.hostBindings&&null===t.hostAttrs||(zt(a.index),Bh(n[1],a,0,a.directiveStart,a.directiveEnd,t),jh(t,s)),s}(nn,this.componentDef,mt,[Sv]),Ec(Be,mt,null)}finally{pe()}return new Dv(this.componentType,Rt,fs(Ut,mt),mt,Ut)}}class Dv extends class Y_{}{constructor(t,n,r,o,s){super(),this.location=r,this._rootLView=o,this._tNode=s,this.instance=n,this.hostView=this.changeDetectorRef=new vv(o),this.componentType=t}setInput(t,n){const r=this._tNode.inputs;let o;if(null!==r&&(o=r[t])){const s=this._rootLView;Rc(s[1],s,o,t,n),Vh(s,this._tNode.index)}}get injector(){return new To(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}}function Sv(){const e=$n();Wn(bt()[1],e)}function Fc(e){let t=function Qh(e){return Object.getPrototypeOf(e.prototype).constructor}(e.type),n=!0;const r=[e];for(;t;){let o;if(fn(e))o=t.ɵcmp||t.ɵdir;else{if(t.ɵcmp)throw new oe(903,!1);o=t.ɵdir}if(o){if(n){r.push(o);const a=e;a.inputs=kc(e.inputs),a.declaredInputs=kc(e.declaredInputs),a.outputs=kc(e.outputs);const p=o.hostBindings;p&&Av(e,p);const v=o.viewQuery,A=o.contentQueries;if(v&&Pv(e,v),A&&Ov(e,A),x(e.inputs,o.inputs),x(e.declaredInputs,o.declaredInputs),x(e.outputs,o.outputs),fn(o)&&o.data.animation){const G=e.data;G.animation=(G.animation||[]).concat(o.data.animation)}}const s=o.features;if(s)for(let a=0;a<s.length;a++){const p=s[a];p&&p.ngInherit&&p(e),p===Fc&&(n=!1)}}t=Object.getPrototypeOf(t)}!function Tv(e){let t=0,n=null;for(let r=e.length-1;r>=0;r--){const o=e[r];o.hostVars=t+=o.hostVars,o.hostAttrs=ct(o.hostAttrs,n=ct(n,o.hostAttrs))}}(r)}function kc(e){return e===ut?{}:e===Je?[]:e}function Pv(e,t){const n=e.viewQuery;e.viewQuery=n?(r,o)=>{t(r,o),n(r,o)}:t}function Ov(e,t){const n=e.contentQueries;e.contentQueries=n?(r,o,s)=>{t(r,o,s),n(r,o,s)}:t}function Av(e,t){const n=e.hostBindings;e.hostBindings=n?(r,o)=>{t(r,o),n(r,o)}:t}let Wa=null;function Jo(){if(!Wa){const e=he.Symbol;if(e&&e.iterator)Wa=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&&(Wa=r)}}}return Wa}function aa(e){return!!Lc(e)&&(Array.isArray(e)||!(e instanceof Map)&&Jo()in e)}function Lc(e){return null!==e&&("function"==typeof e||"object"==typeof e)}function oo(e,t,n){return e[t]=n}function Gr(e,t,n){return!Object.is(e[t],n)&&(e[t]=n,!0)}function Xo(e,t,n,r){const o=Gr(e,t,n);return Gr(e,t+1,r)||o}function Vc(e,t,n,r){const o=bt();return Gr(o,Ht(),t)&&(Sn(),io(tn(),o,e,t,n,r)),Vc}function Cs(e,t,n,r){return Gr(e,Ht(),n)?t+Ie(n)+r:Pn}function ws(e,t,n,r,o,s){const p=Xo(e,function z(){return qt.lFrame.bindingIndex}(),n,o);return An(2),p?t+Ie(n)+r+Ie(o)+s:Pn}function lf(e,t,n,r,o,s,a,p){const v=bt(),A=Sn(),G=e+22,re=A.firstCreatePass?function Vv(e,t,n,r,o,s,a,p,v){const A=t.consts,G=_s(t,e,4,a||null,Tr(A,p));Pc(t,n,G,Tr(A,v)),Wn(t,G);const re=G.tViews=Tc(2,G,r,o,s,t.directiveRegistry,t.pipeRegistry,null,t.schemas,A);return null!==t.queries&&(t.queries.template(t,G),re.queries=t.queries.embeddedTView(G)),G}(G,A,v,t,n,r,o,s,a):A.data[G];nr(re,!1);const _e=v[11].createComment("");Oa(A,v,_e,re),zr(_e,v),Ua(v,v[G]=zh(_e,v,_e,re)),jt(re)&&Mc(A,v,re),null!=a&&Sc(v,re,p)}function cf(e){return _r(function Nn(){return qt.lFrame.contextLView}(),22+e)}function Bc(e,t,n){const r=bt();return Gr(r,Ht(),t)&&pi(Sn(),tn(),r,e,t,r[11],n,!1),Bc}function jc(e,t,n,r,o){const a=o?"class":"style";Rc(e,n,t.inputs[a],a,r)}function Ka(e,t,n,r){const o=bt(),s=Sn(),a=22+e,p=o[11],v=o[a]=Ll(p,t,function Ln(){return qt.lFrame.currentNamespace}()),A=s.firstCreatePass?function jv(e,t,n,r,o,s,a){const p=t.consts,A=_s(t,e,2,o,Tr(p,s));return Pc(t,n,A,Tr(p,a)),null!==A.attrs&&za(A,A.attrs,!1),null!==A.mergedAttrs&&za(A,A.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,A),A}(a,s,o,0,t,n,r):s.data[a];nr(A,!0);const G=A.mergedAttrs;null!==G&&L(p,v,G);const re=A.classes;null!==re&&zl(p,v,re);const _e=A.styles;return null!==_e&&Td(p,v,_e),64!=(64&A.flags)&&Oa(s,o,v,A),0===function So(){return qt.lFrame.elementDepthCount}()&&zr(v,o),function Ni(){qt.lFrame.elementDepthCount++}(),jt(A)&&(Mc(s,o,A),Rh(s,A,o)),null!==r&&Sc(o,A),Ka}function Za(){let e=$n();Vi()?Xi():(e=e.parent,nr(e,!1));const t=e;!function Fi(){qt.lFrame.elementDepthCount--}();const n=Sn();return n.firstCreatePass&&(Wn(n,e),U(e)&&n.queries.elementEnd(e)),null!=t.classesWithoutHost&&function Bo(e){return 0!=(16&e.flags)}(t)&&jc(n,t,bt(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function g(e){return 0!=(32&e.flags)}(t)&&jc(n,t,bt(),t.stylesWithoutHost,!1),Za}function Hc(e,t,n,r){return Ka(e,t,n,r),Za(),Hc}function Qa(e,t,n){const r=bt(),o=Sn(),s=e+22,a=o.firstCreatePass?function Hv(e,t,n,r,o){const s=t.consts,a=Tr(s,r),p=_s(t,e,8,"ng-container",a);return null!==a&&za(p,a,!0),Pc(t,n,p,Tr(s,o)),null!==t.queries&&t.queries.elementStart(t,p),p}(s,o,r,t,n):o.data[s];nr(a,!0);const p=r[s]=r[11].createComment("");return Oa(o,r,p,a),zr(p,r),jt(a)&&(Mc(o,r,a),Rh(o,a,r)),null!=n&&Sc(r,a),Qa}function qa(){let e=$n();const t=Sn();return Vi()?Xi():(e=e.parent,nr(e,!1)),t.firstCreatePass&&(Wn(t,e),U(e)&&t.queries.elementEnd(e)),qa}function Uc(e,t,n){return Qa(e,t,n),qa(),Uc}function uf(){return bt()}function $c(e){return!!e&&"function"==typeof e.then}function df(e){return!!e&&"function"==typeof e.subscribe}const hf=df;function zc(e,t,n,r){const o=bt(),s=Sn(),a=$n();return function pf(e,t,n,r,o,s,a,p){const v=jt(r),G=e.firstCreatePass&&Wh(e),re=t[8],_e=Gh(t);let Be=!0;if(3&r.type||p){const Ut=qn(r,t),nn=p?p(Ut):Ut,pn=_e.length,Et=p?jn=>p(Un(jn[r.index])):r.index;let yn=null;if(!p&&v&&(yn=function Uv(e,t,n,r){const o=e.cleanup;if(null!=o)for(let s=0;s<o.length-1;s+=2){const a=o[s];if(a===n&&o[s+1]===r){const p=t[7],v=o[s+2];return p.length>v?p[v]:null}"string"==typeof a&&(s+=2)}return null}(e,t,o,r.index)),null!==yn)(yn.__ngLastListenerFn__||yn).__ngNextListenerFn__=s,yn.__ngLastListenerFn__=s,Be=!1;else{s=mf(r,t,re,s,!1);const jn=n.listen(nn,o,s);_e.push(s,jn),G&&G.push(o,Et,pn,pn+1)}}else s=mf(r,t,re,s,!1);const mt=r.outputs;let Rt;if(Be&&null!==mt&&(Rt=mt[o])){const Ut=Rt.length;if(Ut)for(let nn=0;nn<Ut;nn+=2){const Jn=t[Rt[nn]][Rt[nn+1]].subscribe(s),ns=_e.length;_e.push(s,Jn),G&&G.push(o,r.index,ns,-(ns+1))}}}(s,o,o[11],a,e,t,0,r),zc}function gf(e,t,n,r){try{return!1!==n(r)}catch(o){return Kh(e,o),!1}}function mf(e,t,n,r,o){return function s(a){if(a===Function)return r;Ic(2&e.flags?er(e.index,t):t);let v=gf(t,0,r,a),A=s.__ngNextListenerFn__;for(;A;)v=gf(t,0,A,a)&&v,A=A.__ngNextListenerFn__;return o&&!1===v&&(a.preventDefault(),a.returnValue=!1),v}}function _f(e=1){return function We(e){return(qt.lFrame.contextLView=function gt(e,t){for(;e>0;)t=t[15],e--;return t}(e,qt.lFrame.contextLView))[8]}(e)}function $v(e,t){let n=null;const r=function gy(e){const t=e.attrs;if(null!=t){const n=t.indexOf(5);if(0==(1&n))return t[n+1]}return null}(e);for(let o=0;o<t.length;o++){const s=t[o];if("*"!==s){if(null===r?oh(e,s,!0):yy(r,s))return o}else n=o}return n}function yf(e){const t=bt()[16][6];if(!t.projection){const r=t.projection=Go(e?e.length:1,null),o=r.slice();let s=t.child;for(;null!==s;){const a=e?$v(s,e):0;null!==a&&(o[a]?o[a].projectionNext=s:r[a]=s,o[a]=s),s=s.next}}}function vf(e,t=0,n){const r=bt(),o=Sn(),s=_s(o,22+e,16,null,n||null);null===s.projection&&(s.projection=t),Xi(),64!=(64&s.flags)&&function l_(e,t,n){Sd(t[11],0,t,n,_d(e,n,t),wd(n.parent||t[6],n,t))}(o,r,s)}function Gc(e,t,n){return Ja(e,"",t,"",n),Gc}function Ja(e,t,n,r,o){const s=bt(),a=Cs(s,t,n,r);return a!==Pn&&pi(Sn(),tn(),s,e,a,s[11],o,!1),Ja}function Wc(e,t,n,r,o,s,a){const p=bt(),v=ws(p,t,n,r,o,s);return v!==Pn&&pi(Sn(),tn(),p,e,v,p[11],a,!1),Wc}function Tf(e,t,n,r,o){const s=e[n+1],a=null===t;let p=r?$i(s):vo(s),v=!1;for(;0!==p&&(!1===v||a);){const G=e[p+1];Wv(e[p],t)&&(v=!0,e[p+1]=r?gc(G):fc(G)),p=r?$i(G):vo(G)}v&&(e[n+1]=r?fc(s):gc(s))}function Wv(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&Wo(e,t)>=0}const wr={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function Pf(e){return e.substring(wr.key,wr.keyEnd)}function Of(e,t){const n=wr.textEnd;return n===t?-1:(t=wr.keyEnd=function Qv(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}(e,wr.key=t,n),Ps(e,t,n))}function Ps(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function Yc(e,t){return function zi(e,t,n,r){const o=bt(),s=Sn(),a=An(2);s.firstUpdatePass&&Lf(s,e,a,r),t!==Pn&&Gr(o,a,t)&&Bf(s,s.data[It()],o,o[11],e,o[a+1]=function sC(e,t){return null==e||("string"==typeof t?e+=t:"object"==typeof e&&(e=R(Ro(e)))),e}(t,n),r,a)}(e,t,null,!0),Yc}function Ff(e){Gi($r,ao,e,!0)}function ao(e,t){for(let n=function Kv(e){return function If(e){wr.key=0,wr.keyEnd=0,wr.value=0,wr.valueEnd=0,wr.textEnd=e.length}(e),Of(e,Ps(e,0,wr.textEnd))}(t);n>=0;n=Of(t,n))$r(e,Pf(t),!0)}function Gi(e,t,n,r){const o=Sn(),s=An(2);o.firstUpdatePass&&Lf(o,null,s,r);const a=bt();if(n!==Pn&&Gr(a,s,n)){const p=o.data[It()];if(Hf(p,r)&&!kf(o,s)){let v=r?p.classesWithoutHost:p.stylesWithoutHost;null!==v&&(n=k(v,n||"")),jc(o,p,a,n,r)}else!function oC(e,t,n,r,o,s,a,p){o===Pn&&(o=Je);let v=0,A=0,G=0<o.length?o[0]:null,re=0<s.length?s[0]:null;for(;null!==G||null!==re;){const _e=v<o.length?o[v+1]:void 0,Be=A<s.length?s[A+1]:void 0;let Rt,mt=null;G===re?(v+=2,A+=2,_e!==Be&&(mt=re,Rt=Be)):null===re||null!==G&&G<re?(v+=2,mt=G):(A+=2,mt=re,Rt=Be),null!==mt&&Bf(e,t,n,r,mt,Rt,a,p),G=v<o.length?o[v]:null,re=A<s.length?s[A]:null}}(o,p,a,a[11],a[s+1],a[s+1]=function iC(e,t,n){if(null==n||""===n)return Je;const r=[],o=Ro(n);if(Array.isArray(o))for(let s=0;s<o.length;s++)e(r,o[s],!0);else if("object"==typeof o)for(const s in o)o.hasOwnProperty(s)&&e(r,s,o[s]);else"string"==typeof o&&t(r,o);return r}(e,t,n),r,s)}}function kf(e,t){return t>=e.expandoStartIndex}function Lf(e,t,n,r){const o=e.data;if(null===o[n+1]){const s=o[It()],a=kf(e,n);Hf(s,r)&&null===t&&!a&&(t=!1),t=function eC(e,t,n,r){const o=function eo(e){const t=qt.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}(e);let s=r?t.residualClasses:t.residualStyles;if(null===o)0===(r?t.classBindings:t.styleBindings)&&(n=ca(n=Kc(null,e,t,n,r),t.attrs,r),s=null);else{const a=t.directiveStylingLast;if(-1===a||e[a]!==o)if(n=Kc(o,e,t,n,r),null===s){let v=function tC(e,t,n){const r=n?t.classBindings:t.styleBindings;if(0!==vo(r))return e[$i(r)]}(e,t,r);void 0!==v&&Array.isArray(v)&&(v=Kc(null,e,t,v[1],r),v=ca(v,t.attrs,r),function nC(e,t,n,r){e[$i(n?t.classBindings:t.styleBindings)]=r}(e,t,r,v))}else s=function rC(e,t,n){let r;const o=t.directiveEnd;for(let s=1+t.directiveStylingLast;s<o;s++)r=ca(r,e[s].hostAttrs,n);return ca(r,t.attrs,n)}(e,t,r)}return void 0!==s&&(r?t.residualClasses=s:t.residualStyles=s),n}(o,s,t,r),function zv(e,t,n,r,o,s){let a=s?t.classBindings:t.styleBindings,p=$i(a),v=vo(a);e[r]=n;let G,A=!1;if(Array.isArray(n)){const re=n;G=re[1],(null===G||Wo(re,G)>0)&&(A=!0)}else G=n;if(o)if(0!==v){const _e=$i(e[p+1]);e[r+1]=La(_e,p),0!==_e&&(e[_e+1]=pc(e[_e+1],r)),e[p+1]=function jy(e,t){return 131071&e|t<<17}(e[p+1],r)}else e[r+1]=La(p,0),0!==p&&(e[p+1]=pc(e[p+1],r)),p=r;else e[r+1]=La(v,0),0===p?p=r:e[v+1]=pc(e[v+1],r),v=r;A&&(e[r+1]=fc(e[r+1])),Tf(e,G,r,!0),Tf(e,G,r,!1),function Gv(e,t,n,r,o){const s=o?e.residualClasses:e.residualStyles;null!=s&&"string"==typeof t&&Wo(s,t)>=0&&(n[r+1]=gc(n[r+1]))}(t,G,e,r,s),a=La(p,v),s?t.classBindings=a:t.styleBindings=a}(o,s,t,n,a,r)}}function Kc(e,t,n,r,o){let s=null;const a=n.directiveEnd;let p=n.directiveStylingLast;for(-1===p?p=n.directiveStart:p++;p<a&&(s=t[p],r=ca(r,s.hostAttrs,o),s!==e);)p++;return null!==e&&(n.directiveStylingLast=p),r}function ca(e,t,n){const r=n?1:2;let o=-1;if(null!==t)for(let s=0;s<t.length;s++){const a=t[s];"number"==typeof a?o=a:o===r&&(Array.isArray(e)||(e=void 0===e?[]:["",e]),$r(e,a,!!n||t[++s]))}return void 0===e?null:e}function Bf(e,t,n,r,o,s,a,p){if(!(3&t.type))return;const v=e.data,A=v[p+1];Xa(function Dh(e){return 1==(1&e)}(A)?jf(v,t,n,o,vo(A),a):void 0)||(Xa(s)||function bh(e){return 2==(2&e)}(A)&&(s=jf(v,null,n,o,p,a)),function u_(e,t,n,r,o){if(t)o?e.addClass(n,r):e.removeClass(n,r);else{let s=-1===r.indexOf("-")?void 0:ro.DashCase;null==o?e.removeStyle(n,r,s):("string"==typeof o&&o.endsWith("!important")&&(o=o.slice(0,-10),s|=ro.Important),e.setStyle(n,r,o,s))}}(r,a,mr(It(),n),o,s))}function jf(e,t,n,r,o,s){const a=null===t;let p;for(;o>0;){const v=e[o],A=Array.isArray(v),G=A?v[1]:v,re=null===G;let _e=n[o+1];_e===Pn&&(_e=re?Je:void 0);let Be=re?$s(_e,r):G===r?_e:void 0;if(A&&!Xa(Be)&&(Be=$s(v,r)),Xa(Be)&&(p=Be,a))return p;const mt=e[o+1];o=a?$i(mt):vo(mt)}if(null!==t){let v=s?t.residualClasses:t.residualStyles;null!=v&&(p=$s(v,r))}return p}function Xa(e){return void 0!==e}function Hf(e,t){return 0!=(e.flags&(t?16:32))}function Uf(e,t=""){const n=bt(),r=Sn(),o=e+22,s=r.firstCreatePass?_s(r,o,1,t,null):r.data[o],a=n[o]=function kl(e,t){return e.createText(t)}(n[11],t);Oa(r,n,a,s),nr(s,!1)}function Zc(e){return el("",e,""),Zc}function el(e,t,n){const r=bt(),o=Cs(r,e,t,n);return o!==Pn&&function Co(e,t,n){const r=mr(t,e);!function pd(e,t,n){e.setValue(t,n)}(e[11],r,n)}(r,It(),o),el}function qf(e,t,n){Gi($r,ao,Cs(bt(),e,t,n),!0)}const es=void 0;var MC=["en",[["a","p"],["AM","PM"],es],[["AM","PM"],es,es],[["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"]],es,[["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"]],es,[["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}",es,"{1} 'at' {0}",es],[".",",",";","%","+","-","E","×","‰","∞","NaN",":"],["#,##0.###","#,##0%","¤#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function EC(e){const n=Math.floor(Math.abs(e)),r=e.toString().replace(/^[^.]*\.?/,"").length;return 1===n&&0===r?1:5}];let Os={};function Qc(e){const t=function SC(e){return e.toLowerCase().replace(/_/g,"-")}(e);let n=up(t);if(n)return n;const r=t.split("-")[0];if(n=up(r),n)return n;if("en"===r)return MC;throw new oe(701,!1)}function cp(e){return Qc(e)[_n.PluralCase]}function up(e){return e in Os||(Os[e]=he.ng&&he.ng.common&&he.ng.common.locales&&he.ng.common.locales[e]),Os[e]}var _n=(()=>((_n=_n||{})[_n.LocaleId=0]="LocaleId",_n[_n.DayPeriodsFormat=1]="DayPeriodsFormat",_n[_n.DayPeriodsStandalone=2]="DayPeriodsStandalone",_n[_n.DaysFormat=3]="DaysFormat",_n[_n.DaysStandalone=4]="DaysStandalone",_n[_n.MonthsFormat=5]="MonthsFormat",_n[_n.MonthsStandalone=6]="MonthsStandalone",_n[_n.Eras=7]="Eras",_n[_n.FirstDayOfWeek=8]="FirstDayOfWeek",_n[_n.WeekendRange=9]="WeekendRange",_n[_n.DateFormat=10]="DateFormat",_n[_n.TimeFormat=11]="TimeFormat",_n[_n.DateTimeFormat=12]="DateTimeFormat",_n[_n.NumberSymbols=13]="NumberSymbols",_n[_n.NumberFormats=14]="NumberFormats",_n[_n.CurrencyCode=15]="CurrencyCode",_n[_n.CurrencySymbol=16]="CurrencySymbol",_n[_n.CurrencyName=17]="CurrencyName",_n[_n.Currencies=18]="Currencies",_n[_n.Directionality=19]="Directionality",_n[_n.PluralCase=20]="PluralCase",_n[_n.ExtraData=21]="ExtraData",_n))();const As="en-US";let dp=As;function Xc(e,t,n,r,o){if(e=K(e),Array.isArray(e))for(let s=0;s<e.length;s++)Xc(e[s],t,n,r,o);else{const s=Sn(),a=bt();let p=Zo(e)?e:K(e.provide),v=Zd(e);const A=$n(),G=1048575&A.providerIndexes,re=A.directiveStart,_e=A.providerIndexes>>20;if(Zo(e)||!e.multi){const Be=new xr(v,o,ms),mt=tu(p,t,o?G:G+_e,re);-1===mt?(os(Ei(A,a),s,p),eu(s,e,t.length),t.push(p),A.directiveStart++,A.directiveEnd++,o&&(A.providerIndexes+=1048576),n.push(Be),a.push(Be)):(n[mt]=Be,a[mt]=Be)}else{const Be=tu(p,t,G+_e,re),mt=tu(p,t,G,G+_e),Rt=Be>=0&&n[Be],Ut=mt>=0&&n[mt];if(o&&!Ut||!o&&!Rt){os(Ei(A,a),s,p);const nn=function E0(e,t,n,r,o){const s=new xr(e,n,ms);return s.multi=[],s.index=t,s.componentProviders=0,kp(s,o,r&&!n),s}(o?D0:b0,n.length,o,r,v);!o&&Ut&&(n[mt].providerFactory=nn),eu(s,e,t.length,0),t.push(p),A.directiveStart++,A.directiveEnd++,o&&(A.providerIndexes+=1048576),n.push(nn),a.push(nn)}else eu(s,e,Be>-1?Be:mt,kp(n[o?mt:Be],v,!o&&r));!o&&r&&Ut&&n[mt].componentProviders++}}}function eu(e,t,n,r){const o=Zo(t),s=function B_(e){return!!e.useClass}(t);if(o||s){const v=(s?K(t.useClass):t).prototype.ngOnDestroy;if(v){const A=e.destroyHooks||(e.destroyHooks=[]);if(!o&&t.multi){const G=A.indexOf(n);-1===G?A.push(n,[r,v]):A[G+1].push(r,v)}else A.push(n,v)}}}function kp(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function tu(e,t,n,r){for(let o=n;o<r;o++)if(t[o]===e)return o;return-1}function b0(e,t,n,r){return nu(this.multi,[])}function D0(e,t,n,r){const o=this.multi;let s;if(this.providerFactory){const a=this.providerFactory.componentProviders,p=to(n,n[1],this.providerFactory.index,r);s=p.slice(0,a),nu(o,s);for(let v=a;v<p.length;v++)s.push(p[v])}else s=[],nu(o,s);return s}function nu(e,t){for(let n=0;n<e.length;n++)t.push((0,e[n])());return t}function Lp(e,t=[]){return n=>{n.providersResolver=(r,o)=>function w0(e,t,n){const r=Sn();if(r.firstCreatePass){const o=fn(e);Xc(n,r.data,r.blueprint,o,!0),Xc(t,r.data,r.blueprint,o,!1)}}(r,o?o(e):e,t)}}class Is{}class Vp{}function M0(e,t){return new Bp(e,t??null)}class Bp extends Is{constructor(t,n){super(),this._parent=n,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new Nc(this);const r=Ge(t);this._bootstrapComponents=yo(r.bootstrap),this._r3Injector=fh(t,n,[{provide:Is,useValue:this},{provide:na,useValue:this.componentFactoryResolver}],R(t),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(t)}get injector(){return this._r3Injector}destroy(){const t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach((n=>n())),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}}class ru extends Vp{constructor(t){super(),this.moduleType=t}create(t){return new Bp(this.moduleType,t)}}class S0 extends Is{constructor(t,n,r){super(),this.componentFactoryResolver=new Nc(this),this.instance=null;const o=new Kd([...t,{provide:Is,useValue:this},{provide:na,useValue:this.componentFactoryResolver}],n||Fa(),r,new Set(["environment"]));this.injector=o,o.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}}function iu(e,t,n=null){return new S0(e,t,n).injector}let T0=(()=>{class e{constructor(n){this._injector=n,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n.id)){const r=zd(0,n.type),o=r.length>0?iu([r],this._injector,`Standalone[${n.type.name}]`):null;this.cachedInjectors.set(n.id,o)}return this.cachedInjectors.get(n.id)}ngOnDestroy(){try{for(const n of this.cachedInjectors.values())null!==n&&n.destroy()}finally{this.cachedInjectors.clear()}}}return e.ɵprov=Ae({token:e,providedIn:"environment",factory:()=>new e(hr(Qo))}),e})();function jp(e){e.getStandaloneInjector=t=>t.get(T0).getOrCreateStandaloneInjector(e)}function Yp(e,t,n){const r=C()+e,o=bt();return o[r]===Pn?oo(o,r,n?t.call(n):t()):function la(e,t){return e[t]}(o,r)}function Kp(e,t,n,r){return qp(bt(),C(),e,t,n,r)}function Zp(e,t,n,r,o){return Jp(bt(),C(),e,t,n,r,o)}function Qp(e,t,n,r,o,s){return function Xp(e,t,n,r,o,s,a,p){const v=t+n;return function Ya(e,t,n,r,o){const s=Xo(e,t,n,r);return Gr(e,t+2,o)||s}(e,v,o,s,a)?oo(e,v+3,p?r.call(p,o,s,a):r(o,s,a)):ga(e,v+3)}(bt(),C(),e,t,n,r,o,s)}function ga(e,t){const n=e[t];return n===Pn?void 0:n}function qp(e,t,n,r,o,s){const a=t+n;return Gr(e,a,o)?oo(e,a+1,s?r.call(s,o):r(o)):ga(e,a+1)}function Jp(e,t,n,r,o,s,a){const p=t+n;return Xo(e,p,o,s)?oo(e,p+2,a?r.call(a,o,s):r(o,s)):ga(e,p+2)}function ng(e,t){const n=Sn();let r;const o=e+22;n.firstCreatePass?(r=function U0(e,t){if(t)for(let n=t.length-1;n>=0;n--){const r=t[n];if(e===r.name)return r}}(t,n.pipeRegistry),n.data[o]=r,r.onDestroy&&(n.destroyHooks||(n.destroyHooks=[])).push(o,r.onDestroy)):r=n.data[o];const s=r.factory||(r.factory=kr(r.type)),a=ae(ms);try{const p=Mn(!1),v=s();return Mn(p),function Bv(e,t,n,r){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=r}(n,bt(),o,v),v}finally{ae(a)}}function rg(e,t,n){const r=e+22,o=bt(),s=_r(o,r);return ma(o,r)?qp(o,C(),t,s.transform,n,s):s.transform(n)}function ig(e,t,n,r){const o=e+22,s=bt(),a=_r(s,o);return ma(s,o)?Jp(s,C(),t,a.transform,n,r,a):a.transform(n,r)}function ma(e,t){return e[1].data[t].pure}function su(e){return t=>{setTimeout(e,void 0,t)}}const lo=class W0 extends i.x{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,n,r){let o=t,s=n||(()=>null),a=r;if(t&&"object"==typeof t){const v=t;o=v.next?.bind(v),s=v.error?.bind(v),a=v.complete?.bind(v)}this.__isAsync&&(s=su(s),o&&(o=su(o)),a&&(a=su(a)));const p=super.subscribe({next:o,error:s,complete:a});return t instanceof m.w0&&t.add(p),p}};function Y0(){return this._results[Jo()]()}class au{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=Jo(),r=au.prototype;r[n]||(r[n]=Y0)}get changes(){return this._changes||(this._changes=new lo)}get(t){return this._results[t]}map(t){return this._results.map(t)}filter(t){return this._results.filter(t)}find(t){return this._results.find(t)}reduce(t,n){return this._results.reduce(t,n)}forEach(t){this._results.forEach(t)}some(t){return this._results.some(t)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(t,n){const r=this;r.dirty=!1;const o=Rr(t);(this._changesDetected=!function $u(e,t,n){if(e.length!==t.length)return!1;for(let r=0;r<e.length;r++){let o=e[r],s=t[r];if(n&&(o=n(o),s=n(s)),s!==o)return!1}return!0}(r._results,o,n))&&(r._results=o,r.length=o.length,r.last=o[this.length-1],r.first=o[0])}notifyOnChanges(){this._changes&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.emit(this)}setDirty(){this.dirty=!0}destroy(){this.changes.complete(),this.changes.unsubscribe()}}let _a=(()=>{class e{}return e.__NG_ELEMENT_ID__=Q0,e})();const K0=_a,Z0=class extends K0{constructor(t,n,r){super(),this._declarationLView=t,this._declarationTContainer=n,this.elementRef=r}createEmbeddedView(t,n){const r=this._declarationTContainer.tViews,o=ja(this._declarationLView,r,t,16,null,r.declTNode,null,null,null,null,n||null);o[17]=this._declarationLView[this._declarationTContainer.index];const a=this._declarationLView[19];return null!==a&&(o[19]=a.createEmbeddedView(r)),Ec(r,o,t),new oa(o)}};function Q0(){return ol($n(),bt())}function ol(e,t){return 4&e.type?new Z0(t,e,fs(e,t)):null}let sl=(()=>{class e{}return e.__NG_ELEMENT_ID__=q0,e})();function q0(){return ag($n(),bt())}const J0=sl,og=class extends J0{constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return fs(this._hostTNode,this._hostLView)}get injector(){return new To(this._hostTNode,this._hostLView)}get parentInjector(){const t=is(this._hostTNode,this._hostLView);if(ln(t)){const n=on(t,this._hostLView),r=On(t);return new To(n[1].data[r+8],n)}return new To(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const n=sg(this._lContainer);return null!==n&&n[t]||null}get length(){return this._lContainer.length-10}createEmbeddedView(t,n,r){let o,s;"number"==typeof r?o=r:null!=r&&(o=r.index,s=r.injector);const a=t.createEmbeddedView(n||{},s);return this.insert(a,o),a}createComponent(t,n,r,o,s){const a=t&&!function Io(e){return"function"==typeof e}(t);let p;if(a)p=n;else{const re=n||{};p=re.index,r=re.injector,o=re.projectableNodes,s=re.environmentInjector||re.ngModuleRef}const v=a?t:new sa(sn(t)),A=r||this.parentInjector;if(!s&&null==v.ngModule){const _e=(a?A:this.parentInjector).get(Qo,null);_e&&(s=_e)}const G=v.create(A,o,void 0,s);return this.insert(G.hostView,p),G}insert(t,n){const r=t._lView,o=r[1];if(function qi(e){return Se(e[3])}(r)){const G=this.indexOf(t);if(-1!==G)this.detach(G);else{const re=r[3],_e=new og(re,re[6],re[3]);_e.detach(_e.indexOf(t))}}const s=this._adjustIndex(n),a=this._lContainer;!function n_(e,t,n,r){const o=10+r,s=n.length;r>0&&(n[o-1][4]=t),r<s-10?(t[4]=n[o],Us(n,10+r,t)):(n.push(t),t[4]=null),t[3]=n;const a=t[17];null!==a&&n!==a&&function r_(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 p=t[19];null!==p&&p.insertView(e),t[2]|=64}(o,r,a,s);const p=Hl(s,a),v=r[11],A=Pa(v,a[7]);return null!==A&&function Xm(e,t,n,r,o,s){r[0]=o,r[6]=t,Js(e,r,n,1,o,s)}(o,a[6],v,r,A,p),t.attachToViewContainerRef(),Us(lu(a),s,t),t}move(t,n){return this.insert(t,n)}indexOf(t){const n=sg(this._lContainer);return null!==n?n.indexOf(t):-1}remove(t){const n=this._adjustIndex(t,-1),r=Vl(this._lContainer,n);r&&(cs(lu(this._lContainer),n),md(r[1],r))}detach(t){const n=this._adjustIndex(t,-1),r=Vl(this._lContainer,n);return r&&null!=cs(lu(this._lContainer),n)?new oa(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function sg(e){return e[8]}function lu(e){return e[8]||(e[8]=[])}function ag(e,t){let n;const r=t[e.index];if(Se(r))n=r;else{let o;if(8&e.type)o=Un(r);else{const s=t[11];o=s.createComment("");const a=qn(e,t);Yo(s,Pa(s,a),o,function a_(e,t){return e.nextSibling(t)}(s,a),!1)}t[e.index]=n=zh(r,t,o,e),Ua(t,n)}return new og(n,e,t)}class cu{constructor(t){this.queryList=t,this.matches=null}clone(){return new cu(this.queryList)}setDirty(){this.queryList.setDirty()}}class uu{constructor(t=[]){this.queries=t}createEmbeddedView(t){const n=t.queries;if(null!==n){const r=null!==t.contentQueries?t.contentQueries[0]:n.length,o=[];for(let s=0;s<r;s++){const a=n.getByIndex(s);o.push(this.queries[a.indexInDeclarationView].clone())}return new uu(o)}return null}insertView(t){this.dirtyQueriesWithMatches(t)}detachView(t){this.dirtyQueriesWithMatches(t)}dirtyQueriesWithMatches(t){for(let n=0;n<this.queries.length;n++)null!==mg(t,n).matches&&this.queries[n].setDirty()}}class lg{constructor(t,n,r=null){this.predicate=t,this.flags=n,this.read=r}}class du{constructor(t=[]){this.queries=t}elementStart(t,n){for(let r=0;r<this.queries.length;r++)this.queries[r].elementStart(t,n)}elementEnd(t){for(let n=0;n<this.queries.length;n++)this.queries[n].elementEnd(t)}embeddedTView(t){let n=null;for(let r=0;r<this.length;r++){const o=null!==n?n.length:0,s=this.getByIndex(r).embeddedTView(t,o);s&&(s.indexInDeclarationView=r,null!==n?n.push(s):n=[s])}return null!==n?new du(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 hu{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 hu(this.metadata)):null}isApplyingToNode(t){if(this._appliesToNextNode&&1!=(1&this.metadata.flags)){const n=this._declarationNodeIndex;let r=t.parent;for(;null!==r&&8&r.type&&r.index!==n;)r=r.parent;return n===(null!==r?r.index:-1)}return this._appliesToNextNode}matchTNode(t,n){const r=this.metadata.predicate;if(Array.isArray(r))for(let o=0;o<r.length;o++){const s=r[o];this.matchTNodeWithReadOption(t,n,tw(n,s)),this.matchTNodeWithReadOption(t,n,ls(n,t,s,!1,!1))}else r===_a?4&n.type&&this.matchTNodeWithReadOption(t,n,-1):this.matchTNodeWithReadOption(t,n,ls(n,t,r,!1,!1))}matchTNodeWithReadOption(t,n,r){if(null!==r){const o=this.metadata.read;if(null!==o)if(o===ra||o===sl||o===_a&&4&n.type)this.addMatch(n.index,-2);else{const s=ls(n,t,o,!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 tw(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 rw(e,t,n,r){return-1===n?function nw(e,t){return 11&e.type?fs(e,t):4&e.type?ol(e,t):null}(t,e):-2===n?function iw(e,t,n){return n===ra?fs(t,e):n===_a?ol(t,e):n===sl?ag(t,e):void 0}(e,t,r):to(e,e[1],n,t)}function cg(e,t,n,r){const o=t[19].queries[r];if(null===o.matches){const s=e.data,a=n.matches,p=[];for(let v=0;v<a.length;v+=2){const A=a[v];p.push(A<0?null:rw(t,s[A],a[v+1],n.metadata.read))}o.matches=p}return o.matches}function fu(e,t,n,r){const o=e.queries.getByIndex(n),s=o.matches;if(null!==s){const a=cg(e,t,o,n);for(let p=0;p<s.length;p+=2){const v=s[p];if(v>0)r.push(a[p/2]);else{const A=s[p+1],G=t[-v];for(let re=10;re<G.length;re++){const _e=G[re];_e[17]===_e[3]&&fu(_e[1],_e,A,r)}if(null!==G[9]){const re=G[9];for(let _e=0;_e<re.length;_e++){const Be=re[_e];fu(Be[1],Be,A,r)}}}}}return r}function ug(e){const t=bt(),n=Sn(),r=fo();bi(r+1);const o=mg(n,r);if(e.dirty&&function Qi(e){return 4==(4&e[2])}(t)===(2==(2&o.metadata.flags))){if(null===o.matches)e.reset([]);else{const s=o.crossesNgTemplate?fu(n,t,r,[]):cg(n,t,o,r);e.reset(s,q_),e.notifyOnChanges()}return!0}return!1}function dg(e,t,n){const r=Sn();r.firstCreatePass&&(gg(r,new lg(e,t,n),-1),2==(2&t)&&(r.staticViewQueries=!0)),pg(r,bt(),t)}function hg(e,t,n,r){const o=Sn();if(o.firstCreatePass){const s=$n();gg(o,new lg(t,n,r),s.index),function sw(e,t){const n=e.contentQueries||(e.contentQueries=[]);t!==(n.length?n[n.length-1]:-1)&&n.push(e.queries.length-1,t)}(o,e),2==(2&n)&&(o.staticContentQueries=!0)}pg(o,bt(),n)}function fg(){return function ow(e,t){return e[19].queries[t].queryList}(bt(),fo())}function pg(e,t,n){const r=new au(4==(4&n));Fh(e,t,r,r.destroy),null===t[19]&&(t[19]=new uu),t[19].queries.push(new cu(r))}function gg(e,t,n){null===e.queries&&(e.queries=new du),e.queries.track(new hu(t,n))}function mg(e,t){return e.queries.getByIndex(t)}function _g(e,t){return ol(e,t)}function ll(...e){}const kg=new Hn("Application Initializer");let cl=(()=>{class e{constructor(n){this.appInits=n,this.resolve=ll,this.reject=ll,this.initialized=!1,this.done=!1,this.donePromise=new Promise(((r,o)=>{this.resolve=r,this.reject=o}))}runInitializers(){if(this.initialized)return;const n=[],r=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let o=0;o<this.appInits.length;o++){const s=this.appInits[o]();if($c(s))n.push(s);else if(hf(s)){const a=new Promise(((p,v)=>{s.subscribe({complete:p,error:v})}));n.push(a)}}Promise.all(n).then((()=>{r()})).catch((o=>{this.reject(o)})),0===n.length&&r(),this.initialized=!0}}return e.ɵfac=function(n){return new(n||e)(hr(kg,8))},e.ɵprov=Ae({token:e,factory:e.ɵfac,providedIn:"root"}),e})();const Lg=new Hn("AppId",{providedIn:"root",factory:function Vg(){return`${yu()}${yu()}${yu()}`}});function yu(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const Bg=new Hn("Platform Initializer"),Sw=new Hn("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),jg=new Hn("appBootstrapListener"),Tw=new Hn("AnimationModuleType");let Pw=(()=>{class e{log(n){console.log(n)}warn(n){console.warn(n)}}return e.ɵfac=function(n){return new(n||e)},e.ɵprov=Ae({token:e,factory:e.ɵfac,providedIn:"platform"}),e})();const ul=new Hn("LocaleId",{providedIn:"root",factory:()=>Yu(ul,xt.Optional|xt.SkipSelf)||function Ow(){return typeof $localize<"u"&&$localize.locale||As}()}),Aw=new Hn("DefaultCurrencyCode",{providedIn:"root",factory:()=>"USD"});class Iw{constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}}let xw=(()=>{class e{compileModuleSync(n){return new ru(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){const r=this.compileModuleSync(n),s=yo(Ge(n).declarations).reduce(((a,p)=>{const v=sn(p);return v&&a.push(new sa(v)),a}),[]);return new Iw(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=Ae({token:e,factory:e.ɵfac,providedIn:"root"}),e})();const Fw=(()=>Promise.resolve(0))();function vu(e){typeof Zone>"u"?Fw.then((()=>{e&&e.apply(null,null)})):Zone.current.scheduleMicroTask("scheduleMicrotask",e)}class Si{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:r=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new lo(!1),this.onMicrotaskEmpty=new lo(!1),this.onStable=new lo(!1),this.onError=new lo(!1),typeof Zone>"u")throw new oe(908,!1);Zone.assertZonePatched();const o=this;if(o._nesting=0,o._outer=o._inner=Zone.current,Zone.AsyncStackTaggingZoneSpec){const s=Zone.AsyncStackTaggingZoneSpec;o._inner=o._inner.fork(new s("Angular"))}Zone.TaskTrackingZoneSpec&&(o._inner=o._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(o._inner=o._inner.fork(Zone.longStackTraceZoneSpec)),o.shouldCoalesceEventChangeDetection=!r&&n,o.shouldCoalesceRunChangeDetection=r,o.lastRequestAnimationFrameId=-1,o.nativeRequestAnimationFrame=function kw(){let e=he.requestAnimationFrame,t=he.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 Bw(e){const t=()=>{!function Vw(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(he,(()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",(()=>{e.lastRequestAnimationFrameId=-1,wu(e),e.isCheckStableRunning=!0,Cu(e),e.isCheckStableRunning=!1}),void 0,(()=>{}),(()=>{}))),e.fakeTopEventTask.invoke()})),wu(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,r,o,s,a,p)=>{try{return $g(e),n.invokeTask(o,s,a,p)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===s.type||e.shouldCoalesceRunChangeDetection)&&t(),zg(e)}},onInvoke:(n,r,o,s,a,p,v)=>{try{return $g(e),n.invoke(o,s,a,p,v)}finally{e.shouldCoalesceRunChangeDetection&&t(),zg(e)}},onHasTask:(n,r,o,s)=>{n.hasTask(o,s),r===o&&("microTask"==s.change?(e._hasPendingMicrotasks=s.microTask,wu(e),Cu(e)):"macroTask"==s.change&&(e.hasPendingMacrotasks=s.macroTask))},onHandleError:(n,r,o,s)=>(n.handleError(o,s),e.runOutsideAngular((()=>e.onError.emit(s))),!1)})}(o)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!Si.isInAngularZone())throw new oe(909,!1)}static assertNotInAngularZone(){if(Si.isInAngularZone())throw new oe(909,!1)}run(t,n,r){return this._inner.run(t,n,r)}runTask(t,n,r,o){const s=this._inner,a=s.scheduleEventTask("NgZoneEvent: "+o,t,Lw,ll,ll);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 Lw={};function Cu(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 wu(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function $g(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function zg(e){e._nesting--,Cu(e)}class jw{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new lo,this.onMicrotaskEmpty=new lo,this.onStable=new lo,this.onError=new lo}run(t,n,r){return t.apply(n,r)}runGuarded(t,n,r){return t.apply(n,r)}runOutsideAngular(t){return t()}runTask(t,n,r,o){return t.apply(n,r)}}const Gg=new Hn(""),Wg=new Hn("");let bu,Hw=(()=>{class e{constructor(n,r,o){this._ngZone=n,this.registry=r,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,bu||(function Uw(e){bu=e}(o),o.addToWindow(r)),this._watchAngularEvents(),n.run((()=>{this.taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")}))}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._didWork=!0,this._isZoneStable=!1}}),this._ngZone.runOutsideAngular((()=>{this._ngZone.onStable.subscribe({next:()=>{Si.assertNotInAngularZone(),vu((()=>{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())vu((()=>{for(;0!==this._callbacks.length;){let n=this._callbacks.pop();clearTimeout(n.timeoutId),n.doneCb(this._didWork)}this._didWork=!1}));else{let n=this.getPendingTasks();this._callbacks=this._callbacks.filter((r=>!r.updateCb||!r.updateCb(n)||(clearTimeout(r.timeoutId),!1))),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map((n=>({source:n.source,creationLocation:n.creationLocation,data:n.data}))):[]}addCallback(n,r,o){let 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:o})}whenStable(n,r,o){if(o&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(n,r,o),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(n){this.registry.registerApplication(n,this)}unregisterApplication(n){this.registry.unregisterApplication(n)}findProviders(n,r,o){return[]}}return e.ɵfac=function(n){return new(n||e)(hr(Si),hr(Yg),hr(Wg))},e.ɵprov=Ae({token:e,factory:e.ɵfac}),e})(),Yg=(()=>{class e{constructor(){this._applications=new Map}registerApplication(n,r){this._applications.set(n,r)}unregisterApplication(n){this._applications.delete(n)}unregisterAllApplications(){this._applications.clear()}getTestability(n){return this._applications.get(n)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(n,r=!0){return bu?.findTestabilityInTree(this,n,r)??null}}return e.ɵfac=function(n){return new(n||e)},e.ɵprov=Ae({token:e,factory:e.ɵfac,providedIn:"platform"}),e})(),ko=null;const Kg=new Hn("AllowMultipleToken"),Du=new Hn("PlatformDestroyListeners");class Gw{constructor(t,n){this.name=t,this.token=n}}function Qg(e,t,n=[]){const r=`Platform: ${t}`,o=new Hn(r);return(s=[])=>{let a=Eu();if(!a||a.injector.get(Kg,!1)){const p=[...n,...s,{provide:o,useValue:!0}];e?e(p):function Ww(e){if(ko&&!ko.get(Kg,!1))throw new oe(400,!1);ko=e;const t=e.get(Jg);(function Zg(e){const t=e.get(Bg,null);t&&t.forEach((n=>n()))})(e)}(function qg(e=[],t){return qo.create({name:t,providers:[{provide:nc,useValue:"platform"},{provide:Du,useValue:new Set([()=>ko=null])},...e]})}(p,r))}return function Kw(e){const t=Eu();if(!t)throw new oe(401,!1);return t}()}}function Eu(){return ko?.get(Jg)??null}let Jg=(()=>{class e{constructor(n){this._injector=n,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(n,r){const o=function em(e,t){let n;return n="noop"===e?new jw:("zone.js"===e?void 0:e)||new Si(t),n}(r?.ngZone,function Xg(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:!(!e||!e.ngZoneEventCoalescing)||!1,shouldCoalesceRunChangeDetection:!(!e||!e.ngZoneRunCoalescing)||!1}}(r)),s=[{provide:Si,useValue:o}];return o.run((()=>{const a=qo.create({providers:s,parent:this.injector,name:n.moduleType.name}),p=n.create(a),v=p.injector.get(ia,null);if(!v)throw new oe(402,!1);return o.runOutsideAngular((()=>{const A=o.onError.subscribe({next:G=>{v.handleError(G)}});p.onDestroy((()=>{hl(this._modules,p),A.unsubscribe()}))})),function tm(e,t,n){try{const r=n();return $c(r)?r.catch((o=>{throw t.runOutsideAngular((()=>e.handleError(o))),o})):r}catch(r){throw t.runOutsideAngular((()=>e.handleError(r))),r}}(v,o,(()=>{const A=p.injector.get(cl);return A.runInitializers(),A.donePromise.then((()=>(function hp(e){Xe(e,"Expected localeId to be defined"),"string"==typeof e&&(dp=e.toLowerCase().replace(/_/g,"-"))}(p.injector.get(ul,As)||As),this._moduleDoBootstrap(p),p)))}))}))}bootstrapModule(n,r=[]){const o=nm({},r);return function $w(e,t,n){const r=new ru(n);return Promise.resolve(r)}(0,0,n).then((s=>this.bootstrapModuleFactory(s,o)))}_moduleDoBootstrap(n){const r=n.injector.get(dl);if(n._bootstrapComponents.length>0)n._bootstrapComponents.forEach((o=>r.bootstrap(o)));else{if(!n.instance.ngDoBootstrap)throw new oe(403,!1);n.instance.ngDoBootstrap(r)}this._modules.push(n)}onDestroy(n){this._destroyListeners.push(n)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new oe(404,!1);this._modules.slice().forEach((r=>r.destroy())),this._destroyListeners.forEach((r=>r()));const n=this._injector.get(Du,null);n&&(n.forEach((r=>r())),n.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}}return e.ɵfac=function(n){return new(n||e)(hr(qo))},e.ɵprov=Ae({token:e,factory:e.ɵfac,providedIn:"platform"}),e})();function nm(e,t){return Array.isArray(t)?t.reduce(nm,e):{...e,...t}}let dl=(()=>{class e{constructor(n,r,o){this._zone=n,this._injector=r,this._exceptionHandler=o,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._stable=!0,this._destroyed=!1,this._destroyListeners=[],this.componentTypes=[],this.components=[],this._onMicrotaskEmptySubscription=this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run((()=>{this.tick()}))}});const s=new E.y((p=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular((()=>{p.next(this._stable),p.complete()}))})),a=new E.y((p=>{let v;this._zone.runOutsideAngular((()=>{v=this._zone.onStable.subscribe((()=>{Si.assertNotInAngularZone(),vu((()=>{!this._stable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks&&(this._stable=!0,p.next(!0))}))}))}));const A=this._zone.onUnstable.subscribe((()=>{Si.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular((()=>{p.next(!1)})))}));return()=>{v.unsubscribe(),A.unsubscribe()}}));this.isStable=(0,P.T)(s,a.pipe((0,S.B)()))}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(n,r){const o=n instanceof Qd;if(!this._injector.get(cl).done)throw!o&&te(n),new oe(405,false);let a;a=o?n:this._injector.get(na).resolveComponentFactory(n),this.componentTypes.push(a.componentType);const p=function zw(e){return e.isBoundToModule}(a)?void 0:this._injector.get(Is),A=a.create(qo.NULL,[],r||a.selector,p),G=A.location.nativeElement,re=A.injector.get(Gg,null);return re?.registerApplication(G),A.onDestroy((()=>{this.detachView(A.hostView),hl(this.components,A),re?.unregisterApplication(G)})),this._loadComponent(A),A}tick(){if(this._runningTick)throw new oe(101,!1);try{this._runningTick=!0;for(let n of this._views)n.detectChanges()}catch(n){this._zone.runOutsideAngular((()=>this._exceptionHandler.handleError(n)))}finally{this._runningTick=!1}}attachView(n){const r=n;this._views.push(r),r.attachToAppRef(this)}detachView(n){const r=n;hl(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n),this._injector.get(jg,[]).concat(this._bootstrapListeners).forEach((o=>o(n)))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach((n=>n())),this._views.slice().forEach((n=>n.destroy())),this._onMicrotaskEmptySubscription.unsubscribe()}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>hl(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new oe(406,!1);const n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}}return e.ɵfac=function(n){return new(n||e)(hr(Si),hr(Qo),hr(ia))},e.ɵprov=Ae({token:e,factory:e.ɵfac,providedIn:"root"}),e})();function hl(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}let im=!0,om=!1;function Qw(){return om=!0,im}function qw(){if(om)throw new Error("Cannot enable prod mode after platform setup.");im=!1}let Jw=(()=>{class e{}return e.__NG_ELEMENT_ID__=Xw,e})();function Xw(e){return function eb(e,t,n){if(Ve(e)&&!n){const r=er(e.index,t);return new oa(r,r)}return 47&e.type?new oa(t[16],t):null}($n(),bt(),16==(16&e))}class cm{constructor(){}supports(t){return aa(t)}create(t){return new sb(t)}}const ob=(e,t)=>t;class sb{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||ob}forEachItem(t){let n;for(n=this._itHead;null!==n;n=n._next)t(n)}forEachOperation(t){let n=this._itHead,r=this._removalsHead,o=0,s=null;for(;n||r;){const a=!r||n&&n.currentIndex<dm(r,o,s)?n:r,p=dm(a,o,s),v=a.currentIndex;if(a===r)o--,r=r._nextRemoved;else if(n=n._next,null==a.previousIndex)o++;else{s||(s=[]);const A=p-o,G=v-o;if(A!=G){for(let _e=0;_e<A;_e++){const Be=_e<s.length?s[_e]:s[_e]=0,mt=Be+_e;G<=mt&&mt<A&&(s[_e]=Be+1)}s[a.previousIndex]=G-A}}p!==v&&t(a,p,v)}}forEachPreviousItem(t){let n;for(n=this._previousItHead;null!==n;n=n._nextPrevious)t(n)}forEachAddedItem(t){let n;for(n=this._additionsHead;null!==n;n=n._nextAdded)t(n)}forEachMovedItem(t){let n;for(n=this._movesHead;null!==n;n=n._nextMoved)t(n)}forEachRemovedItem(t){let n;for(n=this._removalsHead;null!==n;n=n._nextRemoved)t(n)}forEachIdentityChange(t){let n;for(n=this._identityChangesHead;null!==n;n=n._nextIdentityChange)t(n)}diff(t){if(null==t&&(t=[]),!aa(t))throw new oe(900,!1);return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let o,s,a,n=this._itHead,r=!1;if(Array.isArray(t)){this.length=t.length;for(let p=0;p<this.length;p++)s=t[p],a=this._trackByFn(p,s),null!==n&&Object.is(n.trackById,a)?(r&&(n=this._verifyReinsertion(n,s,a,p)),Object.is(n.item,s)||this._addIdentityChange(n,s)):(n=this._mismatch(n,s,a,p),r=!0),n=n._next}else o=0,function Fv(e,t){if(Array.isArray(e))for(let n=0;n<e.length;n++)t(e[n]);else{const n=e[Jo()]();let r;for(;!(r=n.next()).done;)t(r.value)}}(t,(p=>{a=this._trackByFn(o,p),null!==n&&Object.is(n.trackById,a)?(r&&(n=this._verifyReinsertion(n,p,a,o)),Object.is(n.item,p)||this._addIdentityChange(n,p)):(n=this._mismatch(n,p,a,o),r=!0),n=n._next,o++})),this.length=o;return this._truncate(n),this.collection=t,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let t;for(t=this._previousItHead=this._itHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;null!==t;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;null!==t;t=t._nextMoved)t.previousIndex=t.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(t,n,r,o){let 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,o)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(r,o))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._moveAfter(t,s,o)):t=this._addAfter(new ab(n,r),s,o),t}_verifyReinsertion(t,n,r,o){let s=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null);return null!==s?t=this._reinsertAfter(s,t._prev,o):t.currentIndex!=o&&(t.currentIndex=o,this._addToMoves(t,o)),t}_truncate(t){for(;null!==t;){const n=t._next;this._addToRemovals(this._unlink(t)),t=n}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(t,n,r){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(t);const o=t._prevRemoved,s=t._nextRemoved;return null===o?this._removalsHead=s:o._nextRemoved=s,null===s?this._removalsTail=o:s._prevRemoved=o,this._insertAfter(t,n,r),this._addToMoves(t,r),t}_moveAfter(t,n,r){return this._unlink(t),this._insertAfter(t,n,r),this._addToMoves(t,r),t}_addAfter(t,n,r){return this._insertAfter(t,n,r),this._additionsTail=null===this._additionsTail?this._additionsHead=t:this._additionsTail._nextAdded=t,t}_insertAfter(t,n,r){const o=null===n?this._itHead:n._next;return t._next=o,t._prev=n,null===o?this._itTail=t:o._prev=t,null===n?this._itHead=t:n._next=t,null===this._linkedRecords&&(this._linkedRecords=new um),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 um),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 ab{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 lb{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 um{constructor(){this.map=new Map}put(t){const n=t.trackById;let r=this.map.get(n);r||(r=new lb,this.map.set(n,r)),r.add(t)}get(t,n){const o=this.map.get(t);return o?o.get(t,n):null}remove(t){const n=t.trackById;return this.map.get(n).remove(t)&&this.map.delete(n),t}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function dm(e,t,n){const r=e.previousIndex;if(null===r)return r;let o=0;return n&&r<n.length&&(o=n[r]),r+t+o}class hm{constructor(){}supports(t){return t instanceof Map||Lc(t)}create(){return new cb}}class cb{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||Lc(t)))throw new oe(900,!1)}else t=new Map;return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let n=this._mapHead;if(this._appendAfter=null,this._forEach(t,((r,o)=>{if(n&&n.key===o)this._maybeAddToChanges(n,r),this._appendAfter=n,n=n._next;else{const s=this._getOrCreateRecordForKey(o,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 o=this._records.get(t);this._maybeAddToChanges(o,n);const s=o._prev,a=o._next;return s&&(s._next=a),a&&(a._prev=s),o._next=null,o._prev=null,o}const r=new ub(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 ub{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 fm(){return new Ou([new cm])}let Ou=(()=>{class e{constructor(n){this.factories=n}static create(n,r){if(null!=r){const o=r.factories.slice();n=n.concat(o)}return new e(n)}static extend(n){return{provide:e,useFactory:r=>e.create(n,r||fm()),deps:[[e,new Ys,new Ws]]}}find(n){const r=this.factories.find((o=>o.supports(n)));if(null!=r)return r;throw new oe(901,!1)}}return e.ɵprov=Ae({token:e,providedIn:"root",factory:fm}),e})();function pm(){return new Au([new hm])}let Au=(()=>{class e{constructor(n){this.factories=n}static create(n,r){if(r){const o=r.factories.slice();n=n.concat(o)}return new e(n)}static extend(n){return{provide:e,useFactory:r=>e.create(n,r||pm()),deps:[[e,new Ys,new Ws]]}}find(n){const r=this.factories.find((o=>o.supports(n)));if(r)return r;throw new oe(901,!1)}}return e.ɵprov=Ae({token:e,providedIn:"root",factory:pm}),e})();const fb=Qg(null,"core",[]);let pb=(()=>{class e{constructor(n){}}return e.ɵfac=function(n){return new(n||e)(hr(dl))},e.ɵmod=Lt({type:e}),e.ɵinj=ze({}),e})();function gb(e){return"boolean"==typeof e?e:null!=e&&"false"!==e}},433:($,O,l)=>{"use strict";l.d(O,{Fj:()=>ue,u:()=>ui,sg:()=>li,u5:()=>Li,Fd:()=>_r,qQ:()=>Qi,JU:()=>oe,JJ:()=>tt,JL:()=>it,On:()=>_i,YN:()=>ni,wV:()=>Oi,UX:()=>jr,EJ:()=>ti,QS:()=>Kr,p4:()=>jt,kI:()=>ve,_Y:()=>si,Kr:()=>Ci});var i=l(4650),m=l(6895),E=l(2076),P=l(9751),S=l(4742),I=l(8421),x=l(3269),R=l(5403),k=l(3268),N=l(1810),K=l(4004);let Re=(()=>{class M{constructor(C,z){this._renderer=C,this._elementRef=z,this.onChange=et=>{},this.onTouched=()=>{}}setProperty(C,z){this._renderer.setProperty(this._elementRef.nativeElement,C,z)}registerOnTouched(C){this.onTouched=C}registerOnChange(C){this.onChange=C}setDisabledState(C){this.setProperty("disabled",C)}}return M.ɵfac=function(C){return new(C||M)(i.Y36(i.Qsj),i.Y36(i.SBq))},M.ɵdir=i.lG2({type:M}),M})(),ye=(()=>{class M extends Re{}return M.ɵfac=function(){let b;return function(z){return(b||(b=i.n5z(M)))(z||M)}}(),M.ɵdir=i.lG2({type:M,features:[i.qOj]}),M})();const oe=new i.OlP("NgValueAccessor"),Qe={provide:oe,useExisting:(0,i.Gpc)((()=>ue)),multi:!0},_t=new i.OlP("CompositionEventMode");let ue=(()=>{class M extends Re{constructor(C,z,et){super(C,z),this._compositionMode=et,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function Fe(){const M=(0,m.q)()?(0,m.q)().getUserAgent():"";return/android (\d+)/.test(M.toLowerCase())}())}writeValue(C){this.setProperty("value",C??"")}_handleInput(C){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(C)}_compositionStart(){this._composing=!0}_compositionEnd(C){this._composing=!1,this._compositionMode&&this.onChange(C)}}return M.ɵfac=function(C){return new(C||M)(i.Y36(i.Qsj),i.Y36(i.SBq),i.Y36(_t,8))},M.ɵdir=i.lG2({type:M,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(C,z){1&C&&i.NdJ("input",(function(Ht){return z._handleInput(Ht.target.value)}))("blur",(function(){return z.onTouched()}))("compositionstart",(function(){return z._compositionStart()}))("compositionend",(function(Ht){return z._compositionEnd(Ht.target.value)}))},features:[i._Bn([Qe]),i.qOj]}),M})();function nt(M){return null==M||("string"==typeof M||Array.isArray(M))&&0===M.length}function Pt(M){return null!=M&&"number"==typeof M.length}const dt=new i.OlP("NgValidators"),ht=new i.OlP("NgAsyncValidators"),ce=/^(?=.{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 ve{static min(b){return De(b)}static max(b){return Le(b)}static required(b){return function Ce(M){return nt(M.value)?{required:!0}:null}(b)}static requiredTrue(b){return function we(M){return!0===M.value?null:{required:!0}}(b)}static email(b){return function de(M){return nt(M.value)||ce.test(M.value)?null:{email:!0}}(b)}static minLength(b){return function Ze(M){return b=>nt(b.value)||!Pt(b.value)?null:b.value.length<M?{minlength:{requiredLength:M,actualLength:b.value.length}}:null}(b)}static maxLength(b){return function Dt(M){return b=>Pt(b.value)&&b.value.length>M?{maxlength:{requiredLength:M,actualLength:b.value.length}}:null}(b)}static pattern(b){return function Xe(M){if(!M)return Me;let b,C;return"string"==typeof M?(C="","^"!==M.charAt(0)&&(C+="^"),C+=M,"$"!==M.charAt(M.length-1)&&(C+="$"),b=new RegExp(C)):(C=M.toString(),b=M),z=>{if(nt(z.value))return null;const et=z.value;return b.test(et)?null:{pattern:{requiredPattern:C,actualValue:et}}}}(b)}static nullValidator(b){return null}static compose(b){return pt(b)}static composeAsync(b){return Zt(b)}}function De(M){return b=>{if(nt(b.value)||nt(M))return null;const C=parseFloat(b.value);return!isNaN(C)&&C<M?{min:{min:M,actual:b.value}}:null}}function Le(M){return b=>{if(nt(b.value)||nt(M))return null;const C=parseFloat(b.value);return!isNaN(C)&&C>M?{max:{max:M,actual:b.value}}:null}}function Me(M){return null}function je(M){return null!=M}function st(M){return(0,i.QGY)(M)?(0,E.D)(M):M}function be(M){let b={};return M.forEach((C=>{b=null!=C?{...b,...C}:b})),0===Object.keys(b).length?null:b}function Ae(M,b){return b.map((C=>C(M)))}function ze(M){return M.map((b=>function Ne(M){return!M.validate}(b)?b:C=>b.validate(C)))}function pt(M){if(!M)return null;const b=M.filter(je);return 0==b.length?null:function(C){return be(Ae(C,b))}}function wt(M){return null!=M?pt(ze(M)):null}function Zt(M){if(!M)return null;const b=M.filter(je);return 0==b.length?null:function(C){return function Y(...M){const b=(0,x.jO)(M),{args:C,keys:z}=(0,S.D)(M),et=new P.y((Ht=>{const{length:An}=C;if(!An)return void Ht.complete();const Pr=new Array(An);let Or=An,Ar=An;for(let yr=0;yr<An;yr++){let di=!1;(0,I.Xf)(C[yr]).subscribe(new R.Q(Ht,(eo=>{di||(di=!0,Ar--),Pr[yr]=eo}),(()=>Or--),void 0,(()=>{(!Or||!di)&&(Ar||Ht.next(z?(0,N.n)(z,Pr):Pr),Ht.complete())})))}}));return b?et.pipe((0,k.Z)(b)):et}(Ae(C,b).map(st)).pipe((0,K.U)(be))}}function vn(M){return null!=M?Zt(ze(M)):null}function He(M,b){return null===M?[b]:Array.isArray(M)?[...M,b]:[M,b]}function Pe(M){return M._rawValidators}function me(M){return M._rawAsyncValidators}function $e(M){return M?Array.isArray(M)?M:[M]:[]}function Mt(M,b){return Array.isArray(M)?M.includes(b):M===b}function rn(M,b){const C=$e(b);return $e(M).forEach((et=>{Mt(C,et)||C.push(et)})),C}function xt(M,b){return $e(b).filter((C=>!Mt(M,C)))}class Kn{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(b){this._rawValidators=b||[],this._composedValidatorFn=wt(this._rawValidators)}_setAsyncValidators(b){this._rawAsyncValidators=b||[],this._composedAsyncValidatorFn=vn(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(b){this._onDestroyCallbacks.push(b)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach((b=>b())),this._onDestroyCallbacks=[]}reset(b){this.control&&this.control.reset(b)}hasError(b,C){return!!this.control&&this.control.hasError(b,C)}getError(b,C){return this.control?this.control.getError(b,C):null}}class Vn extends Kn{get formDirective(){return null}get path(){return null}}class ae extends Kn{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class ke{constructor(b){this._cd=b}get isTouched(){return!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return!!this._cd?.submitted}}let tt=(()=>{class M extends ke{constructor(C){super(C)}}return M.ɵfac=function(C){return new(C||M)(i.Y36(ae,2))},M.ɵdir=i.lG2({type:M,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(C,z){2&C&&i.ekj("ng-untouched",z.isUntouched)("ng-touched",z.isTouched)("ng-pristine",z.isPristine)("ng-dirty",z.isDirty)("ng-valid",z.isValid)("ng-invalid",z.isInvalid)("ng-pending",z.isPending)},features:[i.qOj]}),M})(),it=(()=>{class M extends ke{constructor(C){super(C)}}return M.ɵfac=function(C){return new(C||M)(i.Y36(Vn,10))},M.ɵdir=i.lG2({type:M,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(C,z){2&C&&i.ekj("ng-untouched",z.isUntouched)("ng-touched",z.isTouched)("ng-pristine",z.isPristine)("ng-dirty",z.isDirty)("ng-valid",z.isValid)("ng-invalid",z.isInvalid)("ng-pending",z.isPending)("ng-submitted",z.isSubmitted)},features:[i.qOj]}),M})();const Lt="VALID",wn="INVALID",Bt="PENDING",en="DISABLED";function Jt(M){return(te(M)?M.validators:M)||null}function sn(M){return Array.isArray(M)?wt(M):M||null}function Ee(M,b){return(te(b)?b.asyncValidators:M)||null}function Q(M){return Array.isArray(M)?vn(M):M||null}function te(M){return null!=M&&!Array.isArray(M)&&"object"==typeof M}function Ge(M,b,C){const z=M.controls;if(!(b?Object.keys(z):z).length)throw new i.vHH(1e3,"");if(!z[C])throw new i.vHH(1001,"")}function Ue(M,b,C){M._forEachChild(((z,et)=>{if(void 0===C[et])throw new i.vHH(1002,"")}))}class J{constructor(b,C){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._rawValidators=b,this._rawAsyncValidators=C,this._composedValidatorFn=sn(this._rawValidators),this._composedAsyncValidatorFn=Q(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn}set validator(b){this._rawValidators=this._composedValidatorFn=b}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(b){this._rawAsyncValidators=this._composedAsyncValidatorFn=b}get parent(){return this._parent}get valid(){return this.status===Lt}get invalid(){return this.status===wn}get pending(){return this.status==Bt}get disabled(){return this.status===en}get enabled(){return this.status!==en}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(b){this._rawValidators=b,this._composedValidatorFn=sn(b)}setAsyncValidators(b){this._rawAsyncValidators=b,this._composedAsyncValidatorFn=Q(b)}addValidators(b){this.setValidators(rn(b,this._rawValidators))}addAsyncValidators(b){this.setAsyncValidators(rn(b,this._rawAsyncValidators))}removeValidators(b){this.setValidators(xt(b,this._rawValidators))}removeAsyncValidators(b){this.setAsyncValidators(xt(b,this._rawAsyncValidators))}hasValidator(b){return Mt(this._rawValidators,b)}hasAsyncValidator(b){return Mt(this._rawAsyncValidators,b)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(b={}){this.touched=!0,this._parent&&!b.onlySelf&&this._parent.markAsTouched(b)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild((b=>b.markAllAsTouched()))}markAsUntouched(b={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild((C=>{C.markAsUntouched({onlySelf:!0})})),this._parent&&!b.onlySelf&&this._parent._updateTouched(b)}markAsDirty(b={}){this.pristine=!1,this._parent&&!b.onlySelf&&this._parent.markAsDirty(b)}markAsPristine(b={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild((C=>{C.markAsPristine({onlySelf:!0})})),this._parent&&!b.onlySelf&&this._parent._updatePristine(b)}markAsPending(b={}){this.status=Bt,!1!==b.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!b.onlySelf&&this._parent.markAsPending(b)}disable(b={}){const C=this._parentMarkedDirty(b.onlySelf);this.status=en,this.errors=null,this._forEachChild((z=>{z.disable({...b,onlySelf:!0})})),this._updateValue(),!1!==b.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...b,skipPristineCheck:C}),this._onDisabledChange.forEach((z=>z(!0)))}enable(b={}){const C=this._parentMarkedDirty(b.onlySelf);this.status=Lt,this._forEachChild((z=>{z.enable({...b,onlySelf:!0})})),this.updateValueAndValidity({onlySelf:!0,emitEvent:b.emitEvent}),this._updateAncestors({...b,skipPristineCheck:C}),this._onDisabledChange.forEach((z=>z(!1)))}_updateAncestors(b){this._parent&&!b.onlySelf&&(this._parent.updateValueAndValidity(b),b.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(b){this._parent=b}getRawValue(){return this.value}updateValueAndValidity(b={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===Lt||this.status===Bt)&&this._runAsyncValidator(b.emitEvent)),!1!==b.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!b.onlySelf&&this._parent.updateValueAndValidity(b)}_updateTreeValidity(b={emitEvent:!0}){this._forEachChild((C=>C._updateTreeValidity(b))),this.updateValueAndValidity({onlySelf:!0,emitEvent:b.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?en:Lt}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(b){if(this.asyncValidator){this.status=Bt,this._hasOwnPendingAsyncValidator=!0;const C=st(this.asyncValidator(this));this._asyncValidationSubscription=C.subscribe((z=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(z,{emitEvent:b})}))}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(b,C={}){this.errors=b,this._updateControlsErrors(!1!==C.emitEvent)}get(b){let C=b;return null==C||(Array.isArray(C)||(C=C.split(".")),0===C.length)?null:C.reduce(((z,et)=>z&&z._find(et)),this)}getError(b,C){const z=C?this.get(C):this;return z&&z.errors?z.errors[b]:null}hasError(b,C){return!!this.getError(b,C)}get root(){let b=this;for(;b._parent;)b=b._parent;return b}_updateControlsErrors(b){this.status=this._calculateStatus(),b&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(b)}_initObservables(){this.valueChanges=new i.vpe,this.statusChanges=new i.vpe}_calculateStatus(){return this._allControlsDisabled()?en:this.errors?wn:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(Bt)?Bt:this._anyControlsHaveStatus(wn)?wn:Lt}_anyControlsHaveStatus(b){return this._anyControls((C=>C.status===b))}_anyControlsDirty(){return this._anyControls((b=>b.dirty))}_anyControlsTouched(){return this._anyControls((b=>b.touched))}_updatePristine(b={}){this.pristine=!this._anyControlsDirty(),this._parent&&!b.onlySelf&&this._parent._updatePristine(b)}_updateTouched(b={}){this.touched=this._anyControlsTouched(),this._parent&&!b.onlySelf&&this._parent._updateTouched(b)}_registerOnCollectionChange(b){this._onCollectionChange=b}_setUpdateStrategy(b){te(b)&&null!=b.updateOn&&(this._updateOn=b.updateOn)}_parentMarkedDirty(b){return!b&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(b){return null}}class q extends J{constructor(b,C,z){super(Jt(C),Ee(z,C)),this.controls=b,this._initObservables(),this._setUpdateStrategy(C),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(b,C){return this.controls[b]?this.controls[b]:(this.controls[b]=C,C.setParent(this),C._registerOnCollectionChange(this._onCollectionChange),C)}addControl(b,C,z={}){this.registerControl(b,C),this.updateValueAndValidity({emitEvent:z.emitEvent}),this._onCollectionChange()}removeControl(b,C={}){this.controls[b]&&this.controls[b]._registerOnCollectionChange((()=>{})),delete this.controls[b],this.updateValueAndValidity({emitEvent:C.emitEvent}),this._onCollectionChange()}setControl(b,C,z={}){this.controls[b]&&this.controls[b]._registerOnCollectionChange((()=>{})),delete this.controls[b],C&&this.registerControl(b,C),this.updateValueAndValidity({emitEvent:z.emitEvent}),this._onCollectionChange()}contains(b){return this.controls.hasOwnProperty(b)&&this.controls[b].enabled}setValue(b,C={}){Ue(this,0,b),Object.keys(b).forEach((z=>{Ge(this,!0,z),this.controls[z].setValue(b[z],{onlySelf:!0,emitEvent:C.emitEvent})})),this.updateValueAndValidity(C)}patchValue(b,C={}){null!=b&&(Object.keys(b).forEach((z=>{const et=this.controls[z];et&&et.patchValue(b[z],{onlySelf:!0,emitEvent:C.emitEvent})})),this.updateValueAndValidity(C))}reset(b={},C={}){this._forEachChild(((z,et)=>{z.reset(b[et],{onlySelf:!0,emitEvent:C.emitEvent})})),this._updatePristine(C),this._updateTouched(C),this.updateValueAndValidity(C)}getRawValue(){return this._reduceChildren({},((b,C,z)=>(b[z]=C.getRawValue(),b)))}_syncPendingControls(){let b=this._reduceChildren(!1,((C,z)=>!!z._syncPendingControls()||C));return b&&this.updateValueAndValidity({onlySelf:!0}),b}_forEachChild(b){Object.keys(this.controls).forEach((C=>{const z=this.controls[C];z&&b(z,C)}))}_setUpControls(){this._forEachChild((b=>{b.setParent(this),b._registerOnCollectionChange(this._onCollectionChange)}))}_updateValue(){this.value=this._reduceValue()}_anyControls(b){for(const[C,z]of Object.entries(this.controls))if(this.contains(C)&&b(z))return!0;return!1}_reduceValue(){return this._reduceChildren({},((C,z,et)=>((z.enabled||this.disabled)&&(C[et]=z.value),C)))}_reduceChildren(b,C){let z=b;return this._forEachChild(((et,Ht)=>{z=C(z,et,Ht)})),z}_allControlsDisabled(){for(const b of Object.keys(this.controls))if(this.controls[b].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(b){return this.controls.hasOwnProperty(b)?this.controls[b]:null}}class ne extends q{}function St(M,b){return[...b.path,M]}function Vt(M,b){Tt(M,b),b.valueAccessor.writeValue(M.value),M.disabled&&b.valueAccessor.setDisabledState?.(!0),function Kt(M,b){b.valueAccessor.registerOnChange((C=>{M._pendingValue=C,M._pendingChange=!0,M._pendingDirty=!0,"change"===M.updateOn&&Qt(M,b)}))}(M,b),function dn(M,b){const C=(z,et)=>{b.valueAccessor.writeValue(z),et&&b.viewToModelUpdate(z)};M.registerOnChange(C),b._registerOnDestroy((()=>{M._unregisterOnChange(C)}))}(M,b),function $t(M,b){b.valueAccessor.registerOnTouched((()=>{M._pendingTouched=!0,"blur"===M.updateOn&&M._pendingChange&&Qt(M,b),"submit"!==M.updateOn&&M.markAsTouched()}))}(M,b),function Oe(M,b){if(b.valueAccessor.setDisabledState){const C=z=>{b.valueAccessor.setDisabledState(z)};M.registerOnDisabledChange(C),b._registerOnDestroy((()=>{M._unregisterOnDisabledChange(C)}))}}(M,b)}function rt(M,b,C=!0){const z=()=>{};b.valueAccessor&&(b.valueAccessor.registerOnChange(z),b.valueAccessor.registerOnTouched(z)),Ft(M,b),M&&(b._invokeOnDestroyCallbacks(),M._registerOnCollectionChange((()=>{})))}function yt(M,b){M.forEach((C=>{C.registerOnValidatorChange&&C.registerOnValidatorChange(b)}))}function Tt(M,b){const C=Pe(M);null!==b.validator?M.setValidators(He(C,b.validator)):"function"==typeof C&&M.setValidators([C]);const z=me(M);null!==b.asyncValidator?M.setAsyncValidators(He(z,b.asyncValidator)):"function"==typeof z&&M.setAsyncValidators([z]);const et=()=>M.updateValueAndValidity();yt(b._rawValidators,et),yt(b._rawAsyncValidators,et)}function Ft(M,b){let C=!1;if(null!==M){if(null!==b.validator){const et=Pe(M);if(Array.isArray(et)&&et.length>0){const Ht=et.filter((An=>An!==b.validator));Ht.length!==et.length&&(C=!0,M.setValidators(Ht))}}if(null!==b.asyncValidator){const et=me(M);if(Array.isArray(et)&&et.length>0){const Ht=et.filter((An=>An!==b.asyncValidator));Ht.length!==et.length&&(C=!0,M.setAsyncValidators(Ht))}}}const z=()=>{};return yt(b._rawValidators,z),yt(b._rawAsyncValidators,z),C}function Qt(M,b){M._pendingDirty&&M.markAsDirty(),M.setValue(M._pendingValue,{emitModelToViewChange:!1}),b.viewToModelUpdate(M._pendingValue),M._pendingChange=!1}function br(M,b){if(!M.hasOwnProperty("model"))return!1;const C=M.model;return!!C.isFirstChange()||!Object.is(b,C.currentValue)}function or(M,b){if(!b)return null;let C,z,et;return Array.isArray(b),b.forEach((Ht=>{Ht.constructor===ue?C=Ht:function Dr(M){return Object.getPrototypeOf(M.constructor)===ye}(Ht)?z=Ht:et=Ht})),et||z||C||null}function Se(M,b){const C=M.indexOf(b);C>-1&&M.splice(C,1)}function U(M){return"object"==typeof M&&null!==M&&2===Object.keys(M).length&&"value"in M&&"disabled"in M}const Ve=class extends J{constructor(b=null,C,z){super(Jt(C),Ee(z,C)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(b),this._setUpdateStrategy(C),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),te(C)&&(C.nonNullable||C.initialValueIsDefault)&&(this.defaultValue=U(b)?b.value:b)}setValue(b,C={}){this.value=this._pendingValue=b,this._onChange.length&&!1!==C.emitModelToViewChange&&this._onChange.forEach((z=>z(this.value,!1!==C.emitViewToModelChange))),this.updateValueAndValidity(C)}patchValue(b,C={}){this.setValue(b,C)}reset(b=this.defaultValue,C={}){this._applyFormState(b),this.markAsPristine(C),this.markAsUntouched(C),this.setValue(this.value,C),this._pendingChange=!1}_updateValue(){}_anyControls(b){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(b){this._onChange.push(b)}_unregisterOnChange(b){Se(this._onChange,b)}registerOnDisabledChange(b){this._onDisabledChange.push(b)}_unregisterOnDisabledChange(b){Se(this._onDisabledChange,b)}_forEachChild(b){}_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(b){U(b)?(this.value=this._pendingValue=b.value,b.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=b}},jt=Ve,bo={provide:ae,useExisting:(0,i.Gpc)((()=>_i))},mi=(()=>Promise.resolve())();let _i=(()=>{class M extends ae{constructor(C,z,et,Ht,An){super(),this._changeDetectorRef=An,this.control=new Ve,this._registered=!1,this.update=new i.vpe,this._parent=C,this._setValidators(z),this._setAsyncValidators(et),this.valueAccessor=or(0,Ht)}ngOnChanges(C){if(this._checkForErrors(),!this._registered||"name"in C){if(this._registered&&(this._checkName(),this.formDirective)){const z=C.name.previousValue;this.formDirective.removeControl({name:z,path:this._getPath(z)})}this._setUpControl()}"isDisabled"in C&&this._updateDisabled(C),br(C,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(C){this.viewModel=C,this.update.emit(C)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!(!this.options||!this.options.standalone)}_setUpStandalone(){Vt(this.control,this),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()}_updateValue(C){mi.then((()=>{this.control.setValue(C,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()}))}_updateDisabled(C){const z=C.isDisabled.currentValue,et=0!==z&&(0,i.D6c)(z);mi.then((()=>{et&&!this.control.disabled?this.control.disable():!et&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()}))}_getPath(C){return this._parent?St(C,this._parent):[C]}}return M.ɵfac=function(C){return new(C||M)(i.Y36(Vn,9),i.Y36(dt,10),i.Y36(ht,10),i.Y36(oe,10),i.Y36(i.sBO,8))},M.ɵdir=i.lG2({type:M,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[i._Bn([bo]),i.qOj,i.TTD]}),M})(),si=(()=>{class M{}return M.ɵfac=function(C){return new(C||M)},M.ɵdir=i.lG2({type:M,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]}),M})();const Do={provide:oe,useExisting:(0,i.Gpc)((()=>Oi)),multi:!0};let Oi=(()=>{class M extends ye{writeValue(C){this.setProperty("value",C??"")}registerOnChange(C){this.onChange=z=>{C(""==z?null:parseFloat(z))}}}return M.ɵfac=function(){let b;return function(z){return(b||(b=i.n5z(M)))(z||M)}}(),M.ɵdir=i.lG2({type:M,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(C,z){1&C&&i.NdJ("input",(function(Ht){return z.onChange(Ht.target.value)}))("blur",(function(){return z.onTouched()}))},features:[i._Bn([Do]),i.qOj]}),M})(),Ai=(()=>{class M{}return M.ɵfac=function(C){return new(C||M)},M.ɵmod=i.oAB({type:M}),M.ɵinj=i.cJS({}),M})();const Xr=new i.OlP("NgModelWithFormControlWarning"),kr={provide:Vn,useExisting:(0,i.Gpc)((()=>li))};let li=(()=>{class M extends Vn{constructor(C,z){super(),this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new i.vpe,this._setValidators(C),this._setAsyncValidators(z)}ngOnChanges(C){this._checkFormPresent(),C.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(Ft(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange((()=>{})))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(C){const z=this.form.get(C.path);return Vt(z,C),z.updateValueAndValidity({emitEvent:!1}),this.directives.push(C),z}getControl(C){return this.form.get(C.path)}removeControl(C){rt(C.control||null,C,!1),function sr(M,b){const C=M.indexOf(b);C>-1&&M.splice(C,1)}(this.directives,C)}addFormGroup(C){this._setUpFormContainer(C)}removeFormGroup(C){this._cleanUpFormContainer(C)}getFormGroup(C){return this.form.get(C.path)}addFormArray(C){this._setUpFormContainer(C)}removeFormArray(C){this._cleanUpFormContainer(C)}getFormArray(C){return this.form.get(C.path)}updateModel(C,z){this.form.get(C.path).setValue(z)}onSubmit(C){return this.submitted=!0,function ir(M,b){M._syncPendingControls(),b.forEach((C=>{const z=C.control;"submit"===z.updateOn&&z._pendingChange&&(C.viewToModelUpdate(z._pendingValue),z._pendingChange=!1)}))}(this.form,this.directives),this.ngSubmit.emit(C),"dialog"===C?.target?.method}onReset(){this.resetForm()}resetForm(C){this.form.reset(C),this.submitted=!1}_updateDomValue(){this.directives.forEach((C=>{const z=C.control,et=this.form.get(C.path);z!==et&&(rt(z||null,C),(M=>M instanceof Ve)(et)&&(Vt(et,C),C.control=et))})),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(C){const z=this.form.get(C.path);(function an(M,b){Tt(M,b)})(z,C),z.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(C){if(this.form){const z=this.form.get(C.path);z&&function bn(M,b){return Ft(M,b)}(z,C)&&z.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange((()=>{}))}_updateValidators(){Tt(this.form,this),this._oldForm&&Ft(this._oldForm,this)}_checkFormPresent(){}}return M.ɵfac=function(C){return new(C||M)(i.Y36(dt,10),i.Y36(ht,10))},M.ɵdir=i.lG2({type:M,selectors:[["","formGroup",""]],hostBindings:function(C,z){1&C&&i.NdJ("submit",(function(Ht){return z.onSubmit(Ht)}))("reset",(function(){return z.onReset()}))},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[i._Bn([kr]),i.qOj,i.TTD]}),M})();const Yi={provide:ae,useExisting:(0,i.Gpc)((()=>ui))};let ui=(()=>{class M extends ae{constructor(C,z,et,Ht,An){super(),this._ngModelWarningConfig=An,this._added=!1,this.update=new i.vpe,this._ngModelWarningSent=!1,this._parent=C,this._setValidators(z),this._setAsyncValidators(et),this.valueAccessor=or(0,Ht)}set isDisabled(C){}ngOnChanges(C){this._added||this._setUpControl(),br(C,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(C){this.viewModel=C,this.update.emit(C)}get path(){return St(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}_setUpControl(){this._checkParentType(),this.control=this.formDirective.addControl(this),this._added=!0}}return M._ngModelWarningSentOnce=!1,M.ɵfac=function(C){return new(C||M)(i.Y36(Vn,13),i.Y36(dt,10),i.Y36(ht,10),i.Y36(oe,10),i.Y36(Xr,8))},M.ɵdir=i.lG2({type:M,selectors:[["","formControlName",""]],inputs:{name:["formControlName","name"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},features:[i._Bn([Yi]),i.qOj,i.TTD]}),M})();const ei={provide:oe,useExisting:(0,i.Gpc)((()=>ti)),multi:!0};function vi(M,b){return null==M?`${b}`:(b&&"object"==typeof b&&(b="Object"),`${M}: ${b}`.slice(0,50))}let ti=(()=>{class M extends ye{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(C){this._compareWith=C}writeValue(C){this.value=C;const et=vi(this._getOptionId(C),C);this.setProperty("value",et)}registerOnChange(C){this.onChange=z=>{this.value=this._getOptionValue(z),C(this.value)}}_registerOption(){return(this._idCounter++).toString()}_getOptionId(C){for(const z of Array.from(this._optionMap.keys()))if(this._compareWith(this._optionMap.get(z),C))return z;return null}_getOptionValue(C){const z=function Qn(M){return M.split(":")[0]}(C);return this._optionMap.has(z)?this._optionMap.get(z):C}}return M.ɵfac=function(){let b;return function(z){return(b||(b=i.n5z(M)))(z||M)}}(),M.ɵdir=i.lG2({type:M,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(C,z){1&C&&i.NdJ("change",(function(Ht){return z.onChange(Ht.target.value)}))("blur",(function(){return z.onTouched()}))},inputs:{compareWith:"compareWith"},features:[i._Bn([ei]),i.qOj]}),M})(),ni=(()=>{class M{constructor(C,z,et){this._element=C,this._renderer=z,this._select=et,this._select&&(this.id=this._select._registerOption())}set ngValue(C){null!=this._select&&(this._select._optionMap.set(this.id,C),this._setElementValue(vi(this.id,C)),this._select.writeValue(this._select.value))}set value(C){this._setElementValue(C),this._select&&this._select.writeValue(this._select.value)}_setElementValue(C){this._renderer.setProperty(this._element.nativeElement,"value",C)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}}return M.ɵfac=function(C){return new(C||M)(i.Y36(i.SBq),i.Y36(i.Qsj),i.Y36(ti,9))},M.ɵdir=i.lG2({type:M,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}}),M})();const Ki={provide:oe,useExisting:(0,i.Gpc)((()=>Xn)),multi:!0};function uo(M,b){return null==M?`${b}`:("string"==typeof b&&(b=`'${b}'`),b&&"object"==typeof b&&(b="Object"),`${M}: ${b}`.slice(0,50))}let Xn=(()=>{class M extends ye{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(C){this._compareWith=C}writeValue(C){let z;if(this.value=C,Array.isArray(C)){const et=C.map((Ht=>this._getOptionId(Ht)));z=(Ht,An)=>{Ht._setSelected(et.indexOf(An.toString())>-1)}}else z=(et,Ht)=>{et._setSelected(!1)};this._optionMap.forEach(z)}registerOnChange(C){this.onChange=z=>{const et=[],Ht=z.selectedOptions;if(void 0!==Ht){const An=Ht;for(let Pr=0;Pr<An.length;Pr++){const Ar=this._getOptionValue(An[Pr].value);et.push(Ar)}}else{const An=z.options;for(let Pr=0;Pr<An.length;Pr++){const Or=An[Pr];if(Or.selected){const Ar=this._getOptionValue(Or.value);et.push(Ar)}}}this.value=et,C(et)}}_registerOption(C){const z=(this._idCounter++).toString();return this._optionMap.set(z,C),z}_getOptionId(C){for(const z of Array.from(this._optionMap.keys()))if(this._compareWith(this._optionMap.get(z)._value,C))return z;return null}_getOptionValue(C){const z=function Zi(M){return M.split(":")[0]}(C);return this._optionMap.has(z)?this._optionMap.get(z)._value:C}}return M.ɵfac=function(){let b;return function(z){return(b||(b=i.n5z(M)))(z||M)}}(),M.ɵdir=i.lG2({type:M,selectors:[["select","multiple","","formControlName",""],["select","multiple","","formControl",""],["select","multiple","","ngModel",""]],hostBindings:function(C,z){1&C&&i.NdJ("change",(function(Ht){return z.onChange(Ht.target)}))("blur",(function(){return z.onTouched()}))},inputs:{compareWith:"compareWith"},features:[i._Bn([Ki]),i.qOj]}),M})(),Ci=(()=>{class M{constructor(C,z,et){this._element=C,this._renderer=z,this._select=et,this._select&&(this.id=this._select._registerOption(this))}set ngValue(C){null!=this._select&&(this._value=C,this._setElementValue(uo(this.id,C)),this._select.writeValue(this._select.value))}set value(C){this._select?(this._value=C,this._setElementValue(uo(this.id,C)),this._select.writeValue(this._select.value)):this._setElementValue(C)}_setElementValue(C){this._renderer.setProperty(this._element.nativeElement,"value",C)}_setSelected(C){this._renderer.setProperty(this._element.nativeElement,"selected",C)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}}return M.ɵfac=function(C){return new(C||M)(i.Y36(i.SBq),i.Y36(i.Qsj),i.Y36(Xn,9))},M.ɵdir=i.lG2({type:M,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}}),M})();function qn(M){return"number"==typeof M?M:parseFloat(M)}let Sr=(()=>{class M{constructor(){this._validator=Me}ngOnChanges(C){if(this.inputName in C){const z=this.normalizeInput(C[this.inputName].currentValue);this._enabled=this.enabled(z),this._validator=this._enabled?this.createValidator(z):Me,this._onChange&&this._onChange()}}validate(C){return this._validator(C)}registerOnValidatorChange(C){this._onChange=C}enabled(C){return null!=C}}return M.ɵfac=function(C){return new(C||M)},M.ɵdir=i.lG2({type:M,features:[i.TTD]}),M})();const ri={provide:dt,useExisting:(0,i.Gpc)((()=>_r)),multi:!0};let _r=(()=>{class M extends Sr{constructor(){super(...arguments),this.inputName="max",this.normalizeInput=C=>qn(C),this.createValidator=C=>Le(C)}}return M.ɵfac=function(){let b;return function(z){return(b||(b=i.n5z(M)))(z||M)}}(),M.ɵdir=i.lG2({type:M,selectors:[["input","type","number","max","","formControlName",""],["input","type","number","max","","formControl",""],["input","type","number","max","","ngModel",""]],hostVars:1,hostBindings:function(C,z){2&C&&i.uIk("max",z._enabled?z.max:null)},inputs:{max:"max"},features:[i._Bn([ri]),i.qOj]}),M})();const er={provide:dt,useExisting:(0,i.Gpc)((()=>Qi)),multi:!0};let Qi=(()=>{class M extends Sr{constructor(){super(...arguments),this.inputName="min",this.normalizeInput=C=>qn(C),this.createValidator=C=>De(C)}}return M.ɵfac=function(){let b;return function(z){return(b||(b=i.n5z(M)))(z||M)}}(),M.ɵdir=i.lG2({type:M,selectors:[["input","type","number","min","","formControlName",""],["input","type","number","min","","formControl",""],["input","type","number","min","","ngModel",""]],hostVars:1,hostBindings:function(C,z){2&C&&i.uIk("min",z._enabled?z.min:null)},inputs:{min:"min"},features:[i._Bn([er]),i.qOj]}),M})(),Sn=(()=>{class M{}return M.ɵfac=function(C){return new(C||M)},M.ɵmod=i.oAB({type:M}),M.ɵinj=i.cJS({imports:[Ai]}),M})(),Li=(()=>{class M{}return M.ɵfac=function(C){return new(C||M)},M.ɵmod=i.oAB({type:M}),M.ɵinj=i.cJS({imports:[Sn]}),M})(),jr=(()=>{class M{static withConfig(C){return{ngModule:M,providers:[{provide:Xr,useValue:C.warnOnNgModelWithFormControl}]}}}return M.ɵfac=function(C){return new(C||M)},M.ɵmod=i.oAB({type:M}),M.ɵinj=i.cJS({imports:[Sn]}),M})();class $n extends J{constructor(b,C,z){super(Jt(C),Ee(z,C)),this.controls=b,this._initObservables(),this._setUpdateStrategy(C),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(b){return this.controls[this._adjustIndex(b)]}push(b,C={}){this.controls.push(b),this._registerControl(b),this.updateValueAndValidity({emitEvent:C.emitEvent}),this._onCollectionChange()}insert(b,C,z={}){this.controls.splice(b,0,C),this._registerControl(C),this.updateValueAndValidity({emitEvent:z.emitEvent})}removeAt(b,C={}){let z=this._adjustIndex(b);z<0&&(z=0),this.controls[z]&&this.controls[z]._registerOnCollectionChange((()=>{})),this.controls.splice(z,1),this.updateValueAndValidity({emitEvent:C.emitEvent})}setControl(b,C,z={}){let et=this._adjustIndex(b);et<0&&(et=0),this.controls[et]&&this.controls[et]._registerOnCollectionChange((()=>{})),this.controls.splice(et,1),C&&(this.controls.splice(et,0,C),this._registerControl(C)),this.updateValueAndValidity({emitEvent:z.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(b,C={}){Ue(this,0,b),b.forEach(((z,et)=>{Ge(this,!1,et),this.at(et).setValue(z,{onlySelf:!0,emitEvent:C.emitEvent})})),this.updateValueAndValidity(C)}patchValue(b,C={}){null!=b&&(b.forEach(((z,et)=>{this.at(et)&&this.at(et).patchValue(z,{onlySelf:!0,emitEvent:C.emitEvent})})),this.updateValueAndValidity(C))}reset(b=[],C={}){this._forEachChild(((z,et)=>{z.reset(b[et],{onlySelf:!0,emitEvent:C.emitEvent})})),this._updatePristine(C),this._updateTouched(C),this.updateValueAndValidity(C)}getRawValue(){return this.controls.map((b=>b.getRawValue()))}clear(b={}){this.controls.length<1||(this._forEachChild((C=>C._registerOnCollectionChange((()=>{})))),this.controls.splice(0),this.updateValueAndValidity({emitEvent:b.emitEvent}))}_adjustIndex(b){return b<0?b+this.length:b}_syncPendingControls(){let b=this.controls.reduce(((C,z)=>!!z._syncPendingControls()||C),!1);return b&&this.updateValueAndValidity({onlySelf:!0}),b}_forEachChild(b){this.controls.forEach(((C,z)=>{b(C,z)}))}_updateValue(){this.value=this.controls.filter((b=>b.enabled||this.disabled)).map((b=>b.value))}_anyControls(b){return this.controls.some((C=>C.enabled&&b(C)))}_setUpControls(){this._forEachChild((b=>this._registerControl(b)))}_allControlsDisabled(){for(const b of this.controls)if(b.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(b){b.setParent(this),b._registerOnCollectionChange(this._onCollectionChange)}_find(b){return this.at(b)??null}}function nr(M){return!!M&&(void 0!==M.asyncValidators||void 0!==M.validators||void 0!==M.updateOn)}let Vi=(()=>{class M{constructor(){this.useNonNullable=!1}get nonNullable(){const C=new M;return C.useNonNullable=!0,C}group(C,z=null){const et=this._reduceControls(C);let Ht={};return nr(z)?Ht=z:null!==z&&(Ht.validators=z.validator,Ht.asyncValidators=z.asyncValidator),new q(et,Ht)}record(C,z=null){const et=this._reduceControls(C);return new ne(et,z)}control(C,z,et){let Ht={};return this.useNonNullable?(nr(z)?Ht=z:(Ht.validators=z,Ht.asyncValidators=et),new Ve(C,{...Ht,nonNullable:!0})):new Ve(C,z,et)}array(C,z,et){const Ht=C.map((An=>this._createControl(An)));return new $n(Ht,z,et)}_reduceControls(C){const z={};return Object.keys(C).forEach((et=>{z[et]=this._createControl(C[et])})),z}_createControl(C){return C instanceof Ve||C instanceof J?C:Array.isArray(C)?this.control(C[0],C.length>1?C[1]:null,C.length>2?C[2]:null):this.control(C)}}return M.ɵfac=function(C){return new(C||M)},M.ɵprov=i.Yz7({token:M,factory:M.ɵfac,providedIn:jr}),M})(),Kr=(()=>{class M extends Vi{group(C,z=null){return super.group(C,z)}control(C,z,et){return super.control(C,z,et)}array(C,z,et){return super.array(C,z,et)}}return M.ɵfac=function(){let b;return function(z){return(b||(b=i.n5z(M)))(z||M)}}(),M.ɵprov=i.Yz7({token:M,factory:M.ɵfac,providedIn:jr}),M})()},8746:($,O,l)=>{"use strict";l.d(O,{PW:()=>di});var i=l(4650),m=l(1481),E=l(7340);function S(V){return new i.vHH(3e3,!1)}function Ne(){return typeof window<"u"&&typeof window.document<"u"}function ze(){return typeof process<"u"&&"[object process]"==={}.toString.call(process)}function pt(V){switch(V.length){case 0:return new E.ZN;case 1:return V[0];default:return new E.ZE(V)}}function wt(V,u,h,w,B=new Map,Z=new Map){const fe=[],pe=[];let We=-1,gt=null;if(w.forEach((It=>{const zt=It.get("offset"),tn=zt==We,En=tn&>||new Map;It.forEach(((hn,gn)=>{let Rn=gn,Ln=hn;if("offset"!==gn)switch(Rn=u.normalizePropertyName(Rn,fe),Ln){case E.k1:Ln=B.get(gn);break;case E.l3:Ln=Z.get(gn);break;default:Ln=u.normalizeStyleValue(gn,Rn,Ln,fe)}En.set(Rn,Ln)})),tn||pe.push(En),gt=En,We=zt})),fe.length)throw function De(V){return new i.vHH(3502,!1)}();return pe}function Zt(V,u,h,w){switch(u){case"start":V.onStart((()=>w(h&&vn(h,"start",V))));break;case"done":V.onDone((()=>w(h&&vn(h,"done",V))));break;case"destroy":V.onDestroy((()=>w(h&&vn(h,"destroy",V))))}}function vn(V,u,h){const Z=He(V.element,V.triggerName,V.fromState,V.toState,u||V.phaseName,h.totalTime??V.totalTime,!!h.disabled),fe=V._data;return null!=fe&&(Z._data=fe),Z}function He(V,u,h,w,B="",Z=0,fe){return{element:V,triggerName:u,fromState:h,toState:w,phaseName:B,totalTime:Z,disabled:!!fe}}function Pe(V,u,h){let w=V.get(u);return w||V.set(u,w=h),w}function me(V){const u=V.indexOf(":");return[V.substring(1,u),V.slice(u+1)]}let $e=(V,u)=>!1,Mt=(V,u,h)=>[],rn=null;function xt(V){const u=V.parentNode||V.host;return u===rn?null:u}(ze()||typeof Element<"u")&&(Ne()?(rn=(()=>document.documentElement)(),$e=(V,u)=>{for(;u;){if(u===V)return!0;u=xt(u)}return!1}):$e=(V,u)=>V.contains(u),Mt=(V,u,h)=>{if(h)return Array.from(V.querySelectorAll(u));const w=V.querySelector(u);return w?[w]:[]});let ae=null,ke=!1;const it=$e,F=Mt;let he=(()=>{class V{validateStyleProperty(h){return function ot(V){ae||(ae=function tt(){return typeof document<"u"?document.body:null}()||{},ke=!!ae.style&&"WebkitAppearance"in ae.style);let u=!0;return ae.style&&!function Vn(V){return"ebkit"==V.substring(1,6)}(V)&&(u=V in ae.style,!u&&ke&&(u="Webkit"+V.charAt(0).toUpperCase()+V.slice(1)in ae.style)),u}(h)}matchesElement(h,w){return!1}containsElement(h,w){return it(h,w)}getParentElement(h){return xt(h)}query(h,w,B){return F(h,w,B)}computeStyle(h,w,B){return B||""}animate(h,w,B,Z,fe,pe=[],We){return new E.ZN(B,Z)}}return V.ɵfac=function(h){return new(h||V)},V.ɵprov=i.Yz7({token:V,factory:V.ɵfac}),V})(),Te=(()=>{class V{}return V.NOOP=new he,V})();const vt="ng-enter",Ct="ng-leave",Nt="ng-trigger",At=".ng-trigger",Yt="ng-animating",kt=".ng-animating";function lt(V){if("number"==typeof V)return V;const u=V.match(/^(-?[\.\d]+)(m?s)/);return!u||u.length<2?0:un(parseFloat(u[1]),u[2])}function un(V,u){return"s"===u?1e3*V:V}function mn(V,u,h){return V.hasOwnProperty("duration")?V:function Cn(V,u,h){let B,Z=0,fe="";if("string"==typeof V){const pe=V.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===pe)return u.push(S()),{duration:0,delay:0,easing:""};B=un(parseFloat(pe[1]),pe[2]);const We=pe[3];null!=We&&(Z=un(parseFloat(We),pe[4]));const gt=pe[5];gt&&(fe=gt)}else B=V;if(!h){let pe=!1,We=u.length;B<0&&(u.push(function I(){return new i.vHH(3100,!1)}()),pe=!0),Z<0&&(u.push(function x(){return new i.vHH(3101,!1)}()),pe=!0),pe&&u.splice(We,0,S())}return{duration:B,delay:Z,easing:fe}}(V,u,h)}function Xt(V,u={}){return Object.keys(V).forEach((h=>{u[h]=V[h]})),u}function Lt(V){const u=new Map;return Object.keys(V).forEach((h=>{u.set(h,V[h])})),u}function en(V,u=new Map,h){if(h)for(let[w,B]of h)u.set(w,B);for(let[w,B]of V)u.set(w,B);return u}function Jt(V,u,h){return h?u+":"+h+";":""}function sn(V){let u="";for(let h=0;h<V.style.length;h++){const w=V.style.item(h);u+=Jt(0,w,V.style.getPropertyValue(w))}for(const h in V.style)V.style.hasOwnProperty(h)&&!h.startsWith("_")&&(u+=Jt(0,ft(h),V.style[h]));V.setAttribute("style",u)}function Ee(V,u,h){V.style&&(u.forEach(((w,B)=>{const Z=ne(B);h&&!h.has(B)&&h.set(B,V.style[Z]),V.style[Z]=w})),ze()&&sn(V))}function Q(V,u){V.style&&(u.forEach(((h,w)=>{const B=ne(w);V.style[B]=""})),ze()&&sn(V))}function te(V){return Array.isArray(V)?1==V.length?V[0]:(0,E.vP)(V):V}const Ue=new RegExp("{{\\s*(.+?)\\s*}}","g");function J(V){let u=[];if("string"==typeof V){let h;for(;h=Ue.exec(V);)u.push(h[1]);Ue.lastIndex=0}return u}function q(V,u,h){const w=V.toString(),B=w.replace(Ue,((Z,fe)=>{let pe=u[fe];return null==pe&&(h.push(function k(V){return new i.vHH(3003,!1)}()),pe=""),pe.toString()}));return B==w?V:B}function W(V){const u=[];let h=V.next();for(;!h.done;)u.push(h.value),h=V.next();return u}const j=/-+([a-z0-9])/g;function ne(V){return V.replace(j,((...u)=>u[1].toUpperCase()))}function ft(V){return V.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function rt(V,u,h){switch(u.type){case 7:return V.visitTrigger(u,h);case 0:return V.visitState(u,h);case 1:return V.visitTransition(u,h);case 2:return V.visitSequence(u,h);case 3:return V.visitGroup(u,h);case 4:return V.visitAnimate(u,h);case 5:return V.visitKeyframes(u,h);case 6:return V.visitStyle(u,h);case 8:return V.visitReference(u,h);case 9:return V.visitAnimateChild(u,h);case 10:return V.visitAnimateRef(u,h);case 11:return V.visitQuery(u,h);case 12:return V.visitStagger(u,h);default:throw function N(V){return new i.vHH(3004,!1)}()}}function yt(V,u){return window.getComputedStyle(V)[u]}function bn(V,u){const h=[];return"string"==typeof V?V.split(/\s*,\s*/).forEach((w=>function Tn(V,u,h){if(":"==V[0]){const We=function Zn(V,u){switch(V){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(h,w)=>parseFloat(w)>parseFloat(h);case":decrement":return(h,w)=>parseFloat(w)<parseFloat(h);default:return u.push(function dt(V){return new i.vHH(3016,!1)}()),"* => *"}}(V,h);if("function"==typeof We)return void u.push(We);V=We}const w=V.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(null==w||w.length<4)return h.push(function Pt(V){return new i.vHH(3015,!1)}()),u;const B=w[1],Z=w[2],fe=w[3];u.push(br(B,fe));"<"==Z[0]&&!("*"==B&&"*"==fe)&&u.push(br(fe,B))}(w,h,u))):h.push(V),h}const cn=new Set(["true","1"]),Nr=new Set(["false","0"]);function br(V,u){const h=cn.has(V)||Nr.has(V),w=cn.has(u)||Nr.has(u);return(B,Z)=>{let fe="*"==V||V==B,pe="*"==u||u==Z;return!fe&&h&&"boolean"==typeof B&&(fe=B?cn.has(V):Nr.has(V)),!pe&&w&&"boolean"==typeof Z&&(pe=Z?cn.has(u):Nr.has(u)),fe&&pe}}const ir=new RegExp("s*:selfs*,?","g");function or(V,u,h,w){return new pr(V).build(u,h,w)}class pr{constructor(u){this._driver=u}build(u,h,w){const B=new X(h);return this._resetContextStyleTimingState(B),rt(this,te(u),B)}_resetContextStyleTimingState(u){u.currentQuerySelector="",u.collectedStyles=new Map,u.collectedStyles.set("",new Map),u.currentTime=0}visitTrigger(u,h){let w=h.queryCount=0,B=h.depCount=0;const Z=[],fe=[];return"@"==u.name.charAt(0)&&h.errors.push(function K(){return new i.vHH(3006,!1)}()),u.definitions.forEach((pe=>{if(this._resetContextStyleTimingState(h),0==pe.type){const We=pe,gt=We.name;gt.toString().split(/\s*,\s*/).forEach((It=>{We.name=It,Z.push(this.visitState(We,h))})),We.name=gt}else if(1==pe.type){const We=this.visitTransition(pe,h);w+=We.queryCount,B+=We.depCount,fe.push(We)}else h.errors.push(function Re(){return new i.vHH(3007,!1)}())})),{type:7,name:u.name,states:Z,transitions:fe,queryCount:w,depCount:B,options:null}}visitState(u,h){const w=this.visitStyle(u.styles,h),B=u.options&&u.options.params||null;if(w.containsDynamicStyles){const Z=new Set,fe=B||{};w.styles.forEach((pe=>{pe instanceof Map&&pe.forEach((We=>{J(We).forEach((gt=>{fe.hasOwnProperty(gt)||Z.add(gt)}))}))})),Z.size&&(W(Z.values()),h.errors.push(function ye(V,u){return new i.vHH(3008,!1)}()))}return{type:0,name:u.name,style:w,options:B?{params:B}:null}}visitTransition(u,h){h.queryCount=0,h.depCount=0;const w=rt(this,te(u.animation),h);return{type:1,matchers:bn(u.expr,h.errors),animation:w,queryCount:h.queryCount,depCount:h.depCount,options:Ve(u.options)}}visitSequence(u,h){return{type:2,steps:u.steps.map((w=>rt(this,w,h))),options:Ve(u.options)}}visitGroup(u,h){const w=h.currentTime;let B=0;const Z=u.steps.map((fe=>{h.currentTime=w;const pe=rt(this,fe,h);return B=Math.max(B,h.currentTime),pe}));return h.currentTime=B,{type:3,steps:Z,options:Ve(u.options)}}visitAnimate(u,h){const w=function U(V,u){if(V.hasOwnProperty("duration"))return V;if("number"==typeof V)return jt(mn(V,u).duration,0,"");const h=V;if(h.split(/\s+/).some((Z=>"{"==Z.charAt(0)&&"{"==Z.charAt(1)))){const Z=jt(0,0,"");return Z.dynamic=!0,Z.strValue=h,Z}const B=mn(h,u);return jt(B.duration,B.delay,B.easing)}(u.timings,h.errors);h.currentAnimateTimings=w;let B,Z=u.styles?u.styles:(0,E.oB)({});if(5==Z.type)B=this.visitKeyframes(Z,h);else{let fe=u.styles,pe=!1;if(!fe){pe=!0;const gt={};w.easing&&(gt.easing=w.easing),fe=(0,E.oB)(gt)}h.currentTime+=w.duration+w.delay;const We=this.visitStyle(fe,h);We.isEmptyStep=pe,B=We}return h.currentAnimateTimings=null,{type:4,timings:w,style:B,options:null}}visitStyle(u,h){const w=this._makeStyleAst(u,h);return this._validateStyleAst(w,h),w}_makeStyleAst(u,h){const w=[],B=Array.isArray(u.styles)?u.styles:[u.styles];for(let pe of B)"string"==typeof pe?pe===E.l3?w.push(pe):h.errors.push(new i.vHH(3002,!1)):w.push(Lt(pe));let Z=!1,fe=null;return w.forEach((pe=>{if(pe instanceof Map&&(pe.has("easing")&&(fe=pe.get("easing"),pe.delete("easing")),!Z))for(let We of pe.values())if(We.toString().indexOf("{{")>=0){Z=!0;break}})),{type:6,styles:w,easing:fe,offset:u.offset,containsDynamicStyles:Z,options:null}}_validateStyleAst(u,h){const w=h.currentAnimateTimings;let B=h.currentTime,Z=h.currentTime;w&&Z>0&&(Z-=w.duration+w.delay),u.styles.forEach((fe=>{"string"!=typeof fe&&fe.forEach(((pe,We)=>{const gt=h.collectedStyles.get(h.currentQuerySelector),It=gt.get(We);let zt=!0;It&&(Z!=B&&Z>=It.startTime&&B<=It.endTime&&(h.errors.push(function Ie(V,u,h,w,B){return new i.vHH(3010,!1)}()),zt=!1),Z=It.startTime),zt&>.set(We,{startTime:Z,endTime:B}),h.options&&function Ge(V,u,h){const w=u.params||{},B=J(V);B.length&&B.forEach((Z=>{w.hasOwnProperty(Z)||h.push(function R(V){return new i.vHH(3001,!1)}())}))}(pe,h.options,h.errors)}))}))}visitKeyframes(u,h){const w={type:5,styles:[],options:null};if(!h.currentAnimateTimings)return h.errors.push(function Qe(){return new i.vHH(3011,!1)}()),w;let Z=0;const fe=[];let pe=!1,We=!1,gt=0;const It=u.steps.map((Ln=>{const zn=this._makeStyleAst(Ln,h);let Wn=null!=zn.offset?zn.offset:function Se(V){if("string"==typeof V)return null;let u=null;if(Array.isArray(V))V.forEach((h=>{if(h instanceof Map&&h.has("offset")){const w=h;u=parseFloat(w.get("offset")),w.delete("offset")}}));else if(V instanceof Map&&V.has("offset")){const h=V;u=parseFloat(h.get("offset")),h.delete("offset")}return u}(zn.styles),Gn=0;return null!=Wn&&(Z++,Gn=zn.offset=Wn),We=We||Gn<0||Gn>1,pe=pe||Gn<gt,gt=Gn,fe.push(Gn),zn}));We&&h.errors.push(function Fe(){return new i.vHH(3012,!1)}()),pe&&h.errors.push(function _t(){return new i.vHH(3200,!1)}());const zt=u.steps.length;let tn=0;Z>0&&Z<zt?h.errors.push(function ue(){return new i.vHH(3202,!1)}()):0==Z&&(tn=1/(zt-1));const En=zt-1,hn=h.currentTime,gn=h.currentAnimateTimings,Rn=gn.duration;return It.forEach(((Ln,zn)=>{const Wn=tn>0?zn==En?1:tn*zn:fe[zn],Gn=Wn*Rn;h.currentTime=hn+gn.delay+Gn,gn.duration=Gn,this._validateStyleAst(Ln,h),Ln.offset=Wn,w.styles.push(Ln)})),w}visitReference(u,h){return{type:8,animation:rt(this,te(u.animation),h),options:Ve(u.options)}}visitAnimateChild(u,h){return h.depCount++,{type:9,options:Ve(u.options)}}visitAnimateRef(u,h){return{type:10,animation:this.visitReference(u.animation,h),options:Ve(u.options)}}visitQuery(u,h){const w=h.currentQuerySelector,B=u.options||{};h.queryCount++,h.currentQuery=u;const[Z,fe]=function Bn(V){const u=!!V.split(/\s*,\s*/).find((h=>":self"==h));return u&&(V=V.replace(ir,"")),V=V.replace(/@\*/g,At).replace(/@\w+/g,(h=>At+"-"+h.slice(1))).replace(/:animating/g,kt),[V,u]}(u.selector);h.currentQuerySelector=w.length?w+" "+Z:Z,Pe(h.collectedStyles,h.currentQuerySelector,new Map);const pe=rt(this,te(u.animation),h);return h.currentQuery=null,h.currentQuerySelector=w,{type:11,selector:Z,limit:B.limit||0,optional:!!B.optional,includeSelf:fe,animation:pe,originalSelector:u.selector,options:Ve(u.options)}}visitStagger(u,h){h.currentQuery||h.errors.push(function ge(){return new i.vHH(3013,!1)}());const w="full"===u.timings?{duration:0,delay:0,easing:"full"}:mn(u.timings,h.errors,!0);return{type:12,animation:rt(this,te(u.animation),h),timings:w,options:null}}}class X{constructor(u){this.errors=u,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles=new Map,this.options=null,this.unsupportedCSSPropertiesFound=new Set}}function Ve(V){return V?(V=Xt(V)).params&&(V.params=function gr(V){return V?Xt(V):null}(V.params)):V={},V}function jt(V,u,h){return{duration:V,delay:u,easing:h}}function fn(V,u,h,w,B,Z,fe=null,pe=!1){return{type:1,element:V,keyframes:u,preStyleProps:h,postStyleProps:w,duration:B,delay:Z,totalTime:B+Z,easing:fe,subTimeline:pe}}class In{constructor(){this._map=new Map}get(u){return this._map.get(u)||[]}append(u,h){let w=this._map.get(u);w||this._map.set(u,w=[]),w.push(...h)}has(u){return this._map.has(u)}clear(){this._map.clear()}}const gi=new RegExp(":enter","g"),Er=new RegExp(":leave","g");function Pi(V,u,h,w,B,Z=new Map,fe=new Map,pe,We,gt=[]){return(new bo).buildKeyframes(V,u,h,w,B,Z,fe,pe,We,gt)}class bo{buildKeyframes(u,h,w,B,Z,fe,pe,We,gt,It=[]){gt=gt||new In;const zt=new _i(u,h,gt,B,Z,It,[]);zt.options=We;const tn=We.delay?lt(We.delay):0;zt.currentTimeline.delayNextStep(tn),zt.currentTimeline.setStyles([fe],null,zt.errors,We),rt(this,w,zt);const En=zt.timelines.filter((hn=>hn.containsAnimation()));if(En.length&&pe.size){let hn;for(let gn=En.length-1;gn>=0;gn--){const Rn=En[gn];if(Rn.element===h){hn=Rn;break}}hn&&!hn.allowOnlyTimelineStyles()&&hn.setStyles([pe],null,zt.errors,We)}return En.length?En.map((hn=>hn.buildKeyframes())):[fn(h,[],[],[],0,tn,"",!1)]}visitTrigger(u,h){}visitState(u,h){}visitTransition(u,h){}visitAnimateChild(u,h){const w=h.subInstructions.get(h.element);if(w){const B=h.createSubContext(u.options),Z=h.currentTimeline.currentTime,fe=this._visitSubInstructions(w,B,B.options);Z!=fe&&h.transformIntoNewTimeline(fe)}h.previousNode=u}visitAnimateRef(u,h){const w=h.createSubContext(u.options);w.transformIntoNewTimeline(),this._applyAnimationRefDelays([u.options,u.animation.options],h,w),this.visitReference(u.animation,w),h.transformIntoNewTimeline(w.currentTimeline.currentTime),h.previousNode=u}_applyAnimationRefDelays(u,h,w){for(const B of u){const Z=B?.delay;if(Z){const fe="number"==typeof Z?Z:lt(q(Z,B?.params??{},h.errors));w.delayNextStep(fe)}}}_visitSubInstructions(u,h,w){let Z=h.currentTimeline.currentTime;const fe=null!=w.duration?lt(w.duration):null,pe=null!=w.delay?lt(w.delay):null;return 0!==fe&&u.forEach((We=>{const gt=h.appendInstructionToTimeline(We,fe,pe);Z=Math.max(Z,gt.duration+gt.delay)})),Z}visitReference(u,h){h.updateOptions(u.options,!0),rt(this,u.animation,h),h.previousNode=u}visitSequence(u,h){const w=h.subContextCount;let B=h;const Z=u.options;if(Z&&(Z.params||Z.delay)&&(B=h.createSubContext(Z),B.transformIntoNewTimeline(),null!=Z.delay)){6==B.previousNode.type&&(B.currentTimeline.snapshotCurrentStyles(),B.previousNode=mi);const fe=lt(Z.delay);B.delayNextStep(fe)}u.steps.length&&(u.steps.forEach((fe=>rt(this,fe,B))),B.currentTimeline.applyStylesToKeyframe(),B.subContextCount>w&&B.transformIntoNewTimeline()),h.previousNode=u}visitGroup(u,h){const w=[];let B=h.currentTimeline.currentTime;const Z=u.options&&u.options.delay?lt(u.options.delay):0;u.steps.forEach((fe=>{const pe=h.createSubContext(u.options);Z&&pe.delayNextStep(Z),rt(this,fe,pe),B=Math.max(B,pe.currentTimeline.currentTime),w.push(pe.currentTimeline)})),w.forEach((fe=>h.currentTimeline.mergeTimelineCollectedStyles(fe))),h.transformIntoNewTimeline(B),h.previousNode=u}_visitTiming(u,h){if(u.dynamic){const w=u.strValue;return mn(h.params?q(w,h.params,h.errors):w,h.errors)}return{duration:u.duration,delay:u.delay,easing:u.easing}}visitAnimate(u,h){const w=h.currentAnimateTimings=this._visitTiming(u.timings,h),B=h.currentTimeline;w.delay&&(h.incrementTime(w.delay),B.snapshotCurrentStyles());const Z=u.style;5==Z.type?this.visitKeyframes(Z,h):(h.incrementTime(w.duration),this.visitStyle(Z,h),B.applyStylesToKeyframe()),h.currentAnimateTimings=null,h.previousNode=u}visitStyle(u,h){const w=h.currentTimeline,B=h.currentAnimateTimings;!B&&w.hasCurrentStyleProperties()&&w.forwardFrame();const Z=B&&B.easing||u.easing;u.isEmptyStep?w.applyEmptyStep(Z):w.setStyles(u.styles,Z,h.errors,h.options),h.previousNode=u}visitKeyframes(u,h){const w=h.currentAnimateTimings,B=h.currentTimeline.duration,Z=w.duration,pe=h.createSubContext().currentTimeline;pe.easing=w.easing,u.styles.forEach((We=>{pe.forwardTime((We.offset||0)*Z),pe.setStyles(We.styles,We.easing,h.errors,h.options),pe.applyStylesToKeyframe()})),h.currentTimeline.mergeTimelineCollectedStyles(pe),h.transformIntoNewTimeline(B+Z),h.previousNode=u}visitQuery(u,h){const w=h.currentTimeline.currentTime,B=u.options||{},Z=B.delay?lt(B.delay):0;Z&&(6===h.previousNode.type||0==w&&h.currentTimeline.hasCurrentStyleProperties())&&(h.currentTimeline.snapshotCurrentStyles(),h.previousNode=mi);let fe=w;const pe=h.invokeQuery(u.selector,u.originalSelector,u.limit,u.includeSelf,!!B.optional,h.errors);h.currentQueryTotal=pe.length;let We=null;pe.forEach(((gt,It)=>{h.currentQueryIndex=It;const zt=h.createSubContext(u.options,gt);Z&&zt.delayNextStep(Z),gt===h.element&&(We=zt.currentTimeline),rt(this,u.animation,zt),zt.currentTimeline.applyStylesToKeyframe(),fe=Math.max(fe,zt.currentTimeline.currentTime)})),h.currentQueryIndex=0,h.currentQueryTotal=0,h.transformIntoNewTimeline(fe),We&&(h.currentTimeline.mergeTimelineCollectedStyles(We),h.currentTimeline.snapshotCurrentStyles()),h.previousNode=u}visitStagger(u,h){const w=h.parentContext,B=h.currentTimeline,Z=u.timings,fe=Math.abs(Z.duration),pe=fe*(h.currentQueryTotal-1);let We=fe*h.currentQueryIndex;switch(Z.duration<0?"reverse":Z.easing){case"reverse":We=pe-We;break;case"full":We=w.currentStaggerTime}const It=h.currentTimeline;We&&It.delayNextStep(We);const zt=It.currentTime;rt(this,u.animation,h),h.previousNode=u,w.currentStaggerTime=B.currentTime-zt+(B.startTime-w.currentTimeline.startTime)}}const mi={};class _i{constructor(u,h,w,B,Z,fe,pe,We){this._driver=u,this.element=h,this.subInstructions=w,this._enterClassName=B,this._leaveClassName=Z,this.errors=fe,this.timelines=pe,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=mi,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=We||new si(this._driver,h,0),pe.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(u,h){if(!u)return;const w=u;let B=this.options;null!=w.duration&&(B.duration=lt(w.duration)),null!=w.delay&&(B.delay=lt(w.delay));const Z=w.params;if(Z){let fe=B.params;fe||(fe=this.options.params={}),Object.keys(Z).forEach((pe=>{(!h||!fe.hasOwnProperty(pe))&&(fe[pe]=q(Z[pe],fe,this.errors))}))}}_copyOptions(){const u={};if(this.options){const h=this.options.params;if(h){const w=u.params={};Object.keys(h).forEach((B=>{w[B]=h[B]}))}}return u}createSubContext(u=null,h,w){const B=h||this.element,Z=new _i(this._driver,B,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(B,w||0));return Z.previousNode=this.previousNode,Z.currentAnimateTimings=this.currentAnimateTimings,Z.options=this._copyOptions(),Z.updateOptions(u),Z.currentQueryIndex=this.currentQueryIndex,Z.currentQueryTotal=this.currentQueryTotal,Z.parentContext=this,this.subContextCount++,Z}transformIntoNewTimeline(u){return this.previousNode=mi,this.currentTimeline=this.currentTimeline.fork(this.element,u),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(u,h,w){const B={duration:h??u.duration,delay:this.currentTimeline.currentTime+(w??0)+u.delay,easing:""},Z=new Do(this._driver,u.element,u.keyframes,u.preStyleProps,u.postStyleProps,B,u.stretchStartingKeyframe);return this.timelines.push(Z),B}incrementTime(u){this.currentTimeline.forwardTime(this.currentTimeline.duration+u)}delayNextStep(u){u>0&&this.currentTimeline.delayNextStep(u)}invokeQuery(u,h,w,B,Z,fe){let pe=[];if(B&&pe.push(this.element),u.length>0){u=(u=u.replace(gi,"."+this._enterClassName)).replace(Er,"."+this._leaveClassName);let gt=this._driver.query(this.element,u,1!=w);0!==w&&(gt=w<0?gt.slice(gt.length+w,gt.length):gt.slice(0,w)),pe.push(...gt)}return!Z&&0==pe.length&&fe.push(function nt(V){return new i.vHH(3014,!1)}()),pe}}class si{constructor(u,h,w,B){this._driver=u,this.element=h,this.startTime=w,this._elementTimelineStylesLookup=B,this.duration=0,this._previousKeyframe=new Map,this._currentKeyframe=new Map,this._keyframes=new Map,this._styleSummary=new Map,this._localTimelineStyles=new Map,this._pendingStyles=new Map,this._backFill=new Map,this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(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.hasCurrentStyleProperties();default:return!0}}hasCurrentStyleProperties(){return this._currentKeyframe.size>0}get currentTime(){return this.startTime+this.duration}delayNextStep(u){const h=1===this._keyframes.size&&this._pendingStyles.size;this.duration||h?(this.forwardTime(this.currentTime+u),h&&this.snapshotCurrentStyles()):this.startTime+=u}fork(u,h){return this.applyStylesToKeyframe(),new si(this._driver,u,h||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=new Map,this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=1,this._loadKeyframe()}forwardTime(u){this.applyStylesToKeyframe(),this.duration=u,this._loadKeyframe()}_updateStyle(u,h){this._localTimelineStyles.set(u,h),this._globalTimelineStyles.set(u,h),this._styleSummary.set(u,{time:this.currentTime,value:h})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(u){u&&this._previousKeyframe.set("easing",u);for(let[h,w]of this._globalTimelineStyles)this._backFill.set(h,w||E.l3),this._currentKeyframe.set(h,E.l3);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(u,h,w,B){h&&this._previousKeyframe.set("easing",h);const Z=B&&B.params||{},fe=function Eo(V,u){const h=new Map;let w;return V.forEach((B=>{if("*"===B){w=w||u.keys();for(let Z of w)h.set(Z,E.l3)}else en(B,h)})),h}(u,this._globalTimelineStyles);for(let[pe,We]of fe){const gt=q(We,Z,w);this._pendingStyles.set(pe,gt),this._localTimelineStyles.has(pe)||this._backFill.set(pe,this._globalTimelineStyles.get(pe)??E.l3),this._updateStyle(pe,gt)}}applyStylesToKeyframe(){0!=this._pendingStyles.size&&(this._pendingStyles.forEach(((u,h)=>{this._currentKeyframe.set(h,u)})),this._pendingStyles.clear(),this._localTimelineStyles.forEach(((u,h)=>{this._currentKeyframe.has(h)||this._currentKeyframe.set(h,u)})))}snapshotCurrentStyles(){for(let[u,h]of this._localTimelineStyles)this._pendingStyles.set(u,h),this._updateStyle(u,h)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const u=[];for(let h in this._currentKeyframe)u.push(h);return u}mergeTimelineCollectedStyles(u){u._styleSummary.forEach(((h,w)=>{const B=this._styleSummary.get(w);(!B||h.time>B.time)&&this._updateStyle(w,h.value)}))}buildKeyframes(){this.applyStylesToKeyframe();const u=new Set,h=new Set,w=1===this._keyframes.size&&0===this.duration;let B=[];this._keyframes.forEach(((pe,We)=>{const gt=en(pe,new Map,this._backFill);gt.forEach(((It,zt)=>{It===E.k1?u.add(zt):It===E.l3&&h.add(zt)})),w||gt.set("offset",We/this.duration),B.push(gt)}));const Z=u.size?W(u.values()):[],fe=h.size?W(h.values()):[];if(w){const pe=B[0],We=new Map(pe);pe.set("offset",0),We.set("offset",1),B=[pe,We]}return fn(this.element,B,Z,fe,this.duration,this.startTime,this.easing,!1)}}class Do extends si{constructor(u,h,w,B,Z,fe,pe=!1){super(u,h,fe.delay),this.keyframes=w,this.preStyleProps=B,this.postStyleProps=Z,this._stretchStartingKeyframe=pe,this.timings={duration:fe.duration,delay:fe.delay,easing:fe.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let u=this.keyframes,{delay:h,duration:w,easing:B}=this.timings;if(this._stretchStartingKeyframe&&h){const Z=[],fe=w+h,pe=h/fe,We=en(u[0]);We.set("offset",0),Z.push(We);const gt=en(u[0]);gt.set("offset",Oi(pe)),Z.push(gt);const It=u.length-1;for(let zt=1;zt<=It;zt++){let tn=en(u[zt]);const En=tn.get("offset");tn.set("offset",Oi((h+En*w)/fe)),Z.push(tn)}w=fe,h=0,B="",u=Z}return fn(this.element,u,this.preStyleProps,this.postStyleProps,w,h,B,!0)}}function Oi(V,u=3){const h=Math.pow(10,u-1);return Math.round(V*h)/h}class Ai{}const co=new Set(["width","height","minWidth","minHeight","maxWidth","maxHeight","left","top","bottom","right","fontSize","outlineWidth","outlineOffset","paddingTop","paddingLeft","paddingBottom","paddingRight","marginTop","marginLeft","marginBottom","marginRight","borderRadius","borderWidth","borderTopWidth","borderLeftWidth","borderRightWidth","borderBottomWidth","textIndent","perspective"]);class Ii extends Ai{normalizePropertyName(u,h){return ne(u)}normalizeStyleValue(u,h,w,B){let Z="";const fe=w.toString().trim();if(co.has(h)&&0!==w&&"0"!==w)if("number"==typeof w)Z="px";else{const pe=w.match(/^[+-]?[\d\.]+([a-z]*)$/);pe&&0==pe[1].length&&B.push(function Y(V,u){return new i.vHH(3005,!1)}())}return fe+Z}}function Wr(V,u,h,w,B,Z,fe,pe,We,gt,It,zt,tn){return{type:0,element:V,triggerName:u,isRemovalTransition:B,fromState:h,fromStyles:Z,toState:w,toStyles:fe,timelines:pe,queriedElements:We,preStyleProps:gt,postStyleProps:It,totalTime:zt,errors:tn}}const Xr={};class Fr{constructor(u,h,w){this._triggerName=u,this.ast=h,this._stateStyles=w}match(u,h,w,B){return function kr(V,u,h,w,B){return V.some((Z=>Z(u,h,w,B)))}(this.ast.matchers,u,h,w,B)}buildStyles(u,h,w){let B=this._stateStyles.get("*");return void 0!==u&&(B=this._stateStyles.get(u?.toString())||B),B?B.buildStyles(h,w):new Map}build(u,h,w,B,Z,fe,pe,We,gt,It){const zt=[],tn=this.ast.options&&this.ast.options.params||Xr,hn=this.buildStyles(w,pe&&pe.params||Xr,zt),gn=We&&We.params||Xr,Rn=this.buildStyles(B,gn,zt),Ln=new Set,zn=new Map,Wn=new Map,Gn="void"===B,vr={params:li(gn,tn),delay:this.ast.options?.delay},Ir=It?[]:Pi(u,h,this.ast.animation,Z,fe,hn,Rn,vr,gt,zt);let lr=0;if(Ir.forEach((cr=>{lr=Math.max(cr.duration+cr.delay,lr)})),zt.length)return Wr(h,this._triggerName,w,B,Gn,hn,Rn,[],[],zn,Wn,lr,zt);Ir.forEach((cr=>{const xr=cr.element,Vo=Pe(zn,xr,new Set);cr.preStyleProps.forEach((Hr=>Vo.add(Hr)));const hi=Pe(Wn,xr,new Set);cr.postStyleProps.forEach((Hr=>hi.add(Hr))),xr!==h&&Ln.add(xr)}));const oi=W(Ln.values());return Wr(h,this._triggerName,w,B,Gn,hn,Rn,Ir,oi,zn,Wn,lr)}}function li(V,u){const h=Xt(u);for(const w in V)V.hasOwnProperty(w)&&null!=V[w]&&(h[w]=V[w]);return h}class xi{constructor(u,h,w){this.styles=u,this.defaultParams=h,this.normalizer=w}buildStyles(u,h){const w=new Map,B=Xt(this.defaultParams);return Object.keys(u).forEach((Z=>{const fe=u[Z];null!==fe&&(B[Z]=fe)})),this.styles.styles.forEach((Z=>{"string"!=typeof Z&&Z.forEach(((fe,pe)=>{fe&&(fe=q(fe,B,h));const We=this.normalizer.normalizePropertyName(pe,h);fe=this.normalizer.normalizeStyleValue(pe,We,fe,h),w.set(We,fe)}))})),w}}class yi{constructor(u,h,w){this.name=u,this.ast=h,this._normalizer=w,this.transitionFactories=[],this.states=new Map,h.states.forEach((B=>{this.states.set(B.name,new xi(B.style,B.options&&B.options.params||{},w))})),Yr(this.states,"true","1"),Yr(this.states,"false","0"),h.transitions.forEach((B=>{this.transitionFactories.push(new Fr(u,B,this.states))})),this.fallbackTransition=function ci(V,u,h){return new Fr(V,{type:1,animation:{type:2,steps:[],options:null},matchers:[(fe,pe)=>!0],options:null,queryCount:0,depCount:0},u)}(u,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(u,h,w,B){return this.transitionFactories.find((fe=>fe.match(u,h,w,B)))||null}matchStyles(u,h,w){return this.fallbackTransition.buildStyles(u,h,w)}}function Yr(V,u,h){V.has(u)?V.has(h)||V.set(h,V.get(u)):V.has(h)&&V.set(u,V.get(h))}const Yi=new In;class ui{constructor(u,h,w){this.bodyNode=u,this._driver=h,this._normalizer=w,this._animations=new Map,this._playersById=new Map,this.players=[]}register(u,h){const w=[],Z=or(this._driver,h,w,[]);if(w.length)throw function Le(V){return new i.vHH(3503,!1)}();this._animations.set(u,Z)}_buildPlayer(u,h,w){const B=u.element,Z=wt(0,this._normalizer,0,u.keyframes,h,w);return this._driver.animate(B,Z,u.duration,u.delay,u.easing,[],!0)}create(u,h,w={}){const B=[],Z=this._animations.get(u);let fe;const pe=new Map;if(Z?(fe=Pi(this._driver,h,Z,vt,Ct,new Map,new Map,w,Yi,B),fe.forEach((It=>{const zt=Pe(pe,It.element,new Map);It.postStyleProps.forEach((tn=>zt.set(tn,null)))}))):(B.push(function Ce(){return new i.vHH(3300,!1)}()),fe=[]),B.length)throw function we(V){return new i.vHH(3504,!1)}();pe.forEach(((It,zt)=>{It.forEach(((tn,En)=>{It.set(En,this._driver.computeStyle(zt,En,E.l3))}))}));const gt=pt(fe.map((It=>{const zt=pe.get(It.element);return this._buildPlayer(It,new Map,zt)})));return this._playersById.set(u,gt),gt.onDestroy((()=>this.destroy(u))),this.players.push(gt),gt}destroy(u){const h=this._getPlayer(u);h.destroy(),this._playersById.delete(u);const w=this.players.indexOf(h);w>=0&&this.players.splice(w,1)}_getPlayer(u){const h=this._playersById.get(u);if(!h)throw function de(V){return new i.vHH(3301,!1)}();return h}listen(u,h,w,B){const Z=He(h,"","","");return Zt(this._getPlayer(u),w,Z,B),()=>{}}command(u,h,w,B){if("register"==w)return void this.register(u,B[0]);if("create"==w)return void this.create(u,h,B[0]||{});const Z=this._getPlayer(u);switch(w){case"play":Z.play();break;case"pause":Z.pause();break;case"reset":Z.reset();break;case"restart":Z.restart();break;case"finish":Z.finish();break;case"init":Z.init();break;case"setPosition":Z.setPosition(parseFloat(B[0]));break;case"destroy":this.destroy(u)}}}const ei="ng-animate-queued",Qn="ng-animate-disabled",uo=[],Zi={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},Un={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},Xn="__ng_removed";class Ci{constructor(u,h=""){this.namespaceId=h;const w=u&&u.hasOwnProperty("value");if(this.value=function Qi(V){return V??null}(w?u.value:u),w){const Z=Xt(u);delete Z.value,this.options=Z}else this.options={};this.options.params||(this.options.params={})}get params(){return this.options.params}absorbOptions(u){const h=u.params;if(h){const w=this.options.params;Object.keys(h).forEach((B=>{null==w[B]&&(w[B]=h[B])}))}}}const mr="void",qn=new Ci(mr);class Sr{constructor(u,h,w){this.id=u,this.hostElement=h,this._engine=w,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+u,qt(h,this._hostClassName)}listen(u,h,w,B){if(!this._triggers.has(h))throw function Ze(V,u){return new i.vHH(3302,!1)}();if(null==w||0==w.length)throw function Dt(V){return new i.vHH(3303,!1)}();if(!function qi(V){return"start"==V||"done"==V}(w))throw function Xe(V,u){return new i.vHH(3400,!1)}();const Z=Pe(this._elementListeners,u,[]),fe={name:h,phase:w,callback:B};Z.push(fe);const pe=Pe(this._engine.statesByElement,u,new Map);return pe.has(h)||(qt(u,Nt),qt(u,Nt+"-"+h),pe.set(h,qn)),()=>{this._engine.afterFlush((()=>{const We=Z.indexOf(fe);We>=0&&Z.splice(We,1),this._triggers.has(h)||pe.delete(h)}))}}register(u,h){return!this._triggers.has(u)&&(this._triggers.set(u,h),!0)}_getTrigger(u){const h=this._triggers.get(u);if(!h)throw function Me(V){return new i.vHH(3401,!1)}();return h}trigger(u,h,w,B=!0){const Z=this._getTrigger(h),fe=new _r(this.id,h,u);let pe=this._engine.statesByElement.get(u);pe||(qt(u,Nt),qt(u,Nt+"-"+h),this._engine.statesByElement.set(u,pe=new Map));let We=pe.get(h);const gt=new Ci(w,this.id);if(!(w&&w.hasOwnProperty("value"))&&We&>.absorbOptions(We.options),pe.set(h,gt),We||(We=qn),gt.value!==mr&&We.value===gt.value){if(!function Fi(V,u){const h=Object.keys(V),w=Object.keys(u);if(h.length!=w.length)return!1;for(let B=0;B<h.length;B++){const Z=h[B];if(!u.hasOwnProperty(Z)||V[Z]!==u[Z])return!1}return!0}(We.params,gt.params)){const gn=[],Rn=Z.matchStyles(We.value,We.params,gn),Ln=Z.matchStyles(gt.value,gt.params,gn);gn.length?this._engine.reportError(gn):this._engine.afterFlush((()=>{Q(u,Rn),Ee(u,Ln)}))}return}const tn=Pe(this._engine.playersByElement,u,[]);tn.forEach((gn=>{gn.namespaceId==this.id&&gn.triggerName==h&&gn.queued&&gn.destroy()}));let En=Z.matchTransition(We.value,gt.value,u,gt.params),hn=!1;if(!En){if(!B)return;En=Z.fallbackTransition,hn=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:u,triggerName:h,transition:En,fromState:We,toState:gt,player:fe,isFallbackTransition:hn}),hn||(qt(u,ei),fe.onStart((()=>{Vr(u,ei)}))),fe.onDone((()=>{let gn=this.players.indexOf(fe);gn>=0&&this.players.splice(gn,1);const Rn=this._engine.playersByElement.get(u);if(Rn){let Ln=Rn.indexOf(fe);Ln>=0&&Rn.splice(Ln,1)}})),this.players.push(fe),tn.push(fe),fe}deregister(u){this._triggers.delete(u),this._engine.statesByElement.forEach((h=>h.delete(u))),this._elementListeners.forEach(((h,w)=>{this._elementListeners.set(w,h.filter((B=>B.name!=u)))}))}clearElementCache(u){this._engine.statesByElement.delete(u),this._elementListeners.delete(u);const h=this._engine.playersByElement.get(u);h&&(h.forEach((w=>w.destroy())),this._engine.playersByElement.delete(u))}_signalRemovalForInnerTriggers(u,h){const w=this._engine.driver.query(u,At,!0);w.forEach((B=>{if(B[Xn])return;const Z=this._engine.fetchNamespacesByElement(B);Z.size?Z.forEach((fe=>fe.triggerLeaveAnimation(B,h,!1,!0))):this.clearElementCache(B)})),this._engine.afterFlushAnimationsDone((()=>w.forEach((B=>this.clearElementCache(B)))))}triggerLeaveAnimation(u,h,w,B){const Z=this._engine.statesByElement.get(u),fe=new Map;if(Z){const pe=[];if(Z.forEach(((We,gt)=>{if(fe.set(gt,We.value),this._triggers.has(gt)){const It=this.trigger(u,gt,mr,B);It&&pe.push(It)}})),pe.length)return this._engine.markElementAsRemoved(this.id,u,!0,h,fe),w&&pt(pe).onDone((()=>this._engine.processLeaveNode(u))),!0}return!1}prepareLeaveAnimationListeners(u){const h=this._elementListeners.get(u),w=this._engine.statesByElement.get(u);if(h&&w){const B=new Set;h.forEach((Z=>{const fe=Z.name;if(B.has(fe))return;B.add(fe);const We=this._triggers.get(fe).fallbackTransition,gt=w.get(fe)||qn,It=new Ci(mr),zt=new _r(this.id,fe,u);this._engine.totalQueuedPlayers++,this._queue.push({element:u,triggerName:fe,transition:We,fromState:gt,toState:It,player:zt,isFallbackTransition:!0})}))}}removeNode(u,h){const w=this._engine;if(u.childElementCount&&this._signalRemovalForInnerTriggers(u,h),this.triggerLeaveAnimation(u,h,!0))return;let B=!1;if(w.totalAnimations){const Z=w.players.length?w.playersByQueriedElement.get(u):[];if(Z&&Z.length)B=!0;else{let fe=u;for(;fe=fe.parentNode;)if(w.statesByElement.get(fe)){B=!0;break}}}if(this.prepareLeaveAnimationListeners(u),B)w.markElementAsRemoved(this.id,u,!1,h);else{const Z=u[Xn];(!Z||Z===Zi)&&(w.afterFlush((()=>this.clearElementCache(u))),w.destroyInnerAnimations(u),w._onRemovalComplete(u,h))}}insertNode(u,h){qt(u,this._hostClassName)}drainQueuedTransitions(u){const h=[];return this._queue.forEach((w=>{const B=w.player;if(B.destroyed)return;const Z=w.element,fe=this._elementListeners.get(Z);fe&&fe.forEach((pe=>{if(pe.name==w.triggerName){const We=He(Z,w.triggerName,w.fromState.value,w.toState.value);We._data=u,Zt(w.player,pe.phase,We,pe.callback)}})),B.markedForDestroy?this._engine.afterFlush((()=>{B.destroy()})):h.push(w)})),this._queue=[],h.sort(((w,B)=>{const Z=w.transition.ast.depCount,fe=B.transition.ast.depCount;return 0==Z||0==fe?Z-fe:this._engine.driver.containsElement(w.element,B.element)?1:-1}))}destroy(u){this.players.forEach((h=>h.destroy())),this._signalRemovalForInnerTriggers(this.hostElement,u)}elementContainsData(u){let h=!1;return this._elementListeners.has(u)&&(h=!0),h=!!this._queue.find((w=>w.element===u))||h,h}}class ri{constructor(u,h,w){this.bodyNode=u,this.driver=h,this._normalizer=w,this.players=[],this.newHostElements=new Map,this.playersByElement=new Map,this.playersByQueriedElement=new Map,this.statesByElement=new Map,this.disabledNodes=new Set,this.totalAnimations=0,this.totalQueuedPlayers=0,this._namespaceLookup={},this._namespaceList=[],this._flushFns=[],this._whenQuietFns=[],this.namespacesByHostElement=new Map,this.collectedEnterElements=[],this.collectedLeaveElements=[],this.onRemovalComplete=(B,Z)=>{}}_onRemovalComplete(u,h){this.onRemovalComplete(u,h)}get queuedPlayers(){const u=[];return this._namespaceList.forEach((h=>{h.players.forEach((w=>{w.queued&&u.push(w)}))})),u}createNamespace(u,h){const w=new Sr(u,h,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,h)?this._balanceNamespaceList(w,h):(this.newHostElements.set(h,w),this.collectEnterElement(h)),this._namespaceLookup[u]=w}_balanceNamespaceList(u,h){const w=this._namespaceList,B=this.namespacesByHostElement;if(w.length-1>=0){let fe=!1,pe=this.driver.getParentElement(h);for(;pe;){const We=B.get(pe);if(We){const gt=w.indexOf(We);w.splice(gt+1,0,u),fe=!0;break}pe=this.driver.getParentElement(pe)}fe||w.unshift(u)}else w.push(u);return B.set(h,u),u}register(u,h){let w=this._namespaceLookup[u];return w||(w=this.createNamespace(u,h)),w}registerTrigger(u,h,w){let B=this._namespaceLookup[u];B&&B.register(h,w)&&this.totalAnimations++}destroy(u,h){if(!u)return;const w=this._fetchNamespace(u);this.afterFlush((()=>{this.namespacesByHostElement.delete(w.hostElement),delete this._namespaceLookup[u];const B=this._namespaceList.indexOf(w);B>=0&&this._namespaceList.splice(B,1)})),this.afterFlushAnimationsDone((()=>w.destroy(h)))}_fetchNamespace(u){return this._namespaceLookup[u]}fetchNamespacesByElement(u){const h=new Set,w=this.statesByElement.get(u);if(w)for(let B of w.values())if(B.namespaceId){const Z=this._fetchNamespace(B.namespaceId);Z&&h.add(Z)}return h}trigger(u,h,w,B){if(Lr(h)){const Z=this._fetchNamespace(u);if(Z)return Z.trigger(h,w,B),!0}return!1}insertNode(u,h,w,B){if(!Lr(h))return;const Z=h[Xn];if(Z&&Z.setForRemoval){Z.setForRemoval=!1,Z.setForMove=!0;const fe=this.collectedLeaveElements.indexOf(h);fe>=0&&this.collectedLeaveElements.splice(fe,1)}if(u){const fe=this._fetchNamespace(u);fe&&fe.insertNode(h,w)}B&&this.collectEnterElement(h)}collectEnterElement(u){this.collectedEnterElements.push(u)}markElementAsDisabled(u,h){h?this.disabledNodes.has(u)||(this.disabledNodes.add(u),qt(u,Qn)):this.disabledNodes.has(u)&&(this.disabledNodes.delete(u),Vr(u,Qn))}removeNode(u,h,w,B){if(Lr(h)){const Z=u?this._fetchNamespace(u):null;if(Z?Z.removeNode(h,B):this.markElementAsRemoved(u,h,!1,B),w){const fe=this.namespacesByHostElement.get(h);fe&&fe.id!==u&&fe.removeNode(h,B)}}else this._onRemovalComplete(h,B)}markElementAsRemoved(u,h,w,B,Z){this.collectedLeaveElements.push(h),h[Xn]={namespaceId:u,setForRemoval:B,hasAnimation:w,removedBeforeQueried:!1,previousTriggersValues:Z}}listen(u,h,w,B,Z){return Lr(h)?this._fetchNamespace(u).listen(h,w,B,Z):()=>{}}_buildInstruction(u,h,w,B,Z){return u.transition.build(this.driver,u.element,u.fromState.value,u.toState.value,w,B,u.fromState.options,u.toState.options,h,Z)}destroyInnerAnimations(u){let h=this.driver.query(u,At,!0);h.forEach((w=>this.destroyActiveAnimationsForElement(w))),0!=this.playersByQueriedElement.size&&(h=this.driver.query(u,kt,!0),h.forEach((w=>this.finishActiveQueriedAnimationOnElement(w))))}destroyActiveAnimationsForElement(u){const h=this.playersByElement.get(u);h&&h.forEach((w=>{w.queued?w.markedForDestroy=!0:w.destroy()}))}finishActiveQueriedAnimationOnElement(u){const h=this.playersByQueriedElement.get(u);h&&h.forEach((w=>w.finish()))}whenRenderingDone(){return new Promise((u=>{if(this.players.length)return pt(this.players).onDone((()=>u()));u()}))}processLeaveNode(u){const h=u[Xn];if(h&&h.setForRemoval){if(u[Xn]=Zi,h.namespaceId){this.destroyInnerAnimations(u);const w=this._fetchNamespace(h.namespaceId);w&&w.clearElementCache(u)}this._onRemovalComplete(u,h.setForRemoval)}u.classList?.contains(Qn)&&this.markElementAsDisabled(u,!1),this.driver.query(u,".ng-animate-disabled",!0).forEach((w=>{this.markElementAsDisabled(w,!1)}))}flush(u=-1){let h=[];if(this.newHostElements.size&&(this.newHostElements.forEach(((w,B)=>this._balanceNamespaceList(w,B))),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let w=0;w<this.collectedEnterElements.length;w++)qt(this.collectedEnterElements[w],"ng-star-inserted");if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){const w=[];try{h=this._flushAnimations(w,u)}finally{for(let B=0;B<w.length;B++)w[B]()}}else for(let w=0;w<this.collectedLeaveElements.length;w++)this.processLeaveNode(this.collectedLeaveElements[w]);if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach((w=>w())),this._flushFns=[],this._whenQuietFns.length){const w=this._whenQuietFns;this._whenQuietFns=[],h.length?pt(h).onDone((()=>{w.forEach((B=>B()))})):w.forEach((B=>B()))}}reportError(u){throw function je(V){return new i.vHH(3402,!1)}()}_flushAnimations(u,h){const w=new In,B=[],Z=new Map,fe=[],pe=new Map,We=new Map,gt=new Map,It=new Set;this.disabledNodes.forEach((g=>{It.add(g);const T=this.driver.query(g,".ng-animate-queued",!0);for(let _=0;_<T.length;_++)It.add(T[_])}));const zt=this.bodyNode,tn=Array.from(this.statesByElement.keys()),En=Ri(tn,this.collectedEnterElements),hn=new Map;let gn=0;En.forEach(((g,T)=>{const _=vt+gn++;hn.set(T,_),g.forEach((L=>qt(L,_)))}));const Rn=[],Ln=new Set,zn=new Set;for(let g=0;g<this.collectedLeaveElements.length;g++){const T=this.collectedLeaveElements[g],_=T[Xn];_&&_.setForRemoval&&(Rn.push(T),Ln.add(T),_.hasAnimation?this.driver.query(T,".ng-star-inserted",!0).forEach((L=>Ln.add(L))):zn.add(T))}const Wn=new Map,Gn=Ri(tn,Array.from(Ln));Gn.forEach(((g,T)=>{const _=Ct+gn++;Wn.set(T,_),g.forEach((L=>qt(L,_)))})),u.push((()=>{En.forEach(((g,T)=>{const _=hn.get(T);g.forEach((L=>Vr(L,_)))})),Gn.forEach(((g,T)=>{const _=Wn.get(T);g.forEach((L=>Vr(L,_)))})),Rn.forEach((g=>{this.processLeaveNode(g)}))}));const vr=[],Ir=[];for(let g=this._namespaceList.length-1;g>=0;g--)this._namespaceList[g].drainQueuedTransitions(h).forEach((_=>{const L=_.player,se=_.element;if(vr.push(L),this.collectedEnterElements.length){const on=se[Xn];if(on&&on.setForMove){if(on.previousTriggersValues&&on.previousTriggersValues.has(_.triggerName)){const Fn=on.previousTriggersValues.get(_.triggerName),Mn=this.statesByElement.get(_.element);if(Mn&&Mn.has(_.triggerName)){const Yn=Mn.get(_.triggerName);Yn.value=Fn,Mn.set(_.triggerName,Yn)}}return void L.destroy()}}const qe=!zt||!this.driver.containsElement(zt,se),ct=Wn.get(se),Gt=hn.get(se),ln=this._buildInstruction(_,w,Gt,ct,qe);if(ln.errors&&ln.errors.length)return void Ir.push(ln);if(qe)return L.onStart((()=>Q(se,ln.fromStyles))),L.onDestroy((()=>Ee(se,ln.toStyles))),void B.push(L);if(_.isFallbackTransition)return L.onStart((()=>Q(se,ln.fromStyles))),L.onDestroy((()=>Ee(se,ln.toStyles))),void B.push(L);const On=[];ln.timelines.forEach((on=>{on.stretchStartingKeyframe=!0,this.disabledNodes.has(on.element)||On.push(on)})),ln.timelines=On,w.append(se,ln.timelines),fe.push({instruction:ln,player:L,element:se}),ln.queriedElements.forEach((on=>Pe(pe,on,[]).push(L))),ln.preStyleProps.forEach(((on,Fn)=>{if(on.size){let Mn=We.get(Fn);Mn||We.set(Fn,Mn=new Set),on.forEach(((Yn,Ur)=>Mn.add(Ur)))}})),ln.postStyleProps.forEach(((on,Fn)=>{let Mn=gt.get(Fn);Mn||gt.set(Fn,Mn=new Set),on.forEach(((Yn,Ur)=>Mn.add(Ur)))}))}));if(Ir.length){const g=[];Ir.forEach((T=>{g.push(function be(V,u){return new i.vHH(3505,!1)}())})),vr.forEach((T=>T.destroy())),this.reportError(g)}const lr=new Map,oi=new Map;fe.forEach((g=>{const T=g.element;w.has(T)&&(oi.set(T,T),this._beforeAnimationBuild(g.player.namespaceId,g.instruction,lr))})),B.forEach((g=>{const T=g.element;this._getPreviousPlayers(T,!1,g.namespaceId,g.triggerName,null).forEach((L=>{Pe(lr,T,[]).push(L),L.destroy()}))}));const cr=Rn.filter((g=>tr(g,We,gt))),xr=new Map;ii(xr,this.driver,zn,gt,E.l3).forEach((g=>{tr(g,We,gt)&&cr.push(g)}));const hi=new Map;En.forEach(((g,T)=>{ii(hi,this.driver,new Set(g),We,E.k1)})),cr.forEach((g=>{const T=xr.get(g),_=hi.get(g);xr.set(g,new Map([...Array.from(T?.entries()??[]),...Array.from(_?.entries()??[])]))}));const Hr=[],po=[],Bo={};fe.forEach((g=>{const{element:T,player:_,instruction:L}=g;if(w.has(T)){if(It.has(T))return _.onDestroy((()=>Ee(T,L.toStyles))),_.disabled=!0,_.overrideTotalTime(L.totalTime),void B.push(_);let se=Bo;if(oi.size>1){let ct=T;const Gt=[];for(;ct=ct.parentNode;){const ln=oi.get(ct);if(ln){se=ln;break}Gt.push(ct)}Gt.forEach((ln=>oi.set(ln,se)))}const qe=this._buildAnimation(_.namespaceId,L,lr,Z,hi,xr);if(_.setRealPlayer(qe),se===Bo)Hr.push(_);else{const ct=this.playersByElement.get(se);ct&&ct.length&&(_.parentPlayer=pt(ct)),B.push(_)}}else Q(T,L.fromStyles),_.onDestroy((()=>Ee(T,L.toStyles))),po.push(_),It.has(T)&&B.push(_)})),po.forEach((g=>{const T=Z.get(g.element);if(T&&T.length){const _=pt(T);g.setRealPlayer(_)}})),B.forEach((g=>{g.parentPlayer?g.syncPlayerEvents(g.parentPlayer):g.destroy()}));for(let g=0;g<Rn.length;g++){const T=Rn[g],_=T[Xn];if(Vr(T,Ct),_&&_.hasAnimation)continue;let L=[];if(pe.size){let qe=pe.get(T);qe&&qe.length&&L.push(...qe);let ct=this.driver.query(T,kt,!0);for(let Gt=0;Gt<ct.length;Gt++){let ln=pe.get(ct[Gt]);ln&&ln.length&&L.push(...ln)}}const se=L.filter((qe=>!qe.destroyed));se.length?ho(this,T,se):this.processLeaveNode(T)}return Rn.length=0,Hr.forEach((g=>{this.players.push(g),g.onDone((()=>{g.destroy();const T=this.players.indexOf(g);this.players.splice(T,1)})),g.play()})),Hr}elementContainsData(u,h){let w=!1;const B=h[Xn];return B&&B.setForRemoval&&(w=!0),this.playersByElement.has(h)&&(w=!0),this.playersByQueriedElement.has(h)&&(w=!0),this.statesByElement.has(h)&&(w=!0),this._fetchNamespace(u).elementContainsData(h)||w}afterFlush(u){this._flushFns.push(u)}afterFlushAnimationsDone(u){this._whenQuietFns.push(u)}_getPreviousPlayers(u,h,w,B,Z){let fe=[];if(h){const pe=this.playersByQueriedElement.get(u);pe&&(fe=pe)}else{const pe=this.playersByElement.get(u);if(pe){const We=!Z||Z==mr;pe.forEach((gt=>{gt.queued||!We&>.triggerName!=B||fe.push(gt)}))}}return(w||B)&&(fe=fe.filter((pe=>!(w&&w!=pe.namespaceId||B&&B!=pe.triggerName)))),fe}_beforeAnimationBuild(u,h,w){const Z=h.element,fe=h.isRemovalTransition?void 0:u,pe=h.isRemovalTransition?void 0:h.triggerName;for(const We of h.timelines){const gt=We.element,It=gt!==Z,zt=Pe(w,gt,[]);this._getPreviousPlayers(gt,It,fe,pe,h.toState).forEach((En=>{const hn=En.getRealPlayer();hn.beforeDestroy&&hn.beforeDestroy(),En.destroy(),zt.push(En)}))}Q(Z,h.fromStyles)}_buildAnimation(u,h,w,B,Z,fe){const pe=h.triggerName,We=h.element,gt=[],It=new Set,zt=new Set,tn=h.timelines.map((hn=>{const gn=hn.element;It.add(gn);const Rn=gn[Xn];if(Rn&&Rn.removedBeforeQueried)return new E.ZN(hn.duration,hn.delay);const Ln=gn!==We,zn=function So(V){const u=[];return Ni(V,u),u}((w.get(gn)||uo).map((lr=>lr.getRealPlayer()))).filter((lr=>!!lr.element&&lr.element===gn)),Wn=Z.get(gn),Gn=fe.get(gn),vr=wt(0,this._normalizer,0,hn.keyframes,Wn,Gn),Ir=this._buildPlayer(hn,vr,zn);if(hn.subTimeline&&B&&zt.add(gn),Ln){const lr=new _r(u,pe,gn);lr.setRealPlayer(Ir),gt.push(lr)}return Ir}));gt.forEach((hn=>{Pe(this.playersByQueriedElement,hn.element,[]).push(hn),hn.onDone((()=>function er(V,u,h){let w=V.get(u);if(w){if(w.length){const B=w.indexOf(h);w.splice(B,1)}0==w.length&&V.delete(u)}return w}(this.playersByQueriedElement,hn.element,hn)))})),It.forEach((hn=>qt(hn,Yt)));const En=pt(tn);return En.onDestroy((()=>{It.forEach((hn=>Vr(hn,Yt))),Ee(We,h.toStyles)})),zt.forEach((hn=>{Pe(B,hn,[]).push(En)})),En}_buildPlayer(u,h,w){return h.length>0?this.driver.animate(u.element,h,u.duration,u.delay,u.easing,w):new E.ZN(u.duration,u.delay)}}class _r{constructor(u,h,w){this.namespaceId=u,this.triggerName=h,this.element=w,this._player=new E.ZN,this._containsRealPlayer=!1,this._queuedCallbacks=new Map,this.destroyed=!1,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(u){this._containsRealPlayer||(this._player=u,this._queuedCallbacks.forEach(((h,w)=>{h.forEach((B=>Zt(u,w,void 0,B)))})),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(u.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(u){this.totalTime=u}syncPlayerEvents(u){const h=this._player;h.triggerCallback&&u.onStart((()=>h.triggerCallback("start"))),u.onDone((()=>this.finish())),u.onDestroy((()=>this.destroy()))}_queueEvent(u,h){Pe(this._queuedCallbacks,u,[]).push(h)}onDone(u){this.queued&&this._queueEvent("done",u),this._player.onDone(u)}onStart(u){this.queued&&this._queueEvent("start",u),this._player.onStart(u)}onDestroy(u){this.queued&&this._queueEvent("destroy",u),this._player.onDestroy(u)}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(u){this.queued||this._player.setPosition(u)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(u){const h=this._player;h.triggerCallback&&h.triggerCallback(u)}}function Lr(V){return V&&1===V.nodeType}function Tr(V,u){const h=V.style.display;return V.style.display=u??"none",h}function ii(V,u,h,w,B){const Z=[];h.forEach((We=>Z.push(Tr(We))));const fe=[];w.forEach(((We,gt)=>{const It=new Map;We.forEach((zt=>{const tn=u.computeStyle(gt,zt,B);It.set(zt,tn),(!tn||0==tn.length)&&(gt[Xn]=Un,fe.push(gt))})),V.set(gt,It)}));let pe=0;return h.forEach((We=>Tr(We,Z[pe++]))),fe}function Ri(V,u){const h=new Map;if(V.forEach((pe=>h.set(pe,[]))),0==u.length)return h;const B=new Set(u),Z=new Map;function fe(pe){if(!pe)return 1;let We=Z.get(pe);if(We)return We;const gt=pe.parentNode;return We=h.has(gt)?gt:B.has(gt)?1:fe(gt),Z.set(pe,We),We}return u.forEach((pe=>{const We=fe(pe);1!==We&&h.get(We).push(pe)})),h}function qt(V,u){V.classList?.add(u)}function Vr(V,u){V.classList?.remove(u)}function ho(V,u,h){pt(h).onDone((()=>V.processLeaveNode(u)))}function Ni(V,u){for(let h=0;h<V.length;h++){const w=V[h];w instanceof E.ZE?Ni(w.players,u):u.push(w)}}function tr(V,u,h){const w=h.get(V);if(!w)return!1;let B=u.get(V);return B?w.forEach((Z=>B.add(Z))):u.set(V,w),h.delete(V),!0}class wi{constructor(u,h,w){this.bodyNode=u,this._driver=h,this._normalizer=w,this._triggerCache={},this.onRemovalComplete=(B,Z)=>{},this._transitionEngine=new ri(u,h,w),this._timelineEngine=new ui(u,h,w),this._transitionEngine.onRemovalComplete=(B,Z)=>this.onRemovalComplete(B,Z)}registerTrigger(u,h,w,B,Z){const fe=u+"-"+B;let pe=this._triggerCache[fe];if(!pe){const We=[],It=or(this._driver,Z,We,[]);if(We.length)throw function ve(V,u){return new i.vHH(3404,!1)}();pe=function Mr(V,u,h){return new yi(V,u,h)}(B,It,this._normalizer),this._triggerCache[fe]=pe}this._transitionEngine.registerTrigger(h,B,pe)}register(u,h){this._transitionEngine.register(u,h)}destroy(u,h){this._transitionEngine.destroy(u,h)}onInsert(u,h,w,B){this._transitionEngine.insertNode(u,h,w,B)}onRemove(u,h,w,B){this._transitionEngine.removeNode(u,h,B||!1,w)}disableAnimations(u,h){this._transitionEngine.markElementAsDisabled(u,h)}process(u,h,w,B){if("@"==w.charAt(0)){const[Z,fe]=me(w);this._timelineEngine.command(Z,h,fe,B)}else this._transitionEngine.trigger(u,h,w,B)}listen(u,h,w,B,Z){if("@"==w.charAt(0)){const[fe,pe]=me(w);return this._timelineEngine.listen(fe,h,pe,Z)}return this._transitionEngine.listen(u,h,w,B,Z)}flush(u=-1){this._transitionEngine.flush(u)}get players(){return this._transitionEngine.players.concat(this._timelineEngine.players)}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}}let bt=(()=>{class V{constructor(h,w,B){this._element=h,this._startStyles=w,this._endStyles=B,this._state=0;let Z=V.initialStylesByElement.get(h);Z||V.initialStylesByElement.set(h,Z=new Map),this._initialStyles=Z}start(){this._state<1&&(this._startStyles&&Ee(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(Ee(this._element,this._initialStyles),this._endStyles&&(Ee(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(V.initialStylesByElement.delete(this._element),this._startStyles&&(Q(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(Q(this._element,this._endStyles),this._endStyles=null),Ee(this._element,this._initialStyles),this._state=3)}}return V.initialStylesByElement=new WeakMap,V})();function Sn(V){let u=null;return V.forEach(((h,w)=>{(function Li(V){return"display"===V||"position"===V})(w)&&(u=u||new Map,u.set(w,h))})),u}class jr{constructor(u,h,w,B){this.element=u,this.keyframes=h,this.options=w,this._specialStyles=B,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this._originalOnDoneFns=[],this._originalOnStartFns=[],this.time=0,this.parentPlayer=null,this.currentSnapshot=new Map,this._duration=w.duration,this._delay=w.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach((u=>u())),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const u=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,u,this.options),this._finalKeyframe=u.length?u[u.length-1]:new Map,this.domPlayer.addEventListener("finish",(()=>this._onFinish()))}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(u){const h=[];return u.forEach((w=>{h.push(Object.fromEntries(w))})),h}_triggerWebAnimation(u,h,w){return u.animate(this._convertKeyframesToObject(h),w)}onStart(u){this._originalOnStartFns.push(u),this._onStartFns.push(u)}onDone(u){this._originalOnDoneFns.push(u),this._onDoneFns.push(u)}onDestroy(u){this._onDestroyFns.push(u)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach((u=>u())),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}pause(){this.init(),this.domPlayer.pause()}finish(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}reset(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}_resetDomPlayerState(){this.domPlayer&&this.domPlayer.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach((u=>u())),this._onDestroyFns=[])}setPosition(u){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=u*this.time}getPosition(){return this.domPlayer.currentTime/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const u=new Map;this.hasStarted()&&this._finalKeyframe.forEach(((w,B)=>{"offset"!==B&&u.set(B,this._finished?w:yt(this.element,B))})),this.currentSnapshot=u}triggerCallback(u){const h="start"===u?this._onStartFns:this._onDoneFns;h.forEach((w=>w())),h.length=0}}class $n{validateStyleProperty(u){return!0}validateAnimatableStyleProperty(u){return!0}matchesElement(u,h){return!1}containsElement(u,h){return it(u,h)}getParentElement(u){return xt(u)}query(u,h,w){return F(u,h,w)}computeStyle(u,h,w){return window.getComputedStyle(u)[h]}animate(u,h,w,B,Z,fe=[]){const We={duration:w,delay:B,fill:0==B?"both":"forwards"};Z&&(We.easing=Z);const gt=new Map,It=fe.filter((En=>En instanceof jr));(function St(V,u){return 0===V||0===u})(w,B)&&It.forEach((En=>{En.currentSnapshot.forEach(((hn,gn)=>gt.set(gn,hn)))}));let zt=function wn(V){return V.length?V[0]instanceof Map?V:V.map((u=>Lt(u))):[]}(h).map((En=>en(En)));zt=function Vt(V,u,h){if(h.size&&u.length){let w=u[0],B=[];if(h.forEach(((Z,fe)=>{w.has(fe)||B.push(fe),w.set(fe,Z)})),B.length)for(let Z=1;Z<u.length;Z++){let fe=u[Z];B.forEach((pe=>fe.set(pe,yt(V,pe))))}}return u}(u,zt,gt);const tn=function ki(V,u){let h=null,w=null;return Array.isArray(u)&&u.length?(h=Sn(u[0]),u.length>1&&(w=Sn(u[u.length-1]))):u instanceof Map&&(h=Sn(u)),h||w?new bt(V,h,w):null}(u,zt);return new jr(u,zt,We,tn)}}var Ji=l(6895);let Br=(()=>{class V extends E._j{constructor(h,w){super(),this._nextAnimationId=0,this._renderer=h.createRenderer(w.body,{id:"0",encapsulation:i.ifc.None,styles:[],data:{animation:[]}})}build(h){const w=this._nextAnimationId.toString();this._nextAnimationId++;const B=Array.isArray(h)?(0,E.vP)(h):h;return Xi(this._renderer,null,w,"register",[B]),new nr(w,this._renderer)}}return V.ɵfac=function(h){return new(h||V)(i.LFG(i.FYo),i.LFG(Ji.K0))},V.ɵprov=i.Yz7({token:V,factory:V.ɵfac}),V})();class nr extends E.LC{constructor(u,h){super(),this._id=u,this._renderer=h}create(u,h){return new Vi(this._id,u,h||{},this._renderer)}}class Vi{constructor(u,h,w,B){this.id=u,this.element=h,this._renderer=B,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",w)}_listen(u,h){return this._renderer.listen(this.element,`@@${this.id}:${u}`,h)}_command(u,...h){return Xi(this._renderer,this.element,this.id,u,h)}onDone(u){this._listen("done",u)}onStart(u){this._listen("start",u)}onDestroy(u){this._listen("destroy",u)}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(u){this._command("setPosition",u)}getPosition(){return this._renderer.engine.players[+this.id]?.getPosition()??0}}function Xi(V,u,h,w,B){return V.setProperty(u,`@@${h}:${w}`,B)}const Nn="@.disabled";let M=(()=>{class V{constructor(h,w,B){this.delegate=h,this.engine=w,this._zone=B,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,this.promise=Promise.resolve(0),w.onRemovalComplete=(Z,fe)=>{const pe=fe?.parentNode(Z);pe&&fe.removeChild(pe,Z)}}createRenderer(h,w){const Z=this.delegate.createRenderer(h,w);if(!(h&&w&&w.data&&w.data.animation)){let It=this._rendererCache.get(Z);return It||(It=new b("",Z,this.engine,(()=>this._rendererCache.delete(Z))),this._rendererCache.set(Z,It)),It}const fe=w.id,pe=w.id+"-"+this._currentId;this._currentId++,this.engine.register(pe,h);const We=It=>{Array.isArray(It)?It.forEach(We):this.engine.registerTrigger(fe,pe,h,It.name,It)};return w.data.animation.forEach(We),new C(this,pe,Z,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){this.promise.then((()=>{this._microtaskId++}))}scheduleListenerCallback(h,w,B){h>=0&&h<this._microtaskId?this._zone.run((()=>w(B))):(0==this._animationCallbacksBuffer.length&&Promise.resolve(null).then((()=>{this._zone.run((()=>{this._animationCallbacksBuffer.forEach((Z=>{const[fe,pe]=Z;fe(pe)})),this._animationCallbacksBuffer=[]}))})),this._animationCallbacksBuffer.push([w,B]))}end(){this._cdRecurDepth--,0==this._cdRecurDepth&&this._zone.runOutsideAngular((()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)})),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}}return V.ɵfac=function(h){return new(h||V)(i.LFG(i.FYo),i.LFG(wi),i.LFG(i.R0b))},V.ɵprov=i.Yz7({token:V,factory:V.ɵfac}),V})();class b{constructor(u,h,w,B){this.namespaceId=u,this.delegate=h,this.engine=w,this._onDestroy=B,this.destroyNode=this.delegate.destroyNode?Z=>h.destroyNode(Z):null}get data(){return this.delegate.data}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.delegate.destroy(),this._onDestroy?.()}createElement(u,h){return this.delegate.createElement(u,h)}createComment(u){return this.delegate.createComment(u)}createText(u){return this.delegate.createText(u)}appendChild(u,h){this.delegate.appendChild(u,h),this.engine.onInsert(this.namespaceId,h,u,!1)}insertBefore(u,h,w,B=!0){this.delegate.insertBefore(u,h,w),this.engine.onInsert(this.namespaceId,h,u,B)}removeChild(u,h,w){this.engine.onRemove(this.namespaceId,h,this.delegate,w)}selectRootElement(u,h){return this.delegate.selectRootElement(u,h)}parentNode(u){return this.delegate.parentNode(u)}nextSibling(u){return this.delegate.nextSibling(u)}setAttribute(u,h,w,B){this.delegate.setAttribute(u,h,w,B)}removeAttribute(u,h,w){this.delegate.removeAttribute(u,h,w)}addClass(u,h){this.delegate.addClass(u,h)}removeClass(u,h){this.delegate.removeClass(u,h)}setStyle(u,h,w,B){this.delegate.setStyle(u,h,w,B)}removeStyle(u,h,w){this.delegate.removeStyle(u,h,w)}setProperty(u,h,w){"@"==h.charAt(0)&&h==Nn?this.disableAnimations(u,!!w):this.delegate.setProperty(u,h,w)}setValue(u,h){this.delegate.setValue(u,h)}listen(u,h,w){return this.delegate.listen(u,h,w)}disableAnimations(u,h){this.engine.disableAnimations(u,h)}}class C extends b{constructor(u,h,w,B,Z){super(h,w,B,Z),this.factory=u,this.namespaceId=h}setProperty(u,h,w){"@"==h.charAt(0)?"."==h.charAt(1)&&h==Nn?this.disableAnimations(u,w=void 0===w||!!w):this.engine.process(this.namespaceId,u,h.slice(1),w):this.delegate.setProperty(u,h,w)}listen(u,h,w){if("@"==h.charAt(0)){const B=function z(V){switch(V){case"body":return document.body;case"document":return document;case"window":return window;default:return V}}(u);let Z=h.slice(1),fe="";return"@"!=Z.charAt(0)&&([Z,fe]=function et(V){const u=V.indexOf(".");return[V.substring(0,u),V.slice(u+1)]}(Z)),this.engine.listen(this.namespaceId,B,Z,fe,(pe=>{this.factory.scheduleListenerCallback(pe._data||-1,w,pe)}))}return this.delegate.listen(u,h,w)}}const Or=[{provide:E._j,useClass:Br},{provide:Ai,useFactory:function An(){return new Ii}},{provide:wi,useClass:(()=>{class V extends wi{constructor(h,w,B,Z){super(h.body,w,B)}ngOnDestroy(){this.flush()}}return V.ɵfac=function(h){return new(h||V)(i.LFG(Ji.K0),i.LFG(Te),i.LFG(Ai),i.LFG(i.z2F))},V.ɵprov=i.Yz7({token:V,factory:V.ɵfac}),V})()},{provide:i.FYo,useFactory:function Pr(V,u,h){return new M(V,u,h)},deps:[m.se,wi,i.R0b]}],Ar=[{provide:Te,useFactory:()=>new $n},{provide:i.QbO,useValue:"BrowserAnimations"},...Or],yr=[{provide:Te,useClass:he},{provide:i.QbO,useValue:"NoopAnimations"},...Or];let di=(()=>{class V{static withConfig(h){return{ngModule:V,providers:h.disableAnimations?yr:Ar}}}return V.ɵfac=function(h){return new(h||V)},V.ɵmod=i.oAB({type:V}),V.ɵinj=i.cJS({providers:Ar,imports:[m.b2]}),V})()},1481:($,O,l)=>{"use strict";l.d(O,{Dx:()=>tt,b2:()=>Vn,q6:()=>Mt,se:()=>Ce});var i=l(6895),m=l(4650);class E extends i.w_{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class P extends E{static makeCurrent(){(0,i.HT)(new P)}onAndCancel(q,W,j){return q.addEventListener(W,j,!1),()=>{q.removeEventListener(W,j,!1)}}dispatchEvent(q,W){q.dispatchEvent(W)}remove(q){q.parentNode&&q.parentNode.removeChild(q)}createElement(q,W){return(W=W||this.getDefaultDocument()).createElement(q)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(q){return q.nodeType===Node.ELEMENT_NODE}isShadowRoot(q){return q instanceof DocumentFragment}getGlobalEventTarget(q,W){return"window"===W?window:"document"===W?q:"body"===W?q.body:null}getBaseHref(q){const W=function I(){return S=S||document.querySelector("base"),S?S.getAttribute("href"):null}();return null==W?null:function R(J){x=x||document.createElement("a"),x.setAttribute("href",J);const q=x.pathname;return"/"===q.charAt(0)?q:`/${q}`}(W)}resetBaseElement(){S=null}getUserAgent(){return window.navigator.userAgent}getCookie(q){return(0,i.Mx)(document.cookie,q)}}let x,S=null;const k=new m.OlP("TRANSITION_ID"),Y=[{provide:m.ip1,useFactory:function N(J,q,W){return()=>{W.get(m.CZH).donePromise.then((()=>{const j=(0,i.q)(),ne=q.querySelectorAll(`style[ng-transition="${J}"]`);for(let ft=0;ft<ne.length;ft++)j.remove(ne[ft])}))}},deps:[k,i.K0,m.zs3],multi:!0}];let Re=(()=>{class J{build(){return new XMLHttpRequest}}return J.ɵfac=function(W){return new(W||J)},J.ɵprov=m.Yz7({token:J,factory:J.ɵfac}),J})();const ye=new m.OlP("EventManagerPlugins");let oe=(()=>{class J{constructor(W,j){this._zone=j,this._eventNameToPlugin=new Map,W.forEach((ne=>ne.manager=this)),this._plugins=W.slice().reverse()}addEventListener(W,j,ne){return this._findPluginFor(j).addEventListener(W,j,ne)}addGlobalEventListener(W,j,ne){return this._findPluginFor(j).addGlobalEventListener(W,j,ne)}getZone(){return this._zone}_findPluginFor(W){const j=this._eventNameToPlugin.get(W);if(j)return j;const ne=this._plugins;for(let ft=0;ft<ne.length;ft++){const St=ne[ft];if(St.supports(W))return this._eventNameToPlugin.set(W,St),St}throw new Error(`No event manager plugin found for event ${W}`)}}return J.ɵfac=function(W){return new(W||J)(m.LFG(ye),m.LFG(m.R0b))},J.ɵprov=m.Yz7({token:J,factory:J.ɵfac}),J})();class at{constructor(q){this._doc=q}addGlobalEventListener(q,W,j){const ne=(0,i.q)().getGlobalEventTarget(this._doc,q);if(!ne)throw new Error(`Unsupported event target ${ne} for event ${W}`);return this.addEventListener(ne,W,j)}}let Ie=(()=>{class J{constructor(){this._stylesSet=new Set}addStyles(W){const j=new Set;W.forEach((ne=>{this._stylesSet.has(ne)||(this._stylesSet.add(ne),j.add(ne))})),this.onStylesAdded(j)}onStylesAdded(W){}getAllStyles(){return Array.from(this._stylesSet)}}return J.ɵfac=function(W){return new(W||J)},J.ɵprov=m.Yz7({token:J,factory:J.ɵfac}),J})(),Qe=(()=>{class J extends Ie{constructor(W){super(),this._doc=W,this._hostNodes=new Map,this._hostNodes.set(W.head,[])}_addStylesToHost(W,j,ne){W.forEach((ft=>{const St=this._doc.createElement("style");St.textContent=ft,ne.push(j.appendChild(St))}))}addHost(W){const j=[];this._addStylesToHost(this._stylesSet,W,j),this._hostNodes.set(W,j)}removeHost(W){const j=this._hostNodes.get(W);j&&j.forEach(Fe),this._hostNodes.delete(W)}onStylesAdded(W){this._hostNodes.forEach(((j,ne)=>{this._addStylesToHost(W,ne,j)}))}ngOnDestroy(){this._hostNodes.forEach((W=>W.forEach(Fe)))}}return J.ɵfac=function(W){return new(W||J)(m.LFG(i.K0))},J.ɵprov=m.Yz7({token:J,factory:J.ɵfac}),J})();function Fe(J){(0,i.q)().remove(J)}const _t={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/"},ue=/%COMP%/g;function ve(J,q,W){for(let j=0;j<q.length;j++){let ne=q[j];Array.isArray(ne)?ve(J,ne,W):(ne=ne.replace(ue,J),W.push(ne))}return W}function De(J){return q=>{if("__ngUnwrap__"===q)return J;!1===J(q)&&(q.preventDefault(),q.returnValue=!1)}}let Ce=(()=>{class J{constructor(W,j,ne){this.eventManager=W,this.sharedStylesHost=j,this.appId=ne,this.rendererByCompId=new Map,this.defaultRenderer=new we(W)}createRenderer(W,j){if(!W||!j)return this.defaultRenderer;switch(j.encapsulation){case m.ifc.Emulated:{let ne=this.rendererByCompId.get(j.id);return ne||(ne=new Xe(this.eventManager,this.sharedStylesHost,j,this.appId),this.rendererByCompId.set(j.id,ne)),ne.applyToHost(W),ne}case 1:case m.ifc.ShadowDom:return new Me(this.eventManager,this.sharedStylesHost,W,j);default:if(!this.rendererByCompId.has(j.id)){const ne=ve(j.id,j.styles,[]);this.sharedStylesHost.addStyles(ne),this.rendererByCompId.set(j.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}return J.ɵfac=function(W){return new(W||J)(m.LFG(oe),m.LFG(Qe),m.LFG(m.AFp))},J.ɵprov=m.Yz7({token:J,factory:J.ɵfac}),J})();class we{constructor(q){this.eventManager=q,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(q,W){return W?document.createElementNS(_t[W]||W,q):document.createElement(q)}createComment(q){return document.createComment(q)}createText(q){return document.createTextNode(q)}appendChild(q,W){(Dt(q)?q.content:q).appendChild(W)}insertBefore(q,W,j){q&&(Dt(q)?q.content:q).insertBefore(W,j)}removeChild(q,W){q&&q.removeChild(W)}selectRootElement(q,W){let j="string"==typeof q?document.querySelector(q):q;if(!j)throw new Error(`The selector "${q}" did not match any elements`);return W||(j.textContent=""),j}parentNode(q){return q.parentNode}nextSibling(q){return q.nextSibling}setAttribute(q,W,j,ne){if(ne){W=ne+":"+W;const ft=_t[ne];ft?q.setAttributeNS(ft,W,j):q.setAttribute(W,j)}else q.setAttribute(W,j)}removeAttribute(q,W,j){if(j){const ne=_t[j];ne?q.removeAttributeNS(ne,W):q.removeAttribute(`${j}:${W}`)}else q.removeAttribute(W)}addClass(q,W){q.classList.add(W)}removeClass(q,W){q.classList.remove(W)}setStyle(q,W,j,ne){ne&(m.JOm.DashCase|m.JOm.Important)?q.style.setProperty(W,j,ne&m.JOm.Important?"important":""):q.style[W]=j}removeStyle(q,W,j){j&m.JOm.DashCase?q.style.removeProperty(W):q.style[W]=""}setProperty(q,W,j){q[W]=j}setValue(q,W){q.nodeValue=W}listen(q,W,j){return"string"==typeof q?this.eventManager.addGlobalEventListener(q,W,De(j)):this.eventManager.addEventListener(q,W,De(j))}}function Dt(J){return"TEMPLATE"===J.tagName&&void 0!==J.content}class Xe extends we{constructor(q,W,j,ne){super(q),this.component=j;const ft=ve(ne+"-"+j.id,j.styles,[]);W.addStyles(ft),this.contentAttr=function ht(J){return"_ngcontent-%COMP%".replace(ue,J)}(ne+"-"+j.id),this.hostAttr=function ce(J){return"_nghost-%COMP%".replace(ue,J)}(ne+"-"+j.id)}applyToHost(q){super.setAttribute(q,this.hostAttr,"")}createElement(q,W){const j=super.createElement(q,W);return super.setAttribute(j,this.contentAttr,""),j}}class Me extends we{constructor(q,W,j,ne){super(q),this.sharedStylesHost=W,this.hostEl=j,this.shadowRoot=j.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const ft=ve(ne.id,ne.styles,[]);for(let St=0;St<ft.length;St++){const Vt=document.createElement("style");Vt.textContent=ft[St],this.shadowRoot.appendChild(Vt)}}nodeOrShadowRoot(q){return q===this.hostEl?this.shadowRoot:q}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}appendChild(q,W){return super.appendChild(this.nodeOrShadowRoot(q),W)}insertBefore(q,W,j){return super.insertBefore(this.nodeOrShadowRoot(q),W,j)}removeChild(q,W){return super.removeChild(this.nodeOrShadowRoot(q),W)}parentNode(q){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(q)))}}let je=(()=>{class J extends at{constructor(W){super(W)}supports(W){return!0}addEventListener(W,j,ne){return W.addEventListener(j,ne,!1),()=>this.removeEventListener(W,j,ne)}removeEventListener(W,j,ne){return W.removeEventListener(j,ne)}}return J.ɵfac=function(W){return new(W||J)(m.LFG(i.K0))},J.ɵprov=m.Yz7({token:J,factory:J.ɵfac}),J})();const st=["alt","control","meta","shift"],be={"\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={alt:J=>J.altKey,control:J=>J.ctrlKey,meta:J=>J.metaKey,shift:J=>J.shiftKey};let Ne=(()=>{class J extends at{constructor(W){super(W)}supports(W){return null!=J.parseEventName(W)}addEventListener(W,j,ne){const ft=J.parseEventName(j),St=J.eventCallback(ft.fullKey,ne,this.manager.getZone());return this.manager.getZone().runOutsideAngular((()=>(0,i.q)().onAndCancel(W,ft.domEventName,St)))}static parseEventName(W){const j=W.toLowerCase().split("."),ne=j.shift();if(0===j.length||"keydown"!==ne&&"keyup"!==ne)return null;const ft=J._normalizeKey(j.pop());let St="",Vt=j.indexOf("code");if(Vt>-1&&(j.splice(Vt,1),St="code."),st.forEach((yt=>{const Oe=j.indexOf(yt);Oe>-1&&(j.splice(Oe,1),St+=yt+".")})),St+=ft,0!=j.length||0===ft.length)return null;const rt={};return rt.domEventName=ne,rt.fullKey=St,rt}static matchEventFullKeyCode(W,j){let ne=be[W.key]||W.key,ft="";return j.indexOf("code.")>-1&&(ne=W.code,ft="code."),!(null==ne||!ne)&&(ne=ne.toLowerCase()," "===ne?ne="space":"."===ne&&(ne="dot"),st.forEach((St=>{St!==ne&&(0,Ae[St])(W)&&(ft+=St+".")})),ft+=ne,ft===j)}static eventCallback(W,j,ne){return ft=>{J.matchEventFullKeyCode(ft,W)&&ne.runGuarded((()=>j(ft)))}}static _normalizeKey(W){return"esc"===W?"escape":W}}return J.ɵfac=function(W){return new(W||J)(m.LFG(i.K0))},J.ɵprov=m.Yz7({token:J,factory:J.ɵfac}),J})();const Mt=(0,m.eFA)(m._c5,"browser",[{provide:m.Lbi,useValue:i.bD},{provide:m.g9A,useValue:function He(){P.makeCurrent()},multi:!0},{provide:i.K0,useFactory:function me(){return(0,m.RDi)(document),document},deps:[]}]),rn=new m.OlP(""),xt=[{provide:m.rWj,useClass:class K{addToWindow(q){m.dqk.getAngularTestability=(j,ne=!0)=>{const ft=q.findTestabilityInTree(j,ne);if(null==ft)throw new Error("Could not find testability for element.");return ft},m.dqk.getAllAngularTestabilities=()=>q.getAllTestabilities(),m.dqk.getAllAngularRootElements=()=>q.getAllRootElements(),m.dqk.frameworkStabilizers||(m.dqk.frameworkStabilizers=[]),m.dqk.frameworkStabilizers.push((j=>{const ne=m.dqk.getAllAngularTestabilities();let ft=ne.length,St=!1;const Vt=function(rt){St=St||rt,ft--,0==ft&&j(St)};ne.forEach((function(rt){rt.whenStable(Vt)}))}))}findTestabilityInTree(q,W,j){return null==W?null:q.getTestability(W)??(j?(0,i.q)().isShadowRoot(W)?this.findTestabilityInTree(q,W.host,!0):this.findTestabilityInTree(q,W.parentElement,!0):null)}},deps:[]},{provide:m.lri,useClass:m.dDg,deps:[m.R0b,m.eoX,m.rWj]},{provide:m.dDg,useClass:m.dDg,deps:[m.R0b,m.eoX,m.rWj]}],Kn=[{provide:m.zSh,useValue:"root"},{provide:m.qLn,useFactory:function Pe(){return new m.qLn},deps:[]},{provide:ye,useClass:je,multi:!0,deps:[i.K0,m.R0b,m.Lbi]},{provide:ye,useClass:Ne,multi:!0,deps:[i.K0]},{provide:Ce,useClass:Ce,deps:[oe,Qe,m.AFp]},{provide:m.FYo,useExisting:Ce},{provide:Ie,useExisting:Qe},{provide:Qe,useClass:Qe,deps:[i.K0]},{provide:oe,useClass:oe,deps:[ye,m.R0b]},{provide:i.JF,useClass:Re,deps:[]},[]];let Vn=(()=>{class J{constructor(W){}static withServerTransition(W){return{ngModule:J,providers:[{provide:m.AFp,useValue:W.appId},{provide:k,useExisting:m.AFp},Y]}}}return J.ɵfac=function(W){return new(W||J)(m.LFG(rn,12))},J.ɵmod=m.oAB({type:J}),J.ɵinj=m.cJS({providers:[...Kn,...xt],imports:[i.ez,m.hGG]}),J})(),tt=(()=>{class J{constructor(W){this._doc=W}getTitle(){return this._doc.title}setTitle(W){this._doc.title=W||""}}return J.ɵfac=function(W){return new(W||J)(m.LFG(i.K0))},J.ɵprov=m.Yz7({token:J,factory:function(W){let j=null;return j=W?new W:function xe(){return new tt((0,m.LFG)(i.K0))}(),j},providedIn:"root"}),J})();typeof window<"u"&&window},9409:($,O,l)=>{"use strict";l.d(O,{yS:()=>Bi,Bz:()=>Ea,lC:()=>_r});var i=l(4650),m=l(2076),E=l(9646),P=l(1135),S=l(6805),I=l(9751),x=l(4742),R=l(4671),k=l(3268),N=l(3269),Y=l(1810),K=l(5403),Re=l(9672);function ye(...d){const f=(0,N.yG)(d),c=(0,N.jO)(d),{args:y,keys:D}=(0,x.D)(d);if(0===y.length)return(0,m.D)([],f);const H=new I.y(function oe(d,f,c=R.y){return y=>{at(f,(()=>{const{length:D}=d,H=new Array(D);let ie=D,le=D;for(let Ye=0;Ye<D;Ye++)at(f,(()=>{const Ot=(0,m.D)(d[Ye],f);let Dn=!1;Ot.subscribe(new K.Q(y,(Wt=>{H[Ye]=Wt,Dn||(Dn=!0,le--),le||y.next(c(H.slice()))}),(()=>{--ie||y.complete()})))}),y)}),y)}}(y,f,D?ie=>(0,Y.n)(D,ie):R.y));return c?H.pipe((0,k.Z)(c)):H}function at(d,f,c){d?(0,Re.f)(c,d,f):f()}var Ie=l(7272),Qe=l(8421);function Fe(d){return new I.y((f=>{(0,Qe.Xf)(d()).subscribe(f)}))}var _t=l(9635),ue=l(576);function ge(d,f){const c=(0,ue.m)(d)?d:()=>d,y=D=>D.error(c());return new I.y(f?D=>f.schedule(y,0,D):y)}var nt=l(515),Pt=l(727),dt=l(4482);function ht(){return(0,dt.e)(((d,f)=>{let c=null;d._refCount++;const y=new K.Q(f,void 0,void 0,void 0,(()=>{if(!d||d._refCount<=0||0<--d._refCount)return void(c=null);const D=d._connection,H=c;c=null,D&&(!H||D===H)&&D.unsubscribe(),f.unsubscribe()}));d.subscribe(y),y.closed||(c=d.connect())}))}class ce extends I.y{constructor(f,c){super(),this.source=f,this.subjectFactory=c,this._subject=null,this._refCount=0,this._connection=null,(0,dt.A)(f)&&(this.lift=f.lift)}_subscribe(f){return this.getSubject().subscribe(f)}getSubject(){const f=this._subject;return(!f||f.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:f}=this;this._subject=this._connection=null,f?.unsubscribe()}connect(){let f=this._connection;if(!f){f=this._connection=new Pt.w0;const c=this.getSubject();f.add(this.source.subscribe(new K.Q(c,void 0,(()=>{this._teardown(),c.complete()}),(y=>{this._teardown(),c.error(y)}),(()=>this._teardown())))),f.closed&&(this._connection=null,f=Pt.w0.EMPTY)}return f}refCount(){return ht()(this)}}var ve=l(7579),De=l(6895),Le=l(4004),Ce=l(3900),we=l(5698),de=l(8675),Ze=l(9300),Dt=l(5577),Xe=l(590),Me=l(4351);function je(d,f,c){const y=(0,ue.m)(d)||f||c?{next:d,error:f,complete:c}:d;return y?(0,dt.e)(((D,H)=>{var ie;null===(ie=y.subscribe)||void 0===ie||ie.call(y);let le=!0;D.subscribe(new K.Q(H,(Ye=>{var Ot;null===(Ot=y.next)||void 0===Ot||Ot.call(y,Ye),H.next(Ye)}),(()=>{var Ye;le=!1,null===(Ye=y.complete)||void 0===Ye||Ye.call(y),H.complete()}),(Ye=>{var Ot;le=!1,null===(Ot=y.error)||void 0===Ot||Ot.call(y,Ye),H.error(Ye)}),(()=>{var Ye,Ot;le&&(null===(Ye=y.unsubscribe)||void 0===Ye||Ye.call(y)),null===(Ot=y.finalize)||void 0===Ot||Ot.call(y)})))})):R.y}function st(d){return(0,dt.e)(((f,c)=>{let H,y=null,D=!1;y=f.subscribe(new K.Q(c,void 0,void 0,(ie=>{H=(0,Qe.Xf)(d(ie,st(d)(f))),y?(y.unsubscribe(),y=null,H.subscribe(c)):D=!0}))),D&&(y.unsubscribe(),y=null,H.subscribe(c))}))}function be(d,f,c,y,D){return(H,ie)=>{let le=c,Ye=f,Ot=0;H.subscribe(new K.Q(ie,(Dn=>{const Wt=Ot++;Ye=le?d(Ye,Dn,Wt):(le=!0,Dn),y&&ie.next(Ye)}),D&&(()=>{le&&ie.next(Ye),ie.complete()})))}}function Ae(d,f){return(0,dt.e)(be(d,f,arguments.length>=2,!0))}function Ne(d){return d<=0?()=>nt.E:(0,dt.e)(((f,c)=>{let y=[];f.subscribe(new K.Q(c,(D=>{y.push(D),d<y.length&&y.shift()}),(()=>{for(const D of y)c.next(D);c.complete()}),void 0,(()=>{y=null})))}))}var ze=l(8068),pt=l(6590);function wt(d,f){const c=arguments.length>=2;return y=>y.pipe(d?(0,Ze.h)(((D,H)=>d(D,H,y))):R.y,Ne(1),c?(0,pt.d)(f):(0,ze.T)((()=>new S.K)))}function He(d){return(0,dt.e)(((f,c)=>{try{f.subscribe(c)}finally{c.add(d)}}))}var Pe=l(8189),me=l(1481);const $e="primary",Mt=Symbol("RouteTitle");class rn{constructor(f){this.params=f||{}}has(f){return Object.prototype.hasOwnProperty.call(this.params,f)}get(f){if(this.has(f)){const c=this.params[f];return Array.isArray(c)?c[0]:c}return null}getAll(f){if(this.has(f)){const c=this.params[f];return Array.isArray(c)?c:[c]}return[]}get keys(){return Object.keys(this.params)}}function xt(d){return new rn(d)}function Kn(d,f,c){const y=c.path.split("/");if(y.length>d.length||"full"===c.pathMatch&&(f.hasChildren()||y.length<d.length))return null;const D={};for(let H=0;H<y.length;H++){const ie=y[H],le=d[H];if(ie.startsWith(":"))D[ie.substring(1)]=le;else if(ie!==le.path)return null}return{consumed:d.slice(0,y.length),posParams:D}}function ae(d,f){const c=d?Object.keys(d):void 0,y=f?Object.keys(f):void 0;if(!c||!y||c.length!=y.length)return!1;let D;for(let H=0;H<c.length;H++)if(D=c[H],!ke(d[D],f[D]))return!1;return!0}function ke(d,f){if(Array.isArray(d)&&Array.isArray(f)){if(d.length!==f.length)return!1;const c=[...d].sort(),y=[...f].sort();return c.every(((D,H)=>y[H]===D))}return d===f}function ot(d){return Array.prototype.concat.apply([],d)}function xe(d){return d.length>0?d[d.length-1]:null}function it(d,f){for(const c in d)d.hasOwnProperty(c)&&f(d[c],c)}function F(d){return(0,i.CqO)(d)?d:(0,i.QGY)(d)?(0,m.D)(Promise.resolve(d)):(0,E.of)(d)}const Te={exact:function vt(d,f,c){if(!Cn(d.segments,f.segments)||!Yt(d.segments,f.segments,c)||d.numberOfChildren!==f.numberOfChildren)return!1;for(const y in f.children)if(!d.children[y]||!vt(d.children[y],f.children[y],c))return!1;return!0},subset:Nt},Ke={exact:function Je(d,f){return ae(d,f)},subset:function Ct(d,f){return Object.keys(f).length<=Object.keys(d).length&&Object.keys(f).every((c=>ke(d[c],f[c])))},ignored:()=>!0};function ut(d,f,c){return Te[c.paths](d.root,f.root,c.matrixParams)&&Ke[c.queryParams](d.queryParams,f.queryParams)&&!("exact"===c.fragment&&d.fragment!==f.fragment)}function Nt(d,f,c){return At(d,f,f.segments,c)}function At(d,f,c,y){if(d.segments.length>c.length){const D=d.segments.slice(0,c.length);return!(!Cn(D,c)||f.hasChildren()||!Yt(D,c,y))}if(d.segments.length===c.length){if(!Cn(d.segments,c)||!Yt(d.segments,c,y))return!1;for(const D in f.children)if(!d.children[D]||!Nt(d.children[D],f.children[D],y))return!1;return!0}{const D=c.slice(0,d.segments.length),H=c.slice(d.segments.length);return!!(Cn(d.segments,D)&&Yt(d.segments,D,y)&&d.children[$e])&&At(d.children[$e],f,H,y)}}function Yt(d,f,c){return f.every(((y,D)=>Ke[c](d[D].parameters,y.parameters)))}class kt{constructor(f,c,y){this.root=f,this.queryParams=c,this.fragment=y}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=xt(this.queryParams)),this._queryParamMap}toString(){return Bt.serialize(this)}}class lt{constructor(f,c){this.segments=f,this.children=c,this.parent=null,it(c,((y,D)=>y.parent=this))}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return en(this)}}class un{constructor(f,c){this.path=f,this.parameters=c}get parameterMap(){return this._parameterMap||(this._parameterMap=xt(this.parameters)),this._parameterMap}toString(){return J(this)}}function Cn(d,f){return d.length===f.length&&d.every(((c,y)=>c.path===f[y].path))}let Lt=(()=>{class d{}return d.ɵfac=function(c){return new(c||d)},d.ɵprov=i.Yz7({token:d,factory:function(){return new wn},providedIn:"root"}),d})();class wn{parse(f){const c=new yt(f);return new kt(c.parseRootSegment(),c.parseQueryParams(),c.parseFragment())}serialize(f){const c=`/${Jt(f.root,!0)}`,y=function W(d){const f=Object.keys(d).map((c=>{const y=d[c];return Array.isArray(y)?y.map((D=>`${Ee(c)}=${Ee(D)}`)).join("&"):`${Ee(c)}=${Ee(y)}`})).filter((c=>!!c));return f.length?`?${f.join("&")}`:""}(f.queryParams);return`${c}${y}${"string"==typeof f.fragment?`#${function Q(d){return encodeURI(d)}(f.fragment)}`:""}`}}const Bt=new wn;function en(d){return d.segments.map((f=>J(f))).join("/")}function Jt(d,f){if(!d.hasChildren())return en(d);if(f){const c=d.children[$e]?Jt(d.children[$e],!1):"",y=[];return it(d.children,((D,H)=>{H!==$e&&y.push(`${H}:${Jt(D,!1)}`)})),y.length>0?`${c}(${y.join("//")})`:c}{const c=function Xt(d,f){let c=[];return it(d.children,((y,D)=>{D===$e&&(c=c.concat(f(y,D)))})),it(d.children,((y,D)=>{D!==$e&&(c=c.concat(f(y,D)))})),c}(d,((y,D)=>D===$e?[Jt(d.children[$e],!1)]:[`${D}:${Jt(y,!1)}`]));return 1===Object.keys(d.children).length&&null!=d.children[$e]?`${en(d)}/${c[0]}`:`${en(d)}/(${c.join("//")})`}}function sn(d){return encodeURIComponent(d).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Ee(d){return sn(d).replace(/%3B/gi,";")}function te(d){return sn(d).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Ge(d){return decodeURIComponent(d)}function Ue(d){return Ge(d.replace(/\+/g,"%20"))}function J(d){return`${te(d.path)}${function q(d){return Object.keys(d).map((f=>`;${te(f)}=${te(d[f])}`)).join("")}(d.parameters)}`}const j=/^[^\/()?;=#]+/;function ne(d){const f=d.match(j);return f?f[0]:""}const ft=/^[^=?&#]+/,Vt=/^[^&#]+/;class yt{constructor(f){this.url=f,this.remaining=f}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new lt([],{}):new lt([],this.parseChildren())}parseQueryParams(){const f={};if(this.consumeOptional("?"))do{this.parseQueryParam(f)}while(this.consumeOptional("&"));return f}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const f=[];for(this.peekStartsWith("(")||f.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),f.push(this.parseSegment());let c={};this.peekStartsWith("/(")&&(this.capture("/"),c=this.parseParens(!0));let y={};return this.peekStartsWith("(")&&(y=this.parseParens(!1)),(f.length>0||Object.keys(c).length>0)&&(y[$e]=new lt(f,c)),y}parseSegment(){const f=ne(this.remaining);if(""===f&&this.peekStartsWith(";"))throw new i.vHH(4009,!1);return this.capture(f),new un(Ge(f),this.parseMatrixParams())}parseMatrixParams(){const f={};for(;this.consumeOptional(";");)this.parseParam(f);return f}parseParam(f){const c=ne(this.remaining);if(!c)return;this.capture(c);let y="";if(this.consumeOptional("=")){const D=ne(this.remaining);D&&(y=D,this.capture(y))}f[Ge(c)]=Ge(y)}parseQueryParam(f){const c=function St(d){const f=d.match(ft);return f?f[0]:""}(this.remaining);if(!c)return;this.capture(c);let y="";if(this.consumeOptional("=")){const ie=function rt(d){const f=d.match(Vt);return f?f[0]:""}(this.remaining);ie&&(y=ie,this.capture(y))}const D=Ue(c),H=Ue(y);if(f.hasOwnProperty(D)){let ie=f[D];Array.isArray(ie)||(ie=[ie],f[D]=ie),ie.push(H)}else f[D]=H}parseParens(f){const c={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const y=ne(this.remaining),D=this.remaining[y.length];if("/"!==D&&")"!==D&&";"!==D)throw new i.vHH(4010,!1);let H;y.indexOf(":")>-1?(H=y.slice(0,y.indexOf(":")),this.capture(H),this.capture(":")):f&&(H=$e);const ie=this.parseChildren();c[H]=1===Object.keys(ie).length?ie[$e]:new lt([],ie),this.consumeOptional("//")}return c}peekStartsWith(f){return this.remaining.startsWith(f)}consumeOptional(f){return!!this.peekStartsWith(f)&&(this.remaining=this.remaining.substring(f.length),!0)}capture(f){if(!this.consumeOptional(f))throw new i.vHH(4011,!1)}}function Oe(d){return d.segments.length>0?new lt([],{[$e]:d}):d}function Tt(d){const f={};for(const y of Object.keys(d.children)){const H=Tt(d.children[y]);(H.segments.length>0||H.hasChildren())&&(f[y]=H)}return function Ft(d){if(1===d.numberOfChildren&&d.children[$e]){const f=d.children[$e];return new lt(d.segments.concat(f.segments),f.children)}return d}(new lt(d.segments,f))}function Kt(d){return d instanceof kt}function bn(d,f,c,y,D){if(0===c.length)return cn(f.root,f.root,f.root,y,D);const H=function Dr(d){if("string"==typeof d[0]&&1===d.length&&"/"===d[0])return new br(!0,0,d);let f=0,c=!1;const y=d.reduce(((D,H,ie)=>{if("object"==typeof H&&null!=H){if(H.outlets){const le={};return it(H.outlets,((Ye,Ot)=>{le[Ot]="string"==typeof Ye?Ye.split("/"):Ye})),[...D,{outlets:le}]}if(H.segmentPath)return[...D,H.segmentPath]}return"string"!=typeof H?[...D,H]:0===ie?(H.split("/").forEach(((le,Ye)=>{0==Ye&&"."===le||(0==Ye&&""===le?c=!0:".."===le?f++:""!=le&&D.push(le))})),D):[...D,H]}),[]);return new br(c,f,y)}(c);return H.toRoot()?cn(f.root,f.root,new lt([],{}),y,D):function ie(Ye){const Ot=function sr(d,f,c,y){if(d.isAbsolute)return new ir(f.root,!0,0);if(-1===y)return new ir(c,c===f.root,0);return function pr(d,f,c){let y=d,D=f,H=c;for(;H>D;){if(H-=D,y=y.parent,!y)throw new i.vHH(4005,!1);D=y.segments.length}return new ir(y,!1,D-H)}(c,y+(Tn(d.commands[0])?0:1),d.numberOfDoubleDots)}(H,f,d.snapshot?._urlSegment,Ye),Dn=Ot.processChildren?X(Ot.segmentGroup,Ot.index,H.commands):gr(Ot.segmentGroup,Ot.index,H.commands);return cn(f.root,Ot.segmentGroup,Dn,y,D)}(d.snapshot?._lastPathIndex)}function Tn(d){return"object"==typeof d&&null!=d&&!d.outlets&&!d.segmentPath}function Zn(d){return"object"==typeof d&&null!=d&&d.outlets}function cn(d,f,c,y,D){let ie,H={};y&&it(y,((Ye,Ot)=>{H[Ot]=Array.isArray(Ye)?Ye.map((Dn=>`${Dn}`)):`${Ye}`})),ie=d===f?c:Nr(d,f,c);const le=Oe(Tt(ie));return new kt(le,H,D)}function Nr(d,f,c){const y={};return it(d.children,((D,H)=>{y[H]=D===f?c:Nr(D,f,c)})),new lt(d.segments,y)}class br{constructor(f,c,y){if(this.isAbsolute=f,this.numberOfDoubleDots=c,this.commands=y,f&&y.length>0&&Tn(y[0]))throw new i.vHH(4003,!1);const D=y.find(Zn);if(D&&D!==xe(y))throw new i.vHH(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class ir{constructor(f,c,y){this.segmentGroup=f,this.processChildren=c,this.index=y}}function gr(d,f,c){if(d||(d=new lt([],{})),0===d.segments.length&&d.hasChildren())return X(d,f,c);const y=function Se(d,f,c){let y=0,D=f;const H={match:!1,pathIndex:0,commandIndex:0};for(;D<d.segments.length;){if(y>=c.length)return H;const ie=d.segments[D],le=c[y];if(Zn(le))break;const Ye=`${le}`,Ot=y<c.length-1?c[y+1]:null;if(D>0&&void 0===Ye)break;if(Ye&&Ot&&"object"==typeof Ot&&void 0===Ot.outlets){if(!fn(Ye,Ot,ie))return H;y+=2}else{if(!fn(Ye,{},ie))return H;y++}D++}return{match:!0,pathIndex:D,commandIndex:y}}(d,f,c),D=c.slice(y.commandIndex);if(y.match&&y.pathIndex<d.segments.length){const H=new lt(d.segments.slice(0,y.pathIndex),{});return H.children[$e]=new lt(d.segments.slice(y.pathIndex),d.children),X(H,0,D)}return y.match&&0===D.length?new lt(d.segments,{}):y.match&&!d.hasChildren()?U(d,f,c):y.match?X(d,0,D):U(d,f,c)}function X(d,f,c){if(0===c.length)return new lt(d.segments,{});{const y=function Bn(d){return Zn(d[0])?d[0].outlets:{[$e]:d}}(c),D={};return it(y,((H,ie)=>{"string"==typeof H&&(H=[H]),null!==H&&(D[ie]=gr(d.children[ie],f,H))})),it(d.children,((H,ie)=>{void 0===y[ie]&&(D[ie]=H)})),new lt(d.segments,D)}}function U(d,f,c){const y=d.segments.slice(0,f);let D=0;for(;D<c.length;){const H=c[D];if(Zn(H)){const Ye=Ve(H.outlets);return new lt(y,Ye)}if(0===D&&Tn(c[0])){y.push(new un(d.segments[f].path,jt(c[0]))),D++;continue}const ie=Zn(H)?H.outlets[$e]:`${H}`,le=D<c.length-1?c[D+1]:null;ie&&le&&Tn(le)?(y.push(new un(ie,jt(le))),D+=2):(y.push(new un(ie,{})),D++)}return new lt(y,{})}function Ve(d){const f={};return it(d,((c,y)=>{"string"==typeof c&&(c=[c]),null!==c&&(f[y]=U(new lt([],{}),0,c))})),f}function jt(d){const f={};return it(d,((c,y)=>f[y]=`${c}`)),f}function fn(d,f,c){return d==c.path&&ae(f,c.parameters)}class In{constructor(f,c){this.id=f,this.url=c}}class Ti extends In{constructor(f,c,y="imperative",D=null){super(f,c),this.type=0,this.navigationTrigger=y,this.restoredState=D}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class Jr extends In{constructor(f,c,y){super(f,c),this.urlAfterRedirects=y,this.type=1}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class gi extends In{constructor(f,c,y,D){super(f,c),this.reason=y,this.code=D,this.type=2}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class Lo extends In{constructor(f,c,y,D){super(f,c),this.error=y,this.target=D,this.type=3}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class Er extends In{constructor(f,c,y,D){super(f,c),this.urlAfterRedirects=y,this.state=D,this.type=4}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Pi extends In{constructor(f,c,y,D){super(f,c),this.urlAfterRedirects=y,this.state=D,this.type=7}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class bo extends In{constructor(f,c,y,D,H){super(f,c),this.urlAfterRedirects=y,this.state=D,this.shouldActivate=H,this.type=8}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class mi extends In{constructor(f,c,y,D){super(f,c),this.urlAfterRedirects=y,this.state=D,this.type=5}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class _i extends In{constructor(f,c,y,D){super(f,c),this.urlAfterRedirects=y,this.state=D,this.type=6}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class si{constructor(f){this.route=f,this.type=9}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class Do{constructor(f){this.route=f,this.type=10}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class Oi{constructor(f){this.snapshot=f,this.type=11}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Eo{constructor(f){this.snapshot=f,this.type=12}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class rs{constructor(f){this.snapshot=f,this.type=13}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Ai{constructor(f){this.snapshot=f,this.type=14}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Mo{constructor(f,c,y){this.routerEvent=f,this.position=c,this.anchor=y,this.type=15}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}class Ii{constructor(f){this._root=f}get root(){return this._root.value}parent(f){const c=this.pathFromRoot(f);return c.length>1?c[c.length-2]:null}children(f){const c=Wr(f,this._root);return c?c.children.map((y=>y.value)):[]}firstChild(f){const c=Wr(f,this._root);return c&&c.children.length>0?c.children[0].value:null}siblings(f){const c=Xr(f,this._root);return c.length<2?[]:c[c.length-2].children.map((D=>D.value)).filter((D=>D!==f))}pathFromRoot(f){return Xr(f,this._root).map((c=>c.value))}}function Wr(d,f){if(d===f.value)return f;for(const c of f.children){const y=Wr(d,c);if(y)return y}return null}function Xr(d,f){if(d===f.value)return[f];for(const c of f.children){const y=Xr(d,c);if(y.length)return y.unshift(f),y}return[]}class Fr{constructor(f,c){this.value=f,this.children=c}toString(){return`TreeNode(${this.value})`}}function ai(d){const f={};return d&&d.children.forEach((c=>f[c.value.outlet]=c)),f}class kr extends Ii{constructor(f,c){super(f),this.snapshot=c,ui(this,f)}toString(){return this.snapshot.toString()}}function li(d,f){const c=function xi(d,f){const ie=new Yr([],{},{},"",{},$e,f,null,d.root,-1,{});return new Yi("",new Fr(ie,[]))}(d,f),y=new P.X([new un("",{})]),D=new P.X({}),H=new P.X({}),ie=new P.X({}),le=new P.X(""),Ye=new Mr(y,D,ie,le,H,$e,f,c.root);return Ye.snapshot=c.root,new kr(new Fr(Ye,[]),c)}class Mr{constructor(f,c,y,D,H,ie,le,Ye){this.url=f,this.params=c,this.queryParams=y,this.fragment=D,this.data=H,this.outlet=ie,this.component=le,this.title=this.data?.pipe((0,Le.U)((Ot=>Ot[Mt])))??(0,E.of)(void 0),this._futureSnapshot=Ye}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,Le.U)((f=>xt(f))))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe((0,Le.U)((f=>xt(f))))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function yi(d,f="emptyOnly"){const c=d.pathFromRoot;let y=0;if("always"!==f)for(y=c.length-1;y>=1;){const D=c[y],H=c[y-1];if(D.routeConfig&&""===D.routeConfig.path)y--;else{if(H.component)break;y--}}return function ci(d){return d.reduce(((f,c)=>({params:{...f.params,...c.params},data:{...f.data,...c.data},resolve:{...c.data,...f.resolve,...c.routeConfig?.data,...c._resolvedData}})),{params:{},data:{},resolve:{}})}(c.slice(y))}class Yr{constructor(f,c,y,D,H,ie,le,Ye,Ot,Dn,Wt,kn){this.url=f,this.params=c,this.queryParams=y,this.fragment=D,this.data=H,this.outlet=ie,this.component=le,this.title=this.data?.[Mt],this.routeConfig=Ye,this._urlSegment=Ot,this._lastPathIndex=Dn,this._correctedLastPathIndex=kn??Dn,this._resolve=Wt}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=xt(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=xt(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map((y=>y.toString())).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class Yi extends Ii{constructor(f,c){super(c),this.url=f,ui(this,c)}toString(){return ei(this._root)}}function ui(d,f){f.value._routerState=d,f.children.forEach((c=>ui(d,c)))}function ei(d){const f=d.children.length>0?` { ${d.children.map(ei).join(", ")} } `:"";return`${d.value}${f}`}function vi(d){if(d.snapshot){const f=d.snapshot,c=d._futureSnapshot;d.snapshot=c,ae(f.queryParams,c.queryParams)||d.queryParams.next(c.queryParams),f.fragment!==c.fragment&&d.fragment.next(c.fragment),ae(f.params,c.params)||d.params.next(c.params),function Vn(d,f){if(d.length!==f.length)return!1;for(let c=0;c<d.length;++c)if(!ae(d[c],f[c]))return!1;return!0}(f.url,c.url)||d.url.next(c.url),ae(f.data,c.data)||d.data.next(c.data)}else d.snapshot=d._futureSnapshot,d.data.next(d._futureSnapshot.data)}function Qn(d,f){const c=ae(d.params,f.params)&&function mn(d,f){return Cn(d,f)&&d.every(((c,y)=>ae(c.parameters,f[y].parameters)))}(d.url,f.url);return c&&!(!d.parent!=!f.parent)&&(!d.parent||Qn(d.parent,f.parent))}function ni(d,f,c){if(c&&d.shouldReuseRoute(f.value,c.value.snapshot)){const y=c.value;y._futureSnapshot=f.value;const D=function Ki(d,f,c){return f.children.map((y=>{for(const D of c.children)if(d.shouldReuseRoute(y.value,D.value.snapshot))return ni(d,y,D);return ni(d,y)}))}(d,f,c);return new Fr(y,D)}{if(d.shouldAttach(f.value)){const H=d.retrieve(f.value);if(null!==H){const ie=H.route;return ie.value._futureSnapshot=f.value,ie.children=f.children.map((le=>ni(d,le))),ie}}const y=function uo(d){return new Mr(new P.X(d.url),new P.X(d.params),new P.X(d.queryParams),new P.X(d.fragment),new P.X(d.data),d.outlet,d.component,d)}(f.value),D=f.children.map((H=>ni(d,H)));return new Fr(y,D)}}const Zi="ngNavigationCancelingError";function Un(d,f){const{redirectTo:c,navigationBehaviorOptions:y}=Kt(f)?{redirectTo:f,navigationBehaviorOptions:void 0}:f,D=Xn(!1,0,f);return D.url=c,D.navigationBehaviorOptions=y,D}function Xn(d,f,c){const y=new Error("NavigationCancelingError: "+(d||""));return y[Zi]=!0,y.cancellationCode=f,c&&(y.url=c),y}function Ci(d){return mr(d)&&Kt(d.url)}function mr(d){return d&&d[Zi]}class qn{constructor(){this.outlet=null,this.route=null,this.resolver=null,this.injector=null,this.children=new Sr,this.attachRef=null}}let Sr=(()=>{class d{constructor(){this.contexts=new Map}onChildOutletCreated(c,y){const D=this.getOrCreateContext(c);D.outlet=y,this.contexts.set(c,D)}onChildOutletDestroyed(c){const y=this.getContext(c);y&&(y.outlet=null,y.attachRef=null)}onOutletDeactivated(){const c=this.contexts;return this.contexts=new Map,c}onOutletReAttached(c){this.contexts=c}getOrCreateContext(c){let y=this.getContext(c);return y||(y=new qn,this.contexts.set(c,y)),y}getContext(c){return this.contexts.get(c)||null}}return d.ɵfac=function(c){return new(c||d)},d.ɵprov=i.Yz7({token:d,factory:d.ɵfac,providedIn:"root"}),d})();const ri=!1;let _r=(()=>{class d{constructor(c,y,D,H,ie){this.parentContexts=c,this.location=y,this.changeDetector=H,this.environmentInjector=ie,this.activated=null,this._activatedRoute=null,this.activateEvents=new i.vpe,this.deactivateEvents=new i.vpe,this.attachEvents=new i.vpe,this.detachEvents=new i.vpe,this.name=D||$e,c.onChildOutletCreated(this.name,this)}ngOnDestroy(){this.parentContexts.getContext(this.name)?.outlet===this&&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.injector))}}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new i.vHH(4012,ri);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new i.vHH(4012,ri);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new i.vHH(4012,ri);this.location.detach();const c=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(c.instance),c}attach(c,y){this.activated=c,this._activatedRoute=y,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,y){if(this.isActivated)throw new i.vHH(4013,ri);this._activatedRoute=c;const D=this.location,ie=c._futureSnapshot.component,le=this.parentContexts.getOrCreateContext(this.name).children,Ye=new er(c,le,D.injector);if(y&&function Qi(d){return!!d.resolveComponentFactory}(y)){const Ot=y.resolveComponentFactory(ie);this.activated=D.createComponent(Ot,D.length,Ye)}else this.activated=D.createComponent(ie,{index:D.length,injector:Ye,environmentInjector:y??this.environmentInjector});this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}return d.ɵfac=function(c){return new(c||d)(i.Y36(Sr),i.Y36(i.s_b),i.$8M("name"),i.Y36(i.sBO),i.Y36(i.lqb))},d.ɵdir=i.lG2({type:d,selectors:[["router-outlet"]],outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0}),d})();class er{constructor(f,c,y){this.route=f,this.childContexts=c,this.parent=y}get(f,c){return f===Mr?this.route:f===Sr?this.childContexts:this.parent.get(f,c)}}let Lr=(()=>{class d{}return d.ɵfac=function(c){return new(c||d)},d.ɵcmp=i.Xpm({type:d,selectors:[["ng-component"]],standalone:!0,features:[i.jDz],decls:1,vars:0,template:function(c,y){1&c&&i._UZ(0,"router-outlet")},dependencies:[_r],encapsulation:2}),d})();function qi(d,f){return d.providers&&!d._injector&&(d._injector=(0,i.MMx)(d.providers,f,`Route: ${d.path}`)),d._injector??f}function Fi(d){const f=d.children&&d.children.map(Fi),c=f?{...d,children:f}:{...d};return!c.component&&!c.loadComponent&&(f||c.loadChildren)&&c.outlet&&c.outlet!==$e&&(c.component=Lr),c}function tr(d){return d.outlet||$e}function wi(d,f){const c=d.filter((y=>tr(y)===f));return c.push(...d.filter((y=>tr(y)!==f))),c}function ki(d){if(!d)return null;if(d.routeConfig?._injector)return d.routeConfig._injector;for(let f=d.parent;f;f=f.parent){const c=f.routeConfig;if(c?._loadedInjector)return c._loadedInjector;if(c?._injector)return c._injector}return null}class Sn{constructor(f,c,y,D){this.routeReuseStrategy=f,this.futureState=c,this.currState=y,this.forwardEvent=D}activate(f){const c=this.futureState._root,y=this.currState?this.currState._root:null;this.deactivateChildRoutes(c,y,f),vi(this.futureState.root),this.activateChildRoutes(c,y,f)}deactivateChildRoutes(f,c,y){const D=ai(c);f.children.forEach((H=>{const ie=H.value.outlet;this.deactivateRoutes(H,D[ie],y),delete D[ie]})),it(D,((H,ie)=>{this.deactivateRouteAndItsChildren(H,y)}))}deactivateRoutes(f,c,y){const D=f.value,H=c?c.value:null;if(D===H)if(D.component){const ie=y.getContext(D.outlet);ie&&this.deactivateChildRoutes(f,c,ie.children)}else this.deactivateChildRoutes(f,c,y);else H&&this.deactivateRouteAndItsChildren(c,y)}deactivateRouteAndItsChildren(f,c){f.value.component&&this.routeReuseStrategy.shouldDetach(f.value.snapshot)?this.detachAndStoreRouteSubtree(f,c):this.deactivateRouteAndOutlet(f,c)}detachAndStoreRouteSubtree(f,c){const y=c.getContext(f.value.outlet),D=y&&f.value.component?y.children:c,H=ai(f);for(const ie of Object.keys(H))this.deactivateRouteAndItsChildren(H[ie],D);if(y&&y.outlet){const ie=y.outlet.detach(),le=y.children.onOutletDeactivated();this.routeReuseStrategy.store(f.value.snapshot,{componentRef:ie,route:f,contexts:le})}}deactivateRouteAndOutlet(f,c){const y=c.getContext(f.value.outlet),D=y&&f.value.component?y.children:c,H=ai(f);for(const ie of Object.keys(H))this.deactivateRouteAndItsChildren(H[ie],D);y&&y.outlet&&(y.outlet.deactivate(),y.children.onOutletDeactivated(),y.attachRef=null,y.resolver=null,y.route=null)}activateChildRoutes(f,c,y){const D=ai(c);f.children.forEach((H=>{this.activateRoutes(H,D[H.value.outlet],y),this.forwardEvent(new Ai(H.value.snapshot))})),f.children.length&&this.forwardEvent(new Eo(f.value.snapshot))}activateRoutes(f,c,y){const D=f.value,H=c?c.value:null;if(vi(D),D===H)if(D.component){const ie=y.getOrCreateContext(D.outlet);this.activateChildRoutes(f,c,ie.children)}else this.activateChildRoutes(f,c,y);else if(D.component){const ie=y.getOrCreateContext(D.outlet);if(this.routeReuseStrategy.shouldAttach(D.snapshot)){const le=this.routeReuseStrategy.retrieve(D.snapshot);this.routeReuseStrategy.store(D.snapshot,null),ie.children.onOutletReAttached(le.contexts),ie.attachRef=le.componentRef,ie.route=le.route.value,ie.outlet&&ie.outlet.attach(le.componentRef,le.route.value),vi(le.route.value),this.activateChildRoutes(f,null,ie.children)}else{const le=ki(D.snapshot),Ye=le?.get(i._Vd)??null;ie.attachRef=null,ie.route=D,ie.resolver=Ye,ie.injector=le,ie.outlet&&ie.outlet.activateWith(D,ie.injector),this.activateChildRoutes(f,null,ie.children)}}else this.activateChildRoutes(f,null,y)}}class Li{constructor(f){this.path=f,this.route=this.path[this.path.length-1]}}class jr{constructor(f,c){this.component=f,this.route=c}}function $n(d,f,c){const y=d._root;return nr(y,f?f._root:null,c,[y.value])}function Br(d,f){const c=Symbol(),y=f.get(d,c);return y===c?"function"!=typeof d||(0,i.Z0I)(d)?f.get(d):d:y}function nr(d,f,c,y,D={canDeactivateChecks:[],canActivateChecks:[]}){const H=ai(f);return d.children.forEach((ie=>{(function Vi(d,f,c,y,D={canDeactivateChecks:[],canActivateChecks:[]}){const H=d.value,ie=f?f.value:null,le=c?c.getContext(d.value.outlet):null;if(ie&&H.routeConfig===ie.routeConfig){const Ye=function Xi(d,f,c){if("function"==typeof c)return c(d,f);switch(c){case"pathParamsChange":return!Cn(d.url,f.url);case"pathParamsOrQueryParamsChange":return!Cn(d.url,f.url)||!ae(d.queryParams,f.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Qn(d,f)||!ae(d.queryParams,f.queryParams);default:return!Qn(d,f)}}(ie,H,H.routeConfig.runGuardsAndResolvers);Ye?D.canActivateChecks.push(new Li(y)):(H.data=ie.data,H._resolvedData=ie._resolvedData),nr(d,f,H.component?le?le.children:null:c,y,D),Ye&&le&&le.outlet&&le.outlet.isActivated&&D.canDeactivateChecks.push(new jr(le.outlet.component,ie))}else ie&&Kr(f,le,D),D.canActivateChecks.push(new Li(y)),nr(d,null,H.component?le?le.children:null:c,y,D)})(ie,H[ie.value.outlet],c,y.concat([ie.value]),D),delete H[ie.value.outlet]})),it(H,((ie,le)=>Kr(ie,c.getContext(le),D))),D}function Kr(d,f,c){const y=ai(d),D=d.value;it(y,((H,ie)=>{Kr(H,D.component?f?f.children.getContext(ie):null:f,c)})),c.canDeactivateChecks.push(new jr(D.component&&f&&f.outlet&&f.outlet.isActivated?f.outlet.component:null,D))}function Nn(d){return"function"==typeof d}function Or(d){return d instanceof S.K||"EmptyError"===d?.name}const Ar=Symbol("INITIAL_VALUE");function yr(){return(0,Ce.w)((d=>ye(d.map((f=>f.pipe((0,we.q)(1),(0,de.O)(Ar))))).pipe((0,Le.U)((f=>{for(const c of f)if(!0!==c){if(c===Ar)return Ar;if(!1===c||c instanceof kt)return c}return!0})),(0,Ze.h)((f=>f!==Ar)),(0,we.q)(1))))}function Z(d){return(0,_t.z)(je((f=>{if(Kt(f))throw Un(0,f)})),(0,Le.U)((f=>!0===f)))}const pe={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function We(d,f,c,y,D){const H=gt(d,f,c);return H.matched?function fe(d,f,c,y){const D=f.canMatch;if(!D||0===D.length)return(0,E.of)(!0);const H=D.map((ie=>{const le=Br(ie,d);return F(function Ht(d){return d&&Nn(d.canMatch)}(le)?le.canMatch(f,c):d.runInContext((()=>le(f,c))))}));return(0,E.of)(H).pipe(yr(),Z())}(y=qi(f,y),f,c).pipe((0,Le.U)((ie=>!0===ie?H:{...pe}))):(0,E.of)(H)}function gt(d,f,c){if(""===f.path)return"full"===f.pathMatch&&(d.hasChildren()||c.length>0)?{...pe}:{matched:!0,consumedSegments:[],remainingSegments:c,parameters:{},positionalParamSegments:{}};const D=(f.matcher||Kn)(c,d,f);if(!D)return{...pe};const H={};it(D.posParams,((le,Ye)=>{H[Ye]=le.path}));const ie=D.consumed.length>0?{...H,...D.consumed[D.consumed.length-1].parameters}:H;return{matched:!0,consumedSegments:D.consumed,remainingSegments:c.slice(D.consumed.length),parameters:ie,positionalParamSegments:D.posParams??{}}}function It(d,f,c,y,D="corrected"){if(c.length>0&&function En(d,f,c){return c.some((y=>gn(d,f,y)&&tr(y)!==$e))}(d,c,y)){const ie=new lt(f,function tn(d,f,c,y){const D={};D[$e]=y,y._sourceSegment=d,y._segmentIndexShift=f.length;for(const H of c)if(""===H.path&&tr(H)!==$e){const ie=new lt([],{});ie._sourceSegment=d,ie._segmentIndexShift=f.length,D[tr(H)]=ie}return D}(d,f,y,new lt(c,d.children)));return ie._sourceSegment=d,ie._segmentIndexShift=f.length,{segmentGroup:ie,slicedSegments:[]}}if(0===c.length&&function hn(d,f,c){return c.some((y=>gn(d,f,y)))}(d,c,y)){const ie=new lt(d.segments,function zt(d,f,c,y,D,H){const ie={};for(const le of y)if(gn(d,c,le)&&!D[tr(le)]){const Ye=new lt([],{});Ye._sourceSegment=d,Ye._segmentIndexShift="legacy"===H?d.segments.length:f.length,ie[tr(le)]=Ye}return{...D,...ie}}(d,f,c,y,d.children,D));return ie._sourceSegment=d,ie._segmentIndexShift=f.length,{segmentGroup:ie,slicedSegments:c}}const H=new lt(d.segments,d.children);return H._sourceSegment=d,H._segmentIndexShift=f.length,{segmentGroup:H,slicedSegments:c}}function gn(d,f,c){return(!(d.hasChildren()||f.length>0)||"full"!==c.pathMatch)&&""===c.path}function Rn(d,f,c,y){return!!(tr(d)===y||y!==$e&&gn(f,c,d))&&("**"===d.path||gt(f,d,c).matched)}function Ln(d,f,c){return 0===f.length&&!d.children[c]}const zn=!1;class Wn{constructor(f){this.segmentGroup=f||null}}class Gn{constructor(f){this.urlTree=f}}function vr(d){return ge(new Wn(d))}function Ir(d){return ge(new Gn(d))}class xr{constructor(f,c,y,D,H){this.injector=f,this.configLoader=c,this.urlSerializer=y,this.urlTree=D,this.config=H,this.allowRedirects=!0}apply(){const f=It(this.urlTree.root,[],[],this.config).segmentGroup,c=new lt(f.segments,f.children);return this.expandSegmentGroup(this.injector,this.config,c,$e).pipe((0,Le.U)((H=>this.createUrlTree(Tt(H),this.urlTree.queryParams,this.urlTree.fragment)))).pipe(st((H=>{if(H instanceof Gn)return this.allowRedirects=!1,this.match(H.urlTree);throw H instanceof Wn?this.noMatchError(H):H})))}match(f){return this.expandSegmentGroup(this.injector,this.config,f.root,$e).pipe((0,Le.U)((D=>this.createUrlTree(Tt(D),f.queryParams,f.fragment)))).pipe(st((D=>{throw D instanceof Wn?this.noMatchError(D):D})))}noMatchError(f){return new i.vHH(4002,zn)}createUrlTree(f,c,y){const D=Oe(f);return new kt(D,c,y)}expandSegmentGroup(f,c,y,D){return 0===y.segments.length&&y.hasChildren()?this.expandChildren(f,c,y).pipe((0,Le.U)((H=>new lt([],H)))):this.expandSegment(f,y,c,y.segments,D,!0)}expandChildren(f,c,y){const D=[];for(const H of Object.keys(y.children))"primary"===H?D.unshift(H):D.push(H);return(0,m.D)(D).pipe((0,Me.b)((H=>{const ie=y.children[H],le=wi(c,H);return this.expandSegmentGroup(f,le,ie,H).pipe((0,Le.U)((Ye=>({segment:Ye,outlet:H}))))})),Ae(((H,ie)=>(H[ie.outlet]=ie.segment,H)),{}),wt())}expandSegment(f,c,y,D,H,ie){return(0,m.D)(y).pipe((0,Me.b)((le=>this.expandSegmentAgainstRoute(f,c,y,le,D,H,ie).pipe(st((Ot=>{if(Ot instanceof Wn)return(0,E.of)(null);throw Ot}))))),(0,Xe.P)((le=>!!le)),st(((le,Ye)=>{if(Or(le))return Ln(c,D,H)?(0,E.of)(new lt([],{})):vr(c);throw le})))}expandSegmentAgainstRoute(f,c,y,D,H,ie,le){return Rn(D,c,H,ie)?void 0===D.redirectTo?this.matchSegmentAgainstRoute(f,c,D,H,ie):le&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(f,c,y,D,H,ie):vr(c):vr(c)}expandSegmentAgainstRouteUsingRedirect(f,c,y,D,H,ie){return"**"===D.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(f,y,D,ie):this.expandRegularSegmentAgainstRouteUsingRedirect(f,c,y,D,H,ie)}expandWildCardWithParamsAgainstRouteUsingRedirect(f,c,y,D){const H=this.applyRedirectCommands([],y.redirectTo,{});return y.redirectTo.startsWith("/")?Ir(H):this.lineralizeSegments(y,H).pipe((0,Dt.z)((ie=>{const le=new lt(ie,{});return this.expandSegment(f,le,c,ie,D,!1)})))}expandRegularSegmentAgainstRouteUsingRedirect(f,c,y,D,H,ie){const{matched:le,consumedSegments:Ye,remainingSegments:Ot,positionalParamSegments:Dn}=gt(c,D,H);if(!le)return vr(c);const Wt=this.applyRedirectCommands(Ye,D.redirectTo,Dn);return D.redirectTo.startsWith("/")?Ir(Wt):this.lineralizeSegments(D,Wt).pipe((0,Dt.z)((kn=>this.expandSegment(f,c,y,kn.concat(Ot),ie,!1))))}matchSegmentAgainstRoute(f,c,y,D,H){return"**"===y.path?(f=qi(y,f),y.loadChildren?(y._loadedRoutes?(0,E.of)({routes:y._loadedRoutes,injector:y._loadedInjector}):this.configLoader.loadChildren(f,y)).pipe((0,Le.U)((le=>(y._loadedRoutes=le.routes,y._loadedInjector=le.injector,new lt(D,{}))))):(0,E.of)(new lt(D,{}))):We(c,y,D,f).pipe((0,Ce.w)((({matched:ie,consumedSegments:le,remainingSegments:Ye})=>ie?this.getChildConfig(f=y._injector??f,y,D).pipe((0,Dt.z)((Dn=>{const Wt=Dn.injector??f,kn=Dn.routes,{segmentGroup:Cr,slicedSegments:ji}=It(c,le,Ye,kn),mo=new lt(Cr.segments,Cr.children);if(0===ji.length&&mo.hasChildren())return this.expandChildren(Wt,kn,mo).pipe((0,Le.U)((xo=>new lt(le,xo))));if(0===kn.length&&0===ji.length)return(0,E.of)(new lt(le,{}));const fi=tr(y)===H;return this.expandSegment(Wt,mo,kn,ji,fi?$e:H,!0).pipe((0,Le.U)((Hi=>new lt(le.concat(Hi.segments),Hi.children))))}))):vr(c))))}getChildConfig(f,c,y){return c.children?(0,E.of)({routes:c.children,injector:f}):c.loadChildren?void 0!==c._loadedRoutes?(0,E.of)({routes:c._loadedRoutes,injector:c._loadedInjector}):function B(d,f,c,y){const D=f.canLoad;if(void 0===D||0===D.length)return(0,E.of)(!0);const H=D.map((ie=>{const le=Br(ie,d);return F(function b(d){return d&&Nn(d.canLoad)}(le)?le.canLoad(f,c):d.runInContext((()=>le(f,c))))}));return(0,E.of)(H).pipe(yr(),Z())}(f,c,y).pipe((0,Dt.z)((D=>D?this.configLoader.loadChildren(f,c).pipe(je((H=>{c._loadedRoutes=H.routes,c._loadedInjector=H.injector}))):function oi(d){return ge(Xn(zn,3))}()))):(0,E.of)({routes:[],injector:f})}lineralizeSegments(f,c){let y=[],D=c.root;for(;;){if(y=y.concat(D.segments),0===D.numberOfChildren)return(0,E.of)(y);if(D.numberOfChildren>1||!D.children[$e])return ge(new i.vHH(4e3,zn));D=D.children[$e]}}applyRedirectCommands(f,c,y){return this.applyRedirectCreateUrlTree(c,this.urlSerializer.parse(c),f,y)}applyRedirectCreateUrlTree(f,c,y,D){const H=this.createSegmentGroup(f,c.root,y,D);return new kt(H,this.createQueryParams(c.queryParams,this.urlTree.queryParams),c.fragment)}createQueryParams(f,c){const y={};return it(f,((D,H)=>{if("string"==typeof D&&D.startsWith(":")){const le=D.substring(1);y[H]=c[le]}else y[H]=D})),y}createSegmentGroup(f,c,y,D){const H=this.createSegments(f,c.segments,y,D);let ie={};return it(c.children,((le,Ye)=>{ie[Ye]=this.createSegmentGroup(f,le,y,D)})),new lt(H,ie)}createSegments(f,c,y,D){return c.map((H=>H.path.startsWith(":")?this.findPosParam(f,H,D):this.findOrReturn(H,y)))}findPosParam(f,c,y){const D=y[c.path.substring(1)];if(!D)throw new i.vHH(4001,zn);return D}findOrReturn(f,c){let y=0;for(const D of c){if(D.path===f.path)return c.splice(y),D;y++}return f}}class Hr{}class g{constructor(f,c,y,D,H,ie,le,Ye){this.injector=f,this.rootComponentType=c,this.config=y,this.urlTree=D,this.url=H,this.paramsInheritanceStrategy=ie,this.relativeLinkResolution=le,this.urlSerializer=Ye}recognize(){const f=It(this.urlTree.root,[],[],this.config.filter((c=>void 0===c.redirectTo)),this.relativeLinkResolution).segmentGroup;return this.processSegmentGroup(this.injector,this.config,f,$e).pipe((0,Le.U)((c=>{if(null===c)return null;const y=new Yr([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,{},$e,this.rootComponentType,null,this.urlTree.root,-1,{}),D=new Fr(y,c),H=new Yi(this.url,D);return this.inheritParamsAndData(H._root),H})))}inheritParamsAndData(f){const c=f.value,y=yi(c,this.paramsInheritanceStrategy);c.params=Object.freeze(y.params),c.data=Object.freeze(y.data),f.children.forEach((D=>this.inheritParamsAndData(D)))}processSegmentGroup(f,c,y,D){return 0===y.segments.length&&y.hasChildren()?this.processChildren(f,c,y):this.processSegment(f,c,y,y.segments,D)}processChildren(f,c,y){return(0,m.D)(Object.keys(y.children)).pipe((0,Me.b)((D=>{const H=y.children[D],ie=wi(c,D);return this.processSegmentGroup(f,ie,H,D)})),Ae(((D,H)=>D&&H?(D.push(...H),D):null)),function Zt(d,f=!1){return(0,dt.e)(((c,y)=>{let D=0;c.subscribe(new K.Q(y,(H=>{const ie=d(H,D++);(ie||f)&&y.next(H),!ie&&y.complete()})))}))}((D=>null!==D)),(0,pt.d)(null),wt(),(0,Le.U)((D=>{if(null===D)return null;const H=se(D);return function T(d){d.sort(((f,c)=>f.value.outlet===$e?-1:c.value.outlet===$e?1:f.value.outlet.localeCompare(c.value.outlet)))}(H),H})))}processSegment(f,c,y,D,H){return(0,m.D)(c).pipe((0,Me.b)((ie=>this.processSegmentAgainstRoute(ie._injector??f,ie,y,D,H))),(0,Xe.P)((ie=>!!ie)),st((ie=>{if(Or(ie))return Ln(y,D,H)?(0,E.of)([]):(0,E.of)(null);throw ie})))}processSegmentAgainstRoute(f,c,y,D,H){if(c.redirectTo||!Rn(c,y,D,H))return(0,E.of)(null);let ie;if("**"===c.path){const le=D.length>0?xe(D).parameters:{},Ye=Gt(y)+D.length,Ot=new Yr(D,le,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,On(c),tr(c),c.component??c._loadedComponent??null,c,ct(y),Ye,xn(c),Ye);ie=(0,E.of)({snapshot:Ot,consumedSegments:[],remainingSegments:[]})}else ie=We(y,c,D,f).pipe((0,Le.U)((({matched:le,consumedSegments:Ye,remainingSegments:Ot,parameters:Dn})=>{if(!le)return null;const Wt=Gt(y)+Ye.length;return{snapshot:new Yr(Ye,Dn,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,On(c),tr(c),c.component??c._loadedComponent??null,c,ct(y),Wt,xn(c),Wt),consumedSegments:Ye,remainingSegments:Ot}})));return ie.pipe((0,Ce.w)((le=>{if(null===le)return(0,E.of)(null);const{snapshot:Ye,consumedSegments:Ot,remainingSegments:Dn}=le;f=c._injector??f;const Wt=c._loadedInjector??f,kn=function _(d){return d.children?d.children:d.loadChildren?d._loadedRoutes:[]}(c),{segmentGroup:Cr,slicedSegments:ji}=It(y,Ot,Dn,kn.filter((fi=>void 0===fi.redirectTo)),this.relativeLinkResolution);if(0===ji.length&&Cr.hasChildren())return this.processChildren(Wt,kn,Cr).pipe((0,Le.U)((fi=>null===fi?null:[new Fr(Ye,fi)])));if(0===kn.length&&0===ji.length)return(0,E.of)([new Fr(Ye,[])]);const mo=tr(c)===H;return this.processSegment(Wt,kn,Cr,ji,mo?$e:H).pipe((0,Le.U)((fi=>null===fi?null:[new Fr(Ye,fi)])))})))}}function L(d){const f=d.value.routeConfig;return f&&""===f.path&&void 0===f.redirectTo}function se(d){const f=[],c=new Set;for(const y of d){if(!L(y)){f.push(y);continue}const D=f.find((H=>y.value.routeConfig===H.value.routeConfig));void 0!==D?(D.children.push(...y.children),c.add(D)):f.push(y)}for(const y of c){const D=se(y.children);f.push(new Fr(y.value,D))}return f.filter((y=>!c.has(y)))}function ct(d){let f=d;for(;f._sourceSegment;)f=f._sourceSegment;return f}function Gt(d){let f=d,c=f._segmentIndexShift??0;for(;f._sourceSegment;)f=f._sourceSegment,c+=f._segmentIndexShift??0;return c-1}function On(d){return d.data||{}}function xn(d){return d.resolve||{}}function Di(d){return"string"==typeof d.title||null===d.title}function rr(d){return(0,Ce.w)((f=>{const c=d(f);return c?(0,m.D)(c).pipe((0,Le.U)((()=>f))):(0,E.of)(f)}))}let go=(()=>{class d{buildTitle(c){let y,D=c.root;for(;void 0!==D;)y=this.getResolvedTitleForRoute(D)??y,D=D.children.find((H=>H.outlet===$e));return y}getResolvedTitleForRoute(c){return c.data[Mt]}}return d.ɵfac=function(c){return new(c||d)},d.ɵprov=i.Yz7({token:d,factory:function(){return(0,i.f3M)(Ei)},providedIn:"root"}),d})(),Ei=(()=>{class d extends go{constructor(c){super(),this.title=c}updateTitle(c){const y=this.buildTitle(c);void 0!==y&&this.title.setTitle(y)}}return d.ɵfac=function(c){return new(c||d)(i.LFG(me.Dx))},d.ɵprov=i.Yz7({token:d,factory:d.ɵfac,providedIn:"root"}),d})();class Ns{}class os extends class is{shouldDetach(f){return!1}store(f,c){}shouldAttach(f){return!1}retrieve(f){return null}shouldReuseRoute(f,c){return f.routeConfig===c.routeConfig}}{}const Ho=new i.OlP("",{providedIn:"root",factory:()=>({})}),ss=new i.OlP("ROUTES");let as=(()=>{class d{constructor(c,y){this.injector=c,this.compiler=y,this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap}loadComponent(c){if(this.componentLoaders.get(c))return this.componentLoaders.get(c);if(c._loadedComponent)return(0,E.of)(c._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(c);const y=F(c.loadComponent()).pipe(je((H=>{this.onLoadEndListener&&this.onLoadEndListener(c),c._loadedComponent=H})),He((()=>{this.componentLoaders.delete(c)}))),D=new ce(y,(()=>new ve.x)).pipe(ht());return this.componentLoaders.set(c,D),D}loadChildren(c,y){if(this.childrenLoaders.get(y))return this.childrenLoaders.get(y);if(y._loadedRoutes)return(0,E.of)({routes:y._loadedRoutes,injector:y._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(y);const H=this.loadModuleFactoryOrRoutes(y.loadChildren).pipe((0,Le.U)((le=>{this.onLoadEndListener&&this.onLoadEndListener(y);let Ye,Ot,Dn=!1;Array.isArray(le)?Ot=le:(Ye=le.create(c).injector,Ot=ot(Ye.get(ss,[],i.XFs.Self|i.XFs.Optional)));return{routes:Ot.map(Fi),injector:Ye}})),He((()=>{this.childrenLoaders.delete(y)}))),ie=new ce(H,(()=>new ve.x)).pipe(ht());return this.childrenLoaders.set(y,ie),ie}loadModuleFactoryOrRoutes(c){return F(c()).pipe((0,Dt.z)((y=>y instanceof i.YKP||Array.isArray(y)?(0,E.of)(y):(0,m.D)(this.compiler.compileModuleAsync(y)))))}}return d.ɵfac=function(c){return new(c||d)(i.LFG(i.zs3),i.LFG(i.Sil))},d.ɵprov=i.Yz7({token:d,factory:d.ɵfac,providedIn:"root"}),d})();class ml{}class ls{shouldProcessUrl(f){return!0}extract(f){return f}merge(f,c){return f}}function _l(d){throw d}function va(d,f,c){return f.parse("/")}const Ca={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},To={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};function ks(){const d=(0,i.f3M)(Lt),f=(0,i.f3M)(Sr),c=(0,i.f3M)(De.Ye),y=(0,i.f3M)(i.zs3),D=(0,i.f3M)(i.Sil),H=(0,i.f3M)(ss,{optional:!0})??[],ie=(0,i.f3M)(Ho,{optional:!0})??{},le=(0,i.f3M)(Ei),Ye=(0,i.f3M)(go,{optional:!0}),Ot=(0,i.f3M)(ml,{optional:!0}),Dn=(0,i.f3M)(Ns,{optional:!0}),Wt=new ur(null,d,f,c,y,D,ot(H));return Ot&&(Wt.urlHandlingStrategy=Ot),Dn&&(Wt.routeReuseStrategy=Dn),Wt.titleStrategy=Ye??le,function yl(d,f){d.errorHandler&&(f.errorHandler=d.errorHandler),d.malformedUriErrorHandler&&(f.malformedUriErrorHandler=d.malformedUriErrorHandler),d.onSameUrlNavigation&&(f.onSameUrlNavigation=d.onSameUrlNavigation),d.paramsInheritanceStrategy&&(f.paramsInheritanceStrategy=d.paramsInheritanceStrategy),d.relativeLinkResolution&&(f.relativeLinkResolution=d.relativeLinkResolution),d.urlUpdateStrategy&&(f.urlUpdateStrategy=d.urlUpdateStrategy),d.canceledNavigationResolution&&(f.canceledNavigationResolution=d.canceledNavigationResolution)}(ie,Wt),Wt}let ur=(()=>{class d{constructor(c,y,D,H,ie,le,Ye){this.rootComponentType=c,this.urlSerializer=y,this.rootContexts=D,this.location=H,this.config=Ye,this.lastSuccessfulNavigation=null,this.currentNavigation=null,this.disposed=!1,this.navigationId=0,this.currentPageId=0,this.isNgZoneEnabled=!1,this.events=new ve.x,this.errorHandler=_l,this.malformedUriErrorHandler=va,this.navigated=!1,this.lastSuccessfulId=-1,this.afterPreactivation=()=>(0,E.of)(void 0),this.urlHandlingStrategy=new ls,this.routeReuseStrategy=new os,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="corrected",this.canceledNavigationResolution="replace",this.configLoader=ie.get(as),this.configLoader.onLoadEndListener=kn=>this.triggerEvent(new Do(kn)),this.configLoader.onLoadStartListener=kn=>this.triggerEvent(new si(kn)),this.ngModule=ie.get(i.h0i),this.console=ie.get(i.c2e);const Wt=ie.get(i.R0b);this.isNgZoneEnabled=Wt instanceof i.R0b&&i.R0b.isInAngularZone(),this.resetConfig(Ye),this.currentUrlTree=function he(){return new kt(new lt([],{}),{},null)}(),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.routerState=li(this.currentUrlTree,this.rootComponentType),this.transitions=new P.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 y=this.events;return c.pipe((0,Ze.h)((D=>0!==D.id)),(0,Le.U)((D=>({...D,extractedUrl:this.urlHandlingStrategy.extract(D.rawUrl)}))),(0,Ce.w)((D=>{let H=!1,ie=!1;return(0,E.of)(D).pipe(je((le=>{this.currentNavigation={id:le.id,initialUrl:le.rawUrl,extractedUrl:le.extractedUrl,trigger:le.source,extras:le.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null}})),(0,Ce.w)((le=>{const Ye=this.browserUrlTree.toString(),Ot=!this.navigated||le.extractedUrl.toString()!==Ye||Ye!==this.currentUrlTree.toString();if(("reload"===this.onSameUrlNavigation||Ot)&&this.urlHandlingStrategy.shouldProcessUrl(le.rawUrl))return Ls(le.source)&&(this.browserUrlTree=le.extractedUrl),(0,E.of)(le).pipe((0,Ce.w)((Wt=>{const kn=this.transitions.getValue();return y.next(new Ti(Wt.id,this.serializeUrl(Wt.extractedUrl),Wt.source,Wt.restoredState)),kn!==this.transitions.getValue()?nt.E:Promise.resolve(Wt)})),function Vo(d,f,c,y){return(0,Ce.w)((D=>function cr(d,f,c,y,D){return new xr(d,f,c,y,D).apply()}(d,f,c,D.extractedUrl,y).pipe((0,Le.U)((H=>({...D,urlAfterRedirects:H}))))))}(this.ngModule.injector,this.configLoader,this.urlSerializer,this.config),je((Wt=>{this.currentNavigation={...this.currentNavigation,finalUrl:Wt.urlAfterRedirects},D.urlAfterRedirects=Wt.urlAfterRedirects})),function on(d,f,c,y,D,H){return(0,Dt.z)((ie=>function Bo(d,f,c,y,D,H,ie="emptyOnly",le="legacy"){return new g(d,f,c,y,D,ie,le,H).recognize().pipe((0,Ce.w)((Ye=>null===Ye?function po(d){return new I.y((f=>f.error(d)))}(new Hr):(0,E.of)(Ye))))}(d,f,c,ie.urlAfterRedirects,y.serialize(ie.urlAfterRedirects),y,D,H).pipe((0,Le.U)((le=>({...ie,targetSnapshot:le}))))))}(this.ngModule.injector,this.rootComponentType,this.config,this.urlSerializer,this.paramsInheritanceStrategy,this.relativeLinkResolution),je((Wt=>{if(D.targetSnapshot=Wt.targetSnapshot,"eager"===this.urlUpdateStrategy){if(!Wt.extras.skipLocationChange){const Cr=this.urlHandlingStrategy.merge(Wt.urlAfterRedirects,Wt.rawUrl);this.setBrowserUrl(Cr,Wt)}this.browserUrlTree=Wt.urlAfterRedirects}const kn=new Er(Wt.id,this.serializeUrl(Wt.extractedUrl),this.serializeUrl(Wt.urlAfterRedirects),Wt.targetSnapshot);y.next(kn)})));if(Ot&&this.rawUrlTree&&this.urlHandlingStrategy.shouldProcessUrl(this.rawUrlTree)){const{id:kn,extractedUrl:Cr,source:ji,restoredState:mo,extras:fi}=le,zs=new Ti(kn,this.serializeUrl(Cr),ji,mo);y.next(zs);const Hi=li(Cr,this.rootComponentType).snapshot;return D={...le,targetSnapshot:Hi,urlAfterRedirects:Cr,extras:{...fi,skipLocationChange:!1,replaceUrl:!1}},(0,E.of)(D)}return this.rawUrlTree=le.rawUrl,le.resolve(null),nt.E})),je((le=>{const Ye=new Pi(le.id,this.serializeUrl(le.extractedUrl),this.serializeUrl(le.urlAfterRedirects),le.targetSnapshot);this.triggerEvent(Ye)})),(0,Le.U)((le=>D={...le,guards:$n(le.targetSnapshot,le.currentSnapshot,this.rootContexts)})),function di(d,f){return(0,Dt.z)((c=>{const{targetSnapshot:y,currentSnapshot:D,guards:{canActivateChecks:H,canDeactivateChecks:ie}}=c;return 0===ie.length&&0===H.length?(0,E.of)({...c,guardsResult:!0}):function eo(d,f,c,y){return(0,m.D)(d).pipe((0,Dt.z)((D=>function w(d,f,c,y,D){const H=f&&f.routeConfig?f.routeConfig.canDeactivate:null;if(!H||0===H.length)return(0,E.of)(!0);const ie=H.map((le=>{const Ye=ki(f)??D,Ot=Br(le,Ye);return F(function et(d){return d&&Nn(d.canDeactivate)}(Ot)?Ot.canDeactivate(d,f,c,y):Ye.runInContext((()=>Ot(d,f,c,y)))).pipe((0,Xe.P)())}));return(0,E.of)(ie).pipe(yr())}(D.component,D.route,c,f,y))),(0,Xe.P)((D=>!0!==D),!0))}(ie,y,D,d).pipe((0,Dt.z)((le=>le&&function M(d){return"boolean"==typeof d}(le)?function fo(d,f,c,y){return(0,m.D)(f).pipe((0,Me.b)((D=>(0,Ie.z)(function V(d,f){return null!==d&&f&&f(new Oi(d)),(0,E.of)(!0)}(D.route.parent,y),function bi(d,f){return null!==d&&f&&f(new rs(d)),(0,E.of)(!0)}(D.route,y),function h(d,f,c){const y=f[f.length-1],H=f.slice(0,f.length-1).reverse().map((ie=>function Ji(d){const f=d.routeConfig?d.routeConfig.canActivateChild:null;return f&&0!==f.length?{node:d,guards:f}:null}(ie))).filter((ie=>null!==ie)).map((ie=>Fe((()=>{const le=ie.guards.map((Ye=>{const Ot=ki(ie.node)??c,Dn=Br(Ye,Ot);return F(function z(d){return d&&Nn(d.canActivateChild)}(Dn)?Dn.canActivateChild(y,d):Ot.runInContext((()=>Dn(y,d)))).pipe((0,Xe.P)())}));return(0,E.of)(le).pipe(yr())}))));return(0,E.of)(H).pipe(yr())}(d,D.path,c),function u(d,f,c){const y=f.routeConfig?f.routeConfig.canActivate:null;if(!y||0===y.length)return(0,E.of)(!0);const D=y.map((H=>Fe((()=>{const ie=ki(f)??c,le=Br(H,ie);return F(function C(d){return d&&Nn(d.canActivate)}(le)?le.canActivate(f,d):ie.runInContext((()=>le(f,d)))).pipe((0,Xe.P)())}))));return(0,E.of)(D).pipe(yr())}(d,D.route,c)))),(0,Xe.P)((D=>!0!==D),!0))}(y,H,d,f):(0,E.of)(le))),(0,Le.U)((le=>({...c,guardsResult:le}))))}))}(this.ngModule.injector,(le=>this.triggerEvent(le))),je((le=>{if(D.guardsResult=le.guardsResult,Kt(le.guardsResult))throw Un(0,le.guardsResult);const Ye=new bo(le.id,this.serializeUrl(le.extractedUrl),this.serializeUrl(le.urlAfterRedirects),le.targetSnapshot,!!le.guardsResult);this.triggerEvent(Ye)})),(0,Ze.h)((le=>!!le.guardsResult||(this.restoreHistory(le),this.cancelNavigationTransition(le,"",3),!1))),rr((le=>{if(le.guards.canActivateChecks.length)return(0,E.of)(le).pipe(je((Ye=>{const Ot=new mi(Ye.id,this.serializeUrl(Ye.extractedUrl),this.serializeUrl(Ye.urlAfterRedirects),Ye.targetSnapshot);this.triggerEvent(Ot)})),(0,Ce.w)((Ye=>{let Ot=!1;return(0,E.of)(Ye).pipe(function Fn(d,f){return(0,Dt.z)((c=>{const{targetSnapshot:y,guards:{canActivateChecks:D}}=c;if(!D.length)return(0,E.of)(c);let H=0;return(0,m.D)(D).pipe((0,Me.b)((ie=>function Mn(d,f,c,y){const D=d.routeConfig,H=d._resolve;return void 0!==D?.title&&!Di(D)&&(H[Mt]=D.title),function Yn(d,f,c,y){const D=function Ur(d){return[...Object.keys(d),...Object.getOwnPropertySymbols(d)]}(d);if(0===D.length)return(0,E.of)({});const H={};return(0,m.D)(D).pipe((0,Dt.z)((ie=>function Zr(d,f,c,y){const D=ki(f)??y,H=Br(d,D);return F(H.resolve?H.resolve(f,c):D.runInContext((()=>H(f,c))))}(d[ie],f,c,y).pipe((0,Xe.P)(),je((le=>{H[ie]=le}))))),Ne(1),function vn(d){return(0,Le.U)((()=>d))}(H),st((ie=>Or(ie)?nt.E:ge(ie))))}(H,d,f,y).pipe((0,Le.U)((ie=>(d._resolvedData=ie,d.data=yi(d,c).resolve,D&&Di(D)&&(d.data[Mt]=D.title),null))))}(ie.route,y,d,f))),je((()=>H++)),Ne(1),(0,Dt.z)((ie=>H===D.length?(0,E.of)(c):nt.E)))}))}(this.paramsInheritanceStrategy,this.ngModule.injector),je({next:()=>Ot=!0,complete:()=>{Ot||(this.restoreHistory(Ye),this.cancelNavigationTransition(Ye,"",2))}}))})),je((Ye=>{const Ot=new _i(Ye.id,this.serializeUrl(Ye.extractedUrl),this.serializeUrl(Ye.urlAfterRedirects),Ye.targetSnapshot);this.triggerEvent(Ot)})))})),rr((le=>{const Ye=Ot=>{const Dn=[];Ot.routeConfig?.loadComponent&&!Ot.routeConfig._loadedComponent&&Dn.push(this.configLoader.loadComponent(Ot.routeConfig).pipe(je((Wt=>{Ot.component=Wt})),(0,Le.U)((()=>{}))));for(const Wt of Ot.children)Dn.push(...Ye(Wt));return Dn};return ye(Ye(le.targetSnapshot.root)).pipe((0,pt.d)(),(0,we.q)(1))})),rr((()=>this.afterPreactivation())),(0,Le.U)((le=>{const Ye=function ti(d,f,c){const y=ni(d,f._root,c?c._root:void 0);return new kr(y,f)}(this.routeReuseStrategy,le.targetSnapshot,le.currentRouterState);return D={...le,targetRouterState:Ye}})),je((le=>{this.currentUrlTree=le.urlAfterRedirects,this.rawUrlTree=this.urlHandlingStrategy.merge(le.urlAfterRedirects,le.rawUrl),this.routerState=le.targetRouterState,"deferred"===this.urlUpdateStrategy&&(le.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,le),this.browserUrlTree=le.urlAfterRedirects)})),((d,f,c)=>(0,Le.U)((y=>(new Sn(f,y.targetRouterState,y.currentRouterState,c).activate(d),y))))(this.rootContexts,this.routeReuseStrategy,(le=>this.triggerEvent(le))),je({next(){H=!0},complete(){H=!0}}),He((()=>{H||ie||this.cancelNavigationTransition(D,"",1),this.currentNavigation?.id===D.id&&(this.currentNavigation=null)})),st((le=>{if(ie=!0,mr(le)){Ci(le)||(this.navigated=!0,this.restoreHistory(D,!0));const Ye=new gi(D.id,this.serializeUrl(D.extractedUrl),le.message,le.cancellationCode);if(y.next(Ye),Ci(le)){const Ot=this.urlHandlingStrategy.merge(le.url,this.rawUrlTree),Dn={skipLocationChange:D.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy||Ls(D.source)};this.scheduleNavigation(Ot,"imperative",null,Dn,{resolve:D.resolve,reject:D.reject,promise:D.promise})}else D.resolve(!1)}else{this.restoreHistory(D,!0);const Ye=new Lo(D.id,this.serializeUrl(D.extractedUrl),le,D.targetSnapshot??void 0);y.next(Ye);try{D.resolve(this.errorHandler(le))}catch(Ot){D.reject(Ot)}}return nt.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 y="popstate"===c.type?"popstate":"hashchange";"popstate"===y&&setTimeout((()=>{const D={replaceUrl:!0},H=c.state?.navigationId?c.state:null;if(H){const le={...H};delete le.navigationId,delete le.ɵrouterPageId,0!==Object.keys(le).length&&(D.state=le)}const ie=this.parseUrl(c.url);this.scheduleNavigation(ie,y,H,D)}),0)})))}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.currentNavigation}triggerEvent(c){this.events.next(c)}resetConfig(c){this.config=c.map(Fi),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,y={}){const{relativeTo:D,queryParams:H,fragment:ie,queryParamsHandling:le,preserveFragment:Ye}=y,Ot=D||this.routerState.root,Dn=Ye?this.currentUrlTree.fragment:ie;let Wt=null;switch(le){case"merge":Wt={...this.currentUrlTree.queryParams,...H};break;case"preserve":Wt=this.currentUrlTree.queryParams;break;default:Wt=H||null}return null!==Wt&&(Wt=this.removeEmptyProps(Wt)),bn(Ot,this.currentUrlTree,c,Wt,Dn??null)}navigateByUrl(c,y={skipLocationChange:!1}){const D=Kt(c)?c:this.parseUrl(c),H=this.urlHandlingStrategy.merge(D,this.rawUrlTree);return this.scheduleNavigation(H,"imperative",null,y)}navigate(c,y={skipLocationChange:!1}){return function vl(d){for(let f=0;f<d.length;f++){if(null==d[f])throw new i.vHH(4008,false)}}(c),this.navigateByUrl(this.createUrlTree(c,y),y)}serializeUrl(c){return this.urlSerializer.serialize(c)}parseUrl(c){let y;try{y=this.urlSerializer.parse(c)}catch(D){y=this.malformedUriErrorHandler(D,this.urlSerializer,c)}return y}isActive(c,y){let D;if(D=!0===y?{...Ca}:!1===y?{...To}:y,Kt(c))return ut(this.currentUrlTree,c,D);const H=this.parseUrl(c);return ut(this.currentUrlTree,H,D)}removeEmptyProps(c){return Object.keys(c).reduce(((y,D)=>{const H=c[D];return null!=H&&(y[D]=H),y}),{})}processNavigations(){this.navigations.subscribe((c=>{this.navigated=!0,this.lastSuccessfulId=c.id,this.currentPageId=c.targetPageId,this.events.next(new Jr(c.id,this.serializeUrl(c.extractedUrl),this.serializeUrl(this.currentUrlTree))),this.lastSuccessfulNavigation=this.currentNavigation,this.titleStrategy?.updateTitle(this.routerState.snapshot),c.resolve(!0)}),(c=>{this.console.warn(`Unhandled Navigation Error: ${c}`)}))}scheduleNavigation(c,y,D,H,ie){if(this.disposed)return Promise.resolve(!1);let le,Ye,Ot;ie?(le=ie.resolve,Ye=ie.reject,Ot=ie.promise):Ot=new Promise(((kn,Cr)=>{le=kn,Ye=Cr}));const Dn=++this.navigationId;let Wt;return"computed"===this.canceledNavigationResolution?(0===this.currentPageId&&(D=this.location.getState()),Wt=D&&D.ɵrouterPageId?D.ɵrouterPageId:H.replaceUrl||H.skipLocationChange?this.browserPageId??0:(this.browserPageId??0)+1):Wt=0,this.setTransition({id:Dn,targetPageId:Wt,source:y,restoredState:D,currentUrlTree:this.currentUrlTree,currentRawUrl:this.rawUrlTree,rawUrl:c,extras:H,resolve:le,reject:Ye,promise:Ot,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),Ot.catch((kn=>Promise.reject(kn)))}setBrowserUrl(c,y){const D=this.urlSerializer.serialize(c),H={...y.extras.state,...this.generateNgRouterState(y.id,y.targetPageId)};this.location.isCurrentPathEqualTo(D)||y.extras.replaceUrl?this.location.replaceState(D,"",H):this.location.go(D,"",H)}restoreHistory(c,y=!1){if("computed"===this.canceledNavigationResolution){const D=this.currentPageId-c.targetPageId;"popstate"!==c.source&&"eager"!==this.urlUpdateStrategy&&this.currentUrlTree!==this.currentNavigation?.finalUrl||0===D?this.currentUrlTree===this.currentNavigation?.finalUrl&&0===D&&(this.resetState(c),this.browserUrlTree=c.currentUrlTree,this.resetUrlToCurrentUrlTree()):this.location.historyGo(D)}else"replace"===this.canceledNavigationResolution&&(y&&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,y,D){const H=new gi(c.id,this.serializeUrl(c.extractedUrl),y,D);this.triggerEvent(H),c.resolve(!1)}generateNgRouterState(c,y){return"computed"===this.canceledNavigationResolution?{navigationId:c,"ɵrouterPageId":y}:{navigationId:c}}}return d.ɵfac=function(c){i.$Z()},d.ɵprov=i.Yz7({token:d,factory:function(){return ks()},providedIn:"root"}),d})();function Ls(d){return"imperative"!==d}let Bi=(()=>{class d{constructor(c,y,D){this.router=c,this.route=y,this.locationStrategy=D,this._preserveFragment=!1,this._skipLocationChange=!1,this._replaceUrl=!1,this.commands=null,this.href=null,this.onChanges=new ve.x,this.subscription=c.events.subscribe((H=>{H instanceof Jr&&this.updateTargetUrlAndHref()}))}set preserveFragment(c){this._preserveFragment=(0,i.D6c)(c)}get preserveFragment(){return this._preserveFragment}set skipLocationChange(c){this._skipLocationChange=(0,i.D6c)(c)}get skipLocationChange(){return this._skipLocationChange}set replaceUrl(c){this._replaceUrl=(0,i.D6c)(c)}get replaceUrl(){return this._replaceUrl}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,y,D,H,ie){return!!(0!==c||y||D||H||ie||"string"==typeof this.target&&"_self"!=this.target||null===this.urlTree)||(this.router.navigateByUrl(this.urlTree,{skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state}),!1)}updateTargetUrlAndHref(){this.href=null!==this.urlTree?this.locationStrategy.prepareExternalUrl(this.router.serializeUrl(this.urlTree)):null}get urlTree(){return null===this.commands?null:this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}}return d.ɵfac=function(c){return new(c||d)(i.Y36(ur),i.Y36(Mr),i.Y36(De.S$))},d.ɵdir=i.lG2({type:d,selectors:[["a","routerLink",""],["area","routerLink",""]],hostVars:2,hostBindings:function(c,y){1&c&&i.NdJ("click",(function(H){return y.onClick(H.button,H.ctrlKey,H.shiftKey,H.altKey,H.metaKey)})),2&c&&i.uIk("target",y.target)("href",y.href,i.LSH)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",relativeTo:"relativeTo",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",routerLink:"routerLink"},standalone:!0,features:[i.TTD]}),d})();class Vs{}let ju=(()=>{class d{constructor(c,y,D,H,ie){this.router=c,this.injector=D,this.preloadingStrategy=H,this.loader=ie}setUpPreloading(){this.subscription=this.router.events.pipe((0,Ze.h)((c=>c instanceof Jr)),(0,Me.b)((()=>this.preload()))).subscribe((()=>{}))}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(c,y){const D=[];for(const H of y){H.providers&&!H._injector&&(H._injector=(0,i.MMx)(H.providers,c,`Route: ${H.path}`));const ie=H._injector??c,le=H._loadedInjector??ie;H.loadChildren&&!H._loadedRoutes&&void 0===H.canLoad||H.loadComponent&&!H._loadedComponent?D.push(this.preloadConfig(ie,H)):(H.children||H._loadedRoutes)&&D.push(this.processRoutes(le,H.children??H._loadedRoutes))}return(0,m.D)(D).pipe((0,Pe.J)())}preloadConfig(c,y){return this.preloadingStrategy.preload(y,(()=>{let D;D=y.loadChildren&&void 0===y.canLoad?this.loader.loadChildren(c,y):(0,E.of)(null);const H=D.pipe((0,Dt.z)((ie=>null===ie?(0,E.of)(void 0):(y._loadedRoutes=ie.routes,y._loadedInjector=ie.injector,this.processRoutes(ie.injector??c,ie.routes)))));if(y.loadComponent&&!y._loadedComponent){const ie=this.loader.loadComponent(y);return(0,m.D)([H,ie]).pipe((0,Pe.J)())}return H}))}}return d.ɵfac=function(c){return new(c||d)(i.LFG(ur),i.LFG(i.Sil),i.LFG(i.lqb),i.LFG(Vs),i.LFG(as))},d.ɵprov=i.Yz7({token:d,factory:d.ɵfac,providedIn:"root"}),d})();const Bs=new i.OlP("");let Hn=(()=>{class d{constructor(c,y,D={}){this.router=c,this.viewportScroller=y,this.options=D,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},D.scrollPositionRestoration=D.scrollPositionRestoration||"disabled",D.anchorScrolling=D.anchorScrolling||"disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.router.events.subscribe((c=>{c instanceof Ti?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=c.navigationTrigger,this.restoredId=c.restoredState?c.restoredState.navigationId:0):c instanceof Jr&&(this.lastId=c.id,this.scheduleScrollEvent(c,this.router.parseUrl(c.urlAfterRedirects).fragment))}))}consumeScrollEvents(){return this.router.events.subscribe((c=>{c instanceof Mo&&(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,y){this.router.triggerEvent(new Mo(c,"popstate"===this.lastSource?this.store[this.restoredId]:null,y))}ngOnDestroy(){this.routerEventsSubscription&&this.routerEventsSubscription.unsubscribe(),this.scrollEventsSubscription&&this.scrollEventsSubscription.unsubscribe()}}return d.ɵfac=function(c){i.$Z()},d.ɵprov=i.Yz7({token:d,factory:d.ɵfac}),d})();function zo(d,f){return{"ɵkind":d,"ɵproviders":f}}function ba(d){return[{provide:ss,multi:!0,useValue:d}]}function wl(){const d=(0,i.f3M)(i.zs3);return f=>{const c=d.get(i.z2F);if(f!==c.components[0])return;const y=d.get(ur),D=d.get(Ao);1===d.get(Da)&&y.initialNavigation(),d.get(Io,null,i.XFs.Optional)?.setUpPreloading(),d.get(Bs,null,i.XFs.Optional)?.init(),y.resetRootComponentType(c.componentTypes[0]),D.closed||(D.next(),D.unsubscribe())}}const Ao=new i.OlP("",{factory:()=>new ve.x}),Da=new i.OlP("",{providedIn:"root",factory:()=>1});const Io=new i.OlP("");function Uu(d){return zo(0,[{provide:Io,useExisting:ju},{provide:Vs,useExisting:d}])}const Us=new i.OlP("ROUTER_FORROOT_GUARD"),cs=[De.Ye,{provide:Lt,useClass:wn},{provide:ur,useFactory:ks},Sr,{provide:Mr,useFactory:function Cl(d){return d.routerState.root},deps:[ur]},as];function Go(){return new i.PXZ("Router",ur)}let Ea=(()=>{class d{constructor(c){}static forRoot(c,y){return{ngModule:d,providers:[cs,[],ba(c),{provide:Us,useFactory:Gu,deps:[[ur,new i.FiY,new i.tp0]]},{provide:Ho,useValue:y||{}},y?.useHash?{provide:De.S$,useClass:De.Do}:{provide:De.S$,useClass:De.b0},{provide:Bs,useFactory:()=>{const d=(0,i.f3M)(ur),f=(0,i.f3M)(De.EM),c=(0,i.f3M)(Ho);return c.scrollOffset&&f.setOffset(c.scrollOffset),new Hn(d,f,c)}},y?.preloadingStrategy?Uu(y.preloadingStrategy).ɵproviders:[],{provide:i.PXZ,multi:!0,useFactory:Go},y?.initialNavigation?Ma(y):[],[{provide:$r,useFactory:wl},{provide:i.tb,multi:!0,useExisting:$r}]]}}static forChild(c){return{ngModule:d,providers:[ba(c)]}}}return d.ɵfac=function(c){return new(c||d)(i.LFG(Us,8))},d.ɵmod=i.oAB({type:d}),d.ɵinj=i.cJS({imports:[Lr]}),d})();function Gu(d){return"guarded"}function Ma(d){return["disabled"===d.initialNavigation?zo(3,[{provide:i.ip1,multi:!0,useFactory:()=>{const f=(0,i.f3M)(ur);return()=>{f.setUpLocationChangeListener()}}},{provide:Da,useValue:2}]).ɵproviders:[],"enabledBlocking"===d.initialNavigation?zo(2,[{provide:Da,useValue:0},{provide:i.ip1,multi:!0,deps:[i.zs3],useFactory:f=>{const c=f.get(De.V_,Promise.resolve());let y=!1;return()=>c.then((()=>new Promise((H=>{const ie=f.get(ur),le=f.get(Ao);(function D(H){f.get(ur).events.pipe((0,Ze.h)((le=>le instanceof Jr||le instanceof gi||le instanceof Lo)),(0,Le.U)((le=>le instanceof Jr||le instanceof gi&&(0===le.code||1===le.code)&&null)),(0,Ze.h)((le=>null!==le)),(0,we.q)(1)).subscribe((()=>{H()}))})((()=>{H(!0),y=!0})),ie.afterPreactivation=()=>(H(!0),y||le.closed?(0,E.of)(void 0):le),ie.initialNavigation()}))))}}]).ɵproviders:[]]}const $r=new i.OlP("")},802:($,O,l)=>{"use strict";l.d(O,{au:()=>Xt,A4:()=>sn});var i=l(4650),m=l(6895),E=l(9646),P=l(9751),S=l(4351),I=l(9300),x=l(4004);class R{}class k{}class N{constructor(Q){this.normalizedNames=new Map,this.lazyUpdate=null,Q?this.lazyInit="string"==typeof Q?()=>{this.headers=new Map,Q.split("\n").forEach((te=>{const Ge=te.indexOf(":");if(Ge>0){const Ue=te.slice(0,Ge),J=Ue.toLowerCase(),q=te.slice(Ge+1).trim();this.maybeSetNormalizedName(Ue,J),this.headers.has(J)?this.headers.get(J).push(q):this.headers.set(J,[q])}}))}:()=>{this.headers=new Map,Object.keys(Q).forEach((te=>{let Ge=Q[te];const Ue=te.toLowerCase();"string"==typeof Ge&&(Ge=[Ge]),Ge.length>0&&(this.headers.set(Ue,Ge),this.maybeSetNormalizedName(te,Ue))}))}:this.headers=new Map}has(Q){return this.init(),this.headers.has(Q.toLowerCase())}get(Q){this.init();const te=this.headers.get(Q.toLowerCase());return te&&te.length>0?te[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(Q){return this.init(),this.headers.get(Q.toLowerCase())||null}append(Q,te){return this.clone({name:Q,value:te,op:"a"})}set(Q,te){return this.clone({name:Q,value:te,op:"s"})}delete(Q,te){return this.clone({name:Q,value:te,op:"d"})}maybeSetNormalizedName(Q,te){this.normalizedNames.has(te)||this.normalizedNames.set(te,Q)}init(){this.lazyInit&&(this.lazyInit instanceof N?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach((Q=>this.applyUpdate(Q))),this.lazyUpdate=null))}copyFrom(Q){Q.init(),Array.from(Q.headers.keys()).forEach((te=>{this.headers.set(te,Q.headers.get(te)),this.normalizedNames.set(te,Q.normalizedNames.get(te))}))}clone(Q){const te=new N;return te.lazyInit=this.lazyInit&&this.lazyInit instanceof N?this.lazyInit:this,te.lazyUpdate=(this.lazyUpdate||[]).concat([Q]),te}applyUpdate(Q){const te=Q.name.toLowerCase();switch(Q.op){case"a":case"s":let Ge=Q.value;if("string"==typeof Ge&&(Ge=[Ge]),0===Ge.length)return;this.maybeSetNormalizedName(Q.name,te);const Ue=("a"===Q.op?this.headers.get(te):void 0)||[];Ue.push(...Ge),this.headers.set(te,Ue);break;case"d":const J=Q.value;if(J){let q=this.headers.get(te);if(!q)return;q=q.filter((W=>-1===J.indexOf(W))),0===q.length?(this.headers.delete(te),this.normalizedNames.delete(te)):this.headers.set(te,q)}else this.headers.delete(te),this.normalizedNames.delete(te)}}forEach(Q){this.init(),Array.from(this.normalizedNames.keys()).forEach((te=>Q(this.normalizedNames.get(te),this.headers.get(te))))}}class K{encodeKey(Q){return at(Q)}encodeValue(Q){return at(Q)}decodeKey(Q){return decodeURIComponent(Q)}decodeValue(Q){return decodeURIComponent(Q)}}const ye=/%(\d[a-f0-9])/gi,oe={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function at(Ee){return encodeURIComponent(Ee).replace(ye,((Q,te)=>oe[te]??Q))}function Ie(Ee){return`${Ee}`}class Qe{constructor(Q={}){if(this.updates=null,this.cloneFrom=null,this.encoder=Q.encoder||new K,Q.fromString){if(Q.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function Re(Ee,Q){const te=new Map;return Ee.length>0&&Ee.replace(/^\?/,"").split("&").forEach((Ue=>{const J=Ue.indexOf("="),[q,W]=-1==J?[Q.decodeKey(Ue),""]:[Q.decodeKey(Ue.slice(0,J)),Q.decodeValue(Ue.slice(J+1))],j=te.get(q)||[];j.push(W),te.set(q,j)})),te}(Q.fromString,this.encoder)}else Q.fromObject?(this.map=new Map,Object.keys(Q.fromObject).forEach((te=>{const Ge=Q.fromObject[te],Ue=Array.isArray(Ge)?Ge.map(Ie):[Ie(Ge)];this.map.set(te,Ue)}))):this.map=null}has(Q){return this.init(),this.map.has(Q)}get(Q){this.init();const te=this.map.get(Q);return te?te[0]:null}getAll(Q){return this.init(),this.map.get(Q)||null}keys(){return this.init(),Array.from(this.map.keys())}append(Q,te){return this.clone({param:Q,value:te,op:"a"})}appendAll(Q){const te=[];return Object.keys(Q).forEach((Ge=>{const Ue=Q[Ge];Array.isArray(Ue)?Ue.forEach((J=>{te.push({param:Ge,value:J,op:"a"})})):te.push({param:Ge,value:Ue,op:"a"})})),this.clone(te)}set(Q,te){return this.clone({param:Q,value:te,op:"s"})}delete(Q,te){return this.clone({param:Q,value:te,op:"d"})}toString(){return this.init(),this.keys().map((Q=>{const te=this.encoder.encodeKey(Q);return this.map.get(Q).map((Ge=>te+"="+this.encoder.encodeValue(Ge))).join("&")})).filter((Q=>""!==Q)).join("&")}clone(Q){const te=new Qe({encoder:this.encoder});return te.cloneFrom=this.cloneFrom||this,te.updates=(this.updates||[]).concat(Q),te}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach((Q=>this.map.set(Q,this.cloneFrom.map.get(Q)))),this.updates.forEach((Q=>{switch(Q.op){case"a":case"s":const te=("a"===Q.op?this.map.get(Q.param):void 0)||[];te.push(Ie(Q.value)),this.map.set(Q.param,te);break;case"d":if(void 0===Q.value){this.map.delete(Q.param);break}{let Ge=this.map.get(Q.param)||[];const Ue=Ge.indexOf(Ie(Q.value));-1!==Ue&&Ge.splice(Ue,1),Ge.length>0?this.map.set(Q.param,Ge):this.map.delete(Q.param)}}})),this.cloneFrom=this.updates=null)}}class _t{constructor(){this.map=new Map}set(Q,te){return this.map.set(Q,te),this}get(Q){return this.map.has(Q)||this.map.set(Q,Q.defaultValue()),this.map.get(Q)}delete(Q){return this.map.delete(Q),this}has(Q){return this.map.has(Q)}keys(){return this.map.keys()}}function ge(Ee){return typeof ArrayBuffer<"u"&&Ee instanceof ArrayBuffer}function nt(Ee){return typeof Blob<"u"&&Ee instanceof Blob}function Pt(Ee){return typeof FormData<"u"&&Ee instanceof FormData}class ht{constructor(Q,te,Ge,Ue){let J;if(this.url=te,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=Q.toUpperCase(),function ue(Ee){switch(Ee){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||Ue?(this.body=void 0!==Ge?Ge:null,J=Ue):J=Ge,J&&(this.reportProgress=!!J.reportProgress,this.withCredentials=!!J.withCredentials,J.responseType&&(this.responseType=J.responseType),J.headers&&(this.headers=J.headers),J.context&&(this.context=J.context),J.params&&(this.params=J.params)),this.headers||(this.headers=new N),this.context||(this.context=new _t),this.params){const q=this.params.toString();if(0===q.length)this.urlWithParams=te;else{const W=te.indexOf("?");this.urlWithParams=te+(-1===W?"?":W<te.length-1?"&":"")+q}}else this.params=new Qe,this.urlWithParams=te}serializeBody(){return null===this.body?null:ge(this.body)||nt(this.body)||Pt(this.body)||function dt(Ee){return typeof URLSearchParams<"u"&&Ee instanceof URLSearchParams}(this.body)||"string"==typeof this.body?this.body:this.body instanceof Qe?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||Pt(this.body)?null:nt(this.body)?this.body.type||null:ge(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof Qe?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||"boolean"==typeof this.body?"application/json":null}clone(Q={}){const te=Q.method||this.method,Ge=Q.url||this.url,Ue=Q.responseType||this.responseType,J=void 0!==Q.body?Q.body:this.body,q=void 0!==Q.withCredentials?Q.withCredentials:this.withCredentials,W=void 0!==Q.reportProgress?Q.reportProgress:this.reportProgress;let j=Q.headers||this.headers,ne=Q.params||this.params;const ft=Q.context??this.context;return void 0!==Q.setHeaders&&(j=Object.keys(Q.setHeaders).reduce(((St,Vt)=>St.set(Vt,Q.setHeaders[Vt])),j)),Q.setParams&&(ne=Object.keys(Q.setParams).reduce(((St,Vt)=>St.set(Vt,Q.setParams[Vt])),ne)),new ht(te,Ge,J,{params:ne,headers:j,context:ft,reportProgress:W,responseType:Ue,withCredentials:q})}}var ce=(()=>((ce=ce||{})[ce.Sent=0]="Sent",ce[ce.UploadProgress=1]="UploadProgress",ce[ce.ResponseHeader=2]="ResponseHeader",ce[ce.DownloadProgress=3]="DownloadProgress",ce[ce.Response=4]="Response",ce[ce.User=5]="User",ce))();class ve{constructor(Q,te=200,Ge="OK"){this.headers=Q.headers||new N,this.status=void 0!==Q.status?Q.status:te,this.statusText=Q.statusText||Ge,this.url=Q.url||null,this.ok=this.status>=200&&this.status<300}}class De extends ve{constructor(Q={}){super(Q),this.type=ce.ResponseHeader}clone(Q={}){return new De({headers:Q.headers||this.headers,status:void 0!==Q.status?Q.status:this.status,statusText:Q.statusText||this.statusText,url:Q.url||this.url||void 0})}}class Le extends ve{constructor(Q={}){super(Q),this.type=ce.Response,this.body=void 0!==Q.body?Q.body:null}clone(Q={}){return new Le({body:void 0!==Q.body?Q.body:this.body,headers:Q.headers||this.headers,status:void 0!==Q.status?Q.status:this.status,statusText:Q.statusText||this.statusText,url:Q.url||this.url||void 0})}}class Ce extends ve{constructor(Q){super(Q,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${Q.url||"(unknown url)"}`:`Http failure response for ${Q.url||"(unknown url)"}: ${Q.status} ${Q.statusText}`,this.error=Q.error||null}}function we(Ee,Q){return{body:Q,headers:Ee.headers,context:Ee.context,observe:Ee.observe,params:Ee.params,reportProgress:Ee.reportProgress,responseType:Ee.responseType,withCredentials:Ee.withCredentials}}let de=(()=>{class Ee{constructor(te){this.handler=te}request(te,Ge,Ue={}){let J;if(te instanceof ht)J=te;else{let j,ne;j=Ue.headers instanceof N?Ue.headers:new N(Ue.headers),Ue.params&&(ne=Ue.params instanceof Qe?Ue.params:new Qe({fromObject:Ue.params})),J=new ht(te,Ge,void 0!==Ue.body?Ue.body:null,{headers:j,context:Ue.context,params:ne,reportProgress:Ue.reportProgress,responseType:Ue.responseType||"json",withCredentials:Ue.withCredentials})}const q=(0,E.of)(J).pipe((0,S.b)((j=>this.handler.handle(j))));if(te instanceof ht||"events"===Ue.observe)return q;const W=q.pipe((0,I.h)((j=>j instanceof Le)));switch(Ue.observe||"body"){case"body":switch(J.responseType){case"arraybuffer":return W.pipe((0,x.U)((j=>{if(null!==j.body&&!(j.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return j.body})));case"blob":return W.pipe((0,x.U)((j=>{if(null!==j.body&&!(j.body instanceof Blob))throw new Error("Response is not a Blob.");return j.body})));case"text":return W.pipe((0,x.U)((j=>{if(null!==j.body&&"string"!=typeof j.body)throw new Error("Response is not a string.");return j.body})));default:return W.pipe((0,x.U)((j=>j.body)))}case"response":return W;default:throw new Error(`Unreachable: unhandled observe type ${Ue.observe}}`)}}delete(te,Ge={}){return this.request("DELETE",te,Ge)}get(te,Ge={}){return this.request("GET",te,Ge)}head(te,Ge={}){return this.request("HEAD",te,Ge)}jsonp(te,Ge){return this.request("JSONP",te,{params:(new Qe).append(Ge,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(te,Ge={}){return this.request("OPTIONS",te,Ge)}patch(te,Ge,Ue={}){return this.request("PATCH",te,we(Ue,Ge))}post(te,Ge,Ue={}){return this.request("POST",te,we(Ue,Ge))}put(te,Ge,Ue={}){return this.request("PUT",te,we(Ue,Ge))}}return Ee.ɵfac=function(te){return new(te||Ee)(i.LFG(R))},Ee.ɵprov=i.Yz7({token:Ee,factory:Ee.ɵfac}),Ee})();class Ze{constructor(Q,te){this.next=Q,this.interceptor=te}handle(Q){return this.interceptor.intercept(Q,this.next)}}const Dt=new i.OlP("HTTP_INTERCEPTORS");let Xe=(()=>{class Ee{intercept(te,Ge){return Ge.handle(te)}}return Ee.ɵfac=function(te){return new(te||Ee)},Ee.ɵprov=i.Yz7({token:Ee,factory:Ee.ɵfac}),Ee})();const Zt=/^\)\]\}',?\n/;let He=(()=>{class Ee{constructor(te){this.xhrFactory=te}handle(te){if("JSONP"===te.method)throw new Error("Attempted to construct Jsonp request without HttpClientJsonpModule installed.");return new P.y((Ge=>{const Ue=this.xhrFactory.build();if(Ue.open(te.method,te.urlWithParams),te.withCredentials&&(Ue.withCredentials=!0),te.headers.forEach(((rt,yt)=>Ue.setRequestHeader(rt,yt.join(",")))),te.headers.has("Accept")||Ue.setRequestHeader("Accept","application/json, text/plain, */*"),!te.headers.has("Content-Type")){const rt=te.detectContentTypeHeader();null!==rt&&Ue.setRequestHeader("Content-Type",rt)}if(te.responseType){const rt=te.responseType.toLowerCase();Ue.responseType="json"!==rt?rt:"text"}const J=te.serializeBody();let q=null;const W=()=>{if(null!==q)return q;const rt=Ue.statusText||"OK",yt=new N(Ue.getAllResponseHeaders()),Oe=function vn(Ee){return"responseURL"in Ee&&Ee.responseURL?Ee.responseURL:/^X-Request-URL:/m.test(Ee.getAllResponseHeaders())?Ee.getResponseHeader("X-Request-URL"):null}(Ue)||te.url;return q=new De({headers:yt,status:Ue.status,statusText:rt,url:Oe}),q},j=()=>{let{headers:rt,status:yt,statusText:Oe,url:Tt}=W(),Ft=null;204!==yt&&(Ft=typeof Ue.response>"u"?Ue.responseText:Ue.response),0===yt&&(yt=Ft?200:0);let Kt=yt>=200&&yt<300;if("json"===te.responseType&&"string"==typeof Ft){const $t=Ft;Ft=Ft.replace(Zt,"");try{Ft=""!==Ft?JSON.parse(Ft):null}catch(Qt){Ft=$t,Kt&&(Kt=!1,Ft={error:Qt,text:Ft})}}Kt?(Ge.next(new Le({body:Ft,headers:rt,status:yt,statusText:Oe,url:Tt||void 0})),Ge.complete()):Ge.error(new Ce({error:Ft,headers:rt,status:yt,statusText:Oe,url:Tt||void 0}))},ne=rt=>{const{url:yt}=W(),Oe=new Ce({error:rt,status:Ue.status||0,statusText:Ue.statusText||"Unknown Error",url:yt||void 0});Ge.error(Oe)};let ft=!1;const St=rt=>{ft||(Ge.next(W()),ft=!0);let yt={type:ce.DownloadProgress,loaded:rt.loaded};rt.lengthComputable&&(yt.total=rt.total),"text"===te.responseType&&!!Ue.responseText&&(yt.partialText=Ue.responseText),Ge.next(yt)},Vt=rt=>{let yt={type:ce.UploadProgress,loaded:rt.loaded};rt.lengthComputable&&(yt.total=rt.total),Ge.next(yt)};return Ue.addEventListener("load",j),Ue.addEventListener("error",ne),Ue.addEventListener("timeout",ne),Ue.addEventListener("abort",ne),te.reportProgress&&(Ue.addEventListener("progress",St),null!==J&&Ue.upload&&Ue.upload.addEventListener("progress",Vt)),Ue.send(J),Ge.next({type:ce.Sent}),()=>{Ue.removeEventListener("error",ne),Ue.removeEventListener("abort",ne),Ue.removeEventListener("load",j),Ue.removeEventListener("timeout",ne),te.reportProgress&&(Ue.removeEventListener("progress",St),null!==J&&Ue.upload&&Ue.upload.removeEventListener("progress",Vt)),Ue.readyState!==Ue.DONE&&Ue.abort()}}))}}return Ee.ɵfac=function(te){return new(te||Ee)(i.LFG(m.JF))},Ee.ɵprov=i.Yz7({token:Ee,factory:Ee.ɵfac}),Ee})();const Pe=new i.OlP("XSRF_COOKIE_NAME"),me=new i.OlP("XSRF_HEADER_NAME");class $e{}let Mt=(()=>{class Ee{constructor(te,Ge,Ue){this.doc=te,this.platform=Ge,this.cookieName=Ue,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const te=this.doc.cookie||"";return te!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,m.Mx)(te,this.cookieName),this.lastCookieString=te),this.lastToken}}return Ee.ɵfac=function(te){return new(te||Ee)(i.LFG(m.K0),i.LFG(i.Lbi),i.LFG(Pe))},Ee.ɵprov=i.Yz7({token:Ee,factory:Ee.ɵfac}),Ee})(),rn=(()=>{class Ee{constructor(te,Ge){this.tokenService=te,this.headerName=Ge}intercept(te,Ge){const Ue=te.url.toLowerCase();if("GET"===te.method||"HEAD"===te.method||Ue.startsWith("http://")||Ue.startsWith("https://"))return Ge.handle(te);const J=this.tokenService.getToken();return null!==J&&!te.headers.has(this.headerName)&&(te=te.clone({headers:te.headers.set(this.headerName,J)})),Ge.handle(te)}}return Ee.ɵfac=function(te){return new(te||Ee)(i.LFG($e),i.LFG(me))},Ee.ɵprov=i.Yz7({token:Ee,factory:Ee.ɵfac}),Ee})(),xt=(()=>{class Ee{constructor(te,Ge){this.backend=te,this.injector=Ge,this.chain=null}handle(te){if(null===this.chain){const Ge=this.injector.get(Dt,[]);this.chain=Ge.reduceRight(((Ue,J)=>new Ze(Ue,J)),this.backend)}return this.chain.handle(te)}}return Ee.ɵfac=function(te){return new(te||Ee)(i.LFG(k),i.LFG(i.zs3))},Ee.ɵprov=i.Yz7({token:Ee,factory:Ee.ɵfac}),Ee})(),ae=(()=>{class Ee{static disable(){return{ngModule:Ee,providers:[{provide:rn,useClass:Xe}]}}static withOptions(te={}){return{ngModule:Ee,providers:[te.cookieName?{provide:Pe,useValue:te.cookieName}:[],te.headerName?{provide:me,useValue:te.headerName}:[]]}}}return Ee.ɵfac=function(te){return new(te||Ee)},Ee.ɵmod=i.oAB({type:Ee}),Ee.ɵinj=i.cJS({providers:[rn,{provide:Dt,useExisting:rn,multi:!0},{provide:$e,useClass:Mt},{provide:Pe,useValue:"XSRF-TOKEN"},{provide:me,useValue:"X-XSRF-TOKEN"}]}),Ee})(),ke=(()=>{class Ee{}return Ee.ɵfac=function(te){return new(te||Ee)},Ee.ɵmod=i.oAB({type:Ee}),Ee.ɵinj=i.cJS({providers:[de,{provide:R,useClass:xt},He,{provide:k,useExisting:He}],imports:[ae.withOptions({cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"})]}),Ee})();var tt=l(109),it=l(3022);const Ke={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 ut{constructor(Q){this.unprotectedPaths=["/resetpass","/invitation"],this.protocol=Q.protocol;let te=Q.port;te||(function F(Ee){return/^https:$/i.test(Ee)}(this.protocol)?te="443":function ee(Ee){return/^http:$/i.test(Ee)}(this.protocol)&&(te="80")),this.domain=Q.hostname,this.port=parseInt(te,10),this.path=Q.pathname;const Ge=this.path.match(/((?:\/cpsess\d+)?)(?:\/([^\/]+))?/)||[];if(this.applicationName=/^whm\./.test(this.domain)?Ke[2087]:/^cpanel\./.test(this.domain)?Ke[2083]:/^webmail\./.test(this.domain)?Ke[2095]:Ke[te.toString()]||Ke[Ge[2]]||"whostmgr",this.securityToken=Ge[1]||"",this.applicationPath=this.securityToken?this.path.replace(this.securityToken,""):this.path,this.theme="",!this.isUnprotected&&(this.isCpanel||this.isWebmail)){const J=this.path.split("/");this.theme=J[3]}this.themePath="";let Ue=this.securityToken+"/";this.isUnprotected?Ue="/":this.isCpanel?Ue+="frontend/"+this.theme+"/":this.isWebmail?Ue+="webmail/"+this.theme+"/":this.isOther&&(Ue="/"),this.themePath=Ue,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 he(Ee){return Ee&&Ee.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(Q){return this.themePath+Q}buildFullPath(Q){return this.protocol+"//"+this.domain+":"+this.port+this.buildPath(Q)}buildTokenPath(Q){return this.protocol+"//"+this.domain+":"+this.port+this.securityToken+Q}}class Je{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 vt=l(4235),Ct=l.n(vt),Nt=l(1305),At=l.n(Nt),Yt=(()=>{return(Ee=Yt||(Yt={}))[Ee.Error=0]="Error",Ee[Ee.Warning=1]="Warning",Ee[Ee.Information=2]="Information",Ee[Ee.Unknown=3]="Unknown",Yt;var Ee})();const kt={isPaged:!1,isFiltered:!1,record:0,page:0,pageSize:0,totalRecords:0,totalPages:0,recordsBeforeFilter:0,batch:!1,properties:{}};class mn{constructor(Q){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={},Q.chunk&&(this.isPaged=!0,this.record=parseInt(Q.chunk.start,10)||0,this.page=parseInt(Q.chunk.current,10)||0,this.pageSize=parseInt(Q.chunk.size,10)||0,this.totalPages=parseInt(Q.chunk.chunks,10)||0,this.totalRecords=parseInt(Q.chunk.records,10)||0),Q.filter&&(this.isFiltered=!0,this.recordsBeforeFilter=parseInt(Q.filter.filtered,10)||0);const te=new Set(["paginate","filter"]);Object.keys(Q).filter((Ge=>!te.has(Ge))).forEach((Ge=>{this.properties[Ge]=Q[Ge]}))}}class Cn extends class un{constructor(Q,te){if(this.status=0,this.messages=[],this.meta=function lt(Ee){return JSON.parse(JSON.stringify(Ee))}(kt),this.options={keepUnprocessedResponse:!1},Ct()(Q)||At()(Q))throw new Error("The response was unexpectedly undefined or null");te&&(this.options=te),this.options.keepUnprocessedResponse&&(this.raw=JSON.parse(JSON.stringify(Q)))}get success(){return this.status>0}get failed(){return 0===this.status}_getMessages(Q){return this.messages.filter((te=>te.type===Q))}get errors(){return this._getMessages(Yt.Error)}get warnings(){return this._getMessages(Yt.Warning)}get infoMessages(){return this._getMessages(Yt.Information)}_hasMessages(Q){return this.messages.filter((te=>te.type===Q)).length>0}get hasErrors(){return this._hasMessages(Yt.Error)}get hasWarnings(){return this._hasMessages(Yt.Warning)}get hasInfoMessages(){return this._hasMessages(Yt.Information)}get isPaged(){return this.meta.isPaged}get isFiltered(){return this.meta.isFiltered}}{_parseStatus(Q){if(this.status=0,typeof Q.result>"u")throw new Error("The response should have a numeric status property indicating the API succeeded (>0) or failed (=0)");this.status=parseInt(Q.result,10)}_parseMessages(Q){if(!Q.result){const te=[Q.reason];te&&te.length&&te.forEach((Ge=>{this.messages.push({type:Yt.Error,message:Ge})}))}}_reduce_list_data(Q){if("object"==typeof Q&&!(Q instanceof Array)){const te=Object.keys(Q);if(1===te.length){const Ge=Q[te[0]];Ge?Ge instanceof Array&&(Q=Ge):Q=[]}}return Q}constructor(Q,te){if(super(Q,te),!Q)throw new Error("Response object should be defined.");Q.metadata&&(this._parseStatus(Q.metadata),this._parseMessages(Q.metadata),this.meta=new mn(Q.metadata)),this.data=this._reduce_list_data(Q.data)}}let Xt=(()=>{class Ee{}return Ee.ɵfac=function(te){return new(te||Ee)},Ee.ɵmod=i.oAB({type:Ee}),Ee.ɵinj=i.cJS({imports:[ke]}),Ee})(),sn=(()=>{class Ee{constructor(te){this.http=te}get(te){const Ge=te.generate({verb:tt.F.GET,encoder:new it.VN}),Ue=this.packageUrl(Ge);return this.http.get(Ue,{headers:this.packageHeaders(Ge)}).pipe((0,x.U)(this.packageResponseHandler(Ue)))}post(te){const Ge=te.generate(),Ue=this.packageUrl(Ge);return this.http.post(Ue,Ge.body,{headers:this.packageHeaders(Ge)}).pipe((0,x.U)(this.packageResponseHandler(Ue)))}packageHeaders(te){const Ge={};return te.headers.forEach((Ue=>{Ge[Ue.name]=Ue.value})),new N(Ge)}packageUrl(te){return new ut(new Je).buildTokenPath(te.url)}packageResponseHandler(te){return Ge=>{const Ue=new Cn(Ge);return Ue.meta.properties.url=te,Ue}}}return Ee.ɵfac=function(te){return new(te||Ee)(i.LFG(de))},Ee.ɵprov=i.Yz7({token:Ee,factory:Ee.ɵfac,providedIn:"root"}),Ee})()},348:($,O,l)=>{"use strict";l.d(O,{m:()=>S});var i=l(4650),m=l(269);const E=new i.OlP("window"),P=I=>new m.g(I.CLDR,I.LEXICON);let S=(()=>{class I{}return I.ɵfac=function(R){return new(R||I)},I.ɵmod=i.oAB({type:I}),I.ɵinj=i.cJS({providers:[{provide:E,useValue:window},{provide:m.g,useFactory:P,deps:[E]}]}),I})()},8517:($,O,l)=>{"use strict";l.d(O,{CQ:()=>Vt,Gy:()=>te,MF:()=>Ge,Oc:()=>Lt,Op:()=>Ue,Yg:()=>Q,c9:()=>it,df:()=>wn,hF:()=>St});var i=l(4650),m=l(6895),E=l(7579),P=l(9300),S=l(348),I=l(269),x=l(7340),R=l(8746);const ye=["header"];function oe(X,Se){if(1&X){const U=i.EpF();i.TgZ(0,"button",4),i.NdJ("click",(function(){i.CHM(U);const jt=i.oxw();return i.KtG(jt.closeClicked())})),i._UZ(1,"i",5),i.qZA()}if(2&X){const U=i.oxw();i.uIk("id",U.buttonID)}}const at=[[["","callout-heading",""]],"*"],Ie=["[callout-heading]","*"];function ue(X,Se){if(1&X&&(i.TgZ(0,"label",10)(1,"span",11),i._uU(2),i.qZA()()),2&X){const U=i.oxw();i.s9C("for",U.toggleID),i.uIk("aria-label",U.labelValue),i.xp6(1),i.uIk("id",U.onTextID),i.xp6(1),i.hij(" ",U.isToggleOff?U.offText:U.onText," ")}}function ge(X,Se){if(1&X&&i._UZ(0,"i",12),2&X){const U=i.oxw();i.uIk("id",U.leftSpinnerID)}}function nt(X,Se){if(1&X&&(i.TgZ(0,"label",13)(1,"span",14),i._uU(2),i.qZA()()),2&X){const U=i.oxw();i.s9C("for",U.toggleID),i.uIk("aria-label",U.labelValue),i.xp6(1),i.uIk("id",U.offTextID),i.xp6(1),i.hij(" ",U.isToggleOff?U.offText:U.onText," ")}}function Pt(X,Se){if(1&X&&i._UZ(0,"i",15),2&X){const U=i.oxw();i.uIk("id",U.rightSpinnerID)}}const dt=function(X,Se,U){return{"switch-on":X,"switch-off":Se,disabled:U}},ht=function(X){return{disabled:X}},ce=function(X,Se){return{"switch-on":X,"switch-off":Se}};function ve(X,Se){if(1&X){const U=i.EpF();i.TgZ(0,"button",9),i.NdJ("click",(function(){i.CHM(U);const jt=i.oxw(2);return i.KtG(jt.fireClose())})),i.TgZ(1,"span"),i._uU(2,"×"),i.qZA()()}if(2&X){const U=i.oxw(2);i.Q6J("id",U.closeButtonID)("title",U.closeLabel),i.uIk("aria-label",U.closeLabel),i.xp6(1),i.uIk("aria-hidden",!0)}}function De(X,Se){if(1&X){const U=i.EpF();i.TgZ(0,"button",10),i.NdJ("click",(function(){i.CHM(U);const jt=i.oxw(2);return i.KtG(jt.fireToggleMore())})),i._uU(1),i.qZA()}if(2&X){const U=i.oxw(2);i.Q6J("id",U.moreButtonID),i.xp6(1),i.hij(" ",U.moreLabel," ")}}function Le(X,Se){if(1&X&&(i.TgZ(0,"strong",11),i._uU(1),i.qZA()),2&X){const U=i.oxw(2);i.xp6(1),i.Oqu(U.label)}}function Ce(X,Se){if(1&X&&(i.TgZ(0,"span",12),i._uU(1),i.qZA()),2&X){const U=i.oxw(2);i.Q6J("id",U.textMessageID),i.xp6(1),i.hij(" ",U.message," ")}}function we(X,Se){if(1&X&&(i.TgZ(0,"li")(1,"span",12),i._uU(2),i.qZA()()),2&X){const U=Se.$implicit,Ve=Se.index,jt=i.oxw(3);i.xp6(1),i.s9C("id",jt.textListID+"_"+Ve),i.xp6(1),i.hij(" ",U," ")}}function de(X,Se){if(1&X&&(i.TgZ(0,"ul",13),i.YNc(1,we,3,2,"li",14),i.qZA()),2&X){const U=i.oxw(2);i.xp6(1),i.Q6J("ngForOf",U.alert.list)}}function Ze(X,Se){if(1&X&&(i.TgZ(0,"div",1),i.YNc(1,ve,3,4,"button",2),i.YNc(2,De,2,2,"button",3),i._UZ(3,"span"),i.TgZ(4,"div",4),i.YNc(5,Le,2,1,"strong",5),i.TgZ(6,"span",6),i.YNc(7,Ce,2,2,"span",7),i.qZA(),i.YNc(8,de,2,1,"ul",8),i.qZA()()),2&X){const U=i.oxw();i.Gre("alert alert-",U.type," ng-hide"),i.Q6J("@openClose",U.animationClass),i.xp6(1),i.Q6J("ngIf",U.showCloseButton),i.xp6(1),i.Q6J("ngIf",U.showMoreButton),i.xp6(1),i.Tol(U.icon),i.uIk("aria-hidden",!0),i.xp6(2),i.Q6J("ngIf",U.hasLabel),i.xp6(2),i.Q6J("ngIf",U.message),i.xp6(1),i.Q6J("ngIf",U.alert&&U.alert.list&&U.alert.list.length)}}function Dt(X,Se){if(1&X){const U=i.EpF();i.TgZ(0,"div",6)(1,"cp-alert",7),i.NdJ("close",(function(){const fn=i.CHM(U).$implicit,In=i.oxw();return i.KtG(In.alertClosed(fn))})),i.qZA()()}if(2&X){const U=Se.$implicit;i.xp6(1),i.Q6J("alert",U)}}function Xe(X,Se){if(1&X&&i._UZ(0,"div",8),2&X){const U=i.oxw();i.Q6J("ngClass",U.positionClasses)}}class ot{constructor(Se,U,Ve=ot.defaultOptions){this._message=Se,this._type=U;const jt=Ve.id?Ve.id:Math.random().toString(36).substr(2,9);this._id=jt,this._closable=Ve.isCloseable??!0,this._autoClosePeriod=Ve.autoClosePeriod,this._list=Ve.list,this._showMore=Ve.showMore||ot.defaultShowMore,this._ts=Ve.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(Se){const{message:U,type:Ve,...jt}=Se;return new ot(U,Ve,jt)}}ot.defaultShowMore=!1,ot.defaultAutoClosePeriod=0,ot.defaultOptions={autoClosePeriod:ot.defaultAutoClosePeriod,list:[]};var xe=(()=>{return(X=xe||(xe={}))[X.error=0]="error",X[X.success=1]="success",X[X.warning=2]="warning",X[X.information=3]="information",xe;var X})(),tt=(()=>{return(X=tt||(tt={})).add="add",X.remove="remove",X.clear="clear",tt;var X})();let it=(()=>{class X{constructor(){this._alertEventsSource=new E.x,this._alerts={},this.alertEvents=this._alertEventsSource.asObservable()}add(U,Ve=X.defaultGroup){this._alerts[Ve]||(this._alerts[Ve]=[]);const jt=U instanceof ot?U:ot.makeAlert(U);if(this.list(Ve).push(jt),this._alertEventsSource.next({type:tt.add,group:Ve,alert:jt}),(0,i.X6Q)())switch(jt.type){case xe.error:console.error(jt.message,jt);break;case xe.warning:console.warn(jt.message,jt);break;default:console.log(jt.message,jt)}return jt}success(U,Ve=X.defaultGroup){return this.add(new ot(U,xe.success,X.defaultSuccessOptions),Ve)}error(U,Ve=X.defaultGroup){return this.add({message:U,type:xe.error},Ve)}info(U,Ve=X.defaultGroup){return this.add({message:U,type:xe.information},Ve)}warn(U,Ve=X.defaultGroup){return this.add({message:U,type:xe.warning},Ve)}removeById(U,Ve=X.defaultGroup){const jt=this.list(Ve),fn=jt.findIndex((In=>In.id===U),0);if(-1!==fn){const In=jt[fn];jt.splice(fn,1),this._alertEventsSource.next({type:tt.remove,group:Ve,alert:In})}}clear(U=X.defaultGroup){this._alerts[U]=[],this._alertEventsSource.next({type:tt.clear,group:U})}list(U=X.defaultGroup){return null==this._alerts[U]&&(this._alerts[U]=[]),this._alerts[U]}}return X.defaultGroup="__DEFAULT__",X.defaultSuccessOptions={autoClosePeriod:1e4},X.ɵfac=function(U){return new(U||X)},X.ɵprov=i.Yz7({token:X,factory:X.ɵfac,providedIn:"root"}),X})();var ee=(()=>{return(X=ee||(ee={})).inline="inline",X.topLeft="top-left",X.topMiddle="top-middle",X.topRight="top-right",X.bottomLeft="bottom-left",X.bottomMiddle="bottom-middle",X.bottomRight="bottom-right",X.middleLeft="middle-left",X.middleMiddle="middle-middle",X.middleRight="middle-right",ee;var X})();const Te=ee.topRight,Ke=ee.topLeft;var Xt=(()=>{return(X=Xt||(Xt={})).warnings="warnings",X.danger="danger",X.info="info",X.default="info",Xt;var X})();let Lt=(()=>{class X{constructor(){this.calloutType=Xt.default,this.closeable=!1,this.close=new i.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 X.ɵfac=function(U){return new(U||X)},X.ɵcmp=i.Xpm({type:X,selectors:[["cp-callout"]],viewQuery:function(U,Ve){if(1&U&&i.Gf(ye,5),2&U){let jt;i.iGM(jt=i.CRH())&&(Ve.header=jt.first)}},inputs:{id:"id",calloutType:"calloutType",closeable:"closeable"},outputs:{close:"close"},ngContentSelectors:Ie,decls:7,vars:7,consts:[["role","alert"],["type","button","class","close","aria-label","Close",3,"click",4,"ngIf"],[1,"callout-heading"],["header",""],["type","button","aria-label","Close",1,"close",3,"click"],["aria-hidden","true",1,"fas","fa-sm","fa-times"]],template:function(U,Ve){1&U&&(i.F$t(at),i.TgZ(0,"div",0),i.YNc(1,oe,2,1,"button",1),i.TgZ(2,"div",2,3),i.Hsn(4),i.qZA(),i.TgZ(5,"div"),i.Hsn(6,1),i.qZA()()),2&U&&(i.Gre("callout callout-",Ve.calloutType,""),i.uIk("aria-label",Ve.calloutType),i.xp6(1),i.Q6J("ngIf",Ve.closeable),i.xp6(1),i.uIk("id",Ve.headingID),i.xp6(3),i.uIk("id",Ve.contentID))},dependencies:[m.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}']}),X})(),wn=(()=>{class X{}return X.ɵfac=function(U){return new(U||X)},X.ɵmod=i.oAB({type:X}),X.ɵinj=i.cJS({imports:[m.ez]}),X})();var Q=(()=>{return(X=Q||(Q={})).toggleOn="toggleSwitchOn",X.toggleOff="toggleSwitchOff",X.toggleUpdating="toggleSwitchUpdating",Q;var X})(),te=(()=>{return(X=te||(te={})).left="left",X.right="right",te;var X})();let Ge=(()=>{class X{constructor(U){this.locale=U,this.onText="",this.offText="",this.isDisabled=!1,this.toggleStatus=new i.vpe,this._isToggleUpdating=!1,this._hasSpinner=!1}get isToggleOff(){return this._isToggleOffStatus}get hasSpinner(){return this._hasSpinner}get isToggleUpdating(){return this._isToggleUpdating}get labelValue(){return this.isDisabled?"disabled":this.isToggleOff?this.offText:this.onText}get leftLabelPosition(){return te.left}get rightLabelPosition(){return te.right}get isLTR(){return this.locale.isLtr}set toggleState(U){switch(this._toggleState=U,U){case Q.toggleOn:this._isToggleOffStatus=!1,this._isToggleUpdating=!1;break;case Q.toggleOff:this._isToggleOffStatus=!0,this._isToggleUpdating=!1;break;case Q.toggleUpdating:this._isToggleUpdating=!0,this._hasSpinner=!0}}checkToggle(U){this.isDisabled||this._isToggleUpdating||("click"===U.type?this.toggleStatus.emit(U):"keyup"===U.type&&((13===U.keyCode||32===U.keyCode)&&this.toggleStatus.emit(U),this.isLTR?37!==U.keyCode||this._isToggleOffStatus?39===U.keyCode&&this._isToggleOffStatus&&this.toggleStatus.emit(U):this.toggleStatus.emit(U):(37===U.keyCode&&this._isToggleOffStatus||39===U.keyCode&&!this._isToggleOffStatus)&&this.toggleStatus.emit(U)))}isLabelVisible(U){return!(!this.labelPosition||this._isToggleUpdating)&&(!(!this.labelPosition||U!==this.labelPosition)||void 0)}isSpinnerVisible(U){return!(!(this.hasSpinner&&this.labelPosition&&this.isToggleUpdating)||this.isDisabled||U!==this.labelPosition)}ngOnInit(){if(!this.id)throw new Error("id must be defined for `cp-toggle-switch`");this.toggleID=`${this.id}_toggle`,this.onTextID=`${this.id}_on_text`,this.offTextID=`${this.id}_off_text`,this.leftSpinnerID=`${this.id}_left_spinner`,this.rightSpinnerID=`${this.id}_right_spinner`}}return X.ɵfac=function(U){return new(U||X)(i.Y36(I.g))},X.ɵcmp=i.Xpm({type:X,selectors:[["cp-toggle-switch"]],inputs:{id:"id",onText:"onText",offText:"offText",labelPosition:"labelPosition",isDisabled:"isDisabled",toggleState:"toggleState"},outputs:{toggleStatus:"toggleStatus"},decls:10,vars:19,consts:[["role","switch","tabindex","0",1,"toggle-switch-wrapper",3,"ngClass","click","keyup"],["class","toggle-switch-label-left",3,"for",4,"ngIf"],["class","fas fa-sync fa-spin spinner toggle-switch-updating-indicator toggle-switch-updating-indicator-left",4,"ngIf"],["attr.aria-label","toggle",1,"toggle-switch",3,"ngClass"],[1,"toggle-switch-animate",3,"ngClass"],[1,"switch-left"],[1,"knob"],[1,"switch-right"],["class","toggle-switch-label-right",3,"for",4,"ngIf"],["class","fas fa-sync fa-spin spinner toggle-switch-updating-indicator toggle-switch-updating-indicator-right",4,"ngIf"],[1,"toggle-switch-label-left",3,"for"],[1,"toggle-switch-text","toggle-switch-text-left"],[1,"fas","fa-sync","fa-spin","spinner","toggle-switch-updating-indicator","toggle-switch-updating-indicator-left"],[1,"toggle-switch-label-right",3,"for"],[1,"toggle-switch-text","toggle-switch-text-right"],[1,"fas","fa-sync","fa-spin","spinner","toggle-switch-updating-indicator","toggle-switch-updating-indicator-right"]],template:function(U,Ve){1&U&&(i.TgZ(0,"div",0),i.NdJ("click",(function(fn){return Ve.checkToggle(fn)}))("keyup",(function(fn){return Ve.checkToggle(fn)})),i.YNc(1,ue,3,4,"label",1),i.YNc(2,ge,1,1,"i",2),i.TgZ(3,"div",3)(4,"div",4),i._UZ(5,"span",5)(6,"span",6)(7,"span",7),i.qZA()(),i.YNc(8,nt,3,4,"label",8),i.YNc(9,Pt,1,1,"i",9),i.qZA()),2&U&&(i.Q6J("ngClass",i.kEZ(10,dt,!Ve.isToggleOff,Ve.isToggleOff,Ve.isDisabled||Ve.isToggleUpdating)),i.uIk("id",Ve.toggleID)("value",Ve.labelValue)("aria-checked",!Ve.isToggleOff),i.xp6(1),i.Q6J("ngIf",Ve.isLabelVisible(Ve.leftLabelPosition)),i.xp6(1),i.Q6J("ngIf",Ve.isSpinnerVisible(Ve.leftLabelPosition)),i.xp6(1),i.Q6J("ngClass",i.VKq(14,ht,Ve.isDisabled||Ve.isToggleUpdating)),i.xp6(1),i.Q6J("ngClass",i.WLB(16,ce,!Ve.isToggleOff,Ve.isToggleOff)),i.xp6(4),i.Q6J("ngIf",Ve.isLabelVisible(Ve.rightLabelPosition)),i.xp6(1),i.Q6J("ngIf",Ve.isSpinnerVisible(Ve.rightLabelPosition)))},dependencies:[m.mk,m.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}']}),X})(),Ue=(()=>{class X{}return X.ɵfac=function(U){return new(U||X)},X.ɵmod=i.oAB({type:X}),X.ɵinj=i.cJS({imports:[m.ez,S.m]}),X})();var W=(()=>{return(X=W||(W={})).new="new",X.closed="closed",X.open="open",W;var X})();let j=(()=>{class X{constructor(U){this.locale=U,this.close=new i.vpe,this.toggleMore=new i.vpe,this.animationClass=W.new}get icon(){switch(this.alert.type){case xe.error:return"type-icon fas fa-times-circle";case xe.warning:return"type-icon fas fa-exclamation-triangle";case xe.information:return"type-icon fas fa-info-circle";case xe.success:return"type-icon fas fa-check-circle"}}get type(){switch(this.alert.type){case xe.error:return"danger";case xe.warning:return"warning";case xe.information:return"info";case xe.success:return"success"}}get hasLabel(){const U=this.label;return null!==U&&""!==U}get showCloseButton(){return this.alert.isClosable}get showMoreButton(){return this.alert.showMore&&this.toggleMore.observers.length>0}get message(){return this.alert.message}get willAutoClose(){return this.autoClosePeriod>0}get autoClosePeriod(){return this.alert.autoClosePeriod}get isClosed(){return this._closed}ngOnInit(){if(this._showMore=!1,this._closed=!1,this.moreButtonID=this._buildID("btnMore",this.type,this.alert.id),this.closeButtonID=this._buildID("btnClose",this.type,this.alert.id),this.textMessageID=this._buildID("txtMessage",this.type,this.alert.id),this.textListID=this._buildID("txtList",this.type,this.alert.id),!this.label)switch(this.alert.type){case xe.success:this.label=this.locale.maketext("Success:");break;case xe.error:this.label=this.locale.maketext("Error:");break;case xe.information:this.label=this.locale.maketext("Information:");break;case xe.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=W.open}),.25)}ngAfterViewInit(){this.willAutoClose&&this.startTimer()}fireToggleMore(){this._showMore=!this._showMore,this.toggleMore.emit({alert:this.alert,showMore:this._showMore,component:this})}fireClose(){this._timeout&&this.clearTimer(),this.animationClass=W.closed,setTimeout((()=>{this.close.emit({alert:this.alert,component:this}),this._closed=!0}),250)}fireTimeout(){this.fireClose(),this.clearTimer()}startTimer(){this._timeout=setTimeout((()=>this.fireTimeout()),this.autoClosePeriod)}clearTimer(){this._timeout&&(clearTimeout(this._timeout),this._timeout=null)}_buildID(...U){return U.join("_")}}return X.ɵfac=function(U){return new(U||X)(i.Y36(I.g))},X.ɵcmp=i.Xpm({type:X,selectors:[["cp-alert"]],inputs:{alert:"alert",label:"label",closeLabel:"closeLabel",moreLabel:"moreLabel"},outputs:{close:"close",toggleMore:"toggleMore"},decls:1,vars:1,consts:[["role","alert",3,"class",4,"ngIf"],["role","alert"],["type","button","class","close",3,"id","title","click",4,"ngIf"],["type","button","class","btn btn-more btn-link pull-right flip",3,"id","click",4,"ngIf"],[1,"alert-message"],["class","alert-title",4,"ngIf"],[1,"alert-body"],[3,"id",4,"ngIf"],["class","alert-list",4,"ngIf"],["type","button",1,"close",3,"id","title","click"],["type","button",1,"btn","btn-more","btn-link","pull-right","flip",3,"id","click"],[1,"alert-title"],[3,"id"],[1,"alert-list"],[4,"ngFor","ngForOf"]],template:function(U,Ve){1&U&&i.YNc(0,Ze,9,13,"div",0),2&U&&i.Q6J("ngIf",!Ve.isClosed)},dependencies:[m.sg,m.O5],styles:['.alert-danger[_ngcontent-%COMP%]{background-color:#f2dede;border:1px solid #d03f00}html[dir="ltr"][_nghost-%COMP%] .alert-danger[_ngcontent-%COMP%], html[dir="ltr"] [_nghost-%COMP%] .alert-danger[_ngcontent-%COMP%]{box-shadow:inset 41px 0 #d03f00}html[dir="rtl"][_nghost-%COMP%] .alert-danger[_ngcontent-%COMP%], html[dir="rtl"] [_nghost-%COMP%] .alert-danger[_ngcontent-%COMP%]{box-shadow:inset -41px 0 #d03f00}.alert-success[_ngcontent-%COMP%]{background-color:#dff2d5;border:1px solid #83b655}html[dir="ltr"][_nghost-%COMP%] .alert-success[_ngcontent-%COMP%], html[dir="ltr"] [_nghost-%COMP%] .alert-success[_ngcontent-%COMP%]{box-shadow:inset 41px 0 #83b655}html[dir="rtl"][_nghost-%COMP%] .alert-success[_ngcontent-%COMP%], html[dir="rtl"] [_nghost-%COMP%] .alert-success[_ngcontent-%COMP%]{box-shadow:inset -41px 0 #83b655}.alert-warning[_ngcontent-%COMP%]{background-color:#fcf8e1;border:1px solid #f6c342}html[dir="ltr"][_nghost-%COMP%] .alert-warning[_ngcontent-%COMP%], html[dir="ltr"] [_nghost-%COMP%] .alert-warning[_ngcontent-%COMP%]{box-shadow:inset 41px 0 #f6c342}html[dir="rtl"][_nghost-%COMP%] .alert-warning[_ngcontent-%COMP%], html[dir="rtl"] [_nghost-%COMP%] .alert-warning[_ngcontent-%COMP%]{box-shadow:inset -41px 0 #f6c342}.alert-info[_ngcontent-%COMP%]{background-color:#d7edf9;border:1px solid #179bd7}html[dir="ltr"][_nghost-%COMP%] .alert-info[_ngcontent-%COMP%], html[dir="ltr"] [_nghost-%COMP%] .alert-info[_ngcontent-%COMP%]{box-shadow:inset 41px 0 #179bd7}html[dir="rtl"][_nghost-%COMP%] .alert-info[_ngcontent-%COMP%], html[dir="rtl"] [_nghost-%COMP%] .alert-info[_ngcontent-%COMP%]{box-shadow:inset -41px 0 #179bd7}.alert[_ngcontent-%COMP%]{position:relative;border-radius:2px;padding:10px 30px 10px 50px}html[dir="rtl"][_nghost-%COMP%] .alert[_ngcontent-%COMP%], html[dir="rtl"] [_nghost-%COMP%] .alert[_ngcontent-%COMP%]{padding:10px 50px 10px 30px}.alert-message[_ngcontent-%COMP%]{color:#333;overflow-wrap:break-word;word-wrap:break-word;word-break:break-word}.alert-message[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{text-decoration:underline}.alert[_ngcontent-%COMP%] .close[_ngcontent-%COMP%]{top:-2px;position:relative;right:-21px}html[dir="rtl"][_nghost-%COMP%] .alert[_ngcontent-%COMP%] .close[_ngcontent-%COMP%], html[dir="rtl"] [_nghost-%COMP%] .alert[_ngcontent-%COMP%] .close[_ngcontent-%COMP%]{left:-21px;right:auto}.alert[_ngcontent-%COMP%] .type-icon[_ngcontent-%COMP%]{color:#f2dede;left:10px;position:absolute;-webkit-text-size-adjust:100%;text-size-adjust:100%;font-size:20px;line-height:20px;top:9px}html[dir="rtl"][_nghost-%COMP%] .alert[_ngcontent-%COMP%] .type-icon[_ngcontent-%COMP%], html[dir="rtl"] [_nghost-%COMP%] .alert[_ngcontent-%COMP%] .type-icon[_ngcontent-%COMP%]{left:auto;right:10px}.alert[_ngcontent-%COMP%] .close[_ngcontent-%COMP%]{opacity:.5}.alert-success[_ngcontent-%COMP%] .type-icon[_ngcontent-%COMP%]{color:#dff2d5}.alert-warning[_ngcontent-%COMP%] .type-icon[_ngcontent-%COMP%]{color:#fcf8e1}.alert-info[_ngcontent-%COMP%] .type-icon[_ngcontent-%COMP%]{color:#d7edf9}.alert[_ngcontent-%COMP%] .alert-message[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{margin-bottom:0;padding:0 30px}.alert-warning[_ngcontent-%COMP%] .alert-message[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{color:#8a6d3b}.alert-warning[_ngcontent-%COMP%] .alert-message[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{color:#333}.alert-success[_ngcontent-%COMP%] .alert-message[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{color:#3c763d}.alert-success[_ngcontent-%COMP%] .alert-message[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{color:#333}.alert-info[_ngcontent-%COMP%] .alert-message[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{color:#31708f}.alert-info[_ngcontent-%COMP%] .alert-message[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{color:#333}.alert-danger[_ngcontent-%COMP%] .alert-message[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{color:#a94442}.alert-danger[_ngcontent-%COMP%] .alert-message[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{color:#333}.alert[_ngcontent-%COMP%] .btn-more[_ngcontent-%COMP%]{padding:0;margin:0;line-height:1em;text-transform:none;color:#255783}'],data:{animation:[(0,x.X$)("openClose",[(0,x.SB)(W.new,(0,x.oB)({opacity:0})),(0,x.SB)(W.open,(0,x.oB)({opacity:1})),(0,x.SB)(W.closed,(0,x.oB)({opacity:0,transform:"translateX(25%)"})),(0,x.eR)(`${W.open} => ${W.closed}`,[(0,x.jt)("0.25s")]),(0,x.eR)(`${W.new} => ${W.open}`,[(0,x.jt)("0.25s")]),(0,x.eR)(`${W.closed} => ${W.open}`,[(0,x.jt)("0.25s")])])]}}),X})(),ne=(()=>{class X{}return X.ɵfac=function(U){return new(U||X)},X.ɵmod=i.oAB({type:X}),X.ɵinj=i.cJS({imports:[m.ez,R.PW,S.m]}),X})(),ft=(()=>{class X{constructor(U){this.locale=U}get position(){return this.locale.isLtr?Te:Ke}}return X.ɵfac=function(U){return new(U||X)(i.LFG(I.g))},X.ɵprov=i.Yz7({token:X,factory:X.ɵfac,providedIn:"root"}),X})(),St=(()=>{class X{constructor(U,Ve){this._alertService=U,this._positionService=Ve,this.alerts=this.alerts?this.alerts:[]}get hasAlerts(){return this.alerts.length>0}get positionClasses(){return this.inline?X.positionPrefix+ee.inline.toString():X.positionPrefix+this.position.toString()}get position(){return this._position.toString()}set position(U){this._position=((X,Se=ee.topRight)=>{if(X){const U=(X=>{const Se=Object.keys(ee),Ve=Object.values(ee).indexOf(X);return-1!==Ve?Se[Ve]:(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)})(X);if(U)return ee[U]}return Se})(U)}alertClosed(U){this._alertService.removeById(U.id,this.group)}ngOnInit(){this.group||(this.group=it.defaultGroup),this._position||(this._position=this._positionService.position),this._alertService.list(this.group).forEach((Ve=>this._addAlert(Ve))),this._groupEvents=this._alertService.alertEvents.pipe((0,P.h)((Ve=>Ve.group===this.group))),this._eventSubscription=this._groupEvents.subscribe({next:this._onAlertEvent.bind(this),error:console.error})}ngOnDestroy(){this._eventSubscription.unsubscribe()}_findAlertIndexById(U){return this.alerts.findIndex((Ve=>Ve.id===U))}_addAlert(U){return this.alerts.push(U),this.alerts}_removeAlert(U){const Ve=this._findAlertIndexById(U.id);return Ve>-1&&(this.alerts.splice(Ve,1),!0)}_clearAlerts(){this.alerts.splice(0,this.alerts.length)}_onAlertEvent(U){switch(U.type){case tt.add:this._addAlert(U.alert);break;case tt.clear:this._clearAlerts();break;case tt.remove:this._removeAlert(U.alert)}}}return X.positionPrefix="position-",X.ɵfac=function(U){return new(U||X)(i.Y36(it),i.Y36(ft))},X.ɵcmp=i.Xpm({type:X,selectors:[["cp-alert-list"]],inputs:{alerts:"alerts",group:"group",inline:"inline",position:"position"},decls:7,vars:3,consts:[[1,"alert-list-container",3,"ngClass"],["container",""],[1,"alert-list"],["list",""],["class","alert-container",4,"ngFor","ngForOf"],["class","alert-list-backdrop",3,"ngClass",4,"ngIf"],[1,"alert-container"],[3,"alert","close"],[1,"alert-list-backdrop",3,"ngClass"]],template:function(U,Ve){1&U&&(i.TgZ(0,"div")(1,"div",0,1)(3,"div",2,3),i.YNc(5,Dt,2,1,"div",4),i.qZA()(),i.YNc(6,Xe,1,1,"div",5),i.qZA()),2&U&&(i.xp6(1),i.Q6J("ngClass",Ve.positionClasses),i.xp6(4),i.Q6J("ngForOf",Ve.alerts),i.xp6(1),i.Q6J("ngIf",Ve.hasAlerts))},dependencies:[m.mk,m.sg,m.O5,j],styles:[".alert-list-container.position-inline[_ngcontent-%COMP%] .alert[_ngcontent-%COMP%]{margin-top:0;margin-bottom:5px}@media (min-width: 768px){.alert-list-container.position-inline[_ngcontent-%COMP%] .alert[_ngcontent-%COMP%]{margin-bottom:10px}}.alert-list-container.position-top-left[_ngcontent-%COMP%]{position:fixed;z-index:900;min-width:25%;max-width:100%;padding-left:1px;padding-right:1px;left:0}@media (max-width: 768px){.whostmgr[_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container.position-top-left[_ngcontent-%COMP%], .whostmgr [_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container.position-top-left[_ngcontent-%COMP%]{max-width:calc(100% - 218px)}}@media (max-width: 768px){.cpanel[_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container.position-top-left[_ngcontent-%COMP%], .cpanel [_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container.position-top-left[_ngcontent-%COMP%]{max-width:calc(100% - 50px)}}.alert-list-container.position-top-left.show-scroll-bar[_ngcontent-%COMP%]{overflow-y:scroll}.alert-list-container.position-top-left[_ngcontent-%COMP%] .alert-list[_ngcontent-%COMP%]{width:100%}@media (min-width: 768px){.alert-list-container.position-top-left[_ngcontent-%COMP%] .alert-list[_ngcontent-%COMP%]{max-width:500px}}.alert-list-container.position-top-left.show-scroll-bar[_ngcontent-%COMP%]{overflow-y:scroll}.whostmgr[_nghost-%COMP%] .alert-list-container.position-top-left[_ngcontent-%COMP%], .whostmgr [_nghost-%COMP%] .alert-list-container.position-top-left[_ngcontent-%COMP%]{top:70px}.cpanel[_nghost-%COMP%] .alert-list-container.position-top-left[_ngcontent-%COMP%], .cpanel [_nghost-%COMP%] .alert-list-container.position-top-left[_ngcontent-%COMP%]{top:30px}.webmail[_nghost-%COMP%] .alert-list-container.position-top-left[_ngcontent-%COMP%], .webmail [_nghost-%COMP%] .alert-list-container.position-top-left[_ngcontent-%COMP%]{top:52px}@media (min-width: 768px){.whostmgr[_nghost-%COMP%] .alert-list-container.position-top-left[_ngcontent-%COMP%], .whostmgr [_nghost-%COMP%] .alert-list-container.position-top-left[_ngcontent-%COMP%]{top:120px}.cpanel[_nghost-%COMP%] .alert-list-container.position-top-left[_ngcontent-%COMP%], .cpanel [_nghost-%COMP%] .alert-list-container.position-top-left[_ngcontent-%COMP%]{top:52px}}@media (max-width: 667px){.webmail[_nghost-%COMP%] .alert-list-container.position-top-left[_ngcontent-%COMP%], .webmail [_nghost-%COMP%] .alert-list-container.position-top-left[_ngcontent-%COMP%]{top:30px}}.alert-list-container.position-top-left[_ngcontent-%COMP%] .alert[_ngcontent-%COMP%]{margin-top:2px;margin-bottom:0}@media (min-width: 768px){.alert-list-container.position-top-left[_ngcontent-%COMP%] .alert[_ngcontent-%COMP%]{margin-top:10px}}.alert-list-container.position-top-left.show-scroll-bar[_ngcontent-%COMP%] .alert-list[_ngcontent-%COMP%]{margin-bottom:2px}@media (min-width: 768px){.alert-list-container.position-top-left.show-scroll-bar[_ngcontent-%COMP%] .alert-list[_ngcontent-%COMP%]{margin-bottom:10px}}@media (min-width: 768px){.alert-list-container.position-top-left[_ngcontent-%COMP%]{padding-left:10px;padding-right:0}}.alert-list-container.position-top-middle[_ngcontent-%COMP%]{position:fixed;z-index:900;min-width:25%;max-width:100%;padding-left:1px;padding-right:1px;left:50%;transform:translate(-50%)}@media (max-width: 768px){.whostmgr[_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container.position-top-middle[_ngcontent-%COMP%], .whostmgr [_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container.position-top-middle[_ngcontent-%COMP%]{max-width:calc(100% - 218px)}}@media (max-width: 768px){.cpanel[_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container.position-top-middle[_ngcontent-%COMP%], .cpanel [_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container.position-top-middle[_ngcontent-%COMP%]{max-width:calc(100% - 50px)}}.alert-list-container.position-top-middle.show-scroll-bar[_ngcontent-%COMP%]{overflow-y:scroll}.alert-list-container.position-top-middle[_ngcontent-%COMP%] .alert-list[_ngcontent-%COMP%]{width:100%}@media (min-width: 768px){.alert-list-container.position-top-middle[_ngcontent-%COMP%] .alert-list[_ngcontent-%COMP%]{max-width:500px}}.alert-list-container.position-top-middle.show-scroll-bar[_ngcontent-%COMP%]{overflow-y:scroll}.whostmgr[_nghost-%COMP%] .alert-list-container.position-top-middle[_ngcontent-%COMP%], .whostmgr [_nghost-%COMP%] .alert-list-container.position-top-middle[_ngcontent-%COMP%]{top:70px}.cpanel[_nghost-%COMP%] .alert-list-container.position-top-middle[_ngcontent-%COMP%], .cpanel [_nghost-%COMP%] .alert-list-container.position-top-middle[_ngcontent-%COMP%]{top:30px}.webmail[_nghost-%COMP%] .alert-list-container.position-top-middle[_ngcontent-%COMP%], .webmail [_nghost-%COMP%] .alert-list-container.position-top-middle[_ngcontent-%COMP%]{top:52px}@media (min-width: 768px){.whostmgr[_nghost-%COMP%] .alert-list-container.position-top-middle[_ngcontent-%COMP%], .whostmgr [_nghost-%COMP%] .alert-list-container.position-top-middle[_ngcontent-%COMP%]{top:120px}.cpanel[_nghost-%COMP%] .alert-list-container.position-top-middle[_ngcontent-%COMP%], .cpanel [_nghost-%COMP%] .alert-list-container.position-top-middle[_ngcontent-%COMP%]{top:52px}}@media (max-width: 667px){.webmail[_nghost-%COMP%] .alert-list-container.position-top-middle[_ngcontent-%COMP%], .webmail [_nghost-%COMP%] .alert-list-container.position-top-middle[_ngcontent-%COMP%]{top:30px}}.alert-list-container.position-top-middle[_ngcontent-%COMP%] .alert[_ngcontent-%COMP%]{margin-top:2px;margin-bottom:0}@media (min-width: 768px){.alert-list-container.position-top-middle[_ngcontent-%COMP%] .alert[_ngcontent-%COMP%]{margin-top:10px}}.alert-list-container.position-top-middle.show-scroll-bar[_ngcontent-%COMP%] .alert-list[_ngcontent-%COMP%]{margin-bottom:2px}@media (min-width: 768px){.alert-list-container.position-top-middle.show-scroll-bar[_ngcontent-%COMP%] .alert-list[_ngcontent-%COMP%]{margin-bottom:10px}}@media (min-width: 768px){.alert-list-container.position-top-middle[_ngcontent-%COMP%]{padding-left:0;padding-right:0}}.alert-list-container.position-top-right[_ngcontent-%COMP%]{position:fixed;z-index:900;min-width:25%;max-width:100%;padding-left:1px;padding-right:1px;right:0}@media (max-width: 768px){.whostmgr[_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container.position-top-right[_ngcontent-%COMP%], .whostmgr [_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container.position-top-right[_ngcontent-%COMP%]{max-width:calc(100% - 218px)}}@media (max-width: 768px){.cpanel[_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container.position-top-right[_ngcontent-%COMP%], .cpanel [_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container.position-top-right[_ngcontent-%COMP%]{max-width:calc(100% - 50px)}}.alert-list-container.position-top-right.show-scroll-bar[_ngcontent-%COMP%]{overflow-y:scroll}.alert-list-container.position-top-right[_ngcontent-%COMP%] .alert-list[_ngcontent-%COMP%]{width:100%}@media (min-width: 768px){.alert-list-container.position-top-right[_ngcontent-%COMP%] .alert-list[_ngcontent-%COMP%]{max-width:500px}}.alert-list-container.position-top-right.show-scroll-bar[_ngcontent-%COMP%]{overflow-y:scroll}.whostmgr[_nghost-%COMP%] .alert-list-container.position-top-right[_ngcontent-%COMP%], .whostmgr [_nghost-%COMP%] .alert-list-container.position-top-right[_ngcontent-%COMP%]{top:70px}.cpanel[_nghost-%COMP%] .alert-list-container.position-top-right[_ngcontent-%COMP%], .cpanel [_nghost-%COMP%] .alert-list-container.position-top-right[_ngcontent-%COMP%]{top:30px}.webmail[_nghost-%COMP%] .alert-list-container.position-top-right[_ngcontent-%COMP%], .webmail [_nghost-%COMP%] .alert-list-container.position-top-right[_ngcontent-%COMP%]{top:52px}@media (min-width: 768px){.whostmgr[_nghost-%COMP%] .alert-list-container.position-top-right[_ngcontent-%COMP%], .whostmgr [_nghost-%COMP%] .alert-list-container.position-top-right[_ngcontent-%COMP%]{top:120px}.cpanel[_nghost-%COMP%] .alert-list-container.position-top-right[_ngcontent-%COMP%], .cpanel [_nghost-%COMP%] .alert-list-container.position-top-right[_ngcontent-%COMP%]{top:52px}}@media (max-width: 667px){.webmail[_nghost-%COMP%] .alert-list-container.position-top-right[_ngcontent-%COMP%], .webmail [_nghost-%COMP%] .alert-list-container.position-top-right[_ngcontent-%COMP%]{top:30px}}.alert-list-container.position-top-right[_ngcontent-%COMP%] .alert[_ngcontent-%COMP%]{margin-top:2px;margin-bottom:0}@media (min-width: 768px){.alert-list-container.position-top-right[_ngcontent-%COMP%] .alert[_ngcontent-%COMP%]{margin-top:10px}}.alert-list-container.position-top-right.show-scroll-bar[_ngcontent-%COMP%] .alert-list[_ngcontent-%COMP%]{margin-bottom:2px}@media (min-width: 768px){.alert-list-container.position-top-right.show-scroll-bar[_ngcontent-%COMP%] .alert-list[_ngcontent-%COMP%]{margin-bottom:10px}}@media (min-width: 768px){.alert-list-container.position-top-right[_ngcontent-%COMP%]{padding-left:0;padding-right:10px}}.alert-list-container.position-middle-left[_ngcontent-%COMP%]{position:fixed;z-index:900;min-width:25%;max-width:100%;padding-left:1px;padding-right:1px;top:50%;transform:translateY(-50%);left:0}@media (max-width: 768px){.whostmgr[_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container.position-middle-left[_ngcontent-%COMP%], .whostmgr [_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container.position-middle-left[_ngcontent-%COMP%]{max-width:calc(100% - 218px)}}@media (max-width: 768px){.cpanel[_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container.position-middle-left[_ngcontent-%COMP%], .cpanel [_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container.position-middle-left[_ngcontent-%COMP%]{max-width:calc(100% - 50px)}}.alert-list-container.position-middle-left.show-scroll-bar[_ngcontent-%COMP%]{overflow-y:scroll}.alert-list-container.position-middle-left[_ngcontent-%COMP%] .alert-list[_ngcontent-%COMP%]{width:100%}@media (min-width: 768px){.alert-list-container.position-middle-left[_ngcontent-%COMP%] .alert-list[_ngcontent-%COMP%]{max-width:500px}}.alert-list-container.position-middle-left.show-scroll-bar[_ngcontent-%COMP%]{overflow-y:scroll}.alert-list-container.position-middle-left[_ngcontent-%COMP%] .alert[_ngcontent-%COMP%]{margin-top:1px;margin-bottom:1px}@media (min-width: 768px){.alert-list-container.position-middle-left[_ngcontent-%COMP%] .alert[_ngcontent-%COMP%]{margin-bottom:5px;margin-top:5px}}@media (min-width: 768px){.alert-list-container.position-middle-left[_ngcontent-%COMP%]{padding-left:10px;padding-right:0}}.alert-list-backdrop.position-middle-middle[_ngcontent-%COMP%]{position:fixed;inset:0;z-index:899;overflow:hidden;outline:0;background-color:#000;opacity:.5}.alert-list-container.position-middle-middle[_ngcontent-%COMP%]{position:fixed;z-index:900;min-width:25%;max-width:100%;padding-left:1px;padding-right:1px;top:50%;transform:translateY(-50%);left:50%;transform:translate(-50%)}@media (max-width: 768px){.whostmgr[_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container.position-middle-middle[_ngcontent-%COMP%], .whostmgr [_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container.position-middle-middle[_ngcontent-%COMP%]{max-width:calc(100% - 218px)}}@media (max-width: 768px){.cpanel[_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container.position-middle-middle[_ngcontent-%COMP%], .cpanel [_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container.position-middle-middle[_ngcontent-%COMP%]{max-width:calc(100% - 50px)}}.alert-list-container.position-middle-middle.show-scroll-bar[_ngcontent-%COMP%]{overflow-y:scroll}.alert-list-container.position-middle-middle[_ngcontent-%COMP%] .alert-list[_ngcontent-%COMP%]{width:100%}@media (min-width: 768px){.alert-list-container.position-middle-middle[_ngcontent-%COMP%] .alert-list[_ngcontent-%COMP%]{max-width:500px}}.alert-list-container.position-middle-middle.show-scroll-bar[_ngcontent-%COMP%]{overflow-y:scroll}.alert-list-container.position-middle-middle[_ngcontent-%COMP%] .alert[_ngcontent-%COMP%]{margin-top:1px;margin-bottom:1px}@media (min-width: 768px){.alert-list-container.position-middle-middle[_ngcontent-%COMP%] .alert[_ngcontent-%COMP%]{margin-bottom:5px;margin-top:5px}}@media (min-width: 768px){.alert-list-container.position-middle-middle[_ngcontent-%COMP%]{padding-left:0;padding-right:0}}.alert-list-container.position-middle-right[_ngcontent-%COMP%]{position:fixed;z-index:900;min-width:25%;max-width:100%;padding-left:1px;padding-right:1px;top:50%;transform:translateY(-50%);right:0}@media (max-width: 768px){.whostmgr[_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container.position-middle-right[_ngcontent-%COMP%], .whostmgr [_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container.position-middle-right[_ngcontent-%COMP%]{max-width:calc(100% - 218px)}}@media (max-width: 768px){.cpanel[_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container.position-middle-right[_ngcontent-%COMP%], .cpanel [_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container.position-middle-right[_ngcontent-%COMP%]{max-width:calc(100% - 50px)}}.alert-list-container.position-middle-right.show-scroll-bar[_ngcontent-%COMP%]{overflow-y:scroll}.alert-list-container.position-middle-right[_ngcontent-%COMP%] .alert-list[_ngcontent-%COMP%]{width:100%}@media (min-width: 768px){.alert-list-container.position-middle-right[_ngcontent-%COMP%] .alert-list[_ngcontent-%COMP%]{max-width:500px}}.alert-list-container.position-middle-right.show-scroll-bar[_ngcontent-%COMP%]{overflow-y:scroll}.alert-list-container.position-middle-right[_ngcontent-%COMP%] .alert[_ngcontent-%COMP%]{margin-top:1px;margin-bottom:1px}@media (min-width: 768px){.alert-list-container.position-middle-right[_ngcontent-%COMP%] .alert[_ngcontent-%COMP%]{margin-bottom:5px;margin-top:5px}}@media (min-width: 768px){.alert-list-container.position-middle-right[_ngcontent-%COMP%]{padding-left:0;padding-right:10px}}.alert-list-container.position-bottom-left[_ngcontent-%COMP%]{position:fixed;z-index:900;min-width:25%;max-width:100%;padding-left:1px;padding-right:1px;bottom:0;left:0}@media (max-width: 768px){.whostmgr[_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container.position-bottom-left[_ngcontent-%COMP%], .whostmgr [_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container.position-bottom-left[_ngcontent-%COMP%]{max-width:calc(100% - 218px)}}@media (max-width: 768px){.cpanel[_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container.position-bottom-left[_ngcontent-%COMP%], .cpanel [_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container.position-bottom-left[_ngcontent-%COMP%]{max-width:calc(100% - 50px)}}.alert-list-container.position-bottom-left.show-scroll-bar[_ngcontent-%COMP%]{overflow-y:scroll}.alert-list-container.position-bottom-left[_ngcontent-%COMP%] .alert-list[_ngcontent-%COMP%]{width:100%}@media (min-width: 768px){.alert-list-container.position-bottom-left[_ngcontent-%COMP%] .alert-list[_ngcontent-%COMP%]{max-width:500px}}.alert-list-container.position-bottom-left.show-scroll-bar[_ngcontent-%COMP%]{overflow-y:scroll}.alert-list-container.position-bottom-left[_ngcontent-%COMP%] .alert[_ngcontent-%COMP%]{margin-top:0;margin-bottom:2px}@media (min-width: 768px){.alert-list-container.position-bottom-left[_ngcontent-%COMP%] .alert[_ngcontent-%COMP%]{margin-bottom:10px}}.alert-list-container.position-bottom-left.show-scroll-bar[_ngcontent-%COMP%] .alert-list[_ngcontent-%COMP%]{margin-top:2px}@media (min-width: 768px){.alert-list-container.position-bottom-left.show-scroll-bar[_ngcontent-%COMP%] .alert-list[_ngcontent-%COMP%]{margin-top:10px}}@media (min-width: 768px){.alert-list-container.position-bottom-left[_ngcontent-%COMP%]{padding-left:10px;padding-right:0}}.alert-list-container.position-bottom-middle[_ngcontent-%COMP%]{position:fixed;z-index:900;min-width:25%;max-width:100%;padding-left:1px;padding-right:1px;bottom:0;left:50%;transform:translate(-50%)}@media (max-width: 768px){.whostmgr[_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container.position-bottom-middle[_ngcontent-%COMP%], .whostmgr [_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container.position-bottom-middle[_ngcontent-%COMP%]{max-width:calc(100% - 218px)}}@media (max-width: 768px){.cpanel[_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container.position-bottom-middle[_ngcontent-%COMP%], .cpanel [_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container.position-bottom-middle[_ngcontent-%COMP%]{max-width:calc(100% - 50px)}}.alert-list-container.position-bottom-middle.show-scroll-bar[_ngcontent-%COMP%]{overflow-y:scroll}.alert-list-container.position-bottom-middle[_ngcontent-%COMP%] .alert-list[_ngcontent-%COMP%]{width:100%}@media (min-width: 768px){.alert-list-container.position-bottom-middle[_ngcontent-%COMP%] .alert-list[_ngcontent-%COMP%]{max-width:500px}}.alert-list-container.position-bottom-middle.show-scroll-bar[_ngcontent-%COMP%]{overflow-y:scroll}.alert-list-container.position-bottom-middle[_ngcontent-%COMP%] .alert[_ngcontent-%COMP%]{margin-top:0;margin-bottom:2px}@media (min-width: 768px){.alert-list-container.position-bottom-middle[_ngcontent-%COMP%] .alert[_ngcontent-%COMP%]{margin-bottom:10px}}.alert-list-container.position-bottom-middle.show-scroll-bar[_ngcontent-%COMP%] .alert-list[_ngcontent-%COMP%]{margin-top:2px}@media (min-width: 768px){.alert-list-container.position-bottom-middle.show-scroll-bar[_ngcontent-%COMP%] .alert-list[_ngcontent-%COMP%]{margin-top:10px}}@media (min-width: 768px){.alert-list-container.position-bottom-middle[_ngcontent-%COMP%]{padding-left:0;padding-right:0}}.alert-list-container.position-bottom-right[_ngcontent-%COMP%]{position:fixed;z-index:900;min-width:25%;max-width:100%;padding-left:1px;padding-right:1px;bottom:0;right:0}@media (max-width: 768px){.whostmgr[_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container.position-bottom-right[_ngcontent-%COMP%], .whostmgr [_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container.position-bottom-right[_ngcontent-%COMP%]{max-width:calc(100% - 218px)}}@media (max-width: 768px){.cpanel[_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container.position-bottom-right[_ngcontent-%COMP%], .cpanel [_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container.position-bottom-right[_ngcontent-%COMP%]{max-width:calc(100% - 50px)}}.alert-list-container.position-bottom-right[_ngcontent-%COMP%] .alert-list[_ngcontent-%COMP%]{width:100%}@media (min-width: 768px){.alert-list-container.position-bottom-right[_ngcontent-%COMP%] .alert-list[_ngcontent-%COMP%]{max-width:500px}}.alert-list-container.position-bottom-right.show-scroll-bar[_ngcontent-%COMP%]{overflow-y:scroll}.alert-list-container.position-bottom-right[_ngcontent-%COMP%] .alert[_ngcontent-%COMP%]{margin-top:0;margin-bottom:2px}@media (min-width: 768px){.alert-list-container.position-bottom-right[_ngcontent-%COMP%] .alert[_ngcontent-%COMP%]{margin-bottom:10px}}.alert-list-container.position-bottom-right.show-scroll-bar[_ngcontent-%COMP%] .alert-list[_ngcontent-%COMP%]{margin-top:2px}@media (min-width: 768px){.alert-list-container.position-bottom-right.show-scroll-bar[_ngcontent-%COMP%] .alert-list[_ngcontent-%COMP%]{margin-top:10px}}@media (min-width: 768px){.alert-list-container.position-bottom-right[_ngcontent-%COMP%]{padding-left:0;padding-right:10px}}@media (max-width: 768px){.whostmgr.nav-collapsed[_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .whostmgr.nav-collapsed [_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .whostmgr[_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .whostmgr [_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .cpanel[_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .cpanel [_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .webmail[_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .webmail [_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline){position:fixed;z-index:900;min-width:25%;padding-left:1px;padding-right:1px;inset:0 auto auto 0;transform:none;max-width:100%;min-width:100%;width:100%}.whostmgr.nav-collapsed[_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline) .alert-list[_ngcontent-%COMP%], .whostmgr.nav-collapsed [_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline) .alert-list[_ngcontent-%COMP%], .whostmgr[_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container[_ngcontent-%COMP%]:not(.position-inline) .alert-list[_ngcontent-%COMP%], .whostmgr [_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container[_ngcontent-%COMP%]:not(.position-inline) .alert-list[_ngcontent-%COMP%], .cpanel[_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline) .alert-list[_ngcontent-%COMP%], .cpanel [_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline) .alert-list[_ngcontent-%COMP%], .webmail[_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline) .alert-list[_ngcontent-%COMP%], .webmail [_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline) .alert-list[_ngcontent-%COMP%]{width:100%}.whostmgr.nav-collapsed[_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline).show-scroll-bar, .whostmgr.nav-collapsed [_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline).show-scroll-bar, .whostmgr[_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container[_ngcontent-%COMP%]:not(.position-inline).show-scroll-bar, .whostmgr [_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container[_ngcontent-%COMP%]:not(.position-inline).show-scroll-bar, .cpanel[_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline).show-scroll-bar, .cpanel [_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline).show-scroll-bar, .webmail[_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline).show-scroll-bar, .webmail [_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline).show-scroll-bar{overflow-y:scroll}.whostmgr.nav-collapsed[_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline) .alert[_ngcontent-%COMP%], .whostmgr.nav-collapsed [_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline) .alert[_ngcontent-%COMP%], .whostmgr[_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container[_ngcontent-%COMP%]:not(.position-inline) .alert[_ngcontent-%COMP%], .whostmgr [_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container[_ngcontent-%COMP%]:not(.position-inline) .alert[_ngcontent-%COMP%], .cpanel[_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline) .alert[_ngcontent-%COMP%], .cpanel [_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline) .alert[_ngcontent-%COMP%], .webmail[_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline) .alert[_ngcontent-%COMP%], .webmail [_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline) .alert[_ngcontent-%COMP%]{margin-bottom:5px}}@media (max-width: 768px) and (max-width: 768px){.whostmgr.whostmgr.nav-collapsed[_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .whostmgr.whostmgr.nav-collapsed [_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .whostmgr .whostmgr.nav-collapsed[_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .whostmgr .whostmgr.nav-collapsed [_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .whostmgr.nav-collapsed .whostmgr[_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .whostmgr.nav-collapsed .whostmgr [_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .whostmgr.whostmgr[_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .whostmgr.whostmgr [_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .whostmgr .whostmgr[_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .whostmgr .whostmgr [_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .whostmgr .whostmgr[_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .whostmgr .whostmgr [_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .whostmgr.cpanel[_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .whostmgr.cpanel [_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .whostmgr .cpanel[_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .whostmgr .cpanel [_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .cpanel .whostmgr[_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .cpanel .whostmgr [_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .whostmgr.webmail[_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .whostmgr.webmail [_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .whostmgr .webmail[_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .whostmgr .webmail [_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .webmail .whostmgr[_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .webmail .whostmgr [_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline){max-width:calc(100% - 218px)}}@media (max-width: 768px) and (max-width: 768px){.cpanel.whostmgr.nav-collapsed[_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .cpanel.whostmgr.nav-collapsed [_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .cpanel .whostmgr.nav-collapsed[_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .cpanel .whostmgr.nav-collapsed [_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .whostmgr.nav-collapsed .cpanel[_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .whostmgr.nav-collapsed .cpanel [_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .cpanel.whostmgr[_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .cpanel.whostmgr [_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .cpanel .whostmgr[_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .cpanel .whostmgr [_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .whostmgr .cpanel[_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .whostmgr .cpanel [_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .cpanel.cpanel[_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .cpanel.cpanel [_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .cpanel .cpanel[_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .cpanel .cpanel [_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .cpanel .cpanel[_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .cpanel .cpanel [_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .cpanel.webmail[_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .cpanel.webmail [_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .cpanel .webmail[_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .cpanel .webmail [_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .webmail .cpanel[_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline), .webmail .cpanel [_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline){max-width:calc(100% - 50px)}}@media (max-width: 768px) and (min-width: 768px){.whostmgr.nav-collapsed[_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline) .alert-list[_ngcontent-%COMP%], .whostmgr.nav-collapsed [_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline) .alert-list[_ngcontent-%COMP%], .whostmgr[_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container[_ngcontent-%COMP%]:not(.position-inline) .alert-list[_ngcontent-%COMP%], .whostmgr [_nghost-%COMP%]:not(.nav-collapsed) .alert-list-container[_ngcontent-%COMP%]:not(.position-inline) .alert-list[_ngcontent-%COMP%], .cpanel[_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline) .alert-list[_ngcontent-%COMP%], .cpanel [_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline) .alert-list[_ngcontent-%COMP%], .webmail[_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline) .alert-list[_ngcontent-%COMP%], .webmail [_nghost-%COMP%] .alert-list-container[_ngcontent-%COMP%]:not(.position-inline) .alert-list[_ngcontent-%COMP%]{max-width:500px}}"]}),X})(),Vt=(()=>{class X{}return X.ɵfac=function(U){return new(U||X)},X.ɵmod=i.oAB({type:X}),X.ɵinj=i.cJS({imports:[m.ez,ne]}),X})()},2381:($,O,l)=>{"use strict";l.d(O,{oj:()=>R});var i=l(4650),m=l(1607),E=l(8664),P=l(6895);class I{constructor(N,Y,K){this.nodes=N,this.viewRef=Y,this.componentRef=K}}class x{constructor(N,Y,K,Re,ye,oe,at,Ie,Qe){this._viewContainerRef=N,this._renderer=Y,this._elementRef=K,this._injector=Re,this._componentFactoryResolver=ye,this._ngZone=oe,this._applicationRef=at,this._posService=Ie,this._document=Qe,this.onBeforeShow=new i.vpe,this.onShown=new i.vpe,this.onBeforeHide=new i.vpe,this.onHidden=new i.vpe,this._providers=[],this._isHiding=!1,this.containerDefaultSelector="body",this._listenOpts={},this._globalListener=Function.prototype}get isShown(){return!this._isHiding&&!!this._componentRef}attach(N){return this._componentFactory=this._componentFactoryResolver.resolveComponentFactory(N),this}to(N){return this.container=N||this.container,this}position(N){return N?(this.attachment=N.attachment||this.attachment,this._elementRef=N.target||this._elementRef,this):this}provide(N){return this._providers.push(N),this}show(N={}){if(this._subscribePositioning(),this._innerComponent=void 0,!this._componentRef){this.onBeforeShow.emit(),this._contentRef=this._getContentRef(N.content,N.context,N.initialState);const Y=i.zs3.create({providers:this._providers,parent:this._injector});if(!this._componentFactory)return;if(this._componentRef=this._componentFactory.create(Y,this._contentRef.nodes),this._applicationRef.attachView(this._componentRef.hostView),this.instance=this._componentRef.instance,Object.assign(this._componentRef.instance,N),this.container instanceof i.SBq&&this.container.nativeElement.appendChild(this._componentRef.location.nativeElement),"string"==typeof this.container&&typeof this._document<"u"){const K=this._document.querySelector(this.container)||this._document.querySelector(this.containerDefaultSelector);if(!K)return;K.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(N.id?{id:N.id}:this._componentRef.instance)}return this._registerOutsideClick(),this._componentRef}hide(N){if(!this._componentRef)return this;this._posService.deletePositionElement(this._componentRef.location),this.onBeforeHide.emit(this._componentRef.instance);const Y=this._componentRef.location.nativeElement;return Y.parentNode?.removeChild(Y),this._contentRef?.componentRef?.destroy(),this._viewContainerRef&&this._contentRef?.viewRef&&this._viewContainerRef.remove(this._viewContainerRef.indexOf(this._contentRef.viewRef)),this._contentRef?.viewRef?.destroy(),this._contentRef=void 0,this._componentRef=void 0,this._removeGlobalListener(),this.onHidden.emit(N?{id:N}:null),this}toggle(){this.isShown?this.hide():this.show()}dispose(){this.isShown&&this.hide(),this._unsubscribePositioning(),this._unregisterListenersFn&&this._unregisterListenersFn()}listen(N){this.triggers=N.triggers||this.triggers,this._listenOpts.outsideClick=N.outsideClick,this._listenOpts.outsideEsc=N.outsideEsc,N.target=N.target||this._elementRef?.nativeElement;const Y=this._listenOpts.hide=()=>N.hide?N.hide():void this.hide(),K=this._listenOpts.show=ye=>{N.show?N.show(ye):this.show(ye),ye()};return this._renderer&&(this._unregisterListenersFn=(0,m.wo)(this._renderer,{target:N.target,triggers:N.triggers,show:K,hide:Y,toggle:ye=>{this.isShown?Y():K(ye)}})),this}_removeGlobalListener(){this._globalListener&&(this._globalListener(),this._globalListener=Function.prototype)}attachInline(N,Y){return N&&Y&&(this._inlineViewRef=N.createEmbeddedView(Y)),this}_registerOutsideClick(){if(this._componentRef&&this._componentRef.location){if(this._listenOpts.outsideClick){const N=this._componentRef.location.nativeElement;setTimeout((()=>{this._renderer&&this._elementRef&&(this._globalListener=(0,m.Rg)(this._renderer,{targets:[N,this._elementRef.nativeElement],outsideClick:this._listenOpts.outsideClick,hide:()=>this._listenOpts.hide&&this._listenOpts.hide()}))}))}this._listenOpts.outsideEsc&&this._renderer&&this._elementRef&&(this._globalListener=(0,m.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(N,Y,K){if(!N)return new I([]);if(N instanceof i.Rgc){if(this._viewContainerRef){const oe=this._viewContainerRef.createEmbeddedView(N,Y);return oe.markForCheck(),new I([oe.rootNodes],oe)}const ye=N.createEmbeddedView({});return this._applicationRef.attachView(ye),new I([ye.rootNodes],ye)}if("function"==typeof N){const ye=this._componentFactoryResolver.resolveComponentFactory(N),oe=i.zs3.create({providers:this._providers,parent:this._injector}),at=ye.create(oe);return Object.assign(at.instance,K),this._applicationRef.attachView(at.hostView),new I([[at.location.nativeElement]],at.hostView,at)}const Re=this._renderer?[this._renderer.createText(`${N}`)]:[];return new I([Re])}}let R=(()=>{class k{constructor(Y,K,Re,ye,oe,at){this._componentFactoryResolver=Y,this._ngZone=K,this._injector=Re,this._posService=ye,this._applicationRef=oe,this._document=at}createLoader(Y,K,Re){return new x(K,Re,Y,this._injector,this._componentFactoryResolver,this._ngZone,this._applicationRef,this._posService,this._document)}}return k.ɵfac=function(Y){return new(Y||k)(i.LFG(i._Vd),i.LFG(i.R0b),i.LFG(i.zs3),i.LFG(E.sA),i.LFG(i.z2F),i.LFG(P.K0))},k.ɵprov=i.Yz7({token:k,factory:k.ɵfac,providedIn:"root"}),k})()},9245:($,O,l)=>{"use strict";l.d(O,{Hz:()=>at,Mq:()=>Ie,TO:()=>oe,mr:()=>Qe});var i=l(4650),m=l(9300),E=l(2381),P=l(1607),S=l(7340),I=l(6895),x=l(8664);const R=function(Fe){return{dropdown:Fe}},k=["*"];let N=(()=>{class Fe{constructor(){this.autoClose=!0,this.insideClick=!1,this.isAnimated=!1,this.stopOnClickPropagation=!1}}return Fe.ɵfac=function(ue){return new(ue||Fe)},Fe.ɵprov=i.Yz7({token:Fe,factory:Fe.ɵfac,providedIn:"root"}),Fe})(),Y=(()=>{class Fe{constructor(){this.direction="down",this.autoClose=!0,this.insideClick=!1,this.isAnimated=!1,this.stopOnClickPropagation=!1,this.isOpenChange=new i.vpe,this.isDisabledChange=new i.vpe,this.toggleClick=new i.vpe,this.counts=0,this.dropdownMenu=new Promise((ue=>{this.resolveDropdownMenu=ue}))}}return Fe.ɵfac=function(ue){return new(ue||Fe)},Fe.ɵprov=i.Yz7({token:Fe,factory:Fe.ɵfac,providedIn:"platform"}),Fe})();const Re=[(0,S.oB)({height:0,overflow:"hidden"}),(0,S.jt)("220ms cubic-bezier(0, 0, 0.2, 1)",(0,S.oB)({height:"*",overflow:"hidden"}))];let ye=(()=>{class Fe{constructor(ue,ge,nt,Pt,dt){this._state=ue,this.cd=ge,this._renderer=nt,this._element=Pt,this.isOpen=!1,this._factoryDropDownAnimation=dt.build(Re),this._subscription=ue.isOpenChange.subscribe((ht=>{this.isOpen=ht;const ce=this._element.nativeElement.querySelector(".dropdown-menu");this._renderer.addClass(this._element.nativeElement.querySelector("div"),"open"),ce&&!(0,P.XA)()&&(this._renderer.addClass(ce,"show"),(ce.classList.contains("dropdown-menu-right")||ce.classList.contains("dropdown-menu-end"))&&(this._renderer.setStyle(ce,"left","auto"),this._renderer.setStyle(ce,"right","0")),"up"===this.direction&&(this._renderer.setStyle(ce,"top","auto"),this._renderer.setStyle(ce,"transform","translateY(-101%)"))),ce&&this._state.isAnimated&&this._factoryDropDownAnimation.create(ce).play(),this.cd.markForCheck(),this.cd.detectChanges()}))}get direction(){return this._state.direction}_contains(ue){return this._element.nativeElement.contains(ue)}ngOnDestroy(){this._subscription.unsubscribe()}}return Fe.ɵfac=function(ue){return new(ue||Fe)(i.Y36(Y),i.Y36(i.sBO),i.Y36(i.Qsj),i.Y36(i.SBq),i.Y36(S._j))},Fe.ɵcmp=i.Xpm({type:Fe,selectors:[["bs-dropdown-container"]],hostAttrs:[2,"display","block","position","absolute","z-index","1040"],ngContentSelectors:k,decls:2,vars:9,consts:[[3,"ngClass"]],template:function(ue,ge){1&ue&&(i.F$t(),i.TgZ(0,"div",0),i.Hsn(1),i.qZA()),2&ue&&(i.ekj("dropup","up"===ge.direction)("show",ge.isOpen)("open",ge.isOpen),i.Q6J("ngClass",i.VKq(7,R,"down"===ge.direction)))},dependencies:[I.mk],encapsulation:2,changeDetection:0}),Fe})(),oe=(()=>{class Fe{constructor(ue,ge,nt,Pt,dt,ht,ce){this._elementRef=ue,this._renderer=ge,this._viewContainerRef=nt,this._cis=Pt,this._state=dt,this._config=ht,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=ce.build(Re),this._dropdown=this._cis.createLoader(this._elementRef,this._viewContainerRef,this._renderer).provide({provide:Y,useValue:this._state}),this.onShown=this._dropdown.onShown,this.onHidden=this._dropdown.onHidden,this.isOpenChange=this._state.isOpenChange}set autoClose(ue){this._state.autoClose=ue}get autoClose(){return this._state.autoClose}set isAnimated(ue){this._state.isAnimated=ue}get isAnimated(){return this._state.isAnimated}set insideClick(ue){this._state.insideClick=ue}get insideClick(){return this._state.insideClick}set isDisabled(ue){this._isDisabled=ue,this._state.isDisabledChange.emit(ue),ue&&this.hide()}get isDisabled(){return this._isDisabled}get isOpen(){return this._showInline?this._isInlineOpen:this._dropdown.isShown}set isOpen(ue){ue?this.show():this.hide()}get isBs4(){return!(0,P.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((ue=>this.toggle(ue)))),this._subscriptions.push(this._state.isDisabledChange.pipe((0,m.h)((ue=>ue))).subscribe((()=>this.hide()))))}show(){if(!this.isOpen&&!this.isDisabled){if(this._showInline)return this._inlinedMenu||this._state.dropdownMenu.then((ue=>{this._dropdown.attachInline(ue.viewContainer,ue.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((ue=>{const ge=this.dropup||typeof this.dropup<"u"&&this.dropup;this._state.direction=ge?"up":"down";const nt=this.placement||(ge?"top start":"bottom start");this._dropdown.attach(ye).to(this.container).position({attachment:nt}).show({content:ue.templateRef,placement:nt}),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(ue){return this.isOpen||!ue?this.hide():this.show()}_contains(ue){return this._elementRef.nativeElement.contains(ue.target)||this._dropdown.instance&&this._dropdown.instance._contains(ue.target)}navigationClick(ue){const ge=this._elementRef.nativeElement.querySelector(".dropdown-menu");if(!ge)return;const nt=this._elementRef.nativeElement.ownerDocument.activeElement,Pt=ge.querySelectorAll(".dropdown-item");switch(ue.keyCode){case 38:this._state.counts>0&&Pt[--this._state.counts].focus();break;case 40:this._state.counts+1<Pt.length&&(nt.classList!==Pt[this._state.counts].classList?Pt[this._state.counts].focus():Pt[++this._state.counts].focus())}ue.preventDefault()}ngOnDestroy(){for(const ue of this._subscriptions)ue.unsubscribe();this._dropdown.dispose()}addBs4Polyfills(){(0,P.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 ue=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",ue?"auto":"0"),this._renderer.setStyle(this._inlinedMenu.rootNodes[0],"right",ue?"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 Fe.ɵfac=function(ue){return new(ue||Fe)(i.Y36(i.SBq),i.Y36(i.Qsj),i.Y36(i.s_b),i.Y36(E.oj),i.Y36(Y),i.Y36(N),i.Y36(S._j))},Fe.ɵdir=i.lG2({type:Fe,selectors:[["","bsDropdown",""],["","dropdown",""]],hostVars:6,hostBindings:function(ue,ge){1&ue&&i.NdJ("keydown.arrowDown",(function(Pt){return ge.navigationClick(Pt)}))("keydown.arrowUp",(function(Pt){return ge.navigationClick(Pt)})),2&ue&&i.ekj("dropup",ge.dropup)("open",ge.isOpen)("show",ge.isOpen&&ge.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:[i._Bn([Y])]}),Fe})(),at=(()=>{class Fe{constructor(ue,ge,nt){ue.resolveDropdownMenu({templateRef:nt,viewContainer:ge})}}return Fe.ɵfac=function(ue){return new(ue||Fe)(i.Y36(Y),i.Y36(i.s_b),i.Y36(i.Rgc))},Fe.ɵdir=i.lG2({type:Fe,selectors:[["","bsDropdownMenu",""],["","dropdownMenu",""]],exportAs:["bs-dropdown-menu"]}),Fe})(),Ie=(()=>{class Fe{constructor(ue,ge,nt,Pt,dt){this._changeDetectorRef=ue,this._dropdown=ge,this._element=nt,this._renderer=Pt,this._state=dt,this.isOpen=!1,this._subscriptions=[],this._subscriptions.push(this._state.isOpenChange.subscribe((ht=>{this.isOpen=ht,ht?(this._documentClickListener=this._renderer.listen("document","click",(ce=>{this._state.autoClose&&2!==ce.button&&!this._element.nativeElement.contains(ce.target)&&(!this._state.insideClick||!this._dropdown._contains(ce))&&(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((ht=>this.isDisabled=ht||void 0)))}onClick(ue){this._state.stopOnClickPropagation&&ue.stopPropagation(),!this.isDisabled&&this._state.toggleClick.emit(!0)}ngOnDestroy(){this._documentClickListener&&this._documentClickListener(),this._escKeyUpListener&&this._escKeyUpListener();for(const ue of this._subscriptions)ue.unsubscribe()}}return Fe.ɵfac=function(ue){return new(ue||Fe)(i.Y36(i.sBO),i.Y36(oe),i.Y36(i.SBq),i.Y36(i.Qsj),i.Y36(Y))},Fe.ɵdir=i.lG2({type:Fe,selectors:[["","bsDropdownToggle",""],["","dropdownToggle",""]],hostVars:3,hostBindings:function(ue,ge){1&ue&&i.NdJ("click",(function(Pt){return ge.onClick(Pt)})),2&ue&&i.uIk("aria-haspopup",!0)("disabled",ge.isDisabled)("aria-expanded",ge.isOpen)},exportAs:["bs-dropdown-toggle"]}),Fe})(),Qe=(()=>{class Fe{static forRoot(){return{ngModule:Fe,providers:[E.oj,x.sA,Y]}}}return Fe.ɵfac=function(ue){return new(ue||Fe)},Fe.ɵmod=i.oAB({type:Fe}),Fe.ɵinj=i.cJS({imports:[I.ez]}),Fe})()},388:($,O,l)=>{"use strict";l.d(O,{tT:()=>wt,zk:()=>vn});var i=l(4650),m=l(1607),E=l(6895),P=l(5698);let I,S=(()=>{class He{constructor(){this._focusTrapStack=[]}register(me){this._focusTrapStack=this._focusTrapStack.filter((Mt=>Mt!==me));let $e=this._focusTrapStack;$e.length&&$e[$e.length-1]._disable(),$e.push(me),me._enable()}deregister(me){me._disable();const $e=this._focusTrapStack,Mt=$e.indexOf(me);-1!==Mt&&($e.splice(Mt,1),$e.length&&$e[$e.length-1]._enable())}}return He.ɵfac=function(me){return new(me||He)},He.ɵprov=i.Yz7({token:He,factory:He.ɵfac,providedIn:"root"}),He})();try{I=typeof Intl<"u"&&Intl.v8BreakIterator}catch{I=!1}let x=(()=>{class He{constructor(me){this._platformId=me,this.isBrowser=this._platformId?(0,E.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&&!I)&&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 He.ɵfac=function(me){return new(me||He)(i.LFG(i.Lbi))},He.ɵprov=i.Yz7({token:He,factory:He.ɵfac,providedIn:"root"}),He})(),k=(()=>{class He{constructor(me){this._platform=me}isDisabled(me){return me.hasAttribute("disabled")}isVisible(me){return function Y(He){return!!(He.offsetWidth||He.offsetHeight||"function"==typeof He.getClientRects&&He.getClientRects().length)}(me)&&"visible"===getComputedStyle(me).visibility}isTabbable(me){if(!this._platform.isBrowser)return!1;const $e=function N(He){try{return He.frameElement}catch{return null}}(function ue(He){return He.ownerDocument&&He.ownerDocument.defaultView||window}(me));if($e&&(-1===Qe($e)||!this.isVisible($e)))return!1;let Mt=me.nodeName.toLowerCase(),rn=Qe(me);return me.hasAttribute("contenteditable")?-1!==rn:!("iframe"===Mt||"object"===Mt||this._platform.WEBKIT&&this._platform.IOS&&!function Fe(He){let Pe=He.nodeName.toLowerCase(),me="input"===Pe&&He.type;return"text"===me||"password"===me||"select"===Pe||"textarea"===Pe}(me))&&("audio"===Mt?!!me.hasAttribute("controls")&&-1!==rn:"video"===Mt?-1!==rn&&(null!==rn||this._platform.FIREFOX||me.hasAttribute("controls")):me.tabIndex>=0)}isFocusable(me,$e){return function _t(He){return!function Re(He){return function oe(He){return"input"==He.nodeName.toLowerCase()}(He)&&"hidden"==He.type}(He)&&(function K(He){let Pe=He.nodeName.toLowerCase();return"input"===Pe||"select"===Pe||"button"===Pe||"textarea"===Pe}(He)||function ye(He){return function at(He){return"a"==He.nodeName.toLowerCase()}(He)&&He.hasAttribute("href")}(He)||He.hasAttribute("contenteditable")||Ie(He))}(me)&&!this.isDisabled(me)&&($e?.ignoreVisibility||this.isVisible(me))}}return He.ɵfac=function(me){return new(me||He)(i.LFG(x))},He.ɵprov=i.Yz7({token:He,factory:He.ɵfac,providedIn:"root"}),He})();function Ie(He){if(!He.hasAttribute("tabindex")||void 0===He.tabIndex)return!1;let Pe=He.getAttribute("tabindex");return"-32768"!=Pe&&!(!Pe||isNaN(parseInt(Pe,10)))}function Qe(He){if(!Ie(He))return null;const Pe=parseInt(He.getAttribute("tabindex")||"",10);return isNaN(Pe)?-1:Pe}function ge(He){return null!=He&&"false"!=`${He}`}class nt{constructor(Pe,me,$e,Mt,rn=!1){this._element=Pe,this._checker=me,this._ngZone=$e,this._document=Mt,this._hasAttached=!1,this.startAnchorListener=()=>this.focusLastTabbableElement(),this.endAnchorListener=()=>this.focusFirstTabbableElement(),this._enabled=!0,rn||this.attachAnchors()}get enabled(){return this._enabled}set enabled(Pe){this._enabled=Pe,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(Pe,this._startAnchor),this._toggleAnchorTabIndex(Pe,this._endAnchor))}destroy(){const Pe=this._startAnchor,me=this._endAnchor;Pe&&(Pe.removeEventListener("focus",this.startAnchorListener),Pe.parentNode&&Pe.parentNode.removeChild(Pe)),me&&(me.removeEventListener("focus",this.endAnchorListener),me.parentNode&&me.parentNode.removeChild(me)),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((Pe=>{this._executeOnStable((()=>Pe(this.focusInitialElement())))}))}focusFirstTabbableElementWhenReady(){return new Promise((Pe=>{this._executeOnStable((()=>Pe(this.focusFirstTabbableElement())))}))}focusLastTabbableElementWhenReady(){return new Promise((Pe=>{this._executeOnStable((()=>Pe(this.focusLastTabbableElement())))}))}_getRegionBoundary(Pe){let me=this._element.querySelectorAll(`[cdk-focus-region-${Pe}], [cdkFocusRegion${Pe}], [cdk-focus-${Pe}]`);for(let $e=0;$e<me.length;$e++)me[$e].hasAttribute(`cdk-focus-${Pe}`)?console.warn(`Found use of deprecated attribute 'cdk-focus-${Pe}', use 'cdkFocusRegion${Pe}' instead. The deprecated attribute will be removed in 8.0.0.`,me[$e]):me[$e].hasAttribute(`cdk-focus-region-${Pe}`)&&console.warn(`Found use of deprecated attribute 'cdk-focus-region-${Pe}', use 'cdkFocusRegion${Pe}' instead. The deprecated attribute will be removed in 8.0.0.`,me[$e]);return"start"==Pe?me.length?me[0]:this._getFirstTabbableElement(this._element):me.length?me[me.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(){const Pe=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(Pe){if(Pe.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",Pe),!this._checker.isFocusable(Pe)){const me=this._getFirstTabbableElement(Pe);return me?.focus(),!!me}return Pe.focus(),!0}return this.focusFirstTabbableElement()}focusFirstTabbableElement(){const Pe=this._getRegionBoundary("start");return Pe&&Pe.focus(),!!Pe}focusLastTabbableElement(){const Pe=this._getRegionBoundary("end");return Pe&&Pe.focus(),!!Pe}hasAttached(){return this._hasAttached}_getFirstTabbableElement(Pe){if(this._checker.isFocusable(Pe)&&this._checker.isTabbable(Pe))return Pe;let me=Pe.children||Pe.childNodes;for(let $e=0;$e<me.length;$e++){let Mt=me[$e].nodeType===this._document.ELEMENT_NODE?this._getFirstTabbableElement(me[$e]):null;if(Mt)return Mt}return null}_getLastTabbableElement(Pe){if(this._checker.isFocusable(Pe)&&this._checker.isTabbable(Pe))return Pe;let me=Pe.children||Pe.childNodes;for(let $e=me.length-1;$e>=0;$e--){let Mt=me[$e].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(me[$e]):null;if(Mt)return Mt}return null}_createAnchor(){const Pe=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,Pe),Pe.classList.add("cdk-visually-hidden"),Pe.classList.add("cdk-focus-trap-anchor"),Pe.setAttribute("aria-hidden","true"),Pe}_toggleAnchorTabIndex(Pe,me){Pe?me.setAttribute("tabindex","0"):me.removeAttribute("tabindex")}toggleAnchors(Pe){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(Pe,this._startAnchor),this._toggleAnchorTabIndex(Pe,this._endAnchor))}_executeOnStable(Pe){this._ngZone.isStable?Pe():this._ngZone.onStable.pipe((0,P.q)(1)).subscribe(Pe)}}let Pt=(()=>{class He{constructor(me,$e,Mt){this._checker=me,this._ngZone=$e,this._document=Mt}create(me,$e=!1){return new nt(me,this._checker,this._ngZone,this._document,$e)}}return He.ɵfac=function(me){return new(me||He)(i.LFG(k),i.LFG(i.R0b),i.LFG(E.K0))},He.ɵprov=i.Yz7({token:He,factory:He.ɵfac,providedIn:"root"}),He})(),dt=(()=>{class He{constructor(me,$e,Mt){this._elementRef=me,this._focusTrapFactory=$e,this._previouslyFocusedElement=null,this._autoCapture=!1,this._document=Mt,this.focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement,!0)}get enabled(){return this.focusTrap.enabled}set enabled(me){this.focusTrap.enabled=ge(me)}get autoCapture(){return this._autoCapture}set autoCapture(me){this._autoCapture=ge(me)}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(me){const $e=me.autoCapture;$e&&!$e.firstChange&&this.autoCapture&&this.focusTrap.hasAttached()&&this._captureFocus()}_captureFocus(){this._previouslyFocusedElement=this._document.activeElement,this.focusTrap.focusInitialElementWhenReady()}}return He.ɵfac=function(me){return new(me||He)(i.Y36(i.SBq),i.Y36(Pt),i.Y36(E.K0))},He.ɵdir=i.lG2({type:He,selectors:[["","focusTrap",""]],inputs:{enabled:["cdkTrapFocus","enabled"],autoCapture:["cdkTrapFocusAutoCapture","autoCapture"]},exportAs:["focusTrap"],features:[i.TTD]}),He})(),ht=(()=>{class He{static forRoot(){return{ngModule:He,providers:[S,x,k]}}}return He.ɵfac=function(me){return new(me||He)},He.ɵmod=i.oAB({type:He}),He.ɵinj=i.cJS({imports:[E.ez]}),He})();var ce=l(2381),ve=l(8664);const De=["*"];let Le=(()=>{class He{constructor(){this.hide=()=>{},this.setClass=()=>{}}}return He.ɵfac=function(me){return new(me||He)},He.ɵprov=i.Yz7({token:He,factory:He.ɵfac,providedIn:"platform"}),He})(),we=(()=>{class He{}return He.ɵfac=function(me){return new(me||He)},He.ɵprov=i.Yz7({token:He,factory:He.ɵfac,providedIn:"platform"}),He})();const de={backdrop:!0,keyboard:!0,focus:!0,show:!1,ignoreBackdropClick:!1,class:"",animated:!0,initialState:{},closeInterceptor:void 0},Ze=new i.OlP("override-default-config");let st=(()=>{class He{constructor(me,$e,Mt){this._element=$e,this._renderer=Mt,this.isShown=!1,this.isAnimated=!1,this.isModalHiding=!1,this.clickStartedInContent=!1,this.config=Object.assign({},me)}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,m.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(me){this.clickStartedInContent=me.target!==this._element.nativeElement}onClickStop(me){this.config.ignoreBackdropClick||"static"===this.config.backdrop||me.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(me){!this.isShown||((27===me.keyCode||"Escape"===me.key)&&me.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,m.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 He.ɵfac=function(me){return new(me||He)(i.Y36(we),i.Y36(i.SBq),i.Y36(i.Qsj))},He.ɵcmp=i.Xpm({type:He,selectors:[["modal-container"]],hostAttrs:["role","dialog","tabindex","-1",1,"modal"],hostVars:3,hostBindings:function(me,$e){1&me&&i.NdJ("mousedown",(function(rn){return $e.onClickStarted(rn)}))("click",(function(rn){return $e.onClickStop(rn)}))("popstate",(function(){return $e.onPopState()}),!1,i.Jf7)("keydown.esc",(function(rn){return $e.onEsc(rn)}),!1,i.Jf7),2&me&&i.uIk("aria-modal",!0)("aria-labelledby",$e.config.ariaLabelledBy)("aria-describedby",$e.config.ariaDescribedby)},ngContentSelectors:De,decls:3,vars:2,consts:[["role","document","focusTrap",""],[1,"modal-content"]],template:function(me,$e){1&me&&(i.F$t(),i.TgZ(0,"div",0)(1,"div",1),i.Hsn(2),i.qZA()()),2&me&&i.Tol("modal-dialog"+($e.config.class?" "+$e.config.class:""))},dependencies:[dt],encapsulation:2}),He})(),be=(()=>{class He{constructor(me,$e){this._isAnimated=!1,this._isShown=!1,this.element=me,this.renderer=$e}get isAnimated(){return this._isAnimated}set isAnimated(me){this._isAnimated=me}get isShown(){return this._isShown}set isShown(me){this._isShown=me,me?this.renderer.addClass(this.element.nativeElement,"in"):this.renderer.removeClass(this.element.nativeElement,"in"),(0,m.XA)()||(me?this.renderer.addClass(this.element.nativeElement,"show"):this.renderer.removeClass(this.element.nativeElement,"show"))}ngOnInit(){this.isAnimated&&(this.renderer.addClass(this.element.nativeElement,"fade"),m.cQ.reflow(this.element.nativeElement)),this.isShown=!0}}return He.ɵfac=function(me){return new(me||He)(i.Y36(i.SBq),i.Y36(i.Qsj))},He.ɵcmp=i.Xpm({type:He,selectors:[["bs-modal-backdrop"]],hostAttrs:[1,"modal-backdrop"],decls:0,vars:0,template:function(me,$e){},encapsulation:2}),He})(),pt=1,wt=(()=>{class He{constructor(me,$e,Mt){this.clf=$e,this.modalDefaultOption=Mt,this.onShow=new i.vpe,this.onShown=new i.vpe,this.onHide=new i.vpe,this.onHidden=new i.vpe,this.isBodyOverflowing=!1,this.originalBodyPadding=0,this.scrollbarWidth=0,this.modalsCount=0,this.loaders=[],this._backdropLoader=this.clf.createLoader(),this._renderer=me.createRenderer(null,null),this.config=Mt?Object.assign({},de,Mt):de}show(me,$e){this.modalsCount++,this._createLoaders();const Mt=$e?.id||pt++;return this.config=this.modalDefaultOption?Object.assign({},de,this.modalDefaultOption,$e):Object.assign({},de,$e),this.config.id=Mt,this._showBackdrop(),this.lastDismissReason=void 0,this._showModal(me)}hide(me){(1===this.modalsCount||null==me)&&(this._hideBackdrop(),this.resetScrollbar()),this.modalsCount=this.modalsCount>=1&&null!=me?this.modalsCount-1:0,setTimeout((()=>{this._hideModal(me),this.removeLoaders(me)}),this.config.animated?150:0)}_showBackdrop(){const me=!0===this.config.backdrop||"static"===this.config.backdrop,$e=!this.backdropRef||!this.backdropRef.instance.isShown;1===this.modalsCount&&(this.removeBackdrop(),me&&$e&&(this._backdropLoader.attach(be).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(me){const $e=this.loaders[this.loaders.length-1];if(this.config&&this.config.providers)for(const xt of this.config.providers)$e.provide(xt);const Mt=new Le,rn=$e.provide({provide:we,useValue:this.config}).provide({provide:Le,useValue:Mt}).attach(st).to("body");return Mt.hide=()=>rn.instance?.hide(),Mt.setClass=xt=>{rn.instance&&(rn.instance.config.class=xt)},Mt.onHidden=new i.vpe,Mt.onHide=new i.vpe,this.copyEvent($e.onBeforeHide,Mt.onHide),this.copyEvent($e.onHidden,Mt.onHidden),rn.show({content:me,isAnimated:this.config.animated,initialState:this.config.initialState,bsModalService:this,id:this.config.id}),rn.instance&&(rn.instance.level=this.getModalsCount(),Mt.content=$e.getInnerComponent(),Mt.id=rn.instance.config?.id),Mt}_hideModal(me){if(null!=me){const $e=this.loaders.findIndex((rn=>rn.instance?.config.id===me)),Mt=this.loaders[$e];Mt&&Mt.hide(me)}else this.loaders.forEach(($e=>{$e.instance&&$e.hide($e.instance.config.id)}))}getModalsCount(){return this.modalsCount}setDismissReason(me){this.lastDismissReason=me}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 me=this._renderer.createElement("div");this._renderer.addClass(me,"modal-scrollbar-measure"),this._renderer.appendChild(document.body,me);const $e=me.offsetWidth-me.clientWidth;return this._renderer.removeChild(document.body,me),$e}_createLoaders(){const me=this.clf.createLoader();this.copyEvent(me.onBeforeShow,this.onShow),this.copyEvent(me.onShown,this.onShown),this.copyEvent(me.onBeforeHide,this.onHide),this.copyEvent(me.onHidden,this.onHidden),this.loaders.push(me)}removeLoaders(me){if(null!=me){const $e=this.loaders.findIndex((Mt=>Mt.instance?.config.id===me));$e>=0&&(this.loaders.splice($e,1),this.loaders.forEach(((Mt,rn)=>{Mt.instance&&(Mt.instance.level=rn+1)})))}else this.loaders.splice(0,this.loaders.length)}copyEvent(me,$e){me.subscribe((Mt=>{$e.emit(this.lastDismissReason||Mt)}))}}return He.ɵfac=function(me){return new(me||He)(i.LFG(i.FYo),i.LFG(ce.oj),i.LFG(Ze,8))},He.ɵprov=i.Yz7({token:He,factory:He.ɵfac,providedIn:"platform"}),He})();ht.forRoot();let vn=(()=>{class He{static forRoot(){return{ngModule:He,providers:[wt,ce.oj,ve.sA]}}static forChild(){return{ngModule:He,providers:[wt,ce.oj,ve.sA]}}}return He.ɵfac=function(me){return new(me||He)},He.ɵmod=i.oAB({type:He}),He.ɵinj=i.cJS({imports:[ht]}),He})()},8664:($,O,l)=>{"use strict";l.d(O,{Bz:()=>Ie,sA:()=>tt});var i=l(1607),m=l(4650),E=l(6895),P=l(7579),S=l(6451),I=l(4968),x=l(9646),R=l(4408),k=l(727);const N={schedule(F){let ee=requestAnimationFrame,he=cancelAnimationFrame;const{delegate:Te}=N;Te&&(ee=Te.requestAnimationFrame,he=Te.cancelAnimationFrame);const Ke=ee((ut=>{he=void 0,F(ut)}));return new k.w0((()=>he?.(Ke)))},requestAnimationFrame(...F){const{delegate:ee}=N;return(ee?.requestAnimationFrame||requestAnimationFrame)(...F)},cancelAnimationFrame(...F){const{delegate:ee}=N;return(ee?.cancelAnimationFrame||cancelAnimationFrame)(...F)},delegate:void 0};var K=l(7565);const ye=new class Re extends K.v{flush(ee){this._active=!0,this._scheduled=void 0;const{actions:he}=this;let Te,Ke=-1;ee=ee||he.shift();const ut=he.length;do{if(Te=ee.execute(ee.state,ee.delay))break}while(++Ke<ut&&(ee=he.shift()));if(this._active=!1,Te){for(;++Ke<ut&&(ee=he.shift());)ee.unsubscribe();throw Te}}}(class Y extends R.o{constructor(ee,he){super(ee,he),this.scheduler=ee,this.work=he}requestAsyncId(ee,he,Te=0){return null!==Te&&Te>0?super.requestAsyncId(ee,he,Te):(ee.actions.push(this),ee._scheduled||(ee._scheduled=N.requestAnimationFrame((()=>ee.flush(void 0)))))}recycleAsyncId(ee,he,Te=0){if(null!=Te&&Te>0||null==Te&&this.delay>0)return super.recycleAsyncId(ee,he,Te);0===ee.actions.length&&(N.cancelAnimationFrame(he),ee._scheduled=void 0)}});var at=(()=>{return(F=at||(at={})).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",at;var F})(),Ie=(()=>{return(F=Ie||(Ie={})).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",Ie;var F})();function Qe(F,ee){if(1!==F.nodeType)return[];const Te=F.ownerDocument.defaultView?.getComputedStyle(F,null);return ee?Te&&Te[ee]:Te}function Fe(F){if(!F)return document.documentElement;let Te,he=F?.offsetParent;for(;null===he&&F.nextElementSibling&&Te!==F.nextElementSibling;)Te=F.nextElementSibling,he=Te.offsetParent;const Ke=he&&he.nodeName;return Ke&&"BODY"!==Ke&&"HTML"!==Ke?he&&-1!==["TH","TD","TABLE"].indexOf(he.nodeName)&&"static"===Qe(he,"position")?Fe(he):he:Te?Te.ownerDocument.documentElement:document.documentElement}function ue(F){return null!==F.parentNode?ue(F.parentNode):F}function ge(F,ee){if(!(F&&F.nodeType&&ee&&ee.nodeType))return document.documentElement;const he=F.compareDocumentPosition(ee)&Node.DOCUMENT_POSITION_FOLLOWING,Te=he?F:ee,Ke=he?ee:F,ut=document.createRange();ut.setStart(Te,0),ut.setEnd(Ke,0);const Je=ut.commonAncestorContainer;if(F!==Je&&ee!==Je||Te.contains(Ke))return function _t(F){const{nodeName:ee}=F;return"BODY"!==ee&&("HTML"===ee||Fe(F.firstElementChild)===F)}(Je)?Je:Fe(Je);const vt=ue(F);return vt.host?ge(vt.host,ee):ge(F,ue(ee).host)}function nt(F){if(!F||!F.parentElement)return document.documentElement;let ee=F.parentElement;for(;ee?.parentElement&&"none"===Qe(ee,"transform");)ee=ee.parentElement;return ee||document.documentElement}function Pt(F,ee){const he="x"===ee?"Left":"Top",Te="Left"===he?"Right":"Bottom";return parseFloat(F[`border${he}Width`])+parseFloat(F[`border${Te}Width`])}function dt(F,ee,he,Te){return Math.max(ee[`offset${F}`],ee[`scroll${F}`],he[`client${F}`],he[`offset${F}`],he[`scroll${F}`],0)}function ht(F){const ee=F.body,he=F.documentElement;return{height:dt("Height",ee,he),width:dt("Width",ee,he)}}function ce(F){return{...F,right:(F.left||0)+F.width,bottom:(F.top||0)+F.height}}function De(F){return"number"==typeof F||"[object Number]"===Object.prototype.toString.call(F)}function Le(F){const ee=F.getBoundingClientRect();if(!(ee&&De(ee.top)&&De(ee.left)&&De(ee.bottom)&&De(ee.right)))return ee;const he={left:ee.left,top:ee.top,width:ee.right-ee.left,height:ee.bottom-ee.top},Te="HTML"===F.nodeName?ht(F.ownerDocument):void 0,Ke=Te?.width||F.clientWidth||De(ee.right)&&De(he.left)&&ee.right-he.left||0,ut=Te?.height||F.clientHeight||De(ee.bottom)&&De(he.top)&&ee.bottom-he.top||0;let Je=F.offsetWidth-Ke,vt=F.offsetHeight-ut;if(Je||vt){const Ct=Qe(F);Je-=Pt(Ct,"x"),vt-=Pt(Ct,"y"),he.width-=Je,he.height-=vt}return ce(he)}function Ce(F){return"HTML"===F.nodeName?F:F.parentNode||F.host}function we(F){if(!F)return document.body;switch(F.nodeName){case"HTML":case"BODY":return F.ownerDocument.body;case"#document":return F.body}const{overflow:ee,overflowX:he,overflowY:Te}=Qe(F);return/(auto|scroll|overlay)/.test(String(ee)+String(Te)+String(he))?F:we(Ce(F))}function de(F,ee,he=!1){const Te="HTML"===ee.nodeName,Ke=Le(F),ut=Le(ee),vt=(we(F),Qe(ee)),Ct=parseFloat(vt.borderTopWidth),Nt=parseFloat(vt.borderLeftWidth);he&&Te&&(ut.top=Math.max(ut.top??0,0),ut.left=Math.max(ut.left??0,0));const At=ce({top:(Ke.top??0)-(ut.top??0)-Ct,left:(Ke.left??0)-(ut.left??0)-Nt,width:Ke.width,height:Ke.height});if(At.marginTop=0,At.marginLeft=0,Te){const Yt=parseFloat(vt.marginTop),kt=parseFloat(vt.marginLeft);De(At.top)&&(At.top-=Ct-Yt),De(At.bottom)&&(At.bottom-=Ct-Yt),De(At.left)&&(At.left-=Nt-kt),De(At.right)&&(At.right-=Nt-kt),At.marginTop=Yt,At.marginLeft=kt}return At}function Ze(F,ee="top"){const he="top"===ee?"scrollTop":"scrollLeft",Te=F.nodeName;if("BODY"===Te||"HTML"===Te){const Ke=F.ownerDocument.documentElement;return(F.ownerDocument.scrollingElement||Ke)[he]}return F[he]}function Xe(F){const ee=F.nodeName;return"BODY"!==ee&&"HTML"!==ee&&("fixed"===Qe(F,"position")||Xe(Ce(F)))}function Me(F,ee,he=0,Te,Ke=!1){let ut={top:0,left:0};const Je=Ke?nt(F):ge(F,ee);if("viewport"===Te)ut=function Dt(F,ee=!1){const he=F.ownerDocument.documentElement,Te=de(F,he),Ke=Math.max(he.clientWidth,window.innerWidth||0),ut=Math.max(he.clientHeight,window.innerHeight||0),Je=ee?0:Ze(he),vt=ee?0:Ze(he,"left");return ce({top:Je-Number(Te?.top)+Number(Te?.marginTop),left:vt-Number(Te?.left)+Number(Te?.marginLeft),width:Ke,height:ut})}(Je,Ke);else{let vt;"scrollParent"===Te?(vt=we(Ce(ee)),"BODY"===vt.nodeName&&(vt=F.ownerDocument.documentElement)):vt="window"===Te?F.ownerDocument.documentElement:Te;const Ct=de(vt,Je,Ke);if(Ct&&"HTML"===vt.nodeName&&!Xe(Je)){const{height:Nt,width:At}=ht(F.ownerDocument);De(ut.top)&&De(Ct.top)&&De(Ct.marginTop)&&(ut.top+=Ct.top-Ct.marginTop),De(ut.top)&&(ut.bottom=Number(Nt)+Number(Ct.top)),De(ut.left)&&De(Ct.left)&&De(Ct.marginLeft)&&(ut.left+=Ct.left-Ct.marginLeft),De(ut.top)&&(ut.right=Number(At)+Number(Ct.left))}else Ct&&(ut=Ct)}return De(ut.left)&&(ut.left+=he),De(ut.top)&&(ut.top+=he),De(ut.right)&&(ut.right-=he),De(ut.bottom)&&(ut.bottom-=he),ut}function je({width:F,height:ee}){return F*ee}function st(F,ee,he,Te,Ke=["top","bottom","right","left"],ut="viewport",Je=0){if(-1===F.indexOf("auto"))return F;const vt=Me(he,Te,Je,ut),Ct={top:{width:vt?.width??0,height:(ee?.top??0)-(vt?.top??0)},right:{width:(vt?.right??0)-(ee?.right??0),height:vt?.height??0},bottom:{width:vt?.width??0,height:(vt?.bottom??0)-(ee?.bottom??0)},left:{width:(ee.left??0)-(vt?.left??0),height:vt?.height??0}},Nt=Object.keys(Ct).map((lt=>({position:lt,...Ct[lt],area:je(Ct[lt])}))).sort(((lt,un)=>un.area-lt.area));let At=Nt.filter((({width:lt,height:un})=>lt>=he.clientWidth&&un>=he.clientHeight));At=At.filter((({position:lt})=>Ke.some((un=>un===lt))));const Yt=At.length>0?At[0].position:Nt[0].position,kt=F.split(" ")[1];return he.className=he.className.replace(/bs-tooltip-auto/g,`bs-tooltip-${(0,i.Wl)().isBs5?Ie[Yt]:Yt}`),Yt+(kt?`-${kt}`:"")}const ze=(F,ee=0)=>F?parseFloat(F):ee;function pt(F){const he=F.ownerDocument.defaultView?.getComputedStyle(F),Te=ze(he?.marginTop)+ze(he?.marginBottom),Ke=ze(he?.marginLeft)+ze(he?.marginRight);return{width:Number(F.offsetWidth)+Ke,height:Number(F.offsetHeight)+Te}}function wt(F,ee,he){return de(ee,he?nt(F):ge(F,ee),he)}function Zt(F,ee,he){const Te=he.split(" ")[0],Ke=pt(F),ut={width:Ke.width,height:Ke.height},Je=-1!==["right","left"].indexOf(Te),vt=Je?"top":"left",Ct=Je?"left":"top",Nt=Je?"height":"width",At=Je?"width":"height";return ut[vt]=(ee[vt]??0)+ee[Nt]/2-Ke[Nt]/2,ut[Ct]=Te===Ct?(ee[Ct]??0)-Ke[At]:ee[function Ae(F){const ee={left:"right",right:"left",bottom:"top",top:"bottom"};return F.replace(/left|right|bottom|top/g,(he=>ee[he]))}(Ct)]??0,ut}function vn(F,ee){return!!F.modifiers[ee]?.enabled}const He={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 Pe(F,ee){return!!(0,i.Wl)().isBs5&&He[ee].includes(F)}function Mt(F,ee,he){!F||!ee||Object.keys(ee).forEach((Te=>{let Ke="";-1!==["width","height","top","right","bottom","left"].indexOf(Te)&&function ve(F){return""!==F&&!isNaN(parseFloat(F))&&isFinite(Number(F))}(ee[Te])&&(Ke="px"),he?he.setStyle(F,Te,`${String(ee[Te])}${Ke}`):F.style[Te]=String(ee[Te])+Ke}))}function rn(F){let ee=F.offsets.target;const he=F.instance.target.querySelector(".arrow");if(!he)return F;const Te=-1!==["left","right"].indexOf(F.placement.split(" ")[0]),Ke=Te?"height":"width",ut=Te?"Top":"Left",Je=ut.toLowerCase(),vt=Te?"left":"top",Ct=Te?"bottom":"right",Nt=pt(he)[Ke],At=F.placement.split(" ")[1];(F.offsets.host[Ct]??0)-Nt<(ee[Je]??0)&&(ee[Je]-=(ee[Je]??0)-((F.offsets.host[Ct]??0)-Nt)),Number(F.offsets.host[Je])+Number(Nt)>(ee[Ct]??0)&&(ee[Je]+=Number(F.offsets.host[Je])+Number(Nt)-Number(ee[Ct])),ee=ce(ee);const Yt=Qe(F.instance.target),kt=parseFloat(Yt[`margin${ut}`])||0,lt=parseFloat(Yt[`border${ut}Width`])||0;let un;if(At){const Cn=parseFloat(Yt.borderRadius)||0,Xt=Number(kt+lt+Cn);un=Je===At?Number(F.offsets.host[Je])+Xt:Number(F.offsets.host[Je])+Number(F.offsets.host[Ke]-Xt)}else un=Number(F.offsets.host[Je])+Number(F.offsets.host[Ke]/2-Nt/2);let mn=un-(ee[Je]??0)-kt-lt;return mn=Math.max(Math.min(ee[Ke]-(Nt+5),mn),0),F.offsets.arrow={[Je]:Math.round(mn),[vt]:""},F.instance.arrow=he,F}function xt(F){if(F.offsets.target=ce(F.offsets.target),!vn(F.options,"flip"))return F.offsets.target={...F.offsets.target,...Zt(F.instance.target,F.offsets.host,F.placement)},F;const ee=Me(F.instance.target,F.instance.host,0,"viewport",!1);let he=F.placement.split(" ")[0],Te=F.placement.split(" ")[1]||"";const vt=st("auto",F.offsets.host,F.instance.target,F.instance.host,F.options.allowedPositions),Ct=[he,vt];return Ct.forEach(((Nt,At)=>{if(he!==Nt||Ct.length===At+1)return;he=F.placement.split(" ")[0];const Yt="left"===he&&Math.floor(F.offsets.target.right??0)>Math.floor(F.offsets.host.left??0)||"right"===he&&Math.floor(F.offsets.target.left??0)<Math.floor(F.offsets.host.right??0)||"top"===he&&Math.floor(F.offsets.target.bottom??0)>Math.floor(F.offsets.host.top??0)||"bottom"===he&&Math.floor(F.offsets.target.top??0)<Math.floor(F.offsets.host.bottom??0),kt=Math.floor(F.offsets.target.left??0)<Math.floor(ee.left??0),lt=Math.floor(F.offsets.target.right??0)>Math.floor(ee.right??0),un=Math.floor(F.offsets.target.top??0)<Math.floor(ee.top??0),mn=Math.floor(F.offsets.target.bottom??0)>Math.floor(ee.bottom??0),Cn="left"===he&&kt||"right"===he&<||"top"===he&&un||"bottom"===he&&mn,Xt=-1!==["top","bottom"].indexOf(he),Lt=Xt&&"left"===Te&&kt||Xt&&"right"===Te&<||!Xt&&"left"===Te&&un||!Xt&&"right"===Te&&mn;(Yt||Cn||Lt)&&((Yt||Cn)&&(he=Ct[At+1]),Lt&&(Te=function Ne(F){return"right"===F?"left":"left"===F?"right":F}(Te)),F.placement=he+(Te?` ${Te}`:""),F.offsets.target={...F.offsets.target,...Zt(F.instance.target,F.offsets.host,F.placement)})})),F}function Vn(F){if(!vn(F.options,"preventOverflow"))return F;const ee="transform",he=F.instance.target.style,{top:Te,left:Ke,[ee]:ut}=he;he.top="",he.left="",he[ee]="";const Je=Me(F.instance.target,F.instance.host,0,F.options.modifiers.preventOverflow?.boundariesElement||"scrollParent",!1);he.top=Te,he.left=Ke,he[ee]=ut;const Ct={primary(Nt){let At=F.offsets.target[Nt];return(F.offsets.target[Nt]??0)<(Je[Nt]??0)&&(At=Math.max(F.offsets.target[Nt]??0,Je[Nt]??0)),{[Nt]:At}},secondary(Nt){const At="right"===Nt,Yt=At?"left":"top";let lt=F.offsets.target[Yt];return(F.offsets.target[Nt]??0)>(Je[Nt]??0)&&(lt=Math.min(F.offsets.target[Yt]??0,(Je[Nt]??0)-F.offsets.target[At?"width":"height"])),{[Yt]:lt}}};return["left","right","top","bottom"].forEach((Nt=>{const At=-1!==["left","top","start"].indexOf(Nt)?Ct.primary:Ct.secondary;F.offsets.target={...F.offsets.target,...At(Nt)}})),F}function ae(F){const ee=F.placement,he=ee.split(" ")[0],Te=ee.split(" ")[1];if(Te){const{host:Ke,target:ut}=F.offsets,Je=-1!==["bottom","top"].indexOf(he),vt=Je?"left":"top",Ct=Je?"width":"height",Nt={start:{[vt]:Ke[vt]},end:{[vt]:(Ke[vt]??0)+Ke[Ct]-ut[Ct]}};F.offsets.target={...ut,[vt]:vt===Te?Nt.start[vt]:Nt.end[vt]}}return F}const ot=new class ke{position(ee,he){return this.offset(ee,he)}offset(ee,he){return wt(he,ee)}positionElements(ee,he,Te,Ke,ut){const Je=[xt,ae,Vn,rn],Ct=function Kn(F,ee,he,Te){if(!F||!ee)return;const Ke=wt(F,ee);!he.match(/^(auto)*\s*(left|right|top|bottom|start|end)*$/)&&!he.match(/^(left|right|top|bottom|start|end)*(?: (left|right|top|bottom|start|end))*$/)&&(he="auto");const ut=!!he.match(/auto/g);let Je=he.match(/auto\s(left|right|top|bottom|start|end)/)?he.split(" ")[1]||"auto":he;const vt=Je.match(/^(left|right|top|bottom|start|end)* ?(?!\1)(left|right|top|bottom|start|end)?/);return vt&&(Je=vt[1]+(vt[2]?` ${vt[2]}`:"")),-1!==["left right","right left","top bottom","bottom top"].indexOf(Je)&&(Je="auto"),Je=st(Je,Ke,F,ee,Te?Te.allowedPositions:void 0),{options:Te||{modifiers:{}},instance:{target:F,host:ee,arrow:void 0},offsets:{target:Zt(F,Ke,Je),host:Ke,arrow:void 0},positionFixed:!1,placement:Je,placementAuto:ut}}(he,ee,at[Te],ut);if(Ct)return Je.reduce(((Nt,At)=>At(Nt)),Ct)}};function xe(F,ee,he,Te,Ke,ut){const Je=ot.positionElements(F,ee,he,Te,Ke);if(!Je)return;const vt=function be(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);Mt(ee,{"will-change":"transform",top:"0px",left:"0px",transform:`translate3d(${vt.left}px, ${vt.top}px, 0px)`},ut),Je.instance.arrow&&Mt(Je.instance.arrow,Je.offsets.arrow,ut),function $e(F,ee){const he=F.instance.target;let Te=he.className;const Ke=(0,i.Wl)().isBs5?Ie[F.placement]:F.placement;F.placementAuto&&(Te=Te.replace(/bs-popover-auto/g,`bs-popover-${Ke}`),Te=Te.replace(/ms-2|me-2|mb-2|mt-2/g,""),Te=Te.replace(/bs-tooltip-auto/g,`bs-tooltip-${Ke}`),Te=Te.replace(/\sauto/g,` ${Ke}`),-1!==Te.indexOf("popover")&&(Te=Te+" "+function me(F){return(0,i.Wl)().isBs5?Pe(F,"end")?"ms-2":Pe(F,"start")?"me-2":Pe(F,"top")?"mb-2":Pe(F,"bottom")?"mt-2":"":""}(Ke)),-1!==Te.indexOf("popover")&&-1===Te.indexOf("popover-auto")&&(Te+=" popover-auto"),-1!==Te.indexOf("tooltip")&&-1===Te.indexOf("tooltip-auto")&&(Te+=" tooltip-auto")),Te=Te.replace(/left|right|top|bottom|end|start/g,`${Ke.split(" ")[0]}`),ee?ee.setAttribute(he,"class",Te):he.className=Te}(Je,ut)}let tt=(()=>{class F{constructor(he,Te,Ke){this.update$$=new P.x,this.positionElements=new Map,this.isDisabled=!1,(0,E.NF)(Ke)&&he.runOutsideAngular((()=>{this.triggerEvent$=(0,S.T)((0,I.R)(window,"scroll",{passive:!0}),(0,I.R)(window,"resize",{passive:!0}),(0,x.of)(0,ye),this.update$$),this.triggerEvent$.subscribe((()=>{this.isDisabled||this.positionElements.forEach((ut=>{xe(it(ut.target),it(ut.element),ut.attachment,ut.appendToBody,this.options,Te.createRenderer(null,null))}))}))}))}position(he){this.addPositionElement(he)}get event$(){return this.triggerEvent$}disable(){this.isDisabled=!0}enable(){this.isDisabled=!1}addPositionElement(he){this.positionElements.set(it(he.element),he)}calcPosition(){this.update$$.next(null)}deletePositionElement(he){this.positionElements.delete(it(he))}setOptions(he){this.options=he}}return F.ɵfac=function(he){return new(he||F)(m.LFG(m.R0b),m.LFG(m.FYo),m.LFG(m.Lbi))},F.ɵprov=m.Yz7({token:F,factory:F.ɵfac,providedIn:"root"}),F})();function it(F){return"string"==typeof F?document.querySelector(F):F instanceof m.SBq?F.nativeElement:F??null}},3194:($,O,l)=>{"use strict";l.d(O,{i9:()=>je,z8:()=>st});var i=l(4650),m=l(1607),E=l(8664);function N(be,Ae){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(be,Ae)}var Ce=l(2381),we=l(5963),de=l(6895);const Ze=["*"];let Dt=(()=>{class be{constructor(){this.adaptivePosition=!0,this.placement="top",this.triggers="hover focus",this.delay=0}}return be.ɵfac=function(Ne){return new(Ne||be)},be.ɵprov=i.Yz7({token:be,factory:be.ɵfac,providedIn:"root"}),be})(),Xe=(()=>{class be{constructor(Ne){Object.assign(this,Ne)}get _bsVersions(){return(0,m.Wl)()}ngAfterViewInit(){this.classMap={in:!1,fade:!1},this.placement&&(this._bsVersions.isBs5&&(this.placement=E.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 be.ɵfac=function(Ne){return new(Ne||be)(i.Y36(Dt))},be.ɵcmp=i.Xpm({type:be,selectors:[["bs-tooltip-container"]],hostAttrs:["role","tooltip"],hostVars:7,hostBindings:function(Ne,ze){2&Ne&&(i.uIk("id",ze.id),i.Tol("tooltip in tooltip-"+ze.placement+" bs-tooltip-"+ze.placement+" "+ze.placement+" "+ze.containerClass),i.ekj("show",!ze._bsVersions.isBs3)("bs3",ze._bsVersions.isBs3))},ngContentSelectors:Ze,decls:3,vars:0,consts:[[1,"tooltip-arrow","arrow"],[1,"tooltip-inner"]],template:function(Ne,ze){1&Ne&&(i.F$t(),i._UZ(0,"div",0),i.TgZ(1,"div",1),i.Hsn(2),i.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}),be})(),Me=0,je=(()=>{class be{constructor(Ne,ze,pt,wt,Zt,vn){this._elementRef=wt,this._renderer=Zt,this._positionService=vn,this.tooltipId=Me++,this.adaptivePosition=!0,this.tooltipChange=new i.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 i.vpe,this._tooltip=ze.createLoader(this._elementRef,Ne,this._renderer).provide({provide:Dt,useValue:pt}),Object.assign(this,pt),this.onShown=this._tooltip.onShown,this.onHidden=this._tooltip.onHidden}get isOpen(){return this._tooltip.isShown}set isOpen(Ne){Ne?this.show():this.hide()}set htmlContent(Ne){(0,m.O4)("tooltipHtml was deprecated, please use `tooltip` instead"),this.tooltip=Ne}set _placement(Ne){(0,m.O4)("tooltipPlacement was deprecated, please use `placement` instead"),this.placement=Ne}set _isOpen(Ne){(0,m.O4)("tooltipIsOpen was deprecated, please use `isOpen` instead"),this.isOpen=Ne}get _isOpen(){return(0,m.O4)("tooltipIsOpen was deprecated, please use `isOpen` instead"),this.isOpen}set _enable(Ne){(0,m.O4)("tooltipEnable was deprecated, please use `isDisabled` instead"),this.isDisabled=!Ne}get _enable(){return(0,m.O4)("tooltipEnable was deprecated, please use `isDisabled` instead"),this.isDisabled}set _appendToBody(Ne){(0,m.O4)('tooltipAppendToBody was deprecated, please use `container="body"` instead'),this.container=Ne?"body":this.container}get _appendToBody(){return(0,m.O4)('tooltipAppendToBody was deprecated, please use `container="body"` instead'),"body"===this.container}set _popupClass(Ne){(0,m.O4)("tooltipClass deprecated")}set _tooltipContext(Ne){(0,m.O4)("tooltipContext deprecated")}set _tooltipPopupDelay(Ne){(0,m.O4)("tooltipPopupDelay is deprecated, use `delay` instead"),this.delay=Ne}get _tooltipTrigger(){return(0,m.O4)("tooltipTrigger was deprecated, please use `triggers` instead"),this.triggers}set _tooltipTrigger(Ne){(0,m.O4)("tooltipTrigger was deprecated, please use `triggers` instead"),this.triggers=(Ne||"").toString()}ngOnInit(){this._tooltip.listen({triggers:this.triggers,show:()=>this.show()}),this.tooltipChange.subscribe((Ne=>{Ne||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 Ne=()=>{this._delayTimeoutId&&(this._delayTimeoutId=void 0),this._tooltip.attach(Xe).to(this.container).position({attachment:this.placement}).show({content:this.tooltip,placement:this.placement,containerClass:this.containerClass,id:`tooltip-${this.tooltipId}`})},ze=()=>{this._tooltipCancelShowFn&&this._tooltipCancelShowFn()};this.delay?(this._delaySubscription&&this._delaySubscription.unsubscribe(),this._delaySubscription=(0,we.H)(this.delay).subscribe((()=>{Ne(),ze()})),this.triggers&&(0,m.AL)(this.triggers).forEach((pt=>{!pt.close||(this._tooltipCancelShowFn=this._renderer.listen(this._elementRef.nativeElement,pt.close,(()=>{this._delaySubscription?.unsubscribe(),ze()})))}))):Ne()}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 be.ɵfac=function(Ne){return new(Ne||be)(i.Y36(i.s_b),i.Y36(Ce.oj),i.Y36(Dt),i.Y36(i.SBq),i.Y36(i.Qsj),i.Y36(E.sA))},be.ɵdir=i.lG2({type:be,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 R(be,Ae,Ne,ze){var Zt,pt=arguments.length,wt=pt<3?Ae:null===ze?ze=Object.getOwnPropertyDescriptor(Ae,Ne):ze;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)wt=Reflect.decorate(be,Ae,Ne,ze);else for(var vn=be.length-1;vn>=0;vn--)(Zt=be[vn])&&(wt=(pt<3?Zt(wt):pt>3?Zt(Ae,Ne,wt):Zt(Ae,Ne))||wt);pt>3&&wt&&Object.defineProperty(Ae,Ne,wt)}([(0,m.GU)(),N("design:type",Object)],be.prototype,"tooltip",void 0),be})(),st=(()=>{class be{static forRoot(){return{ngModule:be,providers:[Ce.oj,E.sA]}}}return be.ɵfac=function(Ne){return new(Ne||be)},be.ɵmod=i.oAB({type:be}),be.ɵinj=i.cJS({imports:[de.ez]}),be})()},1607:($,O,l)=>{"use strict";l.d(O,{AL:()=>P,C:()=>R,Dc:()=>Pt,GU:()=>Ce,O4:()=>Dt,Rg:()=>x,Wl:()=>ve,XA:()=>dt,cQ:()=>we,wo:()=>I});var i=l(4650);class m{constructor(Me,je){this.open=Me,this.close=je||Me}isManual(){return"manual"===this.open||"manual"===this.close}}const E={hover:["mouseover","mouseout"],focus:["focusin","focusout"]};function P(Xe,Me=E){const je=(Xe||"").trim();if(0===je.length)return[];const st=je.split(/\s+/).map((Ae=>Ae.split(":"))).map((Ae=>{const Ne=Me[Ae[0]]||Ae;return new m(Ne[0],Ne[1])})),be=st.filter((Ae=>Ae.isManual()));if(be.length>1)throw new Error("Triggers parse error: only one manual trigger is allowed");if(1===be.length&&st.length>1)throw new Error("Triggers parse error: manual trigger can't be mixed with other triggers");return st}function I(Xe,Me){const je=P(Me.triggers),st=Me.target;if(1===je.length&&je[0].isManual())return Function.prototype;const be=[],Ae=[],Ne=()=>{Ae.forEach((ze=>be.push(ze()))),Ae.length=0};return je.forEach((ze=>{const pt=ze.open===ze.close,wt=pt?Me.toggle:Me.show;if(!pt&&ze.close&&Me.hide){const Zt=Xe.listen(st,ze.close,Me.hide);Ae.push((()=>Zt))}wt&&be.push(Xe.listen(st,ze.open,(()=>wt(Ne))))})),()=>{be.forEach((ze=>ze()))}}function x(Xe,Me){return Me.outsideClick?Xe.listen("document","click",(je=>{Me.target&&Me.target.contains(je.target)||Me.targets&&Me.targets.some((st=>st.contains(je.target)))||Me.hide&&Me.hide()})):Function.prototype}function R(Xe,Me){return Me.outsideEsc?Xe.listen("document","keyup.esc",(je=>{Me.target&&Me.target.contains(je.target)||Me.targets&&Me.targets.some((st=>st.contains(je.target)))||Me.hide&&Me.hide()})):Function.prototype}const k=typeof window<"u"&&window||{};var ue=(()=>{return(Xe=ue||(ue={})).isBs3="bs3",Xe.isBs4="bs4",Xe.isBs5="bs5",ue;var Xe})();let ge;function nt(){if(typeof k.document>"u")return"bs4";const Xe=k.document.createElement("span");Xe.innerText="testing bs version",Xe.classList.add("d-none"),Xe.classList.add("pl-1"),k.document.head.appendChild(Xe);const Me=Xe.getBoundingClientRect(),je=k.getComputedStyle(Xe).paddingLeft;return!Me||Me&&0!==Me.top?(k.document.head.removeChild(Xe),"bs3"):je&&parseFloat(je)?(k.document.head.removeChild(Xe),"bs4"):(k.document.head.removeChild(Xe),"bs5")}function Pt(Xe){ge=Xe}function dt(){return typeof k>"u"||(typeof k.__theme>"u"?(ge||(ge=nt()),"bs3"===ge):"bs3"===k.__theme)}function ht(){return!dt()&&(ge||(ge=nt()),"bs4"===ge)}function ve(){return{isBs3:dt(),isBs4:ht(),isBs5:!dt()&&!ht()&&(ge||(ge=nt()),"bs5"===ge)}}function Ce(){return function(je,st){const be=` __${st}Value`;Object.defineProperty(je,st,{get(){return this[be]},set(Ae){const Ne=this[be];this[be]=Ae,Ne!==Ae&&this[st+"Change"]&&this[st+"Change"].emit(Ae)}})}}class we{static reflow(Me){}static getStyles(Me){let je=Me.ownerDocument.defaultView;return(!je||!je.opener)&&(je=k),je.getComputedStyle(Me)}static stackOverflowConfig(){const Me=function De(){const Xe=ve(),Me=Object.keys(Xe).find((je=>Xe[je]));return ue[Me]}();return{crossorigin:"bs3"!==Me?"anonymous":void 0,integrity:"bs5"===Me?"sha384-KyZXEAg3QhqLMpG8r+8fhAXLRk2vvoC2f3B09zVXn8CA5QIVfZOJ3BCsw2P0p/We":"bs4"===Me?"sha384-TX8t27EcRE3e/ihU7zmQxVncDAy5uIKz4rEkgIXeMed4M0jlfIDPvg6uqKI2xXr2":void 0,cdnLink:"bs5"===Me?"https://cdn.jsdelivr.net/npm/bootstrap@5.1.0/dist/css/bootstrap.min.css":"bs4"===Me?"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 de={},Ze=typeof console>"u"||!("warn"in console);function Dt(Xe){!(0,i.X6Q)()||Ze||Xe in de||(de[Xe]=!0,console.warn(Xe))}}}]);
Back to Directory
File Manager