Viewing File: /usr/local/cpanel/base/frontend/jupiter/clam-av/vendor.js
(self.webpackChunkclam_av=self.webpackChunkclam_av||[]).push([[502],{7343:(Ae,W,M)=>{"use strict";M.d(W,{o:()=>u});var u=function(O){return O[O.GET=0]="GET",O[O.HEAD=1]="HEAD",O[O.POST=2]="POST",O[O.PUT=3]="PUT",O[O.DELETE=4]="DELETE",O[O.CONNECT=5]="CONNECT",O[O.OPTIONS=6]="OPTIONS",O[O.TRACE=7]="TRACE",O[O.PATCH=8]="PATCH",O}(u||{})},3280:(Ae,W,M)=>{"use strict";M.d(W,{V:()=>Ye});var u=M(193),O=M.n(u),G=M(2584),Z=function(Ve){return Ve[Ve.Ascending=0]="Ascending",Ve[Ve.Descending=1]="Descending",Ve}(Z||{}),H=function(Ve){return Ve[Ve.Lexicographic=0]="Lexicographic",Ve[Ve.Ipv4=1]="Ipv4",Ve[Ve.Numeric=2]="Numeric",Ve[Ve.NumericZeroAsMax=3]="NumericZeroAsMax",Ve}(H||{});class z{constructor($,ie=Z.Ascending,pe=H.Lexicographic){if(!$)throw new Error("You must provide a non-empty column name for a Sort rule.");this.column=$,this.direction=ie,this.type=pe}}var j=function(Ve){return Ve[Ve.Contains=0]="Contains",Ve[Ve.Begins=1]="Begins",Ve[Ve.Ends=2]="Ends",Ve[Ve.Matches=3]="Matches",Ve[Ve.Equal=4]="Equal",Ve[Ve.NotEqual=5]="NotEqual",Ve[Ve.LessThan=6]="LessThan",Ve[Ve.LessThanUnlimited=7]="LessThanUnlimited",Ve[Ve.GreaterThan=8]="GreaterThan",Ve[Ve.GreaterThanUnlimited=9]="GreaterThanUnlimited",Ve[Ve.Defined=10]="Defined",Ve[Ve.Undefined=11]="Undefined",Ve}(j||{});class K{constructor($,ie,pe){if(!$)throw new Error("You must define a non-empty column name.");this.column=$,this.operator=ie,this.value=pe}}var ee=M(6802);const X=Number.POSITIVE_INFINITY;class ae{constructor($=1,ie=20){if($<=0)throw new Error("The page must be 1 or greater. This is the logical page, not a programming index.");if(ie<=0)throw new Error("The pageSize must be set to 'ALL' or a number > 0");this.page=$,this.pageSize=ie}all(){return this.pageSize===X}}class xe{constructor($=[]){this.headers=$}push($){this.headers.push($)}forEach($,ie){this.headers.forEach($,ie)}toArray(){const $=[];return this.headers.forEach(ie=>$.push({name:ie.name,value:ie.value})),$}toObject(){return this.headers.reduce(($,ie)=>($[ie.name]=ie.value,$),{})}}class de{constructor($){this._header=$}get name(){return this._header.name}get value(){return this._header.value}}Error,Error;class ut extends Error{constructor($){super($),this.name="WhmApiTokenInvalidError",Object.setPrototypeOf(this,ut.prototype)}}class ot extends Error{constructor($){super($),this.name="WhmApiTokenMismatchError",Object.setPrototypeOf(this,ot.prototype)}}class Nt extends de{constructor($,ie){if(!$)throw new ut("You must pass a valid token to the constructor.");if(!ie&&!/^.+:/.test($))throw new ut("You must pass a WHM username associated with the WHM API token.");if(!ie&&!/:.+$/.test($))throw new ut("You must pass a valid WHM API token.");super({name:"Authorization",value:`whm ${ie?ie+":":""}${$}`})}}class Xe{get usePager(){return this._usePager}constructor($){this.namespace="",this.method="",this.arguments=[],this.sorts=[],this.filters=[],this.columns=[],this.pager=new ae,this.headers=new xe,this._usePager=!1,this.defaultConfig={analytics:!1,json:!1},this.config=this.defaultConfig,$&&(this.method=$.method,$.namespace&&(this.namespace=$.namespace),$.arguments&&$.arguments.forEach(ie=>{this.addArgument(ie)}),$.sorts&&$.sorts.forEach(ie=>{this.addSort(ie)}),$.filters&&$.filters.forEach(ie=>{this.addFilter(ie)}),$.columns&&$.columns.forEach(ie=>this.addColumn(ie)),$.pager&&this.paginate($.pager),this.config=$.config?$.config:this.defaultConfig,$.headers&&$.headers.forEach(ie=>{this.addHeader(ie)}))}addArgument($){return this.arguments.push($ instanceof ee.e?$:new ee.e($.name,$.value)),this}addSort($){return this.sorts.push($ instanceof z?$:new z($.column,$.direction,$.type)),this}addFilter($){return this.filters.push($ instanceof K?$:new K($.column,$.operator,$.value)),this}addColumn($){return this.columns.push($),this}addHeader($){return this.headers.push($ instanceof de?$:new de($)),this}paginate($){return this.pager=$ instanceof ae?$:new ae($.page,$.pageSize||20),this._usePager=!0,this}}var He=M(7343);const Vt=new class ft{constructor(){this.map={},this.map.DEFAULT={verb:"DEFAULT",dataInBody:!0},[He.o.GET,He.o.DELETE,He.o.HEAD].forEach($=>{const ie=He.o[$].toString();this.map[ie]={verb:ie,dataInBody:!1}}),[He.o.POST,He.o.PUT,He.o.PATCH].forEach($=>{const ie=He.o[$].toString();this.map[ie]={verb:ie,dataInBody:!0}})}getRule($){const ie="string"==typeof $?$:He.o[$].toString();let pe=this.map[ie];return pe||(pe=this.map.DEFAULT),pe}};var it=M(6884);class Ye extends Xe{addHeader($){if($ instanceof Nt)throw new ot("A WhmApiTokenHeader cannot be used on a CpanelApiRequest");return super.addHeader($),this}_build($,ie){let pe="";return $.forEach((ye,Ce,ve)=>{pe+=ie.encode(ye.name,ye.value,Ce===ve.length-1)}),ie.separatorStart+pe+ie.separatorEnd}_generateArguments($){this.arguments.forEach(ie=>$.push(ie))}_generateSorts($){this.sorts.forEach((ie,pe)=>{0===pe&&$.push({name:"api.sort",value:G.x(!0)}),$.push({name:"api.sort_column_"+pe,value:ie.column}),$.push({name:"api.sort_reverse_"+pe,value:G.x(ie.direction!==Z.Ascending)}),$.push({name:"api.sort_method_"+pe,value:O()(H[ie.type])})})}_lookupFilterOperator($){switch($){case j.GreaterThanUnlimited:return"gt_handle_unlimited";case j.GreaterThan:return"gt";case j.LessThanUnlimited:return"lt_handle_unlimited";case j.LessThan:return"lt";case j.NotEqual:return"ne";case j.Equal:return"eq";case j.Defined:return"defined";case j.Undefined:return"undefined";case j.Matches:return"matches";case j.Ends:return"ends";case j.Begins:return"begins";case j.Contains:return"contains";default:throw new Error(`Unrecognized FilterOperator ${j[$]} for UAPI`)}}_generateFilters($){this.filters.forEach((ie,pe)=>{$.push({name:"api.filter_column_"+pe,value:ie.column}),$.push({name:"api.filter_type_"+pe,value:this._lookupFilterOperator(ie.operator)}),$.push({name:"api.filter_term_"+pe,value:ie.value})})}_traslatePageToStart($){return($.page-1)*$.pageSize+1}_generatePagination($){if(!this.usePager)return;const ie=this.pager.all();$.push({name:"api.paginate",value:G.x(!0)}),$.push({name:"api.paginate_start",value:ie?-1:this._traslatePageToStart(this.pager)}),ie||$.push({name:"api.paginate_size",value:this.pager.pageSize})}_generateConfiguration($){this.config&&this.config.analytics&&$.push({name:"api.analytics",value:G.x(this.config.analytics)})}constructor($){super($)}generate($){if(!this.namespace)throw new Error("You must define a namespace for the UAPI call before you generate a request");if(!this.method)throw new Error("You must define a method for the UAPI call before you generate a request");$||($={verb:He.o.POST,encoder:this.config.json?new it.uM:new it.CY}),$.encoder||($.encoder=this.config.json?new it.uM:new it.CY);const ie=Vt.getRule($.verb),pe={headers:new xe([{name:"Content-Type",value:$.encoder.contentType}]),url:["","execute",this.namespace,this.method].map(encodeURIComponent).join("/"),body:""},ye=[];this._generateArguments(ye),this._generateSorts(ye),this._generateFilters(ye),this._generatePagination(ye),this._generateConfiguration(ye);const Ce=this._build(ye,$.encoder);return ie.dataInBody?pe.body=Ce:pe.url+=$.verb===He.o.GET?`?${Ce}`:Ce,this.headers.forEach(ve=>{pe.headers.push({name:ve.name,value:ve.value})}),pe}}},6802:(Ae,W,M)=>{"use strict";M.d(W,{e:()=>O}),M(2584);class O{constructor(H,z){if(!H)throw new Error("You must provide a name when creating a name/value argument");this.name=H,this.value=z}}},6884:(Ae,W,M)=>{"use strict";M.d(W,{uM:()=>ut,CY:()=>gt});var u=M(9261),O=M.n(u),G=M(5972),Z=M.n(G),H=M(3705),z=M.n(H),j=M(9336),K=M.n(j),ee=M(8124),Y=M.n(ee),X=M(9812),ae=M.n(X),xe=M(9970),de=M.n(xe);function we(ot){if(O()(ot)||Z()(ot)||z()(ot)||K()(ot)||Y()(ot))return!0;if(!de()(ot)&&!ae()(ot))return!1;for(const Nt in ot)if(!we(ot[Nt]))return!1;return!0}class gt{constructor(){this.contentType="application/x-www-form-urlencoded",this.separatorStart="",this.separatorEnd="",this.recordSeparator="&"}encode(Nt,Xe,He){if(!Nt)throw new Error("Name must have a non-empty value");return`${Nt}=${encodeURIComponent(Xe.toString())}`+(He?"":this.recordSeparator)}}class ut{constructor(){this.contentType="application/json",this.separatorStart="{",this.separatorEnd="}",this.recordSeparator=","}encode(Nt,Xe,He){if(!Nt)throw new Error("Name must have a non-empty value");if(!we(Xe))throw new Error("The passed in value can not be serialized to JSON");return JSON.stringify(Nt)+":"+JSON.stringify(Xe)+(He?"":this.recordSeparator)}}},2584:(Ae,W,M)=>{"use strict";function u(Z){return Z?"1":"0"}M.d(W,{x:()=>u})},6381:(Ae,W,M)=>{"use strict";W.h=void 0;const O=M(2623);Object.defineProperty(W,"h",{enumerable:!0,get:function(){return O.Locale}})},7268:(Ae,W)=>{"use strict";Object.defineProperty(W,"__esModule",{value:!0}),W.CLDR=void 0,W.CLDR=class M{constructor(O){this.rawData=O,this.validateCLDR(this.rawData)}validateCLDR(O){if(!O)throw new Error("CLDR data cannot be null");if(!O.locale)throw new Error("CLDR data is missing locale information");if(!Object.prototype.hasOwnProperty.call(O,"functions")||Object.prototype.hasOwnProperty.call(O,"get_plural_form")||"function"!=typeof O.functions.get_plural_form)throw new Error("CLDR data is missing function get_plural_form");if(!Object.prototype.hasOwnProperty.call(O,"datetime_info"))throw new Error("CLDR data is missing datetime_info");if(!Object.prototype.hasOwnProperty.call(O,"misc_info"))throw new Error("CLDR data is missing misc_info");if(!Object.prototype.hasOwnProperty.call(O.misc_info,"cldr_formats"))throw new Error("CLDR data is missing cldr_formats");if(!Object.prototype.hasOwnProperty.call(O.misc_info,"orientation")||!Object.prototype.hasOwnProperty.call(O.misc_info.orientation,"characters"))throw new Error("CLDR data is missing orientation information");if(!Object.prototype.hasOwnProperty.call(O.misc_info,"delimiters"))throw new Error("CLDR data is missing delimiter information");return!0}getLocale(){return this.rawData.locale}getPluralForm(O,...G){return(0,this.rawData.functions.get_plural_form)(O,...G)}getDateTimeInfo(){return this.rawData.datetime_info}getFormats(){return this.rawData.misc_info.cldr_formats}getDelimiters(){return this.rawData.misc_info.delimiters}isRtl(){return"right-to-left"===this.rawData.misc_info.orientation.characters}isLtr(){return"left-to-right"===this.rawData.misc_info.orientation.characters}}},2623:(Ae,W,M)=>{"use strict";Object.defineProperty(W,"__esModule",{value:!0}),W.Locale=void 0;const u=M(7367),O=M(5736),G=M(8994),Z=M(3365),H=M(7268);W.Locale=class z{constructor(K,ee={}){this.lexicon=ee,this._cldr=new H.CLDR(K)}maketext(K,...ee){return(0,u.maketext)({cldr:this._cldr,lexicon:this.lexicon,template:K,args:ee})}localDatetime(K,ee){return this._datetimeWrapper(O.local_datetime,K,ee)}datetime(K,ee){return this._datetimeWrapper(O.datetime,K,ee)}_datetimeWrapper(K,ee,Y){return K({cldr:this._cldr,args:[ee,Y]})}getCurrentLocale(){return this._cldr.getLocale()}get isRtl(){return this._cldr.isRtl()}get isLtr(){return this._cldr.isLtr()}get cldr(){return this._cldr}numf(K,ee){return this._formatNumber(G.numf,K,ee)}format_bytes(K,ee){return this._formatNumber(G.format_bytes,K,ee)}_formatNumber(K,...ee){return this._callCLDRFunc(K,ee)}list_and(...K){return this._callCLDRFunc(Z.list_and,K)}list_and_quoted(...K){return this._callCLDRFunc(Z.list_and_quoted,K)}list_or(...K){return this._callCLDRFunc(Z.list_or,K)}list_or_quoted(...K){return this._callCLDRFunc(Z.list_or_quoted,K)}_callCLDRFunc(K,ee){return K({cldr:this._cldr,args:ee})}}},6049:(Ae,W,M)=>{"use strict";Object.defineProperty(W,"__esModule",{value:!0}),W.asis=void 0;const u=M(2500);W.asis=function O({args:[G,...Z]}){if(!G||Z.length>0||"string"!=typeof G)throw new Error("asis function accepts one non translatable string.");return(G=G.replace(/chr\((\d+)\)/g,function(H,z){return u.functions.chr(Number(z))})).replace(/amp\(\)/g,function(){return u.functions.amp()})}},6073:(Ae,W)=>{"use strict";Object.defineProperty(W,"__esModule",{value:!0}),W.boolean=void 0,W.boolean=function M({args:[u,O,G,Z]}){if(null==O||0===O.length||null==G||0===G.length)throw new Error("boolean function needs a valid whenTrue, whenFalse arguments.");return String(typeof u<"u"&&u?O:Z&&null==u?Z:G)}},5496:(Ae,W)=>{"use strict";Object.defineProperty(W,"__esModule",{value:!0}),W.comment=void 0,W.comment=function M({args:[u]}){return""}},5736:(Ae,W,M)=>{"use strict";Object.defineProperty(W,"__esModule",{value:!0}),W.local_datetime=W.datetime=W.dateToLocalDayNum=void 0;const u=M(7268),O=function(Y){const X=Y.getUTCDay()-1;return X<0?6:X},G=[7,1,2,3,4,5,6];function Z(Y,X){return(G[Y.getUTCDay()]+7-X)%7+1}W.dateToLocalDayNum=Z;const H=function(Y,X,ae){let xe="",de=0;return X=X||0,ae=String(void 0===ae?" ":ae),de=X-String(Y).length,de>0&&(xe=[...Array(de)].map(String.prototype.valueOf,ae).join("")),xe+Y};function z({cldr:Y,args:[X=new Date,ae],tzString:xe="UTC"}){if("number"==typeof X&&/^-?\d+$/.test(X.toString())&&(X=new Date(1e3*X)),!(X instanceof Date))throw new Error("The datetime function only accepts Date instances or integer values (unix timestamps) for the `date` parameter.");if(!(Y instanceof u.CLDR))throw new Error("The datetime function requires a valid CLDR instance for the `cldr` parameter.");const de=Y.getDateTimeInfo();return"string"==typeof ae&&/^(?:date|time|datetime|special)_format_/.test(ae)&&(ae=de[ae]),ae||(ae=de.date_format_long),ae.replace(/('[^']+')|(([a-zA-Z])\3*)/g,function(we,Ge,gt){return Ge?function j(Y){return Y.substr(1,Y.length-2)}(Ge):function K(Y,X,ae,xe){switch(ae){case"yy":return Math.abs(Y.getUTCFullYear()).toString().slice(-2);case"y":case"yyy":case"yyyy":return String(Math.abs(Y.getUTCFullYear()));case"MMMMM":return X.month_format_narrow[Y.getUTCMonth()];case"LLLLL":return X.month_stand_alone_narrow[Y.getUTCMonth()];case"MMMM":return X.month_format_wide[Y.getUTCMonth()];case"LLLL":return X.month_stand_alone_wide[Y.getUTCMonth()];case"MMM":return X.month_format_abbreviated[Y.getUTCMonth()];case"LLL":return X.month_stand_alone_abbreviated[Y.getUTCMonth()];case"MM":case"LL":return H((Y.getUTCMonth()+1).toString(),2,"0");case"M":case"L":return String(Y.getUTCMonth()+1);case"EEEE":return X.day_format_wide[O(Y)];case"EEE":case"EE":case"E":return X.day_format_abbreviated[O(Y)];case"EEEEE":return X.day_format_narrow[O(Y)];case"cccc":return X.day_stand_alone_wide[O(Y)];case"ccc":return X.day_stand_alone_abbreviated[O(Y)];case"cc":case"c":return String(Z(Y,Number(X.first_day_of_week)));case"ccccc":return X.day_stand_alone_narrow[O(Y)];case"dd":return H(Y.getUTCDate().toString(),2,"0");case"d":return String(Y.getUTCDate());case"h":case"hh":{let de=Y.getUTCHours();de>12&&(de-=12),0===de&&(de=12);const we="hh"===ae?H(de.toString(),2,"0"):de;return String(we)}case"H":return String(Y.getUTCHours());case"HH":return H(Y.getUTCHours().toString(),2,"0");case"m":return String(Y.getUTCMinutes());case"mm":return H(Y.getUTCMinutes().toString(),2,"0");case"s":return String(Y.getUTCSeconds());case"ss":return H(Y.getUTCSeconds().toString(),2,"0");case"a":return Y.getUTCHours()<12?X.am_pm_abbreviated[0]:X.am_pm_abbreviated[1];case"z":case"zzzz":case"v":case"vvvv":return xe;case"G":case"GG":case"GGG":return X.era_abbreviated[Y.getUTCFullYear()<0?0:1];case"GGGGG":return X.era_narrow[Y.getUTCFullYear()<0?0:1];case"GGGG":return X.era_wide[Y.getUTCFullYear()<0?0:1]}return ae}(X,de,gt,xe)})}W.datetime=z,W.local_datetime=function ee({cldr:Y,args:[X=new Date,ae]}){if("number"==typeof X&&/^-?\d+$/.test(X.toString())&&(X=new Date(1e3*X)),!(X instanceof Date))throw new Error("The datetime function only accepts Date instances or integer values (unix timestamps) for the `date` parameter.");if(!(Y instanceof u.CLDR))throw new Error("The datetime function requires a valid CLDR instance for the `cldr` parameter.");const xe=X.getTimezoneOffset();(X=new Date(X)).setMinutes(X.getMinutes()-xe);const de=xe>0?"-":"+",we=Math.floor(Math.abs(xe)/60),Ge=Math.abs(xe%60);return z({cldr:Y,args:[X,ae],tzString:"GMT"+de+H(we.toString(),2,"0")+H(Ge.toString(),2,"0")})}},6397:(Ae,W,M)=>{"use strict";Object.defineProperty(W,"__esModule",{value:!0}),W.functions=void 0;const u=M(6049),O=M(2500),G=M(5496),Z=M(6073),H=M(8994),z=M(5736),j=M(3365);W.functions={asis:u.asis,output:O.output,comment:G.comment,boolean:Z.boolean,numf:H.numf,numerate:H.numerate,quant:H.quant,format_bytes:H.format_bytes,datetime:z.datetime,local_datetime:z.local_datetime,list_and:j.list_and,list_or:j.list_or,list_or_quoted:j.list_or_quoted,list_and_quoted:j.list_and_quoted}},3365:(Ae,W)=>{"use strict";function u(j,K,...ee){let Y=ee.slice();switch(1===Y.length&&Array.isArray(Y[0])&&(Y=Y[0].slice()),(typeof Y>"u"||0===Y.length)&&(Y=[""]),Y=Y.map(X=>function M(j,K){const ee=j.getDelimiters();return ee&&Object.prototype.hasOwnProperty.call(ee,"quotation_start")&&Object.prototype.hasOwnProperty.call(ee,"quotation_end")?ee.quotation_start+K+ee.quotation_end:K}(j,X)),K){case"list_and":return H({cldr:j,args:Y});case"list_or":return z({cldr:j,args:Y});default:throw new Error("Did you mean list_and_quoted or list_or_quoted?")}}function Z(j,K,...ee){let Y=ee.slice();1===Y.length&&Array.isArray(Y[0])&&(Y=Y[0].slice());const X=Y.length;let ae,xe,de,we;try{ae=j.getFormats()[K]}catch{throw new Error("CLDR Data is missing information related to formatting list.")}const Ge=function(gt,ut){switch(ut){case"0":return de;case"1":return Y[we++]}};switch(X){case 0:return"";case 1:return String(Y[0]);default:if(de=2===X?ae[2]:ae.start,de=de.replace(/\{([01])\}/g,function(gt,ut){return Y[ut]}),2===X)return de;for(we=2;we<X;)xe=ae[we===X-1?"end":"middle"],de=xe.replace(/\{([01])\}/g,Ge);return de}}function H({cldr:j,args:[...K]}){return Z(j,"list",...K)}function z({cldr:j,args:[...K]}){return Z(j,"list_or",...K)}Object.defineProperty(W,"__esModule",{value:!0}),W.list_or=W.list_and=W.list_or_quoted=W.list_and_quoted=void 0,W.list_and_quoted=function O({cldr:j,args:[...K]}){return u(j,"list_and",...K)},W.list_or_quoted=function G({cldr:j,args:[...K]}){return u(j,"list_or",...K)},W.list_and=H,W.list_or=z},2500:(Ae,W,M)=>{"use strict";Object.defineProperty(W,"__esModule",{value:!0}),W.functions=W.output=void 0;const u=M(9546),O=M(2353);W.output=function G({args:[Z,...H]}){if(H&&"string"==typeof H[0]&&(H[0]=H[0].replace(/chr\((\d+)\)/g,function(z,j){return W.functions.chr(Number(j))}),H[0]=H[0].replace(/amp\(\)/g,function(){return W.functions.amp()})),"function"==typeof W.functions[Z])return W.functions[Z](...H);throw new Error(`Locale output function '${Z}' is not implemented.`)},W.functions={amp:()=>(0,u.htmlEscape)("&"),apos:()=>(0,u.htmlEscape)("'"),quot:()=>(0,u.htmlEscape)('"'),underline:Z=>`<u>${Z}</u>`,strong:Z=>`<strong>${Z}</strong>`,em:Z=>`<em>${Z}</em>`,abbr:(Z,H)=>`<abbr title="${H}">${Z}</abbr>`,acronym:(Z,H)=>`<abbr title="${H}" class="initialism">${Z}</abbr>`,class:(Z,...H)=>`<span class="${H.join(" ")}">${Z}</span>`,chr(Z){if("string"==typeof Z&&(Z=Number(Z)),"number"!=typeof Z||isNaN(Z))throw new Error("chr needs a number as argument");return(0,u.htmlEscape)(String.fromCharCode(Z))},url(Z,...H){let z,j;if("object"==typeof H[H.length-1])if(z=H[H.length-1],2===H.length){if(z.html)throw new Error("Cannot provide both text and configuration with html attribute");j=H[0]}else z&&z.html?(j=z.html,delete z.html):j=Z;else H.length%2==0?(z=(0,O.listToObject)(...H),z&&"html"in z&&""!==z.html?(j=z.html,delete z.html):j=Z):(j=H.shift(),z=(0,O.listToObject)(...H));"_type"in z&&"offsite"===z._type&&(z.class="offsite",z.target="_blank",delete z._type);let K=`<a href="${Z}"`;if("object"==typeof z)for(const ee in z)Object.prototype.hasOwnProperty.call(z,ee)&&(K+=` ${ee}="${z[ee]}"`);return K+=`>${j}</a>`,K}}},8994:(Ae,W,M)=>{"use strict";Object.defineProperty(W,"__esModule",{value:!0}),W.format_bytes=W.numf=W.quant=W.numerate=void 0;const u=M(7268);function G({cldr:j,args:[K,...ee]}){if(!(j instanceof u.CLDR))throw new Error("`quant` function requires a valid CLDR instance for the `cldr` parameter.");let Y,X=3;K instanceof Array?(X=K[1],Y=K[0]):Y=K;const ae=j.getPluralForm(Y,...ee),xe=ae[0]?ae[0]:ee[ee.length-1];if(ae&&ae.length>=2&&ae[1])return xe;const we=H({cldr:j,args:[Y,X]});return-1!==xe.indexOf("%s")?xe.replace(/%s/g,we):j.isRtl()?xe+" "+we:we+" "+xe}function H({cldr:j,args:[K,ee=6]}){if(!(j instanceof u.CLDR))throw new Error("`numf` function requires a valid CLDR instance for the `cldr` parameter.");if(/e/.test(K.toString()))return String(K);const{decimalFormat:Y,decimalGroup:X,decimalDecimal:ae}=function Z(j){const K={},ee=j.getFormats();return Object.prototype.hasOwnProperty.call(ee,"decimal")&&(K.decimalFormat=ee.decimal),Object.prototype.hasOwnProperty.call(ee,"_decimal_format_group")&&(K.decimalGroup=ee._decimal_format_group),Object.prototype.hasOwnProperty.call(ee,"_decimal_format_decimal")&&(K.decimalDecimal=ee._decimal_format_decimal),K}(j);if(!Y||!X||!ae)throw new Error("CLDR Data is missing information related to formatting decimals.");const xe=K<0;K=Math.abs(K);let we,Ge,de=Math.floor(K);/(?!')\.(?!')/.test(K.toString())&&(we=String(K).replace(/^[^.]+/,"0"),we=Number(we).toFixed(ee),/^1/.test(we)?(de++,K=de,we=void 0):we=we.replace(/^.*\./,"").replace(/0+$/,"")),Ge=/(?!');(?!')/.test(Y)?Y.split(/(?!');(?!')/)[xe?1:0]:(xe?"-":"")+Y;const ot=Ge.match(/[0#].*[0#]/)[0].split(/(?!')\.(?!')/)[0].split("").reverse().join("").split(/(?!'),(?!')/);let Nt;1===ot.length?Nt="":(ot.pop(),Nt=X);const Xe=String(de).split("").reverse(),He=[];let ft;const Vt=function(Ye){switch(Ye){case"#":return Xe.shift()||"";case"0":return Xe.shift()||"0"}};for(;Xe.length;){ot.length&&(ft=ot.shift());const Ye=ft.replace(/(?!')[0#]|[0#](?!')/g,Vt).replace(/'([.,0#;\xa4%E])'$/,"").replace(/'([.,0#;\xa4%E])'/,"$1");He.push(Ye)}const it=He.join(Nt).split("").reverse().join("")+(we?ae+we:"");return Ge.replace(/[0#].*[0#]/,it)}W.numerate=function O({cldr:j,args:[K,...ee]}){if(!(j instanceof u.CLDR))throw new Error("`numerate` function requires a valid CLDR instance for the `cldr` parameter.");const Y=j.getPluralForm(K,...ee);return Y?Y[0]:ee[ee.length-1]},W.quant=G,W.numf=H,W.format_bytes=function z({cldr:j,args:[K,ee=2]}){if(!(j instanceof u.CLDR))throw new Error("`format_bytes` function requires a valid CLDR instance for the `cldr` parameter.");const Y=["KB","MB","GB","TB","PB","EB","ZB","YB"],ae=K&&Math.min(Math.floor(Math.log(K)/Math.log(1024)),Y.length);return ae?H({cldr:j,args:[K/Math.pow(1024,ae),ee]})+"\xa0"+Y[ae-1]:G({cldr:j,args:[K,"%s\xa0byte","%s\xa0bytes"]})}},7367:(Ae,W,M)=>{"use strict";Object.defineProperty(W,"__esModule",{value:!0}),W.maketext=W.functions=W.config=void 0;const u=M(6397);function H(z,j){const K=[];let ee=!1,Y=!1;return z.forEach(X=>{if("_"===X.charAt(0))if("_*"===X){if(Y)throw"You cannot combine wildcard substitution (_*) with a numeric substitution (e.g. _1) in the same bracket.";K.push(...j),ee=!0}else{const ae=X.match(W.config.underscoreDigitRe);if(ae){if(ee)throw"You cannot combine wildcard substitution (_*) with a numeric substitution (e.g. _1) in the same bracket.";const[xe,de]=ae,we=Number(de)-1;if(!(we in j))throw`The "${xe}" substitution argument was not passed to the maketext function.`;K.push(j[we]),Y=!0}}else K.push(X)}),K}W.config={bracketRe:/([^~\[\]]+|~.|\[|\]|~)/g,underscoreDigitRe:/^_(\d+)$/,fauxComma:"\x07",fauxCommaRe:new RegExp("\x07","g"),tildeChars:new Set(["[","]","~"])},W.functions={...u.functions},W.maketext=function G({cldr:z,lexicon:j,template:K,args:ee}){if("string"!=typeof K)throw"You must pass a string template to the maketext function.";if(-1===(K=j&&j[K]||K).indexOf("["))return K;const Y=K.match(W.config.bracketRe)||[],X=[];let ae=!1,xe="";if(Y.forEach(de=>{if("["===de){if(ae)throw Error(`Invalid maketext string: ${K} \nThe string contains nested brackets.`);ae=!0}else if("]"===de){if(!ae)throw Error(`Invalid maketext string: ${K} \nThe string contains an unmatched closing bracket character (]).`);if(!xe)throw Error(`Invalid maketext string: ${K} \nThe string contains empty brackets. Use the escape character (~) if the bracket characters were meant to be printed literally.`);let we;ae=!1;try{we=function Z(z,j,K){let ee=j.split(",");if(ee=ee.map(ae=>ae.replace(W.config.fauxCommaRe,",")),1===ee.length){if(!W.config.underscoreDigitRe.test(ee[0]))throw"A bracket must contain more than one argument, unless it is a pure substition.\n Example: Number of accounts: [_1]";const[ae]=H(ee,K);return String(ae)}const Y=ee.shift();if(!Y||"function"!=typeof W.functions[Y])throw`Invalid function "${Y}" in maketext string.`;const X=H(ee,K);return W.functions[Y]({cldr:z,args:X})}(z,xe,ee)}catch(Ge){throw Error(`Invalid maketext string: ${K} \n${Ge}`)}xe="",X.push(we)}else if("~"===de.charAt(0)){const we=de.charAt(1)||"~";ae?xe+=","===we?W.config.fauxComma:we:W.config.tildeChars.has(we)?X.push(we):X.push(de)}else ae?xe+=de:X.push(de)}),ae)throw Error(`Invalid maketext string: ${K} \nThe string contains an unmatched opening bracket character ([).`);return X.join("")}},9546:(Ae,W)=>{"use strict";Object.defineProperty(W,"__esModule",{value:!0}),W.htmlEscape=W.entityMap=void 0,W.entityMap={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/"},W.htmlEscape=function M(u){return String(u).replace(/[&<>"'\/]/g,O=>W.entityMap[O])}},2353:(Ae,W)=>{"use strict";Object.defineProperty(W,"__esModule",{value:!0}),W.listToObject=void 0,W.listToObject=function O(...G){let Z={};return function M(G){if(G.length%2>0)throw new Error("An associative list must have an even number of parts: {name1}, {value1}, {name2}, {value2} ...");for(let H=0,z=G.length;H<z;H+=2){const j=G[H];if("string"!=typeof j||""===j)throw new Error("An associative list must provide non-empty string names in the 1st, 3rd, ... positions.")}return!0}(G)&&(Z=function u(G){const Z=G.length,H={};let j,K,z=0;for(;z<Z;)j=G[z],K=G[++z],H[j]=K,z++;return H}(G)),Z}},8516:(Ae,W,M)=>{var u=M(1464);Ae.exports=u.Symbol},2757:Ae=>{Ae.exports=function W(M,u){for(var O=-1,G=null==M?0:M.length,Z=Array(G);++O<G;)Z[O]=u(M[O],O,M);return Z}},7325:Ae=>{Ae.exports=function W(M,u,O,G){var Z=-1,H=null==M?0:M.length;for(G&&H&&(O=M[++Z]);++Z<H;)O=u(O,M[Z],Z,M);return O}},2192:Ae=>{var W=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;Ae.exports=function M(u){return u.match(W)||[]}},1057:(Ae,W,M)=>{var u=M(8516),O=M(8488),G=M(3327),z=u?u.toStringTag:void 0;Ae.exports=function j(K){return null==K?void 0===K?"[object Undefined]":"[object Null]":z&&z in Object(K)?O(K):G(K)}},965:Ae=>{Ae.exports=function W(M){return function(u){return M?.[u]}}},7005:(Ae,W,M)=>{var u=M(8516),O=M(2757),G=M(9812),Z=M(5153),H=1/0,z=u?u.prototype:void 0,j=z?z.toString:void 0;Ae.exports=function K(ee){if("string"==typeof ee)return ee;if(G(ee))return O(ee,K)+"";if(Z(ee))return j?j.call(ee):"";var Y=ee+"";return"0"==Y&&1/ee==-H?"-0":Y}},7666:(Ae,W,M)=>{var u=M(7325),O=M(5403),G=M(5788),H=RegExp("['\u2019]","g");Ae.exports=function z(j){return function(K){return u(G(O(K).replace(H,"")),j,"")}}},8318:(Ae,W,M)=>{var G=M(965)({\u00c0:"A",\u00c1:"A",\u00c2:"A",\u00c3:"A",\u00c4:"A",\u00c5:"A",\u00e0:"a",\u00e1:"a",\u00e2:"a",\u00e3:"a",\u00e4:"a",\u00e5:"a",\u00c7:"C",\u00e7:"c",\u00d0:"D",\u00f0:"d",\u00c8:"E",\u00c9:"E",\u00ca:"E",\u00cb:"E",\u00e8:"e",\u00e9:"e",\u00ea:"e",\u00eb:"e",\u00cc:"I",\u00cd:"I",\u00ce:"I",\u00cf:"I",\u00ec:"i",\u00ed:"i",\u00ee:"i",\u00ef:"i",\u00d1:"N",\u00f1:"n",\u00d2:"O",\u00d3:"O",\u00d4:"O",\u00d5:"O",\u00d6:"O",\u00d8:"O",\u00f2:"o",\u00f3:"o",\u00f4:"o",\u00f5:"o",\u00f6:"o",\u00f8:"o",\u00d9:"U",\u00da:"U",\u00db:"U",\u00dc:"U",\u00f9:"u",\u00fa:"u",\u00fb:"u",\u00fc:"u",\u00dd:"Y",\u00fd:"y",\u00ff:"y",\u00c6:"Ae",\u00e6:"ae",\u00de:"Th",\u00fe:"th",\u00df:"ss",\u0100:"A",\u0102:"A",\u0104:"A",\u0101:"a",\u0103:"a",\u0105:"a",\u0106:"C",\u0108:"C",\u010a:"C",\u010c:"C",\u0107:"c",\u0109:"c",\u010b:"c",\u010d:"c",\u010e:"D",\u0110:"D",\u010f:"d",\u0111:"d",\u0112:"E",\u0114:"E",\u0116:"E",\u0118:"E",\u011a:"E",\u0113:"e",\u0115:"e",\u0117:"e",\u0119:"e",\u011b:"e",\u011c:"G",\u011e:"G",\u0120:"G",\u0122:"G",\u011d:"g",\u011f:"g",\u0121:"g",\u0123:"g",\u0124:"H",\u0126:"H",\u0125:"h",\u0127:"h",\u0128:"I",\u012a:"I",\u012c:"I",\u012e:"I",\u0130:"I",\u0129:"i",\u012b:"i",\u012d:"i",\u012f:"i",\u0131:"i",\u0134:"J",\u0135:"j",\u0136:"K",\u0137:"k",\u0138:"k",\u0139:"L",\u013b:"L",\u013d:"L",\u013f:"L",\u0141:"L",\u013a:"l",\u013c:"l",\u013e:"l",\u0140:"l",\u0142:"l",\u0143:"N",\u0145:"N",\u0147:"N",\u014a:"N",\u0144:"n",\u0146:"n",\u0148:"n",\u014b:"n",\u014c:"O",\u014e:"O",\u0150:"O",\u014d:"o",\u014f:"o",\u0151:"o",\u0154:"R",\u0156:"R",\u0158:"R",\u0155:"r",\u0157:"r",\u0159:"r",\u015a:"S",\u015c:"S",\u015e:"S",\u0160:"S",\u015b:"s",\u015d:"s",\u015f:"s",\u0161:"s",\u0162:"T",\u0164:"T",\u0166:"T",\u0163:"t",\u0165:"t",\u0167:"t",\u0168:"U",\u016a:"U",\u016c:"U",\u016e:"U",\u0170:"U",\u0172:"U",\u0169:"u",\u016b:"u",\u016d:"u",\u016f:"u",\u0171:"u",\u0173:"u",\u0174:"W",\u0175:"w",\u0176:"Y",\u0177:"y",\u0178:"Y",\u0179:"Z",\u017b:"Z",\u017d:"Z",\u017a:"z",\u017c:"z",\u017e:"z",\u0132:"IJ",\u0133:"ij",\u0152:"Oe",\u0153:"oe",\u0149:"'n",\u017f:"s"});Ae.exports=G},8657:Ae=>{var W="object"==typeof global&&global&&global.Object===Object&&global;Ae.exports=W},6902:(Ae,W,M)=>{var O=M(2852)(Object.getPrototypeOf,Object);Ae.exports=O},8488:(Ae,W,M)=>{var u=M(8516),O=Object.prototype,G=O.hasOwnProperty,Z=O.toString,H=u?u.toStringTag:void 0;Ae.exports=function z(j){var K=G.call(j,H),ee=j[H];try{j[H]=void 0;var Y=!0}catch{}var X=Z.call(j);return Y&&(K?j[H]=ee:delete j[H]),X}},5823:Ae=>{var W=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;Ae.exports=function M(u){return W.test(u)}},3327:Ae=>{var M=Object.prototype.toString;Ae.exports=function u(O){return M.call(O)}},2852:Ae=>{Ae.exports=function W(M,u){return function(O){return M(u(O))}}},1464:(Ae,W,M)=>{var u=M(8657),O="object"==typeof self&&self&&self.Object===Object&&self,G=u||O||Function("return this")();Ae.exports=G},7172:Ae=>{var W="\\ud800-\\udfff",Z="\\u2700-\\u27bf",H="a-z\\xdf-\\xf6\\xf8-\\xff",Y="A-Z\\xc0-\\xd6\\xd8-\\xde",ae="\\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",de="["+ae+"]",Ge="\\d+",gt="["+Z+"]",ut="["+H+"]",ot="[^"+W+ae+Ge+Z+H+Y+"]",ft="(?:\\ud83c[\\udde6-\\uddff]){2}",Vt="[\\ud800-\\udbff][\\udc00-\\udfff]",it="["+Y+"]",Ve="(?:"+ut+"|"+ot+")",$="(?:"+it+"|"+ot+")",ie="(?:['\u2019](?:d|ll|m|re|s|t|ve))?",pe="(?:['\u2019](?:D|LL|M|RE|S|T|VE))?",ye="(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\\ud83c[\\udffb-\\udfff])?",Ce="[\\ufe0e\\ufe0f]?",Le=Ce+ye+"(?:\\u200d(?:"+["[^"+W+"]",ft,Vt].join("|")+")"+Ce+ye+")*",Fe="(?:"+[gt,ft,Vt].join("|")+")"+Le,Dt=RegExp([it+"?"+ut+"+"+ie+"(?="+[de,it,"$"].join("|")+")",$+"+"+pe+"(?="+[de,it+Ve,"$"].join("|")+")",it+"?"+Ve+"+"+ie,it+"+"+pe,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Ge,Fe].join("|"),"g");Ae.exports=function Rt(Kt){return Kt.match(Dt)||[]}},5403:(Ae,W,M)=>{var u=M(8318),O=M(4717),G=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,ee=RegExp("[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]","g");Ae.exports=function Y(X){return(X=O(X))&&X.replace(G,u).replace(ee,"")}},9812:Ae=>{Ae.exports=Array.isArray},3705:(Ae,W,M)=>{var u=M(1057),O=M(7433);Ae.exports=function Z(H){return!0===H||!1===H||O(H)&&"[object Boolean]"==u(H)}},5972:Ae=>{Ae.exports=function W(M){return null===M}},9336:(Ae,W,M)=>{var u=M(1057),O=M(7433);Ae.exports=function Z(H){return"number"==typeof H||O(H)&&"[object Number]"==u(H)}},7433:Ae=>{Ae.exports=function W(M){return null!=M&&"object"==typeof M}},9970:(Ae,W,M)=>{var u=M(1057),O=M(6902),G=M(7433),j=Function.prototype.toString,K=Object.prototype.hasOwnProperty,ee=j.call(Object);Ae.exports=function Y(X){if(!G(X)||"[object Object]"!=u(X))return!1;var ae=O(X);if(null===ae)return!0;var xe=K.call(ae,"constructor")&&ae.constructor;return"function"==typeof xe&&xe instanceof xe&&j.call(xe)==ee}},8124:(Ae,W,M)=>{var u=M(1057),O=M(9812),G=M(7433);Ae.exports=function H(z){return"string"==typeof z||!O(z)&&G(z)&&"[object String]"==u(z)}},5153:(Ae,W,M)=>{var u=M(1057),O=M(7433);Ae.exports=function Z(H){return"symbol"==typeof H||O(H)&&"[object Symbol]"==u(H)}},9261:Ae=>{Ae.exports=function W(M){return void 0===M}},193:(Ae,W,M)=>{var O=M(7666)(function(G,Z,H){return G+(H?"_":"")+Z.toLowerCase()});Ae.exports=O},4717:(Ae,W,M)=>{var u=M(7005);Ae.exports=function O(G){return null==G?"":u(G)}},5788:(Ae,W,M)=>{var u=M(2192),O=M(5823),G=M(4717),Z=M(7172);Ae.exports=function H(z,j,K){return z=G(z),void 0===(j=K?void 0:j)?O(z)?Z(z):u(z):z.match(j)||[]}},4412:(Ae,W,M)=>{"use strict";M.d(W,{t:()=>O});var u=M(1413);class O extends u.B{constructor(Z){super(),this._value=Z}get value(){return this.getValue()}_subscribe(Z){const H=super._subscribe(Z);return!H.closed&&Z.next(this._value),H}getValue(){const{hasError:Z,thrownError:H,_value:z}=this;if(Z)throw H;return this._throwIfClosed(),z}next(Z){super.next(this._value=Z)}}},1985:(Ae,W,M)=>{"use strict";M.d(W,{c:()=>K});var u=M(7707),O=M(8359),G=M(3494),Z=M(1203),H=M(1026),z=M(8071),j=M(9786);let K=(()=>{class ae{constructor(de){de&&(this._subscribe=de)}lift(de){const we=new ae;return we.source=this,we.operator=de,we}subscribe(de,we,Ge){const gt=function X(ae){return ae&&ae instanceof u.vU||function Y(ae){return ae&&(0,z.T)(ae.next)&&(0,z.T)(ae.error)&&(0,z.T)(ae.complete)}(ae)&&(0,O.Uv)(ae)}(de)?de:new u.Ms(de,we,Ge);return(0,j.Y)(()=>{const{operator:ut,source:ot}=this;gt.add(ut?ut.call(gt,ot):ot?this._subscribe(gt):this._trySubscribe(gt))}),gt}_trySubscribe(de){try{return this._subscribe(de)}catch(we){de.error(we)}}forEach(de,we){return new(we=ee(we))((Ge,gt)=>{const ut=new u.Ms({next:ot=>{try{de(ot)}catch(Nt){gt(Nt),ut.unsubscribe()}},error:gt,complete:Ge});this.subscribe(ut)})}_subscribe(de){var we;return null===(we=this.source)||void 0===we?void 0:we.subscribe(de)}[G.s](){return this}pipe(...de){return(0,Z.m)(de)(this)}toPromise(de){return new(de=ee(de))((we,Ge)=>{let gt;this.subscribe(ut=>gt=ut,ut=>Ge(ut),()=>we(gt))})}}return ae.create=xe=>new ae(xe),ae})();function ee(ae){var xe;return null!==(xe=ae??H.$.Promise)&&void 0!==xe?xe:Promise}},1413:(Ae,W,M)=>{"use strict";M.d(W,{B:()=>j});var u=M(1985),O=M(8359);const Z=(0,M(1853).L)(ee=>function(){ee(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var H=M(7908),z=M(9786);let j=(()=>{class ee extends u.c{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(X){const ae=new K(this,this);return ae.operator=X,ae}_throwIfClosed(){if(this.closed)throw new Z}next(X){(0,z.Y)(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const ae of this.currentObservers)ae.next(X)}})}error(X){(0,z.Y)(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=X;const{observers:ae}=this;for(;ae.length;)ae.shift().error(X)}})}complete(){(0,z.Y)(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:X}=this;for(;X.length;)X.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var X;return(null===(X=this.observers)||void 0===X?void 0:X.length)>0}_trySubscribe(X){return this._throwIfClosed(),super._trySubscribe(X)}_subscribe(X){return this._throwIfClosed(),this._checkFinalizedStatuses(X),this._innerSubscribe(X)}_innerSubscribe(X){const{hasError:ae,isStopped:xe,observers:de}=this;return ae||xe?O.Kn:(this.currentObservers=null,de.push(X),new O.yU(()=>{this.currentObservers=null,(0,H.o)(de,X)}))}_checkFinalizedStatuses(X){const{hasError:ae,thrownError:xe,isStopped:de}=this;ae?X.error(xe):de&&X.complete()}asObservable(){const X=new u.c;return X.source=this,X}}return ee.create=(Y,X)=>new K(Y,X),ee})();class K extends j{constructor(Y,X){super(),this.destination=Y,this.source=X}next(Y){var X,ae;null===(ae=null===(X=this.destination)||void 0===X?void 0:X.next)||void 0===ae||ae.call(X,Y)}error(Y){var X,ae;null===(ae=null===(X=this.destination)||void 0===X?void 0:X.error)||void 0===ae||ae.call(X,Y)}complete(){var Y,X;null===(X=null===(Y=this.destination)||void 0===Y?void 0:Y.complete)||void 0===X||X.call(Y)}_subscribe(Y){var X,ae;return null!==(ae=null===(X=this.source)||void 0===X?void 0:X.subscribe(Y))&&void 0!==ae?ae:O.Kn}}},7707:(Ae,W,M)=>{"use strict";M.d(W,{Ms:()=>Ge,vU:()=>ae});var u=M(8071),O=M(8359),G=M(1026),Z=M(5334),H=M(5343);const z=ee("C",void 0,void 0);function ee(Xe,He,ft){return{kind:Xe,value:He,error:ft}}var Y=M(9270),X=M(9786);class ae extends O.yU{constructor(He){super(),this.isStopped=!1,He?(this.destination=He,(0,O.Uv)(He)&&He.add(this)):this.destination=Nt}static create(He,ft,Vt){return new Ge(He,ft,Vt)}next(He){this.isStopped?ot(function K(Xe){return ee("N",Xe,void 0)}(He),this):this._next(He)}error(He){this.isStopped?ot(function j(Xe){return ee("E",void 0,Xe)}(He),this):(this.isStopped=!0,this._error(He))}complete(){this.isStopped?ot(z,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(He){this.destination.next(He)}_error(He){try{this.destination.error(He)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const xe=Function.prototype.bind;function de(Xe,He){return xe.call(Xe,He)}class we{constructor(He){this.partialObserver=He}next(He){const{partialObserver:ft}=this;if(ft.next)try{ft.next(He)}catch(Vt){gt(Vt)}}error(He){const{partialObserver:ft}=this;if(ft.error)try{ft.error(He)}catch(Vt){gt(Vt)}else gt(He)}complete(){const{partialObserver:He}=this;if(He.complete)try{He.complete()}catch(ft){gt(ft)}}}class Ge extends ae{constructor(He,ft,Vt){let it;if(super(),(0,u.T)(He)||!He)it={next:He??void 0,error:ft??void 0,complete:Vt??void 0};else{let Ye;this&&G.$.useDeprecatedNextContext?(Ye=Object.create(He),Ye.unsubscribe=()=>this.unsubscribe(),it={next:He.next&&de(He.next,Ye),error:He.error&&de(He.error,Ye),complete:He.complete&&de(He.complete,Ye)}):it=He}this.destination=new we(it)}}function gt(Xe){G.$.useDeprecatedSynchronousErrorHandling?(0,X.l)(Xe):(0,Z.m)(Xe)}function ot(Xe,He){const{onStoppedNotification:ft}=G.$;ft&&Y.f.setTimeout(()=>ft(Xe,He))}const Nt={closed:!0,next:H.l,error:function ut(Xe){throw Xe},complete:H.l}},8359:(Ae,W,M)=>{"use strict";M.d(W,{Kn:()=>z,yU:()=>H,Uv:()=>j});var u=M(8071);const G=(0,M(1853).L)(ee=>function(X){ee(this),this.message=X?`${X.length} errors occurred during unsubscription:\n${X.map((ae,xe)=>`${xe+1}) ${ae.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=X});var Z=M(7908);class H{constructor(Y){this.initialTeardown=Y,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let Y;if(!this.closed){this.closed=!0;const{_parentage:X}=this;if(X)if(this._parentage=null,Array.isArray(X))for(const de of X)de.remove(this);else X.remove(this);const{initialTeardown:ae}=this;if((0,u.T)(ae))try{ae()}catch(de){Y=de instanceof G?de.errors:[de]}const{_finalizers:xe}=this;if(xe){this._finalizers=null;for(const de of xe)try{K(de)}catch(we){Y=Y??[],we instanceof G?Y=[...Y,...we.errors]:Y.push(we)}}if(Y)throw new G(Y)}}add(Y){var X;if(Y&&Y!==this)if(this.closed)K(Y);else{if(Y instanceof H){if(Y.closed||Y._hasParent(this))return;Y._addParent(this)}(this._finalizers=null!==(X=this._finalizers)&&void 0!==X?X:[]).push(Y)}}_hasParent(Y){const{_parentage:X}=this;return X===Y||Array.isArray(X)&&X.includes(Y)}_addParent(Y){const{_parentage:X}=this;this._parentage=Array.isArray(X)?(X.push(Y),X):X?[X,Y]:Y}_removeParent(Y){const{_parentage:X}=this;X===Y?this._parentage=null:Array.isArray(X)&&(0,Z.o)(X,Y)}remove(Y){const{_finalizers:X}=this;X&&(0,Z.o)(X,Y),Y instanceof H&&Y._removeParent(this)}}H.EMPTY=(()=>{const ee=new H;return ee.closed=!0,ee})();const z=H.EMPTY;function j(ee){return ee instanceof H||ee&&"closed"in ee&&(0,u.T)(ee.remove)&&(0,u.T)(ee.add)&&(0,u.T)(ee.unsubscribe)}function K(ee){(0,u.T)(ee)?ee():ee.unsubscribe()}},1026:(Ae,W,M)=>{"use strict";M.d(W,{$:()=>u});const u={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}},983:(Ae,W,M)=>{"use strict";M.d(W,{w:()=>O});const O=new(M(1985).c)(H=>H.complete())},7468:(Ae,W,M)=>{"use strict";M.d(W,{p:()=>K});var u=M(1985),O=M(3073),G=M(8750),Z=M(9326),H=M(4360),z=M(6450),j=M(8496);function K(...ee){const Y=(0,Z.ms)(ee),{args:X,keys:ae}=(0,O.D)(ee),xe=new u.c(de=>{const{length:we}=X;if(!we)return void de.complete();const Ge=new Array(we);let gt=we,ut=we;for(let ot=0;ot<we;ot++){let Nt=!1;(0,G.Tg)(X[ot]).subscribe((0,H._)(de,Xe=>{Nt||(Nt=!0,ut--),Ge[ot]=Xe},()=>gt--,void 0,()=>{(!gt||!Nt)&&(ut||de.next(ae?(0,j.e)(ae,Ge):Ge),de.complete())}))}});return Y?xe.pipe((0,z.I)(Y)):xe}},6648:(Ae,W,M)=>{"use strict";M.d(W,{H:()=>Vt});var u=M(8750),O=M(5225),G=M(9974),Z=M(4360);function H(it,Ye=0){return(0,G.N)((Ve,$)=>{Ve.subscribe((0,Z._)($,ie=>(0,O.N)($,it,()=>$.next(ie),Ye),()=>(0,O.N)($,it,()=>$.complete(),Ye),ie=>(0,O.N)($,it,()=>$.error(ie),Ye)))})}function z(it,Ye=0){return(0,G.N)((Ve,$)=>{$.add(it.schedule(()=>Ve.subscribe($),Ye))})}var ee=M(1985),X=M(4761),ae=M(8071);function de(it,Ye){if(!it)throw new Error("Iterable cannot be null");return new ee.c(Ve=>{(0,O.N)(Ve,Ye,()=>{const $=it[Symbol.asyncIterator]();(0,O.N)(Ve,Ye,()=>{$.next().then(ie=>{ie.done?Ve.complete():Ve.next(ie.value)})},0,!0)})})}var we=M(5055),Ge=M(9858),gt=M(7441),ut=M(5397),ot=M(7953),Nt=M(591),Xe=M(5196);function Vt(it,Ye){return Ye?function ft(it,Ye){if(null!=it){if((0,we.l)(it))return function j(it,Ye){return(0,u.Tg)(it).pipe(z(Ye),H(Ye))}(it,Ye);if((0,gt.X)(it))return function Y(it,Ye){return new ee.c(Ve=>{let $=0;return Ye.schedule(function(){$===it.length?Ve.complete():(Ve.next(it[$++]),Ve.closed||this.schedule())})})}(it,Ye);if((0,Ge.y)(it))return function K(it,Ye){return(0,u.Tg)(it).pipe(z(Ye),H(Ye))}(it,Ye);if((0,ot.T)(it))return de(it,Ye);if((0,ut.x)(it))return function xe(it,Ye){return new ee.c(Ve=>{let $;return(0,O.N)(Ve,Ye,()=>{$=it[X.l](),(0,O.N)(Ve,Ye,()=>{let ie,pe;try{({value:ie,done:pe}=$.next())}catch(ye){return void Ve.error(ye)}pe?Ve.complete():Ve.next(ie)},0,!0)}),()=>(0,ae.T)($?.return)&&$.return()})}(it,Ye);if((0,Xe.U)(it))return function He(it,Ye){return de((0,Xe.C)(it),Ye)}(it,Ye)}throw(0,Nt.L)(it)}(it,Ye):(0,u.Tg)(it)}},8750:(Ae,W,M)=>{"use strict";M.d(W,{Tg:()=>xe});var u=M(5215),O=M(7441),G=M(9858),Z=M(1985),H=M(5055),z=M(7953),j=M(591),K=M(5397),ee=M(5196),Y=M(8071),X=M(5334),ae=M(3494);function xe(Xe){if(Xe instanceof Z.c)return Xe;if(null!=Xe){if((0,H.l)(Xe))return function de(Xe){return new Z.c(He=>{const ft=Xe[ae.s]();if((0,Y.T)(ft.subscribe))return ft.subscribe(He);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(Xe);if((0,O.X)(Xe))return function we(Xe){return new Z.c(He=>{for(let ft=0;ft<Xe.length&&!He.closed;ft++)He.next(Xe[ft]);He.complete()})}(Xe);if((0,G.y)(Xe))return function Ge(Xe){return new Z.c(He=>{Xe.then(ft=>{He.closed||(He.next(ft),He.complete())},ft=>He.error(ft)).then(null,X.m)})}(Xe);if((0,z.T)(Xe))return ut(Xe);if((0,K.x)(Xe))return function gt(Xe){return new Z.c(He=>{for(const ft of Xe)if(He.next(ft),He.closed)return;He.complete()})}(Xe);if((0,ee.U)(Xe))return function ot(Xe){return ut((0,ee.C)(Xe))}(Xe)}throw(0,j.L)(Xe)}function ut(Xe){return new Z.c(He=>{(function Nt(Xe,He){var ft,Vt,it,Ye;return(0,u.sH)(this,void 0,void 0,function*(){try{for(ft=(0,u.xN)(Xe);!(Vt=yield ft.next()).done;)if(He.next(Vt.value),He.closed)return}catch(Ve){it={error:Ve}}finally{try{Vt&&!Vt.done&&(Ye=ft.return)&&(yield Ye.call(ft))}finally{if(it)throw it.error}}He.complete()})})(Xe,He).catch(ft=>He.error(ft))})}},7673:(Ae,W,M)=>{"use strict";M.d(W,{of:()=>G});var u=M(9326),O=M(6648);function G(...Z){const H=(0,u.lI)(Z);return(0,O.H)(Z,H)}},8810:(Ae,W,M)=>{"use strict";M.d(W,{$:()=>G});var u=M(1985),O=M(8071);function G(Z,H){const z=(0,O.T)(Z)?Z:()=>Z,j=K=>K.error(z());return new u.c(H?K=>H.schedule(j,0,K):j)}},2690:(Ae,W,M)=>{"use strict";M.d(W,{O:()=>K});var u=M(1985),O=M(6780);const H=new(M(3604).q)(O.R);var z=M(9470);function K(ee=0,Y,X=H){let ae=-1;return null!=Y&&((0,z.m)(Y)?X=Y:ae=Y),new u.c(xe=>{let de=function j(ee){return ee instanceof Date&&!isNaN(ee)}(ee)?+ee-X.now():ee;de<0&&(de=0);let we=0;return X.schedule(function(){xe.closed||(xe.next(we++),0<=ae?this.schedule(void 0,ae):xe.complete())},de)})}},4360:(Ae,W,M)=>{"use strict";M.d(W,{_:()=>O});var u=M(7707);function O(Z,H,z,j,K){return new G(Z,H,z,j,K)}class G extends u.vU{constructor(H,z,j,K,ee,Y){super(H),this.onFinalize=ee,this.shouldUnsubscribe=Y,this._next=z?function(X){try{z(X)}catch(ae){H.error(ae)}}:super._next,this._error=K?function(X){try{K(X)}catch(ae){H.error(ae)}finally{this.unsubscribe()}}:super._error,this._complete=j?function(){try{j()}catch(X){H.error(X)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var H;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:z}=this;super.unsubscribe(),!z&&(null===(H=this.onFinalize)||void 0===H||H.call(this))}}}},9437:(Ae,W,M)=>{"use strict";M.d(W,{W:()=>Z});var u=M(8750),O=M(4360),G=M(9974);function Z(H){return(0,G.N)((z,j)=>{let Y,K=null,ee=!1;K=z.subscribe((0,O._)(j,void 0,void 0,X=>{Y=(0,u.Tg)(H(X,Z(H)(z))),K?(K.unsubscribe(),K=null,Y.subscribe(j)):ee=!0})),ee&&(K.unsubscribe(),K=null,Y.subscribe(j))})}},274:(Ae,W,M)=>{"use strict";M.d(W,{H:()=>G});var u=M(1397),O=M(8071);function G(Z,H){return(0,O.T)(H)?(0,u.Z)(Z,H,1):(0,u.Z)(Z,1)}},5964:(Ae,W,M)=>{"use strict";M.d(W,{p:()=>G});var u=M(9974),O=M(4360);function G(Z,H){return(0,u.N)((z,j)=>{let K=0;z.subscribe((0,O._)(j,ee=>Z.call(H,ee,K++)&&j.next(ee)))})}},980:(Ae,W,M)=>{"use strict";M.d(W,{j:()=>O});var u=M(9974);function O(G){return(0,u.N)((Z,H)=>{try{Z.subscribe(H)}finally{H.add(G)}})}},6354:(Ae,W,M)=>{"use strict";M.d(W,{T:()=>G});var u=M(9974),O=M(4360);function G(Z,H){return(0,u.N)((z,j)=>{let K=0;z.subscribe((0,O._)(j,ee=>{j.next(Z.call(H,ee,K++))}))})}},6365:(Ae,W,M)=>{"use strict";M.d(W,{U:()=>G});var u=M(1397),O=M(3669);function G(Z=1/0){return(0,u.Z)(O.D,Z)}},1397:(Ae,W,M)=>{"use strict";M.d(W,{Z:()=>K});var u=M(6354),O=M(8750),G=M(9974),Z=M(5225),H=M(4360),j=M(8071);function K(ee,Y,X=1/0){return(0,j.T)(Y)?K((ae,xe)=>(0,u.T)((de,we)=>Y(ae,de,xe,we))((0,O.Tg)(ee(ae,xe))),X):("number"==typeof Y&&(X=Y),(0,G.N)((ae,xe)=>function z(ee,Y,X,ae,xe,de,we,Ge){const gt=[];let ut=0,ot=0,Nt=!1;const Xe=()=>{Nt&&!gt.length&&!ut&&Y.complete()},He=Vt=>ut<ae?ft(Vt):gt.push(Vt),ft=Vt=>{de&&Y.next(Vt),ut++;let it=!1;(0,O.Tg)(X(Vt,ot++)).subscribe((0,H._)(Y,Ye=>{xe?.(Ye),de?He(Ye):Y.next(Ye)},()=>{it=!0},void 0,()=>{if(it)try{for(ut--;gt.length&&ut<ae;){const Ye=gt.shift();we?(0,Z.N)(Y,we,()=>ft(Ye)):ft(Ye)}Xe()}catch(Ye){Y.error(Ye)}}))};return ee.subscribe((0,H._)(Y,He,()=>{Nt=!0,Xe()})),()=>{Ge?.()}}(ae,xe,ee,X)))}},5558:(Ae,W,M)=>{"use strict";M.d(W,{n:()=>Z});var u=M(8750),O=M(9974),G=M(4360);function Z(H,z){return(0,O.N)((j,K)=>{let ee=null,Y=0,X=!1;const ae=()=>X&&!ee&&K.complete();j.subscribe((0,G._)(K,xe=>{ee?.unsubscribe();let de=0;const we=Y++;(0,u.Tg)(H(xe,we)).subscribe(ee=(0,G._)(K,Ge=>K.next(z?z(xe,Ge,we,de++):Ge),()=>{ee=null,ae()}))},()=>{X=!0,ae()}))})}},7083:(Ae,W,M)=>{"use strict";M.d(W,{K:()=>G});var u=M(5558),O=M(8071);function G(Z,H){return(0,O.T)(H)?(0,u.n)(()=>Z,H):(0,u.n)(()=>Z)}},6697:(Ae,W,M)=>{"use strict";M.d(W,{s:()=>Z});var u=M(983),O=M(9974),G=M(4360);function Z(H){return H<=0?()=>u.w:(0,O.N)((z,j)=>{let K=0;z.subscribe((0,G._)(j,ee=>{++K<=H&&(j.next(ee),H<=K&&j.complete())}))})}},6977:(Ae,W,M)=>{"use strict";M.d(W,{Q:()=>H});var u=M(9974),O=M(4360),G=M(8750),Z=M(5343);function H(z){return(0,u.N)((j,K)=>{(0,G.Tg)(z).subscribe((0,O._)(K,()=>K.complete(),Z.l)),!K.closed&&j.subscribe(K)})}},7048:(Ae,W,M)=>{"use strict";M.d(W,{v:()=>G});var u=M(9974),O=M(4360);function G(Z,H=!1){return(0,u.N)((z,j)=>{let K=0;z.subscribe((0,O._)(j,ee=>{const Y=Z(ee,K++);(Y||H)&&j.next(ee),!Y&&j.complete()}))})}},8141:(Ae,W,M)=>{"use strict";M.d(W,{M:()=>H});var u=M(8071),O=M(9974),G=M(4360),Z=M(3669);function H(z,j,K){const ee=(0,u.T)(z)||j||K?{next:z,error:j,complete:K}:z;return ee?(0,O.N)((Y,X)=>{var ae;null===(ae=ee.subscribe)||void 0===ae||ae.call(ee);let xe=!0;Y.subscribe((0,G._)(X,de=>{var we;null===(we=ee.next)||void 0===we||we.call(ee,de),X.next(de)},()=>{var de;xe=!1,null===(de=ee.complete)||void 0===de||de.call(ee),X.complete()},de=>{var we;xe=!1,null===(we=ee.error)||void 0===we||we.call(ee,de),X.error(de)},()=>{var de,we;xe&&(null===(de=ee.unsubscribe)||void 0===de||de.call(ee)),null===(we=ee.finalize)||void 0===we||we.call(ee)}))}):Z.D}},6780:(Ae,W,M)=>{"use strict";M.d(W,{R:()=>H});var u=M(8359);class O extends u.yU{constructor(j,K){super()}schedule(j,K=0){return this}}const G={setInterval(z,j,...K){const{delegate:ee}=G;return ee?.setInterval?ee.setInterval(z,j,...K):setInterval(z,j,...K)},clearInterval(z){const{delegate:j}=G;return(j?.clearInterval||clearInterval)(z)},delegate:void 0};var Z=M(7908);class H extends O{constructor(j,K){super(j,K),this.scheduler=j,this.work=K,this.pending=!1}schedule(j,K=0){var ee;if(this.closed)return this;this.state=j;const Y=this.id,X=this.scheduler;return null!=Y&&(this.id=this.recycleAsyncId(X,Y,K)),this.pending=!0,this.delay=K,this.id=null!==(ee=this.id)&&void 0!==ee?ee:this.requestAsyncId(X,this.id,K),this}requestAsyncId(j,K,ee=0){return G.setInterval(j.flush.bind(j,this),ee)}recycleAsyncId(j,K,ee=0){if(null!=ee&&this.delay===ee&&!1===this.pending)return K;null!=K&&G.clearInterval(K)}execute(j,K){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const ee=this._execute(j,K);if(ee)return ee;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(j,K){let Y,ee=!1;try{this.work(j)}catch(X){ee=!0,Y=X||new Error("Scheduled action threw falsy error")}if(ee)return this.unsubscribe(),Y}unsubscribe(){if(!this.closed){const{id:j,scheduler:K}=this,{actions:ee}=K;this.work=this.state=this.scheduler=null,this.pending=!1,(0,Z.o)(ee,this),null!=j&&(this.id=this.recycleAsyncId(K,j,null)),this.delay=null,super.unsubscribe()}}}},3604:(Ae,W,M)=>{"use strict";M.d(W,{q:()=>G});const u={now:()=>(u.delegate||Date).now(),delegate:void 0};class O{constructor(H,z=O.now){this.schedulerActionCtor=H,this.now=z}schedule(H,z=0,j){return new this.schedulerActionCtor(this,H).schedule(j,z)}}O.now=u.now;class G extends O{constructor(H,z=O.now){super(H,z),this.actions=[],this._active=!1}flush(H){const{actions:z}=this;if(this._active)return void z.push(H);let j;this._active=!0;do{if(j=H.execute(H.state,H.delay))break}while(H=z.shift());if(this._active=!1,j){for(;H=z.shift();)H.unsubscribe();throw j}}}},9270:(Ae,W,M)=>{"use strict";M.d(W,{f:()=>u});const u={setTimeout(O,G,...Z){const{delegate:H}=u;return H?.setTimeout?H.setTimeout(O,G,...Z):setTimeout(O,G,...Z)},clearTimeout(O){const{delegate:G}=u;return(G?.clearTimeout||clearTimeout)(O)},delegate:void 0}},4761:(Ae,W,M)=>{"use strict";M.d(W,{l:()=>O});const O=function u(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}()},3494:(Ae,W,M)=>{"use strict";M.d(W,{s:()=>u});const u="function"==typeof Symbol&&Symbol.observable||"@@observable"},9326:(Ae,W,M)=>{"use strict";M.d(W,{R0:()=>z,lI:()=>H,ms:()=>Z});var u=M(8071),O=M(9470);function G(j){return j[j.length-1]}function Z(j){return(0,u.T)(G(j))?j.pop():void 0}function H(j){return(0,O.m)(G(j))?j.pop():void 0}function z(j,K){return"number"==typeof G(j)?j.pop():K}},3073:(Ae,W,M)=>{"use strict";M.d(W,{D:()=>H});const{isArray:u}=Array,{getPrototypeOf:O,prototype:G,keys:Z}=Object;function H(j){if(1===j.length){const K=j[0];if(u(K))return{args:K,keys:null};if(function z(j){return j&&"object"==typeof j&&O(j)===G}(K)){const ee=Z(K);return{args:ee.map(Y=>K[Y]),keys:ee}}}return{args:j,keys:null}}},7908:(Ae,W,M)=>{"use strict";function u(O,G){if(O){const Z=O.indexOf(G);0<=Z&&O.splice(Z,1)}}M.d(W,{o:()=>u})},1853:(Ae,W,M)=>{"use strict";function u(O){const Z=O(H=>{Error.call(H),H.stack=(new Error).stack});return Z.prototype=Object.create(Error.prototype),Z.prototype.constructor=Z,Z}M.d(W,{L:()=>u})},8496:(Ae,W,M)=>{"use strict";function u(O,G){return O.reduce((Z,H,z)=>(Z[H]=G[z],Z),{})}M.d(W,{e:()=>u})},9786:(Ae,W,M)=>{"use strict";M.d(W,{Y:()=>G,l:()=>Z});var u=M(1026);let O=null;function G(H){if(u.$.useDeprecatedSynchronousErrorHandling){const z=!O;if(z&&(O={errorThrown:!1,error:null}),H(),z){const{errorThrown:j,error:K}=O;if(O=null,j)throw K}}else H()}function Z(H){u.$.useDeprecatedSynchronousErrorHandling&&O&&(O.errorThrown=!0,O.error=H)}},5225:(Ae,W,M)=>{"use strict";function u(O,G,Z,H=0,z=!1){const j=G.schedule(function(){Z(),z?O.add(this.schedule(null,H)):this.unsubscribe()},H);if(O.add(j),!z)return j}M.d(W,{N:()=>u})},3669:(Ae,W,M)=>{"use strict";function u(O){return O}M.d(W,{D:()=>u})},7441:(Ae,W,M)=>{"use strict";M.d(W,{X:()=>u});const u=O=>O&&"number"==typeof O.length&&"function"!=typeof O},7953:(Ae,W,M)=>{"use strict";M.d(W,{T:()=>O});var u=M(8071);function O(G){return Symbol.asyncIterator&&(0,u.T)(G?.[Symbol.asyncIterator])}},8071:(Ae,W,M)=>{"use strict";function u(O){return"function"==typeof O}M.d(W,{T:()=>u})},5055:(Ae,W,M)=>{"use strict";M.d(W,{l:()=>G});var u=M(3494),O=M(8071);function G(Z){return(0,O.T)(Z[u.s])}},5397:(Ae,W,M)=>{"use strict";M.d(W,{x:()=>G});var u=M(4761),O=M(8071);function G(Z){return(0,O.T)(Z?.[u.l])}},9858:(Ae,W,M)=>{"use strict";M.d(W,{y:()=>O});var u=M(8071);function O(G){return(0,u.T)(G?.then)}},5196:(Ae,W,M)=>{"use strict";M.d(W,{C:()=>G,U:()=>Z});var u=M(5215),O=M(8071);function G(H){return(0,u.AQ)(this,arguments,function*(){const j=H.getReader();try{for(;;){const{value:K,done:ee}=yield(0,u.N3)(j.read());if(ee)return yield(0,u.N3)(void 0);yield yield(0,u.N3)(K)}}finally{j.releaseLock()}})}function Z(H){return(0,O.T)(H?.getReader)}},9470:(Ae,W,M)=>{"use strict";M.d(W,{m:()=>O});var u=M(8071);function O(G){return G&&(0,u.T)(G.schedule)}},9974:(Ae,W,M)=>{"use strict";M.d(W,{N:()=>G,S:()=>O});var u=M(8071);function O(Z){return(0,u.T)(Z?.lift)}function G(Z){return H=>{if(O(H))return H.lift(function(z){try{return Z(z,this)}catch(j){this.error(j)}});throw new TypeError("Unable to lift unknown Observable type")}}},6450:(Ae,W,M)=>{"use strict";M.d(W,{I:()=>Z});var u=M(6354);const{isArray:O}=Array;function Z(H){return(0,u.T)(z=>function G(H,z){return O(z)?H(...z):H(z)}(H,z))}},5343:(Ae,W,M)=>{"use strict";function u(){}M.d(W,{l:()=>u})},1203:(Ae,W,M)=>{"use strict";M.d(W,{F:()=>O,m:()=>G});var u=M(3669);function O(...Z){return G(Z)}function G(Z){return 0===Z.length?u.D:1===Z.length?Z[0]:function(z){return Z.reduce((j,K)=>K(j),z)}}},5334:(Ae,W,M)=>{"use strict";M.d(W,{m:()=>G});var u=M(1026),O=M(9270);function G(Z){O.f.setTimeout(()=>{const{onUnhandledError:H}=u.$;if(!H)throw Z;H(Z)})}},591:(Ae,W,M)=>{"use strict";function u(O){return new TypeError(`You provided ${null!==O&&"object"==typeof O?"an invalid object":`'${O}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}M.d(W,{L:()=>u})},6935:()=>{"use strict";const Ae=globalThis;function W(re){return(Ae.__Zone_symbol_prefix||"__zone_symbol__")+re}const O=Object.getOwnPropertyDescriptor,G=Object.defineProperty,Z=Object.getPrototypeOf,H=Object.create,z=Array.prototype.slice,j="addEventListener",K="removeEventListener",ee=W(j),Y=W(K),X="true",ae="false",xe=W("");function de(re,le){return Zone.current.wrap(re,le)}function we(re,le,Ue,he,Ne){return Zone.current.scheduleMacroTask(re,le,Ue,he,Ne)}const Ge=W,gt=typeof window<"u",ut=gt?window:void 0,ot=gt&&ut||globalThis,Nt="removeAttribute";function Xe(re,le){for(let Ue=re.length-1;Ue>=0;Ue--)"function"==typeof re[Ue]&&(re[Ue]=de(re[Ue],le+"_"+Ue));return re}function ft(re){return!re||!1!==re.writable&&!("function"==typeof re.get&&typeof re.set>"u")}const Vt=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope,it=!("nw"in ot)&&typeof ot.process<"u"&&"[object process]"===ot.process.toString(),Ye=!it&&!Vt&&!(!gt||!ut.HTMLElement),Ve=typeof ot.process<"u"&&"[object process]"===ot.process.toString()&&!Vt&&!(!gt||!ut.HTMLElement),$={},ie=Ge("enable_beforeunload"),pe=function(re){if(!(re=re||ot.event))return;let le=$[re.type];le||(le=$[re.type]=Ge("ON_PROPERTY"+re.type));const Ue=this||re.target||ot,he=Ue[le];let Ne;return Ye&&Ue===ut&&"error"===re.type?(Ne=he&&he.call(this,re.message,re.filename,re.lineno,re.colno,re.error),!0===Ne&&re.preventDefault()):(Ne=he&&he.apply(this,arguments),"beforeunload"===re.type&&ot[ie]&&"string"==typeof Ne?re.returnValue=Ne:null!=Ne&&!Ne&&re.preventDefault()),Ne};function ye(re,le,Ue){let he=O(re,le);if(!he&&Ue&&O(Ue,le)&&(he={enumerable:!0,configurable:!0}),!he||!he.configurable)return;const Ne=Ge("on"+le+"patched");if(re.hasOwnProperty(Ne)&&re[Ne])return;delete he.writable,delete he.value;const Be=he.get,st=he.set,yt=le.slice(2);let vt=$[yt];vt||(vt=$[yt]=Ge("ON_PROPERTY"+yt)),he.set=function(fe){let oe=this;!oe&&re===ot&&(oe=ot),oe&&("function"==typeof oe[vt]&&oe.removeEventListener(yt,pe),st&&st.call(oe,null),oe[vt]=fe,"function"==typeof fe&&oe.addEventListener(yt,pe,!1))},he.get=function(){let fe=this;if(!fe&&re===ot&&(fe=ot),!fe)return null;const oe=fe[vt];if(oe)return oe;if(Be){let U=Be.call(this);if(U)return he.set.call(this,U),"function"==typeof fe[Nt]&&fe.removeAttribute(le),U}return null},G(re,le,he),re[Ne]=!0}function Ce(re,le,Ue){if(le)for(let he=0;he<le.length;he++)ye(re,"on"+le[he],Ue);else{const he=[];for(const Ne in re)"on"==Ne.slice(0,2)&&he.push(Ne);for(let Ne=0;Ne<he.length;Ne++)ye(re,he[Ne],Ue)}}const ve=Ge("originalInstance");function De(re){const le=ot[re];if(!le)return;ot[Ge(re)]=le,ot[re]=function(){const Ne=Xe(arguments,re);switch(Ne.length){case 0:this[ve]=new le;break;case 1:this[ve]=new le(Ne[0]);break;case 2:this[ve]=new le(Ne[0],Ne[1]);break;case 3:this[ve]=new le(Ne[0],Ne[1],Ne[2]);break;case 4:this[ve]=new le(Ne[0],Ne[1],Ne[2],Ne[3]);break;default:throw new Error("Arg list too long.")}},Fe(ot[re],le);const Ue=new le(function(){});let he;for(he in Ue)"XMLHttpRequest"===re&&"responseBlob"===he||function(Ne){"function"==typeof Ue[Ne]?ot[re].prototype[Ne]=function(){return this[ve][Ne].apply(this[ve],arguments)}:G(ot[re].prototype,Ne,{set:function(Be){"function"==typeof Be?(this[ve][Ne]=de(Be,re+"."+Ne),Fe(this[ve][Ne],Be)):this[ve][Ne]=Be},get:function(){return this[ve][Ne]}})}(he);for(he in le)"prototype"!==he&&le.hasOwnProperty(he)&&(ot[re][he]=le[he])}function Se(re,le,Ue){let he=re;for(;he&&!he.hasOwnProperty(le);)he=Z(he);!he&&re[le]&&(he=re);const Ne=Ge(le);let Be=null;if(he&&(!(Be=he[Ne])||!he.hasOwnProperty(Ne))&&(Be=he[Ne]=he[le],ft(he&&O(he,le)))){const yt=Ue(Be,Ne,le);he[le]=function(){return yt(this,arguments)},Fe(he[le],Be)}return Be}function Le(re,le,Ue){let he=null;function Ne(Be){const st=Be.data;return st.args[st.cbIdx]=function(){Be.invoke.apply(this,arguments)},he.apply(st.target,st.args),Be}he=Se(re,le,Be=>function(st,yt){const vt=Ue(st,yt);return vt.cbIdx>=0&&"function"==typeof yt[vt.cbIdx]?we(vt.name,yt[vt.cbIdx],vt,Ne):Be.apply(st,yt)})}function Fe(re,le){re[Ge("OriginalDelegate")]=le}let Dt=!1,Rt=!1;function tn(){if(Dt)return Rt;Dt=!0;try{const re=ut.navigator.userAgent;(-1!==re.indexOf("MSIE ")||-1!==re.indexOf("Trident/")||-1!==re.indexOf("Edge/"))&&(Rt=!0)}catch{}return Rt}function Dn(re){return"function"==typeof re}function Qn(re){return"number"==typeof re}let Xn=!1;if(typeof window<"u")try{const re=Object.defineProperty({},"passive",{get:function(){Xn=!0}});window.addEventListener("test",re,re),window.removeEventListener("test",re,re)}catch{Xn=!1}const On={useG:!0},Pn={},Sr={},$r=new RegExp("^"+xe+"(\\w+)(true|false)$"),An=Ge("propagationStopped");function Gn(re,le){const Ue=(le?le(re):re)+ae,he=(le?le(re):re)+X,Ne=xe+Ue,Be=xe+he;Pn[re]={},Pn[re][ae]=Ne,Pn[re][X]=Be}function zr(re,le,Ue,he){const Ne=he&&he.add||j,Be=he&&he.rm||K,st=he&&he.listeners||"eventListeners",yt=he&&he.rmAll||"removeAllListeners",vt=Ge(Ne),fe="."+Ne+":",oe="prependListener",U="."+oe+":",te=function(pt,rt,$t){if(pt.isRemoved)return;const un=pt.callback;let Mn;"object"==typeof un&&un.handleEvent&&(pt.callback=St=>un.handleEvent(St),pt.originalDelegate=un);try{pt.invoke(pt,rt,[$t])}catch(St){Mn=St}const vn=pt.options;return vn&&"object"==typeof vn&&vn.once&&rt[Be].call(rt,$t.type,pt.originalDelegate?pt.originalDelegate:pt.callback,vn),Mn};function Oe(pt,rt,$t){if(!(rt=rt||re.event))return;const un=pt||rt.target||re,Mn=un[Pn[rt.type][$t?X:ae]];if(Mn){const vn=[];if(1===Mn.length){const St=te(Mn[0],un,rt);St&&vn.push(St)}else{const St=Mn.slice();for(let Tn=0;Tn<St.length&&(!rt||!0!==rt[An]);Tn++){const zt=te(St[Tn],un,rt);zt&&vn.push(zt)}}if(1===vn.length)throw vn[0];for(let St=0;St<vn.length;St++){const Tn=vn[St];le.nativeScheduleMicroTask(()=>{throw Tn})}}}const Qe=function(pt){return Oe(this,pt,!1)},Mt=function(pt){return Oe(this,pt,!0)};function It(pt,rt){if(!pt)return!1;let $t=!0;rt&&void 0!==rt.useG&&($t=rt.useG);const un=rt&&rt.vh;let Mn=!0;rt&&void 0!==rt.chkDup&&(Mn=rt.chkDup);let vn=!1;rt&&void 0!==rt.rt&&(vn=rt.rt);let St=pt;for(;St&&!St.hasOwnProperty(Ne);)St=Z(St);if(!St&&pt[Ne]&&(St=pt),!St||St[vt])return!1;const Tn=rt&&rt.eventNameToString,zt={},kt=St[vt]=St[Ne],bt=St[Ge(Be)]=St[Be],Ot=St[Ge(st)]=St[st],wn=St[Ge(yt)]=St[yt];let dn;rt&&rt.prepend&&(dn=St[Ge(rt.prepend)]=St[rt.prepend]);const gn=$t?function(x){if(!zt.isExisting)return kt.call(zt.target,zt.eventName,zt.capture?Mt:Qe,zt.options)}:function(x){return kt.call(zt.target,zt.eventName,x.invoke,zt.options)},Qt=$t?function(x){if(!x.isRemoved){const B=Pn[x.eventName];let ce;B&&(ce=B[x.capture?X:ae]);const Me=ce&&x.target[ce];if(Me)for(let be=0;be<Me.length;be++)if(Me[be]===x){Me.splice(be,1),x.isRemoved=!0,x.removeAbortListener&&(x.removeAbortListener(),x.removeAbortListener=null),0===Me.length&&(x.allRemoved=!0,x.target[ce]=null);break}}if(x.allRemoved)return bt.call(x.target,x.eventName,x.capture?Mt:Qe,x.options)}:function(x){return bt.call(x.target,x.eventName,x.invoke,x.options)},kn=rt&&rt.diff?rt.diff:function(x,B){const ce=typeof B;return"function"===ce&&x.callback===B||"object"===ce&&x.originalDelegate===B},Sn=Zone[Ge("UNPATCHED_EVENTS")],ir=re[Ge("PASSIVE_EVENTS")],P=function(x,B,ce,Me,be=!1,Re=!1){return function(){const Je=this||re;let Ke=arguments[0];rt&&rt.transferEventName&&(Ke=rt.transferEventName(Ke));let Lt=arguments[1];if(!Lt)return x.apply(this,arguments);if(it&&"uncaughtException"===Ke)return x.apply(this,arguments);let D=!1;if("function"!=typeof Lt){if(!Lt.handleEvent)return x.apply(this,arguments);D=!0}if(un&&!un(x,Lt,Je,arguments))return;const k=Xn&&!!ir&&-1!==ir.indexOf(Ke),N=function et(x){if("object"==typeof x&&null!==x){const B={...x};return x.signal&&(B.signal=x.signal),B}return x}(function Pt(x,B){return!Xn&&"object"==typeof x&&x?!!x.capture:Xn&&B?"boolean"==typeof x?{capture:x,passive:!0}:x?"object"==typeof x&&!1!==x.passive?{...x,passive:!0}:x:{passive:!0}:x}(arguments[2],k)),F=N?.signal;if(F?.aborted)return;if(Sn)for(let ur=0;ur<Sn.length;ur++)if(Ke===Sn[ur])return k?x.call(Je,Ke,Lt,N):x.apply(this,arguments);const ge=!!N&&("boolean"==typeof N||N.capture),Ie=!(!N||"object"!=typeof N)&&N.once,ke=Zone.current;let qe=Pn[Ke];qe||(Gn(Ke,Tn),qe=Pn[Ke]);const dt=qe[ge?X:ae];let En,nt=Je[dt],Gt=!1;if(nt){if(Gt=!0,Mn)for(let ur=0;ur<nt.length;ur++)if(kn(nt[ur],Lt))return}else nt=Je[dt]=[];const Hn=Je.constructor.name,In=Sr[Hn];In&&(En=In[Ke]),En||(En=Hn+B+(Tn?Tn(Ke):Ke)),zt.options=N,Ie&&(zt.options.once=!1),zt.target=Je,zt.capture=ge,zt.eventName=Ke,zt.isExisting=Gt;const $n=$t?On:void 0;$n&&($n.taskData=zt),F&&(zt.options.signal=void 0);const Wn=ke.scheduleEventTask(En,Lt,$n,ce,Me);if(F){zt.options.signal=F;const ur=()=>Wn.zone.cancelTask(Wn);x.call(F,"abort",ur,{once:!0}),Wn.removeAbortListener=()=>F.removeEventListener("abort",ur)}return zt.target=null,$n&&($n.taskData=null),Ie&&(zt.options.once=!0),!Xn&&"boolean"==typeof Wn.options||(Wn.options=N),Wn.target=Je,Wn.capture=ge,Wn.eventName=Ke,D&&(Wn.originalDelegate=Lt),Re?nt.unshift(Wn):nt.push(Wn),be?Je:void 0}};return St[Ne]=P(kt,fe,gn,Qt,vn),dn&&(St[oe]=P(dn,U,function(x){return dn.call(zt.target,zt.eventName,x.invoke,zt.options)},Qt,vn,!0)),St[Be]=function(){const x=this||re;let B=arguments[0];rt&&rt.transferEventName&&(B=rt.transferEventName(B));const ce=arguments[2],Me=!!ce&&("boolean"==typeof ce||ce.capture),be=arguments[1];if(!be)return bt.apply(this,arguments);if(un&&!un(bt,be,x,arguments))return;const Re=Pn[B];let Je;Re&&(Je=Re[Me?X:ae]);const Ke=Je&&x[Je];if(Ke)for(let Lt=0;Lt<Ke.length;Lt++){const D=Ke[Lt];if(kn(D,be))return Ke.splice(Lt,1),D.isRemoved=!0,0!==Ke.length||(D.allRemoved=!0,x[Je]=null,Me||"string"!=typeof B)||(x[xe+"ON_PROPERTY"+B]=null),D.zone.cancelTask(D),vn?x:void 0}return bt.apply(this,arguments)},St[st]=function(){const x=this||re;let B=arguments[0];rt&&rt.transferEventName&&(B=rt.transferEventName(B));const ce=[],Me=tr(x,Tn?Tn(B):B);for(let be=0;be<Me.length;be++){const Re=Me[be];ce.push(Re.originalDelegate?Re.originalDelegate:Re.callback)}return ce},St[yt]=function(){const x=this||re;let B=arguments[0];if(B){rt&&rt.transferEventName&&(B=rt.transferEventName(B));const ce=Pn[B];if(ce){const Re=x[ce[ae]],Je=x[ce[X]];if(Re){const Ke=Re.slice();for(let Lt=0;Lt<Ke.length;Lt++){const D=Ke[Lt];this[Be].call(this,B,D.originalDelegate?D.originalDelegate:D.callback,D.options)}}if(Je){const Ke=Je.slice();for(let Lt=0;Lt<Ke.length;Lt++){const D=Ke[Lt];this[Be].call(this,B,D.originalDelegate?D.originalDelegate:D.callback,D.options)}}}}else{const ce=Object.keys(x);for(let Me=0;Me<ce.length;Me++){const Re=$r.exec(ce[Me]);let Je=Re&&Re[1];Je&&"removeListener"!==Je&&this[yt].call(this,Je)}this[yt].call(this,"removeListener")}if(vn)return this},Fe(St[Ne],kt),Fe(St[Be],bt),wn&&Fe(St[yt],wn),Ot&&Fe(St[st],Ot),!0}let Jt=[];for(let pt=0;pt<Ue.length;pt++)Jt[pt]=It(Ue[pt],he);return Jt}function tr(re,le){if(!le){const Be=[];for(let st in re){const yt=$r.exec(st);let vt=yt&&yt[1];if(vt&&(!le||vt===le)){const fe=re[st];if(fe)for(let oe=0;oe<fe.length;oe++)Be.push(fe[oe])}}return Be}let Ue=Pn[le];Ue||(Gn(le),Ue=Pn[le]);const he=re[Ue[ae]],Ne=re[Ue[X]];return he?Ne?he.concat(Ne):he.slice():Ne?Ne.slice():[]}function Ir(re,le){const Ue=re.Event;Ue&&Ue.prototype&&le.patchMethod(Ue.prototype,"stopImmediatePropagation",he=>function(Ne,Be){Ne[An]=!0,he&&he.apply(Ne,Be)})}const xt=Ge("zoneTask");function Zn(re,le,Ue,he){let Ne=null,Be=null;Ue+=he;const st={};function yt(fe){const oe=fe.data;oe.args[0]=function(){return fe.invoke.apply(this,arguments)};const U=Ne.apply(re,oe.args);return Qn(U)?oe.handleId=U:(oe.handle=U,oe.isRefreshable=Dn(U.refresh)),fe}function vt(fe){const{handle:oe,handleId:U}=fe.data;return Be.call(re,oe??U)}Ne=Se(re,le+=he,fe=>function(oe,U){if(Dn(U[0])){const te={isRefreshable:!1,isPeriodic:"Interval"===he,delay:"Timeout"===he||"Interval"===he?U[1]||0:void 0,args:U},Oe=U[0];U[0]=function(){try{return Oe.apply(this,arguments)}finally{const{handle:$t,handleId:un,isPeriodic:Mn,isRefreshable:vn}=te;!Mn&&!vn&&(un?delete st[un]:$t&&($t[xt]=null))}};const Qe=we(le,U[0],te,yt,vt);if(!Qe)return Qe;const{handleId:Mt,handle:It,isRefreshable:Jt,isPeriodic:pt}=Qe.data;if(Mt)st[Mt]=Qe;else if(It&&(It[xt]=Qe,Jt&&!pt)){const rt=It.refresh;It.refresh=function(){const{zone:$t,state:un}=Qe;return"notScheduled"===un?(Qe._state="scheduled",$t._updateTaskCount(Qe,1)):"running"===un&&(Qe._state="scheduling"),rt.call(this)}}return It??Mt??Qe}return fe.apply(re,U)}),Be=Se(re,Ue,fe=>function(oe,U){const te=U[0];let Oe;Qn(te)?(Oe=st[te],delete st[te]):(Oe=te?.[xt],Oe?te[xt]=null:Oe=te),Oe?.type?Oe.cancelFn&&Oe.zone.cancelTask(Oe):fe.apply(re,U)})}function gr(re,le,Ue){if(!Ue||0===Ue.length)return le;const he=Ue.filter(Be=>Be.target===re);if(!he||0===he.length)return le;const Ne=he[0].ignoreProperties;return le.filter(Be=>-1===Ne.indexOf(Be))}function Yt(re,le,Ue,he){re&&Ce(re,gr(re,le,Ue),he)}function Ze(re){return Object.getOwnPropertyNames(re).filter(le=>le.startsWith("on")&&le.length>2).map(le=>le.substring(2))}function Yn(re,le,Ue,he,Ne){const Be=Zone.__symbol__(he);if(le[Be])return;const st=le[Be]=le[he];le[he]=function(yt,vt,fe){return vt&&vt.prototype&&Ne.forEach(function(oe){const U=`${Ue}.${he}::`+oe,te=vt.prototype;try{if(te.hasOwnProperty(oe)){const Oe=re.ObjectGetOwnPropertyDescriptor(te,oe);Oe&&Oe.value?(Oe.value=re.wrapWithCurrentZone(Oe.value,U),re._redefineProperty(vt.prototype,oe,Oe)):te[oe]&&(te[oe]=re.wrapWithCurrentZone(te[oe],U))}else te[oe]&&(te[oe]=re.wrapWithCurrentZone(te[oe],U))}catch{}}),st.call(le,yt,vt,fe)},re.attachOriginToPatched(le[he],st)}const ei=function u(){const re=globalThis,le=!0===re[W("forceDuplicateZoneCheck")];if(re.Zone&&(le||"function"!=typeof re.Zone.__symbol__))throw new Error("Zone already loaded.");return re.Zone??=function M(){const re=Ae.performance;function le(Pt){re&&re.mark&&re.mark(Pt)}function Ue(Pt,_t){re&&re.measure&&re.measure(Pt,_t)}le("Zone");let he=(()=>{class Pt{static#e=this.__symbol__=W;static assertZonePatched(){if(Ae.Promise!==zt.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 me=Pt.current;for(;me.parent;)me=me.parent;return me}static get current(){return bt.zone}static get currentTask(){return Ot}static __load_patch(me,Ee,Et=!1){if(zt.hasOwnProperty(me)){const Ft=!0===Ae[W("forceDuplicateZoneCheck")];if(!Et&&Ft)throw Error("Already loaded patch: "+me)}else if(!Ae["__Zone_disable_"+me]){const Ft="Zone:"+me;le(Ft),zt[me]=Ee(Ae,Pt,kt),Ue(Ft,Ft)}}get parent(){return this._parent}get name(){return this._name}constructor(me,Ee){this._parent=me,this._name=Ee?Ee.name||"unnamed":"<root>",this._properties=Ee&&Ee.properties||{},this._zoneDelegate=new Be(this,this._parent&&this._parent._zoneDelegate,Ee)}get(me){const Ee=this.getZoneWith(me);if(Ee)return Ee._properties[me]}getZoneWith(me){let Ee=this;for(;Ee;){if(Ee._properties.hasOwnProperty(me))return Ee;Ee=Ee._parent}return null}fork(me){if(!me)throw new Error("ZoneSpec required!");return this._zoneDelegate.fork(this,me)}wrap(me,Ee){if("function"!=typeof me)throw new Error("Expecting function got: "+me);const Et=this._zoneDelegate.intercept(this,me,Ee),Ft=this;return function(){return Ft.runGuarded(Et,this,arguments,Ee)}}run(me,Ee,Et,Ft){bt={parent:bt,zone:this};try{return this._zoneDelegate.invoke(this,me,Ee,Et,Ft)}finally{bt=bt.parent}}runGuarded(me,Ee=null,Et,Ft){bt={parent:bt,zone:this};try{try{return this._zoneDelegate.invoke(this,me,Ee,Et,Ft)}catch(gn){if(this._zoneDelegate.handleError(this,gn))throw gn}}finally{bt=bt.parent}}runTask(me,Ee,Et){if(me.zone!=this)throw new Error("A task can only be run in the zone of creation! (Creation: "+(me.zone||It).name+"; Execution: "+this.name+")");const Ft=me,{type:gn,data:{isPeriodic:Qt=!1,isRefreshable:Vn=!1}={}}=me;if(me.state===Jt&&(gn===Tn||gn===St))return;const kn=me.state!=$t;kn&&Ft._transitionTo($t,rt);const Sn=Ot;Ot=Ft,bt={parent:bt,zone:this};try{gn==St&&me.data&&!Qt&&!Vn&&(me.cancelFn=void 0);try{return this._zoneDelegate.invokeTask(this,Ft,Ee,Et)}catch(ir){if(this._zoneDelegate.handleError(this,ir))throw ir}}finally{const ir=me.state;if(ir!==Jt&&ir!==Mn)if(gn==Tn||Qt||Vn&&ir===pt)kn&&Ft._transitionTo(rt,$t,pt);else{const et=Ft._zoneDelegates;this._updateTaskCount(Ft,-1),kn&&Ft._transitionTo(Jt,$t,Jt),Vn&&(Ft._zoneDelegates=et)}bt=bt.parent,Ot=Sn}}scheduleTask(me){if(me.zone&&me.zone!==this){let Et=this;for(;Et;){if(Et===me.zone)throw Error(`can not reschedule task to ${this.name} which is descendants of the original zone ${me.zone.name}`);Et=Et.parent}}me._transitionTo(pt,Jt);const Ee=[];me._zoneDelegates=Ee,me._zone=this;try{me=this._zoneDelegate.scheduleTask(this,me)}catch(Et){throw me._transitionTo(Mn,pt,Jt),this._zoneDelegate.handleError(this,Et),Et}return me._zoneDelegates===Ee&&this._updateTaskCount(me,1),me.state==pt&&me._transitionTo(rt,pt),me}scheduleMicroTask(me,Ee,Et,Ft){return this.scheduleTask(new st(vn,me,Ee,Et,Ft,void 0))}scheduleMacroTask(me,Ee,Et,Ft,gn){return this.scheduleTask(new st(St,me,Ee,Et,Ft,gn))}scheduleEventTask(me,Ee,Et,Ft,gn){return this.scheduleTask(new st(Tn,me,Ee,Et,Ft,gn))}cancelTask(me){if(me.zone!=this)throw new Error("A task can only be cancelled in the zone of creation! (Creation: "+(me.zone||It).name+"; Execution: "+this.name+")");if(me.state===rt||me.state===$t){me._transitionTo(un,rt,$t);try{this._zoneDelegate.cancelTask(this,me)}catch(Ee){throw me._transitionTo(Mn,un),this._zoneDelegate.handleError(this,Ee),Ee}return this._updateTaskCount(me,-1),me._transitionTo(Jt,un),me.runCount=-1,me}}_updateTaskCount(me,Ee){const Et=me._zoneDelegates;-1==Ee&&(me._zoneDelegates=null);for(let Ft=0;Ft<Et.length;Ft++)Et[Ft]._updateTaskCount(me.type,Ee)}}return Pt})();const Ne={name:"",onHasTask:(Pt,_t,me,Ee)=>Pt.hasTask(me,Ee),onScheduleTask:(Pt,_t,me,Ee)=>Pt.scheduleTask(me,Ee),onInvokeTask:(Pt,_t,me,Ee,Et,Ft)=>Pt.invokeTask(me,Ee,Et,Ft),onCancelTask:(Pt,_t,me,Ee)=>Pt.cancelTask(me,Ee)};class Be{get zone(){return this._zone}constructor(_t,me,Ee){this._taskCounts={microTask:0,macroTask:0,eventTask:0},this._zone=_t,this._parentDelegate=me,this._forkZS=Ee&&(Ee&&Ee.onFork?Ee:me._forkZS),this._forkDlgt=Ee&&(Ee.onFork?me:me._forkDlgt),this._forkCurrZone=Ee&&(Ee.onFork?this._zone:me._forkCurrZone),this._interceptZS=Ee&&(Ee.onIntercept?Ee:me._interceptZS),this._interceptDlgt=Ee&&(Ee.onIntercept?me:me._interceptDlgt),this._interceptCurrZone=Ee&&(Ee.onIntercept?this._zone:me._interceptCurrZone),this._invokeZS=Ee&&(Ee.onInvoke?Ee:me._invokeZS),this._invokeDlgt=Ee&&(Ee.onInvoke?me:me._invokeDlgt),this._invokeCurrZone=Ee&&(Ee.onInvoke?this._zone:me._invokeCurrZone),this._handleErrorZS=Ee&&(Ee.onHandleError?Ee:me._handleErrorZS),this._handleErrorDlgt=Ee&&(Ee.onHandleError?me:me._handleErrorDlgt),this._handleErrorCurrZone=Ee&&(Ee.onHandleError?this._zone:me._handleErrorCurrZone),this._scheduleTaskZS=Ee&&(Ee.onScheduleTask?Ee:me._scheduleTaskZS),this._scheduleTaskDlgt=Ee&&(Ee.onScheduleTask?me:me._scheduleTaskDlgt),this._scheduleTaskCurrZone=Ee&&(Ee.onScheduleTask?this._zone:me._scheduleTaskCurrZone),this._invokeTaskZS=Ee&&(Ee.onInvokeTask?Ee:me._invokeTaskZS),this._invokeTaskDlgt=Ee&&(Ee.onInvokeTask?me:me._invokeTaskDlgt),this._invokeTaskCurrZone=Ee&&(Ee.onInvokeTask?this._zone:me._invokeTaskCurrZone),this._cancelTaskZS=Ee&&(Ee.onCancelTask?Ee:me._cancelTaskZS),this._cancelTaskDlgt=Ee&&(Ee.onCancelTask?me:me._cancelTaskDlgt),this._cancelTaskCurrZone=Ee&&(Ee.onCancelTask?this._zone:me._cancelTaskCurrZone),this._hasTaskZS=null,this._hasTaskDlgt=null,this._hasTaskDlgtOwner=null,this._hasTaskCurrZone=null;const Et=Ee&&Ee.onHasTask;(Et||me&&me._hasTaskZS)&&(this._hasTaskZS=Et?Ee:Ne,this._hasTaskDlgt=me,this._hasTaskDlgtOwner=this,this._hasTaskCurrZone=this._zone,Ee.onScheduleTask||(this._scheduleTaskZS=Ne,this._scheduleTaskDlgt=me,this._scheduleTaskCurrZone=this._zone),Ee.onInvokeTask||(this._invokeTaskZS=Ne,this._invokeTaskDlgt=me,this._invokeTaskCurrZone=this._zone),Ee.onCancelTask||(this._cancelTaskZS=Ne,this._cancelTaskDlgt=me,this._cancelTaskCurrZone=this._zone))}fork(_t,me){return this._forkZS?this._forkZS.onFork(this._forkDlgt,this.zone,_t,me):new he(_t,me)}intercept(_t,me,Ee){return this._interceptZS?this._interceptZS.onIntercept(this._interceptDlgt,this._interceptCurrZone,_t,me,Ee):me}invoke(_t,me,Ee,Et,Ft){return this._invokeZS?this._invokeZS.onInvoke(this._invokeDlgt,this._invokeCurrZone,_t,me,Ee,Et,Ft):me.apply(Ee,Et)}handleError(_t,me){return!this._handleErrorZS||this._handleErrorZS.onHandleError(this._handleErrorDlgt,this._handleErrorCurrZone,_t,me)}scheduleTask(_t,me){let Ee=me;if(this._scheduleTaskZS)this._hasTaskZS&&Ee._zoneDelegates.push(this._hasTaskDlgtOwner),Ee=this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt,this._scheduleTaskCurrZone,_t,me),Ee||(Ee=me);else if(me.scheduleFn)me.scheduleFn(me);else{if(me.type!=vn)throw new Error("Task is missing scheduleFn.");Qe(me)}return Ee}invokeTask(_t,me,Ee,Et){return this._invokeTaskZS?this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt,this._invokeTaskCurrZone,_t,me,Ee,Et):me.callback.apply(Ee,Et)}cancelTask(_t,me){let Ee;if(this._cancelTaskZS)Ee=this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt,this._cancelTaskCurrZone,_t,me);else{if(!me.cancelFn)throw Error("Task is not cancelable");Ee=me.cancelFn(me)}return Ee}hasTask(_t,me){try{this._hasTaskZS&&this._hasTaskZS.onHasTask(this._hasTaskDlgt,this._hasTaskCurrZone,_t,me)}catch(Ee){this.handleError(_t,Ee)}}_updateTaskCount(_t,me){const Ee=this._taskCounts,Et=Ee[_t],Ft=Ee[_t]=Et+me;if(Ft<0)throw new Error("More tasks executed then were scheduled.");0!=Et&&0!=Ft||this.hasTask(this._zone,{microTask:Ee.microTask>0,macroTask:Ee.macroTask>0,eventTask:Ee.eventTask>0,change:_t})}}class st{constructor(_t,me,Ee,Et,Ft,gn){if(this._zone=null,this.runCount=0,this._zoneDelegates=null,this._state="notScheduled",this.type=_t,this.source=me,this.data=Et,this.scheduleFn=Ft,this.cancelFn=gn,!Ee)throw new Error("callback is not defined");this.callback=Ee;const Qt=this;this.invoke=_t===Tn&&Et&&Et.useG?st.invokeTask:function(){return st.invokeTask.call(Ae,Qt,this,arguments)}}static invokeTask(_t,me,Ee){_t||(_t=this),wn++;try{return _t.runCount++,_t.zone.runTask(_t,me,Ee)}finally{1==wn&&Mt(),wn--}}get zone(){return this._zone}get state(){return this._state}cancelScheduleRequest(){this._transitionTo(Jt,pt)}_transitionTo(_t,me,Ee){if(this._state!==me&&this._state!==Ee)throw new Error(`${this.type} '${this.source}': can not transition to '${_t}', expecting state '${me}'${Ee?" or '"+Ee+"'":""}, was '${this._state}'.`);this._state=_t,_t==Jt&&(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 yt=W("setTimeout"),vt=W("Promise"),fe=W("then");let te,oe=[],U=!1;function Oe(Pt){if(te||Ae[vt]&&(te=Ae[vt].resolve(0)),te){let _t=te[fe];_t||(_t=te.then),_t.call(te,Pt)}else Ae[yt](Pt,0)}function Qe(Pt){0===wn&&0===oe.length&&Oe(Mt),Pt&&oe.push(Pt)}function Mt(){if(!U){for(U=!0;oe.length;){const Pt=oe;oe=[];for(let _t=0;_t<Pt.length;_t++){const me=Pt[_t];try{me.zone.runTask(me,null,null)}catch(Ee){kt.onUnhandledError(Ee)}}}kt.microtaskDrainDone(),U=!1}}const It={name:"NO ZONE"},Jt="notScheduled",pt="scheduling",rt="scheduled",$t="running",un="canceling",Mn="unknown",vn="microTask",St="macroTask",Tn="eventTask",zt={},kt={symbol:W,currentZoneFrame:()=>bt,onUnhandledError:dn,microtaskDrainDone:dn,scheduleMicroTask:Qe,showUncaughtError:()=>!he[W("ignoreConsoleErrorUncaughtError")],patchEventTarget:()=>[],patchOnProperties:dn,patchMethod:()=>dn,bindArguments:()=>[],patchThen:()=>dn,patchMacroTask:()=>dn,patchEventPrototype:()=>dn,isIEOrEdge:()=>!1,getGlobalObjects:()=>{},ObjectDefineProperty:()=>dn,ObjectGetOwnPropertyDescriptor:()=>{},ObjectCreate:()=>{},ArraySlice:()=>[],patchClass:()=>dn,wrapWithCurrentZone:()=>dn,filterProperties:()=>[],attachOriginToPatched:()=>dn,_redefineProperty:()=>dn,patchCallbacks:()=>dn,nativeScheduleMicroTask:Oe};let bt={parent:null,zone:new he(null,null)},Ot=null,wn=0;function dn(){}return Ue("Zone","Zone"),he}(),re.Zone}();(function qt(re){(function Kn(re){re.__load_patch("ZoneAwarePromise",(le,Ue,he)=>{const Ne=Object.getOwnPropertyDescriptor,Be=Object.defineProperty,yt=he.symbol,vt=[],fe=!1!==le[yt("DISABLE_WRAPPING_UNCAUGHT_PROMISE_REJECTION")],oe=yt("Promise"),U=yt("then"),te="__creationTrace__";he.onUnhandledError=et=>{if(he.showUncaughtError()){const P=et&&et.rejection;P?console.error("Unhandled Promise rejection:",P instanceof Error?P.message:P,"; Zone:",et.zone.name,"; Task:",et.task&&et.task.source,"; Value:",P,P instanceof Error?P.stack:void 0):console.error(et)}},he.microtaskDrainDone=()=>{for(;vt.length;){const et=vt.shift();try{et.zone.runGuarded(()=>{throw et.throwOriginal?et.rejection:et})}catch(P){Qe(P)}}};const Oe=yt("unhandledPromiseRejectionHandler");function Qe(et){he.onUnhandledError(et);try{const P=Ue[Oe];"function"==typeof P&&P.call(this,et)}catch{}}function Mt(et){return et&&et.then}function It(et){return et}function Jt(et){return Qt.reject(et)}const pt=yt("state"),rt=yt("value"),$t=yt("finally"),un=yt("parentPromiseValue"),Mn=yt("parentPromiseState"),vn="Promise.then",St=null,Tn=!0,zt=!1,kt=0;function bt(et,P){return x=>{try{Pt(et,P,x)}catch(B){Pt(et,!1,B)}}}const Ot=function(){let et=!1;return function(x){return function(){et||(et=!0,x.apply(null,arguments))}}},wn="Promise resolved with itself",dn=yt("currentTaskTrace");function Pt(et,P,x){const B=Ot();if(et===x)throw new TypeError(wn);if(et[pt]===St){let ce=null;try{("object"==typeof x||"function"==typeof x)&&(ce=x&&x.then)}catch(Me){return B(()=>{Pt(et,!1,Me)})(),et}if(P!==zt&&x instanceof Qt&&x.hasOwnProperty(pt)&&x.hasOwnProperty(rt)&&x[pt]!==St)me(x),Pt(et,x[pt],x[rt]);else if(P!==zt&&"function"==typeof ce)try{ce.call(x,B(bt(et,P)),B(bt(et,!1)))}catch(Me){B(()=>{Pt(et,!1,Me)})()}else{et[pt]=P;const Me=et[rt];if(et[rt]=x,et[$t]===$t&&P===Tn&&(et[pt]=et[Mn],et[rt]=et[un]),P===zt&&x instanceof Error){const be=Ue.currentTask&&Ue.currentTask.data&&Ue.currentTask.data[te];be&&Be(x,dn,{configurable:!0,enumerable:!1,writable:!0,value:be})}for(let be=0;be<Me.length;)Ee(et,Me[be++],Me[be++],Me[be++],Me[be++]);if(0==Me.length&&P==zt){et[pt]=kt;let be=x;try{throw new Error("Uncaught (in promise): "+function st(et){return et&&et.toString===Object.prototype.toString?(et.constructor&&et.constructor.name||"")+": "+JSON.stringify(et):et?et.toString():Object.prototype.toString.call(et)}(x)+(x&&x.stack?"\n"+x.stack:""))}catch(Re){be=Re}fe&&(be.throwOriginal=!0),be.rejection=x,be.promise=et,be.zone=Ue.current,be.task=Ue.currentTask,vt.push(be),he.scheduleMicroTask()}}}return et}const _t=yt("rejectionHandledHandler");function me(et){if(et[pt]===kt){try{const P=Ue[_t];P&&"function"==typeof P&&P.call(this,{rejection:et[rt],promise:et})}catch{}et[pt]=zt;for(let P=0;P<vt.length;P++)et===vt[P].promise&&vt.splice(P,1)}}function Ee(et,P,x,B,ce){me(et);const Me=et[pt],be=Me?"function"==typeof B?B:It:"function"==typeof ce?ce:Jt;P.scheduleMicroTask(vn,()=>{try{const Re=et[rt],Je=!!x&&$t===x[$t];Je&&(x[un]=Re,x[Mn]=Me);const Ke=P.run(be,void 0,Je&&be!==Jt&&be!==It?[]:[Re]);Pt(x,!0,Ke)}catch(Re){Pt(x,!1,Re)}},x)}const Ft=function(){},gn=le.AggregateError;class Qt{static toString(){return"function ZoneAwarePromise() { [native code] }"}static resolve(P){return P instanceof Qt?P:Pt(new this(null),Tn,P)}static reject(P){return Pt(new this(null),zt,P)}static withResolvers(){const P={};return P.promise=new Qt((x,B)=>{P.resolve=x,P.reject=B}),P}static any(P){if(!P||"function"!=typeof P[Symbol.iterator])return Promise.reject(new gn([],"All promises were rejected"));const x=[];let B=0;try{for(let be of P)B++,x.push(Qt.resolve(be))}catch{return Promise.reject(new gn([],"All promises were rejected"))}if(0===B)return Promise.reject(new gn([],"All promises were rejected"));let ce=!1;const Me=[];return new Qt((be,Re)=>{for(let Je=0;Je<x.length;Je++)x[Je].then(Ke=>{ce||(ce=!0,be(Ke))},Ke=>{Me.push(Ke),B--,0===B&&(ce=!0,Re(new gn(Me,"All promises were rejected")))})})}static race(P){let x,B,ce=new this((Re,Je)=>{x=Re,B=Je});function Me(Re){x(Re)}function be(Re){B(Re)}for(let Re of P)Mt(Re)||(Re=this.resolve(Re)),Re.then(Me,be);return ce}static all(P){return Qt.allWithCallback(P)}static allSettled(P){return(this&&this.prototype instanceof Qt?this:Qt).allWithCallback(P,{thenCallback:B=>({status:"fulfilled",value:B}),errorCallback:B=>({status:"rejected",reason:B})})}static allWithCallback(P,x){let B,ce,Me=new this((Ke,Lt)=>{B=Ke,ce=Lt}),be=2,Re=0;const Je=[];for(let Ke of P){Mt(Ke)||(Ke=this.resolve(Ke));const Lt=Re;try{Ke.then(D=>{Je[Lt]=x?x.thenCallback(D):D,be--,0===be&&B(Je)},D=>{x?(Je[Lt]=x.errorCallback(D),be--,0===be&&B(Je)):ce(D)})}catch(D){ce(D)}be++,Re++}return be-=2,0===be&&B(Je),Me}constructor(P){const x=this;if(!(x instanceof Qt))throw new Error("Must be an instanceof Promise.");x[pt]=St,x[rt]=[];try{const B=Ot();P&&P(B(bt(x,Tn)),B(bt(x,zt)))}catch(B){Pt(x,!1,B)}}get[Symbol.toStringTag](){return"Promise"}get[Symbol.species](){return Qt}then(P,x){let B=this.constructor?.[Symbol.species];(!B||"function"!=typeof B)&&(B=this.constructor||Qt);const ce=new B(Ft),Me=Ue.current;return this[pt]==St?this[rt].push(Me,ce,P,x):Ee(this,Me,ce,P,x),ce}catch(P){return this.then(null,P)}finally(P){let x=this.constructor?.[Symbol.species];(!x||"function"!=typeof x)&&(x=Qt);const B=new x(Ft);B[$t]=$t;const ce=Ue.current;return this[pt]==St?this[rt].push(ce,B,P,P):Ee(this,ce,B,P,P),B}}Qt.resolve=Qt.resolve,Qt.reject=Qt.reject,Qt.race=Qt.race,Qt.all=Qt.all;const Vn=le[oe]=le.Promise;le.Promise=Qt;const kn=yt("thenPatched");function Sn(et){const P=et.prototype,x=Ne(P,"then");if(x&&(!1===x.writable||!x.configurable))return;const B=P.then;P[U]=B,et.prototype.then=function(ce,Me){return new Qt((Re,Je)=>{B.call(this,Re,Je)}).then(ce,Me)},et[kn]=!0}return he.patchThen=Sn,Vn&&(Sn(Vn),Se(le,"fetch",et=>function ir(et){return function(P,x){let B=et.apply(P,x);if(B instanceof Qt)return B;let ce=B.constructor;return ce[kn]||Sn(ce),B}}(et))),Promise[Ue.__symbol__("uncaughtPromiseErrors")]=vt,Qt})})(re),function Lr(re){re.__load_patch("toString",le=>{const Ue=Function.prototype.toString,he=Ge("OriginalDelegate"),Ne=Ge("Promise"),Be=Ge("Error"),st=function(){if("function"==typeof this){const oe=this[he];if(oe)return"function"==typeof oe?Ue.call(oe):Object.prototype.toString.call(oe);if(this===Promise){const U=le[Ne];if(U)return Ue.call(U)}if(this===Error){const U=le[Be];if(U)return Ue.call(U)}}return Ue.call(this)};st[he]=Ue,Function.prototype.toString=st;const yt=Object.prototype.toString;Object.prototype.toString=function(){return"function"==typeof Promise&&this instanceof Promise?"[object Promise]":yt.call(this)}})}(re),function ai(re){re.__load_patch("util",(le,Ue,he)=>{const Ne=Ze(le);he.patchOnProperties=Ce,he.patchMethod=Se,he.bindArguments=Xe,he.patchMacroTask=Le;const Be=Ue.__symbol__("BLACK_LISTED_EVENTS"),st=Ue.__symbol__("UNPATCHED_EVENTS");le[st]&&(le[Be]=le[st]),le[Be]&&(Ue[Be]=Ue[st]=le[Be]),he.patchEventPrototype=Ir,he.patchEventTarget=zr,he.isIEOrEdge=tn,he.ObjectDefineProperty=G,he.ObjectGetOwnPropertyDescriptor=O,he.ObjectCreate=H,he.ArraySlice=z,he.patchClass=De,he.wrapWithCurrentZone=de,he.filterProperties=gr,he.attachOriginToPatched=Fe,he._redefineProperty=Object.defineProperty,he.patchCallbacks=Yn,he.getGlobalObjects=()=>({globalSources:Sr,zoneSymbolEventNames:Pn,eventNames:Ne,isBrowser:Ye,isMix:Ve,isNode:it,TRUE_STR:X,FALSE_STR:ae,ZONE_SYMBOL_PREFIX:xe,ADD_EVENT_LISTENER_STR:j,REMOVE_EVENT_LISTENER_STR:K})})}(re)})(ei),function Gr(re){re.__load_patch("legacy",le=>{const Ue=le[re.__symbol__("legacyPatch")];Ue&&Ue()}),re.__load_patch("timers",le=>{const he="clear";Zn(le,"set",he,"Timeout"),Zn(le,"set",he,"Interval"),Zn(le,"set",he,"Immediate")}),re.__load_patch("requestAnimationFrame",le=>{Zn(le,"request","cancel","AnimationFrame"),Zn(le,"mozRequest","mozCancel","AnimationFrame"),Zn(le,"webkitRequest","webkitCancel","AnimationFrame")}),re.__load_patch("blocking",(le,Ue)=>{const he=["alert","prompt","confirm"];for(let Ne=0;Ne<he.length;Ne++)Se(le,he[Ne],(st,yt,vt)=>function(fe,oe){return Ue.current.run(st,le,oe,vt)})}),re.__load_patch("EventTarget",(le,Ue,he)=>{(function Or(re,le){le.patchEventPrototype(re,le)})(le,he),function Un(re,le){if(Zone[le.symbol("patchEventTarget")])return;const{eventNames:Ue,zoneSymbolEventNames:he,TRUE_STR:Ne,FALSE_STR:Be,ZONE_SYMBOL_PREFIX:st}=le.getGlobalObjects();for(let vt=0;vt<Ue.length;vt++){const fe=Ue[vt],te=st+(fe+Be),Oe=st+(fe+Ne);he[fe]={},he[fe][Be]=te,he[fe][Ne]=Oe}const yt=re.EventTarget;yt&&yt.prototype&&le.patchEventTarget(re,le,[yt&&yt.prototype])}(le,he);const Ne=le.XMLHttpRequestEventTarget;Ne&&Ne.prototype&&he.patchEventTarget(le,he,[Ne.prototype])}),re.__load_patch("MutationObserver",(le,Ue,he)=>{De("MutationObserver"),De("WebKitMutationObserver")}),re.__load_patch("IntersectionObserver",(le,Ue,he)=>{De("IntersectionObserver")}),re.__load_patch("FileReader",(le,Ue,he)=>{De("FileReader")}),re.__load_patch("on_property",(le,Ue,he)=>{!function bi(re,le){if(it&&!Ve||Zone[re.symbol("patchEvents")])return;const Ue=le.__Zone_ignore_on_properties;let he=[];if(Ye){const Ne=window;he=he.concat(["Document","SVGElement","Element","HTMLElement","HTMLBodyElement","HTMLMediaElement","HTMLFrameSetElement","HTMLFrameElement","HTMLIFrameElement","HTMLMarqueeElement","Worker"]);const Be=function Kt(){try{const re=ut.navigator.userAgent;if(-1!==re.indexOf("MSIE ")||-1!==re.indexOf("Trident/"))return!0}catch{}return!1}()?[{target:Ne,ignoreProperties:["error"]}]:[];Yt(Ne,Ze(Ne),Ue&&Ue.concat(Be),Z(Ne))}he=he.concat(["XMLHttpRequest","XMLHttpRequestEventTarget","IDBIndex","IDBRequest","IDBOpenDBRequest","IDBDatabase","IDBTransaction","IDBCursor","WebSocket"]);for(let Ne=0;Ne<he.length;Ne++){const Be=le[he[Ne]];Be&&Be.prototype&&Yt(Be.prototype,Ze(Be.prototype),Ue)}}(he,le)}),re.__load_patch("customElements",(le,Ue,he)=>{!function Er(re,le){const{isBrowser:Ue,isMix:he}=le.getGlobalObjects();(Ue||he)&&re.customElements&&"customElements"in re&&le.patchCallbacks(le,re.customElements,"customElements","define",["connectedCallback","disconnectedCallback","adoptedCallback","attributeChangedCallback","formAssociatedCallback","formDisabledCallback","formResetCallback","formStateRestoreCallback"])}(le,he)}),re.__load_patch("XHR",(le,Ue)=>{!function fe(oe){const U=oe.XMLHttpRequest;if(!U)return;const te=U.prototype;let Qe=te[ee],Mt=te[Y];if(!Qe){const kt=oe.XMLHttpRequestEventTarget;if(kt){const bt=kt.prototype;Qe=bt[ee],Mt=bt[Y]}}const It="readystatechange",Jt="scheduled";function pt(kt){const bt=kt.data,Ot=bt.target;Ot[st]=!1,Ot[vt]=!1;const wn=Ot[Be];Qe||(Qe=Ot[ee],Mt=Ot[Y]),wn&&Mt.call(Ot,It,wn);const dn=Ot[Be]=()=>{if(Ot.readyState===Ot.DONE)if(!bt.aborted&&Ot[st]&&kt.state===Jt){const _t=Ot[Ue.__symbol__("loadfalse")];if(0!==Ot.status&&_t&&_t.length>0){const me=kt.invoke;kt.invoke=function(){const Ee=Ot[Ue.__symbol__("loadfalse")];for(let Et=0;Et<Ee.length;Et++)Ee[Et]===kt&&Ee.splice(Et,1);!bt.aborted&&kt.state===Jt&&me.call(kt)},_t.push(kt)}else kt.invoke()}else!bt.aborted&&!1===Ot[st]&&(Ot[vt]=!0)};return Qe.call(Ot,It,dn),Ot[he]||(Ot[he]=kt),Tn.apply(Ot,bt.args),Ot[st]=!0,kt}function rt(){}function $t(kt){const bt=kt.data;return bt.aborted=!0,zt.apply(bt.target,bt.args)}const un=Se(te,"open",()=>function(kt,bt){return kt[Ne]=0==bt[2],kt[yt]=bt[1],un.apply(kt,bt)}),vn=Ge("fetchTaskAborting"),St=Ge("fetchTaskScheduling"),Tn=Se(te,"send",()=>function(kt,bt){if(!0===Ue.current[St]||kt[Ne])return Tn.apply(kt,bt);{const Ot={target:kt,url:kt[yt],isPeriodic:!1,args:bt,aborted:!1},wn=we("XMLHttpRequest.send",rt,Ot,pt,$t);kt&&!0===kt[vt]&&!Ot.aborted&&wn.state===Jt&&wn.invoke()}}),zt=Se(te,"abort",()=>function(kt,bt){const Ot=function Oe(kt){return kt[he]}(kt);if(Ot&&"string"==typeof Ot.type){if(null==Ot.cancelFn||Ot.data&&Ot.data.aborted)return;Ot.zone.cancelTask(Ot)}else if(!0===Ue.current[vn])return zt.apply(kt,bt)})}(le);const he=Ge("xhrTask"),Ne=Ge("xhrSync"),Be=Ge("xhrListener"),st=Ge("xhrScheduled"),yt=Ge("xhrURL"),vt=Ge("xhrErrorBeforeScheduled")}),re.__load_patch("geolocation",le=>{le.navigator&&le.navigator.geolocation&&function He(re,le){const Ue=re.constructor.name;for(let he=0;he<le.length;he++){const Ne=le[he],Be=re[Ne];if(Be){if(!ft(O(re,Ne)))continue;re[Ne]=(yt=>{const vt=function(){return yt.apply(this,Xe(arguments,Ue+"."+Ne))};return Fe(vt,yt),vt})(Be)}}}(le.navigator.geolocation,["getCurrentPosition","watchPosition"])}),re.__load_patch("PromiseRejectionEvent",(le,Ue)=>{function he(Ne){return function(Be){tr(le,Ne).forEach(yt=>{const vt=le.PromiseRejectionEvent;if(vt){const fe=new vt(Ne,{promise:Be.promise,reason:Be.rejection});yt.invoke(fe)}})}}le.PromiseRejectionEvent&&(Ue[Ge("unhandledPromiseRejectionHandler")]=he("unhandledrejection"),Ue[Ge("rejectionHandledHandler")]=he("rejectionhandled"))}),re.__load_patch("queueMicrotask",(le,Ue,he)=>{!function wr(re,le){le.patchMethod(re,"queueMicrotask",Ue=>function(he,Ne){Zone.current.scheduleMicroTask("queueMicrotask",Ne[0])})}(le,he)})}(ei)},5215:(Ae,W,M)=>{"use strict";function K($,ie,pe,ye){return new(pe||(pe=Promise))(function(ve,De){function Se(Dt){try{Fe(ye.next(Dt))}catch(Rt){De(Rt)}}function Le(Dt){try{Fe(ye.throw(Dt))}catch(Rt){De(Rt)}}function Fe(Dt){Dt.done?ve(Dt.value):function Ce(ve){return ve instanceof pe?ve:new pe(function(De){De(ve)})}(Dt.value).then(Se,Le)}Fe((ye=ye.apply($,ie||[])).next())})}function gt($){return this instanceof gt?(this.v=$,this):new gt($)}function ut($,ie,pe){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var Ce,ye=pe.apply($,ie||[]),ve=[];return Ce={},De("next"),De("throw"),De("return"),Ce[Symbol.asyncIterator]=function(){return this},Ce;function De(Kt){ye[Kt]&&(Ce[Kt]=function(tn){return new Promise(function(Dn,Qn){ve.push([Kt,tn,Dn,Qn])>1||Se(Kt,tn)})})}function Se(Kt,tn){try{!function Le(Kt){Kt.value instanceof gt?Promise.resolve(Kt.value.v).then(Fe,Dt):Rt(ve[0][2],Kt)}(ye[Kt](tn))}catch(Dn){Rt(ve[0][3],Dn)}}function Fe(Kt){Se("next",Kt)}function Dt(Kt){Se("throw",Kt)}function Rt(Kt,tn){Kt(tn),ve.shift(),ve.length&&Se(ve[0][0],ve[0][1])}}function Nt($){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var pe,ie=$[Symbol.asyncIterator];return ie?ie.call($):($=function ae($){var ie="function"==typeof Symbol&&Symbol.iterator,pe=ie&&$[ie],ye=0;if(pe)return pe.call($);if($&&"number"==typeof $.length)return{next:function(){return $&&ye>=$.length&&($=void 0),{value:$&&$[ye++],done:!$}}};throw new TypeError(ie?"Object is not iterable.":"Symbol.iterator is not defined.")}($),pe={},ye("next"),ye("throw"),ye("return"),pe[Symbol.asyncIterator]=function(){return this},pe);function ye(ve){pe[ve]=$[ve]&&function(De){return new Promise(function(Se,Le){!function Ce(ve,De,Se,Le){Promise.resolve(Le).then(function(Fe){ve({value:Fe,done:Se})},De)}(Se,Le,(De=$[ve](De)).done,De.value)})}}}M.d(W,{AQ:()=>ut,N3:()=>gt,sH:()=>K,xN:()=>Nt})},177:(Ae,W,M)=>{"use strict";M.d(W,{AJ:()=>no,Jj:()=>In,MD:()=>Wr,N0:()=>Hs,QT:()=>G,Sm:()=>Ge,Sq:()=>x,T3:()=>ke,UE:()=>io,VF:()=>H,Vy:()=>Bi,Xr:()=>Ko,YU:()=>Sn,ZD:()=>Z,_b:()=>Qt,aZ:()=>ut,bT:()=>Me,e1:()=>Lt,fG:()=>D,fw:()=>gt,hb:()=>de,hj:()=>ee,qQ:()=>j,ux:()=>Ke});var u=M(3953);let O=null;function G(){return O}function Z(m){O??=m}class H{}const j=new u.nKC("");let K=(()=>{class m{historyGo(C){throw new Error("")}static#e=this.\u0275fac=function(I){return new(I||m)};static#t=this.\u0275prov=u.jDH({token:m,factory:()=>(0,u.WQX)(Y),providedIn:"platform"})}return m})();const ee=new u.nKC("");let Y=(()=>{class m extends K{constructor(){super(),this._doc=(0,u.WQX)(j),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return G().getBaseHref(this._doc)}onPopState(C){const I=G().getGlobalEventTarget(this._doc,"window");return I.addEventListener("popstate",C,!1),()=>I.removeEventListener("popstate",C)}onHashChange(C){const I=G().getGlobalEventTarget(this._doc,"window");return I.addEventListener("hashchange",C,!1),()=>I.removeEventListener("hashchange",C)}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(C){this._location.pathname=C}pushState(C,I,Q){this._history.pushState(C,I,Q)}replaceState(C,I,Q){this._history.replaceState(C,I,Q)}forward(){this._history.forward()}back(){this._history.back()}historyGo(C=0){this._history.go(C)}getState(){return this._history.state}static#e=this.\u0275fac=function(I){return new(I||m)};static#t=this.\u0275prov=u.jDH({token:m,factory:()=>new m,providedIn:"platform"})}return m})();function X(m,A){if(0==m.length)return A;if(0==A.length)return m;let C=0;return m.endsWith("/")&&C++,A.startsWith("/")&&C++,2==C?m+A.substring(1):1==C?m+A:m+"/"+A}function ae(m){const A=m.match(/#|\?|$/),C=A&&A.index||m.length;return m.slice(0,C-("/"===m[C-1]?1:0))+m.slice(C)}function xe(m){return m&&"?"!==m[0]?"?"+m:m}let de=(()=>{class m{historyGo(C){throw new Error("")}static#e=this.\u0275fac=function(I){return new(I||m)};static#t=this.\u0275prov=u.jDH({token:m,factory:()=>(0,u.WQX)(Ge),providedIn:"root"})}return m})();const we=new u.nKC("");let Ge=(()=>{class m extends de{constructor(C,I){super(),this._platformLocation=C,this._removeListenerFns=[],this._baseHref=I??this._platformLocation.getBaseHrefFromDOM()??(0,u.WQX)(j).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(C){this._removeListenerFns.push(this._platformLocation.onPopState(C),this._platformLocation.onHashChange(C))}getBaseHref(){return this._baseHref}prepareExternalUrl(C){return X(this._baseHref,C)}path(C=!1){const I=this._platformLocation.pathname+xe(this._platformLocation.search),Q=this._platformLocation.hash;return Q&&C?`${I}${Q}`:I}pushState(C,I,Q,Pe){const We=this.prepareExternalUrl(Q+xe(Pe));this._platformLocation.pushState(C,I,We)}replaceState(C,I,Q,Pe){const We=this.prepareExternalUrl(Q+xe(Pe));this._platformLocation.replaceState(C,I,We)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(C=0){this._platformLocation.historyGo?.(C)}static#e=this.\u0275fac=function(I){return new(I||m)(u.KVO(K),u.KVO(we,8))};static#t=this.\u0275prov=u.jDH({token:m,factory:m.\u0275fac,providedIn:"root"})}return m})(),gt=(()=>{class m extends de{constructor(C,I){super(),this._platformLocation=C,this._baseHref="",this._removeListenerFns=[],null!=I&&(this._baseHref=I)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(C){this._removeListenerFns.push(this._platformLocation.onPopState(C),this._platformLocation.onHashChange(C))}getBaseHref(){return this._baseHref}path(C=!1){const I=this._platformLocation.hash??"#";return I.length>0?I.substring(1):I}prepareExternalUrl(C){const I=X(this._baseHref,C);return I.length>0?"#"+I:I}pushState(C,I,Q,Pe){let We=this.prepareExternalUrl(Q+xe(Pe));0==We.length&&(We=this._platformLocation.pathname),this._platformLocation.pushState(C,I,We)}replaceState(C,I,Q,Pe){let We=this.prepareExternalUrl(Q+xe(Pe));0==We.length&&(We=this._platformLocation.pathname),this._platformLocation.replaceState(C,I,We)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(C=0){this._platformLocation.historyGo?.(C)}static#e=this.\u0275fac=function(I){return new(I||m)(u.KVO(K),u.KVO(we,8))};static#t=this.\u0275prov=u.jDH({token:m,factory:m.\u0275fac})}return m})(),ut=(()=>{class m{constructor(C){this._subject=new u.bkB,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=C;const I=this._locationStrategy.getBaseHref();this._basePath=function He(m){if(new RegExp("^(https?:)?//").test(m)){const[,C]=m.split(/\/\/[^\/]+/);return C}return m}(ae(Xe(I))),this._locationStrategy.onPopState(Q=>{this._subject.emit({url:this.path(!0),pop:!0,state:Q.state,type:Q.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(C=!1){return this.normalize(this._locationStrategy.path(C))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(C,I=""){return this.path()==this.normalize(C+xe(I))}normalize(C){return m.stripTrailingSlash(function Nt(m,A){if(!m||!A.startsWith(m))return A;const C=A.substring(m.length);return""===C||["/",";","?","#"].includes(C[0])?C:A}(this._basePath,Xe(C)))}prepareExternalUrl(C){return C&&"/"!==C[0]&&(C="/"+C),this._locationStrategy.prepareExternalUrl(C)}go(C,I="",Q=null){this._locationStrategy.pushState(Q,"",C,I),this._notifyUrlChangeListeners(this.prepareExternalUrl(C+xe(I)),Q)}replaceState(C,I="",Q=null){this._locationStrategy.replaceState(Q,"",C,I),this._notifyUrlChangeListeners(this.prepareExternalUrl(C+xe(I)),Q)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(C=0){this._locationStrategy.historyGo?.(C)}onUrlChange(C){return this._urlChangeListeners.push(C),this._urlChangeSubscription??=this.subscribe(I=>{this._notifyUrlChangeListeners(I.url,I.state)}),()=>{const I=this._urlChangeListeners.indexOf(C);this._urlChangeListeners.splice(I,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(C="",I){this._urlChangeListeners.forEach(Q=>Q(C,I))}subscribe(C,I,Q){return this._subject.subscribe({next:C,error:I,complete:Q})}static#e=this.normalizeQueryParams=xe;static#t=this.joinWithSlash=X;static#n=this.stripTrailingSlash=ae;static#r=this.\u0275fac=function(I){return new(I||m)(u.KVO(de))};static#i=this.\u0275prov=u.jDH({token:m,factory:()=>function ot(){return new ut((0,u.KVO)(de))}(),providedIn:"root"})}return m})();function Xe(m){return m.replace(/\/index.html$/,"")}function Qt(m,A){A=encodeURIComponent(A);for(const C of m.split(";")){const I=C.indexOf("="),[Q,Pe]=-1==I?[C,""]:[C.slice(0,I),C.slice(I+1)];if(Q.trim()===A)return decodeURIComponent(Pe)}return null}const Vn=/\s+/,kn=[];let Sn=(()=>{class m{constructor(C,I){this._ngEl=C,this._renderer=I,this.initialClasses=kn,this.stateMap=new Map}set klass(C){this.initialClasses=null!=C?C.trim().split(Vn):kn}set ngClass(C){this.rawClass="string"==typeof C?C.trim().split(Vn):C}ngDoCheck(){for(const I of this.initialClasses)this._updateState(I,!0);const C=this.rawClass;if(Array.isArray(C)||C instanceof Set)for(const I of C)this._updateState(I,!0);else if(null!=C)for(const I of Object.keys(C))this._updateState(I,!!C[I]);this._applyStateDiff()}_updateState(C,I){const Q=this.stateMap.get(C);void 0!==Q?(Q.enabled!==I&&(Q.changed=!0,Q.enabled=I),Q.touched=!0):this.stateMap.set(C,{enabled:I,changed:!0,touched:!0})}_applyStateDiff(){for(const C of this.stateMap){const I=C[0],Q=C[1];Q.changed?(this._toggleClass(I,Q.enabled),Q.changed=!1):Q.touched||(Q.enabled&&this._toggleClass(I,!1),this.stateMap.delete(I)),Q.touched=!1}}_toggleClass(C,I){(C=C.trim()).length>0&&C.split(Vn).forEach(Q=>{I?this._renderer.addClass(this._ngEl.nativeElement,Q):this._renderer.removeClass(this._ngEl.nativeElement,Q)})}static#e=this.\u0275fac=function(I){return new(I||m)(u.rXU(u.aKT),u.rXU(u.sFG))};static#t=this.\u0275dir=u.FsC({type:m,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"},standalone:!0})}return m})();class P{constructor(A,C,I,Q){this.$implicit=A,this.ngForOf=C,this.index=I,this.count=Q}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 x=(()=>{class m{set ngForOf(C){this._ngForOf=C,this._ngForOfDirty=!0}set ngForTrackBy(C){this._trackByFn=C}get ngForTrackBy(){return this._trackByFn}constructor(C,I,Q){this._viewContainer=C,this._template=I,this._differs=Q,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(C){C&&(this._template=C)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const C=this._ngForOf;!this._differ&&C&&(this._differ=this._differs.find(C).create(this.ngForTrackBy))}if(this._differ){const C=this._differ.diff(this._ngForOf);C&&this._applyChanges(C)}}_applyChanges(C){const I=this._viewContainer;C.forEachOperation((Q,Pe,We)=>{if(null==Q.previousIndex)I.createEmbeddedView(this._template,new P(Q.item,this._ngForOf,-1,-1),null===We?void 0:We);else if(null==We)I.remove(null===Pe?void 0:Pe);else if(null!==Pe){const wt=I.get(Pe);I.move(wt,We),B(wt,Q)}});for(let Q=0,Pe=I.length;Q<Pe;Q++){const wt=I.get(Q).context;wt.index=Q,wt.count=Pe,wt.ngForOf=this._ngForOf}C.forEachIdentityChange(Q=>{B(I.get(Q.currentIndex),Q)})}static ngTemplateContextGuard(C,I){return!0}static#e=this.\u0275fac=function(I){return new(I||m)(u.rXU(u.c1b),u.rXU(u.C4Q),u.rXU(u._q3))};static#t=this.\u0275dir=u.FsC({type:m,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0})}return m})();function B(m,A){m.context.$implicit=A.item}let Me=(()=>{class m{constructor(C,I){this._viewContainer=C,this._context=new be,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=I}set ngIf(C){this._context.$implicit=this._context.ngIf=C,this._updateView()}set ngIfThen(C){Re("ngIfThen",C),this._thenTemplateRef=C,this._thenViewRef=null,this._updateView()}set ngIfElse(C){Re("ngIfElse",C),this._elseTemplateRef=C,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(C,I){return!0}static#e=this.\u0275fac=function(I){return new(I||m)(u.rXU(u.c1b),u.rXU(u.C4Q))};static#t=this.\u0275dir=u.FsC({type:m,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0})}return m})();class be{constructor(){this.$implicit=null,this.ngIf=null}}function Re(m,A){if(A&&!A.createEmbeddedView)throw new Error(`${m} must be a TemplateRef, but received '${(0,u.Tbb)(A)}'.`)}class Je{constructor(A,C){this._viewContainerRef=A,this._templateRef=C,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(A){A&&!this._created?this.create():!A&&this._created&&this.destroy()}}let Ke=(()=>{class m{constructor(){this._defaultViews=[],this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(C){this._ngSwitch=C,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(C){this._defaultViews.push(C)}_matchCase(C){const I=C===this._ngSwitch;return this._lastCasesMatched||=I,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),I}_updateDefaultCases(C){if(this._defaultViews.length>0&&C!==this._defaultUsed){this._defaultUsed=C;for(const I of this._defaultViews)I.enforceState(C)}}static#e=this.\u0275fac=function(I){return new(I||m)};static#t=this.\u0275dir=u.FsC({type:m,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"},standalone:!0})}return m})(),Lt=(()=>{class m{constructor(C,I,Q){this.ngSwitch=Q,Q._addCase(),this._view=new Je(C,I)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}static#e=this.\u0275fac=function(I){return new(I||m)(u.rXU(u.c1b),u.rXU(u.C4Q),u.rXU(Ke,9))};static#t=this.\u0275dir=u.FsC({type:m,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"},standalone:!0})}return m})(),D=(()=>{class m{constructor(C,I,Q){Q._addDefault(new Je(C,I))}static#e=this.\u0275fac=function(I){return new(I||m)(u.rXU(u.c1b),u.rXU(u.C4Q),u.rXU(Ke,9))};static#t=this.\u0275dir=u.FsC({type:m,selectors:[["","ngSwitchDefault",""]],standalone:!0})}return m})(),ke=(()=>{class m{constructor(C){this._viewContainerRef=C,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(C){if(this._shouldRecreateView(C)){const I=this._viewContainerRef;if(this._viewRef&&I.remove(I.indexOf(this._viewRef)),!this.ngTemplateOutlet)return void(this._viewRef=null);const Q=this._createContextForwardProxy();this._viewRef=I.createEmbeddedView(this.ngTemplateOutlet,Q,{injector:this.ngTemplateOutletInjector??void 0})}}_shouldRecreateView(C){return!!C.ngTemplateOutlet||!!C.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(C,I,Q)=>!!this.ngTemplateOutletContext&&Reflect.set(this.ngTemplateOutletContext,I,Q),get:(C,I,Q)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,I,Q)}})}static#e=this.\u0275fac=function(I){return new(I||m)(u.rXU(u.c1b))};static#t=this.\u0275dir=u.FsC({type:m,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[u.OA$]})}return m})();class nt{createSubscription(A,C){return(0,u.O8t)(()=>A.subscribe({next:C,error:I=>{throw I}}))}dispose(A){(0,u.O8t)(()=>A.unsubscribe())}}class Gt{createSubscription(A,C){return A.then(C,I=>{throw I})}dispose(A){}}const En=new Gt,Hn=new nt;let In=(()=>{class m{constructor(C){this._latestValue=null,this.markForCheckOnValueUpdate=!0,this._subscription=null,this._obj=null,this._strategy=null,this._ref=C}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(C){if(!this._obj){if(C)try{this.markForCheckOnValueUpdate=!1,this._subscribe(C)}finally{this.markForCheckOnValueUpdate=!0}return this._latestValue}return C!==this._obj?(this._dispose(),this.transform(C)):this._latestValue}_subscribe(C){this._obj=C,this._strategy=this._selectStrategy(C),this._subscription=this._strategy.createSubscription(C,I=>this._updateLatestValue(C,I))}_selectStrategy(C){if((0,u.jNT)(C))return En;if((0,u.zjR)(C))return Hn;throw function dt(m,A){return new u.wOt(2100,!1)}()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(C,I){C===this._obj&&(this._latestValue=I,this.markForCheckOnValueUpdate&&this._ref?.markForCheck())}static#e=this.\u0275fac=function(I){return new(I||m)(u.rXU(u.gRc,16))};static#t=this.\u0275pipe=u.EJ8({name:"async",type:m,pure:!1,standalone:!0})}return m})(),Wr=(()=>{class m{static#e=this.\u0275fac=function(I){return new(I||m)};static#t=this.\u0275mod=u.$C({type:m});static#n=this.\u0275inj=u.G2t({})}return m})();const no="browser",ro="server";function io(m){return m===no}function Bi(m){return m===ro}let Ko=(()=>{class m{static#e=this.\u0275prov=(0,u.jDH)({token:m,providedIn:"root",factory:()=>io((0,u.WQX)(u.Agw))?new qo((0,u.WQX)(j),window):new oo})}return m})();class qo{constructor(A,C){this.document=A,this.window=C,this.offset=()=>[0,0]}setOffset(A){this.offset=Array.isArray(A)?()=>A:A}getScrollPosition(){return[this.window.scrollX,this.window.scrollY]}scrollToPosition(A){this.window.scrollTo(A[0],A[1])}scrollToAnchor(A){const C=function Vr(m,A){const C=m.getElementById(A)||m.getElementsByName(A)[0];if(C)return C;if("function"==typeof m.createTreeWalker&&m.body&&"function"==typeof m.body.attachShadow){const I=m.createTreeWalker(m.body,NodeFilter.SHOW_ELEMENT);let Q=I.currentNode;for(;Q;){const Pe=Q.shadowRoot;if(Pe){const We=Pe.getElementById(A)||Pe.querySelector(`[name="${A}"]`);if(We)return We}Q=I.nextNode()}}return null}(this.document,A);C&&(this.scrollToElement(C),C.focus())}setHistoryScrollRestoration(A){this.window.history.scrollRestoration=A}scrollToElement(A){const C=A.getBoundingClientRect(),I=C.left+this.window.pageXOffset,Q=C.top+this.window.pageYOffset,Pe=this.offset();this.window.scrollTo(I-Pe[0],Q-Pe[1])}}class oo{setOffset(A){}getScrollPosition(){return[0,0]}scrollToPosition(A){}scrollToAnchor(A){}setHistoryScrollRestoration(A){}}class Hs{}},1562:(Ae,W,M)=>{"use strict";function u(P,x,B,ce,Me,be,Re){try{var Je=P[be](Re),Ke=Je.value}catch(Lt){return void B(Lt)}Je.done?x(Ke):Promise.resolve(Ke).then(ce,Me)}function O(P){return function(){var x=this,B=arguments;return new Promise(function(ce,Me){var be=P.apply(x,B);function Re(Ke){u(be,ce,Me,Re,Je,"next",Ke)}function Je(Ke){u(be,ce,Me,Re,Je,"throw",Ke)}Re(void 0)})}}M.d(W,{Qq:()=>tn,q1:()=>St,Lr:()=>we});var G=M(3953),Z=M(7673),H=M(1985),z=M(6648),j=M(274),K=M(5964),ee=M(6354),Y=M(980),X=M(5558),ae=M(177);class xe{}class de{}class we{constructor(x){this.normalizedNames=new Map,this.lazyUpdate=null,x?"string"==typeof x?this.lazyInit=()=>{this.headers=new Map,x.split("\n").forEach(B=>{const ce=B.indexOf(":");if(ce>0){const Me=B.slice(0,ce),be=Me.toLowerCase(),Re=B.slice(ce+1).trim();this.maybeSetNormalizedName(Me,be),this.headers.has(be)?this.headers.get(be).push(Re):this.headers.set(be,[Re])}})}:typeof Headers<"u"&&x instanceof Headers?(this.headers=new Map,x.forEach((B,ce)=>{this.setHeaderEntries(ce,B)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(x).forEach(([B,ce])=>{this.setHeaderEntries(B,ce)})}:this.headers=new Map}has(x){return this.init(),this.headers.has(x.toLowerCase())}get(x){this.init();const B=this.headers.get(x.toLowerCase());return B&&B.length>0?B[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(x){return this.init(),this.headers.get(x.toLowerCase())||null}append(x,B){return this.clone({name:x,value:B,op:"a"})}set(x,B){return this.clone({name:x,value:B,op:"s"})}delete(x,B){return this.clone({name:x,value:B,op:"d"})}maybeSetNormalizedName(x,B){this.normalizedNames.has(B)||this.normalizedNames.set(B,x)}init(){this.lazyInit&&(this.lazyInit instanceof we?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(x=>this.applyUpdate(x)),this.lazyUpdate=null))}copyFrom(x){x.init(),Array.from(x.headers.keys()).forEach(B=>{this.headers.set(B,x.headers.get(B)),this.normalizedNames.set(B,x.normalizedNames.get(B))})}clone(x){const B=new we;return B.lazyInit=this.lazyInit&&this.lazyInit instanceof we?this.lazyInit:this,B.lazyUpdate=(this.lazyUpdate||[]).concat([x]),B}applyUpdate(x){const B=x.name.toLowerCase();switch(x.op){case"a":case"s":let ce=x.value;if("string"==typeof ce&&(ce=[ce]),0===ce.length)return;this.maybeSetNormalizedName(x.name,B);const Me=("a"===x.op?this.headers.get(B):void 0)||[];Me.push(...ce),this.headers.set(B,Me);break;case"d":const be=x.value;if(be){let Re=this.headers.get(B);if(!Re)return;Re=Re.filter(Je=>-1===be.indexOf(Je)),0===Re.length?(this.headers.delete(B),this.normalizedNames.delete(B)):this.headers.set(B,Re)}else this.headers.delete(B),this.normalizedNames.delete(B)}}setHeaderEntries(x,B){const ce=(Array.isArray(B)?B:[B]).map(be=>be.toString()),Me=x.toLowerCase();this.headers.set(Me,ce),this.maybeSetNormalizedName(x,Me)}forEach(x){this.init(),Array.from(this.normalizedNames.keys()).forEach(B=>x(this.normalizedNames.get(B),this.headers.get(B)))}}class gt{encodeKey(x){return Xe(x)}encodeValue(x){return Xe(x)}decodeKey(x){return decodeURIComponent(x)}decodeValue(x){return decodeURIComponent(x)}}const ot=/%(\d[a-f0-9])/gi,Nt={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function Xe(P){return encodeURIComponent(P).replace(ot,(x,B)=>Nt[B]??x)}function He(P){return`${P}`}class ft{constructor(x={}){if(this.updates=null,this.cloneFrom=null,this.encoder=x.encoder||new gt,x.fromString){if(x.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function ut(P,x){const B=new Map;return P.length>0&&P.replace(/^\?/,"").split("&").forEach(Me=>{const be=Me.indexOf("="),[Re,Je]=-1==be?[x.decodeKey(Me),""]:[x.decodeKey(Me.slice(0,be)),x.decodeValue(Me.slice(be+1))],Ke=B.get(Re)||[];Ke.push(Je),B.set(Re,Ke)}),B}(x.fromString,this.encoder)}else x.fromObject?(this.map=new Map,Object.keys(x.fromObject).forEach(B=>{const ce=x.fromObject[B],Me=Array.isArray(ce)?ce.map(He):[He(ce)];this.map.set(B,Me)})):this.map=null}has(x){return this.init(),this.map.has(x)}get(x){this.init();const B=this.map.get(x);return B?B[0]:null}getAll(x){return this.init(),this.map.get(x)||null}keys(){return this.init(),Array.from(this.map.keys())}append(x,B){return this.clone({param:x,value:B,op:"a"})}appendAll(x){const B=[];return Object.keys(x).forEach(ce=>{const Me=x[ce];Array.isArray(Me)?Me.forEach(be=>{B.push({param:ce,value:be,op:"a"})}):B.push({param:ce,value:Me,op:"a"})}),this.clone(B)}set(x,B){return this.clone({param:x,value:B,op:"s"})}delete(x,B){return this.clone({param:x,value:B,op:"d"})}toString(){return this.init(),this.keys().map(x=>{const B=this.encoder.encodeKey(x);return this.map.get(x).map(ce=>B+"="+this.encoder.encodeValue(ce)).join("&")}).filter(x=>""!==x).join("&")}clone(x){const B=new ft({encoder:this.encoder});return B.cloneFrom=this.cloneFrom||this,B.updates=(this.updates||[]).concat(x),B}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(x=>this.map.set(x,this.cloneFrom.map.get(x))),this.updates.forEach(x=>{switch(x.op){case"a":case"s":const B=("a"===x.op?this.map.get(x.param):void 0)||[];B.push(He(x.value)),this.map.set(x.param,B);break;case"d":if(void 0===x.value){this.map.delete(x.param);break}{let ce=this.map.get(x.param)||[];const Me=ce.indexOf(He(x.value));-1!==Me&&ce.splice(Me,1),ce.length>0?this.map.set(x.param,ce):this.map.delete(x.param)}}}),this.cloneFrom=this.updates=null)}}class it{constructor(){this.map=new Map}set(x,B){return this.map.set(x,B),this}get(x){return this.map.has(x)||this.map.set(x,x.defaultValue()),this.map.get(x)}delete(x){return this.map.delete(x),this}has(x){return this.map.has(x)}keys(){return this.map.keys()}}function Ve(P){return typeof ArrayBuffer<"u"&&P instanceof ArrayBuffer}function $(P){return typeof Blob<"u"&&P instanceof Blob}function ie(P){return typeof FormData<"u"&&P instanceof FormData}class ye{constructor(x,B,ce,Me){let be;if(this.url=B,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=x.toUpperCase(),function Ye(P){switch(P){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||Me?(this.body=void 0!==ce?ce:null,be=Me):be=ce,be&&(this.reportProgress=!!be.reportProgress,this.withCredentials=!!be.withCredentials,be.responseType&&(this.responseType=be.responseType),be.headers&&(this.headers=be.headers),be.context&&(this.context=be.context),be.params&&(this.params=be.params),this.transferCache=be.transferCache),this.headers??=new we,this.context??=new it,this.params){const Re=this.params.toString();if(0===Re.length)this.urlWithParams=B;else{const Je=B.indexOf("?");this.urlWithParams=B+(-1===Je?"?":Je<B.length-1?"&":"")+Re}}else this.params=new ft,this.urlWithParams=B}serializeBody(){return null===this.body?null:"string"==typeof this.body||Ve(this.body)||$(this.body)||ie(this.body)||function pe(P){return typeof URLSearchParams<"u"&&P instanceof URLSearchParams}(this.body)?this.body:this.body instanceof ft?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||ie(this.body)?null:$(this.body)?this.body.type||null:Ve(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof ft?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||"boolean"==typeof this.body?"application/json":null}clone(x={}){const B=x.method||this.method,ce=x.url||this.url,Me=x.responseType||this.responseType,be=x.transferCache??this.transferCache,Re=void 0!==x.body?x.body:this.body,Je=x.withCredentials??this.withCredentials,Ke=x.reportProgress??this.reportProgress;let Lt=x.headers||this.headers,D=x.params||this.params;const k=x.context??this.context;return void 0!==x.setHeaders&&(Lt=Object.keys(x.setHeaders).reduce((N,F)=>N.set(F,x.setHeaders[F]),Lt)),x.setParams&&(D=Object.keys(x.setParams).reduce((N,F)=>N.set(F,x.setParams[F]),D)),new ye(B,ce,Re,{params:D,headers:Lt,context:k,reportProgress:Ke,responseType:Me,withCredentials:Je,transferCache:be})}}var Ce=function(P){return P[P.Sent=0]="Sent",P[P.UploadProgress=1]="UploadProgress",P[P.ResponseHeader=2]="ResponseHeader",P[P.DownloadProgress=3]="DownloadProgress",P[P.Response=4]="Response",P[P.User=5]="User",P}(Ce||{});class ve{constructor(x,B=200,ce="OK"){this.headers=x.headers||new we,this.status=void 0!==x.status?x.status:B,this.statusText=x.statusText||ce,this.url=x.url||null,this.ok=this.status>=200&&this.status<300}}class De extends ve{constructor(x={}){super(x),this.type=Ce.ResponseHeader}clone(x={}){return new De({headers:x.headers||this.headers,status:void 0!==x.status?x.status:this.status,statusText:x.statusText||this.statusText,url:x.url||this.url||void 0})}}class Se extends ve{constructor(x={}){super(x),this.type=Ce.Response,this.body=void 0!==x.body?x.body:null}clone(x={}){return new Se({body:void 0!==x.body?x.body:this.body,headers:x.headers||this.headers,status:void 0!==x.status?x.status:this.status,statusText:x.statusText||this.statusText,url:x.url||this.url||void 0})}}class Le extends ve{constructor(x){super(x,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${x.url||"(unknown url)"}`:`Http failure response for ${x.url||"(unknown url)"}: ${x.status} ${x.statusText}`,this.error=x.error||null}}function Kt(P,x){return{body:x,headers:P.headers,context:P.context,observe:P.observe,params:P.params,reportProgress:P.reportProgress,responseType:P.responseType,withCredentials:P.withCredentials,transferCache:P.transferCache}}let tn=(()=>{class P{constructor(B){this.handler=B}request(B,ce,Me={}){let be;if(B instanceof ye)be=B;else{let Ke,Lt;Ke=Me.headers instanceof we?Me.headers:new we(Me.headers),Me.params&&(Lt=Me.params instanceof ft?Me.params:new ft({fromObject:Me.params})),be=new ye(B,ce,void 0!==Me.body?Me.body:null,{headers:Ke,context:Me.context,params:Lt,reportProgress:Me.reportProgress,responseType:Me.responseType||"json",withCredentials:Me.withCredentials,transferCache:Me.transferCache})}const Re=(0,Z.of)(be).pipe((0,j.H)(Ke=>this.handler.handle(Ke)));if(B instanceof ye||"events"===Me.observe)return Re;const Je=Re.pipe((0,K.p)(Ke=>Ke instanceof Se));switch(Me.observe||"body"){case"body":switch(be.responseType){case"arraybuffer":return Je.pipe((0,ee.T)(Ke=>{if(null!==Ke.body&&!(Ke.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return Ke.body}));case"blob":return Je.pipe((0,ee.T)(Ke=>{if(null!==Ke.body&&!(Ke.body instanceof Blob))throw new Error("Response is not a Blob.");return Ke.body}));case"text":return Je.pipe((0,ee.T)(Ke=>{if(null!==Ke.body&&"string"!=typeof Ke.body)throw new Error("Response is not a string.");return Ke.body}));default:return Je.pipe((0,ee.T)(Ke=>Ke.body))}case"response":return Je;default:throw new Error(`Unreachable: unhandled observe type ${Me.observe}}`)}}delete(B,ce={}){return this.request("DELETE",B,ce)}get(B,ce={}){return this.request("GET",B,ce)}head(B,ce={}){return this.request("HEAD",B,ce)}jsonp(B,ce){return this.request("JSONP",B,{params:(new ft).append(ce,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(B,ce={}){return this.request("OPTIONS",B,ce)}patch(B,ce,Me={}){return this.request("PATCH",B,Kt(Me,ce))}post(B,ce,Me={}){return this.request("POST",B,Kt(Me,ce))}put(B,ce,Me={}){return this.request("PUT",B,Kt(Me,ce))}static#e=this.\u0275fac=function(ce){return new(ce||P)(G.KVO(xe))};static#t=this.\u0275prov=G.jDH({token:P,factory:P.\u0275fac})}return P})();const Dn=/^\)\]\}',?\n/;function Xn(P){if(P.url)return P.url;const x="X-Request-URL".toLocaleLowerCase();return P.headers.get(x)}let On=(()=>{class P{constructor(){this.fetchImpl=(0,G.WQX)(Pn,{optional:!0})?.fetch??((...B)=>globalThis.fetch(...B)),this.ngZone=(0,G.WQX)(G.SKi)}handle(B){return new H.c(ce=>{const Me=new AbortController;return this.doRequest(B,Me.signal,ce).then(Sr,be=>ce.error(new Le({error:be}))),()=>Me.abort()})}doRequest(B,ce,Me){var be=this;return O(function*(){const Re=be.createRequestInit(B);let Je;try{const ge=be.ngZone.runOutsideAngular(()=>be.fetchImpl(B.urlWithParams,{signal:ce,...Re}));(function $r(P){P.then(Sr,Sr)})(ge),Me.next({type:Ce.Sent}),Je=yield ge}catch(ge){return void Me.error(new Le({error:ge,status:ge.status??0,statusText:ge.statusText,url:B.urlWithParams,headers:ge.headers}))}const Ke=new we(Je.headers),Lt=Je.statusText,D=Xn(Je)??B.urlWithParams;let k=Je.status,N=null;if(B.reportProgress&&Me.next(new De({headers:Ke,status:k,statusText:Lt,url:D})),Je.body){const ge=Je.headers.get("content-length"),Ie=[],ke=Je.body.getReader();let dt,nt,qe=0;const Gt=typeof Zone<"u"&&Zone.current;yield be.ngZone.runOutsideAngular(O(function*(){for(;;){const{done:Hn,value:In}=yield ke.read();if(Hn)break;if(Ie.push(In),qe+=In.length,B.reportProgress){nt="text"===B.responseType?(nt??"")+(dt??=new TextDecoder).decode(In,{stream:!0}):void 0;const $n=()=>Me.next({type:Ce.DownloadProgress,total:ge?+ge:void 0,loaded:qe,partialText:nt});Gt?Gt.run($n):$n()}}}));const En=be.concatChunks(Ie,qe);try{const Hn=Je.headers.get("Content-Type")??"";N=be.parseBody(B,En,Hn)}catch(Hn){return void Me.error(new Le({error:Hn,headers:new we(Je.headers),status:Je.status,statusText:Je.statusText,url:Xn(Je)??B.urlWithParams}))}}0===k&&(k=N?200:0),k>=200&&k<300?(Me.next(new Se({body:N,headers:Ke,status:k,statusText:Lt,url:D})),Me.complete()):Me.error(new Le({error:N,headers:Ke,status:k,statusText:Lt,url:D}))})()}parseBody(B,ce,Me){switch(B.responseType){case"json":const be=(new TextDecoder).decode(ce).replace(Dn,"");return""===be?null:JSON.parse(be);case"text":return(new TextDecoder).decode(ce);case"blob":return new Blob([ce],{type:Me});case"arraybuffer":return ce.buffer}}createRequestInit(B){const ce={},Me=B.withCredentials?"include":void 0;if(B.headers.forEach((be,Re)=>ce[be]=Re.join(",")),B.headers.has("Accept")||(ce.Accept="application/json, text/plain, */*"),!B.headers.has("Content-Type")){const be=B.detectContentTypeHeader();null!==be&&(ce["Content-Type"]=be)}return{body:B.serializeBody(),method:B.method,headers:ce,credentials:Me}}concatChunks(B,ce){const Me=new Uint8Array(ce);let be=0;for(const Re of B)Me.set(Re,be),be+=Re.length;return Me}static#e=this.\u0275fac=function(ce){return new(ce||P)};static#t=this.\u0275prov=G.jDH({token:P,factory:P.\u0275fac})}return P})();class Pn{}function Sr(){}function An(P,x){return x(P)}function Gn(P,x){return(B,ce)=>x.intercept(B,{handle:Me=>P(Me,ce)})}const tr=new G.nKC(""),Ir=new G.nKC(""),wr=new G.nKC(""),xt=new G.nKC("",{providedIn:"root",factory:()=>!0});function Zn(){let P=null;return(x,B)=>{null===P&&(P=((0,G.WQX)(tr,{optional:!0})??[]).reduceRight(Gn,An));const ce=(0,G.WQX)(G.TgB);if((0,G.WQX)(xt)){const be=ce.add();return P(x,B).pipe((0,Y.j)(()=>ce.remove(be)))}return P(x,B)}}let Or=(()=>{class P extends xe{constructor(B,ce){super(),this.backend=B,this.injector=ce,this.chain=null,this.pendingTasks=(0,G.WQX)(G.TgB),this.contributeToStability=(0,G.WQX)(xt)}handle(B){if(null===this.chain){const ce=Array.from(new Set([...this.injector.get(Ir),...this.injector.get(wr,[])]));this.chain=ce.reduceRight((Me,be)=>function zr(P,x,B){return(ce,Me)=>(0,G.N4e)(B,()=>x(ce,be=>P(be,Me)))}(Me,be,this.injector),An)}if(this.contributeToStability){const ce=this.pendingTasks.add();return this.chain(B,Me=>this.backend.handle(Me)).pipe((0,Y.j)(()=>this.pendingTasks.remove(ce)))}return this.chain(B,ce=>this.backend.handle(ce))}static#e=this.\u0275fac=function(ce){return new(ce||P)(G.KVO(de),G.KVO(G.uvJ))};static#t=this.\u0275prov=G.jDH({token:P,factory:P.\u0275fac})}return P})();const re=/^\)\]\}',?\n/;let Ue=(()=>{class P{constructor(B){this.xhrFactory=B}handle(B){if("JSONP"===B.method)throw new G.wOt(-2800,!1);const ce=this.xhrFactory;return(ce.\u0275loadImpl?(0,z.H)(ce.\u0275loadImpl()):(0,Z.of)(null)).pipe((0,X.n)(()=>new H.c(be=>{const Re=ce.build();if(Re.open(B.method,B.urlWithParams),B.withCredentials&&(Re.withCredentials=!0),B.headers.forEach((Ie,ke)=>Re.setRequestHeader(Ie,ke.join(","))),B.headers.has("Accept")||Re.setRequestHeader("Accept","application/json, text/plain, */*"),!B.headers.has("Content-Type")){const Ie=B.detectContentTypeHeader();null!==Ie&&Re.setRequestHeader("Content-Type",Ie)}if(B.responseType){const Ie=B.responseType.toLowerCase();Re.responseType="json"!==Ie?Ie:"text"}const Je=B.serializeBody();let Ke=null;const Lt=()=>{if(null!==Ke)return Ke;const Ie=Re.statusText||"OK",ke=new we(Re.getAllResponseHeaders()),qe=function le(P){return"responseURL"in P&&P.responseURL?P.responseURL:/^X-Request-URL:/m.test(P.getAllResponseHeaders())?P.getResponseHeader("X-Request-URL"):null}(Re)||B.url;return Ke=new De({headers:ke,status:Re.status,statusText:Ie,url:qe}),Ke},D=()=>{let{headers:Ie,status:ke,statusText:qe,url:dt}=Lt(),nt=null;204!==ke&&(nt=typeof Re.response>"u"?Re.responseText:Re.response),0===ke&&(ke=nt?200:0);let Gt=ke>=200&&ke<300;if("json"===B.responseType&&"string"==typeof nt){const En=nt;nt=nt.replace(re,"");try{nt=""!==nt?JSON.parse(nt):null}catch(Hn){nt=En,Gt&&(Gt=!1,nt={error:Hn,text:nt})}}Gt?(be.next(new Se({body:nt,headers:Ie,status:ke,statusText:qe,url:dt||void 0})),be.complete()):be.error(new Le({error:nt,headers:Ie,status:ke,statusText:qe,url:dt||void 0}))},k=Ie=>{const{url:ke}=Lt(),qe=new Le({error:Ie,status:Re.status||0,statusText:Re.statusText||"Unknown Error",url:ke||void 0});be.error(qe)};let N=!1;const F=Ie=>{N||(be.next(Lt()),N=!0);let ke={type:Ce.DownloadProgress,loaded:Ie.loaded};Ie.lengthComputable&&(ke.total=Ie.total),"text"===B.responseType&&Re.responseText&&(ke.partialText=Re.responseText),be.next(ke)},ge=Ie=>{let ke={type:Ce.UploadProgress,loaded:Ie.loaded};Ie.lengthComputable&&(ke.total=Ie.total),be.next(ke)};return Re.addEventListener("load",D),Re.addEventListener("error",k),Re.addEventListener("timeout",k),Re.addEventListener("abort",k),B.reportProgress&&(Re.addEventListener("progress",F),null!==Je&&Re.upload&&Re.upload.addEventListener("progress",ge)),Re.send(Je),be.next({type:Ce.Sent}),()=>{Re.removeEventListener("error",k),Re.removeEventListener("abort",k),Re.removeEventListener("load",D),Re.removeEventListener("timeout",k),B.reportProgress&&(Re.removeEventListener("progress",F),null!==Je&&Re.upload&&Re.upload.removeEventListener("progress",ge)),Re.readyState!==Re.DONE&&Re.abort()}})))}static#e=this.\u0275fac=function(ce){return new(ce||P)(G.KVO(ae.N0))};static#t=this.\u0275prov=G.jDH({token:P,factory:P.\u0275fac})}return P})();const he=new G.nKC(""),Be=new G.nKC("",{providedIn:"root",factory:()=>"XSRF-TOKEN"}),yt=new G.nKC("",{providedIn:"root",factory:()=>"X-XSRF-TOKEN"});class vt{}let fe=(()=>{class P{constructor(B,ce,Me){this.doc=B,this.platform=ce,this.cookieName=Me,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const B=this.doc.cookie||"";return B!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,ae._b)(B,this.cookieName),this.lastCookieString=B),this.lastToken}static#e=this.\u0275fac=function(ce){return new(ce||P)(G.KVO(ae.qQ),G.KVO(G.Agw),G.KVO(Be))};static#t=this.\u0275prov=G.jDH({token:P,factory:P.\u0275fac})}return P})();function oe(P,x){const B=P.url.toLowerCase();if(!(0,G.WQX)(he)||"GET"===P.method||"HEAD"===P.method||B.startsWith("http://")||B.startsWith("https://"))return x(P);const ce=(0,G.WQX)(vt).getToken(),Me=(0,G.WQX)(yt);return null!=ce&&!P.headers.has(Me)&&(P=P.clone({headers:P.headers.set(Me,ce)})),x(P)}var te=function(P){return P[P.Interceptors=0]="Interceptors",P[P.LegacyInterceptors=1]="LegacyInterceptors",P[P.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",P[P.NoXsrfProtection=3]="NoXsrfProtection",P[P.JsonpSupport=4]="JsonpSupport",P[P.RequestsMadeViaParent=5]="RequestsMadeViaParent",P[P.Fetch=6]="Fetch",P}(te||{});function Qe(...P){const x=[tn,Ue,Or,{provide:xe,useExisting:Or},{provide:de,useFactory:()=>(0,G.WQX)(On,{optional:!0})??(0,G.WQX)(Ue)},{provide:Ir,useValue:oe,multi:!0},{provide:he,useValue:!0},{provide:vt,useClass:fe}];for(const B of P)x.push(...B.\u0275providers);return(0,G.EmA)(x)}const It=new G.nKC("");function Jt(){return function Oe(P,x){return{\u0275kind:P,\u0275providers:x}}(te.LegacyInterceptors,[{provide:It,useFactory:Zn},{provide:Ir,useExisting:It,multi:!0}])}let St=(()=>{class P{static#e=this.\u0275fac=function(ce){return new(ce||P)};static#t=this.\u0275mod=G.$C({type:P});static#n=this.\u0275inj=G.G2t({providers:[Qe(Jt())]})}return P})()},3953:(Ae,W,M)=>{"use strict";function u(e,t){return Object.is(e,t)}M.d(W,{bc$:()=>pD,iLQ:()=>th,sZ2:()=>Zu,hnV:()=>xE,Hbi:()=>$N,o8S:()=>ys,BIS:()=>gD,gRc:()=>QE,Ql9:()=>dN,OM3:()=>zc,Ocv:()=>yN,Z63:()=>Ki,aKT:()=>_c,uvJ:()=>Si,zcH:()=>Ls,bkB:()=>fs,$GK:()=>_n,nKC:()=>Zt,zZn:()=>pi,_q3:()=>Sg,MKu:()=>Ig,xe9:()=>Cg,Co$:()=>xv,Vns:()=>Fa,SKi:()=>Cr,Xx1:()=>_r,Agw:()=>Yu,PLl:()=>o_,sFG:()=>oS,_9s:()=>lp,czy:()=>dd,kdw:()=>Kr,C4Q:()=>kc,NYb:()=>iN,giA:()=>AE,RxE:()=>bE,c1b:()=>Id,gXe:()=>Do,mal:()=>Fd,L39:()=>Cx,EWP:()=>Ex,Ol2:()=>Dp,w6W:()=>XS,oH4:()=>GE,SmG:()=>IN,Rfq:()=>Co,WQX:()=>tt,naY:()=>SN,QuC:()=>a,EmA:()=>Te,fpN:()=>HN,HJs:()=>Ox,N4e:()=>Ii,vPA:()=>gv,O8t:()=>bx,H3F:()=>DE,zAP:()=>Cb,H8p:()=>qi,KH2:()=>$l,TgB:()=>Ia,wOt:()=>at,WHO:()=>OE,e01:()=>PE,H5H:()=>Zp,Zy3:()=>ti,mq5:()=>BC,JZv:()=>or,LfX:()=>$a,plB:()=>oa,jNT:()=>mg,zjR:()=>NE,TL$:()=>hD,Tbb:()=>dr,Vt3:()=>wp,GFd:()=>Nv,OA$:()=>Th,Jv_:()=>Xw,aNF:()=>Zw,R7$:()=>ny,BMQ:()=>Lp,HbH:()=>bC,ZvI:()=>PC,AVh:()=>zp,wni:()=>ww,VBU:()=>Du,FsC:()=>f,jDH:()=>Bn,G2t:()=>Hi,$C:()=>oc,EJ8:()=>_,rXU:()=>yl,nrm:()=>Qp,eu8:()=>Xp,bVm:()=>Gd,qex:()=>zd,k0s:()=>$d,j41:()=>Hd,RV6:()=>FC,xGo:()=>bm,KVO:()=>sn,kS0:()=>Gu,QTQ:()=>iy,bIt:()=>eg,lsd:()=>Dw,XpG:()=>uw,nI1:()=>oE,bMT:()=>sE,SdG:()=>hw,NAR:()=>dw,Y8G:()=>Up,FS9:()=>ng,mGM:()=>bw,sdS:()=>Mw,Njj:()=>Xg,tSv:()=>F_,eBV:()=>Qg,n$t:()=>A_,xc7:()=>$p,DNE:()=>Tp,C5r:()=>aE,EFF:()=>kw,JRh:()=>og,SpI:()=>Xd,GBs:()=>Ew});let O=null,G=!1,Z=1;const H=Symbol("SIGNAL");function z(e){const t=O;return O=e,t}const Y={version:0,lastCleanEpoch:0,dirty:!1,producerNode:void 0,producerLastReadVersion:void 0,producerIndexOfThis:void 0,nextProducerIndex:0,liveConsumerNode:void 0,liveConsumerIndexOfThis:void 0,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function X(e){if(G)throw new Error("");if(null===O)return;O.consumerOnSignalRead(e);const t=O.nextProducerIndex++;Vt(O),t<O.producerNode.length&&O.producerNode[t]!==e&&ft(O)&&He(O.producerNode[t],O.producerIndexOfThis[t]),O.producerNode[t]!==e&&(O.producerNode[t]=e,O.producerIndexOfThis[t]=ft(O)?Xe(e,O,t):0),O.producerLastReadVersion[t]=e.version}function xe(e){if((!ft(e)||e.dirty)&&(e.dirty||e.lastCleanEpoch!==Z)){if(!e.producerMustRecompute(e)&&!ot(e))return e.dirty=!1,void(e.lastCleanEpoch=Z);e.producerRecomputeValue(e),e.dirty=!1,e.lastCleanEpoch=Z}}function de(e){if(void 0===e.liveConsumerNode)return;const t=G;G=!0;try{for(const n of e.liveConsumerNode)n.dirty||Ge(n)}finally{G=t}}function we(){return!1!==O?.consumerAllowSignalWrites}function Ge(e){e.dirty=!0,de(e),e.consumerMarkedDirty?.(e)}function gt(e){return e&&(e.nextProducerIndex=0),z(e)}function ut(e,t){if(z(t),e&&void 0!==e.producerNode&&void 0!==e.producerIndexOfThis&&void 0!==e.producerLastReadVersion){if(ft(e))for(let n=e.nextProducerIndex;n<e.producerNode.length;n++)He(e.producerNode[n],e.producerIndexOfThis[n]);for(;e.producerNode.length>e.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}function ot(e){Vt(e);for(let t=0;t<e.producerNode.length;t++){const n=e.producerNode[t],r=e.producerLastReadVersion[t];if(r!==n.version||(xe(n),r!==n.version))return!0}return!1}function Nt(e){if(Vt(e),ft(e))for(let t=0;t<e.producerNode.length;t++)He(e.producerNode[t],e.producerIndexOfThis[t]);e.producerNode.length=e.producerLastReadVersion.length=e.producerIndexOfThis.length=0,e.liveConsumerNode&&(e.liveConsumerNode.length=e.liveConsumerIndexOfThis.length=0)}function Xe(e,t,n){if(it(e),0===e.liveConsumerNode.length&&Ye(e))for(let r=0;r<e.producerNode.length;r++)e.producerIndexOfThis[r]=Xe(e.producerNode[r],e,r);return e.liveConsumerIndexOfThis.push(n),e.liveConsumerNode.push(t)-1}function He(e,t){if(it(e),1===e.liveConsumerNode.length&&Ye(e))for(let r=0;r<e.producerNode.length;r++)He(e.producerNode[r],e.producerIndexOfThis[r]);const n=e.liveConsumerNode.length-1;if(e.liveConsumerNode[t]=e.liveConsumerNode[n],e.liveConsumerIndexOfThis[t]=e.liveConsumerIndexOfThis[n],e.liveConsumerNode.length--,e.liveConsumerIndexOfThis.length--,t<e.liveConsumerNode.length){const r=e.liveConsumerIndexOfThis[t],i=e.liveConsumerNode[t];Vt(i),i.producerIndexOfThis[r]=t}}function ft(e){return e.consumerIsAlwaysLive||(e?.liveConsumerNode?.length??0)>0}function Vt(e){e.producerNode??=[],e.producerIndexOfThis??=[],e.producerLastReadVersion??=[]}function it(e){e.liveConsumerNode??=[],e.liveConsumerIndexOfThis??=[]}function Ye(e){return void 0!==e.producerNode}const $=Symbol("UNSET"),ie=Symbol("COMPUTING"),pe=Symbol("ERRORED"),ye={...Y,value:$,dirty:!0,error:null,equal:u,producerMustRecompute:e=>e.value===$||e.value===ie,producerRecomputeValue(e){if(e.value===ie)throw new Error("Detected cycle in computations.");const t=e.value;e.value=ie;const n=gt(e);let r;try{r=e.computation()}catch(i){r=pe,e.error=i}finally{ut(e,n)}t!==$&&t!==pe&&r!==pe&&e.equal(t,r)?e.value=t:(e.value=r,e.version++)}};let ve=function Ce(){throw new Error};function De(){ve()}let Le=null;function Kt(e,t){we()||De(),e.equal(e.value,t)||(e.value=t,function Xn(e){e.version++,function ae(){Z++}(),de(e),Le?.()}(e))}const Qn={...Y,equal:u,value:void 0};var An=M(4412),Gn=M(1413),zr=M(8359),tr=M(6354);typeof navigator<"u"&&navigator,typeof navigator<"u"&&!/Opera/.test(navigator.userAgent)&&navigator,typeof navigator<"u"&&(/MSIE/.test(navigator.userAgent)||navigator),typeof navigator<"u"&&!/Opera|WebKit/.test(navigator.userAgent)&&navigator,typeof navigator<"u"&&navigator;const Qo="https://g.co/ng/security#xss";class at extends Error{constructor(t,n){super(ti(t,n)),this.code=t}}function ti(e,t){return`NG0${Math.abs(e)}${t?": "+t:""}`}function ni(e){return{toString:e}.toString()}const ri="__parameters__";function _i(e,t,n){return ni(()=>{const r=function br(e){return function(...n){if(e){const r=e(...n);for(const i in r)this[i]=r[i]}}}(t);function i(...o){if(this instanceof i)return r.apply(this,o),this;const c=new i(...o);return h.annotation=c,h;function h(g,w,S){const V=g.hasOwnProperty(ri)?g[ri]:Object.defineProperty(g,ri,{value:[]})[ri];for(;V.length<=S;)V.push(null);return(V[S]=V[S]||[]).push(c),g}}return n&&(i.prototype=Object.create(n.prototype)),i.prototype.ngMetadataName=e,i.annotationCls=i,i})}const or=globalThis;function yn(e){for(let t in e)if(e[t]===yn)return t;throw Error("Could not find renamed property on target object.")}function Ao(e,t){for(const n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function dr(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(dr).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 vo(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const Yo=yn({__forward_ref__:yn});function Co(e){return e.__forward_ref__=Co,e.toString=function(){return dr(this())},e}function Xt(e){return mr(e)?e():e}function mr(e){return"function"==typeof e&&e.hasOwnProperty(Yo)&&e.__forward_ref__===Co}function Bn(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function Hi(e){return{providers:e.providers||[],imports:e.imports||[]}}function Ms(e){return Jo(e,ns)||Jo(e,xo)}function $a(e){return null!==Ms(e)}function Jo(e,t){return e.hasOwnProperty(t)?e[t]:null}function ts(e){return e&&(e.hasOwnProperty(ha)||e.hasOwnProperty(rs))?e[ha]:null}const ns=yn({\u0275prov:yn}),ha=yn({\u0275inj:yn}),xo=yn({ngInjectableDef:yn}),rs=yn({ngInjectorDef:yn});class Zt{constructor(t,n){this._desc=t,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof n?this.__NG_ELEMENT_ID__=n:void 0!==n&&(this.\u0275prov=Bn({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}function fa(e){return e&&!!e.\u0275providers}const is=yn({\u0275cmp:yn}),Qs=yn({\u0275dir:yn}),Ro=yn({\u0275pipe:yn}),Wa=yn({\u0275mod:yn}),$i=yn({\u0275fac:yn}),Ss=yn({__NG_ELEMENT_ID__:yn}),pa=yn({__NG_ENV_ID__:yn});function nn(e){return"string"==typeof e?e:null==e?"":String(e)}function Xs(e,t){throw new at(-201,!1)}var _n=function(e){return e[e.Default=0]="Default",e[e.Host=1]="Host",e[e.Self=2]="Self",e[e.SkipSelf=4]="SkipSelf",e[e.Optional=8]="Optional",e}(_n||{});let Zs;function qa(){return Zs}function ii(e){const t=Zs;return Zs=e,t}function Is(e,t,n){const r=Ms(e);return r&&"root"==r.providedIn?void 0===r.value?r.value=r.factory():r.value:n&_n.Optional?null:void 0!==t?t:void Xs()}const Os={},Eo="__NG_DI_FLAG__",m="ngTempTokenPath",C=/\n/gm,Q="__source";let Pe;function wt(e){const t=Pe;return Pe=e,t}function Jn(e,t=_n.Default){if(void 0===Pe)throw new at(-203,!1);return null===Pe?Is(e,void 0,t):Pe.get(e,t&_n.Optional?null:void 0,t)}function sn(e,t=_n.Default){return(qa()||Jn)(Xt(e),t)}function tt(e,t=_n.Default){return sn(e,er(t))}function er(e){return typeof e>"u"||"number"==typeof e?e:(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function xn(e){const t=[];for(let n=0;n<e.length;n++){const r=Xt(e[n]);if(Array.isArray(r)){if(0===r.length)throw new at(900,!1);let i,o=_n.Default;for(let c=0;c<r.length;c++){const h=r[c],g=Fn(h);"number"==typeof g?-1===g?i=h.token:o|=g:i=h}t.push(sn(i,o))}else t.push(sn(r))}return t}function bn(e,t){return e[Eo]=t,e.prototype[Eo]=t,e}function Fn(e){return e[Eo]}const _r=bn(_i("Optional"),8),Kr=bn(_i("SkipSelf"),4);function ko(e,t){return e.hasOwnProperty($i)?e[$i]:null}function qr(e,t){e.forEach(n=>Array.isArray(n)?qr(n,t):t(n))}function Xl(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function ya(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function yi(e,t,n){let r=bo(e,t);return r>=0?e[1|r]=n:(r=~r,function Xa(e,t,n,r){let i=e.length;if(i==t)e.push(n,r);else if(1===i)e.push(r,e[0]),e[0]=n;else{for(i--,e.push(e[i-1],e[i]);i>t;)e[i]=e[i-2],i--;e[t]=n,e[t+1]=r}}(e,r,t,n)),r}function Ys(e,t){const n=bo(e,t);if(n>=0)return e[1|n]}function bo(e,t){return function _u(e,t,n){let r=0,i=e.length>>n;for(;i!==r;){const o=r+(i-r>>1),c=e[o<<n];if(t===c)return o<<n;c>t?i=o:r=o+1}return~(i<<n)}(e,t,1)}const Wi={},fn=[],Ki=new Zt(""),yu=new Zt("",-1),Za=new Zt("");class va{get(t,n=Os){if(n===Os){const r=new Error(`NullInjectorError: No provider for ${dr(t)}!`);throw r.name="NullInjectorError",r}return n}}var Js=function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e}(Js||{}),Do=function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e}(Do||{}),vi=function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e}(vi||{});function Ya(e,t,n){let r=e.length;for(;;){const i=e.indexOf(t,n);if(-1===i)return i;if(0===i||e.charCodeAt(i-1)<=32){const o=t.length;if(i+o===r||e.charCodeAt(i+o)<=32)return i}n=i+1}}function Qr(e,t,n){let r=0;for(;r<n.length;){const i=n[r];if("number"==typeof i){if(0!==i)break;r++;const o=n[r++],c=n[r++],h=n[r++];e.setAttribute(t,c,h,o)}else{const o=i,c=n[++r];ea(o)?e.setProperty(t,o,c):e.setAttribute(t,o,c),r++}}return r}function Ja(e){return 3===e||4===e||6===e}function ea(e){return 64===e.charCodeAt(0)}function Ps(e,t){if(null!==t&&0!==t.length)if(null===e||0===e.length)e=t.slice();else{let n=-1;for(let r=0;r<t.length;r++){const i=t[r];"number"==typeof i?n=i:0===n||Yl(e,n,i,null,-1===n||2===n?t[++r]:null)}}return e}function Yl(e,t,n,r,i){let o=0,c=e.length;if(-1===t)c=-1;else for(;o<e.length;){const h=e[o++];if("number"==typeof h){if(h===t){c=-1;break}if(h>t){c=o-1;break}}}for(;o<e.length;){const h=e[o];if("number"==typeof h)break;if(h===n){if(null===r)return void(null!==i&&(e[o+1]=i));if(r===e[o+1])return void(e[o+2]=i)}o++,null!==r&&o++,null!==i&&o++}-1!==c&&(e.splice(c,0,t),o=c+1),e.splice(o++,0,n),null!==r&&e.splice(o++,0,r),null!==i&&e.splice(o++,0,i)}const Jl="ng-template";function gh(e,t,n,r){let i=0;if(r){for(;i<t.length&&"string"==typeof t[i];i+=2)if("class"===t[i]&&-1!==Ya(t[i+1].toLowerCase(),n,0))return!0}else if(el(e))return!1;if(i=t.indexOf(1,i),i>-1){let o;for(;++i<t.length&&"string"==typeof(o=t[i]);)if(o.toLowerCase()===n)return!0}return!1}function el(e){return 4===e.type&&e.value!==Jl}function vu(e,t,n){return t===(4!==e.type||n?e.value:Jl)}function mh(e,t,n){let r=4;const i=e.attrs,o=null!==i?function tc(e){for(let t=0;t<e.length;t++)if(Ja(e[t]))return t;return e.length}(i):0;let c=!1;for(let h=0;h<t.length;h++){const g=t[h];if("number"!=typeof g){if(!c)if(4&r){if(r=2|1&r,""!==g&&!vu(e,g,n)||""===g&&1===t.length){if(Ti(r))return!1;c=!0}}else if(8&r){if(null===i||!gh(e,i,g,n)){if(Ti(r))return!1;c=!0}}else{const w=t[++h],S=Cu(g,i,el(e),n);if(-1===S){if(Ti(r))return!1;c=!0;continue}if(""!==w){let V;if(V=S>o?"":i[S+1].toLowerCase(),2&r&&w!==V){if(Ti(r))return!1;c=!0}}}}else{if(!c&&!Ti(r)&&!Ti(g))return!1;if(c&&Ti(g))continue;c=!1,r=g|1&r}}return Ti(r)||c}function Ti(e){return!(1&e)}function Cu(e,t,n,r){if(null===t)return-1;let i=0;if(r||!n){let o=!1;for(;i<t.length;){const c=t[i];if(c===e)return i;if(3===c||6===c)o=!0;else{if(1===c||2===c){let h=t[++i];for(;"string"==typeof h;)h=t[++i];continue}if(4===c)break;if(0===c){i+=4;continue}}i+=o?1:2}return-1}return function Eu(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 ec(e,t,n=!1){for(let r=0;r<t.length;r++)if(mh(e,t[r],n))return!0;return!1}function bu(e,t){e:for(let n=0;n<t.length;n++){const r=t[n];if(e.length===r.length){for(let i=0;i<e.length;i++)if(e[i]!==r[i])continue e;return!0}}return!1}function nc(e,t){return e?":not("+t.trim()+")":t}function rc(e){let t=e[0],n=1,r=2,i="",o=!1;for(;n<e.length;){let c=e[n];if("string"==typeof c)if(2&r){const h=e[++n];i+="["+c+(h.length>0?'="'+h+'"':"")+"]"}else 8&r?i+="."+c:4&r&&(i+=" "+c);else""!==i&&!Ti(c)&&(t+=nc(o,i),i=""),r=c,o=o||!Ti(r);n++}return""!==i&&(t+=nc(o,i)),t}function Du(e){return ni(()=>{const t=v(e),n={...t,decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===Js.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||Do.Emulated,styles:e.styles||fn,_:null,schemas:e.schemas||null,tView:null,id:""};E(n);const r=e.dependencies;return n.directiveDefs=L(r,!1),n.pipeDefs=L(r,!0),n.id=function ue(e){let t=0;const n=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,e.consts,e.vars,e.decls,e.encapsulation,e.standalone,e.signals,e.exportAs,JSON.stringify(e.inputs),JSON.stringify(e.outputs),Object.getOwnPropertyNames(e.type.prototype),!!e.contentQueries,!!e.viewQuery].join("|");for(const i of n)t=Math.imul(31,t)+i.charCodeAt(0)|0;return t+=2147483648,"c"+t}(n),n})}function yh(e){return p(e)||l(e)}function vh(e){return null!==e}function oc(e){return ni(()=>({type:e.type,bootstrap:e.bootstrap||fn,declarations:e.declarations||fn,imports:e.imports||fn,exports:e.exports||fn,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function Mu(e,t){if(null==e)return Wi;const n={};for(const r in e)if(e.hasOwnProperty(r)){const i=e[r];let o,c,h=vi.None;Array.isArray(i)?(h=i[0],o=i[1],c=i[2]??o):(o=i,c=i),t?(n[o]=h!==vi.None?[r,h]:r,t[o]=c):n[o]=r}return n}function f(e){return ni(()=>{const t=v(e);return E(t),t})}function _(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 p(e){return e[is]||null}function l(e){return e[Qs]||null}function s(e){return e[Ro]||null}function a(e){const t=p(e)||l(e)||s(e);return null!==t&&t.standalone}function d(e,t){const n=e[Wa]||null;if(!n&&!0===t)throw new Error(`Type ${dr(e)} does not have '\u0275mod' property.`);return n}function v(e){const t={};return{type:e.type,providersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:t,inputTransforms:null,inputConfig:e.inputs||Wi,exportAs:e.exportAs||null,standalone:!0===e.standalone,signals:!0===e.signals,selectors:e.selectors||fn,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:Mu(e.inputs,t),outputs:Mu(e.outputs),debugInfo:null}}function E(e){e.features?.forEach(t=>t(e))}function L(e,t){if(!e)return null;const n=t?s:yh;return()=>("function"==typeof e?e():e).map(r=>n(r)).filter(vh)}function Te(e){return{\u0275providers:e}}function Ct(...e){return{\u0275providers:ht(0,e),\u0275fromNgModule:!0}}function ht(e,...t){const n=[],r=new Set;let i;const o=c=>{n.push(c)};return qr(t,c=>{const h=c;Wt(h,o,[],r)&&(i||=[],i.push(h))}),void 0!==i&&an(i,o),n}function an(e,t){for(let n=0;n<e.length;n++){const{ngModule:r,providers:i}=e[n];rn(i,o=>{t(o,r)})}}function Wt(e,t,n,r){if(!(e=Xt(e)))return!1;let i=null,o=ts(e);const c=!o&&p(e);if(o||c){if(c&&!c.standalone)return!1;i=e}else{const g=e.ngModule;if(o=ts(g),!o)return!1;i=g}const h=r.has(i);if(c){if(h)return!1;if(r.add(i),c.dependencies){const g="function"==typeof c.dependencies?c.dependencies():c.dependencies;for(const w of g)Wt(w,t,n,r)}}else{if(!o)return!1;{if(null!=o.imports&&!h){let w;r.add(i);try{qr(o.imports,S=>{Wt(S,t,n,r)&&(w||=[],w.push(S))})}finally{}void 0!==w&&an(w,t)}if(!h){const w=ko(i)||(()=>new i);t({provide:i,useFactory:w,deps:fn},i),t({provide:Za,useValue:i,multi:!0},i),t({provide:Ki,useValue:()=>sn(i),multi:!0},i)}const g=o.providers;if(null!=g&&!h){const w=e;rn(g,S=>{t(S,w)})}}}return i!==e&&void 0!==e.providers}function rn(e,t){for(let n of e)fa(n)&&(n=n.\u0275providers),Array.isArray(n)?rn(n,t):t(n)}const qn=yn({provide:String,useValue:yn});function Dr(e){return null!==e&&"object"==typeof e&&qn in e}function pr(e){return"function"==typeof e}const qi=new Zt(""),Br={},Ci={};let Fo;function Lo(){return void 0===Fo&&(Fo=new va),Fo}class Si{}class Qi extends Si{get destroyed(){return this._destroyed}constructor(t,n,r,i){super(),this.parent=n,this.source=r,this.scopes=i,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,Xi(t,c=>this.processProvider(c)),this.records.set(yu,Ht(void 0,this)),i.has("environment")&&this.records.set(Si,Ht(void 0,this));const o=this.records.get(qi);null!=o&&"string"==typeof o.value&&this.scopes.add(o.value),this.injectorDefTypes=new Set(this.get(Za,fn,_n.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;const t=z(null);try{for(const r of this._ngOnDestroyHooks)r.ngOnDestroy();const n=this._onDestroyHooks;this._onDestroyHooks=[];for(const r of n)r()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),z(t)}}onDestroy(t){return this.assertNotDestroyed(),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){this.assertNotDestroyed();const n=wt(this),r=ii(void 0);try{return t()}finally{wt(n),ii(r)}}get(t,n=Os,r=_n.Default){if(this.assertNotDestroyed(),t.hasOwnProperty(pa))return t[pa](this);r=er(r);const o=wt(this),c=ii(void 0);try{if(!(r&_n.SkipSelf)){let g=this.records.get(t);if(void 0===g){const w=function jr(e){return"function"==typeof e||"object"==typeof e&&e instanceof Zt}(t)&&Ms(t);g=w&&this.injectableDefInScope(w)?Ht(Ca(t),Br):null,this.records.set(t,g)}if(null!=g)return this.hydrate(t,g)}return(r&_n.Self?Lo():this.parent).get(t,n=r&_n.Optional&&n===Os?null:n)}catch(h){if("NullInjectorError"===h.name){if((h[m]=h[m]||[]).unshift(dr(t)),o)throw h;return function Tr(e,t,n,r){const i=e[m];throw t[Q]&&i.unshift(t[Q]),e.message=function zi(e,t,n,r=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.slice(2):e;let i=dr(t);if(Array.isArray(t))i=t.map(dr).join(" -> ");else if("object"==typeof t){let o=[];for(let c in t)if(t.hasOwnProperty(c)){let h=t[c];o.push(c+":"+("string"==typeof h?JSON.stringify(h):dr(h)))}i=`{${o.join(", ")}}`}return`${n}${r?"("+r+")":""}[${i}]: ${e.replace(C,"\n ")}`}("\n"+e.message,i,n,r),e.ngTokenPath=i,e[m]=null,e}(h,t,"R3InjectorError",this.source)}throw h}finally{ii(c),wt(o)}}resolveInjectorInitializers(){const t=z(null),n=wt(this),r=ii(void 0);try{const o=this.get(Ki,fn,_n.Self);for(const c of o)c()}finally{wt(n),ii(r),z(t)}}toString(){const t=[],n=this.records;for(const r of n.keys())t.push(dr(r));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new at(205,!1)}processProvider(t){let n=pr(t=Xt(t))?t:Xt(t&&t.provide);const r=function Su(e){return Dr(e)?Ht(void 0,e.useValue):Ht(At(e),Br)}(t);if(!pr(t)&&!0===t.multi){let i=this.records.get(n);i||(i=Ht(void 0,Br,!0),i.factory=()=>xn(i.multi),this.records.set(n,i)),n=t,i.multi.push(t)}this.records.set(n,r)}hydrate(t,n){const r=z(null);try{return n.value===Br&&(n.value=Ci,n.value=n.factory()),"object"==typeof n.value&&n.value&&function Ln(e){return null!==e&&"object"==typeof e&&"function"==typeof e.ngOnDestroy}(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}finally{z(r)}}injectableDefInScope(t){if(!t.providedIn)return!1;const n=Xt(t.providedIn);return"string"==typeof n?"any"===n||this.scopes.has(n):this.injectorDefTypes.has(n)}removeOnDestroy(t){const n=this._onDestroyHooks.indexOf(t);-1!==n&&this._onDestroyHooks.splice(n,1)}}function Ca(e){const t=Ms(e),n=null!==t?t.factory:ko(e);if(null!==n)return n;if(e instanceof Zt)throw new at(204,!1);if(e instanceof Function)return function Tu(e){if(e.length>0)throw new at(204,!1);const n=function es(e){return e&&(e[ns]||e[xo])||null}(e);return null!==n?()=>n.factory(e):()=>new e}(e);throw new at(204,!1)}function At(e,t,n){let r;if(pr(e)){const i=Xt(e);return ko(i)||Ca(i)}if(Dr(e))r=()=>Xt(e.useValue);else if(function oi(e){return!(!e||!e.useFactory)}(e))r=()=>e.useFactory(...xn(e.deps||[]));else if(function Ar(e){return!(!e||!e.useExisting)}(e))r=()=>sn(Xt(e.useExisting));else{const i=Xt(e&&(e.useClass||e.provide));if(!function on(e){return!!e.deps}(e))return ko(i)||Ca(i);r=()=>new i(...xn(e.deps))}return r}function Ht(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function Xi(e,t){for(const n of e)Array.isArray(n)?Xi(n,t):n&&fa(n)?Xi(n.\u0275providers,t):t(n)}function Ii(e,t){e instanceof Qi&&e.assertNotDestroyed();const r=wt(e),i=ii(void 0);try{return t()}finally{wt(r),ii(i)}}function Vo(){return void 0!==qa()||null!=function We(){return Pe}()}const yr=0,lt=1,en=2,Ur=3,Bo=4,hi=5,Pi=6,nl=7,hr=8,Hr=9,ls=10,ln=11,sc=12,Ng=13,rl=14,vr=15,wa=16,il=17,xs=18,ol=19,xg=20,na=21,Ou=22,Mo=23,jt=25,Eh=1,cs=7,sl=9,Nr=10;var Au=function(e){return e[e.None=0]="None",e[e.HasTransplantedViews=2]="HasTransplantedViews",e}(Au||{});function Xr(e){return Array.isArray(e)&&"object"==typeof e[Eh]}function wi(e){return Array.isArray(e)&&!0===e[Eh]}function bh(e){return!!(4&e.flags)}function Ea(e){return e.componentOffset>-1}function Nu(e){return!(1&~e.flags)}function jo(e){return!!e.template}function lc(e){return!!(512&e[en])}class Bb{constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}}function Vg(e,t,n,r){null!==t?t.applyValueToInputSignal(t,r):e[n]=r}function Th(){return Bg}function Bg(e){return e.type.prototype.ngOnChanges&&(e.setInput=Ub),jb}function jb(){const e=Ug(this),t=e?.current;if(t){const n=e.previous;if(n===Wi)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function Ub(e,t,n,r,i){const o=this.declaredInputs[r],c=Ug(e)||function Hb(e,t){return e[jg]=t}(e,{previous:Wi,current:null}),h=c.current||(c.current={}),g=c.previous,w=g[o];h[o]=new Bb(w&&w.currentValue,n,g===Wi),Vg(e,t,i,n)}Th.ngInherit=!0;const jg="__ngSimpleChanges__";function Ug(e){return e[jg]||null}const us=function(e,t,n){};function zn(e){for(;Array.isArray(e);)e=e[yr];return e}function cc(e,t){return zn(t[e])}function Ai(e,t){return zn(t[e.index])}function uc(e,t){return e.data[t]}function ba(e,t){return e[t]}function co(e,t){const n=t[e];return Xr(n)?n:n[yr]}function Oh(e){return!(128&~e[en])}function To(e,t){return null==t?null:e[t]}function zg(e){e[il]=0}function Gg(e){1024&e[en]||(e[en]|=1024,Oh(e)&&Ru(e))}function xu(e){return!!(9216&e[en]||e[Mo]?.dirty)}function Ph(e){e[ls].changeDetectionScheduler?.notify(8),64&e[en]&&(e[en]|=1024),xu(e)&&Ru(e)}function Ru(e){e[ls].changeDetectionScheduler?.notify(0);let t=Rs(e);for(;null!==t&&!(8192&t[en])&&(t[en]|=8192,Oh(t));)t=Rs(t)}function ku(e,t){if(!(256&~e[en]))throw new at(911,!1);null===e[na]&&(e[na]=[]),e[na].push(t)}function Rs(e){const t=e[Ur];return wi(t)?t[Ur]:t}const cn={lFrame:sm(null),bindingsEnabled:!0,skipHydrationRootTNode:null};let Kg=!1;function qg(){return cn.bindingsEnabled}function Da(){return null!==cn.skipHydrationRootTNode}function je(){return cn.lFrame.lView}function Cn(){return cn.lFrame.tView}function Qg(e){return cn.lFrame.contextLView=e,e[hr]}function Xg(e){return cn.lFrame.contextLView=null,e}function rr(){let e=Zg();for(;null!==e&&64===e.type;)e=e.parent;return e}function Zg(){return cn.lFrame.currentTNode}function Uo(e,t){const n=cn.lFrame;n.currentTNode=e,n.isParent=t}function xh(){return cn.lFrame.isParent}function Rh(){cn.lFrame.isParent=!1}function em(){return Kg}function tm(e){Kg=e}function Ho(){return cn.lFrame.bindingIndex++}function Fs(e){const t=cn.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function n0(e,t){const n=cn.lFrame;n.bindingIndex=n.bindingRootIndex=e,kh(t)}function kh(e){cn.lFrame.currentDirectiveIndex=e}function Lh(){return cn.lFrame.currentQueryIndex}function Lu(e){cn.lFrame.currentQueryIndex=e}function o0(e){const t=e[lt];return 2===t.type?t.declTNode:1===t.type?e[hi]:null}function im(e,t,n){if(n&_n.SkipSelf){let i=t,o=e;for(;!(i=i.parent,null!==i||n&_n.Host||(i=o0(o),null===i||(o=o[rl],10&i.type))););if(null===i)return!1;t=i,e=o}const r=cn.lFrame=om();return r.currentTNode=t,r.lView=e,!0}function Vh(e){const t=om(),n=e[lt];cn.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function om(){const e=cn.lFrame,t=null===e?null:e.child;return null===t?sm(e):t}function sm(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 am(){const e=cn.lFrame;return cn.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const lm=am;function Bh(){const e=am();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 fi(){return cn.lFrame.selectedIndex}function Ma(e){cn.lFrame.selectedIndex=e}function fr(){const e=cn.lFrame;return uc(e.tView,e.selectedIndex)}let um=!0;function hc(){return um}function ds(e){um=e}function Vu(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n<r;n++){const o=e.data[n].type.prototype,{ngAfterContentInit:c,ngAfterContentChecked:h,ngAfterViewInit:g,ngAfterViewChecked:w,ngOnDestroy:S}=o;c&&(e.contentHooks??=[]).push(-n,c),h&&((e.contentHooks??=[]).push(n,h),(e.contentCheckHooks??=[]).push(n,h)),g&&(e.viewHooks??=[]).push(-n,g),w&&((e.viewHooks??=[]).push(n,w),(e.viewCheckHooks??=[]).push(n,w)),null!=S&&(e.destroyHooks??=[]).push(n,S)}}function Bu(e,t,n){dm(e,t,3,n)}function ju(e,t,n,r){(3&e[en])===n&&dm(e,t,n,r)}function jh(e,t){let n=e[en];(3&n)===t&&(n&=16383,n+=1,e[en]=n)}function dm(e,t,n,r){const o=r??-1,c=t.length-1;let h=0;for(let g=void 0!==r?65535&e[il]:0;g<c;g++)if("number"==typeof t[g+1]){if(h=t[g],null!=r&&h>=r)break}else t[g]<0&&(e[il]+=65536),(h<o||-1==o)&&(h0(e,n,t,g),e[il]=(4294901760&e[il])+g+2),g++}function hm(e,t){us(4,e,t);const n=z(null);try{t.call(e)}finally{z(n),us(5,e,t)}}function h0(e,t,n,r){const i=n[r]<0,o=n[r+1],h=e[i?-n[r]:n[r]];i?e[en]>>14<e[il]>>16&&(3&e[en])===t&&(e[en]+=16384,hm(h,o)):hm(h,o)}const al=-1;class fc{constructor(t,n,r){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=r}}const Hh={};class Ta{constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,r){r=er(r);const i=this.injector.get(t,Hh,r);return i!==Hh||n===Hh?i:this.parentInjector.get(t,n,r)}}function $h(e){return e!==al}function pc(e){return 32767&e}function gc(e,t){let n=function _0(e){return e>>16}(e),r=t;for(;n>0;)r=r[rl],n--;return r}let zh=!0;function Uu(e){const t=zh;return zh=e,t}const pm=255,gm=5;let v0=0;const hs={};function Hu(e,t){const n=mm(e,t);if(-1!==n)return n;const r=t[lt];r.firstCreatePass&&(e.injectorIndex=t.length,Gh(r.data,e),Gh(t,null),Gh(r.blueprint,null));const i=$u(e,t),o=e.injectorIndex;if($h(i)){const c=pc(i),h=gc(i,t),g=h[lt].data;for(let w=0;w<8;w++)t[o+w]=h[c+w]|g[c+w]}return t[o+8]=i,o}function Gh(e,t){e.push(0,0,0,0,0,0,0,0,t)}function mm(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function $u(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let n=0,r=null,i=t;for(;null!==i;){if(r=Dm(i),null===r)return al;if(n++,i=i[rl],-1!==r.injectorIndex)return r.injectorIndex|n<<16}return al}function Wh(e,t,n){!function C0(e,t,n){let r;"string"==typeof n?r=n.charCodeAt(0)||0:n.hasOwnProperty(Ss)&&(r=n[Ss]),null==r&&(r=n[Ss]=v0++);const i=r±t.data[e+(i>>gm)]|=1<<i}(e,t,n)}function _m(e,t,n){if(n&_n.Optional||void 0!==e)return e;Xs()}function ym(e,t,n,r){if(n&_n.Optional&&void 0===r&&(r=null),!(n&(_n.Self|_n.Host))){const i=e[Hr],o=ii(void 0);try{return i?i.get(t,r,n&_n.Optional):Is(t,r,n&_n.Optional)}finally{ii(o)}}return _m(r,0,n)}function vm(e,t,n,r=_n.Default,i){if(null!==e){if(2048&t[en]&&!(r&_n.Self)){const c=function M0(e,t,n,r,i){let o=e,c=t;for(;null!==o&&null!==c&&2048&c[en]&&!(512&c[en]);){const h=Cm(o,c,n,r|_n.Self,hs);if(h!==hs)return h;let g=o.parent;if(!g){const w=c[xg];if(w){const S=w.get(n,hs,r);if(S!==hs)return S}g=Dm(c),c=c[rl]}o=g}return i}(e,t,n,r,hs);if(c!==hs)return c}const o=Cm(e,t,n,r,hs);if(o!==hs)return o}return ym(t,n,r,i)}function Cm(e,t,n,r,i){const o=function b0(e){if("string"==typeof e)return e.charCodeAt(0)||0;const t=e.hasOwnProperty(Ss)?e[Ss]:void 0;return"number"==typeof t?t>=0?t&pm:D0:t}(n);if("function"==typeof o){if(!im(t,e,r))return r&_n.Host?_m(i,0,r):ym(t,n,r,i);try{let c;if(c=o(r),null!=c||r&_n.Optional)return c;Xs()}finally{lm()}}else if("number"==typeof o){let c=null,h=mm(e,t),g=al,w=r&_n.Host?t[vr][hi]:null;for((-1===h||r&_n.SkipSelf)&&(g=-1===h?$u(e,t):t[h+8],g!==al&&Em(r,!1)?(c=t[lt],h=pc(g),t=gc(g,t)):h=-1);-1!==h;){const S=t[lt];if(wm(o,h,S.data)){const V=E0(h,t,n,c,r,w);if(V!==hs)return V}g=t[h+8],g!==al&&Em(r,t[lt].data[h+8]===w)&&wm(o,h,t)?(c=S,h=pc(g),t=gc(g,t)):h=-1}}return i}function E0(e,t,n,r,i,o){const c=t[lt],h=c.data[e+8],S=zu(h,c,n,null==r?Ea(h)&&zh:r!=c&&!!(3&h.type),i&_n.Host&&o===h);return null!==S?Sa(t,c,S,h):hs}function zu(e,t,n,r,i){const o=e.providerIndexes,c=t.data,h=1048575&o,g=e.directiveStart,S=o>>20,J=i?h+S:e.directiveEnd;for(let se=r?h:h+S;se<J;se++){const _e=c[se];if(se<g&&n===_e||se>=g&&_e.type===n)return se}if(i){const se=c[g];if(se&&jo(se)&&se.type===n)return g}return null}function Sa(e,t,n,r){let i=e[n];const o=t.data;if(function f0(e){return e instanceof fc}(i)){const c=i;c.resolving&&function Ql(e,t){throw t&&t.join(" > "),new at(-200,e)}(function Nn(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():nn(e)}(o[n]));const h=Uu(c.canSeeViewProviders);c.resolving=!0;const w=c.injectImpl?ii(c.injectImpl):null;im(e,r,_n.Default);try{i=e[n]=c.factory(void 0,o,e,r),t.firstCreatePass&&n>=r.directiveStart&&function d0(e,t,n){const{ngOnChanges:r,ngOnInit:i,ngDoCheck:o}=t.type.prototype;if(r){const c=Bg(t);(n.preOrderHooks??=[]).push(e,c),(n.preOrderCheckHooks??=[]).push(e,c)}i&&(n.preOrderHooks??=[]).push(0-e,i),o&&((n.preOrderHooks??=[]).push(e,o),(n.preOrderCheckHooks??=[]).push(e,o))}(n,o[n],t)}finally{null!==w&&ii(w),Uu(h),c.resolving=!1,lm()}}return i}function wm(e,t,n){return!!(n[t+(e>>gm)]&1<<e)}function Em(e,t){return!(e&_n.Self||e&_n.Host&&t)}class Zr{constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return vm(this._tNode,this._lView,t,er(r),n)}}function D0(){return new Zr(rr(),je())}function bm(e){return ni(()=>{const t=e.prototype.constructor,n=t[$i]||Kh(t),r=Object.prototype;let i=Object.getPrototypeOf(e.prototype).constructor;for(;i&&i!==r;){const o=i[$i]||Kh(i);if(o&&o!==n)return o;i=Object.getPrototypeOf(i)}return o=>new o})}function Kh(e){return mr(e)?()=>{const t=Kh(Xt(e));return t&&t()}:ko(e)}function Dm(e){const t=e[lt],n=t.type;return 2===n?t.declTNode:1===n?e[hi]:null}function Gu(e){return function w0(e,t){if("class"===t)return e.classes;if("style"===t)return e.styles;const n=e.attrs;if(n){const r=n.length;let i=0;for(;i<r;){const o=n[i];if(Ja(o))break;if(0===o)i+=2;else if("number"==typeof o)for(i++;i<r&&"string"==typeof n[i];)i++;else{if(o===t)return n[i+1];i+=2}}}return null}(rr(),e)}function Om(e,t=null,n=null,r){const i=Pm(e,t,n,r);return i.resolveInjectorInitializers(),i}function Pm(e,t=null,n=null,r,i=new Set){const o=[n||fn,Ct(e)];return r=r||("object"==typeof e?void 0:dr(e)),new Qi(o,t||Lo(),r||null,i)}class pi{static#e=this.THROW_IF_NOT_FOUND=Os;static#t=this.NULL=new va;static create(t,n){if(Array.isArray(t))return Om({name:""},n,t,"");{const r=t.name??"";return Om({name:r},t.parent,t.providers,r)}}static#n=this.\u0275prov=Bn({token:pi,providedIn:"any",factory:()=>sn(yu)});static#r=this.__NG_ELEMENT_ID__=-1}new Zt("").__NG_ELEMENT_ID__=e=>{const t=rr();if(null===t)throw new at(204,!1);if(2&t.type)return t.value;if(e&_n.Optional)return null;throw new at(204,!1)};function Qh(e){return e.ngOriginalError}const Nm=!0;let mc=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=k0;static#t=this.__NG_ENV_ID__=n=>n}return e})();class R0 extends mc{constructor(t){super(),this._lView=t}onDestroy(t){return ku(this._lView,t),()=>function Ah(e,t){if(null===e[na])return;const n=e[na].indexOf(t);-1!==n&&e[na].splice(n,1)}(this._lView,t)}}function k0(){return new R0(je())}let Ia=(()=>{class e{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new An.t(!1)}get _hasPendingTasks(){return this.hasPendingTasks.value}add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);const n=this.taskId++;return this.pendingTasks.add(n),n}remove(n){this.pendingTasks.delete(n),0===this.pendingTasks.size&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}static#e=this.\u0275prov=Bn({token:e,providedIn:"root",factory:()=>new e})}return e})();const fs=class F0 extends Gn.B{constructor(t=!1){super(),this.destroyRef=void 0,this.pendingTasks=void 0,this.__isAsync=t,Vo()&&(this.destroyRef=tt(mc,{optional:!0})??void 0,this.pendingTasks=tt(Ia,{optional:!0})??void 0)}emit(t){const n=z(null);try{super.next(t)}finally{z(n)}}subscribe(t,n,r){let i=t,o=n||(()=>null),c=r;if(t&&"object"==typeof t){const g=t;i=g.next?.bind(g),o=g.error?.bind(g),c=g.complete?.bind(g)}this.__isAsync&&(o=this.wrapInTimeout(o),i&&(i=this.wrapInTimeout(i)),c&&(c=this.wrapInTimeout(c)));const h=super.subscribe({next:i,error:o,complete:c});return t instanceof zr.yU&&t.add(h),h}wrapInTimeout(t){return n=>{const r=this.pendingTasks?.add();setTimeout(()=>{t(n),void 0!==r&&this.pendingTasks?.remove(r)})}}};function Ku(...e){}function xm(e){let t,n;function r(){e=Ku;try{void 0!==n&&"function"==typeof cancelAnimationFrame&&cancelAnimationFrame(n),void 0!==t&&clearTimeout(t)}catch{}}return t=setTimeout(()=>{e(),r()}),"function"==typeof requestAnimationFrame&&(n=requestAnimationFrame(()=>{e(),r()})),()=>r()}function Rm(e){return queueMicrotask(()=>e()),()=>{e=Ku}}const Xh="isAngularZone",qu=Xh+"_ID";let L0=0;class Cr{constructor(t){this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new fs(!1),this.onMicrotaskEmpty=new fs(!1),this.onStable=new fs(!1),this.onError=new fs(!1);const{enableLongStackTrace:n=!1,shouldCoalesceEventChangeDetection:r=!1,shouldCoalesceRunChangeDetection:i=!1,scheduleInRootZone:o=Nm}=t;if(typeof Zone>"u")throw new at(908,!1);Zone.assertZonePatched();const c=this;c._nesting=0,c._outer=c._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(c._inner=c._inner.fork(new Zone.TaskTrackingZoneSpec)),n&&Zone.longStackTraceZoneSpec&&(c._inner=c._inner.fork(Zone.longStackTraceZoneSpec)),c.shouldCoalesceEventChangeDetection=!i&&r,c.shouldCoalesceRunChangeDetection=i,c.callbackScheduled=!1,c.scheduleInRootZone=o,function j0(e){const t=()=>{!function B0(e){function t(){xm(()=>{e.callbackScheduled=!1,Yh(e),e.isCheckStableRunning=!0,Zh(e),e.isCheckStableRunning=!1})}e.isCheckStableRunning||e.callbackScheduled||(e.callbackScheduled=!0,e.scheduleInRootZone?Zone.root.run(()=>{t()}):e._outer.run(()=>{t()}),Yh(e))}(e)},n=L0++;e._inner=e._inner.fork({name:"angular",properties:{[Xh]:!0,[qu]:n,[qu+n]:!0},onInvokeTask:(r,i,o,c,h,g)=>{if(function U0(e){return Lm(e,"__ignore_ng_zone__")}(g))return r.invokeTask(o,c,h,g);try{return km(e),r.invokeTask(o,c,h,g)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===c.type||e.shouldCoalesceRunChangeDetection)&&t(),Fm(e)}},onInvoke:(r,i,o,c,h,g,w)=>{try{return km(e),r.invoke(o,c,h,g,w)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!function H0(e){return Lm(e,"__scheduler_tick__")}(g)&&t(),Fm(e)}},onHasTask:(r,i,o,c)=>{r.hasTask(o,c),i===o&&("microTask"==c.change?(e._hasPendingMicrotasks=c.microTask,Yh(e),Zh(e)):"macroTask"==c.change&&(e.hasPendingMacrotasks=c.macroTask))},onHandleError:(r,i,o,c)=>(r.handleError(o,c),e.runOutsideAngular(()=>e.onError.emit(c)),!1)})}(c)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get(Xh)}static assertInAngularZone(){if(!Cr.isInAngularZone())throw new at(909,!1)}static assertNotInAngularZone(){if(Cr.isInAngularZone())throw new at(909,!1)}run(t,n,r){return this._inner.run(t,n,r)}runTask(t,n,r,i){const o=this._inner,c=o.scheduleEventTask("NgZoneEvent: "+i,t,V0,Ku,Ku);try{return o.runTask(c,n,r)}finally{o.cancelTask(c)}}runGuarded(t,n,r){return this._inner.runGuarded(t,n,r)}runOutsideAngular(t){return this._outer.run(t)}}const V0={};function Zh(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 Yh(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&!0===e.callbackScheduled)}function km(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Fm(e){e._nesting--,Zh(e)}class Jh{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new fs,this.onMicrotaskEmpty=new fs,this.onStable=new fs,this.onError=new fs}run(t,n,r){return t.apply(n,r)}runGuarded(t,n,r){return t.apply(n,r)}runOutsideAngular(t){return t()}runTask(t,n,r,i){return t.apply(n,r)}}function Lm(e,t){return!(!Array.isArray(e)||1!==e.length)&&!0===e[0]?.data?.[t]}class Ls{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&&Qh(t);for(;n&&Qh(n);)n=Qh(n);return n||null}}const z0=new Zt("",{providedIn:"root",factory:()=>{const e=tt(Cr),t=tt(Ls);return n=>e.runOutsideAngular(()=>t.handleError(n))}});function G0(){return ul(rr(),je())}function ul(e,t){return new _c(Ai(e,t))}let _c=(()=>{class e{constructor(n){this.nativeElement=n}static#e=this.__NG_ELEMENT_ID__=G0}return e})();function Bm(e){return e instanceof _c?e.nativeElement:e}function W0(){return this._results[Symbol.iterator]()}class ef{static#e=Symbol.iterator;get changes(){return this._changes??=new fs}constructor(t=!1){this._emitDistinctChangesOnly=t,this.dirty=!0,this._onDirty=void 0,this._results=[],this._changesDetected=!1,this._changes=void 0,this.length=0,this.first=void 0,this.last=void 0;const n=ef.prototype;n[Symbol.iterator]||(n[Symbol.iterator]=W0)}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){this.dirty=!1;const r=function di(e){return e.flat(Number.POSITIVE_INFINITY)}(t);(this._changesDetected=!function mu(e,t,n){if(e.length!==t.length)return!1;for(let r=0;r<e.length;r++){let i=e[r],o=t[r];if(n&&(i=n(i),o=n(o)),o!==i)return!1}return!0}(this._results,r,n))&&(this._results=r,this.length=r.length,this.last=r[this.length-1],this.first=r[0])}notifyOnChanges(){void 0!==this._changes&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.emit(this)}onDirty(t){this._onDirty=t}setDirty(){this.dirty=!0,this._onDirty?.()}destroy(){void 0!==this._changes&&(this._changes.complete(),this._changes.unsubscribe())}}function vc(e){return!(128&~e.flags)}const nf=new Map;let q0=0;function rf(e){nf.delete(e[ol])}const Qu="__ngContext__";function Ei(e,t){Xr(t)?(e[Qu]=t[ol],function X0(e){nf.set(e[ol],e)}(t)):e[Qu]=t}function Qm(e){return Zm(e[sc])}function Xm(e){return Zm(e[Bo])}function Zm(e){for(;null!==e&&!wi(e);)e=e[Bo];return e}let af;function hD(e){af=e}const Zu=new Zt("",{providedIn:"root",factory:()=>fD}),fD="ng",o_=new Zt(""),Yu=new Zt("",{providedIn:"platform",factory:()=>"unknown"}),pD=new Zt(""),gD=new Zt("",{providedIn:"root",factory:()=>function ra(){if(void 0!==af)return af;if(typeof document<"u")return document;throw new at(210,!1)}().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});let s_=()=>null;function pf(e,t,n=!1){return s_(e,t,n)}const p_=new Zt("",{providedIn:"root",factory:()=>!1});let ad;function v_(e){return function Cf(){if(void 0===ad&&(ad=null,or.trustedTypes))try{ad=or.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return ad}()?.createScriptURL(e)||e}class C_{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Qo})`}}function ia(e){return e instanceof C_?e.changingThisBreaksApplicationSecurity:e}function Tc(e,t){const n=function RD(e){return e instanceof C_&&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 ${Qo})`)}return n===t}const VD=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;var gl=function(e){return e[e.NONE=0]="NONE",e[e.HTML=1]="HTML",e[e.STYLE=2]="STYLE",e[e.SCRIPT=3]="SCRIPT",e[e.URL=4]="URL",e[e.RESOURCE_URL=5]="RESOURCE_URL",e}(gl||{});function O_(e){const t=Ic();return t?t.sanitize(gl.URL,e)||"":Tc(e,"URL")?ia(e):function wf(e){return(e=String(e)).match(VD)?e:"unsafe:"+e}(nn(e))}function P_(e){const t=Ic();if(t)return v_(t.sanitize(gl.RESOURCE_URL,e)||"");if(Tc(e,"ResourceURL"))return v_(ia(e));throw new at(904,!1)}function A_(e,t,n){return function JD(e,t){return"src"===t&&("embed"===e||"frame"===e||"iframe"===e||"media"===e||"script"===e)||"href"===t&&("base"===e||"link"===e)?P_:O_}(t,n)(e)}function Ic(){const e=je();return e&&e[ls].sanitizer}const eM=/^>|^->|<!--|-->|--!>|<!-$/g,tM=/(<|>)/g,nM="\u200b$1\u200b";function F_(e){return e.ownerDocument.defaultView}function uo(e){return e instanceof Function?e():e}var dd=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(dd||{});let Sf;function If(e,t){return Sf(e,t)}function _l(e,t,n,r,i){if(null!=r){let o,c=!1;wi(r)?o=r:Xr(r)&&(c=!0,r=r[yr]);const h=zn(r);0===e&&null!==n?null==i?G_(t,n,h):Pa(t,n,h,i||null,!0):1===e&&null!==n?Pa(t,n,h,i||null,!0):2===e?function Pc(e,t,n){e.removeChild(null,t,n)}(t,h,c):3===e&&t.destroyNode(h),null!=o&&function wM(e,t,n,r,i){const o=n[cs];o!==zn(n)&&_l(t,e,r,o,i);for(let h=Nr;h<n.length;h++){const g=n[h];gd(g[lt],g,e,t,r,o)}}(t,e,o,n,i)}}function Pf(e,t){return e.createComment(function N_(e){return e.replace(eM,t=>t.replace(tM,nM))}(t))}function hd(e,t,n){return e.createElement(t,n)}function H_(e,t){t[ls].changeDetectionScheduler?.notify(9),gd(e,t,t[ln],2,null,null)}function $_(e,t){const n=e[sl],r=t[Ur];(Xr(r)||t[vr]!==r[Ur][vr])&&(e[en]|=Au.HasTransplantedViews),null===n?e[sl]=[t]:n.push(t)}function Af(e,t){const n=e[sl],r=n.indexOf(t);n.splice(r,1)}function Oc(e,t){if(e.length<=Nr)return;const n=Nr+t,r=e[n];if(r){const i=r[wa];null!==i&&i!==e&&Af(i,r),t>0&&(e[n-1][Bo]=r[Bo]);const o=ya(e,Nr+t);!function fM(e,t){H_(e,t),t[yr]=null,t[hi]=null}(r[lt],r);const c=o[xs];null!==c&&c.detachView(o[lt]),r[Ur]=null,r[Bo]=null,r[en]&=-129}return r}function fd(e,t){if(!(256&t[en])){const n=t[ln];n.destroyNode&&gd(e,t,n,3,null,null),function gM(e){let t=e[sc];if(!t)return Nf(e[lt],e);for(;t;){let n=null;if(Xr(t))n=t[sc];else{const r=t[Nr];r&&(n=r)}if(!n){for(;t&&!t[Bo]&&t!==e;)Xr(t)&&Nf(t[lt],t),t=t[Ur];null===t&&(t=e),Xr(t)&&Nf(t[lt],t),n=t&&t[Bo]}t=n}}(t)}}function Nf(e,t){if(256&t[en])return;const n=z(null);try{t[en]&=-129,t[en]|=256,t[Mo]&&Nt(t[Mo]),function yM(e,t){let n;if(null!=e&&null!=(n=e.destroyHooks))for(let r=0;r<n.length;r+=2){const i=t[n[r]];if(!(i instanceof fc)){const o=n[r+1];if(Array.isArray(o))for(let c=0;c<o.length;c+=2){const h=i[o[c]],g=o[c+1];us(4,h,g);try{g.call(h)}finally{us(5,h,g)}}else{us(4,i,o);try{o.call(i)}finally{us(5,i,o)}}}}}(e,t),function _M(e,t){const n=e.cleanup,r=t[nl];if(null!==n)for(let o=0;o<n.length-1;o+=2)if("string"==typeof n[o]){const c=n[o+3];c>=0?r[c]():r[-c].unsubscribe(),o+=2}else n[o].call(r[n[o+1]]);null!==r&&(t[nl]=null);const i=t[na];if(null!==i){t[na]=null;for(let o=0;o<i.length;o++)(0,i[o])()}}(e,t),1===t[lt].type&&t[ln].destroy();const r=t[wa];if(null!==r&&wi(t[Ur])){r!==t[Ur]&&Af(r,t);const i=t[xs];null!==i&&i.detachView(e)}rf(t)}finally{z(n)}}function xf(e,t,n){return function z_(e,t,n){let r=t;for(;null!==r&&168&r.type;)r=(t=r).parent;if(null===r)return n[yr];{const{componentOffset:i}=r;if(i>-1){const{encapsulation:o}=e.data[r.directiveStart+i];if(o===Do.None||o===Do.Emulated)return null}return Ai(r,n)}}(e,t.parent,n)}function Pa(e,t,n,r,i){e.insertBefore(t,n,r,i)}function G_(e,t,n){e.appendChild(t,n)}function W_(e,t,n,r,i){null!==r?Pa(e,t,n,r,i):G_(e,t,n)}function Rf(e,t){return e.parentNode(t)}function K_(e,t,n){return Q_(e,t,n)}let kf,Q_=function q_(e,t,n){return 40&e.type?Ai(e,n):null};function pd(e,t,n,r){const i=xf(e,r,t),o=t[ln],h=K_(r.parent||t[hi],r,t);if(null!=i)if(Array.isArray(n))for(let g=0;g<n.length;g++)W_(o,i,n[g],h,!1);else W_(o,i,n,h,!1);void 0!==kf&&kf(o,r,t,n,i)}function Aa(e,t){if(null!==t){const n=t.type;if(3&n)return Ai(t,e);if(4&n)return Ff(-1,e[t.index]);if(8&n){const r=t.child;if(null!==r)return Aa(e,r);{const i=e[t.index];return wi(i)?Ff(-1,i):zn(i)}}if(128&n)return Aa(e,t.next);if(32&n)return If(t,e)()||zn(e[t.index]);{const r=Z_(e,t);return null!==r?Array.isArray(r)?r[0]:Aa(Rs(e[vr]),r):Aa(e,t.next)}}return null}function Z_(e,t){return null!==t?e[vr][hi].projection[t.projection]:null}function Ff(e,t){const n=Nr+e+1;if(n<t.length){const r=t[n],i=r[lt].firstChild;if(null!==i)return Aa(r,i)}return t[cs]}function Lf(e,t,n,r,i,o,c){for(;null!=n;){if(128===n.type){n=n.next;continue}const h=r[n.index],g=n.type;if(c&&0===t&&(h&&Ei(zn(h),r),n.flags|=2),32&~n.flags)if(8&g)Lf(e,t,n.child,r,i,o,!1),_l(t,e,i,h,o);else if(32&g){const w=If(n,r);let S;for(;S=w();)_l(t,e,i,S,o);_l(t,e,i,h,o)}else 16&g?J_(e,t,r,n,i,o):_l(t,e,i,h,o);n=c?n.projectionNext:n.next}}function gd(e,t,n,r,i,o){Lf(n,r,e.firstChild,t,i,o,!1)}function J_(e,t,n,r,i,o){const c=n[vr],g=c[hi].projection[r.projection];if(Array.isArray(g))for(let w=0;w<g.length;w++)_l(t,e,i,g[w],o);else{let w=g;const S=c[Ur];vc(r)&&(w.flags|=128),Lf(e,t,w,S,i,o,!0)}}function ey(e,t,n){""===n?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n)}function ty(e,t,n){const{mergedAttrs:r,classes:i,styles:o}=n;null!==r&&Qr(e,t,r),null!==i&&ey(e,t,i),null!==o&&function bM(e,t,n){e.setAttribute(t,"style",n)}(e,t,o)}const mn={};function ny(e=1){ry(Cn(),je(),fi()+e,!1)}function ry(e,t,n,r){if(!r)if(3&~t[en]){const o=e.preOrderHooks;null!==o&&ju(t,o,0,n)}else{const o=e.preOrderCheckHooks;null!==o&&Bu(t,o,n)}Ma(n)}function yl(e,t=_n.Default){const n=je();return null===n?sn(e,t):vm(rr(),n,Xt(e),t)}function iy(){throw new Error("invalid")}function oy(e,t,n,r,i,o){const c=z(null);try{let h=null;i&vi.SignalBased&&(h=t[r][H]),null!==h&&void 0!==h.transformFn&&(o=h.transformFn(o)),i&vi.HasDecoratorInputTransform&&(o=e.inputTransforms[r].call(t,o)),null!==e.setInput?e.setInput(t,h,o,n,r):Vg(t,h,r,o)}finally{z(c)}}function md(e,t,n,r,i,o,c,h,g,w,S){const V=t.blueprint.slice();return V[yr]=i,V[en]=204|r,(null!==w||e&&2048&e[en])&&(V[en]|=2048),zg(V),V[Ur]=V[rl]=e,V[hr]=n,V[ls]=c||e&&e[ls],V[ln]=h||e&&e[ln],V[Hr]=g||e&&e[Hr]||null,V[hi]=o,V[ol]=function Q0(){return q0++}(),V[Pi]=S,V[xg]=w,V[vr]=2==t.type?e[vr]:V,V}function Na(e,t,n,r,i){let o=e.data[t];if(null===o)o=function Vf(e,t,n,r,i){const o=Zg(),c=xh(),g=e.data[t]=function AM(e,t,n,r,i,o){let c=t?t.injectorIndex:-1,h=0;return Da()&&(h|=128),{type:n,index:r,insertBeforeIndex:null,injectorIndex:c,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:h,providerIndexes:0,value:i,attrs:o,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,c?o:o&&o.parent,n,t,r,i);return null===e.firstChild&&(e.firstChild=g),null!==o&&(c?null==o.child&&null!==g.parent&&(o.child=g):null===o.next&&(o.next=g,g.prev=o)),g}(e,t,n,r,i),function t0(){return cn.lFrame.inI18n}()&&(o.flags|=32);else if(64&o.type){o.type=n,o.value=r,o.attrs=i;const c=function dc(){const e=cn.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}();o.injectorIndex=null===c?-1:c.injectorIndex}return Uo(o,!0),o}function Ac(e,t,n,r){if(0===n)return-1;const i=t.length;for(let o=0;o<n;o++)t.push(r),e.blueprint.push(r),e.data.push(null);return i}function sy(e,t,n,r,i){const o=fi(),c=2&r;try{Ma(-1),c&&t.length>jt&&ry(e,t,jt,!1),us(c?2:0,i),n(r,i)}finally{Ma(o),us(c?3:1,i)}}function Bf(e,t,n){if(bh(t)){const r=z(null);try{const o=t.directiveEnd;for(let c=t.directiveStart;c<o;c++){const h=e.data[c];h.contentQueries&&h.contentQueries(1,n[c],c)}}finally{z(r)}}}function jf(e,t,n){qg()&&(function VM(e,t,n,r){const i=n.directiveStart,o=n.directiveEnd;Ea(n)&&function GM(e,t,n){const r=Ai(t,e),i=ay(n);let c=16;n.signals?c=4096:n.onPush&&(c=64);const h=_d(e,md(e,i,null,c,r,t,null,e[ls].rendererFactory.createRenderer(r,n),null,null,null));e[t.index]=h}(t,n,e.data[i+n.componentOffset]),e.firstCreatePass||Hu(n,t),Ei(r,t);const c=n.initialInputs;for(let h=i;h<o;h++){const g=e.data[h],w=Sa(t,e,h,n);Ei(w,t),null!==c&&WM(0,h-i,w,g,0,c),jo(g)&&(co(n.index,t)[hr]=Sa(t,e,h,n))}}(e,t,n,Ai(n,t)),!(64&~n.flags)&&hy(e,t,n))}function Uf(e,t,n=Ai){const r=t.localNames;if(null!==r){let i=t.index+1;for(let o=0;o<r.length;o+=2){const c=r[o+1],h=-1===c?n(t,e):e[c];e[i++]=h}}}function ay(e){const t=e.tView;return null===t||t.incompleteFirstPass?e.tView=Hf(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):t}function Hf(e,t,n,r,i,o,c,h,g,w,S){const V=jt+r,J=V+i,se=function MM(e,t){const n=[];for(let r=0;r<t;r++)n.push(r<e?null:mn);return n}(V,J),_e="function"==typeof w?w():w;return se[lt]={type:e,blueprint:se,template:n,queries:null,viewQuery:h,declTNode:t,data:se.slice().fill(null,V),bindingStartIndex:V,expandoStartIndex:J,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 o?o():o,pipeRegistry:"function"==typeof c?c():c,firstChild:null,schemas:g,consts:_e,incompleteFirstPass:!1,ssrId:S}}let ly=()=>null;function cy(e,t,n,r,i){for(let o in t){if(!t.hasOwnProperty(o))continue;const c=t[o];if(void 0===c)continue;r??={};let h,g=vi.None;Array.isArray(c)?(h=c[0],g=c[1]):h=c;let w=o;if(null!==i){if(!i.hasOwnProperty(o))continue;w=i[o]}0===e?uy(r,n,w,h,g):uy(r,n,w,h)}return r}function uy(e,t,n,r,i){let o;e.hasOwnProperty(n)?(o=e[n]).push(t,r):o=e[n]=[t,r],void 0!==i&&o.push(i)}function Yi(e,t,n,r,i,o,c,h){const g=Ai(t,n);let S,w=t.inputs;!h&&null!=w&&(S=w[r])?(Kf(e,n,S,r,i),Ea(t)&&function RM(e,t){const n=co(t,e);16&n[en]||(n[en]|=64)}(n,t.index)):3&t.type&&(r=function xM(e){return"class"===e?"className":"for"===e?"htmlFor":"formaction"===e?"formAction":"innerHtml"===e?"innerHTML":"readonly"===e?"readOnly":"tabindex"===e?"tabIndex":e}(r),i=null!=c?c(i,t.value||"",r):i,o.setProperty(g,r,i))}function $f(e,t,n,r){if(qg()){const i=null===r?null:{"":-1},o=function jM(e,t){const n=e.directiveRegistry;let r=null,i=null;if(n)for(let o=0;o<n.length;o++){const c=n[o];if(ec(t,c.selectors,!1))if(r||(r=[]),jo(c))if(null!==c.findHostDirectiveDefs){const h=[];i=i||new Map,c.findHostDirectiveDefs(c,h,i),r.unshift(...h,c),zf(e,t,h.length)}else r.unshift(c),zf(e,t,0);else i=i||new Map,c.findHostDirectiveDefs?.(c,r,i),r.push(c)}return null===r?null:[r,i]}(e,n);let c,h;null===o?c=h=null:[c,h]=o,null!==c&&dy(e,t,n,c,i,h),i&&function UM(e,t,n){if(t){const r=e.localNames=[];for(let i=0;i<t.length;i+=2){const o=n[t[i+1]];if(null==o)throw new at(-301,!1);r.push(t[i],o)}}}(n,r,i)}n.mergedAttrs=Ps(n.mergedAttrs,n.attrs)}function dy(e,t,n,r,i,o){for(let w=0;w<r.length;w++)Wh(Hu(n,t),e,r[w].type);!function $M(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}(n,e.data.length,r.length);for(let w=0;w<r.length;w++){const S=r[w];S.providersResolver&&S.providersResolver(S)}let c=!1,h=!1,g=Ac(e,t,r.length,null);for(let w=0;w<r.length;w++){const S=r[w];n.mergedAttrs=Ps(n.mergedAttrs,S.hostAttrs),zM(e,n,t,g,S),HM(g,S,i),null!==S.contentQueries&&(n.flags|=4),(null!==S.hostBindings||null!==S.hostAttrs||0!==S.hostVars)&&(n.flags|=64);const V=S.type.prototype;!c&&(V.ngOnChanges||V.ngOnInit||V.ngDoCheck)&&((e.preOrderHooks??=[]).push(n.index),c=!0),!h&&(V.ngOnChanges||V.ngDoCheck)&&((e.preOrderCheckHooks??=[]).push(n.index),h=!0),g++}!function NM(e,t,n){const i=t.directiveEnd,o=e.data,c=t.attrs,h=[];let g=null,w=null;for(let S=t.directiveStart;S<i;S++){const V=o[S],J=n?n.get(V):null,_e=J?J.outputs:null;g=cy(0,V.inputs,S,g,J?J.inputs:null),w=cy(1,V.outputs,S,w,_e);const $e=null===g||null===c||el(t)?null:KM(g,S,c);h.push($e)}null!==g&&(g.hasOwnProperty("class")&&(t.flags|=8),g.hasOwnProperty("style")&&(t.flags|=16)),t.initialInputs=h,t.inputs=g,t.outputs=w}(e,n,o)}function hy(e,t,n){const r=n.directiveStart,i=n.directiveEnd,o=n.index,c=function r0(){return cn.lFrame.currentDirectiveIndex}();try{Ma(o);for(let h=r;h<i;h++){const g=e.data[h],w=t[h];kh(h),(null!==g.hostBindings||0!==g.hostVars||null!==g.hostAttrs)&&BM(g,w)}}finally{Ma(-1),kh(c)}}function BM(e,t){null!==e.hostBindings&&e.hostBindings(1,t)}function zf(e,t,n){t.componentOffset=n,(e.components??=[]).push(t.index)}function HM(e,t,n){if(n){if(t.exportAs)for(let r=0;r<t.exportAs.length;r++)n[t.exportAs[r]]=e;jo(t)&&(n[""]=e)}}function zM(e,t,n,r,i){e.data[r]=i;const o=i.factory||(i.factory=ko(i.type)),c=new fc(o,jo(i),yl);e.blueprint[r]=c,n[r]=c,function FM(e,t,n,r,i){const o=i.hostBindings;if(o){let c=e.hostBindingOpCodes;null===c&&(c=e.hostBindingOpCodes=[]);const h=~t.index;(function LM(e){let t=e.length;for(;t>0;){const n=e[--t];if("number"==typeof n&&n<0)return n}return 0})(c)!=h&&c.push(h),c.push(n,r,o)}}(e,t,r,Ac(e,n,i.hostVars,mn),i)}function ps(e,t,n,r,i,o){const c=Ai(e,t);!function Gf(e,t,n,r,i,o,c){if(null==o)e.removeAttribute(t,i,n);else{const h=null==c?nn(o):c(o,r||"",i);e.setAttribute(t,i,h,n)}}(t[ln],c,o,e.value,n,r,i)}function WM(e,t,n,r,i,o){const c=o[t];if(null!==c)for(let h=0;h<c.length;)oy(r,n,c[h++],c[h++],c[h++],c[h++])}function KM(e,t,n){let r=null,i=0;for(;i<n.length;){const o=n[i];if(0!==o)if(5!==o){if("number"==typeof o)break;if(e.hasOwnProperty(o)){null===r&&(r=[]);const c=e[o];for(let h=0;h<c.length;h+=3)if(c[h]===t){r.push(o,c[h+1],c[h+2],n[i+1]);break}}i+=2}else i+=2;else i+=4}return r}function fy(e,t,n,r){return[e,!0,0,t,null,r,null,n,null,null]}function py(e,t){const n=e.contentQueries;if(null!==n){const r=z(null);try{for(let i=0;i<n.length;i+=2){const c=n[i+1];if(-1!==c){const h=e.data[c];Lu(n[i]),h.contentQueries(2,t[c],c)}}}finally{z(r)}}}function _d(e,t){return e[sc]?e[Ng][Bo]=t:e[sc]=t,e[Ng]=t,t}function Wf(e,t,n){Lu(0);const r=z(null);try{t(e,n)}finally{z(r)}}function gy(e){return e[nl]??=[]}function my(e){return e.cleanup??=[]}function yd(e,t){const n=e[Hr],r=n?n.get(Ls,null):null;r&&r.handleError(t)}function Kf(e,t,n,r,i){for(let o=0;o<n.length;){const c=n[o++],h=n[o++],g=n[o++];oy(e.data[c],t[c],r,h,g,i)}}function qM(e,t){const n=co(t,e),r=n[lt];!function QM(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])}(r,n);const i=n[yr];null!==i&&null===n[Pi]&&(n[Pi]=pf(i,n[Hr])),qf(r,n,n[hr])}function qf(e,t,n){Vh(t);try{const r=e.viewQuery;null!==r&&Wf(1,r,n);const i=e.template;null!==i&&sy(e,t,i,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),t[xs]?.finishViewCreation(e),e.staticContentQueries&&py(e,t),e.staticViewQueries&&Wf(2,e.viewQuery,n);const o=e.components;null!==o&&function XM(e,t){for(let n=0;n<t.length;n++)qM(e,t[n])}(t,o)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{t[en]&=-5,Bh()}}function vl(e,t,n,r){const i=z(null);try{const o=t.tView,g=md(e,o,n,4096&e[en]?4096:16,null,t,null,null,r?.injector??null,r?.embeddedViewInjector??null,r?.dehydratedView??null);g[wa]=e[t.index];const S=e[xs];return null!==S&&(g[xs]=S.createEmbeddedView(o)),qf(o,g,n),g}finally{z(i)}}function xa(e,t){return!t||null===t.firstChild||vc(e)}function Cl(e,t,n,r=!0){const i=t[lt];if(function mM(e,t,n,r){const i=Nr+r,o=n.length;r>0&&(n[i-1][Bo]=t),r<o-Nr?(t[Bo]=n[i],Xl(n,Nr+r,t)):(n.push(t),t[Bo]=null),t[Ur]=n;const c=t[wa];null!==c&&n!==c&&$_(c,t);const h=t[xs];null!==h&&h.insertView(e),Ph(t),t[en]|=128}(i,t,e,n),r){const c=Ff(n,e),h=t[ln],g=Rf(h,e[cs]);null!==g&&function pM(e,t,n,r,i,o){r[yr]=i,r[hi]=t,gd(e,r,n,1,i,o)}(i,e[hi],h,t,g,c)}const o=t[Pi];null!==o&&null!==o.firstChild&&(o.firstChild=null)}function Nc(e,t,n,r,i=!1){for(;null!==n;){if(128===n.type){n=i?n.projectionNext:n.next;continue}const o=t[n.index];null!==o&&r.push(zn(o)),wi(o)&&vy(o,r);const c=n.type;if(8&c)Nc(e,t,n.child,r);else if(32&c){const h=If(n,t);let g;for(;g=h();)r.push(g)}else if(16&c){const h=Z_(t,n);if(Array.isArray(h))r.push(...h);else{const g=Rs(t[vr]);Nc(g[lt],g,h,r,!0)}}n=i?n.projectionNext:n.next}return r}function vy(e,t){for(let n=Nr;n<e.length;n++){const r=e[n],i=r[lt].firstChild;null!==i&&Nc(r[lt],r,i,t)}e[cs]!==e[yr]&&t.push(e[cs])}let Cy=[];const eT={...Y,consumerIsAlwaysLive:!0,consumerMarkedDirty:e=>{Ru(e.lView)},consumerOnSignalRead(){this.lView[Mo]=this}},nT={...Y,consumerIsAlwaysLive:!0,consumerMarkedDirty:e=>{let t=Rs(e.lView);for(;t&&!wy(t[lt]);)t=Rs(t);t&&Gg(t)},consumerOnSignalRead(){this.lView[Mo]=this}};function wy(e){return 2!==e.type}const rT=100;function vd(e,t=!0,n=0){const r=e[ls],i=r.rendererFactory;i.begin?.();try{!function iT(e,t){const n=em();try{tm(!0),Xf(e,t);let r=0;for(;xu(e);){if(r===rT)throw new at(103,!1);r++,Xf(e,1)}}finally{tm(n)}}(e,n)}catch(c){throw t&&yd(e,c),c}finally{i.end?.(),r.inlineEffectRunner?.flush()}}function oT(e,t,n,r){const i=t[en];if(!(256&~i))return;t[ls].inlineEffectRunner?.flush(),Vh(t);let h=!0,g=null,w=null;wy(e)?(w=function ZM(e){return e[Mo]??function YM(e){const t=Cy.pop()??Object.create(eT);return t.lView=e,t}(e)}(t),g=gt(w)):null===function j(){return O}()?(h=!1,w=function tT(e){const t=e[Mo]??Object.create(nT);return t.lView=e,t}(t),g=gt(w)):t[Mo]&&(Nt(t[Mo]),t[Mo]=null);try{zg(t),function nm(e){return cn.lFrame.bindingIndex=e}(e.bindingStartIndex),null!==n&&sy(e,t,n,2,r);const S=!(3&~i);if(S){const se=e.preOrderCheckHooks;null!==se&&Bu(t,se,null)}else{const se=e.preOrderHooks;null!==se&&ju(t,se,0,null),jh(t,0)}if(function sT(e){for(let t=Qm(e);null!==t;t=Xm(t)){if(!(t[en]&Au.HasTransplantedViews))continue;const n=t[sl];for(let r=0;r<n.length;r++)Gg(n[r])}}(t),by(t,0),null!==e.contentQueries&&py(e,t),S){const se=e.contentCheckHooks;null!==se&&Bu(t,se)}else{const se=e.contentHooks;null!==se&&ju(t,se,1),jh(t,1)}!function DM(e,t){const n=e.hostBindingOpCodes;if(null!==n)try{for(let r=0;r<n.length;r++){const i=n[r];if(i<0)Ma(~i);else{const o=i,c=n[++r],h=n[++r];n0(c,o),h(2,t[o])}}}finally{Ma(-1)}}(e,t);const V=e.components;null!==V&&My(t,V,0);const J=e.viewQuery;if(null!==J&&Wf(2,J,r),S){const se=e.viewCheckHooks;null!==se&&Bu(t,se)}else{const se=e.viewHooks;null!==se&&ju(t,se,2),jh(t,2)}if(!0===e.firstUpdatePass&&(e.firstUpdatePass=!1),t[Ou]){for(const se of t[Ou])se();t[Ou]=null}t[en]&=-73}catch(S){throw Ru(t),S}finally{null!==w&&(ut(w,g),h&&function JM(e){e.lView[Mo]!==e&&(e.lView=null,Cy.push(e))}(w)),Bh()}}function by(e,t){for(let n=Qm(e);null!==n;n=Xm(n))for(let r=Nr;r<n.length;r++)Dy(n[r],t)}function aT(e,t,n){Dy(co(t,e),n)}function Dy(e,t){Oh(e)&&Xf(e,t)}function Xf(e,t){const r=e[lt],i=e[en],o=e[Mo];let c=!!(0===t&&16&i);if(c||=!!(64&i&&0===t),c||=!!(1024&i),c||=!(!o?.dirty||!ot(o)),c||=!1,o&&(o.dirty=!1),e[en]&=-9217,c)oT(r,e,r.template,e[hr]);else if(8192&i){by(e,1);const h=r.components;null!==h&&My(e,h,1)}}function My(e,t,n){for(let r=0;r<t.length;r++)aT(e,t[r],n)}function xc(e,t){const n=em()?64:1088;for(e[ls].changeDetectionScheduler?.notify(t);e;){e[en]|=n;const r=Rs(e);if(lc(e)&&!r)return e;e=r}return null}class Rc{get rootNodes(){const t=this._lView,n=t[lt];return Nc(n,t,n.firstChild,[])}constructor(t,n,r=!0){this._lView=t,this._cdRefInjectingView=n,this.notifyErrorHandler=r,this._appRef=null,this._attachedToViewContainer=!1}get context(){return this._lView[hr]}set context(t){this._lView[hr]=t}get destroyed(){return!(256&~this._lView[en])}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){const t=this._lView[Ur];if(wi(t)){const n=t[8],r=n?n.indexOf(this):-1;r>-1&&(Oc(t,r),ya(n,r))}this._attachedToViewContainer=!1}fd(this._lView[lt],this._lView)}onDestroy(t){ku(this._lView,t)}markForCheck(){xc(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[en]&=-129}reattach(){Ph(this._lView),this._lView[en]|=128}detectChanges(){this._lView[en]|=1024,vd(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new at(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;const t=lc(this._lView),n=this._lView[wa];null!==n&&!t&&Af(n,this._lView),H_(this._lView[lt],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new at(902,!1);this._appRef=t;const n=lc(this._lView),r=this._lView[wa];null!==r&&!n&&$_(r,this._lView),Ph(this._lView)}}let kc=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=uT}return e})();const lT=kc,cT=class extends lT{constructor(t,n,r){super(),this._declarationLView=t,this._declarationTContainer=n,this.elementRef=r}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(t,n){return this.createEmbeddedViewImpl(t,n)}createEmbeddedViewImpl(t,n,r){const i=vl(this._declarationLView,this._declarationTContainer,t,{embeddedViewInjector:n,dehydratedView:r});return new Rc(i)}};function uT(){return Cd(rr(),je())}function Cd(e,t){return 4&e.type?new cT(t,e,ul(e,t)):null}let Wy=()=>null;function ka(e,t){return Wy(e,t)}class El{}const $c=new Zt("",{providedIn:"root",factory:()=>!1}),Ky=new Zt(""),ap=new Zt("");class nS{}class qy{}class iS{resolveComponentFactory(t){throw function rS(e){const t=Error(`No component factory found for ${dr(e)}.`);return t.ngComponent=e,t}(t)}}class zc{static#e=this.NULL=new iS}class lp{}let oS=(()=>{class e{constructor(){this.destroyNode=null}static#e=this.__NG_ELEMENT_ID__=()=>function sS(){const e=je(),n=co(rr().index,e);return(Xr(n)?n:e)[ln]}()}return e})(),aS=(()=>{class e{static#e=this.\u0275prov=Bn({token:e,providedIn:"root",factory:()=>null})}return e})();function oa(e){return!!d(e)}function Sd(e,t,n){let r=n?e.styles:null,i=n?e.classes:null,o=0;if(null!==t)for(let c=0;c<t.length;c++){const h=t[c];"number"==typeof h?o=h:1==o?i=vo(i,h):2==o&&(r=vo(r,h+": "+t[++c]+";"))}n?e.styles=r:e.stylesWithoutHost=r,n?e.classes=i:e.classesWithoutHost=i}class Yy extends zc{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const n=p(t);return new Kc(n,this.ngModule)}}function Jy(e,t){const n=[];for(const r in e){if(!e.hasOwnProperty(r))continue;const i=e[r];if(void 0===i)continue;const o=Array.isArray(i),c=o?i[0]:i;n.push(t?{propName:c,templateName:r,isSignal:!!((o?i[1]:vi.None)&vi.SignalBased)}:{propName:c,templateName:r})}return n}class Kc extends qy{get inputs(){const t=this.componentDef,n=t.inputTransforms,r=Jy(t.inputs,!0);if(null!==n)for(const i of r)n.hasOwnProperty(i.propName)&&(i.transform=n[i.propName]);return r}get outputs(){return Jy(this.componentDef.outputs,!1)}constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=function ic(e){return e.map(rc).join(",")}(t.selectors),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!n}create(t,n,r,i){const o=z(null);try{let c=(i=i||this.ngModule)instanceof Si?i:i?.injector;c&&null!==this.componentDef.getStandaloneInjector&&(c=this.componentDef.getStandaloneInjector(c)||c);const h=c?new Ta(t,c):t,g=h.get(lp,null);if(null===g)throw new at(407,!1);const V={rendererFactory:g,sanitizer:h.get(aS,null),inlineEffectRunner:null,changeDetectionScheduler:h.get(El,null)},J=g.createRenderer(null,this.componentDef),se=this.componentDef.selectors[0][0]||"div",_e=r?function TM(e,t,n,r){const o=r.get(p_,!1)||n===Do.ShadowDom,c=e.selectRootElement(t,o);return function SM(e){ly(e)}(c),c}(J,r,this.componentDef.encapsulation,h):hd(J,se,function uS(e){const t=e.toLowerCase();return"svg"===t?"svg":"math"===t?"math":null}(se));let $e=512;this.componentDef.signals?$e|=4096:this.componentDef.onPush||($e|=16);let ct=null;null!==_e&&(ct=pf(_e,h,!0));const mt=Hf(0,null,null,1,0,null,null,null,null,null,null),ze=md(null,mt,null,$e,null,null,V,J,h,null,ct);Vh(ze);let pn,Rn,sr=null;try{const Fr=this.componentDef;let eo,Wl=null;Fr.findHostDirectiveDefs?(eo=[],Wl=new Map,Fr.findHostDirectiveDefs(Fr,eo,Wl),eo.push(Fr)):eo=[Fr];const Pb=function hS(e,t){const n=e[lt],r=jt;return e[r]=t,Na(n,r,2,"#host",null)}(ze,_e);sr=function fS(e,t,n,r,i,o,c){const h=i[lt];!function pS(e,t,n,r){for(const i of e)t.mergedAttrs=Ps(t.mergedAttrs,i.hostAttrs);null!==t.mergedAttrs&&(Sd(t,t.mergedAttrs,!0),null!==n&&ty(r,n,t))}(r,e,t,c);let g=null;null!==t&&(g=pf(t,i[Hr]));const w=o.rendererFactory.createRenderer(t,n);let S=16;n.signals?S=4096:n.onPush&&(S=64);const V=md(i,ay(n),null,S,i[e.index],e,o,w,null,null,g);return h.firstCreatePass&&zf(h,e,r.length-1),_d(i,V),i[e.index]=V}(Pb,_e,Fr,eo,ze,V,J),Rn=uc(mt,jt),_e&&function mS(e,t,n,r){if(r)Qr(e,n,["ng-version","18.2.5"]);else{const{attrs:i,classes:o}=function _h(e){const t=[],n=[];let r=1,i=2;for(;r<e.length;){let o=e[r];if("string"==typeof o)2===i?""!==o&&t.push(o,e[++r]):8===i&&n.push(o);else{if(!Ti(i))break;i=o}r++}return{attrs:t,classes:n}}(t.selectors[0]);i&&Qr(e,n,i),o&&o.length>0&&ey(e,n,o.join(" "))}}(J,Fr,_e,r),void 0!==n&&function _S(e,t,n){const r=e.projection=[];for(let i=0;i<t.length;i++){const o=n[i];r.push(null!=o?Array.from(o):null)}}(Rn,this.ngContentSelectors,n),pn=function gS(e,t,n,r,i,o){const c=rr(),h=i[lt],g=Ai(c,i);dy(h,i,c,n,null,r);for(let S=0;S<n.length;S++)Ei(Sa(i,h,c.directiveStart+S,c),i);hy(h,i,c),g&&Ei(g,i);const w=Sa(i,h,c.directiveStart+c.componentOffset,c);if(e[hr]=i[hr]=w,null!==o)for(const S of o)S(w,t);return Bf(h,c,i),w}(sr,Fr,eo,Wl,ze,[yS]),qf(mt,ze,null)}catch(Fr){throw null!==sr&&rf(sr),rf(ze),Fr}finally{Bh()}return new dS(this.componentType,pn,ul(Rn,ze),ze,Rn)}finally{z(o)}}}class dS extends nS{constructor(t,n,r,i,o){super(),this.location=r,this._rootLView=i,this._tNode=o,this.previousInputValues=null,this.instance=n,this.hostView=this.changeDetectorRef=new Rc(i,void 0,!1),this.componentType=t}setInput(t,n){const r=this._tNode.inputs;let i;if(null!==r&&(i=r[t])){if(this.previousInputValues??=new Map,this.previousInputValues.has(t)&&Object.is(this.previousInputValues.get(t),n))return;const o=this._rootLView;Kf(o[lt],o,i,t,n),this.previousInputValues.set(t,n),xc(co(this._tNode.index,o),1)}}get injector(){return new Zr(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}}function yS(){const e=rr();Vu(je()[lt],e)}let Id=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=vS}return e})();function vS(){return nv(rr(),je())}const CS=Id,ev=class extends CS{constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return ul(this._hostTNode,this._hostLView)}get injector(){return new Zr(this._hostTNode,this._hostLView)}get parentInjector(){const t=$u(this._hostTNode,this._hostLView);if($h(t)){const n=gc(t,this._hostLView),r=pc(t);return new Zr(n[lt].data[r+8],n)}return new Zr(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const n=tv(this._lContainer);return null!==n&&n[t]||null}get length(){return this._lContainer.length-Nr}createEmbeddedView(t,n,r){let i,o;"number"==typeof r?i=r:null!=r&&(i=r.index,o=r.injector);const c=ka(this._lContainer,t.ssrId),h=t.createEmbeddedViewImpl(n||{},o,c);return this.insertImpl(h,i,xa(this._hostTNode,c)),h}createComponent(t,n,r,i,o){const c=t&&!function Ns(e){return"function"==typeof e}(t);let h;if(c)h=n;else{const _e=n||{};h=_e.index,r=_e.injector,i=_e.projectableNodes,o=_e.environmentInjector||_e.ngModuleRef}const g=c?t:new Kc(p(t)),w=r||this.parentInjector;if(!o&&null==g.ngModule){const $e=(c?w:this.parentInjector).get(Si,null);$e&&(o=$e)}const S=p(g.componentType??{}),V=ka(this._lContainer,S?.id??null),se=g.create(w,i,V?.firstChild??null,o);return this.insertImpl(se.hostView,h,xa(this._hostTNode,V)),se}insert(t,n){return this.insertImpl(t,n,!0)}insertImpl(t,n,r){const i=t._lView;if(function Wb(e){return wi(e[Ur])}(i)){const h=this.indexOf(t);if(-1!==h)this.detach(h);else{const g=i[Ur],w=new ev(g,g[hi],g[Ur]);w.detach(w.indexOf(t))}}const o=this._adjustIndex(n),c=this._lContainer;return Cl(c,i,o,r),t.attachToViewContainerRef(),Xl(dp(c),o,t),t}move(t,n){return this.insert(t,n)}indexOf(t){const n=tv(this._lContainer);return null!==n?n.indexOf(t):-1}remove(t){const n=this._adjustIndex(t,-1),r=Oc(this._lContainer,n);r&&(ya(dp(this._lContainer),n),fd(r[lt],r))}detach(t){const n=this._adjustIndex(t,-1),r=Oc(this._lContainer,n);return r&&null!=ya(dp(this._lContainer),n)?new Rc(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function tv(e){return e[8]}function dp(e){return e[8]||(e[8]=[])}function nv(e,t){let n;const r=t[e.index];return wi(r)?n=r:(n=fy(r,t,null,e),t[e.index]=n,_d(t,n)),rv(n,t,e,r),new ev(n,e,t)}let rv=function ov(e,t,n,r){if(e[cs])return;let i;i=8&n.type?zn(r):function wS(e,t){const n=e[ln],r=n.createComment(""),i=Ai(t,e);return Pa(n,Rf(n,i),r,function vM(e,t){return e.nextSibling(t)}(n,i),!1),r}(t,n),e[cs]=i},hp=()=>!1;class fp{constructor(t){this.queryList=t,this.matches=null}clone(){return new fp(this.queryList)}setDirty(){this.queryList.setDirty()}}class pp{constructor(t=[]){this.queries=t}createEmbeddedView(t){const n=t.queries;if(null!==n){const r=null!==t.contentQueries?t.contentQueries[0]:n.length,i=[];for(let o=0;o<r;o++){const c=n.getByIndex(o);i.push(this.queries[c.indexInDeclarationView].clone())}return new pp(i)}return null}insertView(t){this.dirtyQueriesWithMatches(t)}detachView(t){this.dirtyQueriesWithMatches(t)}finishViewCreation(t){this.dirtyQueriesWithMatches(t)}dirtyQueriesWithMatches(t){for(let n=0;n<this.queries.length;n++)null!==vp(t,n).matches&&this.queries[n].setDirty()}}class sv{constructor(t,n,r=null){this.flags=n,this.read=r,this.predicate="string"==typeof t?function OS(e){return e.split(",").map(t=>t.trim())}(t):t}}class gp{constructor(t=[]){this.queries=t}elementStart(t,n){for(let r=0;r<this.queries.length;r++)this.queries[r].elementStart(t,n)}elementEnd(t){for(let n=0;n<this.queries.length;n++)this.queries[n].elementEnd(t)}embeddedTView(t){let n=null;for(let r=0;r<this.length;r++){const i=null!==n?n.length:0,o=this.getByIndex(r).embeddedTView(t,i);o&&(o.indexInDeclarationView=r,null!==n?n.push(o):n=[o])}return null!==n?new gp(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 mp{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 mp(this.metadata)):null}isApplyingToNode(t){if(this._appliesToNextNode&&1&~this.metadata.flags){const n=this._declarationNodeIndex;let r=t.parent;for(;null!==r&&8&r.type&&r.index!==n;)r=r.parent;return n===(null!==r?r.index:-1)}return this._appliesToNextNode}matchTNode(t,n){const r=this.metadata.predicate;if(Array.isArray(r))for(let i=0;i<r.length;i++){const o=r[i];this.matchTNodeWithReadOption(t,n,MS(n,o)),this.matchTNodeWithReadOption(t,n,zu(n,t,o,!1,!1))}else r===kc?4&n.type&&this.matchTNodeWithReadOption(t,n,-1):this.matchTNodeWithReadOption(t,n,zu(n,t,r,!1,!1))}matchTNodeWithReadOption(t,n,r){if(null!==r){const i=this.metadata.read;if(null!==i)if(i===_c||i===Id||i===kc&&4&n.type)this.addMatch(n.index,-2);else{const o=zu(n,t,i,!1,!1);null!==o&&this.addMatch(n.index,o)}else this.addMatch(n.index,r)}}addMatch(t,n){null===this.matches?this.matches=[t,n]:this.matches.push(t,n)}}function MS(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 SS(e,t,n,r){return-1===n?function TS(e,t){return 11&e.type?ul(e,t):4&e.type?Cd(e,t):null}(t,e):-2===n?function IS(e,t,n){return n===_c?ul(t,e):n===kc?Cd(t,e):n===Id?nv(t,e):void 0}(e,t,r):Sa(e,e[lt],n,t)}function av(e,t,n,r){const i=t[xs].queries[r];if(null===i.matches){const o=e.data,c=n.matches,h=[];for(let g=0;null!==c&&g<c.length;g+=2){const w=c[g];h.push(w<0?null:SS(t,o[w],c[g+1],n.metadata.read))}i.matches=h}return i.matches}function _p(e,t,n,r){const i=e.queries.getByIndex(n),o=i.matches;if(null!==o){const c=av(e,t,i,n);for(let h=0;h<o.length;h+=2){const g=o[h];if(g>0)r.push(c[h/2]);else{const w=o[h+1],S=t[-g];for(let V=Nr;V<S.length;V++){const J=S[V];J[wa]===J[Ur]&&_p(J[lt],J,w,r)}if(null!==S[sl]){const V=S[sl];for(let J=0;J<V.length;J++){const se=V[J];_p(se[lt],se,w,r)}}}}}return r}function lv(e,t,n){const r=new ef(!(4&~n));return function PM(e,t,n,r){const i=gy(t);i.push(n),e.firstCreatePass&&my(e).push(r,i.length-1)}(e,t,r,r.destroy),(t[xs]??=new pp).queries.push(new fp(r))-1}function dv(e,t,n){null===e.queries&&(e.queries=new gp),e.queries.track(new mp(t,n))}function vp(e,t){return e.queries.getByIndex(t)}function hv(e,t){const n=e[lt],r=vp(n,t);return r.crossesNgTemplate?_p(n,e,t,[]):av(n,e,r,t)}const fv=new Set;function xi(e){fv.has(e)||(fv.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}function gv(e,t){xi("NgSignals");const n=function Fe(e){const t=Object.create(Qn);t.value=e;const n=()=>(X(t),t.value);return n[H]=t,n}(e),r=n[H];return t?.equal&&(r.equal=t.equal),n.set=i=>Kt(r,i),n.update=i=>function tn(e,t){we()||De(),Kt(e,t(e.value))}(r,i),n.asReadonly=mv.bind(n),n}function mv(){const e=this[H];if(void 0===e.readonlyFn){const t=()=>this();t[H]=e,e.readonlyFn=t}return e.readonlyFn}function wp(e){let t=function Iv(e){return Object.getPrototypeOf(e.prototype).constructor}(e.type),n=!0;const r=[e];for(;t;){let i;if(jo(e))i=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new at(903,!1);i=t.\u0275dir}if(i){if(n){r.push(i);const c=e;c.inputs=Pd(e.inputs),c.inputTransforms=Pd(e.inputTransforms),c.declaredInputs=Pd(e.declaredInputs),c.outputs=Pd(e.outputs);const h=i.hostBindings;h&&zS(e,h);const g=i.viewQuery,w=i.contentQueries;if(g&&HS(e,g),w&&$S(e,w),jS(e,i),Ao(e.outputs,i.outputs),jo(i)&&i.data.animation){const S=e.data;S.animation=(S.animation||[]).concat(i.data.animation)}}const o=i.features;if(o)for(let c=0;c<o.length;c++){const h=o[c];h&&h.ngInherit&&h(e),h===wp&&(n=!1)}}t=Object.getPrototypeOf(t)}!function US(e){let t=0,n=null;for(let r=e.length-1;r>=0;r--){const i=e[r];i.hostVars=t+=i.hostVars,i.hostAttrs=Ps(i.hostAttrs,n=Ps(n,i.hostAttrs))}}(r)}function jS(e,t){for(const n in t.inputs){if(!t.inputs.hasOwnProperty(n)||e.inputs.hasOwnProperty(n))continue;const r=t.inputs[n];if(void 0!==r&&(e.inputs[n]=r,e.declaredInputs[n]=t.declaredInputs[n],null!==t.inputTransforms)){const i=Array.isArray(r)?r[0]:r;if(!t.inputTransforms.hasOwnProperty(i))continue;e.inputTransforms??={},e.inputTransforms[i]=t.inputTransforms[i]}}}function Pd(e){return e===Wi?{}:e===fn?[]:e}function HS(e,t){const n=e.viewQuery;e.viewQuery=n?(r,i)=>{t(r,i),n(r,i)}:t}function $S(e,t){const n=e.contentQueries;e.contentQueries=n?(r,i,o)=>{t(r,i,o),n(r,i,o)}:t}function zS(e,t){const n=e.hostBindings;e.hostBindings=n?(r,i)=>{t(r,i),n(r,i)}:t}function Nv(e){const t=e.inputConfig,n={};for(const r in t)if(t.hasOwnProperty(r)){const i=t[r];Array.isArray(i)&&i[3]&&(n[r]=i[3])}e.inputTransforms=n}class Fa{}class xv{}function XS(e,t){return new Ep(e,t??null,[])}class Ep extends Fa{constructor(t,n,r,i=!0){super(),this.ngModuleType=t,this._parent=n,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new Yy(this);const o=d(t);this._bootstrapComponents=uo(o.bootstrap),this._r3Injector=Pm(t,n,[{provide:Fa,useValue:this},{provide:zc,useValue:this.componentFactoryResolver},...r],dr(t),new Set(["environment"])),i&&this.resolveInjectorInitializers()}resolveInjectorInitializers(){this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(this.ngModuleType)}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 bp extends xv{constructor(t){super(),this.moduleType=t}create(t){return new Ep(this.moduleType,t,[])}}class Rv extends Fa{constructor(t){super(),this.componentFactoryResolver=new Yy(this),this.instance=null;const n=new Qi([...t.providers,{provide:Fa,useValue:this},{provide:zc,useValue:this.componentFactoryResolver}],t.parent||Lo(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}}function Dp(e,t,n=null){return new Rv({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}function Ad(e){return!!Mp(e)&&(Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e)}function Mp(e){return null!==e&&("function"==typeof e||"object"==typeof e)}function xr(e,t,n){return!Object.is(e[t],n)&&(e[t]=n,!0)}function Xc(e,t,n,r,i,o,c,h,g,w){const S=n+jt,V=t.firstCreatePass?function nI(e,t,n,r,i,o,c,h,g){const w=t.consts,S=Na(t,e,4,c||null,h||null);$f(t,n,S,To(w,g)),Vu(t,S);const V=S.tView=Hf(2,S,r,i,o,t.directiveRegistry,t.pipeRegistry,null,t.schemas,w,null);return null!==t.queries&&(t.queries.template(t,S),V.queries=t.queries.embeddedTView(S)),S}(S,t,e,r,i,o,c,h,g):t.data[S];Uo(V,!1);const J=kv(t,e,V,n);hc()&&pd(t,e,J,V),Ei(J,e);const se=fy(J,e,J,V);return e[S]=se,_d(e,se),function iv(e,t,n){return hp(e,t,n)}(se,V,e),Nu(V)&&jf(t,e,V),null!=g&&Uf(e,V,w),V}function Tp(e,t,n,r,i,o,c,h){const g=je(),w=Cn();return Xc(g,w,e,t,n,r,i,To(w.consts,o),c,h),Tp}let kv=function Fv(e,t,n,r){return ds(!0),t[ln].createComment("")};var Tl=function(e){return e[e.EarlyRead=0]="EarlyRead",e[e.Write=1]="Write",e[e.MixedReadWrite=2]="MixedReadWrite",e[e.Read=3]="Read",e}(Tl||{});let Hv=(()=>{class e{constructor(){this.impl=null}execute(){this.impl?.execute()}static#e=this.\u0275prov=Bn({token:e,providedIn:"root",factory:()=>new e})}return e})();class Jc{constructor(){this.ngZone=tt(Cr),this.scheduler=tt(El),this.errorHandler=tt(Ls,{optional:!0}),this.sequences=new Set,this.deferredRegistrations=new Set,this.executing=!1}static#e=this.PHASES=[Tl.EarlyRead,Tl.Write,Tl.MixedReadWrite,Tl.Read];execute(){this.executing=!0;for(const t of Jc.PHASES)for(const n of this.sequences)if(!n.erroredOrDestroyed&&n.hooks[t])try{n.pipelinedValue=this.ngZone.runOutsideAngular(()=>n.hooks[t](n.pipelinedValue))}catch(r){n.erroredOrDestroyed=!0,this.errorHandler?.handleError(r)}this.executing=!1;for(const t of this.sequences)t.afterRun(),t.once&&this.sequences.delete(t);for(const t of this.deferredRegistrations)this.sequences.add(t);this.deferredRegistrations.size>0&&this.scheduler.notify(7),this.deferredRegistrations.clear()}register(t){this.executing?this.deferredRegistrations.add(t):(this.sequences.add(t),this.scheduler.notify(6))}unregister(t){this.executing&&this.sequences.has(t)?(t.erroredOrDestroyed=!0,t.pipelinedValue=void 0,t.once=!0):(this.sequences.delete(t),this.deferredRegistrations.delete(t))}static#t=this.\u0275prov=Bn({token:Jc,providedIn:"root",factory:()=>new Jc})}class sI{constructor(t,n,r,i){this.impl=t,this.hooks=n,this.once=r,this.erroredOrDestroyed=!1,this.pipelinedValue=void 0,this.unregisterOnDestroy=i.onDestroy(()=>this.destroy())}afterRun(){this.erroredOrDestroyed=!1,this.pipelinedValue=void 0}destroy(){this.impl.unregister(this),this.unregisterOnDestroy()}}function Fd(e,t){!t?.injector&&function lr(e){if(!Vo())throw new at(-203,!1)}();const n=t?.injector??tt(pi);return function ho(e){return"browser"===(e??tt(pi)).get(Yu)}(n)?(xi("NgAfterNextRender"),function $v(e,t,n,r){const i=t.get(Hv);i.impl??=t.get(Jc);const c=new sI(i.impl,function lI(e,t){if(e instanceof Function){const n=[void 0,void 0,void 0,void 0];return n[t]=e,n}return[e.earlyRead,e.write,e.mixedReadWrite,e.read]}(e,n?.phase??Tl.MixedReadWrite),r,t.get(mc));return i.impl.register(c),c}(e,n,t,!0)):zv}const zv={destroy(){}};function Lp(e,t,n,r){const i=je();return xr(i,Ho(),t)&&(Cn(),ps(fr(),i,e,t,n,r)),Lp}function xl(e,t,n,r){return xr(e,Ho(),n)?t+nn(n)+r:mn}function Bd(e,t){return e<<17|t<<2}function la(e){return e>>17&32767}function Vp(e){return 2|e}function Ba(e){return(131068&e)>>2}function Bp(e,t){return-131069&e|t<<2}function jp(e){return 1|e}function mC(e,t,n,r){const i=e[n+1],o=null===t;let c=r?la(i):Ba(i),h=!1;for(;0!==c&&(!1===h||o);){const w=e[c+1];zI(e[c],t)&&(h=!0,e[c+1]=r?jp(w):Vp(w)),c=r?la(w):Ba(w)}h&&(e[n+1]=r?Vp(i):jp(i))}function zI(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&bo(e,t)>=0}const Yr={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function _C(e){return e.substring(Yr.key,Yr.keyEnd)}function yC(e,t){const n=Yr.textEnd;return n===t?-1:(t=Yr.keyEnd=function qI(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}(e,Yr.key=t,n),Ul(e,t,n))}function Ul(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function Up(e,t,n){const r=je();return xr(r,Ho(),t)&&Yi(Cn(),fr(),r,e,t,r[ln],n,!1),Up}function Hp(e,t,n,r,i){const c=i?"class":"style";Kf(e,n,t.inputs[c],c,r)}function $p(e,t,n){return $o(e,t,n,!1),$p}function zp(e,t){return $o(e,t,null,!0),zp}function bC(e){zo(rO,_s,e,!0)}function _s(e,t){for(let n=function WI(e){return function CC(e){Yr.key=0,Yr.keyEnd=0,Yr.value=0,Yr.valueEnd=0,Yr.textEnd=e.length}(e),yC(e,Ul(e,0,Yr.textEnd))}(t);n>=0;n=yC(t,n))yi(e,_C(t),!0)}function $o(e,t,n,r){const i=je(),o=Cn(),c=Fs(2);o.firstUpdatePass&&MC(o,e,c,r),t!==mn&&xr(i,c,t)&&SC(o,o.data[fi()],i,i[ln],e,i[c+1]=function oO(e,t){return null==e||""===e||("string"==typeof t?e+=t:"object"==typeof e&&(e=dr(ia(e)))),e}(t,n),r,c)}function zo(e,t,n,r){const i=Cn(),o=Fs(2);i.firstUpdatePass&&MC(i,null,o,r);const c=je();if(n!==mn&&xr(c,o,n)){const h=i.data[fi()];if(OC(h,r)&&!DC(i,o)){let g=r?h.classesWithoutHost:h.stylesWithoutHost;null!==g&&(n=vo(g,n||"")),Hp(i,h,c,n,r)}else!function iO(e,t,n,r,i,o,c,h){i===mn&&(i=fn);let g=0,w=0,S=0<i.length?i[0]:null,V=0<o.length?o[0]:null;for(;null!==S||null!==V;){const J=g<i.length?i[g+1]:void 0,se=w<o.length?o[w+1]:void 0;let $e,_e=null;S===V?(g+=2,w+=2,J!==se&&(_e=V,$e=se)):null===V||null!==S&&S<V?(g+=2,_e=S):(w+=2,_e=V,$e=se),null!==_e&&SC(e,t,n,r,_e,$e,c,h),S=g<i.length?i[g]:null,V=w<o.length?o[w]:null}}(i,h,c,c[ln],c[o+1],c[o+1]=function nO(e,t,n){if(null==n||""===n)return fn;const r=[],i=ia(n);if(Array.isArray(i))for(let o=0;o<i.length;o++)e(r,i[o],!0);else if("object"==typeof i)for(const o in i)i.hasOwnProperty(o)&&e(r,o,i[o]);else"string"==typeof i&&t(r,i);return r}(e,t,n),r,o)}}function DC(e,t){return t>=e.expandoStartIndex}function MC(e,t,n,r){const i=e.data;if(null===i[n+1]){const o=i[fi()],c=DC(e,n);OC(o,r)&&null===t&&!c&&(t=!1),t=function YI(e,t,n,r){const i=function Fh(e){const t=cn.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}(e);let o=r?t.residualClasses:t.residualStyles;if(null===i)0===(r?t.classBindings:t.styleBindings)&&(n=tu(n=Gp(null,e,t,n,r),t.attrs,r),o=null);else{const c=t.directiveStylingLast;if(-1===c||e[c]!==i)if(n=Gp(i,e,t,n,r),null===o){let g=function JI(e,t,n){const r=n?t.classBindings:t.styleBindings;if(0!==Ba(r))return e[la(r)]}(e,t,r);void 0!==g&&Array.isArray(g)&&(g=Gp(null,e,t,g[1],r),g=tu(g,t.attrs,r),function eO(e,t,n,r){e[la(n?t.classBindings:t.styleBindings)]=r}(e,t,r,g))}else o=function tO(e,t,n){let r;const i=t.directiveEnd;for(let o=1+t.directiveStylingLast;o<i;o++)r=tu(r,e[o].hostAttrs,n);return tu(r,t.attrs,n)}(e,t,r)}return void 0!==o&&(r?t.residualClasses=o:t.residualStyles=o),n}(i,o,t,r),function HI(e,t,n,r,i,o){let c=o?t.classBindings:t.styleBindings,h=la(c),g=Ba(c);e[r]=n;let S,w=!1;if(Array.isArray(n)?(S=n[1],(null===S||bo(n,S)>0)&&(w=!0)):S=n,i)if(0!==g){const J=la(e[h+1]);e[r+1]=Bd(J,h),0!==J&&(e[J+1]=Bp(e[J+1],r)),e[h+1]=function jI(e,t){return 131071&e|t<<17}(e[h+1],r)}else e[r+1]=Bd(h,0),0!==h&&(e[h+1]=Bp(e[h+1],r)),h=r;else e[r+1]=Bd(g,0),0===h?h=r:e[g+1]=Bp(e[g+1],r),g=r;w&&(e[r+1]=Vp(e[r+1])),mC(e,S,r,!0),mC(e,S,r,!1),function $I(e,t,n,r,i){const o=i?e.residualClasses:e.residualStyles;null!=o&&"string"==typeof t&&bo(o,t)>=0&&(n[r+1]=jp(n[r+1]))}(t,S,e,r,o),c=Bd(h,g),o?t.classBindings=c:t.styleBindings=c}(i,o,t,n,c,r)}}function Gp(e,t,n,r,i){let o=null;const c=n.directiveEnd;let h=n.directiveStylingLast;for(-1===h?h=n.directiveStart:h++;h<c&&(o=t[h],r=tu(r,o.hostAttrs,i),o!==e);)h++;return null!==e&&(n.directiveStylingLast=h),r}function tu(e,t,n){const r=n?1:2;let i=-1;if(null!==t)for(let o=0;o<t.length;o++){const c=t[o];"number"==typeof c?i=c:i===r&&(Array.isArray(e)||(e=void 0===e?[]:["",e]),yi(e,c,!!n||t[++o]))}return void 0===e?null:e}function rO(e,t,n){const r=String(t);""!==r&&!r.includes(" ")&&yi(e,r,n)}function SC(e,t,n,r,i,o,c,h){if(!(3&t.type))return;const g=e.data,w=g[h+1],S=function UI(e){return!(1&~e)}(w)?IC(g,t,n,i,Ba(w),c):void 0;jd(S)||(jd(o)||function BI(e){return!(2&~e)}(w)&&(o=IC(g,null,n,i,h,c)),function EM(e,t,n,r,i){if(t)i?e.addClass(n,r):e.removeClass(n,r);else{let o=-1===r.indexOf("-")?void 0:dd.DashCase;null==i?e.removeStyle(n,r,o):("string"==typeof i&&i.endsWith("!important")&&(i=i.slice(0,-10),o|=dd.Important),e.setStyle(n,r,i,o))}}(r,c,cc(fi(),n),i,o))}function IC(e,t,n,r,i,o){const c=null===t;let h;for(;i>0;){const g=e[i],w=Array.isArray(g),S=w?g[1]:g,V=null===S;let J=n[i+1];J===mn&&(J=V?fn:void 0);let se=V?Ys(J,r):S===r?J:void 0;if(w&&!jd(se)&&(se=Ys(g,r)),jd(se)&&(h=se,c))return h;const _e=e[i+1];i=c?la(_e):Ba(_e)}if(null!==t){let g=o?t.residualClasses:t.residualStyles;null!=g&&(h=Ys(g,r))}return h}function jd(e){return void 0!==e}function OC(e,t){return!!(e.flags&(t?8:16))}function PC(e,t,n){zo(yi,_s,xl(je(),e,t,n),!0)}function Hd(e,t,n,r){const i=je(),o=Cn(),c=jt+e,h=i[ln],g=o.firstCreatePass?function SO(e,t,n,r,i,o){const c=t.consts,g=Na(t,e,2,r,To(c,i));return $f(t,n,g,To(c,o)),null!==g.attrs&&Sd(g,g.attrs,!1),null!==g.mergedAttrs&&Sd(g,g.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,g),g}(c,o,i,t,n,r):o.data[c],w=RC(o,i,g,h,t,e);i[c]=w;const S=Nu(g);return Uo(g,!0),ty(h,w,g),!function Dl(e){return!(32&~e.flags)}(g)&&hc()&&pd(o,i,w,g),0===function Kb(){return cn.lFrame.elementDepthCount}()&&Ei(w,i),function qb(){cn.lFrame.elementDepthCount++}(),S&&(jf(o,i,g),Bf(o,g,i)),null!==r&&Uf(i,g),Hd}function $d(){let e=rr();xh()?Rh():(e=e.parent,Uo(e,!1));const t=e;(function Xb(e){return cn.skipHydrationRootTNode===e})(t)&&function e0(){cn.skipHydrationRootTNode=null}(),function Qb(){cn.lFrame.elementDepthCount--}();const n=Cn();return n.firstCreatePass&&(Vu(n,e),bh(e)&&n.queries.elementEnd(e)),null!=t.classesWithoutHost&&function g0(e){return!!(8&e.flags)}(t)&&Hp(n,t,je(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function m0(e){return!!(16&e.flags)}(t)&&Hp(n,t,je(),t.stylesWithoutHost,!1),$d}function Qp(e,t,n,r){return Hd(e,t,n,r),$d(),Qp}let RC=(e,t,n,r,i,o)=>(ds(!0),hd(r,i,function cm(){return cn.lFrame.currentNamespace}()));function zd(e,t,n){const r=je(),i=Cn(),o=e+jt,c=i.firstCreatePass?function PO(e,t,n,r,i){const o=t.consts,c=To(o,r),h=Na(t,e,8,"ng-container",c);return null!==c&&Sd(h,c,!0),$f(t,n,h,To(o,i)),null!==t.queries&&t.queries.elementStart(t,h),h}(o,i,r,t,n):i.data[o];Uo(c,!0);const h=kC(i,r,c,e);return r[o]=h,hc()&&pd(i,r,h,c),Ei(h,r),Nu(c)&&(jf(i,r,c),Bf(i,c,r)),null!=n&&Uf(r,c),zd}function Gd(){let e=rr();const t=Cn();return xh()?Rh():(e=e.parent,Uo(e,!1)),t.firstCreatePass&&(Vu(t,e),bh(e)&&t.queries.elementEnd(e)),Gd}function Xp(e,t,n){return zd(e,t,n),Gd(),Xp}let kC=(e,t,n,r)=>(ds(!0),Pf(t[ln],""));function FC(){return je()}const ja=void 0;var RO=["en",[["a","p"],["AM","PM"],ja],[["AM","PM"],ja,ja],[["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"]],ja,[["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"]],ja,[["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}",ja,"{1} 'at' {0}",ja],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function xO(e){const n=Math.floor(Math.abs(e)),r=e.toString().replace(/^[^.]*\.?/,"").length;return 1===n&&0===r?1:5}];let Hl={};function Zp(e){const t=function kO(e){return e.toLowerCase().replace(/_/g,"-")}(e);let n=jC(t);if(n)return n;const r=t.split("-")[0];if(n=jC(r),n)return n;if("en"===r)return RO;throw new at(701,!1)}function BC(e){return Zp(e)[$l.PluralCase]}function jC(e){return e in Hl||(Hl[e]=or.ng&&or.ng.common&&or.ng.common.locales&&or.ng.common.locales[e]),Hl[e]}var $l=function(e){return e[e.LocaleId=0]="LocaleId",e[e.DayPeriodsFormat=1]="DayPeriodsFormat",e[e.DayPeriodsStandalone=2]="DayPeriodsStandalone",e[e.DaysFormat=3]="DaysFormat",e[e.DaysStandalone=4]="DaysStandalone",e[e.MonthsFormat=5]="MonthsFormat",e[e.MonthsStandalone=6]="MonthsStandalone",e[e.Eras=7]="Eras",e[e.FirstDayOfWeek=8]="FirstDayOfWeek",e[e.WeekendRange=9]="WeekendRange",e[e.DateFormat=10]="DateFormat",e[e.TimeFormat=11]="TimeFormat",e[e.DateTimeFormat=12]="DateTimeFormat",e[e.NumberSymbols=13]="NumberSymbols",e[e.NumberFormats=14]="NumberFormats",e[e.CurrencyCode=15]="CurrencyCode",e[e.CurrencySymbol=16]="CurrencySymbol",e[e.CurrencyName=17]="CurrencyName",e[e.Currencies=18]="Currencies",e[e.Directionality=19]="Directionality",e[e.PluralCase=20]="PluralCase",e[e.ExtraData=21]="ExtraData",e}($l||{});const Wd="en-US";let UC=Wd,ow=(e,t,n)=>{};function eg(e,t,n,r){const i=je(),o=Cn(),c=rr();return function tg(e,t,n,r,i,o,c){const h=Nu(r),w=e.firstCreatePass&&my(e),S=t[hr],V=gy(t);let J=!0;if(3&r.type||c){const $e=Ai(r,t),ct=c?c($e):$e,mt=V.length,ze=c?Rn=>c(zn(Rn[r.index])):r.index;let pn=null;if(!c&&h&&(pn=function bP(e,t,n,r){const i=e.cleanup;if(null!=i)for(let o=0;o<i.length-1;o+=2){const c=i[o];if(c===n&&i[o+1]===r){const h=t[nl],g=i[o+2];return h.length>g?h[g]:null}"string"==typeof c&&(o+=2)}return null}(e,t,i,r.index)),null!==pn)(pn.__ngLastListenerFn__||pn).__ngNextListenerFn__=o,pn.__ngLastListenerFn__=o,J=!1;else{o=cw(r,t,S,o),ow($e,i,o);const Rn=n.listen(ct,i,o);V.push(o,Rn),w&&w.push(i,ze,mt,mt+1)}}else o=cw(r,t,S,o);const se=r.outputs;let _e;if(J&&null!==se&&(_e=se[i])){const $e=_e.length;if($e)for(let ct=0;ct<$e;ct+=2){const sr=t[_e[ct]][_e[ct+1]].subscribe(o),Fr=V.length;V.push(o,sr),w&&w.push(i,r.index,Fr,-(Fr+1))}}}(o,i,i[ln],c,e,t,r),eg}function lw(e,t,n,r){const i=z(null);try{return us(6,t,n),!1!==n(r)}catch(o){return yd(e,o),!1}finally{us(7,t,n),z(i)}}function cw(e,t,n,r){return function i(o){if(o===Function)return r;xc(e.componentOffset>-1?co(e.index,t):t,5);let h=lw(t,n,r,o),g=i.__ngNextListenerFn__;for(;g;)h=lw(t,n,g,o)&&h,g=g.__ngNextListenerFn__;return h}}function uw(e=1){return function s0(e){return(cn.lFrame.contextLView=function Wg(e,t){for(;e>0;)t=t[rl],e--;return t}(e,cn.lFrame.contextLView))[hr]}(e)}function DP(e,t){let n=null;const r=function wu(e){const t=e.attrs;if(null!=t){const n=t.indexOf(5);if(!(1&n))return t[n+1]}return null}(e);for(let i=0;i<t.length;i++){const o=t[i];if("*"!==o){if(null===r?ec(e,o,!0):bu(r,o))return i}else n=i}return n}function dw(e){const t=je()[vr][hi];if(!t.projection){const r=t.projection=function as(e,t){const n=[];for(let r=0;r<e;r++)n.push(t);return n}(e?e.length:1,null),i=r.slice();let o=t.child;for(;null!==o;){if(128!==o.type){const c=e?DP(o,e):0;null!==c&&(i[c]?i[c].projectionNext=o:r[c]=o,i[c]=o)}o=o.next}}}function hw(e,t=0,n,r,i,o){const c=je(),h=Cn(),g=r?e+1:null;null!==g&&Xc(c,h,g,r,i,o,null,n);const w=Na(h,jt+e,16,null,n||null);null===w.projection&&(w.projection=t),Rh();const V=!c[Pi]||Da();null===c[vr][hi].projection[w.projection]&&null!==g?function MP(e,t,n){const r=jt+n,i=t.data[r],o=e[r],c=ka(o,i.tView.ssrId);Cl(o,vl(e,i,void 0,{dehydratedView:c}),0,xa(i,c))}(c,h,g):V&&32&~w.flags&&function CM(e,t,n){J_(t[ln],0,t,n,xf(e,n,t),K_(n.parent||t[hi],n,t))}(h,c,w)}function ng(e,t,n){return rg(e,"",t,"",n),ng}function rg(e,t,n,r,i){const o=je(),c=xl(o,t,n,r);return c!==mn&&Yi(Cn(),fr(),o,e,c,o[ln],i,!1),rg}function ww(e,t,n,r){!function uv(e,t,n,r){const i=Cn();if(i.firstCreatePass){const o=rr();dv(i,new sv(t,n,r),o.index),function PS(e,t){const n=e.contentQueries||(e.contentQueries=[]);t!==(n.length?n[n.length-1]:-1)&&n.push(e.queries.length-1,t)}(i,e),!(2&~n)&&(i.staticContentQueries=!0)}return lv(i,je(),n)}(e,t,n,r)}function Ew(e,t,n){!function cv(e,t,n){const r=Cn();return r.firstCreatePass&&(dv(r,new sv(e,t,n),-1),!(2&~t)&&(r.staticViewQueries=!0)),lv(r,je(),t)}(e,t,n)}function bw(e){const t=je(),n=Cn(),r=Lh();Lu(r+1);const i=vp(n,r);if(e.dirty&&function Gb(e){return!(4&~e[en])}(t)===!(2&~i.metadata.flags)){if(null===i.matches)e.reset([]);else{const o=hv(t,r);e.reset(o,Bm),e.notifyOnChanges()}return!0}return!1}function Dw(){return function yp(e,t){return e[xs].queries[t].queryList}(je(),Lh())}function Mw(e){return ba(function Yg(){return cn.lFrame.contextLView}(),jt+e)}function kw(e,t=""){const n=je(),r=Cn(),i=e+jt,o=r.firstCreatePass?Na(r,i,1,t,null):r.data[i],c=Fw(r,n,o,t,e);n[i]=c,hc()&&pd(r,n,c,o),Uo(o,!1)}let Fw=(e,t,n,r,i)=>(ds(!0),function Of(e,t){return e.createText(t)}(t[ln],r));function og(e){return Xd("",e,""),og}function Xd(e,t,n){const r=je(),i=xl(r,e,t,n);return i!==mn&&function Bs(e,t,n){const r=cc(t,e);!function U_(e,t,n){e.setValue(t,n)}(e[ln],r,n)}(r,fi(),i),Xd}function sg(e,t,n,r,i){if(e=Xt(e),Array.isArray(e))for(let o=0;o<e.length;o++)sg(e[o],t,n,r,i);else{const o=Cn(),c=je(),h=rr();let g=pr(e)?e:Xt(e.provide);const w=At(e),S=1048575&h.providerIndexes,V=h.directiveStart,J=h.providerIndexes>>20;if(pr(e)||!e.multi){const se=new fc(w,i,yl),_e=lg(g,t,i?S:S+J,V);-1===_e?(Wh(Hu(h,c),o,g),ag(o,e,t.length),t.push(g),h.directiveStart++,h.directiveEnd++,i&&(h.providerIndexes+=1048576),n.push(se),c.push(se)):(n[_e]=se,c[_e]=se)}else{const se=lg(g,t,S+J,V),_e=lg(g,t,S,S+J),ct=_e>=0&&n[_e];if(i&&!ct||!i&&!(se>=0&&n[se])){Wh(Hu(h,c),o,g);const mt=function WP(e,t,n,r,i){const o=new fc(e,n,yl);return o.multi=[],o.index=t,o.componentProviders=0,Qw(o,i,r&&!n),o}(i?GP:zP,n.length,i,r,w);!i&&ct&&(n[_e].providerFactory=mt),ag(o,e,t.length,0),t.push(g),h.directiveStart++,h.directiveEnd++,i&&(h.providerIndexes+=1048576),n.push(mt),c.push(mt)}else ag(o,e,se>-1?se:_e,Qw(n[i?_e:se],w,!i&&r));!i&&r&&ct&&n[_e].componentProviders++}}}function ag(e,t,n,r){const i=pr(t),o=function ta(e){return!!e.useClass}(t);if(i||o){const g=(o?Xt(t.useClass):t).prototype.ngOnDestroy;if(g){const w=e.destroyHooks||(e.destroyHooks=[]);if(!i&&t.multi){const S=w.indexOf(n);-1===S?w.push(n,[r,g]):w[S+1].push(r,g)}else w.push(n,g)}}}function Qw(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function lg(e,t,n,r){for(let i=n;i<r;i++)if(t[i]===e)return i;return-1}function zP(e,t,n,r){return cg(this.multi,[])}function GP(e,t,n,r){const i=this.multi;let o;if(this.providerFactory){const c=this.providerFactory.componentProviders,h=Sa(n,n[lt],this.providerFactory.index,r);o=h.slice(0,c),cg(i,o);for(let g=c;g<h.length;g++)o.push(h[g])}else o=[],cg(i,o);return o}function cg(e,t){for(let n=0;n<e.length;n++)t.push((0,e[n])());return t}function Xw(e,t=[]){return n=>{n.providersResolver=(r,i)=>function $P(e,t,n){const r=Cn();if(r.firstCreatePass){const i=jo(e);sg(n,r.data,r.blueprint,i,!0),sg(t,r.data,r.blueprint,i,!1)}}(r,i?i(e):e,t)}}let KP=(()=>{class e{constructor(n){this._injector=n,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n)){const r=ht(0,n.type),i=r.length>0?Dp([r],this._injector,`Standalone[${n.type.name}]`):null;this.cachedInjectors.set(n,i)}return this.cachedInjectors.get(n)}ngOnDestroy(){try{for(const n of this.cachedInjectors.values())null!==n&&n.destroy()}finally{this.cachedInjectors.clear()}}static#e=this.\u0275prov=Bn({token:e,providedIn:"environment",factory:()=>new e(sn(Si))})}return e})();function Zw(e){xi("NgStandalone"),e.getStandaloneInjector=t=>t.get(KP).getOrCreateStandaloneInjector(e)}function eE(e,t,n,r,i,o){const c=t+n;return xr(e,c,i)?function gs(e,t,n){return e[t]=n}(e,c+1,o?r.call(o,i):r(i)):function au(e,t){const n=e[t];return n===mn?void 0:n}(e,c+1)}function oE(e,t){const n=Cn();let r;const i=e+jt;n.firstCreatePass?(r=function aA(e,t){if(t)for(let n=t.length-1;n>=0;n--){const r=t[n];if(e===r.name)return r}}(t,n.pipeRegistry),n.data[i]=r,r.onDestroy&&(n.destroyHooks??=[]).push(i,r.onDestroy)):r=n.data[i];const o=r.factory||(r.factory=ko(r.type)),h=ii(yl);try{const g=Uu(!1),w=o();return Uu(g),function ig(e,t,n,r){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=r}(n,je(),i,w),w}finally{ii(h)}}function sE(e,t,n){const r=e+jt,i=je(),o=ba(i,r);return function lu(e,t){return e[lt].data[t].pure}(i,r)?eE(i,function Ni(){const e=cn.lFrame;let t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}(),t,o.transform,n,o):o.transform(n)}function aE(e,t){return Cd(e,t)}class bE{constructor(t){this.full=t;const n=t.split(".");this.major=n[0],this.minor=n[1],this.patch=n.slice(2).join(".")}}let DE=(()=>{class e{log(n){console.log(n)}warn(n){console.warn(n)}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=Bn({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();const OE=new Zt(""),PE=new Zt("");let gg,iN=(()=>{class e{constructor(n,r,i){this._ngZone=n,this.registry=r,this._isZoneStable=!0,this._callbacks=[],this.taskTrackingZone=null,gg||(function oN(e){gg=e}(i),i.addToWindow(r)),this._watchAngularEvents(),n.run(()=>{this.taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{Cr.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}isStable(){return this._isZoneStable&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())queueMicrotask(()=>{for(;0!==this._callbacks.length;){let n=this._callbacks.pop();clearTimeout(n.timeoutId),n.doneCb()}});else{let n=this.getPendingTasks();this._callbacks=this._callbacks.filter(r=>!r.updateCb||!r.updateCb(n)||(clearTimeout(r.timeoutId),!1))}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(n=>({source:n.source,creationLocation:n.creationLocation,data:n.data})):[]}addCallback(n,r,i){let o=-1;r&&r>0&&(o=setTimeout(()=>{this._callbacks=this._callbacks.filter(c=>c.timeoutId!==o),n()},r)),this._callbacks.push({doneCb:n,timeoutId:o,updateCb:i})}whenStable(n,r,i){if(i&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(n,r,i),this._runCallbacksIfReady()}registerApplication(n){this.registry.registerApplication(n,this)}unregisterApplication(n){this.registry.unregisterApplication(n)}findProviders(n,r,i){return[]}static#e=this.\u0275fac=function(r){return new(r||e)(sn(Cr),sn(AE),sn(PE))};static#t=this.\u0275prov=Bn({token:e,factory:e.\u0275fac})}return e})(),AE=(()=>{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 gg?.findTestabilityInTree(this,n,r)??null}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=Bn({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();function mg(e){return!!e&&"function"==typeof e.then}function NE(e){return!!e&&"function"==typeof e.subscribe}const xE=new Zt("");let RE=(()=>{class e{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((n,r)=>{this.resolve=n,this.reject=r}),this.appInits=tt(xE,{optional:!0})??[]}runInitializers(){if(this.initialized)return;const n=[];for(const i of this.appInits){const o=i();if(mg(o))n.push(o);else if(NE(o)){const c=new Promise((h,g)=>{o.subscribe({complete:h,error:g})});n.push(c)}}const r=()=>{this.done=!0,this.resolve()};Promise.all(n).then(()=>{r()}).catch(i=>{this.reject(i)}),0===n.length&&r(),this.initialized=!0}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=Bn({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const th=new Zt("");function FE(e,t){return Array.isArray(t)?t.reduce(FE,e):{...e,...t}}let ys=(()=>{class e{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=tt(z0),this.afterRenderManager=tt(Hv),this.zonelessEnabled=tt($c),this.dirtyFlags=0,this.deferredDirtyFlags=0,this.externalTestViews=new Set,this.beforeRender=new Gn.B,this.afterTick=new Gn.B,this.componentTypes=[],this.components=[],this.isStable=tt(Ia).hasPendingTasks.pipe((0,tr.T)(n=>!n)),this._injector=tt(Si)}get allViews(){return[...this.externalTestViews.keys(),...this._views]}get destroyed(){return this._destroyed}whenStable(){let n;return new Promise(r=>{n=this.isStable.subscribe({next:i=>{i&&r()}})}).finally(()=>{n.unsubscribe()})}get injector(){return this._injector}bootstrap(n,r){const i=n instanceof qy;if(!this._injector.get(RE).done)throw!i&&a(n),new at(405,!1);let c;c=i?n:this._injector.get(zc).resolveComponentFactory(n),this.componentTypes.push(c.componentType);const h=function sN(e){return e.isBoundToModule}(c)?void 0:this._injector.get(Fa),w=c.create(pi.NULL,[],r||c.selector,h),S=w.location.nativeElement,V=w.injector.get(OE,null);return V?.registerApplication(S),w.onDestroy(()=>{this.detachView(w.hostView),nh(this.components,w),V?.unregisterApplication(S)}),this._loadComponent(w),w}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){if(this._runningTick)throw new at(101,!1);const n=z(null);try{this._runningTick=!0,this.synchronize()}catch(r){this.internalErrorHandler(r)}finally{this._runningTick=!1,z(n),this.afterTick.next()}}synchronize(){let n=null;this._injector.destroyed||(n=this._injector.get(lp,null,{optional:!0})),this.dirtyFlags|=this.deferredDirtyFlags,this.deferredDirtyFlags=0;let r=0;for(;0!==this.dirtyFlags&&r++<10;)this.synchronizeOnce(n)}synchronizeOnce(n){if(this.dirtyFlags|=this.deferredDirtyFlags,this.deferredDirtyFlags=0,7&this.dirtyFlags){const r=!!(1&this.dirtyFlags);this.dirtyFlags&=-8,this.dirtyFlags|=8,this.beforeRender.next(r);for(let{_lView:i,notifyErrorHandler:o}of this._views)cN(i,o,r,this.zonelessEnabled);if(this.dirtyFlags&=-5,this.syncDirtyFlagsWithViews(),7&this.dirtyFlags)return}else n?.begin?.(),n?.end?.();8&this.dirtyFlags&&(this.dirtyFlags&=-9,this.afterRenderManager.execute()),this.syncDirtyFlagsWithViews()}syncDirtyFlagsWithViews(){this.allViews.some(({_lView:n})=>xu(n))?this.dirtyFlags|=2:this.dirtyFlags&=-8}attachView(n){const r=n;this._views.push(r),r.attachToAppRef(this)}detachView(n){const r=n;nh(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n);const r=this._injector.get(th,[]);[...this._bootstrapListeners,...r].forEach(i=>i(n))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(n=>n()),this._views.slice().forEach(n=>n.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>nh(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new at(406,!1);const n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=Bn({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function nh(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}function cN(e,t,n,r){(n||xu(e))&&vd(e,t,n&&!r?0:1)}class uN{constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}}let dN=(()=>{class e{compileModuleSync(n){return new bp(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){const r=this.compileModuleSync(n),o=uo(d(n).declarations).reduce((c,h)=>{const g=p(h);return g&&c.push(new Kc(g)),c},[]);return new uN(r,o)}compileModuleAndAllComponentsAsync(n){return Promise.resolve(this.compileModuleAndAllComponentsSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=Bn({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),pN=(()=>{class e{constructor(){this.zone=tt(Cr),this.changeDetectionScheduler=tt(El),this.applicationRef=tt(ys)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=Bn({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function _g({ngZoneFactory:e,ignoreChangesOutsideZone:t,scheduleInRootZone:n}){return e??=()=>new Cr({...yg(),scheduleInRootZone:n}),[{provide:Cr,useFactory:e},{provide:Ki,multi:!0,useFactory:()=>{const r=tt(pN,{optional:!0});return()=>r.initialize()}},{provide:Ki,multi:!0,useFactory:()=>{const r=tt(mN);return()=>{r.initialize()}}},!0===t?{provide:Ky,useValue:!0}:[],{provide:ap,useValue:n??Nm}]}function yg(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}let mN=(()=>{class e{constructor(){this.subscription=new zr.yU,this.initialized=!1,this.zone=tt(Cr),this.pendingTasks=tt(Ia)}initialize(){if(this.initialized)return;this.initialized=!0;let n=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(n=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{Cr.assertNotInAngularZone(),queueMicrotask(()=>{null!==n&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(n),n=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{Cr.assertInAngularZone(),n??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=Bn({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),du=(()=>{class e{constructor(){this.appRef=tt(ys),this.taskService=tt(Ia),this.ngZone=tt(Cr),this.zonelessEnabled=tt($c),this.disableScheduling=tt(Ky,{optional:!0})??!1,this.zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run,this.schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}],this.subscriptions=new zr.yU,this.angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(qu):null,this.scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(tt(ap,{optional:!0})??!1),this.cancelScheduledCallback=null,this.useMicrotaskScheduler=!1,this.runningTick=!1,this.pendingRenderTaskId=null,this.subscriptions.add(this.appRef.afterTick.subscribe(()=>{this.runningTick||this.cleanup()})),this.subscriptions.add(this.ngZone.onUnstable.subscribe(()=>{this.runningTick||this.cleanup()})),this.disableScheduling||=!this.zonelessEnabled&&(this.ngZone instanceof Jh||!this.zoneIsDefined)}notify(n){if(!this.zonelessEnabled&&5===n)return;switch(n){case 0:this.appRef.dirtyFlags|=2;break;case 3:case 2:case 4:case 5:case 1:this.appRef.dirtyFlags|=4;break;case 7:this.appRef.deferredDirtyFlags|=8;break;default:this.appRef.dirtyFlags|=8}if(!this.shouldScheduleTick())return;const r=this.useMicrotaskScheduler?Rm:xm;this.pendingRenderTaskId=this.taskService.add(),this.cancelScheduledCallback=this.scheduleInRootZone?Zone.root.run(()=>r(()=>this.tick())):this.ngZone.runOutsideAngular(()=>r(()=>this.tick()))}shouldScheduleTick(){return!(this.disableScheduling||null!==this.pendingRenderTaskId||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(qu+this.angularZoneId))}tick(){if(this.runningTick||this.appRef.destroyed)return;!this.zonelessEnabled&&7&this.appRef.dirtyFlags&&(this.appRef.dirtyFlags|=1);const n=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick()},void 0,this.schedulerTickApplyArgs)}catch(r){throw this.taskService.remove(n),r}finally{this.cleanup()}this.useMicrotaskScheduler=!0,Rm(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(n)})}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,null!==this.pendingRenderTaskId){const n=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(n)}}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=Bn({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const Cg=new Zt("",{providedIn:"root",factory:()=>tt(Cg,_n.Optional|_n.SkipSelf)||function _N(){return typeof $localize<"u"&&$localize.locale||Wd}()}),yN=new Zt("",{providedIn:"root",factory:()=>"USD"}),wg=new Zt("");function ih(e){return!!e.platformInjector}let $E=(()=>{class e{constructor(n){this._injector=n,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(n,r){const i=r?.scheduleInRootZone,c=r?.ignoreChangesOutsideZone,h=[_g({ngZoneFactory:()=>function $0(e="zone.js",t){return"noop"===e?new Jh:"zone.js"===e?new Cr(t):e}(r?.ngZone,{...yg({eventCoalescing:r?.ngZoneEventCoalescing,runCoalescing:r?.ngZoneRunCoalescing}),scheduleInRootZone:i}),ignoreChangesOutsideZone:c}),{provide:El,useExisting:du}],g=function ZS(e,t,n){return new Ep(e,t,n,!1)}(n.moduleType,this.injector,h);return function HE(e){const t=ih(e)?e.r3Injector:e.moduleRef.injector,n=t.get(Cr);return n.run(()=>{ih(e)?e.r3Injector.resolveInjectorInitializers():e.moduleRef.resolveInjectorInitializers();const r=t.get(Ls,null);let i;if(n.runOutsideAngular(()=>{i=n.onError.subscribe({next:o=>{r.handleError(o)}})}),ih(e)){const o=()=>t.destroy(),c=e.platformInjector.get(wg);c.add(o),t.onDestroy(()=>{i.unsubscribe(),c.delete(o)})}else e.moduleRef.onDestroy(()=>{nh(e.allPlatformModules,e.moduleRef),i.unsubscribe()});return function lN(e,t,n){try{const r=n();return mg(r)?r.catch(i=>{throw t.runOutsideAngular(()=>e.handleError(i)),i}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}(r,n,()=>{const o=t.get(RE);return o.runInitializers(),o.donePromise.then(()=>{if(function BO(e){"string"==typeof e&&(UC=e.toLowerCase().replace(/_/g,"-"))}(t.get(Cg,Wd)||Wd),ih(e)){const h=t.get(ys);return void 0!==e.rootComponent&&h.bootstrap(e.rootComponent),h}return function bN(e,t){const n=e.injector.get(ys);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(r=>n.bootstrap(r));else{if(!e.instance.ngDoBootstrap)throw new at(-403,!1);e.instance.ngDoBootstrap(n)}t.push(e)}(e.moduleRef,e.allPlatformModules),e.moduleRef})})})}({moduleRef:g,allPlatformModules:this._modules})}bootstrapModule(n,r=[]){const i=FE({},r);return function fN(e,t,n){const r=new bp(n);return Promise.resolve(r)}(0,0,n).then(o=>this.bootstrapModuleFactory(o,i))}onDestroy(n){this._destroyListeners.push(n)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new at(404,!1);this._modules.slice().forEach(r=>r.destroy()),this._destroyListeners.forEach(r=>r());const n=this._injector.get(wg,null);n&&(n.forEach(r=>r()),n.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}static#e=this.\u0275fac=function(r){return new(r||e)(sn(pi))};static#t=this.\u0275prov=Bn({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})(),ca=null;const zE=new Zt("");function GE(e,t,n=[]){const r=`Platform: ${t}`,i=new Zt(r);return(o=[])=>{let c=Eg();if(!c||c.injector.get(zE,!1)){const h=[...n,...o,{provide:i,useValue:!0}];e?e(h):function DN(e){if(ca&&!ca.get(zE,!1))throw new at(400,!1);(function kE(){!function Se(e){ve=e}(()=>{throw new at(600,!1)})})(),ca=e;const t=e.get($E);(function KE(e){e.get(o_,null)?.forEach(n=>n())})(e)}(function WE(e=[],t){return pi.create({name:t,providers:[{provide:qi,useValue:"platform"},{provide:wg,useValue:new Set([()=>ca=null])},...e]})}(h,r))}return function MN(){const t=Eg();if(!t)throw new at(401,!1);return t}()}}function Eg(){return ca?.get($E)??null}function SN(){return!1}function IN(){}let QE=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=ON}return e})();function ON(e){return function PN(e,t,n){if(Ea(e)&&!n){const r=co(e.index,t);return new Rc(r,r)}return 175&e.type?new Rc(t[vr],t):null}(rr(),je(),!(16&~e))}class JE{constructor(){}supports(t){return Ad(t)}create(t){return new kN(t)}}const RN=(e,t)=>t;class kN{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||RN}forEachItem(t){let n;for(n=this._itHead;null!==n;n=n._next)t(n)}forEachOperation(t){let n=this._itHead,r=this._removalsHead,i=0,o=null;for(;n||r;){const c=!r||n&&n.currentIndex<tb(r,i,o)?n:r,h=tb(c,i,o),g=c.currentIndex;if(c===r)i--,r=r._nextRemoved;else if(n=n._next,null==c.previousIndex)i++;else{o||(o=[]);const w=h-i,S=g-i;if(w!=S){for(let J=0;J<w;J++){const se=J<o.length?o[J]:o[J]=0,_e=se+J;S<=_e&&_e<w&&(o[J]=se+1)}o[c.previousIndex]=S-w}}h!==g&&t(c,h,g)}}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=[]),!Ad(t))throw new at(900,!1);return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let i,o,c,n=this._itHead,r=!1;if(Array.isArray(t)){this.length=t.length;for(let h=0;h<this.length;h++)o=t[h],c=this._trackByFn(h,o),null!==n&&Object.is(n.trackById,c)?(r&&(n=this._verifyReinsertion(n,o,c,h)),Object.is(n.item,o)||this._addIdentityChange(n,o)):(n=this._mismatch(n,o,c,h),r=!0),n=n._next}else i=0,function eI(e,t){if(Array.isArray(e))for(let n=0;n<e.length;n++)t(e[n]);else{const n=e[Symbol.iterator]();let r;for(;!(r=n.next()).done;)t(r.value)}}(t,h=>{c=this._trackByFn(i,h),null!==n&&Object.is(n.trackById,c)?(r&&(n=this._verifyReinsertion(n,h,c,i)),Object.is(n.item,h)||this._addIdentityChange(n,h)):(n=this._mismatch(n,h,c,i),r=!0),n=n._next,i++}),this.length=i;return this._truncate(n),this.collection=t,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let t;for(t=this._previousItHead=this._itHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;null!==t;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;null!==t;t=t._nextMoved)t.previousIndex=t.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(t,n,r,i){let o;return null===t?o=this._itTail:(o=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,o,i)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(r,i))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._moveAfter(t,o,i)):t=this._addAfter(new FN(n,r),o,i),t}_verifyReinsertion(t,n,r,i){let o=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null);return null!==o?t=this._reinsertAfter(o,t._prev,i):t.currentIndex!=i&&(t.currentIndex=i,this._addToMoves(t,i)),t}_truncate(t){for(;null!==t;){const n=t._next;this._addToRemovals(this._unlink(t)),t=n}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(t,n,r){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(t);const i=t._prevRemoved,o=t._nextRemoved;return null===i?this._removalsHead=o:i._nextRemoved=o,null===o?this._removalsTail=i:o._prevRemoved=i,this._insertAfter(t,n,r),this._addToMoves(t,r),t}_moveAfter(t,n,r){return this._unlink(t),this._insertAfter(t,n,r),this._addToMoves(t,r),t}_addAfter(t,n,r){return this._insertAfter(t,n,r),this._additionsTail=null===this._additionsTail?this._additionsHead=t:this._additionsTail._nextAdded=t,t}_insertAfter(t,n,r){const i=null===n?this._itHead:n._next;return t._next=i,t._prev=n,null===i?this._itTail=t:i._prev=t,null===n?this._itHead=t:n._next=t,null===this._linkedRecords&&(this._linkedRecords=new eb),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 eb),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 FN{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 LN{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 eb{constructor(){this.map=new Map}put(t){const n=t.trackById;let r=this.map.get(n);r||(r=new LN,this.map.set(n,r)),r.add(t)}get(t,n){const i=this.map.get(t);return i?i.get(t,n):null}remove(t){const n=t.trackById;return this.map.get(n).remove(t)&&this.map.delete(n),t}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function tb(e,t,n){const r=e.previousIndex;if(null===r)return r;let i=0;return n&&r<n.length&&(i=n[r]),r+t+i}class nb{constructor(){}supports(t){return t instanceof Map||Mp(t)}create(){return new VN}}class VN{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||Mp(t)))throw new at(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,i)=>{if(n&&n.key===i)this._maybeAddToChanges(n,r),this._appendAfter=n,n=n._next;else{const o=this._getOrCreateRecordForKey(i,r);n=this._insertBeforeOrAppend(n,o)}}),n){n._prev&&(n._prev._next=null),this._removalsHead=n;for(let r=n;null!==r;r=r._nextRemoved)r===this._mapHead&&(this._mapHead=null),this._records.delete(r.key),r._nextRemoved=r._next,r.previousValue=r.currentValue,r.currentValue=null,r._prev=null,r._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,n){if(t){const r=t._prev;return n._next=t,n._prev=r,t._prev=n,r&&(r._next=n),t===this._mapHead&&(this._mapHead=n),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=n,n._prev=this._appendAfter):this._mapHead=n,this._appendAfter=n,null}_getOrCreateRecordForKey(t,n){if(this._records.has(t)){const i=this._records.get(t);this._maybeAddToChanges(i,n);const o=i._prev,c=i._next;return o&&(o._next=c),c&&(c._prev=o),i._next=null,i._prev=null,i}const r=new BN(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 BN{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 rb(){return new Sg([new JE])}let Sg=(()=>{class e{static#e=this.\u0275prov=Bn({token:e,providedIn:"root",factory:rb});constructor(n){this.factories=n}static create(n,r){if(null!=r){const i=r.factories.slice();n=n.concat(i)}return new e(n)}static extend(n){return{provide:e,useFactory:r=>e.create(n,r||rb()),deps:[[e,new Kr,new _r]]}}find(n){const r=this.factories.find(i=>i.supports(n));if(null!=r)return r;throw new at(901,!1)}}return e})();function ib(){return new Ig([new nb])}let Ig=(()=>{class e{static#e=this.\u0275prov=Bn({token:e,providedIn:"root",factory:ib});constructor(n){this.factories=n}static create(n,r){if(r){const i=r.factories.slice();n=n.concat(i)}return new e(n)}static extend(n){return{provide:e,useFactory:r=>e.create(n,r||ib()),deps:[[e,new Kr,new _r]]}}find(n){const r=this.factories.find(i=>i.supports(n));if(r)return r;throw new at(901,!1)}}return e})();const HN=GE(null,"core",[]);let $N=(()=>{class e{constructor(n){}static#e=this.\u0275fac=function(r){return new(r||e)(sn(ys))};static#t=this.\u0275mod=oc({type:e});static#n=this.\u0275inj=Hi({})}return e})();const Cb=new Zt("");function Cx(e){return"boolean"==typeof e?e:null!=e&&"false"!==e}function Ex(e,t){xi("NgSignals");const n=function Ve(e){const t=Object.create(ye);t.computation=e;const n=()=>{if(xe(t),X(t),t.value===pe)throw t.error;return t.value};return n[H]=t,n}(e);return t?.equal&&(n[H].equal=t.equal),n}function bx(e){const t=z(null);try{return e()}finally{z(t)}}function Ox(e){const t=p(e);if(!t)return null;const n=new Kc(t);return{get selector(){return n.selector},get type(){return n.componentType},get inputs(){return n.inputs},get outputs(){return n.outputs},get ngContentSelectors(){return n.ngContentSelectors},get isStandalone(){return t.standalone},get isSignal(){return t.signals}}}},9417:(Ae,W,M)=>{"use strict";M.d(W,{$R:()=>to,BC:()=>wr,Fm:()=>Fi,JD:()=>no,X1:()=>bs,YN:()=>Pr,cV:()=>k,cb:()=>xt,j4:()=>Io,k0:()=>Xe,me:()=>we,qT:()=>li,v8:()=>Li,xH:()=>Ko,y7:()=>Qo,ze:()=>Es});var u=M(3953),O=M(177),G=M(6648),Z=M(7468),H=M(1413),z=M(6354);let j=(()=>{class b{constructor(y,R){this._renderer=y,this._elementRef=R,this.onChange=ne=>{},this.onTouched=()=>{}}setProperty(y,R){this._renderer.setProperty(this._elementRef.nativeElement,y,R)}registerOnTouched(y){this.onTouched=y}registerOnChange(y){this.onChange=y}setDisabledState(y){this.setProperty("disabled",y)}static#e=this.\u0275fac=function(R){return new(R||b)(u.rXU(u.sFG),u.rXU(u.aKT))};static#t=this.\u0275dir=u.FsC({type:b})}return b})(),K=(()=>{class b extends j{static#e=this.\u0275fac=(()=>{let y;return function(ne){return(y||(y=u.xGo(b)))(ne||b)}})();static#t=this.\u0275dir=u.FsC({type:b,features:[u.Vt3]})}return b})();const ee=new u.nKC(""),ae={provide:ee,useExisting:(0,u.Rfq)(()=>we),multi:!0},de=new u.nKC("");let we=(()=>{class b extends j{constructor(y,R,ne){super(y,R),this._compositionMode=ne,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function xe(){const b=(0,O.QT)()?(0,O.QT)().getUserAgent():"";return/android (\d+)/.test(b.toLowerCase())}())}writeValue(y){this.setProperty("value",y??"")}_handleInput(y){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(y)}_compositionStart(){this._composing=!0}_compositionEnd(y){this._composing=!1,this._compositionMode&&this.onChange(y)}static#e=this.\u0275fac=function(R){return new(R||b)(u.rXU(u.sFG),u.rXU(u.aKT),u.rXU(de,8))};static#t=this.\u0275dir=u.FsC({type:b,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(R,ne){1&R&&u.bIt("input",function(hn){return ne._handleInput(hn.target.value)})("blur",function(){return ne.onTouched()})("compositionstart",function(){return ne._compositionStart()})("compositionend",function(hn){return ne._compositionEnd(hn.target.value)})},features:[u.Jv_([ae]),u.Vt3]})}return b})();function Ge(b){return null==b||("string"==typeof b||Array.isArray(b))&&0===b.length}function gt(b){return null!=b&&"number"==typeof b.length}const ut=new u.nKC(""),ot=new u.nKC(""),Nt=/^(?=.{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 Xe{static min(T){return function He(b){return T=>{if(Ge(T.value)||Ge(b))return null;const y=parseFloat(T.value);return!isNaN(y)&&y<b?{min:{min:b,actual:T.value}}:null}}(T)}static max(T){return function ft(b){return T=>{if(Ge(T.value)||Ge(b))return null;const y=parseFloat(T.value);return!isNaN(y)&&y>b?{max:{max:b,actual:T.value}}:null}}(T)}static required(T){return function Vt(b){return Ge(b.value)?{required:!0}:null}(T)}static requiredTrue(T){return function it(b){return!0===b.value?null:{required:!0}}(T)}static email(T){return function Ye(b){return Ge(b.value)||Nt.test(b.value)?null:{email:!0}}(T)}static minLength(T){return function Ve(b){return T=>Ge(T.value)||!gt(T.value)?null:T.value.length<b?{minlength:{requiredLength:b,actualLength:T.value.length}}:null}(T)}static maxLength(T){return function $(b){return T=>gt(T.value)&&T.value.length>b?{maxlength:{requiredLength:b,actualLength:T.value.length}}:null}(T)}static pattern(T){return function ie(b){if(!b)return pe;let T,y;return"string"==typeof b?(y="","^"!==b.charAt(0)&&(y+="^"),y+=b,"$"!==b.charAt(b.length-1)&&(y+="$"),T=new RegExp(y)):(y=b.toString(),T=b),R=>{if(Ge(R.value))return null;const ne=R.value;return T.test(ne)?null:{pattern:{requiredPattern:y,actualValue:ne}}}}(T)}static nullValidator(T){return null}static compose(T){return Fe(T)}static composeAsync(T){return Rt(T)}}function pe(b){return null}function ye(b){return null!=b}function Ce(b){return(0,u.jNT)(b)?(0,G.H)(b):b}function ve(b){let T={};return b.forEach(y=>{T=null!=y?{...T,...y}:T}),0===Object.keys(T).length?null:T}function De(b,T){return T.map(y=>y(b))}function Le(b){return b.map(T=>function Se(b){return!b.validate}(T)?T:y=>T.validate(y))}function Fe(b){if(!b)return null;const T=b.filter(ye);return 0==T.length?null:function(y){return ve(De(y,T))}}function Dt(b){return null!=b?Fe(Le(b)):null}function Rt(b){if(!b)return null;const T=b.filter(ye);return 0==T.length?null:function(y){const R=De(y,T).map(Ce);return(0,Z.p)(R).pipe((0,z.T)(ve))}}function Kt(b){return null!=b?Rt(Le(b)):null}function tn(b,T){return null===b?[T]:Array.isArray(b)?[...b,T]:[b,T]}function Dn(b){return b._rawValidators}function Qn(b){return b._rawAsyncValidators}function Xn(b){return b?Array.isArray(b)?b:[b]:[]}function On(b,T){return Array.isArray(b)?b.includes(T):b===T}function Pn(b,T){const y=Xn(T);return Xn(b).forEach(ne=>{On(y,ne)||y.push(ne)}),y}function Sr(b,T){return Xn(T).filter(y=>!On(b,y))}class $r{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(T){this._rawValidators=T||[],this._composedValidatorFn=Dt(this._rawValidators)}_setAsyncValidators(T){this._rawAsyncValidators=T||[],this._composedAsyncValidatorFn=Kt(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(T){this._onDestroyCallbacks.push(T)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(T=>T()),this._onDestroyCallbacks=[]}reset(T=void 0){this.control&&this.control.reset(T)}hasError(T,y){return!!this.control&&this.control.hasError(T,y)}getError(T,y){return this.control?this.control.getError(T,y):null}}class An extends $r{get formDirective(){return null}get path(){return null}}class Gn extends $r{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class zr{constructor(T){this._cd=T}get isTouched(){return this._cd?.control?._touched?.(),!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return this._cd?.control?._pristine?.(),!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return this._cd?.control?._status?.(),!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return this._cd?._submitted?.(),!!this._cd?.submitted}}let wr=(()=>{class b extends zr{constructor(y){super(y)}static#e=this.\u0275fac=function(R){return new(R||b)(u.rXU(Gn,2))};static#t=this.\u0275dir=u.FsC({type:b,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(R,ne){2&R&&u.AVh("ng-untouched",ne.isUntouched)("ng-touched",ne.isTouched)("ng-pristine",ne.isPristine)("ng-dirty",ne.isDirty)("ng-valid",ne.isValid)("ng-invalid",ne.isInvalid)("ng-pending",ne.isPending)},features:[u.Vt3]})}return b})(),xt=(()=>{class b extends zr{constructor(y){super(y)}static#e=this.\u0275fac=function(R){return new(R||b)(u.rXU(An,10))};static#t=this.\u0275dir=u.FsC({type:b,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(R,ne){2&R&&u.AVh("ng-untouched",ne.isUntouched)("ng-touched",ne.isTouched)("ng-pristine",ne.isPristine)("ng-dirty",ne.isDirty)("ng-valid",ne.isValid)("ng-invalid",ne.isInvalid)("ng-pending",ne.isPending)("ng-submitted",ne.isSubmitted)},features:[u.Vt3]})}return b})();const he="VALID",Ne="INVALID",Be="PENDING",st="DISABLED";class yt{}class vt extends yt{constructor(T,y){super(),this.value=T,this.source=y}}class fe extends yt{constructor(T,y){super(),this.pristine=T,this.source=y}}class oe extends yt{constructor(T,y){super(),this.touched=T,this.source=y}}class U extends yt{constructor(T,y){super(),this.status=T,this.source=y}}class te extends yt{constructor(T){super(),this.source=T}}class Oe extends yt{constructor(T){super(),this.source=T}}function Qe(b){return(pt(b)?b.validators:b)||null}function It(b,T){return(pt(T)?T.asyncValidators:b)||null}function pt(b){return null!=b&&!Array.isArray(b)&&"object"==typeof b}function rt(b,T,y){const R=b.controls;if(!(T?Object.keys(R):R).length)throw new u.wOt(1e3,"");if(!R[y])throw new u.wOt(1001,"")}function $t(b,T,y){b._forEachChild((R,ne)=>{if(void 0===y[ne])throw new u.wOt(1002,"")})}class un{constructor(T,y){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=null,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this._status=(0,u.EWP)(()=>this.statusReactive()),this.statusReactive=(0,u.vPA)(void 0),this._pristine=(0,u.EWP)(()=>this.pristineReactive()),this.pristineReactive=(0,u.vPA)(!0),this._touched=(0,u.EWP)(()=>this.touchedReactive()),this.touchedReactive=(0,u.vPA)(!1),this._events=new H.B,this.events=this._events.asObservable(),this._onDisabledChange=[],this._assignValidators(T),this._assignAsyncValidators(y)}get validator(){return this._composedValidatorFn}set validator(T){this._rawValidators=this._composedValidatorFn=T}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(T){this._rawAsyncValidators=this._composedAsyncValidatorFn=T}get parent(){return this._parent}get status(){return(0,u.O8t)(this.statusReactive)}set status(T){(0,u.O8t)(()=>this.statusReactive.set(T))}get valid(){return this.status===he}get invalid(){return this.status===Ne}get pending(){return this.status==Be}get disabled(){return this.status===st}get enabled(){return this.status!==st}get pristine(){return(0,u.O8t)(this.pristineReactive)}set pristine(T){(0,u.O8t)(()=>this.pristineReactive.set(T))}get dirty(){return!this.pristine}get touched(){return(0,u.O8t)(this.touchedReactive)}set touched(T){(0,u.O8t)(()=>this.touchedReactive.set(T))}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(T){this._assignValidators(T)}setAsyncValidators(T){this._assignAsyncValidators(T)}addValidators(T){this.setValidators(Pn(T,this._rawValidators))}addAsyncValidators(T){this.setAsyncValidators(Pn(T,this._rawAsyncValidators))}removeValidators(T){this.setValidators(Sr(T,this._rawValidators))}removeAsyncValidators(T){this.setAsyncValidators(Sr(T,this._rawAsyncValidators))}hasValidator(T){return On(this._rawValidators,T)}hasAsyncValidator(T){return On(this._rawAsyncValidators,T)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(T={}){const y=!1===this.touched;this.touched=!0;const R=T.sourceControl??this;this._parent&&!T.onlySelf&&this._parent.markAsTouched({...T,sourceControl:R}),y&&!1!==T.emitEvent&&this._events.next(new oe(!0,R))}markAllAsTouched(T={}){this.markAsTouched({onlySelf:!0,emitEvent:T.emitEvent,sourceControl:this}),this._forEachChild(y=>y.markAllAsTouched(T))}markAsUntouched(T={}){const y=!0===this.touched;this.touched=!1,this._pendingTouched=!1;const R=T.sourceControl??this;this._forEachChild(ne=>{ne.markAsUntouched({onlySelf:!0,emitEvent:T.emitEvent,sourceControl:R})}),this._parent&&!T.onlySelf&&this._parent._updateTouched(T,R),y&&!1!==T.emitEvent&&this._events.next(new oe(!1,R))}markAsDirty(T={}){const y=!0===this.pristine;this.pristine=!1;const R=T.sourceControl??this;this._parent&&!T.onlySelf&&this._parent.markAsDirty({...T,sourceControl:R}),y&&!1!==T.emitEvent&&this._events.next(new fe(!1,R))}markAsPristine(T={}){const y=!1===this.pristine;this.pristine=!0,this._pendingDirty=!1;const R=T.sourceControl??this;this._forEachChild(ne=>{ne.markAsPristine({onlySelf:!0,emitEvent:T.emitEvent})}),this._parent&&!T.onlySelf&&this._parent._updatePristine(T,R),y&&!1!==T.emitEvent&&this._events.next(new fe(!0,R))}markAsPending(T={}){this.status=Be;const y=T.sourceControl??this;!1!==T.emitEvent&&(this._events.next(new U(this.status,y)),this.statusChanges.emit(this.status)),this._parent&&!T.onlySelf&&this._parent.markAsPending({...T,sourceControl:y})}disable(T={}){const y=this._parentMarkedDirty(T.onlySelf);this.status=st,this.errors=null,this._forEachChild(ne=>{ne.disable({...T,onlySelf:!0})}),this._updateValue();const R=T.sourceControl??this;!1!==T.emitEvent&&(this._events.next(new vt(this.value,R)),this._events.next(new U(this.status,R)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...T,skipPristineCheck:y},this),this._onDisabledChange.forEach(ne=>ne(!0))}enable(T={}){const y=this._parentMarkedDirty(T.onlySelf);this.status=he,this._forEachChild(R=>{R.enable({...T,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:T.emitEvent}),this._updateAncestors({...T,skipPristineCheck:y},this),this._onDisabledChange.forEach(R=>R(!1))}_updateAncestors(T,y){this._parent&&!T.onlySelf&&(this._parent.updateValueAndValidity(T),T.skipPristineCheck||this._parent._updatePristine({},y),this._parent._updateTouched({},y))}setParent(T){this._parent=T}getRawValue(){return this.value}updateValueAndValidity(T={}){if(this._setInitialStatus(),this._updateValue(),this.enabled){const R=this._cancelExistingSubscription();this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===he||this.status===Be)&&this._runAsyncValidator(R,T.emitEvent)}const y=T.sourceControl??this;!1!==T.emitEvent&&(this._events.next(new vt(this.value,y)),this._events.next(new U(this.status,y)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!T.onlySelf&&this._parent.updateValueAndValidity({...T,sourceControl:y})}_updateTreeValidity(T={emitEvent:!0}){this._forEachChild(y=>y._updateTreeValidity(T)),this.updateValueAndValidity({onlySelf:!0,emitEvent:T.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?st:he}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(T,y){if(this.asyncValidator){this.status=Be,this._hasOwnPendingAsyncValidator={emitEvent:!1!==y};const R=Ce(this.asyncValidator(this));this._asyncValidationSubscription=R.subscribe(ne=>{this._hasOwnPendingAsyncValidator=null,this.setErrors(ne,{emitEvent:y,shouldHaveEmitted:T})})}}_cancelExistingSubscription(){if(this._asyncValidationSubscription){this._asyncValidationSubscription.unsubscribe();const T=this._hasOwnPendingAsyncValidator?.emitEvent??!1;return this._hasOwnPendingAsyncValidator=null,T}return!1}setErrors(T,y={}){this.errors=T,this._updateControlsErrors(!1!==y.emitEvent,this,y.shouldHaveEmitted)}get(T){let y=T;return null==y||(Array.isArray(y)||(y=y.split(".")),0===y.length)?null:y.reduce((R,ne)=>R&&R._find(ne),this)}getError(T,y){const R=y?this.get(y):this;return R&&R.errors?R.errors[T]:null}hasError(T,y){return!!this.getError(T,y)}get root(){let T=this;for(;T._parent;)T=T._parent;return T}_updateControlsErrors(T,y,R){this.status=this._calculateStatus(),T&&this.statusChanges.emit(this.status),(T||R)&&this._events.next(new U(this.status,y)),this._parent&&this._parent._updateControlsErrors(T,y,R)}_initObservables(){this.valueChanges=new u.bkB,this.statusChanges=new u.bkB}_calculateStatus(){return this._allControlsDisabled()?st:this.errors?Ne:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(Be)?Be:this._anyControlsHaveStatus(Ne)?Ne:he}_anyControlsHaveStatus(T){return this._anyControls(y=>y.status===T)}_anyControlsDirty(){return this._anyControls(T=>T.dirty)}_anyControlsTouched(){return this._anyControls(T=>T.touched)}_updatePristine(T,y){const R=!this._anyControlsDirty(),ne=this.pristine!==R;this.pristine=R,this._parent&&!T.onlySelf&&this._parent._updatePristine(T,y),ne&&this._events.next(new fe(this.pristine,y))}_updateTouched(T={},y){this.touched=this._anyControlsTouched(),this._events.next(new oe(this.touched,y)),this._parent&&!T.onlySelf&&this._parent._updateTouched(T,y)}_registerOnCollectionChange(T){this._onCollectionChange=T}_setUpdateStrategy(T){pt(T)&&null!=T.updateOn&&(this._updateOn=T.updateOn)}_parentMarkedDirty(T){return!T&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(T){return null}_assignValidators(T){this._rawValidators=Array.isArray(T)?T.slice():T,this._composedValidatorFn=function Mt(b){return Array.isArray(b)?Dt(b):b||null}(this._rawValidators)}_assignAsyncValidators(T){this._rawAsyncValidators=Array.isArray(T)?T.slice():T,this._composedAsyncValidatorFn=function Jt(b){return Array.isArray(b)?Kt(b):b||null}(this._rawAsyncValidators)}}class Mn extends un{constructor(T,y,R){super(Qe(y),It(R,y)),this.controls=T,this._initObservables(),this._setUpdateStrategy(y),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(T,y){return this.controls[T]?this.controls[T]:(this.controls[T]=y,y.setParent(this),y._registerOnCollectionChange(this._onCollectionChange),y)}addControl(T,y,R={}){this.registerControl(T,y),this.updateValueAndValidity({emitEvent:R.emitEvent}),this._onCollectionChange()}removeControl(T,y={}){this.controls[T]&&this.controls[T]._registerOnCollectionChange(()=>{}),delete this.controls[T],this.updateValueAndValidity({emitEvent:y.emitEvent}),this._onCollectionChange()}setControl(T,y,R={}){this.controls[T]&&this.controls[T]._registerOnCollectionChange(()=>{}),delete this.controls[T],y&&this.registerControl(T,y),this.updateValueAndValidity({emitEvent:R.emitEvent}),this._onCollectionChange()}contains(T){return this.controls.hasOwnProperty(T)&&this.controls[T].enabled}setValue(T,y={}){$t(this,0,T),Object.keys(T).forEach(R=>{rt(this,!0,R),this.controls[R].setValue(T[R],{onlySelf:!0,emitEvent:y.emitEvent})}),this.updateValueAndValidity(y)}patchValue(T,y={}){null!=T&&(Object.keys(T).forEach(R=>{const ne=this.controls[R];ne&&ne.patchValue(T[R],{onlySelf:!0,emitEvent:y.emitEvent})}),this.updateValueAndValidity(y))}reset(T={},y={}){this._forEachChild((R,ne)=>{R.reset(T?T[ne]:null,{onlySelf:!0,emitEvent:y.emitEvent})}),this._updatePristine(y,this),this._updateTouched(y,this),this.updateValueAndValidity(y)}getRawValue(){return this._reduceChildren({},(T,y,R)=>(T[R]=y.getRawValue(),T))}_syncPendingControls(){let T=this._reduceChildren(!1,(y,R)=>!!R._syncPendingControls()||y);return T&&this.updateValueAndValidity({onlySelf:!0}),T}_forEachChild(T){Object.keys(this.controls).forEach(y=>{const R=this.controls[y];R&&T(R,y)})}_setUpControls(){this._forEachChild(T=>{T.setParent(this),T._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(T){for(const[y,R]of Object.entries(this.controls))if(this.contains(y)&&T(R))return!0;return!1}_reduceValue(){return this._reduceChildren({},(y,R,ne)=>((R.enabled||this.disabled)&&(y[ne]=R.value),y))}_reduceChildren(T,y){let R=T;return this._forEachChild((ne,Tt)=>{R=y(R,ne,Tt)}),R}_allControlsDisabled(){for(const T of Object.keys(this.controls))if(this.controls[T].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(T){return this.controls.hasOwnProperty(T)?this.controls[T]:null}}class zt extends Mn{}const bt=new u.nKC("CallSetDisabledState",{providedIn:"root",factory:()=>Ot}),Ot="always";function wn(b,T){return[...T.path,b]}function dn(b,T,y=Ot){Ee(b,T),T.valueAccessor.writeValue(b.value),(b.disabled||"always"===y)&&T.valueAccessor.setDisabledState?.(b.disabled),function Ft(b,T){T.valueAccessor.registerOnChange(y=>{b._pendingValue=y,b._pendingChange=!0,b._pendingDirty=!0,"change"===b.updateOn&&Qt(b,T)})}(b,T),function Vn(b,T){const y=(R,ne)=>{T.valueAccessor.writeValue(R),ne&&T.viewToModelUpdate(R)};b.registerOnChange(y),T._registerOnDestroy(()=>{b._unregisterOnChange(y)})}(b,T),function gn(b,T){T.valueAccessor.registerOnTouched(()=>{b._pendingTouched=!0,"blur"===b.updateOn&&b._pendingChange&&Qt(b,T),"submit"!==b.updateOn&&b.markAsTouched()})}(b,T),function me(b,T){if(T.valueAccessor.setDisabledState){const y=R=>{T.valueAccessor.setDisabledState(R)};b.registerOnDisabledChange(y),T._registerOnDestroy(()=>{b._unregisterOnDisabledChange(y)})}}(b,T)}function Pt(b,T,y=!0){const R=()=>{};T.valueAccessor&&(T.valueAccessor.registerOnChange(R),T.valueAccessor.registerOnTouched(R)),Et(b,T),b&&(T._invokeOnDestroyCallbacks(),b._registerOnCollectionChange(()=>{}))}function _t(b,T){b.forEach(y=>{y.registerOnValidatorChange&&y.registerOnValidatorChange(T)})}function Ee(b,T){const y=Dn(b);null!==T.validator?b.setValidators(tn(y,T.validator)):"function"==typeof y&&b.setValidators([y]);const R=Qn(b);null!==T.asyncValidator?b.setAsyncValidators(tn(R,T.asyncValidator)):"function"==typeof R&&b.setAsyncValidators([R]);const ne=()=>b.updateValueAndValidity();_t(T._rawValidators,ne),_t(T._rawAsyncValidators,ne)}function Et(b,T){let y=!1;if(null!==b){if(null!==T.validator){const ne=Dn(b);if(Array.isArray(ne)&&ne.length>0){const Tt=ne.filter(hn=>hn!==T.validator);Tt.length!==ne.length&&(y=!0,b.setValidators(Tt))}}if(null!==T.asyncValidator){const ne=Qn(b);if(Array.isArray(ne)&&ne.length>0){const Tt=ne.filter(hn=>hn!==T.asyncValidator);Tt.length!==ne.length&&(y=!0,b.setAsyncValidators(Tt))}}}const R=()=>{};return _t(T._rawValidators,R),_t(T._rawAsyncValidators,R),y}function Qt(b,T){b._pendingDirty&&b.markAsDirty(),b.setValue(b._pendingValue,{emitModelToViewChange:!1}),T.viewToModelUpdate(b._pendingValue),b._pendingChange=!1}function kn(b,T){Ee(b,T)}function be(b,T){b._syncPendingControls(),T.forEach(y=>{const R=y.control;"submit"===R.updateOn&&R._pendingChange&&(y.viewToModelUpdate(R._pendingValue),R._pendingChange=!1)})}const Lt={provide:An,useExisting:(0,u.Rfq)(()=>k)},D=Promise.resolve();let k=(()=>{class b extends An{get submitted(){return(0,u.O8t)(this.submittedReactive)}constructor(y,R,ne){super(),this.callSetDisabledState=ne,this._submitted=(0,u.EWP)(()=>this.submittedReactive()),this.submittedReactive=(0,u.vPA)(!1),this._directives=new Set,this.ngSubmit=new u.bkB,this.form=new Mn({},Dt(y),Kt(R))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(y){D.then(()=>{const R=this._findContainer(y.path);y.control=R.registerControl(y.name,y.control),dn(y.control,y,this.callSetDisabledState),y.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(y)})}getControl(y){return this.form.get(y.path)}removeControl(y){D.then(()=>{const R=this._findContainer(y.path);R&&R.removeControl(y.name),this._directives.delete(y)})}addFormGroup(y){D.then(()=>{const R=this._findContainer(y.path),ne=new Mn({});kn(ne,y),R.registerControl(y.name,ne),ne.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(y){D.then(()=>{const R=this._findContainer(y.path);R&&R.removeControl(y.name)})}getFormGroup(y){return this.form.get(y.path)}updateModel(y,R){D.then(()=>{this.form.get(y.path).setValue(R)})}setValue(y){this.control.setValue(y)}onSubmit(y){return this.submittedReactive.set(!0),be(this.form,this._directives),this.ngSubmit.emit(y),"dialog"===y?.target?.method}onReset(){this.resetForm()}resetForm(y=void 0){this.form.reset(y),this.submittedReactive.set(!1)}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(y){return y.pop(),y.length?this.form.get(y):this.form}static#e=this.\u0275fac=function(R){return new(R||b)(u.rXU(ut,10),u.rXU(ot,10),u.rXU(bt,8))};static#t=this.\u0275dir=u.FsC({type:b,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(R,ne){1&R&&u.bIt("submit",function(hn){return ne.onSubmit(hn)})("reset",function(){return ne.onReset()})},inputs:{options:[0,"ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[u.Jv_([Lt]),u.Vt3]})}return b})();function N(b,T){const y=b.indexOf(T);y>-1&&b.splice(y,1)}function F(b){return"object"==typeof b&&null!==b&&2===Object.keys(b).length&&"value"in b&&"disabled"in b}const ge=class extends un{constructor(T=null,y,R){super(Qe(y),It(R,y)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(T),this._setUpdateStrategy(y),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),pt(y)&&(y.nonNullable||y.initialValueIsDefault)&&(this.defaultValue=F(T)?T.value:T)}setValue(T,y={}){this.value=this._pendingValue=T,this._onChange.length&&!1!==y.emitModelToViewChange&&this._onChange.forEach(R=>R(this.value,!1!==y.emitViewToModelChange)),this.updateValueAndValidity(y)}patchValue(T,y={}){this.setValue(T,y)}reset(T=this.defaultValue,y={}){this._applyFormState(T),this.markAsPristine(y),this.markAsUntouched(y),this.setValue(this.value,y),this._pendingChange=!1}_updateValue(){}_anyControls(T){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(T){this._onChange.push(T)}_unregisterOnChange(T){N(this._onChange,T)}registerOnDisabledChange(T){this._onDisabledChange.push(T)}_unregisterOnDisabledChange(T){N(this._onDisabledChange,T)}_forEachChild(T){}_syncPendingControls(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}_applyFormState(T){F(T)?(this.value=this._pendingValue=T.value,T.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=T}};let qe=(()=>{class b extends An{ngOnInit(){this._checkParentType(),this.formDirective.addFormGroup(this)}ngOnDestroy(){this.formDirective&&this.formDirective.removeFormGroup(this)}get control(){return this.formDirective.getFormGroup(this)}get path(){return wn(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}static#e=this.\u0275fac=(()=>{let y;return function(ne){return(y||(y=u.xGo(b)))(ne||b)}})();static#t=this.\u0275dir=u.FsC({type:b,features:[u.Vt3]})}return b})();Promise.resolve();let li=(()=>{class b{static#e=this.\u0275fac=function(R){return new(R||b)};static#t=this.\u0275dir=u.FsC({type:b,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]})}return b})();const Go={provide:ee,useExisting:(0,u.Rfq)(()=>Fi),multi:!0};let ki=(()=>{class b{constructor(){this._accessors=[]}add(y,R){this._accessors.push([y,R])}remove(y){for(let R=this._accessors.length-1;R>=0;--R)if(this._accessors[R][1]===y)return void this._accessors.splice(R,1)}select(y){this._accessors.forEach(R=>{this._isSameGroup(R,y)&&R[1]!==y&&R[1].fireUncheck(y.value)})}_isSameGroup(y,R){return!!y[0].control&&y[0]._parent===R._control._parent&&y[1].name===R.name}static#e=this.\u0275fac=function(R){return new(R||b)};static#t=this.\u0275prov=u.jDH({token:b,factory:b.\u0275fac,providedIn:"root"})}return b})(),Fi=(()=>{class b extends K{constructor(y,R,ne,Tt){super(y,R),this._registry=ne,this._injector=Tt,this.setDisabledStateFired=!1,this.onChange=()=>{},this.callSetDisabledState=(0,u.WQX)(bt,{optional:!0})??Ot}ngOnInit(){this._control=this._injector.get(Gn),this._checkName(),this._registry.add(this._control,this)}ngOnDestroy(){this._registry.remove(this)}writeValue(y){this._state=y===this.value,this.setProperty("checked",this._state)}registerOnChange(y){this._fn=y,this.onChange=()=>{y(this.value),this._registry.select(this)}}setDisabledState(y){(this.setDisabledStateFired||y||"whenDisabledForLegacyCode"===this.callSetDisabledState)&&this.setProperty("disabled",y),this.setDisabledStateFired=!0}fireUncheck(y){this.writeValue(y)}_checkName(){!this.name&&this.formControlName&&(this.name=this.formControlName)}static#e=this.\u0275fac=function(R){return new(R||b)(u.rXU(u.sFG),u.rXU(u.aKT),u.rXU(ki),u.rXU(u.zZn))};static#t=this.\u0275dir=u.FsC({type:b,selectors:[["input","type","radio","formControlName",""],["input","type","radio","formControl",""],["input","type","radio","ngModel",""]],hostBindings:function(R,ne){1&R&&u.bIt("change",function(){return ne.onChange()})("blur",function(){return ne.onTouched()})},inputs:{name:"name",formControlName:"formControlName",value:"value"},features:[u.Jv_([Go]),u.Vt3]})}return b})();const Cs=new u.nKC(""),Us={provide:An,useExisting:(0,u.Rfq)(()=>Io)};let Io=(()=>{class b extends An{get submitted(){return(0,u.O8t)(this._submittedReactive)}set submitted(y){this._submittedReactive.set(y)}constructor(y,R,ne){super(),this.callSetDisabledState=ne,this._submitted=(0,u.EWP)(()=>this._submittedReactive()),this._submittedReactive=(0,u.vPA)(!1),this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new u.bkB,this._setValidators(y),this._setAsyncValidators(R)}ngOnChanges(y){this._checkFormPresent(),y.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(Et(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(y){const R=this.form.get(y.path);return dn(R,y,this.callSetDisabledState),R.updateValueAndValidity({emitEvent:!1}),this.directives.push(y),R}getControl(y){return this.form.get(y.path)}removeControl(y){Pt(y.control||null,y,!1),function Je(b,T){const y=b.indexOf(T);y>-1&&b.splice(y,1)}(this.directives,y)}addFormGroup(y){this._setUpFormContainer(y)}removeFormGroup(y){this._cleanUpFormContainer(y)}getFormGroup(y){return this.form.get(y.path)}addFormArray(y){this._setUpFormContainer(y)}removeFormArray(y){this._cleanUpFormContainer(y)}getFormArray(y){return this.form.get(y.path)}updateModel(y,R){this.form.get(y.path).setValue(R)}onSubmit(y){return this._submittedReactive.set(!0),be(this.form,this.directives),this.ngSubmit.emit(y),this.form._events.next(new te(this.control)),"dialog"===y?.target?.method}onReset(){this.resetForm()}resetForm(y=void 0){this.form.reset(y),this._submittedReactive.set(!1),this.form._events.next(new Oe(this.form))}_updateDomValue(){this.directives.forEach(y=>{const R=y.control,ne=this.form.get(y.path);R!==ne&&(Pt(R||null,y),(b=>b instanceof ge)(ne)&&(dn(ne,y,this.callSetDisabledState),y.control=ne))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(y){const R=this.form.get(y.path);kn(R,y),R.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(y){if(this.form){const R=this.form.get(y.path);R&&function Sn(b,T){return Et(b,T)}(R,y)&&R.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){Ee(this.form,this),this._oldForm&&Et(this._oldForm,this)}_checkFormPresent(){}static#e=this.\u0275fac=function(R){return new(R||b)(u.rXU(ut,10),u.rXU(ot,10),u.rXU(bt,8))};static#t=this.\u0275dir=u.FsC({type:b,selectors:[["","formGroup",""]],hostBindings:function(R,ne){1&R&&u.bIt("submit",function(hn){return ne.onSubmit(hn)})("reset",function(){return ne.onReset()})},inputs:{form:[0,"formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[u.Jv_([Us]),u.Vt3,u.OA$]})}return b})();const mi={provide:An,useExisting:(0,u.Rfq)(()=>to)};let to=(()=>{class b extends qe{constructor(y,R,ne){super(),this.name=null,this._parent=y,this._setValidators(R),this._setAsyncValidators(ne)}_checkParentType(){Vi(this._parent)}static#e=this.\u0275fac=function(R){return new(R||b)(u.rXU(An,13),u.rXU(ut,10),u.rXU(ot,10))};static#t=this.\u0275dir=u.FsC({type:b,selectors:[["","formGroupName",""]],inputs:{name:[0,"formGroupName","name"]},features:[u.Jv_([mi]),u.Vt3]})}return b})();const mo={provide:An,useExisting:(0,u.Rfq)(()=>Li)};let Li=(()=>{class b extends An{constructor(y,R,ne){super(),this.name=null,this._parent=y,this._setValidators(R),this._setAsyncValidators(ne)}ngOnInit(){this._checkParentType(),this.formDirective.addFormArray(this)}ngOnDestroy(){this.formDirective&&this.formDirective.removeFormArray(this)}get control(){return this.formDirective.getFormArray(this)}get formDirective(){return this._parent?this._parent.formDirective:null}get path(){return wn(null==this.name?this.name:this.name.toString(),this._parent)}_checkParentType(){Vi(this._parent)}static#e=this.\u0275fac=function(R){return new(R||b)(u.rXU(An,13),u.rXU(ut,10),u.rXU(ot,10))};static#t=this.\u0275dir=u.FsC({type:b,selectors:[["","formArrayName",""]],inputs:{name:[0,"formArrayName","name"]},features:[u.Jv_([mo]),u.Vt3]})}return b})();function Vi(b){return!(b instanceof to||b instanceof Io||b instanceof Li)}const Wr={provide:Gn,useExisting:(0,u.Rfq)(()=>no)};let no=(()=>{class b extends Gn{set isDisabled(y){}static#e=this._ngModelWarningSentOnce=!1;constructor(y,R,ne,Tt,hn){super(),this._ngModelWarningConfig=hn,this._added=!1,this.name=null,this.update=new u.bkB,this._ngModelWarningSent=!1,this._parent=y,this._setValidators(R),this._setAsyncValidators(ne),this.valueAccessor=function Re(b,T){if(!T)return null;let y,R,ne;return Array.isArray(T),T.forEach(Tt=>{Tt.constructor===we?y=Tt:function Me(b){return Object.getPrototypeOf(b.constructor)===K}(Tt)?R=Tt:ne=Tt}),ne||R||y||null}(0,Tt)}ngOnChanges(y){this._added||this._setUpControl(),function ce(b,T){if(!b.hasOwnProperty("model"))return!1;const y=b.model;return!!y.isFirstChange()||!Object.is(T,y.currentValue)}(y,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(y){this.viewModel=y,this.update.emit(y)}get path(){return wn(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}static#t=this.\u0275fac=function(R){return new(R||b)(u.rXU(An,13),u.rXU(ut,10),u.rXU(ot,10),u.rXU(ee,10),u.rXU(Cs,8))};static#n=this.\u0275dir=u.FsC({type:b,selectors:[["","formControlName",""]],inputs:{name:[0,"formControlName","name"],isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"]},outputs:{update:"ngModelChange"},features:[u.Jv_([Wr]),u.Vt3,u.OA$]})}return b})();const ro={provide:ee,useExisting:(0,u.Rfq)(()=>Oo),multi:!0};function io(b,T){return null==b?`${T}`:(T&&"object"==typeof T&&(T="Object"),`${b}: ${T}`.slice(0,50))}let Oo=(()=>{class b extends K{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(y){this._compareWith=y}writeValue(y){this.value=y;const ne=io(this._getOptionId(y),y);this.setProperty("value",ne)}registerOnChange(y){this.onChange=R=>{this.value=this._getOptionValue(R),y(this.value)}}_registerOption(){return(this._idCounter++).toString()}_getOptionId(y){for(const R of this._optionMap.keys())if(this._compareWith(this._optionMap.get(R),y))return R;return null}_getOptionValue(y){const R=function Bi(b){return b.split(":")[0]}(y);return this._optionMap.has(R)?this._optionMap.get(R):y}static#e=this.\u0275fac=(()=>{let y;return function(ne){return(y||(y=u.xGo(b)))(ne||b)}})();static#t=this.\u0275dir=u.FsC({type:b,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(R,ne){1&R&&u.bIt("change",function(hn){return ne.onChange(hn.target.value)})("blur",function(){return ne.onTouched()})},inputs:{compareWith:"compareWith"},features:[u.Jv_([ro]),u.Vt3]})}return b})(),Ko=(()=>{class b{constructor(y,R,ne){this._element=y,this._renderer=R,this._select=ne,this._select&&(this.id=this._select._registerOption())}set ngValue(y){null!=this._select&&(this._select._optionMap.set(this.id,y),this._setElementValue(io(this.id,y)),this._select.writeValue(this._select.value))}set value(y){this._setElementValue(y),this._select&&this._select.writeValue(this._select.value)}_setElementValue(y){this._renderer.setProperty(this._element.nativeElement,"value",y)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}static#e=this.\u0275fac=function(R){return new(R||b)(u.rXU(u.aKT),u.rXU(u.sFG),u.rXU(Oo,9))};static#t=this.\u0275dir=u.FsC({type:b,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}})}return b})();const qo={provide:ee,useExisting:(0,u.Rfq)(()=>ji),multi:!0};function Vr(b,T){return null==b?`${T}`:("string"==typeof T&&(T=`'${T}'`),T&&"object"==typeof T&&(T="Object"),`${b}: ${T}`.slice(0,50))}let ji=(()=>{class b extends K{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(y){this._compareWith=y}writeValue(y){let R;if(this.value=y,Array.isArray(y)){const ne=y.map(Tt=>this._getOptionId(Tt));R=(Tt,hn)=>{Tt._setSelected(ne.indexOf(hn.toString())>-1)}}else R=(ne,Tt)=>{ne._setSelected(!1)};this._optionMap.forEach(R)}registerOnChange(y){this.onChange=R=>{const ne=[],Tt=R.selectedOptions;if(void 0!==Tt){const hn=Tt;for(let ar=0;ar<hn.length;ar++){const so=this._getOptionValue(hn[ar].value);ne.push(so)}}else{const hn=R.options;for(let ar=0;ar<hn.length;ar++){const Bt=hn[ar];if(Bt.selected){const so=this._getOptionValue(Bt.value);ne.push(so)}}}this.value=ne,y(ne)}}_registerOption(y){const R=(this._idCounter++).toString();return this._optionMap.set(R,y),R}_getOptionId(y){for(const R of this._optionMap.keys())if(this._compareWith(this._optionMap.get(R)._value,y))return R;return null}_getOptionValue(y){const R=function oo(b){return b.split(":")[0]}(y);return this._optionMap.has(R)?this._optionMap.get(R)._value:y}static#e=this.\u0275fac=(()=>{let y;return function(ne){return(y||(y=u.xGo(b)))(ne||b)}})();static#t=this.\u0275dir=u.FsC({type:b,selectors:[["select","multiple","","formControlName",""],["select","multiple","","formControl",""],["select","multiple","","ngModel",""]],hostBindings:function(R,ne){1&R&&u.bIt("change",function(hn){return ne.onChange(hn.target)})("blur",function(){return ne.onTouched()})},inputs:{compareWith:"compareWith"},features:[u.Jv_([qo]),u.Vt3]})}return b})(),Qo=(()=>{class b{constructor(y,R,ne){this._element=y,this._renderer=R,this._select=ne,this._select&&(this.id=this._select._registerOption(this))}set ngValue(y){null!=this._select&&(this._value=y,this._setElementValue(Vr(this.id,y)),this._select.writeValue(this._select.value))}set value(y){this._select?(this._value=y,this._setElementValue(Vr(this.id,y)),this._select.writeValue(this._select.value)):this._setElementValue(y)}_setElementValue(y){this._renderer.setProperty(this._element.nativeElement,"value",y)}_setSelected(y){this._renderer.setProperty(this._element.nativeElement,"selected",y)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}static#e=this.\u0275fac=function(R){return new(R||b)(u.rXU(u.aKT),u.rXU(u.sFG),u.rXU(ji,9))};static#t=this.\u0275dir=u.FsC({type:b,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}})}return b})(),Zo=(()=>{class b{static#e=this.\u0275fac=function(R){return new(R||b)};static#t=this.\u0275mod=u.$C({type:b});static#n=this.\u0275inj=u.G2t({})}return b})();class Yo extends un{constructor(T,y,R){super(Qe(y),It(R,y)),this.controls=T,this._initObservables(),this._setUpdateStrategy(y),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(T){return this.controls[this._adjustIndex(T)]}push(T,y={}){this.controls.push(T),this._registerControl(T),this.updateValueAndValidity({emitEvent:y.emitEvent}),this._onCollectionChange()}insert(T,y,R={}){this.controls.splice(T,0,y),this._registerControl(y),this.updateValueAndValidity({emitEvent:R.emitEvent})}removeAt(T,y={}){let R=this._adjustIndex(T);R<0&&(R=0),this.controls[R]&&this.controls[R]._registerOnCollectionChange(()=>{}),this.controls.splice(R,1),this.updateValueAndValidity({emitEvent:y.emitEvent})}setControl(T,y,R={}){let ne=this._adjustIndex(T);ne<0&&(ne=0),this.controls[ne]&&this.controls[ne]._registerOnCollectionChange(()=>{}),this.controls.splice(ne,1),y&&(this.controls.splice(ne,0,y),this._registerControl(y)),this.updateValueAndValidity({emitEvent:R.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(T,y={}){$t(this,0,T),T.forEach((R,ne)=>{rt(this,!1,ne),this.at(ne).setValue(R,{onlySelf:!0,emitEvent:y.emitEvent})}),this.updateValueAndValidity(y)}patchValue(T,y={}){null!=T&&(T.forEach((R,ne)=>{this.at(ne)&&this.at(ne).patchValue(R,{onlySelf:!0,emitEvent:y.emitEvent})}),this.updateValueAndValidity(y))}reset(T=[],y={}){this._forEachChild((R,ne)=>{R.reset(T[ne],{onlySelf:!0,emitEvent:y.emitEvent})}),this._updatePristine(y,this),this._updateTouched(y,this),this.updateValueAndValidity(y)}getRawValue(){return this.controls.map(T=>T.getRawValue())}clear(T={}){this.controls.length<1||(this._forEachChild(y=>y._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:T.emitEvent}))}_adjustIndex(T){return T<0?T+this.length:T}_syncPendingControls(){let T=this.controls.reduce((y,R)=>!!R._syncPendingControls()||y,!1);return T&&this.updateValueAndValidity({onlySelf:!0}),T}_forEachChild(T){this.controls.forEach((y,R)=>{T(y,R)})}_updateValue(){this.value=this.controls.filter(T=>T.enabled||this.disabled).map(T=>T.value)}_anyControls(T){return this.controls.some(y=>y.enabled&&T(y))}_setUpControls(){this._forEachChild(T=>this._registerControl(T))}_allControlsDisabled(){for(const T of this.controls)if(T.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(T){T.setParent(this),T._registerOnCollectionChange(this._onCollectionChange)}_find(T){return this.at(T)??null}}function mr(b){return!!b&&(void 0!==b.asyncValidators||void 0!==b.validators||void 0!==b.updateOn)}let nr=(()=>{class b{constructor(){this.useNonNullable=!1}get nonNullable(){const y=new b;return y.useNonNullable=!0,y}group(y,R=null){const ne=this._reduceControls(y);let Tt={};return mr(R)?Tt=R:null!==R&&(Tt.validators=R.validator,Tt.asyncValidators=R.asyncValidator),new Mn(ne,Tt)}record(y,R=null){const ne=this._reduceControls(y);return new zt(ne,R)}control(y,R,ne){let Tt={};return this.useNonNullable?(mr(R)?Tt=R:(Tt.validators=R,Tt.asyncValidators=ne),new ge(y,{...Tt,nonNullable:!0})):new ge(y,R,ne)}array(y,R,ne){const Tt=y.map(hn=>this._createControl(hn));return new Yo(Tt,R,ne)}_reduceControls(y){const R={};return Object.keys(y).forEach(ne=>{R[ne]=this._createControl(y[ne])}),R}_createControl(y){return y instanceof ge||y instanceof un?y:Array.isArray(y)?this.control(y[0],y.length>1?y[1]:null,y.length>2?y[2]:null):this.control(y)}static#e=this.\u0275fac=function(R){return new(R||b)};static#t=this.\u0275prov=u.jDH({token:b,factory:b.\u0275fac,providedIn:"root"})}return b})(),Es=(()=>{class b extends nr{group(y,R=null){return super.group(y,R)}control(y,R,ne){return super.control(y,R,ne)}array(y,R,ne){return super.array(y,R,ne)}static#e=this.\u0275fac=(()=>{let y;return function(ne){return(y||(y=u.xGo(b)))(ne||b)}})();static#t=this.\u0275prov=u.jDH({token:b,factory:b.\u0275fac,providedIn:"root"})}return b})(),Pr=(()=>{class b{static withConfig(y){return{ngModule:b,providers:[{provide:bt,useValue:y.callSetDisabledState??Ot}]}}static#e=this.\u0275fac=function(R){return new(R||b)};static#t=this.\u0275mod=u.$C({type:b});static#n=this.\u0275inj=u.G2t({imports:[Zo]})}return b})(),bs=(()=>{class b{static withConfig(y){return{ngModule:b,providers:[{provide:Cs,useValue:y.warnOnNgModelWithFormControl??"always"},{provide:bt,useValue:y.callSetDisabledState??Ot}]}}static#e=this.\u0275fac=function(R){return new(R||b)};static#t=this.\u0275mod=u.$C({type:b});static#n=this.\u0275inj=u.G2t({imports:[Zo]})}return b})()},345:(Ae,W,M)=>{"use strict";M.d(W,{B7:()=>it,Bb:()=>zr,hE:()=>wr,sG:()=>Sr});var u=M(177),O=M(3953);class G extends u.VF{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class Z extends G{static makeCurrent(){(0,u.ZD)(new Z)}onAndCancel(oe,U,te){return oe.addEventListener(U,te),()=>{oe.removeEventListener(U,te)}}dispatchEvent(oe,U){oe.dispatchEvent(U)}remove(oe){oe.remove()}createElement(oe,U){return(U=U||this.getDefaultDocument()).createElement(oe)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(oe){return oe.nodeType===Node.ELEMENT_NODE}isShadowRoot(oe){return oe instanceof DocumentFragment}getGlobalEventTarget(oe,U){return"window"===U?window:"document"===U?oe:"body"===U?oe.body:null}getBaseHref(oe){const U=function z(){return H=H||document.querySelector("base"),H?H.getAttribute("href"):null}();return null==U?null:function j(fe){return new URL(fe,document.baseURI).pathname}(U)}resetBaseElement(){H=null}getUserAgent(){return window.navigator.userAgent}getCookie(oe){return(0,u._b)(document.cookie,oe)}}let H=null,ee=(()=>{class fe{build(){return new XMLHttpRequest}static#e=this.\u0275fac=function(te){return new(te||fe)};static#t=this.\u0275prov=O.jDH({token:fe,factory:fe.\u0275fac})}return fe})();const Y=new O.nKC("");let X=(()=>{class fe{constructor(U,te){this._zone=te,this._eventNameToPlugin=new Map,U.forEach(Oe=>{Oe.manager=this}),this._plugins=U.slice().reverse()}addEventListener(U,te,Oe){return this._findPluginFor(te).addEventListener(U,te,Oe)}getZone(){return this._zone}_findPluginFor(U){let te=this._eventNameToPlugin.get(U);if(te)return te;if(te=this._plugins.find(Qe=>Qe.supports(U)),!te)throw new O.wOt(5101,!1);return this._eventNameToPlugin.set(U,te),te}static#e=this.\u0275fac=function(te){return new(te||fe)(O.KVO(Y),O.KVO(O.SKi))};static#t=this.\u0275prov=O.jDH({token:fe,factory:fe.\u0275fac})}return fe})();class ae{constructor(oe){this._doc=oe}}const xe="ng-app-id";let de=(()=>{class fe{constructor(U,te,Oe,Qe={}){this.doc=U,this.appId=te,this.nonce=Oe,this.platformId=Qe,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=(0,u.Vy)(Qe),this.resetHostNodes()}addStyles(U){for(const te of U)1===this.changeUsageCount(te,1)&&this.onStyleAdded(te)}removeStyles(U){for(const te of U)this.changeUsageCount(te,-1)<=0&&this.onStyleRemoved(te)}ngOnDestroy(){const U=this.styleNodesInDOM;U&&(U.forEach(te=>te.remove()),U.clear());for(const te of this.getAllStyles())this.onStyleRemoved(te);this.resetHostNodes()}addHost(U){this.hostNodes.add(U);for(const te of this.getAllStyles())this.addStyleToHost(U,te)}removeHost(U){this.hostNodes.delete(U)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(U){for(const te of this.hostNodes)this.addStyleToHost(te,U)}onStyleRemoved(U){const te=this.styleRef;te.get(U)?.elements?.forEach(Oe=>Oe.remove()),te.delete(U)}collectServerRenderedStyles(){const U=this.doc.head?.querySelectorAll(`style[${xe}="${this.appId}"]`);if(U?.length){const te=new Map;return U.forEach(Oe=>{null!=Oe.textContent&&te.set(Oe.textContent,Oe)}),te}return null}changeUsageCount(U,te){const Oe=this.styleRef;if(Oe.has(U)){const Qe=Oe.get(U);return Qe.usage+=te,Qe.usage}return Oe.set(U,{usage:te,elements:[]}),te}getStyleElement(U,te){const Oe=this.styleNodesInDOM,Qe=Oe?.get(te);if(Qe?.parentNode===U)return Oe.delete(te),Qe.removeAttribute(xe),Qe;{const Mt=this.doc.createElement("style");return this.nonce&&Mt.setAttribute("nonce",this.nonce),Mt.textContent=te,this.platformIsServer&&Mt.setAttribute(xe,this.appId),U.appendChild(Mt),Mt}}addStyleToHost(U,te){const Oe=this.getStyleElement(U,te),Qe=this.styleRef,Mt=Qe.get(te)?.elements;Mt?Mt.push(Oe):Qe.set(te,{elements:[Oe],usage:1})}resetHostNodes(){const U=this.hostNodes;U.clear(),U.add(this.doc.head)}static#e=this.\u0275fac=function(te){return new(te||fe)(O.KVO(u.qQ),O.KVO(O.sZ2),O.KVO(O.BIS,8),O.KVO(O.Agw))};static#t=this.\u0275prov=O.jDH({token:fe,factory:fe.\u0275fac})}return fe})();const we={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/Math/MathML"},Ge=/%COMP%/g,Xe=new O.nKC("",{providedIn:"root",factory:()=>!0});function Vt(fe,oe){return oe.map(U=>U.replace(Ge,fe))}let it=(()=>{class fe{constructor(U,te,Oe,Qe,Mt,It,Jt,pt=null){this.eventManager=U,this.sharedStylesHost=te,this.appId=Oe,this.removeStylesOnCompDestroy=Qe,this.doc=Mt,this.platformId=It,this.ngZone=Jt,this.nonce=pt,this.rendererByCompId=new Map,this.platformIsServer=(0,u.Vy)(It),this.defaultRenderer=new Ye(U,Mt,Jt,this.platformIsServer)}createRenderer(U,te){if(!U||!te)return this.defaultRenderer;this.platformIsServer&&te.encapsulation===O.gXe.ShadowDom&&(te={...te,encapsulation:O.gXe.Emulated});const Oe=this.getOrCreateRenderer(U,te);return Oe instanceof Ce?Oe.applyToHost(U):Oe instanceof ye&&Oe.applyStyles(),Oe}getOrCreateRenderer(U,te){const Oe=this.rendererByCompId;let Qe=Oe.get(te.id);if(!Qe){const Mt=this.doc,It=this.ngZone,Jt=this.eventManager,pt=this.sharedStylesHost,rt=this.removeStylesOnCompDestroy,$t=this.platformIsServer;switch(te.encapsulation){case O.gXe.Emulated:Qe=new Ce(Jt,pt,te,this.appId,rt,Mt,It,$t);break;case O.gXe.ShadowDom:return new pe(Jt,pt,U,te,Mt,It,this.nonce,$t);default:Qe=new ye(Jt,pt,te,rt,Mt,It,$t)}Oe.set(te.id,Qe)}return Qe}ngOnDestroy(){this.rendererByCompId.clear()}static#e=this.\u0275fac=function(te){return new(te||fe)(O.KVO(X),O.KVO(de),O.KVO(O.sZ2),O.KVO(Xe),O.KVO(u.qQ),O.KVO(O.Agw),O.KVO(O.SKi),O.KVO(O.BIS))};static#t=this.\u0275prov=O.jDH({token:fe,factory:fe.\u0275fac})}return fe})();class Ye{constructor(oe,U,te,Oe){this.eventManager=oe,this.doc=U,this.ngZone=te,this.platformIsServer=Oe,this.data=Object.create(null),this.throwOnSyntheticProps=!0,this.destroyNode=null}destroy(){}createElement(oe,U){return U?this.doc.createElementNS(we[U]||U,oe):this.doc.createElement(oe)}createComment(oe){return this.doc.createComment(oe)}createText(oe){return this.doc.createTextNode(oe)}appendChild(oe,U){(ie(oe)?oe.content:oe).appendChild(U)}insertBefore(oe,U,te){oe&&(ie(oe)?oe.content:oe).insertBefore(U,te)}removeChild(oe,U){U.remove()}selectRootElement(oe,U){let te="string"==typeof oe?this.doc.querySelector(oe):oe;if(!te)throw new O.wOt(-5104,!1);return U||(te.textContent=""),te}parentNode(oe){return oe.parentNode}nextSibling(oe){return oe.nextSibling}setAttribute(oe,U,te,Oe){if(Oe){U=Oe+":"+U;const Qe=we[Oe];Qe?oe.setAttributeNS(Qe,U,te):oe.setAttribute(U,te)}else oe.setAttribute(U,te)}removeAttribute(oe,U,te){if(te){const Oe=we[te];Oe?oe.removeAttributeNS(Oe,U):oe.removeAttribute(`${te}:${U}`)}else oe.removeAttribute(U)}addClass(oe,U){oe.classList.add(U)}removeClass(oe,U){oe.classList.remove(U)}setStyle(oe,U,te,Oe){Oe&(O.czy.DashCase|O.czy.Important)?oe.style.setProperty(U,te,Oe&O.czy.Important?"important":""):oe.style[U]=te}removeStyle(oe,U,te){te&O.czy.DashCase?oe.style.removeProperty(U):oe.style[U]=""}setProperty(oe,U,te){null!=oe&&(oe[U]=te)}setValue(oe,U){oe.nodeValue=U}listen(oe,U,te){if("string"==typeof oe&&!(oe=(0,u.QT)().getGlobalEventTarget(this.doc,oe)))throw new Error(`Unsupported event target ${oe} for event ${U}`);return this.eventManager.addEventListener(oe,U,this.decoratePreventDefault(te))}decoratePreventDefault(oe){return U=>{if("__ngUnwrap__"===U)return oe;!1===(this.platformIsServer?this.ngZone.runGuarded(()=>oe(U)):oe(U))&&U.preventDefault()}}}function ie(fe){return"TEMPLATE"===fe.tagName&&void 0!==fe.content}class pe extends Ye{constructor(oe,U,te,Oe,Qe,Mt,It,Jt){super(oe,Qe,Mt,Jt),this.sharedStylesHost=U,this.hostEl=te,this.shadowRoot=te.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const pt=Vt(Oe.id,Oe.styles);for(const rt of pt){const $t=document.createElement("style");It&&$t.setAttribute("nonce",It),$t.textContent=rt,this.shadowRoot.appendChild($t)}}nodeOrShadowRoot(oe){return oe===this.hostEl?this.shadowRoot:oe}appendChild(oe,U){return super.appendChild(this.nodeOrShadowRoot(oe),U)}insertBefore(oe,U,te){return super.insertBefore(this.nodeOrShadowRoot(oe),U,te)}removeChild(oe,U){return super.removeChild(null,U)}parentNode(oe){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(oe)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class ye extends Ye{constructor(oe,U,te,Oe,Qe,Mt,It,Jt){super(oe,Qe,Mt,It),this.sharedStylesHost=U,this.removeStylesOnCompDestroy=Oe,this.styles=Jt?Vt(Jt,te.styles):te.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}}class Ce extends ye{constructor(oe,U,te,Oe,Qe,Mt,It,Jt){const pt=Oe+"-"+te.id;super(oe,U,te,Qe,Mt,It,Jt,pt),this.contentAttr=function He(fe){return"_ngcontent-%COMP%".replace(Ge,fe)}(pt),this.hostAttr=function ft(fe){return"_nghost-%COMP%".replace(Ge,fe)}(pt)}applyToHost(oe){this.applyStyles(),this.setAttribute(oe,this.hostAttr,"")}createElement(oe,U){const te=super.createElement(oe,U);return super.setAttribute(te,this.contentAttr,""),te}}let ve=(()=>{class fe extends ae{constructor(U){super(U)}supports(U){return!0}addEventListener(U,te,Oe){return U.addEventListener(te,Oe,!1),()=>this.removeEventListener(U,te,Oe)}removeEventListener(U,te,Oe){return U.removeEventListener(te,Oe)}static#e=this.\u0275fac=function(te){return new(te||fe)(O.KVO(u.qQ))};static#t=this.\u0275prov=O.jDH({token:fe,factory:fe.\u0275fac})}return fe})(),De=(()=>{class fe extends ae{constructor(U){super(U),this.delegate=(0,O.WQX)(O.zAP,{optional:!0})}supports(U){return!!this.delegate&&this.delegate.supports(U)}addEventListener(U,te,Oe){return this.delegate.addEventListener(U,te,Oe)}removeEventListener(U,te,Oe){return this.delegate.removeEventListener(U,te,Oe)}static#e=this.\u0275fac=function(te){return new(te||fe)(O.KVO(u.qQ))};static#t=this.\u0275prov=O.jDH({token:fe,factory:fe.\u0275fac})}return fe})();const Se=["alt","control","meta","shift"],Le={"\b":"Backspace","\t":"Tab","\x7f":"Delete","\x1b":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},Fe={alt:fe=>fe.altKey,control:fe=>fe.ctrlKey,meta:fe=>fe.metaKey,shift:fe=>fe.shiftKey};let Dt=(()=>{class fe extends ae{constructor(U){super(U)}supports(U){return null!=fe.parseEventName(U)}addEventListener(U,te,Oe){const Qe=fe.parseEventName(te),Mt=fe.eventCallback(Qe.fullKey,Oe,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,u.QT)().onAndCancel(U,Qe.domEventName,Mt))}static parseEventName(U){const te=U.toLowerCase().split("."),Oe=te.shift();if(0===te.length||"keydown"!==Oe&&"keyup"!==Oe)return null;const Qe=fe._normalizeKey(te.pop());let Mt="",It=te.indexOf("code");if(It>-1&&(te.splice(It,1),Mt="code."),Se.forEach(pt=>{const rt=te.indexOf(pt);rt>-1&&(te.splice(rt,1),Mt+=pt+".")}),Mt+=Qe,0!=te.length||0===Qe.length)return null;const Jt={};return Jt.domEventName=Oe,Jt.fullKey=Mt,Jt}static matchEventFullKeyCode(U,te){let Oe=Le[U.key]||U.key,Qe="";return te.indexOf("code.")>-1&&(Oe=U.code,Qe="code."),!(null==Oe||!Oe)&&(Oe=Oe.toLowerCase()," "===Oe?Oe="space":"."===Oe&&(Oe="dot"),Se.forEach(Mt=>{Mt!==Oe&&(0,Fe[Mt])(U)&&(Qe+=Mt+".")}),Qe+=Oe,Qe===te)}static eventCallback(U,te,Oe){return Qe=>{fe.matchEventFullKeyCode(Qe,U)&&Oe.runGuarded(()=>te(Qe))}}static _normalizeKey(U){return"esc"===U?"escape":U}static#e=this.\u0275fac=function(te){return new(te||fe)(O.KVO(u.qQ))};static#t=this.\u0275prov=O.jDH({token:fe,factory:fe.\u0275fac})}return fe})();const Sr=(0,O.oH4)(O.fpN,"browser",[{provide:O.Agw,useValue:u.AJ},{provide:O.PLl,useValue:function Qn(){Z.makeCurrent()},multi:!0},{provide:u.qQ,useFactory:function On(){return(0,O.TL$)(document),document},deps:[]}]),$r=new O.nKC(""),An=[{provide:O.e01,useClass:class K{addToWindow(oe){O.JZv.getAngularTestability=(te,Oe=!0)=>{const Qe=oe.findTestabilityInTree(te,Oe);if(null==Qe)throw new O.wOt(5103,!1);return Qe},O.JZv.getAllAngularTestabilities=()=>oe.getAllTestabilities(),O.JZv.getAllAngularRootElements=()=>oe.getAllRootElements(),O.JZv.frameworkStabilizers||(O.JZv.frameworkStabilizers=[]),O.JZv.frameworkStabilizers.push(te=>{const Oe=O.JZv.getAllAngularTestabilities();let Qe=Oe.length;const Mt=function(){Qe--,0==Qe&&te()};Oe.forEach(It=>{It.whenStable(Mt)})})}findTestabilityInTree(oe,U,te){return null==U?null:oe.getTestability(U)??(te?(0,u.QT)().isShadowRoot(U)?this.findTestabilityInTree(oe,U.host,!0):this.findTestabilityInTree(oe,U.parentElement,!0):null)}},deps:[]},{provide:O.WHO,useClass:O.NYb,deps:[O.SKi,O.giA,O.e01]},{provide:O.NYb,useClass:O.NYb,deps:[O.SKi,O.giA,O.e01]}],Gn=[{provide:O.H8p,useValue:"root"},{provide:O.zcH,useFactory:function Xn(){return new O.zcH},deps:[]},{provide:Y,useClass:ve,multi:!0,deps:[u.qQ,O.SKi,O.Agw]},{provide:Y,useClass:Dt,multi:!0,deps:[u.qQ]},{provide:Y,useClass:De,multi:!0},it,de,X,{provide:O._9s,useExisting:it},{provide:u.N0,useClass:ee,deps:[]},[]];let zr=(()=>{class fe{constructor(U){}static withServerTransition(U){return{ngModule:fe,providers:[{provide:O.sZ2,useValue:U.appId}]}}static#e=this.\u0275fac=function(te){return new(te||fe)(O.KVO($r,12))};static#t=this.\u0275mod=O.$C({type:fe});static#n=this.\u0275inj=O.G2t({providers:[...Gn,...An],imports:[u.MD,O.Hbi]})}return fe})(),wr=(()=>{class fe{constructor(U){this._doc=U}getTitle(){return this._doc.title}setTitle(U){this._doc.title=U||""}static#e=this.\u0275fac=function(te){return new(te||fe)(O.KVO(u.qQ))};static#t=this.\u0275prov=O.jDH({token:fe,factory:fe.\u0275fac,providedIn:"root"})}return fe})()},4369:(Ae,W,M)=>{"use strict";M.d(W,{nX:()=>at,Ix:()=>qr,Wk:()=>as,iI:()=>ec,n3:()=>ri});var u=M(3953),O=M(1985),G=M(8071),H=M(6648),z=M(7673),j=M(4412),K=M(3073),ee=M(3669),Y=M(6450),X=M(9326),ae=M(8496),xe=M(4360),de=M(5225);function we(...f){const _=(0,X.lI)(f),p=(0,X.ms)(f),{args:l,keys:s}=(0,K.D)(f);if(0===l.length)return(0,H.H)([],_);const a=new O.c(function Ge(f,_,p=ee.D){return l=>{gt(_,()=>{const{length:s}=f,a=new Array(s);let d=s,v=s;for(let E=0;E<s;E++)gt(_,()=>{const L=(0,H.H)(f[E],_);let q=!1;L.subscribe((0,xe._)(l,ue=>{a[E]=ue,q||(q=!0,v--),v||l.next(p(a.slice()))},()=>{--d||l.complete()}))},l)},l)}}(l,_,s?d=>(0,ae.e)(s,d):ee.D));return p?a.pipe((0,Y.I)(p)):a}function gt(f,_,p){f?(0,de.N)(p,f,_):_()}const ot=(0,M(1853).L)(f=>function(){f(this),this.name="EmptyError",this.message="no elements in sequence"});var Nt=M(6365);function He(...f){return function Xe(){return(0,Nt.U)(1)}()((0,H.H)(f,(0,X.lI)(f)))}var ft=M(8750);function Vt(f){return new O.c(_=>{(0,ft.Tg)(f()).subscribe(_)})}var it=M(1203),Ye=M(8810),Ve=M(983),$=M(8359),ie=M(9974);function pe(){return(0,ie.N)((f,_)=>{let p=null;f._refCount++;const l=(0,xe._)(_,void 0,void 0,void 0,()=>{if(!f||f._refCount<=0||0<--f._refCount)return void(p=null);const s=f._connection,a=p;p=null,s&&(!a||s===a)&&s.unsubscribe(),_.unsubscribe()});f.subscribe(l),l.closed||(p=f.connect())})}class ye extends O.c{constructor(_,p){super(),this.source=_,this.subjectFactory=p,this._subject=null,this._refCount=0,this._connection=null,(0,ie.S)(_)&&(this.lift=_.lift)}_subscribe(_){return this.getSubject().subscribe(_)}getSubject(){const _=this._subject;return(!_||_.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:_}=this;this._subject=this._connection=null,_?.unsubscribe()}connect(){let _=this._connection;if(!_){_=this._connection=new $.yU;const p=this.getSubject();_.add(this.source.subscribe((0,xe._)(p,void 0,()=>{this._teardown(),p.complete()},l=>{this._teardown(),p.error(l)},()=>this._teardown()))),_.closed&&(this._connection=null,_=$.yU.EMPTY)}return _}refCount(){return pe()(this)}}var Ce=M(1413),ve=M(177),De=M(6354),Se=M(5558),Le=M(6697),Dt=M(5964),Rt=M(1397);function Kt(f){return(0,ie.N)((_,p)=>{let l=!1;_.subscribe((0,xe._)(p,s=>{l=!0,p.next(s)},()=>{l||p.next(f),p.complete()}))})}function tn(f=Dn){return(0,ie.N)((_,p)=>{let l=!1;_.subscribe((0,xe._)(p,s=>{l=!0,p.next(s)},()=>l?p.complete():p.error(f())))})}function Dn(){return new ot}function Qn(f,_){const p=arguments.length>=2;return l=>l.pipe(f?(0,Dt.p)((s,a)=>f(s,a,l)):ee.D,(0,Le.s)(1),p?Kt(_):tn(()=>new ot))}var Xn=M(274),On=M(8141),Pn=M(9437);function An(f){return f<=0?()=>Ve.w:(0,ie.N)((_,p)=>{let l=[];_.subscribe((0,xe._)(p,s=>{l.push(s),f<l.length&&l.shift()},()=>{for(const s of l)p.next(s);p.complete()},void 0,()=>{l=null}))})}var tr=M(980),Ir=M(6977),wr=M(345);const xt="primary",Zn=Symbol("RouteTitle");class Er{constructor(_){this.params=_||{}}has(_){return Object.prototype.hasOwnProperty.call(this.params,_)}get(_){if(this.has(_)){const p=this.params[_];return Array.isArray(p)?p[0]:p}return null}getAll(_){if(this.has(_)){const p=this.params[_];return Array.isArray(p)?p:[p]}return[]}get keys(){return Object.keys(this.params)}}function Un(f){return new Er(f)}function Or(f,_,p){const l=p.path.split("/");if(l.length>f.length||"full"===p.pathMatch&&(_.hasChildren()||l.length<f.length))return null;const s={};for(let a=0;a<l.length;a++){const d=l[a],v=f[a];if(":"===d[0])s[d.substring(1)]=v;else if(d!==v.path)return null}return{consumed:f.slice(0,l.length),posParams:s}}function Yt(f,_){const p=f?Ze(f):void 0,l=_?Ze(_):void 0;if(!p||!l||p.length!=l.length)return!1;let s;for(let a=0;a<p.length;a++)if(s=p[a],!bi(f[s],_[s]))return!1;return!0}function Ze(f){return[...Object.keys(f),...Object.getOwnPropertySymbols(f)]}function bi(f,_){if(Array.isArray(f)&&Array.isArray(_)){if(f.length!==_.length)return!1;const p=[...f].sort(),l=[..._].sort();return p.every((s,a)=>l[a]===s)}return f===_}function Gr(f){return f.length>0?f[f.length-1]:null}function Kn(f){return function Z(f){return!!f&&(f instanceof O.c||(0,G.T)(f.lift)&&(0,G.T)(f.subscribe))}(f)?f:(0,u.jNT)(f)?(0,H.H)(Promise.resolve(f)):(0,z.of)(f)}const Lr={exact:function ei(f,_,p){if(!vt(f.segments,_.segments)||!he(f.segments,_.segments,p)||f.numberOfChildren!==_.numberOfChildren)return!1;for(const l in _.children)if(!f.children[l]||!ei(f.children[l],_.children[l],p))return!1;return!0},subset:le},Yn={exact:function qt(f,_){return Yt(f,_)},subset:function re(f,_){return Object.keys(_).length<=Object.keys(f).length&&Object.keys(_).every(p=>bi(f[p],_[p]))},ignored:()=>!0};function ai(f,_,p){return Lr[p.paths](f.root,_.root,p.matrixParams)&&Yn[p.queryParams](f.queryParams,_.queryParams)&&!("exact"===p.fragment&&f.fragment!==_.fragment)}function le(f,_,p){return Ue(f,_,_.segments,p)}function Ue(f,_,p,l){if(f.segments.length>p.length){const s=f.segments.slice(0,p.length);return!(!vt(s,p)||_.hasChildren()||!he(s,p,l))}if(f.segments.length===p.length){if(!vt(f.segments,p)||!he(f.segments,p,l))return!1;for(const s in _.children)if(!f.children[s]||!le(f.children[s],_.children[s],l))return!1;return!0}{const s=p.slice(0,f.segments.length),a=p.slice(f.segments.length);return!!(vt(f.segments,s)&&he(f.segments,s,l)&&f.children[xt])&&Ue(f.children[xt],_,a,l)}}function he(f,_,p){return _.every((l,s)=>Yn[p](f[s].parameters,l.parameters))}class Ne{constructor(_=new Be([],{}),p={},l=null){this.root=_,this.queryParams=p,this.fragment=l}get queryParamMap(){return this._queryParamMap??=Un(this.queryParams),this._queryParamMap}toString(){return te.serialize(this)}}class Be{constructor(_,p){this.segments=_,this.children=p,this.parent=null,Object.values(p).forEach(l=>l.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Oe(this)}}class st{constructor(_,p){this.path=_,this.parameters=p}get parameterMap(){return this._parameterMap??=Un(this.parameters),this._parameterMap}toString(){return un(this)}}function vt(f,_){return f.length===_.length&&f.every((p,l)=>p.path===_[l].path)}let oe=(()=>{class f{static#e=this.\u0275fac=function(l){return new(l||f)};static#t=this.\u0275prov=u.jDH({token:f,factory:()=>new U,providedIn:"root"})}return f})();class U{parse(_){const p=new Pt(_);return new Ne(p.parseRootSegment(),p.parseQueryParams(),p.parseFragment())}serialize(_){const p=`/${Qe(_.root,!0)}`,l=function vn(f){const _=Object.entries(f).map(([p,l])=>Array.isArray(l)?l.map(s=>`${It(p)}=${It(s)}`).join("&"):`${It(p)}=${It(l)}`).filter(p=>p);return _.length?`?${_.join("&")}`:""}(_.queryParams);return`${p}${l}${"string"==typeof _.fragment?`#${function Jt(f){return encodeURI(f)}(_.fragment)}`:""}`}}const te=new U;function Oe(f){return f.segments.map(_=>un(_)).join("/")}function Qe(f,_){if(!f.hasChildren())return Oe(f);if(_){const p=f.children[xt]?Qe(f.children[xt],!1):"",l=[];return Object.entries(f.children).forEach(([s,a])=>{s!==xt&&l.push(`${s}:${Qe(a,!1)}`)}),l.length>0?`${p}(${l.join("//")})`:p}{const p=function fe(f,_){let p=[];return Object.entries(f.children).forEach(([l,s])=>{l===xt&&(p=p.concat(_(s,l)))}),Object.entries(f.children).forEach(([l,s])=>{l!==xt&&(p=p.concat(_(s,l)))}),p}(f,(l,s)=>s===xt?[Qe(f.children[xt],!1)]:[`${s}:${Qe(l,!1)}`]);return 1===Object.keys(f.children).length&&null!=f.children[xt]?`${Oe(f)}/${p[0]}`:`${Oe(f)}/(${p.join("//")})`}}function Mt(f){return encodeURIComponent(f).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function It(f){return Mt(f).replace(/%3B/gi,";")}function pt(f){return Mt(f).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function rt(f){return decodeURIComponent(f)}function $t(f){return rt(f.replace(/\+/g,"%20"))}function un(f){return`${pt(f.path)}${function Mn(f){return Object.entries(f).map(([_,p])=>`;${pt(_)}=${pt(p)}`).join("")}(f.parameters)}`}const St=/^[^\/()?;#]+/;function Tn(f){const _=f.match(St);return _?_[0]:""}const zt=/^[^\/()?;=#]+/,bt=/^[^=?&#]+/,wn=/^[^&#]+/;class Pt{constructor(_){this.url=_,this.remaining=_}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new Be([],{}):new Be([],this.parseChildren())}parseQueryParams(){const _={};if(this.consumeOptional("?"))do{this.parseQueryParam(_)}while(this.consumeOptional("&"));return _}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const _=[];for(this.peekStartsWith("(")||_.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),_.push(this.parseSegment());let p={};this.peekStartsWith("/(")&&(this.capture("/"),p=this.parseParens(!0));let l={};return this.peekStartsWith("(")&&(l=this.parseParens(!1)),(_.length>0||Object.keys(p).length>0)&&(l[xt]=new Be(_,p)),l}parseSegment(){const _=Tn(this.remaining);if(""===_&&this.peekStartsWith(";"))throw new u.wOt(4009,!1);return this.capture(_),new st(rt(_),this.parseMatrixParams())}parseMatrixParams(){const _={};for(;this.consumeOptional(";");)this.parseParam(_);return _}parseParam(_){const p=function kt(f){const _=f.match(zt);return _?_[0]:""}(this.remaining);if(!p)return;this.capture(p);let l="";if(this.consumeOptional("=")){const s=Tn(this.remaining);s&&(l=s,this.capture(l))}_[rt(p)]=rt(l)}parseQueryParam(_){const p=function Ot(f){const _=f.match(bt);return _?_[0]:""}(this.remaining);if(!p)return;this.capture(p);let l="";if(this.consumeOptional("=")){const d=function dn(f){const _=f.match(wn);return _?_[0]:""}(this.remaining);d&&(l=d,this.capture(l))}const s=$t(p),a=$t(l);if(_.hasOwnProperty(s)){let d=_[s];Array.isArray(d)||(d=[d],_[s]=d),d.push(a)}else _[s]=a}parseParens(_){const p={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const l=Tn(this.remaining),s=this.remaining[l.length];if("/"!==s&&")"!==s&&";"!==s)throw new u.wOt(4010,!1);let a;l.indexOf(":")>-1?(a=l.slice(0,l.indexOf(":")),this.capture(a),this.capture(":")):_&&(a=xt);const d=this.parseChildren();p[a]=1===Object.keys(d).length?d[xt]:new Be([],d),this.consumeOptional("//")}return p}peekStartsWith(_){return this.remaining.startsWith(_)}consumeOptional(_){return!!this.peekStartsWith(_)&&(this.remaining=this.remaining.substring(_.length),!0)}capture(_){if(!this.consumeOptional(_))throw new u.wOt(4011,!1)}}function _t(f){return f.segments.length>0?new Be([],{[xt]:f}):f}function me(f){const _={};for(const[l,s]of Object.entries(f.children)){const a=me(s);if(l===xt&&0===a.segments.length&&a.hasChildren())for(const[d,v]of Object.entries(a.children))_[d]=v;else(a.segments.length>0||a.hasChildren())&&(_[l]=a)}return function Ee(f){if(1===f.numberOfChildren&&f.children[xt]){const _=f.children[xt];return new Be(f.segments.concat(_.segments),_.children)}return f}(new Be(f.segments,_))}function Et(f){return f instanceof Ne}function gn(f){let _;const s=_t(function p(a){const d={};for(const E of a.children){const L=p(E);d[E.outlet]=L}const v=new Be(a.url,d);return a===f&&(_=v),v}(f.root));return _??s}function Qt(f,_,p,l){let s=f;for(;s.parent;)s=s.parent;if(0===_.length)return Sn(s,s,s,p,l);const a=function P(f){if("string"==typeof f[0]&&1===f.length&&"/"===f[0])return new et(!0,0,f);let _=0,p=!1;const l=f.reduce((s,a,d)=>{if("object"==typeof a&&null!=a){if(a.outlets){const v={};return Object.entries(a.outlets).forEach(([E,L])=>{v[E]="string"==typeof L?L.split("/"):L}),[...s,{outlets:v}]}if(a.segmentPath)return[...s,a.segmentPath]}return"string"!=typeof a?[...s,a]:0===d?(a.split("/").forEach((v,E)=>{0==E&&"."===v||(0==E&&""===v?p=!0:".."===v?_++:""!=v&&s.push(v))}),s):[...s,a]},[]);return new et(p,_,l)}(_);if(a.toRoot())return Sn(s,s,new Be([],{}),p,l);const d=function B(f,_,p){if(f.isAbsolute)return new x(_,!0,0);if(!p)return new x(_,!1,NaN);if(null===p.parent)return new x(p,!0,0);const l=Vn(f.commands[0])?0:1;return function ce(f,_,p){let l=f,s=_,a=p;for(;a>s;){if(a-=s,l=l.parent,!l)throw new u.wOt(4005,!1);s=l.segments.length}return new x(l,!1,s-a)}(p,p.segments.length-1+l,f.numberOfDoubleDots)}(a,s,f),v=d.processChildren?Re(d.segmentGroup,d.index,a.commands):be(d.segmentGroup,d.index,a.commands);return Sn(s,d.segmentGroup,v,p,l)}function Vn(f){return"object"==typeof f&&null!=f&&!f.outlets&&!f.segmentPath}function kn(f){return"object"==typeof f&&null!=f&&f.outlets}function Sn(f,_,p,l,s){let d,a={};l&&Object.entries(l).forEach(([E,L])=>{a[E]=Array.isArray(L)?L.map(q=>`${q}`):`${L}`}),d=f===_?p:ir(f,_,p);const v=_t(me(d));return new Ne(v,a,s)}function ir(f,_,p){const l={};return Object.entries(f.children).forEach(([s,a])=>{l[s]=a===_?p:ir(a,_,p)}),new Be(f.segments,l)}class et{constructor(_,p,l){if(this.isAbsolute=_,this.numberOfDoubleDots=p,this.commands=l,_&&l.length>0&&Vn(l[0]))throw new u.wOt(4003,!1);const s=l.find(kn);if(s&&s!==Gr(l))throw new u.wOt(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class x{constructor(_,p,l){this.segmentGroup=_,this.processChildren=p,this.index=l}}function be(f,_,p){if(f??=new Be([],{}),0===f.segments.length&&f.hasChildren())return Re(f,_,p);const l=function Je(f,_,p){let l=0,s=_;const a={match:!1,pathIndex:0,commandIndex:0};for(;s<f.segments.length;){if(l>=p.length)return a;const d=f.segments[s],v=p[l];if(kn(v))break;const E=`${v}`,L=l<p.length-1?p[l+1]:null;if(s>0&&void 0===E)break;if(E&&L&&"object"==typeof L&&void 0===L.outlets){if(!k(E,L,d))return a;l+=2}else{if(!k(E,{},d))return a;l++}s++}return{match:!0,pathIndex:s,commandIndex:l}}(f,_,p),s=p.slice(l.commandIndex);if(l.match&&l.pathIndex<f.segments.length){const a=new Be(f.segments.slice(0,l.pathIndex),{});return a.children[xt]=new Be(f.segments.slice(l.pathIndex),f.children),Re(a,0,s)}return l.match&&0===s.length?new Be(f.segments,{}):l.match&&!f.hasChildren()?Ke(f,_,p):l.match?Re(f,0,s):Ke(f,_,p)}function Re(f,_,p){if(0===p.length)return new Be(f.segments,{});{const l=function Me(f){return kn(f[0])?f[0].outlets:{[xt]:f}}(p),s={};if(Object.keys(l).some(a=>a!==xt)&&f.children[xt]&&1===f.numberOfChildren&&0===f.children[xt].segments.length){const a=Re(f.children[xt],_,p);return new Be(f.segments,a.children)}return Object.entries(l).forEach(([a,d])=>{"string"==typeof d&&(d=[d]),null!==d&&(s[a]=be(f.children[a],_,d))}),Object.entries(f.children).forEach(([a,d])=>{void 0===l[a]&&(s[a]=d)}),new Be(f.segments,s)}}function Ke(f,_,p){const l=f.segments.slice(0,_);let s=0;for(;s<p.length;){const a=p[s];if(kn(a)){const E=Lt(a.outlets);return new Be(l,E)}if(0===s&&Vn(p[0])){l.push(new st(f.segments[_].path,D(p[0]))),s++;continue}const d=kn(a)?a.outlets[xt]:`${a}`,v=s<p.length-1?p[s+1]:null;d&&v&&Vn(v)?(l.push(new st(d,D(v))),s+=2):(l.push(new st(d,{})),s++)}return new Be(l,{})}function Lt(f){const _={};return Object.entries(f).forEach(([p,l])=>{"string"==typeof l&&(l=[l]),null!==l&&(_[p]=Ke(new Be([],{}),0,l))}),_}function D(f){const _={};return Object.entries(f).forEach(([p,l])=>_[p]=`${l}`),_}function k(f,_,p){return f==p.path&&Yt(_,p.parameters)}const N="imperative";var F=function(f){return f[f.NavigationStart=0]="NavigationStart",f[f.NavigationEnd=1]="NavigationEnd",f[f.NavigationCancel=2]="NavigationCancel",f[f.NavigationError=3]="NavigationError",f[f.RoutesRecognized=4]="RoutesRecognized",f[f.ResolveStart=5]="ResolveStart",f[f.ResolveEnd=6]="ResolveEnd",f[f.GuardsCheckStart=7]="GuardsCheckStart",f[f.GuardsCheckEnd=8]="GuardsCheckEnd",f[f.RouteConfigLoadStart=9]="RouteConfigLoadStart",f[f.RouteConfigLoadEnd=10]="RouteConfigLoadEnd",f[f.ChildActivationStart=11]="ChildActivationStart",f[f.ChildActivationEnd=12]="ChildActivationEnd",f[f.ActivationStart=13]="ActivationStart",f[f.ActivationEnd=14]="ActivationEnd",f[f.Scroll=15]="Scroll",f[f.NavigationSkipped=16]="NavigationSkipped",f}(F||{});class ge{constructor(_,p){this.id=_,this.url=p}}class Ie extends ge{constructor(_,p,l="imperative",s=null){super(_,p),this.type=F.NavigationStart,this.navigationTrigger=l,this.restoredState=s}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class ke extends ge{constructor(_,p,l){super(_,p),this.urlAfterRedirects=l,this.type=F.NavigationEnd}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}var qe=function(f){return f[f.Redirect=0]="Redirect",f[f.SupersededByNewNavigation=1]="SupersededByNewNavigation",f[f.NoDataFromResolver=2]="NoDataFromResolver",f[f.GuardRejected=3]="GuardRejected",f}(qe||{}),dt=function(f){return f[f.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",f[f.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",f}(dt||{});class nt extends ge{constructor(_,p,l,s){super(_,p),this.reason=l,this.code=s,this.type=F.NavigationCancel}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class Gt extends ge{constructor(_,p,l,s){super(_,p),this.reason=l,this.code=s,this.type=F.NavigationSkipped}}class En extends ge{constructor(_,p,l,s){super(_,p),this.error=l,this.target=s,this.type=F.NavigationError}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class Hn extends ge{constructor(_,p,l,s){super(_,p),this.urlAfterRedirects=l,this.state=s,this.type=F.RoutesRecognized}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class In extends ge{constructor(_,p,l,s){super(_,p),this.urlAfterRedirects=l,this.state=s,this.type=F.GuardsCheckStart}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class $n extends ge{constructor(_,p,l,s,a){super(_,p),this.urlAfterRedirects=l,this.state=s,this.shouldActivate=a,this.type=F.GuardsCheckEnd}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class Wn extends ge{constructor(_,p,l,s){super(_,p),this.urlAfterRedirects=l,this.state=s,this.type=F.ResolveStart}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class ur extends ge{constructor(_,p,l,s){super(_,p),this.urlAfterRedirects=l,this.state=s,this.type=F.ResolveEnd}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class li{constructor(_){this.route=_,this.type=F.RouteConfigLoadStart}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class po{constructor(_){this.route=_,this.type=F.RouteConfigLoadEnd}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class vs{constructor(_){this.snapshot=_,this.type=F.ChildActivationStart}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Go{constructor(_){this.snapshot=_,this.type=F.ChildActivationEnd}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class js{constructor(_){this.snapshot=_,this.type=F.ActivationStart}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class ki{constructor(_){this.snapshot=_,this.type=F.ActivationEnd}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Fi{constructor(_,p,l){this.routerEvent=_,this.position=p,this.anchor=l,this.type=F.Scroll}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}class go{}class gi{constructor(_,p){this.url=_,this.navigationBehaviorOptions=p}}function Wr(f){return f.outlet||xt}function ro(f){if(!f)return null;if(f.routeConfig?._injector)return f.routeConfig._injector;for(let _=f.parent;_;_=_.parent){const p=_.routeConfig;if(p?._loadedInjector)return p._loadedInjector;if(p?._injector)return p._injector}return null}class io{get injector(){return ro(this.route?.snapshot)??this.rootInjector}set injector(_){}constructor(_){this.rootInjector=_,this.outlet=null,this.route=null,this.children=new Bi(this.rootInjector),this.attachRef=null}}let Bi=(()=>{class f{constructor(p){this.rootInjector=p,this.contexts=new Map}onChildOutletCreated(p,l){const s=this.getOrCreateContext(p);s.outlet=l,this.contexts.set(p,s)}onChildOutletDestroyed(p){const l=this.getContext(p);l&&(l.outlet=null,l.attachRef=null)}onOutletDeactivated(){const p=this.contexts;return this.contexts=new Map,p}onOutletReAttached(p){this.contexts=p}getOrCreateContext(p){let l=this.getContext(p);return l||(l=new io(this.rootInjector),this.contexts.set(p,l)),l}getContext(p){return this.contexts.get(p)||null}static#e=this.\u0275fac=function(l){return new(l||f)(u.KVO(u.uvJ))};static#t=this.\u0275prov=u.jDH({token:f,factory:f.\u0275fac,providedIn:"root"})}return f})();class Oo{constructor(_){this._root=_}get root(){return this._root.value}parent(_){const p=this.pathFromRoot(_);return p.length>1?p[p.length-2]:null}children(_){const p=Ko(_,this._root);return p?p.children.map(l=>l.value):[]}firstChild(_){const p=Ko(_,this._root);return p&&p.children.length>0?p.children[0].value:null}siblings(_){const p=qo(_,this._root);return p.length<2?[]:p[p.length-2].children.map(s=>s.value).filter(s=>s!==_)}pathFromRoot(_){return qo(_,this._root).map(p=>p.value)}}function Ko(f,_){if(f===_.value)return _;for(const p of _.children){const l=Ko(f,p);if(l)return l}return null}function qo(f,_){if(f===_.value)return[_];for(const p of _.children){const l=qo(f,p);if(l.length)return l.unshift(_),l}return[]}class Vr{constructor(_,p){this.value=_,this.children=p}toString(){return`TreeNode(${this.value})`}}function oo(f){const _={};return f&&f.children.forEach(p=>_[p.value.outlet]=p),_}class Hs extends Oo{constructor(_,p){super(_),this.snapshot=p,Po(this,_)}toString(){return this.snapshot.toString()}}function ji(f){const _=function Qo(f){const a=new Mr([],{},{},"",{},xt,f,null,{});return new _o("",new Vr(a,[]))}(f),p=new j.t([new st("",{})]),l=new j.t({}),s=new j.t({}),a=new j.t({}),d=new j.t(""),v=new at(p,l,a,d,s,xt,f,_.root);return v.snapshot=_.root,new Hs(new Vr(v,[]),_)}class at{constructor(_,p,l,s,a,d,v,E){this.urlSubject=_,this.paramsSubject=p,this.queryParamsSubject=l,this.fragmentSubject=s,this.dataSubject=a,this.outlet=d,this.component=v,this._futureSnapshot=E,this.title=this.dataSubject?.pipe((0,De.T)(L=>L[Zn]))??(0,z.of)(void 0),this.url=_,this.params=p,this.queryParams=l,this.fragment=s,this.data=a}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.params.pipe((0,De.T)(_=>Un(_))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe((0,De.T)(_=>Un(_))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function ti(f,_,p="emptyOnly"){let l;const{routeConfig:s}=f;return l=null===_||"always"!==p&&""!==s?.path&&(_.component||_.routeConfig?.loadComponent)?{params:{...f.params},data:{...f.data},resolve:{...f.data,...f._resolvedData??{}}}:{params:{..._.params,...f.params},data:{..._.data,...f.data},resolve:{...f.data,..._.data,...s?.data,...f._resolvedData}},s&&Mi(s)&&(l.resolve[Zn]=s.title),l}class Mr{get title(){return this.data?.[Zn]}constructor(_,p,l,s,a,d,v,E,L){this.url=_,this.params=p,this.queryParams=l,this.fragment=s,this.data=a,this.outlet=d,this.component=v,this.routeConfig=E,this._resolve=L}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??=Un(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=Un(this.queryParams),this._queryParamMap}toString(){return`Route(url:'${this.url.map(l=>l.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class _o extends Oo{constructor(_,p){super(p),this.url=_,Po(this,p)}toString(){return Di(this._root)}}function Po(f,_){_.value._routerState=f,_.children.forEach(p=>Po(f,p))}function Di(f){const _=f.children.length>0?` { ${f.children.map(Di).join(", ")} } `:"";return`${f.value}${_}`}function Ui(f){if(f.snapshot){const _=f.snapshot,p=f._futureSnapshot;f.snapshot=p,Yt(_.queryParams,p.queryParams)||f.queryParamsSubject.next(p.queryParams),_.fragment!==p.fragment&&f.fragmentSubject.next(p.fragment),Yt(_.params,p.params)||f.paramsSubject.next(p.params),function gr(f,_){if(f.length!==_.length)return!1;for(let p=0;p<f.length;++p)if(!Yt(f[p],_[p]))return!1;return!0}(_.url,p.url)||f.urlSubject.next(p.url),Yt(_.data,p.data)||f.dataSubject.next(p.data)}else f.snapshot=f._futureSnapshot,f.dataSubject.next(f._futureSnapshot.data)}function ni(f,_){const p=Yt(f.params,_.params)&&function yt(f,_){return vt(f,_)&&f.every((p,l)=>Yt(p.parameters,_[l].parameters))}(f.url,_.url);return p&&!(!f.parent!=!_.parent)&&(!f.parent||ni(f.parent,_.parent))}function Mi(f){return"string"==typeof f.title||null===f.title}let ri=(()=>{class f{constructor(){this.activated=null,this._activatedRoute=null,this.name=xt,this.activateEvents=new u.bkB,this.deactivateEvents=new u.bkB,this.attachEvents=new u.bkB,this.detachEvents=new u.bkB,this.parentContexts=(0,u.WQX)(Bi),this.location=(0,u.WQX)(u.c1b),this.changeDetector=(0,u.WQX)(u.gRc),this.inputBinder=(0,u.WQX)(yo,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(p){if(p.name){const{firstChange:l,previousValue:s}=p.name;if(l)return;this.isTrackedInParentContexts(s)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(s)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(p){return this.parentContexts.getContext(p)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;const p=this.parentContexts.getContext(this.name);p?.route&&(p.attachRef?this.attach(p.attachRef,p.route):this.activateWith(p.route,p.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new u.wOt(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new u.wOt(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new u.wOt(4012,!1);this.location.detach();const p=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(p.instance),p}attach(p,l){this.activated=p,this._activatedRoute=l,this.location.insert(p.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(p.instance)}deactivate(){if(this.activated){const p=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(p)}}activateWith(p,l){if(this.isActivated)throw new u.wOt(4013,!1);this._activatedRoute=p;const s=this.location,d=p.snapshot.component,v=this.parentContexts.getOrCreateContext(this.name).children,E=new ci(p,v,s.injector);this.activated=s.createComponent(d,{index:s.length,injector:E,environmentInjector:l}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}static#e=this.\u0275fac=function(l){return new(l||f)};static#t=this.\u0275dir=u.FsC({type:f,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[u.OA$]})}return f})();class ci{__ngOutletInjector(_){return new ci(this.route,this.childContexts,_)}constructor(_,p,l){this.route=_,this.childContexts=p,this.parent=l}get(_,p){return _===at?this.route:_===Bi?this.childContexts:this.parent.get(_,p)}}const yo=new u.nKC("");let br=(()=>{class f{constructor(){this.outletDataSubscriptions=new Map}bindActivatedRouteToOutletComponent(p){this.unsubscribeFromRouteData(p),this.subscribeToRouteData(p)}unsubscribeFromRouteData(p){this.outletDataSubscriptions.get(p)?.unsubscribe(),this.outletDataSubscriptions.delete(p)}subscribeToRouteData(p){const{activatedRoute:l}=p,s=we([l.queryParams,l.params,l.data]).pipe((0,Se.n)(([a,d,v],E)=>(v={...a,...d,...v},0===E?(0,z.of)(v):Promise.resolve(v)))).subscribe(a=>{if(!p.isActivated||!p.activatedComponentRef||p.activatedRoute!==l||null===l.component)return void this.unsubscribeFromRouteData(p);const d=(0,u.HJs)(l.component);if(d)for(const{templateName:v}of d.inputs)p.activatedComponentRef.setInput(v,a[v]);else this.unsubscribeFromRouteData(p)});this.outletDataSubscriptions.set(p,s)}static#e=this.\u0275fac=function(l){return new(l||f)};static#t=this.\u0275prov=u.jDH({token:f,factory:f.\u0275fac})}return f})();function ui(f,_,p){if(p&&f.shouldReuseRoute(_.value,p.value.snapshot)){const l=p.value;l._futureSnapshot=_.value;const s=function or(f,_,p){return _.children.map(l=>{for(const s of p.children)if(f.shouldReuseRoute(l.value,s.value.snapshot))return ui(f,l,s);return ui(f,l)})}(f,_,p);return new Vr(l,s)}{if(f.shouldAttach(_.value)){const a=f.retrieve(_.value);if(null!==a){const d=a.route;return d.value._futureSnapshot=_.value,d.children=_.children.map(v=>ui(f,v)),d}}const l=function $s(f){return new at(new j.t(f.url),new j.t(f.params),new j.t(f.queryParams),new j.t(f.fragment),new j.t(f.data),f.outlet,f.component,f)}(_.value),s=_.children.map(a=>ui(f,a));return new Vr(l,s)}}class Xo{constructor(_,p){this.redirectTo=_,this.navigationBehaviorOptions=p}}const yn="ngNavigationCancelingError";function Ao(f,_){const{redirectTo:p,navigationBehaviorOptions:l}=Et(_)?{redirectTo:_,navigationBehaviorOptions:void 0}:_,s=dr(!1,qe.Redirect);return s.url=p,s.navigationBehaviorOptions=l,s}function dr(f,_){const p=new Error(`NavigationCancelingError: ${f||""}`);return p[yn]=!0,p.cancellationCode=_,p}function Zo(f){return!!f&&f[yn]}class Xt{constructor(_,p,l,s,a){this.routeReuseStrategy=_,this.futureState=p,this.currState=l,this.forwardEvent=s,this.inputBindingEnabled=a}activate(_){const p=this.futureState._root,l=this.currState?this.currState._root:null;this.deactivateChildRoutes(p,l,_),Ui(this.futureState.root),this.activateChildRoutes(p,l,_)}deactivateChildRoutes(_,p,l){const s=oo(p);_.children.forEach(a=>{const d=a.value.outlet;this.deactivateRoutes(a,s[d],l),delete s[d]}),Object.values(s).forEach(a=>{this.deactivateRouteAndItsChildren(a,l)})}deactivateRoutes(_,p,l){const s=_.value,a=p?p.value:null;if(s===a)if(s.component){const d=l.getContext(s.outlet);d&&this.deactivateChildRoutes(_,p,d.children)}else this.deactivateChildRoutes(_,p,l);else a&&this.deactivateRouteAndItsChildren(p,l)}deactivateRouteAndItsChildren(_,p){_.value.component&&this.routeReuseStrategy.shouldDetach(_.value.snapshot)?this.detachAndStoreRouteSubtree(_,p):this.deactivateRouteAndOutlet(_,p)}detachAndStoreRouteSubtree(_,p){const l=p.getContext(_.value.outlet),s=l&&_.value.component?l.children:p,a=oo(_);for(const d of Object.values(a))this.deactivateRouteAndItsChildren(d,s);if(l&&l.outlet){const d=l.outlet.detach(),v=l.children.onOutletDeactivated();this.routeReuseStrategy.store(_.value.snapshot,{componentRef:d,route:_,contexts:v})}}deactivateRouteAndOutlet(_,p){const l=p.getContext(_.value.outlet),s=l&&_.value.component?l.children:p,a=oo(_);for(const d of Object.values(a))this.deactivateRouteAndItsChildren(d,s);l&&(l.outlet&&(l.outlet.deactivate(),l.children.onOutletDeactivated()),l.attachRef=null,l.route=null)}activateChildRoutes(_,p,l){const s=oo(p);_.children.forEach(a=>{this.activateRoutes(a,s[a.value.outlet],l),this.forwardEvent(new ki(a.value.snapshot))}),_.children.length&&this.forwardEvent(new Go(_.value.snapshot))}activateRoutes(_,p,l){const s=_.value,a=p?p.value:null;if(Ui(s),s===a)if(s.component){const d=l.getOrCreateContext(s.outlet);this.activateChildRoutes(_,p,d.children)}else this.activateChildRoutes(_,p,l);else if(s.component){const d=l.getOrCreateContext(s.outlet);if(this.routeReuseStrategy.shouldAttach(s.snapshot)){const v=this.routeReuseStrategy.retrieve(s.snapshot);this.routeReuseStrategy.store(s.snapshot,null),d.children.onOutletReAttached(v.contexts),d.attachRef=v.componentRef,d.route=v.route.value,d.outlet&&d.outlet.attach(v.componentRef,v.route.value),Ui(v.route.value),this.activateChildRoutes(_,null,d.children)}else d.attachRef=null,d.route=s,d.outlet&&d.outlet.activateWith(s,d.injector),this.activateChildRoutes(_,null,d.children)}else this.activateChildRoutes(_,null,l)}}class mr{constructor(_){this.path=_,this.route=this.path[this.path.length-1]}}class nr{constructor(_,p){this.component=_,this.route=p}}function ua(f,_,p){const l=f._root;return Pr(l,_?_._root:null,p,[l.value])}function wo(f,_){const p=Symbol(),l=_.get(f,p);return l===p?"function"!=typeof f||(0,u.LfX)(f)?_.get(f):f:l}function Pr(f,_,p,l,s={canDeactivateChecks:[],canActivateChecks:[]}){const a=oo(_);return f.children.forEach(d=>{(function bs(f,_,p,l,s={canDeactivateChecks:[],canActivateChecks:[]}){const a=f.value,d=_?_.value:null,v=p?p.getContext(f.value.outlet):null;if(d&&a.routeConfig===d.routeConfig){const E=function b(f,_,p){if("function"==typeof p)return p(f,_);switch(p){case"pathParamsChange":return!vt(f.url,_.url);case"pathParamsOrQueryParamsChange":return!vt(f.url,_.url)||!Yt(f.queryParams,_.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!ni(f,_)||!Yt(f.queryParams,_.queryParams);default:return!ni(f,_)}}(d,a,a.routeConfig.runGuardsAndResolvers);E?s.canActivateChecks.push(new mr(l)):(a.data=d.data,a._resolvedData=d._resolvedData),Pr(f,_,a.component?v?v.children:null:p,l,s),E&&v&&v.outlet&&v.outlet.isActivated&&s.canDeactivateChecks.push(new nr(v.outlet.component,d))}else d&&T(_,v,s),s.canActivateChecks.push(new mr(l)),Pr(f,null,a.component?v?v.children:null:p,l,s)})(d,a[d.value.outlet],p,l.concat([d.value]),s),delete a[d.value.outlet]}),Object.entries(a).forEach(([d,v])=>T(v,p.getContext(d),s)),s}function T(f,_,p){const l=oo(f),s=f.value;Object.entries(l).forEach(([a,d])=>{T(d,s.component?_?_.children.getContext(a):null:_,p)}),p.canDeactivateChecks.push(new nr(s.component&&_&&_.outlet&&_.outlet.isActivated?_.outlet.component:null,s))}function y(f){return"function"==typeof f}function so(f){return f instanceof ot||"EmptyError"===f?.name}const Ds=Symbol("INITIAL_VALUE");function No(){return(0,Se.n)(f=>we(f.map(_=>_.pipe((0,Le.s)(1),function Fe(...f){const _=(0,X.lI)(f);return(0,ie.N)((p,l)=>{(_?He(f,p,_):He(f,p)).subscribe(l)})}(Ds)))).pipe((0,De.T)(_=>{for(const p of _)if(!0!==p){if(p===Ds)return Ds;if(!1===p||da(p))return p}return!0}),(0,Dt.p)(_=>_!==Ds),(0,Le.s)(1)))}function da(f){return Et(f)||f instanceof Xo}function ns(f){return(0,it.F)((0,On.M)(_=>{if("boolean"!=typeof _)throw Ao(0,_)}),(0,De.T)(_=>!0===_))}class xo{constructor(_){this.segmentGroup=_||null}}class rs extends Error{constructor(_){super(),this.urlTree=_}}function Zt(f){return(0,Ye.$)(new xo(f))}class Ws{constructor(_,p){this.urlSerializer=_,this.urlTree=p}lineralizeSegments(_,p){let l=[],s=p.root;for(;;){if(l=l.concat(s.segments),0===s.numberOfChildren)return(0,z.of)(l);if(s.numberOfChildren>1||!s.children[xt])return(0,Ye.$)(new u.wOt(4e3,!1));s=s.children[xt]}}applyRedirectCommands(_,p,l,s,a){if("string"!=typeof p){const v=p,{queryParams:E,fragment:L,routeConfig:q,url:ue,outlet:Te,params:Ct,data:ht,title:an}=s,Wt=(0,u.N4e)(a,()=>v({params:Ct,data:ht,queryParams:E,fragment:L,routeConfig:q,url:ue,outlet:Te,title:an}));if(Wt instanceof Ne)throw new rs(Wt);p=Wt}const d=this.applyRedirectCreateUrlTree(p,this.urlSerializer.parse(p),_,l);if("/"===p[0])throw new rs(d);return d}applyRedirectCreateUrlTree(_,p,l,s){const a=this.createSegmentGroup(_,p.root,l,s);return new Ne(a,this.createQueryParams(p.queryParams,this.urlTree.queryParams),p.fragment)}createQueryParams(_,p){const l={};return Object.entries(_).forEach(([s,a])=>{if("string"==typeof a&&":"===a[0]){const v=a.substring(1);l[s]=p[v]}else l[s]=a}),l}createSegmentGroup(_,p,l,s){const a=this.createSegments(_,p.segments,l,s);let d={};return Object.entries(p.children).forEach(([v,E])=>{d[v]=this.createSegmentGroup(_,E,l,s)}),new Be(a,d)}createSegments(_,p,l,s){return p.map(a=>":"===a.path[0]?this.findPosParam(_,a,s):this.findOrReturn(a,l))}findPosParam(_,p,l){const s=l[p.path.substring(1)];if(!s)throw new u.wOt(4001,!1);return s}findOrReturn(_,p){let l=0;for(const s of p){if(s.path===_.path)return p.splice(l),s;l++}return _}}const Ks={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function qs(f,_,p,l,s){const a=za(f,_,p);return a.matched?(l=function ws(f,_){return f.providers&&!f._injector&&(f._injector=(0,u.Ol2)(f.providers,_,`Route: ${f.path}`)),f._injector??_}(_,l),function ha(f,_,p,l){const s=_.canMatch;if(!s||0===s.length)return(0,z.of)(!0);const a=s.map(d=>{const v=wo(d,f);return Kn(function Bt(f){return f&&y(f.canMatch)}(v)?v.canMatch(_,p):(0,u.N4e)(f,()=>v(_,p)))});return(0,z.of)(a).pipe(No(),ns())}(l,_,p).pipe((0,De.T)(d=>!0===d?a:{...Ks}))):(0,z.of)(a)}function za(f,_,p){if("**"===_.path)return function Kl(f){return{matched:!0,parameters:f.length>0?Gr(f).parameters:{},consumedSegments:f,remainingSegments:[],positionalParamSegments:{}}}(p);if(""===_.path)return"full"===_.pathMatch&&(f.hasChildren()||p.length>0)?{...Ks}:{matched:!0,consumedSegments:[],remainingSegments:p,parameters:{},positionalParamSegments:{}};const s=(_.matcher||Or)(p,f,_);if(!s)return{...Ks};const a={};Object.entries(s.posParams??{}).forEach(([v,E])=>{a[v]=E.path});const d=s.consumed.length>0?{...a,...s.consumed[s.consumed.length-1].parameters}:a;return{matched:!0,consumedSegments:s.consumed,remainingSegments:p.slice(s.consumed.length),parameters:d,positionalParamSegments:s.posParams??{}}}function Ga(f,_,p,l){return p.length>0&&function is(f,_,p){return p.some(l=>Ro(f,_,l)&&Wr(l)!==xt)}(f,p,l)?{segmentGroup:new Be(_,fa(l,new Be(p,f.children))),slicedSegments:[]}:0===p.length&&function Qs(f,_,p){return p.some(l=>Ro(f,_,l))}(f,p,l)?{segmentGroup:new Be(f.segments,gu(f,p,l,f.children)),slicedSegments:p}:{segmentGroup:new Be(f.segments,f.children),slicedSegments:p}}function gu(f,_,p,l){const s={};for(const a of p)if(Ro(f,_,a)&&!l[Wr(a)]){const d=new Be([],{});s[Wr(a)]=d}return{...l,...s}}function fa(f,_){const p={};p[xt]=_;for(const l of f)if(""===l.path&&Wr(l)!==xt){const s=new Be([],{});p[Wr(l)]=s}return p}function Ro(f,_,p){return(!(f.hasChildren()||_.length>0)||"full"!==p.pathMatch)&&""===p.path}class $i{}class nn{constructor(_,p,l,s,a,d,v){this.injector=_,this.configLoader=p,this.rootComponentType=l,this.config=s,this.urlTree=a,this.paramsInheritanceStrategy=d,this.urlSerializer=v,this.applyRedirects=new Ws(this.urlSerializer,this.urlTree),this.absoluteRedirectCount=0,this.allowRedirects=!0}noMatchError(_){return new u.wOt(4002,`'${_.segmentGroup}'`)}recognize(){const _=Ga(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(_).pipe((0,De.T)(({children:p,rootSnapshot:l})=>{const s=new Vr(l,p),a=new _o("",s),d=function Ft(f,_,p=null,l=null){return Qt(gn(f),_,p,l)}(l,[],this.urlTree.queryParams,this.urlTree.fragment);return d.queryParams=this.urlTree.queryParams,a.url=this.urlSerializer.serialize(d),{state:a,tree:d}}))}match(_){const p=new Mr([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,Object.freeze({}),xt,this.rootComponentType,null,{});return this.processSegmentGroup(this.injector,this.config,_,xt,p).pipe((0,De.T)(l=>({children:l,rootSnapshot:p})),(0,Pn.W)(l=>{if(l instanceof rs)return this.urlTree=l.urlTree,this.match(l.urlTree.root);throw l instanceof xo?this.noMatchError(l):l}))}processSegmentGroup(_,p,l,s,a){return 0===l.segments.length&&l.hasChildren()?this.processChildren(_,p,l,a):this.processSegment(_,p,l,l.segments,s,!0,a).pipe((0,De.T)(d=>d instanceof Vr?[d]:[]))}processChildren(_,p,l,s){const a=[];for(const d of Object.keys(l.children))"primary"===d?a.unshift(d):a.push(d);return(0,H.H)(a).pipe((0,Xn.H)(d=>{const v=l.children[d],E=function no(f,_){const p=f.filter(l=>Wr(l)===_);return p.push(...f.filter(l=>Wr(l)!==_)),p}(p,d);return this.processSegmentGroup(_,E,v,d,s)}),function $r(f,_){return(0,ie.N)(function Sr(f,_,p,l,s){return(a,d)=>{let v=p,E=_,L=0;a.subscribe((0,xe._)(d,q=>{const ue=L++;E=v?f(E,q,ue):(v=!0,q),l&&d.next(E)},s&&(()=>{v&&d.next(E),d.complete()})))}}(f,_,arguments.length>=2,!0))}((d,v)=>(d.push(...v),d)),Kt(null),function Gn(f,_){const p=arguments.length>=2;return l=>l.pipe(f?(0,Dt.p)((s,a)=>f(s,a,l)):ee.D,An(1),p?Kt(_):tn(()=>new ot))}(),(0,Rt.Z)(d=>{if(null===d)return Zt(l);const v=ga(d);return function Nn(f){f.sort((_,p)=>_.value.outlet===xt?-1:p.value.outlet===xt?1:_.value.outlet.localeCompare(p.value.outlet))}(v),(0,z.of)(v)}))}processSegment(_,p,l,s,a,d,v){return(0,H.H)(p).pipe((0,Xn.H)(E=>this.processSegmentAgainstRoute(E._injector??_,p,E,l,s,a,d,v).pipe((0,Pn.W)(L=>{if(L instanceof xo)return(0,z.of)(null);throw L}))),Qn(E=>!!E),(0,Pn.W)(E=>{if(so(E))return function Wa(f,_,p){return 0===_.length&&!f.children[p]}(l,s,a)?(0,z.of)(new $i):Zt(l);throw E}))}processSegmentAgainstRoute(_,p,l,s,a,d,v,E){return Wr(l)===d||d!==xt&&Ro(s,a,l)?void 0===l.redirectTo?this.matchSegmentAgainstRoute(_,s,l,a,d,E):this.allowRedirects&&v?this.expandSegmentAgainstRouteUsingRedirect(_,s,p,l,a,d,E):Zt(s):Zt(s)}expandSegmentAgainstRouteUsingRedirect(_,p,l,s,a,d,v){const{matched:E,parameters:L,consumedSegments:q,positionalParamSegments:ue,remainingSegments:Te}=za(p,s,a);if(!E)return Zt(p);"string"==typeof s.redirectTo&&"/"===s.redirectTo[0]&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>31&&(this.allowRedirects=!1));const Ct=new Mr(a,L,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,Ka(s),Wr(s),s.component??s._loadedComponent??null,s,ma(s)),ht=ti(Ct,v,this.paramsInheritanceStrategy);Ct.params=Object.freeze(ht.params),Ct.data=Object.freeze(ht.data);const an=this.applyRedirects.applyRedirectCommands(q,s.redirectTo,ue,Ct,_);return this.applyRedirects.lineralizeSegments(s,an).pipe((0,Rt.Z)(Wt=>this.processSegment(_,l,p,Wt.concat(Te),d,!1,v)))}matchSegmentAgainstRoute(_,p,l,s,a,d){const v=qs(p,l,s,_);return"**"===l.path&&(p.children={}),v.pipe((0,Se.n)(E=>E.matched?this.getChildConfig(_=l._injector??_,l,s).pipe((0,Se.n)(({routes:L})=>{const q=l._loadedInjector??_,{parameters:ue,consumedSegments:Te,remainingSegments:Ct}=E,ht=new Mr(Te,ue,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,Ka(l),Wr(l),l.component??l._loadedComponent??null,l,ma(l)),an=ti(ht,d,this.paramsInheritanceStrategy);ht.params=Object.freeze(an.params),ht.data=Object.freeze(an.data);const{segmentGroup:Wt,slicedSegments:Ut}=Ga(p,Te,Ct,L);if(0===Ut.length&&Wt.hasChildren())return this.processChildren(q,L,Wt,ht).pipe((0,De.T)(qn=>new Vr(ht,qn)));if(0===L.length&&0===Ut.length)return(0,z.of)(new Vr(ht,[]));const rn=Wr(l)===a;return this.processSegment(q,L,Wt,Ut,rn?xt:a,!0,ht).pipe((0,De.T)(qn=>new Vr(ht,qn instanceof Vr?[qn]:[])))})):Zt(p)))}getChildConfig(_,p,l){return p.children?(0,z.of)({routes:p.children,injector:_}):p.loadChildren?void 0!==p._loadedRoutes?(0,z.of)({routes:p._loadedRoutes,injector:p._loadedInjector}):function ts(f,_,p,l){const s=_.canLoad;if(void 0===s||0===s.length)return(0,z.of)(!0);const a=s.map(d=>{const v=wo(d,f);return Kn(function ne(f){return f&&y(f.canLoad)}(v)?v.canLoad(_,p):(0,u.N4e)(f,()=>v(_,p)))});return(0,z.of)(a).pipe(No(),ns())}(_,p,l).pipe((0,Rt.Z)(s=>s?this.configLoader.loadChildren(_,p).pipe((0,On.M)(a=>{p._loadedRoutes=a.routes,p._loadedInjector=a.injector})):function ao(){return(0,Ye.$)(dr(!1,qe.GuardRejected))}())):(0,z.of)({routes:[],injector:_})}}function ql(f){const _=f.value.routeConfig;return _&&""===_.path}function ga(f){const _=[],p=new Set;for(const l of f){if(!ql(l)){_.push(l);continue}const s=_.find(a=>l.value.routeConfig===a.value.routeConfig);void 0!==s?(s.children.push(...l.children),p.add(s)):_.push(l)}for(const l of p){const s=ga(l.children);_.push(new Vr(l.value,s))}return _.filter(l=>!p.has(l))}function Ka(f){return f.data||{}}function ma(f){return f.resolve||{}}function Zs(f){const _=f.children.map(p=>Zs(p)).flat();return[f,..._]}function _a(f){return(0,Se.n)(_=>{const p=f(_);return p?(0,H.H)(p).pipe((0,De.T)(()=>_)):(0,z.of)(_)})}let os=(()=>{class f{buildTitle(p){let l,s=p.root;for(;void 0!==s;)l=this.getResolvedTitleForRoute(s)??l,s=s.children.find(a=>a.outlet===xt);return l}getResolvedTitleForRoute(p){return p.data[Zn]}static#e=this.\u0275fac=function(l){return new(l||f)};static#t=this.\u0275prov=u.jDH({token:f,factory:()=>(0,u.WQX)(Os),providedIn:"root"})}return f})(),Os=(()=>{class f extends os{constructor(p){super(),this.title=p}updateTitle(p){const l=this.buildTitle(p);void 0!==l&&this.title.setTitle(l)}static#e=this.\u0275fac=function(l){return new(l||f)(u.KVO(wr.hE))};static#t=this.\u0275prov=u.jDH({token:f,factory:f.\u0275fac,providedIn:"root"})}return f})();const Eo=new u.nKC("",{providedIn:"root",factory:()=>({})});let m=(()=>{class f{static#e=this.\u0275fac=function(l){return new(l||f)};static#t=this.\u0275cmp=u.VBU({type:f,selectors:[["ng-component"]],standalone:!0,features:[u.aNF],decls:1,vars:0,template:function(l,s){1&l&&u.nrm(0,"router-outlet")},dependencies:[ri],encapsulation:2})}return f})();function A(f){const _=f.children&&f.children.map(A),p=_?{...f,children:_}:{...f};return!p.component&&!p.loadComponent&&(_||p.loadChildren)&&p.outlet&&p.outlet!==xt&&(p.component=m),p}const C=new u.nKC("");let I=(()=>{class f{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=(0,u.WQX)(u.Ql9)}loadComponent(p){if(this.componentLoaders.get(p))return this.componentLoaders.get(p);if(p._loadedComponent)return(0,z.of)(p._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(p);const l=Kn(p.loadComponent()).pipe((0,De.T)(We),(0,On.M)(a=>{this.onLoadEndListener&&this.onLoadEndListener(p),p._loadedComponent=a}),(0,tr.j)(()=>{this.componentLoaders.delete(p)})),s=new ye(l,()=>new Ce.B).pipe(pe());return this.componentLoaders.set(p,s),s}loadChildren(p,l){if(this.childrenLoaders.get(l))return this.childrenLoaders.get(l);if(l._loadedRoutes)return(0,z.of)({routes:l._loadedRoutes,injector:l._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(l);const a=function Q(f,_,p,l){return Kn(f.loadChildren()).pipe((0,De.T)(We),(0,Rt.Z)(s=>s instanceof u.Co$||Array.isArray(s)?(0,z.of)(s):(0,H.H)(_.compileModuleAsync(s))),(0,De.T)(s=>{l&&l(f);let a,d,v=!1;return Array.isArray(s)?(d=s,!0):(a=s.create(p).injector,d=a.get(C,[],{optional:!0,self:!0}).flat()),{routes:d.map(A),injector:a}}))}(l,this.compiler,p,this.onLoadEndListener).pipe((0,tr.j)(()=>{this.childrenLoaders.delete(l)})),d=new ye(a,()=>new Ce.B).pipe(pe());return this.childrenLoaders.set(l,d),d}static#e=this.\u0275fac=function(l){return new(l||f)};static#t=this.\u0275prov=u.jDH({token:f,factory:f.\u0275fac,providedIn:"root"})}return f})();function We(f){return function Pe(f){return f&&"object"==typeof f&&"default"in f}(f)?f.default:f}let wt=(()=>{class f{static#e=this.\u0275fac=function(l){return new(l||f)};static#t=this.\u0275prov=u.jDH({token:f,factory:()=>(0,u.WQX)(Jn),providedIn:"root"})}return f})(),Jn=(()=>{class f{shouldProcessUrl(p){return!0}extract(p){return p}merge(p,l){return p}static#e=this.\u0275fac=function(l){return new(l||f)};static#t=this.\u0275prov=u.jDH({token:f,factory:f.\u0275fac,providedIn:"root"})}return f})();const sn=new u.nKC(""),jn=new u.nKC("");function tt(f,_,p){const l=f.get(jn),s=f.get(ve.qQ);return f.get(u.SKi).runOutsideAngular(()=>{if(!s.startViewTransition||l.skipNextTransition)return l.skipNextTransition=!1,new Promise(L=>setTimeout(L));let a;const d=new Promise(L=>{a=L}),v=s.startViewTransition(()=>(a(),function er(f){return new Promise(_=>{(0,u.mal)({read:()=>setTimeout(_)},{injector:f})})}(f))),{onViewTransitionCreated:E}=l;return E&&(0,u.N4e)(f,()=>E({transition:v,from:_,to:p})),d})}const xn=new u.nKC("");let bn=(()=>{class f{get hasRequestedNavigation(){return 0!==this.navigationId}constructor(){this.currentNavigation=null,this.currentTransition=null,this.lastSuccessfulNavigation=null,this.events=new Ce.B,this.transitionAbortSubject=new Ce.B,this.configLoader=(0,u.WQX)(I),this.environmentInjector=(0,u.WQX)(u.uvJ),this.urlSerializer=(0,u.WQX)(oe),this.rootContexts=(0,u.WQX)(Bi),this.location=(0,u.WQX)(ve.aZ),this.inputBindingEnabled=null!==(0,u.WQX)(yo,{optional:!0}),this.titleStrategy=(0,u.WQX)(os),this.options=(0,u.WQX)(Eo,{optional:!0})||{},this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlHandlingStrategy=(0,u.WQX)(wt),this.createViewTransition=(0,u.WQX)(sn,{optional:!0}),this.navigationErrorHandler=(0,u.WQX)(xn,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>(0,z.of)(void 0),this.rootComponentType=null,this.configLoader.onLoadEndListener=s=>this.events.next(new po(s)),this.configLoader.onLoadStartListener=s=>this.events.next(new li(s))}complete(){this.transitions?.complete()}handleNavigationRequest(p){const l=++this.navigationId;this.transitions?.next({...this.transitions.value,...p,id:l})}setupNavigations(p,l,s){return this.transitions=new j.t({id:0,currentUrlTree:l,currentRawUrl:l,extractedUrl:this.urlHandlingStrategy.extract(l),urlAfterRedirects:this.urlHandlingStrategy.extract(l),rawUrl:l,extras:{},resolve:()=>{},reject:()=>{},promise:Promise.resolve(!0),source:N,restoredState:null,currentSnapshot:s.snapshot,targetSnapshot:null,currentRouterState:s,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe((0,Dt.p)(a=>0!==a.id),(0,De.T)(a=>({...a,extractedUrl:this.urlHandlingStrategy.extract(a.rawUrl)})),(0,Se.n)(a=>{let d=!1,v=!1;return(0,z.of)(a).pipe((0,Se.n)(E=>{if(this.navigationId>a.id)return this.cancelNavigationTransition(a,"",qe.SupersededByNewNavigation),Ve.w;this.currentTransition=a,this.currentNavigation={id:E.id,initialUrl:E.rawUrl,extractedUrl:E.extractedUrl,targetBrowserUrl:"string"==typeof E.extras.browserUrl?this.urlSerializer.parse(E.extras.browserUrl):E.extras.browserUrl,trigger:E.source,extras:E.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null};const L=!p.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl();if(!L&&"reload"!==(E.extras.onSameUrlNavigation??p.onSameUrlNavigation)){const ue="";return this.events.next(new Gt(E.id,this.urlSerializer.serialize(E.rawUrl),ue,dt.IgnoredSameUrlNavigation)),E.resolve(!1),Ve.w}if(this.urlHandlingStrategy.shouldProcessUrl(E.rawUrl))return(0,z.of)(E).pipe((0,Se.n)(ue=>{const Te=this.transitions?.getValue();return this.events.next(new Ie(ue.id,this.urlSerializer.serialize(ue.extractedUrl),ue.source,ue.restoredState)),Te!==this.transitions?.getValue()?Ve.w:Promise.resolve(ue)}),function Xs(f,_,p,l,s,a){return(0,Rt.Z)(d=>function Ss(f,_,p,l,s,a,d="emptyOnly"){return new nn(f,_,p,l,s,d,a).recognize()}(f,_,p,l,d.extractedUrl,s,a).pipe((0,De.T)(({state:v,tree:E})=>({...d,targetSnapshot:v,urlAfterRedirects:E}))))}(this.environmentInjector,this.configLoader,this.rootComponentType,p.config,this.urlSerializer,this.paramsInheritanceStrategy),(0,On.M)(ue=>{a.targetSnapshot=ue.targetSnapshot,a.urlAfterRedirects=ue.urlAfterRedirects,this.currentNavigation={...this.currentNavigation,finalUrl:ue.urlAfterRedirects};const Te=new Hn(ue.id,this.urlSerializer.serialize(ue.extractedUrl),this.urlSerializer.serialize(ue.urlAfterRedirects),ue.targetSnapshot);this.events.next(Te)}));if(L&&this.urlHandlingStrategy.shouldProcessUrl(E.currentRawUrl)){const{id:ue,extractedUrl:Te,source:Ct,restoredState:ht,extras:an}=E,Wt=new Ie(ue,this.urlSerializer.serialize(Te),Ct,ht);this.events.next(Wt);const Ut=ji(this.rootComponentType).snapshot;return this.currentTransition=a={...E,targetSnapshot:Ut,urlAfterRedirects:Te,extras:{...an,skipLocationChange:!1,replaceUrl:!1}},this.currentNavigation.finalUrl=Te,(0,z.of)(a)}{const ue="";return this.events.next(new Gt(E.id,this.urlSerializer.serialize(E.extractedUrl),ue,dt.IgnoredByUrlHandlingStrategy)),E.resolve(!1),Ve.w}}),(0,On.M)(E=>{const L=new In(E.id,this.urlSerializer.serialize(E.extractedUrl),this.urlSerializer.serialize(E.urlAfterRedirects),E.targetSnapshot);this.events.next(L)}),(0,De.T)(E=>(this.currentTransition=a={...E,guards:ua(E.targetSnapshot,E.currentSnapshot,this.rootContexts)},a)),function Ha(f,_){return(0,Rt.Z)(p=>{const{targetSnapshot:l,currentSnapshot:s,guards:{canActivateChecks:a,canDeactivateChecks:d}}=p;return 0===d.length&&0===a.length?(0,z.of)({...p,guardsResult:!0}):function Bn(f,_,p,l){return(0,H.H)(f).pipe((0,Rt.Z)(s=>function es(f,_,p,l,s){const a=_&&_.routeConfig?_.routeConfig.canDeactivate:null;if(!a||0===a.length)return(0,z.of)(!0);const d=a.map(v=>{const E=ro(_)??s,L=wo(v,E);return Kn(function ar(f){return f&&y(f.canDeactivate)}(L)?L.canDeactivate(f,_,p,l):(0,u.N4e)(E,()=>L(f,_,p,l))).pipe(Qn())});return(0,z.of)(d).pipe(No())}(s.component,s.route,p,_,l)),Qn(s=>!0!==s,!0))}(d,l,s,f).pipe((0,Rt.Z)(v=>v&&function R(f){return"boolean"==typeof f}(v)?function zs(f,_,p,l){return(0,H.H)(_).pipe((0,Xn.H)(s=>He(function Ms(f,_){return null!==f&&_&&_(new vs(f)),(0,z.of)(!0)}(s.route.parent,l),function Hi(f,_){return null!==f&&_&&_(new js(f)),(0,z.of)(!0)}(s.route,l),function Jo(f,_,p){const l=_[_.length-1],a=_.slice(0,_.length-1).reverse().map(d=>function Es(f){const _=f.routeConfig?f.routeConfig.canActivateChild:null;return _&&0!==_.length?{node:f,guards:_}:null}(d)).filter(d=>null!==d).map(d=>Vt(()=>{const v=d.guards.map(E=>{const L=ro(d.node)??p,q=wo(E,L);return Kn(function hn(f){return f&&y(f.canActivateChild)}(q)?q.canActivateChild(l,f):(0,u.N4e)(L,()=>q(l,f))).pipe(Qn())});return(0,z.of)(v).pipe(No())}));return(0,z.of)(a).pipe(No())}(f,s.path,p),function $a(f,_,p){const l=_.routeConfig?_.routeConfig.canActivate:null;if(!l||0===l.length)return(0,z.of)(!0);const s=l.map(a=>Vt(()=>{const d=ro(_)??p,v=wo(a,d);return Kn(function Tt(f){return f&&y(f.canActivate)}(v)?v.canActivate(_,f):(0,u.N4e)(d,()=>v(_,f))).pipe(Qn())}));return(0,z.of)(s).pipe(No())}(f,s.route,p))),Qn(s=>!0!==s,!0))}(l,a,f,_):(0,z.of)(v)),(0,De.T)(v=>({...p,guardsResult:v})))})}(this.environmentInjector,E=>this.events.next(E)),(0,On.M)(E=>{if(a.guardsResult=E.guardsResult,E.guardsResult&&"boolean"!=typeof E.guardsResult)throw Ao(0,E.guardsResult);const L=new $n(E.id,this.urlSerializer.serialize(E.extractedUrl),this.urlSerializer.serialize(E.urlAfterRedirects),E.targetSnapshot,!!E.guardsResult);this.events.next(L)}),(0,Dt.p)(E=>!!E.guardsResult||(this.cancelNavigationTransition(E,"",qe.GuardRejected),!1)),_a(E=>{if(E.guards.canActivateChecks.length)return(0,z.of)(E).pipe((0,On.M)(L=>{const q=new Wn(L.id,this.urlSerializer.serialize(L.extractedUrl),this.urlSerializer.serialize(L.urlAfterRedirects),L.targetSnapshot);this.events.next(q)}),(0,Se.n)(L=>{let q=!1;return(0,z.of)(L).pipe(function _n(f,_){return(0,Rt.Z)(p=>{const{targetSnapshot:l,guards:{canActivateChecks:s}}=p;if(!s.length)return(0,z.of)(p);const a=new Set(s.map(E=>E.route)),d=new Set;for(const E of a)if(!d.has(E))for(const L of Zs(E))d.add(L);let v=0;return(0,H.H)(d).pipe((0,Xn.H)(E=>a.has(E)?function qa(f,_,p,l){const s=f.routeConfig,a=f._resolve;return void 0!==s?.title&&!Mi(s)&&(a[Zn]=s.title),function ii(f,_,p,l){const s=Ze(f);if(0===s.length)return(0,z.of)({});const a={};return(0,H.H)(s).pipe((0,Rt.Z)(d=>function Is(f,_,p,l){const s=ro(_)??l,a=wo(f,s);return Kn(a.resolve?a.resolve(_,p):(0,u.N4e)(s,()=>a(_,p)))}(f[d],_,p,l).pipe(Qn(),(0,On.M)(v=>{if(v instanceof Xo)throw Ao(new U,v);a[d]=v}))),An(1),function zr(f){return(0,De.T)(()=>f)}(a),(0,Pn.W)(d=>so(d)?Ve.w:(0,Ye.$)(d)))}(a,f,_,l).pipe((0,De.T)(d=>(f._resolvedData=d,f.data=ti(f,f.parent,p).resolve,null)))}(E,l,f,_):(E.data=ti(E,E.parent,f).resolve,(0,z.of)(void 0))),(0,On.M)(()=>v++),An(1),(0,Rt.Z)(E=>v===d.size?(0,z.of)(p):Ve.w))})}(this.paramsInheritanceStrategy,this.environmentInjector),(0,On.M)({next:()=>q=!0,complete:()=>{q||this.cancelNavigationTransition(L,"",qe.NoDataFromResolver)}}))}),(0,On.M)(L=>{const q=new ur(L.id,this.urlSerializer.serialize(L.extractedUrl),this.urlSerializer.serialize(L.urlAfterRedirects),L.targetSnapshot);this.events.next(q)}))}),_a(E=>{const L=q=>{const ue=[];q.routeConfig?.loadComponent&&!q.routeConfig._loadedComponent&&ue.push(this.configLoader.loadComponent(q.routeConfig).pipe((0,On.M)(Te=>{q.component=Te}),(0,De.T)(()=>{})));for(const Te of q.children)ue.push(...L(Te));return ue};return we(L(E.targetSnapshot.root)).pipe(Kt(null),(0,Le.s)(1))}),_a(()=>this.afterPreactivation()),(0,Se.n)(()=>{const{currentSnapshot:E,targetSnapshot:L}=a,q=this.createViewTransition?.(this.environmentInjector,E.root,L.root);return q?(0,H.H)(q).pipe((0,De.T)(()=>a)):(0,z.of)(a)}),(0,De.T)(E=>{const L=function _i(f,_,p){const l=ui(f,_._root,p?p._root:void 0);return new Hs(l,_)}(p.routeReuseStrategy,E.targetSnapshot,E.currentRouterState);return this.currentTransition=a={...E,targetRouterState:L},this.currentNavigation.targetRouterState=L,a}),(0,On.M)(()=>{this.events.next(new go)}),((f,_,p,l)=>(0,De.T)(s=>(new Xt(_,s.targetRouterState,s.currentRouterState,p,l).activate(f),s)))(this.rootContexts,p.routeReuseStrategy,E=>this.events.next(E),this.inputBindingEnabled),(0,Le.s)(1),(0,On.M)({next:E=>{d=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new ke(E.id,this.urlSerializer.serialize(E.extractedUrl),this.urlSerializer.serialize(E.urlAfterRedirects))),this.titleStrategy?.updateTitle(E.targetRouterState.snapshot),E.resolve(!0)},complete:()=>{d=!0}}),(0,Ir.Q)(this.transitionAbortSubject.pipe((0,On.M)(E=>{throw E}))),(0,tr.j)(()=>{!d&&!v&&this.cancelNavigationTransition(a,"",qe.SupersededByNewNavigation),this.currentTransition?.id===a.id&&(this.currentNavigation=null,this.currentTransition=null)}),(0,Pn.W)(E=>{if(v=!0,Zo(E))this.events.next(new nt(a.id,this.urlSerializer.serialize(a.extractedUrl),E.message,E.cancellationCode)),function vo(f){return Zo(f)&&Et(f.url)}(E)?this.events.next(new gi(E.url,E.navigationBehaviorOptions)):a.resolve(!1);else{const L=new En(a.id,this.urlSerializer.serialize(a.extractedUrl),E,a.targetSnapshot??void 0);try{const q=(0,u.N4e)(this.environmentInjector,()=>this.navigationErrorHandler?.(L));if(q instanceof Xo){const{message:ue,cancellationCode:Te}=Ao(0,q);this.events.next(new nt(a.id,this.urlSerializer.serialize(a.extractedUrl),ue,Te)),this.events.next(new gi(q.redirectTo,q.navigationBehaviorOptions))}else{this.events.next(L);const ue=p.errorHandler(E);a.resolve(!!ue)}}catch(q){this.options.resolveNavigationPromiseOnError?a.resolve(!1):a.reject(q)}}return Ve.w}))}))}cancelNavigationTransition(p,l,s){const a=new nt(p.id,this.urlSerializer.serialize(p.extractedUrl),l,s);this.events.next(a),p.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){const p=this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))),l=this.currentNavigation?.targetBrowserUrl??this.currentNavigation?.extractedUrl;return p.toString()!==l?.toString()&&!this.currentNavigation?.extras.skipLocationChange}static#e=this.\u0275fac=function(l){return new(l||f)};static#t=this.\u0275prov=u.jDH({token:f,factory:f.\u0275fac,providedIn:"root"})}return f})();function Fn(f){return f!==N}let Tr=(()=>{class f{static#e=this.\u0275fac=function(l){return new(l||f)};static#t=this.\u0275prov=u.jDH({token:f,factory:()=>(0,u.WQX)(lo),providedIn:"root"})}return f})();class zi{shouldDetach(_){return!1}store(_,p){}shouldAttach(_){return!1}retrieve(_){return null}shouldReuseRoute(_,p){return _.routeConfig===p.routeConfig}}let lo=(()=>{class f extends zi{static#e=this.\u0275fac=(()=>{let p;return function(s){return(p||(p=u.xGo(f)))(s||f)}})();static#t=this.\u0275prov=u.jDH({token:f,factory:f.\u0275fac,providedIn:"root"})}return f})(),_r=(()=>{class f{static#e=this.\u0275fac=function(l){return new(l||f)};static#t=this.\u0275prov=u.jDH({token:f,factory:()=>(0,u.WQX)(Gi),providedIn:"root"})}return f})(),Gi=(()=>{class f extends _r{constructor(){super(...arguments),this.location=(0,u.WQX)(ve.aZ),this.urlSerializer=(0,u.WQX)(oe),this.options=(0,u.WQX)(Eo,{optional:!0})||{},this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.urlHandlingStrategy=(0,u.WQX)(wt),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.currentUrlTree=new Ne,this.rawUrlTree=this.currentUrlTree,this.currentPageId=0,this.lastSuccessfulId=-1,this.routerState=ji(null),this.stateMemento=this.createStateMemento()}getCurrentUrlTree(){return this.currentUrlTree}getRawUrlTree(){return this.rawUrlTree}restoredState(){return this.location.getState()}get browserPageId(){return"computed"!==this.canceledNavigationResolution?this.currentPageId:this.restoredState()?.\u0275routerPageId??this.currentPageId}getRouterState(){return this.routerState}createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}registerNonRouterCurrentEntryChangeListener(p){return this.location.subscribe(l=>{"popstate"===l.type&&p(l.url,l.state)})}handleRouterEvent(p,l){if(p instanceof Ie)this.stateMemento=this.createStateMemento();else if(p instanceof Gt)this.rawUrlTree=l.initialUrl;else if(p instanceof Hn){if("eager"===this.urlUpdateStrategy&&!l.extras.skipLocationChange){const s=this.urlHandlingStrategy.merge(l.finalUrl,l.initialUrl);this.setBrowserUrl(l.targetBrowserUrl??s,l)}}else p instanceof go?(this.currentUrlTree=l.finalUrl,this.rawUrlTree=this.urlHandlingStrategy.merge(l.finalUrl,l.initialUrl),this.routerState=l.targetRouterState,"deferred"===this.urlUpdateStrategy&&!l.extras.skipLocationChange&&this.setBrowserUrl(l.targetBrowserUrl??this.rawUrlTree,l)):p instanceof nt&&(p.code===qe.GuardRejected||p.code===qe.NoDataFromResolver)?this.restoreHistory(l):p instanceof En?this.restoreHistory(l,!0):p instanceof ke&&(this.lastSuccessfulId=p.id,this.currentPageId=this.browserPageId)}setBrowserUrl(p,l){const s=p instanceof Ne?this.urlSerializer.serialize(p):p;if(this.location.isCurrentPathEqualTo(s)||l.extras.replaceUrl){const d={...l.extras.state,...this.generateNgRouterState(l.id,this.browserPageId)};this.location.replaceState(s,"",d)}else{const a={...l.extras.state,...this.generateNgRouterState(l.id,this.browserPageId+1)};this.location.go(s,"",a)}}restoreHistory(p,l=!1){if("computed"===this.canceledNavigationResolution){const a=this.currentPageId-this.browserPageId;0!==a?this.location.historyGo(a):this.currentUrlTree===p.finalUrl&&0===a&&(this.resetState(p),this.resetUrlToCurrentUrlTree())}else"replace"===this.canceledNavigationResolution&&(l&&this.resetState(p),this.resetUrlToCurrentUrlTree())}resetState(p){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,p.finalUrl??this.rawUrlTree)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(p,l){return"computed"===this.canceledNavigationResolution?{navigationId:p,\u0275routerPageId:l}:{navigationId:p}}static#e=this.\u0275fac=(()=>{let p;return function(s){return(p||(p=u.xGo(f)))(s||f)}})();static#t=this.\u0275prov=u.jDH({token:f,factory:f.\u0275fac,providedIn:"root"})}return f})();var Kr=function(f){return f[f.COMPLETE=0]="COMPLETE",f[f.FAILED=1]="FAILED",f[f.REDIRECTING=2]="REDIRECTING",f}(Kr||{});function ss(f,_){f.events.pipe((0,Dt.p)(p=>p instanceof ke||p instanceof nt||p instanceof En||p instanceof Gt),(0,De.T)(p=>p instanceof ke||p instanceof Gt?Kr.COMPLETE:p instanceof nt&&(p.code===qe.Redirect||p.code===qe.SupersededByNewNavigation)?Kr.REDIRECTING:Kr.FAILED),(0,Dt.p)(p=>p!==Kr.REDIRECTING),(0,Le.s)(1)).subscribe(()=>{_()})}function ko(f){throw f}const mu={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},di={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let qr=(()=>{class f{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}constructor(){this.disposed=!1,this.console=(0,u.WQX)(u.H3F),this.stateManager=(0,u.WQX)(_r),this.options=(0,u.WQX)(Eo,{optional:!0})||{},this.pendingTasks=(0,u.WQX)(u.TgB),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.navigationTransitions=(0,u.WQX)(bn),this.urlSerializer=(0,u.WQX)(oe),this.location=(0,u.WQX)(ve.aZ),this.urlHandlingStrategy=(0,u.WQX)(wt),this._events=new Ce.B,this.errorHandler=this.options.errorHandler||ko,this.navigated=!1,this.routeReuseStrategy=(0,u.WQX)(Tr),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.config=(0,u.WQX)(C,{optional:!0})?.flat()??[],this.componentInputBindingEnabled=!!(0,u.WQX)(yo,{optional:!0}),this.eventsSubscription=new $.yU,this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe({error:p=>{this.console.warn(p)}}),this.subscribeToNavigationEvents()}subscribeToNavigationEvents(){const p=this.navigationTransitions.events.subscribe(l=>{try{const s=this.navigationTransitions.currentTransition,a=this.navigationTransitions.currentNavigation;if(null!==s&&null!==a)if(this.stateManager.handleRouterEvent(l,a),l instanceof nt&&l.code!==qe.Redirect&&l.code!==qe.SupersededByNewNavigation)this.navigated=!0;else if(l instanceof ke)this.navigated=!0;else if(l instanceof gi){const d=l.navigationBehaviorOptions,v=this.urlHandlingStrategy.merge(l.url,s.currentRawUrl),E={browserUrl:s.extras.browserUrl,info:s.extras.info,skipLocationChange:s.extras.skipLocationChange,replaceUrl:s.extras.replaceUrl||"eager"===this.urlUpdateStrategy||Fn(s.source),...d};this.scheduleNavigation(v,N,null,E,{resolve:s.resolve,reject:s.reject,promise:s.promise})}(function ya(f){return!(f instanceof go||f instanceof gi)})(l)&&this._events.next(l)}catch(s){this.navigationTransitions.transitionAbortSubject.next(s)}});this.eventsSubscription.add(p)}resetRootComponentType(p){this.routerState.root.component=p,this.navigationTransitions.rootComponentType=p}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),N,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((p,l)=>{setTimeout(()=>{this.navigateToSyncWithBrowser(p,"popstate",l)},0)})}navigateToSyncWithBrowser(p,l,s){const a={replaceUrl:!0},d=s?.navigationId?s:null;if(s){const E={...s};delete E.navigationId,delete E.\u0275routerPageId,0!==Object.keys(E).length&&(a.state=E)}const v=this.parseUrl(p);this.scheduleNavigation(v,l,d,a)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(p){this.config=p.map(A),this.navigated=!1}ngOnDestroy(){this.dispose()}dispose(){this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription&&(this.nonRouterCurrentEntryChangeSubscription.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(p,l={}){const{relativeTo:s,queryParams:a,fragment:d,queryParamsHandling:v,preserveFragment:E}=l,L=E?this.currentUrlTree.fragment:d;let ue,q=null;switch(v??this.options.defaultQueryParamsHandling){case"merge":q={...this.currentUrlTree.queryParams,...a};break;case"preserve":q=this.currentUrlTree.queryParams;break;default:q=a||null}null!==q&&(q=this.removeEmptyProps(q));try{ue=gn(s?s.snapshot:this.routerState.snapshot.root)}catch{("string"!=typeof p[0]||"/"!==p[0][0])&&(p=[]),ue=this.currentUrlTree.root}return Qt(ue,p,q,L??null)}navigateByUrl(p,l={skipLocationChange:!1}){const s=Et(p)?p:this.parseUrl(p),a=this.urlHandlingStrategy.merge(s,this.rawUrlTree);return this.scheduleNavigation(a,N,null,l)}navigate(p,l={skipLocationChange:!1}){return function Xl(f){for(let _=0;_<f.length;_++)if(null==f[_])throw new u.wOt(4008,!1)}(p),this.navigateByUrl(this.createUrlTree(p,l),l)}serializeUrl(p){return this.urlSerializer.serialize(p)}parseUrl(p){try{return this.urlSerializer.parse(p)}catch{return this.urlSerializer.parse("/")}}isActive(p,l){let s;if(s=!0===l?{...mu}:!1===l?{...di}:l,Et(p))return ai(this.currentUrlTree,p,s);const a=this.parseUrl(p);return ai(this.currentUrlTree,a,s)}removeEmptyProps(p){return Object.entries(p).reduce((l,[s,a])=>(null!=a&&(l[s]=a),l),{})}scheduleNavigation(p,l,s,a,d){if(this.disposed)return Promise.resolve(!1);let v,E,L;d?(v=d.resolve,E=d.reject,L=d.promise):L=new Promise((ue,Te)=>{v=ue,E=Te});const q=this.pendingTasks.add();return ss(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(q))}),this.navigationTransitions.handleNavigationRequest({source:l,restoredState:s,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:p,extras:a,resolve:v,reject:E,promise:L,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),L.catch(ue=>Promise.reject(ue))}static#e=this.\u0275fac=function(l){return new(l||f)};static#t=this.\u0275prov=u.jDH({token:f,factory:f.\u0275fac,providedIn:"root"})}return f})(),as=(()=>{class f{constructor(p,l,s,a,d,v){this.router=p,this.route=l,this.tabIndexAttribute=s,this.renderer=a,this.el=d,this.locationStrategy=v,this.href=null,this.onChanges=new Ce.B,this.preserveFragment=!1,this.skipLocationChange=!1,this.replaceUrl=!1,this.routerLinkInput=null;const E=d.nativeElement.tagName?.toLowerCase();this.isAnchorElement="a"===E||"area"===E,this.isAnchorElement?this.subscription=p.events.subscribe(L=>{L instanceof ke&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}setTabIndexIfNotOnNativeEl(p){null!=this.tabIndexAttribute||this.isAnchorElement||this.applyAttributeValue("tabindex",p)}ngOnChanges(p){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}set routerLink(p){null==p?(this.routerLinkInput=null,this.setTabIndexIfNotOnNativeEl(null)):(this.routerLinkInput=Et(p)||Array.isArray(p)?p:[p],this.setTabIndexIfNotOnNativeEl("0"))}onClick(p,l,s,a,d){const v=this.urlTree;return!!(null===v||this.isAnchorElement&&(0!==p||l||s||a||d||"string"==typeof this.target&&"_self"!=this.target))||(this.router.navigateByUrl(v,{skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state,info:this.info}),!this.isAnchorElement)}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){const p=this.urlTree;this.href=null!==p&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(p)):null;const l=null===this.href?null:(0,u.n$t)(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",l)}applyAttributeValue(p,l){const s=this.renderer,a=this.el.nativeElement;null!==l?s.setAttribute(a,p,l):s.removeAttribute(a,p)}get urlTree(){return null===this.routerLinkInput?null:Et(this.routerLinkInput)?this.routerLinkInput:this.router.createUrlTree(this.routerLinkInput,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}static#e=this.\u0275fac=function(l){return new(l||f)(u.rXU(qr),u.rXU(at),u.kS0("tabindex"),u.rXU(u.sFG),u.rXU(u.aKT),u.rXU(ve.hb))};static#t=this.\u0275dir=u.FsC({type:f,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(l,s){1&l&&u.bIt("click",function(d){return s.onClick(d.button,d.ctrlKey,d.shiftKey,d.altKey,d.metaKey)}),2&l&&u.BMQ("target",s.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",info:"info",relativeTo:"relativeTo",preserveFragment:[2,"preserveFragment","preserveFragment",u.L39],skipLocationChange:[2,"skipLocationChange","skipLocationChange",u.L39],replaceUrl:[2,"replaceUrl","replaceUrl",u.L39],routerLink:"routerLink"},standalone:!0,features:[u.GFd,u.OA$]})}return f})();class Xa{}let Ys=(()=>{class f{constructor(p,l,s,a,d){this.router=p,this.injector=s,this.preloadingStrategy=a,this.loader=d}setUpPreloading(){this.subscription=this.router.events.pipe((0,Dt.p)(p=>p instanceof ke),(0,Xn.H)(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(p,l){const s=[];for(const a of l){a.providers&&!a._injector&&(a._injector=(0,u.Ol2)(a.providers,p,`Route: ${a.path}`));const d=a._injector??p,v=a._loadedInjector??d;(a.loadChildren&&!a._loadedRoutes&&void 0===a.canLoad||a.loadComponent&&!a._loadedComponent)&&s.push(this.preloadConfig(d,a)),(a.children||a._loadedRoutes)&&s.push(this.processRoutes(v,a.children??a._loadedRoutes))}return(0,H.H)(s).pipe((0,Nt.U)())}preloadConfig(p,l){return this.preloadingStrategy.preload(l,()=>{let s;s=l.loadChildren&&void 0===l.canLoad?this.loader.loadChildren(p,l):(0,z.of)(null);const a=s.pipe((0,Rt.Z)(d=>null===d?(0,z.of)(void 0):(l._loadedRoutes=d.routes,l._loadedInjector=d.injector,this.processRoutes(d.injector??p,d.routes))));if(l.loadComponent&&!l._loadedComponent){const d=this.loader.loadComponent(l);return(0,H.H)([a,d]).pipe((0,Nt.U)())}return a})}static#e=this.\u0275fac=function(l){return new(l||f)(u.KVO(qr),u.KVO(u.Ql9),u.KVO(u.uvJ),u.KVO(Xa),u.KVO(I))};static#t=this.\u0275prov=u.jDH({token:f,factory:f.\u0275fac,providedIn:"root"})}return f})();const bo=new u.nKC("");let Zl=(()=>{class f{constructor(p,l,s,a,d={}){this.urlSerializer=p,this.transitions=l,this.viewportScroller=s,this.zone=a,this.options=d,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},d.scrollPositionRestoration||="disabled",d.anchorScrolling||="disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(p=>{p instanceof Ie?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=p.navigationTrigger,this.restoredId=p.restoredState?p.restoredState.navigationId:0):p instanceof ke?(this.lastId=p.id,this.scheduleScrollEvent(p,this.urlSerializer.parse(p.urlAfterRedirects).fragment)):p instanceof Gt&&p.code===dt.IgnoredSameUrlNavigation&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(p,this.urlSerializer.parse(p.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(p=>{p instanceof Fi&&(p.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(p.position):p.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(p.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(p,l){this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.zone.run(()=>{this.transitions.events.next(new Fi(p,"popstate"===this.lastSource?this.store[this.restoredId]:null,l))})},0)})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}static#e=this.\u0275fac=function(l){u.QTQ()};static#t=this.\u0275prov=u.jDH({token:f,factory:f.\u0275fac})}return f})();function fn(f,_){return{\u0275kind:f,\u0275providers:_}}function Js(){const f=(0,u.WQX)(u.zZn);return _=>{const p=f.get(u.o8S);if(_!==p.components[0])return;const l=f.get(qr),s=f.get(Do);1===f.get(vi)&&l.initialNavigation(),f.get(ea,null,u.$GK.Optional)?.setUpPreloading(),f.get(bo,null,u.$GK.Optional)?.init(),l.resetRootComponentType(p.componentTypes[0]),s.closed||(s.next(),s.complete(),s.unsubscribe())}}const Do=new u.nKC("",{factory:()=>new Ce.B}),vi=new u.nKC("",{providedIn:"root",factory:()=>1}),ea=new u.nKC("");function Ps(f){return fn(0,[{provide:ea,useExisting:Ys},{provide:Xa,useExisting:f}])}function vu(f){return fn(9,[{provide:sn,useValue:tt},{provide:jn,useValue:{skipNextTransition:!!f?.skipInitialTransition,...f}}])}const Ti=new u.nKC("ROUTER_FORROOT_GUARD"),Cu=[ve.aZ,{provide:oe,useClass:U},qr,Bi,{provide:at,useFactory:function Wi(f){return f.routerState.root},deps:[qr]},I,[]];let ec=(()=>{class f{constructor(p){}static forRoot(p,l){return{ngModule:f,providers:[Cu,[],{provide:C,multi:!0,useValue:p},{provide:Ti,useFactory:bu,deps:[[qr,new u.Xx1,new u.kdw]]},{provide:Eo,useValue:l||{}},l?.useHash?{provide:ve.hb,useClass:ve.fw}:{provide:ve.hb,useClass:ve.Sm},{provide:bo,useFactory:()=>{const f=(0,u.WQX)(ve.Xr),_=(0,u.WQX)(u.SKi),p=(0,u.WQX)(Eo),l=(0,u.WQX)(bn),s=(0,u.WQX)(oe);return p.scrollOffset&&f.setOffset(p.scrollOffset),new Zl(s,l,f,_,p)}},l?.preloadingStrategy?Ps(l.preloadingStrategy).\u0275providers:[],l?.initialNavigation?nc(l):[],l?.bindToComponentInputs?fn(8,[br,{provide:yo,useExisting:br}]).\u0275providers:[],l?.enableViewTransitions?vu().\u0275providers:[],[{provide:rc,useFactory:Js},{provide:u.iLQ,multi:!0,useExisting:rc}]]}}static forChild(p){return{ngModule:f,providers:[{provide:C,multi:!0,useValue:p}]}}static#e=this.\u0275fac=function(l){return new(l||f)(u.KVO(Ti,8))};static#t=this.\u0275mod=u.$C({type:f});static#n=this.\u0275inj=u.G2t({})}return f})();function bu(f){return"guarded"}function nc(f){return["disabled"===f.initialNavigation?fn(3,[{provide:u.hnV,multi:!0,useFactory:()=>{const _=(0,u.WQX)(qr);return()=>{_.setUpLocationChangeListener()}}},{provide:vi,useValue:2}]).\u0275providers:[],"enabledBlocking"===f.initialNavigation?fn(2,[{provide:vi,useValue:0},{provide:u.hnV,multi:!0,deps:[u.zZn],useFactory:_=>{const p=_.get(ve.hj,Promise.resolve());return()=>p.then(()=>new Promise(l=>{const s=_.get(qr),a=_.get(Do);ss(s,()=>{l(!0)}),_.get(bn).afterPreactivation=()=>(l(!0),a.closed?(0,z.of)(void 0):a),s.initialNavigation()}))}}]).\u0275providers:[]]}const rc=new u.nKC("")},6822:(Ae,W,M)=>{"use strict";M.d(W,{dF:()=>Ve});var u=M(3953),O=M(1562),G=M(6354),Z=M(7343),H=M(6884);const Y={80:"other",443:"other",2082:"cpanel",2083:"cpanel",2086:"whostmgr",2087:"whostmgr",2095:"webmail",2096:"webmail",9876:"unittest",9877:"unittest",9878:"unittest",9879:"unittest",frontend:"cpanel",webmail:"webmail"};class X{constructor(ye){this.unprotectedPaths=["/resetpass","/invitation"],this.protocol=ye.protocol;let Ce=ye.port;Ce||(function z(pe){return/^https:$/i.test(pe)}(this.protocol)?Ce="443":function j(pe){return/^http:$/i.test(pe)}(this.protocol)&&(Ce="80")),this.domain=ye.hostname,this.port=parseInt(Ce,10),this.path=ye.pathname;const ve=this.path.match(/((?:\/cpsess\d+)?)(?:\/([^\/]+))?/)||[];if(this.applicationName=/^whm\./.test(this.domain)?Y[2087]:/^cpanel\./.test(this.domain)?Y[2083]:/^webmail\./.test(this.domain)?Y[2095]:Y[Ce.toString()]||Y[ve[2]]||"whostmgr",this.securityToken=ve[1]||"",this.applicationPath=this.securityToken?this.path.replace(this.securityToken,""):this.path,this.theme="",!this.isUnprotected&&(this.isCpanel||this.isWebmail)){const Se=this.path.split("/");this.theme=Se[3]}this.themePath="";let De=this.securityToken+"/";this.isUnprotected?De="/":this.isCpanel?De+="frontend/"+this.theme+"/":this.isWebmail?De+="webmail/"+this.theme+"/":this.isOther&&(De="/"),this.themePath=De,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 K(pe){return pe&&pe.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(ye){return this.themePath+ye}buildFullPath(ye){return this.protocol+"//"+this.domain+":"+this.port+this.buildPath(ye)}buildTokenPath(ye){return this.protocol+"//"+this.domain+":"+this.port+this.securityToken+ye}}class ae{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 xe=M(9261),de=M.n(xe),we=M(5972),Ge=M.n(we),gt=function(pe){return pe[pe.Error=0]="Error",pe[pe.Warning=1]="Warning",pe[pe.Information=2]="Information",pe[pe.Unknown=3]="Unknown",pe}(gt||{});const ut={isPaged:!1,isFiltered:!1,record:0,page:0,pageSize:0,totalRecords:0,totalPages:0,recordsBeforeFilter:0,batch:!1,properties:{}};class Nt{constructor(ye,Ce){if(this.status=0,this.messages=[],this.meta=function ot(pe){return JSON.parse(JSON.stringify(pe))}(ut),this.options={keepUnprocessedResponse:!1},de()(ye)||Ge()(ye))throw new Error("The response was unexpectedly undefined or null");Ce&&(this.options=Ce),this.options.keepUnprocessedResponse&&(this.raw=JSON.parse(JSON.stringify(ye)))}get success(){return this.status>0}get failed(){return 0===this.status}_getMessages(ye){return this.messages.filter(Ce=>Ce.type===ye)}get errors(){return this._getMessages(gt.Error)}get warnings(){return this._getMessages(gt.Warning)}get infoMessages(){return this._getMessages(gt.Information)}_hasMessages(ye){return this.messages.filter(Ce=>Ce.type===ye).length>0}get hasErrors(){return this._hasMessages(gt.Error)}get hasWarnings(){return this._hasMessages(gt.Warning)}get hasInfoMessages(){return this._hasMessages(gt.Information)}get isPaged(){return this.meta.isPaged}get isFiltered(){return this.meta.isFiltered}}class Xe{constructor(ye){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={},ye.paginate&&(this.isPaged=!0,this.record=parseInt(ye.paginate.start_result,10)||0,this.page=parseInt(ye.paginate.current_page,10)||0,this.pageSize=parseInt(ye.paginate.results_per_page,10)||0,this.totalPages=parseInt(ye.paginate.total_pages,10)||0,this.totalRecords=parseInt(ye.paginate.total_results,10)||0),ye.filter&&(this.isFiltered=!0,this.recordsBeforeFilter=parseInt(ye.filter.records_before_filter,10)||0);const Ce=new Set(["paginate","filter"]);Object.keys(ye).filter(ve=>!Ce.has(ve)).forEach(ve=>{this.properties[ve]=ye[ve]})}}class He extends Nt{_parseStatus(ye){if(this.status=0,typeof ye.status>"u")throw new Error("The response should have a numeric status property indicating the API succeeded (>0) or failed (=0)");this.status=parseInt(ye.status,10)}_parseMessages(ye){if("errors"in ye){const Ce=ye.errors;Ce&&Ce.length&&Ce.forEach(ve=>{this.messages.push({type:gt.Error,message:ve})})}if("messages"in ye){const Ce=ye.messages;Ce&&Ce.forEach(ve=>{this.messages.push({type:gt.Information,message:ve})})}}constructor(ye,Ce){if(super(ye,Ce),this._parseStatus(ye),this._parseMessages(ye),!ye||!Object.prototype.hasOwnProperty.call(ye,"data"))throw new Error("Expected response to contain a data property, but it is missing");this.data=ye.data,ye.metadata&&(this.meta=new Xe(ye.metadata))}}let Ve=(()=>{class pe{constructor(Ce){this.http=Ce}delete(Ce){const ve=Ce.generate(),De=this.packageUrl(ve);return this.http.delete(De,{headers:this.packageHeaders(ve)}).pipe((0,G.T)(this.packageResponseHandler(De)))}get(Ce){const ve=Ce.generate({verb:Z.o.GET,encoder:new H.CY}),De=this.packageUrl(ve);return this.http.get(De,{headers:this.packageHeaders(ve)}).pipe((0,G.T)(this.packageResponseHandler(De)))}options(Ce){const ve=Ce.generate(),De=this.packageUrl(ve);return this.http.options(De,{headers:this.packageHeaders(ve)}).pipe((0,G.T)(this.packageResponseHandler(De)))}patch(Ce){const ve=Ce.generate(),De=this.packageUrl(ve);return this.http.patch(De,ve.body,{headers:this.packageHeaders(ve)}).pipe((0,G.T)(this.packageResponseHandler(De)))}put(Ce){const ve=Ce.generate(),De=this.packageUrl(ve);return this.http.put(De,ve.body,{headers:this.packageHeaders(ve)}).pipe((0,G.T)(this.packageResponseHandler(De)))}post(Ce){const ve=Ce.generate(),De=this.packageUrl(ve);return this.http.post(De,ve.body,{headers:this.packageHeaders(ve)}).pipe((0,G.T)(this.packageResponseHandler(De)))}packageHeaders(Ce){const ve={};return Ce.headers.forEach(De=>{ve[De.name]=De.value}),new O.Lr(ve)}packageUrl(Ce){return new X(new ae).buildTokenPath(Ce.url)}packageResponseHandler(Ce){return ve=>{const De=new He(ve);return De.meta.properties.url=Ce,De}}static#e=this.\u0275fac=function(ve){return new(ve||pe)(u.KVO(O.Qq))};static#t=this.\u0275prov=u.jDH({token:pe,factory:pe.\u0275fac,providedIn:"root"})}return pe})()},8658:(Ae,W,M)=>{"use strict";M.d(W,{B:()=>H});var u=M(3953),O=M(6381);const G=new u.nKC("window"),Z=z=>new O.h(z.CLDR,z.LEXICON);let H=(()=>{class z{static#e=this.\u0275fac=function(ee){return new(ee||z)};static#t=this.\u0275mod=u.$C({type:z});static#n=this.\u0275inj=u.G2t({providers:[{provide:G,useValue:window},{provide:O.h,useFactory:Z,deps:[G]}]})}return z})()},6805:(Ae,W,M)=>{"use strict";M.d(W,{Fc:()=>bn,Cy:()=>Ja,yI:()=>ea,Ab:()=>Yl,sb:()=>Jl,uE:()=>zi,vT:()=>Fn,GV:()=>bo,jM:()=>Zl,NB:()=>ph,ys:()=>yi});var u=M(3953),O=M(177),G=M(1413),Z=M(5964),H=M(8658),z=M(6381),j=function(l){return l[l.State=0]="State",l[l.Transition=1]="Transition",l[l.Sequence=2]="Sequence",l[l.Group=3]="Group",l[l.Animate=4]="Animate",l[l.Keyframes=5]="Keyframes",l[l.Style=6]="Style",l[l.Trigger=7]="Trigger",l[l.Reference=8]="Reference",l[l.AnimateChild=9]="AnimateChild",l[l.AnimateRef=10]="AnimateRef",l[l.Query=11]="Query",l[l.Stagger=12]="Stagger",l}(j||{});const K="*";function ee(l,s){return{type:j.Trigger,name:l,definitions:s,options:{}}}function Y(l,s=null){return{type:j.Animate,styles:s,timings:l}}function xe(l){return{type:j.Style,styles:l,offset:null}}function de(l,s,a){return{type:j.State,name:l,styles:s,options:a}}function Ge(l,s,a=null){return{type:j.Transition,expr:l,animation:s,options:a}}class pe{constructor(s=0,a=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=s+a}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(s=>s()),this._onDoneFns=[])}onStart(s){this._originalOnStartFns.push(s),this._onStartFns.push(s)}onDone(s){this._originalOnDoneFns.push(s),this._onDoneFns.push(s)}onDestroy(s){this._onDestroyFns.push(s)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){queueMicrotask(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(s=>s()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(s=>s()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(s){this._position=this.totalTime?s*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(s){const a="start"==s?this._onStartFns:this._onDoneFns;a.forEach(d=>d()),a.length=0}}class ye{constructor(s){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=s;let a=0,d=0,v=0;const E=this.players.length;0==E?queueMicrotask(()=>this._onFinish()):this.players.forEach(L=>{L.onDone(()=>{++a==E&&this._onFinish()}),L.onDestroy(()=>{++d==E&&this._onDestroy()}),L.onStart(()=>{++v==E&&this._onStart()})}),this.totalTime=this.players.reduce((L,q)=>Math.max(L,q.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(s=>s()),this._onDoneFns=[])}init(){this.players.forEach(s=>s.init())}onStart(s){this._onStartFns.push(s)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(s=>s()),this._onStartFns=[])}onDone(s){this._onDoneFns.push(s)}onDestroy(s){this._onDestroyFns.push(s)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(s=>s.play())}pause(){this.players.forEach(s=>s.pause())}restart(){this.players.forEach(s=>s.restart())}finish(){this._onFinish(),this.players.forEach(s=>s.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(s=>s.destroy()),this._onDestroyFns.forEach(s=>s()),this._onDestroyFns=[])}reset(){this.players.forEach(s=>s.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(s){const a=s*this.totalTime;this.players.forEach(d=>{const v=d.totalTime?Math.min(1,a/d.totalTime):1;d.setPosition(v)})}getPosition(){const s=this.players.reduce((a,d)=>null===a||d.totalTime>a.totalTime?d:a,null);return null!=s?s.getPosition():0}beforeDestroy(){this.players.forEach(s=>{s.beforeDestroy&&s.beforeDestroy()})}triggerCallback(s){const a="start"==s?this._onStartFns:this._onDoneFns;a.forEach(d=>d()),a.length=0}}var ve=M(345);function Se(l){return new u.wOt(3e3,!1)}function le(l){switch(l.length){case 0:return new pe;case 1:return l[0];default:return new ye(l)}}function Ue(l,s,a=new Map,d=new Map){const v=[],E=[];let L=-1,q=null;if(s.forEach(ue=>{const Te=ue.get("offset"),Ct=Te==L,ht=Ct&&q||new Map;ue.forEach((an,Wt)=>{let Ut=Wt,rn=an;if("offset"!==Wt)switch(Ut=l.normalizePropertyName(Ut,v),rn){case"!":rn=a.get(Wt);break;case K:rn=d.get(Wt);break;default:rn=l.normalizeStyleValue(Wt,Ut,rn,v)}ht.set(Ut,rn)}),Ct||E.push(ht),q=ht,L=Te}),v.length)throw function Or(){return new u.wOt(3502,!1)}();return E}function he(l,s,a,d){switch(s){case"start":l.onStart(()=>d(a&&Ne(a,"start",l)));break;case"done":l.onDone(()=>d(a&&Ne(a,"done",l)));break;case"destroy":l.onDestroy(()=>d(a&&Ne(a,"destroy",l)))}}function Ne(l,s,a){const E=Be(l.element,l.triggerName,l.fromState,l.toState,s||l.phaseName,a.totalTime??l.totalTime,!!a.disabled),L=l._data;return null!=L&&(E._data=L),E}function Be(l,s,a,d,v="",E=0,L){return{element:l,triggerName:s,fromState:a,toState:d,phaseName:v,totalTime:E,disabled:!!L}}function st(l,s,a){let d=l.get(s);return d||l.set(s,d=a),d}function yt(l){const s=l.indexOf(":");return[l.substring(1,s),l.slice(s+1)]}const vt=typeof document>"u"?null:document.documentElement;function fe(l){const s=l.parentNode||l.host||null;return s===vt?null:s}let U=null,te=!1;function It(l,s){for(;s;){if(s===l)return!0;s=fe(s)}return!1}function Jt(l,s,a){if(a)return Array.from(l.querySelectorAll(s));const d=l.querySelector(s);return d?[d]:[]}let rt=(()=>{class l{validateStyleProperty(a){return function Oe(l){U||(U=function Mt(){return typeof document<"u"?document.body:null}()||{},te=!!U.style&&"WebkitAppearance"in U.style);let s=!0;return U.style&&!function oe(l){return"ebkit"==l.substring(1,6)}(l)&&(s=l in U.style,!s&&te&&(s="Webkit"+l.charAt(0).toUpperCase()+l.slice(1)in U.style)),s}(a)}containsElement(a,d){return It(a,d)}getParentElement(a){return fe(a)}query(a,d,v){return Jt(a,d,v)}computeStyle(a,d,v){return v||""}animate(a,d,v,E,L,q=[],ue){return new pe(v,E)}static#e=this.\u0275fac=function(d){return new(d||l)};static#t=this.\u0275prov=u.jDH({token:l,factory:l.\u0275fac})}return l})();class $t{static#e=this.NOOP=new rt}class un{}const vn=1e3,zt="ng-enter",kt="ng-leave",bt="ng-trigger",Ot=".ng-trigger",wn="ng-animating",dn=".ng-animating";function Pt(l){if("number"==typeof l)return l;const s=l.match(/^(-?[\.\d]+)(m?s)/);return!s||s.length<2?0:_t(parseFloat(s[1]),s[2])}function _t(l,s){return"s"===s?l*vn:l}function me(l,s,a){return l.hasOwnProperty("duration")?l:function Ee(l,s,a){let v,E=0,L="";if("string"==typeof l){const q=l.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===q)return s.push(Se()),{duration:0,delay:0,easing:""};v=_t(parseFloat(q[1]),q[2]);const ue=q[3];null!=ue&&(E=_t(parseFloat(ue),q[4]));const Te=q[5];Te&&(L=Te)}else v=l;if(!a){let q=!1,ue=s.length;v<0&&(s.push(function Le(){return new u.wOt(3100,!1)}()),q=!0),E<0&&(s.push(function Fe(){return new u.wOt(3101,!1)}()),q=!0),q&&s.splice(ue,0,Se())}return{duration:v,delay:E,easing:L}}(l,s,a)}function gn(l,s,a){s.forEach((d,v)=>{const E=x(v);a&&!a.has(v)&&a.set(v,l.style[E]),l.style[E]=d})}function Qt(l,s){s.forEach((a,d)=>{const v=x(d);l.style[v]=""})}function Vn(l){return Array.isArray(l)?1==l.length?l[0]:function ae(l,s=null){return{type:j.Sequence,steps:l,options:s}}(l):l}const Sn=new RegExp("{{\\s*(.+?)\\s*}}","g");function ir(l){let s=[];if("string"==typeof l){let a;for(;a=Sn.exec(l);)s.push(a[1]);Sn.lastIndex=0}return s}function et(l,s,a){const d=`${l}`,v=d.replace(Sn,(E,L)=>{let q=s[L];return null==q&&(a.push(function Rt(){return new u.wOt(3003,!1)}()),q=""),q.toString()});return v==d?l:v}const P=/-+([a-z0-9])/g;function x(l){return l.replace(P,(...s)=>s[1].toUpperCase())}function be(l,s,a){switch(s.type){case j.Trigger:return l.visitTrigger(s,a);case j.State:return l.visitState(s,a);case j.Transition:return l.visitTransition(s,a);case j.Sequence:return l.visitSequence(s,a);case j.Group:return l.visitGroup(s,a);case j.Animate:return l.visitAnimate(s,a);case j.Keyframes:return l.visitKeyframes(s,a);case j.Style:return l.visitStyle(s,a);case j.Reference:return l.visitReference(s,a);case j.AnimateChild:return l.visitAnimateChild(s,a);case j.AnimateRef:return l.visitAnimateRef(s,a);case j.Query:return l.visitQuery(s,a);case j.Stagger:return l.visitStagger(s,a);default:throw function Kt(){return new u.wOt(3004,!1)}()}}function Re(l,s){return window.getComputedStyle(l)[s]}const Je=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 Ke extends un{normalizePropertyName(s,a){return x(s)}normalizeStyleValue(s,a,d,v){let E="";const L=d.toString().trim();if(Je.has(a)&&0!==d&&"0"!==d)if("number"==typeof d)E="px";else{const q=d.match(/^[+-]?[\d\.]+([a-z]*)$/);q&&0==q[1].length&&v.push(function tn(){return new u.wOt(3005,!1)}())}return L+E}}const Ie="*";const nt=new Set(["true","1"]),Gt=new Set(["false","0"]);function En(l,s){const a=nt.has(l)||Gt.has(l),d=nt.has(s)||Gt.has(s);return(v,E)=>{let L=l==Ie||l==v,q=s==Ie||s==E;return!L&&a&&"boolean"==typeof v&&(L=v?nt.has(l):Gt.has(l)),!q&&d&&"boolean"==typeof E&&(q=E?nt.has(s):Gt.has(s)),L&&q}}const In=new RegExp("s*:selfs*,?","g");function $n(l,s,a,d){return new ur(l).build(s,a,d)}class ur{constructor(s){this._driver=s}build(s,a,d){const v=new vs(a);return this._resetContextStyleTimingState(v),be(this,Vn(s),v)}_resetContextStyleTimingState(s){s.currentQuerySelector="",s.collectedStyles=new Map,s.collectedStyles.set("",new Map),s.currentTime=0}visitTrigger(s,a){let d=a.queryCount=0,v=a.depCount=0;const E=[],L=[];return"@"==s.name.charAt(0)&&a.errors.push(function Dn(){return new u.wOt(3006,!1)}()),s.definitions.forEach(q=>{if(this._resetContextStyleTimingState(a),q.type==j.State){const ue=q,Te=ue.name;Te.toString().split(/\s*,\s*/).forEach(Ct=>{ue.name=Ct,E.push(this.visitState(ue,a))}),ue.name=Te}else if(q.type==j.Transition){const ue=this.visitTransition(q,a);d+=ue.queryCount,v+=ue.depCount,L.push(ue)}else a.errors.push(function Qn(){return new u.wOt(3007,!1)}())}),{type:j.Trigger,name:s.name,states:E,transitions:L,queryCount:d,depCount:v,options:null}}visitState(s,a){const d=this.visitStyle(s.styles,a),v=s.options&&s.options.params||null;if(d.containsDynamicStyles){const E=new Set,L=v||{};d.styles.forEach(q=>{q instanceof Map&&q.forEach(ue=>{ir(ue).forEach(Te=>{L.hasOwnProperty(Te)||E.add(Te)})})}),E.size&&a.errors.push(function Xn(){return new u.wOt(3008,!1)}(0,E.values()))}return{type:j.State,name:s.name,style:d,options:v?{params:v}:null}}visitTransition(s,a){a.queryCount=0,a.depCount=0;const d=be(this,Vn(s.animation),a),v=function ke(l,s){const a=[];return"string"==typeof l?l.split(/\s*,\s*/).forEach(d=>function qe(l,s,a){if(":"==l[0]){const ue=function dt(l,s){switch(l){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(a,d)=>parseFloat(d)>parseFloat(a);case":decrement":return(a,d)=>parseFloat(d)<parseFloat(a);default:return s.push(function xt(){return new u.wOt(3016,!1)}()),"* => *"}}(l,a);if("function"==typeof ue)return void s.push(ue);l=ue}const d=l.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(null==d||d.length<4)return a.push(function wr(){return new u.wOt(3015,!1)}()),s;const v=d[1],E=d[2],L=d[3];s.push(En(v,L)),"<"==E[0]&&(v!=Ie||L!=Ie)&&s.push(En(L,v))}(d,a,s)):a.push(l),a}(s.expr,a.errors);return{type:j.Transition,matchers:v,animation:d,queryCount:a.queryCount,depCount:a.depCount,options:ki(s.options)}}visitSequence(s,a){return{type:j.Sequence,steps:s.steps.map(d=>be(this,d,a)),options:ki(s.options)}}visitGroup(s,a){const d=a.currentTime;let v=0;const E=s.steps.map(L=>{a.currentTime=d;const q=be(this,L,a);return v=Math.max(v,a.currentTime),q});return a.currentTime=v,{type:j.Group,steps:E,options:ki(s.options)}}visitAnimate(s,a){const d=function js(l,s){if(l.hasOwnProperty("duration"))return l;if("number"==typeof l)return Fi(me(l,s).duration,0,"");const a=l;if(a.split(/\s+/).some(E=>"{"==E.charAt(0)&&"{"==E.charAt(1))){const E=Fi(0,0,"");return E.dynamic=!0,E.strValue=a,E}const v=me(a,s);return Fi(v.duration,v.delay,v.easing)}(s.timings,a.errors);a.currentAnimateTimings=d;let v,E=s.styles?s.styles:xe({});if(E.type==j.Keyframes)v=this.visitKeyframes(E,a);else{let L=s.styles,q=!1;if(!L){q=!0;const Te={};d.easing&&(Te.easing=d.easing),L=xe(Te)}a.currentTime+=d.duration+d.delay;const ue=this.visitStyle(L,a);ue.isEmptyStep=q,v=ue}return a.currentAnimateTimings=null,{type:j.Animate,timings:d,style:v,options:null}}visitStyle(s,a){const d=this._makeStyleAst(s,a);return this._validateStyleAst(d,a),d}_makeStyleAst(s,a){const d=[],v=Array.isArray(s.styles)?s.styles:[s.styles];for(let q of v)"string"==typeof q?q===K?d.push(q):a.errors.push(new u.wOt(3002,!1)):d.push(new Map(Object.entries(q)));let E=!1,L=null;return d.forEach(q=>{if(q instanceof Map&&(q.has("easing")&&(L=q.get("easing"),q.delete("easing")),!E))for(let ue of q.values())if(ue.toString().indexOf("{{")>=0){E=!0;break}}),{type:j.Style,styles:d,easing:L,offset:s.offset,containsDynamicStyles:E,options:null}}_validateStyleAst(s,a){const d=a.currentAnimateTimings;let v=a.currentTime,E=a.currentTime;d&&E>0&&(E-=d.duration+d.delay),s.styles.forEach(L=>{"string"!=typeof L&&L.forEach((q,ue)=>{const Te=a.collectedStyles.get(a.currentQuerySelector),Ct=Te.get(ue);let ht=!0;Ct&&(E!=v&&E>=Ct.startTime&&v<=Ct.endTime&&(a.errors.push(function Sr(){return new u.wOt(3010,!1)}()),ht=!1),E=Ct.startTime),ht&&Te.set(ue,{startTime:E,endTime:v}),a.options&&function kn(l,s,a){const d=s.params||{},v=ir(l);v.length&&v.forEach(E=>{d.hasOwnProperty(E)||a.push(function Dt(){return new u.wOt(3001,!1)}())})}(q,a.options,a.errors)})})}visitKeyframes(s,a){const d={type:j.Keyframes,styles:[],options:null};if(!a.currentAnimateTimings)return a.errors.push(function $r(){return new u.wOt(3011,!1)}()),d;let E=0;const L=[];let q=!1,ue=!1,Te=0;const Ct=s.steps.map(Dr=>{const Ar=this._makeStyleAst(Dr,a);let oi=null!=Ar.offset?Ar.offset:function Go(l){if("string"==typeof l)return null;let s=null;if(Array.isArray(l))l.forEach(a=>{if(a instanceof Map&&a.has("offset")){const d=a;s=parseFloat(d.get("offset")),d.delete("offset")}});else if(l instanceof Map&&l.has("offset")){const a=l;s=parseFloat(a.get("offset")),a.delete("offset")}return s}(Ar.styles),pr=0;return null!=oi&&(E++,pr=Ar.offset=oi),ue=ue||pr<0||pr>1,q=q||pr<Te,Te=pr,L.push(pr),Ar});ue&&a.errors.push(function An(){return new u.wOt(3012,!1)}()),q&&a.errors.push(function Gn(){return new u.wOt(3200,!1)}());const ht=s.steps.length;let an=0;E>0&&E<ht?a.errors.push(function zr(){return new u.wOt(3202,!1)}()):0==E&&(an=1/(ht-1));const Wt=ht-1,Ut=a.currentTime,rn=a.currentAnimateTimings,qn=rn.duration;return Ct.forEach((Dr,Ar)=>{const oi=an>0?Ar==Wt?1:an*Ar:L[Ar],pr=oi*qn;a.currentTime=Ut+rn.delay+pr,rn.duration=pr,this._validateStyleAst(Dr,a),Dr.offset=oi,d.styles.push(Dr)}),d}visitReference(s,a){return{type:j.Reference,animation:be(this,Vn(s.animation),a),options:ki(s.options)}}visitAnimateChild(s,a){return a.depCount++,{type:j.AnimateChild,options:ki(s.options)}}visitAnimateRef(s,a){return{type:j.AnimateRef,animation:this.visitReference(s.animation,a),options:ki(s.options)}}visitQuery(s,a){const d=a.currentQuerySelector,v=s.options||{};a.queryCount++,a.currentQuery=s;const[E,L]=function li(l){const s=!!l.split(/\s*,\s*/).find(a=>":self"==a);return s&&(l=l.replace(In,"")),l=l.replace(/@\*/g,Ot).replace(/@\w+/g,a=>Ot+"-"+a.slice(1)).replace(/:animating/g,dn),[l,s]}(s.selector);a.currentQuerySelector=d.length?d+" "+E:E,st(a.collectedStyles,a.currentQuerySelector,new Map);const q=be(this,Vn(s.animation),a);return a.currentQuery=null,a.currentQuerySelector=d,{type:j.Query,selector:E,limit:v.limit||0,optional:!!v.optional,includeSelf:L,animation:q,originalSelector:s.selector,options:ki(s.options)}}visitStagger(s,a){a.currentQuery||a.errors.push(function tr(){return new u.wOt(3013,!1)}());const d="full"===s.timings?{duration:0,delay:0,easing:"full"}:me(s.timings,a.errors,!0);return{type:j.Stagger,animation:be(this,Vn(s.animation),a),timings:d,options:null}}}class vs{constructor(s){this.errors=s,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles=new Map,this.options=null,this.unsupportedCSSPropertiesFound=new Set}}function ki(l){return l?(l={...l}).params&&(l.params=function po(l){return l?{...l}:null}(l.params)):l={},l}function Fi(l,s,a){return{duration:l,delay:s,easing:a}}function go(l,s,a,d,v,E,L=null,q=!1){return{type:1,element:l,keyframes:s,preStyleProps:a,postStyleProps:d,duration:v,delay:E,totalTime:v+E,easing:L,subTimeline:q}}class gi{constructor(){this._map=new Map}get(s){return this._map.get(s)||[]}append(s,a){let d=this._map.get(s);d||this._map.set(s,d=[]),d.push(...a)}has(s){return this._map.has(s)}clear(){this._map.clear()}}const Wo=new RegExp(":enter","g"),Io=new RegExp(":leave","g");function mi(l,s,a,d,v,E=new Map,L=new Map,q,ue,Te=[]){return(new to).buildKeyframes(l,s,a,d,v,E,L,q,ue,Te)}class to{buildKeyframes(s,a,d,v,E,L,q,ue,Te,Ct=[]){Te=Te||new gi;const ht=new Li(s,a,Te,v,E,Ct,[]);ht.options=ue;const an=ue.delay?Pt(ue.delay):0;ht.currentTimeline.delayNextStep(an),ht.currentTimeline.setStyles([L],null,ht.errors,ue),be(this,d,ht);const Wt=ht.timelines.filter(Ut=>Ut.containsAnimation());if(Wt.length&&q.size){let Ut;for(let rn=Wt.length-1;rn>=0;rn--){const qn=Wt[rn];if(qn.element===a){Ut=qn;break}}Ut&&!Ut.allowOnlyTimelineStyles()&&Ut.setStyles([q],null,ht.errors,ue)}return Wt.length?Wt.map(Ut=>Ut.buildKeyframes()):[go(a,[],[],[],0,an,"",!1)]}visitTrigger(s,a){}visitState(s,a){}visitTransition(s,a){}visitAnimateChild(s,a){const d=a.subInstructions.get(a.element);if(d){const v=a.createSubContext(s.options),E=a.currentTimeline.currentTime,L=this._visitSubInstructions(d,v,v.options);E!=L&&a.transformIntoNewTimeline(L)}a.previousNode=s}visitAnimateRef(s,a){const d=a.createSubContext(s.options);d.transformIntoNewTimeline(),this._applyAnimationRefDelays([s.options,s.animation.options],a,d),this.visitReference(s.animation,d),a.transformIntoNewTimeline(d.currentTimeline.currentTime),a.previousNode=s}_applyAnimationRefDelays(s,a,d){for(const v of s){const E=v?.delay;if(E){const L="number"==typeof E?E:Pt(et(E,v?.params??{},a.errors));d.delayNextStep(L)}}}_visitSubInstructions(s,a,d){let E=a.currentTimeline.currentTime;const L=null!=d.duration?Pt(d.duration):null,q=null!=d.delay?Pt(d.delay):null;return 0!==L&&s.forEach(ue=>{const Te=a.appendInstructionToTimeline(ue,L,q);E=Math.max(E,Te.duration+Te.delay)}),E}visitReference(s,a){a.updateOptions(s.options,!0),be(this,s.animation,a),a.previousNode=s}visitSequence(s,a){const d=a.subContextCount;let v=a;const E=s.options;if(E&&(E.params||E.delay)&&(v=a.createSubContext(E),v.transformIntoNewTimeline(),null!=E.delay)){v.previousNode.type==j.Style&&(v.currentTimeline.snapshotCurrentStyles(),v.previousNode=mo);const L=Pt(E.delay);v.delayNextStep(L)}s.steps.length&&(s.steps.forEach(L=>be(this,L,v)),v.currentTimeline.applyStylesToKeyframe(),v.subContextCount>d&&v.transformIntoNewTimeline()),a.previousNode=s}visitGroup(s,a){const d=[];let v=a.currentTimeline.currentTime;const E=s.options&&s.options.delay?Pt(s.options.delay):0;s.steps.forEach(L=>{const q=a.createSubContext(s.options);E&&q.delayNextStep(E),be(this,L,q),v=Math.max(v,q.currentTimeline.currentTime),d.push(q.currentTimeline)}),d.forEach(L=>a.currentTimeline.mergeTimelineCollectedStyles(L)),a.transformIntoNewTimeline(v),a.previousNode=s}_visitTiming(s,a){if(s.dynamic){const d=s.strValue;return me(a.params?et(d,a.params,a.errors):d,a.errors)}return{duration:s.duration,delay:s.delay,easing:s.easing}}visitAnimate(s,a){const d=a.currentAnimateTimings=this._visitTiming(s.timings,a),v=a.currentTimeline;d.delay&&(a.incrementTime(d.delay),v.snapshotCurrentStyles());const E=s.style;E.type==j.Keyframes?this.visitKeyframes(E,a):(a.incrementTime(d.duration),this.visitStyle(E,a),v.applyStylesToKeyframe()),a.currentAnimateTimings=null,a.previousNode=s}visitStyle(s,a){const d=a.currentTimeline,v=a.currentAnimateTimings;!v&&d.hasCurrentStyleProperties()&&d.forwardFrame();const E=v&&v.easing||s.easing;s.isEmptyStep?d.applyEmptyStep(E):d.setStyles(s.styles,E,a.errors,a.options),a.previousNode=s}visitKeyframes(s,a){const d=a.currentAnimateTimings,v=a.currentTimeline.duration,E=d.duration,q=a.createSubContext().currentTimeline;q.easing=d.easing,s.styles.forEach(ue=>{q.forwardTime((ue.offset||0)*E),q.setStyles(ue.styles,ue.easing,a.errors,a.options),q.applyStylesToKeyframe()}),a.currentTimeline.mergeTimelineCollectedStyles(q),a.transformIntoNewTimeline(v+E),a.previousNode=s}visitQuery(s,a){const d=a.currentTimeline.currentTime,v=s.options||{},E=v.delay?Pt(v.delay):0;E&&(a.previousNode.type===j.Style||0==d&&a.currentTimeline.hasCurrentStyleProperties())&&(a.currentTimeline.snapshotCurrentStyles(),a.previousNode=mo);let L=d;const q=a.invokeQuery(s.selector,s.originalSelector,s.limit,s.includeSelf,!!v.optional,a.errors);a.currentQueryTotal=q.length;let ue=null;q.forEach((Te,Ct)=>{a.currentQueryIndex=Ct;const ht=a.createSubContext(s.options,Te);E&&ht.delayNextStep(E),Te===a.element&&(ue=ht.currentTimeline),be(this,s.animation,ht),ht.currentTimeline.applyStylesToKeyframe(),L=Math.max(L,ht.currentTimeline.currentTime)}),a.currentQueryIndex=0,a.currentQueryTotal=0,a.transformIntoNewTimeline(L),ue&&(a.currentTimeline.mergeTimelineCollectedStyles(ue),a.currentTimeline.snapshotCurrentStyles()),a.previousNode=s}visitStagger(s,a){const d=a.parentContext,v=a.currentTimeline,E=s.timings,L=Math.abs(E.duration),q=L*(a.currentQueryTotal-1);let ue=L*a.currentQueryIndex;switch(E.duration<0?"reverse":E.easing){case"reverse":ue=q-ue;break;case"full":ue=d.currentStaggerTime}const Ct=a.currentTimeline;ue&&Ct.delayNextStep(ue);const ht=Ct.currentTime;be(this,s.animation,a),a.previousNode=s,d.currentStaggerTime=v.currentTime-ht+(v.startTime-d.currentTimeline.startTime)}}const mo={};class Li{constructor(s,a,d,v,E,L,q,ue){this._driver=s,this.element=a,this.subInstructions=d,this._enterClassName=v,this._leaveClassName=E,this.errors=L,this.timelines=q,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=mo,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=ue||new Vi(this._driver,a,0),q.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(s,a){if(!s)return;const d=s;let v=this.options;null!=d.duration&&(v.duration=Pt(d.duration)),null!=d.delay&&(v.delay=Pt(d.delay));const E=d.params;if(E){let L=v.params;L||(L=this.options.params={}),Object.keys(E).forEach(q=>{(!a||!L.hasOwnProperty(q))&&(L[q]=et(E[q],L,this.errors))})}}_copyOptions(){const s={};if(this.options){const a=this.options.params;if(a){const d=s.params={};Object.keys(a).forEach(v=>{d[v]=a[v]})}}return s}createSubContext(s=null,a,d){const v=a||this.element,E=new Li(this._driver,v,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(v,d||0));return E.previousNode=this.previousNode,E.currentAnimateTimings=this.currentAnimateTimings,E.options=this._copyOptions(),E.updateOptions(s),E.currentQueryIndex=this.currentQueryIndex,E.currentQueryTotal=this.currentQueryTotal,E.parentContext=this,this.subContextCount++,E}transformIntoNewTimeline(s){return this.previousNode=mo,this.currentTimeline=this.currentTimeline.fork(this.element,s),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(s,a,d){const v={duration:a??s.duration,delay:this.currentTimeline.currentTime+(d??0)+s.delay,easing:""},E=new Wr(this._driver,s.element,s.keyframes,s.preStyleProps,s.postStyleProps,v,s.stretchStartingKeyframe);return this.timelines.push(E),v}incrementTime(s){this.currentTimeline.forwardTime(this.currentTimeline.duration+s)}delayNextStep(s){s>0&&this.currentTimeline.delayNextStep(s)}invokeQuery(s,a,d,v,E,L){let q=[];if(v&&q.push(this.element),s.length>0){s=(s=s.replace(Wo,"."+this._enterClassName)).replace(Io,"."+this._leaveClassName);let Te=this._driver.query(this.element,s,1!=d);0!==d&&(Te=d<0?Te.slice(Te.length+d,Te.length):Te.slice(0,d)),q.push(...Te)}return!E&&0==q.length&&L.push(function Ir(){return new u.wOt(3014,!1)}()),q}}class Vi{constructor(s,a,d,v){this._driver=s,this.element=a,this.startTime=d,this._elementTimelineStylesLookup=v,this.duration=0,this.easing=null,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(a),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(a,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(s){const a=1===this._keyframes.size&&this._pendingStyles.size;this.duration||a?(this.forwardTime(this.currentTime+s),a&&this.snapshotCurrentStyles()):this.startTime+=s}fork(s,a){return this.applyStylesToKeyframe(),new Vi(this._driver,s,a||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(s){this.applyStylesToKeyframe(),this.duration=s,this._loadKeyframe()}_updateStyle(s,a){this._localTimelineStyles.set(s,a),this._globalTimelineStyles.set(s,a),this._styleSummary.set(s,{time:this.currentTime,value:a})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(s){s&&this._previousKeyframe.set("easing",s);for(let[a,d]of this._globalTimelineStyles)this._backFill.set(a,d||K),this._currentKeyframe.set(a,K);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(s,a,d,v){a&&this._previousKeyframe.set("easing",a);const E=v&&v.params||{},L=function ro(l,s){const a=new Map;let d;return l.forEach(v=>{if("*"===v){d??=s.keys();for(let E of d)a.set(E,K)}else for(let[E,L]of v)a.set(E,L)}),a}(s,this._globalTimelineStyles);for(let[q,ue]of L){const Te=et(ue,E,d);this._pendingStyles.set(q,Te),this._localTimelineStyles.has(q)||this._backFill.set(q,this._globalTimelineStyles.get(q)??K),this._updateStyle(q,Te)}}applyStylesToKeyframe(){0!=this._pendingStyles.size&&(this._pendingStyles.forEach((s,a)=>{this._currentKeyframe.set(a,s)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((s,a)=>{this._currentKeyframe.has(a)||this._currentKeyframe.set(a,s)}))}snapshotCurrentStyles(){for(let[s,a]of this._localTimelineStyles)this._pendingStyles.set(s,a),this._updateStyle(s,a)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const s=[];for(let a in this._currentKeyframe)s.push(a);return s}mergeTimelineCollectedStyles(s){s._styleSummary.forEach((a,d)=>{const v=this._styleSummary.get(d);(!v||a.time>v.time)&&this._updateStyle(d,a.value)})}buildKeyframes(){this.applyStylesToKeyframe();const s=new Set,a=new Set,d=1===this._keyframes.size&&0===this.duration;let v=[];this._keyframes.forEach((q,ue)=>{const Te=new Map([...this._backFill,...q]);Te.forEach((Ct,ht)=>{"!"===Ct?s.add(ht):Ct===K&&a.add(ht)}),d||Te.set("offset",ue/this.duration),v.push(Te)});const E=[...s.values()],L=[...a.values()];if(d){const q=v[0],ue=new Map(q);q.set("offset",0),ue.set("offset",1),v=[q,ue]}return go(this.element,v,E,L,this.duration,this.startTime,this.easing,!1)}}class Wr extends Vi{constructor(s,a,d,v,E,L,q=!1){super(s,a,L.delay),this.keyframes=d,this.preStyleProps=v,this.postStyleProps=E,this._stretchStartingKeyframe=q,this.timings={duration:L.duration,delay:L.delay,easing:L.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let s=this.keyframes,{delay:a,duration:d,easing:v}=this.timings;if(this._stretchStartingKeyframe&&a){const E=[],L=d+a,q=a/L,ue=new Map(s[0]);ue.set("offset",0),E.push(ue);const Te=new Map(s[0]);Te.set("offset",no(q)),E.push(Te);const Ct=s.length-1;for(let ht=1;ht<=Ct;ht++){let an=new Map(s[ht]);const Wt=an.get("offset");an.set("offset",no((a+Wt*d)/L)),E.push(an)}d=L,a=0,v="",s=E}return go(this.element,s,this.preStyleProps,this.postStyleProps,d,a,v,!0)}}function no(l,s=3){const a=Math.pow(10,s-1);return Math.round(l*a)/a}function io(l,s,a,d,v,E,L,q,ue,Te,Ct,ht,an){return{type:0,element:l,triggerName:s,isRemovalTransition:v,fromState:a,fromStyles:E,toState:d,toStyles:L,timelines:q,queriedElements:ue,preStyleProps:Te,postStyleProps:Ct,totalTime:ht,errors:an}}const Bi={};class Oo{constructor(s,a,d){this._triggerName=s,this.ast=a,this._stateStyles=d}match(s,a,d,v){return function qo(l,s,a,d,v){return l.some(E=>E(s,a,d,v))}(this.ast.matchers,s,a,d,v)}buildStyles(s,a,d){let v=this._stateStyles.get("*");return void 0!==s&&(v=this._stateStyles.get(s?.toString())||v),v?v.buildStyles(a,d):new Map}build(s,a,d,v,E,L,q,ue,Te,Ct){const ht=[],an=this.ast.options&&this.ast.options.params||Bi,Ut=this.buildStyles(d,q&&q.params||Bi,ht),rn=ue&&ue.params||Bi,qn=this.buildStyles(v,rn,ht),Dr=new Set,Ar=new Map,oi=new Map,pr="void"===v,ta={params:Vr(rn,an),delay:this.ast.options?.delay},qi=Ct?[]:mi(s,a,this.ast.animation,E,L,Ut,qn,ta,Te,ht);let Br=0;return qi.forEach(Ci=>{Br=Math.max(Ci.duration+Ci.delay,Br)}),ht.length?io(a,this._triggerName,d,v,pr,Ut,qn,[],[],Ar,oi,Br,ht):(qi.forEach(Ci=>{const Fo=Ci.element,Lo=st(Ar,Fo,new Set);Ci.preStyleProps.forEach(Qi=>Lo.add(Qi));const Si=st(oi,Fo,new Set);Ci.postStyleProps.forEach(Qi=>Si.add(Qi)),Fo!==a&&Dr.add(Fo)}),io(a,this._triggerName,d,v,pr,Ut,qn,qi,[...Dr.values()],Ar,oi,Br))}}function Vr(l,s){const a={...s};return Object.entries(l).forEach(([d,v])=>{null!=v&&(a[d]=v)}),a}class oo{constructor(s,a,d){this.styles=s,this.defaultParams=a,this.normalizer=d}buildStyles(s,a){const d=new Map,v=Vr(s,this.defaultParams);return this.styles.styles.forEach(E=>{"string"!=typeof E&&E.forEach((L,q)=>{L&&(L=et(L,v,a));const ue=this.normalizer.normalizePropertyName(q,a);L=this.normalizer.normalizeStyleValue(q,ue,L,a),d.set(q,L)})}),d}}class ji{constructor(s,a,d){this.name=s,this.ast=a,this._normalizer=d,this.transitionFactories=[],this.states=new Map,a.states.forEach(v=>{this.states.set(v.name,new oo(v.style,v.options&&v.options.params||{},d))}),at(this.states,"true","1"),at(this.states,"false","0"),a.transitions.forEach(v=>{this.transitionFactories.push(new Oo(s,v,this.states))}),this.fallbackTransition=function Qo(l,s){return new Oo(l,{type:j.Transition,animation:{type:j.Sequence,steps:[],options:null},matchers:[(L,q)=>!0],options:null,queryCount:0,depCount:0},s)}(s,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(s,a,d,v){return this.transitionFactories.find(L=>L.match(s,a,d,v))||null}matchStyles(s,a,d){return this.fallbackTransition.buildStyles(s,a,d)}}function at(l,s,a){l.has(s)?l.has(a)||l.set(a,l.get(s)):l.has(a)&&l.set(s,l.get(a))}const ti=new gi;class Mr{constructor(s,a,d){this.bodyNode=s,this._driver=a,this._normalizer=d,this._animations=new Map,this._playersById=new Map,this.players=[]}register(s,a){const d=[],E=$n(this._driver,a,d,[]);if(d.length)throw function gr(){return new u.wOt(3503,!1)}();this._animations.set(s,E)}_buildPlayer(s,a,d){const v=s.element,E=Ue(this._normalizer,s.keyframes,a,d);return this._driver.animate(v,E,s.duration,s.delay,s.easing,[],!0)}create(s,a,d={}){const v=[],E=this._animations.get(s);let L;const q=new Map;if(E?(L=mi(this._driver,a,E,zt,kt,new Map,new Map,d,ti,v),L.forEach(Ct=>{const ht=st(q,Ct.element,new Map);Ct.postStyleProps.forEach(an=>ht.set(an,null))})):(v.push(function Yt(){return new u.wOt(3300,!1)}()),L=[]),v.length)throw function Ze(){return new u.wOt(3504,!1)}();q.forEach((Ct,ht)=>{Ct.forEach((an,Wt)=>{Ct.set(Wt,this._driver.computeStyle(ht,Wt,K))})});const Te=le(L.map(Ct=>{const ht=q.get(Ct.element);return this._buildPlayer(Ct,new Map,ht)}));return this._playersById.set(s,Te),Te.onDestroy(()=>this.destroy(s)),this.players.push(Te),Te}destroy(s){const a=this._getPlayer(s);a.destroy(),this._playersById.delete(s);const d=this.players.indexOf(a);d>=0&&this.players.splice(d,1)}_getPlayer(s){const a=this._playersById.get(s);if(!a)throw function bi(){return new u.wOt(3301,!1)}();return a}listen(s,a,d,v){const E=Be(a,"","","");return he(this._getPlayer(s),d,E,v),()=>{}}command(s,a,d,v){if("register"==d)return void this.register(s,v[0]);if("create"==d)return void this.create(s,a,v[0]||{});const E=this._getPlayer(s);switch(d){case"play":E.play();break;case"pause":E.pause();break;case"reset":E.reset();break;case"restart":E.restart();break;case"finish":E.finish();break;case"init":E.init();break;case"setPosition":E.setPosition(parseFloat(v[0]));break;case"destroy":this.destroy(s)}}}const _o="ng-animate-queued",Di="ng-animate-disabled",ri=[],ci={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},yo={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},br="__ng_removed";class _i{get params(){return this.options.params}constructor(s,a=""){this.namespaceId=a;const d=s&&s.hasOwnProperty("value");if(this.value=function dr(l){return l??null}(d?s.value:s),d){const{value:E,...L}=s;this.options=L}else this.options={};this.options.params||(this.options.params={})}absorbOptions(s){const a=s.params;if(a){const d=this.options.params;Object.keys(a).forEach(v=>{null==d[v]&&(d[v]=a[v])})}}}const ui="void",or=new _i(ui);class $s{constructor(s,a,d){this.id=s,this.hostElement=a,this._engine=d,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+s,mr(a,this._hostClassName)}listen(s,a,d,v){if(!this._triggers.has(a))throw function Gr(){return new u.wOt(3302,!1)}();if(null==d||0==d.length)throw function Kn(){return new u.wOt(3303,!1)}();if(!function Zo(l){return"start"==l||"done"==l}(d))throw function Lr(){return new u.wOt(3400,!1)}();const E=st(this._elementListeners,s,[]),L={name:a,phase:d,callback:v};E.push(L);const q=st(this._engine.statesByElement,s,new Map);return q.has(a)||(mr(s,bt),mr(s,bt+"-"+a),q.set(a,or)),()=>{this._engine.afterFlush(()=>{const ue=E.indexOf(L);ue>=0&&E.splice(ue,1),this._triggers.has(a)||q.delete(a)})}}register(s,a){return!this._triggers.has(s)&&(this._triggers.set(s,a),!0)}_getTrigger(s){const a=this._triggers.get(s);if(!a)throw function Yn(){return new u.wOt(3401,!1)}();return a}trigger(s,a,d,v=!0){const E=this._getTrigger(a),L=new yn(this.id,a,s);let q=this._engine.statesByElement.get(s);q||(mr(s,bt),mr(s,bt+"-"+a),this._engine.statesByElement.set(s,q=new Map));let ue=q.get(a);const Te=new _i(d,this.id);if(!(d&&d.hasOwnProperty("value"))&&ue&&Te.absorbOptions(ue.options),q.set(a,Te),ue||(ue=or),Te.value!==ui&&ue.value===Te.value){if(!function Pr(l,s){const a=Object.keys(l),d=Object.keys(s);if(a.length!=d.length)return!1;for(let v=0;v<a.length;v++){const E=a[v];if(!s.hasOwnProperty(E)||l[E]!==s[E])return!1}return!0}(ue.params,Te.params)){const rn=[],qn=E.matchStyles(ue.value,ue.params,rn),Dr=E.matchStyles(Te.value,Te.params,rn);rn.length?this._engine.reportError(rn):this._engine.afterFlush(()=>{Qt(s,qn),gn(s,Dr)})}return}const an=st(this._engine.playersByElement,s,[]);an.forEach(rn=>{rn.namespaceId==this.id&&rn.triggerName==a&&rn.queued&&rn.destroy()});let Wt=E.matchTransition(ue.value,Te.value,s,Te.params),Ut=!1;if(!Wt){if(!v)return;Wt=E.fallbackTransition,Ut=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:s,triggerName:a,transition:Wt,fromState:ue,toState:Te,player:L,isFallbackTransition:Ut}),Ut||(mr(s,_o),L.onStart(()=>{nr(s,_o)})),L.onDone(()=>{let rn=this.players.indexOf(L);rn>=0&&this.players.splice(rn,1);const qn=this._engine.playersByElement.get(s);if(qn){let Dr=qn.indexOf(L);Dr>=0&&qn.splice(Dr,1)}}),this.players.push(L),an.push(L),L}deregister(s){this._triggers.delete(s),this._engine.statesByElement.forEach(a=>a.delete(s)),this._elementListeners.forEach((a,d)=>{this._elementListeners.set(d,a.filter(v=>v.name!=s))})}clearElementCache(s){this._engine.statesByElement.delete(s),this._elementListeners.delete(s);const a=this._engine.playersByElement.get(s);a&&(a.forEach(d=>d.destroy()),this._engine.playersByElement.delete(s))}_signalRemovalForInnerTriggers(s,a){const d=this._engine.driver.query(s,Ot,!0);d.forEach(v=>{if(v[br])return;const E=this._engine.fetchNamespacesByElement(v);E.size?E.forEach(L=>L.triggerLeaveAnimation(v,a,!1,!0)):this.clearElementCache(v)}),this._engine.afterFlushAnimationsDone(()=>d.forEach(v=>this.clearElementCache(v)))}triggerLeaveAnimation(s,a,d,v){const E=this._engine.statesByElement.get(s),L=new Map;if(E){const q=[];if(E.forEach((ue,Te)=>{if(L.set(Te,ue.value),this._triggers.has(Te)){const Ct=this.trigger(s,Te,ui,v);Ct&&q.push(Ct)}}),q.length)return this._engine.markElementAsRemoved(this.id,s,!0,a,L),d&&le(q).onDone(()=>this._engine.processLeaveNode(s)),!0}return!1}prepareLeaveAnimationListeners(s){const a=this._elementListeners.get(s),d=this._engine.statesByElement.get(s);if(a&&d){const v=new Set;a.forEach(E=>{const L=E.name;if(v.has(L))return;v.add(L);const ue=this._triggers.get(L).fallbackTransition,Te=d.get(L)||or,Ct=new _i(ui),ht=new yn(this.id,L,s);this._engine.totalQueuedPlayers++,this._queue.push({element:s,triggerName:L,transition:ue,fromState:Te,toState:Ct,player:ht,isFallbackTransition:!0})})}}removeNode(s,a){const d=this._engine;if(s.childElementCount&&this._signalRemovalForInnerTriggers(s,a),this.triggerLeaveAnimation(s,a,!0))return;let v=!1;if(d.totalAnimations){const E=d.players.length?d.playersByQueriedElement.get(s):[];if(E&&E.length)v=!0;else{let L=s;for(;L=L.parentNode;)if(d.statesByElement.get(L)){v=!0;break}}}if(this.prepareLeaveAnimationListeners(s),v)d.markElementAsRemoved(this.id,s,!1,a);else{const E=s[br];(!E||E===ci)&&(d.afterFlush(()=>this.clearElementCache(s)),d.destroyInnerAnimations(s),d._onRemovalComplete(s,a))}}insertNode(s,a){mr(s,this._hostClassName)}drainQueuedTransitions(s){const a=[];return this._queue.forEach(d=>{const v=d.player;if(v.destroyed)return;const E=d.element,L=this._elementListeners.get(E);L&&L.forEach(q=>{if(q.name==d.triggerName){const ue=Be(E,d.triggerName,d.fromState.value,d.toState.value);ue._data=s,he(d.player,q.phase,ue,q.callback)}}),v.markedForDestroy?this._engine.afterFlush(()=>{v.destroy()}):a.push(d)}),this._queue=[],a.sort((d,v)=>{const E=d.transition.ast.depCount,L=v.transition.ast.depCount;return 0==E||0==L?E-L:this._engine.driver.containsElement(d.element,v.element)?1:-1})}destroy(s){this.players.forEach(a=>a.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,s)}}class Xo{_onRemovalComplete(s,a){this.onRemovalComplete(s,a)}constructor(s,a,d){this.bodyNode=s,this.driver=a,this._normalizer=d,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=(v,E)=>{}}get queuedPlayers(){const s=[];return this._namespaceList.forEach(a=>{a.players.forEach(d=>{d.queued&&s.push(d)})}),s}createNamespace(s,a){const d=new $s(s,a,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,a)?this._balanceNamespaceList(d,a):(this.newHostElements.set(a,d),this.collectEnterElement(a)),this._namespaceLookup[s]=d}_balanceNamespaceList(s,a){const d=this._namespaceList,v=this.namespacesByHostElement;if(d.length-1>=0){let L=!1,q=this.driver.getParentElement(a);for(;q;){const ue=v.get(q);if(ue){const Te=d.indexOf(ue);d.splice(Te+1,0,s),L=!0;break}q=this.driver.getParentElement(q)}L||d.unshift(s)}else d.push(s);return v.set(a,s),s}register(s,a){let d=this._namespaceLookup[s];return d||(d=this.createNamespace(s,a)),d}registerTrigger(s,a,d){let v=this._namespaceLookup[s];v&&v.register(a,d)&&this.totalAnimations++}destroy(s,a){s&&(this.afterFlush(()=>{}),this.afterFlushAnimationsDone(()=>{const d=this._fetchNamespace(s);this.namespacesByHostElement.delete(d.hostElement);const v=this._namespaceList.indexOf(d);v>=0&&this._namespaceList.splice(v,1),d.destroy(a),delete this._namespaceLookup[s]}))}_fetchNamespace(s){return this._namespaceLookup[s]}fetchNamespacesByElement(s){const a=new Set,d=this.statesByElement.get(s);if(d)for(let v of d.values())if(v.namespaceId){const E=this._fetchNamespace(v.namespaceId);E&&a.add(E)}return a}trigger(s,a,d,v){if(vo(a)){const E=this._fetchNamespace(s);if(E)return E.trigger(a,d,v),!0}return!1}insertNode(s,a,d,v){if(!vo(a))return;const E=a[br];if(E&&E.setForRemoval){E.setForRemoval=!1,E.setForMove=!0;const L=this.collectedLeaveElements.indexOf(a);L>=0&&this.collectedLeaveElements.splice(L,1)}if(s){const L=this._fetchNamespace(s);L&&L.insertNode(a,d)}v&&this.collectEnterElement(a)}collectEnterElement(s){this.collectedEnterElements.push(s)}markElementAsDisabled(s,a){a?this.disabledNodes.has(s)||(this.disabledNodes.add(s),mr(s,Di)):this.disabledNodes.has(s)&&(this.disabledNodes.delete(s),nr(s,Di))}removeNode(s,a,d){if(vo(a)){const v=s?this._fetchNamespace(s):null;v?v.removeNode(a,d):this.markElementAsRemoved(s,a,!1,d);const E=this.namespacesByHostElement.get(a);E&&E.id!==s&&E.removeNode(a,d)}else this._onRemovalComplete(a,d)}markElementAsRemoved(s,a,d,v,E){this.collectedLeaveElements.push(a),a[br]={namespaceId:s,setForRemoval:v,hasAnimation:d,removedBeforeQueried:!1,previousTriggersValues:E}}listen(s,a,d,v,E){return vo(a)?this._fetchNamespace(s).listen(a,d,v,E):()=>{}}_buildInstruction(s,a,d,v,E){return s.transition.build(this.driver,s.element,s.fromState.value,s.toState.value,d,v,s.fromState.options,s.toState.options,a,E)}destroyInnerAnimations(s){let a=this.driver.query(s,Ot,!0);a.forEach(d=>this.destroyActiveAnimationsForElement(d)),0!=this.playersByQueriedElement.size&&(a=this.driver.query(s,dn,!0),a.forEach(d=>this.finishActiveQueriedAnimationOnElement(d)))}destroyActiveAnimationsForElement(s){const a=this.playersByElement.get(s);a&&a.forEach(d=>{d.queued?d.markedForDestroy=!0:d.destroy()})}finishActiveQueriedAnimationOnElement(s){const a=this.playersByQueriedElement.get(s);a&&a.forEach(d=>d.finish())}whenRenderingDone(){return new Promise(s=>{if(this.players.length)return le(this.players).onDone(()=>s());s()})}processLeaveNode(s){const a=s[br];if(a&&a.setForRemoval){if(s[br]=ci,a.namespaceId){this.destroyInnerAnimations(s);const d=this._fetchNamespace(a.namespaceId);d&&d.clearElementCache(s)}this._onRemovalComplete(s,a.setForRemoval)}s.classList?.contains(Di)&&this.markElementAsDisabled(s,!1),this.driver.query(s,".ng-animate-disabled",!0).forEach(d=>{this.markElementAsDisabled(d,!1)})}flush(s=-1){let a=[];if(this.newHostElements.size&&(this.newHostElements.forEach((d,v)=>this._balanceNamespaceList(d,v)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let d=0;d<this.collectedEnterElements.length;d++)mr(this.collectedEnterElements[d],"ng-star-inserted");if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){const d=[];try{a=this._flushAnimations(d,s)}finally{for(let v=0;v<d.length;v++)d[v]()}}else for(let d=0;d<this.collectedLeaveElements.length;d++)this.processLeaveNode(this.collectedLeaveElements[d]);if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(d=>d()),this._flushFns=[],this._whenQuietFns.length){const d=this._whenQuietFns;this._whenQuietFns=[],a.length?le(a).onDone(()=>{d.forEach(v=>v())}):d.forEach(v=>v())}}reportError(s){throw function ai(){return new u.wOt(3402,!1)}()}_flushAnimations(s,a){const d=new gi,v=[],E=new Map,L=[],q=new Map,ue=new Map,Te=new Map,Ct=new Set;this.disabledNodes.forEach(At=>{Ct.add(At);const Ht=this.driver.query(At,".ng-animate-queued",!0);for(let on=0;on<Ht.length;on++)Ct.add(Ht[on])});const ht=this.bodyNode,an=Array.from(this.statesByElement.keys()),Wt=Xt(an,this.collectedEnterElements),Ut=new Map;let rn=0;Wt.forEach((At,Ht)=>{const on=zt+rn++;Ut.set(Ht,on),At.forEach(Ln=>mr(Ln,on))});const qn=[],Dr=new Set,Ar=new Set;for(let At=0;At<this.collectedLeaveElements.length;At++){const Ht=this.collectedLeaveElements[At],on=Ht[br];on&&on.setForRemoval&&(qn.push(Ht),Dr.add(Ht),on.hasAnimation?this.driver.query(Ht,".ng-star-inserted",!0).forEach(Ln=>Dr.add(Ln)):Ar.add(Ht))}const oi=new Map,pr=Xt(an,Array.from(Dr));pr.forEach((At,Ht)=>{const on=kt+rn++;oi.set(Ht,on),At.forEach(Ln=>mr(Ln,on))}),s.push(()=>{Wt.forEach((At,Ht)=>{const on=Ut.get(Ht);At.forEach(Ln=>nr(Ln,on))}),pr.forEach((At,Ht)=>{const on=oi.get(Ht);At.forEach(Ln=>nr(Ln,on))}),qn.forEach(At=>{this.processLeaveNode(At)})});const ta=[],qi=[];for(let At=this._namespaceList.length-1;At>=0;At--)this._namespaceList[At].drainQueuedTransitions(a).forEach(on=>{const Ln=on.player,jr=on.element;if(ta.push(Ln),this.collectedEnterElements.length){const si=jr[br];if(si&&si.setForMove){if(si.previousTriggersValues&&si.previousTriggersValues.has(on.triggerName)){const cr=si.previousTriggersValues.get(on.triggerName),Oi=this.statesByElement.get(on.element);if(Oi&&Oi.has(on.triggerName)){const tl=Oi.get(on.triggerName);tl.value=cr,Oi.set(on.triggerName,tl)}}return void Ln.destroy()}}const Xi=!ht||!this.driver.containsElement(ht,jr),Ii=oi.get(jr),Vo=Ut.get(jr),lr=this._buildInstruction(on,d,Vo,Ii,Xi);if(lr.errors&&lr.errors.length)return void qi.push(lr);if(Xi)return Ln.onStart(()=>Qt(jr,lr.fromStyles)),Ln.onDestroy(()=>gn(jr,lr.toStyles)),void v.push(Ln);if(on.isFallbackTransition)return Ln.onStart(()=>Qt(jr,lr.fromStyles)),Ln.onDestroy(()=>gn(jr,lr.toStyles)),void v.push(Ln);const As=[];lr.timelines.forEach(si=>{si.stretchStartingKeyframe=!0,this.disabledNodes.has(si.element)||As.push(si)}),lr.timelines=As,d.append(jr,lr.timelines),L.push({instruction:lr,player:Ln,element:jr}),lr.queriedElements.forEach(si=>st(q,si,[]).push(Ln)),lr.preStyleProps.forEach((si,cr)=>{if(si.size){let Oi=ue.get(cr);Oi||ue.set(cr,Oi=new Set),si.forEach((tl,Ns)=>Oi.add(Ns))}}),lr.postStyleProps.forEach((si,cr)=>{let Oi=Te.get(cr);Oi||Te.set(cr,Oi=new Set),si.forEach((tl,Ns)=>Oi.add(Ns))})});if(qi.length){const At=[];qi.forEach(Ht=>{At.push(function ei(){return new u.wOt(3505,!1)}())}),ta.forEach(Ht=>Ht.destroy()),this.reportError(At)}const Br=new Map,Ci=new Map;L.forEach(At=>{const Ht=At.element;d.has(Ht)&&(Ci.set(Ht,Ht),this._beforeAnimationBuild(At.player.namespaceId,At.instruction,Br))}),v.forEach(At=>{const Ht=At.element;this._getPreviousPlayers(Ht,!1,At.namespaceId,At.triggerName,null).forEach(Ln=>{st(Br,Ht,[]).push(Ln),Ln.destroy()})});const Fo=qn.filter(At=>bs(At,ue,Te)),Lo=new Map;Co(Lo,this.driver,Ar,Te,K).forEach(At=>{bs(At,ue,Te)&&Fo.push(At)});const Qi=new Map;Wt.forEach((At,Ht)=>{Co(Qi,this.driver,new Set(At),ue,"!")}),Fo.forEach(At=>{const Ht=Lo.get(At),on=Qi.get(At);Lo.set(At,new Map([...Ht?.entries()??[],...on?.entries()??[]]))});const Ca=[],Tu=[],Su={};L.forEach(At=>{const{element:Ht,player:on,instruction:Ln}=At;if(d.has(Ht)){if(Ct.has(Ht))return on.onDestroy(()=>gn(Ht,Ln.toStyles)),on.disabled=!0,on.overrideTotalTime(Ln.totalTime),void v.push(on);let jr=Su;if(Ci.size>1){let Ii=Ht;const Vo=[];for(;Ii=Ii.parentNode;){const lr=Ci.get(Ii);if(lr){jr=lr;break}Vo.push(Ii)}Vo.forEach(lr=>Ci.set(lr,jr))}const Xi=this._buildAnimation(on.namespaceId,Ln,Br,E,Qi,Lo);if(on.setRealPlayer(Xi),jr===Su)Ca.push(on);else{const Ii=this.playersByElement.get(jr);Ii&&Ii.length&&(on.parentPlayer=le(Ii)),v.push(on)}}else Qt(Ht,Ln.fromStyles),on.onDestroy(()=>gn(Ht,Ln.toStyles)),Tu.push(on),Ct.has(Ht)&&v.push(on)}),Tu.forEach(At=>{const Ht=E.get(At.element);if(Ht&&Ht.length){const on=le(Ht);At.setRealPlayer(on)}}),v.forEach(At=>{At.parentPlayer?At.syncPlayerEvents(At.parentPlayer):At.destroy()});for(let At=0;At<qn.length;At++){const Ht=qn[At],on=Ht[br];if(nr(Ht,kt),on&&on.hasAnimation)continue;let Ln=[];if(q.size){let Xi=q.get(Ht);Xi&&Xi.length&&Ln.push(...Xi);let Ii=this.driver.query(Ht,dn,!0);for(let Vo=0;Vo<Ii.length;Vo++){let lr=q.get(Ii[Vo]);lr&&lr.length&&Ln.push(...lr)}}const jr=Ln.filter(Xi=>!Xi.destroyed);jr.length?ua(this,Ht,jr):this.processLeaveNode(Ht)}return qn.length=0,Ca.forEach(At=>{this.players.push(At),At.onDone(()=>{At.destroy();const Ht=this.players.indexOf(At);this.players.splice(Ht,1)}),At.play()}),Ca}afterFlush(s){this._flushFns.push(s)}afterFlushAnimationsDone(s){this._whenQuietFns.push(s)}_getPreviousPlayers(s,a,d,v,E){let L=[];if(a){const q=this.playersByQueriedElement.get(s);q&&(L=q)}else{const q=this.playersByElement.get(s);if(q){const ue=!E||E==ui;q.forEach(Te=>{Te.queued||!ue&&Te.triggerName!=v||L.push(Te)})}}return(d||v)&&(L=L.filter(q=>!(d&&d!=q.namespaceId||v&&v!=q.triggerName))),L}_beforeAnimationBuild(s,a,d){const E=a.element,L=a.isRemovalTransition?void 0:s,q=a.isRemovalTransition?void 0:a.triggerName;for(const ue of a.timelines){const Te=ue.element,Ct=Te!==E,ht=st(d,Te,[]);this._getPreviousPlayers(Te,Ct,L,q,a.toState).forEach(Wt=>{const Ut=Wt.getRealPlayer();Ut.beforeDestroy&&Ut.beforeDestroy(),Wt.destroy(),ht.push(Wt)})}Qt(E,a.fromStyles)}_buildAnimation(s,a,d,v,E,L){const q=a.triggerName,ue=a.element,Te=[],Ct=new Set,ht=new Set,an=a.timelines.map(Ut=>{const rn=Ut.element;Ct.add(rn);const qn=rn[br];if(qn&&qn.removedBeforeQueried)return new pe(Ut.duration,Ut.delay);const Dr=rn!==ue,Ar=function Es(l){const s=[];return wo(l,s),s}((d.get(rn)||ri).map(Br=>Br.getRealPlayer())).filter(Br=>!!Br.element&&Br.element===rn),oi=E.get(rn),pr=L.get(rn),ta=Ue(this._normalizer,Ut.keyframes,oi,pr),qi=this._buildPlayer(Ut,ta,Ar);if(Ut.subTimeline&&v&&ht.add(rn),Dr){const Br=new yn(s,q,rn);Br.setRealPlayer(qi),Te.push(Br)}return qi});Te.forEach(Ut=>{st(this.playersByQueriedElement,Ut.element,[]).push(Ut),Ut.onDone(()=>function Ao(l,s,a){let d=l.get(s);if(d){if(d.length){const v=d.indexOf(a);d.splice(v,1)}0==d.length&&l.delete(s)}return d}(this.playersByQueriedElement,Ut.element,Ut))}),Ct.forEach(Ut=>mr(Ut,wn));const Wt=le(an);return Wt.onDestroy(()=>{Ct.forEach(Ut=>nr(Ut,wn)),gn(ue,a.toStyles)}),ht.forEach(Ut=>{st(v,Ut,[]).push(Wt)}),Wt}_buildPlayer(s,a,d){return a.length>0?this.driver.animate(s.element,a,s.duration,s.delay,s.easing,d):new pe(s.duration,s.delay)}}class yn{constructor(s,a,d){this.namespaceId=s,this.triggerName=a,this.element=d,this._player=new pe,this._containsRealPlayer=!1,this._queuedCallbacks=new Map,this.destroyed=!1,this.parentPlayer=null,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(s){this._containsRealPlayer||(this._player=s,this._queuedCallbacks.forEach((a,d)=>{a.forEach(v=>he(s,d,void 0,v))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(s.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(s){this.totalTime=s}syncPlayerEvents(s){const a=this._player;a.triggerCallback&&s.onStart(()=>a.triggerCallback("start")),s.onDone(()=>this.finish()),s.onDestroy(()=>this.destroy())}_queueEvent(s,a){st(this._queuedCallbacks,s,[]).push(a)}onDone(s){this.queued&&this._queueEvent("done",s),this._player.onDone(s)}onStart(s){this.queued&&this._queueEvent("start",s),this._player.onStart(s)}onDestroy(s){this.queued&&this._queueEvent("destroy",s),this._player.onDestroy(s)}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(s){this.queued||this._player.setPosition(s)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(s){const a=this._player;a.triggerCallback&&a.triggerCallback(s)}}function vo(l){return l&&1===l.nodeType}function Yo(l,s){const a=l.style.display;return l.style.display=s??"none",a}function Co(l,s,a,d,v){const E=[];a.forEach(ue=>E.push(Yo(ue)));const L=[];d.forEach((ue,Te)=>{const Ct=new Map;ue.forEach(ht=>{const an=s.computeStyle(Te,ht,v);Ct.set(ht,an),(!an||0==an.length)&&(Te[br]=yo,L.push(Te))}),l.set(Te,Ct)});let q=0;return a.forEach(ue=>Yo(ue,E[q++])),L}function Xt(l,s){const a=new Map;if(l.forEach(q=>a.set(q,[])),0==s.length)return a;const v=new Set(s),E=new Map;function L(q){if(!q)return 1;let ue=E.get(q);if(ue)return ue;const Te=q.parentNode;return ue=a.has(Te)?Te:v.has(Te)?1:L(Te),E.set(q,ue),ue}return s.forEach(q=>{const ue=L(q);1!==ue&&a.get(ue).push(q)}),a}function mr(l,s){l.classList?.add(s)}function nr(l,s){l.classList?.remove(s)}function ua(l,s,a){le(a).onDone(()=>l.processLeaveNode(s))}function wo(l,s){for(let a=0;a<l.length;a++){const d=l[a];d instanceof ye?wo(d.players,s):s.push(d)}}function bs(l,s,a){const d=a.get(l);if(!d)return!1;let v=s.get(l);return v?d.forEach(E=>v.add(E)):s.set(l,d),a.delete(l),!0}class b{constructor(s,a,d){this._driver=a,this._normalizer=d,this._triggerCache={},this.onRemovalComplete=(v,E)=>{},this._transitionEngine=new Xo(s.body,a,d),this._timelineEngine=new Mr(s.body,a,d),this._transitionEngine.onRemovalComplete=(v,E)=>this.onRemovalComplete(v,E)}registerTrigger(s,a,d,v,E){const L=s+"-"+v;let q=this._triggerCache[L];if(!q){const ue=[],Ct=$n(this._driver,E,ue,[]);if(ue.length)throw function Un(){return new u.wOt(3404,!1)}();q=function Hs(l,s,a){return new ji(l,s,a)}(v,Ct,this._normalizer),this._triggerCache[L]=q}this._transitionEngine.registerTrigger(a,v,q)}register(s,a){this._transitionEngine.register(s,a)}destroy(s,a){this._transitionEngine.destroy(s,a)}onInsert(s,a,d,v){this._transitionEngine.insertNode(s,a,d,v)}onRemove(s,a,d){this._transitionEngine.removeNode(s,a,d)}disableAnimations(s,a){this._transitionEngine.markElementAsDisabled(s,a)}process(s,a,d,v){if("@"==d.charAt(0)){const[E,L]=yt(d);this._timelineEngine.command(E,a,L,v)}else this._transitionEngine.trigger(s,a,d,v)}listen(s,a,d,v,E){if("@"==d.charAt(0)){const[L,q]=yt(d);return this._timelineEngine.listen(L,a,q,E)}return this._transitionEngine.listen(s,a,d,v,E)}flush(s=-1){this._transitionEngine.flush(s)}get players(){return[...this._transitionEngine.players,...this._timelineEngine.players]}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}afterFlushAnimationsDone(s){this._transitionEngine.afterFlushAnimationsDone(s)}}class y{static#e=this.initialStylesByElement=new WeakMap;constructor(s,a,d){this._element=s,this._startStyles=a,this._endStyles=d,this._state=0;let v=y.initialStylesByElement.get(s);v||y.initialStylesByElement.set(s,v=new Map),this._initialStyles=v}start(){this._state<1&&(this._startStyles&&gn(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(gn(this._element,this._initialStyles),this._endStyles&&(gn(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(y.initialStylesByElement.delete(this._element),this._startStyles&&(Qt(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(Qt(this._element,this._endStyles),this._endStyles=null),gn(this._element,this._initialStyles),this._state=3)}}function R(l){let s=null;return l.forEach((a,d)=>{(function ne(l){return"display"===l||"position"===l})(d)&&(s=s||new Map,s.set(d,a))}),s}class Tt{constructor(s,a,d,v){this.element=s,this.keyframes=a,this.options=d,this._specialStyles=v,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=d.duration,this._delay=d.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(s=>s()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const s=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,s,this.options),this._finalKeyframe=s.length?s[s.length-1]:new Map;const a=()=>this._onFinish();this.domPlayer.addEventListener("finish",a),this.onDestroy(()=>{this.domPlayer.removeEventListener("finish",a)})}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(s){const a=[];return s.forEach(d=>{a.push(Object.fromEntries(d))}),a}_triggerWebAnimation(s,a,d){return s.animate(this._convertKeyframesToObject(a),d)}onStart(s){this._originalOnStartFns.push(s),this._onStartFns.push(s)}onDone(s){this._originalOnDoneFns.push(s),this._onDoneFns.push(s)}onDestroy(s){this._onDestroyFns.push(s)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(s=>s()),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(s=>s()),this._onDestroyFns=[])}setPosition(s){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=s*this.time}getPosition(){return+(this.domPlayer.currentTime??0)/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const s=new Map;this.hasStarted()&&this._finalKeyframe.forEach((d,v)=>{"offset"!==v&&s.set(v,this._finished?d:Re(this.element,v))}),this.currentSnapshot=s}triggerCallback(s){const a="start"===s?this._onStartFns:this._onDoneFns;a.forEach(d=>d()),a.length=0}}class hn{validateStyleProperty(s){return!0}validateAnimatableStyleProperty(s){return!0}containsElement(s,a){return It(s,a)}getParentElement(s){return fe(s)}query(s,a,d){return Jt(s,a,d)}computeStyle(s,a,d){return Re(s,a)}animate(s,a,d,v,E,L=[]){const ue={duration:d,delay:v,fill:0==v?"both":"forwards"};E&&(ue.easing=E);const Te=new Map,Ct=L.filter(Wt=>Wt instanceof Tt);(function ce(l,s){return 0===l||0===s})(d,v)&&Ct.forEach(Wt=>{Wt.currentSnapshot.forEach((Ut,rn)=>Te.set(rn,Ut))});let ht=function Et(l){return l.length?l[0]instanceof Map?l:l.map(s=>new Map(Object.entries(s))):[]}(a).map(Wt=>new Map(Wt));ht=function Me(l,s,a){if(a.size&&s.length){let d=s[0],v=[];if(a.forEach((E,L)=>{d.has(L)||v.push(L),d.set(L,E)}),v.length)for(let E=1;E<s.length;E++){let L=s[E];v.forEach(q=>L.set(q,Re(l,q)))}}return s}(s,ht,Te);const an=function T(l,s){let a=null,d=null;return Array.isArray(s)&&s.length?(a=R(s[0]),s.length>1&&(d=R(s[s.length-1]))):s instanceof Map&&(a=R(s)),a||d?new y(l,a,d):null}(s,ht);return new Tt(s,ht,ue,an)}}const Ds="@.disabled";class No{constructor(s,a,d,v){this.namespaceId=s,this.delegate=a,this.engine=d,this._onDestroy=v,this.\u0275type=0}get data(){return this.delegate.data}destroyNode(s){this.delegate.destroyNode?.(s)}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.engine.afterFlushAnimationsDone(()=>{queueMicrotask(()=>{this.delegate.destroy()})}),this._onDestroy?.()}createElement(s,a){return this.delegate.createElement(s,a)}createComment(s){return this.delegate.createComment(s)}createText(s){return this.delegate.createText(s)}appendChild(s,a){this.delegate.appendChild(s,a),this.engine.onInsert(this.namespaceId,a,s,!1)}insertBefore(s,a,d,v=!0){this.delegate.insertBefore(s,a,d),this.engine.onInsert(this.namespaceId,a,s,v)}removeChild(s,a,d){this.parentNode(a)&&this.engine.onRemove(this.namespaceId,a,this.delegate)}selectRootElement(s,a){return this.delegate.selectRootElement(s,a)}parentNode(s){return this.delegate.parentNode(s)}nextSibling(s){return this.delegate.nextSibling(s)}setAttribute(s,a,d,v){this.delegate.setAttribute(s,a,d,v)}removeAttribute(s,a,d){this.delegate.removeAttribute(s,a,d)}addClass(s,a){this.delegate.addClass(s,a)}removeClass(s,a){this.delegate.removeClass(s,a)}setStyle(s,a,d,v){this.delegate.setStyle(s,a,d,v)}removeStyle(s,a,d){this.delegate.removeStyle(s,a,d)}setProperty(s,a,d){"@"==a.charAt(0)&&a==Ds?this.disableAnimations(s,!!d):this.delegate.setProperty(s,a,d)}setValue(s,a){this.delegate.setValue(s,a)}listen(s,a,d){return this.delegate.listen(s,a,d)}disableAnimations(s,a){this.engine.disableAnimations(s,a)}}class da extends No{constructor(s,a,d,v,E){super(a,d,v,E),this.factory=s,this.namespaceId=a}setProperty(s,a,d){"@"==a.charAt(0)?"."==a.charAt(1)&&a==Ds?this.disableAnimations(s,d=void 0===d||!!d):this.engine.process(this.namespaceId,s,a.slice(1),d):this.delegate.setProperty(s,a,d)}listen(s,a,d){if("@"==a.charAt(0)){const v=function Ha(l){switch(l){case"body":return document.body;case"document":return document;case"window":return window;default:return l}}(s);let E=a.slice(1),L="";return"@"!=E.charAt(0)&&([E,L]=function Bn(l){const s=l.indexOf(".");return[l.substring(0,s),l.slice(s+1)]}(E)),this.engine.listen(this.namespaceId,v,E,L,q=>{this.factory.scheduleListenerCallback(q._data||-1,d,q)})}return this.delegate.listen(s,a,d)}}class zs{constructor(s,a,d){this.delegate=s,this.engine=a,this._zone=d,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,a.onRemovalComplete=(v,E)=>{E?.removeChild(null,v)}}createRenderer(s,a){const v=this.delegate.createRenderer(s,a);if(!s||!a?.data?.animation){const Te=this._rendererCache;let Ct=Te.get(v);return Ct||(Ct=new No("",v,this.engine,()=>Te.delete(v)),Te.set(v,Ct)),Ct}const E=a.id,L=a.id+"-"+this._currentId;this._currentId++,this.engine.register(L,s);const q=Te=>{Array.isArray(Te)?Te.forEach(q):this.engine.registerTrigger(E,L,s,Te.name,Te)};return a.data.animation.forEach(q),new da(this,L,v,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask(()=>{this._microtaskId++})}scheduleListenerCallback(s,a,d){if(s>=0&&s<this._microtaskId)return void this._zone.run(()=>a(d));const v=this._animationCallbacksBuffer;0==v.length&&queueMicrotask(()=>{this._zone.run(()=>{v.forEach(E=>{const[L,q]=E;L(q)}),this._animationCallbacksBuffer=[]})}),v.push([a,d])}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()}}const Jo=[{provide:un,useFactory:function Ms(){return new Ke}},{provide:b,useClass:(()=>{class l extends b{constructor(a,d,v){super(a,d,v)}ngOnDestroy(){this.flush()}static#e=this.\u0275fac=function(d){return new(d||l)(u.KVO(O.qQ),u.KVO($t),u.KVO(un))};static#t=this.\u0275prov=u.jDH({token:l,factory:l.\u0275fac})}return l})()},{provide:u._9s,useFactory:function $a(l,s,a){return new zs(l,s,a)},deps:[ve.B7,b,u.SKi]}],es=[{provide:$t,useFactory:()=>new hn},{provide:u.bc$,useValue:"BrowserAnimations"},...Jo],ts=[{provide:$t,useClass:rt},{provide:u.bc$,useValue:"NoopAnimations"},...Jo];let ns=(()=>{class l{static withConfig(a){return{ngModule:l,providers:a.disableAnimations?ts:es}}static#e=this.\u0275fac=function(d){return new(d||l)};static#t=this.\u0275mod=u.$C({type:l});static#n=this.\u0275inj=u.G2t({providers:es,imports:[ve.Bb]})}return l})();function ao(l,s){if(1&l&&u.EFF(0),2&l){const a=u.XpG();u.SpI(" ",a.locale.maketext("Loading \u2026"),"\n")}}function Ws(l,s){1&l&&u.eu8(0)}const Ks=["header"],qs=[[["","callout-heading",""]],"*"],za=["[callout-heading]","*"];function Kl(l,s){if(1&l){const a=u.RV6();u.j41(0,"button",4),u.bIt("click",function(){u.eBV(a);const v=u.XpG();return u.Njj(v.closeClicked())}),u.nrm(1,"i",5),u.k0s()}if(2&l){const a=u.XpG();u.BMQ("id",a.buttonID)}}function nn(l,s){if(1&l){const a=u.RV6();u.j41(0,"button",9),u.bIt("click",function(){u.eBV(a);const v=u.XpG(2);return u.Njj(v.fireClose())}),u.j41(1,"span"),u.EFF(2,"\xd7"),u.k0s()()}if(2&l){const a=u.XpG(2);u.Y8G("id",a.closeButtonID)("title",a.closeLabel),u.BMQ("aria-label",a.closeLabel),u.R7$(),u.BMQ("aria-hidden",!0)}}function Nn(l,s){if(1&l){const a=u.RV6();u.j41(0,"button",10),u.bIt("click",function(){u.eBV(a);const v=u.XpG(2);return u.Njj(v.fireToggleMore())}),u.EFF(1),u.k0s()}if(2&l){const a=u.XpG(2);u.Y8G("id",a.moreButtonID),u.R7$(),u.SpI(" ",a.moreLabel," ")}}function ql(l,s){if(1&l&&(u.j41(0,"strong",11),u.EFF(1),u.k0s()),2&l){const a=u.XpG(2);u.R7$(),u.JRh(a.label)}}function ga(l,s){if(1&l&&(u.j41(0,"span",12),u.EFF(1),u.k0s()),2&l){const a=u.XpG(2);u.Y8G("id",a.textMessageID),u.R7$(),u.SpI(" ",a.message," ")}}function Ql(l,s){if(1&l&&(u.j41(0,"li")(1,"span",12),u.EFF(2),u.k0s()()),2&l){const a=s.$implicit,d=s.index,v=u.XpG(3);u.R7$(),u.FS9("id",v.textListID+"_"+d),u.R7$(),u.SpI(" ",a," ")}}function Ka(l,s){if(1&l&&(u.j41(0,"ul",13),u.DNE(1,Ql,3,2,"li",14),u.k0s()),2&l){const a=u.XpG(2);u.R7$(),u.Y8G("ngForOf",a.alert.list)}}function ma(l,s){if(1&l&&(u.j41(0,"div",1),u.DNE(1,nn,3,4,"button",2)(2,Nn,2,2,"button",3),u.nrm(3,"span"),u.j41(4,"div",4),u.DNE(5,ql,2,1,"strong",5),u.j41(6,"span",6),u.DNE(7,ga,2,2,"span",7),u.k0s(),u.DNE(8,Ka,2,1,"ul",8),u.k0s()()),2&l){const a=u.XpG();u.ZvI("alert alert-",a.type," ng-hide"),u.Y8G("@openClose",a.animationClass),u.R7$(),u.Y8G("ngIf",a.showCloseButton),u.R7$(),u.Y8G("ngIf",a.showMoreButton),u.R7$(),u.HbH(a.icon),u.BMQ("aria-hidden",!0),u.R7$(2),u.Y8G("ngIf",a.hasLabel),u.R7$(2),u.Y8G("ngIf",a.message),u.R7$(),u.Y8G("ngIf",a.alert&&a.alert.list&&a.alert.list.length)}}function Xs(l,s){if(1&l){const a=u.RV6();u.j41(0,"div",6)(1,"cp-alert",7),u.bIt("close",function(){const v=u.eBV(a).$implicit,E=u.XpG();return u.Njj(E.alertClosed(v))}),u.k0s()()}if(2&l){const a=s.$implicit;u.R7$(),u.Y8G("alert",a)}}function _n(l,s){if(1&l&&u.nrm(0,"div",8),2&l){const a=u.XpG();u.Y8G("ngClass",a.positionClasses)}}class bn{static#e=this.defaultShowMore=!1;static#t=this.defaultAutoClosePeriod=0;static#n=this.defaultOptions={autoClosePeriod:bn.defaultAutoClosePeriod,list:[]};constructor(s,a,d=bn.defaultOptions){this._message=s,this._type=a;const v=d.id?d.id:Math.random().toString(36).substr(2,9);this._id=v,this._closable=null==d.isCloseable||d.isCloseable,this._autoClosePeriod=d.autoClosePeriod,this._list=d.list,this._showMore=d.showMore||bn.defaultShowMore,this._ts=null==d.createdOn?Date.now():d.createdOn}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(s){const{message:a,type:d,...v}=s;return new bn(a,d,v)}}var Fn=function(l){return l[l.error=0]="error",l[l.success=1]="success",l[l.warning=2]="warning",l[l.information=3]="information",l}(Fn||{}),Tr=function(l){return l.add="add",l.remove="remove",l.clear="clear",l}(Tr||{});let zi=(()=>{class l{static#e=this.defaultGroup="__DEFAULT__";static#t=this.defaultSuccessOptions={autoClosePeriod:1e4};constructor(){this._alertEventsSource=new G.B,this._alerts={},this.alertEvents=this._alertEventsSource.asObservable()}add(a,d=l.defaultGroup){this._alerts[d]||(this._alerts[d]=[]);const v=a instanceof bn?a:bn.makeAlert(a);if(this.list(d).push(v),this._alertEventsSource.next({type:Tr.add,group:d,alert:v}),(0,u.naY)())switch(v.type){case Fn.error:console.error(v.message,v);break;case Fn.warning:console.warn(v.message,v);break;default:console.log(v.message,v)}return v}success(a,d=l.defaultGroup){return this.add(new bn(a,Fn.success,l.defaultSuccessOptions),d)}error(a,d=l.defaultGroup){return this.add({message:a,type:Fn.error},d)}info(a,d=l.defaultGroup){return this.add({message:a,type:Fn.information},d)}warn(a,d=l.defaultGroup){return this.add({message:a,type:Fn.warning},d)}removeById(a,d=l.defaultGroup){const v=this.list(d),E=v.findIndex(L=>L.id===a,0);if(-1!==E){const L=v[E];v.splice(E,1),this._alertEventsSource.next({type:Tr.remove,group:d,alert:L})}}clear(a=l.defaultGroup){this._alerts[a]=[],this._alertEventsSource.next({type:Tr.clear,group:a})}list(a=l.defaultGroup){return null==this._alerts[a]&&(this._alerts[a]=[]),this._alerts[a]}static#n=this.\u0275fac=function(d){return new(d||l)};static#r=this.\u0275prov=u.jDH({token:l,factory:l.\u0275fac,providedIn:"root"})}return l})();var _r=function(l){return l.inline="inline",l.topLeft="top-left",l.topMiddle="top-middle",l.topRight="top-right",l.bottomLeft="bottom-left",l.bottomMiddle="bottom-middle",l.bottomRight="bottom-right",l.middleLeft="middle-left",l.middleMiddle="middle-middle",l.middleRight="middle-right",l}(_r||{});const Kr=_r.topRight,ss=_r.topLeft;let ph=(()=>{class l{constructor(a){this.locale=a,this.containerId="",this.spinnerId="",this.messageId=""}ngOnInit(){if(!this.id)throw new Error("id must be defined for `cp-loading-spinner`");this.containerId=this.id+"_loadingSpinnerContainer",this.spinnerId=this.id+"_loadingSpinner",this.messageId=this.id+"_loadingMessage"}static#e=this.\u0275fac=function(d){return new(d||l)(u.rXU(z.h))};static#t=this.\u0275cmp=u.VBU({type:l,selectors:[["cp-loading-spinner"]],inputs:{loadingTemplate:"loadingTemplate",id:"id"},decls:6,vars:4,consts:[["defaultLoadingTemplate",""],["aria-busy","true","aria-live","polite",1,"loading-spinner-container"],[1,"fas","fa-spinner","fa-spin","spinner"],[1,"loading-spinner-message"],[4,"ngTemplateOutlet"]],template:function(d,v){if(1&d&&(u.DNE(0,ao,1,1,"ng-template",null,0,u.C5r),u.j41(2,"div",1),u.nrm(3,"i",2),u.j41(4,"div",3),u.DNE(5,Ws,1,0,"ng-container",4),u.k0s()()),2&d){const E=u.sdS(1);u.R7$(2),u.BMQ("id",v.containerId),u.R7$(),u.BMQ("id",v.spinnerId),u.R7$(),u.BMQ("id",v.messageId),u.R7$(),u.Y8G("ngTemplateOutlet",v.loadingTemplate?v.loadingTemplate:E)}},dependencies:[O.T3],styles:['.loading-spinner-container[_ngcontent-%COMP%]{background-color:#d7edf9;border:1px solid #179bd7;border-radius:2px;margin-bottom:20px;box-shadow:inset 41px 0 #179bd7}html[dir="ltr"][_nghost-%COMP%] .loading-spinner-container[_ngcontent-%COMP%], html[dir="ltr"] [_nghost-%COMP%] .loading-spinner-container[_ngcontent-%COMP%]{box-shadow:inset 40px 0 #179bd7}html[dir="rtl"][_nghost-%COMP%] .loading-spinner-container[_ngcontent-%COMP%], html[dir="rtl"] [_nghost-%COMP%] .loading-spinner-container[_ngcontent-%COMP%]{box-shadow:inset -40px 0 #179bd7}.spinner[_ngcontent-%COMP%]{color:#d7edf9;font-size:20px;display:inline-block;padding:10px}.loading-spinner-message[_ngcontent-%COMP%]{color:#333;display:inline-block;overflow-wrap:break-word;word-wrap:break-word}.loading-spinner-message[_ngcontent-%COMP%] a{text-decoration:underline;color:#255783}html[dir="ltr"][_nghost-%COMP%] .loading-spinner-message[_ngcontent-%COMP%], html[dir="ltr"] [_nghost-%COMP%] .loading-spinner-message[_ngcontent-%COMP%]{margin:0 0 0 10px}html[dir="rtl"][_nghost-%COMP%] .loading-spinner-message[_ngcontent-%COMP%], html[dir="rtl"] [_nghost-%COMP%] .loading-spinner-message[_ngcontent-%COMP%]{margin:0 10px 0 0}']})}return l})(),yi=(()=>{class l{static#e=this.\u0275fac=function(d){return new(d||l)};static#t=this.\u0275mod=u.$C({type:l});static#n=this.\u0275inj=u.G2t({imports:[O.MD,H.B]})}return l})();var Ys=function(l){return l.warnings="warnings",l.danger="danger",l.info="info",l.default="info",l}(Ys||{});let bo=(()=>{class l{constructor(){this.calloutType=Ys.default,this.closeable=!1,this.close=new u.bkB}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")}static#e=this.\u0275fac=function(d){return new(d||l)};static#t=this.\u0275cmp=u.VBU({type:l,selectors:[["cp-callout"]],viewQuery:function(d,v){if(1&d&&u.GBs(Ks,5),2&d){let E;u.mGM(E=u.lsd())&&(v.header=E.first)}},inputs:{id:"id",calloutType:"calloutType",closeable:"closeable"},outputs:{close:"close"},ngContentSelectors:za,decls:7,vars:7,consts:[["header",""],["role","alert"],["type","button","class","close","aria-label","Close",3,"click",4,"ngIf"],[1,"callout-heading"],["type","button","aria-label","Close",1,"close",3,"click"],["aria-hidden","true",1,"fas","fa-sm","fa-times"]],template:function(d,v){1&d&&(u.NAR(qs),u.j41(0,"div",1),u.DNE(1,Kl,2,1,"button",2),u.j41(2,"div",3,0),u.SdG(4),u.k0s(),u.j41(5,"div"),u.SdG(6,1),u.k0s()()),2&d&&(u.ZvI("callout callout-",v.calloutType,""),u.BMQ("aria-label",v.calloutType),u.R7$(),u.Y8G("ngIf",v.closeable),u.R7$(),u.BMQ("id",v.headingID),u.R7$(3),u.BMQ("id",v.contentID))},dependencies:[O.bT],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}']})}return l})(),Zl=(()=>{class l{static#e=this.\u0275fac=function(d){return new(d||l)};static#t=this.\u0275mod=u.$C({type:l});static#n=this.\u0275inj=u.G2t({imports:[O.MD]})}return l})();var Qr=function(l){return l.new="new",l.closed="closed",l.open="open",l}(Qr||{});let Ja=(()=>{class l{constructor(a){this.locale=a,this.close=new u.bkB,this.toggleMore=new u.bkB,this.animationClass=Qr.new}get icon(){switch(this.alert.type){case Fn.error:return"type-icon fas fa-times-circle";case Fn.warning:return"type-icon fas fa-exclamation-triangle";case Fn.information:return"type-icon fas fa-info-circle";case Fn.success:return"type-icon fas fa-check-circle"}}get type(){switch(this.alert.type){case Fn.error:return"danger";case Fn.warning:return"warning";case Fn.information:return"info";case Fn.success:return"success"}}get hasLabel(){const a=this.label;return null!==a&&""!==a}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 Fn.success:this.label=this.locale.maketext("Success:");break;case Fn.error:this.label=this.locale.maketext("Error:");break;case Fn.information:this.label=this.locale.maketext("Information:");break;case Fn.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=Qr.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=Qr.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(...a){return a.join("_")}static#e=this.\u0275fac=function(d){return new(d||l)(u.rXU(z.h))};static#t=this.\u0275cmp=u.VBU({type:l,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,"click","id","title"],["type","button",1,"btn","btn-more","btn-link","pull-right","flip",3,"click","id"],[1,"alert-title"],[3,"id"],[1,"alert-list"],[4,"ngFor","ngForOf"]],template:function(d,v){1&d&&u.DNE(0,ma,9,13,"div",0),2&d&&u.Y8G("ngIf",!v.isClosed)},dependencies:[O.Sq,O.bT],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:[ee("openClose",[de(Qr.new,xe({opacity:0})),de(Qr.open,xe({opacity:1})),de(Qr.closed,xe({opacity:0,transform:"translateX(25%)"})),Ge(`${Qr.open} => ${Qr.closed}`,[Y("0.25s")]),Ge(`${Qr.new} => ${Qr.open}`,[Y("0.25s")]),Ge(`${Qr.closed} => ${Qr.open}`,[Y("0.25s")])])]}})}return l})(),ea=(()=>{class l{static#e=this.\u0275fac=function(d){return new(d||l)};static#t=this.\u0275mod=u.$C({type:l});static#n=this.\u0275inj=u.G2t({imports:[O.MD,ns,H.B]})}return l})(),Ps=(()=>{class l{constructor(a){this.locale=a}get position(){return this.locale.isLtr?Kr:ss}static#e=this.\u0275fac=function(d){return new(d||l)(u.KVO(z.h))};static#t=this.\u0275prov=u.jDH({token:l,factory:l.\u0275fac,providedIn:"root"})}return l})(),Yl=(()=>{class l{static#e=this.positionPrefix="position-";constructor(a,d){this._alertService=a,this._positionService=d,this.alerts=this.alerts?this.alerts:[]}get hasAlerts(){return this.alerts.length>0}get positionClasses(){return this.inline?l.positionPrefix+_r.inline.toString():l.positionPrefix+this.position.toString()}get position(){return this._position.toString()}set position(a){this._position=((l,s=_r.topRight)=>{if(l){const a=(l=>{const s=Object.keys(_r),d=Object.values(_r).indexOf(l);return-1!==d?s[d]:(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)})(l);if(a)return _r[a]}return s})(a)}alertClosed(a){this._alertService.removeById(a.id,this.group)}ngOnInit(){this.group||(this.group=zi.defaultGroup),this._position||(this._position=this._positionService.position),this._alertService.list(this.group).forEach(d=>this._addAlert(d)),this._groupEvents=this._alertService.alertEvents.pipe((0,Z.p)(d=>d.group===this.group)),this._eventSubscription=this._groupEvents.subscribe({next:this._onAlertEvent.bind(this),error:console.error})}ngOnDestroy(){this._eventSubscription.unsubscribe()}_findAlertIndexById(a){return this.alerts.findIndex(d=>d.id===a)}_addAlert(a){return this.alerts.push(a),this.alerts}_removeAlert(a){const d=this._findAlertIndexById(a.id);return d>-1&&(this.alerts.splice(d,1),!0)}_clearAlerts(){this.alerts.splice(0,this.alerts.length)}_onAlertEvent(a){switch(a.type){case Tr.add:this._addAlert(a.alert);break;case Tr.clear:this._clearAlerts();break;case Tr.remove:this._removeAlert(a.alert)}}static#t=this.\u0275fac=function(d){return new(d||l)(u.rXU(zi),u.rXU(Ps))};static#n=this.\u0275cmp=u.VBU({type:l,selectors:[["cp-alert-list"]],inputs:{alerts:"alerts",group:"group",inline:"inline",position:"position"},decls:7,vars:3,consts:[["container",""],["list",""],[1,"alert-list-container",3,"ngClass"],[1,"alert-list"],["class","alert-container",4,"ngFor","ngForOf"],["class","alert-list-backdrop",3,"ngClass",4,"ngIf"],[1,"alert-container"],[3,"close","alert"],[1,"alert-list-backdrop",3,"ngClass"]],template:function(d,v){1&d&&(u.j41(0,"div")(1,"div",2,0)(3,"div",3,1),u.DNE(5,Xs,2,1,"div",4),u.k0s()(),u.DNE(6,_n,1,1,"div",5),u.k0s()),2&d&&(u.R7$(),u.Y8G("ngClass",v.positionClasses),u.R7$(4),u.Y8G("ngForOf",v.alerts),u.R7$(),u.Y8G("ngIf",v.hasAlerts))},dependencies:[O.YU,O.Sq,O.bT,Ja],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[_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[_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[_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[_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[_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[_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[_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[_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}}"]})}return l})(),Jl=(()=>{class l{static#e=this.\u0275fac=function(d){return new(d||l)};static#t=this.\u0275mod=u.$C({type:l});static#n=this.\u0275inj=u.G2t({imports:[O.MD,ea]})}return l})()},2691:(Ae,W,M)=>{"use strict";M.d(W,{Y$:()=>Ft,I8:()=>Je,Q_:()=>Lt});var u=M(3953),O=M(2806),G=M(177),Z=M(6697);let z,H=(()=>{class D{constructor(){this._focusTrapStack=[]}register(N){this._focusTrapStack=this._focusTrapStack.filter(ge=>ge!==N);let F=this._focusTrapStack;F.length&&F[F.length-1]._disable(),F.push(N),N._enable()}deregister(N){N._disable();const F=this._focusTrapStack,ge=F.indexOf(N);-1!==ge&&(F.splice(ge,1),F.length&&F[F.length-1]._enable())}static#e=this.\u0275fac=function(F){return new(F||D)};static#t=this.\u0275prov=u.jDH({token:D,factory:D.\u0275fac,providedIn:"root"})}return D})();try{z=typeof Intl<"u"&&Intl.v8BreakIterator}catch{z=!1}let j=(()=>{class D{constructor(N){this._platformId=N,this.isBrowser=this._platformId?(0,G.UE)(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&&!z)&&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}static#e=this.\u0275fac=function(F){return new(F||D)(u.KVO(u.Agw))};static#t=this.\u0275prov=u.jDH({token:D,factory:D.\u0275fac,providedIn:"root"})}return D})(),ee=(()=>{class D{constructor(N){this._platform=N}isDisabled(N){return N.hasAttribute("disabled")}isVisible(N){return function X(D){return!!(D.offsetWidth||D.offsetHeight||"function"==typeof D.getClientRects&&D.getClientRects().length)}(N)&&"visible"===getComputedStyle(N).visibility}isTabbable(N){if(!this._platform.isBrowser)return!1;const F=function Y(D){try{return D.frameElement}catch{return null}}(function Xe(D){return D.ownerDocument&&D.ownerDocument.defaultView||window}(N));if(F&&(-1===ut(F)||!this.isVisible(F)))return!1;let ge=N.nodeName.toLowerCase(),Ie=ut(N);return N.hasAttribute("contenteditable")?-1!==Ie:!("iframe"===ge||"object"===ge||this._platform.WEBKIT&&this._platform.IOS&&!function ot(D){let k=D.nodeName.toLowerCase(),N="input"===k&&D.type;return"text"===N||"password"===N||"select"===k||"textarea"===k}(N))&&("audio"===ge?!!N.hasAttribute("controls")&&-1!==Ie:"video"===ge?-1!==Ie&&(null!==Ie||this._platform.FIREFOX||N.hasAttribute("controls")):N.tabIndex>=0)}isFocusable(N,F){return function Nt(D){return!function xe(D){return function we(D){return"input"==D.nodeName.toLowerCase()}(D)&&"hidden"==D.type}(D)&&(function ae(D){let k=D.nodeName.toLowerCase();return"input"===k||"select"===k||"button"===k||"textarea"===k}(D)||function de(D){return function Ge(D){return"a"==D.nodeName.toLowerCase()}(D)&&D.hasAttribute("href")}(D)||D.hasAttribute("contenteditable")||gt(D))}(N)&&!this.isDisabled(N)&&(F?.ignoreVisibility||this.isVisible(N))}static#e=this.\u0275fac=function(F){return new(F||D)(u.KVO(j))};static#t=this.\u0275prov=u.jDH({token:D,factory:D.\u0275fac,providedIn:"root"})}return D})();function gt(D){if(!D.hasAttribute("tabindex")||void 0===D.tabIndex)return!1;let k=D.getAttribute("tabindex");return"-32768"!=k&&!(!k||isNaN(parseInt(k,10)))}function ut(D){if(!gt(D))return null;const k=parseInt(D.getAttribute("tabindex")||"",10);return isNaN(k)?-1:k}function He(D){return null!=D&&"false"!=`${D}`}class ft{get enabled(){return this._enabled}set enabled(k){this._enabled=k,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(k,this._startAnchor),this._toggleAnchorTabIndex(k,this._endAnchor))}constructor(k,N,F,ge,Ie=!1){this._element=k,this._checker=N,this._ngZone=F,this._document=ge,this._hasAttached=!1,this.startAnchorListener=()=>this.focusLastTabbableElement(),this.endAnchorListener=()=>this.focusFirstTabbableElement(),this._enabled=!0,Ie||this.attachAnchors()}destroy(){const k=this._startAnchor,N=this._endAnchor;k&&(k.removeEventListener("focus",this.startAnchorListener),k.parentNode&&k.parentNode.removeChild(k)),N&&(N.removeEventListener("focus",this.endAnchorListener),N.parentNode&&N.parentNode.removeChild(N)),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(k=>{this._executeOnStable(()=>k(this.focusInitialElement()))})}focusFirstTabbableElementWhenReady(){return new Promise(k=>{this._executeOnStable(()=>k(this.focusFirstTabbableElement()))})}focusLastTabbableElementWhenReady(){return new Promise(k=>{this._executeOnStable(()=>k(this.focusLastTabbableElement()))})}_getRegionBoundary(k){let N=this._element.querySelectorAll(`[cdk-focus-region-${k}], [cdkFocusRegion${k}], [cdk-focus-${k}]`);for(let F=0;F<N.length;F++)N[F].hasAttribute(`cdk-focus-${k}`)?console.warn(`Found use of deprecated attribute 'cdk-focus-${k}', use 'cdkFocusRegion${k}' instead. The deprecated attribute will be removed in 8.0.0.`,N[F]):N[F].hasAttribute(`cdk-focus-region-${k}`)&&console.warn(`Found use of deprecated attribute 'cdk-focus-region-${k}', use 'cdkFocusRegion${k}' instead. The deprecated attribute will be removed in 8.0.0.`,N[F]);return"start"==k?N.length?N[0]:this._getFirstTabbableElement(this._element):N.length?N[N.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(){const k=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(k){if(k.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",k),!this._checker.isFocusable(k)){const N=this._getFirstTabbableElement(k);return N?.focus(),!!N}return k.focus(),!0}return this.focusFirstTabbableElement()}focusFirstTabbableElement(){const k=this._getRegionBoundary("start");return k&&k.focus(),!!k}focusLastTabbableElement(){const k=this._getRegionBoundary("end");return k&&k.focus(),!!k}hasAttached(){return this._hasAttached}_getFirstTabbableElement(k){if(this._checker.isFocusable(k)&&this._checker.isTabbable(k))return k;let N=k.children||k.childNodes;for(let F=0;F<N.length;F++){let ge=N[F].nodeType===this._document.ELEMENT_NODE?this._getFirstTabbableElement(N[F]):null;if(ge)return ge}return null}_getLastTabbableElement(k){if(this._checker.isFocusable(k)&&this._checker.isTabbable(k))return k;let N=k.children||k.childNodes;for(let F=N.length-1;F>=0;F--){let ge=N[F].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(N[F]):null;if(ge)return ge}return null}_createAnchor(){const k=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,k),k.classList.add("cdk-visually-hidden"),k.classList.add("cdk-focus-trap-anchor"),k.setAttribute("aria-hidden","true"),k}_toggleAnchorTabIndex(k,N){k?N.setAttribute("tabindex","0"):N.removeAttribute("tabindex")}toggleAnchors(k){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(k,this._startAnchor),this._toggleAnchorTabIndex(k,this._endAnchor))}_executeOnStable(k){this._ngZone.isStable?k():this._ngZone.onStable.pipe((0,Z.s)(1)).subscribe(k)}}let Vt=(()=>{class D{constructor(N,F,ge){this._checker=N,this._ngZone=F,this._document=ge}create(N,F=!1){return new ft(N,this._checker,this._ngZone,this._document,F)}static#e=this.\u0275fac=function(F){return new(F||D)(u.KVO(ee),u.KVO(u.SKi),u.KVO(G.qQ))};static#t=this.\u0275prov=u.jDH({token:D,factory:D.\u0275fac,providedIn:"root"})}return D})(),it=(()=>{class D{get enabled(){return this.focusTrap.enabled}set enabled(N){this.focusTrap.enabled=He(N)}get autoCapture(){return this._autoCapture}set autoCapture(N){this._autoCapture=He(N)}constructor(N,F,ge){this._elementRef=N,this._focusTrapFactory=F,this._previouslyFocusedElement=null,this._autoCapture=!1,this._document=ge,this.focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement,!0)}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(N){const F=N.autoCapture;F&&!F.firstChange&&this.autoCapture&&this.focusTrap.hasAttached()&&this._captureFocus()}_captureFocus(){this._previouslyFocusedElement=this._document.activeElement,this.focusTrap.focusInitialElementWhenReady()}static#e=this.\u0275fac=function(F){return new(F||D)(u.rXU(u.aKT),u.rXU(Vt),u.rXU(G.qQ))};static#t=this.\u0275dir=u.FsC({type:D,selectors:[["","focusTrap",""]],inputs:{enabled:[0,"cdkTrapFocus","enabled"],autoCapture:[0,"cdkTrapFocusAutoCapture","autoCapture"]},exportAs:["focusTrap"],features:[u.OA$]})}return D})(),Ye=(()=>{class D{static forRoot(){return{ngModule:D,providers:[H,j,ee]}}static#e=this.\u0275fac=function(F){return new(F||D)};static#t=this.\u0275mod=u.$C({type:D});static#n=this.\u0275inj=u.G2t({imports:[G.MD]})}return D})();var Ve=M(1413),$=M(6365),ie=M(8750),pe=M(983),ye=M(9326),Ce=M(6648),De=M(1985),Se=M(1397),Le=M(7441),Fe=M(8071),Dt=M(6450);const Rt=["addListener","removeListener"],Kt=["addEventListener","removeEventListener"],tn=["on","off"];function Dn(D,k,N,F){if((0,Fe.T)(N)&&(F=N,N=void 0),F)return Dn(D,k,N).pipe((0,Dt.I)(F));const[ge,Ie]=function Pn(D){return(0,Fe.T)(D.addEventListener)&&(0,Fe.T)(D.removeEventListener)}(D)?Kt.map(ke=>qe=>D[ke](k,qe,N)):function Xn(D){return(0,Fe.T)(D.addListener)&&(0,Fe.T)(D.removeListener)}(D)?Rt.map(Qn(D,k)):function On(D){return(0,Fe.T)(D.on)&&(0,Fe.T)(D.off)}(D)?tn.map(Qn(D,k)):[];if(!ge&&(0,Le.X)(D))return(0,Se.Z)(ke=>Dn(ke,k,N))((0,ie.Tg)(D));if(!ge)throw new TypeError("Invalid event target");return new De.c(ke=>{const qe=(...dt)=>ke.next(1<dt.length?dt:dt[0]);return ge(qe),()=>Ie(qe)})}function Qn(D,k){return N=>F=>D[N](k,F)}var Sr=M(7673),$r=M(6780),An=M(8359);const Gn={schedule(D){let k=requestAnimationFrame,N=cancelAnimationFrame;const{delegate:F}=Gn;F&&(k=F.requestAnimationFrame,N=F.cancelAnimationFrame);const ge=k(Ie=>{N=void 0,D(Ie)});return new An.yU(()=>N?.(ge))},requestAnimationFrame(...D){const{delegate:k}=Gn;return(k?.requestAnimationFrame||requestAnimationFrame)(...D)},cancelAnimationFrame(...D){const{delegate:k}=Gn;return(k?.cancelAnimationFrame||cancelAnimationFrame)(...D)},delegate:void 0};var tr=M(3604);const wr=new class Ir extends tr.q{flush(k){this._active=!0;const N=this._scheduled;this._scheduled=void 0;const{actions:F}=this;let ge;k=k||F.shift();do{if(ge=k.execute(k.state,k.delay))break}while((k=F[0])&&k.id===N&&F.shift());if(this._active=!1,ge){for(;(k=F[0])&&k.id===N&&F.shift();)k.unsubscribe();throw ge}}}(class zr extends $r.R{constructor(k,N){super(k,N),this.scheduler=k,this.work=N}requestAsyncId(k,N,F=0){return null!==F&&F>0?super.requestAsyncId(k,N,F):(k.actions.push(this),k._scheduled||(k._scheduled=Gn.requestAnimationFrame(()=>k.flush(void 0))))}recycleAsyncId(k,N,F=0){var ge;if(null!=F?F>0:this.delay>0)return super.recycleAsyncId(k,N,F);const{actions:Ie}=k;null!=N&&(null===(ge=Ie[Ie.length-1])||void 0===ge?void 0:ge.id)!==N&&(Gn.cancelAnimationFrame(N),k._scheduled=void 0)}});var Zn=function(D){return D.top="top",D.bottom="bottom",D.left="left",D.right="right",D.auto="auto",D.end="right",D.start="left",D["top left"]="top left",D["top right"]="top right",D["right top"]="right top",D["right bottom"]="right bottom",D["bottom right"]="bottom right",D["bottom left"]="bottom left",D["left bottom"]="left bottom",D["left top"]="left top",D["top start"]="top left",D["top end"]="top right",D["end top"]="right top",D["end bottom"]="right bottom",D["bottom end"]="bottom right",D["bottom start"]="bottom left",D["start bottom"]="start bottom",D["start top"]="left top",D}(Zn||{}),Er=function(D){return D.top="top",D.bottom="bottom",D.left="start",D.right="end",D.auto="auto",D.end="end",D.start="start",D["top left"]="top start",D["top right"]="top end",D["right top"]="end top",D["right bottom"]="end bottom",D["bottom right"]="bottom end",D["bottom left"]="bottom start",D["left bottom"]="start bottom",D["left top"]="start top",D["top start"]="top start",D["top end"]="top end",D["end top"]="end top",D["end bottom"]="end bottom",D["bottom end"]="bottom end",D["bottom start"]="bottom start",D["start bottom"]="start bottom",D["start top"]="start top",D}(Er||{});function Un(D,k){if(1!==D.nodeType)return[];const F=D.ownerDocument.defaultView?.getComputedStyle(D,null);return k?F&&F[k]:F}function Or(D){if(!D)return document.documentElement;let F,N=D?.offsetParent;for(;null===N&&D.nextElementSibling&&F!==D.nextElementSibling;)F=D.nextElementSibling,N=F.offsetParent;const ge=N&&N.nodeName;return ge&&"BODY"!==ge&&"HTML"!==ge?N&&-1!==["TH","TD","TABLE"].indexOf(N.nodeName)&&"static"===Un(N,"position")?Or(N):N:F?F.ownerDocument.documentElement:document.documentElement}function Yt(D){return null!==D.parentNode?Yt(D.parentNode):D}function Ze(D,k){if(!(D&&D.nodeType&&k&&k.nodeType))return document.documentElement;const N=D.compareDocumentPosition(k)&Node.DOCUMENT_POSITION_FOLLOWING,F=N?D:k,ge=N?k:D,Ie=document.createRange();Ie.setStart(F,0),Ie.setEnd(ge,0);const ke=Ie.commonAncestorContainer;if(D!==ke&&k!==ke||F.contains(ge))return function gr(D){const{nodeName:k}=D;return"BODY"!==k&&("HTML"===k||Or(D.firstElementChild)===D)}(ke)?ke:Or(ke);const qe=Yt(D);return qe.host?Ze(qe.host,k):Ze(D,Yt(k).host)}function bi(D){if(!D||!D.parentElement)return document.documentElement;let k=D.parentElement;for(;k?.parentElement&&"none"===Un(k,"transform");)k=k.parentElement;return k||document.documentElement}function Gr(D,k){const N="x"===k?"Left":"Top",F="Left"===N?"Right":"Bottom";return parseFloat(D[`border${N}Width`])+parseFloat(D[`border${F}Width`])}function Kn(D,k,N){return Math.max(k[`offset${D}`],k[`scroll${D}`],N[`client${D}`],N[`offset${D}`],N[`scroll${D}`],0)}function Lr(D){const k=D.body,N=D.documentElement;return{height:Kn("Height",k,N),width:Kn("Width",k,N)}}function Yn(D){return{...D,right:(D.left||0)+D.width,bottom:(D.top||0)+D.height}}function qt(D){return"number"==typeof D||"[object Number]"===Object.prototype.toString.call(D)}function ei(D){const k=D.getBoundingClientRect();if(!(k&&qt(k.top)&&qt(k.left)&&qt(k.bottom)&&qt(k.right)))return k;const N={left:k.left,top:k.top,width:k.right-k.left,height:k.bottom-k.top},F="HTML"===D.nodeName?Lr(D.ownerDocument):void 0,ge=F?.width||D.clientWidth||qt(k.right)&&qt(N.left)&&k.right-N.left||0,Ie=F?.height||D.clientHeight||qt(k.bottom)&&qt(N.top)&&k.bottom-N.top||0;let ke=D.offsetWidth-ge,qe=D.offsetHeight-Ie;if(ke||qe){const dt=Un(D);ke-=Gr(dt,"x"),qe-=Gr(dt,"y"),N.width-=ke,N.height-=qe}return Yn(N)}function re(D,k,N=!1){const F="HTML"===k.nodeName,ge=ei(D),Ie=ei(k),ke=Un(k),qe=parseFloat(ke.borderTopWidth),dt=parseFloat(ke.borderLeftWidth);N&&F&&(Ie.top=Math.max(Ie.top??0,0),Ie.left=Math.max(Ie.left??0,0));const nt=Yn({top:(ge.top??0)-(Ie.top??0)-qe,left:(ge.left??0)-(Ie.left??0)-dt,width:ge.width,height:ge.height});if(nt.marginTop=0,nt.marginLeft=0,F){const Gt=parseFloat(ke.marginTop),En=parseFloat(ke.marginLeft);qt(nt.top)&&(nt.top-=qe-Gt),qt(nt.bottom)&&(nt.bottom-=qe-Gt),qt(nt.left)&&(nt.left-=dt-En),qt(nt.right)&&(nt.right-=dt-En),nt.marginTop=Gt,nt.marginLeft=En}return nt}function le(D){return"HTML"===D.nodeName?D:D.parentNode||D.host}function Ue(D){if(!D)return document.body;switch(D.nodeName){case"HTML":case"BODY":return D.ownerDocument.body;case"#document":return D.body}const{overflow:k,overflowX:N,overflowY:F}=Un(D);return/(auto|scroll|overlay)/.test(String(k)+String(F)+String(N))?D:Ue(le(D))}function he(D,k="top"){const N="top"===k?"scrollTop":"scrollLeft",F=D.nodeName;return"BODY"===F||"HTML"===F?(D.ownerDocument.scrollingElement||D.ownerDocument.documentElement)[N]:D[N]}function Be(D){const k=D.nodeName;return"BODY"!==k&&"HTML"!==k&&("fixed"===Un(D,"position")||Be(le(D)))}function st(D,k,N=0,F,ge=!1){let Ie={top:0,left:0};const ke=ge?bi(D):Ze(D,k);if("viewport"===F)Ie=function Ne(D,k=!1){const N=D.ownerDocument.documentElement,F=re(D,N),ge=Math.max(N.clientWidth,window.innerWidth||0),Ie=Math.max(N.clientHeight,window.innerHeight||0),ke=k?0:he(N),qe=k?0:he(N,"left");return Yn({top:ke-Number(F?.top)+Number(F?.marginTop),left:qe-Number(F?.left)+Number(F?.marginLeft),width:ge,height:Ie})}(ke,ge);else{let qe;"scrollParent"===F?(qe=Ue(le(k)),"BODY"===qe.nodeName&&(qe=D.ownerDocument.documentElement)):qe="window"===F?D.ownerDocument.documentElement:F;const dt=re(qe,ke,ge);if(dt&&"HTML"===qe.nodeName&&!Be(ke)){const{height:nt,width:Gt}=Lr(D.ownerDocument);qt(Ie.top)&&qt(dt.top)&&qt(dt.marginTop)&&(Ie.top+=dt.top-dt.marginTop),qt(Ie.top)&&(Ie.bottom=Number(nt)+Number(dt.top)),qt(Ie.left)&&qt(dt.left)&&qt(dt.marginLeft)&&(Ie.left+=dt.left-dt.marginLeft),qt(Ie.top)&&(Ie.right=Number(Gt)+Number(dt.left))}else dt&&(Ie=dt)}return qt(Ie.left)&&(Ie.left+=N),qt(Ie.top)&&(Ie.top+=N),qt(Ie.right)&&(Ie.right-=N),qt(Ie.bottom)&&(Ie.bottom-=N),Ie}function yt({width:D,height:k}){return D*k}function vt(D,k,N,F,ge=["top","bottom","right","left"],Ie="viewport",ke=0){if(-1===D.indexOf("auto"))return D;const qe=st(N,F,ke,Ie),dt={top:{width:qe?.width??0,height:(k?.top??0)-(qe?.top??0)},right:{width:(qe?.right??0)-(k?.right??0),height:qe?.height??0},bottom:{width:qe?.width??0,height:(qe?.bottom??0)-(k?.bottom??0)},left:{width:(k.left??0)-(qe?.left??0),height:qe?.height??0}},nt=Object.keys(dt).map(In=>({position:In,...dt[In],area:yt(dt[In])})).sort((In,$n)=>$n.area-In.area);let Gt=nt.filter(({width:In,height:$n})=>In>=N.clientWidth&&$n>=N.clientHeight);Gt=Gt.filter(({position:In})=>ge.some($n=>$n===In));const En=Gt.length>0?Gt[0].position:nt[0].position,Hn=D.split(" ")[1];return N.className=N.className.replace(/bs-tooltip-auto/g,`bs-tooltip-${(0,O.Bu)().isBs5?Er[En]:En}`),En+(Hn?`-${Hn}`:"")}const te=(D,k=0)=>D?parseFloat(D):k;function Oe(D){const N=D.ownerDocument.defaultView?.getComputedStyle(D),F=te(N?.marginTop)+te(N?.marginBottom),ge=te(N?.marginLeft)+te(N?.marginRight);return{width:Number(D.offsetWidth)+ge,height:Number(D.offsetHeight)+F}}function Qe(D,k,N){return re(k,N?bi(D):Ze(D,k),N)}function Mt(D,k,N){const F=N.split(" ")[0],ge=Oe(D),Ie={width:ge.width,height:ge.height},ke=-1!==["right","left"].indexOf(F),qe=ke?"top":"left",dt=ke?"left":"top",nt=ke?"height":"width",Gt=ke?"width":"height";return Ie[qe]=(k[qe]??0)+k[nt]/2-ge[nt]/2,Ie[dt]=F===dt?(k[dt]??0)-ge[Gt]:k[function oe(D){const k={left:"right",right:"left",bottom:"top",top:"bottom"};return D.replace(/left|right|bottom|top/g,N=>k[N])}(dt)]??0,Ie}function It(D,k){return!!D.modifiers[k]?.enabled}const Jt={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 pt(D,k){return!!(0,O.Bu)().isBs5&&Jt[k].includes(D)}function un(D,k,N){!D||!k||Object.keys(k).forEach(F=>{let ge="";-1!==["width","height","top","right","bottom","left"].indexOf(F)&&function ai(D){return""!==D&&!isNaN(parseFloat(D))&&isFinite(Number(D))}(k[F])&&(ge="px"),N?N.setStyle(D,F,`${String(k[F])}${ge}`):D.style[F]=String(k[F])+ge})}function Mn(D){let k=D.offsets.target;const N=D.instance.target.querySelector(".arrow");if(!N)return D;const F=-1!==["left","right"].indexOf(D.placement.split(" ")[0]),ge=F?"height":"width",Ie=F?"Top":"Left",ke=Ie.toLowerCase(),qe=F?"left":"top",dt=F?"bottom":"right",nt=Oe(N)[ge],Gt=D.placement.split(" ")[1];(D.offsets.host[dt]??0)-nt<(k[ke]??0)&&(k[ke]-=(k[ke]??0)-((D.offsets.host[dt]??0)-nt)),Number(D.offsets.host[ke])+Number(nt)>(k[dt]??0)&&(k[ke]+=Number(D.offsets.host[ke])+Number(nt)-Number(k[dt])),k=Yn(k);const En=Un(D.instance.target),Hn=parseFloat(En[`margin${Ie}`])||0,In=parseFloat(En[`border${Ie}Width`])||0;let $n;if(Gt){const ur=parseFloat(En.borderRadius)||0,li=Number(Hn+In+ur);$n=ke===Gt?Number(D.offsets.host[ke])+li:Number(D.offsets.host[ke])+Number(D.offsets.host[ge]-li)}else $n=Number(D.offsets.host[ke])+Number(D.offsets.host[ge]/2-nt/2);let Wn=$n-(k[ke]??0)-Hn-In;return Wn=Math.max(Math.min(k[ge]-(nt+5),Wn),0),D.offsets.arrow={[ke]:Math.round(Wn),[qe]:""},D.instance.arrow=N,D}function vn(D){if(D.offsets.target=Yn(D.offsets.target),!It(D.options,"flip"))return D.offsets.target={...D.offsets.target,...Mt(D.instance.target,D.offsets.host,D.placement)},D;const k=st(D.instance.target,D.instance.host,0,"viewport",!1);let N=D.placement.split(" ")[0],F=D.placement.split(" ")[1]||"";const qe=vt("auto",D.offsets.host,D.instance.target,D.instance.host,D.options.allowedPositions),dt=[N,qe];return dt.forEach((nt,Gt)=>{if(N!==nt||dt.length===Gt+1)return;N=D.placement.split(" ")[0];const En="left"===N&&Math.floor(D.offsets.target.right??0)>Math.floor(D.offsets.host.left??0)||"right"===N&&Math.floor(D.offsets.target.left??0)<Math.floor(D.offsets.host.right??0)||"top"===N&&Math.floor(D.offsets.target.bottom??0)>Math.floor(D.offsets.host.top??0)||"bottom"===N&&Math.floor(D.offsets.target.top??0)<Math.floor(D.offsets.host.bottom??0),Hn=Math.floor(D.offsets.target.left??0)<Math.floor(k.left??0),In=Math.floor(D.offsets.target.right??0)>Math.floor(k.right??0),$n=Math.floor(D.offsets.target.top??0)<Math.floor(k.top??0),Wn=Math.floor(D.offsets.target.bottom??0)>Math.floor(k.bottom??0),ur="left"===N&&Hn||"right"===N&&In||"top"===N&&$n||"bottom"===N&&Wn,li=-1!==["top","bottom"].indexOf(N),po=li&&"left"===F&&Hn||li&&"right"===F&&In||!li&&"left"===F&&$n||!li&&"right"===F&&Wn;(En||ur||po)&&((En||ur)&&(N=dt[Gt+1]),po&&(F=function U(D){return"right"===D?"left":"left"===D?"right":D}(F)),D.placement=N+(F?` ${F}`:""),D.offsets.target={...D.offsets.target,...Mt(D.instance.target,D.offsets.host,D.placement)})}),D}function Tn(D){if(!It(D.options,"preventOverflow"))return D;const k="transform",N=D.instance.target.style,{top:F,left:ge,[k]:Ie}=N;N.top="",N.left="",N[k]="";const ke=st(D.instance.target,D.instance.host,0,D.options.modifiers.preventOverflow?.boundariesElement||"scrollParent",!1);N.top=F,N.left=ge,N[k]=Ie;const dt={primary(nt){let Gt=D.offsets.target[nt];return(D.offsets.target[nt]??0)<(ke[nt]??0)&&(Gt=Math.max(D.offsets.target[nt]??0,ke[nt]??0)),{[nt]:Gt}},secondary(nt){const Gt="right"===nt,En=Gt?"left":"top";let In=D.offsets.target[En];return(D.offsets.target[nt]??0)>(ke[nt]??0)&&(In=Math.min(D.offsets.target[En]??0,(ke[nt]??0)-D.offsets.target[Gt?"width":"height"])),{[En]:In}}};return["left","right","top","bottom"].forEach(nt=>{const Gt=-1!==["left","top","start"].indexOf(nt)?dt.primary:dt.secondary;D.offsets.target={...D.offsets.target,...Gt(nt)}}),D}function zt(D){const k=D.placement,N=k.split(" ")[0],F=k.split(" ")[1];if(F){const{host:ge,target:Ie}=D.offsets,ke=-1!==["bottom","top"].indexOf(N),qe=ke?"left":"top",dt=ke?"width":"height",nt={start:{[qe]:ge[qe]},end:{[qe]:(ge[qe]??0)+ge[dt]-Ie[dt]}};D.offsets.target={...Ie,[qe]:qe===F?nt.start[qe]:nt.end[qe]}}return D}const bt=new class kt{position(k,N){return this.offset(k,N)}offset(k,N){return Qe(N,k)}positionElements(k,N,F,ge,Ie){const ke=[vn,zt,Tn,Mn],dt=function St(D,k,N,F){if(!D||!k)return;const ge=Qe(D,k);!N.match(/^(auto)*\s*(left|right|top|bottom|start|end)*$/)&&!N.match(/^(left|right|top|bottom|start|end)*(?: (left|right|top|bottom|start|end))*$/)&&(N="auto");const Ie=!!N.match(/auto/g);let ke=N.match(/auto\s(left|right|top|bottom|start|end)/)?N.split(" ")[1]||"auto":N;const qe=ke.match(/^(left|right|top|bottom|start|end)* ?(?!\1)(left|right|top|bottom|start|end)?/);return qe&&(ke=qe[1]+(qe[2]?` ${qe[2]}`:"")),-1!==["left right","right left","top bottom","bottom top"].indexOf(ke)&&(ke="auto"),ke=vt(ke,ge,D,k,F?F.allowedPositions:void 0),{options:F||{modifiers:{}},instance:{target:D,host:k,arrow:void 0},offsets:{target:Mt(D,ge,ke),host:ge,arrow:void 0},positionFixed:!1,placement:ke,placementAuto:Ie}}(N,k,Zn[F],Ie);if(dt)return ke.reduce((nt,Gt)=>Gt(nt),dt)}};function Ot(D,k,N,F,ge,Ie){const ke=bt.positionElements(D,k,N,F,ge);if(!ke)return;const qe=function fe(D){return{width:D.offsets.target.width,height:D.offsets.target.height,left:Math.floor(D.offsets.target.left??0),top:Math.round(D.offsets.target.top??0),bottom:Math.round(D.offsets.target.bottom??0),right:Math.floor(D.offsets.target.right??0)}}(ke);un(k,{"will-change":"transform",top:"0px",left:"0px",transform:`translate3d(${qe.left}px, ${qe.top}px, 0px)`},Ie),ke.instance.arrow&&un(ke.instance.arrow,ke.offsets.arrow,Ie),function $t(D,k){const N=D.instance.target;let F=N.className;const ge=(0,O.Bu)().isBs5?Er[D.placement]:D.placement;D.placementAuto&&(F=F.replace(/bs-popover-auto/g,`bs-popover-${ge}`),F=F.replace(/ms-2|me-2|mb-2|mt-2/g,""),F=F.replace(/bs-tooltip-auto/g,`bs-tooltip-${ge}`),F=F.replace(/\sauto/g,` ${ge}`),-1!==F.indexOf("popover")&&(F=F+" "+function rt(D){return(0,O.Bu)().isBs5?pt(D,"end")?"ms-2":pt(D,"start")?"me-2":pt(D,"top")?"mb-2":pt(D,"bottom")?"mt-2":"":""}(ge)),-1!==F.indexOf("popover")&&-1===F.indexOf("popover-auto")&&(F+=" popover-auto"),-1!==F.indexOf("tooltip")&&-1===F.indexOf("tooltip-auto")&&(F+=" tooltip-auto")),F=F.replace(/left|right|top|bottom|end|start/g,`${ge.split(" ")[0]}`),k?k.setAttribute(N,"class",F):N.className=F}(ke,Ie)}let wn=(()=>{class D{constructor(N,F,ge){this.update$$=new Ve.B,this.positionElements=new Map,this.isDisabled=!1,(0,G.UE)(ge)&&N.runOutsideAngular(()=>{this.triggerEvent$=function ve(...D){const k=(0,ye.lI)(D),N=(0,ye.R0)(D,1/0),F=D;return F.length?1===F.length?(0,ie.Tg)(F[0]):(0,$.U)(N)((0,Ce.H)(F,k)):pe.w}(Dn(window,"scroll",{passive:!0}),Dn(window,"resize",{passive:!0}),(0,Sr.of)(0,wr),this.update$$),this.triggerEvent$.subscribe(()=>{this.isDisabled||this.positionElements.forEach(Ie=>{Ot(dn(Ie.target),dn(Ie.element),Ie.attachment,Ie.appendToBody,this.options,F.createRenderer(null,null))})})})}position(N){this.addPositionElement(N)}get event$(){return this.triggerEvent$}disable(){this.isDisabled=!0}enable(){this.isDisabled=!1}addPositionElement(N){this.positionElements.set(dn(N.element),N)}calcPosition(){this.update$$.next(null)}deletePositionElement(N){this.positionElements.delete(dn(N))}setOptions(N){this.options=N}static#e=this.\u0275fac=function(F){return new(F||D)(u.KVO(u.SKi),u.KVO(u._9s),u.KVO(u.Agw))};static#t=this.\u0275prov=u.jDH({token:D,factory:D.\u0275fac,providedIn:"root"})}return D})();function dn(D){return"string"==typeof D?document.querySelector(D):D instanceof u.aKT?D.nativeElement:D??null}class _t{constructor(k,N,F){this.nodes=k,this.viewRef=N,this.componentRef=F}}class me{constructor(k,N,F,ge,Ie,ke,qe,dt,nt){this._viewContainerRef=k,this._renderer=N,this._elementRef=F,this._injector=ge,this._componentFactoryResolver=Ie,this._ngZone=ke,this._applicationRef=qe,this._posService=dt,this._document=nt,this.onBeforeShow=new u.bkB,this.onShown=new u.bkB,this.onBeforeHide=new u.bkB,this.onHidden=new u.bkB,this._providers=[],this._isHiding=!1,this.containerDefaultSelector="body",this._listenOpts={},this._globalListener=Function.prototype}get isShown(){return!this._isHiding&&!!this._componentRef}attach(k){return this._componentFactory=this._componentFactoryResolver.resolveComponentFactory(k),this}to(k){return this.container=k||this.container,this}position(k){return k?(this.attachment=k.attachment||this.attachment,this._elementRef=k.target||this._elementRef,this):this}provide(k){return this._providers.push(k),this}show(k={}){if(this._subscribePositioning(),this._innerComponent=void 0,!this._componentRef){this.onBeforeShow.emit(),this._contentRef=this._getContentRef(k.content,k.context,k.initialState);const N=u.zZn.create({providers:this._providers,parent:this._injector});if(!this._componentFactory)return;if(this._componentRef=this._componentFactory.create(N,this._contentRef.nodes),this._applicationRef.attachView(this._componentRef.hostView),this.instance=this._componentRef.instance,Object.assign(this._componentRef.instance,k),this.container instanceof u.aKT&&this.container.nativeElement.appendChild(this._componentRef.location.nativeElement),"string"==typeof this.container&&typeof this._document<"u"){const F=this._document.querySelector(this.container)||this._document.querySelector(this.containerDefaultSelector);if(!F)return;F.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(k.id?{id:k.id}:this._componentRef.instance)}return this._registerOutsideClick(),this._componentRef}hide(k){if(!this._componentRef)return this;this._posService.deletePositionElement(this._componentRef.location),this.onBeforeHide.emit(this._componentRef.instance);const N=this._componentRef.location.nativeElement;return N.parentNode?.removeChild(N),this._contentRef?.componentRef?.destroy(),this._viewContainerRef&&this._contentRef?.viewRef&&this._viewContainerRef.remove(this._viewContainerRef.indexOf(this._contentRef.viewRef)),this._contentRef?.viewRef?.destroy(),this._componentRef?.destroy(),this._contentRef=void 0,this._componentRef=void 0,this._removeGlobalListener(),this.onHidden.emit(k?{id:k}:null),this}toggle(){this.isShown?this.hide():this.show()}dispose(){this.isShown&&this.hide(),this._unsubscribePositioning(),this._unregisterListenersFn&&this._unregisterListenersFn()}listen(k){this.triggers=k.triggers||this.triggers,this._listenOpts.outsideClick=k.outsideClick,this._listenOpts.outsideEsc=k.outsideEsc,k.target=k.target||this._elementRef?.nativeElement;const N=this._listenOpts.hide=()=>k.hide?k.hide():void this.hide(),F=this._listenOpts.show=Ie=>{k.show?k.show(Ie):this.show(Ie),Ie()};return this._renderer&&(this._unregisterListenersFn=(0,O.GL)(this._renderer,{target:k.target,triggers:k.triggers,show:F,hide:N,toggle:Ie=>{this.isShown?N():F(Ie)}})),this}_removeGlobalListener(){this._globalListener&&(this._globalListener(),this._globalListener=Function.prototype)}attachInline(k,N){return k&&N&&(this._inlineViewRef=k.createEmbeddedView(N)),this}_registerOutsideClick(){if(!this._componentRef||!this._componentRef.location)return;let k=Function.prototype,N=Function.prototype;if(this._listenOpts.outsideClick){const F=this._componentRef.location.nativeElement;setTimeout(()=>{this._renderer&&this._elementRef&&(k=(0,O.Xt)(this._renderer,{targets:[F,this._elementRef.nativeElement],outsideClick:this._listenOpts.outsideClick,hide:()=>this._listenOpts.hide&&this._listenOpts.hide()}))})}this._listenOpts.outsideEsc&&this._renderer&&this._elementRef&&(N=(0,O.Fv)(this._renderer,{targets:[this._componentRef.location.nativeElement,this._elementRef.nativeElement],outsideEsc:this._listenOpts.outsideEsc,hide:()=>this._listenOpts.hide&&this._listenOpts.hide()})),this._globalListener=()=>{k(),N()}}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(k,N,F){if(!k)return new _t([]);if(k instanceof u.C4Q){if(this._viewContainerRef){const ke=this._viewContainerRef.createEmbeddedView(k,N);return ke.markForCheck(),new _t([ke.rootNodes],ke)}const Ie=k.createEmbeddedView({});return this._applicationRef.attachView(Ie),new _t([Ie.rootNodes],Ie)}if("function"==typeof k){const Ie=this._componentFactoryResolver.resolveComponentFactory(k),ke=u.zZn.create({providers:this._providers,parent:this._injector}),qe=Ie.create(ke);return Object.assign(qe.instance,F),this._applicationRef.attachView(qe.hostView),new _t([[qe.location.nativeElement]],qe.hostView,qe)}const ge=this._renderer?[this._renderer.createText(`${k}`)]:[];return new _t([ge])}}let Ee=(()=>{class D{constructor(N,F,ge,Ie,ke,qe){this._componentFactoryResolver=N,this._ngZone=F,this._injector=ge,this._posService=Ie,this._applicationRef=ke,this._document=qe}createLoader(N,F,ge){return new me(F,ge,N,this._injector,this._componentFactoryResolver,this._ngZone,this._applicationRef,this._posService,this._document)}static#e=this.\u0275fac=function(F){return new(F||D)(u.KVO(u.OM3),u.KVO(u.SKi),u.KVO(u.zZn),u.KVO(wn),u.KVO(u.o8S),u.KVO(G.qQ))};static#t=this.\u0275prov=u.jDH({token:D,factory:D.\u0275fac,providedIn:"root"})}return D})();const Et=["*"];let Ft=(()=>{class D{constructor(){this.hide=()=>{},this.setClass=()=>{}}static#e=this.\u0275fac=function(F){return new(F||D)};static#t=this.\u0275prov=u.jDH({token:D,factory:D.\u0275fac,providedIn:"platform"})}return D})(),Qt=(()=>{class D{static#e=this.\u0275fac=function(F){return new(F||D)};static#t=this.\u0275prov=u.jDH({token:D,factory:D.\u0275fac,providedIn:"platform"})}return D})();const Vn={backdrop:!0,keyboard:!0,focus:!0,show:!1,ignoreBackdropClick:!1,class:"",animated:!0,initialState:{},closeInterceptor:void 0},kn=new u.nKC("override-default-config");let x=(()=>{class D{constructor(N,F,ge){this._element=F,this._renderer=ge,this.isShown=!1,this.isAnimated=!1,this._focusEl=null,this.isModalHiding=!1,this.clickStartedInContent=!1,this.config=Object.assign({},N)}ngOnInit(){this._focusEl=O.Al.activeElement,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,"show")},this.isAnimated?150:0),O.Al&&O.Al.body&&(this.bsModalService&&1===this.bsModalService.getModalsCount()&&(this.bsModalService.checkScrollbar(),this.bsModalService.setScrollbar()),this._renderer.addClass(O.Al.body,"modal-open"),this._renderer.setStyle(O.Al.body,"overflow-y","hidden")),this._element.nativeElement&&this._element.nativeElement.focus()}onClickStarted(N){this.clickStartedInContent=N.target!==this._element.nativeElement}onClickStop(N){this.config.ignoreBackdropClick||"static"===this.config.backdrop||N.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(N){this.isShown&&((27===N.keyCode||"Escape"===N.key)&&N.preventDefault(),this.config.keyboard&&this.level===this.bsModalService?.getModalsCount()&&(this.bsModalService?.setDismissReason("esc"),this.hide()))}ngOnDestroy(){this.isShown&&this._hide()}hide(){if(!this.isModalHiding){if(this.config.closeInterceptor)return void this.config.closeInterceptor().then(()=>this._hide(),()=>{});this._hide()}}_hide(){this.isModalHiding=!0,this._renderer.removeClass(this._element.nativeElement,"show"),setTimeout(()=>{this.isShown=!1,O.Al&&O.Al.body&&1===this.bsModalService?.getModalsCount()&&(this._renderer.removeClass(O.Al.body,"modal-open"),this._renderer.setStyle(O.Al.body,"overflow-y","")),this.bsModalService?.hide(this.config.id),this.isModalHiding=!1,this._focusEl&&this._focusEl.focus()},this.isAnimated?300:0)}static#e=this.\u0275fac=function(F){return new(F||D)(u.rXU(Qt),u.rXU(u.aKT),u.rXU(u.sFG))};static#t=this.\u0275cmp=u.VBU({type:D,selectors:[["modal-container"]],hostAttrs:["role","dialog","tabindex","-1",1,"modal"],hostVars:3,hostBindings:function(F,ge){1&F&&u.bIt("mousedown",function(ke){return ge.onClickStarted(ke)})("click",function(ke){return ge.onClickStop(ke)})("popstate",function(){return ge.onPopState()},!1,u.tSv)("keydown.esc",function(ke){return ge.onEsc(ke)},!1,u.tSv),2&F&&u.BMQ("aria-modal",!0)("aria-labelledby",ge.config.ariaLabelledBy)("aria-describedby",ge.config.ariaDescribedby)},ngContentSelectors:Et,decls:3,vars:2,consts:[["role","document","focusTrap",""],[1,"modal-content"]],template:function(F,ge){1&F&&(u.NAR(),u.j41(0,"div",0)(1,"div",1),u.SdG(2),u.k0s()()),2&F&&u.HbH("modal-dialog"+(ge.config.class?" "+ge.config.class:""))},dependencies:[it],encapsulation:2})}return D})(),B=(()=>{class D{get isAnimated(){return this._isAnimated}set isAnimated(N){this._isAnimated=N}get isShown(){return this._isShown}set isShown(N){this._isShown=N,N?this.renderer.addClass(this.element.nativeElement,"show"):this.renderer.removeClass(this.element.nativeElement,"show")}constructor(N,F){this._isAnimated=!1,this._isShown=!1,this.element=N,this.renderer=F}ngOnInit(){this.isAnimated&&(this.renderer.addClass(this.element.nativeElement,"fade"),O.Aq.reflow(this.element.nativeElement)),this.isShown=!0}static#e=this.\u0275fac=function(F){return new(F||D)(u.rXU(u.aKT),u.rXU(u.sFG))};static#t=this.\u0275cmp=u.VBU({type:D,selectors:[["bs-modal-backdrop"]],hostAttrs:[1,"modal-backdrop"],decls:0,vars:0,template:function(F,ge){},encapsulation:2})}return D})(),Re=1,Je=(()=>{class D{constructor(N,F,ge){this.clf=F,this.modalDefaultOption=ge,this.onShow=new u.bkB,this.onShown=new u.bkB,this.onHide=new u.bkB,this.onHidden=new u.bkB,this.isBodyOverflowing=!1,this.originalBodyPadding=0,this.scrollbarWidth=0,this.modalsCount=0,this.loaders=[],this._focusEl=null,this._backdropLoader=this.clf.createLoader(),this._renderer=N.createRenderer(null,null),this.config=ge?Object.assign({},Vn,ge):Vn}show(N,F){this._focusEl=O.Al.activeElement,this.modalsCount++,this._createLoaders();const ge=F?.id||Re++;return this.config=this.modalDefaultOption?Object.assign({},Vn,this.modalDefaultOption,F):Object.assign({},Vn,F),this.config.id=ge,this._showBackdrop(),this.lastDismissReason=void 0,this._showModal(N)}hide(N){(1===this.modalsCount||null==N)&&(this._hideBackdrop(),this.resetScrollbar()),this.modalsCount=this.modalsCount>=1&&null!=N?this.modalsCount-1:0,setTimeout(()=>{this._hideModal(N),this.removeLoaders(N)},this.config.animated?150:0),this._focusEl&&this._focusEl.focus()}_showBackdrop(){const N=!0===this.config.backdrop||"static"===this.config.backdrop,F=!this.backdropRef||!this.backdropRef.instance.isShown;1===this.modalsCount&&(this.removeBackdrop(),N&&F&&(this._backdropLoader.attach(B).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(N){const F=this.loaders[this.loaders.length-1];if(this.config&&this.config.providers)for(const ke of this.config.providers)F.provide(ke);const ge=new Ft,Ie=F.provide({provide:Qt,useValue:this.config}).provide({provide:Ft,useValue:ge}).attach(x).to("body");return ge.hide=()=>this.hide(ge.id),ge.setClass=ke=>{Ie.instance&&(Ie.instance.config.class=ke)},ge.onHidden=new u.bkB,ge.onHide=new u.bkB,this.copyEvent(F.onBeforeHide,ge.onHide),this.copyEvent(F.onHidden,ge.onHidden),Ie.show({content:N,isAnimated:this.config.animated,initialState:this.config.initialState,bsModalService:this,id:this.config.id}),Ie.instance&&(Ie.instance.level=this.getModalsCount(),ge.content=F.getInnerComponent(),ge.id=Ie.instance.config?.id),ge}_hideModal(N){if(null!=N){const F=this.loaders.findIndex(Ie=>Ie.instance?.config.id===N),ge=this.loaders[F];ge&&ge.hide(N)}else this.loaders.forEach(F=>{F.instance&&F.hide(F.instance.config.id)})}getModalsCount(){return this.modalsCount}setDismissReason(N){this.lastDismissReason=N}removeBackdrop(){this._renderer.removeClass(O.Al.body,"modal-open"),this._renderer.setStyle(O.Al.body,"overflow-y",""),this._backdropLoader.hide(),this.backdropRef=void 0}checkScrollbar(){this.isBodyOverflowing=O.Al.body.clientWidth<window.innerWidth,this.scrollbarWidth=this.getScrollbarWidth()}setScrollbar(){O.Al&&(this.originalBodyPadding=parseInt(window.getComputedStyle(O.Al.body).getPropertyValue("padding-right")||"0",10),this.isBodyOverflowing&&(O.Al.body.style.paddingRight=`${this.originalBodyPadding+this.scrollbarWidth}px`))}resetScrollbar(){O.Al.body.style.paddingRight=`${this.originalBodyPadding}px`}getScrollbarWidth(){const N=this._renderer.createElement("div");this._renderer.addClass(N,"modal-scrollbar-measure"),this._renderer.appendChild(O.Al.body,N);const F=N.offsetWidth-N.clientWidth;return this._renderer.removeChild(O.Al.body,N),F}_createLoaders(){const N=this.clf.createLoader();this.copyEvent(N.onBeforeShow,this.onShow),this.copyEvent(N.onShown,this.onShown),this.copyEvent(N.onBeforeHide,this.onHide),this.copyEvent(N.onHidden,this.onHidden),this.loaders.push(N)}removeLoaders(N){if(null!=N){const F=this.loaders.findIndex(ge=>ge.instance?.config.id===N);F>=0&&(this.loaders.splice(F,1),this.loaders.forEach((ge,Ie)=>{ge.instance&&(ge.instance.level=Ie+1)}))}else this.loaders.splice(0,this.loaders.length)}copyEvent(N,F){N.subscribe(ge=>{F.emit(this.lastDismissReason||ge)})}static#e=this.\u0275fac=function(F){return new(F||D)(u.KVO(u._9s),u.KVO(Ee),u.KVO(kn,8))};static#t=this.\u0275prov=u.jDH({token:D,factory:D.\u0275fac,providedIn:"platform"})}return D})();Ye.forRoot();let Lt=(()=>{class D{static forRoot(){return{ngModule:D,providers:[Je,Ee,wn]}}static forChild(){return{ngModule:D,providers:[Je,Ee,wn]}}static#e=this.\u0275fac=function(F){return new(F||D)};static#t=this.\u0275mod=u.$C({type:D});static#n=this.\u0275inj=u.G2t({imports:[Ye]})}return D})()},7820:(Ae,W,M)=>{"use strict";M.d(W,{Hq:()=>X,eh:()=>Y});var u=M(3953),O=M(177);const G=["*"];function Z(ae,xe){1&ae&&u.eu8(0)}function H(ae,xe){if(1&ae&&(u.j41(0,"bar",3),u.SdG(1),u.k0s()),2&ae){const de=u.XpG();u.Y8G("type",de.type)("value",de._value)("max",de.max)("animate",de.animate)("striped",de.striped)}}function z(ae,xe){if(1&ae&&(u.j41(0,"bar",3),u.EFF(1),u.k0s()),2&ae){const de=xe.$implicit,we=u.XpG(2);u.Y8G("type",de.type)("value",de.value)("max",de.max||we.max)("animate",we.animate)("striped",we.striped),u.R7$(),u.JRh(de.label)}}function j(ae,xe){if(1&ae&&u.DNE(0,z,2,6,"bar",4),2&ae){const de=u.XpG();u.Y8G("ngForOf",de._values)}}let K=(()=>{class ae{constructor(de,we){this.el=de,this.renderer=we,this.max=100,this.value=0,this.animate=!1,this.striped=!1,this.type="info",this.percent=100}ngOnChanges(de){(de.value||de.max)&&(this.percent=Number(de.value?.currentValue||this.value)/Number(de.max?.currentValue||this.max||100)*100),de.type&&this.applyTypeClasses()}applyTypeClasses(){if(this._prevType){const we=`bg-${this._prevType}`;this.renderer.removeClass(this.el.nativeElement,`progress-bar-${this._prevType}`),this.renderer.removeClass(this.el.nativeElement,we),this._prevType=void 0}if(this.type){const we=`bg-${this.type}`;this.renderer.addClass(this.el.nativeElement,`progress-bar-${this.type}`),this.renderer.addClass(this.el.nativeElement,we),this._prevType=this.type}}static#e=this.\u0275fac=function(we){return new(we||ae)(u.rXU(u.aKT),u.rXU(u.sFG))};static#t=this.\u0275cmp=u.VBU({type:ae,selectors:[["bar"]],hostAttrs:["role","progressbar","aria-valuemin","0"],hostVars:13,hostBindings:function(we,Ge){2&we&&(u.BMQ("aria-valuenow",Ge.value)("aria-valuetext",Ge.percent?Ge.percent.toFixed(0)+"%":"")("aria-valuemax",Ge.max),u.xc7("height","100","%")("width",Ge.percent,"%"),u.AVh("progress-bar",!0)("progress-bar-animated",Ge.animate)("progress-bar-striped",Ge.striped))},inputs:{max:"max",value:"value",animate:"animate",striped:"striped",type:"type"},features:[u.OA$],ngContentSelectors:G,decls:1,vars:0,template:function(we,Ge){1&we&&(u.NAR(),u.SdG(0))},encapsulation:2,changeDetection:0})}return ae})(),ee=(()=>{class ae{constructor(){this.animate=!1,this.max=100}static#e=this.\u0275fac=function(we){return new(we||ae)};static#t=this.\u0275prov=u.jDH({token:ae,factory:ae.\u0275fac,providedIn:"root"})}return ae})(),Y=(()=>{class ae{set value(de){this.isStacked=Array.isArray(de),"number"==typeof de?(this._value=de,this._values=void 0):(this._value=void 0,this._values=de)}constructor(de){this.max=100,this.animate=!1,this.striped=!1,this.isStacked=!1,this._value=0,Object.assign(this,de)}static#e=this.\u0275fac=function(we){return new(we||ae)(u.rXU(ee))};static#t=this.\u0275cmp=u.VBU({type:ae,selectors:[["progressbar"]],hostVars:3,hostBindings:function(we,Ge){2&we&&(u.BMQ("max",Ge.max),u.AVh("progress",!0))},inputs:{max:"max",animate:"animate",striped:"striped",type:"type",value:"value"},ngContentSelectors:G,decls:5,vars:3,consts:[["NotStacked",""],["Stacked",""],[4,"ngIf","ngIfThen","ngIfElse"],[3,"type","value","max","animate","striped"],[3,"type","value","max","animate","striped",4,"ngFor","ngForOf"]],template:function(we,Ge){if(1&we&&(u.NAR(),u.DNE(0,Z,1,0,"ng-container",2)(1,H,2,5,"ng-template",null,0,u.C5r)(3,j,1,1,"ng-template",null,1,u.C5r)),2&we){const gt=u.sdS(2),ut=u.sdS(4);u.Y8G("ngIf",!Ge.isStacked)("ngIfThen",gt)("ngIfElse",ut)}},dependencies:[O.Sq,O.bT,K],styles:["[_nghost-%COMP%]{width:100%;display:flex}"],changeDetection:0})}return ae})(),X=(()=>{class ae{static forRoot(){return{ngModule:ae,providers:[]}}static#e=this.\u0275fac=function(we){return new(we||ae)};static#t=this.\u0275mod=u.$C({type:ae});static#n=this.\u0275inj=u.G2t({imports:[O.MD]})}return ae})()},2806:(Ae,W,M)=>{"use strict";M.d(W,{Al:()=>ee,Aq:()=>pe,Bu:()=>Ye,Fv:()=>j,GL:()=>H,Xt:()=>z,Yl:()=>ft});class u{constructor(Se,Le){this.open=Se,this.close=Le||Se}isManual(){return"manual"===this.open||"manual"===this.close}}const O={hover:["mouseover","mouseout"],focus:["focusin","focusout"]};function H(De,Se){const Le=function G(De,Se=O){const Le=(De||"").trim();if(0===Le.length)return[];const Fe=Le.split(/\s+/).map(Rt=>Rt.split(":")).map(Rt=>{const Kt=Se[Rt[0]]||Rt;return new u(Kt[0],Kt[1])}),Dt=Fe.filter(Rt=>Rt.isManual());if(Dt.length>1)throw new Error("Triggers parse error: only one manual trigger is allowed");if(1===Dt.length&&Fe.length>1)throw new Error("Triggers parse error: manual trigger can't be mixed with other triggers");return Fe}(Se.triggers),Fe=Se.target;if(1===Le.length&&Le[0].isManual())return Function.prototype;const Dt=[],Rt=[],Kt=()=>{Rt.forEach(tn=>Dt.push(tn())),Rt.length=0};return Le.forEach(tn=>{const Dn=tn.open===tn.close,Qn=Dn?Se.toggle:Se.show;if(!Dn&&tn.close&&Se.hide){const Xn=tn.close,On=Se.hide;Rt.push(()=>De.listen(Fe,Xn,On))}Qn&&Dt.push(De.listen(Fe,tn.open,()=>Qn(Kt)))}),()=>{Dt.forEach(tn=>tn())}}function z(De,Se){return Se.outsideClick?De.listen("document","click",Le=>{Se.target&&Se.target.contains(Le.target)||Se.targets&&Se.targets.some(Fe=>Fe.contains(Le.target))||Se.hide&&Se.hide()}):Function.prototype}function j(De,Se){return Se.outsideEsc?De.listen("document","keyup.esc",Le=>{Se.target&&Se.target.contains(Le.target)||Se.targets&&Se.targets.some(Fe=>Fe.contains(Le.target))||Se.hide&&Se.hide()}):Function.prototype}const K=typeof window<"u"&&window||{},ee=K.document;var Nt=function(De){return De.isBs4="bs4",De.isBs5="bs5",De}(Nt||{});let Xe;function He(){const De=K.document.createElement("span");De.innerText="testing bs version",De.classList.add("d-none"),De.classList.add("pl-1"),K.document.head.appendChild(De);const Se=K.getComputedStyle(De).paddingLeft;return Se&&parseFloat(Se)?(K.document.head.removeChild(De),"bs4"):(K.document.head.removeChild(De),"bs5")}function ft(De){Xe=De}function Ye(){return{isBs4:(Xe||(Xe=He()),"bs4"===Xe),isBs5:(Xe||(Xe=He()),"bs5"===Xe)}}class pe{static reflow(Se){}static getStyles(Se){let Le=Se.ownerDocument.defaultView;return(!Le||!Le.opener)&&(Le=K),Le.getComputedStyle(Se)}static stackOverflowConfig(){const Se=function Ve(){const De=Ye(),Se=Object.keys(De).find(Le=>De[Le]);return Nt[Se]}();return{crossorigin:"anonymous",integrity:"bs5"===Se?"sha384-rbsA2VBKQhggwzxH7pPCaAqO46MgnOM80zW1RWuH61DGLwZJEdK2Kadq2F9CUG65":"sha384-TX8t27EcRE3e/ihU7zmQxVncDAy5uIKz4rEkgIXeMed4M0jlfIDPvg6uqKI2xXr2",cdnLink:"bs5"===Se?"https://cdn.jsdelivr.net/npm/bootstrap@5.2.3/dist/css/bootstrap.min.css":"https://cdn.jsdelivr.net/npm/bootstrap@4.5.3/dist/css/bootstrap.min.css"}}}typeof console>"u"||console}}]);
Back to Directory
File Manager