Viewing File: /usr/local/cpanel/base/frontend/jupiter/team-manager/vendor-c0d76f48.24673e5508c9bc75.js

(self.webpackChunkteam_manager=self.webpackChunkteam_manager||[]).push([[128],{7343:(G,k,D)=>{"use strict";D.d(k,{o:()=>o});var o=function(M){return M[M.GET=0]="GET",M[M.HEAD=1]="HEAD",M[M.POST=2]="POST",M[M.PUT=3]="PUT",M[M.DELETE=4]="DELETE",M[M.CONNECT=5]="CONNECT",M[M.OPTIONS=6]="OPTIONS",M[M.TRACE=7]="TRACE",M[M.PATCH=8]="PATCH",M}(o||{})},4980:(G,k,D)=>{"use strict";D.d(k,{V:()=>ft});var o=D(193),M=D.n(o),O=D(2584),R=D(6153),x=D(8391),L=D(6802);const B=Number.POSITIVE_INFINITY;class Z{constructor(ne=1,pe=20){if(ne<=0)throw new Error("The page must be 1 or greater. This is the logical page, not a programming index.");if(pe<=0)throw new Error("The pageSize must be set to 'ALL' or a number > 0");this.page=ne,this.pageSize=pe}all(){return this.pageSize===B}}class te{constructor(ne=[]){this.headers=ne}push(ne){this.headers.push(ne)}forEach(ne,pe){this.headers.forEach(ne,pe)}toArray(){const ne=[];return this.headers.forEach(pe=>ne.push({name:pe.name,value:pe.value})),ne}toObject(){return this.headers.reduce((ne,pe)=>(ne[pe.name]=pe.value,ne),{})}}class ae{constructor(ne){this._header=ne}get name(){return this._header.name}get value(){return this._header.value}}Error,Error;class Oe extends Error{constructor(ne){super(ne),this.name="WhmApiTokenInvalidError",Object.setPrototypeOf(this,Oe.prototype)}}class Ve extends Error{constructor(ne){super(ne),this.name="WhmApiTokenMismatchError",Object.setPrototypeOf(this,Ve.prototype)}}class Le extends ae{constructor(ne,pe){if(!ne)throw new Oe("You must pass a valid token to the constructor.");if(!pe&&!/^.+:/.test(ne))throw new Oe("You must pass a WHM username associated with the WHM API token.");if(!pe&&!/:.+$/.test(ne))throw new Oe("You must pass a valid WHM API token.");super({name:"Authorization",value:`whm ${pe?pe+":":""}${ne}`})}}class Qe{get usePager(){return this._usePager}constructor(ne){this.namespace="",this.method="",this.arguments=[],this.sorts=[],this.filters=[],this.columns=[],this.pager=new Z,this.headers=new te,this._usePager=!1,this.defaultConfig={analytics:!1,json:!1},this.config=this.defaultConfig,ne&&(this.method=ne.method,ne.namespace&&(this.namespace=ne.namespace),ne.arguments&&ne.arguments.forEach(pe=>{this.addArgument(pe)}),ne.sorts&&ne.sorts.forEach(pe=>{this.addSort(pe)}),ne.filters&&ne.filters.forEach(pe=>{this.addFilter(pe)}),ne.columns&&ne.columns.forEach(pe=>this.addColumn(pe)),ne.pager&&this.paginate(ne.pager),this.config=ne.config?ne.config:this.defaultConfig,ne.headers&&ne.headers.forEach(pe=>{this.addHeader(pe)}))}addArgument(ne){return this.arguments.push(ne instanceof L.e?ne:new L.e(ne.name,ne.value)),this}addSort(ne){return this.sorts.push(ne instanceof R.FU?ne:new R.FU(ne.column,ne.direction,ne.type)),this}addFilter(ne){return this.filters.push(ne instanceof x.d?ne:new x.d(ne.column,ne.operator,ne.value)),this}addColumn(ne){return this.columns.push(ne),this}addHeader(ne){return this.headers.push(ne instanceof ae?ne:new ae(ne)),this}paginate(ne){return this.pager=ne instanceof Z?ne:new Z(ne.page,ne.pageSize||20),this._usePager=!0,this}}var $e=D(7343);const bt=new class gt{constructor(){this.map={},this.map.DEFAULT={verb:"DEFAULT",dataInBody:!0},[$e.o.GET,$e.o.DELETE,$e.o.HEAD].forEach(ne=>{const pe=$e.o[ne].toString();this.map[pe]={verb:pe,dataInBody:!1}}),[$e.o.POST,$e.o.PUT,$e.o.PATCH].forEach(ne=>{const pe=$e.o[ne].toString();this.map[pe]={verb:pe,dataInBody:!0}})}getRule(ne){const pe="string"==typeof ne?ne:$e.o[ne].toString();let Ee=this.map[pe];return Ee||(Ee=this.map.DEFAULT),Ee}};var nt=D(6884);class ft extends Qe{addHeader(ne){if(ne instanceof Le)throw new Ve("A WhmApiTokenHeader cannot be used on a CpanelApiRequest");return super.addHeader(ne),this}_build(ne,pe){let Ee="";return ne.forEach((be,ce,ge)=>{Ee+=pe.encode(be.name,be.value,ce===ge.length-1)}),pe.separatorStart+Ee+pe.separatorEnd}_generateArguments(ne){this.arguments.forEach(pe=>ne.push(pe))}_generateSorts(ne){this.sorts.forEach((pe,Ee)=>{0===Ee&&ne.push({name:"api.sort",value:O.x(!0)}),ne.push({name:"api.sort_column_"+Ee,value:pe.column}),ne.push({name:"api.sort_reverse_"+Ee,value:O.x(pe.direction!==R.UE.Ascending)}),ne.push({name:"api.sort_method_"+Ee,value:M()(R.r3[pe.type])})})}_lookupFilterOperator(ne){switch(ne){case x.t.GreaterThanUnlimited:return"gt_handle_unlimited";case x.t.GreaterThan:return"gt";case x.t.LessThanUnlimited:return"lt_handle_unlimited";case x.t.LessThan:return"lt";case x.t.NotEqual:return"ne";case x.t.Equal:return"eq";case x.t.Defined:return"defined";case x.t.Undefined:return"undefined";case x.t.Matches:return"matches";case x.t.Ends:return"ends";case x.t.Begins:return"begins";case x.t.Contains:return"contains";default:throw new Error(`Unrecognized FilterOperator ${x.t[ne]} for UAPI`)}}_generateFilters(ne){this.filters.forEach((pe,Ee)=>{ne.push({name:"api.filter_column_"+Ee,value:pe.column}),ne.push({name:"api.filter_type_"+Ee,value:this._lookupFilterOperator(pe.operator)}),ne.push({name:"api.filter_term_"+Ee,value:pe.value})})}_traslatePageToStart(ne){return(ne.page-1)*ne.pageSize+1}_generatePagination(ne){if(!this.usePager)return;const pe=this.pager.all();ne.push({name:"api.paginate",value:O.x(!0)}),ne.push({name:"api.paginate_start",value:pe?-1:this._traslatePageToStart(this.pager)}),pe||ne.push({name:"api.paginate_size",value:this.pager.pageSize})}_generateConfiguration(ne){this.config&&this.config.analytics&&ne.push({name:"api.analytics",value:O.x(this.config.analytics)})}constructor(ne){super(ne)}generate(ne){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");ne||(ne={verb:$e.o.POST,encoder:this.config.json?new nt.uM:new nt.CY}),ne.encoder||(ne.encoder=this.config.json?new nt.uM:new nt.CY);const pe=bt.getRule(ne.verb),Ee={headers:new te([{name:"Content-Type",value:ne.encoder.contentType}]),url:["","execute",this.namespace,this.method].map(encodeURIComponent).join("/"),body:""},be=[];this._generateArguments(be),this._generateSorts(be),this._generateFilters(be),this._generatePagination(be),this._generateConfiguration(be);const ce=this._build(be,ne.encoder);return pe.dataInBody?Ee.body=ce:Ee.url+=ne.verb===$e.o.GET?`?${ce}`:ce,this.headers.forEach(ge=>{Ee.headers.push({name:ge.name,value:ge.value})}),Ee}}},6802:(G,k,D)=>{"use strict";D.d(k,{e:()=>M,l:()=>O});var o=D(2584);class M{constructor(x,L){if(!x)throw new Error("You must provide a name when creating a name/value argument");this.name=x,this.value=L}}class O extends M{constructor(x,L){super(x,(0,o.x)(L))}}},6884:(G,k,D)=>{"use strict";D.d(k,{uM:()=>Qe,CY:()=>Le});var o=D(9261),M=D.n(o),O=D(5972),R=D.n(O),x=D(3705),L=D.n(x),$=D(9336),B=D.n($),Z=D(8124),te=D.n(Z),ae=D(9812),ye=D.n(ae),Se=D(9970),ve=D.n(Se);function Oe($e){if(M()($e)||R()($e)||L()($e)||B()($e)||te()($e))return!0;if(!ve()($e)&&!ye()($e))return!1;for(const gt in $e)if(!Oe($e[gt]))return!1;return!0}class Le{constructor(){this.contentType="application/x-www-form-urlencoded",this.separatorStart="",this.separatorEnd="",this.recordSeparator="&"}encode(gt,bt,nt){if(!gt)throw new Error("Name must have a non-empty value");return`${gt}=${encodeURIComponent(bt.toString())}`+(nt?"":this.recordSeparator)}}class Qe{constructor(){this.contentType="application/json",this.separatorStart="{",this.separatorEnd="}",this.recordSeparator=","}encode(gt,bt,nt){if(!gt)throw new Error("Name must have a non-empty value");if(!Oe(bt))throw new Error("The passed in value can not be serialized to JSON");return JSON.stringify(gt)+":"+JSON.stringify(bt)+(nt?"":this.recordSeparator)}}},8391:(G,k,D)=>{"use strict";D.d(k,{d:()=>M,t:()=>o});var o=function(O){return O[O.Contains=0]="Contains",O[O.Begins=1]="Begins",O[O.Ends=2]="Ends",O[O.Matches=3]="Matches",O[O.Equal=4]="Equal",O[O.NotEqual=5]="NotEqual",O[O.LessThan=6]="LessThan",O[O.LessThanUnlimited=7]="LessThanUnlimited",O[O.GreaterThan=8]="GreaterThan",O[O.GreaterThanUnlimited=9]="GreaterThanUnlimited",O[O.Defined=10]="Defined",O[O.Undefined=11]="Undefined",O}(o||{});class M{constructor(R,x,L){if(!R)throw new Error("You must define a non-empty column name.");this.column=R,this.operator=x,this.value=L}}},1960:(G,k,D)=>{"use strict";D.d(k,{N:()=>o});class o{get pathname(){return window.location.pathname}get port(){return window.location.port}get hostname(){return window.location.hostname}get protocol(){return window.location.protocol}}},9390:(G,k,D)=>{"use strict";D.d(k,{KL:()=>L});const x={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 L{constructor(B){this.unprotectedPaths=["/resetpass","/invitation"],this.protocol=B.protocol;let Z=B.port;Z||(function o($){return/^https:$/i.test($)}(this.protocol)?Z="443":function M($){return/^http:$/i.test($)}(this.protocol)&&(Z="80")),this.domain=B.hostname,this.port=parseInt(Z,10),this.path=B.pathname;const te=this.path.match(/((?:\/cpsess\d+)?)(?:\/([^\/]+))?/)||[];if(this.applicationName=/^whm\./.test(this.domain)?x[2087]:/^cpanel\./.test(this.domain)?x[2083]:/^webmail\./.test(this.domain)?x[2095]:x[Z.toString()]||x[te[2]]||"whostmgr",this.securityToken=te[1]||"",this.applicationPath=this.securityToken?this.path.replace(this.securityToken,""):this.path,this.theme="",!this.isUnprotected&&(this.isCpanel||this.isWebmail)){const ye=this.path.split("/");this.theme=ye[3]}this.themePath="";let ae=this.securityToken+"/";this.isUnprotected?ae="/":this.isCpanel?ae+="frontend/"+this.theme+"/":this.isWebmail?ae+="webmail/"+this.theme+"/":this.isOther&&(ae="/"),this.themePath=ae,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 O($){return $&&$.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(B){return this.themePath+B}buildFullPath(B){return this.protocol+"//"+this.domain+":"+this.port+this.buildPath(B)}buildTokenPath(B){return this.protocol+"//"+this.domain+":"+this.port+this.securityToken+B}}},2584:(G,k,D)=>{"use strict";function o(R){return R?"1":"0"}D.d(k,{G:()=>O,x:()=>o});const M=new Set(["","0",0]);function O(R){return!M.has(R)}},6153:(G,k,D)=>{"use strict";D.d(k,{FU:()=>O,UE:()=>o,r3:()=>M});var o=function(R){return R[R.Ascending=0]="Ascending",R[R.Descending=1]="Descending",R}(o||{}),M=function(R){return R[R.Lexicographic=0]="Lexicographic",R[R.Ipv4=1]="Ipv4",R[R.Numeric=2]="Numeric",R[R.NumericZeroAsMax=3]="NumericZeroAsMax",R}(M||{});class O{constructor(x,L=o.Ascending,$=M.Lexicographic){if(!x)throw new Error("You must provide a non-empty column name for a Sort rule.");this.column=x,this.direction=L,this.type=$}}},6381:(G,k,D)=>{"use strict";k.h=void 0;const M=D(2623);Object.defineProperty(k,"h",{enumerable:!0,get:function(){return M.Locale}})},7268:(G,k)=>{"use strict";Object.defineProperty(k,"__esModule",{value:!0}),k.CLDR=void 0,k.CLDR=class D{constructor(M){this.rawData=M,this.validateCLDR(this.rawData)}validateCLDR(M){if(!M)throw new Error("CLDR data cannot be null");if(!M.locale)throw new Error("CLDR data is missing locale information");if(!Object.prototype.hasOwnProperty.call(M,"functions")||Object.prototype.hasOwnProperty.call(M,"get_plural_form")||"function"!=typeof M.functions.get_plural_form)throw new Error("CLDR data is missing function get_plural_form");if(!Object.prototype.hasOwnProperty.call(M,"datetime_info"))throw new Error("CLDR data is missing datetime_info");if(!Object.prototype.hasOwnProperty.call(M,"misc_info"))throw new Error("CLDR data is missing misc_info");if(!Object.prototype.hasOwnProperty.call(M.misc_info,"cldr_formats"))throw new Error("CLDR data is missing cldr_formats");if(!Object.prototype.hasOwnProperty.call(M.misc_info,"orientation")||!Object.prototype.hasOwnProperty.call(M.misc_info.orientation,"characters"))throw new Error("CLDR data is missing orientation information");if(!Object.prototype.hasOwnProperty.call(M.misc_info,"delimiters"))throw new Error("CLDR data is missing delimiter information");return!0}getLocale(){return this.rawData.locale}getPluralForm(M,...O){return(0,this.rawData.functions.get_plural_form)(M,...O)}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:(G,k,D)=>{"use strict";Object.defineProperty(k,"__esModule",{value:!0}),k.Locale=void 0;const o=D(7367),M=D(5736),O=D(8994),R=D(3365),x=D(7268);k.Locale=class L{constructor(B,Z={}){this.lexicon=Z,this._cldr=new x.CLDR(B)}maketext(B,...Z){return(0,o.maketext)({cldr:this._cldr,lexicon:this.lexicon,template:B,args:Z})}localDatetime(B,Z){return this._datetimeWrapper(M.local_datetime,B,Z)}datetime(B,Z){return this._datetimeWrapper(M.datetime,B,Z)}_datetimeWrapper(B,Z,te){return B({cldr:this._cldr,args:[Z,te]})}getCurrentLocale(){return this._cldr.getLocale()}get isRtl(){return this._cldr.isRtl()}get isLtr(){return this._cldr.isLtr()}get cldr(){return this._cldr}numf(B,Z){return this._formatNumber(O.numf,B,Z)}format_bytes(B,Z){return this._formatNumber(O.format_bytes,B,Z)}_formatNumber(B,...Z){return this._callCLDRFunc(B,Z)}list_and(...B){return this._callCLDRFunc(R.list_and,B)}list_and_quoted(...B){return this._callCLDRFunc(R.list_and_quoted,B)}list_or(...B){return this._callCLDRFunc(R.list_or,B)}list_or_quoted(...B){return this._callCLDRFunc(R.list_or_quoted,B)}_callCLDRFunc(B,Z){return B({cldr:this._cldr,args:Z})}}},6049:(G,k,D)=>{"use strict";Object.defineProperty(k,"__esModule",{value:!0}),k.asis=void 0;const o=D(2500);k.asis=function M({args:[O,...R]}){if(!O||R.length>0||"string"!=typeof O)throw new Error("asis function accepts one non translatable string.");return(O=O.replace(/chr\((\d+)\)/g,function(x,L){return o.functions.chr(Number(L))})).replace(/amp\(\)/g,function(){return o.functions.amp()})}},6073:(G,k)=>{"use strict";Object.defineProperty(k,"__esModule",{value:!0}),k.boolean=void 0,k.boolean=function D({args:[o,M,O,R]}){if(null==M||0===M.length||null==O||0===O.length)throw new Error("boolean function needs a valid whenTrue, whenFalse arguments.");return String(typeof o<"u"&&o?M:R&&null==o?R:O)}},5496:(G,k)=>{"use strict";Object.defineProperty(k,"__esModule",{value:!0}),k.comment=void 0,k.comment=function D({args:[o]}){return""}},5736:(G,k,D)=>{"use strict";Object.defineProperty(k,"__esModule",{value:!0}),k.local_datetime=k.datetime=k.dateToLocalDayNum=void 0;const o=D(7268),M=function(te){const ae=te.getUTCDay()-1;return ae<0?6:ae},O=[7,1,2,3,4,5,6];function R(te,ae){return(O[te.getUTCDay()]+7-ae)%7+1}k.dateToLocalDayNum=R;const x=function(te,ae,ye){let Se="",ve=0;return ae=ae||0,ye=String(void 0===ye?" ":ye),ve=ae-String(te).length,ve>0&&(Se=[...Array(ve)].map(String.prototype.valueOf,ye).join("")),Se+te};function L({cldr:te,args:[ae=new Date,ye],tzString:Se="UTC"}){if("number"==typeof ae&&/^-?\d+$/.test(ae.toString())&&(ae=new Date(1e3*ae)),!(ae instanceof Date))throw new Error("The datetime function only accepts Date instances or integer values (unix timestamps) for the `date` parameter.");if(!(te instanceof o.CLDR))throw new Error("The datetime function requires a valid CLDR instance for the `cldr` parameter.");const ve=te.getDateTimeInfo();return"string"==typeof ye&&/^(?:date|time|datetime|special)_format_/.test(ye)&&(ye=ve[ye]),ye||(ye=ve.date_format_long),ye.replace(/('[^']+')|(([a-zA-Z])\3*)/g,function(Oe,Ve,Le){return Ve?function $(te){return te.substr(1,te.length-2)}(Ve):function B(te,ae,ye,Se){switch(ye){case"yy":return Math.abs(te.getUTCFullYear()).toString().slice(-2);case"y":case"yyy":case"yyyy":return String(Math.abs(te.getUTCFullYear()));case"MMMMM":return ae.month_format_narrow[te.getUTCMonth()];case"LLLLL":return ae.month_stand_alone_narrow[te.getUTCMonth()];case"MMMM":return ae.month_format_wide[te.getUTCMonth()];case"LLLL":return ae.month_stand_alone_wide[te.getUTCMonth()];case"MMM":return ae.month_format_abbreviated[te.getUTCMonth()];case"LLL":return ae.month_stand_alone_abbreviated[te.getUTCMonth()];case"MM":case"LL":return x((te.getUTCMonth()+1).toString(),2,"0");case"M":case"L":return String(te.getUTCMonth()+1);case"EEEE":return ae.day_format_wide[M(te)];case"EEE":case"EE":case"E":return ae.day_format_abbreviated[M(te)];case"EEEEE":return ae.day_format_narrow[M(te)];case"cccc":return ae.day_stand_alone_wide[M(te)];case"ccc":return ae.day_stand_alone_abbreviated[M(te)];case"cc":case"c":return String(R(te,Number(ae.first_day_of_week)));case"ccccc":return ae.day_stand_alone_narrow[M(te)];case"dd":return x(te.getUTCDate().toString(),2,"0");case"d":return String(te.getUTCDate());case"h":case"hh":{let ve=te.getUTCHours();ve>12&&(ve-=12),0===ve&&(ve=12);const Oe="hh"===ye?x(ve.toString(),2,"0"):ve;return String(Oe)}case"H":return String(te.getUTCHours());case"HH":return x(te.getUTCHours().toString(),2,"0");case"m":return String(te.getUTCMinutes());case"mm":return x(te.getUTCMinutes().toString(),2,"0");case"s":return String(te.getUTCSeconds());case"ss":return x(te.getUTCSeconds().toString(),2,"0");case"a":return te.getUTCHours()<12?ae.am_pm_abbreviated[0]:ae.am_pm_abbreviated[1];case"z":case"zzzz":case"v":case"vvvv":return Se;case"G":case"GG":case"GGG":return ae.era_abbreviated[te.getUTCFullYear()<0?0:1];case"GGGGG":return ae.era_narrow[te.getUTCFullYear()<0?0:1];case"GGGG":return ae.era_wide[te.getUTCFullYear()<0?0:1]}return ye}(ae,ve,Le,Se)})}k.datetime=L,k.local_datetime=function Z({cldr:te,args:[ae=new Date,ye]}){if("number"==typeof ae&&/^-?\d+$/.test(ae.toString())&&(ae=new Date(1e3*ae)),!(ae instanceof Date))throw new Error("The datetime function only accepts Date instances or integer values (unix timestamps) for the `date` parameter.");if(!(te instanceof o.CLDR))throw new Error("The datetime function requires a valid CLDR instance for the `cldr` parameter.");const Se=ae.getTimezoneOffset();(ae=new Date(ae)).setMinutes(ae.getMinutes()-Se);const ve=Se>0?"-":"+",Oe=Math.floor(Math.abs(Se)/60),Ve=Math.abs(Se%60);return L({cldr:te,args:[ae,ye],tzString:"GMT"+ve+x(Oe.toString(),2,"0")+x(Ve.toString(),2,"0")})}},6397:(G,k,D)=>{"use strict";Object.defineProperty(k,"__esModule",{value:!0}),k.functions=void 0;const o=D(6049),M=D(2500),O=D(5496),R=D(6073),x=D(8994),L=D(5736),$=D(3365);k.functions={asis:o.asis,output:M.output,comment:O.comment,boolean:R.boolean,numf:x.numf,numerate:x.numerate,quant:x.quant,format_bytes:x.format_bytes,datetime:L.datetime,local_datetime:L.local_datetime,list_and:$.list_and,list_or:$.list_or,list_or_quoted:$.list_or_quoted,list_and_quoted:$.list_and_quoted}},3365:(G,k)=>{"use strict";function o($,B,...Z){let te=Z.slice();switch(1===te.length&&Array.isArray(te[0])&&(te=te[0].slice()),(typeof te>"u"||0===te.length)&&(te=[""]),te=te.map(ae=>function D($,B){const Z=$.getDelimiters();return Z&&Object.prototype.hasOwnProperty.call(Z,"quotation_start")&&Object.prototype.hasOwnProperty.call(Z,"quotation_end")?Z.quotation_start+B+Z.quotation_end:B}($,ae)),B){case"list_and":return x({cldr:$,args:te});case"list_or":return L({cldr:$,args:te});default:throw new Error("Did you mean list_and_quoted or list_or_quoted?")}}function R($,B,...Z){let te=Z.slice();1===te.length&&Array.isArray(te[0])&&(te=te[0].slice());const ae=te.length;let ye,Se,ve,Oe;try{ye=$.getFormats()[B]}catch{throw new Error("CLDR Data is missing information related to formatting list.")}const Ve=function(Le,Qe){switch(Qe){case"0":return ve;case"1":return te[Oe++]}};switch(ae){case 0:return"";case 1:return String(te[0]);default:if(ve=2===ae?ye[2]:ye.start,ve=ve.replace(/\{([01])\}/g,function(Le,Qe){return te[Qe]}),2===ae)return ve;for(Oe=2;Oe<ae;)Se=ye[Oe===ae-1?"end":"middle"],ve=Se.replace(/\{([01])\}/g,Ve);return ve}}function x({cldr:$,args:[...B]}){return R($,"list",...B)}function L({cldr:$,args:[...B]}){return R($,"list_or",...B)}Object.defineProperty(k,"__esModule",{value:!0}),k.list_or=k.list_and=k.list_or_quoted=k.list_and_quoted=void 0,k.list_and_quoted=function M({cldr:$,args:[...B]}){return o($,"list_and",...B)},k.list_or_quoted=function O({cldr:$,args:[...B]}){return o($,"list_or",...B)},k.list_and=x,k.list_or=L},2500:(G,k,D)=>{"use strict";Object.defineProperty(k,"__esModule",{value:!0}),k.functions=k.output=void 0;const o=D(9546),M=D(2353);k.output=function O({args:[R,...x]}){if(x&&"string"==typeof x[0]&&(x[0]=x[0].replace(/chr\((\d+)\)/g,function(L,$){return k.functions.chr(Number($))}),x[0]=x[0].replace(/amp\(\)/g,function(){return k.functions.amp()})),"function"==typeof k.functions[R])return k.functions[R](...x);throw new Error(`Locale output function '${R}' is not implemented.`)},k.functions={amp:()=>(0,o.htmlEscape)("&"),apos:()=>(0,o.htmlEscape)("'"),quot:()=>(0,o.htmlEscape)('"'),underline:R=>`<u>${R}</u>`,strong:R=>`<strong>${R}</strong>`,em:R=>`<em>${R}</em>`,abbr:(R,x)=>`<abbr title="${x}">${R}</abbr>`,acronym:(R,x)=>`<abbr title="${x}" class="initialism">${R}</abbr>`,class:(R,...x)=>`<span class="${x.join(" ")}">${R}</span>`,chr(R){if("string"==typeof R&&(R=Number(R)),"number"!=typeof R||isNaN(R))throw new Error("chr needs a number as argument");return(0,o.htmlEscape)(String.fromCharCode(R))},url(R,...x){let L,$;if("object"==typeof x[x.length-1])if(L=x[x.length-1],2===x.length){if(L.html)throw new Error("Cannot provide both text and configuration with html attribute");$=x[0]}else L&&L.html?($=L.html,delete L.html):$=R;else x.length%2==0?(L=(0,M.listToObject)(...x),L&&"html"in L&&""!==L.html?($=L.html,delete L.html):$=R):($=x.shift(),L=(0,M.listToObject)(...x));"_type"in L&&"offsite"===L._type&&(L.class="offsite",L.target="_blank",delete L._type);let B=`<a href="${R}"`;if("object"==typeof L)for(const Z in L)Object.prototype.hasOwnProperty.call(L,Z)&&(B+=` ${Z}="${L[Z]}"`);return B+=`>${$}</a>`,B}}},8994:(G,k,D)=>{"use strict";Object.defineProperty(k,"__esModule",{value:!0}),k.format_bytes=k.numf=k.quant=k.numerate=void 0;const o=D(7268);function O({cldr:$,args:[B,...Z]}){if(!($ instanceof o.CLDR))throw new Error("`quant` function requires a valid CLDR instance for the `cldr` parameter.");let te,ae=3;B instanceof Array?(ae=B[1],te=B[0]):te=B;const ye=$.getPluralForm(te,...Z),Se=ye[0]?ye[0]:Z[Z.length-1];if(ye&&ye.length>=2&&ye[1])return Se;const Oe=x({cldr:$,args:[te,ae]});return-1!==Se.indexOf("%s")?Se.replace(/%s/g,Oe):$.isRtl()?Se+" "+Oe:Oe+" "+Se}function x({cldr:$,args:[B,Z=6]}){if(!($ instanceof o.CLDR))throw new Error("`numf` function requires a valid CLDR instance for the `cldr` parameter.");if(/e/.test(B.toString()))return String(B);const{decimalFormat:te,decimalGroup:ae,decimalDecimal:ye}=function R($){const B={},Z=$.getFormats();return Object.prototype.hasOwnProperty.call(Z,"decimal")&&(B.decimalFormat=Z.decimal),Object.prototype.hasOwnProperty.call(Z,"_decimal_format_group")&&(B.decimalGroup=Z._decimal_format_group),Object.prototype.hasOwnProperty.call(Z,"_decimal_format_decimal")&&(B.decimalDecimal=Z._decimal_format_decimal),B}($);if(!te||!ae||!ye)throw new Error("CLDR Data is missing information related to formatting decimals.");const Se=B<0;B=Math.abs(B);let Oe,Ve,ve=Math.floor(B);/(?!')\.(?!')/.test(B.toString())&&(Oe=String(B).replace(/^[^.]+/,"0"),Oe=Number(Oe).toFixed(Z),/^1/.test(Oe)?(ve++,B=ve,Oe=void 0):Oe=Oe.replace(/^.*\./,"").replace(/0+$/,"")),Ve=/(?!');(?!')/.test(te)?te.split(/(?!');(?!')/)[Se?1:0]:(Se?"-":"")+te;const $e=Ve.match(/[0#].*[0#]/)[0].split(/(?!')\.(?!')/)[0].split("").reverse().join("").split(/(?!'),(?!')/);let gt;1===$e.length?gt="":($e.pop(),gt=ae);const bt=String(ve).split("").reverse(),nt=[];let ft;const St=function(pe){switch(pe){case"#":return bt.shift()||"";case"0":return bt.shift()||"0"}};for(;bt.length;){$e.length&&(ft=$e.shift());const pe=ft.replace(/(?!')[0#]|[0#](?!')/g,St).replace(/'([.,0#;\xa4%E])'$/,"").replace(/'([.,0#;\xa4%E])'/,"$1");nt.push(pe)}const ne=nt.join(gt).split("").reverse().join("")+(Oe?ye+Oe:"");return Ve.replace(/[0#].*[0#]/,ne)}k.numerate=function M({cldr:$,args:[B,...Z]}){if(!($ instanceof o.CLDR))throw new Error("`numerate` function requires a valid CLDR instance for the `cldr` parameter.");const te=$.getPluralForm(B,...Z);return te?te[0]:Z[Z.length-1]},k.quant=O,k.numf=x,k.format_bytes=function L({cldr:$,args:[B,Z=2]}){if(!($ instanceof o.CLDR))throw new Error("`format_bytes` function requires a valid CLDR instance for the `cldr` parameter.");const te=["KB","MB","GB","TB","PB","EB","ZB","YB"],ye=B&&Math.min(Math.floor(Math.log(B)/Math.log(1024)),te.length);return ye?x({cldr:$,args:[B/Math.pow(1024,ye),Z]})+"\xa0"+te[ye-1]:O({cldr:$,args:[B,"%s\xa0byte","%s\xa0bytes"]})}},7367:(G,k,D)=>{"use strict";Object.defineProperty(k,"__esModule",{value:!0}),k.maketext=k.functions=k.config=void 0;const o=D(6397);function x(L,$){const B=[];let Z=!1,te=!1;return L.forEach(ae=>{if("_"===ae.charAt(0))if("_*"===ae){if(te)throw"You cannot combine wildcard substitution (_*) with a numeric substitution (e.g. _1) in the same bracket.";B.push(...$),Z=!0}else{const ye=ae.match(k.config.underscoreDigitRe);if(ye){if(Z)throw"You cannot combine wildcard substitution (_*) with a numeric substitution (e.g. _1) in the same bracket.";const[Se,ve]=ye,Oe=Number(ve)-1;if(!(Oe in $))throw`The "${Se}" substitution argument was not passed to the maketext function.`;B.push($[Oe]),te=!0}}else B.push(ae)}),B}k.config={bracketRe:/([^~\[\]]+|~.|\[|\]|~)/g,underscoreDigitRe:/^_(\d+)$/,fauxComma:"\x07",fauxCommaRe:new RegExp("\x07","g"),tildeChars:new Set(["[","]","~"])},k.functions={...o.functions},k.maketext=function O({cldr:L,lexicon:$,template:B,args:Z}){if("string"!=typeof B)throw"You must pass a string template to the maketext function.";if(-1===(B=$&&$[B]||B).indexOf("["))return B;const te=B.match(k.config.bracketRe)||[],ae=[];let ye=!1,Se="";if(te.forEach(ve=>{if("["===ve){if(ye)throw Error(`Invalid maketext string: ${B} \nThe string contains nested brackets.`);ye=!0}else if("]"===ve){if(!ye)throw Error(`Invalid maketext string: ${B} \nThe string contains an unmatched closing bracket character (]).`);if(!Se)throw Error(`Invalid maketext string: ${B} \nThe string contains empty brackets. Use the escape character (~) if the bracket characters were meant to be printed literally.`);let Oe;ye=!1;try{Oe=function R(L,$,B){let Z=$.split(",");if(Z=Z.map(ye=>ye.replace(k.config.fauxCommaRe,",")),1===Z.length){if(!k.config.underscoreDigitRe.test(Z[0]))throw"A bracket must contain more than one argument, unless it is a pure substition.\n Example: Number of accounts: [_1]";const[ye]=x(Z,B);return String(ye)}const te=Z.shift();if(!te||"function"!=typeof k.functions[te])throw`Invalid function "${te}" in maketext string.`;const ae=x(Z,B);return k.functions[te]({cldr:L,args:ae})}(L,Se,Z)}catch(Ve){throw Error(`Invalid maketext string: ${B} \n${Ve}`)}Se="",ae.push(Oe)}else if("~"===ve.charAt(0)){const Oe=ve.charAt(1)||"~";ye?Se+=","===Oe?k.config.fauxComma:Oe:k.config.tildeChars.has(Oe)?ae.push(Oe):ae.push(ve)}else ye?Se+=ve:ae.push(ve)}),ye)throw Error(`Invalid maketext string: ${B} \nThe string contains an unmatched opening bracket character ([).`);return ae.join("")}},9546:(G,k)=>{"use strict";Object.defineProperty(k,"__esModule",{value:!0}),k.htmlEscape=k.entityMap=void 0,k.entityMap={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","/":"&#x2F;"},k.htmlEscape=function D(o){return String(o).replace(/[&<>"'\/]/g,M=>k.entityMap[M])}},2353:(G,k)=>{"use strict";Object.defineProperty(k,"__esModule",{value:!0}),k.listToObject=void 0,k.listToObject=function M(...O){let R={};return function D(O){if(O.length%2>0)throw new Error("An associative list must have an even number of parts: {name1}, {value1}, {name2}, {value2} ...");for(let x=0,L=O.length;x<L;x+=2){const $=O[x];if("string"!=typeof $||""===$)throw new Error("An associative list must provide non-empty string names in the 1st, 3rd, ... positions.")}return!0}(O)&&(R=function o(O){const R=O.length,x={};let $,B,L=0;for(;L<R;)$=O[L],B=O[++L],x[$]=B,L++;return x}(O)),R}},7773:(G,k,D)=>{"use strict";Object.defineProperty(k,"__esModule",{value:!0}),k.commonValidators=void 0;const o=D(5839);k.commonValidators=new class M extends o.BaseValidator{constructor(){super(...arguments),this.prefix="common",this.STARTS_WITH_LETTER=/^[a-zA-Z]/,this.CONTAINS_SPACES=/^\S*$/}required(R){const x=R||this.locale.maketext("This field is required.");return L=>{let $={},B=L.value;return B&&(B=B.toString()),B&&B.length?null:($=this.addError($,"required",x),$)}}requiredTrue(R){const x=R||this.locale.maketext("This control's value should be true.");return L=>{let $={};return!0!==L.value?($=this.addError($,"requiredTrue",x),$):null}}startsWithLetter(R){return x=>{let L={};return x.value&&!this.STARTS_WITH_LETTER.test(x.value)?(L=this.addError(L,"doesNotStartWithLetter",R),L):null}}containsSpaces(R){return x=>{let L={};return x.value&&!this.CONTAINS_SPACES.test(x.value)?(L=this.addError(L,"containsSpace",R),L):null}}minLength(R,x){return L=>{let $={};return L.value&&L.value.length<x?($=this.addError($,"minLength",R),$):null}}maxLength(R,x){return L=>{let $={};return L.value&&L.value.length>x?($=this.addError($,"maxLength",R),$):null}}min(R,x){return L=>{let $={};return L.value&&L.value<x?($=this.addError($,"min",R),$):null}}max(R,x){return L=>{let $={};return L.value&&L.value>x?($=this.addError($,"max",R),$):null}}}},1923:(G,k,D)=>{"use strict";Object.defineProperty(k,"__esModule",{value:!0}),k.cPUserNoteValidators=void 0;const o=D(5839),M=D(2185),R=/[^ \n\P{White_Space}]|[^ \n\P{Control}]|[^ \P{Separator}]/u;k.cPUserNoteValidators=new class x extends o.BaseValidator{constructor(){super(...arguments),this.prefix="note"}validate($=250,B=""){return Z=>{let te=M.stringValidators.validUnicode()(Z);if(!te){const ae=this.locale.maketext("This note is too long.");te=M.stringValidators.maxCharacterLength(ae)($,Z)}if(!te){const ae=Z.match(R);if(ae){te={};const ye=ae.index,Se=ae[0].codePointAt(0);this.addError(te,"character",this.locale.maketext("[asis,Unicode] character [numf,_1] (position [numf,_2]) is forbidden.",Se,1+ye))}}return te}}}},3046:(G,k,D)=>{"use strict";Object.defineProperty(k,"__esModule",{value:!0}),k.cpanelUsernameValidators=void 0;const o=D(5839);k.cpanelUsernameValidators=new class M extends o.BaseValidator{constructor(){super(...arguments),this.prefix="cpanelUsername",this.VALID_USERNAME=/^(?![-.0-9])[a-z0-9]{1,16}$/}cpanelUsername(R){const x=R||this.locale.maketext("This is not a valid username.");return L=>{let $={};return L.value&&!this.VALID_USERNAME.test(L.value)?($=this.addError($,"invalidUsername",x),$):null}}}},3481:(G,k,D)=>{"use strict";Object.defineProperty(k,"__esModule",{value:!0}),k.databaseValidators=void 0;const o=D(5839),M=D(3322);k.databaseValidators=new class O extends o.BaseValidator{constructor(){super(...arguments),this.prefix="databases",this._dbPrefix="",this.DATABASE_NAME_LENGTH_LIMIT=64,this.ANYTHING_BUT_PRINTABLE_7_BIT_ASCII=/[^\u0020-\u007e]/,this.MYSQL_DB_NAME_INVALID_CHARACTERS=/[`'"\/\\]/,this.MYSQL_DB_NAME_INVALID_CHARACTERS_LIST=["'",'"',"`","/","\\"],this.MYSQL_DB_NAME_WILDCARDS=/(_|%|\\)/g,this.MYSQL_STARTED_ALLOWING_FILESYS_CHARACTERS=50116,this.MYSQL_STARTED_ALLOWING_LONG_USERNAMES=1e5}get dbPrefix(){return this._dbPrefix}validateDatabaseName(x,L,$){return B=>x===M.DatabaseType.MySQL?(this._dbPrefix=L||"",this.validateMySQLDatabaseName(B.value,$||"")):null}validateMySQLDatabaseName(x,L){const $=this._performMySqlDatabaseNameValidation(x,L);let B={};return $?(B=this.addError(B,"databaseName",$),B):null}_performMySqlDatabaseNameValidation(x,L){let $=null;return $=this._verifyNameLengthLimit(x),null!==$||($=this._verifyDatabaseNameIgnoreLength(x),null!==$)||($=this._verifyDatabaseName(x,L)),$}_verifyNameLengthLimit(x){let L=null,$=this.DATABASE_NAME_LENGTH_LIMIT;this._dbPrefix&&($-=this._dbPrefix.length+1);const B=unescape(encodeURIComponent(x)).length-$;return B>0&&(L={message:this.locale.maketext("This value is too long by [quant,_1,character,characters]. The maximum length is [quant,_2,character,characters].",B,$)}),L}_verifyDatabaseNameIgnoreLength(x){return this.ANYTHING_BUT_PRINTABLE_7_BIT_ASCII.test(x)?{message:this.locale.maketext("This system allows only printable [asis,ASCII] characters in database names.")}:this.MYSQL_DB_NAME_INVALID_CHARACTERS.test(x)?{message:this.locale.maketext("This system prohibits the following [numerate,_1,character,characters] in database names: [list_or,_2]",3,this.MYSQL_DB_NAME_INVALID_CHARACTERS_LIST)}:null}_verifyDatabaseName(x,L){if(null!==x&&x.endsWith(" "))return{message:this.locale.maketext("A [asis,MariaDB]/[asis,MySQL] database name cannot end with a space character.")};const $=this._verifySpecialWildcardsInDatabaseNames(x);return null!==$?$:L&&this._convertVersionStringToNumber(L)<this.MYSQL_STARTED_ALLOWING_FILESYS_CHARACTERS&&/\./.test(x)?{message:this.locale.maketext("This system\u2019s [asis,MySQL] version ([_1]) prohibits the character \u201c[_2]\u201d in database names. Ask your administrator to upgrade to a [asis,MariaDB] or to a newer [asis,MySQL] version.",L,".")}:null}_convertVersionStringToNumber(x){return x.match(/mariadb/i)&&(x=x.replace(/^[^-]+-/,"")),parseInt(x.replace(/-.*/,"").split(/\./).map(function(L){return L.padStart(2,"0")}).join(""),10)}_verifySpecialWildcardsInDatabaseNames(x){if(null===x)return null;const L=x.replace(this.MYSQL_DB_NAME_WILDCARDS,"\\$1").length;let $=this.DATABASE_NAME_LENGTH_LIMIT;this._dbPrefix&&($-=this._dbPrefix.length+1);const B=L-$;return B>0?{message:this.locale.maketext("This database name has too many wildcard-sensitive characters ([list_and_quoted,_1]). The system stores each of these as two characters internally, up to a limit of [quant,_2,character,characters]. This name would take up [quant,_3,character,characters] of internal storage, which is [numf,_4] too many.",["\\","_","%"],$,L,B)}:null}}},9044:function(G,k,D){"use strict";var o=this&&this.__importDefault||function($){return $&&$.__esModule?$:{default:$}};Object.defineProperty(k,"__esModule",{value:!0}),k.domainValidators=void 0;const M=D(2706),O=o(D(9660)),R=o(D(9488)),x=D(5839);k.domainValidators=new class L extends x.BaseValidator{constructor(){super(...arguments),this.prefix="domains",this.VALID_TLD_REGEX=/^[.][a-zA-Z0-9]+$/,this.VALID_IDN_TLD_REGEX=/^[.]xn--[a-zA-Z0-9-]+$/,this.MAX_DOMAIN_BYTES=254,this.MAX_LABEL_BYTES=63,this.UNICODE_ASCII_CUTOFF=127,this.NONINITIAL_LABEL_REGEX=/^[a-zA-Z0-9]([a-zA-Z0-9-]*[a-zA-Z0-9])?$/,this.IPv4_REGEX=/^(([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])$/,this.IPv6_REGEX=/((^\s*((([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5]))\s*$)|(^\s*((([0-9A-Fa-f]{1,4}:){7}([0-9A-Fa-f]{1,4}|:))|(([0-9A-Fa-f]{1,4}:){6}(:[0-9A-Fa-f]{1,4}|((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){5}(((:[0-9A-Fa-f]{1,4}){1,2})|:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){4}(((:[0-9A-Fa-f]{1,4}){1,3})|((:[0-9A-Fa-f]{1,4})?:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){3}(((:[0-9A-Fa-f]{1,4}){1,4})|((:[0-9A-Fa-f]{1,4}){0,2}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){2}(((:[0-9A-Fa-f]{1,4}){1,5})|((:[0-9A-Fa-f]{1,4}){0,3}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){1}(((:[0-9A-Fa-f]{1,4}){1,6})|((:[0-9A-Fa-f]{1,4}){0,4}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(:(((:[0-9A-Fa-f]{1,4}){1,7})|((:[0-9A-Fa-f]{1,4}){0,5}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:)))(%.+)?\s*$))/}_getNonASCII(B){const Z=[],te=O.default.ucs2.decode(B);for(let ae=0;ae<te.length;ae++)te[ae]>this.UNICODE_ASCII_CUTOFF&&Z.push(O.default.ucs2.encode([te[ae]]));return(0,R.default)(Z)}_validateLabelBasics(){return B=>{let Z={};if(B.value&&0!==B.value.length){if(B.value.length>this.MAX_LABEL_BYTES)Z=this.addError(Z,"length",{message:this.locale.maketext("A label must not exceed [quant,_1,character,characters].",this.MAX_LABEL_BYTES),MAX_LABEL_BYTES:this.MAX_LABEL_BYTES});else if("-"===B.value[0])Z=this.addError(Z,"charCondition",this.locale.maketext("A label must not begin with \u201c[_1]\u201d.","-"));else if("-"===B.value[B.value.length-1])Z=this.addError(Z,"charCondition",this.locale.maketext("A label must not end with \u201c[_1]\u201d.","-"));else if(O.default.toASCII(B.value).length>this.MAX_LABEL_BYTES){const te=this._getNonASCII(B.value);Z=this.addError(Z,"length",this.locale.maketext("The label\u2019s [asis,Punycode] representation cannot exceed [quant,_1,byte,bytes]. (Non-[asis,ASCII] characters, like \u201c[_2]\u201d, require multiple characters to represent in [asis,Punycode].)",this.MAX_LABEL_BYTES,te[0]))}}else Z=this.addError(Z,"length",this.locale.maketext("A label must not be empty."));return Z}}validDomainLength(){return B=>{let Z={};if(B.value.length>this.MAX_DOMAIN_BYTES)return Z=this.addError(Z,"length",this.locale.maketext("The domain name cannot exceed [quant,_1,character,characters].",this.MAX_DOMAIN_BYTES)),Z;if(O.default.toASCII(B.value).length>this.MAX_DOMAIN_BYTES){const ae=this._getNonASCII(B.value);return Z=this.addError(Z,"length",this.locale.maketext("The domain name\u2019s [asis,Punycode] representation cannot exceed [quant,_1,character,characters]. (Non-[asis,ASCII] characters, like \u201c[_2]\u201d, require multiple characters to represent in [asis,Punycode].)",this.MAX_DOMAIN_BYTES,ae[0])),Z}return null}}validateLabel(){return B=>(0,M.runValidationGroup)(B,[this._validateLabelBasics(),Z=>{let te={};return this.NONINITIAL_LABEL_REGEX.test(Z.value)||(te=this.addError(te,"charCondition",this.locale.maketext("The label must contain only the following characters: [list_and,_1].",["a-z","A-Z","0-9","-"]))),te}])}validateTLD(){return B=>{let Z={};return!this.VALID_TLD_REGEX.test(B.value)&&!this.VALID_IDN_TLD_REGEX.test(B.value)&&(Z=this.addError(Z,"tld",this.locale.maketext("The domain name must include a valid [output,acronym,TLD,Top Level Domain]."))),Z}}fqdn(){return B=>{const Z=B.value.split("."),te=Z[Z.length-1],ae=Z[0],ye=B.value,Se=[()=>{let ve={};const Oe=this.IPv4_REGEX.test(ye),Ve=this.IPv6_REGEX.test(ye);return Oe||Ve?ve=this.addError(ve,"ipAddr",this.locale.maketext("You [output,strong,must] enter a hostname.")):Z.length<2?ve=this.addError(ve,"oneDomain",this.locale.maketext("The domain name must include at least two labels.")):null},this.validDomainLength(),this.validateLabel().bind(this,{value:ae}),this.validateTLD().bind(this,{value:"."+te})];return Z.forEach(ve=>{Se.push(this.validateLabel().bind(this,{value:ve}))}),(0,M.runValidationGroup)(B,Se)}}fqdnOrIP(){return B=>{const Z=(0,M.runValidationGroup)(B,[this.anyIP()]),te=B.value.split("."),ae=te[te.length-1],ye=te[0],Se=[Oe=>{let Ve={};return te.length<2&&(Ve=this.addError(Ve,"oneDomain",this.locale.maketext("The domain name must include at least two labels."))),Ve},this.validDomainLength(),this.validateLabel().bind(this,{value:ye}),this.validateTLD().bind(this,{value:"."+ae})];te.forEach(Oe=>{Se.push(this.validateLabel().bind(this,{value:Oe}))});const ve=(0,M.runValidationGroup)(B,Se);return Z&&ve?{...Z,...ve}:null}}ipv4(){return B=>{let Z={};return B.value&&!this.IPv4_REGEX.test(B.value)?(Z=this.addError(Z,"ipv4",this.locale.maketext("Invalid [asis,IPv4] compatible address.")),Z):null}}ipv6(){return B=>{let Z={};return B.value&&!this.IPv6_REGEX.test(B.value)?(Z=this.addError(Z,"ipv6",this.locale.maketext("Invalid [asis,IPv6] compatible address.")),Z):null}}anyIP(){return B=>{let Z={};return!B.value||this.IPv4_REGEX.test(B.value)||this.IPv6_REGEX.test(B.value)?null:(Z=this.addError(Z,"anyIP",this.locale.maketext("Invalid [asis,IPv4] or [asis,IPv6] compatible address.")),Z)}}}},9978:(G,k,D)=>{"use strict";Object.defineProperty(k,"__esModule",{value:!0}),k.emailValidators=void 0;const o=D(5839);k.emailValidators=new class M extends o.BaseValidator{constructor(){super(...arguments),this.prefix="email",this.VALID_EMAIL=/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/}validateEmail(R){const x=R||this.locale.maketext("Make sure to use a valid email format. For example, [asis,user@example.com].");return L=>{let $={};return L.value&&!this.VALID_EMAIL.test(L.value)?($=this.addError($,"invalidEmail",x),$):null}}}},7324:(G,k,D)=>{"use strict";Object.defineProperty(k,"__esModule",{value:!0}),k.equalityValidators=void 0;const o=D(5839);k.equalityValidators=new class M extends o.BaseValidator{constructor(){super(...arguments),this.prefix="equality"}equalTo(R,x,L){return $=>{const B=$.get(x).value;let te={};return B===$.get(L).value&&""!==B?(te=this.addError(te,"equalFields",R),te):null}}}},7410:(G,k,D)=>{"use strict";k.uv=k.mZ=k.sr=k.D4=k.ln=void 0;const M=D(7773);Object.defineProperty(k,"ln",{enumerable:!0,get:function(){return M.commonValidators}});D(9044);const R=D(5839);Object.defineProperty(k,"uv",{enumerable:!0,get:function(){return R.BaseValidator}});D(3481),D(3322);const $=D(3046);Object.defineProperty(k,"D4",{enumerable:!0,get:function(){return $.cpanelUsernameValidators}});const B=D(9978);Object.defineProperty(k,"sr",{enumerable:!0,get:function(){return B.emailValidators}});const Z=D(7324);Object.defineProperty(k,"mZ",{enumerable:!0,get:function(){return Z.equalityValidators}});D(1923),D(2185)},5839:(G,k)=>{"use strict";Object.defineProperty(k,"__esModule",{value:!0}),k.BaseValidator=void 0;let D,o=!0;k.BaseValidator=class O{constructor(){this.prefix="",D={maketext:x=>{throw"DEVELOPER: You must specify a locale engine through the static variable BaseValidator.locale = myLocaleEngine"}}}static set locale(x){D=x}get locale(){return D}_buildKey(x){return o?`cpanel.${this.prefix}.${x}`:x}static disablePrefixing(){o=!1}static enablePrefixing(){o=!0}addError(x={},L,$){return"string"==typeof $&&($={message:$}),x[this._buildKey(L)]=$,x}}},3322:(G,k)=>{"use strict";Object.defineProperty(k,"__esModule",{value:!0}),k.DatabaseType=void 0;var D=function(o){return o.MySQL="MySQL",o.PostgreSQL="PostgreSQL",o}(D||(k.DatabaseType=D={}))},7945:(G,k)=>{"use strict";function O(x){return"0x"+x.toString(16)}Object.defineProperty(k,"__esModule",{value:!0}),k.characterLength=void 0,k.characterLength=function R(x,L){let $=0;for(let B=0;B<x.length;B++){$++;const Z=x.charCodeAt(B);if(55296==(64512&Z)){if(B++,B===x.length)throw new Error(L.maketext("This string ends with an incomplete [asis,UTF-16] surrogate pair ([_1]).",O(Z)));const te=x.charCodeAt(B);if(56320!=(64512&te))throw new Error(L.maketext("This string contains an invalid [asis,UTF-16] surrogate pair ([join,~, ,_1]) at position [numf,_2].",[Z,te].map(O),B))}}return $}},2706:function(G,k,D){"use strict";var o=this&&this.__importDefault||function(R){return R&&R.__esModule?R:{default:R}};Object.defineProperty(k,"__esModule",{value:!0}),k.runValidationGroup=void 0;const M=o(D(1281));k.runValidationGroup=function O(R,x){const L={};return x.forEach($=>{(0,M.default)(L,$(R))}),Object.keys(L).length?L:null}},2185:(G,k,D)=>{"use strict";Object.defineProperty(k,"__esModule",{value:!0}),k.stringValidators=void 0;const o=D(5839),M=D(7945);k.stringValidators=new class R extends o.BaseValidator{constructor(){super(...arguments),this.prefix="string"}validUnicode(){return L=>{try{(0,M.characterLength)(L,this.locale)}catch($){const B={};return $ instanceof Error&&this.addError(B,"unicode",$.message),B}return null}}maxCharacterLength(L){return($,B)=>{if((0,M.characterLength)(B,this.locale)>$){const te={};return this.addError(te,"length",L),te}return null}}maxUTF8Length(L){return($,B)=>{if(function O(x){return unescape(encodeURIComponent(x)).length}(B)>$){const Z={};return this.addError(Z,"length",L),Z}return null}}}},3028:(G,k,D)=>{var o=D(6399),M=D(1483),O=D(3434),R=D(5230),x=D(3718);function L($){var B=-1,Z=null==$?0:$.length;for(this.clear();++B<Z;){var te=$[B];this.set(te[0],te[1])}}L.prototype.clear=o,L.prototype.delete=M,L.prototype.get=O,L.prototype.has=R,L.prototype.set=x,G.exports=L},5752:(G,k,D)=>{var o=D(3643),M=D(7103),O=D(62),R=D(1610),x=D(1090);function L($){var B=-1,Z=null==$?0:$.length;for(this.clear();++B<Z;){var te=$[B];this.set(te[0],te[1])}}L.prototype.clear=o,L.prototype.delete=M,L.prototype.get=O,L.prototype.has=R,L.prototype.set=x,G.exports=L},1012:(G,k,D)=>{var O=D(4385)(D(1464),"Map");G.exports=O},752:(G,k,D)=>{var o=D(1891),M=D(2759),O=D(7766),R=D(322),x=D(7258);function L($){var B=-1,Z=null==$?0:$.length;for(this.clear();++B<Z;){var te=$[B];this.set(te[0],te[1])}}L.prototype.clear=o,L.prototype.delete=M,L.prototype.get=O,L.prototype.has=R,L.prototype.set=x,G.exports=L},7814:(G,k,D)=>{var O=D(4385)(D(1464),"Set");G.exports=O},342:(G,k,D)=>{var o=D(752),M=D(4643),O=D(2768);function R(x){var L=-1,$=null==x?0:x.length;for(this.__data__=new o;++L<$;)this.add(x[L])}R.prototype.add=R.prototype.push=M,R.prototype.has=O,G.exports=R},8516:(G,k,D)=>{var o=D(1464);G.exports=o.Symbol},1458:G=>{G.exports=function k(D,o,M){switch(M.length){case 0:return D.call(o);case 1:return D.call(o,M[0]);case 2:return D.call(o,M[0],M[1]);case 3:return D.call(o,M[0],M[1],M[2])}return D.apply(o,M)}},5306:(G,k,D)=>{var o=D(5300);G.exports=function M(O,R){return!(null==O||!O.length)&&o(O,R,0)>-1}},5878:G=>{G.exports=function k(D,o,M){for(var O=-1,R=null==D?0:D.length;++O<R;)if(M(o,D[O]))return!0;return!1}},8548:(G,k,D)=>{var o=D(9695),M=D(6265),O=D(9812),R=D(3151),x=D(8426),L=D(1028),B=Object.prototype.hasOwnProperty;G.exports=function Z(te,ae){var ye=O(te),Se=!ye&&M(te),ve=!ye&&!Se&&R(te),Oe=!ye&&!Se&&!ve&&L(te),Ve=ye||Se||ve||Oe,Le=Ve?o(te.length,String):[],Qe=Le.length;for(var $e in te)(ae||B.call(te,$e))&&(!Ve||!("length"==$e||ve&&("offset"==$e||"parent"==$e)||Oe&&("buffer"==$e||"byteLength"==$e||"byteOffset"==$e)||x($e,Qe)))&&Le.push($e);return Le}},2757:G=>{G.exports=function k(D,o){for(var M=-1,O=null==D?0:D.length,R=Array(O);++M<O;)R[M]=o(D[M],M,D);return R}},7325:G=>{G.exports=function k(D,o,M,O){var R=-1,x=null==D?0:D.length;for(O&&x&&(M=D[++R]);++R<x;)M=o(M,D[R],R,D);return M}},2192:G=>{var k=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;G.exports=function D(o){return o.match(k)||[]}},9220:(G,k,D)=>{var o=D(4399),M=D(2651),R=Object.prototype.hasOwnProperty;G.exports=function x(L,$,B){var Z=L[$];(!R.call(L,$)||!M(Z,B)||void 0===B&&!($ in L))&&o(L,$,B)}},6316:(G,k,D)=>{var o=D(2651);G.exports=function M(O,R){for(var x=O.length;x--;)if(o(O[x][0],R))return x;return-1}},4399:(G,k,D)=>{var o=D(4678);G.exports=function M(O,R,x){"__proto__"==R&&o?o(O,R,{configurable:!0,enumerable:!0,value:x,writable:!0}):O[R]=x}},3355:G=>{G.exports=function k(D,o,M,O){for(var R=D.length,x=M+(O?1:-1);O?x--:++x<R;)if(o(D[x],x,D))return x;return-1}},1057:(G,k,D)=>{var o=D(8516),M=D(8488),O=D(3327),L=o?o.toStringTag:void 0;G.exports=function $(B){return null==B?void 0===B?"[object Undefined]":"[object Null]":L&&L in Object(B)?M(B):O(B)}},5300:(G,k,D)=>{var o=D(3355),M=D(9636),O=D(5220);G.exports=function R(x,L,$){return L==L?O(x,L,$):o(x,M,$)}},8313:(G,k,D)=>{var o=D(1057),M=D(7433);G.exports=function R(x){return M(x)&&"[object Arguments]"==o(x)}},9636:G=>{G.exports=function k(D){return D!=D}},298:(G,k,D)=>{var o=D(8653),M=D(8401),O=D(3278),R=D(8020),L=/^\[object .+?Constructor\]$/,ae=RegExp("^"+Function.prototype.toString.call(Object.prototype.hasOwnProperty).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");G.exports=function ye(Se){return!(!O(Se)||M(Se))&&(o(Se)?ae:L).test(R(Se))}},8068:(G,k,D)=>{var o=D(1057),M=D(8845),O=D(7433),be={};be["[object Float32Array]"]=be["[object Float64Array]"]=be["[object Int8Array]"]=be["[object Int16Array]"]=be["[object Int32Array]"]=be["[object Uint8Array]"]=be["[object Uint8ClampedArray]"]=be["[object Uint16Array]"]=be["[object Uint32Array]"]=!0,be["[object Arguments]"]=be["[object Array]"]=be["[object ArrayBuffer]"]=be["[object Boolean]"]=be["[object DataView]"]=be["[object Date]"]=be["[object Error]"]=be["[object Function]"]=be["[object Map]"]=be["[object Number]"]=be["[object Object]"]=be["[object RegExp]"]=be["[object Set]"]=be["[object String]"]=be["[object WeakMap]"]=!1,G.exports=function ce(ge){return O(ge)&&M(ge.length)&&!!be[o(ge)]}},1194:(G,k,D)=>{var o=D(3278),M=D(3164),O=D(908),x=Object.prototype.hasOwnProperty;G.exports=function L($){if(!o($))return O($);var B=M($),Z=[];for(var te in $)"constructor"==te&&(B||!x.call($,te))||Z.push(te);return Z}},965:G=>{G.exports=function k(D){return function(o){return D?.[o]}}},8591:(G,k,D)=>{var o=D(9631),M=D(8452),O=D(1230);G.exports=function R(x,L){return O(M(x,L,o),x+"")}},8565:(G,k,D)=>{var o=D(6205),M=D(4678),O=D(9631);G.exports=M?function(x,L){return M(x,"toString",{configurable:!0,enumerable:!1,value:o(L),writable:!0})}:O},9695:G=>{G.exports=function k(D,o){for(var M=-1,O=Array(D);++M<D;)O[M]=o(M);return O}},7005:(G,k,D)=>{var o=D(8516),M=D(2757),O=D(9812),R=D(5153),x=1/0,L=o?o.prototype:void 0,$=L?L.toString:void 0;G.exports=function B(Z){if("string"==typeof Z)return Z;if(O(Z))return M(Z,B)+"";if(R(Z))return $?$.call(Z):"";var te=Z+"";return"0"==te&&1/Z==-x?"-0":te}},2502:G=>{G.exports=function k(D){return function(o){return D(o)}}},3136:(G,k,D)=>{var o=D(342),M=D(5306),O=D(5878),R=D(1890),x=D(7366),L=D(3578);G.exports=function B(Z,te,ae){var ye=-1,Se=M,ve=Z.length,Oe=!0,Ve=[],Le=Ve;if(ae)Oe=!1,Se=O;else if(ve>=200){var Qe=te?null:x(Z);if(Qe)return L(Qe);Oe=!1,Se=R,Le=new o}else Le=te?[]:Ve;e:for(;++ye<ve;){var $e=Z[ye],gt=te?te($e):$e;if($e=ae||0!==$e?$e:0,Oe&&gt==gt){for(var bt=Le.length;bt--;)if(Le[bt]===gt)continue e;te&&Le.push(gt),Ve.push($e)}else Se(Le,gt,ae)||(Le!==Ve&&Le.push(gt),Ve.push($e))}return Ve}},1890:G=>{G.exports=function k(D,o){return D.has(o)}},3190:(G,k,D)=>{var o=D(9220),M=D(4399);G.exports=function O(R,x,L,$){var B=!L;L||(L={});for(var Z=-1,te=x.length;++Z<te;){var ae=x[Z],ye=$?$(L[ae],R[ae],ae,L,R):void 0;void 0===ye&&(ye=R[ae]),B?M(L,ae,ye):o(L,ae,ye)}return L}},336:(G,k,D)=>{var o=D(1464);G.exports=o["__core-js_shared__"]},7530:(G,k,D)=>{var o=D(8591),M=D(2721);G.exports=function O(R){return o(function(x,L){var $=-1,B=L.length,Z=B>1?L[B-1]:void 0,te=B>2?L[2]:void 0;for(Z=R.length>3&&"function"==typeof Z?(B--,Z):void 0,te&&M(L[0],L[1],te)&&(Z=B<3?void 0:Z,B=1),x=Object(x);++$<B;){var ae=L[$];ae&&R(x,ae,$,Z)}return x})}},7666:(G,k,D)=>{var o=D(7325),M=D(5403),O=D(5788),x=RegExp("['\u2019]","g");G.exports=function L($){return function(B){return o(O(M(B).replace(x,"")),$,"")}}},7366:(G,k,D)=>{var o=D(7814),M=D(8145),O=D(3578),x=o&&1/O(new o([,-0]))[1]==1/0?function(L){return new o(L)}:M;G.exports=x},8318:(G,k,D)=>{var O=D(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"});G.exports=O},4678:(G,k,D)=>{var o=D(4385),M=function(){try{var O=o(Object,"defineProperty");return O({},"",{}),O}catch{}}();G.exports=M},8657:G=>{var k="object"==typeof global&&global&&global.Object===Object&&global;G.exports=k},9038:(G,k,D)=>{var o=D(3329);G.exports=function M(O,R){var x=O.__data__;return o(R)?x["string"==typeof R?"string":"hash"]:x.map}},4385:(G,k,D)=>{var o=D(298),M=D(8737);G.exports=function O(R,x){var L=M(R,x);return o(L)?L:void 0}},6902:(G,k,D)=>{var M=D(2852)(Object.getPrototypeOf,Object);G.exports=M},8488:(G,k,D)=>{var o=D(8516),M=Object.prototype,O=M.hasOwnProperty,R=M.toString,x=o?o.toStringTag:void 0;G.exports=function L($){var B=O.call($,x),Z=$[x];try{$[x]=void 0;var te=!0}catch{}var ae=R.call($);return te&&(B?$[x]=Z:delete $[x]),ae}},8737:G=>{G.exports=function k(D,o){return D?.[o]}},5823:G=>{var k=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;G.exports=function D(o){return k.test(o)}},6399:(G,k,D)=>{var o=D(8247);G.exports=function M(){this.__data__=o?o(null):{},this.size=0}},1483:G=>{G.exports=function k(D){var o=this.has(D)&&delete this.__data__[D];return this.size-=o?1:0,o}},3434:(G,k,D)=>{var o=D(8247),R=Object.prototype.hasOwnProperty;G.exports=function x(L){var $=this.__data__;if(o){var B=$[L];return"__lodash_hash_undefined__"===B?void 0:B}return R.call($,L)?$[L]:void 0}},5230:(G,k,D)=>{var o=D(8247),O=Object.prototype.hasOwnProperty;G.exports=function R(x){var L=this.__data__;return o?void 0!==L[x]:O.call(L,x)}},3718:(G,k,D)=>{var o=D(8247);G.exports=function O(R,x){var L=this.__data__;return this.size+=this.has(R)?0:1,L[R]=o&&void 0===x?"__lodash_hash_undefined__":x,this}},8426:G=>{var D=/^(?:0|[1-9]\d*)$/;G.exports=function o(M,O){var R=typeof M;return!!(O=O??9007199254740991)&&("number"==R||"symbol"!=R&&D.test(M))&&M>-1&&M%1==0&&M<O}},2721:(G,k,D)=>{var o=D(2651),M=D(7291),O=D(8426),R=D(3278);G.exports=function x(L,$,B){if(!R(B))return!1;var Z=typeof $;return!!("number"==Z?M(B)&&O($,B.length):"string"==Z&&$ in B)&&o(B[$],L)}},3329:G=>{G.exports=function k(D){var o=typeof D;return"string"==o||"number"==o||"symbol"==o||"boolean"==o?"__proto__"!==D:null===D}},8401:(G,k,D)=>{var R,o=D(336),M=(R=/[^.]+$/.exec(o&&o.keys&&o.keys.IE_PROTO||""))?"Symbol(src)_1."+R:"";G.exports=function O(R){return!!M&&M in R}},3164:G=>{var k=Object.prototype;G.exports=function D(o){var M=o&&o.constructor;return o===("function"==typeof M&&M.prototype||k)}},3643:G=>{G.exports=function k(){this.__data__=[],this.size=0}},7103:(G,k,D)=>{var o=D(6316),O=Array.prototype.splice;G.exports=function R(x){var L=this.__data__,$=o(L,x);return!($<0||($==L.length-1?L.pop():O.call(L,$,1),--this.size,0))}},62:(G,k,D)=>{var o=D(6316);G.exports=function M(O){var R=this.__data__,x=o(R,O);return x<0?void 0:R[x][1]}},1610:(G,k,D)=>{var o=D(6316);G.exports=function M(O){return o(this.__data__,O)>-1}},1090:(G,k,D)=>{var o=D(6316);G.exports=function M(O,R){var x=this.__data__,L=o(x,O);return L<0?(++this.size,x.push([O,R])):x[L][1]=R,this}},1891:(G,k,D)=>{var o=D(3028),M=D(5752),O=D(1012);G.exports=function R(){this.size=0,this.__data__={hash:new o,map:new(O||M),string:new o}}},2759:(G,k,D)=>{var o=D(9038);G.exports=function M(O){var R=o(this,O).delete(O);return this.size-=R?1:0,R}},7766:(G,k,D)=>{var o=D(9038);G.exports=function M(O){return o(this,O).get(O)}},322:(G,k,D)=>{var o=D(9038);G.exports=function M(O){return o(this,O).has(O)}},7258:(G,k,D)=>{var o=D(9038);G.exports=function M(O,R){var x=o(this,O),L=x.size;return x.set(O,R),this.size+=x.size==L?0:1,this}},8247:(G,k,D)=>{var M=D(4385)(Object,"create");G.exports=M},908:G=>{G.exports=function k(D){var o=[];if(null!=D)for(var M in Object(D))o.push(M);return o}},512:(G,k,D)=>{G=D.nmd(G);var o=D(8657),M=k&&!k.nodeType&&k,O=M&&G&&!G.nodeType&&G,x=O&&O.exports===M&&o.process,L=function(){try{return O&&O.require&&O.require("util").types||x&&x.binding&&x.binding("util")}catch{}}();G.exports=L},3327:G=>{var D=Object.prototype.toString;G.exports=function o(M){return D.call(M)}},2852:G=>{G.exports=function k(D,o){return function(M){return D(o(M))}}},8452:(G,k,D)=>{var o=D(1458),M=Math.max;G.exports=function O(R,x,L){return x=M(void 0===x?R.length-1:x,0),function(){for(var $=arguments,B=-1,Z=M($.length-x,0),te=Array(Z);++B<Z;)te[B]=$[x+B];B=-1;for(var ae=Array(x+1);++B<x;)ae[B]=$[B];return ae[x]=L(te),o(R,this,ae)}}},1464:(G,k,D)=>{var o=D(8657),M="object"==typeof self&&self&&self.Object===Object&&self,O=o||M||Function("return this")();G.exports=O},4643:G=>{G.exports=function D(o){return this.__data__.set(o,"__lodash_hash_undefined__"),this}},2768:G=>{G.exports=function k(D){return this.__data__.has(D)}},3578:G=>{G.exports=function k(D){var o=-1,M=Array(D.size);return D.forEach(function(O){M[++o]=O}),M}},1230:(G,k,D)=>{var o=D(8565),O=D(2770)(o);G.exports=O},2770:G=>{var o=Date.now;G.exports=function M(O){var R=0,x=0;return function(){var L=o(),$=16-(L-x);if(x=L,$>0){if(++R>=800)return arguments[0]}else R=0;return O.apply(void 0,arguments)}}},5220:G=>{G.exports=function k(D,o,M){for(var O=M-1,R=D.length;++O<R;)if(D[O]===o)return O;return-1}},8020:G=>{var D=Function.prototype.toString;G.exports=function o(M){if(null!=M){try{return D.call(M)}catch{}try{return M+""}catch{}}return""}},7172:G=>{var k="\\ud800-\\udfff",R="\\u2700-\\u27bf",x="a-z\\xdf-\\xf6\\xf8-\\xff",te="A-Z\\xc0-\\xd6\\xd8-\\xde",ye="\\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",ve="["+ye+"]",Ve="\\d+",Le="["+R+"]",Qe="["+x+"]",$e="[^"+k+ye+Ve+R+x+te+"]",ft="(?:\\ud83c[\\udde6-\\uddff]){2}",St="[\\ud800-\\udbff][\\udc00-\\udfff]",ne="["+te+"]",Ee="(?:"+Qe+"|"+$e+")",be="(?:"+ne+"|"+$e+")",ce="(?:['\u2019](?:d|ll|m|re|s|t|ve))?",ge="(?:['\u2019](?:D|LL|M|RE|S|T|VE))?",qe="(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\\ud83c[\\udffb-\\udfff])?",rt="[\\ufe0e\\ufe0f]?",Sn=rt+qe+"(?:\\u200d(?:"+["[^"+k+"]",ft,St].join("|")+")"+rt+qe+")*",et="(?:"+[Le,ft,St].join("|")+")"+Sn,Hn=RegExp([ne+"?"+Qe+"+"+ce+"(?="+[ve,ne,"$"].join("|")+")",be+"+"+ge+"(?="+[ve,ne+Ee,"$"].join("|")+")",ne+"?"+Ee+"+"+ce,ne+"+"+ge,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Ve,et].join("|"),"g");G.exports=function Hr(yn){return yn.match(Hn)||[]}},7327:(G,k,D)=>{var o=D(3190),M=D(7530),O=D(7674),R=M(function(x,L){o(L,O(L),x)});G.exports=R},6205:G=>{G.exports=function k(D){return function(){return D}}},5403:(G,k,D)=>{var o=D(8318),M=D(4717),O=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Z=RegExp("[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]","g");G.exports=function te(ae){return(ae=M(ae))&&ae.replace(O,o).replace(Z,"")}},2651:G=>{G.exports=function k(D,o){return D===o||D!=D&&o!=o}},1281:(G,k,D)=>{G.exports=D(7327)},9631:G=>{G.exports=function k(D){return D}},6265:(G,k,D)=>{var o=D(8313),M=D(7433),O=Object.prototype,R=O.hasOwnProperty,x=O.propertyIsEnumerable,L=o(function(){return arguments}())?o:function($){return M($)&&R.call($,"callee")&&!x.call($,"callee")};G.exports=L},9812:G=>{G.exports=Array.isArray},7291:(G,k,D)=>{var o=D(8653),M=D(8845);G.exports=function O(R){return null!=R&&M(R.length)&&!o(R)}},3705:(G,k,D)=>{var o=D(1057),M=D(7433);G.exports=function R(x){return!0===x||!1===x||M(x)&&"[object Boolean]"==o(x)}},3151:(G,k,D)=>{G=D.nmd(G);var o=D(1464),M=D(5710),O=k&&!k.nodeType&&k,R=O&&G&&!G.nodeType&&G,L=R&&R.exports===O?o.Buffer:void 0;G.exports=(L?L.isBuffer:void 0)||M},8653:(G,k,D)=>{var o=D(1057),M=D(3278);G.exports=function $(B){if(!M(B))return!1;var Z=o(B);return"[object Function]"==Z||"[object GeneratorFunction]"==Z||"[object AsyncFunction]"==Z||"[object Proxy]"==Z}},8845:G=>{G.exports=function D(o){return"number"==typeof o&&o>-1&&o%1==0&&o<=9007199254740991}},5972:G=>{G.exports=function k(D){return null===D}},9336:(G,k,D)=>{var o=D(1057),M=D(7433);G.exports=function R(x){return"number"==typeof x||M(x)&&"[object Number]"==o(x)}},3278:G=>{G.exports=function k(D){var o=typeof D;return null!=D&&("object"==o||"function"==o)}},7433:G=>{G.exports=function k(D){return null!=D&&"object"==typeof D}},9970:(G,k,D)=>{var o=D(1057),M=D(6902),O=D(7433),$=Function.prototype.toString,B=Object.prototype.hasOwnProperty,Z=$.call(Object);G.exports=function te(ae){if(!O(ae)||"[object Object]"!=o(ae))return!1;var ye=M(ae);if(null===ye)return!0;var Se=B.call(ye,"constructor")&&ye.constructor;return"function"==typeof Se&&Se instanceof Se&&$.call(Se)==Z}},8124:(G,k,D)=>{var o=D(1057),M=D(9812),O=D(7433);G.exports=function x(L){return"string"==typeof L||!M(L)&&O(L)&&"[object String]"==o(L)}},5153:(G,k,D)=>{var o=D(1057),M=D(7433);G.exports=function R(x){return"symbol"==typeof x||M(x)&&"[object Symbol]"==o(x)}},1028:(G,k,D)=>{var o=D(8068),M=D(2502),O=D(512),R=O&&O.isTypedArray,x=R?M(R):o;G.exports=x},9261:G=>{G.exports=function k(D){return void 0===D}},7674:(G,k,D)=>{var o=D(8548),M=D(1194),O=D(7291);G.exports=function R(x){return O(x)?o(x,!0):M(x)}},8145:G=>{G.exports=function k(){}},193:(G,k,D)=>{var M=D(7666)(function(O,R,x){return O+(x?"_":"")+R.toLowerCase()});G.exports=M},5710:G=>{G.exports=function k(){return!1}},4717:(G,k,D)=>{var o=D(7005);G.exports=function M(O){return null==O?"":o(O)}},9488:(G,k,D)=>{var o=D(3136);G.exports=function M(O){return O&&O.length?o(O):[]}},5788:(G,k,D)=>{var o=D(2192),M=D(5823),O=D(4717),R=D(7172);G.exports=function x(L,$,B){return L=O(L),void 0===($=B?void 0:$)?M(L)?R(L):o(L):L.match($)||[]}},9969:(G,k,D)=>{"use strict";D.d(k,{FX:()=>be,If:()=>O,K2:()=>B,S6:()=>Qe,hZ:()=>x,i0:()=>L,iF:()=>Z,kY:()=>ye,kp:()=>R,sf:()=>pe,ui:()=>Ee,wk:()=>te});var o=D(177),M=D(3953),O=function(ce){return ce[ce.State=0]="State",ce[ce.Transition=1]="Transition",ce[ce.Sequence=2]="Sequence",ce[ce.Group=3]="Group",ce[ce.Animate=4]="Animate",ce[ce.Keyframes=5]="Keyframes",ce[ce.Style=6]="Style",ce[ce.Trigger=7]="Trigger",ce[ce.Reference=8]="Reference",ce[ce.AnimateChild=9]="AnimateChild",ce[ce.AnimateRef=10]="AnimateRef",ce[ce.Query=11]="Query",ce[ce.Stagger=12]="Stagger",ce}(O||{});const R="*";function x(ce,ge){return{type:O.Trigger,name:ce,definitions:ge,options:{}}}function L(ce,ge=null){return{type:O.Animate,styles:ge,timings:ce}}function B(ce,ge=null){return{type:O.Sequence,steps:ce,options:ge}}function Z(ce){return{type:O.Style,styles:ce,offset:null}}function te(ce,ge,qe){return{type:O.State,name:ce,styles:ge,options:qe}}function ye(ce,ge,qe=null){return{type:O.Transition,expr:ce,animation:ge,options:qe}}let Qe=(()=>{class ce{static#e=this.\u0275fac=function(rt){return new(rt||ce)};static#t=this.\u0275prov=M.jDH({token:ce,factory:()=>(0,M.WQX)(gt),providedIn:"root"})}return ce})();class $e{}let gt=(()=>{class ce extends Qe{constructor(qe,rt){if(super(),this.animationModuleType=(0,M.WQX)(M.bc$,{optional:!0}),this._nextAnimationId=0,this._renderer=qe.createRenderer(rt.body,{id:"0",encapsulation:M.gXe.None,styles:[],data:{animation:[]}}),null===this.animationModuleType&&!function ne(ce){const ge=ce.\u0275type;return 0===ge||1===ge}(this._renderer))throw new M.wOt(3600,!1)}build(qe){const rt=this._nextAnimationId;this._nextAnimationId++;const Yt=Array.isArray(qe)?B(qe):qe;return ft(this._renderer,null,rt,"register",[Yt]),new bt(rt,this._renderer)}static#e=this.\u0275fac=function(rt){return new(rt||ce)(M.KVO(M._9s),M.KVO(o.qQ))};static#t=this.\u0275prov=M.jDH({token:ce,factory:ce.\u0275fac,providedIn:"root"})}return ce})();class bt extends $e{constructor(ge,qe){super(),this._id=ge,this._renderer=qe}create(ge,qe){return new nt(this._id,ge,qe||{},this._renderer)}}class nt{constructor(ge,qe,rt,Yt){this.id=ge,this.element=qe,this._renderer=Yt,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",rt)}_listen(ge,qe){return this._renderer.listen(this.element,`@@${this.id}:${ge}`,qe)}_command(ge,...qe){ft(this._renderer,this.element,this.id,ge,qe)}onDone(ge){this._listen("done",ge)}onStart(ge){this._listen("start",ge)}onDestroy(ge){this._listen("destroy",ge)}init(){this._command("init")}hasStarted(){return this._started}play(){this._command("play"),this._started=!0}pause(){this._command("pause")}restart(){this._command("restart")}finish(){this._command("finish")}destroy(){this._command("destroy")}reset(){this._command("reset"),this._started=!1}setPosition(ge){this._command("setPosition",ge)}getPosition(){return function St(ce){const ge=ce.\u0275type;return 0===ge?ce:1===ge?ce.animationRenderer:null}(this._renderer)?.engine?.players[this.id]?.getPosition()??0}}function ft(ce,ge,qe,rt,Yt){ce.setProperty(ge,`@@${qe}:${rt}`,Yt)}class pe{constructor(ge=0,qe=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._originalOnDoneFns=[],this._originalOnStartFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=ge+qe}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(ge=>ge()),this._onDoneFns=[])}onStart(ge){this._originalOnStartFns.push(ge),this._onStartFns.push(ge)}onDone(ge){this._originalOnDoneFns.push(ge),this._onDoneFns.push(ge)}onDestroy(ge){this._onDestroyFns.push(ge)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){queueMicrotask(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(ge=>ge()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(ge=>ge()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(ge){this._position=this.totalTime?ge*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(ge){const qe="start"==ge?this._onStartFns:this._onDoneFns;qe.forEach(rt=>rt()),qe.length=0}}class Ee{constructor(ge){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=ge;let qe=0,rt=0,Yt=0;const In=this.players.length;0==In?queueMicrotask(()=>this._onFinish()):this.players.forEach(nn=>{nn.onDone(()=>{++qe==In&&this._onFinish()}),nn.onDestroy(()=>{++rt==In&&this._onDestroy()}),nn.onStart(()=>{++Yt==In&&this._onStart()})}),this.totalTime=this.players.reduce((nn,Sn)=>Math.max(nn,Sn.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(ge=>ge()),this._onDoneFns=[])}init(){this.players.forEach(ge=>ge.init())}onStart(ge){this._onStartFns.push(ge)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(ge=>ge()),this._onStartFns=[])}onDone(ge){this._onDoneFns.push(ge)}onDestroy(ge){this._onDestroyFns.push(ge)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(ge=>ge.play())}pause(){this.players.forEach(ge=>ge.pause())}restart(){this.players.forEach(ge=>ge.restart())}finish(){this._onFinish(),this.players.forEach(ge=>ge.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(ge=>ge.destroy()),this._onDestroyFns.forEach(ge=>ge()),this._onDestroyFns=[])}reset(){this.players.forEach(ge=>ge.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(ge){const qe=ge*this.totalTime;this.players.forEach(rt=>{const Yt=rt.totalTime?Math.min(1,qe/rt.totalTime):1;rt.setPosition(Yt)})}getPosition(){const ge=this.players.reduce((qe,rt)=>null===qe||rt.totalTime>qe.totalTime?rt:qe,null);return null!=ge?ge.getPosition():0}beforeDestroy(){this.players.forEach(ge=>{ge.beforeDestroy&&ge.beforeDestroy()})}triggerCallback(ge){const qe="start"==ge?this._onStartFns:this._onDoneFns;qe.forEach(rt=>rt()),qe.length=0}}const be="!"},177:(G,k,D)=>{"use strict";D.d(k,{AJ:()=>mi,B3:()=>Tt,Jj:()=>S,MD:()=>Ko,N0:()=>Co,QT:()=>O,Sm:()=>Ve,Sq:()=>X,T3:()=>Rt,UE:()=>no,VF:()=>x,Vy:()=>ro,Xr:()=>vo,YU:()=>ri,ZD:()=>R,_b:()=>br,aZ:()=>Qe,bT:()=>Me,e1:()=>Kt,fG:()=>zt,fw:()=>Le,hb:()=>ve,hj:()=>Z,qQ:()=>$,ux:()=>Ke});var o=D(3953);let M=null;function O(){return M}function R(m){M??=m}class x{}const $=new o.nKC("");let B=(()=>{class m{historyGo(E){throw new Error("")}static#e=this.\u0275fac=function(I){return new(I||m)};static#t=this.\u0275prov=o.jDH({token:m,factory:()=>(0,o.WQX)(te),providedIn:"platform"})}return m})();const Z=new o.nKC("");let te=(()=>{class m extends B{constructor(){super(),this._doc=(0,o.WQX)($),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return O().getBaseHref(this._doc)}onPopState(E){const I=O().getGlobalEventTarget(this._doc,"window");return I.addEventListener("popstate",E,!1),()=>I.removeEventListener("popstate",E)}onHashChange(E){const I=O().getGlobalEventTarget(this._doc,"window");return I.addEventListener("hashchange",E,!1),()=>I.removeEventListener("hashchange",E)}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(E){this._location.pathname=E}pushState(E,I,z){this._history.pushState(E,I,z)}replaceState(E,I,z){this._history.replaceState(E,I,z)}forward(){this._history.forward()}back(){this._history.back()}historyGo(E=0){this._history.go(E)}getState(){return this._history.state}static#e=this.\u0275fac=function(I){return new(I||m)};static#t=this.\u0275prov=o.jDH({token:m,factory:()=>new m,providedIn:"platform"})}return m})();function ae(m,A){if(0==m.length)return A;if(0==A.length)return m;let E=0;return m.endsWith("/")&&E++,A.startsWith("/")&&E++,2==E?m+A.substring(1):1==E?m+A:m+"/"+A}function ye(m){const A=m.match(/#|\?|$/),E=A&&A.index||m.length;return m.slice(0,E-("/"===m[E-1]?1:0))+m.slice(E)}function Se(m){return m&&"?"!==m[0]?"?"+m:m}let ve=(()=>{class m{historyGo(E){throw new Error("")}static#e=this.\u0275fac=function(I){return new(I||m)};static#t=this.\u0275prov=o.jDH({token:m,factory:()=>(0,o.WQX)(Ve),providedIn:"root"})}return m})();const Oe=new o.nKC("");let Ve=(()=>{class m extends ve{constructor(E,I){super(),this._platformLocation=E,this._removeListenerFns=[],this._baseHref=I??this._platformLocation.getBaseHrefFromDOM()??(0,o.WQX)($).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(E){this._removeListenerFns.push(this._platformLocation.onPopState(E),this._platformLocation.onHashChange(E))}getBaseHref(){return this._baseHref}prepareExternalUrl(E){return ae(this._baseHref,E)}path(E=!1){const I=this._platformLocation.pathname+Se(this._platformLocation.search),z=this._platformLocation.hash;return z&&E?`${I}${z}`:I}pushState(E,I,z,de){const Te=this.prepareExternalUrl(z+Se(de));this._platformLocation.pushState(E,I,Te)}replaceState(E,I,z,de){const Te=this.prepareExternalUrl(z+Se(de));this._platformLocation.replaceState(E,I,Te)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(E=0){this._platformLocation.historyGo?.(E)}static#e=this.\u0275fac=function(I){return new(I||m)(o.KVO(B),o.KVO(Oe,8))};static#t=this.\u0275prov=o.jDH({token:m,factory:m.\u0275fac,providedIn:"root"})}return m})(),Le=(()=>{class m extends ve{constructor(E,I){super(),this._platformLocation=E,this._baseHref="",this._removeListenerFns=[],null!=I&&(this._baseHref=I)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(E){this._removeListenerFns.push(this._platformLocation.onPopState(E),this._platformLocation.onHashChange(E))}getBaseHref(){return this._baseHref}path(E=!1){const I=this._platformLocation.hash??"#";return I.length>0?I.substring(1):I}prepareExternalUrl(E){const I=ae(this._baseHref,E);return I.length>0?"#"+I:I}pushState(E,I,z,de){let Te=this.prepareExternalUrl(z+Se(de));0==Te.length&&(Te=this._platformLocation.pathname),this._platformLocation.pushState(E,I,Te)}replaceState(E,I,z,de){let Te=this.prepareExternalUrl(z+Se(de));0==Te.length&&(Te=this._platformLocation.pathname),this._platformLocation.replaceState(E,I,Te)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(E=0){this._platformLocation.historyGo?.(E)}static#e=this.\u0275fac=function(I){return new(I||m)(o.KVO(B),o.KVO(Oe,8))};static#t=this.\u0275prov=o.jDH({token:m,factory:m.\u0275fac})}return m})(),Qe=(()=>{class m{constructor(E){this._subject=new o.bkB,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=E;const I=this._locationStrategy.getBaseHref();this._basePath=function nt(m){if(new RegExp("^(https?:)?//").test(m)){const[,E]=m.split(/\/\/[^\/]+/);return E}return m}(ye(bt(I))),this._locationStrategy.onPopState(z=>{this._subject.emit({url:this.path(!0),pop:!0,state:z.state,type:z.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(E=!1){return this.normalize(this._locationStrategy.path(E))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(E,I=""){return this.path()==this.normalize(E+Se(I))}normalize(E){return m.stripTrailingSlash(function gt(m,A){if(!m||!A.startsWith(m))return A;const E=A.substring(m.length);return""===E||["/",";","?","#"].includes(E[0])?E:A}(this._basePath,bt(E)))}prepareExternalUrl(E){return E&&"/"!==E[0]&&(E="/"+E),this._locationStrategy.prepareExternalUrl(E)}go(E,I="",z=null){this._locationStrategy.pushState(z,"",E,I),this._notifyUrlChangeListeners(this.prepareExternalUrl(E+Se(I)),z)}replaceState(E,I="",z=null){this._locationStrategy.replaceState(z,"",E,I),this._notifyUrlChangeListeners(this.prepareExternalUrl(E+Se(I)),z)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(E=0){this._locationStrategy.historyGo?.(E)}onUrlChange(E){return this._urlChangeListeners.push(E),this._urlChangeSubscription??=this.subscribe(I=>{this._notifyUrlChangeListeners(I.url,I.state)}),()=>{const I=this._urlChangeListeners.indexOf(E);this._urlChangeListeners.splice(I,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(E="",I){this._urlChangeListeners.forEach(z=>z(E,I))}subscribe(E,I,z){return this._subject.subscribe({next:E,error:I,complete:z})}static#e=this.normalizeQueryParams=Se;static#t=this.joinWithSlash=ae;static#n=this.stripTrailingSlash=ye;static#r=this.\u0275fac=function(I){return new(I||m)(o.KVO(ve))};static#i=this.\u0275prov=o.jDH({token:m,factory:()=>function $e(){return new Qe((0,o.KVO)(ve))}(),providedIn:"root"})}return m})();function bt(m){return m.replace(/\/index.html$/,"")}function br(m,A){A=encodeURIComponent(A);for(const E of m.split(";")){const I=E.indexOf("="),[z,de]=-1==I?[E,""]:[E.slice(0,I),E.slice(I+1)];if(z.trim()===A)return decodeURIComponent(de)}return null}const ht=/\s+/,pn=[];let ri=(()=>{class m{constructor(E,I){this._ngEl=E,this._renderer=I,this.initialClasses=pn,this.stateMap=new Map}set klass(E){this.initialClasses=null!=E?E.trim().split(ht):pn}set ngClass(E){this.rawClass="string"==typeof E?E.trim().split(ht):E}ngDoCheck(){for(const I of this.initialClasses)this._updateState(I,!0);const E=this.rawClass;if(Array.isArray(E)||E instanceof Set)for(const I of E)this._updateState(I,!0);else if(null!=E)for(const I of Object.keys(E))this._updateState(I,!!E[I]);this._applyStateDiff()}_updateState(E,I){const z=this.stateMap.get(E);void 0!==z?(z.enabled!==I&&(z.changed=!0,z.enabled=I),z.touched=!0):this.stateMap.set(E,{enabled:I,changed:!0,touched:!0})}_applyStateDiff(){for(const E of this.stateMap){const I=E[0],z=E[1];z.changed?(this._toggleClass(I,z.enabled),z.changed=!1):z.touched||(z.enabled&&this._toggleClass(I,!1),this.stateMap.delete(I)),z.touched=!1}}_toggleClass(E,I){(E=E.trim()).length>0&&E.split(ht).forEach(z=>{I?this._renderer.addClass(this._ngEl.nativeElement,z):this._renderer.removeClass(this._ngEl.nativeElement,z)})}static#e=this.\u0275fac=function(I){return new(I||m)(o.rXU(o.aKT),o.rXU(o.sFG))};static#t=this.\u0275dir=o.FsC({type:m,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"},standalone:!0})}return m})();class j{constructor(A,E,I,z){this.$implicit=A,this.ngForOf=E,this.index=I,this.count=z}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(E){this._ngForOf=E,this._ngForOfDirty=!0}set ngForTrackBy(E){this._trackByFn=E}get ngForTrackBy(){return this._trackByFn}constructor(E,I,z){this._viewContainer=E,this._template=I,this._differs=z,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(E){E&&(this._template=E)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const E=this._ngForOf;!this._differ&&E&&(this._differ=this._differs.find(E).create(this.ngForTrackBy))}if(this._differ){const E=this._differ.diff(this._ngForOf);E&&this._applyChanges(E)}}_applyChanges(E){const I=this._viewContainer;E.forEachOperation((z,de,Te)=>{if(null==z.previousIndex)I.createEmbeddedView(this._template,new j(z.item,this._ngForOf,-1,-1),null===Te?void 0:Te);else if(null==Te)I.remove(null===de?void 0:de);else if(null!==de){const ze=I.get(de);I.move(ze,Te),q(ze,z)}});for(let z=0,de=I.length;z<de;z++){const ze=I.get(z).context;ze.index=z,ze.count=de,ze.ngForOf=this._ngForOf}E.forEachIdentityChange(z=>{q(I.get(z.currentIndex),z)})}static ngTemplateContextGuard(E,I){return!0}static#e=this.\u0275fac=function(I){return new(I||m)(o.rXU(o.c1b),o.rXU(o.C4Q),o.rXU(o._q3))};static#t=this.\u0275dir=o.FsC({type:m,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0})}return m})();function q(m,A){m.context.$implicit=A.item}let Me=(()=>{class m{constructor(E,I){this._viewContainer=E,this._context=new Pe,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=I}set ngIf(E){this._context.$implicit=this._context.ngIf=E,this._updateView()}set ngIfThen(E){Ie("ngIfThen",E),this._thenTemplateRef=E,this._thenViewRef=null,this._updateView()}set ngIfElse(E){Ie("ngIfElse",E),this._elseTemplateRef=E,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(E,I){return!0}static#e=this.\u0275fac=function(I){return new(I||m)(o.rXU(o.c1b),o.rXU(o.C4Q))};static#t=this.\u0275dir=o.FsC({type:m,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0})}return m})();class Pe{constructor(){this.$implicit=null,this.ngIf=null}}function Ie(m,A){if(A&&!A.createEmbeddedView)throw new Error(`${m} must be a TemplateRef, but received '${(0,o.Tbb)(A)}'.`)}class Xe{constructor(A,E){this._viewContainerRef=A,this._templateRef=E,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(E){this._ngSwitch=E,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(E){this._defaultViews.push(E)}_matchCase(E){const I=E===this._ngSwitch;return this._lastCasesMatched||=I,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),I}_updateDefaultCases(E){if(this._defaultViews.length>0&&E!==this._defaultUsed){this._defaultUsed=E;for(const I of this._defaultViews)I.enforceState(E)}}static#e=this.\u0275fac=function(I){return new(I||m)};static#t=this.\u0275dir=o.FsC({type:m,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"},standalone:!0})}return m})(),Kt=(()=>{class m{constructor(E,I,z){this.ngSwitch=z,z._addCase(),this._view=new Xe(E,I)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}static#e=this.\u0275fac=function(I){return new(I||m)(o.rXU(o.c1b),o.rXU(o.C4Q),o.rXU(Ke,9))};static#t=this.\u0275dir=o.FsC({type:m,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"},standalone:!0})}return m})(),zt=(()=>{class m{constructor(E,I,z){z._addDefault(new Xe(E,I))}static#e=this.\u0275fac=function(I){return new(I||m)(o.rXU(o.c1b),o.rXU(o.C4Q),o.rXU(Ke,9))};static#t=this.\u0275dir=o.FsC({type:m,selectors:[["","ngSwitchDefault",""]],standalone:!0})}return m})(),Tt=(()=>{class m{constructor(E,I,z){this._ngEl=E,this._differs=I,this._renderer=z,this._ngStyle=null,this._differ=null}set ngStyle(E){this._ngStyle=E,!this._differ&&E&&(this._differ=this._differs.find(E).create())}ngDoCheck(){if(this._differ){const E=this._differ.diff(this._ngStyle);E&&this._applyChanges(E)}}_setStyle(E,I){const[z,de]=E.split("."),Te=-1===z.indexOf("-")?void 0:o.czy.DashCase;null!=I?this._renderer.setStyle(this._ngEl.nativeElement,z,de?`${I}${de}`:I,Te):this._renderer.removeStyle(this._ngEl.nativeElement,z,Te)}_applyChanges(E){E.forEachRemovedItem(I=>this._setStyle(I.key,null)),E.forEachAddedItem(I=>this._setStyle(I.key,I.currentValue)),E.forEachChangedItem(I=>this._setStyle(I.key,I.currentValue))}static#e=this.\u0275fac=function(I){return new(I||m)(o.rXU(o.aKT),o.rXU(o.MKu),o.rXU(o.sFG))};static#t=this.\u0275dir=o.FsC({type:m,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"},standalone:!0})}return m})(),Rt=(()=>{class m{constructor(E){this._viewContainerRef=E,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(E){if(this._shouldRecreateView(E)){const I=this._viewContainerRef;if(this._viewRef&&I.remove(I.indexOf(this._viewRef)),!this.ngTemplateOutlet)return void(this._viewRef=null);const z=this._createContextForwardProxy();this._viewRef=I.createEmbeddedView(this.ngTemplateOutlet,z,{injector:this.ngTemplateOutletInjector??void 0})}}_shouldRecreateView(E){return!!E.ngTemplateOutlet||!!E.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(E,I,z)=>!!this.ngTemplateOutletContext&&Reflect.set(this.ngTemplateOutletContext,I,z),get:(E,I,z)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,I,z)}})}static#e=this.\u0275fac=function(I){return new(I||m)(o.rXU(o.c1b))};static#t=this.\u0275dir=o.FsC({type:m,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[o.OA$]})}return m})();class ln{createSubscription(A,E){return(0,o.O8t)(()=>A.subscribe({next:E,error:I=>{throw I}}))}dispose(A){(0,o.O8t)(()=>A.unsubscribe())}}class gr{createSubscription(A,E){return A.then(E,I=>{throw I})}dispose(A){}}const N=new gr,He=new ln;let S=(()=>{class m{constructor(E){this._latestValue=null,this.markForCheckOnValueUpdate=!0,this._subscription=null,this._obj=null,this._strategy=null,this._ref=E}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(E){if(!this._obj){if(E)try{this.markForCheckOnValueUpdate=!1,this._subscribe(E)}finally{this.markForCheckOnValueUpdate=!0}return this._latestValue}return E!==this._obj?(this._dispose(),this.transform(E)):this._latestValue}_subscribe(E){this._obj=E,this._strategy=this._selectStrategy(E),this._subscription=this._strategy.createSubscription(E,I=>this._updateLatestValue(E,I))}_selectStrategy(E){if((0,o.jNT)(E))return N;if((0,o.zjR)(E))return He;throw function zn(m,A){return new o.wOt(2100,!1)}()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(E,I){E===this._obj&&(this._latestValue=I,this.markForCheckOnValueUpdate&&this._ref?.markForCheck())}static#e=this.\u0275fac=function(I){return new(I||m)(o.rXU(o.gRc,16))};static#t=this.\u0275pipe=o.EJ8({name:"async",type:m,pure:!1,standalone:!0})}return m})(),Ko=(()=>{class m{static#e=this.\u0275fac=function(I){return new(I||m)};static#t=this.\u0275mod=o.$C({type:m});static#n=this.\u0275inj=o.G2t({})}return m})();const mi="browser",Po="server";function no(m){return m===mi}function ro(m){return m===Po}let vo=(()=>{class m{static#e=this.\u0275prov=(0,o.jDH)({token:m,providedIn:"root",factory:()=>no((0,o.WQX)(o.Agw))?new qo((0,o.WQX)($),window):new nr})}return m})();class qo{constructor(A,E){this.document=A,this.window=E,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 E=function Qo(m,A){const E=m.getElementById(A)||m.getElementsByName(A)[0];if(E)return E;if("function"==typeof m.createTreeWalker&&m.body&&"function"==typeof m.body.attachShadow){const I=m.createTreeWalker(m.body,NodeFilter.SHOW_ELEMENT);let z=I.currentNode;for(;z;){const de=z.shadowRoot;if(de){const Te=de.getElementById(A)||de.querySelector(`[name="${A}"]`);if(Te)return Te}z=I.nextNode()}}return null}(this.document,A);E&&(this.scrollToElement(E),E.focus())}setHistoryScrollRestoration(A){this.window.history.scrollRestoration=A}scrollToElement(A){const E=A.getBoundingClientRect(),I=E.left+this.window.pageXOffset,z=E.top+this.window.pageYOffset,de=this.offset();this.window.scrollTo(I-de[0],z-de[1])}}class nr{setOffset(A){}getScrollPosition(){return[0,0]}scrollToPosition(A){}scrollToAnchor(A){}setHistoryScrollRestoration(A){}}class Co{}},1562:(G,k,D)=>{"use strict";function o(j,X,q,ue,Me,Pe,Ie){try{var Xe=j[Pe](Ie),Ke=Xe.value}catch(Kt){return void q(Kt)}Xe.done?X(Ke):Promise.resolve(Ke).then(ue,Me)}function M(j){return function(){var X=this,q=arguments;return new Promise(function(ue,Me){var Pe=j.apply(X,q);function Ie(Ke){o(Pe,ue,Me,Ie,Xe,"next",Ke)}function Xe(Ke){o(Pe,ue,Me,Ie,Xe,"throw",Ke)}Ie(void 0)})}}D.d(k,{Qq:()=>_n,q1:()=>Di,Lr:()=>Oe,$R:()=>Ue,Sx:()=>on});var O=D(3953),R=D(7673),x=D(1985),L=D(2806),$=D(274),B=D(5964),Z=D(6354),te=D(980),ae=D(5558),ye=D(177);class Se{}class ve{}class Oe{constructor(X){this.normalizedNames=new Map,this.lazyUpdate=null,X?"string"==typeof X?this.lazyInit=()=>{this.headers=new Map,X.split("\n").forEach(q=>{const ue=q.indexOf(":");if(ue>0){const Me=q.slice(0,ue),Pe=Me.toLowerCase(),Ie=q.slice(ue+1).trim();this.maybeSetNormalizedName(Me,Pe),this.headers.has(Pe)?this.headers.get(Pe).push(Ie):this.headers.set(Pe,[Ie])}})}:typeof Headers<"u"&&X instanceof Headers?(this.headers=new Map,X.forEach((q,ue)=>{this.setHeaderEntries(ue,q)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(X).forEach(([q,ue])=>{this.setHeaderEntries(q,ue)})}:this.headers=new Map}has(X){return this.init(),this.headers.has(X.toLowerCase())}get(X){this.init();const q=this.headers.get(X.toLowerCase());return q&&q.length>0?q[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(X){return this.init(),this.headers.get(X.toLowerCase())||null}append(X,q){return this.clone({name:X,value:q,op:"a"})}set(X,q){return this.clone({name:X,value:q,op:"s"})}delete(X,q){return this.clone({name:X,value:q,op:"d"})}maybeSetNormalizedName(X,q){this.normalizedNames.has(q)||this.normalizedNames.set(q,X)}init(){this.lazyInit&&(this.lazyInit instanceof Oe?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(q=>{this.headers.set(q,X.headers.get(q)),this.normalizedNames.set(q,X.normalizedNames.get(q))})}clone(X){const q=new Oe;return q.lazyInit=this.lazyInit&&this.lazyInit instanceof Oe?this.lazyInit:this,q.lazyUpdate=(this.lazyUpdate||[]).concat([X]),q}applyUpdate(X){const q=X.name.toLowerCase();switch(X.op){case"a":case"s":let ue=X.value;if("string"==typeof ue&&(ue=[ue]),0===ue.length)return;this.maybeSetNormalizedName(X.name,q);const Me=("a"===X.op?this.headers.get(q):void 0)||[];Me.push(...ue),this.headers.set(q,Me);break;case"d":const Pe=X.value;if(Pe){let Ie=this.headers.get(q);if(!Ie)return;Ie=Ie.filter(Xe=>-1===Pe.indexOf(Xe)),0===Ie.length?(this.headers.delete(q),this.normalizedNames.delete(q)):this.headers.set(q,Ie)}else this.headers.delete(q),this.normalizedNames.delete(q)}}setHeaderEntries(X,q){const ue=(Array.isArray(q)?q:[q]).map(Pe=>Pe.toString()),Me=X.toLowerCase();this.headers.set(Me,ue),this.maybeSetNormalizedName(X,Me)}forEach(X){this.init(),Array.from(this.normalizedNames.keys()).forEach(q=>X(this.normalizedNames.get(q),this.headers.get(q)))}}class Le{encodeKey(X){return bt(X)}encodeValue(X){return bt(X)}decodeKey(X){return decodeURIComponent(X)}decodeValue(X){return decodeURIComponent(X)}}const $e=/%(\d[a-f0-9])/gi,gt={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function bt(j){return encodeURIComponent(j).replace($e,(X,q)=>gt[q]??X)}function nt(j){return`${j}`}class ft{constructor(X={}){if(this.updates=null,this.cloneFrom=null,this.encoder=X.encoder||new Le,X.fromString){if(X.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function Qe(j,X){const q=new Map;return j.length>0&&j.replace(/^\?/,"").split("&").forEach(Me=>{const Pe=Me.indexOf("="),[Ie,Xe]=-1==Pe?[X.decodeKey(Me),""]:[X.decodeKey(Me.slice(0,Pe)),X.decodeValue(Me.slice(Pe+1))],Ke=q.get(Ie)||[];Ke.push(Xe),q.set(Ie,Ke)}),q}(X.fromString,this.encoder)}else X.fromObject?(this.map=new Map,Object.keys(X.fromObject).forEach(q=>{const ue=X.fromObject[q],Me=Array.isArray(ue)?ue.map(nt):[nt(ue)];this.map.set(q,Me)})):this.map=null}has(X){return this.init(),this.map.has(X)}get(X){this.init();const q=this.map.get(X);return q?q[0]:null}getAll(X){return this.init(),this.map.get(X)||null}keys(){return this.init(),Array.from(this.map.keys())}append(X,q){return this.clone({param:X,value:q,op:"a"})}appendAll(X){const q=[];return Object.keys(X).forEach(ue=>{const Me=X[ue];Array.isArray(Me)?Me.forEach(Pe=>{q.push({param:ue,value:Pe,op:"a"})}):q.push({param:ue,value:Me,op:"a"})}),this.clone(q)}set(X,q){return this.clone({param:X,value:q,op:"s"})}delete(X,q){return this.clone({param:X,value:q,op:"d"})}toString(){return this.init(),this.keys().map(X=>{const q=this.encoder.encodeKey(X);return this.map.get(X).map(ue=>q+"="+this.encoder.encodeValue(ue)).join("&")}).filter(X=>""!==X).join("&")}clone(X){const q=new ft({encoder:this.encoder});return q.cloneFrom=this.cloneFrom||this,q.updates=(this.updates||[]).concat(X),q}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 q=("a"===X.op?this.map.get(X.param):void 0)||[];q.push(nt(X.value)),this.map.set(X.param,q);break;case"d":if(void 0===X.value){this.map.delete(X.param);break}{let ue=this.map.get(X.param)||[];const Me=ue.indexOf(nt(X.value));-1!==Me&&ue.splice(Me,1),ue.length>0?this.map.set(X.param,ue):this.map.delete(X.param)}}}),this.cloneFrom=this.updates=null)}}class ne{constructor(){this.map=new Map}set(X,q){return this.map.set(X,q),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 Ee(j){return typeof ArrayBuffer<"u"&&j instanceof ArrayBuffer}function be(j){return typeof Blob<"u"&&j instanceof Blob}function ce(j){return typeof FormData<"u"&&j instanceof FormData}class qe{constructor(X,q,ue,Me){let Pe;if(this.url=q,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=X.toUpperCase(),function pe(j){switch(j){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||Me?(this.body=void 0!==ue?ue:null,Pe=Me):Pe=ue,Pe&&(this.reportProgress=!!Pe.reportProgress,this.withCredentials=!!Pe.withCredentials,Pe.responseType&&(this.responseType=Pe.responseType),Pe.headers&&(this.headers=Pe.headers),Pe.context&&(this.context=Pe.context),Pe.params&&(this.params=Pe.params),this.transferCache=Pe.transferCache),this.headers??=new Oe,this.context??=new ne,this.params){const Ie=this.params.toString();if(0===Ie.length)this.urlWithParams=q;else{const Xe=q.indexOf("?");this.urlWithParams=q+(-1===Xe?"?":Xe<q.length-1?"&":"")+Ie}}else this.params=new ft,this.urlWithParams=q}serializeBody(){return null===this.body?null:"string"==typeof this.body||Ee(this.body)||be(this.body)||ce(this.body)||function ge(j){return typeof URLSearchParams<"u"&&j 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||ce(this.body)?null:be(this.body)?this.body.type||null:Ee(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 q=X.method||this.method,ue=X.url||this.url,Me=X.responseType||this.responseType,Pe=X.transferCache??this.transferCache,Ie=void 0!==X.body?X.body:this.body,Xe=X.withCredentials??this.withCredentials,Ke=X.reportProgress??this.reportProgress;let Kt=X.headers||this.headers,zt=X.params||this.params;const Wt=X.context??this.context;return void 0!==X.setHeaders&&(Kt=Object.keys(X.setHeaders).reduce((gn,qt)=>gn.set(qt,X.setHeaders[qt]),Kt)),X.setParams&&(zt=Object.keys(X.setParams).reduce((gn,qt)=>gn.set(qt,X.setParams[qt]),zt)),new qe(q,ue,Ie,{params:zt,headers:Kt,context:Wt,reportProgress:Ke,responseType:Me,withCredentials:Xe,transferCache:Pe})}}var rt=function(j){return j[j.Sent=0]="Sent",j[j.UploadProgress=1]="UploadProgress",j[j.ResponseHeader=2]="ResponseHeader",j[j.DownloadProgress=3]="DownloadProgress",j[j.Response=4]="Response",j[j.User=5]="User",j}(rt||{});class Yt{constructor(X,q=200,ue="OK"){this.headers=X.headers||new Oe,this.status=void 0!==X.status?X.status:q,this.statusText=X.statusText||ue,this.url=X.url||null,this.ok=this.status>=200&&this.status<300}}class In extends Yt{constructor(X={}){super(X),this.type=rt.ResponseHeader}clone(X={}){return new In({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 nn extends Yt{constructor(X={}){super(X),this.type=rt.Response,this.body=void 0!==X.body?X.body:null}clone(X={}){return new nn({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 Sn extends Yt{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 yn(j,X){return{body:X,headers:j.headers,context:j.context,observe:j.observe,params:j.params,reportProgress:j.reportProgress,responseType:j.responseType,withCredentials:j.withCredentials,transferCache:j.transferCache}}let _n=(()=>{class j{constructor(q){this.handler=q}request(q,ue,Me={}){let Pe;if(q instanceof qe)Pe=q;else{let Ke,Kt;Ke=Me.headers instanceof Oe?Me.headers:new Oe(Me.headers),Me.params&&(Kt=Me.params instanceof ft?Me.params:new ft({fromObject:Me.params})),Pe=new qe(q,ue,void 0!==Me.body?Me.body:null,{headers:Ke,context:Me.context,params:Kt,reportProgress:Me.reportProgress,responseType:Me.responseType||"json",withCredentials:Me.withCredentials,transferCache:Me.transferCache})}const Ie=(0,R.of)(Pe).pipe((0,$.H)(Ke=>this.handler.handle(Ke)));if(q instanceof qe||"events"===Me.observe)return Ie;const Xe=Ie.pipe((0,B.p)(Ke=>Ke instanceof nn));switch(Me.observe||"body"){case"body":switch(Pe.responseType){case"arraybuffer":return Xe.pipe((0,Z.T)(Ke=>{if(null!==Ke.body&&!(Ke.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return Ke.body}));case"blob":return Xe.pipe((0,Z.T)(Ke=>{if(null!==Ke.body&&!(Ke.body instanceof Blob))throw new Error("Response is not a Blob.");return Ke.body}));case"text":return Xe.pipe((0,Z.T)(Ke=>{if(null!==Ke.body&&"string"!=typeof Ke.body)throw new Error("Response is not a string.");return Ke.body}));default:return Xe.pipe((0,Z.T)(Ke=>Ke.body))}case"response":return Xe;default:throw new Error(`Unreachable: unhandled observe type ${Me.observe}}`)}}delete(q,ue={}){return this.request("DELETE",q,ue)}get(q,ue={}){return this.request("GET",q,ue)}head(q,ue={}){return this.request("HEAD",q,ue)}jsonp(q,ue){return this.request("JSONP",q,{params:(new ft).append(ue,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(q,ue={}){return this.request("OPTIONS",q,ue)}patch(q,ue,Me={}){return this.request("PATCH",q,yn(Me,ue))}post(q,ue,Me={}){return this.request("POST",q,yn(Me,ue))}put(q,ue,Me={}){return this.request("PUT",q,yn(Me,ue))}static#e=this.\u0275fac=function(ue){return new(ue||j)(O.KVO(Se))};static#t=this.\u0275prov=O.jDH({token:j,factory:j.\u0275fac})}return j})();const Zn=/^\)\]\}',?\n/;function cr(j){if(j.url)return j.url;const X="X-Request-URL".toLocaleLowerCase();return j.headers.get(X)}let ur=(()=>{class j{constructor(){this.fetchImpl=(0,O.WQX)(dr,{optional:!0})?.fetch??((...q)=>globalThis.fetch(...q)),this.ngZone=(0,O.WQX)(O.SKi)}handle(q){return new x.c(ue=>{const Me=new AbortController;return this.doRequest(q,Me.signal,ue).then(Ht,Pe=>ue.error(new Sn({error:Pe}))),()=>Me.abort()})}doRequest(q,ue,Me){var Pe=this;return M(function*(){const Ie=Pe.createRequestInit(q);let Xe;try{const Jt=Pe.ngZone.runOutsideAngular(()=>Pe.fetchImpl(q.urlWithParams,{signal:ue,...Ie}));(function ei(j){j.then(Ht,Ht)})(Jt),Me.next({type:rt.Sent}),Xe=yield Jt}catch(Jt){return void Me.error(new Sn({error:Jt,status:Jt.status??0,statusText:Jt.statusText,url:q.urlWithParams,headers:Jt.headers}))}const Ke=new Oe(Xe.headers),Kt=Xe.statusText,zt=cr(Xe)??q.urlWithParams;let Wt=Xe.status,gn=null;if(q.reportProgress&&Me.next(new In({headers:Ke,status:Wt,statusText:Kt,url:zt})),Xe.body){const Jt=Xe.headers.get("content-length"),Tt=[],Rt=Xe.body.getReader();let zn,ln,Mn=0;const gr=typeof Zone<"u"&&Zone.current;yield Pe.ngZone.runOutsideAngular(M(function*(){for(;;){const{done:He,value:S}=yield Rt.read();if(He)break;if(Tt.push(S),Mn+=S.length,q.reportProgress){ln="text"===q.responseType?(ln??"")+(zn??=new TextDecoder).decode(S,{stream:!0}):void 0;const H=()=>Me.next({type:rt.DownloadProgress,total:Jt?+Jt:void 0,loaded:Mn,partialText:ln});gr?gr.run(H):H()}}}));const N=Pe.concatChunks(Tt,Mn);try{const He=Xe.headers.get("Content-Type")??"";gn=Pe.parseBody(q,N,He)}catch(He){return void Me.error(new Sn({error:He,headers:new Oe(Xe.headers),status:Xe.status,statusText:Xe.statusText,url:cr(Xe)??q.urlWithParams}))}}0===Wt&&(Wt=gn?200:0),Wt>=200&&Wt<300?(Me.next(new nn({body:gn,headers:Ke,status:Wt,statusText:Kt,url:zt})),Me.complete()):Me.error(new Sn({error:gn,headers:Ke,status:Wt,statusText:Kt,url:zt}))})()}parseBody(q,ue,Me){switch(q.responseType){case"json":const Pe=(new TextDecoder).decode(ue).replace(Zn,"");return""===Pe?null:JSON.parse(Pe);case"text":return(new TextDecoder).decode(ue);case"blob":return new Blob([ue],{type:Me});case"arraybuffer":return ue.buffer}}createRequestInit(q){const ue={},Me=q.withCredentials?"include":void 0;if(q.headers.forEach((Pe,Ie)=>ue[Pe]=Ie.join(",")),q.headers.has("Accept")||(ue.Accept="application/json, text/plain, */*"),!q.headers.has("Content-Type")){const Pe=q.detectContentTypeHeader();null!==Pe&&(ue["Content-Type"]=Pe)}return{body:q.serializeBody(),method:q.method,headers:ue,credentials:Me}}concatChunks(q,ue){const Me=new Uint8Array(ue);let Pe=0;for(const Ie of q)Me.set(Ie,Pe),Pe+=Ie.length;return Me}static#e=this.\u0275fac=function(ue){return new(ue||j)};static#t=this.\u0275prov=O.jDH({token:j,factory:j.\u0275fac})}return j})();class dr{}function Ht(){}function an(j,X){return X(j)}function vn(j,X){return(q,ue)=>X.intercept(q,{handle:Me=>j(Me,ue)})}const un=new O.nKC(""),wr=new O.nKC(""),ir=new O.nKC(""),Nr=new O.nKC("",{providedIn:"root",factory:()=>!0});function hr(){let j=null;return(X,q)=>{null===j&&(j=((0,O.WQX)(un,{optional:!0})??[]).reduceRight(vn,an));const ue=(0,O.WQX)(O.TgB);if((0,O.WQX)(Nr)){const Pe=ue.add();return j(X,q).pipe((0,te.j)(()=>ue.remove(Pe)))}return j(X,q)}}let Dr=(()=>{class j extends Se{constructor(q,ue){super(),this.backend=q,this.injector=ue,this.chain=null,this.pendingTasks=(0,O.WQX)(O.TgB),this.contributeToStability=(0,O.WQX)(Nr)}handle(q){if(null===this.chain){const ue=Array.from(new Set([...this.injector.get(wr),...this.injector.get(ir,[])]));this.chain=ue.reduceRight((Me,Pe)=>function ti(j,X,q){return(ue,Me)=>(0,O.N4e)(q,()=>X(ue,Pe=>j(Pe,Me)))}(Me,Pe,this.injector),an)}if(this.contributeToStability){const ue=this.pendingTasks.add();return this.chain(q,Me=>this.backend.handle(Me)).pipe((0,te.j)(()=>this.pendingTasks.remove(ue)))}return this.chain(q,ue=>this.backend.handle(ue))}static#e=this.\u0275fac=function(ue){return new(ue||j)(O.KVO(ve),O.KVO(O.uvJ))};static#t=this.\u0275prov=O.jDH({token:j,factory:j.\u0275fac})}return j})();const vt=/^\)\]\}',?\n/;let rn=(()=>{class j{constructor(q){this.xhrFactory=q}handle(q){if("JSONP"===q.method)throw new O.wOt(-2800,!1);const ue=this.xhrFactory;return(ue.\u0275loadImpl?(0,L.H)(ue.\u0275loadImpl()):(0,R.of)(null)).pipe((0,ae.n)(()=>new x.c(Pe=>{const Ie=ue.build();if(Ie.open(q.method,q.urlWithParams),q.withCredentials&&(Ie.withCredentials=!0),q.headers.forEach((Tt,Rt)=>Ie.setRequestHeader(Tt,Rt.join(","))),q.headers.has("Accept")||Ie.setRequestHeader("Accept","application/json, text/plain, */*"),!q.headers.has("Content-Type")){const Tt=q.detectContentTypeHeader();null!==Tt&&Ie.setRequestHeader("Content-Type",Tt)}if(q.responseType){const Tt=q.responseType.toLowerCase();Ie.responseType="json"!==Tt?Tt:"text"}const Xe=q.serializeBody();let Ke=null;const Kt=()=>{if(null!==Ke)return Ke;const Tt=Ie.statusText||"OK",Rt=new Oe(Ie.getAllResponseHeaders()),Mn=function At(j){return"responseURL"in j&&j.responseURL?j.responseURL:/^X-Request-URL:/m.test(j.getAllResponseHeaders())?j.getResponseHeader("X-Request-URL"):null}(Ie)||q.url;return Ke=new In({headers:Rt,status:Ie.status,statusText:Tt,url:Mn}),Ke},zt=()=>{let{headers:Tt,status:Rt,statusText:Mn,url:zn}=Kt(),ln=null;204!==Rt&&(ln=typeof Ie.response>"u"?Ie.responseText:Ie.response),0===Rt&&(Rt=ln?200:0);let gr=Rt>=200&&Rt<300;if("json"===q.responseType&&"string"==typeof ln){const N=ln;ln=ln.replace(vt,"");try{ln=""!==ln?JSON.parse(ln):null}catch(He){ln=N,gr&&(gr=!1,ln={error:He,text:ln})}}gr?(Pe.next(new nn({body:ln,headers:Tt,status:Rt,statusText:Mn,url:zn||void 0})),Pe.complete()):Pe.error(new Sn({error:ln,headers:Tt,status:Rt,statusText:Mn,url:zn||void 0}))},Wt=Tt=>{const{url:Rt}=Kt(),Mn=new Sn({error:Tt,status:Ie.status||0,statusText:Ie.statusText||"Unknown Error",url:Rt||void 0});Pe.error(Mn)};let gn=!1;const qt=Tt=>{gn||(Pe.next(Kt()),gn=!0);let Rt={type:rt.DownloadProgress,loaded:Tt.loaded};Tt.lengthComputable&&(Rt.total=Tt.total),"text"===q.responseType&&Ie.responseText&&(Rt.partialText=Ie.responseText),Pe.next(Rt)},Jt=Tt=>{let Rt={type:rt.UploadProgress,loaded:Tt.loaded};Tt.lengthComputable&&(Rt.total=Tt.total),Pe.next(Rt)};return Ie.addEventListener("load",zt),Ie.addEventListener("error",Wt),Ie.addEventListener("timeout",Wt),Ie.addEventListener("abort",Wt),q.reportProgress&&(Ie.addEventListener("progress",qt),null!==Xe&&Ie.upload&&Ie.upload.addEventListener("progress",Jt)),Ie.send(Xe),Pe.next({type:rt.Sent}),()=>{Ie.removeEventListener("error",Wt),Ie.removeEventListener("abort",Wt),Ie.removeEventListener("load",zt),Ie.removeEventListener("timeout",Wt),q.reportProgress&&(Ie.removeEventListener("progress",qt),null!==Xe&&Ie.upload&&Ie.upload.removeEventListener("progress",Jt)),Ie.readyState!==Ie.DONE&&Ie.abort()}})))}static#e=this.\u0275fac=function(ue){return new(ue||j)(O.KVO(ye.N0))};static#t=this.\u0275prov=O.jDH({token:j,factory:j.\u0275fac})}return j})();const Ot=new O.nKC(""),fr=new O.nKC("",{providedIn:"root",factory:()=>"XSRF-TOKEN"}),Zt=new O.nKC("",{providedIn:"root",factory:()=>"X-XSRF-TOKEN"});class fn{}let he=(()=>{class j{constructor(q,ue,Me){this.doc=q,this.platform=ue,this.cookieName=Me,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const q=this.doc.cookie||"";return q!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,ye._b)(q,this.cookieName),this.lastCookieString=q),this.lastToken}static#e=this.\u0275fac=function(ue){return new(ue||j)(O.KVO(ye.qQ),O.KVO(O.Agw),O.KVO(fr))};static#t=this.\u0275prov=O.jDH({token:j,factory:j.\u0275fac})}return j})();function le(j,X){const q=j.url.toLowerCase();if(!(0,O.WQX)(Ot)||"GET"===j.method||"HEAD"===j.method||q.startsWith("http://")||q.startsWith("https://"))return X(j);const ue=(0,O.WQX)(fn).getToken(),Me=(0,O.WQX)(Zt);return null!=ue&&!j.headers.has(Me)&&(j=j.clone({headers:j.headers.set(Me,ue)})),X(j)}var re=function(j){return j[j.Interceptors=0]="Interceptors",j[j.LegacyInterceptors=1]="LegacyInterceptors",j[j.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",j[j.NoXsrfProtection=3]="NoXsrfProtection",j[j.JsonpSupport=4]="JsonpSupport",j[j.RequestsMadeViaParent=5]="RequestsMadeViaParent",j[j.Fetch=6]="Fetch",j}(re||{});function Ue(...j){const X=[_n,rn,Dr,{provide:Se,useExisting:Dr},{provide:ve,useFactory:()=>(0,O.WQX)(ur,{optional:!0})??(0,O.WQX)(rn)},{provide:wr,useValue:le,multi:!0},{provide:Ot,useValue:!0},{provide:fn,useClass:he}];for(const q of j)X.push(...q.\u0275providers);return(0,O.EmA)(X)}const Ct=new O.nKC("");function on(){return function Ce(j,X){return{\u0275kind:j,\u0275providers:X}}(re.LegacyInterceptors,[{provide:Ct,useFactory:hr},{provide:wr,useExisting:Ct,multi:!0}])}let Di=(()=>{class j{static#e=this.\u0275fac=function(ue){return new(ue||j)};static#t=this.\u0275mod=O.$C({type:j});static#n=this.\u0275inj=O.G2t({providers:[Ue(on())]})}return j})()},3953:(G,k,D)=>{"use strict";function o(e,t){return Object.is(e,t)}D.d(k,{bc$:()=>Eb,iLQ:()=>wd,sZ2:()=>yu,hnV:()=>bw,Hbi:()=>$N,o8S:()=>fs,BIS:()=>wb,gRc:()=>Bw,Ql9:()=>uN,OM3:()=>uc,Ocv:()=>yN,Z63:()=>Wi,aKT:()=>Ll,uvJ:()=>bo,zcH:()=>Ds,bkB:()=>ls,$GK:()=>xt,nKC:()=>st,zZn:()=>hi,_q3:()=>og,MKu:()=>sg,xe9:()=>Zp,Co$:()=>Ev,Vns:()=>ua,SKi:()=>Yn,Xx1:()=>Ti,Agw:()=>_u,PLl:()=>qm,sFG:()=>fI,_9s:()=>kf,czy:()=>Au,kdw:()=>zi,C4Q:()=>tc,NYb:()=>rN,giA:()=>Dw,RxE:()=>gw,c1b:()=>qu,gXe:()=>es,mal:()=>nd,L39:()=>vx,EWP:()=>wx,Ol2:()=>Zf,w6W:()=>iS,oH4:()=>Lw,SmG:()=>IN,Rfq:()=>Ui,WQX:()=>Ae,naY:()=>TN,QuC:()=>xs,EmA:()=>Ml,Udg:()=>Cx,fpN:()=>BN,HJs:()=>Ox,N4e:()=>FD,vPA:()=>rv,O8t:()=>Dx,H3F:()=>mw,zAP:()=>hD,H8p:()=>Hd,KH2:()=>gl,TgB:()=>na,wOt:()=>ke,WHO:()=>Ew,e01:()=>ww,H5H:()=>Tp,Zy3:()=>Xr,mq5:()=>PC,JZv:()=>kn,LfX:()=>Ro,plB:()=>Ls,jNT:()=>qp,zjR:()=>Mw,TL$:()=>vb,Tbb:()=>Wn,Vt3:()=>Qf,GFd:()=>Cv,OA$:()=>Jd,Jv_:()=>VE,aNF:()=>jE,R7$:()=>Gy,BMQ:()=>dp,HbH:()=>dC,ZvI:()=>_C,AVh:()=>_p,BUC:()=>vC,vxM:()=>DC,wni:()=>dE,VBU:()=>co,FsC:()=>Hc,jDH:()=>lt,G2t:()=>bn,$C:()=>Oi,EJ8:()=>Ks,rXU:()=>Ga,nrm:()=>Dp,eu8:()=>Mp,bVm:()=>dd,qex:()=>ud,k0s:()=>cd,j41:()=>ld,RV6:()=>SC,xGo:()=>hm,Mr5:()=>bp,KVO:()=>wt,kS0:()=>du,QTQ:()=>Wy,bIt:()=>Op,lsd:()=>pE,XpG:()=>tE,nI1:()=>YE,bMT:()=>ZE,SdG:()=>rE,NAR:()=>nE,Y8G:()=>gp,FS9:()=>Ap,Mz_:()=>md,FCK:()=>Np,eq3:()=>$E,l_i:()=>HE,sMw:()=>GE,ziG:()=>zE,mGM:()=>fE,sdS:()=>gE,Dyx:()=>bC,Z7z:()=>MC,Njj:()=>jg,eBV:()=>Vg,npT:()=>_y,B4B:()=>Xh,n$t:()=>Cy,xc7:()=>yp,DNE:()=>ep,C5r:()=>JE,EFF:()=>bE,JRh:()=>Rp,SpI:()=>yd,Lme:()=>Fp,DH7:()=>RE,mxI:()=>Lp,R50:()=>kp,GBs:()=>hE});let M=null,O=!1,R=1;const x=Symbol("SIGNAL");function L(e){const t=M;return M=e,t}const te={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 ae(e){if(O)throw new Error("");if(null===M)return;M.consumerOnSignalRead(e);const t=M.nextProducerIndex++;St(M),t<M.producerNode.length&&M.producerNode[t]!==e&&ft(M)&&nt(M.producerNode[t],M.producerIndexOfThis[t]),M.producerNode[t]!==e&&(M.producerNode[t]=e,M.producerIndexOfThis[t]=ft(M)?bt(e,M,t):0),M.producerLastReadVersion[t]=e.version}function Se(e){if((!ft(e)||e.dirty)&&(e.dirty||e.lastCleanEpoch!==R)){if(!e.producerMustRecompute(e)&&!$e(e))return e.dirty=!1,void(e.lastCleanEpoch=R);e.producerRecomputeValue(e),e.dirty=!1,e.lastCleanEpoch=R}}function ve(e){if(void 0===e.liveConsumerNode)return;const t=O;O=!0;try{for(const n of e.liveConsumerNode)n.dirty||Ve(n)}finally{O=t}}function Oe(){return!1!==M?.consumerAllowSignalWrites}function Ve(e){e.dirty=!0,ve(e),e.consumerMarkedDirty?.(e)}function Le(e){return e&&(e.nextProducerIndex=0),L(e)}function Qe(e,t){if(L(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++)nt(e.producerNode[n],e.producerIndexOfThis[n]);for(;e.producerNode.length>e.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}function $e(e){St(e);for(let t=0;t<e.producerNode.length;t++){const n=e.producerNode[t],r=e.producerLastReadVersion[t];if(r!==n.version||(Se(n),r!==n.version))return!0}return!1}function gt(e){if(St(e),ft(e))for(let t=0;t<e.producerNode.length;t++)nt(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 bt(e,t,n){if(ne(e),0===e.liveConsumerNode.length&&pe(e))for(let r=0;r<e.producerNode.length;r++)e.producerIndexOfThis[r]=bt(e.producerNode[r],e,r);return e.liveConsumerIndexOfThis.push(n),e.liveConsumerNode.push(t)-1}function nt(e,t){if(ne(e),1===e.liveConsumerNode.length&&pe(e))for(let r=0;r<e.producerNode.length;r++)nt(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];St(i),i.producerIndexOfThis[r]=t}}function ft(e){return e.consumerIsAlwaysLive||(e?.liveConsumerNode?.length??0)>0}function St(e){e.producerNode??=[],e.producerIndexOfThis??=[],e.producerLastReadVersion??=[]}function ne(e){e.liveConsumerNode??=[],e.liveConsumerIndexOfThis??=[]}function pe(e){return void 0!==e.producerNode}const be=Symbol("UNSET"),ce=Symbol("COMPUTING"),ge=Symbol("ERRORED"),qe={...te,value:be,dirty:!0,error:null,equal:o,producerMustRecompute:e=>e.value===be||e.value===ce,producerRecomputeValue(e){if(e.value===ce)throw new Error("Detected cycle in computations.");const t=e.value;e.value=ce;const n=Le(e);let r;try{r=e.computation()}catch(i){r=ge,e.error=i}finally{Qe(e,n)}t!==be&&t!==ge&&r!==ge&&e.equal(t,r)?e.value=t:(e.value=r,e.version++)}};let Yt=function rt(){throw new Error};function In(){Yt()}let Sn=null;function yn(e,t){Oe()||In(),e.equal(e.value,t)||(e.value=t,function cr(e){e.version++,function ye(){R++}(),ve(e),Sn?.()}(e))}const Gn={...te,equal:o,value:void 0};var an=D(4412),vn=D(1413),ti=D(8359),un=D(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 No="https://g.co/ng/security#xss";class ke extends Error{constructor(t,n){super(Xr(t,n)),this.code=t}}function Xr(e,t){return`NG0${Math.abs(e)}${t?": "+t:""}`}function yi(e){return{toString:e}.toString()}const Ir="__parameters__";function kr(e,t,n){return yi(()=>{const r=function Sr(e){return function(...n){if(e){const r=e(...n);for(const i in r)this[i]=r[i]}}}(t);function i(...s){if(this instanceof i)return r.apply(this,s),this;const a=new i(...s);return u.annotation=a,u;function u(g,w,b){const U=g.hasOwnProperty(Ir)?g[Ir]:Object.defineProperty(g,Ir,{value:[]})[Ir];for(;U.length<=b;)U.push(null);return(U[b]=U[b]||[]).push(a),g}}return n&&(i.prototype=Object.create(n.prototype)),i.prototype.ngMetadataName=e,i.annotationCls=i,i})}const kn=globalThis;function $t(e){for(let t in e)if(e[t]===$t)return t;throw Error("Could not find renamed property on target object.")}function Ss(e,t){for(const n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function Wn(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(Wn).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 ps(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const xo=$t({__forward_ref__:$t});function Ui(e){return e.__forward_ref__=Ui,e.toString=function(){return Wn(this())},e}function Je(e){return oi(e)?e():e}function oi(e){return"function"==typeof e&&e.hasOwnProperty(xo)&&e.__forward_ref__===Ui}function lt(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function bn(e){return{providers:e.providers||[],imports:e.imports||[]}}function Vn(e){return Yr(e,Zr)||Yr(e,Fo)}function Ro(e){return null!==Vn(e)}function Yr(e,t){return e.hasOwnProperty(t)?e[t]:null}function lr(e){return e&&(e.hasOwnProperty(so)||e.hasOwnProperty(Bi))?e[so]:null}const Zr=$t({\u0275prov:$t}),so=$t({\u0275inj:$t}),Fo=$t({ngInjectableDef:$t}),Bi=$t({ngInjectorDef:$t});class st{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=lt({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}function mn(e){return e&&!!e.\u0275providers}const Do=$t({\u0275cmp:$t}),ms=$t({\u0275dir:$t}),jn=$t({\u0275pipe:$t}),Hi=$t({\u0275mod:$t}),Un=$t({\u0275fac:$t}),Jr=$t({__NG_ELEMENT_ID__:$t}),Lo=$t({__NG_ENV_ID__:$t});function ut(e){return"string"==typeof e?e:null==e?"":String(e)}function _a(e,t){throw new ke(-201,!1)}var xt=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}(xt||{});let $s;function Cl(){return $s}function ai(e){const t=$s;return $s=e,t}function ys(e,t,n){const r=Vn(e);return r&&"root"==r.providedIn?void 0===r.value?r.value=r.factory():r.value:n&xt.Optional?null:void 0!==t?t:void _a()}const Ps={},Ca="__NG_DI_FLAG__",m="ngTempTokenPath",E=/\n/gm,z="__source";let de;function ze(e){const t=de;return de=e,t}function jt(e,t=xt.Default){if(void 0===de)throw new ke(-203,!1);return null===de?ys(e,void 0,t):de.get(e,t&xt.Optional?null:void 0,t)}function wt(e,t=xt.Default){return(Cl()||jt)(Je(e),t)}function Ae(e,t=xt.Default){return wt(e,wn(t))}function wn(e){return typeof e>"u"||"number"==typeof e?e:(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function en(e){const t=[];for(let n=0;n<e.length;n++){const r=Je(e[n]);if(Array.isArray(r)){if(0===r.length)throw new ke(900,!1);let i,s=xt.Default;for(let a=0;a<r.length;a++){const u=r[a],g=Vo(u);"number"==typeof g?-1===g?i=u.token:s|=g:i=u}t.push(wt(i,s))}else t.push(wt(r))}return t}function On(e,t){return e[Ca]=t,e.prototype[Ca]=t,e}function Vo(e){return e[Ca]}const Ti=On(kr("Optional"),8),zi=On(kr("SkipSelf"),4);function _s(e,t){return e.hasOwnProperty(Un)?e[Un]:null}function Gs(e,t){e.forEach(n=>Array.isArray(n)?Gs(n,t):t(n))}function El(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function zs(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function Si(e,t,n){let r=Ws(e,t);return r>=0?e[1|r]=n:(r=~r,function Rd(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 Vc(e,t){const n=Ws(e,t);if(n>=0)return e[1|n]}function Ws(e,t){return function jc(e,t,n){let r=0,i=e.length>>n;for(;i!==r;){const s=r+(i-r>>1),a=e[s<<n];if(t===a)return s<<n;a>t?i=s:r=s+1}return~(i<<n)}(e,t,1)}const Mo={},tn=[],Wi=new st(""),Uc=new st("",-1),Dl=new st("");class Ea{get(t,n=Ps){if(n===Ps){const r=new Error(`NullInjectorError: No provider for ${Wn(t)}!`);throw r.name="NullInjectorError",r}return n}}var wa=function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e}(wa||{}),es=function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e}(es||{}),ts=function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e}(ts||{});function kd(e,t,n){let r=e.length;for(;;){const i=e.indexOf(t,n);if(-1===i)return i;if(0===i||e.charCodeAt(i-1)<=32){const s=t.length;if(i+s===r||e.charCodeAt(i+s)<=32)return i}n=i+1}}function Da(e,t,n){let r=0;for(;r<n.length;){const i=n[r];if("number"==typeof i){if(0!==i)break;r++;const s=n[r++],a=n[r++],u=n[r++];e.setAttribute(t,a,u,s)}else{const s=i,a=n[++r];Ld(s)?e.setProperty(t,s,a):e.setAttribute(t,s,a),r++}}return r}function Bc(e){return 3===e||4===e||6===e}function Ld(e){return 64===e.charCodeAt(0)}function Ma(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||Vd(e,n,i,null,-1===n||2===n?t[++r]:null)}}return e}function Vd(e,t,n,r,i){let s=0,a=e.length;if(-1===t)a=-1;else for(;s<e.length;){const u=e[s++];if("number"==typeof u){if(u===t){a=-1;break}if(u>t){a=s-1;break}}}for(;s<e.length;){const u=e[s];if("number"==typeof u)break;if(u===n){if(null===r)return void(null!==i&&(e[s+1]=i));if(r===e[s+1])return void(e[s+2]=i)}s++,null!==r&&s++,null!==i&&s++}-1!==a&&(e.splice(a,0,t),s=a+1),e.splice(s++,0,n),null!==r&&e.splice(s++,0,r),null!==i&&e.splice(s++,0,i)}const jd="ng-template";function hg(e,t,n,r){let i=0;if(r){for(;i<t.length&&"string"==typeof t[i];i+=2)if("class"===t[i]&&-1!==kd(t[i+1].toLowerCase(),n,0))return!0}else if($c(e))return!1;if(i=t.indexOf(1,i),i>-1){let s;for(;++i<t.length&&"string"==typeof(s=t[i]);)if(s.toLowerCase()===n)return!0}return!1}function $c(e){return 4===e.type&&e.value!==jd}function h(e,t,n){return t===(4!==e.type||n?e.value:jd)}function _(e,t,n){let r=4;const i=e.attrs,s=null!==i?function W(e){for(let t=0;t<e.length;t++)if(Bc(e[t]))return t;return e.length}(i):0;let a=!1;for(let u=0;u<t.length;u++){const g=t[u];if("number"!=typeof g){if(!a)if(4&r){if(r=2|1&r,""!==g&&!h(e,g,n)||""===g&&1===t.length){if(p(r))return!1;a=!0}}else if(8&r){if(null===i||!hg(e,i,g,n)){if(p(r))return!1;a=!0}}else{const w=t[++u],b=v(g,i,$c(e),n);if(-1===b){if(p(r))return!1;a=!0;continue}if(""!==w){let U;if(U=b>s?"":i[b+1].toLowerCase(),2&r&&w!==U){if(p(r))return!1;a=!0}}}}else{if(!a&&!p(r)&&!p(g))return!1;if(a&&p(g))continue;a=!1,r=g|1&r}}return p(r)||a}function p(e){return!(1&e)}function v(e,t,n,r){if(null===t)return-1;let i=0;if(r||!n){let s=!1;for(;i<t.length;){const a=t[i];if(a===e)return i;if(3===a||6===a)s=!0;else{if(1===a||2===a){let u=t[++i];for(;"string"==typeof u;)u=t[++i];continue}if(4===a)break;if(0===a){i+=4;continue}}i+=s?1:2}return-1}return function fe(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 T(e,t,n=!1){for(let r=0;r<t.length;r++)if(_(e,t[r],n))return!0;return!1}function se(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 Be(e,t){return e?":not("+t.trim()+")":t}function dt(e){let t=e[0],n=1,r=2,i="",s=!1;for(;n<e.length;){let a=e[n];if("string"==typeof a)if(2&r){const u=e[++n];i+="["+a+(u.length>0?'="'+u+'"':"")+"]"}else 8&r?i+="."+a:4&r&&(i+=" "+a);else""!==i&&!p(a)&&(t+=Be(s,i),i=""),r=a,s=s||!p(r);n++}return""!==i&&(t+=Be(s,i)),t}function co(e){return yi(()=>{const t=fg(e),n={...t,decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===wa.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||es.Emulated,styles:e.styles||tn,_:null,schemas:e.schemas||null,tView:null,id:""};pg(n);const r=e.dependencies;return n.directiveDefs=Gc(r,!1),n.pipeDefs=Gc(r,!0),n.id=function bD(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 li(e){return Ut(e)||Lr(e)}function ns(e){return null!==e}function Oi(e){return yi(()=>({type:e.type,bootstrap:e.bootstrap||tn,declarations:e.declarations||tn,imports:e.imports||tn,exports:e.exports||tn,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function Ns(e,t){if(null==e)return Mo;const n={};for(const r in e)if(e.hasOwnProperty(r)){const i=e[r];let s,a,u=ts.None;Array.isArray(i)?(u=i[0],s=i[1],a=i[2]??s):(s=i,a=i),t?(n[s]=u!==ts.None?[r,u]:r,t[s]=a):n[s]=r}return n}function Hc(e){return yi(()=>{const t=fg(e);return pg(t),t})}function Ks(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 Ut(e){return e[Do]||null}function Lr(e){return e[ms]||null}function ci(e){return e[jn]||null}function xs(e){const t=Ut(e)||Lr(e)||ci(e);return null!==t&&t.standalone}function Ci(e,t){const n=e[Hi]||null;if(!n&&!0===t)throw new Error(`Type ${Wn(e)} does not have '\u0275mod' property.`);return n}function fg(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||Mo,exportAs:e.exportAs||null,standalone:!0===e.standalone,signals:!0===e.signals,selectors:e.selectors||tn,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:Ns(e.inputs,t),outputs:Ns(e.outputs),debugInfo:null}}function pg(e){e.features?.forEach(t=>t(e))}function Gc(e,t){if(!e)return null;const n=t?ci:li;return()=>("function"==typeof e?e():e).map(r=>n(r)).filter(ns)}function Ml(e){return{\u0275providers:e}}function TD(...e){return{\u0275providers:Ud(0,e),\u0275fromNgModule:!0}}function Ud(e,...t){const n=[],r=new Set;let i;const s=a=>{n.push(a)};return Gs(t,a=>{const u=a;zc(u,s,[],r)&&(i||=[],i.push(u))}),void 0!==i&&gg(i,s),n}function gg(e,t){for(let n=0;n<e.length;n++){const{ngModule:r,providers:i}=e[n];Bd(i,s=>{t(s,r)})}}function zc(e,t,n,r){if(!(e=Je(e)))return!1;let i=null,s=lr(e);const a=!s&&Ut(e);if(s||a){if(a&&!a.standalone)return!1;i=e}else{const g=e.ngModule;if(s=lr(g),!s)return!1;i=g}const u=r.has(i);if(a){if(u)return!1;if(r.add(i),a.dependencies){const g="function"==typeof a.dependencies?a.dependencies():a.dependencies;for(const w of g)zc(w,t,n,r)}}else{if(!s)return!1;{if(null!=s.imports&&!u){let w;r.add(i);try{Gs(s.imports,b=>{zc(b,t,n,r)&&(w||=[],w.push(b))})}finally{}void 0!==w&&gg(w,t)}if(!u){const w=_s(i)||(()=>new i);t({provide:i,useFactory:w,deps:tn},i),t({provide:Dl,useValue:i,multi:!0},i),t({provide:Wi,useValue:()=>wt(i),multi:!0},i)}const g=s.providers;if(null!=g&&!u){const w=e;Bd(g,b=>{t(b,w)})}}}return i!==e&&void 0!==e.providers}function Bd(e,t){for(let n of e)mn(n)&&(n=n.\u0275providers),Array.isArray(n)?Bd(n,t):t(n)}const ID=$t({provide:String,useValue:$t});function $d(e){return null!==e&&"object"==typeof e&&ID in e}function qs(e){return"function"==typeof e}const Hd=new st(""),Wc={},OD={};let Gd;function Kc(){return void 0===Gd&&(Gd=new Ea),Gd}class bo{}class ba extends bo{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,Wd(t,a=>this.processProvider(a)),this.records.set(Uc,Ta(void 0,this)),i.has("environment")&&this.records.set(bo,Ta(void 0,this));const s=this.records.get(Hd);null!=s&&"string"==typeof s.value&&this.scopes.add(s.value),this.injectorDefTypes=new Set(this.get(Dl,tn,xt.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;const t=L(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(),L(t)}}onDestroy(t){return this.assertNotDestroyed(),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){this.assertNotDestroyed();const n=ze(this),r=ai(void 0);try{return t()}finally{ze(n),ai(r)}}get(t,n=Ps,r=xt.Default){if(this.assertNotDestroyed(),t.hasOwnProperty(Lo))return t[Lo](this);r=wn(r);const s=ze(this),a=ai(void 0);try{if(!(r&xt.SkipSelf)){let g=this.records.get(t);if(void 0===g){const w=function RD(e){return"function"==typeof e||"object"==typeof e&&e instanceof st}(t)&&Vn(t);g=w&&this.injectableDefInScope(w)?Ta(zd(t),Wc):null,this.records.set(t,g)}if(null!=g)return this.hydrate(t,g)}return(r&xt.Self?Kc():this.parent).get(t,n=r&xt.Optional&&n===Ps?null:n)}catch(u){if("NullInjectorError"===u.name){if((u[m]=u[m]||[]).unshift(Wn(t)),s)throw u;return function lo(e,t,n,r){const i=e[m];throw t[z]&&i.unshift(t[z]),e.message=function Jo(e,t,n,r=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.slice(2):e;let i=Wn(t);if(Array.isArray(t))i=t.map(Wn).join(" -> ");else if("object"==typeof t){let s=[];for(let a in t)if(t.hasOwnProperty(a)){let u=t[a];s.push(a+":"+("string"==typeof u?JSON.stringify(u):Wn(u)))}i=`{${s.join(", ")}}`}return`${n}${r?"("+r+")":""}[${i}]: ${e.replace(E,"\n  ")}`}("\n"+e.message,i,n,r),e.ngTokenPath=i,e[m]=null,e}(u,t,"R3InjectorError",this.source)}throw u}finally{ai(a),ze(s)}}resolveInjectorInitializers(){const t=L(null),n=ze(this),r=ai(void 0);try{const s=this.get(Wi,tn,xt.Self);for(const a of s)a()}finally{ze(n),ai(r),L(t)}}toString(){const t=[],n=this.records;for(const r of n.keys())t.push(Wn(r));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new ke(205,!1)}processProvider(t){let n=qs(t=Je(t))?t:Je(t&&t.provide);const r=function AD(e){return $d(e)?Ta(void 0,e.useValue):Ta(_g(e),Wc)}(t);if(!qs(t)&&!0===t.multi){let i=this.records.get(n);i||(i=Ta(void 0,Wc,!0),i.factory=()=>en(i.multi),this.records.set(n,i)),n=t,i.multi.push(t)}this.records.set(n,r)}hydrate(t,n){const r=L(null);try{return n.value===Wc&&(n.value=OD,n.value=n.factory()),"object"==typeof n.value&&n.value&&function xD(e){return null!==e&&"object"==typeof e&&"function"==typeof e.ngOnDestroy}(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}finally{L(r)}}injectableDefInScope(t){if(!t.providedIn)return!1;const n=Je(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 zd(e){const t=Vn(e),n=null!==t?t.factory:_s(e);if(null!==n)return n;if(e instanceof st)throw new ke(204,!1);if(e instanceof Function)return function PD(e){if(e.length>0)throw new ke(204,!1);const n=function ar(e){return e&&(e[Zr]||e[Fo])||null}(e);return null!==n?()=>n.factory(e):()=>new e}(e);throw new ke(204,!1)}function _g(e,t,n){let r;if(qs(e)){const i=Je(e);return _s(i)||zd(i)}if($d(e))r=()=>Je(e.useValue);else if(function yg(e){return!(!e||!e.useFactory)}(e))r=()=>e.useFactory(...en(e.deps||[]));else if(function mg(e){return!(!e||!e.useExisting)}(e))r=()=>wt(Je(e.useExisting));else{const i=Je(e&&(e.useClass||e.provide));if(!function ND(e){return!!e.deps}(e))return _s(i)||zd(i);r=()=>new i(...en(e.deps))}return r}function Ta(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function Wd(e,t){for(const n of e)Array.isArray(n)?Wd(n,t):n&&mn(n)?Wd(n.\u0275providers,t):t(n)}function FD(e,t){e instanceof ba&&e.assertNotDestroyed();const r=ze(e),i=ai(void 0);try{return t()}finally{ze(r),ai(i)}}function vg(){return void 0!==Cl()||null!=function Te(){return de}()}const Qn=0,Re=1,ot=2,Pr=3,Uo=4,ui=5,Pi=6,Sa=7,Bn=8,Ar=9,rs=10,yt=11,Tl=12,Eg=13,Oa=14,Xn=15,Qs=16,Pa=17,vs=18,Aa=19,wg=20,Rs=21,Qc=22,To=23,Ze=25,Qd=1,is=7,Na=9,yr=10;var Yc=function(e){return e[e.None=0]="None",e[e.HasTransplantedViews=2]="HasTransplantedViews",e}(Yc||{});function jr(e){return Array.isArray(e)&&"object"==typeof e[Qd]}function Ei(e){return Array.isArray(e)&&!0===e[Qd]}function Xd(e){return!!(4&e.flags)}function Xs(e){return e.componentOffset>-1}function Zc(e){return!(1&~e.flags)}function Bo(e){return!!e.template}function Sl(e){return!!(512&e[ot])}class KD{constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}}function Ig(e,t,n,r){null!==t?t.applyValueToInputSignal(t,r):e[n]=r}function Jd(){return Sg}function Sg(e){return e.type.prototype.ngOnChanges&&(e.setInput=QD),qD}function qD(){const e=Pg(this),t=e?.current;if(t){const n=e.previous;if(n===Mo)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function QD(e,t,n,r,i){const s=this.declaredInputs[r],a=Pg(e)||function XD(e,t){return e[Og]=t}(e,{previous:Mo,current:null}),u=a.current||(a.current={}),g=a.previous,w=g[s];u[s]=new KD(w&&w.currentValue,n,g===Mo),Ig(e,t,i,n)}Jd.ngInherit=!0;const Og="__ngSimpleChanges__";function Pg(e){return e[Og]||null}const os=function(e,t,n){};function sn(e){for(;Array.isArray(e);)e=e[Qn];return e}function Ol(e,t){return sn(t[e])}function Ai(e,t){return sn(t[e.index])}function Pl(e,t){return e.data[t]}function Ys(e,t){return e[t]}function uo(e,t){const n=t[e];return jr(n)?n:n[Qn]}function nh(e){return!(128&~e[ot])}function Io(e,t){return null==t?null:e[t]}function xg(e){e[Pa]=0}function Rg(e){1024&e[ot]||(e[ot]|=1024,nh(e)&&eu(e))}function Jc(e){return!!(9216&e[ot]||e[To]?.dirty)}function rh(e){e[rs].changeDetectionScheduler?.notify(8),64&e[ot]&&(e[ot]|=1024),Jc(e)&&eu(e)}function eu(e){e[rs].changeDetectionScheduler?.notify(0);let t=Cs(e);for(;null!==t&&!(8192&t[ot])&&(t[ot]|=8192,nh(t));)t=Cs(t)}function tu(e,t){if(!(256&~e[ot]))throw new ke(911,!1);null===e[Rs]&&(e[Rs]=[]),e[Rs].push(t)}function Cs(e){const t=e[Pr];return Ei(t)?t[Pr]:t}const _t={lFrame:Qg(null),bindingsEnabled:!0,skipHydrationRootTNode:null};let kg=!1;function Lg(){return _t.bindingsEnabled}function Zs(){return null!==_t.skipHydrationRootTNode}function _e(){return _t.lFrame.lView}function Ft(){return _t.lFrame.tView}function Vg(e){return _t.lFrame.contextLView=e,e[Bn]}function jg(e){return _t.lFrame.contextLView=null,e}function Dn(){let e=Ug();for(;null!==e&&64===e.type;)e=e.parent;return e}function Ug(){return _t.lFrame.currentTNode}function $o(e,t){const n=_t.lFrame;n.currentTNode=e,n.isParent=t}function sh(){return _t.lFrame.isParent}function ah(){_t.lFrame.isParent=!1}function Hg(){return kg}function Gg(e){kg=e}function Ni(){const e=_t.lFrame;let t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function Ho(){return _t.lFrame.bindingIndex++}function ws(e){const t=_t.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function uM(e,t){const n=_t.lFrame;n.bindingIndex=n.bindingRootIndex=e,lh(t)}function lh(e){_t.lFrame.currentDirectiveIndex=e}function uh(){return _t.lFrame.currentQueryIndex}function ru(e){_t.lFrame.currentQueryIndex=e}function hM(e){const t=e[Re];return 2===t.type?t.declTNode:1===t.type?e[ui]:null}function Kg(e,t,n){if(n&xt.SkipSelf){let i=t,s=e;for(;!(i=i.parent,null!==i||n&xt.Host||(i=hM(s),null===i||(s=s[Oa],10&i.type))););if(null===i)return!1;t=i,e=s}const r=_t.lFrame=qg();return r.currentTNode=t,r.lView=e,!0}function dh(e){const t=qg(),n=e[Re];_t.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function qg(){const e=_t.lFrame,t=null===e?null:e.child;return null===t?Qg(e):t}function Qg(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 Xg(){const e=_t.lFrame;return _t.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const Yg=Xg;function hh(){const e=Xg();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 di(){return _t.lFrame.selectedIndex}function Js(e){_t.lFrame.selectedIndex=e}function $n(){const e=_t.lFrame;return Pl(e.tView,e.selectedIndex)}let Jg=!0;function Nl(){return Jg}function ss(e){Jg=e}function iu(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n<r;n++){const s=e.data[n].type.prototype,{ngAfterContentInit:a,ngAfterContentChecked:u,ngAfterViewInit:g,ngAfterViewChecked:w,ngOnDestroy:b}=s;a&&(e.contentHooks??=[]).push(-n,a),u&&((e.contentHooks??=[]).push(n,u),(e.contentCheckHooks??=[]).push(n,u)),g&&(e.viewHooks??=[]).push(-n,g),w&&((e.viewHooks??=[]).push(n,w),(e.viewCheckHooks??=[]).push(n,w)),null!=b&&(e.destroyHooks??=[]).push(n,b)}}function ou(e,t,n){em(e,t,3,n)}function su(e,t,n,r){(3&e[ot])===n&&em(e,t,n,r)}function fh(e,t){let n=e[ot];(3&n)===t&&(n&=16383,n+=1,e[ot]=n)}function em(e,t,n,r){const s=r??-1,a=t.length-1;let u=0;for(let g=void 0!==r?65535&e[Pa]:0;g<a;g++)if("number"==typeof t[g+1]){if(u=t[g],null!=r&&u>=r)break}else t[g]<0&&(e[Pa]+=65536),(u<s||-1==s)&&(vM(e,n,t,g),e[Pa]=(4294901760&e[Pa])+g+2),g++}function tm(e,t){os(4,e,t);const n=L(null);try{t.call(e)}finally{L(n),os(5,e,t)}}function vM(e,t,n,r){const i=n[r]<0,s=n[r+1],u=e[i?-n[r]:n[r]];i?e[ot]>>14<e[Pa]>>16&&(3&e[ot])===t&&(e[ot]+=16384,tm(u,s)):tm(u,s)}const xa=-1;class xl{constructor(t,n,r){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=r}}const gh={};class ea{constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,r){r=wn(r);const i=this.injector.get(t,gh,r);return i!==gh||n===gh?i:this.parentInjector.get(t,n,r)}}function mh(e){return e!==xa}function Rl(e){return 32767&e}function Fl(e,t){let n=function MM(e){return e>>16}(e),r=t;for(;n>0;)r=r[Oa],n--;return r}let yh=!0;function au(e){const t=yh;return yh=e,t}const rm=255,im=5;let TM=0;const as={};function lu(e,t){const n=om(e,t);if(-1!==n)return n;const r=t[Re];r.firstCreatePass&&(e.injectorIndex=t.length,_h(r.data,e),_h(t,null),_h(r.blueprint,null));const i=cu(e,t),s=e.injectorIndex;if(mh(i)){const a=Rl(i),u=Fl(i,t),g=u[Re].data;for(let w=0;w<8;w++)t[s+w]=u[a+w]|g[a+w]}return t[s+8]=i,s}function _h(e,t){e.push(0,0,0,0,0,0,0,0,t)}function om(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function cu(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=fm(i),null===r)return xa;if(n++,i=i[Oa],-1!==r.injectorIndex)return r.injectorIndex|n<<16}return xa}function vh(e,t,n){!function IM(e,t,n){let r;"string"==typeof n?r=n.charCodeAt(0)||0:n.hasOwnProperty(Jr)&&(r=n[Jr]),null==r&&(r=n[Jr]=TM++);const i=r&rm;t.data[e+(i>>im)]|=1<<i}(e,t,n)}function sm(e,t,n){if(n&xt.Optional||void 0!==e)return e;_a()}function am(e,t,n,r){if(n&xt.Optional&&void 0===r&&(r=null),!(n&(xt.Self|xt.Host))){const i=e[Ar],s=ai(void 0);try{return i?i.get(t,r,n&xt.Optional):ys(t,r,n&xt.Optional)}finally{ai(s)}}return sm(r,0,n)}function lm(e,t,n,r=xt.Default,i){if(null!==e){if(2048&t[ot]&&!(r&xt.Self)){const a=function NM(e,t,n,r,i){let s=e,a=t;for(;null!==s&&null!==a&&2048&a[ot]&&!(512&a[ot]);){const u=cm(s,a,n,r|xt.Self,as);if(u!==as)return u;let g=s.parent;if(!g){const w=a[wg];if(w){const b=w.get(n,as,r);if(b!==as)return b}g=fm(a),a=a[Oa]}s=g}return i}(e,t,n,r,as);if(a!==as)return a}const s=cm(e,t,n,r,as);if(s!==as)return s}return am(t,n,r,i)}function cm(e,t,n,r,i){const s=function PM(e){if("string"==typeof e)return e.charCodeAt(0)||0;const t=e.hasOwnProperty(Jr)?e[Jr]:void 0;return"number"==typeof t?t>=0?t&rm:AM:t}(n);if("function"==typeof s){if(!Kg(t,e,r))return r&xt.Host?sm(i,0,r):am(t,n,r,i);try{let a;if(a=s(r),null!=a||r&xt.Optional)return a;_a()}finally{Yg()}}else if("number"==typeof s){let a=null,u=om(e,t),g=xa,w=r&xt.Host?t[Xn][ui]:null;for((-1===u||r&xt.SkipSelf)&&(g=-1===u?cu(e,t):t[u+8],g!==xa&&dm(r,!1)?(a=t[Re],u=Rl(g),t=Fl(g,t)):u=-1);-1!==u;){const b=t[Re];if(um(s,u,b.data)){const U=OM(u,t,n,a,r,w);if(U!==as)return U}g=t[u+8],g!==xa&&dm(r,t[Re].data[u+8]===w)&&um(s,u,t)?(a=b,u=Rl(g),t=Fl(g,t)):u=-1}}return i}function OM(e,t,n,r,i,s){const a=t[Re],u=a.data[e+8],b=uu(u,a,n,null==r?Xs(u)&&yh:r!=a&&!!(3&u.type),i&xt.Host&&s===u);return null!==b?ta(t,a,b,u):as}function uu(e,t,n,r,i){const s=e.providerIndexes,a=t.data,u=1048575&s,g=e.directiveStart,b=s>>20,Q=i?u+b:e.directiveEnd;for(let J=r?u:u+b;J<Q;J++){const ie=a[J];if(J<g&&n===ie||J>=g&&ie.type===n)return J}if(i){const J=a[g];if(J&&Bo(J)&&J.type===n)return g}return null}function ta(e,t,n,r){let i=e[n];const s=t.data;if(function CM(e){return e instanceof xl}(i)){const a=i;a.resolving&&function kc(e,t){throw t&&t.join(" > "),new ke(-200,e)}(function Vt(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():ut(e)}(s[n]));const u=au(a.canSeeViewProviders);a.resolving=!0;const w=a.injectImpl?ai(a.injectImpl):null;Kg(e,r,xt.Default);try{i=e[n]=a.factory(void 0,s,e,r),t.firstCreatePass&&n>=r.directiveStart&&function _M(e,t,n){const{ngOnChanges:r,ngOnInit:i,ngDoCheck:s}=t.type.prototype;if(r){const a=Sg(t);(n.preOrderHooks??=[]).push(e,a),(n.preOrderCheckHooks??=[]).push(e,a)}i&&(n.preOrderHooks??=[]).push(0-e,i),s&&((n.preOrderHooks??=[]).push(e,s),(n.preOrderCheckHooks??=[]).push(e,s))}(n,s[n],t)}finally{null!==w&&ai(w),au(u),a.resolving=!1,Yg()}}return i}function um(e,t,n){return!!(n[t+(e>>im)]&1<<e)}function dm(e,t){return!(e&xt.Self||e&xt.Host&&t)}class Ur{constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return lm(this._tNode,this._lView,t,wn(r),n)}}function AM(){return new Ur(Dn(),_e())}function hm(e){return yi(()=>{const t=e.prototype.constructor,n=t[Un]||Ch(t),r=Object.prototype;let i=Object.getPrototypeOf(e.prototype).constructor;for(;i&&i!==r;){const s=i[Un]||Ch(i);if(s&&s!==n)return s;i=Object.getPrototypeOf(i)}return s=>new s})}function Ch(e){return oi(e)?()=>{const t=Ch(Je(e));return t&&t()}:_s(e)}function fm(e){const t=e[Re],n=t.type;return 2===n?t.declTNode:1===n?e[ui]:null}function du(e){return function SM(e,t){if("class"===t)return e.classes;if("style"===t)return e.styles;const n=e.attrs;if(n){const r=n.length;let i=0;for(;i<r;){const s=n[i];if(Bc(s))break;if(0===s)i+=2;else if("number"==typeof s)for(i++;i<r&&"string"==typeof n[i];)i++;else{if(s===t)return n[i+1];i+=2}}}return null}(Dn(),e)}function _m(e,t=null,n=null,r){const i=vm(e,t,n,r);return i.resolveInjectorInitializers(),i}function vm(e,t=null,n=null,r,i=new Set){const s=[n||tn,TD(e)];return r=r||("object"==typeof e?void 0:Wn(e)),new ba(s,t||Kc(),r||null,i)}class hi{static#e=this.THROW_IF_NOT_FOUND=Ps;static#t=this.NULL=new Ea;static create(t,n){if(Array.isArray(t))return _m({name:""},n,t,"");{const r=t.name??"";return _m({name:r},t.parent,t.providers,r)}}static#n=this.\u0275prov=lt({token:hi,providedIn:"any",factory:()=>wt(Uc)});static#r=this.__NG_ELEMENT_ID__=-1}new st("").__NG_ELEMENT_ID__=e=>{const t=Dn();if(null===t)throw new ke(204,!1);if(2&t.type)return t.value;if(e&xt.Optional)return null;throw new ke(204,!1)};function wh(e){return e.ngOriginalError}const Em=!0;let kl=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=$M;static#t=this.__NG_ENV_ID__=n=>n}return e})();class BM extends kl{constructor(t){super(),this._lView=t}onDestroy(t){return tu(this._lView,t),()=>function ih(e,t){if(null===e[Rs])return;const n=e[Rs].indexOf(t);-1!==n&&e[Rs].splice(n,1)}(this._lView,t)}}function $M(){return new BM(_e())}let na=(()=>{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=lt({token:e,providedIn:"root",factory:()=>new e})}return e})();const ls=class HM extends vn.B{constructor(t=!1){super(),this.destroyRef=void 0,this.pendingTasks=void 0,this.__isAsync=t,vg()&&(this.destroyRef=Ae(kl,{optional:!0})??void 0,this.pendingTasks=Ae(na,{optional:!0})??void 0)}emit(t){const n=L(null);try{super.next(t)}finally{L(n)}}subscribe(t,n,r){let i=t,s=n||(()=>null),a=r;if(t&&"object"==typeof t){const g=t;i=g.next?.bind(g),s=g.error?.bind(g),a=g.complete?.bind(g)}this.__isAsync&&(s=this.wrapInTimeout(s),i&&(i=this.wrapInTimeout(i)),a&&(a=this.wrapInTimeout(a)));const u=super.subscribe({next:i,error:s,complete:a});return t instanceof ti.yU&&t.add(u),u}wrapInTimeout(t){return n=>{const r=this.pendingTasks?.add();setTimeout(()=>{t(n),void 0!==r&&this.pendingTasks?.remove(r)})}}};function fu(...e){}function wm(e){let t,n;function r(){e=fu;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 Dm(e){return queueMicrotask(()=>e()),()=>{e=fu}}const Dh="isAngularZone",pu=Dh+"_ID";let GM=0;class Yn{constructor(t){this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new ls(!1),this.onMicrotaskEmpty=new ls(!1),this.onStable=new ls(!1),this.onError=new ls(!1);const{enableLongStackTrace:n=!1,shouldCoalesceEventChangeDetection:r=!1,shouldCoalesceRunChangeDetection:i=!1,scheduleInRootZone:s=Em}=t;if(typeof Zone>"u")throw new ke(908,!1);Zone.assertZonePatched();const a=this;a._nesting=0,a._outer=a._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(a._inner=a._inner.fork(new Zone.TaskTrackingZoneSpec)),n&&Zone.longStackTraceZoneSpec&&(a._inner=a._inner.fork(Zone.longStackTraceZoneSpec)),a.shouldCoalesceEventChangeDetection=!i&&r,a.shouldCoalesceRunChangeDetection=i,a.callbackScheduled=!1,a.scheduleInRootZone=s,function KM(e){const t=()=>{!function WM(e){function t(){wm(()=>{e.callbackScheduled=!1,bh(e),e.isCheckStableRunning=!0,Mh(e),e.isCheckStableRunning=!1})}e.isCheckStableRunning||e.callbackScheduled||(e.callbackScheduled=!0,e.scheduleInRootZone?Zone.root.run(()=>{t()}):e._outer.run(()=>{t()}),bh(e))}(e)},n=GM++;e._inner=e._inner.fork({name:"angular",properties:{[Dh]:!0,[pu]:n,[pu+n]:!0},onInvokeTask:(r,i,s,a,u,g)=>{if(function qM(e){return Tm(e,"__ignore_ng_zone__")}(g))return r.invokeTask(s,a,u,g);try{return Mm(e),r.invokeTask(s,a,u,g)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===a.type||e.shouldCoalesceRunChangeDetection)&&t(),bm(e)}},onInvoke:(r,i,s,a,u,g,w)=>{try{return Mm(e),r.invoke(s,a,u,g,w)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!function QM(e){return Tm(e,"__scheduler_tick__")}(g)&&t(),bm(e)}},onHasTask:(r,i,s,a)=>{r.hasTask(s,a),i===s&&("microTask"==a.change?(e._hasPendingMicrotasks=a.microTask,bh(e),Mh(e)):"macroTask"==a.change&&(e.hasPendingMacrotasks=a.macroTask))},onHandleError:(r,i,s,a)=>(r.handleError(s,a),e.runOutsideAngular(()=>e.onError.emit(a)),!1)})}(a)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get(Dh)}static assertInAngularZone(){if(!Yn.isInAngularZone())throw new ke(909,!1)}static assertNotInAngularZone(){if(Yn.isInAngularZone())throw new ke(909,!1)}run(t,n,r){return this._inner.run(t,n,r)}runTask(t,n,r,i){const s=this._inner,a=s.scheduleEventTask("NgZoneEvent: "+i,t,zM,fu,fu);try{return s.runTask(a,n,r)}finally{s.cancelTask(a)}}runGuarded(t,n,r){return this._inner.runGuarded(t,n,r)}runOutsideAngular(t){return this._outer.run(t)}}const zM={};function Mh(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 bh(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&!0===e.callbackScheduled)}function Mm(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function bm(e){e._nesting--,Mh(e)}class Th{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new ls,this.onMicrotaskEmpty=new ls,this.onStable=new ls,this.onError=new ls}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 Tm(e,t){return!(!Array.isArray(e)||1!==e.length)&&!0===e[0]?.data?.[t]}class Ds{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&&wh(t);for(;n&&wh(n);)n=wh(n);return n||null}}const YM=new st("",{providedIn:"root",factory:()=>{const e=Ae(Yn),t=Ae(Ds);return n=>e.runOutsideAngular(()=>t.handleError(n))}});function ZM(){return ka(Dn(),_e())}function ka(e,t){return new Ll(Ai(e,t))}let Ll=(()=>{class e{constructor(n){this.nativeElement=n}static#e=this.__NG_ELEMENT_ID__=ZM}return e})();function Sm(e){return e instanceof Ll?e.nativeElement:e}function JM(){return this._results[Symbol.iterator]()}class Ih{static#e=Symbol.iterator;get changes(){return this._changes??=new ls}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=Ih.prototype;n[Symbol.iterator]||(n[Symbol.iterator]=JM)}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 Ii(e){return e.flat(Number.POSITIVE_INFINITY)}(t);(this._changesDetected=!function ug(e,t,n){if(e.length!==t.length)return!1;for(let r=0;r<e.length;r++){let i=e[r],s=t[r];if(n&&(i=n(i),s=n(s)),s!==i)return!1}return!0}(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 jl(e){return!(128&~e.flags)}const Oh=new Map;let tb=0;function Ph(e){Oh.delete(e[Aa])}const gu="__ngContext__";function wi(e,t){jr(t)?(e[gu]=t[Aa],function rb(e){Oh.set(e[Aa],e)}(t)):e[gu]=t}function Vm(e){return Um(e[Tl])}function jm(e){return Um(e[Uo])}function Um(e){for(;null!==e&&!Ei(e);)e=e[Uo];return e}let Nh;function vb(e){Nh=e}function Fs(){if(void 0!==Nh)return Nh;if(typeof document<"u")return document;throw new ke(210,!1)}const yu=new st("",{providedIn:"root",factory:()=>Cb}),Cb="ng",qm=new st(""),_u=new st("",{providedIn:"platform",factory:()=>"unknown"}),Eb=new st(""),wb=new st("",{providedIn:"root",factory:()=>Fs().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});let Qm=()=>null;function jh(e,t,n=!1){return Qm(e,t,n)}const ry=new st("",{providedIn:"root",factory:()=>!1});let Tu,Iu;function Ua(e){return function Gh(){if(void 0===Tu&&(Tu=null,kn.trustedTypes))try{Tu=kn.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Tu}()?.createHTML(e)||e}function zh(){if(void 0===Iu&&(Iu=null,kn.trustedTypes))try{Iu=kn.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Iu}function sy(e){return zh()?.createHTML(e)||e}function ly(e){return zh()?.createScriptURL(e)||e}class cy{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${No})`}}function ks(e){return e instanceof cy?e.changingThisBreaksApplicationSecurity:e}function Wl(e,t){const n=function Bb(e){return e instanceof cy&&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 ${No})`)}return n===t}class $b{constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t="<body><remove></remove>"+t;try{const n=(new window.DOMParser).parseFromString(Ua(t),"text/html").body;return null===n?this.inertDocumentHelper.getInertBodyElement(t):(n.firstChild?.remove(),n)}catch{return null}}}class Hb{constructor(t){this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(t){const n=this.inertDocument.createElement("template");return n.innerHTML=Ua(t),n}}const zb=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Wh(e){return(e=String(e)).match(zb)?e:"unsafe:"+e}function Ms(e){const t={};for(const n of e.split(","))t[n]=!0;return t}function Kl(...e){const t={};for(const n of e)for(const r in n)n.hasOwnProperty(r)&&(t[r]=!0);return t}const dy=Ms("area,br,col,hr,img,wbr"),hy=Ms("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),fy=Ms("rp,rt"),Kh=Kl(dy,Kl(hy,Ms("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),Kl(fy,Ms("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),Kl(fy,hy)),qh=Ms("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),py=Kl(qh,Ms("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,srcset,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),Ms("aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext")),Wb=Ms("script,style,template");class Kb{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(t){let n=t.firstChild,r=!0,i=[];for(;n;)if(n.nodeType===Node.ELEMENT_NODE?r=this.startElement(n):n.nodeType===Node.TEXT_NODE?this.chars(n.nodeValue):this.sanitizedSomething=!0,r&&n.firstChild)i.push(n),n=Xb(n);else for(;n;){n.nodeType===Node.ELEMENT_NODE&&this.endElement(n);let s=Qb(n);if(s){n=s;break}n=i.pop()}return this.buf.join("")}startElement(t){const n=gy(t).toLowerCase();if(!Kh.hasOwnProperty(n))return this.sanitizedSomething=!0,!Wb.hasOwnProperty(n);this.buf.push("<"),this.buf.push(n);const r=t.attributes;for(let i=0;i<r.length;i++){const s=r.item(i),a=s.name,u=a.toLowerCase();if(!py.hasOwnProperty(u)){this.sanitizedSomething=!0;continue}let g=s.value;qh[u]&&(g=Wh(g)),this.buf.push(" ",a,'="',yy(g),'"')}return this.buf.push(">"),!0}endElement(t){const n=gy(t).toLowerCase();Kh.hasOwnProperty(n)&&!dy.hasOwnProperty(n)&&(this.buf.push("</"),this.buf.push(n),this.buf.push(">"))}chars(t){this.buf.push(yy(t))}}function Qb(e){const t=e.nextSibling;if(t&&e!==t.previousSibling)throw my(t);return t}function Xb(e){const t=e.firstChild;if(t&&function qb(e,t){return(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}(e,t))throw my(t);return t}function gy(e){const t=e.nodeName;return"string"==typeof t?t:"FORM"}function my(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}const Yb=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Zb=/([^\#-~ |!])/g;function yy(e){return e.replace(/&/g,"&amp;").replace(Yb,function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"}).replace(Zb,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")}let Su;function Qh(e){return"content"in e&&function e0(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var Ba=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}(Ba||{});function _y(e){const t=ql();return t?sy(t.sanitize(Ba.HTML,e)||""):Wl(e,"HTML")?sy(ks(e)):function Jb(e,t){let n=null;try{Su=Su||function uy(e){const t=new Hb(e);return function Gb(){try{return!!(new window.DOMParser).parseFromString(Ua(""),"text/html")}catch{return!1}}()?new $b(t):t}(e);let r=t?String(t):"";n=Su.getInertBodyElement(r);let i=5,s=r;do{if(0===i)throw new Error("Failed to sanitize html because the input is unstable");i--,r=s,s=n.innerHTML,n=Su.getInertBodyElement(r)}while(r!==s);return Ua((new Kb).sanitizeChildren(Qh(n)||n))}finally{if(n){const r=Qh(n)||n;for(;r.firstChild;)r.firstChild.remove()}}}(Fs(),ut(e))}function Xh(e){const t=ql();return t?t.sanitize(Ba.URL,e)||"":Wl(e,"URL")?ks(e):Wh(ut(e))}function vy(e){const t=ql();if(t)return ly(t.sanitize(Ba.RESOURCE_URL,e)||"");if(Wl(e,"ResourceURL"))return ly(ks(e));throw new ke(904,!1)}function Cy(e,t,n){return function s0(e,t){return"src"===t&&("embed"===e||"frame"===e||"iframe"===e||"media"===e||"script"===e)||"href"===t&&("base"===e||"link"===e)?vy:Xh}(t,n)(e)}function ql(){const e=_e();return e&&e[rs].sanitizer}const a0=/^>|^->|<!--|-->|--!>|<!-$/g,l0=/(<|>)/g,c0="\u200b$1\u200b";function ho(e){return e instanceof Function?e():e}var Au=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(Au||{});let Jh;function ef(e,t){return Jh(e,t)}function Ha(e,t,n,r,i){if(null!=r){let s,a=!1;Ei(r)?s=r:jr(r)&&(a=!0,r=r[Qn]);const u=sn(r);0===e&&null!==n?null==i?xy(t,n,u):ia(t,n,u,i||null,!0):1===e&&null!==n?ia(t,n,u,i||null,!0):2===e?function Xl(e,t,n){e.removeChild(null,t,n)}(t,u,a):3===e&&t.destroyNode(u),null!=s&&function O0(e,t,n,r,i){const s=n[is];s!==sn(n)&&Ha(t,e,r,s,i);for(let u=yr;u<n.length;u++){const g=n[u];Fu(g[Re],g,e,t,r,s)}}(t,e,s,n,i)}}function nf(e,t){return e.createComment(function Ey(e){return e.replace(a0,t=>t.replace(l0,c0))}(t))}function Nu(e,t,n){return e.createElement(t,n)}function Py(e,t){t[rs].changeDetectionScheduler?.notify(9),Fu(e,t,t[yt],2,null,null)}function Ay(e,t){const n=e[Na],r=t[Pr];(jr(r)||t[Xn]!==r[Pr][Xn])&&(e[ot]|=Yc.HasTransplantedViews),null===n?e[Na]=[t]:n.push(t)}function rf(e,t){const n=e[Na],r=n.indexOf(t);n.splice(r,1)}function Ql(e,t){if(e.length<=yr)return;const n=yr+t,r=e[n];if(r){const i=r[Qs];null!==i&&i!==e&&rf(i,r),t>0&&(e[n-1][Uo]=r[Uo]);const s=zs(e,yr+t);!function E0(e,t){Py(e,t),t[Qn]=null,t[ui]=null}(r[Re],r);const a=s[vs];null!==a&&a.detachView(s[Re]),r[Pr]=null,r[Uo]=null,r[ot]&=-129}return r}function xu(e,t){if(!(256&t[ot])){const n=t[yt];n.destroyNode&&Fu(e,t,n,3,null,null),function D0(e){let t=e[Tl];if(!t)return sf(e[Re],e);for(;t;){let n=null;if(jr(t))n=t[Tl];else{const r=t[yr];r&&(n=r)}if(!n){for(;t&&!t[Uo]&&t!==e;)jr(t)&&sf(t[Re],t),t=t[Pr];null===t&&(t=e),jr(t)&&sf(t[Re],t),n=t&&t[Uo]}t=n}}(t)}}function sf(e,t){if(256&t[ot])return;const n=L(null);try{t[ot]&=-129,t[ot]|=256,t[To]&&gt(t[To]),function T0(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 xl)){const s=n[r+1];if(Array.isArray(s))for(let a=0;a<s.length;a+=2){const u=i[s[a]],g=s[a+1];os(4,u,g);try{g.call(u)}finally{os(5,u,g)}}else{os(4,i,s);try{s.call(i)}finally{os(5,i,s)}}}}}(e,t),function b0(e,t){const n=e.cleanup,r=t[Sa];if(null!==n)for(let s=0;s<n.length-1;s+=2)if("string"==typeof n[s]){const a=n[s+3];a>=0?r[a]():r[-a].unsubscribe(),s+=2}else n[s].call(r[n[s+1]]);null!==r&&(t[Sa]=null);const i=t[Rs];if(null!==i){t[Rs]=null;for(let s=0;s<i.length;s++)(0,i[s])()}}(e,t),1===t[Re].type&&t[yt].destroy();const r=t[Qs];if(null!==r&&Ei(t[Pr])){r!==t[Pr]&&rf(r,t);const i=t[vs];null!==i&&i.detachView(e)}Ph(t)}finally{L(n)}}function af(e,t,n){return function Ny(e,t,n){let r=t;for(;null!==r&&168&r.type;)r=(t=r).parent;if(null===r)return n[Qn];{const{componentOffset:i}=r;if(i>-1){const{encapsulation:s}=e.data[r.directiveStart+i];if(s===es.None||s===es.Emulated)return null}return Ai(r,n)}}(e,t.parent,n)}function ia(e,t,n,r,i){e.insertBefore(t,n,r,i)}function xy(e,t,n){e.appendChild(t,n)}function Ry(e,t,n,r,i){null!==r?ia(e,t,n,r,i):xy(e,t,n)}function lf(e,t){return e.parentNode(t)}function Fy(e,t,n){return Ly(e,t,n)}let cf,Ly=function ky(e,t,n){return 40&e.type?Ai(e,n):null};function Ru(e,t,n,r){const i=af(e,r,t),s=t[yt],u=Fy(r.parent||t[ui],r,t);if(null!=i)if(Array.isArray(n))for(let g=0;g<n.length;g++)Ry(s,i,n[g],u,!1);else Ry(s,i,n,u,!1);void 0!==cf&&cf(s,r,t,n,i)}function oa(e,t){if(null!==t){const n=t.type;if(3&n)return Ai(t,e);if(4&n)return uf(-1,e[t.index]);if(8&n){const r=t.child;if(null!==r)return oa(e,r);{const i=e[t.index];return Ei(i)?uf(-1,i):sn(i)}}if(128&n)return oa(e,t.next);if(32&n)return ef(t,e)()||sn(e[t.index]);{const r=jy(e,t);return null!==r?Array.isArray(r)?r[0]:oa(Cs(e[Xn]),r):oa(e,t.next)}}return null}function jy(e,t){return null!==t?e[Xn][ui].projection[t.projection]:null}function uf(e,t){const n=yr+e+1;if(n<t.length){const r=t[n],i=r[Re].firstChild;if(null!==i)return oa(r,i)}return t[is]}function df(e,t,n,r,i,s,a){for(;null!=n;){if(128===n.type){n=n.next;continue}const u=r[n.index],g=n.type;if(a&&0===t&&(u&&wi(sn(u),r),n.flags|=2),32&~n.flags)if(8&g)df(e,t,n.child,r,i,s,!1),Ha(t,e,i,u,s);else if(32&g){const w=ef(n,r);let b;for(;b=w();)Ha(t,e,i,b,s);Ha(t,e,i,u,s)}else 16&g?By(e,t,r,n,i,s):Ha(t,e,i,u,s);n=a?n.projectionNext:n.next}}function Fu(e,t,n,r,i,s){df(n,r,e.firstChild,t,i,s,!1)}function By(e,t,n,r,i,s){const a=n[Xn],g=a[ui].projection[r.projection];if(Array.isArray(g))for(let w=0;w<g.length;w++)Ha(t,e,i,g[w],s);else{let w=g;const b=a[Pr];jl(r)&&(w.flags|=128),df(e,t,w,b,i,s,!0)}}function $y(e,t,n){""===n?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n)}function Hy(e,t,n){const{mergedAttrs:r,classes:i,styles:s}=n;null!==r&&Da(e,t,r),null!==i&&$y(e,t,i),null!==s&&function A0(e,t,n){e.setAttribute(t,"style",n)}(e,t,s)}const It={};function Gy(e=1){zy(Ft(),_e(),di()+e,!1)}function zy(e,t,n,r){if(!r)if(3&~t[ot]){const s=e.preOrderHooks;null!==s&&su(t,s,0,n)}else{const s=e.preOrderCheckHooks;null!==s&&ou(t,s,n)}Js(n)}function Ga(e,t=xt.Default){const n=_e();return null===n?wt(e,t):lm(Dn(),n,Je(e),t)}function Wy(){throw new Error("invalid")}function Ky(e,t,n,r,i,s){const a=L(null);try{let u=null;i&ts.SignalBased&&(u=t[r][x]),null!==u&&void 0!==u.transformFn&&(s=u.transformFn(s)),i&ts.HasDecoratorInputTransform&&(s=e.inputTransforms[r].call(t,s)),null!==e.setInput?e.setInput(t,u,s,n,r):Ig(t,u,r,s)}finally{L(a)}}function ku(e,t,n,r,i,s,a,u,g,w,b){const U=t.blueprint.slice();return U[Qn]=i,U[ot]=204|r,(null!==w||e&&2048&e[ot])&&(U[ot]|=2048),xg(U),U[Pr]=U[Oa]=e,U[Bn]=n,U[rs]=a||e&&e[rs],U[yt]=u||e&&e[yt],U[Ar]=g||e&&e[Ar]||null,U[ui]=s,U[Aa]=function nb(){return tb++}(),U[Pi]=b,U[wg]=w,U[Xn]=2==t.type?e[Xn]:U,U}function sa(e,t,n,r,i){let s=e.data[t];if(null===s)s=function hf(e,t,n,r,i){const s=Ug(),a=sh(),g=e.data[t]=function j0(e,t,n,r,i,s){let a=t?t.injectorIndex:-1,u=0;return Zs()&&(u|=128),{type:n,index:r,insertBeforeIndex:null,injectorIndex:a,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:u,providerIndexes:0,value:i,attrs:s,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,a?s:s&&s.parent,n,t,r,i);return null===e.firstChild&&(e.firstChild=g),null!==s&&(a?null==s.child&&null!==g.parent&&(s.child=g):null===s.next&&(s.next=g,g.prev=s)),g}(e,t,n,r,i),function cM(){return _t.lFrame.inI18n}()&&(s.flags|=32);else if(64&s.type){s.type=n,s.value=r,s.attrs=i;const a=function Al(){const e=_t.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}();s.injectorIndex=null===a?-1:a.injectorIndex}return $o(s,!0),s}function Yl(e,t,n,r){if(0===n)return-1;const i=t.length;for(let s=0;s<n;s++)t.push(r),e.blueprint.push(r),e.data.push(null);return i}function qy(e,t,n,r,i){const s=di(),a=2&r;try{Js(-1),a&&t.length>Ze&&zy(e,t,Ze,!1),os(a?2:0,i),n(r,i)}finally{Js(s),os(a?3:1,i)}}function ff(e,t,n){if(Xd(t)){const r=L(null);try{const s=t.directiveEnd;for(let a=t.directiveStart;a<s;a++){const u=e.data[a];u.contentQueries&&u.contentQueries(1,n[a],a)}}finally{L(r)}}}function pf(e,t,n){Lg()&&(function W0(e,t,n,r){const i=n.directiveStart,s=n.directiveEnd;Xs(n)&&function J0(e,t,n){const r=Ai(t,e),i=Qy(n);let a=16;n.signals?a=4096:n.onPush&&(a=64);const u=Lu(e,ku(e,i,null,a,r,t,null,e[rs].rendererFactory.createRenderer(r,n),null,null,null));e[t.index]=u}(t,n,e.data[i+n.componentOffset]),e.firstCreatePass||lu(n,t),wi(r,t);const a=n.initialInputs;for(let u=i;u<s;u++){const g=e.data[u],w=ta(t,e,u,n);wi(w,t),null!==a&&eT(0,u-i,w,g,0,a),Bo(g)&&(uo(n.index,t)[Bn]=ta(t,e,u,n))}}(e,t,n,Ai(n,t)),!(64&~n.flags)&&e_(e,t,n))}function gf(e,t,n=Ai){const r=t.localNames;if(null!==r){let i=t.index+1;for(let s=0;s<r.length;s+=2){const a=r[s+1],u=-1===a?n(t,e):e[a];e[i++]=u}}}function Qy(e){const t=e.tView;return null===t||t.incompleteFirstPass?e.tView=mf(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):t}function mf(e,t,n,r,i,s,a,u,g,w,b){const U=Ze+r,Q=U+i,J=function x0(e,t){const n=[];for(let r=0;r<t;r++)n.push(r<e?null:It);return n}(U,Q),ie="function"==typeof w?w():w;return J[Re]={type:e,blueprint:J,template:n,queries:null,viewQuery:u,declTNode:t,data:J.slice().fill(null,U),bindingStartIndex:U,expandoStartIndex:Q,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:"function"==typeof s?s():s,pipeRegistry:"function"==typeof a?a():a,firstChild:null,schemas:g,consts:ie,incompleteFirstPass:!1,ssrId:b}}let Xy=()=>null;function Yy(e,t,n,r,i){for(let s in t){if(!t.hasOwnProperty(s))continue;const a=t[s];if(void 0===a)continue;r??={};let u,g=ts.None;Array.isArray(a)?(u=a[0],g=a[1]):u=a;let w=s;if(null!==i){if(!i.hasOwnProperty(s))continue;w=i[s]}0===e?Zy(r,n,w,u,g):Zy(r,n,w,u)}return r}function Zy(e,t,n,r,i){let s;e.hasOwnProperty(n)?(s=e[n]).push(t,r):s=e[n]=[t,r],void 0!==i&&s.push(i)}function qi(e,t,n,r,i,s,a,u){const g=Ai(t,n);let b,w=t.inputs;!u&&null!=w&&(b=w[r])?(Ef(e,n,b,r,i),Xs(t)&&function $0(e,t){const n=uo(t,e);16&n[ot]||(n[ot]|=64)}(n,t.index)):3&t.type&&(r=function B0(e){return"class"===e?"className":"for"===e?"htmlFor":"formaction"===e?"formAction":"innerHtml"===e?"innerHTML":"readonly"===e?"readOnly":"tabindex"===e?"tabIndex":e}(r),i=null!=a?a(i,t.value||"",r):i,s.setProperty(g,r,i))}function yf(e,t,n,r){if(Lg()){const i=null===r?null:{"":-1},s=function q0(e,t){const n=e.directiveRegistry;let r=null,i=null;if(n)for(let s=0;s<n.length;s++){const a=n[s];if(T(t,a.selectors,!1))if(r||(r=[]),Bo(a))if(null!==a.findHostDirectiveDefs){const u=[];i=i||new Map,a.findHostDirectiveDefs(a,u,i),r.unshift(...u,a),_f(e,t,u.length)}else r.unshift(a),_f(e,t,0);else i=i||new Map,a.findHostDirectiveDefs?.(a,r,i),r.push(a)}return null===r?null:[r,i]}(e,n);let a,u;null===s?a=u=null:[a,u]=s,null!==a&&Jy(e,t,n,a,i,u),i&&function Q0(e,t,n){if(t){const r=e.localNames=[];for(let i=0;i<t.length;i+=2){const s=n[t[i+1]];if(null==s)throw new ke(-301,!1);r.push(t[i],s)}}}(n,r,i)}n.mergedAttrs=Ma(n.mergedAttrs,n.attrs)}function Jy(e,t,n,r,i,s){for(let w=0;w<r.length;w++)vh(lu(n,t),e,r[w].type);!function Y0(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 b=r[w];b.providersResolver&&b.providersResolver(b)}let a=!1,u=!1,g=Yl(e,t,r.length,null);for(let w=0;w<r.length;w++){const b=r[w];n.mergedAttrs=Ma(n.mergedAttrs,b.hostAttrs),Z0(e,n,t,g,b),X0(g,b,i),null!==b.contentQueries&&(n.flags|=4),(null!==b.hostBindings||null!==b.hostAttrs||0!==b.hostVars)&&(n.flags|=64);const U=b.type.prototype;!a&&(U.ngOnChanges||U.ngOnInit||U.ngDoCheck)&&((e.preOrderHooks??=[]).push(n.index),a=!0),!u&&(U.ngOnChanges||U.ngDoCheck)&&((e.preOrderCheckHooks??=[]).push(n.index),u=!0),g++}!function U0(e,t,n){const i=t.directiveEnd,s=e.data,a=t.attrs,u=[];let g=null,w=null;for(let b=t.directiveStart;b<i;b++){const U=s[b],Q=n?n.get(U):null,ie=Q?Q.outputs:null;g=Yy(0,U.inputs,b,g,Q?Q.inputs:null),w=Yy(1,U.outputs,b,w,ie);const we=null===g||null===a||$c(t)?null:tT(g,b,a);u.push(we)}null!==g&&(g.hasOwnProperty("class")&&(t.flags|=8),g.hasOwnProperty("style")&&(t.flags|=16)),t.initialInputs=u,t.inputs=g,t.outputs=w}(e,n,s)}function e_(e,t,n){const r=n.directiveStart,i=n.directiveEnd,s=n.index,a=function dM(){return _t.lFrame.currentDirectiveIndex}();try{Js(s);for(let u=r;u<i;u++){const g=e.data[u],w=t[u];lh(u),(null!==g.hostBindings||0!==g.hostVars||null!==g.hostAttrs)&&K0(g,w)}}finally{Js(-1),lh(a)}}function K0(e,t){null!==e.hostBindings&&e.hostBindings(1,t)}function _f(e,t,n){t.componentOffset=n,(e.components??=[]).push(t.index)}function X0(e,t,n){if(n){if(t.exportAs)for(let r=0;r<t.exportAs.length;r++)n[t.exportAs[r]]=e;Bo(t)&&(n[""]=e)}}function Z0(e,t,n,r,i){e.data[r]=i;const s=i.factory||(i.factory=_s(i.type)),a=new xl(s,Bo(i),Ga);e.blueprint[r]=a,n[r]=a,function G0(e,t,n,r,i){const s=i.hostBindings;if(s){let a=e.hostBindingOpCodes;null===a&&(a=e.hostBindingOpCodes=[]);const u=~t.index;(function z0(e){let t=e.length;for(;t>0;){const n=e[--t];if("number"==typeof n&&n<0)return n}return 0})(a)!=u&&a.push(u),a.push(n,r,s)}}(e,t,r,Yl(e,n,i.hostVars,It),i)}function cs(e,t,n,r,i,s){const a=Ai(e,t);!function vf(e,t,n,r,i,s,a){if(null==s)e.removeAttribute(t,i,n);else{const u=null==a?ut(s):a(s,r||"",i);e.setAttribute(t,i,u,n)}}(t[yt],a,s,e.value,n,r,i)}function eT(e,t,n,r,i,s){const a=s[t];if(null!==a)for(let u=0;u<a.length;)Ky(r,n,a[u++],a[u++],a[u++],a[u++])}function tT(e,t,n){let r=null,i=0;for(;i<n.length;){const s=n[i];if(0!==s)if(5!==s){if("number"==typeof s)break;if(e.hasOwnProperty(s)){null===r&&(r=[]);const a=e[s];for(let u=0;u<a.length;u+=3)if(a[u]===t){r.push(s,a[u+1],a[u+2],n[i+1]);break}}i+=2}else i+=2;else i+=4}return r}function t_(e,t,n,r){return[e,!0,0,t,null,r,null,n,null,null]}function n_(e,t){const n=e.contentQueries;if(null!==n){const r=L(null);try{for(let i=0;i<n.length;i+=2){const a=n[i+1];if(-1!==a){const u=e.data[a];ru(n[i]),u.contentQueries(2,t[a],a)}}}finally{L(r)}}}function Lu(e,t){return e[Tl]?e[Eg][Uo]=t:e[Tl]=t,e[Eg]=t,t}function Cf(e,t,n){ru(0);const r=L(null);try{t(e,n)}finally{L(r)}}function r_(e){return e[Sa]??=[]}function i_(e){return e.cleanup??=[]}function Vu(e,t){const n=e[Ar],r=n?n.get(Ds,null):null;r&&r.handleError(t)}function Ef(e,t,n,r,i){for(let s=0;s<n.length;){const a=n[s++],u=n[s++],g=n[s++];Ky(e.data[a],t[a],r,u,g,i)}}function bs(e,t,n){const r=Ol(t,e);!function Oy(e,t,n){e.setValue(t,n)}(e[yt],r,n)}function nT(e,t){const n=uo(t,e),r=n[Re];!function rT(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])}(r,n);const i=n[Qn];null!==i&&null===n[Pi]&&(n[Pi]=jh(i,n[Ar])),wf(r,n,n[Bn])}function wf(e,t,n){dh(t);try{const r=e.viewQuery;null!==r&&Cf(1,r,n);const i=e.template;null!==i&&qy(e,t,i,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),t[vs]?.finishViewCreation(e),e.staticContentQueries&&n_(e,t),e.staticViewQueries&&Cf(2,e.viewQuery,n);const s=e.components;null!==s&&function iT(e,t){for(let n=0;n<t.length;n++)nT(e,t[n])}(t,s)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{t[ot]&=-5,hh()}}function za(e,t,n,r){const i=L(null);try{const s=t.tView,g=ku(e,s,n,4096&e[ot]?4096:16,null,t,null,null,r?.injector??null,r?.embeddedViewInjector??null,r?.dehydratedView??null);g[Qs]=e[t.index];const b=e[vs];return null!==b&&(g[vs]=b.createEmbeddedView(s)),wf(s,g,n),g}finally{L(i)}}function s_(e,t){const n=yr+t;if(n<e.length)return e[n]}function aa(e,t){return!t||null===t.firstChild||jl(e)}function Wa(e,t,n,r=!0){const i=t[Re];if(function M0(e,t,n,r){const i=yr+r,s=n.length;r>0&&(n[i-1][Uo]=t),r<s-yr?(t[Uo]=n[i],El(n,yr+r,t)):(n.push(t),t[Uo]=null),t[Pr]=n;const a=t[Qs];null!==a&&n!==a&&Ay(a,t);const u=t[vs];null!==u&&u.insertView(e),rh(t),t[ot]|=128}(i,t,e,n),r){const a=uf(n,e),u=t[yt],g=lf(u,e[is]);null!==g&&function w0(e,t,n,r,i,s){r[Qn]=i,r[ui]=t,Fu(e,r,n,1,i,s)}(i,e[ui],u,t,g,a)}const s=t[Pi];null!==s&&null!==s.firstChild&&(s.firstChild=null)}function Df(e,t){const n=Ql(e,t);return void 0!==n&&xu(n[Re],n),n}function Zl(e,t,n,r,i=!1){for(;null!==n;){if(128===n.type){n=i?n.projectionNext:n.next;continue}const s=t[n.index];null!==s&&r.push(sn(s)),Ei(s)&&a_(s,r);const a=n.type;if(8&a)Zl(e,t,n.child,r);else if(32&a){const u=ef(n,t);let g;for(;g=u();)r.push(g)}else if(16&a){const u=jy(t,n);if(Array.isArray(u))r.push(...u);else{const g=Cs(t[Xn]);Zl(g[Re],g,u,r,!0)}}n=i?n.projectionNext:n.next}return r}function a_(e,t){for(let n=yr;n<e.length;n++){const r=e[n],i=r[Re].firstChild;null!==i&&Zl(r[Re],r,i,t)}e[is]!==e[Qn]&&t.push(e[is])}let l_=[];const lT={...te,consumerIsAlwaysLive:!0,consumerMarkedDirty:e=>{eu(e.lView)},consumerOnSignalRead(){this.lView[To]=this}},uT={...te,consumerIsAlwaysLive:!0,consumerMarkedDirty:e=>{let t=Cs(e.lView);for(;t&&!c_(t[Re]);)t=Cs(t);t&&Rg(t)},consumerOnSignalRead(){this.lView[To]=this}};function c_(e){return 2!==e.type}const dT=100;function ju(e,t=!0,n=0){const r=e[rs],i=r.rendererFactory;i.begin?.();try{!function hT(e,t){const n=Hg();try{Gg(!0),Mf(e,t);let r=0;for(;Jc(e);){if(r===dT)throw new ke(103,!1);r++,Mf(e,1)}}finally{Gg(n)}}(e,n)}catch(a){throw t&&Vu(e,a),a}finally{i.end?.(),r.inlineEffectRunner?.flush()}}function fT(e,t,n,r){const i=t[ot];if(!(256&~i))return;t[rs].inlineEffectRunner?.flush(),dh(t);let u=!0,g=null,w=null;c_(e)?(w=function oT(e){return e[To]??function sT(e){const t=l_.pop()??Object.create(lT);return t.lView=e,t}(e)}(t),g=Le(w)):null===function $(){return M}()?(u=!1,w=function cT(e){const t=e[To]??Object.create(uT);return t.lView=e,t}(t),g=Le(w)):t[To]&&(gt(t[To]),t[To]=null);try{xg(t),function zg(e){return _t.lFrame.bindingIndex=e}(e.bindingStartIndex),null!==n&&qy(e,t,n,2,r);const b=!(3&~i);if(b){const J=e.preOrderCheckHooks;null!==J&&ou(t,J,null)}else{const J=e.preOrderHooks;null!==J&&su(t,J,0,null),fh(t,0)}if(function pT(e){for(let t=Vm(e);null!==t;t=jm(t)){if(!(t[ot]&Yc.HasTransplantedViews))continue;const n=t[Na];for(let r=0;r<n.length;r++)Rg(n[r])}}(t),d_(t,0),null!==e.contentQueries&&n_(e,t),b){const J=e.contentCheckHooks;null!==J&&ou(t,J)}else{const J=e.contentHooks;null!==J&&su(t,J,1),fh(t,1)}!function N0(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)Js(~i);else{const s=i,a=n[++r],u=n[++r];uM(a,s),u(2,t[s])}}}finally{Js(-1)}}(e,t);const U=e.components;null!==U&&f_(t,U,0);const Q=e.viewQuery;if(null!==Q&&Cf(2,Q,r),b){const J=e.viewCheckHooks;null!==J&&ou(t,J)}else{const J=e.viewHooks;null!==J&&su(t,J,2),fh(t,2)}if(!0===e.firstUpdatePass&&(e.firstUpdatePass=!1),t[Qc]){for(const J of t[Qc])J();t[Qc]=null}t[ot]&=-73}catch(b){throw eu(t),b}finally{null!==w&&(Qe(w,g),u&&function aT(e){e.lView[To]!==e&&(e.lView=null,l_.push(e))}(w)),hh()}}function d_(e,t){for(let n=Vm(e);null!==n;n=jm(n))for(let r=yr;r<n.length;r++)h_(n[r],t)}function gT(e,t,n){h_(uo(t,e),n)}function h_(e,t){nh(e)&&Mf(e,t)}function Mf(e,t){const r=e[Re],i=e[ot],s=e[To];let a=!!(0===t&&16&i);if(a||=!!(64&i&&0===t),a||=!!(1024&i),a||=!(!s?.dirty||!$e(s)),a||=!1,s&&(s.dirty=!1),e[ot]&=-9217,a)fT(r,e,r.template,e[Bn]);else if(8192&i){d_(e,1);const u=r.components;null!==u&&f_(e,u,1)}}function f_(e,t,n){for(let r=0;r<t.length;r++)gT(e,t[r],n)}function Jl(e,t){const n=Hg()?64:1088;for(e[rs].changeDetectionScheduler?.notify(t);e;){e[ot]|=n;const r=Cs(e);if(Sl(e)&&!r)return e;e=r}return null}class ec{get rootNodes(){const t=this._lView,n=t[Re];return Zl(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[Bn]}set context(t){this._lView[Bn]=t}get destroyed(){return!(256&~this._lView[ot])}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){const t=this._lView[Pr];if(Ei(t)){const n=t[8],r=n?n.indexOf(this):-1;r>-1&&(Ql(t,r),zs(n,r))}this._attachedToViewContainer=!1}xu(this._lView[Re],this._lView)}onDestroy(t){tu(this._lView,t)}markForCheck(){Jl(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[ot]&=-129}reattach(){rh(this._lView),this._lView[ot]|=128}detectChanges(){this._lView[ot]|=1024,ju(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new ke(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;const t=Sl(this._lView),n=this._lView[Qs];null!==n&&!t&&rf(n,this._lView),Py(this._lView[Re],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new ke(902,!1);this._appRef=t;const n=Sl(this._lView),r=this._lView[Qs];null!==r&&!n&&Ay(r,this._lView),rh(this._lView)}}let tc=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=_T}return e})();const mT=tc,yT=class extends mT{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=za(this._declarationLView,this._declarationTContainer,t,{embeddedViewInjector:n,dehydratedView:r});return new ec(i)}};function _T(){return Uu(Dn(),_e())}function Uu(e,t){return 4&e.type?new yT(t,e,ka(e,t)):null}let R_=()=>null;function ca(e,t){return R_(e,t)}class qa{}const cc=new st("",{providedIn:"root",factory:()=>!1}),F_=new st(""),Ff=new st("");class uI{}class k_{}class hI{resolveComponentFactory(t){throw function dI(e){const t=Error(`No component factory found for ${Wn(e)}.`);return t.ngComponent=e,t}(t)}}class uc{static#e=this.NULL=new hI}class kf{}let fI=(()=>{class e{constructor(){this.destroyNode=null}static#e=this.__NG_ELEMENT_ID__=()=>function pI(){const e=_e(),n=uo(Dn().index,e);return(jr(n)?n:e)[yt]}()}return e})(),gI=(()=>{class e{static#e=this.\u0275prov=lt({token:e,providedIn:"root",factory:()=>null})}return e})();function Ls(e){return!!Ci(e)}function Ku(e,t,n){let r=n?e.styles:null,i=n?e.classes:null,s=0;if(null!==t)for(let a=0;a<t.length;a++){const u=t[a];"number"==typeof u?s=u:1==s?i=ps(i,u):2==s&&(r=ps(r,u+": "+t[++a]+";"))}n?e.styles=r:e.stylesWithoutHost=r,n?e.classes=i:e.classesWithoutHost=i}class U_ extends uc{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const n=Ut(t);return new fc(n,this.ngModule)}}function B_(e,t){const n=[];for(const r in e){if(!e.hasOwnProperty(r))continue;const i=e[r];if(void 0===i)continue;const s=Array.isArray(i),a=s?i[0]:i;n.push(t?{propName:a,templateName:r,isSignal:!!((s?i[1]:ts.None)&ts.SignalBased)}:{propName:a,templateName:r})}return n}class fc extends k_{get inputs(){const t=this.componentDef,n=t.inputTransforms,r=B_(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 B_(this.componentDef.outputs,!1)}constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=function Dt(e){return e.map(dt).join(",")}(t.selectors),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!n}create(t,n,r,i){const s=L(null);try{let a=(i=i||this.ngModule)instanceof bo?i:i?.injector;a&&null!==this.componentDef.getStandaloneInjector&&(a=this.componentDef.getStandaloneInjector(a)||a);const u=a?new ea(t,a):t,g=u.get(kf,null);if(null===g)throw new ke(407,!1);const U={rendererFactory:g,sanitizer:u.get(gI,null),inlineEffectRunner:null,changeDetectionScheduler:u.get(qa,null)},Q=g.createRenderer(null,this.componentDef),J=this.componentDef.selectors[0][0]||"div",ie=r?function R0(e,t,n,r){const s=r.get(ry,!1)||n===es.ShadowDom,a=e.selectRootElement(t,s);return function F0(e){Xy(e)}(a),a}(Q,r,this.componentDef.encapsulation,u):Nu(Q,J,function _I(e){const t=e.toLowerCase();return"svg"===t?"svg":"math"===t?"math":null}(J));let we=512;this.componentDef.signals?we|=4096:this.componentDef.onPush||(we|=16);let Fe=null;null!==ie&&(Fe=jh(ie,u,!0));const je=mf(0,null,null,1,0,null,null,null,null,null,null),De=ku(null,je,null,we,null,null,U,Q,u,null,Fe);dh(De);let Mt,Xt,Tn=null;try{const Er=this.componentDef;let Xi,_l=null;Er.findHostDirectiveDefs?(Xi=[],_l=new Map,Er.findHostDirectiveDefs(Er,Xi,_l),Xi.push(Er)):Xi=[Er];const wD=function CI(e,t){const n=e[Re],r=Ze;return e[r]=t,sa(n,r,2,"#host",null)}(De,ie);Tn=function EI(e,t,n,r,i,s,a){const u=i[Re];!function wI(e,t,n,r){for(const i of e)t.mergedAttrs=Ma(t.mergedAttrs,i.hostAttrs);null!==t.mergedAttrs&&(Ku(t,t.mergedAttrs,!0),null!==n&&Hy(r,n,t))}(r,e,t,a);let g=null;null!==t&&(g=jh(t,i[Ar]));const w=s.rendererFactory.createRenderer(t,n);let b=16;n.signals?b=4096:n.onPush&&(b=64);const U=ku(i,Qy(n),null,b,i[e.index],e,s,w,null,null,g);return u.firstCreatePass&&_f(u,e,r.length-1),Lu(i,U),i[e.index]=U}(wD,ie,Er,Xi,De,U,Q),Xt=Pl(je,Ze),ie&&function MI(e,t,n,r){if(r)Da(e,n,["ng-version","18.2.5"]);else{const{attrs:i,classes:s}=function Pn(e){const t=[],n=[];let r=1,i=2;for(;r<e.length;){let s=e[r];if("string"==typeof s)2===i?""!==s&&t.push(s,e[++r]):8===i&&n.push(s);else{if(!p(i))break;i=s}r++}return{attrs:t,classes:n}}(t.selectors[0]);i&&Da(e,n,i),s&&s.length>0&&$y(e,n,s.join(" "))}}(Q,Er,ie,r),void 0!==n&&function bI(e,t,n){const r=e.projection=[];for(let i=0;i<t.length;i++){const s=n[i];r.push(null!=s?Array.from(s):null)}}(Xt,this.ngContentSelectors,n),Mt=function DI(e,t,n,r,i,s){const a=Dn(),u=i[Re],g=Ai(a,i);Jy(u,i,a,n,null,r);for(let b=0;b<n.length;b++)wi(ta(i,u,a.directiveStart+b,a),i);e_(u,i,a),g&&wi(g,i);const w=ta(i,u,a.directiveStart+a.componentOffset,a);if(e[Bn]=i[Bn]=w,null!==s)for(const b of s)b(w,t);return ff(u,a,i),w}(Tn,Er,Xi,_l,De,[TI]),wf(je,De,null)}catch(Er){throw null!==Tn&&Ph(Tn),Ph(De),Er}finally{hh()}return new vI(this.componentType,Mt,ka(Xt,De),De,Xt)}finally{L(s)}}}class vI extends uI{constructor(t,n,r,i,s){super(),this.location=r,this._rootLView=i,this._tNode=s,this.previousInputValues=null,this.instance=n,this.hostView=this.changeDetectorRef=new ec(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 s=this._rootLView;Ef(s[Re],s,i,t,n),this.previousInputValues.set(t,n),Jl(uo(this._tNode.index,s),1)}}get injector(){return new Ur(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}}function TI(){const e=Dn();iu(_e()[Re],e)}let qu=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=II}return e})();function II(){return G_(Dn(),_e())}const SI=qu,$_=class extends SI{constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return ka(this._hostTNode,this._hostLView)}get injector(){return new Ur(this._hostTNode,this._hostLView)}get parentInjector(){const t=cu(this._hostTNode,this._hostLView);if(mh(t)){const n=Fl(t,this._hostLView),r=Rl(t);return new Ur(n[Re].data[r+8],n)}return new Ur(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const n=H_(this._lContainer);return null!==n&&n[t]||null}get length(){return this._lContainer.length-yr}createEmbeddedView(t,n,r){let i,s;"number"==typeof r?i=r:null!=r&&(i=r.index,s=r.injector);const a=ca(this._lContainer,t.ssrId),u=t.createEmbeddedViewImpl(n||{},s,a);return this.insertImpl(u,i,aa(this._hostTNode,a)),u}createComponent(t,n,r,i,s){const a=t&&!function bl(e){return"function"==typeof e}(t);let u;if(a)u=n;else{const ie=n||{};u=ie.index,r=ie.injector,i=ie.projectableNodes,s=ie.environmentInjector||ie.ngModuleRef}const g=a?t:new fc(Ut(t)),w=r||this.parentInjector;if(!s&&null==g.ngModule){const we=(a?w:this.parentInjector).get(bo,null);we&&(s=we)}const b=Ut(g.componentType??{}),U=ca(this._lContainer,b?.id??null),J=g.create(w,i,U?.firstChild??null,s);return this.insertImpl(J.hostView,u,aa(this._hostTNode,U)),J}insert(t,n){return this.insertImpl(t,n,!0)}insertImpl(t,n,r){const i=t._lView;if(function eM(e){return Ei(e[Pr])}(i)){const u=this.indexOf(t);if(-1!==u)this.detach(u);else{const g=i[Pr],w=new $_(g,g[ui],g[Pr]);w.detach(w.indexOf(t))}}const s=this._adjustIndex(n),a=this._lContainer;return Wa(a,i,s,r),t.attachToViewContainerRef(),El(jf(a),s,t),t}move(t,n){return this.insert(t,n)}indexOf(t){const n=H_(this._lContainer);return null!==n?n.indexOf(t):-1}remove(t){const n=this._adjustIndex(t,-1),r=Ql(this._lContainer,n);r&&(zs(jf(this._lContainer),n),xu(r[Re],r))}detach(t){const n=this._adjustIndex(t,-1),r=Ql(this._lContainer,n);return r&&null!=zs(jf(this._lContainer),n)?new ec(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function H_(e){return e[8]}function jf(e){return e[8]||(e[8]=[])}function G_(e,t){let n;const r=t[e.index];return Ei(r)?n=r:(n=t_(r,t,null,e),t[e.index]=n,Lu(t,n)),z_(n,t,e,r),new $_(n,e,t)}let z_=function K_(e,t,n,r){if(e[is])return;let i;i=8&n.type?sn(r):function OI(e,t){const n=e[yt],r=n.createComment(""),i=Ai(t,e);return ia(n,lf(n,i),r,function I0(e,t){return e.nextSibling(t)}(n,i),!1),r}(t,n),e[is]=i},Uf=()=>!1;class Bf{constructor(t){this.queryList=t,this.matches=null}clone(){return new Bf(this.queryList)}setDirty(){this.queryList.setDirty()}}class $f{constructor(t=[]){this.queries=t}createEmbeddedView(t){const n=t.queries;if(null!==n){const r=null!==t.contentQueries?t.contentQueries[0]:n.length,i=[];for(let s=0;s<r;s++){const a=n.getByIndex(s);i.push(this.queries[a.indexInDeclarationView].clone())}return new $f(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!==Kf(t,n).matches&&this.queries[n].setDirty()}}class q_{constructor(t,n,r=null){this.flags=n,this.read=r,this.predicate="string"==typeof t?function LI(e){return e.split(",").map(t=>t.trim())}(t):t}}class Hf{constructor(t=[]){this.queries=t}elementStart(t,n){for(let r=0;r<this.queries.length;r++)this.queries[r].elementStart(t,n)}elementEnd(t){for(let n=0;n<this.queries.length;n++)this.queries[n].elementEnd(t)}embeddedTView(t){let n=null;for(let r=0;r<this.length;r++){const i=null!==n?n.length:0,s=this.getByIndex(r).embeddedTView(t,i);s&&(s.indexInDeclarationView=r,null!==n?n.push(s):n=[s])}return null!==n?new Hf(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 Gf{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 Gf(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 s=r[i];this.matchTNodeWithReadOption(t,n,xI(n,s)),this.matchTNodeWithReadOption(t,n,uu(n,t,s,!1,!1))}else r===tc?4&n.type&&this.matchTNodeWithReadOption(t,n,-1):this.matchTNodeWithReadOption(t,n,uu(n,t,r,!1,!1))}matchTNodeWithReadOption(t,n,r){if(null!==r){const i=this.metadata.read;if(null!==i)if(i===Ll||i===qu||i===tc&&4&n.type)this.addMatch(n.index,-2);else{const s=uu(n,t,i,!1,!1);null!==s&&this.addMatch(n.index,s)}else this.addMatch(n.index,r)}}addMatch(t,n){null===this.matches?this.matches=[t,n]:this.matches.push(t,n)}}function xI(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 FI(e,t,n,r){return-1===n?function RI(e,t){return 11&e.type?ka(e,t):4&e.type?Uu(e,t):null}(t,e):-2===n?function kI(e,t,n){return n===Ll?ka(t,e):n===tc?Uu(t,e):n===qu?G_(t,e):void 0}(e,t,r):ta(e,e[Re],n,t)}function Q_(e,t,n,r){const i=t[vs].queries[r];if(null===i.matches){const s=e.data,a=n.matches,u=[];for(let g=0;null!==a&&g<a.length;g+=2){const w=a[g];u.push(w<0?null:FI(t,s[w],a[g+1],n.metadata.read))}i.matches=u}return i.matches}function zf(e,t,n,r){const i=e.queries.getByIndex(n),s=i.matches;if(null!==s){const a=Q_(e,t,i,n);for(let u=0;u<s.length;u+=2){const g=s[u];if(g>0)r.push(a[u/2]);else{const w=s[u+1],b=t[-g];for(let U=yr;U<b.length;U++){const Q=b[U];Q[Qs]===Q[Pr]&&zf(Q[Re],Q,w,r)}if(null!==b[Na]){const U=b[Na];for(let Q=0;Q<U.length;Q++){const J=U[Q];zf(J[Re],J,w,r)}}}}}return r}function X_(e,t,n){const r=new Ih(!(4&~n));return function V0(e,t,n,r){const i=r_(t);i.push(n),e.firstCreatePass&&i_(e).push(r,i.length-1)}(e,t,r,r.destroy),(t[vs]??=new $f).queries.push(new Bf(r))-1}function J_(e,t,n){null===e.queries&&(e.queries=new Hf),e.queries.track(new Gf(t,n))}function Kf(e,t){return e.queries.getByIndex(t)}function ev(e,t){const n=e[Re],r=Kf(n,t);return r.crossesNgTemplate?zf(n,e,t,[]):Q_(n,e,r,t)}const tv=new Set;function xi(e){tv.has(e)||(tv.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}function rv(e,t){xi("NgSignals");const n=function et(e){const t=Object.create(Gn);t.value=e;const n=()=>(ae(t),t.value);return n[x]=t,n}(e),r=n[x];return t?.equal&&(r.equal=t.equal),n.set=i=>yn(r,i),n.update=i=>function _n(e,t){Oe()||In(),yn(e,t(e.value))}(r,i),n.asReadonly=iv.bind(n),n}function iv(){const e=this[x];if(void 0===e.readonlyFn){const t=()=>this();t[x]=e,e.readonlyFn=t}return e.readonlyFn}function ov(e){return function nv(e){return"function"==typeof e&&void 0!==e[x]}(e)&&"function"==typeof e.set}function Qf(e){let t=function mv(e){return Object.getPrototypeOf(e.prototype).constructor}(e.type),n=!0;const r=[e];for(;t;){let i;if(Bo(e))i=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new ke(903,!1);i=t.\u0275dir}if(i){if(n){r.push(i);const a=e;a.inputs=Xu(e.inputs),a.inputTransforms=Xu(e.inputTransforms),a.declaredInputs=Xu(e.declaredInputs),a.outputs=Xu(e.outputs);const u=i.hostBindings;u&&ZI(e,u);const g=i.viewQuery,w=i.contentQueries;if(g&&XI(e,g),w&&YI(e,w),qI(e,i),Ss(e.outputs,i.outputs),Bo(i)&&i.data.animation){const b=e.data;b.animation=(b.animation||[]).concat(i.data.animation)}}const s=i.features;if(s)for(let a=0;a<s.length;a++){const u=s[a];u&&u.ngInherit&&u(e),u===Qf&&(n=!1)}}t=Object.getPrototypeOf(t)}!function QI(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=Ma(i.hostAttrs,n=Ma(n,i.hostAttrs))}}(r)}function qI(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 Xu(e){return e===Mo?{}:e===tn?[]:e}function XI(e,t){const n=e.viewQuery;e.viewQuery=n?(r,i)=>{t(r,i),n(r,i)}:t}function YI(e,t){const n=e.contentQueries;e.contentQueries=n?(r,i,s)=>{t(r,i,s),n(r,i,s)}:t}function ZI(e,t){const n=e.hostBindings;e.hostBindings=n?(r,i)=>{t(r,i),n(r,i)}:t}function Cv(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 ua{}class Ev{}function iS(e,t){return new Xf(e,t??null,[])}class Xf extends ua{constructor(t,n,r,i=!0){super(),this.ngModuleType=t,this._parent=n,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new U_(this);const s=Ci(t);this._bootstrapComponents=ho(s.bootstrap),this._r3Injector=vm(t,n,[{provide:ua,useValue:this},{provide:uc,useValue:this.componentFactoryResolver},...r],Wn(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 Yf extends Ev{constructor(t){super(),this.moduleType=t}create(t){return new Xf(this.moduleType,t,[])}}class wv extends ua{constructor(t){super(),this.componentFactoryResolver=new U_(this),this.instance=null;const n=new ba([...t.providers,{provide:ua,useValue:this},{provide:uc,useValue:this.componentFactoryResolver}],t.parent||Kc(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}}function Zf(e,t,n=null){return new wv({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}function Yu(e){return!!Jf(e)&&(Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e)}function Jf(e){return null!==e&&("function"==typeof e||"object"==typeof e)}function us(e,t,n){return e[t]=n}function _r(e,t,n){return!Object.is(e[t],n)&&(e[t]=n,!0)}function da(e,t,n,r){const i=_r(e,t,n);return _r(e,t+1,r)||i}function mc(e,t,n,r,i,s,a,u,g,w){const b=n+Ze,U=t.firstCreatePass?function uS(e,t,n,r,i,s,a,u,g){const w=t.consts,b=sa(t,e,4,a||null,u||null);yf(t,n,b,Io(w,g)),iu(t,b);const U=b.tView=mf(2,b,r,i,s,t.directiveRegistry,t.pipeRegistry,null,t.schemas,w,null);return null!==t.queries&&(t.queries.template(t,b),U.queries=t.queries.embeddedTView(b)),b}(b,t,e,r,i,s,a,u,g):t.data[b];$o(U,!1);const Q=Dv(t,e,U,n);Nl()&&Ru(t,e,Q,U),wi(Q,e);const J=t_(Q,e,Q,U);return e[b]=J,Lu(e,J),function W_(e,t,n){return Uf(e,t,n)}(J,U,e),Zc(U)&&pf(t,e,U),null!=g&&gf(e,U,w),U}function ep(e,t,n,r,i,s,a,u){const g=_e(),w=Ft();return mc(g,w,e,t,n,r,i,Io(w.consts,s),a,u),ep}let Dv=function Mv(e,t,n,r){return ss(!0),t[yt].createComment("")};var Za=function(e){return e[e.EarlyRead=0]="EarlyRead",e[e.Write=1]="Write",e[e.MixedReadWrite=2]="MixedReadWrite",e[e.Read=3]="Read",e}(Za||{});let Pv=(()=>{class e{constructor(){this.impl=null}execute(){this.impl?.execute()}static#e=this.\u0275prov=lt({token:e,providedIn:"root",factory:()=>new e})}return e})();class vc{constructor(){this.ngZone=Ae(Yn),this.scheduler=Ae(qa),this.errorHandler=Ae(Ds,{optional:!0}),this.sequences=new Set,this.deferredRegistrations=new Set,this.executing=!1}static#e=this.PHASES=[Za.EarlyRead,Za.Write,Za.MixedReadWrite,Za.Read];execute(){this.executing=!0;for(const t of vc.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=lt({token:vc,providedIn:"root",factory:()=>new vc})}class pS{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 nd(e,t){!t?.injector&&function Kd(e){if(!vg())throw new ke(-203,!1)}();const n=t?.injector??Ae(hi);return function fo(e){return"browser"===(e??Ae(hi)).get(_u)}(n)?(xi("NgAfterNextRender"),function Av(e,t,n,r){const i=t.get(Pv);i.impl??=t.get(vc);const a=new pS(i.impl,function mS(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??Za.MixedReadWrite),r,t.get(kl));return i.impl.register(a),a}(e,n,t,!0)):Nv}const Nv={destroy(){}};function dp(e,t,n,r){const i=_e();return _r(i,Ho(),t)&&(Ft(),cs($n(),i,e,t,n,r)),dp}function ol(e,t,n,r){return _r(e,Ho(),n)?t+ut(n)+r:It}function sl(e,t,n,r,i,s){const u=da(e,function Es(){return _t.lFrame.bindingIndex}(),n,i);return ws(2),u?t+ut(n)+r+ut(i)+s:It}function od(e,t){return e<<17|t<<2}function Us(e){return e>>17&32767}function hp(e){return 2|e}function fa(e){return(131068&e)>>2}function fp(e,t){return-131069&e|t<<2}function pp(e){return 1|e}function iC(e,t,n,r){const i=e[n+1],s=null===t;let a=r?Us(i):fa(i),u=!1;for(;0!==a&&(!1===u||s);){const w=e[a+1];ZS(e[a],t)&&(u=!0,e[a+1]=r?pp(w):hp(w)),a=r?Us(w):fa(w)}u&&(e[n+1]=r?hp(i):pp(i))}function ZS(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&Ws(e,t)>=0}const Br={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function oC(e){return e.substring(Br.key,Br.keyEnd)}function sC(e,t){const n=Br.textEnd;return n===t?-1:(t=Br.keyEnd=function nO(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}(e,Br.key=t,n),fl(e,t,n))}function fl(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function gp(e,t,n){const r=_e();return _r(r,Ho(),t)&&qi(Ft(),$n(),r,e,t,r[yt],n,!1),gp}function mp(e,t,n,r,i){const a=i?"class":"style";Ef(e,n,t.inputs[a],a,r)}function yp(e,t,n){return Go(e,t,n,!1),yp}function _p(e,t){return Go(e,t,null,!0),_p}function dC(e){zo(dO,hs,e,!0)}function hs(e,t){for(let n=function eO(e){return function lC(e){Br.key=0,Br.keyEnd=0,Br.value=0,Br.valueEnd=0,Br.textEnd=e.length}(e),sC(e,fl(e,0,Br.textEnd))}(t);n>=0;n=sC(t,n))Si(e,oC(t),!0)}function Go(e,t,n,r){const i=_e(),s=Ft(),a=ws(2);s.firstUpdatePass&&fC(s,e,a,r),t!==It&&_r(i,a,t)&&gC(s,s.data[di()],i,i[yt],e,i[a+1]=function fO(e,t){return null==e||""===e||("string"==typeof t?e+=t:"object"==typeof e&&(e=Wn(ks(e)))),e}(t,n),r,a)}function zo(e,t,n,r){const i=Ft(),s=ws(2);i.firstUpdatePass&&fC(i,null,s,r);const a=_e();if(n!==It&&_r(a,s,n)){const u=i.data[di()];if(yC(u,r)&&!hC(i,s)){let g=r?u.classesWithoutHost:u.stylesWithoutHost;null!==g&&(n=ps(g,n||"")),mp(i,u,a,n,r)}else!function hO(e,t,n,r,i,s,a,u){i===It&&(i=tn);let g=0,w=0,b=0<i.length?i[0]:null,U=0<s.length?s[0]:null;for(;null!==b||null!==U;){const Q=g<i.length?i[g+1]:void 0,J=w<s.length?s[w+1]:void 0;let we,ie=null;b===U?(g+=2,w+=2,Q!==J&&(ie=U,we=J)):null===U||null!==b&&b<U?(g+=2,ie=b):(w+=2,ie=U,we=J),null!==ie&&gC(e,t,n,r,ie,we,a,u),b=g<i.length?i[g]:null,U=w<s.length?s[w]:null}}(i,u,a,a[yt],a[s+1],a[s+1]=function uO(e,t,n){if(null==n||""===n)return tn;const r=[],i=ks(n);if(Array.isArray(i))for(let s=0;s<i.length;s++)e(r,i[s],!0);else if("object"==typeof i)for(const s in i)i.hasOwnProperty(s)&&e(r,s,i[s]);else"string"==typeof i&&t(r,i);return r}(e,t,n),r,s)}}function hC(e,t){return t>=e.expandoStartIndex}function fC(e,t,n,r){const i=e.data;if(null===i[n+1]){const s=i[di()],a=hC(e,n);yC(s,r)&&null===t&&!a&&(t=!1),t=function sO(e,t,n,r){const i=function ch(e){const t=_t.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}(e);let s=r?t.residualClasses:t.residualStyles;if(null===i)0===(r?t.classBindings:t.styleBindings)&&(n=Ec(n=vp(null,e,t,n,r),t.attrs,r),s=null);else{const a=t.directiveStylingLast;if(-1===a||e[a]!==i)if(n=vp(i,e,t,n,r),null===s){let g=function aO(e,t,n){const r=n?t.classBindings:t.styleBindings;if(0!==fa(r))return e[Us(r)]}(e,t,r);void 0!==g&&Array.isArray(g)&&(g=vp(null,e,t,g[1],r),g=Ec(g,t.attrs,r),function lO(e,t,n,r){e[Us(n?t.classBindings:t.styleBindings)]=r}(e,t,r,g))}else s=function cO(e,t,n){let r;const i=t.directiveEnd;for(let s=1+t.directiveStylingLast;s<i;s++)r=Ec(r,e[s].hostAttrs,n);return Ec(r,t.attrs,n)}(e,t,r)}return void 0!==s&&(r?t.residualClasses=s:t.residualStyles=s),n}(i,s,t,r),function XS(e,t,n,r,i,s){let a=s?t.classBindings:t.styleBindings,u=Us(a),g=fa(a);e[r]=n;let b,w=!1;if(Array.isArray(n)?(b=n[1],(null===b||Ws(n,b)>0)&&(w=!0)):b=n,i)if(0!==g){const Q=Us(e[u+1]);e[r+1]=od(Q,u),0!==Q&&(e[Q+1]=fp(e[Q+1],r)),e[u+1]=function qS(e,t){return 131071&e|t<<17}(e[u+1],r)}else e[r+1]=od(u,0),0!==u&&(e[u+1]=fp(e[u+1],r)),u=r;else e[r+1]=od(g,0),0===u?u=r:e[g+1]=fp(e[g+1],r),g=r;w&&(e[r+1]=hp(e[r+1])),iC(e,b,r,!0),iC(e,b,r,!1),function YS(e,t,n,r,i){const s=i?e.residualClasses:e.residualStyles;null!=s&&"string"==typeof t&&Ws(s,t)>=0&&(n[r+1]=pp(n[r+1]))}(t,b,e,r,s),a=od(u,g),s?t.classBindings=a:t.styleBindings=a}(i,s,t,n,a,r)}}function vp(e,t,n,r,i){let s=null;const a=n.directiveEnd;let u=n.directiveStylingLast;for(-1===u?u=n.directiveStart:u++;u<a&&(s=t[u],r=Ec(r,s.hostAttrs,i),s!==e);)u++;return null!==e&&(n.directiveStylingLast=u),r}function Ec(e,t,n){const r=n?1:2;let i=-1;if(null!==t)for(let s=0;s<t.length;s++){const a=t[s];"number"==typeof a?i=a:i===r&&(Array.isArray(e)||(e=void 0===e?[]:["",e]),Si(e,a,!!n||t[++s]))}return void 0===e?null:e}function dO(e,t,n){const r=String(t);""!==r&&!r.includes(" ")&&Si(e,r,n)}function gC(e,t,n,r,i,s,a,u){if(!(3&t.type))return;const g=e.data,w=g[u+1],b=function QS(e){return!(1&~e)}(w)?mC(g,t,n,i,fa(w),a):void 0;sd(b)||(sd(s)||function KS(e){return!(2&~e)}(w)&&(s=mC(g,null,n,i,u,a)),function P0(e,t,n,r,i){if(t)i?e.addClass(n,r):e.removeClass(n,r);else{let s=-1===r.indexOf("-")?void 0:Au.DashCase;null==i?e.removeStyle(n,r,s):("string"==typeof i&&i.endsWith("!important")&&(i=i.slice(0,-10),s|=Au.Important),e.setStyle(n,r,i,s))}}(r,a,Ol(di(),n),i,s))}function mC(e,t,n,r,i,s){const a=null===t;let u;for(;i>0;){const g=e[i],w=Array.isArray(g),b=w?g[1]:g,U=null===b;let Q=n[i+1];Q===It&&(Q=U?tn:void 0);let J=U?Vc(Q,r):b===r?Q:void 0;if(w&&!sd(J)&&(J=Vc(g,r)),sd(J)&&(u=J,a))return u;const ie=e[i+1];i=a?Us(ie):fa(ie)}if(null!==t){let g=s?t.residualClasses:t.residualStyles;null!=g&&(u=Vc(g,r))}return u}function sd(e){return void 0!==e}function yC(e,t){return!!(e.flags&(t?8:16))}function _C(e,t,n){zo(Si,hs,ol(_e(),e,t,n),!0)}function vC(){return _e()[Xn][Bn]}class wO{destroy(t){}updateValue(t,n){}swap(t,n){const r=Math.min(t,n),i=Math.max(t,n),s=this.detach(i);if(i-r>1){const a=this.detach(r);this.attach(r,s),this.attach(i,a)}else this.attach(r,s)}move(t,n){this.attach(n,this.detach(t))}}function Cp(e,t,n,r,i){return e===n&&Object.is(t,r)?1:Object.is(i(e,t),i(n,r))?-1:0}function Ep(e,t,n,r){return!(void 0===t||!t.has(r)||(e.attach(n,t.get(r)),t.delete(r),0))}function CC(e,t,n,r,i){if(Ep(e,t,r,n(r,i)))e.updateValue(r,i);else{const s=e.create(r,i);e.attach(r,s)}}function EC(e,t,n,r){const i=new Set;for(let s=t;s<=n;s++)i.add(r(s,e.at(s)));return i}class wC{constructor(){this.kvMap=new Map,this._vMap=void 0}has(t){return this.kvMap.has(t)}delete(t){if(!this.has(t))return!1;const n=this.kvMap.get(t);return void 0!==this._vMap&&this._vMap.has(n)?(this.kvMap.set(t,this._vMap.get(n)),this._vMap.delete(n)):this.kvMap.delete(t),!0}get(t){return this.kvMap.get(t)}set(t,n){if(this.kvMap.has(t)){let r=this.kvMap.get(t);void 0===this._vMap&&(this._vMap=new Map);const i=this._vMap;for(;i.has(r);)r=i.get(r);i.set(r,n)}else this.kvMap.set(t,n)}forEach(t){for(let[n,r]of this.kvMap)if(t(r,n),void 0!==this._vMap){const i=this._vMap;for(;i.has(r);)r=i.get(r),t(r,n)}}}function DC(e,t){xi("NgControlFlow");const n=_e(),r=Ho(),i=n[r]!==It?n[r]:-1,s=-1!==i?ad(n,Ze+i):void 0;if(_r(n,r,e)){const u=L(null);try{if(void 0!==s&&Df(s,0),-1!==e){const g=Ze+e,w=ad(n,g),b=wp(n[Re],g),U=ca(w,b.tView.ssrId);Wa(w,za(n,b,t,{dehydratedView:U}),0,aa(b,U))}}finally{L(u)}}else if(void 0!==s){const u=s_(s,0);void 0!==u&&(u[Bn]=t)}}class MO{constructor(t,n,r){this.lContainer=t,this.$implicit=n,this.$index=r}get $count(){return this.lContainer.length-yr}}class IO{constructor(t,n,r){this.hasEmptyBlock=t,this.trackByFn=n,this.liveCollection=r}}function MC(e,t,n,r,i,s,a,u,g,w,b,U,Q){xi("NgControlFlow");const J=_e(),ie=Ft(),we=void 0!==g,Fe=_e(),je=u?a.bind(Fe[Xn][Bn]):a,De=new IO(we,je);Fe[Ze+e]=De,mc(J,ie,e+1,t,n,r,i,Io(ie.consts,s)),we&&mc(J,ie,e+2,g,w,b,U,Io(ie.consts,Q))}class SO extends wO{constructor(t,n,r){super(),this.lContainer=t,this.hostLView=n,this.templateTNode=r,this.operationsCounter=void 0,this.needsIndexUpdate=!1}get length(){return this.lContainer.length-yr}at(t){return this.getLView(t)[Bn].$implicit}attach(t,n){const r=n[Pi];this.needsIndexUpdate||=t!==this.length,Wa(this.lContainer,n,t,aa(this.templateTNode,r))}detach(t){return this.needsIndexUpdate||=t!==this.length-1,function OO(e,t){return Ql(e,t)}(this.lContainer,t)}create(t,n){const r=ca(this.lContainer,this.templateTNode.tView.ssrId),i=za(this.hostLView,this.templateTNode,new MO(this.lContainer,n,t),{dehydratedView:r});return this.operationsCounter?.recordCreate(),i}destroy(t){xu(t[Re],t),this.operationsCounter?.recordDestroy()}updateValue(t,n){this.getLView(t)[Bn].$implicit=n}reset(){this.needsIndexUpdate=!1,this.operationsCounter?.reset()}updateIndexes(){if(this.needsIndexUpdate)for(let t=0;t<this.length;t++)this.getLView(t)[Bn].$index=t}getLView(t){return function PO(e,t){return s_(e,t)}(this.lContainer,t)}}function bC(e){const t=L(null),n=di();try{const r=_e(),i=r[Re],s=r[n],a=n+1,u=ad(r,a);if(void 0===s.liveCollection){const w=wp(i,a);s.liveCollection=new SO(u,r,w)}else s.liveCollection.reset();const g=s.liveCollection;if(function DO(e,t,n){let r,i,s=0,a=e.length-1;if(Array.isArray(t)){let g=t.length-1;for(;s<=a&&s<=g;){const w=e.at(s),b=t[s],U=Cp(s,w,s,b,n);if(0!==U){U<0&&e.updateValue(s,b),s++;continue}const Q=e.at(a),J=t[g],ie=Cp(a,Q,g,J,n);if(0!==ie){ie<0&&e.updateValue(a,J),a--,g--;continue}const we=n(s,w),Fe=n(a,Q),je=n(s,b);if(Object.is(je,Fe)){const De=n(g,J);Object.is(De,we)?(e.swap(s,a),e.updateValue(a,J),g--,a--):e.move(a,s),e.updateValue(s,b),s++}else if(r??=new wC,i??=EC(e,s,a,n),Ep(e,r,s,je))e.updateValue(s,b),s++,a++;else if(i.has(je))r.set(we,e.detach(s)),a--;else{const De=e.create(s,t[s]);e.attach(s,De),s++,a++}}for(;s<=g;)CC(e,r,n,s,t[s]),s++}else if(null!=t){const g=t[Symbol.iterator]();let w=g.next();for(;!w.done&&s<=a;){const b=e.at(s),U=w.value,Q=Cp(s,b,s,U,n);if(0!==Q)Q<0&&e.updateValue(s,U),s++,w=g.next();else{r??=new wC,i??=EC(e,s,a,n);const J=n(s,U);if(Ep(e,r,s,J))e.updateValue(s,U),s++,a++,w=g.next();else if(i.has(J)){const ie=n(s,b);r.set(ie,e.detach(s)),a--}else e.attach(s,e.create(s,U)),s++,a++,w=g.next()}}for(;!w.done;)CC(e,r,n,e.length,w.value),w=g.next()}for(;s<=a;)e.destroy(e.detach(a--));r?.forEach(g=>{e.destroy(g)})}(g,e,s.trackByFn),g.updateIndexes(),s.hasEmptyBlock){const w=Ho(),b=0===g.length;if(_r(r,w,b)){const U=n+2,Q=ad(r,U);if(b){const J=wp(i,U),ie=ca(Q,J.tView.ssrId);Wa(Q,za(r,J,void 0,{dehydratedView:ie}),0,aa(J,ie))}else Df(Q,0)}}}finally{L(t)}}function ad(e,t){return e[t]}function wp(e,t){return Pl(e,t)}function ld(e,t,n,r){const i=_e(),s=Ft(),a=Ze+e,u=i[yt],g=s.firstCreatePass?function AO(e,t,n,r,i,s){const a=t.consts,g=sa(t,e,2,r,Io(a,i));return yf(t,n,g,Io(a,s)),null!==g.attrs&&Ku(g,g.attrs,!1),null!==g.mergedAttrs&&Ku(g,g.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,g),g}(a,s,i,t,n,r):s.data[a],w=TC(s,i,g,u,t,e);i[a]=w;const b=Zc(g);return $o(g,!0),Hy(u,w,g),!function Xa(e){return!(32&~e.flags)}(g)&&Nl()&&Ru(s,i,w,g),0===function tM(){return _t.lFrame.elementDepthCount}()&&wi(w,i),function nM(){_t.lFrame.elementDepthCount++}(),b&&(pf(s,i,g),ff(s,g,i)),null!==r&&gf(i,g),ld}function cd(){let e=Dn();sh()?ah():(e=e.parent,$o(e,!1));const t=e;(function iM(e){return _t.skipHydrationRootTNode===e})(t)&&function lM(){_t.skipHydrationRootTNode=null}(),function rM(){_t.lFrame.elementDepthCount--}();const n=Ft();return n.firstCreatePass&&(iu(n,e),Xd(e)&&n.queries.elementEnd(e)),null!=t.classesWithoutHost&&function wM(e){return!!(8&e.flags)}(t)&&mp(n,t,_e(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function DM(e){return!!(16&e.flags)}(t)&&mp(n,t,_e(),t.stylesWithoutHost,!1),cd}function Dp(e,t,n,r){return ld(e,t,n,r),cd(),Dp}let TC=(e,t,n,r,i,s)=>(ss(!0),Nu(r,i,function Zg(){return _t.lFrame.currentNamespace}()));function ud(e,t,n){const r=_e(),i=Ft(),s=e+Ze,a=i.firstCreatePass?function RO(e,t,n,r,i){const s=t.consts,a=Io(s,r),u=sa(t,e,8,"ng-container",a);return null!==a&&Ku(u,a,!0),yf(t,n,u,Io(s,i)),null!==t.queries&&t.queries.elementStart(t,u),u}(s,i,r,t,n):i.data[s];$o(a,!0);const u=IC(i,r,a,e);return r[s]=u,Nl()&&Ru(i,r,u,a),wi(u,r),Zc(a)&&(pf(i,r,a),ff(i,a,r)),null!=n&&gf(r,a),ud}function dd(){let e=Dn();const t=Ft();return sh()?ah():(e=e.parent,$o(e,!1)),t.firstCreatePass&&(iu(t,e),Xd(e)&&t.queries.elementEnd(e)),dd}function Mp(e,t,n){return ud(e,t,n),dd(),Mp}let IC=(e,t,n,r)=>(ss(!0),nf(t[yt],""));function SC(){return _e()}function bp(e,t,n){const r=_e();return _r(r,Ho(),t)&&qi(Ft(),$n(),r,e,t,r[yt],n,!0),bp}const pa=void 0;var VO=["en",[["a","p"],["AM","PM"],pa],[["AM","PM"],pa,pa],[["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"]],pa,[["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"]],pa,[["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}",pa,"{1} 'at' {0}",pa],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function LO(e){const n=Math.floor(Math.abs(e)),r=e.toString().replace(/^[^.]*\.?/,"").length;return 1===n&&0===r?1:5}];let pl={};function Tp(e){const t=function jO(e){return e.toLowerCase().replace(/_/g,"-")}(e);let n=AC(t);if(n)return n;const r=t.split("-")[0];if(n=AC(r),n)return n;if("en"===r)return VO;throw new ke(701,!1)}function PC(e){return Tp(e)[gl.PluralCase]}function AC(e){return e in pl||(pl[e]=kn.ng&&kn.ng.common&&kn.ng.common.locales&&kn.ng.common.locales[e]),pl[e]}var gl=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}(gl||{});const hd="en-US";let NC=hd,XC=(e,t,n)=>{};function Op(e,t,n,r){const i=_e(),s=Ft(),a=Dn();return Pp(s,i,i[yt],a,e,t,r),Op}function Pp(e,t,n,r,i,s,a){const u=Zc(r),w=e.firstCreatePass&&i_(e),b=t[Bn],U=r_(t);let Q=!0;if(3&r.type||a){const we=Ai(r,t),Fe=a?a(we):we,je=U.length,De=a?Xt=>a(sn(Xt[r.index])):r.index;let Mt=null;if(!a&&u&&(Mt=function IP(e,t,n,r){const i=e.cleanup;if(null!=i)for(let s=0;s<i.length-1;s+=2){const a=i[s];if(a===n&&i[s+1]===r){const u=t[Sa],g=i[s+2];return u.length>g?u[g]:null}"string"==typeof a&&(s+=2)}return null}(e,t,i,r.index)),null!==Mt)(Mt.__ngLastListenerFn__||Mt).__ngNextListenerFn__=s,Mt.__ngLastListenerFn__=s,Q=!1;else{s=eE(r,t,b,s),XC(we,i,s);const Xt=n.listen(Fe,i,s);U.push(s,Xt),w&&w.push(i,De,je,je+1)}}else s=eE(r,t,b,s);const J=r.outputs;let ie;if(Q&&null!==J&&(ie=J[i])){const we=ie.length;if(we)for(let Fe=0;Fe<we;Fe+=2){const Tn=t[ie[Fe]][ie[Fe+1]].subscribe(s),Er=U.length;U.push(s,Tn),w&&w.push(i,r.index,Er,-(Er+1))}}}function JC(e,t,n,r){const i=L(null);try{return os(6,t,n),!1!==n(r)}catch(s){return Vu(e,s),!1}finally{os(7,t,n),L(i)}}function eE(e,t,n,r){return function i(s){if(s===Function)return r;Jl(e.componentOffset>-1?uo(e.index,t):t,5);let u=JC(t,n,r,s),g=i.__ngNextListenerFn__;for(;g;)u=JC(t,n,g,s)&&u,g=g.__ngNextListenerFn__;return u}}function tE(e=1){return function fM(e){return(_t.lFrame.contextLView=function Fg(e,t){for(;e>0;)t=t[Oa],e--;return t}(e,_t.lFrame.contextLView))[Bn]}(e)}function SP(e,t){let n=null;const r=function F(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 s=t[i];if("*"!==s){if(null===r?T(e,s,!0):se(r,s))return i}else n=i}return n}function nE(e){const t=_e()[Xn][ui];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 s=t.child;for(;null!==s;){if(128!==s.type){const a=e?SP(s,e):0;null!==a&&(i[a]?i[a].projectionNext=s:r[a]=s,i[a]=s)}s=s.next}}}function rE(e,t=0,n,r,i,s){const a=_e(),u=Ft(),g=r?e+1:null;null!==g&&mc(a,u,g,r,i,s,null,n);const w=sa(u,Ze+e,16,null,n||null);null===w.projection&&(w.projection=t),ah();const U=!a[Pi]||Zs();null===a[Xn][ui].projection[w.projection]&&null!==g?function OP(e,t,n){const r=Ze+n,i=t.data[r],s=e[r],a=ca(s,i.tView.ssrId);Wa(s,za(e,i,void 0,{dehydratedView:a}),0,aa(i,a))}(a,u,g):U&&32&~w.flags&&function S0(e,t,n){By(t[yt],0,t,n,af(e,n,t),Fy(n.parent||t[ui],n,t))}(u,a,w)}function Ap(e,t,n){return md(e,"",t,"",n),Ap}function md(e,t,n,r,i){const s=_e(),a=ol(s,t,n,r);return a!==It&&qi(Ft(),$n(),s,e,a,s[yt],i,!1),md}function Np(e,t,n,r,i,s,a){const u=_e(),g=sl(u,t,n,r,i,s);return g!==It&&qi(Ft(),$n(),u,e,g,u[yt],a,!1),Np}function dE(e,t,n,r){!function Z_(e,t,n,r){const i=Ft();if(i.firstCreatePass){const s=Dn();J_(i,new q_(t,n,r),s.index),function VI(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 X_(i,_e(),n)}(e,t,n,r)}function hE(e,t,n){!function Y_(e,t,n){const r=Ft();return r.firstCreatePass&&(J_(r,new q_(e,t,n),-1),!(2&~t)&&(r.staticViewQueries=!0)),X_(r,_e(),t)}(e,t,n)}function fE(e){const t=_e(),n=Ft(),r=uh();ru(r+1);const i=Kf(n,r);if(e.dirty&&function JD(e){return!(4&~e[ot])}(t)===!(2&~i.metadata.flags)){if(null===i.matches)e.reset([]);else{const s=ev(t,r);e.reset(s,Sm),e.notifyOnChanges()}return!0}return!1}function pE(){return function Wf(e,t){return e[vs].queries[t].queryList}(_e(),uh())}function gE(e){return Ys(function Bg(){return _t.lFrame.contextLView}(),Ze+e)}function bE(e,t=""){const n=_e(),r=Ft(),i=e+Ze,s=r.firstCreatePass?sa(r,i,1,t,null):r.data[i],a=TE(r,n,s,t,e);n[i]=a,Nl()&&Ru(r,n,a,s),$o(s,!1)}let TE=(e,t,n,r,i)=>(ss(!0),function tf(e,t){return e.createText(t)}(t[yt],r));function Rp(e){return yd("",e,""),Rp}function yd(e,t,n){const r=_e(),i=ol(r,e,t,n);return i!==It&&bs(r,di(),i),yd}function Fp(e,t,n,r,i){const s=_e(),a=sl(s,e,t,n,r,i);return a!==It&&bs(s,di(),a),Fp}function kp(e,t,n){ov(t)&&(t=t());const r=_e();return _r(r,Ho(),t)&&qi(Ft(),$n(),r,e,t,r[yt],n,!1),kp}function RE(e,t){const n=ov(e);return n&&e.set(t),n}function Lp(e,t){const n=_e(),r=Ft(),i=Dn();return Pp(r,n,n[yt],i,e,t),Lp}function Vp(e,t,n,r,i){if(e=Je(e),Array.isArray(e))for(let s=0;s<e.length;s++)Vp(e[s],t,n,r,i);else{const s=Ft(),a=_e(),u=Dn();let g=qs(e)?e:Je(e.provide);const w=_g(e),b=1048575&u.providerIndexes,U=u.directiveStart,Q=u.providerIndexes>>20;if(qs(e)||!e.multi){const J=new xl(w,i,Ga),ie=Up(g,t,i?b:b+Q,U);-1===ie?(vh(lu(u,a),s,g),jp(s,e,t.length),t.push(g),u.directiveStart++,u.directiveEnd++,i&&(u.providerIndexes+=1048576),n.push(J),a.push(J)):(n[ie]=J,a[ie]=J)}else{const J=Up(g,t,b+Q,U),ie=Up(g,t,b,b+Q),Fe=ie>=0&&n[ie];if(i&&!Fe||!i&&!(J>=0&&n[J])){vh(lu(u,a),s,g);const je=function QP(e,t,n,r,i){const s=new xl(e,n,Ga);return s.multi=[],s.index=t,s.componentProviders=0,LE(s,i,r&&!n),s}(i?qP:KP,n.length,i,r,w);!i&&Fe&&(n[ie].providerFactory=je),jp(s,e,t.length,0),t.push(g),u.directiveStart++,u.directiveEnd++,i&&(u.providerIndexes+=1048576),n.push(je),a.push(je)}else jp(s,e,J>-1?J:ie,LE(n[i?ie:J],w,!i&&r));!i&&r&&Fe&&n[ie].componentProviders++}}}function jp(e,t,n,r){const i=qs(t),s=function SD(e){return!!e.useClass}(t);if(i||s){const g=(s?Je(t.useClass):t).prototype.ngOnDestroy;if(g){const w=e.destroyHooks||(e.destroyHooks=[]);if(!i&&t.multi){const b=w.indexOf(n);-1===b?w.push(n,[r,g]):w[b+1].push(r,g)}else w.push(n,g)}}}function LE(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function Up(e,t,n,r){for(let i=n;i<r;i++)if(t[i]===e)return i;return-1}function KP(e,t,n,r){return Bp(this.multi,[])}function qP(e,t,n,r){const i=this.multi;let s;if(this.providerFactory){const a=this.providerFactory.componentProviders,u=ta(n,n[Re],this.providerFactory.index,r);s=u.slice(0,a),Bp(i,s);for(let g=a;g<u.length;g++)s.push(u[g])}else s=[],Bp(i,s);return s}function Bp(e,t){for(let n=0;n<e.length;n++)t.push((0,e[n])());return t}function VE(e,t=[]){return n=>{n.providersResolver=(r,i)=>function WP(e,t,n){const r=Ft();if(r.firstCreatePass){const i=Bo(e);Vp(n,r.data,r.blueprint,i,!0),Vp(t,r.data,r.blueprint,i,!1)}}(r,i?i(e):e,t)}}let XP=(()=>{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=Ud(0,n.type),i=r.length>0?Zf([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=lt({token:e,providedIn:"environment",factory:()=>new e(wt(bo))})}return e})();function jE(e){xi("NgStandalone"),e.getStandaloneInjector=t=>t.get(XP).getOrCreateStandaloneInjector(e)}function $E(e,t,n,r){return WE(_e(),Ni(),e,t,n,r)}function HE(e,t,n,r,i){return function KE(e,t,n,r,i,s,a){const u=t+n;return da(e,u,i,s)?us(e,u+2,a?r.call(a,i,s):r(i,s)):Ic(e,u+2)}(_e(),Ni(),e,t,n,r,i)}function GE(e,t,n,r,i,s){return function qE(e,t,n,r,i,s,a,u){const g=t+n;return function Zu(e,t,n,r,i){const s=da(e,t,n,r);return _r(e,t+2,i)||s}(e,g,i,s,a)?us(e,g+3,u?r.call(u,i,s,a):r(i,s,a)):Ic(e,g+3)}(_e(),Ni(),e,t,n,r,i,s)}function zE(e,t,n,r,i,s,a){return function QE(e,t,n,r,i,s,a,u,g){const w=t+n;return function So(e,t,n,r,i,s){const a=da(e,t,n,r);return da(e,t+2,i,s)||a}(e,w,i,s,a,u)?us(e,w+4,g?r.call(g,i,s,a,u):r(i,s,a,u)):Ic(e,w+4)}(_e(),Ni(),e,t,n,r,i,s,a)}function Ic(e,t){const n=e[t];return n===It?void 0:n}function WE(e,t,n,r,i,s){const a=t+n;return _r(e,a,i)?us(e,a+1,s?r.call(s,i):r(i)):Ic(e,a+1)}function YE(e,t){const n=Ft();let r;const i=e+Ze;n.firstCreatePass?(r=function sA(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 s=r.factory||(r.factory=_s(r.type)),u=ai(Ga);try{const g=au(!1),w=s();return au(g),function xp(e,t,n,r){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=r}(n,_e(),i,w),w}finally{ai(u)}}function ZE(e,t,n){const r=e+Ze,i=_e(),s=Ys(i,r);return function Sc(e,t){return e[Re].data[t].pure}(i,r)?WE(i,Ni(),t,s.transform,n,s):s.transform(n)}function JE(e,t){return Uu(e,t)}class gw{constructor(t){this.full=t;const n=t.split(".");this.major=n[0],this.minor=n[1],this.patch=n.slice(2).join(".")}}let mw=(()=>{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=lt({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();const Ew=new st(""),ww=new st("");let Kp,rN=(()=>{class e{constructor(n,r,i){this._ngZone=n,this.registry=r,this._isZoneStable=!0,this._callbacks=[],this.taskTrackingZone=null,Kp||(function iN(e){Kp=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:()=>{Yn.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 s=-1;r&&r>0&&(s=setTimeout(()=>{this._callbacks=this._callbacks.filter(a=>a.timeoutId!==s),n()},r)),this._callbacks.push({doneCb:n,timeoutId:s,updateCb:i})}whenStable(n,r,i){if(i&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(n,r,i),this._runCallbacksIfReady()}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)(wt(Yn),wt(Dw),wt(ww))};static#t=this.\u0275prov=lt({token:e,factory:e.\u0275fac})}return e})(),Dw=(()=>{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 Kp?.findTestabilityInTree(this,n,r)??null}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=lt({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();function qp(e){return!!e&&"function"==typeof e.then}function Mw(e){return!!e&&"function"==typeof e.subscribe}const bw=new st("");let Tw=(()=>{class e{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((n,r)=>{this.resolve=n,this.reject=r}),this.appInits=Ae(bw,{optional:!0})??[]}runInitializers(){if(this.initialized)return;const n=[];for(const i of this.appInits){const s=i();if(qp(s))n.push(s);else if(Mw(s)){const a=new Promise((u,g)=>{s.subscribe({complete:u,error:g})});n.push(a)}}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=lt({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const wd=new st("");function Sw(e,t){return Array.isArray(t)?t.reduce(Sw,e):{...e,...t}}let fs=(()=>{class e{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=Ae(YM),this.afterRenderManager=Ae(Pv),this.zonelessEnabled=Ae(cc),this.dirtyFlags=0,this.deferredDirtyFlags=0,this.externalTestViews=new Set,this.beforeRender=new vn.B,this.afterTick=new vn.B,this.componentTypes=[],this.components=[],this.isStable=Ae(na).hasPendingTasks.pipe((0,un.T)(n=>!n)),this._injector=Ae(bo)}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 k_;if(!this._injector.get(Tw).done)throw!i&&xs(n),new ke(405,!1);let a;a=i?n:this._injector.get(uc).resolveComponentFactory(n),this.componentTypes.push(a.componentType);const u=function oN(e){return e.isBoundToModule}(a)?void 0:this._injector.get(ua),w=a.create(hi.NULL,[],r||a.selector,u),b=w.location.nativeElement,U=w.injector.get(Ew,null);return U?.registerApplication(b),w.onDestroy(()=>{this.detachView(w.hostView),Dd(this.components,w),U?.unregisterApplication(b)}),this._loadComponent(w),w}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){if(this._runningTick)throw new ke(101,!1);const n=L(null);try{this._runningTick=!0,this.synchronize()}catch(r){this.internalErrorHandler(r)}finally{this._runningTick=!1,L(n),this.afterTick.next()}}synchronize(){let n=null;this._injector.destroyed||(n=this._injector.get(kf,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:s}of this._views)lN(i,s,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})=>Jc(n))?this.dirtyFlags|=2:this.dirtyFlags&=-8}attachView(n){const r=n;this._views.push(r),r.attachToAppRef(this)}detachView(n){const r=n;Dd(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n);const r=this._injector.get(wd,[]);[...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),()=>Dd(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new ke(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=lt({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Dd(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}function lN(e,t,n,r){(n||Jc(e))&&ju(e,t,n&&!r?0:1)}class cN{constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}}let uN=(()=>{class e{compileModuleSync(n){return new Yf(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){const r=this.compileModuleSync(n),s=ho(Ci(n).declarations).reduce((a,u)=>{const g=Ut(u);return g&&a.push(new fc(g)),a},[]);return new cN(r,s)}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=lt({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),fN=(()=>{class e{constructor(){this.zone=Ae(Yn),this.changeDetectionScheduler=Ae(qa),this.applicationRef=Ae(fs)}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=lt({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Qp({ngZoneFactory:e,ignoreChangesOutsideZone:t,scheduleInRootZone:n}){return e??=()=>new Yn({...Xp(),scheduleInRootZone:n}),[{provide:Yn,useFactory:e},{provide:Wi,multi:!0,useFactory:()=>{const r=Ae(fN,{optional:!0});return()=>r.initialize()}},{provide:Wi,multi:!0,useFactory:()=>{const r=Ae(gN);return()=>{r.initialize()}}},!0===t?{provide:F_,useValue:!0}:[],{provide:Ff,useValue:n??Em}]}function Xp(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}let gN=(()=>{class e{constructor(){this.subscription=new ti.yU,this.initialized=!1,this.zone=Ae(Yn),this.pendingTasks=Ae(na)}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(()=>{Yn.assertNotInAngularZone(),queueMicrotask(()=>{null!==n&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(n),n=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{Yn.assertInAngularZone(),n??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=lt({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Ac=(()=>{class e{constructor(){this.appRef=Ae(fs),this.taskService=Ae(na),this.ngZone=Ae(Yn),this.zonelessEnabled=Ae(cc),this.disableScheduling=Ae(F_,{optional:!0})??!1,this.zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run,this.schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}],this.subscriptions=new ti.yU,this.angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(pu):null,this.scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(Ae(Ff,{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 Th||!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?Dm:wm;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(pu+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,Dm(()=>{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=lt({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const Zp=new st("",{providedIn:"root",factory:()=>Ae(Zp,xt.Optional|xt.SkipSelf)||function mN(){return typeof $localize<"u"&&$localize.locale||hd}()}),yN=new st("",{providedIn:"root",factory:()=>"USD"}),Jp=new st("");function bd(e){return!!e.platformInjector}let Fw=(()=>{class e{constructor(n){this._injector=n,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(n,r){const i=r?.scheduleInRootZone,a=r?.ignoreChangesOutsideZone,u=[Qp({ngZoneFactory:()=>function XM(e="zone.js",t){return"noop"===e?new Th:"zone.js"===e?new Yn(t):e}(r?.ngZone,{...Xp({eventCoalescing:r?.ngZoneEventCoalescing,runCoalescing:r?.ngZoneRunCoalescing}),scheduleInRootZone:i}),ignoreChangesOutsideZone:a}),{provide:qa,useExisting:Ac}],g=function oS(e,t,n){return new Xf(e,t,n,!1)}(n.moduleType,this.injector,u);return function Rw(e){const t=bd(e)?e.r3Injector:e.moduleRef.injector,n=t.get(Yn);return n.run(()=>{bd(e)?e.r3Injector.resolveInjectorInitializers():e.moduleRef.resolveInjectorInitializers();const r=t.get(Ds,null);let i;if(n.runOutsideAngular(()=>{i=n.onError.subscribe({next:s=>{r.handleError(s)}})}),bd(e)){const s=()=>t.destroy(),a=e.platformInjector.get(Jp);a.add(s),t.onDestroy(()=>{i.unsubscribe(),a.delete(s)})}else e.moduleRef.onDestroy(()=>{Dd(e.allPlatformModules,e.moduleRef),i.unsubscribe()});return function aN(e,t,n){try{const r=n();return qp(r)?r.catch(i=>{throw t.runOutsideAngular(()=>e.handleError(i)),i}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}(r,n,()=>{const s=t.get(Tw);return s.runInitializers(),s.donePromise.then(()=>{if(function HO(e){"string"==typeof e&&(NC=e.toLowerCase().replace(/_/g,"-"))}(t.get(Zp,hd)||hd),bd(e)){const u=t.get(fs);return void 0!==e.rootComponent&&u.bootstrap(e.rootComponent),u}return function wN(e,t){const n=e.injector.get(fs);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(r=>n.bootstrap(r));else{if(!e.instance.ngDoBootstrap)throw new ke(-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=Sw({},r);return function hN(e,t,n){const r=new Yf(n);return Promise.resolve(r)}(0,0,n).then(s=>this.bootstrapModuleFactory(s,i))}onDestroy(n){this._destroyListeners.push(n)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new ke(404,!1);this._modules.slice().forEach(r=>r.destroy()),this._destroyListeners.forEach(r=>r());const n=this._injector.get(Jp,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)(wt(hi))};static#t=this.\u0275prov=lt({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})(),Bs=null;const kw=new st("");function Lw(e,t,n=[]){const r=`Platform: ${t}`,i=new st(r);return(s=[])=>{let a=eg();if(!a||a.injector.get(kw,!1)){const u=[...n,...s,{provide:i,useValue:!0}];e?e(u):function DN(e){if(Bs&&!Bs.get(kw,!1))throw new ke(400,!1);(function Iw(){!function nn(e){Yt=e}(()=>{throw new ke(600,!1)})})(),Bs=e;const t=e.get(Fw);(function jw(e){e.get(qm,null)?.forEach(n=>n())})(e)}(function Vw(e=[],t){return hi.create({name:t,providers:[{provide:Hd,useValue:"platform"},{provide:Jp,useValue:new Set([()=>Bs=null])},...e]})}(u,r))}return function MN(){const t=eg();if(!t)throw new ke(401,!1);return t}()}}function eg(){return Bs?.get(Fw)??null}function TN(){return!1}function IN(){}let Bw=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=SN}return e})();function SN(e){return function ON(e,t,n){if(Xs(e)&&!n){const r=uo(e.index,t);return new ec(r,r)}return 175&e.type?new ec(t[Xn],t):null}(Dn(),_e(),!(16&~e))}class zw{constructor(){}supports(t){return Yu(t)}create(t){return new RN(t)}}const xN=(e,t)=>t;class RN{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||xN}forEachItem(t){let n;for(n=this._itHead;null!==n;n=n._next)t(n)}forEachOperation(t){let n=this._itHead,r=this._removalsHead,i=0,s=null;for(;n||r;){const a=!r||n&&n.currentIndex<Kw(r,i,s)?n:r,u=Kw(a,i,s),g=a.currentIndex;if(a===r)i--,r=r._nextRemoved;else if(n=n._next,null==a.previousIndex)i++;else{s||(s=[]);const w=u-i,b=g-i;if(w!=b){for(let Q=0;Q<w;Q++){const J=Q<s.length?s[Q]:s[Q]=0,ie=J+Q;b<=ie&&ie<w&&(s[Q]=J+1)}s[a.previousIndex]=b-w}}u!==g&&t(a,u,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=[]),!Yu(t))throw new ke(900,!1);return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let i,s,a,n=this._itHead,r=!1;if(Array.isArray(t)){this.length=t.length;for(let u=0;u<this.length;u++)s=t[u],a=this._trackByFn(u,s),null!==n&&Object.is(n.trackById,a)?(r&&(n=this._verifyReinsertion(n,s,a,u)),Object.is(n.item,s)||this._addIdentityChange(n,s)):(n=this._mismatch(n,s,a,u),r=!0),n=n._next}else i=0,function lS(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,u=>{a=this._trackByFn(i,u),null!==n&&Object.is(n.trackById,a)?(r&&(n=this._verifyReinsertion(n,u,a,i)),Object.is(n.item,u)||this._addIdentityChange(n,u)):(n=this._mismatch(n,u,a,i),r=!0),n=n._next,i++}),this.length=i;return this._truncate(n),this.collection=t,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let t;for(t=this._previousItHead=this._itHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;null!==t;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;null!==t;t=t._nextMoved)t.previousIndex=t.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(t,n,r,i){let s;return null===t?s=this._itTail:(s=t._prev,this._remove(t)),null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._reinsertAfter(t,s,i)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(r,i))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._moveAfter(t,s,i)):t=this._addAfter(new FN(n,r),s,i),t}_verifyReinsertion(t,n,r,i){let s=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null);return null!==s?t=this._reinsertAfter(s,t._prev,i):t.currentIndex!=i&&(t.currentIndex=i,this._addToMoves(t,i)),t}_truncate(t){for(;null!==t;){const n=t._next;this._addToRemovals(this._unlink(t)),t=n}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(t,n,r){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(t);const i=t._prevRemoved,s=t._nextRemoved;return null===i?this._removalsHead=s:i._nextRemoved=s,null===s?this._removalsTail=i:s._prevRemoved=i,this._insertAfter(t,n,r),this._addToMoves(t,r),t}_moveAfter(t,n,r){return this._unlink(t),this._insertAfter(t,n,r),this._addToMoves(t,r),t}_addAfter(t,n,r){return this._insertAfter(t,n,r),this._additionsTail=null===this._additionsTail?this._additionsHead=t:this._additionsTail._nextAdded=t,t}_insertAfter(t,n,r){const i=null===n?this._itHead:n._next;return t._next=i,t._prev=n,null===i?this._itTail=t:i._prev=t,null===n?this._itHead=t:n._next=t,null===this._linkedRecords&&(this._linkedRecords=new Ww),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 Ww),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 kN{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 Ww{constructor(){this.map=new Map}put(t){const n=t.trackById;let r=this.map.get(n);r||(r=new kN,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 Kw(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 qw{constructor(){}supports(t){return t instanceof Map||Jf(t)}create(){return new LN}}class LN{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||Jf(t)))throw new ke(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 s=this._getOrCreateRecordForKey(i,r);n=this._insertBeforeOrAppend(n,s)}}),n){n._prev&&(n._prev._next=null),this._removalsHead=n;for(let r=n;null!==r;r=r._nextRemoved)r===this._mapHead&&(this._mapHead=null),this._records.delete(r.key),r._nextRemoved=r._next,r.previousValue=r.currentValue,r.currentValue=null,r._prev=null,r._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,n){if(t){const r=t._prev;return n._next=t,n._prev=r,t._prev=n,r&&(r._next=n),t===this._mapHead&&(this._mapHead=n),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=n,n._prev=this._appendAfter):this._mapHead=n,this._appendAfter=n,null}_getOrCreateRecordForKey(t,n){if(this._records.has(t)){const i=this._records.get(t);this._maybeAddToChanges(i,n);const s=i._prev,a=i._next;return s&&(s._next=a),a&&(a._prev=s),i._next=null,i._prev=null,i}const r=new VN(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 VN{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 Qw(){return new og([new zw])}let og=(()=>{class e{static#e=this.\u0275prov=lt({token:e,providedIn:"root",factory:Qw});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||Qw()),deps:[[e,new zi,new Ti]]}}find(n){const r=this.factories.find(i=>i.supports(n));if(null!=r)return r;throw new ke(901,!1)}}return e})();function Xw(){return new sg([new qw])}let sg=(()=>{class e{static#e=this.\u0275prov=lt({token:e,providedIn:"root",factory:Xw});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||Xw()),deps:[[e,new zi,new Ti]]}}find(n){const r=this.factories.find(i=>i.supports(n));if(r)return r;throw new ke(901,!1)}}return e})();const BN=Lw(null,"core",[]);let $N=(()=>{class e{constructor(n){}static#e=this.\u0275fac=function(r){return new(r||e)(wt(fs))};static#t=this.\u0275mod=Oi({type:e});static#n=this.\u0275inj=bn({})}return e})();const hD=new st("");function vx(e){return"boolean"==typeof e?e:null!=e&&"false"!==e}function Cx(e,t=NaN){return isNaN(parseFloat(e))||isNaN(Number(e))?t:Number(e)}function wx(e,t){xi("NgSignals");const n=function Ee(e){const t=Object.create(qe);t.computation=e;const n=()=>{if(Se(t),ae(t),t.value===ge)throw t.error;return t.value};return n[x]=t,n}(e);return t?.equal&&(n[x].equal=t.equal),n}function Dx(e){const t=L(null);try{return e()}finally{L(t)}}function Ox(e){const t=Ut(e);if(!t)return null;const n=new fc(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:(G,k,D)=>{"use strict";D.d(k,{$R:()=>Qr,BC:()=>ir,Fm:()=>go,J3:()=>Di,JD:()=>mi,Q0:()=>Zi,X1:()=>y,YN:()=>f,Zm:()=>ae,cb:()=>Nr,cz:()=>Qe,hs:()=>Tt,j4:()=>_o,kq:()=>Z,l_:()=>eo,me:()=>Oe,qT:()=>Lt,vO:()=>vn,vS:()=>Ge,ze:()=>Os});var o=D(3953),M=D(177),O=D(2806),R=D(7468),x=D(1413),L=D(6354);let $=(()=>{class l{constructor(c,C){this._renderer=c,this._elementRef=C,this.onChange=P=>{},this.onTouched=()=>{}}setProperty(c,C){this._renderer.setProperty(this._elementRef.nativeElement,c,C)}registerOnTouched(c){this.onTouched=c}registerOnChange(c){this.onChange=c}setDisabledState(c){this.setProperty("disabled",c)}static#e=this.\u0275fac=function(C){return new(C||l)(o.rXU(o.sFG),o.rXU(o.aKT))};static#t=this.\u0275dir=o.FsC({type:l})}return l})(),B=(()=>{class l extends ${static#e=this.\u0275fac=(()=>{let c;return function(P){return(c||(c=o.xGo(l)))(P||l)}})();static#t=this.\u0275dir=o.FsC({type:l,features:[o.Vt3]})}return l})();const Z=new o.nKC(""),te={provide:Z,useExisting:(0,o.Rfq)(()=>ae),multi:!0};let ae=(()=>{class l extends B{writeValue(c){this.setProperty("checked",c)}static#e=this.\u0275fac=(()=>{let c;return function(P){return(c||(c=o.xGo(l)))(P||l)}})();static#t=this.\u0275dir=o.FsC({type:l,selectors:[["input","type","checkbox","formControlName",""],["input","type","checkbox","formControl",""],["input","type","checkbox","ngModel",""]],hostBindings:function(C,P){1&C&&o.bIt("change",function(oe){return P.onChange(oe.target.checked)})("blur",function(){return P.onTouched()})},features:[o.Jv_([te]),o.Vt3]})}return l})();const ye={provide:Z,useExisting:(0,o.Rfq)(()=>Oe),multi:!0},ve=new o.nKC("");let Oe=(()=>{class l extends ${constructor(c,C,P){super(c,C),this._compositionMode=P,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function Se(){const l=(0,M.QT)()?(0,M.QT)().getUserAgent():"";return/android (\d+)/.test(l.toLowerCase())}())}writeValue(c){this.setProperty("value",c??"")}_handleInput(c){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(c)}_compositionStart(){this._composing=!0}_compositionEnd(c){this._composing=!1,this._compositionMode&&this.onChange(c)}static#e=this.\u0275fac=function(C){return new(C||l)(o.rXU(o.sFG),o.rXU(o.aKT),o.rXU(ve,8))};static#t=this.\u0275dir=o.FsC({type:l,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(C,P){1&C&&o.bIt("input",function(oe){return P._handleInput(oe.target.value)})("blur",function(){return P.onTouched()})("compositionstart",function(){return P._compositionStart()})("compositionend",function(oe){return P._compositionEnd(oe.target.value)})},features:[o.Jv_([ye]),o.Vt3]})}return l})();const Qe=new o.nKC(""),$e=new o.nKC("");function qe(l){return null!=l}function rt(l){return(0,o.jNT)(l)?(0,O.H)(l):l}function Yt(l){let d={};return l.forEach(c=>{d=null!=c?{...d,...c}:d}),0===Object.keys(d).length?null:d}function In(l,d){return d.map(c=>c(l))}function Sn(l){return l.map(d=>function nn(l){return!l.validate}(d)?d:c=>d.validate(c))}function Hn(l){return null!=l?function et(l){if(!l)return null;const d=l.filter(qe);return 0==d.length?null:function(c){return Yt(In(c,d))}}(Sn(l)):null}function yn(l){return null!=l?function Hr(l){if(!l)return null;const d=l.filter(qe);return 0==d.length?null:function(c){const C=In(c,d).map(rt);return(0,R.p)(C).pipe((0,L.T)(Yt))}}(Sn(l)):null}function _n(l,d){return null===l?[d]:Array.isArray(l)?[...l,d]:[l,d]}function Zn(l){return l._rawValidators}function Gn(l){return l._rawAsyncValidators}function cr(l){return l?Array.isArray(l)?l:[l]:[]}function ur(l,d){return Array.isArray(l)?l.includes(d):l===d}function dr(l,d){const c=cr(d);return cr(l).forEach(P=>{ur(c,P)||c.push(P)}),c}function Ht(l,d){return cr(d).filter(c=>!ur(l,c))}class ei{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(d){this._rawValidators=d||[],this._composedValidatorFn=Hn(this._rawValidators)}_setAsyncValidators(d){this._rawAsyncValidators=d||[],this._composedAsyncValidatorFn=yn(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(d){this._onDestroyCallbacks.push(d)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(d=>d()),this._onDestroyCallbacks=[]}reset(d=void 0){this.control&&this.control.reset(d)}hasError(d,c){return!!this.control&&this.control.hasError(d,c)}getError(d,c){return this.control?this.control.getError(d,c):null}}class an extends ei{get formDirective(){return null}get path(){return null}}class vn extends ei{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class ti{constructor(d){this._cd=d}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 ir=(()=>{class l extends ti{constructor(c){super(c)}static#e=this.\u0275fac=function(C){return new(C||l)(o.rXU(vn,2))};static#t=this.\u0275dir=o.FsC({type:l,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(C,P){2&C&&o.AVh("ng-untouched",P.isUntouched)("ng-touched",P.isTouched)("ng-pristine",P.isPristine)("ng-dirty",P.isDirty)("ng-valid",P.isValid)("ng-invalid",P.isInvalid)("ng-pending",P.isPending)},features:[o.Vt3]})}return l})(),Nr=(()=>{class l extends ti{constructor(c){super(c)}static#e=this.\u0275fac=function(C){return new(C||l)(o.rXU(an,10))};static#t=this.\u0275dir=o.FsC({type:l,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(C,P){2&C&&o.AVh("ng-untouched",P.isUntouched)("ng-touched",P.isTouched)("ng-pristine",P.isPristine)("ng-dirty",P.isDirty)("ng-valid",P.isValid)("ng-invalid",P.isInvalid)("ng-pending",P.isPending)("ng-submitted",P.isSubmitted)},features:[o.Vt3]})}return l})();const Ot="VALID",En="INVALID",fr="PENDING",Wr="DISABLED";class Zt{}class fn extends Zt{constructor(d,c){super(),this.value=d,this.source=c}}class he extends Zt{constructor(d,c){super(),this.pristine=d,this.source=c}}class le extends Zt{constructor(d,c){super(),this.touched=d,this.source=c}}class K extends Zt{constructor(d,c){super(),this.status=d,this.source=c}}class re extends Zt{constructor(d){super(),this.source=d}}class Ce extends Zt{constructor(d){super(),this.source=d}}function Ue(l){return(Gt(l)?l.validators:l)||null}function Ct(l,d){return(Gt(d)?d.asyncValidators:l)||null}function Gt(l){return null!=l&&!Array.isArray(l)&&"object"==typeof l}function Nn(l,d,c){const C=l.controls;if(!(d?Object.keys(C):C).length)throw new o.wOt(1e3,"");if(!C[c])throw new o.wOt(1001,"")}function kt(l,d,c){l._forEachChild((C,P)=>{if(void 0===c[P])throw new o.wOt(1002,"")})}class gi{constructor(d,c){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=null,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this._status=(0,o.EWP)(()=>this.statusReactive()),this.statusReactive=(0,o.vPA)(void 0),this._pristine=(0,o.EWP)(()=>this.pristineReactive()),this.pristineReactive=(0,o.vPA)(!0),this._touched=(0,o.EWP)(()=>this.touchedReactive()),this.touchedReactive=(0,o.vPA)(!1),this._events=new x.B,this.events=this._events.asObservable(),this._onDisabledChange=[],this._assignValidators(d),this._assignAsyncValidators(c)}get validator(){return this._composedValidatorFn}set validator(d){this._rawValidators=this._composedValidatorFn=d}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(d){this._rawAsyncValidators=this._composedAsyncValidatorFn=d}get parent(){return this._parent}get status(){return(0,o.O8t)(this.statusReactive)}set status(d){(0,o.O8t)(()=>this.statusReactive.set(d))}get valid(){return this.status===Ot}get invalid(){return this.status===En}get pending(){return this.status==fr}get disabled(){return this.status===Wr}get enabled(){return this.status!==Wr}get pristine(){return(0,o.O8t)(this.pristineReactive)}set pristine(d){(0,o.O8t)(()=>this.pristineReactive.set(d))}get dirty(){return!this.pristine}get touched(){return(0,o.O8t)(this.touchedReactive)}set touched(d){(0,o.O8t)(()=>this.touchedReactive.set(d))}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(d){this._assignValidators(d)}setAsyncValidators(d){this._assignAsyncValidators(d)}addValidators(d){this.setValidators(dr(d,this._rawValidators))}addAsyncValidators(d){this.setAsyncValidators(dr(d,this._rawAsyncValidators))}removeValidators(d){this.setValidators(Ht(d,this._rawValidators))}removeAsyncValidators(d){this.setAsyncValidators(Ht(d,this._rawAsyncValidators))}hasValidator(d){return ur(this._rawValidators,d)}hasAsyncValidator(d){return ur(this._rawAsyncValidators,d)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(d={}){const c=!1===this.touched;this.touched=!0;const C=d.sourceControl??this;this._parent&&!d.onlySelf&&this._parent.markAsTouched({...d,sourceControl:C}),c&&!1!==d.emitEvent&&this._events.next(new le(!0,C))}markAllAsTouched(d={}){this.markAsTouched({onlySelf:!0,emitEvent:d.emitEvent,sourceControl:this}),this._forEachChild(c=>c.markAllAsTouched(d))}markAsUntouched(d={}){const c=!0===this.touched;this.touched=!1,this._pendingTouched=!1;const C=d.sourceControl??this;this._forEachChild(P=>{P.markAsUntouched({onlySelf:!0,emitEvent:d.emitEvent,sourceControl:C})}),this._parent&&!d.onlySelf&&this._parent._updateTouched(d,C),c&&!1!==d.emitEvent&&this._events.next(new le(!1,C))}markAsDirty(d={}){const c=!0===this.pristine;this.pristine=!1;const C=d.sourceControl??this;this._parent&&!d.onlySelf&&this._parent.markAsDirty({...d,sourceControl:C}),c&&!1!==d.emitEvent&&this._events.next(new he(!1,C))}markAsPristine(d={}){const c=!1===this.pristine;this.pristine=!0,this._pendingDirty=!1;const C=d.sourceControl??this;this._forEachChild(P=>{P.markAsPristine({onlySelf:!0,emitEvent:d.emitEvent})}),this._parent&&!d.onlySelf&&this._parent._updatePristine(d,C),c&&!1!==d.emitEvent&&this._events.next(new he(!0,C))}markAsPending(d={}){this.status=fr;const c=d.sourceControl??this;!1!==d.emitEvent&&(this._events.next(new K(this.status,c)),this.statusChanges.emit(this.status)),this._parent&&!d.onlySelf&&this._parent.markAsPending({...d,sourceControl:c})}disable(d={}){const c=this._parentMarkedDirty(d.onlySelf);this.status=Wr,this.errors=null,this._forEachChild(P=>{P.disable({...d,onlySelf:!0})}),this._updateValue();const C=d.sourceControl??this;!1!==d.emitEvent&&(this._events.next(new fn(this.value,C)),this._events.next(new K(this.status,C)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...d,skipPristineCheck:c},this),this._onDisabledChange.forEach(P=>P(!0))}enable(d={}){const c=this._parentMarkedDirty(d.onlySelf);this.status=Ot,this._forEachChild(C=>{C.enable({...d,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:d.emitEvent}),this._updateAncestors({...d,skipPristineCheck:c},this),this._onDisabledChange.forEach(C=>C(!1))}_updateAncestors(d,c){this._parent&&!d.onlySelf&&(this._parent.updateValueAndValidity(d),d.skipPristineCheck||this._parent._updatePristine({},c),this._parent._updateTouched({},c))}setParent(d){this._parent=d}getRawValue(){return this.value}updateValueAndValidity(d={}){if(this._setInitialStatus(),this._updateValue(),this.enabled){const C=this._cancelExistingSubscription();this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===Ot||this.status===fr)&&this._runAsyncValidator(C,d.emitEvent)}const c=d.sourceControl??this;!1!==d.emitEvent&&(this._events.next(new fn(this.value,c)),this._events.next(new K(this.status,c)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!d.onlySelf&&this._parent.updateValueAndValidity({...d,sourceControl:c})}_updateTreeValidity(d={emitEvent:!0}){this._forEachChild(c=>c._updateTreeValidity(d)),this.updateValueAndValidity({onlySelf:!0,emitEvent:d.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?Wr:Ot}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(d,c){if(this.asyncValidator){this.status=fr,this._hasOwnPendingAsyncValidator={emitEvent:!1!==c};const C=rt(this.asyncValidator(this));this._asyncValidationSubscription=C.subscribe(P=>{this._hasOwnPendingAsyncValidator=null,this.setErrors(P,{emitEvent:c,shouldHaveEmitted:d})})}}_cancelExistingSubscription(){if(this._asyncValidationSubscription){this._asyncValidationSubscription.unsubscribe();const d=this._hasOwnPendingAsyncValidator?.emitEvent??!1;return this._hasOwnPendingAsyncValidator=null,d}return!1}setErrors(d,c={}){this.errors=d,this._updateControlsErrors(!1!==c.emitEvent,this,c.shouldHaveEmitted)}get(d){let c=d;return null==c||(Array.isArray(c)||(c=c.split(".")),0===c.length)?null:c.reduce((C,P)=>C&&C._find(P),this)}getError(d,c){const C=c?this.get(c):this;return C&&C.errors?C.errors[d]:null}hasError(d,c){return!!this.getError(d,c)}get root(){let d=this;for(;d._parent;)d=d._parent;return d}_updateControlsErrors(d,c,C){this.status=this._calculateStatus(),d&&this.statusChanges.emit(this.status),(d||C)&&this._events.next(new K(this.status,c)),this._parent&&this._parent._updateControlsErrors(d,c,C)}_initObservables(){this.valueChanges=new o.bkB,this.statusChanges=new o.bkB}_calculateStatus(){return this._allControlsDisabled()?Wr:this.errors?En:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(fr)?fr:this._anyControlsHaveStatus(En)?En:Ot}_anyControlsHaveStatus(d){return this._anyControls(c=>c.status===d)}_anyControlsDirty(){return this._anyControls(d=>d.dirty)}_anyControlsTouched(){return this._anyControls(d=>d.touched)}_updatePristine(d,c){const C=!this._anyControlsDirty(),P=this.pristine!==C;this.pristine=C,this._parent&&!d.onlySelf&&this._parent._updatePristine(d,c),P&&this._events.next(new he(this.pristine,c))}_updateTouched(d={},c){this.touched=this._anyControlsTouched(),this._events.next(new le(this.touched,c)),this._parent&&!d.onlySelf&&this._parent._updateTouched(d,c)}_registerOnCollectionChange(d){this._onCollectionChange=d}_setUpdateStrategy(d){Gt(d)&&null!=d.updateOn&&(this._updateOn=d.updateOn)}_parentMarkedDirty(d){return!d&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(d){return null}_assignValidators(d){this._rawValidators=Array.isArray(d)?d.slice():d,this._composedValidatorFn=function it(l){return Array.isArray(l)?Hn(l):l||null}(this._rawValidators)}_assignAsyncValidators(d){this._rawAsyncValidators=Array.isArray(d)?d.slice():d,this._composedAsyncValidatorFn=function on(l){return Array.isArray(l)?yn(l):l||null}(this._rawAsyncValidators)}}class xr extends gi{constructor(d,c,C){super(Ue(c),Ct(C,c)),this.controls=d,this._initObservables(),this._setUpdateStrategy(c),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(d,c){return this.controls[d]?this.controls[d]:(this.controls[d]=c,c.setParent(this),c._registerOnCollectionChange(this._onCollectionChange),c)}addControl(d,c,C={}){this.registerControl(d,c),this.updateValueAndValidity({emitEvent:C.emitEvent}),this._onCollectionChange()}removeControl(d,c={}){this.controls[d]&&this.controls[d]._registerOnCollectionChange(()=>{}),delete this.controls[d],this.updateValueAndValidity({emitEvent:c.emitEvent}),this._onCollectionChange()}setControl(d,c,C={}){this.controls[d]&&this.controls[d]._registerOnCollectionChange(()=>{}),delete this.controls[d],c&&this.registerControl(d,c),this.updateValueAndValidity({emitEvent:C.emitEvent}),this._onCollectionChange()}contains(d){return this.controls.hasOwnProperty(d)&&this.controls[d].enabled}setValue(d,c={}){kt(this,0,d),Object.keys(d).forEach(C=>{Nn(this,!0,C),this.controls[C].setValue(d[C],{onlySelf:!0,emitEvent:c.emitEvent})}),this.updateValueAndValidity(c)}patchValue(d,c={}){null!=d&&(Object.keys(d).forEach(C=>{const P=this.controls[C];P&&P.patchValue(d[C],{onlySelf:!0,emitEvent:c.emitEvent})}),this.updateValueAndValidity(c))}reset(d={},c={}){this._forEachChild((C,P)=>{C.reset(d?d[P]:null,{onlySelf:!0,emitEvent:c.emitEvent})}),this._updatePristine(c,this),this._updateTouched(c,this),this.updateValueAndValidity(c)}getRawValue(){return this._reduceChildren({},(d,c,C)=>(d[C]=c.getRawValue(),d))}_syncPendingControls(){let d=this._reduceChildren(!1,(c,C)=>!!C._syncPendingControls()||c);return d&&this.updateValueAndValidity({onlySelf:!0}),d}_forEachChild(d){Object.keys(this.controls).forEach(c=>{const C=this.controls[c];C&&d(C,c)})}_setUpControls(){this._forEachChild(d=>{d.setParent(this),d._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(d){for(const[c,C]of Object.entries(this.controls))if(this.contains(c)&&d(C))return!0;return!1}_reduceValue(){return this._reduceChildren({},(c,C,P)=>((C.enabled||this.disabled)&&(c[P]=C.value),c))}_reduceChildren(d,c){let C=d;return this._forEachChild((P,ee)=>{C=c(C,P,ee)}),C}_allControlsDisabled(){for(const d of Object.keys(this.controls))if(this.controls[d].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(d){return this.controls.hasOwnProperty(d)?this.controls[d]:null}}const Di=xr;class ni extends xr{}const xn=new o.nKC("CallSetDisabledState",{providedIn:"root",factory:()=>Kr}),Kr="always";function Jn(l,d){return[...d.path,l]}function er(l,d,c=Kr){Kn(l,d),d.valueAccessor.writeValue(l.value),(l.disabled||"always"===c)&&d.valueAccessor.setDisabledState?.(l.disabled),function Rn(l,d){d.valueAccessor.registerOnChange(c=>{l._pendingValue=c,l._pendingChange=!0,l._pendingDirty=!0,"change"===l.updateOn&&br(l,d)})}(l,d),function ht(l,d){const c=(C,P)=>{d.valueAccessor.writeValue(C),P&&d.viewToModelUpdate(C)};l.registerOnChange(c),d._registerOnDestroy(()=>{l._unregisterOnChange(c)})}(l,d),function Mi(l,d){d.valueAccessor.registerOnTouched(()=>{l._pendingTouched=!0,"blur"===l.updateOn&&l._pendingChange&&br(l,d),"submit"!==l.updateOn&&l.markAsTouched()})}(l,d),function qr(l,d){if(d.valueAccessor.setDisabledState){const c=C=>{d.valueAccessor.setDisabledState(C)};l.registerOnDisabledChange(c),d._registerOnDestroy(()=>{l._unregisterOnDisabledChange(c)})}}(l,d)}function pr(l,d,c=!0){const C=()=>{};d.valueAccessor&&(d.valueAccessor.registerOnChange(C),d.valueAccessor.registerOnTouched(C)),Fr(l,d),l&&(d._invokeOnDestroyCallbacks(),l._registerOnCollectionChange(()=>{}))}function tr(l,d){l.forEach(c=>{c.registerOnValidatorChange&&c.registerOnValidatorChange(d)})}function Kn(l,d){const c=Zn(l);null!==d.validator?l.setValidators(_n(c,d.validator)):"function"==typeof c&&l.setValidators([c]);const C=Gn(l);null!==d.asyncValidator?l.setAsyncValidators(_n(C,d.asyncValidator)):"function"==typeof C&&l.setAsyncValidators([C]);const P=()=>l.updateValueAndValidity();tr(d._rawValidators,P),tr(d._rawAsyncValidators,P)}function Fr(l,d){let c=!1;if(null!==l){if(null!==d.validator){const P=Zn(l);if(Array.isArray(P)&&P.length>0){const ee=P.filter(oe=>oe!==d.validator);ee.length!==P.length&&(c=!0,l.setValidators(ee))}}if(null!==d.asyncValidator){const P=Gn(l);if(Array.isArray(P)&&P.length>0){const ee=P.filter(oe=>oe!==d.asyncValidator);ee.length!==P.length&&(c=!0,l.setAsyncValidators(ee))}}}const C=()=>{};return tr(d._rawValidators,C),tr(d._rawAsyncValidators,C),c}function br(l,d){l._pendingDirty&&l.markAsDirty(),l.setValue(l._pendingValue,{emitModelToViewChange:!1}),d.viewToModelUpdate(l._pendingValue),l._pendingChange=!1}function ue(l,d){if(!l.hasOwnProperty("model"))return!1;const c=l.model;return!!c.isFirstChange()||!Object.is(d,c.currentValue)}function Ie(l,d){if(!d)return null;let c,C,P;return Array.isArray(d),d.forEach(ee=>{ee.constructor===Oe?c=ee:function Me(l){return Object.getPrototypeOf(l.constructor)===B}(ee)?C=ee:P=ee}),P||C||c||null}function gn(l,d){const c=l.indexOf(d);c>-1&&l.splice(c,1)}function qt(l){return"object"==typeof l&&null!==l&&2===Object.keys(l).length&&"value"in l&&"disabled"in l}Promise.resolve();const Jt=class extends gi{constructor(d=null,c,C){super(Ue(c),Ct(C,c)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(d),this._setUpdateStrategy(c),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),Gt(c)&&(c.nonNullable||c.initialValueIsDefault)&&(this.defaultValue=qt(d)?d.value:d)}setValue(d,c={}){this.value=this._pendingValue=d,this._onChange.length&&!1!==c.emitModelToViewChange&&this._onChange.forEach(C=>C(this.value,!1!==c.emitViewToModelChange)),this.updateValueAndValidity(c)}patchValue(d,c={}){this.setValue(d,c)}reset(d=this.defaultValue,c={}){this._applyFormState(d),this.markAsPristine(c),this.markAsUntouched(c),this.setValue(this.value,c),this._pendingChange=!1}_updateValue(){}_anyControls(d){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(d){this._onChange.push(d)}_unregisterOnChange(d){gn(this._onChange,d)}registerOnDisabledChange(d){this._onDisabledChange.push(d)}_unregisterOnDisabledChange(d){gn(this._onDisabledChange,d)}_forEachChild(d){}_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(d){qt(d)?(this.value=this._pendingValue=d.value,d.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=d}},Tt=Jt;let Mn=(()=>{class l 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 Jn(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 c;return function(P){return(c||(c=o.xGo(l)))(P||l)}})();static#t=this.\u0275dir=o.FsC({type:l,features:[o.Vt3]})}return l})();const H={provide:vn,useExisting:(0,o.Rfq)(()=>Ge)},Y=Promise.resolve();let Ge=(()=>{class l extends vn{constructor(c,C,P,ee,oe,Ne){super(),this._changeDetectorRef=oe,this.callSetDisabledState=Ne,this.control=new Jt,this._registered=!1,this.name="",this.update=new o.bkB,this._parent=c,this._setValidators(C),this._setAsyncValidators(P),this.valueAccessor=Ie(0,ee)}ngOnChanges(c){if(this._checkForErrors(),!this._registered||"name"in c){if(this._registered&&(this._checkName(),this.formDirective)){const C=c.name.previousValue;this.formDirective.removeControl({name:C,path:this._getPath(C)})}this._setUpControl()}"isDisabled"in c&&this._updateDisabled(c),ue(c,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(c){this.viewModel=c,this.update.emit(c)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!(!this.options||!this.options.standalone)}_setUpStandalone(){er(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()}_updateValue(c){Y.then(()=>{this.control.setValue(c,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(c){const C=c.isDisabled.currentValue,P=0!==C&&(0,o.L39)(C);Y.then(()=>{P&&!this.control.disabled?this.control.disable():!P&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(c){return this._parent?Jn(c,this._parent):[c]}static#e=this.\u0275fac=function(C){return new(C||l)(o.rXU(an,9),o.rXU(Qe,10),o.rXU($e,10),o.rXU(Z,10),o.rXU(o.gRc,8),o.rXU(xn,8))};static#t=this.\u0275dir=o.FsC({type:l,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"],options:[0,"ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[o.Jv_([H]),o.Vt3,o.OA$]})}return l})(),Lt=(()=>{class l{static#e=this.\u0275fac=function(C){return new(C||l)};static#t=this.\u0275dir=o.FsC({type:l,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]})}return l})();const Qt={provide:Z,useExisting:(0,o.Rfq)(()=>Zi),multi:!0};let Zi=(()=>{class l extends B{writeValue(c){this.setProperty("value",c??"")}registerOnChange(c){this.onChange=C=>{c(""==C?null:parseFloat(C))}}static#e=this.\u0275fac=(()=>{let c;return function(P){return(c||(c=o.xGo(l)))(P||l)}})();static#t=this.\u0275dir=o.FsC({type:l,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(C,P){1&C&&o.bIt("input",function(oe){return P.onChange(oe.target.value)})("blur",function(){return P.onTouched()})},features:[o.Jv_([Qt]),o.Vt3]})}return l})();const Fi={provide:Z,useExisting:(0,o.Rfq)(()=>go),multi:!0};let Ji=(()=>{class l{constructor(){this._accessors=[]}add(c,C){this._accessors.push([c,C])}remove(c){for(let C=this._accessors.length-1;C>=0;--C)if(this._accessors[C][1]===c)return void this._accessors.splice(C,1)}select(c){this._accessors.forEach(C=>{this._isSameGroup(C,c)&&C[1]!==c&&C[1].fireUncheck(c.value)})}_isSameGroup(c,C){return!!c[0].control&&c[0]._parent===C._control._parent&&c[1].name===C.name}static#e=this.\u0275fac=function(C){return new(C||l)};static#t=this.\u0275prov=o.jDH({token:l,factory:l.\u0275fac,providedIn:"root"})}return l})(),go=(()=>{class l extends B{constructor(c,C,P,ee){super(c,C),this._registry=P,this._injector=ee,this.setDisabledStateFired=!1,this.onChange=()=>{},this.callSetDisabledState=(0,o.WQX)(xn,{optional:!0})??Kr}ngOnInit(){this._control=this._injector.get(vn),this._checkName(),this._registry.add(this._control,this)}ngOnDestroy(){this._registry.remove(this)}writeValue(c){this._state=c===this.value,this.setProperty("checked",this._state)}registerOnChange(c){this._fn=c,this.onChange=()=>{c(this.value),this._registry.select(this)}}setDisabledState(c){(this.setDisabledStateFired||c||"whenDisabledForLegacyCode"===this.callSetDisabledState)&&this.setProperty("disabled",c),this.setDisabledStateFired=!0}fireUncheck(c){this.writeValue(c)}_checkName(){!this.name&&this.formControlName&&(this.name=this.formControlName)}static#e=this.\u0275fac=function(C){return new(C||l)(o.rXU(o.sFG),o.rXU(o.aKT),o.rXU(Ji),o.rXU(o.zZn))};static#t=this.\u0275dir=o.FsC({type:l,selectors:[["input","type","radio","formControlName",""],["input","type","radio","formControl",""],["input","type","radio","ngModel",""]],hostBindings:function(C,P){1&C&&o.bIt("change",function(){return P.onChange()})("blur",function(){return P.onTouched()})},inputs:{name:"name",formControlName:"formControlName",value:"value"},features:[o.Jv_([Fi]),o.Vt3]})}return l})();const Tr=new o.nKC(""),ki={provide:vn,useExisting:(0,o.Rfq)(()=>eo)};let eo=(()=>{class l extends vn{set isDisabled(c){}static#e=this._ngModelWarningSentOnce=!1;constructor(c,C,P,ee,oe){super(),this._ngModelWarningConfig=ee,this.callSetDisabledState=oe,this.update=new o.bkB,this._ngModelWarningSent=!1,this._setValidators(c),this._setAsyncValidators(C),this.valueAccessor=Ie(0,P)}ngOnChanges(c){if(this._isControlChanged(c)){const C=c.form.previousValue;C&&pr(C,this,!1),er(this.form,this,this.callSetDisabledState),this.form.updateValueAndValidity({emitEvent:!1})}ue(c,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&pr(this.form,this,!1)}get path(){return[]}get control(){return this.form}viewToModelUpdate(c){this.viewModel=c,this.update.emit(c)}_isControlChanged(c){return c.hasOwnProperty("form")}static#t=this.\u0275fac=function(C){return new(C||l)(o.rXU(Qe,10),o.rXU($e,10),o.rXU(Z,10),o.rXU(Tr,8),o.rXU(xn,8))};static#n=this.\u0275dir=o.FsC({type:l,selectors:[["","formControl",""]],inputs:{form:[0,"formControl","form"],isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],features:[o.Jv_([ki]),o.Vt3,o.OA$]})}return l})();const Oo={provide:an,useExisting:(0,o.Rfq)(()=>_o)};let _o=(()=>{class l extends an{get submitted(){return(0,o.O8t)(this._submittedReactive)}set submitted(c){this._submittedReactive.set(c)}constructor(c,C,P){super(),this.callSetDisabledState=P,this._submitted=(0,o.EWP)(()=>this._submittedReactive()),this._submittedReactive=(0,o.vPA)(!1),this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new o.bkB,this._setValidators(c),this._setAsyncValidators(C)}ngOnChanges(c){this._checkFormPresent(),c.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(Fr(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(c){const C=this.form.get(c.path);return er(C,c,this.callSetDisabledState),C.updateValueAndValidity({emitEvent:!1}),this.directives.push(c),C}getControl(c){return this.form.get(c.path)}removeControl(c){pr(c.control||null,c,!1),function Xe(l,d){const c=l.indexOf(d);c>-1&&l.splice(c,1)}(this.directives,c)}addFormGroup(c){this._setUpFormContainer(c)}removeFormGroup(c){this._cleanUpFormContainer(c)}getFormGroup(c){return this.form.get(c.path)}addFormArray(c){this._setUpFormContainer(c)}removeFormArray(c){this._cleanUpFormContainer(c)}getFormArray(c){return this.form.get(c.path)}updateModel(c,C){this.form.get(c.path).setValue(C)}onSubmit(c){return this._submittedReactive.set(!0),function Pe(l,d){l._syncPendingControls(),d.forEach(c=>{const C=c.control;"submit"===C.updateOn&&C._pendingChange&&(c.viewToModelUpdate(C._pendingValue),C._pendingChange=!1)})}(this.form,this.directives),this.ngSubmit.emit(c),this.form._events.next(new re(this.control)),"dialog"===c?.target?.method}onReset(){this.resetForm()}resetForm(c=void 0){this.form.reset(c),this._submittedReactive.set(!1),this.form._events.next(new Ce(this.form))}_updateDomValue(){this.directives.forEach(c=>{const C=c.control,P=this.form.get(c.path);C!==P&&(pr(C||null,c),(l=>l instanceof Jt)(P)&&(er(P,c,this.callSetDisabledState),c.control=P))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(c){const C=this.form.get(c.path);(function pn(l,d){Kn(l,d)})(C,c),C.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(c){if(this.form){const C=this.form.get(c.path);C&&function ri(l,d){return Fr(l,d)}(C,c)&&C.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){Kn(this.form,this),this._oldForm&&Fr(this._oldForm,this)}_checkFormPresent(){}static#e=this.\u0275fac=function(C){return new(C||l)(o.rXU(Qe,10),o.rXU($e,10),o.rXU(xn,8))};static#t=this.\u0275dir=o.FsC({type:l,selectors:[["","formGroup",""]],hostBindings:function(C,P){1&C&&o.bIt("submit",function(oe){return P.onSubmit(oe)})("reset",function(){return P.onReset()})},inputs:{form:[0,"formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[o.Jv_([Oo]),o.Vt3,o.OA$]})}return l})();const dn={provide:an,useExisting:(0,o.Rfq)(()=>Qr)};let Qr=(()=>{class l extends Mn{constructor(c,C,P){super(),this.name=null,this._parent=c,this._setValidators(C),this._setAsyncValidators(P)}_checkParentType(){to(this._parent)}static#e=this.\u0275fac=function(C){return new(C||l)(o.rXU(an,13),o.rXU(Qe,10),o.rXU($e,10))};static#t=this.\u0275dir=o.FsC({type:l,selectors:[["","formGroupName",""]],inputs:{name:[0,"formGroupName","name"]},features:[o.Jv_([dn]),o.Vt3]})}return l})();const ii={provide:an,useExisting:(0,o.Rfq)(()=>Li)};let Li=(()=>{class l extends an{constructor(c,C,P){super(),this.name=null,this._parent=c,this._setValidators(C),this._setAsyncValidators(P)}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 Jn(null==this.name?this.name:this.name.toString(),this._parent)}_checkParentType(){to(this._parent)}static#e=this.\u0275fac=function(C){return new(C||l)(o.rXU(an,13),o.rXU(Qe,10),o.rXU($e,10))};static#t=this.\u0275dir=o.FsC({type:l,selectors:[["","formArrayName",""]],inputs:{name:[0,"formArrayName","name"]},features:[o.Jv_([ii]),o.Vt3]})}return l})();function to(l){return!(l instanceof Qr||l instanceof _o||l instanceof Li)}const Ko={provide:vn,useExisting:(0,o.Rfq)(()=>mi)};let mi=(()=>{class l extends vn{set isDisabled(c){}static#e=this._ngModelWarningSentOnce=!1;constructor(c,C,P,ee,oe){super(),this._ngModelWarningConfig=oe,this._added=!1,this.name=null,this.update=new o.bkB,this._ngModelWarningSent=!1,this._parent=c,this._setValidators(C),this._setAsyncValidators(P),this.valueAccessor=Ie(0,ee)}ngOnChanges(c){this._added||this._setUpControl(),ue(c,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(c){this.viewModel=c,this.update.emit(c)}get path(){return Jn(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(C){return new(C||l)(o.rXU(an,13),o.rXU(Qe,10),o.rXU($e,10),o.rXU(Z,10),o.rXU(Tr,8))};static#n=this.\u0275dir=o.FsC({type:l,selectors:[["","formControlName",""]],inputs:{name:[0,"formControlName","name"],isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"]},outputs:{update:"ngModelChange"},features:[o.Jv_([Ko]),o.Vt3,o.OA$]})}return l})(),gs=(()=>{class l{static#e=this.\u0275fac=function(C){return new(C||l)};static#t=this.\u0275mod=o.$C({type:l});static#n=this.\u0275inj=o.G2t({})}return l})();class xo extends gi{constructor(d,c,C){super(Ue(c),Ct(C,c)),this.controls=d,this._initObservables(),this._setUpdateStrategy(c),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(d){return this.controls[this._adjustIndex(d)]}push(d,c={}){this.controls.push(d),this._registerControl(d),this.updateValueAndValidity({emitEvent:c.emitEvent}),this._onCollectionChange()}insert(d,c,C={}){this.controls.splice(d,0,c),this._registerControl(c),this.updateValueAndValidity({emitEvent:C.emitEvent})}removeAt(d,c={}){let C=this._adjustIndex(d);C<0&&(C=0),this.controls[C]&&this.controls[C]._registerOnCollectionChange(()=>{}),this.controls.splice(C,1),this.updateValueAndValidity({emitEvent:c.emitEvent})}setControl(d,c,C={}){let P=this._adjustIndex(d);P<0&&(P=0),this.controls[P]&&this.controls[P]._registerOnCollectionChange(()=>{}),this.controls.splice(P,1),c&&(this.controls.splice(P,0,c),this._registerControl(c)),this.updateValueAndValidity({emitEvent:C.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(d,c={}){kt(this,0,d),d.forEach((C,P)=>{Nn(this,!1,P),this.at(P).setValue(C,{onlySelf:!0,emitEvent:c.emitEvent})}),this.updateValueAndValidity(c)}patchValue(d,c={}){null!=d&&(d.forEach((C,P)=>{this.at(P)&&this.at(P).patchValue(C,{onlySelf:!0,emitEvent:c.emitEvent})}),this.updateValueAndValidity(c))}reset(d=[],c={}){this._forEachChild((C,P)=>{C.reset(d[P],{onlySelf:!0,emitEvent:c.emitEvent})}),this._updatePristine(c,this),this._updateTouched(c,this),this.updateValueAndValidity(c)}getRawValue(){return this.controls.map(d=>d.getRawValue())}clear(d={}){this.controls.length<1||(this._forEachChild(c=>c._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:d.emitEvent}))}_adjustIndex(d){return d<0?d+this.length:d}_syncPendingControls(){let d=this.controls.reduce((c,C)=>!!C._syncPendingControls()||c,!1);return d&&this.updateValueAndValidity({onlySelf:!0}),d}_forEachChild(d){this.controls.forEach((c,C)=>{d(c,C)})}_updateValue(){this.value=this.controls.filter(d=>d.enabled||this.disabled).map(d=>d.value)}_anyControls(d){return this.controls.some(c=>c.enabled&&d(c))}_setUpControls(){this._forEachChild(d=>this._registerControl(d))}_allControlsDisabled(){for(const d of this.controls)if(d.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(d){d.setParent(this),d._registerOnCollectionChange(this._onCollectionChange)}_find(d){return this.at(d)??null}}function oi(l){return!!l&&(void 0!==l.asyncValidators||void 0!==l.validators||void 0!==l.updateOn)}let Or=(()=>{class l{constructor(){this.useNonNullable=!1}get nonNullable(){const c=new l;return c.useNonNullable=!0,c}group(c,C=null){const P=this._reduceControls(c);let ee={};return oi(C)?ee=C:null!==C&&(ee.validators=C.validator,ee.asyncValidators=C.asyncValidator),new xr(P,ee)}record(c,C=null){const P=this._reduceControls(c);return new ni(P,C)}control(c,C,P){let ee={};return this.useNonNullable?(oi(C)?ee=C:(ee.validators=C,ee.asyncValidators=P),new Jt(c,{...ee,nonNullable:!0})):new Jt(c,C,P)}array(c,C,P){const ee=c.map(oe=>this._createControl(oe));return new xo(ee,C,P)}_reduceControls(c){const C={};return Object.keys(c).forEach(P=>{C[P]=this._createControl(c[P])}),C}_createControl(c){return c instanceof Jt||c instanceof gi?c:Array.isArray(c)?this.control(c[0],c.length>1?c[1]:null,c.length>2?c[2]:null):this.control(c)}static#e=this.\u0275fac=function(C){return new(C||l)};static#t=this.\u0275prov=o.jDH({token:l,factory:l.\u0275fac,providedIn:"root"})}return l})(),Os=(()=>{class l extends Or{group(c,C=null){return super.group(c,C)}control(c,C,P){return super.control(c,C,P)}array(c,C,P){return super.array(c,C,P)}static#e=this.\u0275fac=(()=>{let c;return function(P){return(c||(c=o.xGo(l)))(P||l)}})();static#t=this.\u0275prov=o.jDH({token:l,factory:l.\u0275fac,providedIn:"root"})}return l})(),f=(()=>{class l{static withConfig(c){return{ngModule:l,providers:[{provide:xn,useValue:c.callSetDisabledState??Kr}]}}static#e=this.\u0275fac=function(C){return new(C||l)};static#t=this.\u0275mod=o.$C({type:l});static#n=this.\u0275inj=o.G2t({imports:[gs]})}return l})(),y=(()=>{class l{static withConfig(c){return{ngModule:l,providers:[{provide:Tr,useValue:c.warnOnNgModelWithFormControl??"always"},{provide:xn,useValue:c.callSetDisabledState??Kr}]}}static#e=this.\u0275fac=function(C){return new(C||l)};static#t=this.\u0275mod=o.$C({type:l});static#n=this.\u0275inj=o.G2t({imports:[gs]})}return l})()},728:(G,k,D)=>{"use strict";D.d(k,{wb:()=>oi});var o=D(3953),M=D(345),O=D(9969);function x(V){return new o.wOt(3e3,!1)}function Zn(V){switch(V.length){case 0:return new O.sf;case 1:return V[0];default:return new O.ui(V)}}function Gn(V,f,y=new Map,l=new Map){const d=[],c=[];let C=-1,P=null;if(f.forEach(ee=>{const oe=ee.get("offset"),Ne=oe==C,me=Ne&&P||new Map;ee.forEach((Pt,Et)=>{let tt=Et,ct=Pt;if("offset"!==Et)switch(tt=V.normalizePropertyName(tt,d),ct){case O.FX:ct=y.get(Et);break;case O.kp:ct=l.get(Et);break;default:ct=V.normalizeStyleValue(Et,tt,ct,d)}me.set(tt,ct)}),Ne||c.push(me),P=me,C=oe}),d.length)throw function ce(){return new o.wOt(3502,!1)}();return c}function cr(V,f,y,l){switch(f){case"start":V.onStart(()=>l(y&&ur(y,"start",V)));break;case"done":V.onDone(()=>l(y&&ur(y,"done",V)));break;case"destroy":V.onDestroy(()=>l(y&&ur(y,"destroy",V)))}}function ur(V,f,y){const c=dr(V.element,V.triggerName,V.fromState,V.toState,f||V.phaseName,y.totalTime??V.totalTime,!!y.disabled),C=V._data;return null!=C&&(c._data=C),c}function dr(V,f,y,l,d="",c=0,C){return{element:V,triggerName:f,fromState:y,toState:l,phaseName:d,totalTime:c,disabled:!!C}}function Ht(V,f,y){let l=V.get(f);return l||V.set(f,l=y),l}function ei(V){const f=V.indexOf(":");return[V.substring(1,f),V.slice(f+1)]}const an=typeof document>"u"?null:document.documentElement;function vn(V){const f=V.parentNode||V.host||null;return f===an?null:f}let un=null,wr=!1;function An(V,f){for(;f;){if(f===V)return!0;f=vn(f)}return!1}function mt(V,f,y){if(y)return Array.from(V.querySelectorAll(f));const l=V.querySelector(f);return l?[l]:[]}let or=(()=>{class V{validateStyleProperty(y){return function ir(V){un||(un=function hr(){return typeof document<"u"?document.body:null}()||{},wr=!!un.style&&"WebkitAppearance"in un.style);let f=!0;return un.style&&!function ti(V){return"ebkit"==V.substring(1,6)}(V)&&(f=V in un.style,!f&&wr&&(f="Webkit"+V.charAt(0).toUpperCase()+V.slice(1)in un.style)),f}(y)}containsElement(y,l){return An(y,l)}getParentElement(y){return vn(y)}query(y,l,d){return mt(y,l,d)}computeStyle(y,l,d){return d||""}animate(y,l,d,c,C,P=[],ee){return new O.sf(d,c)}static#e=this.\u0275fac=function(l){return new(l||V)};static#t=this.\u0275prov=o.jDH({token:V,factory:V.\u0275fac})}return V})();class pt{static#e=this.NOOP=new or}class xe{}const Gr=1e3,Cn="ng-enter",zr="ng-leave",Bt="ng-trigger",pi=".ng-trigger",vt="ng-animating",At=".ng-animating";function rn(V){if("number"==typeof V)return V;const f=V.match(/^(-?[\.\d]+)(m?s)/);return!f||f.length<2?0:Ot(parseFloat(f[1]),f[2])}function Ot(V,f){return"s"===f?V*Gr:V}function En(V,f,y){return V.hasOwnProperty("duration")?V:function fr(V,f,y){let d,c=0,C="";if("string"==typeof V){const P=V.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===P)return f.push(x()),{duration:0,delay:0,easing:""};d=Ot(parseFloat(P[1]),P[2]);const ee=P[3];null!=ee&&(c=Ot(parseFloat(ee),P[4]));const oe=P[5];oe&&(C=oe)}else d=V;if(!y){let P=!1,ee=f.length;d<0&&(f.push(function L(){return new o.wOt(3100,!1)}()),P=!0),c<0&&(f.push(function $(){return new o.wOt(3101,!1)}()),P=!0),P&&f.splice(ee,0,x())}return{duration:d,delay:c,easing:C}}(V,f,y)}function fn(V,f,y){f.forEach((l,d)=>{const c=Ct(d);y&&!y.has(d)&&y.set(d,V.style[c]),V.style[c]=l})}function he(V,f){f.forEach((y,l)=>{const d=Ct(l);V.style[d]=""})}function le(V){return Array.isArray(V)?1==V.length?V[0]:(0,O.K2)(V):V}const re=new RegExp("{{\\s*(.+?)\\s*}}","g");function Ce(V){let f=[];if("string"==typeof V){let y;for(;y=re.exec(V);)f.push(y[1]);re.lastIndex=0}return f}function Ue(V,f,y){const l=`${V}`,d=l.replace(re,(c,C)=>{let P=f[C];return null==P&&(y.push(function Z(){return new o.wOt(3003,!1)}()),P=""),P.toString()});return d==l?V:d}const it=/-+([a-z0-9])/g;function Ct(V){return V.replace(it,(...f)=>f[1].toUpperCase())}function kt(V,f,y){switch(f.type){case O.If.Trigger:return V.visitTrigger(f,y);case O.If.State:return V.visitState(f,y);case O.If.Transition:return V.visitTransition(f,y);case O.If.Sequence:return V.visitSequence(f,y);case O.If.Group:return V.visitGroup(f,y);case O.If.Animate:return V.visitAnimate(f,y);case O.If.Keyframes:return V.visitKeyframes(f,y);case O.If.Style:return V.visitStyle(f,y);case O.If.Reference:return V.visitReference(f,y);case O.If.AnimateChild:return V.visitAnimateChild(f,y);case O.If.AnimateRef:return V.visitAnimateRef(f,y);case O.If.Query:return V.visitQuery(f,y);case O.If.Stagger:return V.visitStagger(f,y);default:throw function te(){return new o.wOt(3004,!1)}()}}function gi(V,f){return window.getComputedStyle(V)[f]}const xr=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 Rr extends xe{normalizePropertyName(f,y){return Ct(f)}normalizeStyleValue(f,y,l,d){let c="";const C=l.toString().trim();if(xr.has(y)&&0!==l&&"0"!==l)if("number"==typeof l)c="px";else{const P=l.match(/^[+-]?[\d\.]+([a-z]*)$/);P&&0==P[1].length&&d.push(function ae(){return new o.wOt(3005,!1)}())}return C+c}}const Jn="*";const qr=new Set(["true","1"]),Kn=new Set(["false","0"]);function Fr(V,f){const y=qr.has(V)||Kn.has(V),l=qr.has(f)||Kn.has(f);return(d,c)=>{let C=V==Jn||V==d,P=f==Jn||f==c;return!C&&y&&"boolean"==typeof d&&(C=d?qr.has(V):Kn.has(V)),!P&&l&&"boolean"==typeof c&&(P=c?qr.has(f):Kn.has(f)),C&&P}}const Mi=new RegExp("s*:selfs*,?","g");function br(V,f,y,l){return new pn(V).build(f,y,l)}class pn{constructor(f){this._driver=f}build(f,y,l){const d=new Fn(y);return this._resetContextStyleTimingState(d),kt(this,le(f),d)}_resetContextStyleTimingState(f){f.currentQuerySelector="",f.collectedStyles=new Map,f.collectedStyles.set("",new Map),f.currentTime=0}visitTrigger(f,y){let l=y.queryCount=0,d=y.depCount=0;const c=[],C=[];return"@"==f.name.charAt(0)&&y.errors.push(function ye(){return new o.wOt(3006,!1)}()),f.definitions.forEach(P=>{if(this._resetContextStyleTimingState(y),P.type==O.If.State){const ee=P,oe=ee.name;oe.toString().split(/\s*,\s*/).forEach(Ne=>{ee.name=Ne,c.push(this.visitState(ee,y))}),ee.name=oe}else if(P.type==O.If.Transition){const ee=this.visitTransition(P,y);l+=ee.queryCount,d+=ee.depCount,C.push(ee)}else y.errors.push(function Se(){return new o.wOt(3007,!1)}())}),{type:O.If.Trigger,name:f.name,states:c,transitions:C,queryCount:l,depCount:d,options:null}}visitState(f,y){const l=this.visitStyle(f.styles,y),d=f.options&&f.options.params||null;if(l.containsDynamicStyles){const c=new Set,C=d||{};l.styles.forEach(P=>{P instanceof Map&&P.forEach(ee=>{Ce(ee).forEach(oe=>{C.hasOwnProperty(oe)||c.add(oe)})})}),c.size&&y.errors.push(function ve(){return new o.wOt(3008,!1)}(0,c.values()))}return{type:O.If.State,name:f.name,style:l,options:d?{params:d}:null}}visitTransition(f,y){y.queryCount=0,y.depCount=0;const l=kt(this,le(f.animation),y),d=function er(V,f){const y=[];return"string"==typeof V?V.split(/\s*,\s*/).forEach(l=>function pr(V,f,y){if(":"==V[0]){const ee=function tr(V,f){switch(V){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(y,l)=>parseFloat(l)>parseFloat(y);case":decrement":return(y,l)=>parseFloat(l)<parseFloat(y);default:return f.push(function ne(){return new o.wOt(3016,!1)}()),"* => *"}}(V,y);if("function"==typeof ee)return void f.push(ee);V=ee}const l=V.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(null==l||l.length<4)return y.push(function St(){return new o.wOt(3015,!1)}()),f;const d=l[1],c=l[2],C=l[3];f.push(Fr(d,C)),"<"==c[0]&&(d!=Jn||C!=Jn)&&f.push(Fr(C,d))}(l,y,f)):y.push(V),y}(f.expr,y.errors);return{type:O.If.Transition,matchers:d,animation:l,queryCount:y.queryCount,depCount:y.depCount,options:q(f.options)}}visitSequence(f,y){return{type:O.If.Sequence,steps:f.steps.map(l=>kt(this,l,y)),options:q(f.options)}}visitGroup(f,y){const l=y.currentTime;let d=0;const c=f.steps.map(C=>{y.currentTime=l;const P=kt(this,C,y);return d=Math.max(d,y.currentTime),P});return y.currentTime=d,{type:O.If.Group,steps:c,options:q(f.options)}}visitAnimate(f,y){const l=function X(V,f){if(V.hasOwnProperty("duration"))return V;if("number"==typeof V)return ue(En(V,f).duration,0,"");const y=V;if(y.split(/\s+/).some(c=>"{"==c.charAt(0)&&"{"==c.charAt(1))){const c=ue(0,0,"");return c.dynamic=!0,c.strValue=y,c}const d=En(y,f);return ue(d.duration,d.delay,d.easing)}(f.timings,y.errors);y.currentAnimateTimings=l;let d,c=f.styles?f.styles:(0,O.iF)({});if(c.type==O.If.Keyframes)d=this.visitKeyframes(c,y);else{let C=f.styles,P=!1;if(!C){P=!0;const oe={};l.easing&&(oe.easing=l.easing),C=(0,O.iF)(oe)}y.currentTime+=l.duration+l.delay;const ee=this.visitStyle(C,y);ee.isEmptyStep=P,d=ee}return y.currentAnimateTimings=null,{type:O.If.Animate,timings:l,style:d,options:null}}visitStyle(f,y){const l=this._makeStyleAst(f,y);return this._validateStyleAst(l,y),l}_makeStyleAst(f,y){const l=[],d=Array.isArray(f.styles)?f.styles:[f.styles];for(let P of d)"string"==typeof P?P===O.kp?l.push(P):y.errors.push(new o.wOt(3002,!1)):l.push(new Map(Object.entries(P)));let c=!1,C=null;return l.forEach(P=>{if(P instanceof Map&&(P.has("easing")&&(C=P.get("easing"),P.delete("easing")),!c))for(let ee of P.values())if(ee.toString().indexOf("{{")>=0){c=!0;break}}),{type:O.If.Style,styles:l,easing:C,offset:f.offset,containsDynamicStyles:c,options:null}}_validateStyleAst(f,y){const l=y.currentAnimateTimings;let d=y.currentTime,c=y.currentTime;l&&c>0&&(c-=l.duration+l.delay),f.styles.forEach(C=>{"string"!=typeof C&&C.forEach((P,ee)=>{const oe=y.collectedStyles.get(y.currentQuerySelector),Ne=oe.get(ee);let me=!0;Ne&&(c!=d&&c>=Ne.startTime&&d<=Ne.endTime&&(y.errors.push(function Le(){return new o.wOt(3010,!1)}()),me=!1),c=Ne.startTime),me&&oe.set(ee,{startTime:c,endTime:d}),y.options&&function K(V,f,y){const l=f.params||{},d=Ce(V);d.length&&d.forEach(c=>{l.hasOwnProperty(c)||y.push(function B(){return new o.wOt(3001,!1)}())})}(P,y.options,y.errors)})})}visitKeyframes(f,y){const l={type:O.If.Keyframes,styles:[],options:null};if(!y.currentAnimateTimings)return y.errors.push(function Qe(){return new o.wOt(3011,!1)}()),l;let c=0;const C=[];let P=!1,ee=!1,oe=0;const Ne=f.steps.map(lt=>{const Ln=this._makeStyleAst(lt,y);let bn=null!=Ln.offset?Ln.offset:function j(V){if("string"==typeof V)return null;let f=null;if(Array.isArray(V))V.forEach(y=>{if(y instanceof Map&&y.has("offset")){const l=y;f=parseFloat(l.get("offset")),l.delete("offset")}});else if(V instanceof Map&&V.has("offset")){const y=V;f=parseFloat(y.get("offset")),y.delete("offset")}return f}(Ln.styles),Vn=0;return null!=bn&&(c++,Vn=Ln.offset=bn),ee=ee||Vn<0||Vn>1,P=P||Vn<oe,oe=Vn,C.push(Vn),Ln});ee&&y.errors.push(function $e(){return new o.wOt(3012,!1)}()),P&&y.errors.push(function gt(){return new o.wOt(3200,!1)}());const me=f.steps.length;let Pt=0;c>0&&c<me?y.errors.push(function bt(){return new o.wOt(3202,!1)}()):0==c&&(Pt=1/(me-1));const Et=me-1,tt=y.currentTime,ct=y.currentAnimateTimings,hn=ct.duration;return Ne.forEach((lt,Ln)=>{const bn=Pt>0?Ln==Et?1:Pt*Ln:C[Ln],Vn=bn*hn;y.currentTime=tt+ct.delay+Vn,ct.duration=Vn,this._validateStyleAst(lt,y),lt.offset=bn,l.styles.push(lt)}),l}visitReference(f,y){return{type:O.If.Reference,animation:kt(this,le(f.animation),y),options:q(f.options)}}visitAnimateChild(f,y){return y.depCount++,{type:O.If.AnimateChild,options:q(f.options)}}visitAnimateRef(f,y){return{type:O.If.AnimateRef,animation:this.visitReference(f.animation,y),options:q(f.options)}}visitQuery(f,y){const l=y.currentQuerySelector,d=f.options||{};y.queryCount++,y.currentQuery=f;const[c,C]=function ri(V){const f=!!V.split(/\s*,\s*/).find(y=>":self"==y);return f&&(V=V.replace(Mi,"")),V=V.replace(/@\*/g,pi).replace(/@\w+/g,y=>pi+"-"+y.slice(1)).replace(/:animating/g,At),[V,f]}(f.selector);y.currentQuerySelector=l.length?l+" "+c:c,Ht(y.collectedStyles,y.currentQuerySelector,new Map);const P=kt(this,le(f.animation),y);return y.currentQuery=null,y.currentQuerySelector=l,{type:O.If.Query,selector:c,limit:d.limit||0,optional:!!d.optional,includeSelf:C,animation:P,originalSelector:f.selector,options:q(f.options)}}visitStagger(f,y){y.currentQuery||y.errors.push(function nt(){return new o.wOt(3013,!1)}());const l="full"===f.timings?{duration:0,delay:0,easing:"full"}:En(f.timings,y.errors,!0);return{type:O.If.Stagger,animation:kt(this,le(f.animation),y),timings:l,options:null}}}class Fn{constructor(f){this.errors=f,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 q(V){return V?(V={...V}).params&&(V.params=function qn(V){return V?{...V}:null}(V.params)):V={},V}function ue(V,f,y){return{duration:V,delay:f,easing:y}}function Me(V,f,y,l,d,c,C=null,P=!1){return{type:1,element:V,keyframes:f,preStyleProps:y,postStyleProps:l,duration:d,delay:c,totalTime:d+c,easing:C,subTimeline:P}}class Pe{constructor(){this._map=new Map}get(f){return this._map.get(f)||[]}append(f,y){let l=this._map.get(f);l||this._map.set(f,l=[]),l.push(...y)}has(f){return this._map.has(f)}clear(){this._map.clear()}}const Ke=new RegExp(":enter","g"),zt=new RegExp(":leave","g");function Wt(V,f,y,l,d,c=new Map,C=new Map,P,ee,oe=[]){return(new gn).buildKeyframes(V,f,y,l,d,c,C,P,ee,oe)}class gn{buildKeyframes(f,y,l,d,c,C,P,ee,oe,Ne=[]){oe=oe||new Pe;const me=new Jt(f,y,oe,d,c,Ne,[]);me.options=ee;const Pt=ee.delay?rn(ee.delay):0;me.currentTimeline.delayNextStep(Pt),me.currentTimeline.setStyles([C],null,me.errors,ee),kt(this,l,me);const Et=me.timelines.filter(tt=>tt.containsAnimation());if(Et.length&&P.size){let tt;for(let ct=Et.length-1;ct>=0;ct--){const hn=Et[ct];if(hn.element===y){tt=hn;break}}tt&&!tt.allowOnlyTimelineStyles()&&tt.setStyles([P],null,me.errors,ee)}return Et.length?Et.map(tt=>tt.buildKeyframes()):[Me(y,[],[],[],0,Pt,"",!1)]}visitTrigger(f,y){}visitState(f,y){}visitTransition(f,y){}visitAnimateChild(f,y){const l=y.subInstructions.get(y.element);if(l){const d=y.createSubContext(f.options),c=y.currentTimeline.currentTime,C=this._visitSubInstructions(l,d,d.options);c!=C&&y.transformIntoNewTimeline(C)}y.previousNode=f}visitAnimateRef(f,y){const l=y.createSubContext(f.options);l.transformIntoNewTimeline(),this._applyAnimationRefDelays([f.options,f.animation.options],y,l),this.visitReference(f.animation,l),y.transformIntoNewTimeline(l.currentTimeline.currentTime),y.previousNode=f}_applyAnimationRefDelays(f,y,l){for(const d of f){const c=d?.delay;if(c){const C="number"==typeof c?c:rn(Ue(c,d?.params??{},y.errors));l.delayNextStep(C)}}}_visitSubInstructions(f,y,l){let c=y.currentTimeline.currentTime;const C=null!=l.duration?rn(l.duration):null,P=null!=l.delay?rn(l.delay):null;return 0!==C&&f.forEach(ee=>{const oe=y.appendInstructionToTimeline(ee,C,P);c=Math.max(c,oe.duration+oe.delay)}),c}visitReference(f,y){y.updateOptions(f.options,!0),kt(this,f.animation,y),y.previousNode=f}visitSequence(f,y){const l=y.subContextCount;let d=y;const c=f.options;if(c&&(c.params||c.delay)&&(d=y.createSubContext(c),d.transformIntoNewTimeline(),null!=c.delay)){d.previousNode.type==O.If.Style&&(d.currentTimeline.snapshotCurrentStyles(),d.previousNode=qt);const C=rn(c.delay);d.delayNextStep(C)}f.steps.length&&(f.steps.forEach(C=>kt(this,C,d)),d.currentTimeline.applyStylesToKeyframe(),d.subContextCount>l&&d.transformIntoNewTimeline()),y.previousNode=f}visitGroup(f,y){const l=[];let d=y.currentTimeline.currentTime;const c=f.options&&f.options.delay?rn(f.options.delay):0;f.steps.forEach(C=>{const P=y.createSubContext(f.options);c&&P.delayNextStep(c),kt(this,C,P),d=Math.max(d,P.currentTimeline.currentTime),l.push(P.currentTimeline)}),l.forEach(C=>y.currentTimeline.mergeTimelineCollectedStyles(C)),y.transformIntoNewTimeline(d),y.previousNode=f}_visitTiming(f,y){if(f.dynamic){const l=f.strValue;return En(y.params?Ue(l,y.params,y.errors):l,y.errors)}return{duration:f.duration,delay:f.delay,easing:f.easing}}visitAnimate(f,y){const l=y.currentAnimateTimings=this._visitTiming(f.timings,y),d=y.currentTimeline;l.delay&&(y.incrementTime(l.delay),d.snapshotCurrentStyles());const c=f.style;c.type==O.If.Keyframes?this.visitKeyframes(c,y):(y.incrementTime(l.duration),this.visitStyle(c,y),d.applyStylesToKeyframe()),y.currentAnimateTimings=null,y.previousNode=f}visitStyle(f,y){const l=y.currentTimeline,d=y.currentAnimateTimings;!d&&l.hasCurrentStyleProperties()&&l.forwardFrame();const c=d&&d.easing||f.easing;f.isEmptyStep?l.applyEmptyStep(c):l.setStyles(f.styles,c,y.errors,y.options),y.previousNode=f}visitKeyframes(f,y){const l=y.currentAnimateTimings,d=y.currentTimeline.duration,c=l.duration,P=y.createSubContext().currentTimeline;P.easing=l.easing,f.styles.forEach(ee=>{P.forwardTime((ee.offset||0)*c),P.setStyles(ee.styles,ee.easing,y.errors,y.options),P.applyStylesToKeyframe()}),y.currentTimeline.mergeTimelineCollectedStyles(P),y.transformIntoNewTimeline(d+c),y.previousNode=f}visitQuery(f,y){const l=y.currentTimeline.currentTime,d=f.options||{},c=d.delay?rn(d.delay):0;c&&(y.previousNode.type===O.If.Style||0==l&&y.currentTimeline.hasCurrentStyleProperties())&&(y.currentTimeline.snapshotCurrentStyles(),y.previousNode=qt);let C=l;const P=y.invokeQuery(f.selector,f.originalSelector,f.limit,f.includeSelf,!!d.optional,y.errors);y.currentQueryTotal=P.length;let ee=null;P.forEach((oe,Ne)=>{y.currentQueryIndex=Ne;const me=y.createSubContext(f.options,oe);c&&me.delayNextStep(c),oe===y.element&&(ee=me.currentTimeline),kt(this,f.animation,me),me.currentTimeline.applyStylesToKeyframe(),C=Math.max(C,me.currentTimeline.currentTime)}),y.currentQueryIndex=0,y.currentQueryTotal=0,y.transformIntoNewTimeline(C),ee&&(y.currentTimeline.mergeTimelineCollectedStyles(ee),y.currentTimeline.snapshotCurrentStyles()),y.previousNode=f}visitStagger(f,y){const l=y.parentContext,d=y.currentTimeline,c=f.timings,C=Math.abs(c.duration),P=C*(y.currentQueryTotal-1);let ee=C*y.currentQueryIndex;switch(c.duration<0?"reverse":c.easing){case"reverse":ee=P-ee;break;case"full":ee=l.currentStaggerTime}const Ne=y.currentTimeline;ee&&Ne.delayNextStep(ee);const me=Ne.currentTime;kt(this,f.animation,y),y.previousNode=f,l.currentStaggerTime=d.currentTime-me+(d.startTime-l.currentTimeline.startTime)}}const qt={};class Jt{constructor(f,y,l,d,c,C,P,ee){this._driver=f,this.element=y,this.subInstructions=l,this._enterClassName=d,this._leaveClassName=c,this.errors=C,this.timelines=P,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=qt,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=ee||new Tt(this._driver,y,0),P.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(f,y){if(!f)return;const l=f;let d=this.options;null!=l.duration&&(d.duration=rn(l.duration)),null!=l.delay&&(d.delay=rn(l.delay));const c=l.params;if(c){let C=d.params;C||(C=this.options.params={}),Object.keys(c).forEach(P=>{(!y||!C.hasOwnProperty(P))&&(C[P]=Ue(c[P],C,this.errors))})}}_copyOptions(){const f={};if(this.options){const y=this.options.params;if(y){const l=f.params={};Object.keys(y).forEach(d=>{l[d]=y[d]})}}return f}createSubContext(f=null,y,l){const d=y||this.element,c=new Jt(this._driver,d,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(d,l||0));return c.previousNode=this.previousNode,c.currentAnimateTimings=this.currentAnimateTimings,c.options=this._copyOptions(),c.updateOptions(f),c.currentQueryIndex=this.currentQueryIndex,c.currentQueryTotal=this.currentQueryTotal,c.parentContext=this,this.subContextCount++,c}transformIntoNewTimeline(f){return this.previousNode=qt,this.currentTimeline=this.currentTimeline.fork(this.element,f),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(f,y,l){const d={duration:y??f.duration,delay:this.currentTimeline.currentTime+(l??0)+f.delay,easing:""},c=new Rt(this._driver,f.element,f.keyframes,f.preStyleProps,f.postStyleProps,d,f.stretchStartingKeyframe);return this.timelines.push(c),d}incrementTime(f){this.currentTimeline.forwardTime(this.currentTimeline.duration+f)}delayNextStep(f){f>0&&this.currentTimeline.delayNextStep(f)}invokeQuery(f,y,l,d,c,C){let P=[];if(d&&P.push(this.element),f.length>0){f=(f=f.replace(Ke,"."+this._enterClassName)).replace(zt,"."+this._leaveClassName);let oe=this._driver.query(this.element,f,1!=l);0!==l&&(oe=l<0?oe.slice(oe.length+l,oe.length):oe.slice(0,l)),P.push(...oe)}return!c&&0==P.length&&C.push(function ft(){return new o.wOt(3014,!1)}()),P}}class Tt{constructor(f,y,l,d){this._driver=f,this.element=y,this.startTime=l,this._elementTimelineStylesLookup=d,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(y),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(y,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(f){const y=1===this._keyframes.size&&this._pendingStyles.size;this.duration||y?(this.forwardTime(this.currentTime+f),y&&this.snapshotCurrentStyles()):this.startTime+=f}fork(f,y){return this.applyStylesToKeyframe(),new Tt(this._driver,f,y||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(f){this.applyStylesToKeyframe(),this.duration=f,this._loadKeyframe()}_updateStyle(f,y){this._localTimelineStyles.set(f,y),this._globalTimelineStyles.set(f,y),this._styleSummary.set(f,{time:this.currentTime,value:y})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(f){f&&this._previousKeyframe.set("easing",f);for(let[y,l]of this._globalTimelineStyles)this._backFill.set(y,l||O.kp),this._currentKeyframe.set(y,O.kp);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(f,y,l,d){y&&this._previousKeyframe.set("easing",y);const c=d&&d.params||{},C=function zn(V,f){const y=new Map;let l;return V.forEach(d=>{if("*"===d){l??=f.keys();for(let c of l)y.set(c,O.kp)}else for(let[c,C]of d)y.set(c,C)}),y}(f,this._globalTimelineStyles);for(let[P,ee]of C){const oe=Ue(ee,c,l);this._pendingStyles.set(P,oe),this._localTimelineStyles.has(P)||this._backFill.set(P,this._globalTimelineStyles.get(P)??O.kp),this._updateStyle(P,oe)}}applyStylesToKeyframe(){0!=this._pendingStyles.size&&(this._pendingStyles.forEach((f,y)=>{this._currentKeyframe.set(y,f)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((f,y)=>{this._currentKeyframe.has(y)||this._currentKeyframe.set(y,f)}))}snapshotCurrentStyles(){for(let[f,y]of this._localTimelineStyles)this._pendingStyles.set(f,y),this._updateStyle(f,y)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const f=[];for(let y in this._currentKeyframe)f.push(y);return f}mergeTimelineCollectedStyles(f){f._styleSummary.forEach((y,l)=>{const d=this._styleSummary.get(l);(!d||y.time>d.time)&&this._updateStyle(l,y.value)})}buildKeyframes(){this.applyStylesToKeyframe();const f=new Set,y=new Set,l=1===this._keyframes.size&&0===this.duration;let d=[];this._keyframes.forEach((P,ee)=>{const oe=new Map([...this._backFill,...P]);oe.forEach((Ne,me)=>{Ne===O.FX?f.add(me):Ne===O.kp&&y.add(me)}),l||oe.set("offset",ee/this.duration),d.push(oe)});const c=[...f.values()],C=[...y.values()];if(l){const P=d[0],ee=new Map(P);P.set("offset",0),ee.set("offset",1),d=[P,ee]}return Me(this.element,d,c,C,this.duration,this.startTime,this.easing,!1)}}class Rt extends Tt{constructor(f,y,l,d,c,C,P=!1){super(f,y,C.delay),this.keyframes=l,this.preStyleProps=d,this.postStyleProps=c,this._stretchStartingKeyframe=P,this.timings={duration:C.duration,delay:C.delay,easing:C.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let f=this.keyframes,{delay:y,duration:l,easing:d}=this.timings;if(this._stretchStartingKeyframe&&y){const c=[],C=l+y,P=y/C,ee=new Map(f[0]);ee.set("offset",0),c.push(ee);const oe=new Map(f[0]);oe.set("offset",Mn(P)),c.push(oe);const Ne=f.length-1;for(let me=1;me<=Ne;me++){let Pt=new Map(f[me]);const Et=Pt.get("offset");Pt.set("offset",Mn((y+Et*l)/C)),c.push(Pt)}l=C,y=0,d="",f=c}return Me(this.element,f,this.preStyleProps,this.postStyleProps,l,y,d,!0)}}function Mn(V,f=3){const y=Math.pow(10,f-1);return Math.round(V*y)/y}function ln(V,f,y,l,d,c,C,P,ee,oe,Ne,me,Pt){return{type:0,element:V,triggerName:f,isRemovalTransition:d,fromState:y,fromStyles:c,toState:l,toStyles:C,timelines:P,queriedElements:ee,preStyleProps:oe,postStyleProps:Ne,totalTime:me,errors:Pt}}const gr={};class N{constructor(f,y,l){this._triggerName=f,this.ast=y,this._stateStyles=l}match(f,y,l,d){return function S(V,f,y,l,d){return V.some(c=>c(f,y,l,d))}(this.ast.matchers,f,y,l,d)}buildStyles(f,y,l){let d=this._stateStyles.get("*");return void 0!==f&&(d=this._stateStyles.get(f?.toString())||d),d?d.buildStyles(y,l):new Map}build(f,y,l,d,c,C,P,ee,oe,Ne){const me=[],Pt=this.ast.options&&this.ast.options.params||gr,tt=this.buildStyles(l,P&&P.params||gr,me),ct=ee&&ee.params||gr,hn=this.buildStyles(d,ct,me),lt=new Set,Ln=new Map,bn=new Map,Vn="void"===d,Ro={params:H(ct,Pt),delay:this.ast.options?.delay},Yr=Ne?[]:Wt(f,y,this.ast.animation,c,C,tt,hn,Ro,oe,me);let ar=0;return Yr.forEach(lr=>{ar=Math.max(lr.duration+lr.delay,ar)}),me.length?ln(y,this._triggerName,l,d,Vn,tt,hn,[],[],Ln,bn,ar,me):(Yr.forEach(lr=>{const Zr=lr.element,so=Ht(Ln,Zr,new Set);lr.preStyleProps.forEach(Bi=>so.add(Bi));const Fo=Ht(bn,Zr,new Set);lr.postStyleProps.forEach(Bi=>Fo.add(Bi)),Zr!==y&&lt.add(Zr)}),ln(y,this._triggerName,l,d,Vn,tt,hn,Yr,[...lt.values()],Ln,bn,ar))}}function H(V,f){const y={...f};return Object.entries(V).forEach(([l,d])=>{null!=d&&(y[l]=d)}),y}class Y{constructor(f,y,l){this.styles=f,this.defaultParams=y,this.normalizer=l}buildStyles(f,y){const l=new Map,d=H(f,this.defaultParams);return this.styles.styles.forEach(c=>{"string"!=typeof c&&c.forEach((C,P)=>{C&&(C=Ue(C,d,y));const ee=this.normalizer.normalizePropertyName(P,y);C=this.normalizer.normalizeStyleValue(P,ee,C,y),l.set(P,C)})}),l}}class Lt{constructor(f,y,l){this.name=f,this.ast=y,this._normalizer=l,this.transitionFactories=[],this.states=new Map,y.states.forEach(d=>{this.states.set(d.name,new Y(d.style,d.options&&d.options.params||{},l))}),Zi(this.states,"true","1"),Zi(this.states,"false","0"),y.transitions.forEach(d=>{this.transitionFactories.push(new N(f,d,this.states))}),this.fallbackTransition=function Qt(V,f){return new N(V,{type:O.If.Transition,animation:{type:O.If.Sequence,steps:[],options:null},matchers:[(C,P)=>!0],options:null,queryCount:0,depCount:0},f)}(f,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(f,y,l,d){return this.transitionFactories.find(C=>C.match(f,y,l,d))||null}matchStyles(f,y,l){return this.fallbackTransition.buildStyles(f,y,l)}}function Zi(V,f,y){V.has(f)?V.has(y)||V.set(y,V.get(f)):V.has(y)&&V.set(f,V.get(y))}const Fi=new Pe;class Ts{constructor(f,y,l){this.bodyNode=f,this._driver=y,this._normalizer=l,this._animations=new Map,this._playersById=new Map,this.players=[]}register(f,y){const l=[],c=br(this._driver,y,l,[]);if(l.length)throw function ge(){return new o.wOt(3503,!1)}();this._animations.set(f,c)}_buildPlayer(f,y,l){const d=f.element,c=Gn(this._normalizer,f.keyframes,y,l);return this._driver.animate(d,c,f.duration,f.delay,f.easing,[],!0)}create(f,y,l={}){const d=[],c=this._animations.get(f);let C;const P=new Map;if(c?(C=Wt(this._driver,y,c,Cn,zr,new Map,new Map,l,Fi,d),C.forEach(Ne=>{const me=Ht(P,Ne.element,new Map);Ne.postStyleProps.forEach(Pt=>me.set(Pt,null))})):(d.push(function qe(){return new o.wOt(3300,!1)}()),C=[]),d.length)throw function rt(){return new o.wOt(3504,!1)}();P.forEach((Ne,me)=>{Ne.forEach((Pt,Et)=>{Ne.set(Et,this._driver.computeStyle(me,Et,O.kp))})});const oe=Zn(C.map(Ne=>{const me=P.get(Ne.element);return this._buildPlayer(Ne,new Map,me)}));return this._playersById.set(f,oe),oe.onDestroy(()=>this.destroy(f)),this.players.push(oe),oe}destroy(f){const y=this._getPlayer(f);y.destroy(),this._playersById.delete(f);const l=this.players.indexOf(y);l>=0&&this.players.splice(l,1)}_getPlayer(f){const y=this._playersById.get(f);if(!y)throw function Yt(){return new o.wOt(3301,!1)}();return y}listen(f,y,l,d){const c=dr(y,"","","");return cr(this._getPlayer(f),l,c,d),()=>{}}command(f,y,l,d){if("register"==l)return void this.register(f,d[0]);if("create"==l)return void this.create(f,y,d[0]||{});const c=this._getPlayer(f);switch(l){case"play":c.play();break;case"pause":c.pause();break;case"reset":c.reset();break;case"restart":c.restart();break;case"finish":c.finish();break;case"init":c.init();break;case"setPosition":c.setPosition(parseFloat(d[0]));break;case"destroy":this.destroy(f)}}}const Ji="ng-animate-queued",mo="ng-animate-disabled",eo=[],Oo={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},_o={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},dn="__ng_removed";class Qr{get params(){return this.options.params}constructor(f,y=""){this.namespaceId=y;const l=f&&f.hasOwnProperty("value");if(this.value=function no(V){return V??null}(l?f.value:f),l){const{value:c,...C}=f;this.options=C}else this.options={};this.options.params||(this.options.params={})}absorbOptions(f){const y=f.params;if(y){const l=this.options.params;Object.keys(y).forEach(d=>{null==l[d]&&(l[d]=y[d])})}}}const ii="void",Li=new Qr(ii);class to{constructor(f,y,l){this.id=f,this.hostElement=y,this._engine=l,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+f,nr(y,this._hostClassName)}listen(f,y,l,d){if(!this._triggers.has(y))throw function In(){return new o.wOt(3302,!1)}();if(null==l||0==l.length)throw function nn(){return new o.wOt(3303,!1)}();if(!function Ao(V){return"start"==V||"done"==V}(l))throw function Sn(){return new o.wOt(3400,!1)}();const c=Ht(this._elementListeners,f,[]),C={name:y,phase:l,callback:d};c.push(C);const P=Ht(this._engine.statesByElement,f,new Map);return P.has(y)||(nr(f,Bt),nr(f,Bt+"-"+y),P.set(y,Li)),()=>{this._engine.afterFlush(()=>{const ee=c.indexOf(C);ee>=0&&c.splice(ee,1),this._triggers.has(y)||P.delete(y)})}}register(f,y){return!this._triggers.has(f)&&(this._triggers.set(f,y),!0)}_getTrigger(f){const y=this._triggers.get(f);if(!y)throw function et(){return new o.wOt(3401,!1)}();return y}trigger(f,y,l,d=!0){const c=this._getTrigger(y),C=new mi(this.id,y,f);let P=this._engine.statesByElement.get(f);P||(nr(f,Bt),nr(f,Bt+"-"+y),this._engine.statesByElement.set(f,P=new Map));let ee=P.get(y);const oe=new Qr(l,this.id);if(!(l&&l.hasOwnProperty("value"))&&ee&&oe.absorbOptions(ee.options),P.set(y,oe),ee||(ee=Li),oe.value!==ii&&ee.value===oe.value){if(!function Xr(V,f){const y=Object.keys(V),l=Object.keys(f);if(y.length!=l.length)return!1;for(let d=0;d<y.length;d++){const c=y[d];if(!f.hasOwnProperty(c)||V[c]!==f[c])return!1}return!0}(ee.params,oe.params)){const ct=[],hn=c.matchStyles(ee.value,ee.params,ct),lt=c.matchStyles(oe.value,oe.params,ct);ct.length?this._engine.reportError(ct):this._engine.afterFlush(()=>{he(f,hn),fn(f,lt)})}return}const Pt=Ht(this._engine.playersByElement,f,[]);Pt.forEach(ct=>{ct.namespaceId==this.id&&ct.triggerName==y&&ct.queued&&ct.destroy()});let Et=c.matchTransition(ee.value,oe.value,f,oe.params),tt=!1;if(!Et){if(!d)return;Et=c.fallbackTransition,tt=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:f,triggerName:y,transition:Et,fromState:ee,toState:oe,player:C,isFallbackTransition:tt}),tt||(nr(f,Ji),C.onStart(()=>{Co(f,Ji)})),C.onDone(()=>{let ct=this.players.indexOf(C);ct>=0&&this.players.splice(ct,1);const hn=this._engine.playersByElement.get(f);if(hn){let lt=hn.indexOf(C);lt>=0&&hn.splice(lt,1)}}),this.players.push(C),Pt.push(C),C}deregister(f){this._triggers.delete(f),this._engine.statesByElement.forEach(y=>y.delete(f)),this._elementListeners.forEach((y,l)=>{this._elementListeners.set(l,y.filter(d=>d.name!=f))})}clearElementCache(f){this._engine.statesByElement.delete(f),this._elementListeners.delete(f);const y=this._engine.playersByElement.get(f);y&&(y.forEach(l=>l.destroy()),this._engine.playersByElement.delete(f))}_signalRemovalForInnerTriggers(f,y){const l=this._engine.driver.query(f,pi,!0);l.forEach(d=>{if(d[dn])return;const c=this._engine.fetchNamespacesByElement(d);c.size?c.forEach(C=>C.triggerLeaveAnimation(d,y,!1,!0)):this.clearElementCache(d)}),this._engine.afterFlushAnimationsDone(()=>l.forEach(d=>this.clearElementCache(d)))}triggerLeaveAnimation(f,y,l,d){const c=this._engine.statesByElement.get(f),C=new Map;if(c){const P=[];if(c.forEach((ee,oe)=>{if(C.set(oe,ee.value),this._triggers.has(oe)){const Ne=this.trigger(f,oe,ii,d);Ne&&P.push(Ne)}}),P.length)return this._engine.markElementAsRemoved(this.id,f,!0,y,C),l&&Zn(P).onDone(()=>this._engine.processLeaveNode(f)),!0}return!1}prepareLeaveAnimationListeners(f){const y=this._elementListeners.get(f),l=this._engine.statesByElement.get(f);if(y&&l){const d=new Set;y.forEach(c=>{const C=c.name;if(d.has(C))return;d.add(C);const ee=this._triggers.get(C).fallbackTransition,oe=l.get(C)||Li,Ne=new Qr(ii),me=new mi(this.id,C,f);this._engine.totalQueuedPlayers++,this._queue.push({element:f,triggerName:C,transition:ee,fromState:oe,toState:Ne,player:me,isFallbackTransition:!0})})}}removeNode(f,y){const l=this._engine;if(f.childElementCount&&this._signalRemovalForInnerTriggers(f,y),this.triggerLeaveAnimation(f,y,!0))return;let d=!1;if(l.totalAnimations){const c=l.players.length?l.playersByQueriedElement.get(f):[];if(c&&c.length)d=!0;else{let C=f;for(;C=C.parentNode;)if(l.statesByElement.get(C)){d=!0;break}}}if(this.prepareLeaveAnimationListeners(f),d)l.markElementAsRemoved(this.id,f,!1,y);else{const c=f[dn];(!c||c===Oo)&&(l.afterFlush(()=>this.clearElementCache(f)),l.destroyInnerAnimations(f),l._onRemovalComplete(f,y))}}insertNode(f,y){nr(f,this._hostClassName)}drainQueuedTransitions(f){const y=[];return this._queue.forEach(l=>{const d=l.player;if(d.destroyed)return;const c=l.element,C=this._elementListeners.get(c);C&&C.forEach(P=>{if(P.name==l.triggerName){const ee=dr(c,l.triggerName,l.fromState.value,l.toState.value);ee._data=f,cr(l.player,P.phase,ee,P.callback)}}),d.markedForDestroy?this._engine.afterFlush(()=>{d.destroy()}):y.push(l)}),this._queue=[],y.sort((l,d)=>{const c=l.transition.ast.depCount,C=d.transition.ast.depCount;return 0==c||0==C?c-C:this._engine.driver.containsElement(l.element,d.element)?1:-1})}destroy(f){this.players.forEach(y=>y.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,f)}}class Ko{_onRemovalComplete(f,y){this.onRemovalComplete(f,y)}constructor(f,y,l){this.bodyNode=f,this.driver=y,this._normalizer=l,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=(d,c)=>{}}get queuedPlayers(){const f=[];return this._namespaceList.forEach(y=>{y.players.forEach(l=>{l.queued&&f.push(l)})}),f}createNamespace(f,y){const l=new to(f,y,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,y)?this._balanceNamespaceList(l,y):(this.newHostElements.set(y,l),this.collectEnterElement(y)),this._namespaceLookup[f]=l}_balanceNamespaceList(f,y){const l=this._namespaceList,d=this.namespacesByHostElement;if(l.length-1>=0){let C=!1,P=this.driver.getParentElement(y);for(;P;){const ee=d.get(P);if(ee){const oe=l.indexOf(ee);l.splice(oe+1,0,f),C=!0;break}P=this.driver.getParentElement(P)}C||l.unshift(f)}else l.push(f);return d.set(y,f),f}register(f,y){let l=this._namespaceLookup[f];return l||(l=this.createNamespace(f,y)),l}registerTrigger(f,y,l){let d=this._namespaceLookup[f];d&&d.register(y,l)&&this.totalAnimations++}destroy(f,y){f&&(this.afterFlush(()=>{}),this.afterFlushAnimationsDone(()=>{const l=this._fetchNamespace(f);this.namespacesByHostElement.delete(l.hostElement);const d=this._namespaceList.indexOf(l);d>=0&&this._namespaceList.splice(d,1),l.destroy(y),delete this._namespaceLookup[f]}))}_fetchNamespace(f){return this._namespaceLookup[f]}fetchNamespacesByElement(f){const y=new Set,l=this.statesByElement.get(f);if(l)for(let d of l.values())if(d.namespaceId){const c=this._fetchNamespace(d.namespaceId);c&&y.add(c)}return y}trigger(f,y,l,d){if(ro(y)){const c=this._fetchNamespace(f);if(c)return c.trigger(y,l,d),!0}return!1}insertNode(f,y,l,d){if(!ro(y))return;const c=y[dn];if(c&&c.setForRemoval){c.setForRemoval=!1,c.setForMove=!0;const C=this.collectedLeaveElements.indexOf(y);C>=0&&this.collectedLeaveElements.splice(C,1)}if(f){const C=this._fetchNamespace(f);C&&C.insertNode(y,l)}d&&this.collectEnterElement(y)}collectEnterElement(f){this.collectedEnterElements.push(f)}markElementAsDisabled(f,y){y?this.disabledNodes.has(f)||(this.disabledNodes.add(f),nr(f,mo)):this.disabledNodes.has(f)&&(this.disabledNodes.delete(f),Co(f,mo))}removeNode(f,y,l){if(ro(y)){const d=f?this._fetchNamespace(f):null;d?d.removeNode(y,l):this.markElementAsRemoved(f,y,!1,l);const c=this.namespacesByHostElement.get(y);c&&c.id!==f&&c.removeNode(y,l)}else this._onRemovalComplete(y,l)}markElementAsRemoved(f,y,l,d,c){this.collectedLeaveElements.push(y),y[dn]={namespaceId:f,setForRemoval:d,hasAnimation:l,removedBeforeQueried:!1,previousTriggersValues:c}}listen(f,y,l,d,c){return ro(y)?this._fetchNamespace(f).listen(y,l,d,c):()=>{}}_buildInstruction(f,y,l,d,c){return f.transition.build(this.driver,f.element,f.fromState.value,f.toState.value,l,d,f.fromState.options,f.toState.options,y,c)}destroyInnerAnimations(f){let y=this.driver.query(f,pi,!0);y.forEach(l=>this.destroyActiveAnimationsForElement(l)),0!=this.playersByQueriedElement.size&&(y=this.driver.query(f,At,!0),y.forEach(l=>this.finishActiveQueriedAnimationOnElement(l)))}destroyActiveAnimationsForElement(f){const y=this.playersByElement.get(f);y&&y.forEach(l=>{l.queued?l.markedForDestroy=!0:l.destroy()})}finishActiveQueriedAnimationOnElement(f){const y=this.playersByQueriedElement.get(f);y&&y.forEach(l=>l.finish())}whenRenderingDone(){return new Promise(f=>{if(this.players.length)return Zn(this.players).onDone(()=>f());f()})}processLeaveNode(f){const y=f[dn];if(y&&y.setForRemoval){if(f[dn]=Oo,y.namespaceId){this.destroyInnerAnimations(f);const l=this._fetchNamespace(y.namespaceId);l&&l.clearElementCache(f)}this._onRemovalComplete(f,y.setForRemoval)}f.classList?.contains(mo)&&this.markElementAsDisabled(f,!1),this.driver.query(f,".ng-animate-disabled",!0).forEach(l=>{this.markElementAsDisabled(l,!1)})}flush(f=-1){let y=[];if(this.newHostElements.size&&(this.newHostElements.forEach((l,d)=>this._balanceNamespaceList(l,d)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let l=0;l<this.collectedEnterElements.length;l++)nr(this.collectedEnterElements[l],"ng-star-inserted");if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){const l=[];try{y=this._flushAnimations(l,f)}finally{for(let d=0;d<l.length;d++)l[d]()}}else for(let l=0;l<this.collectedLeaveElements.length;l++)this.processLeaveNode(this.collectedLeaveElements[l]);if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(l=>l()),this._flushFns=[],this._whenQuietFns.length){const l=this._whenQuietFns;this._whenQuietFns=[],y.length?Zn(y).onDone(()=>{l.forEach(d=>d())}):l.forEach(d=>d())}}reportError(f){throw function Hn(){return new o.wOt(3402,!1)}()}_flushAnimations(f,y){const l=new Pe,d=[],c=new Map,C=[],P=new Map,ee=new Map,oe=new Map,Ne=new Set;this.disabledNodes.forEach(We=>{Ne.add(We);const Ye=this.driver.query(We,".ng-animate-queued",!0);for(let at=0;at<Ye.length;at++)Ne.add(Ye[at])});const me=this.bodyNode,Pt=Array.from(this.statesByElement.keys()),Et=Qo(Pt,this.collectedEnterElements),tt=new Map;let ct=0;Et.forEach((We,Ye)=>{const at=Cn+ct++;tt.set(Ye,at),We.forEach(Nt=>nr(Nt,at))});const hn=[],lt=new Set,Ln=new Set;for(let We=0;We<this.collectedLeaveElements.length;We++){const Ye=this.collectedLeaveElements[We],at=Ye[dn];at&&at.setForRemoval&&(hn.push(Ye),lt.add(Ye),at.hasAnimation?this.driver.query(Ye,".ng-star-inserted",!0).forEach(Nt=>lt.add(Nt)):Ln.add(Ye))}const bn=new Map,Vn=Qo(Pt,Array.from(lt));Vn.forEach((We,Ye)=>{const at=zr+ct++;bn.set(Ye,at),We.forEach(Nt=>nr(Nt,at))}),f.push(()=>{Et.forEach((We,Ye)=>{const at=tt.get(Ye);We.forEach(Nt=>Co(Nt,at))}),Vn.forEach((We,Ye)=>{const at=bn.get(Ye);We.forEach(Nt=>Co(Nt,at))}),hn.forEach(We=>{this.processLeaveNode(We)})});const Ro=[],Yr=[];for(let We=this._namespaceList.length-1;We>=0;We--)this._namespaceList[We].drainQueuedTransitions(y).forEach(at=>{const Nt=at.player,rr=at.element;if(Ro.push(Nt),this.collectedEnterElements.length){const jn=rr[dn];if(jn&&jn.setForMove){if(jn.previousTriggersValues&&jn.previousTriggersValues.has(at.triggerName)){const Hi=jn.previousTriggersValues.get(at.triggerName),Un=this.statesByElement.get(at.element);if(Un&&Un.has(at.triggerName)){const Jr=Un.get(at.triggerName);Jr.value=Hi,Un.set(at.triggerName,Jr)}}return void Nt.destroy()}}const $i=!me||!this.driver.containsElement(me,rr),si=bn.get(rr),ao=tt.get(rr),mn=this._buildInstruction(at,l,ao,si,$i);if(mn.errors&&mn.errors.length)return void Yr.push(mn);if($i)return Nt.onStart(()=>he(rr,mn.fromStyles)),Nt.onDestroy(()=>fn(rr,mn.toStyles)),void d.push(Nt);if(at.isFallbackTransition)return Nt.onStart(()=>he(rr,mn.fromStyles)),Nt.onDestroy(()=>fn(rr,mn.toStyles)),void d.push(Nt);const Do=[];mn.timelines.forEach(jn=>{jn.stretchStartingKeyframe=!0,this.disabledNodes.has(jn.element)||Do.push(jn)}),mn.timelines=Do,l.append(rr,mn.timelines),C.push({instruction:mn,player:Nt,element:rr}),mn.queriedElements.forEach(jn=>Ht(P,jn,[]).push(Nt)),mn.preStyleProps.forEach((jn,Hi)=>{if(jn.size){let Un=ee.get(Hi);Un||ee.set(Hi,Un=new Set),jn.forEach((Jr,Lo)=>Un.add(Lo))}}),mn.postStyleProps.forEach((jn,Hi)=>{let Un=oe.get(Hi);Un||oe.set(Hi,Un=new Set),jn.forEach((Jr,Lo)=>Un.add(Lo))})});if(Yr.length){const We=[];Yr.forEach(Ye=>{We.push(function yn(){return new o.wOt(3505,!1)}())}),Ro.forEach(Ye=>Ye.destroy()),this.reportError(We)}const ar=new Map,lr=new Map;C.forEach(We=>{const Ye=We.element;l.has(Ye)&&(lr.set(Ye,Ye),this._beforeAnimationBuild(We.player.namespaceId,We.instruction,ar))}),d.forEach(We=>{const Ye=We.element;this._getPreviousPlayers(Ye,!1,We.namespaceId,We.triggerName,null).forEach(Nt=>{Ht(ar,Ye,[]).push(Nt),Nt.destroy()})});const Zr=hn.filter(We=>mr(We,ee,oe)),so=new Map;qo(so,this.driver,Ln,oe,O.kp).forEach(We=>{mr(We,ee,oe)&&Zr.push(We)});const Bi=new Map;Et.forEach((We,Ye)=>{qo(Bi,this.driver,new Set(We),ee,O.FX)}),Zr.forEach(We=>{const Ye=so.get(We),at=Bi.get(We);so.set(We,new Map([...Ye?.entries()??[],...at?.entries()??[]]))});const st=[],Zo=[],ko={};C.forEach(We=>{const{element:Ye,player:at,instruction:Nt}=We;if(l.has(Ye)){if(Ne.has(Ye))return at.onDestroy(()=>fn(Ye,Nt.toStyles)),at.disabled=!0,at.overrideTotalTime(Nt.totalTime),void d.push(at);let rr=ko;if(lr.size>1){let si=Ye;const ao=[];for(;si=si.parentNode;){const mn=lr.get(si);if(mn){rr=mn;break}ao.push(si)}ao.forEach(mn=>lr.set(mn,rr))}const $i=this._buildAnimation(at.namespaceId,Nt,ar,c,Bi,so);if(at.setRealPlayer($i),rr===ko)st.push(at);else{const si=this.playersByElement.get(rr);si&&si.length&&(at.parentPlayer=Zn(si)),d.push(at)}}else he(Ye,Nt.fromStyles),at.onDestroy(()=>fn(Ye,Nt.toStyles)),Zo.push(at),Ne.has(Ye)&&d.push(at)}),Zo.forEach(We=>{const Ye=c.get(We.element);if(Ye&&Ye.length){const at=Zn(Ye);We.setRealPlayer(at)}}),d.forEach(We=>{We.parentPlayer?We.syncPlayerEvents(We.parentPlayer):We.destroy()});for(let We=0;We<hn.length;We++){const Ye=hn[We],at=Ye[dn];if(Co(Ye,zr),at&&at.hasAnimation)continue;let Nt=[];if(P.size){let $i=P.get(Ye);$i&&$i.length&&Nt.push(...$i);let si=this.driver.query(Ye,At,!0);for(let ao=0;ao<si.length;ao++){let mn=P.get(si[ao]);mn&&mn.length&&Nt.push(...mn)}}const rr=Nt.filter($i=>!$i.destroyed);rr.length?io(this,Ye,rr):this.processLeaveNode(Ye)}return hn.length=0,st.forEach(We=>{this.players.push(We),We.onDone(()=>{We.destroy();const Ye=this.players.indexOf(We);this.players.splice(Ye,1)}),We.play()}),st}afterFlush(f){this._flushFns.push(f)}afterFlushAnimationsDone(f){this._whenQuietFns.push(f)}_getPreviousPlayers(f,y,l,d,c){let C=[];if(y){const P=this.playersByQueriedElement.get(f);P&&(C=P)}else{const P=this.playersByElement.get(f);if(P){const ee=!c||c==ii;P.forEach(oe=>{oe.queued||!ee&&oe.triggerName!=d||C.push(oe)})}}return(l||d)&&(C=C.filter(P=>!(l&&l!=P.namespaceId||d&&d!=P.triggerName))),C}_beforeAnimationBuild(f,y,l){const c=y.element,C=y.isRemovalTransition?void 0:f,P=y.isRemovalTransition?void 0:y.triggerName;for(const ee of y.timelines){const oe=ee.element,Ne=oe!==c,me=Ht(l,oe,[]);this._getPreviousPlayers(oe,Ne,C,P,y.toState).forEach(Et=>{const tt=Et.getRealPlayer();tt.beforeDestroy&&tt.beforeDestroy(),Et.destroy(),me.push(Et)})}he(c,y.fromStyles)}_buildAnimation(f,y,l,d,c,C){const P=y.triggerName,ee=y.element,oe=[],Ne=new Set,me=new Set,Pt=y.timelines.map(tt=>{const ct=tt.element;Ne.add(ct);const hn=ct[dn];if(hn&&hn.removedBeforeQueried)return new O.sf(tt.duration,tt.delay);const lt=ct!==ee,Ln=function No(V){const f=[];return ke(V,f),f}((l.get(ct)||eo).map(ar=>ar.getRealPlayer())).filter(ar=>!!ar.element&&ar.element===ct),bn=c.get(ct),Vn=C.get(ct),Ro=Gn(this._normalizer,tt.keyframes,bn,Vn),Yr=this._buildPlayer(tt,Ro,Ln);if(tt.subTimeline&&d&&me.add(ct),lt){const ar=new mi(f,P,ct);ar.setRealPlayer(Yr),oe.push(ar)}return Yr});oe.forEach(tt=>{Ht(this.playersByQueriedElement,tt.element,[]).push(tt),tt.onDone(()=>function Po(V,f,y){let l=V.get(f);if(l){if(l.length){const d=l.indexOf(y);l.splice(d,1)}0==l.length&&V.delete(f)}return l}(this.playersByQueriedElement,tt.element,tt))}),Ne.forEach(tt=>nr(tt,vt));const Et=Zn(Pt);return Et.onDestroy(()=>{Ne.forEach(tt=>Co(tt,vt)),fn(ee,y.toStyles)}),me.forEach(tt=>{Ht(d,tt,[]).push(Et)}),Et}_buildPlayer(f,y,l){return y.length>0?this.driver.animate(f.element,y,f.duration,f.delay,f.easing,l):new O.sf(f.duration,f.delay)}}class mi{constructor(f,y,l){this.namespaceId=f,this.triggerName=y,this.element=l,this._player=new O.sf,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(f){this._containsRealPlayer||(this._player=f,this._queuedCallbacks.forEach((y,l)=>{y.forEach(d=>cr(f,l,void 0,d))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(f.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(f){this.totalTime=f}syncPlayerEvents(f){const y=this._player;y.triggerCallback&&f.onStart(()=>y.triggerCallback("start")),f.onDone(()=>this.finish()),f.onDestroy(()=>this.destroy())}_queueEvent(f,y){Ht(this._queuedCallbacks,f,[]).push(y)}onDone(f){this.queued&&this._queueEvent("done",f),this._player.onDone(f)}onStart(f){this.queued&&this._queueEvent("start",f),this._player.onStart(f)}onDestroy(f){this.queued&&this._queueEvent("destroy",f),this._player.onDestroy(f)}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(f){this.queued||this._player.setPosition(f)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(f){const y=this._player;y.triggerCallback&&y.triggerCallback(f)}}function ro(V){return V&&1===V.nodeType}function vo(V,f){const y=V.style.display;return V.style.display=f??"none",y}function qo(V,f,y,l,d){const c=[];y.forEach(ee=>c.push(vo(ee)));const C=[];l.forEach((ee,oe)=>{const Ne=new Map;ee.forEach(me=>{const Pt=f.computeStyle(oe,me,d);Ne.set(me,Pt),(!Pt||0==Pt.length)&&(oe[dn]=_o,C.push(oe))}),V.set(oe,Ne)});let P=0;return y.forEach(ee=>vo(ee,c[P++])),C}function Qo(V,f){const y=new Map;if(V.forEach(P=>y.set(P,[])),0==f.length)return y;const d=new Set(f),c=new Map;function C(P){if(!P)return 1;let ee=c.get(P);if(ee)return ee;const oe=P.parentNode;return ee=y.has(oe)?oe:d.has(oe)?1:C(oe),c.set(P,ee),ee}return f.forEach(P=>{const ee=C(P);1!==ee&&y.get(ee).push(P)}),y}function nr(V,f){V.classList?.add(f)}function Co(V,f){V.classList?.remove(f)}function io(V,f,y){Zn(y).onDone(()=>V.processLeaveNode(f))}function ke(V,f){for(let y=0;y<V.length;y++){const l=V[y];l instanceof O.ui?ke(l.players,f):f.push(l)}}function mr(V,f,y){const l=y.get(V);if(!l)return!1;let d=f.get(V);return d?l.forEach(c=>d.add(c)):f.set(V,l),y.delete(V),!0}class Vi{constructor(f,y,l){this._driver=y,this._normalizer=l,this._triggerCache={},this.onRemovalComplete=(d,c)=>{},this._transitionEngine=new Ko(f.body,y,l),this._timelineEngine=new Ts(f.body,y,l),this._transitionEngine.onRemovalComplete=(d,c)=>this.onRemovalComplete(d,c)}registerTrigger(f,y,l,d,c){const C=f+"-"+d;let P=this._triggerCache[C];if(!P){const ee=[],Ne=br(this._driver,c,ee,[]);if(ee.length)throw function be(){return new o.wOt(3404,!1)}();P=function Ge(V,f,y){return new Lt(V,f,y)}(d,Ne,this._normalizer),this._triggerCache[C]=P}this._transitionEngine.registerTrigger(y,d,P)}register(f,y){this._transitionEngine.register(f,y)}destroy(f,y){this._transitionEngine.destroy(f,y)}onInsert(f,y,l,d){this._transitionEngine.insertNode(f,y,l,d)}onRemove(f,y,l){this._transitionEngine.removeNode(f,y,l)}disableAnimations(f,y){this._transitionEngine.markElementAsDisabled(f,y)}process(f,y,l,d){if("@"==l.charAt(0)){const[c,C]=ei(l);this._timelineEngine.command(c,y,C,d)}else this._transitionEngine.trigger(f,y,l,d)}listen(f,y,l,d,c){if("@"==l.charAt(0)){const[C,P]=ei(l);return this._timelineEngine.listen(C,y,P,c)}return this._transitionEngine.listen(f,y,l,d,c)}flush(f=-1){this._transitionEngine.flush(f)}get players(){return[...this._transitionEngine.players,...this._timelineEngine.players]}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}afterFlushAnimationsDone(f){this._transitionEngine.afterFlushAnimationsDone(f)}}class bi{static#e=this.initialStylesByElement=new WeakMap;constructor(f,y,l){this._element=f,this._startStyles=y,this._endStyles=l,this._state=0;let d=bi.initialStylesByElement.get(f);d||bi.initialStylesByElement.set(f,d=new Map),this._initialStyles=d}start(){this._state<1&&(this._startStyles&&fn(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(fn(this._element,this._initialStyles),this._endStyles&&(fn(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(bi.initialStylesByElement.delete(this._element),this._startStyles&&(he(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(he(this._element,this._endStyles),this._endStyles=null),fn(this._element,this._initialStyles),this._state=3)}}function ji(V){let f=null;return V.forEach((y,l)=>{(function yi(V){return"display"===V||"position"===V})(l)&&(f=f||new Map,f.set(l,y))}),f}class _i{constructor(f,y,l,d){this.element=f,this.keyframes=y,this.options=l,this._specialStyles=d,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=l.duration,this._delay=l.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(f=>f()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const f=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,f,this.options),this._finalKeyframe=f.length?f[f.length-1]:new Map;const y=()=>this._onFinish();this.domPlayer.addEventListener("finish",y),this.onDestroy(()=>{this.domPlayer.removeEventListener("finish",y)})}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(f){const y=[];return f.forEach(l=>{y.push(Object.fromEntries(l))}),y}_triggerWebAnimation(f,y,l){return f.animate(this._convertKeyframesToObject(y),l)}onStart(f){this._originalOnStartFns.push(f),this._onStartFns.push(f)}onDone(f){this._originalOnDoneFns.push(f),this._onDoneFns.push(f)}onDestroy(f){this._onDestroyFns.push(f)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(f=>f()),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(f=>f()),this._onDestroyFns=[])}setPosition(f){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=f*this.time}getPosition(){return+(this.domPlayer.currentTime??0)/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const f=new Map;this.hasStarted()&&this._finalKeyframe.forEach((l,d)=>{"offset"!==d&&f.set(d,this._finished?l:gi(this.element,d))}),this.currentSnapshot=f}triggerCallback(f){const y="start"===f?this._onStartFns:this._onDoneFns;y.forEach(l=>l()),y.length=0}}class Ir{validateStyleProperty(f){return!0}validateAnimatableStyleProperty(f){return!0}containsElement(f,y){return An(f,y)}getParentElement(f){return vn(f)}query(f,y,l){return mt(f,y,l)}computeStyle(f,y,l){return gi(f,y)}animate(f,y,l,d,c,C=[]){const ee={duration:l,delay:d,fill:0==d?"both":"forwards"};c&&(ee.easing=c);const oe=new Map,Ne=C.filter(Et=>Et instanceof _i);(function Gt(V,f){return 0===V||0===f})(l,d)&&Ne.forEach(Et=>{Et.currentSnapshot.forEach((tt,ct)=>oe.set(ct,tt))});let me=function Wr(V){return V.length?V[0]instanceof Map?V:V.map(f=>new Map(Object.entries(f))):[]}(y).map(Et=>new Map(Et));me=function Nn(V,f,y){if(y.size&&f.length){let l=f[0],d=[];if(y.forEach((c,C)=>{l.has(C)||d.push(C),l.set(C,c)}),d.length)for(let c=1;c<f.length;c++){let C=f[c];d.forEach(P=>C.set(P,gi(V,P)))}}return f}(f,me,oe);const Pt=function Xo(V,f){let y=null,l=null;return Array.isArray(f)&&f.length?(y=ji(f[0]),f.length>1&&(l=ji(f[f.length-1]))):f instanceof Map&&(y=ji(f)),y||l?new bi(V,y,l):null}(f,me);return new _i(f,me,ee,Pt)}}const kr="@.disabled";class Yo{constructor(f,y,l,d){this.namespaceId=f,this.delegate=y,this.engine=l,this._onDestroy=d,this.\u0275type=0}get data(){return this.delegate.data}destroyNode(f){this.delegate.destroyNode?.(f)}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.engine.afterFlushAnimationsDone(()=>{queueMicrotask(()=>{this.delegate.destroy()})}),this._onDestroy?.()}createElement(f,y){return this.delegate.createElement(f,y)}createComment(f){return this.delegate.createComment(f)}createText(f){return this.delegate.createText(f)}appendChild(f,y){this.delegate.appendChild(f,y),this.engine.onInsert(this.namespaceId,y,f,!1)}insertBefore(f,y,l,d=!0){this.delegate.insertBefore(f,y,l),this.engine.onInsert(this.namespaceId,y,f,d)}removeChild(f,y,l){this.parentNode(y)&&this.engine.onRemove(this.namespaceId,y,this.delegate)}selectRootElement(f,y){return this.delegate.selectRootElement(f,y)}parentNode(f){return this.delegate.parentNode(f)}nextSibling(f){return this.delegate.nextSibling(f)}setAttribute(f,y,l,d){this.delegate.setAttribute(f,y,l,d)}removeAttribute(f,y,l){this.delegate.removeAttribute(f,y,l)}addClass(f,y){this.delegate.addClass(f,y)}removeClass(f,y){this.delegate.removeClass(f,y)}setStyle(f,y,l,d){this.delegate.setStyle(f,y,l,d)}removeStyle(f,y,l){this.delegate.removeStyle(f,y,l)}setProperty(f,y,l){"@"==y.charAt(0)&&y==kr?this.disableAnimations(f,!!l):this.delegate.setProperty(f,y,l)}setValue(f,y){this.delegate.setValue(f,y)}listen(f,y,l){return this.delegate.listen(f,y,l)}disableAnimations(f,y){this.engine.disableAnimations(f,y)}}class kn extends Yo{constructor(f,y,l,d,c){super(y,l,d,c),this.factory=f,this.namespaceId=y}setProperty(f,y,l){"@"==y.charAt(0)?"."==y.charAt(1)&&y==kr?this.disableAnimations(f,l=void 0===l||!!l):this.engine.process(this.namespaceId,f,y.slice(1),l):this.delegate.setProperty(f,y,l)}listen(f,y,l){if("@"==y.charAt(0)){const d=function Eo(V){switch(V){case"body":return document.body;case"document":return document;case"window":return window;default:return V}}(f);let c=y.slice(1),C="";return"@"!=c.charAt(0)&&([c,C]=function wo(V){const f=V.indexOf(".");return[V.substring(0,f),V.slice(f+1)]}(c)),this.engine.listen(this.namespaceId,d,c,C,P=>{this.factory.scheduleListenerCallback(P._data||-1,l,P)})}return this.delegate.listen(f,y,l)}}class $t{constructor(f,y,l){this.delegate=f,this.engine=y,this._zone=l,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,y.onRemovalComplete=(d,c)=>{c?.removeChild(null,d)}}createRenderer(f,y){const d=this.delegate.createRenderer(f,y);if(!f||!y?.data?.animation){const oe=this._rendererCache;let Ne=oe.get(d);return Ne||(Ne=new Yo("",d,this.engine,()=>oe.delete(d)),oe.set(d,Ne)),Ne}const c=y.id,C=y.id+"-"+this._currentId;this._currentId++,this.engine.register(C,f);const P=oe=>{Array.isArray(oe)?oe.forEach(P):this.engine.registerTrigger(c,C,f,oe.name,oe)};return y.data.animation.forEach(P),new kn(this,C,d,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask(()=>{this._microtaskId++})}scheduleListenerCallback(f,y,l){if(f>=0&&f<this._microtaskId)return void this._zone.run(()=>y(l));const d=this._animationCallbacksBuffer;0==d.length&&queueMicrotask(()=>{this._zone.run(()=>{d.forEach(c=>{const[C,P]=c;C(P)}),this._animationCallbacksBuffer=[]})}),d.push([y,l])}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()}}var Ss=D(177);const xo=[{provide:xe,useFactory:function ps(){return new Rr}},{provide:Vi,useClass:(()=>{class V extends Vi{constructor(y,l,d){super(y,l,d)}ngOnDestroy(){this.flush()}static#e=this.\u0275fac=function(l){return new(l||V)(o.KVO(Ss.qQ),o.KVO(pt),o.KVO(xe))};static#t=this.\u0275prov=o.jDH({token:V,factory:V.\u0275fac})}return V})()},{provide:o._9s,useFactory:function gs(V,f,y){return new $t(V,f,y)},deps:[M.B7,Vi,o.SKi]}],Ui=[{provide:pt,useFactory:()=>new Ir},{provide:o.bc$,useValue:"BrowserAnimations"},...xo],Je=[{provide:pt,useClass:or},{provide:o.bc$,useValue:"NoopAnimations"},...xo];let oi=(()=>{class V{static withConfig(y){return{ngModule:V,providers:y.disableAnimations?Je:Ui}}static#e=this.\u0275fac=function(l){return new(l||V)};static#t=this.\u0275mod=o.$C({type:V});static#n=this.\u0275inj=o.G2t({providers:Ui,imports:[M.Bb]})}return V})()},345:(G,k,D)=>{"use strict";D.d(k,{B7:()=>ne,Bb:()=>ti,hE:()=>ir,sG:()=>Ht});var o=D(177),M=D(3953);class O extends o.VF{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class R extends O{static makeCurrent(){(0,o.ZD)(new R)}onAndCancel(le,K,re){return le.addEventListener(K,re),()=>{le.removeEventListener(K,re)}}dispatchEvent(le,K){le.dispatchEvent(K)}remove(le){le.remove()}createElement(le,K){return(K=K||this.getDefaultDocument()).createElement(le)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(le){return le.nodeType===Node.ELEMENT_NODE}isShadowRoot(le){return le instanceof DocumentFragment}getGlobalEventTarget(le,K){return"window"===K?window:"document"===K?le:"body"===K?le.body:null}getBaseHref(le){const K=function L(){return x=x||document.querySelector("base"),x?x.getAttribute("href"):null}();return null==K?null:function $(he){return new URL(he,document.baseURI).pathname}(K)}resetBaseElement(){x=null}getUserAgent(){return window.navigator.userAgent}getCookie(le){return(0,o._b)(document.cookie,le)}}let x=null,Z=(()=>{class he{build(){return new XMLHttpRequest}static#e=this.\u0275fac=function(re){return new(re||he)};static#t=this.\u0275prov=M.jDH({token:he,factory:he.\u0275fac})}return he})();const te=new M.nKC("");let ae=(()=>{class he{constructor(K,re){this._zone=re,this._eventNameToPlugin=new Map,K.forEach(Ce=>{Ce.manager=this}),this._plugins=K.slice().reverse()}addEventListener(K,re,Ce){return this._findPluginFor(re).addEventListener(K,re,Ce)}getZone(){return this._zone}_findPluginFor(K){let re=this._eventNameToPlugin.get(K);if(re)return re;if(re=this._plugins.find(Ue=>Ue.supports(K)),!re)throw new M.wOt(5101,!1);return this._eventNameToPlugin.set(K,re),re}static#e=this.\u0275fac=function(re){return new(re||he)(M.KVO(te),M.KVO(M.SKi))};static#t=this.\u0275prov=M.jDH({token:he,factory:he.\u0275fac})}return he})();class ye{constructor(le){this._doc=le}}const Se="ng-app-id";let ve=(()=>{class he{constructor(K,re,Ce,Ue={}){this.doc=K,this.appId=re,this.nonce=Ce,this.platformId=Ue,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=(0,o.Vy)(Ue),this.resetHostNodes()}addStyles(K){for(const re of K)1===this.changeUsageCount(re,1)&&this.onStyleAdded(re)}removeStyles(K){for(const re of K)this.changeUsageCount(re,-1)<=0&&this.onStyleRemoved(re)}ngOnDestroy(){const K=this.styleNodesInDOM;K&&(K.forEach(re=>re.remove()),K.clear());for(const re of this.getAllStyles())this.onStyleRemoved(re);this.resetHostNodes()}addHost(K){this.hostNodes.add(K);for(const re of this.getAllStyles())this.addStyleToHost(K,re)}removeHost(K){this.hostNodes.delete(K)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(K){for(const re of this.hostNodes)this.addStyleToHost(re,K)}onStyleRemoved(K){const re=this.styleRef;re.get(K)?.elements?.forEach(Ce=>Ce.remove()),re.delete(K)}collectServerRenderedStyles(){const K=this.doc.head?.querySelectorAll(`style[${Se}="${this.appId}"]`);if(K?.length){const re=new Map;return K.forEach(Ce=>{null!=Ce.textContent&&re.set(Ce.textContent,Ce)}),re}return null}changeUsageCount(K,re){const Ce=this.styleRef;if(Ce.has(K)){const Ue=Ce.get(K);return Ue.usage+=re,Ue.usage}return Ce.set(K,{usage:re,elements:[]}),re}getStyleElement(K,re){const Ce=this.styleNodesInDOM,Ue=Ce?.get(re);if(Ue?.parentNode===K)return Ce.delete(re),Ue.removeAttribute(Se),Ue;{const it=this.doc.createElement("style");return this.nonce&&it.setAttribute("nonce",this.nonce),it.textContent=re,this.platformIsServer&&it.setAttribute(Se,this.appId),K.appendChild(it),it}}addStyleToHost(K,re){const Ce=this.getStyleElement(K,re),Ue=this.styleRef,it=Ue.get(re)?.elements;it?it.push(Ce):Ue.set(re,{elements:[Ce],usage:1})}resetHostNodes(){const K=this.hostNodes;K.clear(),K.add(this.doc.head)}static#e=this.\u0275fac=function(re){return new(re||he)(M.KVO(o.qQ),M.KVO(M.sZ2),M.KVO(M.BIS,8),M.KVO(M.Agw))};static#t=this.\u0275prov=M.jDH({token:he,factory:he.\u0275fac})}return he})();const Oe={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"},Ve=/%COMP%/g,bt=new M.nKC("",{providedIn:"root",factory:()=>!0});function St(he,le){return le.map(K=>K.replace(Ve,he))}let ne=(()=>{class he{constructor(K,re,Ce,Ue,it,Ct,on,Gt=null){this.eventManager=K,this.sharedStylesHost=re,this.appId=Ce,this.removeStylesOnCompDestroy=Ue,this.doc=it,this.platformId=Ct,this.ngZone=on,this.nonce=Gt,this.rendererByCompId=new Map,this.platformIsServer=(0,o.Vy)(Ct),this.defaultRenderer=new pe(K,it,on,this.platformIsServer)}createRenderer(K,re){if(!K||!re)return this.defaultRenderer;this.platformIsServer&&re.encapsulation===M.gXe.ShadowDom&&(re={...re,encapsulation:M.gXe.Emulated});const Ce=this.getOrCreateRenderer(K,re);return Ce instanceof rt?Ce.applyToHost(K):Ce instanceof qe&&Ce.applyStyles(),Ce}getOrCreateRenderer(K,re){const Ce=this.rendererByCompId;let Ue=Ce.get(re.id);if(!Ue){const it=this.doc,Ct=this.ngZone,on=this.eventManager,Gt=this.sharedStylesHost,Nn=this.removeStylesOnCompDestroy,kt=this.platformIsServer;switch(re.encapsulation){case M.gXe.Emulated:Ue=new rt(on,Gt,re,this.appId,Nn,it,Ct,kt);break;case M.gXe.ShadowDom:return new ge(on,Gt,K,re,it,Ct,this.nonce,kt);default:Ue=new qe(on,Gt,re,Nn,it,Ct,kt)}Ce.set(re.id,Ue)}return Ue}ngOnDestroy(){this.rendererByCompId.clear()}static#e=this.\u0275fac=function(re){return new(re||he)(M.KVO(ae),M.KVO(ve),M.KVO(M.sZ2),M.KVO(bt),M.KVO(o.qQ),M.KVO(M.Agw),M.KVO(M.SKi),M.KVO(M.BIS))};static#t=this.\u0275prov=M.jDH({token:he,factory:he.\u0275fac})}return he})();class pe{constructor(le,K,re,Ce){this.eventManager=le,this.doc=K,this.ngZone=re,this.platformIsServer=Ce,this.data=Object.create(null),this.throwOnSyntheticProps=!0,this.destroyNode=null}destroy(){}createElement(le,K){return K?this.doc.createElementNS(Oe[K]||K,le):this.doc.createElement(le)}createComment(le){return this.doc.createComment(le)}createText(le){return this.doc.createTextNode(le)}appendChild(le,K){(ce(le)?le.content:le).appendChild(K)}insertBefore(le,K,re){le&&(ce(le)?le.content:le).insertBefore(K,re)}removeChild(le,K){K.remove()}selectRootElement(le,K){let re="string"==typeof le?this.doc.querySelector(le):le;if(!re)throw new M.wOt(-5104,!1);return K||(re.textContent=""),re}parentNode(le){return le.parentNode}nextSibling(le){return le.nextSibling}setAttribute(le,K,re,Ce){if(Ce){K=Ce+":"+K;const Ue=Oe[Ce];Ue?le.setAttributeNS(Ue,K,re):le.setAttribute(K,re)}else le.setAttribute(K,re)}removeAttribute(le,K,re){if(re){const Ce=Oe[re];Ce?le.removeAttributeNS(Ce,K):le.removeAttribute(`${re}:${K}`)}else le.removeAttribute(K)}addClass(le,K){le.classList.add(K)}removeClass(le,K){le.classList.remove(K)}setStyle(le,K,re,Ce){Ce&(M.czy.DashCase|M.czy.Important)?le.style.setProperty(K,re,Ce&M.czy.Important?"important":""):le.style[K]=re}removeStyle(le,K,re){re&M.czy.DashCase?le.style.removeProperty(K):le.style[K]=""}setProperty(le,K,re){null!=le&&(le[K]=re)}setValue(le,K){le.nodeValue=K}listen(le,K,re){if("string"==typeof le&&!(le=(0,o.QT)().getGlobalEventTarget(this.doc,le)))throw new Error(`Unsupported event target ${le} for event ${K}`);return this.eventManager.addEventListener(le,K,this.decoratePreventDefault(re))}decoratePreventDefault(le){return K=>{if("__ngUnwrap__"===K)return le;!1===(this.platformIsServer?this.ngZone.runGuarded(()=>le(K)):le(K))&&K.preventDefault()}}}function ce(he){return"TEMPLATE"===he.tagName&&void 0!==he.content}class ge extends pe{constructor(le,K,re,Ce,Ue,it,Ct,on){super(le,Ue,it,on),this.sharedStylesHost=K,this.hostEl=re,this.shadowRoot=re.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const Gt=St(Ce.id,Ce.styles);for(const Nn of Gt){const kt=document.createElement("style");Ct&&kt.setAttribute("nonce",Ct),kt.textContent=Nn,this.shadowRoot.appendChild(kt)}}nodeOrShadowRoot(le){return le===this.hostEl?this.shadowRoot:le}appendChild(le,K){return super.appendChild(this.nodeOrShadowRoot(le),K)}insertBefore(le,K,re){return super.insertBefore(this.nodeOrShadowRoot(le),K,re)}removeChild(le,K){return super.removeChild(null,K)}parentNode(le){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(le)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class qe extends pe{constructor(le,K,re,Ce,Ue,it,Ct,on){super(le,Ue,it,Ct),this.sharedStylesHost=K,this.removeStylesOnCompDestroy=Ce,this.styles=on?St(on,re.styles):re.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}}class rt extends qe{constructor(le,K,re,Ce,Ue,it,Ct,on){const Gt=Ce+"-"+re.id;super(le,K,re,Ue,it,Ct,on,Gt),this.contentAttr=function nt(he){return"_ngcontent-%COMP%".replace(Ve,he)}(Gt),this.hostAttr=function ft(he){return"_nghost-%COMP%".replace(Ve,he)}(Gt)}applyToHost(le){this.applyStyles(),this.setAttribute(le,this.hostAttr,"")}createElement(le,K){const re=super.createElement(le,K);return super.setAttribute(re,this.contentAttr,""),re}}let Yt=(()=>{class he extends ye{constructor(K){super(K)}supports(K){return!0}addEventListener(K,re,Ce){return K.addEventListener(re,Ce,!1),()=>this.removeEventListener(K,re,Ce)}removeEventListener(K,re,Ce){return K.removeEventListener(re,Ce)}static#e=this.\u0275fac=function(re){return new(re||he)(M.KVO(o.qQ))};static#t=this.\u0275prov=M.jDH({token:he,factory:he.\u0275fac})}return he})(),In=(()=>{class he extends ye{constructor(K){super(K),this.delegate=(0,M.WQX)(M.zAP,{optional:!0})}supports(K){return!!this.delegate&&this.delegate.supports(K)}addEventListener(K,re,Ce){return this.delegate.addEventListener(K,re,Ce)}removeEventListener(K,re,Ce){return this.delegate.removeEventListener(K,re,Ce)}static#e=this.\u0275fac=function(re){return new(re||he)(M.KVO(o.qQ))};static#t=this.\u0275prov=M.jDH({token:he,factory:he.\u0275fac})}return he})();const nn=["alt","control","meta","shift"],Sn={"\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"},et={alt:he=>he.altKey,control:he=>he.ctrlKey,meta:he=>he.metaKey,shift:he=>he.shiftKey};let Hn=(()=>{class he extends ye{constructor(K){super(K)}supports(K){return null!=he.parseEventName(K)}addEventListener(K,re,Ce){const Ue=he.parseEventName(re),it=he.eventCallback(Ue.fullKey,Ce,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,o.QT)().onAndCancel(K,Ue.domEventName,it))}static parseEventName(K){const re=K.toLowerCase().split("."),Ce=re.shift();if(0===re.length||"keydown"!==Ce&&"keyup"!==Ce)return null;const Ue=he._normalizeKey(re.pop());let it="",Ct=re.indexOf("code");if(Ct>-1&&(re.splice(Ct,1),it="code."),nn.forEach(Gt=>{const Nn=re.indexOf(Gt);Nn>-1&&(re.splice(Nn,1),it+=Gt+".")}),it+=Ue,0!=re.length||0===Ue.length)return null;const on={};return on.domEventName=Ce,on.fullKey=it,on}static matchEventFullKeyCode(K,re){let Ce=Sn[K.key]||K.key,Ue="";return re.indexOf("code.")>-1&&(Ce=K.code,Ue="code."),!(null==Ce||!Ce)&&(Ce=Ce.toLowerCase()," "===Ce?Ce="space":"."===Ce&&(Ce="dot"),nn.forEach(it=>{it!==Ce&&(0,et[it])(K)&&(Ue+=it+".")}),Ue+=Ce,Ue===re)}static eventCallback(K,re,Ce){return Ue=>{he.matchEventFullKeyCode(Ue,K)&&Ce.runGuarded(()=>re(Ue))}}static _normalizeKey(K){return"esc"===K?"escape":K}static#e=this.\u0275fac=function(re){return new(re||he)(M.KVO(o.qQ))};static#t=this.\u0275prov=M.jDH({token:he,factory:he.\u0275fac})}return he})();const Ht=(0,M.oH4)(M.fpN,"browser",[{provide:M.Agw,useValue:o.AJ},{provide:M.PLl,useValue:function Gn(){R.makeCurrent()},multi:!0},{provide:o.qQ,useFactory:function ur(){return(0,M.TL$)(document),document},deps:[]}]),ei=new M.nKC(""),an=[{provide:M.e01,useClass:class B{addToWindow(le){M.JZv.getAngularTestability=(re,Ce=!0)=>{const Ue=le.findTestabilityInTree(re,Ce);if(null==Ue)throw new M.wOt(5103,!1);return Ue},M.JZv.getAllAngularTestabilities=()=>le.getAllTestabilities(),M.JZv.getAllAngularRootElements=()=>le.getAllRootElements(),M.JZv.frameworkStabilizers||(M.JZv.frameworkStabilizers=[]),M.JZv.frameworkStabilizers.push(re=>{const Ce=M.JZv.getAllAngularTestabilities();let Ue=Ce.length;const it=function(){Ue--,0==Ue&&re()};Ce.forEach(Ct=>{Ct.whenStable(it)})})}findTestabilityInTree(le,K,re){return null==K?null:le.getTestability(K)??(re?(0,o.QT)().isShadowRoot(K)?this.findTestabilityInTree(le,K.host,!0):this.findTestabilityInTree(le,K.parentElement,!0):null)}},deps:[]},{provide:M.WHO,useClass:M.NYb,deps:[M.SKi,M.giA,M.e01]},{provide:M.NYb,useClass:M.NYb,deps:[M.SKi,M.giA,M.e01]}],vn=[{provide:M.H8p,useValue:"root"},{provide:M.zcH,useFactory:function cr(){return new M.zcH},deps:[]},{provide:te,useClass:Yt,multi:!0,deps:[o.qQ,M.SKi,M.Agw]},{provide:te,useClass:Hn,multi:!0,deps:[o.qQ]},{provide:te,useClass:In,multi:!0},ne,ve,ae,{provide:M._9s,useExisting:ne},{provide:o.N0,useClass:Z,deps:[]},[]];let ti=(()=>{class he{constructor(K){}static withServerTransition(K){return{ngModule:he,providers:[{provide:M.sZ2,useValue:K.appId}]}}static#e=this.\u0275fac=function(re){return new(re||he)(M.KVO(ei,12))};static#t=this.\u0275mod=M.$C({type:he});static#n=this.\u0275inj=M.G2t({providers:[...vn,...an],imports:[o.MD,M.Hbi]})}return he})(),ir=(()=>{class he{constructor(K){this._doc=K}getTitle(){return this._doc.title}setTitle(K){this._doc.title=K||""}static#e=this.\u0275fac=function(re){return new(re||he)(M.KVO(o.qQ))};static#t=this.\u0275prov=M.jDH({token:he,factory:he.\u0275fac,providedIn:"root"})}return he})()},7901:(G,k,D)=>{"use strict";D.d(k,{Ix:()=>jt,Wk:()=>Ae,iI:()=>Dl,ld:()=>Me,n3:()=>ro,nX:()=>dn,vG:()=>qt,wF:()=>qn});var o=D(3953),M=D(4402),O=D(2806),R=D(7673),x=D(4412),L=D(4572),$=D(9350),B=D(8793),Z=D(9030),te=D(1203),ae=D(8810),ye=D(983),Se=D(17),ve=D(1413),Oe=D(8359),Ve=D(177),Le=D(6354),Qe=D(5558),$e=D(6697),gt=D(9172),bt=D(5964),nt=D(1397),ft=D(1594),St=D(274),ne=D(8141),pe=D(9437),Ee=D(2816),be=D(9901),ce=D(7018),ge=D(5109),qe=D(3703),rt=D(980),Yt=D(9898),In=D(6977),nn=D(6365),Sn=D(345);const et="primary",Hn=Symbol("RouteTitle");class Hr{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 yn(h){return new Hr(h)}function _n(h,_,p){const v=p.path.split("/");if(v.length>h.length||"full"===p.pathMatch&&(_.hasChildren()||v.length<h.length))return null;const T={};for(let F=0;F<v.length;F++){const W=v[F],fe=h[F];if(":"===W[0])T[W.substring(1)]=fe;else if(W!==fe.path)return null}return{consumed:h.slice(0,v.length),posParams:T}}function Gn(h,_){const p=h?cr(h):void 0,v=_?cr(_):void 0;if(!p||!v||p.length!=v.length)return!1;let T;for(let F=0;F<p.length;F++)if(T=p[F],!ur(h[T],_[T]))return!1;return!0}function cr(h){return[...Object.keys(h),...Object.getOwnPropertySymbols(h)]}function ur(h,_){if(Array.isArray(h)&&Array.isArray(_)){if(h.length!==_.length)return!1;const p=[...h].sort(),v=[..._].sort();return p.every((T,F)=>v[F]===T)}return h===_}function dr(h){return h.length>0?h[h.length-1]:null}function Ht(h){return(0,M.A)(h)?h:(0,o.jNT)(h)?(0,O.H)(Promise.resolve(h)):(0,R.of)(h)}const ei={exact:function un(h,_,p){if(!pt(h.segments,_.segments)||!hr(h.segments,_.segments,p)||h.numberOfChildren!==_.numberOfChildren)return!1;for(const v in _.children)if(!h.children[v]||!un(h.children[v],_.children[v],p))return!1;return!0},subset:ir},an={exact:function ti(h,_){return Gn(h,_)},subset:function wr(h,_){return Object.keys(_).length<=Object.keys(h).length&&Object.keys(_).every(p=>ur(h[p],_[p]))},ignored:()=>!0};function vn(h,_,p){return ei[p.paths](h.root,_.root,p.matrixParams)&&an[p.queryParams](h.queryParams,_.queryParams)&&!("exact"===p.fragment&&h.fragment!==_.fragment)}function ir(h,_,p){return Nr(h,_,_.segments,p)}function Nr(h,_,p,v){if(h.segments.length>p.length){const T=h.segments.slice(0,p.length);return!(!pt(T,p)||_.hasChildren()||!hr(T,p,v))}if(h.segments.length===p.length){if(!pt(h.segments,p)||!hr(h.segments,p,v))return!1;for(const T in _.children)if(!h.children[T]||!ir(h.children[T],_.children[T],v))return!1;return!0}{const T=p.slice(0,h.segments.length),F=p.slice(h.segments.length);return!!(pt(h.segments,T)&&hr(h.segments,T,v)&&h.children[et])&&Nr(h.children[et],_,F,v)}}function hr(h,_,p){return _.every((v,T)=>an[p](h[T].parameters,v.parameters))}class An{constructor(_=new mt([],{}),p={},v=null){this.root=_,this.queryParams=p,this.fragment=v}get queryParamMap(){return this._queryParamMap??=yn(this.queryParams),this._queryParamMap}toString(){return sr.serialize(this)}}class mt{constructor(_,p){this.segments=_,this.children=p,this.parent=null,Object.values(p).forEach(v=>v.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Mr(this)}}class Dr{constructor(_,p){this.path=_,this.parameters=p}get parameterMap(){return this._parameterMap??=yn(this.parameters),this._parameterMap}toString(){return Ot(this)}}function pt(h,_){return h.length===_.length&&h.every((p,v)=>p.path===_[v].path)}let fi=(()=>{class h{static#e=this.\u0275fac=function(v){return new(v||h)};static#t=this.\u0275prov=o.jDH({token:h,factory:()=>new Gr,providedIn:"root"})}return h})();class Gr{parse(_){const p=new Ue(_);return new An(p.parseRootSegment(),p.parseQueryParams(),p.parseFragment())}serialize(_){const p=`/${Cn(_.root,!0)}`,v=function fr(h){const _=Object.entries(h).map(([p,v])=>Array.isArray(v)?v.map(T=>`${Bt(p)}=${Bt(T)}`).join("&"):`${Bt(p)}=${Bt(v)}`).filter(p=>p);return _.length?`?${_.join("&")}`:""}(_.queryParams);return`${p}${v}${"string"==typeof _.fragment?`#${function pi(h){return encodeURI(h)}(_.fragment)}`:""}`}}const sr=new Gr;function Mr(h){return h.segments.map(_=>Ot(_)).join("/")}function Cn(h,_){if(!h.hasChildren())return Mr(h);if(_){const p=h.children[et]?Cn(h.children[et],!1):"",v=[];return Object.entries(h.children).forEach(([T,F])=>{T!==et&&v.push(`${T}:${Cn(F,!1)}`)}),v.length>0?`${p}(${v.join("//")})`:p}{const p=function xe(h,_){let p=[];return Object.entries(h.children).forEach(([v,T])=>{v===et&&(p=p.concat(_(T,v)))}),Object.entries(h.children).forEach(([v,T])=>{v!==et&&(p=p.concat(_(T,v)))}),p}(h,(v,T)=>T===et?[Cn(h.children[et],!1)]:[`${T}:${Cn(v,!1)}`]);return 1===Object.keys(h.children).length&&null!=h.children[et]?`${Mr(h)}/${p[0]}`:`${Mr(h)}/(${p.join("//")})`}}function zr(h){return encodeURIComponent(h).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Bt(h){return zr(h).replace(/%3B/gi,";")}function vt(h){return zr(h).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function At(h){return decodeURIComponent(h)}function rn(h){return At(h.replace(/\+/g,"%20"))}function Ot(h){return`${vt(h.path)}${function En(h){return Object.entries(h).map(([_,p])=>`;${vt(_)}=${vt(p)}`).join("")}(h.parameters)}`}const Wr=/^[^\/()?;#]+/;function Zt(h){const _=h.match(Wr);return _?_[0]:""}const fn=/^[^\/()?;=#]+/,le=/^[^=?&#]+/,re=/^[^&#]+/;class Ue{constructor(_){this.url=_,this.remaining=_}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new mt([],{}):new mt([],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 v={};return this.peekStartsWith("(")&&(v=this.parseParens(!1)),(_.length>0||Object.keys(p).length>0)&&(v[et]=new mt(_,p)),v}parseSegment(){const _=Zt(this.remaining);if(""===_&&this.peekStartsWith(";"))throw new o.wOt(4009,!1);return this.capture(_),new Dr(At(_),this.parseMatrixParams())}parseMatrixParams(){const _={};for(;this.consumeOptional(";");)this.parseParam(_);return _}parseParam(_){const p=function he(h){const _=h.match(fn);return _?_[0]:""}(this.remaining);if(!p)return;this.capture(p);let v="";if(this.consumeOptional("=")){const T=Zt(this.remaining);T&&(v=T,this.capture(v))}_[At(p)]=At(v)}parseQueryParam(_){const p=function K(h){const _=h.match(le);return _?_[0]:""}(this.remaining);if(!p)return;this.capture(p);let v="";if(this.consumeOptional("=")){const W=function Ce(h){const _=h.match(re);return _?_[0]:""}(this.remaining);W&&(v=W,this.capture(v))}const T=rn(p),F=rn(v);if(_.hasOwnProperty(T)){let W=_[T];Array.isArray(W)||(W=[W],_[T]=W),W.push(F)}else _[T]=F}parseParens(_){const p={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const v=Zt(this.remaining),T=this.remaining[v.length];if("/"!==T&&")"!==T&&";"!==T)throw new o.wOt(4010,!1);let F;v.indexOf(":")>-1?(F=v.slice(0,v.indexOf(":")),this.capture(F),this.capture(":")):_&&(F=et);const W=this.parseChildren();p[F]=1===Object.keys(W).length?W[et]:new mt([],W),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 o.wOt(4011,!1)}}function it(h){return h.segments.length>0?new mt([],{[et]:h}):h}function Ct(h){const _={};for(const[v,T]of Object.entries(h.children)){const F=Ct(T);if(v===et&&0===F.segments.length&&F.hasChildren())for(const[W,fe]of Object.entries(F.children))_[W]=fe;else(F.segments.length>0||F.hasChildren())&&(_[v]=F)}return function on(h){if(1===h.numberOfChildren&&h.children[et]){const _=h.children[et];return new mt(h.segments.concat(_.segments),_.children)}return h}(new mt(h.segments,_))}function Gt(h){return h instanceof An}function kt(h){let _;const T=it(function p(F){const W={};for(const se of F.children){const Be=p(se);W[se.outlet]=Be}const fe=new mt(F.url,W);return F===h&&(_=fe),fe}(h.root));return _??T}function gi(h,_,p,v){let T=h;for(;T.parent;)T=T.parent;if(0===_.length)return Di(T,T,T,p,v);const F=function Yi(h){if("string"==typeof h[0]&&1===h.length&&"/"===h[0])return new ni(!0,0,h);let _=0,p=!1;const v=h.reduce((T,F,W)=>{if("object"==typeof F&&null!=F){if(F.outlets){const fe={};return Object.entries(F.outlets).forEach(([se,Be])=>{fe[se]="string"==typeof Be?Be.split("/"):Be}),[...T,{outlets:fe}]}if(F.segmentPath)return[...T,F.segmentPath]}return"string"!=typeof F?[...T,F]:0===W?(F.split("/").forEach((fe,se)=>{0==se&&"."===fe||(0==se&&""===fe?p=!0:".."===fe?_++:""!=fe&&T.push(fe))}),T):[...T,F]},[]);return new ni(p,_,v)}(_);if(F.toRoot())return Di(T,T,new mt([],{}),p,v);const W=function Kr(h,_,p){if(h.isAbsolute)return new xn(_,!0,0);if(!p)return new xn(_,!1,NaN);if(null===p.parent)return new xn(p,!0,0);const v=xr(h.commands[0])?0:1;return function Jn(h,_,p){let v=h,T=_,F=p;for(;F>T;){if(F-=T,v=v.parent,!v)throw new o.wOt(4005,!1);T=v.segments.length}return new xn(v,!1,T-F)}(p,p.segments.length-1+v,h.numberOfDoubleDots)}(F,T,h),fe=W.processChildren?tr(W.segmentGroup,W.index,F.commands):pr(W.segmentGroup,W.index,F.commands);return Di(T,W.segmentGroup,fe,p,v)}function xr(h){return"object"==typeof h&&null!=h&&!h.outlets&&!h.segmentPath}function Rr(h){return"object"==typeof h&&null!=h&&h.outlets}function Di(h,_,p,v,T){let W,F={};v&&Object.entries(v).forEach(([se,Be])=>{F[se]=Array.isArray(Be)?Be.map(dt=>`${dt}`):`${Be}`}),W=h===_?p:Wo(h,_,p);const fe=it(Ct(W));return new An(fe,F,T)}function Wo(h,_,p){const v={};return Object.entries(h.children).forEach(([T,F])=>{v[T]=F===_?p:Wo(F,_,p)}),new mt(h.segments,v)}class ni{constructor(_,p,v){if(this.isAbsolute=_,this.numberOfDoubleDots=p,this.commands=v,_&&v.length>0&&xr(v[0]))throw new o.wOt(4003,!1);const T=v.find(Rr);if(T&&T!==dr(v))throw new o.wOt(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class xn{constructor(_,p,v){this.segmentGroup=_,this.processChildren=p,this.index=v}}function pr(h,_,p){if(h??=new mt([],{}),0===h.segments.length&&h.hasChildren())return tr(h,_,p);const v=function qr(h,_,p){let v=0,T=_;const F={match:!1,pathIndex:0,commandIndex:0};for(;T<h.segments.length;){if(v>=p.length)return F;const W=h.segments[T],fe=p[v];if(Rr(fe))break;const se=`${fe}`,Be=v<p.length-1?p[v+1]:null;if(T>0&&void 0===se)break;if(se&&Be&&"object"==typeof Be&&void 0===Be.outlets){if(!Mi(se,Be,W))return F;v+=2}else{if(!Mi(se,{},W))return F;v++}T++}return{match:!0,pathIndex:T,commandIndex:v}}(h,_,p),T=p.slice(v.commandIndex);if(v.match&&v.pathIndex<h.segments.length){const F=new mt(h.segments.slice(0,v.pathIndex),{});return F.children[et]=new mt(h.segments.slice(v.pathIndex),h.children),tr(F,0,T)}return v.match&&0===T.length?new mt(h.segments,{}):v.match&&!h.hasChildren()?Kn(h,_,p):v.match?tr(h,0,T):Kn(h,_,p)}function tr(h,_,p){if(0===p.length)return new mt(h.segments,{});{const v=function er(h){return Rr(h[0])?h[0].outlets:{[et]:h}}(p),T={};if(Object.keys(v).some(F=>F!==et)&&h.children[et]&&1===h.numberOfChildren&&0===h.children[et].segments.length){const F=tr(h.children[et],_,p);return new mt(h.segments,F.children)}return Object.entries(v).forEach(([F,W])=>{"string"==typeof W&&(W=[W]),null!==W&&(T[F]=pr(h.children[F],_,W))}),Object.entries(h.children).forEach(([F,W])=>{void 0===v[F]&&(T[F]=W)}),new mt(h.segments,T)}}function Kn(h,_,p){const v=h.segments.slice(0,_);let T=0;for(;T<p.length;){const F=p[T];if(Rr(F)){const se=Fr(F.outlets);return new mt(v,se)}if(0===T&&xr(p[0])){v.push(new Dr(h.segments[_].path,Rn(p[0]))),T++;continue}const W=Rr(F)?F.outlets[et]:`${F}`,fe=T<p.length-1?p[T+1]:null;W&&fe&&xr(fe)?(v.push(new Dr(W,Rn(fe))),T+=2):(v.push(new Dr(W,{})),T++)}return new mt(v,{})}function Fr(h){const _={};return Object.entries(h).forEach(([p,v])=>{"string"==typeof v&&(v=[v]),null!==v&&(_[p]=Kn(new mt([],{}),0,v))}),_}function Rn(h){const _={};return Object.entries(h).forEach(([p,v])=>_[p]=`${v}`),_}function Mi(h,_,p){return h==p.path&&Gn(_,p.parameters)}const br="imperative";var ht=function(h){return h[h.NavigationStart=0]="NavigationStart",h[h.NavigationEnd=1]="NavigationEnd",h[h.NavigationCancel=2]="NavigationCancel",h[h.NavigationError=3]="NavigationError",h[h.RoutesRecognized=4]="RoutesRecognized",h[h.ResolveStart=5]="ResolveStart",h[h.ResolveEnd=6]="ResolveEnd",h[h.GuardsCheckStart=7]="GuardsCheckStart",h[h.GuardsCheckEnd=8]="GuardsCheckEnd",h[h.RouteConfigLoadStart=9]="RouteConfigLoadStart",h[h.RouteConfigLoadEnd=10]="RouteConfigLoadEnd",h[h.ChildActivationStart=11]="ChildActivationStart",h[h.ChildActivationEnd=12]="ChildActivationEnd",h[h.ActivationStart=13]="ActivationStart",h[h.ActivationEnd=14]="ActivationEnd",h[h.Scroll=15]="Scroll",h[h.NavigationSkipped=16]="NavigationSkipped",h}(ht||{});class pn{constructor(_,p){this.id=_,this.url=p}}class ri extends pn{constructor(_,p,v="imperative",T=null){super(_,p),this.type=ht.NavigationStart,this.navigationTrigger=v,this.restoredState=T}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class qn extends pn{constructor(_,p,v){super(_,p),this.urlAfterRedirects=v,this.type=ht.NavigationEnd}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}var Fn=function(h){return h[h.Redirect=0]="Redirect",h[h.SupersededByNewNavigation=1]="SupersededByNewNavigation",h[h.NoDataFromResolver=2]="NoDataFromResolver",h[h.GuardRejected=3]="GuardRejected",h}(Fn||{}),j=function(h){return h[h.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",h[h.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",h}(j||{});class X extends pn{constructor(_,p,v,T){super(_,p),this.reason=v,this.code=T,this.type=ht.NavigationCancel}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class q extends pn{constructor(_,p,v,T){super(_,p),this.reason=v,this.code=T,this.type=ht.NavigationSkipped}}class ue extends pn{constructor(_,p,v,T){super(_,p),this.error=v,this.target=T,this.type=ht.NavigationError}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class Me extends pn{constructor(_,p,v,T){super(_,p),this.urlAfterRedirects=v,this.state=T,this.type=ht.RoutesRecognized}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Pe extends pn{constructor(_,p,v,T){super(_,p),this.urlAfterRedirects=v,this.state=T,this.type=ht.GuardsCheckStart}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Ie extends pn{constructor(_,p,v,T,F){super(_,p),this.urlAfterRedirects=v,this.state=T,this.shouldActivate=F,this.type=ht.GuardsCheckEnd}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class Xe extends pn{constructor(_,p,v,T){super(_,p),this.urlAfterRedirects=v,this.state=T,this.type=ht.ResolveStart}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Ke extends pn{constructor(_,p,v,T){super(_,p),this.urlAfterRedirects=v,this.state=T,this.type=ht.ResolveEnd}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Kt{constructor(_){this.route=_,this.type=ht.RouteConfigLoadStart}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class zt{constructor(_){this.route=_,this.type=ht.RouteConfigLoadEnd}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class Wt{constructor(_){this.snapshot=_,this.type=ht.ChildActivationStart}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class gn{constructor(_){this.snapshot=_,this.type=ht.ChildActivationEnd}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class qt{constructor(_){this.snapshot=_,this.type=ht.ActivationStart}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Jt{constructor(_){this.snapshot=_,this.type=ht.ActivationEnd}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Tt{constructor(_,p,v){this.routerEvent=_,this.position=p,this.anchor=v,this.type=ht.Scroll}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}class Rt{}class Mn{constructor(_,p){this.url=_,this.navigationBehaviorOptions=p}}function Qt(h){return h.outlet||et}function Fi(h){if(!h)return null;if(h.routeConfig?._injector)return h.routeConfig._injector;for(let _=h.parent;_;_=_.parent){const p=_.routeConfig;if(p?._loadedInjector)return p._loadedInjector;if(p?._injector)return p._injector}return null}class Ts{get injector(){return Fi(this.route?.snapshot)??this.rootInjector}set injector(_){}constructor(_){this.rootInjector=_,this.outlet=null,this.route=null,this.children=new Ji(this.rootInjector),this.attachRef=null}}let Ji=(()=>{class h{constructor(p){this.rootInjector=p,this.contexts=new Map}onChildOutletCreated(p,v){const T=this.getOrCreateContext(p);T.outlet=v,this.contexts.set(p,T)}onChildOutletDestroyed(p){const v=this.getContext(p);v&&(v.outlet=null,v.attachRef=null)}onOutletDeactivated(){const p=this.contexts;return this.contexts=new Map,p}onOutletReAttached(p){this.contexts=p}getOrCreateContext(p){let v=this.getContext(p);return v||(v=new Ts(this.rootInjector),this.contexts.set(p,v)),v}getContext(p){return this.contexts.get(p)||null}static#e=this.\u0275fac=function(v){return new(v||h)(o.KVO(o.uvJ))};static#t=this.\u0275prov=o.jDH({token:h,factory:h.\u0275fac,providedIn:"root"})}return h})();class go{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=mo(_,this._root);return p?p.children.map(v=>v.value):[]}firstChild(_){const p=mo(_,this._root);return p&&p.children.length>0?p.children[0].value:null}siblings(_){const p=yo(_,this._root);return p.length<2?[]:p[p.length-2].children.map(T=>T.value).filter(T=>T!==_)}pathFromRoot(_){return yo(_,this._root).map(p=>p.value)}}function mo(h,_){if(h===_.value)return _;for(const p of _.children){const v=mo(h,p);if(v)return v}return null}function yo(h,_){if(h===_.value)return[_];for(const p of _.children){const v=yo(h,p);if(v.length)return v.unshift(_),v}return[]}class Tr{constructor(_,p){this.value=_,this.children=p}toString(){return`TreeNode(${this.value})`}}function ki(h){const _={};return h&&h.children.forEach(p=>_[p.value.outlet]=p),_}class eo extends go{constructor(_,p){super(_),this.snapshot=p,to(this,_)}toString(){return this.snapshot.toString()}}function Oo(h){const _=function _o(h){const F=new ii([],{},{},"",{},et,h,null,{});return new Li("",new Tr(F,[]))}(h),p=new x.t([new Dr("",{})]),v=new x.t({}),T=new x.t({}),F=new x.t({}),W=new x.t(""),fe=new dn(p,v,F,W,T,et,h,_.root);return fe.snapshot=_.root,new eo(new Tr(fe,[]),_)}class dn{constructor(_,p,v,T,F,W,fe,se){this.urlSubject=_,this.paramsSubject=p,this.queryParamsSubject=v,this.fragmentSubject=T,this.dataSubject=F,this.outlet=W,this.component=fe,this._futureSnapshot=se,this.title=this.dataSubject?.pipe((0,Le.T)(Be=>Be[Hn]))??(0,R.of)(void 0),this.url=_,this.params=p,this.queryParams=v,this.fragment=T,this.data=F}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,Le.T)(_=>yn(_))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe((0,Le.T)(_=>yn(_))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function Qr(h,_,p="emptyOnly"){let v;const{routeConfig:T}=h;return v=null===_||"always"!==p&&""!==T?.path&&(_.component||_.routeConfig?.loadComponent)?{params:{...h.params},data:{...h.data},resolve:{...h.data,...h._resolvedData??{}}}:{params:{..._.params,...h.params},data:{..._.data,...h.data},resolve:{...h.data,..._.data,...T?.data,...h._resolvedData}},T&&no(T)&&(v.resolve[Hn]=T.title),v}class ii{get title(){return this.data?.[Hn]}constructor(_,p,v,T,F,W,fe,se,Be){this.url=_,this.params=p,this.queryParams=v,this.fragment=T,this.data=F,this.outlet=W,this.component=fe,this.routeConfig=se,this._resolve=Be}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??=yn(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=yn(this.queryParams),this._queryParamMap}toString(){return`Route(url:'${this.url.map(v=>v.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class Li extends go{constructor(_,p){super(p),this.url=_,to(this,p)}toString(){return Ko(this._root)}}function to(h,_){_.value._routerState=h,_.children.forEach(p=>to(h,p))}function Ko(h){const _=h.children.length>0?` { ${h.children.map(Ko).join(", ")} } `:"";return`${h.value}${_}`}function mi(h){if(h.snapshot){const _=h.snapshot,p=h._futureSnapshot;h.snapshot=p,Gn(_.queryParams,p.queryParams)||h.queryParamsSubject.next(p.queryParams),_.fragment!==p.fragment&&h.fragmentSubject.next(p.fragment),Gn(_.params,p.params)||h.paramsSubject.next(p.params),function Zn(h,_){if(h.length!==_.length)return!1;for(let p=0;p<h.length;++p)if(!Gn(h[p],_[p]))return!1;return!0}(_.url,p.url)||h.urlSubject.next(p.url),Gn(_.data,p.data)||h.dataSubject.next(p.data)}else h.snapshot=h._futureSnapshot,h.dataSubject.next(h._futureSnapshot.data)}function Po(h,_){const p=Gn(h.params,_.params)&&function or(h,_){return pt(h,_)&&h.every((p,v)=>Gn(p.parameters,_[v].parameters))}(h.url,_.url);return p&&!(!h.parent!=!_.parent)&&(!h.parent||Po(h.parent,_.parent))}function no(h){return"string"==typeof h.title||null===h.title}let ro=(()=>{class h{constructor(){this.activated=null,this._activatedRoute=null,this.name=et,this.activateEvents=new o.bkB,this.deactivateEvents=new o.bkB,this.attachEvents=new o.bkB,this.detachEvents=new o.bkB,this.parentContexts=(0,o.WQX)(Ji),this.location=(0,o.WQX)(o.c1b),this.changeDetector=(0,o.WQX)(o.gRc),this.inputBinder=(0,o.WQX)(vo,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(p){if(p.name){const{firstChange:v,previousValue:T}=p.name;if(v)return;this.isTrackedInParentContexts(T)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(T)),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 o.wOt(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new o.wOt(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new o.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,v){this.activated=p,this._activatedRoute=v,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,v){if(this.isActivated)throw new o.wOt(4013,!1);this._activatedRoute=p;const T=this.location,W=p.snapshot.component,fe=this.parentContexts.getOrCreateContext(this.name).children,se=new Ao(p,fe,T.injector);this.activated=T.createComponent(W,{index:T.length,injector:se,environmentInjector:v}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}static#e=this.\u0275fac=function(v){return new(v||h)};static#t=this.\u0275dir=o.FsC({type:h,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[o.OA$]})}return h})();class Ao{__ngOutletInjector(_){return new Ao(this.route,this.childContexts,_)}constructor(_,p,v){this.route=_,this.childContexts=p,this.parent=v}get(_,p){return _===dn?this.route:_===Ji?this.childContexts:this.parent.get(_,p)}}const vo=new o.nKC("");let qo=(()=>{class h{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:v}=p,T=(0,L.z)([v.queryParams,v.params,v.data]).pipe((0,Qe.n)(([F,W,fe],se)=>(fe={...F,...W,...fe},0===se?(0,R.of)(fe):Promise.resolve(fe)))).subscribe(F=>{if(!p.isActivated||!p.activatedComponentRef||p.activatedRoute!==v||null===v.component)return void this.unsubscribeFromRouteData(p);const W=(0,o.HJs)(v.component);if(W)for(const{templateName:fe}of W.inputs)p.activatedComponentRef.setInput(fe,F[fe]);else this.unsubscribeFromRouteData(p)});this.outletDataSubscriptions.set(p,T)}static#e=this.\u0275fac=function(v){return new(v||h)};static#t=this.\u0275prov=o.jDH({token:h,factory:h.\u0275fac})}return h})();function nr(h,_,p){if(p&&h.shouldReuseRoute(_.value,p.value.snapshot)){const v=p.value;v._futureSnapshot=_.value;const T=function Co(h,_,p){return _.children.map(v=>{for(const T of p.children)if(h.shouldReuseRoute(v.value,T.value.snapshot))return nr(h,v,T);return nr(h,v)})}(h,_,p);return new Tr(v,T)}{if(h.shouldAttach(_.value)){const F=h.retrieve(_.value);if(null!==F){const W=F.route;return W.value._futureSnapshot=_.value,W.children=_.children.map(fe=>nr(h,fe)),W}}const v=function io(h){return new dn(new x.t(h.url),new x.t(h.params),new x.t(h.queryParams),new x.t(h.fragment),new x.t(h.data),h.outlet,h.component,h)}(_.value),T=_.children.map(F=>nr(h,F));return new Tr(v,T)}}class No{constructor(_,p){this.redirectTo=_,this.navigationBehaviorOptions=p}}const ke="ngNavigationCancelingError";function Xr(h,_){const{redirectTo:p,navigationBehaviorOptions:v}=Gt(_)?{redirectTo:_,navigationBehaviorOptions:void 0}:_,T=mr(!1,Fn.Redirect);return T.url=p,T.navigationBehaviorOptions=v,T}function mr(h,_){const p=new Error(`NavigationCancelingError: ${h||""}`);return p[ke]=!0,p.cancellationCode=_,p}function Xo(h){return!!h&&h[ke]}class yi{constructor(_,p,v,T,F){this.routeReuseStrategy=_,this.futureState=p,this.currState=v,this.forwardEvent=T,this.inputBindingEnabled=F}activate(_){const p=this.futureState._root,v=this.currState?this.currState._root:null;this.deactivateChildRoutes(p,v,_),mi(this.futureState.root),this.activateChildRoutes(p,v,_)}deactivateChildRoutes(_,p,v){const T=ki(p);_.children.forEach(F=>{const W=F.value.outlet;this.deactivateRoutes(F,T[W],v),delete T[W]}),Object.values(T).forEach(F=>{this.deactivateRouteAndItsChildren(F,v)})}deactivateRoutes(_,p,v){const T=_.value,F=p?p.value:null;if(T===F)if(T.component){const W=v.getContext(T.outlet);W&&this.deactivateChildRoutes(_,p,W.children)}else this.deactivateChildRoutes(_,p,v);else F&&this.deactivateRouteAndItsChildren(p,v)}deactivateRouteAndItsChildren(_,p){_.value.component&&this.routeReuseStrategy.shouldDetach(_.value.snapshot)?this.detachAndStoreRouteSubtree(_,p):this.deactivateRouteAndOutlet(_,p)}detachAndStoreRouteSubtree(_,p){const v=p.getContext(_.value.outlet),T=v&&_.value.component?v.children:p,F=ki(_);for(const W of Object.values(F))this.deactivateRouteAndItsChildren(W,T);if(v&&v.outlet){const W=v.outlet.detach(),fe=v.children.onOutletDeactivated();this.routeReuseStrategy.store(_.value.snapshot,{componentRef:W,route:_,contexts:fe})}}deactivateRouteAndOutlet(_,p){const v=p.getContext(_.value.outlet),T=v&&_.value.component?v.children:p,F=ki(_);for(const W of Object.values(F))this.deactivateRouteAndItsChildren(W,T);v&&(v.outlet&&(v.outlet.deactivate(),v.children.onOutletDeactivated()),v.attachRef=null,v.route=null)}activateChildRoutes(_,p,v){const T=ki(p);_.children.forEach(F=>{this.activateRoutes(F,T[F.value.outlet],v),this.forwardEvent(new Jt(F.value.snapshot))}),_.children.length&&this.forwardEvent(new gn(_.value.snapshot))}activateRoutes(_,p,v){const T=_.value,F=p?p.value:null;if(mi(T),T===F)if(T.component){const W=v.getOrCreateContext(T.outlet);this.activateChildRoutes(_,p,W.children)}else this.activateChildRoutes(_,p,v);else if(T.component){const W=v.getOrCreateContext(T.outlet);if(this.routeReuseStrategy.shouldAttach(T.snapshot)){const fe=this.routeReuseStrategy.retrieve(T.snapshot);this.routeReuseStrategy.store(T.snapshot,null),W.children.onOutletReAttached(fe.contexts),W.attachRef=fe.componentRef,W.route=fe.route.value,W.outlet&&W.outlet.attach(fe.componentRef,fe.route.value),mi(fe.route.value),this.activateChildRoutes(_,null,W.children)}else W.attachRef=null,W.route=T,W.outlet&&W.outlet.activateWith(T,W.injector),this.activateChildRoutes(_,null,W.children)}else this.activateChildRoutes(_,null,v)}}class _i{constructor(_){this.path=_,this.route=this.path[this.path.length-1]}}class Ir{constructor(_,p){this.component=_,this.route=p}}function oo(h,_,p){const v=h._root;return kr(v,_?_._root:null,p,[v.value])}function Sr(h,_){const p=Symbol(),v=_.get(h,p);return v===p?"function"!=typeof h||(0,o.LfX)(h)?_.get(h):h:v}function kr(h,_,p,v,T={canDeactivateChecks:[],canActivateChecks:[]}){const F=ki(_);return h.children.forEach(W=>{(function Yo(h,_,p,v,T={canDeactivateChecks:[],canActivateChecks:[]}){const F=h.value,W=_?_.value:null,fe=p?p.getContext(h.value.outlet):null;if(W&&F.routeConfig===W.routeConfig){const se=function kn(h,_,p){if("function"==typeof p)return p(h,_);switch(p){case"pathParamsChange":return!pt(h.url,_.url);case"pathParamsOrQueryParamsChange":return!pt(h.url,_.url)||!Gn(h.queryParams,_.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Po(h,_)||!Gn(h.queryParams,_.queryParams);default:return!Po(h,_)}}(W,F,F.routeConfig.runGuardsAndResolvers);se?T.canActivateChecks.push(new _i(v)):(F.data=W.data,F._resolvedData=W._resolvedData),kr(h,_,F.component?fe?fe.children:null:p,v,T),se&&fe&&fe.outlet&&fe.outlet.isActivated&&T.canDeactivateChecks.push(new Ir(fe.outlet.component,W))}else W&&Eo(_,fe,T),T.canActivateChecks.push(new _i(v)),kr(h,null,F.component?fe?fe.children:null:p,v,T)})(W,F[W.value.outlet],p,v.concat([W.value]),T),delete F[W.value.outlet]}),Object.entries(F).forEach(([W,fe])=>Eo(fe,p.getContext(W),T)),T}function Eo(h,_,p){const v=ki(h),T=h.value;Object.entries(v).forEach(([F,W])=>{Eo(W,T.component?_?_.children.getContext(F):null:_,p)}),p.canDeactivateChecks.push(new Ir(T.component&&_&&_.outlet&&_.outlet.isActivated?_.outlet.component:null,T))}function wo(h){return"function"==typeof h}function Ui(h){return h instanceof $.G||"EmptyError"===h?.name}const Je=Symbol("INITIAL_VALUE");function oi(){return(0,Qe.n)(h=>(0,L.z)(h.map(_=>_.pipe((0,$e.s)(1),(0,gt.Z)(Je)))).pipe((0,Le.T)(_=>{for(const p of _)if(!0!==p){if(p===Je)return Je;if(!1===p||Or(p))return p}return!0}),(0,bt.p)(_=>_!==Je),(0,$e.s)(1)))}function Or(h){return Gt(h)||h instanceof No}function P(h){return(0,te.F)((0,ne.M)(_=>{if("boolean"!=typeof _)throw Xr(0,_)}),(0,Le.T)(_=>!0===_))}class oe{constructor(_){this.segmentGroup=_||null}}class Ne extends Error{constructor(_){super(),this.urlTree=_}}function me(h){return(0,ae.$)(new oe(h))}class ct{constructor(_,p){this.urlSerializer=_,this.urlTree=p}lineralizeSegments(_,p){let v=[],T=p.root;for(;;){if(v=v.concat(T.segments),0===T.numberOfChildren)return(0,R.of)(v);if(T.numberOfChildren>1||!T.children[et])return(0,ae.$)(new o.wOt(4e3,!1));T=T.children[et]}}applyRedirectCommands(_,p,v,T,F){if("string"!=typeof p){const fe=p,{queryParams:se,fragment:Be,routeConfig:dt,url:Dt,outlet:Pn,params:co,data:li,title:ns}=T,Oi=(0,o.N4e)(F,()=>fe({params:co,data:li,queryParams:se,fragment:Be,routeConfig:dt,url:Dt,outlet:Pn,title:ns}));if(Oi instanceof An)throw new Ne(Oi);p=Oi}const W=this.applyRedirectCreateUrlTree(p,this.urlSerializer.parse(p),_,v);if("/"===p[0])throw new Ne(W);return W}applyRedirectCreateUrlTree(_,p,v,T){const F=this.createSegmentGroup(_,p.root,v,T);return new An(F,this.createQueryParams(p.queryParams,this.urlTree.queryParams),p.fragment)}createQueryParams(_,p){const v={};return Object.entries(_).forEach(([T,F])=>{if("string"==typeof F&&":"===F[0]){const fe=F.substring(1);v[T]=p[fe]}else v[T]=F}),v}createSegmentGroup(_,p,v,T){const F=this.createSegments(_,p.segments,v,T);let W={};return Object.entries(p.children).forEach(([fe,se])=>{W[fe]=this.createSegmentGroup(_,se,v,T)}),new mt(F,W)}createSegments(_,p,v,T){return p.map(F=>":"===F.path[0]?this.findPosParam(_,F,T):this.findOrReturn(F,v))}findPosParam(_,p,v){const T=v[p.path.substring(1)];if(!T)throw new o.wOt(4001,!1);return T}findOrReturn(_,p){let v=0;for(const T of p){if(T.path===_.path)return p.splice(v),T;v++}return _}}const hn={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function lt(h,_,p,v,T){const F=Ln(h,_,p);return F.matched?(v=function ln(h,_){return h.providers&&!h._injector&&(h._injector=(0,o.Ol2)(h.providers,_,`Route: ${h.path}`)),h._injector??_}(_,v),function ee(h,_,p,v){const T=_.canMatch;if(!T||0===T.length)return(0,R.of)(!0);const F=T.map(W=>{const fe=Sr(W,h);return Ht(function xo(h){return h&&wo(h.canMatch)}(fe)?fe.canMatch(_,p):(0,o.N4e)(h,()=>fe(_,p)))});return(0,R.of)(F).pipe(oi(),P())}(v,_,p).pipe((0,Le.T)(W=>!0===W?F:{...hn}))):(0,R.of)(F)}function Ln(h,_,p){if("**"===_.path)return function bn(h){return{matched:!0,parameters:h.length>0?dr(h).parameters:{},consumedSegments:h,remainingSegments:[],positionalParamSegments:{}}}(p);if(""===_.path)return"full"===_.pathMatch&&(h.hasChildren()||p.length>0)?{...hn}:{matched:!0,consumedSegments:[],remainingSegments:p,parameters:{},positionalParamSegments:{}};const T=(_.matcher||_n)(p,h,_);if(!T)return{...hn};const F={};Object.entries(T.posParams??{}).forEach(([fe,se])=>{F[fe]=se.path});const W=T.consumed.length>0?{...F,...T.consumed[T.consumed.length-1].parameters}:F;return{matched:!0,consumedSegments:T.consumed,remainingSegments:p.slice(T.consumed.length),parameters:W,positionalParamSegments:T.posParams??{}}}function Vn(h,_,p,v){return p.length>0&&function ar(h,_,p){return p.some(v=>Zr(h,_,v)&&Qt(v)!==et)}(h,p,v)?{segmentGroup:new mt(_,Yr(v,new mt(p,h.children))),slicedSegments:[]}:0===p.length&&function lr(h,_,p){return p.some(v=>Zr(h,_,v))}(h,p,v)?{segmentGroup:new mt(h.segments,Ro(h,p,v,h.children)),slicedSegments:p}:{segmentGroup:new mt(h.segments,h.children),slicedSegments:p}}function Ro(h,_,p,v){const T={};for(const F of p)if(Zr(h,_,F)&&!v[Qt(F)]){const W=new mt([],{});T[Qt(F)]=W}return{...v,...T}}function Yr(h,_){const p={};p[et]=_;for(const v of h)if(""===v.path&&Qt(v)!==et){const T=new mt([],{});p[Qt(v)]=T}return p}function Zr(h,_,p){return(!(h.hasChildren()||_.length>0)||"full"!==p.pathMatch)&&""===p.path}class Fo{}class Zo{constructor(_,p,v,T,F,W,fe){this.injector=_,this.configLoader=p,this.rootComponentType=v,this.config=T,this.urlTree=F,this.paramsInheritanceStrategy=W,this.urlSerializer=fe,this.applyRedirects=new ct(this.urlSerializer,this.urlTree),this.absoluteRedirectCount=0,this.allowRedirects=!0}noMatchError(_){return new o.wOt(4002,`'${_.segmentGroup}'`)}recognize(){const _=Vn(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(_).pipe((0,Le.T)(({children:p,rootSnapshot:v})=>{const T=new Tr(v,p),F=new Li("",T),W=function Nn(h,_,p=null,v=null){return gi(kt(h),_,p,v)}(v,[],this.urlTree.queryParams,this.urlTree.fragment);return W.queryParams=this.urlTree.queryParams,F.url=this.urlSerializer.serialize(W),{state:F,tree:W}}))}match(_){const p=new ii([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,Object.freeze({}),et,this.rootComponentType,null,{});return this.processSegmentGroup(this.injector,this.config,_,et,p).pipe((0,Le.T)(v=>({children:v,rootSnapshot:p})),(0,pe.W)(v=>{if(v instanceof Ne)return this.urlTree=v.urlTree,this.match(v.urlTree.root);throw v instanceof oe?this.noMatchError(v):v}))}processSegmentGroup(_,p,v,T,F){return 0===v.segments.length&&v.hasChildren()?this.processChildren(_,p,v,F):this.processSegment(_,p,v,v.segments,T,!0,F).pipe((0,Le.T)(W=>W instanceof Tr?[W]:[]))}processChildren(_,p,v,T){const F=[];for(const W of Object.keys(v.children))"primary"===W?F.unshift(W):F.push(W);return(0,O.H)(F).pipe((0,St.H)(W=>{const fe=v.children[W],se=function Zi(h,_){const p=h.filter(v=>Qt(v)===_);return p.push(...h.filter(v=>Qt(v)!==_)),p}(p,W);return this.processSegmentGroup(_,se,fe,W,T)}),(0,Ee.S)((W,fe)=>(W.push(...fe),W)),(0,be.U)(null),(0,ce.H)(),(0,nt.Z)(W=>{if(null===W)return me(v);const fe=Ye(W);return function ko(h){h.sort((_,p)=>_.value.outlet===et?-1:p.value.outlet===et?1:_.value.outlet.localeCompare(p.value.outlet))}(fe),(0,R.of)(fe)}))}processSegment(_,p,v,T,F,W,fe){return(0,O.H)(p).pipe((0,St.H)(se=>this.processSegmentAgainstRoute(se._injector??_,p,se,v,T,F,W,fe).pipe((0,pe.W)(Be=>{if(Be instanceof oe)return(0,R.of)(null);throw Be}))),(0,ft.$)(se=>!!se),(0,pe.W)(se=>{if(Ui(se))return function so(h,_,p){return 0===_.length&&!h.children[p]}(v,T,F)?(0,R.of)(new Fo):me(v);throw se}))}processSegmentAgainstRoute(_,p,v,T,F,W,fe,se){return Qt(v)===W||W!==et&&Zr(T,F,v)?void 0===v.redirectTo?this.matchSegmentAgainstRoute(_,T,v,F,W,se):this.allowRedirects&&fe?this.expandSegmentAgainstRouteUsingRedirect(_,T,p,v,F,W,se):me(T):me(T)}expandSegmentAgainstRouteUsingRedirect(_,p,v,T,F,W,fe){const{matched:se,parameters:Be,consumedSegments:dt,positionalParamSegments:Dt,remainingSegments:Pn}=Ln(p,T,F);if(!se)return me(p);"string"==typeof T.redirectTo&&"/"===T.redirectTo[0]&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>31&&(this.allowRedirects=!1));const co=new ii(F,Be,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,Nt(T),Qt(T),T.component??T._loadedComponent??null,T,rr(T)),li=Qr(co,fe,this.paramsInheritanceStrategy);co.params=Object.freeze(li.params),co.data=Object.freeze(li.data);const ns=this.applyRedirects.applyRedirectCommands(dt,T.redirectTo,Dt,co,_);return this.applyRedirects.lineralizeSegments(T,ns).pipe((0,nt.Z)(Oi=>this.processSegment(_,v,p,Oi.concat(Pn),W,!1,fe)))}matchSegmentAgainstRoute(_,p,v,T,F,W){const fe=lt(p,v,T,_);return"**"===v.path&&(p.children={}),fe.pipe((0,Qe.n)(se=>se.matched?this.getChildConfig(_=v._injector??_,v,T).pipe((0,Qe.n)(({routes:Be})=>{const dt=v._loadedInjector??_,{parameters:Dt,consumedSegments:Pn,remainingSegments:co}=se,li=new ii(Pn,Dt,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,Nt(v),Qt(v),v.component??v._loadedComponent??null,v,rr(v)),ns=Qr(li,W,this.paramsInheritanceStrategy);li.params=Object.freeze(ns.params),li.data=Object.freeze(ns.data);const{segmentGroup:Oi,slicedSegments:Ns}=Vn(p,Pn,co,Be);if(0===Ns.length&&Oi.hasChildren())return this.processChildren(dt,Be,Oi,li).pipe((0,Le.T)(Ks=>new Tr(li,Ks)));if(0===Be.length&&0===Ns.length)return(0,R.of)(new Tr(li,[]));const Hc=Qt(v)===F;return this.processSegment(dt,Be,Oi,Ns,Hc?et:F,!0,li).pipe((0,Le.T)(Ks=>new Tr(li,Ks instanceof Tr?[Ks]:[])))})):me(p)))}getChildConfig(_,p,v){return p.children?(0,R.of)({routes:p.children,injector:_}):p.loadChildren?void 0!==p._loadedRoutes?(0,R.of)({routes:p._loadedRoutes,injector:p._loadedInjector}):function C(h,_,p,v){const T=_.canLoad;if(void 0===T||0===T.length)return(0,R.of)(!0);const F=T.map(W=>{const fe=Sr(W,h);return Ht(function Ss(h){return h&&wo(h.canLoad)}(fe)?fe.canLoad(_,p):(0,o.N4e)(h,()=>fe(_,p)))});return(0,R.of)(F).pipe(oi(),P())}(_,p,v).pipe((0,nt.Z)(T=>T?this.configLoader.loadChildren(_,p).pipe((0,ne.M)(F=>{p._loadedRoutes=F.routes,p._loadedInjector=F.injector})):function tt(){return(0,ae.$)(mr(!1,Fn.GuardRejected))}())):(0,R.of)({routes:[],injector:_})}}function We(h){const _=h.value.routeConfig;return _&&""===_.path}function Ye(h){const _=[],p=new Set;for(const v of h){if(!We(v)){_.push(v);continue}const T=_.find(F=>v.value.routeConfig===F.value.routeConfig);void 0!==T?(T.children.push(...v.children),p.add(T)):_.push(v)}for(const v of p){const T=Ye(v.children);_.push(new Tr(v.value,T))}return _.filter(v=>!p.has(v))}function Nt(h){return h.data||{}}function rr(h){return h.resolve||{}}function ao(h){const _=h.children.map(p=>ao(p)).flat();return[h,..._]}function jn(h){return(0,Qe.n)(_=>{const p=h(_);return p?(0,O.H)(p).pipe((0,Le.T)(()=>_)):(0,R.of)(_)})}let Hi=(()=>{class h{buildTitle(p){let v,T=p.root;for(;void 0!==T;)v=this.getResolvedTitleForRoute(T)??v,T=T.children.find(F=>F.outlet===et);return v}getResolvedTitleForRoute(p){return p.data[Hn]}static#e=this.\u0275fac=function(v){return new(v||h)};static#t=this.\u0275prov=o.jDH({token:h,factory:()=>(0,o.WQX)(Un),providedIn:"root"})}return h})(),Un=(()=>{class h extends Hi{constructor(p){super(),this.title=p}updateTitle(p){const v=this.buildTitle(p);void 0!==v&&this.title.setTitle(v)}static#e=this.\u0275fac=function(v){return new(v||h)(o.KVO(Sn.hE))};static#t=this.\u0275prov=o.jDH({token:h,factory:h.\u0275fac,providedIn:"root"})}return h})();const Jr=new o.nKC("",{providedIn:"root",factory:()=>({})});let Lo=(()=>{class h{static#e=this.\u0275fac=function(v){return new(v||h)};static#t=this.\u0275cmp=o.VBU({type:h,selectors:[["ng-component"]],standalone:!0,features:[o.aNF],decls:1,vars:0,template:function(v,T){1&v&&o.nrm(0,"router-outlet")},dependencies:[ro],encapsulation:2})}return h})();function ut(h){const _=h.children&&h.children.map(ut),p=_?{...h,children:_}:{...h};return!p.component&&!p.loadComponent&&(_||p.loadChildren)&&p.outlet&&p.outlet!==et&&(p.component=Lo),p}const Vt=new o.nKC("");let vl=(()=>{class h{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=(0,o.WQX)(o.Ql9)}loadComponent(p){if(this.componentLoaders.get(p))return this.componentLoaders.get(p);if(p._loadedComponent)return(0,R.of)(p._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(p);const v=Ht(p.loadComponent()).pipe((0,Le.T)(Lc),(0,ne.M)(F=>{this.onLoadEndListener&&this.onLoadEndListener(p),p._loadedComponent=F}),(0,rt.j)(()=>{this.componentLoaders.delete(p)})),T=new Se.G(v,()=>new ve.B).pipe((0,Yt.B)());return this.componentLoaders.set(p,T),T}loadChildren(p,v){if(this.childrenLoaders.get(v))return this.childrenLoaders.get(v);if(v._loadedRoutes)return(0,R.of)({routes:v._loadedRoutes,injector:v._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(v);const F=function Fc(h,_,p,v){return Ht(h.loadChildren()).pipe((0,Le.T)(Lc),(0,nt.Z)(T=>T instanceof o.Co$||Array.isArray(T)?(0,R.of)(T):(0,O.H)(_.compileModuleAsync(T))),(0,Le.T)(T=>{v&&v(h);let F,W,fe=!1;return Array.isArray(T)?(W=T,!0):(F=T.create(p).injector,W=F.get(Vt,[],{optional:!0,self:!0}).flat()),{routes:W.map(ut),injector:F}}))}(v,this.compiler,p,this.onLoadEndListener).pipe((0,rt.j)(()=>{this.childrenLoaders.delete(v)})),W=new Se.G(F,()=>new ve.B).pipe((0,Yt.B)());return this.childrenLoaders.set(v,W),W}static#e=this.\u0275fac=function(v){return new(v||h)};static#t=this.\u0275prov=o.jDH({token:h,factory:h.\u0275fac,providedIn:"root"})}return h})();function Lc(h){return function kc(h){return h&&"object"==typeof h&&"default"in h}(h)?h.default:h}let ya=(()=>{class h{static#e=this.\u0275fac=function(v){return new(v||h)};static#t=this.\u0275prov=o.jDH({token:h,factory:()=>(0,o.WQX)(_a),providedIn:"root"})}return h})(),_a=(()=>{class h{shouldProcessUrl(p){return!0}extract(p){return p}merge(p,v){return p}static#e=this.\u0275fac=function(v){return new(v||h)};static#t=this.\u0275prov=o.jDH({token:h,factory:h.\u0275fac,providedIn:"root"})}return h})();const xt=new o.nKC(""),$s=new o.nKC("");function Cl(h,_,p){const v=h.get($s),T=h.get(Ve.qQ);return h.get(o.SKi).runOutsideAngular(()=>{if(!T.startViewTransition||v.skipNextTransition)return v.skipNextTransition=!1,new Promise(Be=>setTimeout(Be));let F;const W=new Promise(Be=>{F=Be}),fe=T.startViewTransition(()=>(F(),function ai(h){return new Promise(_=>{(0,o.mal)({read:()=>setTimeout(_)},{injector:h})})}(h))),{onViewTransitionCreated:se}=v;return se&&(0,o.N4e)(h,()=>se({transition:fe,from:_,to:p})),W})}const ys=new o.nKC("");let va=(()=>{class h{get hasRequestedNavigation(){return 0!==this.navigationId}constructor(){this.currentNavigation=null,this.currentTransition=null,this.lastSuccessfulNavigation=null,this.events=new ve.B,this.transitionAbortSubject=new ve.B,this.configLoader=(0,o.WQX)(vl),this.environmentInjector=(0,o.WQX)(o.uvJ),this.urlSerializer=(0,o.WQX)(fi),this.rootContexts=(0,o.WQX)(Ji),this.location=(0,o.WQX)(Ve.aZ),this.inputBindingEnabled=null!==(0,o.WQX)(vo,{optional:!0}),this.titleStrategy=(0,o.WQX)(Hi),this.options=(0,o.WQX)(Jr,{optional:!0})||{},this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlHandlingStrategy=(0,o.WQX)(ya),this.createViewTransition=(0,o.WQX)(xt,{optional:!0}),this.navigationErrorHandler=(0,o.WQX)(ys,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>(0,R.of)(void 0),this.rootComponentType=null,this.configLoader.onLoadEndListener=T=>this.events.next(new zt(T)),this.configLoader.onLoadStartListener=T=>this.events.next(new Kt(T))}complete(){this.transitions?.complete()}handleNavigationRequest(p){const v=++this.navigationId;this.transitions?.next({...this.transitions.value,...p,id:v})}setupNavigations(p,v,T){return this.transitions=new x.t({id:0,currentUrlTree:v,currentRawUrl:v,extractedUrl:this.urlHandlingStrategy.extract(v),urlAfterRedirects:this.urlHandlingStrategy.extract(v),rawUrl:v,extras:{},resolve:()=>{},reject:()=>{},promise:Promise.resolve(!0),source:br,restoredState:null,currentSnapshot:T.snapshot,targetSnapshot:null,currentRouterState:T,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe((0,bt.p)(F=>0!==F.id),(0,Le.T)(F=>({...F,extractedUrl:this.urlHandlingStrategy.extract(F.rawUrl)})),(0,Qe.n)(F=>{let W=!1,fe=!1;return(0,R.of)(F).pipe((0,Qe.n)(se=>{if(this.navigationId>F.id)return this.cancelNavigationTransition(F,"",Fn.SupersededByNewNavigation),ye.w;this.currentTransition=F,this.currentNavigation={id:se.id,initialUrl:se.rawUrl,extractedUrl:se.extractedUrl,targetBrowserUrl:"string"==typeof se.extras.browserUrl?this.urlSerializer.parse(se.extras.browserUrl):se.extras.browserUrl,trigger:se.source,extras:se.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null};const Be=!p.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl();if(!Be&&"reload"!==(se.extras.onSameUrlNavigation??p.onSameUrlNavigation)){const Dt="";return this.events.next(new q(se.id,this.urlSerializer.serialize(se.rawUrl),Dt,j.IgnoredSameUrlNavigation)),se.resolve(!1),ye.w}if(this.urlHandlingStrategy.shouldProcessUrl(se.rawUrl))return(0,R.of)(se).pipe((0,Qe.n)(Dt=>{const Pn=this.transitions?.getValue();return this.events.next(new ri(Dt.id,this.urlSerializer.serialize(Dt.extractedUrl),Dt.source,Dt.restoredState)),Pn!==this.transitions?.getValue()?ye.w:Promise.resolve(Dt)}),function $i(h,_,p,v,T,F){return(0,nt.Z)(W=>function Bi(h,_,p,v,T,F,W="emptyOnly"){return new Zo(h,_,p,v,T,W,F).recognize()}(h,_,p,v,W.extractedUrl,T,F).pipe((0,Le.T)(({state:fe,tree:se})=>({...W,targetSnapshot:fe,urlAfterRedirects:se}))))}(this.environmentInjector,this.configLoader,this.rootComponentType,p.config,this.urlSerializer,this.paramsInheritanceStrategy),(0,ne.M)(Dt=>{F.targetSnapshot=Dt.targetSnapshot,F.urlAfterRedirects=Dt.urlAfterRedirects,this.currentNavigation={...this.currentNavigation,finalUrl:Dt.urlAfterRedirects};const Pn=new Me(Dt.id,this.urlSerializer.serialize(Dt.extractedUrl),this.urlSerializer.serialize(Dt.urlAfterRedirects),Dt.targetSnapshot);this.events.next(Pn)}));if(Be&&this.urlHandlingStrategy.shouldProcessUrl(se.currentRawUrl)){const{id:Dt,extractedUrl:Pn,source:co,restoredState:li,extras:ns}=se,Oi=new ri(Dt,this.urlSerializer.serialize(Pn),co,li);this.events.next(Oi);const Ns=Oo(this.rootComponentType).snapshot;return this.currentTransition=F={...se,targetSnapshot:Ns,urlAfterRedirects:Pn,extras:{...ns,skipLocationChange:!1,replaceUrl:!1}},this.currentNavigation.finalUrl=Pn,(0,R.of)(F)}{const Dt="";return this.events.next(new q(se.id,this.urlSerializer.serialize(se.extractedUrl),Dt,j.IgnoredByUrlHandlingStrategy)),se.resolve(!1),ye.w}}),(0,ne.M)(se=>{const Be=new Pe(se.id,this.urlSerializer.serialize(se.extractedUrl),this.urlSerializer.serialize(se.urlAfterRedirects),se.targetSnapshot);this.events.next(Be)}),(0,Le.T)(se=>(this.currentTransition=F={...se,guards:oo(se.targetSnapshot,se.currentSnapshot,this.rootContexts)},F)),function ma(h,_){return(0,nt.Z)(p=>{const{targetSnapshot:v,currentSnapshot:T,guards:{canActivateChecks:F,canDeactivateChecks:W}}=p;return 0===W.length&&0===F.length?(0,R.of)({...p,guardsResult:!0}):function Os(h,_,p,v){return(0,O.H)(h).pipe((0,nt.Z)(T=>function c(h,_,p,v,T){const F=_&&_.routeConfig?_.routeConfig.canDeactivate:null;if(!F||0===F.length)return(0,R.of)(!0);const W=F.map(fe=>{const se=Fi(_)??T,Be=Sr(fe,se);return Ht(function gs(h){return h&&wo(h.canDeactivate)}(Be)?Be.canDeactivate(h,_,p,v):(0,o.N4e)(se,()=>Be(h,_,p,v))).pipe((0,ft.$)())});return(0,R.of)(W).pipe(oi())}(T.component,T.route,p,_,v)),(0,ft.$)(T=>!0!==T,!0))}(W,v,T,h).pipe((0,nt.Z)(fe=>fe&&function $t(h){return"boolean"==typeof h}(fe)?function V(h,_,p,v){return(0,O.H)(_).pipe((0,St.H)(T=>(0,B.x)(function y(h,_){return null!==h&&_&&_(new Wt(h)),(0,R.of)(!0)}(T.route.parent,v),function f(h,_){return null!==h&&_&&_(new qt(h)),(0,R.of)(!0)}(T.route,v),function d(h,_,p){const v=_[_.length-1],F=_.slice(0,_.length-1).reverse().map(W=>function Is(h){const _=h.routeConfig?h.routeConfig.canActivateChild:null;return _&&0!==_.length?{node:h,guards:_}:null}(W)).filter(W=>null!==W).map(W=>(0,Z.v)(()=>{const fe=W.guards.map(se=>{const Be=Fi(W.node)??p,dt=Sr(se,Be);return Ht(function ps(h){return h&&wo(h.canActivateChild)}(dt)?dt.canActivateChild(v,h):(0,o.N4e)(Be,()=>dt(v,h))).pipe((0,ft.$)())});return(0,R.of)(fe).pipe(oi())}));return(0,R.of)(F).pipe(oi())}(h,T.path,p),function l(h,_,p){const v=_.routeConfig?_.routeConfig.canActivate:null;if(!v||0===v.length)return(0,R.of)(!0);const T=v.map(F=>(0,Z.v)(()=>{const W=Fi(_)??p,fe=Sr(F,W);return Ht(function Wn(h){return h&&wo(h.canActivate)}(fe)?fe.canActivate(_,h):(0,o.N4e)(W,()=>fe(_,h))).pipe((0,ft.$)())}));return(0,R.of)(T).pipe(oi())}(h,T.route,p))),(0,ft.$)(T=>!0!==T,!0))}(v,F,h,_):(0,R.of)(fe)),(0,Le.T)(fe=>({...p,guardsResult:fe})))})}(this.environmentInjector,se=>this.events.next(se)),(0,ne.M)(se=>{if(F.guardsResult=se.guardsResult,se.guardsResult&&"boolean"!=typeof se.guardsResult)throw Xr(0,se.guardsResult);const Be=new Ie(se.id,this.urlSerializer.serialize(se.extractedUrl),this.urlSerializer.serialize(se.urlAfterRedirects),se.targetSnapshot,!!se.guardsResult);this.events.next(Be)}),(0,bt.p)(se=>!!se.guardsResult||(this.cancelNavigationTransition(se,"",Fn.GuardRejected),!1)),jn(se=>{if(se.guards.canActivateChecks.length)return(0,R.of)(se).pipe((0,ne.M)(Be=>{const dt=new Xe(Be.id,this.urlSerializer.serialize(Be.extractedUrl),this.urlSerializer.serialize(Be.urlAfterRedirects),Be.targetSnapshot);this.events.next(dt)}),(0,Qe.n)(Be=>{let dt=!1;return(0,R.of)(Be).pipe(function si(h,_){return(0,nt.Z)(p=>{const{targetSnapshot:v,guards:{canActivateChecks:T}}=p;if(!T.length)return(0,R.of)(p);const F=new Set(T.map(se=>se.route)),W=new Set;for(const se of F)if(!W.has(se))for(const Be of ao(se))W.add(Be);let fe=0;return(0,O.H)(W).pipe((0,St.H)(se=>F.has(se)?function mn(h,_,p,v){const T=h.routeConfig,F=h._resolve;return void 0!==T?.title&&!no(T)&&(F[Hn]=T.title),function Do(h,_,p,v){const T=cr(h);if(0===T.length)return(0,R.of)({});const F={};return(0,O.H)(T).pipe((0,nt.Z)(W=>function ms(h,_,p,v){const T=Fi(_)??v,F=Sr(h,T);return Ht(F.resolve?F.resolve(_,p):(0,o.N4e)(T,()=>F(_,p)))}(h[W],_,p,v).pipe((0,ft.$)(),(0,ne.M)(fe=>{if(fe instanceof No)throw Xr(new Gr,fe);F[W]=fe}))),(0,ge.o)(1),(0,qe.u)(F),(0,pe.W)(W=>Ui(W)?ye.w:(0,ae.$)(W)))}(F,h,_,v).pipe((0,Le.T)(W=>(h._resolvedData=W,h.data=Qr(h,h.parent,p).resolve,null)))}(se,v,h,_):(se.data=Qr(se,se.parent,h).resolve,(0,R.of)(void 0))),(0,ne.M)(()=>fe++),(0,ge.o)(1),(0,nt.Z)(se=>fe===W.size?(0,R.of)(p):ye.w))})}(this.paramsInheritanceStrategy,this.environmentInjector),(0,ne.M)({next:()=>dt=!0,complete:()=>{dt||this.cancelNavigationTransition(Be,"",Fn.NoDataFromResolver)}}))}),(0,ne.M)(Be=>{const dt=new Ke(Be.id,this.urlSerializer.serialize(Be.extractedUrl),this.urlSerializer.serialize(Be.urlAfterRedirects),Be.targetSnapshot);this.events.next(dt)}))}),jn(se=>{const Be=dt=>{const Dt=[];dt.routeConfig?.loadComponent&&!dt.routeConfig._loadedComponent&&Dt.push(this.configLoader.loadComponent(dt.routeConfig).pipe((0,ne.M)(Pn=>{dt.component=Pn}),(0,Le.T)(()=>{})));for(const Pn of dt.children)Dt.push(...Be(Pn));return Dt};return(0,L.z)(Be(se.targetSnapshot.root)).pipe((0,be.U)(null),(0,$e.s)(1))}),jn(()=>this.afterPreactivation()),(0,Qe.n)(()=>{const{currentSnapshot:se,targetSnapshot:Be}=F,dt=this.createViewTransition?.(this.environmentInjector,se.root,Be.root);return dt?(0,O.H)(dt).pipe((0,Le.T)(()=>F)):(0,R.of)(F)}),(0,Le.T)(se=>{const Be=function Qo(h,_,p){const v=nr(h,_._root,p?p._root:void 0);return new eo(v,_)}(p.routeReuseStrategy,se.targetSnapshot,se.currentRouterState);return this.currentTransition=F={...se,targetRouterState:Be},this.currentNavigation.targetRouterState=Be,F}),(0,ne.M)(()=>{this.events.next(new Rt)}),((h,_,p,v)=>(0,Le.T)(T=>(new yi(_,T.targetRouterState,T.currentRouterState,p,v).activate(h),T)))(this.rootContexts,p.routeReuseStrategy,se=>this.events.next(se),this.inputBindingEnabled),(0,$e.s)(1),(0,ne.M)({next:se=>{W=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new qn(se.id,this.urlSerializer.serialize(se.extractedUrl),this.urlSerializer.serialize(se.urlAfterRedirects))),this.titleStrategy?.updateTitle(se.targetRouterState.snapshot),se.resolve(!0)},complete:()=>{W=!0}}),(0,In.Q)(this.transitionAbortSubject.pipe((0,ne.M)(se=>{throw se}))),(0,rt.j)(()=>{!W&&!fe&&this.cancelNavigationTransition(F,"",Fn.SupersededByNewNavigation),this.currentTransition?.id===F.id&&(this.currentNavigation=null,this.currentTransition=null)}),(0,pe.W)(se=>{if(fe=!0,Xo(se))this.events.next(new X(F.id,this.urlSerializer.serialize(F.extractedUrl),se.message,se.cancellationCode)),function Vi(h){return Xo(h)&&Gt(h.url)}(se)?this.events.next(new Mn(se.url,se.navigationBehaviorOptions)):F.resolve(!1);else{const Be=new ue(F.id,this.urlSerializer.serialize(F.extractedUrl),se,F.targetSnapshot??void 0);try{const dt=(0,o.N4e)(this.environmentInjector,()=>this.navigationErrorHandler?.(Be));if(dt instanceof No){const{message:Dt,cancellationCode:Pn}=Xr(0,dt);this.events.next(new X(F.id,this.urlSerializer.serialize(F.extractedUrl),Dt,Pn)),this.events.next(new Mn(dt.redirectTo,dt.navigationBehaviorOptions))}else{this.events.next(Be);const Dt=p.errorHandler(se);F.resolve(!!Dt)}}catch(dt){this.options.resolveNavigationPromiseOnError?F.resolve(!1):F.reject(dt)}}return ye.w}))}))}cancelNavigationTransition(p,v,T){const F=new X(p.id,this.urlSerializer.serialize(p.extractedUrl),v,T);this.events.next(F),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))),v=this.currentNavigation?.targetBrowserUrl??this.currentNavigation?.extractedUrl;return p.toString()!==v?.toString()&&!this.currentNavigation?.extras.skipLocationChange}static#e=this.\u0275fac=function(v){return new(v||h)};static#t=this.\u0275prov=o.jDH({token:h,factory:h.\u0275fac,providedIn:"root"})}return h})();function Hs(h){return h!==br}let Ps=(()=>{class h{static#e=this.\u0275fac=function(v){return new(v||h)};static#t=this.\u0275prov=o.jDH({token:h,factory:()=>(0,o.WQX)(m),providedIn:"root"})}return h})();class Ca{shouldDetach(_){return!1}store(_,p){}shouldAttach(_){return!1}retrieve(_){return null}shouldReuseRoute(_,p){return _.routeConfig===p.routeConfig}}let m=(()=>{class h extends Ca{static#e=this.\u0275fac=(()=>{let p;return function(T){return(p||(p=o.xGo(h)))(T||h)}})();static#t=this.\u0275prov=o.jDH({token:h,factory:h.\u0275fac,providedIn:"root"})}return h})(),A=(()=>{class h{static#e=this.\u0275fac=function(v){return new(v||h)};static#t=this.\u0275prov=o.jDH({token:h,factory:()=>(0,o.WQX)(E),providedIn:"root"})}return h})(),E=(()=>{class h extends A{constructor(){super(...arguments),this.location=(0,o.WQX)(Ve.aZ),this.urlSerializer=(0,o.WQX)(fi),this.options=(0,o.WQX)(Jr,{optional:!0})||{},this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.urlHandlingStrategy=(0,o.WQX)(ya),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.currentUrlTree=new An,this.rawUrlTree=this.currentUrlTree,this.currentPageId=0,this.lastSuccessfulId=-1,this.routerState=Oo(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(v=>{"popstate"===v.type&&p(v.url,v.state)})}handleRouterEvent(p,v){if(p instanceof ri)this.stateMemento=this.createStateMemento();else if(p instanceof q)this.rawUrlTree=v.initialUrl;else if(p instanceof Me){if("eager"===this.urlUpdateStrategy&&!v.extras.skipLocationChange){const T=this.urlHandlingStrategy.merge(v.finalUrl,v.initialUrl);this.setBrowserUrl(v.targetBrowserUrl??T,v)}}else p instanceof Rt?(this.currentUrlTree=v.finalUrl,this.rawUrlTree=this.urlHandlingStrategy.merge(v.finalUrl,v.initialUrl),this.routerState=v.targetRouterState,"deferred"===this.urlUpdateStrategy&&!v.extras.skipLocationChange&&this.setBrowserUrl(v.targetBrowserUrl??this.rawUrlTree,v)):p instanceof X&&(p.code===Fn.GuardRejected||p.code===Fn.NoDataFromResolver)?this.restoreHistory(v):p instanceof ue?this.restoreHistory(v,!0):p instanceof qn&&(this.lastSuccessfulId=p.id,this.currentPageId=this.browserPageId)}setBrowserUrl(p,v){const T=p instanceof An?this.urlSerializer.serialize(p):p;if(this.location.isCurrentPathEqualTo(T)||v.extras.replaceUrl){const W={...v.extras.state,...this.generateNgRouterState(v.id,this.browserPageId)};this.location.replaceState(T,"",W)}else{const F={...v.extras.state,...this.generateNgRouterState(v.id,this.browserPageId+1)};this.location.go(T,"",F)}}restoreHistory(p,v=!1){if("computed"===this.canceledNavigationResolution){const F=this.currentPageId-this.browserPageId;0!==F?this.location.historyGo(F):this.currentUrlTree===p.finalUrl&&0===F&&(this.resetState(p),this.resetUrlToCurrentUrlTree())}else"replace"===this.canceledNavigationResolution&&(v&&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,v){return"computed"===this.canceledNavigationResolution?{navigationId:p,\u0275routerPageId:v}:{navigationId:p}}static#e=this.\u0275fac=(()=>{let p;return function(T){return(p||(p=o.xGo(h)))(T||h)}})();static#t=this.\u0275prov=o.jDH({token:h,factory:h.\u0275fac,providedIn:"root"})}return h})();var I=function(h){return h[h.COMPLETE=0]="COMPLETE",h[h.FAILED=1]="FAILED",h[h.REDIRECTING=2]="REDIRECTING",h}(I||{});function z(h,_){h.events.pipe((0,bt.p)(p=>p instanceof qn||p instanceof X||p instanceof ue||p instanceof q),(0,Le.T)(p=>p instanceof qn||p instanceof q?I.COMPLETE:p instanceof X&&(p.code===Fn.Redirect||p.code===Fn.SupersededByNewNavigation)?I.REDIRECTING:I.FAILED),(0,bt.p)(p=>p!==I.REDIRECTING),(0,$e.s)(1)).subscribe(()=>{_()})}function de(h){throw h}const Te={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},ze={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let jt=(()=>{class h{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,o.WQX)(o.H3F),this.stateManager=(0,o.WQX)(A),this.options=(0,o.WQX)(Jr,{optional:!0})||{},this.pendingTasks=(0,o.WQX)(o.TgB),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.navigationTransitions=(0,o.WQX)(va),this.urlSerializer=(0,o.WQX)(fi),this.location=(0,o.WQX)(Ve.aZ),this.urlHandlingStrategy=(0,o.WQX)(ya),this._events=new ve.B,this.errorHandler=this.options.errorHandler||de,this.navigated=!1,this.routeReuseStrategy=(0,o.WQX)(Ps),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.config=(0,o.WQX)(Vt,{optional:!0})?.flat()??[],this.componentInputBindingEnabled=!!(0,o.WQX)(vo,{optional:!0}),this.eventsSubscription=new Oe.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(v=>{try{const T=this.navigationTransitions.currentTransition,F=this.navigationTransitions.currentNavigation;if(null!==T&&null!==F)if(this.stateManager.handleRouterEvent(v,F),v instanceof X&&v.code!==Fn.Redirect&&v.code!==Fn.SupersededByNewNavigation)this.navigated=!0;else if(v instanceof qn)this.navigated=!0;else if(v instanceof Mn){const W=v.navigationBehaviorOptions,fe=this.urlHandlingStrategy.merge(v.url,T.currentRawUrl),se={browserUrl:T.extras.browserUrl,info:T.extras.info,skipLocationChange:T.extras.skipLocationChange,replaceUrl:T.extras.replaceUrl||"eager"===this.urlUpdateStrategy||Hs(T.source),...W};this.scheduleNavigation(fe,br,null,se,{resolve:T.resolve,reject:T.reject,promise:T.promise})}(function cn(h){return!(h instanceof Rt||h instanceof Mn)})(v)&&this._events.next(v)}catch(T){this.navigationTransitions.transitionAbortSubject.next(T)}});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),br,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((p,v)=>{setTimeout(()=>{this.navigateToSyncWithBrowser(p,"popstate",v)},0)})}navigateToSyncWithBrowser(p,v,T){const F={replaceUrl:!0},W=T?.navigationId?T:null;if(T){const se={...T};delete se.navigationId,delete se.\u0275routerPageId,0!==Object.keys(se).length&&(F.state=se)}const fe=this.parseUrl(p);this.scheduleNavigation(fe,v,W,F)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(p){this.config=p.map(ut),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,v={}){const{relativeTo:T,queryParams:F,fragment:W,queryParamsHandling:fe,preserveFragment:se}=v,Be=se?this.currentUrlTree.fragment:W;let Dt,dt=null;switch(fe??this.options.defaultQueryParamsHandling){case"merge":dt={...this.currentUrlTree.queryParams,...F};break;case"preserve":dt=this.currentUrlTree.queryParams;break;default:dt=F||null}null!==dt&&(dt=this.removeEmptyProps(dt));try{Dt=kt(T?T.snapshot:this.routerState.snapshot.root)}catch{("string"!=typeof p[0]||"/"!==p[0][0])&&(p=[]),Dt=this.currentUrlTree.root}return gi(Dt,p,dt,Be??null)}navigateByUrl(p,v={skipLocationChange:!1}){const T=Gt(p)?p:this.parseUrl(p),F=this.urlHandlingStrategy.merge(T,this.rawUrlTree);return this.scheduleNavigation(F,br,null,v)}navigate(p,v={skipLocationChange:!1}){return function wt(h){for(let _=0;_<h.length;_++)if(null==h[_])throw new o.wOt(4008,!1)}(p),this.navigateByUrl(this.createUrlTree(p,v),v)}serializeUrl(p){return this.urlSerializer.serialize(p)}parseUrl(p){try{return this.urlSerializer.parse(p)}catch{return this.urlSerializer.parse("/")}}isActive(p,v){let T;if(T=!0===v?{...Te}:!1===v?{...ze}:v,Gt(p))return vn(this.currentUrlTree,p,T);const F=this.parseUrl(p);return vn(this.currentUrlTree,F,T)}removeEmptyProps(p){return Object.entries(p).reduce((v,[T,F])=>(null!=F&&(v[T]=F),v),{})}scheduleNavigation(p,v,T,F,W){if(this.disposed)return Promise.resolve(!1);let fe,se,Be;W?(fe=W.resolve,se=W.reject,Be=W.promise):Be=new Promise((Dt,Pn)=>{fe=Dt,se=Pn});const dt=this.pendingTasks.add();return z(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(dt))}),this.navigationTransitions.handleNavigationRequest({source:v,restoredState:T,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:p,extras:F,resolve:fe,reject:se,promise:Be,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),Be.catch(Dt=>Promise.reject(Dt))}static#e=this.\u0275fac=function(v){return new(v||h)};static#t=this.\u0275prov=o.jDH({token:h,factory:h.\u0275fac,providedIn:"root"})}return h})(),Ae=(()=>{class h{constructor(p,v,T,F,W,fe){this.router=p,this.route=v,this.tabIndexAttribute=T,this.renderer=F,this.el=W,this.locationStrategy=fe,this.href=null,this.onChanges=new ve.B,this.preserveFragment=!1,this.skipLocationChange=!1,this.replaceUrl=!1,this.routerLinkInput=null;const se=W.nativeElement.tagName?.toLowerCase();this.isAnchorElement="a"===se||"area"===se,this.isAnchorElement?this.subscription=p.events.subscribe(Be=>{Be instanceof qn&&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=Gt(p)||Array.isArray(p)?p:[p],this.setTabIndexIfNotOnNativeEl("0"))}onClick(p,v,T,F,W){const fe=this.urlTree;return!!(null===fe||this.isAnchorElement&&(0!==p||v||T||F||W||"string"==typeof this.target&&"_self"!=this.target))||(this.router.navigateByUrl(fe,{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 v=null===this.href?null:(0,o.n$t)(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",v)}applyAttributeValue(p,v){const T=this.renderer,F=this.el.nativeElement;null!==v?T.setAttribute(F,p,v):T.removeAttribute(F,p)}get urlTree(){return null===this.routerLinkInput?null:Gt(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(v){return new(v||h)(o.rXU(jt),o.rXU(dn),o.kS0("tabindex"),o.rXU(o.sFG),o.rXU(o.aKT),o.rXU(Ve.hb))};static#t=this.\u0275dir=o.FsC({type:h,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(v,T){1&v&&o.bIt("click",function(W){return T.onClick(W.button,W.ctrlKey,W.shiftKey,W.altKey,W.metaKey)}),2&v&&o.BMQ("target",T.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",info:"info",relativeTo:"relativeTo",preserveFragment:[2,"preserveFragment","preserveFragment",o.L39],skipLocationChange:[2,"skipLocationChange","skipLocationChange",o.L39],replaceUrl:[2,"replaceUrl","replaceUrl",o.L39],routerLink:"routerLink"},standalone:!0,features:[o.GFd,o.OA$]})}return h})();class On{}let Jo=(()=>{class h{constructor(p,v,T,F,W){this.router=p,this.injector=T,this.preloadingStrategy=F,this.loader=W}setUpPreloading(){this.subscription=this.router.events.pipe((0,bt.p)(p=>p instanceof qn),(0,St.H)(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(p,v){const T=[];for(const F of v){F.providers&&!F._injector&&(F._injector=(0,o.Ol2)(F.providers,p,`Route: ${F.path}`));const W=F._injector??p,fe=F._loadedInjector??W;(F.loadChildren&&!F._loadedRoutes&&void 0===F.canLoad||F.loadComponent&&!F._loadedComponent)&&T.push(this.preloadConfig(W,F)),(F.children||F._loadedRoutes)&&T.push(this.processRoutes(fe,F.children??F._loadedRoutes))}return(0,O.H)(T).pipe((0,nn.U)())}preloadConfig(p,v){return this.preloadingStrategy.preload(v,()=>{let T;T=v.loadChildren&&void 0===v.canLoad?this.loader.loadChildren(p,v):(0,R.of)(null);const F=T.pipe((0,nt.Z)(W=>null===W?(0,R.of)(void 0):(v._loadedRoutes=W.routes,v._loadedInjector=W.injector,this.processRoutes(W.injector??p,W.routes))));if(v.loadComponent&&!v._loadedComponent){const W=this.loader.loadComponent(v);return(0,O.H)([F,W]).pipe((0,nn.U)())}return F})}static#e=this.\u0275fac=function(v){return new(v||h)(o.KVO(jt),o.KVO(o.Ql9),o.KVO(o.uvJ),o.KVO(On),o.KVO(vl))};static#t=this.\u0275prov=o.jDH({token:h,factory:h.\u0275fac,providedIn:"root"})}return h})();const Gi=new o.nKC("");let Ti=(()=>{class h{constructor(p,v,T,F,W={}){this.urlSerializer=p,this.transitions=v,this.viewportScroller=T,this.zone=F,this.options=W,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},W.scrollPositionRestoration||="disabled",W.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 ri?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=p.navigationTrigger,this.restoredId=p.restoredState?p.restoredState.navigationId:0):p instanceof qn?(this.lastId=p.id,this.scheduleScrollEvent(p,this.urlSerializer.parse(p.urlAfterRedirects).fragment)):p instanceof q&&p.code===j.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 Tt&&(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,v){this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.zone.run(()=>{this.transitions.events.next(new Tt(p,"popstate"===this.lastSource?this.store[this.restoredId]:null,v))})},0)})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}static#e=this.\u0275fac=function(v){o.QTQ()};static#t=this.\u0275prov=o.jDH({token:h,factory:h.\u0275fac})}return h})();function vi(h,_){return{\u0275kind:h,\u0275providers:_}}function El(){const h=(0,o.WQX)(o.zZn);return _=>{const p=h.get(o.o8S);if(_!==p.components[0])return;const v=h.get(jt),T=h.get(zs);1===h.get(As)&&v.initialNavigation(),h.get(Fd,null,o.$GK.Optional)?.setUpPreloading(),h.get(Gi,null,o.$GK.Optional)?.init(),v.resetRootComponentType(p.componentTypes[0]),T.closed||(T.next(),T.complete(),T.unsubscribe())}}const zs=new o.nKC("",{factory:()=>new ve.B}),As=new o.nKC("",{providedIn:"root",factory:()=>1}),Fd=new o.nKC("");function Si(h){return vi(0,[{provide:Fd,useExisting:Jo},{provide:On,useExisting:h}])}function Mo(h){return vi(9,[{provide:xt,useValue:Cl},{provide:$s,useValue:{skipNextTransition:!!h?.skipInitialTransition,...h}}])}const Wi=new o.nKC("ROUTER_FORROOT_GUARD"),Uc=[Ve.aZ,{provide:fi,useClass:Gr},jt,Ji,{provide:dn,useFactory:function zi(h){return h.routerState.root},deps:[jt]},vl,[]];let Dl=(()=>{class h{constructor(p){}static forRoot(p,v){return{ngModule:h,providers:[Uc,[],{provide:Vt,multi:!0,useValue:p},{provide:Wi,useFactory:ts,deps:[[jt,new o.Xx1,new o.kdw]]},{provide:Jr,useValue:v||{}},v?.useHash?{provide:Ve.hb,useClass:Ve.fw}:{provide:Ve.hb,useClass:Ve.Sm},{provide:Gi,useFactory:()=>{const h=(0,o.WQX)(Ve.Xr),_=(0,o.WQX)(o.SKi),p=(0,o.WQX)(Jr),v=(0,o.WQX)(va),T=(0,o.WQX)(fi);return p.scrollOffset&&h.setOffset(p.scrollOffset),new Ti(T,v,h,_,p)}},v?.preloadingStrategy?Si(v.preloadingStrategy).\u0275providers:[],v?.initialNavigation?kd(v):[],v?.bindToComponentInputs?vi(8,[qo,{provide:vo,useExisting:qo}]).\u0275providers:[],v?.enableViewTransitions?Mo().\u0275providers:[],[{provide:Da,useFactory:El},{provide:o.iLQ,multi:!0,useExisting:Da}]]}}static forChild(p){return{ngModule:h,providers:[{provide:Vt,multi:!0,useValue:p}]}}static#e=this.\u0275fac=function(v){return new(v||h)(o.KVO(Wi,8))};static#t=this.\u0275mod=o.$C({type:h});static#n=this.\u0275inj=o.G2t({})}return h})();function ts(h){return"guarded"}function kd(h){return["disabled"===h.initialNavigation?vi(3,[{provide:o.hnV,multi:!0,useFactory:()=>{const _=(0,o.WQX)(jt);return()=>{_.setUpLocationChangeListener()}}},{provide:As,useValue:2}]).\u0275providers:[],"enabledBlocking"===h.initialNavigation?vi(2,[{provide:As,useValue:0},{provide:o.hnV,multi:!0,deps:[o.zZn],useFactory:_=>{const p=_.get(Ve.hj,Promise.resolve());return()=>p.then(()=>new Promise(v=>{const T=_.get(jt),F=_.get(zs);z(T,()=>{v(!0)}),_.get(va).afterPreactivation=()=>(v(!0),F.closed?(0,R.of)(void 0):F),T.initialNavigation()}))}}]).\u0275providers:[]]}const Da=new o.nKC("")},3658:(G,k,D)=>{"use strict";D.d(k,{fg:()=>Qe,dF:()=>nt});var o=D(3953),M=D(1562),O=D(6354),R=D(7343),x=D(6884),L=D(9390),$=D(1960),B=D(9261),Z=D.n(B),te=D(5972),ae=D.n(te),ye=function(ne){return ne[ne.Error=0]="Error",ne[ne.Warning=1]="Warning",ne[ne.Information=2]="Information",ne[ne.Unknown=3]="Unknown",ne}(ye||{});const Se={isPaged:!1,isFiltered:!1,record:0,page:0,pageSize:0,totalRecords:0,totalPages:0,recordsBeforeFilter:0,batch:!1,properties:{}};class Oe{constructor(pe,Ee){if(this.status=0,this.messages=[],this.meta=function ve(ne){return JSON.parse(JSON.stringify(ne))}(Se),this.options={keepUnprocessedResponse:!1},Z()(pe)||ae()(pe))throw new Error("The response was unexpectedly undefined or null");Ee&&(this.options=Ee),this.options.keepUnprocessedResponse&&(this.raw=JSON.parse(JSON.stringify(pe)))}get success(){return this.status>0}get failed(){return 0===this.status}_getMessages(pe){return this.messages.filter(Ee=>Ee.type===pe)}get errors(){return this._getMessages(ye.Error)}get warnings(){return this._getMessages(ye.Warning)}get infoMessages(){return this._getMessages(ye.Information)}_hasMessages(pe){return this.messages.filter(Ee=>Ee.type===pe).length>0}get hasErrors(){return this._hasMessages(ye.Error)}get hasWarnings(){return this._hasMessages(ye.Warning)}get hasInfoMessages(){return this._hasMessages(ye.Information)}get isPaged(){return this.meta.isPaged}get isFiltered(){return this.meta.isFiltered}}class Ve{constructor(pe){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={},pe.paginate&&(this.isPaged=!0,this.record=parseInt(pe.paginate.start_result,10)||0,this.page=parseInt(pe.paginate.current_page,10)||0,this.pageSize=parseInt(pe.paginate.results_per_page,10)||0,this.totalPages=parseInt(pe.paginate.total_pages,10)||0,this.totalRecords=parseInt(pe.paginate.total_results,10)||0),pe.filter&&(this.isFiltered=!0,this.recordsBeforeFilter=parseInt(pe.filter.records_before_filter,10)||0);const Ee=new Set(["paginate","filter"]);Object.keys(pe).filter(be=>!Ee.has(be)).forEach(be=>{this.properties[be]=pe[be]})}}class Le extends Oe{_parseStatus(pe){if(this.status=0,typeof pe.status>"u")throw new Error("The response should have a numeric status property indicating the API succeeded (>0) or failed (=0)");this.status=parseInt(pe.status,10)}_parseMessages(pe){if("errors"in pe){const Ee=pe.errors;Ee&&Ee.length&&Ee.forEach(be=>{this.messages.push({type:ye.Error,message:be})})}if("messages"in pe){const Ee=pe.messages;Ee&&Ee.forEach(be=>{this.messages.push({type:ye.Information,message:be})})}}constructor(pe,Ee){if(super(pe,Ee),this._parseStatus(pe),this._parseMessages(pe),!pe||!Object.prototype.hasOwnProperty.call(pe,"data"))throw new Error("Expected response to contain a data property, but it is missing");this.data=pe.data,pe.metadata&&(this.meta=new Ve(pe.metadata))}}let Qe=(()=>{class ne{static#e=this.\u0275fac=function(be){return new(be||ne)};static#t=this.\u0275mod=o.$C({type:ne});static#n=this.\u0275inj=o.G2t({providers:[(0,M.$R)((0,M.Sx)())]})}return ne})(),nt=(()=>{class ne{constructor(Ee){this.http=Ee}delete(Ee){const be=Ee.generate(),ce=this.packageUrl(be);return this.http.delete(ce,{headers:this.packageHeaders(be)}).pipe((0,O.T)(this.packageResponseHandler(ce)))}get(Ee){const be=Ee.generate({verb:R.o.GET,encoder:new x.CY}),ce=this.packageUrl(be);return this.http.get(ce,{headers:this.packageHeaders(be)}).pipe((0,O.T)(this.packageResponseHandler(ce)))}options(Ee){const be=Ee.generate(),ce=this.packageUrl(be);return this.http.options(ce,{headers:this.packageHeaders(be)}).pipe((0,O.T)(this.packageResponseHandler(ce)))}patch(Ee){const be=Ee.generate(),ce=this.packageUrl(be);return this.http.patch(ce,be.body,{headers:this.packageHeaders(be)}).pipe((0,O.T)(this.packageResponseHandler(ce)))}put(Ee){const be=Ee.generate(),ce=this.packageUrl(be);return this.http.put(ce,be.body,{headers:this.packageHeaders(be)}).pipe((0,O.T)(this.packageResponseHandler(ce)))}post(Ee){const be=Ee.generate(),ce=this.packageUrl(be);return this.http.post(ce,be.body,{headers:this.packageHeaders(be)}).pipe((0,O.T)(this.packageResponseHandler(ce)))}packageHeaders(Ee){const be={};return Ee.headers.forEach(ce=>{be[ce.name]=ce.value}),new M.Lr(be)}packageUrl(Ee){return new L.KL(new $.N).buildTokenPath(Ee.url)}packageResponseHandler(Ee){return be=>{const ce=new Le(be);return ce.meta.properties.url=Ee,ce}}static#e=this.\u0275fac=function(be){return new(be||ne)(o.KVO(M.Qq))};static#t=this.\u0275prov=o.jDH({token:ne,factory:ne.\u0275fac,providedIn:"root"})}return ne})()},8658:(G,k,D)=>{"use strict";D.d(k,{B:()=>x});var o=D(3953),M=D(6381);const O=new o.nKC("window"),R=L=>new M.h(L.CLDR,L.LEXICON);let x=(()=>{class L{static#e=this.\u0275fac=function(Z){return new(Z||L)};static#t=this.\u0275mod=o.$C({type:L});static#n=this.\u0275inj=o.G2t({providers:[{provide:O,useValue:window},{provide:M.h,useFactory:R,deps:[O]}]})}return L})()},9490:(G,k,D)=>{"use strict";D.d(k,{Ab:()=>pn,Ar:()=>Ct,C7:()=>Kr,CK:()=>tr,Cy:()=>Mi,Fc:()=>rn,GV:()=>Di,H7:()=>Yi,Jr:()=>pr,KS:()=>q,LT:()=>ue,Mb:()=>X,Ou:()=>Kt,Qg:()=>Tt,Sy:()=>qn,Wp:()=>Nn,_S:()=>Ce,bA:()=>re,br:()=>Jt,eK:()=>Rt,ho:()=>qr,jM:()=>Wo,kj:()=>xn,kl:()=>ni,n8:()=>Ke,pt:()=>Jn,pv:()=>er,rY:()=>kt,rc:()=>on,sb:()=>ri,tq:()=>Fn,uE:()=>fr,vT:()=>Ot,x6:()=>Mn,xp:()=>j,yI:()=>br});var o=D(3953),M=D(177),O=D(1413),R=D(3726),x=D(7673),L=D(7901),$=D(6354),B=D(5964),Z=D(6977),te=D(152),ae=D(3294),ye=D(9437),Se=D(6697),ve=D(9417),Oe=D(8658),Ve=D(6381),Le=D(9969),Qe=D(728),$e=D(1960),gt=D(9390),bt=D(4310),nt=D(3400);const ft=["*"];function St(N,He){if(1&N&&(o.j41(0,"span",7),o.SdG(1),o.k0s()),2&N){const S=o.XpG(2);o.BMQ("id",S.infoBlockID)}}function ne(N,He){if(1&N){const S=o.RV6();o.qex(0),o.j41(1,"a",3),o.bIt("click",function(){o.eBV(S);const Y=o.XpG();return o.Njj(Y.toggleInfoBlock())}),o.nrm(2,"span",4)(3,"span",5),o.k0s(),o.DNE(4,St,2,1,"span",6),o.bVm()}if(2&N){const S=o.XpG();o.R7$(),o.BMQ("id",S.infoIconID)("title",S.toggleActionTitle),o.R7$(2),o.Y8G("innerHtml",S.toggleActionTitle,o.npT),o.R7$(),o.Y8G("ngIf",S.showInfoBlock)}}const be=["header"],ce=[[["","callout-heading",""]],"*"],ge=["[callout-heading]","*"];function qe(N,He){if(1&N){const S=o.RV6();o.j41(0,"button",4),o.bIt("click",function(){o.eBV(S);const Y=o.XpG();return o.Njj(Y.closeClicked())}),o.nrm(1,"i",5),o.k0s()}if(2&N){const S=o.XpG();o.BMQ("id",S.buttonID)}}function rt(N,He){if(1&N&&(o.j41(0,"li",3),o.nrm(1,"i",4)(2,"span",5),o.k0s()),2&N){const S=He.$implicit;o.BMQ("id",S.id),o.R7$(2),o.Y8G("innerHtml",S.message,o.npT)}}function Yt(N,He){if(1&N&&(o.j41(0,"ul",1),o.DNE(1,rt,3,2,"li",2),o.k0s()),2&N){const S=o.XpG();o.R7$(),o.Y8G("ngForOf",S.getFieldErrors())}}const In=N=>({visibility:N}),nn=(N,He,S)=>({"switch-on":N,"switch-off":He,disabled:S}),Sn=N=>({disabled:N}),et=(N,He)=>({"switch-on":N,"switch-off":He});function Hn(N,He){if(1&N&&(o.j41(0,"label",10)(1,"span",11),o.EFF(2),o.k0s()()),2&N){const S=o.XpG();o.FS9("for",S.toggleID),o.BMQ("aria-label",S.labelValue),o.R7$(),o.BMQ("id",S.onTextID),o.R7$(),o.SpI(" ",S.isToggleOff?S.offText:S.onText," ")}}function Hr(N,He){if(1&N&&o.nrm(0,"i",12),2&N){const S=o.XpG();o.BMQ("id",S.leftSpinnerID)}}function yn(N,He){if(1&N&&(o.j41(0,"label",13)(1,"span",14),o.EFF(2),o.k0s()()),2&N){const S=o.XpG();o.FS9("for",S.toggleID),o.BMQ("aria-label",S.labelValue),o.R7$(),o.BMQ("id",S.offTextID),o.R7$(),o.SpI(" ",S.isToggleOff?S.offText:S.onText," ")}}function _n(N,He){if(1&N&&o.nrm(0,"i",15),2&N){const S=o.XpG();o.BMQ("id",S.rightSpinnerID)}}function Zn(N,He){if(1&N){const S=o.RV6();o.j41(0,"button",9),o.bIt("click",function(){o.eBV(S);const Y=o.XpG(2);return o.Njj(Y.fireClose())}),o.j41(1,"span"),o.EFF(2,"\xd7"),o.k0s()()}if(2&N){const S=o.XpG(2);o.Y8G("id",S.closeButtonID)("title",S.closeLabel),o.BMQ("aria-label",S.closeLabel),o.R7$(),o.BMQ("aria-hidden",!0)}}function Gn(N,He){if(1&N){const S=o.RV6();o.j41(0,"button",10),o.bIt("click",function(){o.eBV(S);const Y=o.XpG(2);return o.Njj(Y.fireToggleMore())}),o.EFF(1),o.k0s()}if(2&N){const S=o.XpG(2);o.Y8G("id",S.moreButtonID),o.R7$(),o.SpI(" ",S.moreLabel," ")}}function cr(N,He){if(1&N&&(o.j41(0,"strong",11),o.EFF(1),o.k0s()),2&N){const S=o.XpG(2);o.R7$(),o.JRh(S.label)}}function ur(N,He){if(1&N&&(o.j41(0,"span",12),o.EFF(1),o.k0s()),2&N){const S=o.XpG(2);o.Y8G("id",S.textMessageID),o.R7$(),o.SpI(" ",S.message," ")}}function dr(N,He){if(1&N&&(o.j41(0,"li")(1,"span",12),o.EFF(2),o.k0s()()),2&N){const S=He.$implicit,H=He.index,Y=o.XpG(3);o.R7$(),o.FS9("id",Y.textListID+"_"+H),o.R7$(),o.SpI(" ",S," ")}}function Ht(N,He){if(1&N&&(o.j41(0,"ul",13),o.DNE(1,dr,3,2,"li",14),o.k0s()),2&N){const S=o.XpG(2);o.R7$(),o.Y8G("ngForOf",S.alert.list)}}function ei(N,He){if(1&N&&(o.j41(0,"div",1),o.DNE(1,Zn,3,4,"button",2)(2,Gn,2,2,"button",3),o.nrm(3,"span"),o.j41(4,"div",4),o.DNE(5,cr,2,1,"strong",5),o.j41(6,"span",6),o.DNE(7,ur,2,2,"span",7),o.k0s(),o.DNE(8,Ht,2,1,"ul",8),o.k0s()()),2&N){const S=o.XpG();o.ZvI("alert alert-",S.type," ng-hide"),o.Y8G("@openClose",S.animationClass),o.R7$(),o.Y8G("ngIf",S.showCloseButton),o.R7$(),o.Y8G("ngIf",S.showMoreButton),o.R7$(),o.HbH(S.icon),o.BMQ("aria-hidden",!0),o.R7$(2),o.Y8G("ngIf",S.hasLabel),o.R7$(2),o.Y8G("ngIf",S.message),o.R7$(),o.Y8G("ngIf",S.alert&&S.alert.list&&S.alert.list.length)}}function an(N,He){if(1&N){const S=o.RV6();o.j41(0,"div",6)(1,"cp-alert",7),o.bIt("close",function(){const Y=o.eBV(S).$implicit,Ge=o.XpG();return o.Njj(Ge.alertClosed(Y))}),o.k0s()()}if(2&N){const S=He.$implicit;o.R7$(),o.Y8G("alert",S)}}function vn(N,He){if(1&N&&o.nrm(0,"div",8),2&N){const S=o.XpG();o.Y8G("ngClass",S.positionClasses)}}const ti=["searchInput"];function un(N,He){if(1&N&&(o.j41(0,"span",6),o.EFF(1),o.k0s()),2&N){const S=o.XpG();o.R7$(),o.JRh(S.clearIconLabel)}}function wr(N,He){if(1&N&&(o.j41(0,"div")(1,"div",4)(2,"span",5),o.EFF(3),o.k0s(),o.j41(4,"span",6),o.EFF(5),o.k0s()()()),2&N){const S=o.XpG();o.R7$(2),o.Mz_("id","",S.id,"-limit"),o.R7$(),o.JRh(S.limitValue),o.R7$(2),o.JRh(S.limitTitle)}}function ir(N,He){if(1&N&&(o.j41(0,"div",4)(1,"span",5),o.EFF(2),o.k0s(),o.j41(3,"span",6),o.EFF(4),o.k0s()()),2&N){const S=o.XpG();o.R7$(),o.Mz_("id","",S.id,"-available"),o.R7$(),o.SpI(" ",S.availableValue," "),o.R7$(2),o.JRh(S.availableTitle)}}function Nr(N,He){if(1&N){const S=o.RV6();o.j41(0,"a",11),o.bIt("click",function(){o.eBV(S);const Y=o.XpG(2);return o.Njj(Y.showWarningDetailsClick())}),o.nrm(1,"i",12),o.EFF(2),o.k0s()}if(2&N){const S=o.XpG(2);o.Mz_("id","",S.id,"-details"),o.FS9("title",S.detailsTooltip),o.R7$(2),o.SpI(" ",S.viewDetailsText," ")}}function hr(N,He){if(1&N&&(o.j41(0,"a",13),o.EFF(1),o.nrm(2,"i",14),o.k0s()),2&N){const S=o.XpG(2);o.Mz_("id","",S.id,"-upgrade"),o.FS9("href",S.upgradeLink,o.B4B),o.FS9("target",S.upgradeLinkTarget),o.FS9("title",S.locale.maketext("Upgrade")),o.R7$(),o.SpI(" ",S.locale.maketext("Upgrade")," ")}}function An(N,He){if(1&N&&(o.j41(0,"div",8),o.DNE(1,Nr,3,4,"a",9)(2,hr,3,6,"a",10),o.k0s()),2&N){const S=o.XpG();o.R7$(),o.Y8G("ngIf",S.showDetails),o.R7$(),o.Y8G("ngIf",S.showUpgradeLink)}}const mt=[[["","field-label-help-text",""]],[["","form-field-input-content",""]]],Dr=["[field-label-help-text]","[form-field-input-content]"],pt=(N,He)=>({"fa-eye":N,"fa-eye-slash":He}),xe=(N,He)=>({"fa-caret-down":N,"fa-caret-up":He});function fi(N,He){1&N&&o.nrm(0,"li",13),2&N&&o.Y8G("ngClass",He.$implicit)}function Gr(N,He){if(1&N&&(o.j41(0,"ul",11),o.DNE(1,fi,1,1,"li",12),o.k0s()),2&N){const S=o.XpG();o.R7$(),o.Y8G("ngForOf",S.strengthClasses)}}function sr(N,He){if(1&N&&o.nrm(0,"div",14),2&N){const S=o.XpG();o.Y8G("innerHtml",S.strengthText,o.npT)}}function Mr(N,He){if(1&N&&(o.j41(0,"ul",15)(1,"li",16),o.nrm(2,"i",17)(3,"span",18),o.k0s()()),2&N){const S=o.XpG();o.R7$(3),o.Y8G("innerHtml",S.strengthText,o.npT)}}function Cn(N,He){if(1&N&&(o.j41(0,"div",19)(1,"div",20)(2,"h4"),o.EFF(3),o.k0s(),o.j41(4,"form",21)(5,"div",22)(6,"div",23)(7,"label",24)(8,"span"),o.EFF(9),o.k0s()(),o.nrm(10,"input",25),o.k0s()(),o.j41(11,"div",26)(12,"div",27)(13,"div",28)(14,"label",29),o.nrm(15,"input",30),o.j41(16,"span"),o.EFF(17),o.k0s()()(),o.j41(18,"div",28)(19,"label",29),o.nrm(20,"input",31),o.j41(21,"span"),o.EFF(22),o.k0s()()(),o.j41(23,"div",28)(24,"label",29),o.nrm(25,"input",32),o.j41(26,"span"),o.EFF(27),o.k0s()()(),o.j41(28,"div",28)(29,"label",29),o.nrm(30,"input",33),o.j41(31,"span"),o.EFF(32),o.k0s()()()()()()()()),2&N){const S=o.XpG();o.R7$(3),o.JRh(S.locale.maketext("Characters")),o.R7$(),o.Y8G("formGroup",S.passwordConfigurationForm),o.R7$(5),o.JRh(S.locale.maketext("Length")),o.R7$(),o.Y8G("title",S.locale.maketext("Set password length.")),o.R7$(5),o.FS9("disabled",S.isInputDisabled("hasUppercase")),o.R7$(2),o.JRh(S.locale.maketext("Uppercase Letters ([asis,ABC])")),o.R7$(5),o.JRh(S.locale.maketext("Lowercase Letters ([asis,abc])")),o.R7$(5),o.JRh(S.locale.maketext("Numbers ([asis,123])")),o.R7$(5),o.JRh(S.locale.maketext("Symbols ([asis,@#$])"))}}function zr(N,He){if(1&N){const S=o.RV6();o.j41(0,"button",3),o.bIt("click",function(){const Y=o.eBV(S).$implicit,Ge=o.XpG();return o.Njj(Ge.onOptionClicked(Y))}),o.k0s()}if(2&N){const S=He.$implicit,H=o.XpG();o.Y8G("disabled",H.disabled)("selected",H.isOptionSelected(S))("value",S)}}function Bt(N,He){1&N&&o.EFF(0," >\n")}function pi(N,He){1&N&&o.EFF(0," <\n")}function vt(N,He){1&N&&o.EFF(0," >>\n")}function At(N,He){1&N&&o.EFF(0," <<\n")}class rn{static#e=this.defaultShowMore=!1;static#t=this.defaultAutoClosePeriod=0;static#n=this.defaultOptions={autoClosePeriod:rn.defaultAutoClosePeriod,list:[]};constructor(He,S,H=rn.defaultOptions){this._message=He,this._type=S;const Y=H.id?H.id:Math.random().toString(36).substr(2,9);this._id=Y,this._closable=null==H.isCloseable||H.isCloseable,this._autoClosePeriod=H.autoClosePeriod,this._list=H.list,this._showMore=H.showMore||rn.defaultShowMore,this._ts=null==H.createdOn?Date.now():H.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(He){const{message:S,type:H,...Y}=He;return new rn(S,H,Y)}}var Ot=function(N){return N[N.error=0]="error",N[N.success=1]="success",N[N.warning=2]="warning",N[N.information=3]="information",N}(Ot||{}),En=function(N){return N.add="add",N.remove="remove",N.clear="clear",N}(En||{});let fr=(()=>{class N{static#e=this.defaultGroup="__DEFAULT__";static#t=this.defaultSuccessOptions={autoClosePeriod:1e4};constructor(){this._alertEventsSource=new O.B,this._alerts={},this.alertEvents=this._alertEventsSource.asObservable()}add(S,H=N.defaultGroup){this._alerts[H]||(this._alerts[H]=[]);const Y=S instanceof rn?S:rn.makeAlert(S);if(this.list(H).push(Y),this._alertEventsSource.next({type:En.add,group:H,alert:Y}),(0,o.naY)())switch(Y.type){case Ot.error:console.error(Y.message,Y);break;case Ot.warning:console.warn(Y.message,Y);break;default:console.log(Y.message,Y)}return Y}success(S,H=N.defaultGroup){return this.add(new rn(S,Ot.success,N.defaultSuccessOptions),H)}error(S,H=N.defaultGroup){return this.add({message:S,type:Ot.error},H)}info(S,H=N.defaultGroup){return this.add({message:S,type:Ot.information},H)}warn(S,H=N.defaultGroup){return this.add({message:S,type:Ot.warning},H)}removeById(S,H=N.defaultGroup){const Y=this.list(H),Ge=Y.findIndex(Lt=>Lt.id===S,0);if(-1!==Ge){const Lt=Y[Ge];Y.splice(Ge,1),this._alertEventsSource.next({type:En.remove,group:H,alert:Lt})}}clear(S=N.defaultGroup){this._alerts[S]=[],this._alertEventsSource.next({type:En.clear,group:S})}list(S=N.defaultGroup){return null==this._alerts[S]&&(this._alerts[S]=[]),this._alerts[S]}static#n=this.\u0275fac=function(H){return new(H||N)};static#r=this.\u0275prov=o.jDH({token:N,factory:N.\u0275fac,providedIn:"root"})}return N})();var Zt=function(N){return N.inline="inline",N.topLeft="top-left",N.topMiddle="top-middle",N.topRight="top-right",N.bottomLeft="bottom-left",N.bottomMiddle="bottom-middle",N.bottomRight="bottom-right",N.middleLeft="middle-left",N.middleMiddle="middle-middle",N.middleRight="middle-right",N}(Zt||{});const he=Zt.topRight,le=Zt.topLeft;let re=(()=>{class N{static#e=this.crumbSeparator=" / ";constructor(S){this._router=S,this.activeBreadcrumbs=[],this.breadcrumbClicked$=(0,R.R)(document,"breadcrumbNavigate").pipe((0,$.T)(H=>this._router.navigate([H.detail.link]))),this._resolvedRoutes={},this._breadcrumbs=[]}get flattenedRoutesData(){return this._flattenedRoutesData}set flattenedRoutesData(S){this._router.config.forEach(H=>{this._flattenRoute(H,S)}),this._flattenedRoutesData=S}initializeBreadcrumbs(){this.flattenedRoutesData=[],this._router.events.pipe((0,B.p)(S=>S instanceof L.ld),(0,$.T)(S=>S.state.root)).subscribe(S=>this._resolvedRoutes=this._getResolvedRoutes(S.children)),this._router.events.pipe((0,B.p)(S=>S instanceof L.vG),(0,$.T)(S=>S.snapshot)).subscribe(S=>this.buildBreadcrumbs(S)),this._router.events.pipe((0,B.p)(S=>S instanceof L.wF),(0,$.T)(S=>S.url)).subscribe(S=>this.setBreadcrumbs(S)),this.breadcrumbClicked$.subscribe()}_flattenRoute(S,H){return S.data&&S.data.breadcrumb&&H.push({path:S.path,id:S.data.breadcrumb.id,displayName:S.data.breadcrumb.displayName,longName:S.data.breadcrumb.longName,parentId:S.data.breadcrumb.parentId}),S.children&&S.children.forEach(Y=>{this._flattenRoute(Y,H)}),H}_getResolvedRoutes(S,H=[],Y={}){return S.forEach(Ge=>{Ge.data&&Ge.data.breadcrumb&&(Ge.url.forEach(Lt=>{H.push(Lt.path)}),Y[Ge.routeConfig.path]=H.join("/"),0!==Ge.children.length&&this._getResolvedRoutes(Ge.children,H,Y))},this),Y}buildBreadcrumbs(S){const H=[];S.data&&S.data.breadcrumb&&this._buildParentTree(S.data.breadcrumb.id,H),this._updateDynamicRoutes(H),this._breadcrumbs=H}_buildParentTree(S,H){const Y=this.flattenedRoutesData.find(Ge=>Ge.id===S);return Y&&(H.unshift(Y),Y.parentId&&this._buildParentTree(Y.parentId,H)),H}_updateDynamicRoutes(S){return S.forEach(H=>{H.link=this._resolvedRoutes[H.path]?this._resolvedRoutes[H.path]:H.path})}setBreadcrumbs(S){this._getActiveBreadcrumbs(S);const H=new CustomEvent("breadcrumbSetCrumbs",{bubbles:!0,detail:{separator:N.crumbSeparator,crumbs:this.activeBreadcrumbs}});setTimeout(()=>document.dispatchEvent(H),1)}_getActiveBreadcrumbs(S){this.activeBreadcrumbs=[];for(const H of this._breadcrumbs)if(this.activeBreadcrumbs.push(H),"/"+H.link===S)return}static#t=this.\u0275fac=function(H){return new(H||N)(o.KVO(L.Ix))};static#n=this.\u0275prov=o.jDH({token:N,factory:N.\u0275fac,providedIn:"root"})}return N})(),Ce=(()=>{class N{static#e=this.\u0275fac=function(H){return new(H||N)};static#t=this.\u0275mod=o.$C({type:N});static#n=this.\u0275inj=o.G2t({providers:[re],imports:[M.MD]})}return N})(),Ue=(()=>{class N{constructor(){this._passwordCharsList={uppercase:"ABCDEFGHIJKLMNOPQRSTUVWXYZ",lowercase:"abcdefghijklmnopqrstuvwxyz",numbers:"0123456789",symbols:"!@#$%^&*()-_=+{}[];,.?~"}}generatePassword(S){const H=this._buildCharsSet(S);return this._generateRandomChars(H,S.length)}_buildCharsSet(S){let H="";return S.hasUppercase&&(H+=this._passwordCharsList.uppercase),S.hasLowercase&&(H+=this._passwordCharsList.lowercase),S.hasNumbers&&(H+=this._passwordCharsList.numbers),S.hasSymbols&&(H+=this._passwordCharsList.symbols),H}_generateRandomChars(S,H){let Ge,Y="";for(;H>0;)Ge=Math.floor(Math.random()*S.length),Y+=S.substring(Ge,Ge+1),H--;return Y}static#e=this.\u0275fac=function(H){return new(H||N)};static#t=this.\u0275prov=o.jDH({token:N,factory:N.\u0275fac,providedIn:"root"})}return N})(),it=(()=>{class N{changeControlUpdateStrategy(S,H){Object.defineProperty(S,"updateOn",{get:()=>H,configurable:!0})}static#e=this.\u0275fac=function(H){return new(H||N)};static#t=this.\u0275prov=o.jDH({token:N,factory:N.\u0275fac,providedIn:"root"})}return N})(),Ct=(()=>{class N{constructor(S,H){this.ngControl=S,this.validationStrategyService=H}onFocus(){this.control.touched&&this.validationStrategyService.changeControlUpdateStrategy(this.control,this.control.errors?"change":"blur")}ngAfterViewInit(){this.control=this.ngControl.control}static#e=this.\u0275fac=function(H){return new(H||N)(o.rXU(ve.vO),o.rXU(it))};static#t=this.\u0275dir=o.FsC({type:N,selectors:[["","cpValidationStrategy",""]],hostBindings:function(H,Y){1&H&&o.bIt("focus",function(){return Y.onFocus()})}})}return N})(),on=(()=>{class N{static#e=this.\u0275fac=function(H){return new(H||N)};static#t=this.\u0275mod=o.$C({type:N});static#n=this.\u0275inj=o.G2t({providers:[it],imports:[M.MD]})}return N})(),Nn=(()=>{class N{constructor(S){this.locale=S,this.showInfoToggle=!0,this.toggleActionTitleExpand=S.maketext("Expand"),this.toggleActionTitleCollapse=S.maketext("Collapse")}toggleInfoBlock(){this.showInfoBlock=!this.showInfoBlock,this.updateToggleActionTitle(this.showInfoBlock)}ngOnInit(){if(!this.id)throw new Error("id must be defined for `cp-form-label`");this.labelID=`${this.id}_label`,this.infoIconID=`${this.id}_infoIcon`,this.infoBlockID=`${this.id}_infoBlock`,this.showInfoBlock=(!0===this.showInfoBlock||!1===this.showInfoBlock)&&this.showInfoBlock,this.updateToggleActionTitle(this.showInfoBlock)}updateToggleActionTitle(S){this.toggleActionTitle=S?this.toggleActionTitleCollapse:this.toggleActionTitleExpand}static#e=this.\u0275fac=function(H){return new(H||N)(o.rXU(Ve.h))};static#t=this.\u0275cmp=o.VBU({type:N,selectors:[["cp-form-label"]],inputs:{id:"id",for:"for",showInfoBlock:"showInfoBlock",labelText:"labelText",showInfoToggle:"showInfoToggle"},ngContentSelectors:ft,decls:4,vars:4,consts:[[1,"toggle-info-label-container"],[3,"innerHtml"],[4,"ngIf"],["href","javascript:void(0)",1,"text-primary","form-info-sign",3,"click"],["aria-hidden","true",1,"far","fa-question-circle","text-primary"],[1,"sr-only",3,"innerHtml"],["class","info-block",4,"ngIf"],[1,"info-block"]],template:function(H,Y){1&H&&(o.NAR(),o.j41(0,"div",0),o.nrm(1,"label",1),o.EFF(2," \xa0 "),o.DNE(3,ne,5,4,"ng-container",2),o.k0s()),2&H&&(o.R7$(),o.Y8G("innerHtml",Y.labelText,o.npT),o.BMQ("id",Y.labelID)("for",Y.for),o.R7$(2),o.Y8G("ngIf",Y.showInfoToggle))},dependencies:[M.bT],styles:["label[_ngcontent-%COMP%]{margin:0 0 5px}.info-block[_ngcontent-%COMP%]{color:#737373;display:block;margin:0 0 5px;font-weight:400;font-size:13px}"]})}return N})(),kt=(()=>{class N{static#e=this.\u0275fac=function(H){return new(H||N)};static#t=this.\u0275mod=o.$C({type:N});static#n=this.\u0275inj=o.G2t({imports:[M.MD,Oe.B]})}return N})();var Rr=function(N){return N.warnings="warnings",N.danger="danger",N.info="info",N.default="info",N}(Rr||{});let Di=(()=>{class N{constructor(){this.calloutType=Rr.default,this.closeable=!1,this.close=new o.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(H){return new(H||N)};static#t=this.\u0275cmp=o.VBU({type:N,selectors:[["cp-callout"]],viewQuery:function(H,Y){if(1&H&&o.GBs(be,5),2&H){let Ge;o.mGM(Ge=o.lsd())&&(Y.header=Ge.first)}},inputs:{id:"id",calloutType:"calloutType",closeable:"closeable"},outputs:{close:"close"},ngContentSelectors:ge,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(H,Y){1&H&&(o.NAR(ce),o.j41(0,"div",1),o.DNE(1,qe,2,1,"button",2),o.j41(2,"div",3,0),o.SdG(4),o.k0s(),o.j41(5,"div"),o.SdG(6,1),o.k0s()()),2&H&&(o.ZvI("callout callout-",Y.calloutType,""),o.BMQ("aria-label",Y.calloutType),o.R7$(),o.Y8G("ngIf",Y.closeable),o.R7$(),o.BMQ("id",Y.headingID),o.R7$(3),o.BMQ("id",Y.contentID))},dependencies:[M.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 N})(),Wo=(()=>{class N{static#e=this.\u0275fac=function(H){return new(H||N)};static#t=this.\u0275mod=o.$C({type:N});static#n=this.\u0275inj=o.G2t({imports:[M.MD]})}return N})(),ni=(()=>{class N{constructor(){}hasErrors(){return this.control&&!this.control.valid}hasChanged(){return this.control&&(this.control.dirty||this.control.touched)}getFieldErrors(){return this.control?Object.keys(this.control.errors).map(S=>(this.control.errors[S].id=`${this.id}_${S}`,this.control.errors[S].key=S,this.control.errors[S])):[]}ngOnInit(){if(!this.id)throw new Error("id must be defined for `cp-validation-container`")}static#e=this.\u0275fac=function(H){return new(H||N)};static#t=this.\u0275cmp=o.VBU({type:N,selectors:[["cp-validation-container"]],inputs:{control:"control",id:"id"},decls:1,vars:1,consts:[["class","validation-container",4,"ngIf"],[1,"validation-container"],["class","validation validation-error ng-hide",4,"ngFor","ngForOf"],[1,"validation","validation-error","ng-hide"],[1,"fas","fa-exclamation-circle"],[1,"validation-message",3,"innerHtml"]],template:function(H,Y){1&H&&o.DNE(0,Yt,2,1,"ul",0),2&H&&o.Y8G("ngIf",Y.hasErrors()&&Y.hasChanged())},dependencies:[M.Sq,M.bT],styles:['.validation-container[_ngcontent-%COMP%]{background-color:#f8c9c4;border:1px solid #a94442;padding:5px;border-radius:2px;list-style:none;margin-bottom:0;margin-top:5px}.validation-error[_ngcontent-%COMP%]{position:relative;line-height:20px}.validation-error[_ngcontent-%COMP%] > .fas[_ngcontent-%COMP%]{color:#a94442;display:inline-block;position:absolute;top:4px}.validation-message[_ngcontent-%COMP%]{display:inline-block;vertical-align:middle;margin-left:20px}html[dir="rtl"][_nghost-%COMP%]   .validation-message[_ngcontent-%COMP%], html[dir="rtl"]   [_nghost-%COMP%]   .validation-message[_ngcontent-%COMP%]{margin-right:20px;margin-left:0}']})}return N})(),Yi=(()=>{class N{static#e=this.\u0275fac=function(H){return new(H||N)};static#t=this.\u0275mod=o.$C({type:N});static#n=this.\u0275inj=o.G2t({imports:[M.MD]})}return N})();var xn=function(N){return N.loading="loading",N.disabled="disabled",N.enabled="enabled",N}(xn||{});let Kr=(()=>{class N{constructor(){this.click=new o.bkB,this.type="button",this.buttonClass="btn-primary",this.isDisabled=!1,this.showSpinner=!1}set buttonState(S){switch(S){case xn.enabled:this.setToEnabled();break;case xn.loading:this.setToLoading();break;case xn.disabled:this.setToDisable()}}ngOnInit(){if(!this.id)throw new Error("id must be defined for `cp-action-button`")}onClick(S){S.stopPropagation(),this.click.emit()}setToLoading(){this.isDisabled=!0,this.showSpinner=!0}setToDisable(){this.isDisabled=!0}setToEnabled(){this.isDisabled=!1,this.showSpinner=!1}static#e=this.\u0275fac=function(H){return new(H||N)};static#t=this.\u0275cmp=o.VBU({type:N,selectors:[["cp-action-button"]],inputs:{id:"id",type:"type",buttonClass:"buttonClass",buttonState:"buttonState"},outputs:{click:"click"},ngContentSelectors:ft,decls:3,vars:10,consts:[[1,"btn","action-button",3,"click","id","type","ngClass","disabled"],[1,"fas","fa-sync","fa-spin",3,"id","ngStyle"]],template:function(H,Y){1&H&&(o.NAR(),o.j41(0,"button",0),o.bIt("click",function(Lt){return Y.onClick(Lt)}),o.nrm(1,"i",1),o.SdG(2),o.k0s()),2&H&&(o.Mz_("id","",Y.id,"-button"),o.FS9("type",Y.type),o.Y8G("ngClass",Y.buttonClass)("disabled",Y.isDisabled),o.R7$(),o.Mz_("id","",Y.id,"-spinner"),o.Y8G("ngStyle",o.eq3(8,In,Y.showSpinner?"visible":"hidden")))},dependencies:[M.YU,M.B3],styles:['.action-button[_ngcontent-%COMP%]{padding:6px 26px 6px 12px}html[dir="rtl"][_nghost-%COMP%]   .action-button[_ngcontent-%COMP%], html[dir="rtl"]   [_nghost-%COMP%]   .action-button[_ngcontent-%COMP%]{padding:6px 12px 6px 26px}']})}return N})(),Jn=(()=>{class N{static#e=this.\u0275fac=function(H){return new(H||N)};static#t=this.\u0275mod=o.$C({type:N});static#n=this.\u0275inj=o.G2t({imports:[M.MD]})}return N})();var er=function(N){return N.toggleOn="toggleSwitchOn",N.toggleOff="toggleSwitchOff",N.toggleUpdating="toggleSwitchUpdating",N}(er||{}),pr=function(N){return N.left="left",N.right="right",N}(pr||{});let tr=(()=>{class N{constructor(S){this.locale=S,this.onText="",this.offText="",this.isDisabled=!1,this.toggleStatus=new o.bkB,this._isToggleUpdating=!1,this._hasSpinner=!1}get isToggleOff(){return this._isToggleOffStatus}get hasSpinner(){return this._hasSpinner}get isToggleUpdating(){return this._isToggleUpdating}get labelValue(){return this.isDisabled?"disabled":this.isToggleOff?this.offText:this.onText}get leftLabelPosition(){return pr.left}get rightLabelPosition(){return pr.right}get isLTR(){return this.locale.isLtr}set toggleState(S){switch(this._toggleState=S,S){case er.toggleOn:this._isToggleOffStatus=!1,this._isToggleUpdating=!1;break;case er.toggleOff:this._isToggleOffStatus=!0,this._isToggleUpdating=!1;break;case er.toggleUpdating:this._isToggleUpdating=!0,this._hasSpinner=!0}}checkToggle(S){this.isDisabled||this._isToggleUpdating||("click"===S.type?this.toggleStatus.emit(S):"keyup"===S.type&&((13===S.keyCode||32===S.keyCode)&&this.toggleStatus.emit(S),this.isLTR?37!==S.keyCode||this._isToggleOffStatus?39===S.keyCode&&this._isToggleOffStatus&&this.toggleStatus.emit(S):this.toggleStatus.emit(S):(37===S.keyCode&&this._isToggleOffStatus||39===S.keyCode&&!this._isToggleOffStatus)&&this.toggleStatus.emit(S)))}isLabelVisible(S){return!(!this.labelPosition||this._isToggleUpdating)&&(!(!this.labelPosition||S!==this.labelPosition)||void 0)}isSpinnerVisible(S){return!(!(this.hasSpinner&&this.labelPosition&&this.isToggleUpdating)||this.isDisabled||S!==this.labelPosition)}ngOnInit(){if(!this.id)throw new Error("id must be defined for `cp-toggle-switch`");this.toggleID=`${this.id}_toggle`,this.onTextID=`${this.id}_on_text`,this.offTextID=`${this.id}_off_text`,this.leftSpinnerID=`${this.id}_left_spinner`,this.rightSpinnerID=`${this.id}_right_spinner`}static#e=this.\u0275fac=function(H){return new(H||N)(o.rXU(Ve.h))};static#t=this.\u0275cmp=o.VBU({type:N,selectors:[["cp-toggle-switch"]],inputs:{id:"id",onText:"onText",offText:"offText",labelPosition:"labelPosition",isDisabled:"isDisabled",toggleState:"toggleState"},outputs:{toggleStatus:"toggleStatus"},decls:10,vars:19,consts:[["role","switch","tabindex","0",1,"toggle-switch-wrapper",3,"click","keyup","ngClass"],["class","toggle-switch-label-left",3,"for",4,"ngIf"],["class","fas fa-sync fa-spin spinner toggle-switch-updating-indicator toggle-switch-updating-indicator-left",4,"ngIf"],["attr.aria-label","toggle",1,"toggle-switch",3,"ngClass"],[1,"toggle-switch-animate",3,"ngClass"],[1,"switch-left"],[1,"knob"],[1,"switch-right"],["class","toggle-switch-label-right",3,"for",4,"ngIf"],["class","fas fa-sync fa-spin spinner toggle-switch-updating-indicator toggle-switch-updating-indicator-right",4,"ngIf"],[1,"toggle-switch-label-left",3,"for"],[1,"toggle-switch-text","toggle-switch-text-left"],[1,"fas","fa-sync","fa-spin","spinner","toggle-switch-updating-indicator","toggle-switch-updating-indicator-left"],[1,"toggle-switch-label-right",3,"for"],[1,"toggle-switch-text","toggle-switch-text-right"],[1,"fas","fa-sync","fa-spin","spinner","toggle-switch-updating-indicator","toggle-switch-updating-indicator-right"]],template:function(H,Y){1&H&&(o.j41(0,"div",0),o.bIt("click",function(Lt){return Y.checkToggle(Lt)})("keyup",function(Lt){return Y.checkToggle(Lt)}),o.DNE(1,Hn,3,4,"label",1)(2,Hr,1,1,"i",2),o.j41(3,"div",3)(4,"div",4),o.nrm(5,"span",5)(6,"span",6)(7,"span",7),o.k0s()(),o.DNE(8,yn,3,4,"label",8)(9,_n,1,1,"i",9),o.k0s()),2&H&&(o.Y8G("ngClass",o.sMw(10,nn,!Y.isToggleOff,Y.isToggleOff,Y.isDisabled||Y.isToggleUpdating)),o.BMQ("id",Y.toggleID)("value",Y.labelValue)("aria-checked",!Y.isToggleOff),o.R7$(),o.Y8G("ngIf",Y.isLabelVisible(Y.leftLabelPosition)),o.R7$(),o.Y8G("ngIf",Y.isSpinnerVisible(Y.leftLabelPosition)),o.R7$(),o.Y8G("ngClass",o.eq3(14,Sn,Y.isDisabled||Y.isToggleUpdating)),o.R7$(),o.Y8G("ngClass",o.l_i(16,et,!Y.isToggleOff,Y.isToggleOff)),o.R7$(4),o.Y8G("ngIf",Y.isLabelVisible(Y.rightLabelPosition)),o.R7$(),o.Y8G("ngIf",Y.isSpinnerVisible(Y.rightLabelPosition)))},dependencies:[M.YU,M.bT],styles:['.toggle-switch-wrapper[_ngcontent-%COMP%]{height:28px;cursor:pointer;border-radius:5px;padding:4px 4px 4px 20px;display:inline-block;margin-left:-20px}.toggle-switch-wrapper[_ngcontent-%COMP%]   .toggle-switch[_ngcontent-%COMP%]{min-width:35px;vertical-align:middle;height:12px;display:inline-block;overflow:visible;border-radius:6px;box-shadow:inset 0 0 2px #00000080}.toggle-switch-wrapper[_ngcontent-%COMP%]   .toggle-switch[_ngcontent-%COMP%]   .toggle-switch-animate[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{display:inline-block;transition:left .5s;-o-transition:left .5s;-moz-transition:left .5s;-webkit-transition:left .5s}.toggle-switch-wrapper[_ngcontent-%COMP%]   .toggle-switch[_ngcontent-%COMP%]   .toggle-switch-animate[_ngcontent-%COMP%]   .knob[_ngcontent-%COMP%]{width:20px;height:20px;margin-top:-5px;border-radius:50%;display:inline-block;position:relative;box-shadow:inset 0 0 2px #00000080}.toggle-switch-wrapper[_ngcontent-%COMP%]   .toggle-switch-label-left[_ngcontent-%COMP%], .toggle-switch-wrapper[_ngcontent-%COMP%]   .toggle-switch-updating-indicator-left[_ngcontent-%COMP%]{margin-right:4px}.toggle-switch-wrapper[_ngcontent-%COMP%]   .toggle-switch-label-right[_ngcontent-%COMP%], .toggle-switch-wrapper[_ngcontent-%COMP%]   .toggle-switch-updating-indicator-right[_ngcontent-%COMP%]{margin-left:4px}.toggle-switch-wrapper.switch-on[_ngcontent-%COMP%]   .toggle-switch[_ngcontent-%COMP%]{background-color:#428bca}.toggle-switch-wrapper.switch-on[_ngcontent-%COMP%]   .knob[_ngcontent-%COMP%]{background-color:#428bca;left:50%;z-index:99}.toggle-switch-wrapper.switch-off[_ngcontent-%COMP%]   .toggle-switch[_ngcontent-%COMP%]{background-color:#ccc}.toggle-switch-wrapper.switch-off[_ngcontent-%COMP%]   .knob[_ngcontent-%COMP%]{left:0%;background-color:#ccc}.toggle-switch-wrapper.disabled[_ngcontent-%COMP%]{cursor:not-allowed}.toggle-switch-wrapper.disabled[_ngcontent-%COMP%]   .toggle-switch-text[_ngcontent-%COMP%]{opacity:.75;font-style:italic}.toggle-switch-wrapper.disabled[_ngcontent-%COMP%]   .toggle-switch.disabled[_ngcontent-%COMP%]{cursor:not-allowed;background-color:#aaa}.toggle-switch-wrapper.disabled[_ngcontent-%COMP%]   .toggle-switch.disabled[_ngcontent-%COMP%]   .knob[_ngcontent-%COMP%]{background-color:#aaa}html[dir="rtl"][_nghost-%COMP%]   .toggle-switch-wrapper[_ngcontent-%COMP%]   .toggle-switch-label-left[_ngcontent-%COMP%], html[dir="rtl"]   [_nghost-%COMP%]   .toggle-switch-wrapper[_ngcontent-%COMP%]   .toggle-switch-label-left[_ngcontent-%COMP%]{margin-left:4px}html[dir="rtl"][_nghost-%COMP%]   .toggle-switch-wrapper[_ngcontent-%COMP%]   .toggle-switch-updating-indicator-left[_ngcontent-%COMP%], html[dir="rtl"]   [_nghost-%COMP%]   .toggle-switch-wrapper[_ngcontent-%COMP%]   .toggle-switch-updating-indicator-left[_ngcontent-%COMP%]{margin-left:4px}html[dir="rtl"][_nghost-%COMP%]   .toggle-switch-wrapper[_ngcontent-%COMP%]   .toggle-switch-label-right[_ngcontent-%COMP%], html[dir="rtl"]   [_nghost-%COMP%]   .toggle-switch-wrapper[_ngcontent-%COMP%]   .toggle-switch-label-right[_ngcontent-%COMP%]{margin-right:4px}html[dir="rtl"][_nghost-%COMP%]   .toggle-switch-wrapper[_ngcontent-%COMP%]   .toggle-switch-updating-indicator-right[_ngcontent-%COMP%], html[dir="rtl"]   [_nghost-%COMP%]   .toggle-switch-wrapper[_ngcontent-%COMP%]   .toggle-switch-updating-indicator-right[_ngcontent-%COMP%]{margin-right:4px}html[dir="rtl"][_nghost-%COMP%]   .toggle-switch-wrapper.switch-on[_ngcontent-%COMP%]   .knob[_ngcontent-%COMP%], html[dir="rtl"]   [_nghost-%COMP%]   .toggle-switch-wrapper.switch-on[_ngcontent-%COMP%]   .knob[_ngcontent-%COMP%]{background-color:#428bca;left:-50%;z-index:99}']})}return N})(),qr=(()=>{class N{static#e=this.\u0275fac=function(H){return new(H||N)};static#t=this.\u0275mod=o.$C({type:N});static#n=this.\u0275inj=o.G2t({imports:[M.MD,Oe.B]})}return N})();var Rn=function(N){return N.new="new",N.closed="closed",N.open="open",N}(Rn||{});let Mi=(()=>{class N{constructor(S){this.locale=S,this.close=new o.bkB,this.toggleMore=new o.bkB,this.animationClass=Rn.new}get icon(){switch(this.alert.type){case Ot.error:return"type-icon fas fa-times-circle";case Ot.warning:return"type-icon fas fa-exclamation-triangle";case Ot.information:return"type-icon fas fa-info-circle";case Ot.success:return"type-icon fas fa-check-circle"}}get type(){switch(this.alert.type){case Ot.error:return"danger";case Ot.warning:return"warning";case Ot.information:return"info";case Ot.success:return"success"}}get hasLabel(){const S=this.label;return null!==S&&""!==S}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 Ot.success:this.label=this.locale.maketext("Success:");break;case Ot.error:this.label=this.locale.maketext("Error:");break;case Ot.information:this.label=this.locale.maketext("Information:");break;case Ot.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=Rn.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=Rn.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(...S){return S.join("_")}static#e=this.\u0275fac=function(H){return new(H||N)(o.rXU(Ve.h))};static#t=this.\u0275cmp=o.VBU({type:N,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(H,Y){1&H&&o.DNE(0,ei,9,13,"div",0),2&H&&o.Y8G("ngIf",!Y.isClosed)},dependencies:[M.Sq,M.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:[(0,Le.hZ)("openClose",[(0,Le.wk)(Rn.new,(0,Le.iF)({opacity:0})),(0,Le.wk)(Rn.open,(0,Le.iF)({opacity:1})),(0,Le.wk)(Rn.closed,(0,Le.iF)({opacity:0,transform:"translateX(25%)"})),(0,Le.kY)(`${Rn.open} => ${Rn.closed}`,[(0,Le.i0)("0.25s")]),(0,Le.kY)(`${Rn.new} => ${Rn.open}`,[(0,Le.i0)("0.25s")]),(0,Le.kY)(`${Rn.closed} => ${Rn.open}`,[(0,Le.i0)("0.25s")])])]}})}return N})(),br=(()=>{class N{static#e=this.\u0275fac=function(H){return new(H||N)};static#t=this.\u0275mod=o.$C({type:N});static#n=this.\u0275inj=o.G2t({imports:[M.MD,Qe.wb,Oe.B]})}return N})(),ht=(()=>{class N{constructor(S){this.locale=S}get position(){return this.locale.isLtr?he:le}static#e=this.\u0275fac=function(H){return new(H||N)(o.KVO(Ve.h))};static#t=this.\u0275prov=o.jDH({token:N,factory:N.\u0275fac,providedIn:"root"})}return N})(),pn=(()=>{class N{static#e=this.positionPrefix="position-";constructor(S,H){this._alertService=S,this._positionService=H,this.alerts=this.alerts?this.alerts:[]}get hasAlerts(){return this.alerts.length>0}get positionClasses(){return this.inline?N.positionPrefix+Zt.inline.toString():N.positionPrefix+this.position.toString()}get position(){return this._position.toString()}set position(S){this._position=((N,He=Zt.topRight)=>{if(N){const S=(N=>{const He=Object.keys(Zt),H=Object.values(Zt).indexOf(N);return-1!==H?He[H]:(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)})(N);if(S)return Zt[S]}return He})(S)}alertClosed(S){this._alertService.removeById(S.id,this.group)}ngOnInit(){this.group||(this.group=fr.defaultGroup),this._position||(this._position=this._positionService.position),this._alertService.list(this.group).forEach(H=>this._addAlert(H)),this._groupEvents=this._alertService.alertEvents.pipe((0,B.p)(H=>H.group===this.group)),this._eventSubscription=this._groupEvents.subscribe({next:this._onAlertEvent.bind(this),error:console.error})}ngOnDestroy(){this._eventSubscription.unsubscribe()}_findAlertIndexById(S){return this.alerts.findIndex(H=>H.id===S)}_addAlert(S){return this.alerts.push(S),this.alerts}_removeAlert(S){const H=this._findAlertIndexById(S.id);return H>-1&&(this.alerts.splice(H,1),!0)}_clearAlerts(){this.alerts.splice(0,this.alerts.length)}_onAlertEvent(S){switch(S.type){case En.add:this._addAlert(S.alert);break;case En.clear:this._clearAlerts();break;case En.remove:this._removeAlert(S.alert)}}static#t=this.\u0275fac=function(H){return new(H||N)(o.rXU(fr),o.rXU(ht))};static#n=this.\u0275cmp=o.VBU({type:N,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(H,Y){1&H&&(o.j41(0,"div")(1,"div",2,0)(3,"div",3,1),o.DNE(5,an,2,1,"div",4),o.k0s()(),o.DNE(6,vn,1,1,"div",5),o.k0s()),2&H&&(o.R7$(),o.Y8G("ngClass",Y.positionClasses),o.R7$(4),o.Y8G("ngForOf",Y.alerts),o.R7$(),o.Y8G("ngIf",Y.hasAlerts))},dependencies:[M.YU,M.Sq,M.bT,Mi],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 N})(),ri=(()=>{class N{static#e=this.\u0275fac=function(H){return new(H||N)};static#t=this.\u0275mod=o.$C({type:N});static#n=this.\u0275inj=o.G2t({imports:[M.MD,br]})}return N})(),qn=(()=>{class N{constructor(S){this.locale=S,this.autofocus=!1,this.debounce=250,this.disabled=!1,this.label="Search",this.placeholder="Search",this.valueChange=new o.bkB,this._searchSubject=new O.B,this._unsubscribe=new O.B,delete this.label,delete this.placeholder}get value(){return this._value}set value(S){this._value=S,this._searchSubject.next(S)}ngOnInit(){if(!this.id)throw new Error("id must be defined for `cp-search`");this.clearIconLabel=this.locale.maketext("Clear Input"),this.label||(this.label=this.locale.maketext("Search")),this.placeholder||(this.placeholder=this.locale.maketext("Search")),this._searchSubject.pipe((0,Z.Q)(this._unsubscribe),(0,te.B)(this.debounce),(0,ae.F)()).subscribe(S=>{this.valueChange.emit(S)})}ngAfterViewInit(){this.autofocus&&this.searchInput.nativeElement.focus()}ngOnDestroy(){this._unsubscribe.next(),this._unsubscribe.complete()}clearValue(){this.value=""}static#e=this.\u0275fac=function(H){return new(H||N)(o.rXU(Ve.h))};static#t=this.\u0275cmp=o.VBU({type:N,selectors:[["cp-search"]],viewQuery:function(H,Y){if(1&H&&o.GBs(ti,5),2&H){let Ge;o.mGM(Ge=o.lsd())&&(Y.searchInput=Ge.first)}},inputs:{autofocus:"autofocus",debounce:"debounce",disabled:"disabled",id:"id",label:"label",placeholder:"placeholder",list:"list",value:"value"},outputs:{valueChange:"valueChange"},decls:6,vars:14,consts:[["searchInput",""],["role","search",1,"input-group"],["data-test","input","type","search",1,"form-control",3,"ngModelChange","keyup.esc","ngModel","disabled","id","placeholder","title"],["data-test","addon",1,"input-group-addon",3,"click","id"],["aria-hidden","true","data-test","icon",3,"ngClass","id"],["class","sr-only",4,"ngIf"],[1,"sr-only"]],template:function(H,Y){if(1&H){const Ge=o.RV6();o.j41(0,"div",1)(1,"input",2,0),o.mxI("ngModelChange",function(Qt){return o.eBV(Ge),o.DH7(Y.value,Qt)||(Y.value=Qt),o.Njj(Qt)}),o.bIt("keyup.esc",function(){return o.eBV(Ge),o.Njj(Y.clearValue())}),o.k0s(),o.j41(3,"span",3),o.bIt("click",function(){return o.eBV(Ge),o.Njj(Y.clearValue())}),o.nrm(4,"span",4),o.DNE(5,un,2,1,"span",5),o.k0s()()}2&H&&(o.R7$(),o.Mz_("id","",Y.id,"-search-input"),o.R50("ngModel",Y.value),o.Y8G("disabled",Y.disabled)("placeholder",Y.placeholder)("title",Y.label),o.BMQ("aria-label",Y.label)("list",Y.list),o.R7$(2),o.Mz_("id","",Y.id,"-search-input-addon"),o.R7$(),o.Mz_("id","",Y.id,"-search-input-icon"),o.Y8G("ngClass",(null==Y.value?null:Y.value.length)>0?"fas fa-times":"fas fa-search"),o.R7$(),o.Y8G("ngIf",(null==Y.value?null:Y.value.length)>0))},dependencies:[M.YU,M.bT,ve.me,ve.BC,ve.vS],changeDetection:0})}return N})(),Fn=(()=>{class N{static#e=this.\u0275fac=function(H){return new(H||N)};static#t=this.\u0275mod=o.$C({type:N});static#n=this.\u0275inj=o.G2t({imports:[M.MD,ve.YN,Oe.B]})}return N})(),j=(()=>{class N{constructor(S){this.locale=S,this.showUpgradeLink=!1,this.displayLimit=!1,this.usedValue=0,this.showWarningDetails=!1,this.showDetailsClick=new o.bkB,this.showDetails=!1}get showWarningCss(){return this.showDetails?"stats-warning":""}ngOnInit(){if(!this.id)throw new Error("'id' must be defined for `cp-stats`");if(this.showUpgradeLink){if(!this.upgradeLink)throw new Error("'upgradeLink' must be defined");this.upgradeLinkTarget||(this.upgradeLinkTarget="_blank")}this.displayLimit?(this.limitTitle||(this.limitTitle=this.locale.maketext("Max")),!this.limitValue&&0!==this.limitValue&&(this.limitValue="\u221e")):(this.availableTitle||(this.availableTitle=this.locale.maketext("Available")),!this.availableValue&&0!==this.availableValue&&(this.availableValue="\u221e")),this.usedTitle||(this.usedTitle=this.locale.maketext("Used")),this.displayDetailsCheck()}showWarningDetailsClick(){this.showDetailsClick.emit()}ngOnChanges(){this.usedValue&&this.displayDetailsCheck()}displayDetailsCheck(){!this.showWarningDetails||this.limitValue!==this.usedValue&&0!==this.availableValue?this.showDetails=!1:(this.showDetails=!0,this.viewDetailsText=this.locale.maketext("Details"),this.detailsTooltip=this.locale.maketext("View Warning Details"))}static#e=this.\u0275fac=function(H){return new(H||N)(o.rXU(Ve.h))};static#t=this.\u0275cmp=o.VBU({type:N,selectors:[["cp-stats"]],inputs:{showUpgradeLink:"showUpgradeLink",upgradeLink:"upgradeLink",upgradeLinkTarget:"upgradeLinkTarget",id:"id",displayLimit:"displayLimit",limitValue:"limitValue",limitTitle:"limitTitle",availableValue:"availableValue",availableTitle:"availableTitle",usedTitle:"usedTitle",usedValue:"usedValue",showWarningDetails:"showWarningDetails"},outputs:{showDetailsClick:"showDetailsClick"},features:[o.OA$],decls:11,vars:10,consts:[["showAvailable",""],[1,"stats-widget",3,"id","ngClass"],[1,"stats-widget-body"],[4,"ngIf","ngIfElse"],[1,"stats-item"],[1,"stats-huge",3,"id"],[1,"stats-title"],["class","stats-widget-footer",4,"ngIf"],[1,"stats-widget-footer"],["class","btn btn-sm btn-link",3,"id","title","click",4,"ngIf"],["class","btn btn-sm btn-link",3,"id","href","target","title",4,"ngIf"],[1,"btn","btn-sm","btn-link",3,"click","id","title"],["aria-hidden","true",1,"fas","fa-exclamation-triangle"],[1,"btn","btn-sm","btn-link",3,"id","href","target","title"],["aria-hidden","true",1,"far","fa-arrow-alt-circle-right"]],template:function(H,Y){if(1&H&&(o.j41(0,"div",1)(1,"div",2),o.DNE(2,wr,6,4,"div",3)(3,ir,5,4,"ng-template",null,0,o.C5r),o.j41(5,"div",4)(6,"span",5),o.EFF(7),o.k0s(),o.j41(8,"span",6),o.EFF(9),o.k0s()()(),o.DNE(10,An,3,2,"div",7),o.k0s()),2&H){const Ge=o.sdS(4);o.Mz_("id","",Y.id,"-stats"),o.Y8G("ngClass",Y.showWarningCss),o.R7$(2),o.Y8G("ngIf",Y.displayLimit)("ngIfElse",Ge),o.R7$(4),o.Mz_("id","",Y.id,"-used"),o.R7$(),o.JRh(Y.usedValue),o.R7$(2),o.JRh(Y.usedTitle),o.R7$(),o.Y8G("ngIf",Y.showUpgradeLink||Y.showDetails)}},dependencies:[M.YU,M.bT],styles:['.stats-widget[_ngcontent-%COMP%]{background:#f5f5f5;border:1px solid #dddddd;border-radius:4px}.stats-widget[_ngcontent-%COMP%]   .stats-huge[_ngcontent-%COMP%]{font-size:24px;line-height:1.4;text-align:center}.stats-widget[_ngcontent-%COMP%]   .stats-title[_ngcontent-%COMP%]{text-align:center;padding-left:4px}.stats-widget   html[dir="rtl"][_nghost-%COMP%]   .stats-title[_ngcontent-%COMP%], html[dir="rtl"]   [_nghost-%COMP%]   .stats-title[_ngcontent-%COMP%]{padding-right:4px}.stats-widget[_ngcontent-%COMP%]   .stats-warning[_ngcontent-%COMP%]{background-color:#fcf8e1;border:1px solid #f6c342}.stats-widget[_ngcontent-%COMP%]   .stats-widget-body[_ngcontent-%COMP%]{display:flex;justify-content:space-around;flex-wrap:wrap}.stats-widget[_ngcontent-%COMP%]   .stats-widget-body[_ngcontent-%COMP%]   .stats-item[_ngcontent-%COMP%]{margin:10px 0}.stats-widget[_ngcontent-%COMP%]   .stats-widget-footer[_ngcontent-%COMP%]{border-top:1px solid #dddddd;display:flex;width:100%}.stats-widget[_ngcontent-%COMP%]   .stats-widget-footer[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{flex-basis:100%}.stats-widget   html[dir="ltr"][_nghost-%COMP%]   .stats-widget-footer[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:not(:first-child), html[dir="ltr"]   [_nghost-%COMP%]   .stats-widget-footer[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:not(:first-child){border-left:1px solid #dddddd}.stats-widget   html[dir="rtl"][_nghost-%COMP%]   .stats-widget-footer[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:not(:first-child), html[dir="rtl"]   [_nghost-%COMP%]   .stats-widget-footer[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:not(:first-child){border-right:1px solid #dddddd}html[data-style="dark"][_nghost-%COMP%]   .stats-widget[_ngcontent-%COMP%], html[data-style="dark"]   [_nghost-%COMP%]   .stats-widget[_ngcontent-%COMP%]{background-color:#222;margin-top:20px;box-shadow:none;border:1px solid #1d1d1d;border-radius:3px}html[data-style="dark"][_nghost-%COMP%]   .stats-widget[_ngcontent-%COMP%]   .stats-widget-footer[_ngcontent-%COMP%], html[data-style="dark"]   [_nghost-%COMP%]   .stats-widget[_ngcontent-%COMP%]   .stats-widget-footer[_ngcontent-%COMP%]{border-top:1px solid #1d1d1d}']})}return N})(),X=(()=>{class N{static#e=this.\u0275fac=function(H){return new(H||N)};static#t=this.\u0275mod=o.$C({type:N});static#n=this.\u0275inj=o.G2t({imports:[M.MD,Oe.B]})}return N})(),q=(()=>{class N{hasErrors(){return this.control.invalid}hasChanged(){return this.control.dirty||this.control.touched}hasValidators(){return!!this.control?.validator||!!this.control?.asyncValidator}getFieldErrors(){return Object.keys(this.control.errors).map(S=>({key:S,message:this.control.errors[S].message}))}getFieldStateClasses(){return this.hasValidators()&&this.hasChanged()?this.hasErrors()?"has-error":"has-success":""}infoBlockStatus(){return this.cpFormLabelElement.showInfoBlock}setInfoBlockStatus(S){this.cpFormLabelElement.showInfoBlock=S}ngOnInit(){this.id=`formField_${this.idPrefix}`,this.labelID=`${this.id}_formLabel`,this.validationContainerID=`${this.id}_validationContainer`}static#e=this.\u0275fac=function(H){return new(H||N)};static#t=this.\u0275cmp=o.VBU({type:N,selectors:[["cp-form-field"]],viewQuery:function(H,Y){if(1&H&&o.GBs(Nn,5),2&H){let Ge;o.mGM(Ge=o.lsd())&&(Y.cpFormLabelElement=Ge.first)}},inputs:{labelFor:"labelFor",labelText:"labelText",control:"control",showAllHelp:"showAllHelp",idPrefix:"idPrefix",showInfoToggle:"showInfoToggle"},ngContentSelectors:Dr,decls:11,vars:9,consts:[[1,"form-group",3,"ngClass"],[1,"row"],[1,"col-xs-12"],[3,"id","for","labelText","showInfoBlock","showInfoToggle"],[3,"id","control"]],template:function(H,Y){1&H&&(o.NAR(mt),o.j41(0,"div",0)(1,"div",1)(2,"div",2)(3,"cp-form-label",3),o.SdG(4),o.k0s()()(),o.j41(5,"div",1)(6,"div",2),o.SdG(7,1),o.k0s()(),o.j41(8,"div",1)(9,"div",2),o.nrm(10,"cp-validation-container",4),o.k0s()()()),2&H&&(o.Y8G("ngClass",Y.getFieldStateClasses()),o.BMQ("id",Y.id),o.R7$(3),o.Y8G("id",Y.labelID)("for",Y.labelFor)("labelText",Y.labelText)("showInfoBlock",Y.showAllHelp)("showInfoToggle",Y.showInfoToggle),o.R7$(7),o.Y8G("id",Y.validationContainerID)("control",Y.control))},dependencies:[M.YU,Nn,ni]})}return N})(),ue=(()=>{class N{static#e=this.\u0275fac=function(H){return new(H||N)};static#t=this.\u0275mod=o.$C({type:N});static#n=this.\u0275inj=o.G2t({imports:[M.MD,kt,Yi]})}return N})();var Ie=function(N){return N.password="password",N.text="text",N}(Ie||{});let Xe=(()=>{class N{constructor(){this._locationService=new $e.N,this._appPath=new gt.KL(this._locationService),this._scriptDir=this._appPath.isUnprotected?"unprotected":"backend",this._url=`${this._appPath.securityToken}/${this._scriptDir}/passwordstrength.cgi`}getPasswordStrength(S){const H=new FormData;let Y;return H.append("password",S),(0,bt.R)({url:this._url,method:"POST",body:H}).pipe((0,$.T)(Ge=>(Y=Ge.response.strength,Y)),(0,ye.W)(()=>(0,x.of)(-1)))}static#e=this.\u0275fac=function(H){return new(H||N)};static#t=this.\u0275prov=o.jDH({token:N,factory:N.\u0275fac,providedIn:"root"})}return N})(),Ke=(()=>{class N{static#e=this.passwordDefaultConfig={length:12,hasUppercase:!0,hasLowercase:!0,hasNumbers:!0,hasSymbols:!0};constructor(S,H,Y,Ge,Lt){this.locale=S,this._passwordGeneratorService=H,this._passwordValidatorService=Y,this.validationStrategyService=Ge,this.ngControl=Lt,this.isDisabled=!1,this.requiresStrengthValidation=!1,this.validateEmptyField=!0,this.isPasswordConfigVisible=!1,this.passwordInputType=Ie.password,this.displayError=!1,this.strengthClasses=Array(5).fill(""),this.hasBlurredOnce=!1,this.canDisplayStrengthText=!1,this._onChange=Qt=>{},this._onTouch=()=>{},this.ngControl.valueAccessor=this}ngOnDestroy(){this.formSubmission.unsubscribe()}ngOnChanges({validateEmptyField:S}){this.passwordControl&&S&&(this.updatePassword(""),this.resetPasswordMessages(),S.currentValue?(this.passwordControl.markAsPristine(),this.hasBlurredOnce=!1):this.updateBlur())}ngOnInit(){if(!this.id)throw new Error("`id` must be defined for `cp-password`");if(!this.passwordInputName)throw new Error("`passwordInputName` must be defined for `cp-password`");if(this.requiresStrengthValidation&&!this.requiredStrength)throw new Error("`requiredStrength` must be defined for `cp-password`");this.placeholder||(this.placeholder=this.locale.maketext("Enter a password.")),this.passwordTitle||(this.passwordTitle=this.placeholder),this.passwordControl=new ve.hs({value:null,disabled:this.isDisabled}),this.passwordConfigurationForm=new ve.J3({length:new ve.hs(N.passwordDefaultConfig.length),hasUppercase:new ve.hs({value:N.passwordDefaultConfig.hasUppercase,disabled:this.isDisabled}),hasLowercase:new ve.hs({value:N.passwordDefaultConfig.hasLowercase,disabled:this.isDisabled}),hasNumbers:new ve.hs({value:N.passwordDefaultConfig.hasNumbers,disabled:this.isDisabled}),hasSymbols:new ve.hs({value:N.passwordDefaultConfig.hasSymbols,disabled:this.isDisabled})}),this.isPasswordVisible=this.passwordVisibility(this.passwordInputType),this.passwordConfigToggleBtnTitle=this.getPasswordConfigToggleBtnTitle()}ngAfterViewInit(){this.control=this.ngControl.control,this.control.setAsyncValidators(this.getPasswordStrength()),this.control.updateValueAndValidity(),this.formSubmission.subscribe(()=>{!this.hasBlurredOnce&&this.validateEmptyField&&this.updateBlur()}),this.validationStrategyService.changeControlUpdateStrategy(this.control,"change")}generatePassword(){const H=this._passwordGeneratorService.generatePassword({length:this.passwordConfigurationForm.controls.length.value,hasUppercase:this.passwordConfigurationForm.controls.hasUppercase.value,hasLowercase:this.passwordConfigurationForm.controls.hasLowercase.value,hasNumbers:this.passwordConfigurationForm.controls.hasNumbers.value,hasSymbols:this.passwordConfigurationForm.controls.hasSymbols.value});this.passwordInputType=Ie.text,this.updatePassword(H),this.updateBlur()}isInputDisabled(S){const H=this.passwordConfigurationForm,Y=Object.keys(H.controls);let Ge;for(const Lt of Y)if(Ge=Lt,"length"!==Ge&&Ge!==S&&H.controls[Ge].value)return H.controls[S].enable(),!1;return H.controls[S].disable(),!0}togglePasswordConfigVisibility(){this.isPasswordConfigVisible=!this.isPasswordConfigVisible,this.passwordConfigToggleBtnTitle=this.getPasswordConfigToggleBtnTitle()}getPasswordConfigToggleBtnTitle(){return this.locale.maketext(this.isPasswordConfigVisible?"Hide password configuration.":"Show password configuration.")}togglePasswordVisibility(){this.passwordInputType=this.passwordInputType===Ie.password?Ie.text:Ie.password,this.isPasswordVisible=this.passwordVisibility(this.passwordInputType)}updatePassword(S){!this.validateEmptyField&&!S&&this.resetPasswordMessages(),this.writeValue(S),this.passwordControl.patchValue(S)}updateBlur(){this.control.updateValueAndValidity(),this.hasBlurredOnce=!0,this.updateTouched()}updateTouched(){this.passwordControl.markAsDirty(),this._onTouch()}registerOnChange(S){this._onChange=S}registerOnTouched(S){this._onTouch=S}writeValue(S){this._onChange(S)}validate(S){return this.getPasswordStrength()(S)}getPasswordStrength(){return S=>this._passwordValidatorService.getPasswordStrength(S.value).pipe((0,Se.s)(1),(0,$.T)(H=>{if(this.strength=H,!this.requiresStrengthValidation)return null;if(!this.validateEmptyField&&!this.control.value)return this.resetPasswordMessages(),null;if(this.strengthText=this.getStrengthText(this.strength,this.requiredStrength),this.displayError=this.showError(this.strength,this.requiredStrength),this.hasBlurredOnce&&(this.canDisplayStrengthText=!0),this.strengthClasses=this.passwordControl.dirty?this.getStrengthClasses(this.strength):Array(5).fill(""),-1===this.strength)return this.requiresStrengthValidation=!1,console.error("DEV: The PasswordValidatorService must be used in the cPanel/WHM/Webmail product because of the location of the validation script."),null;const Y=this.strength<this.requiredStrength?{passwordFaulty:!0}:null;return this.passwordControl.setErrors(Y),Y}))}passwordVisibility(S){const H=S===Ie.text;return this.passwordVisibilityBtnTitle=this.locale.maketext(H?"Hide password.":"Show password."),H}getStrengthText(S,H){return H?this.locale.maketext(H&&S>=H?"This password has a strength of [_1], which meets or exceeds the system requirement of [_2].":"This password has a strength of [_1], but your system requires a strength of [_2].",S,H):this.locale.maketext("This password has a strength of [_1].",this.strength)}showError(S,H){return this.passwordControl.dirty&&this.hasBlurredOnce&&S<H}getStrengthClasses(S){const H=Array(5).fill("");for(let Y=0;Y<H.length;Y++)H[Y]=S<=20&&0===Y?"strength-0":S>20&&S<=40&&Y<=1?"strength-1":S>40&&S<=60&&Y<=2?"strength-2":S>60&&S<=80&&Y<=3?"strength-3":S>80&&Y<=4?"strength-4":"";return H}resetPasswordMessages(){this.displayError=!1,this.canDisplayStrengthText=!1,this.strengthClasses=Array(5).fill("")}static#t=this.\u0275fac=function(H){return new(H||N)(o.rXU(Ve.h),o.rXU(Ue),o.rXU(Xe),o.rXU(it),o.rXU(ve.vO,2))};static#n=this.\u0275cmp=o.VBU({type:N,selectors:[["cp-password"]],inputs:{id:"id",isDisabled:"isDisabled",passwordInputName:"passwordInputName",passwordTitle:"passwordTitle",placeholder:"placeholder",requiredStrength:"requiredStrength",requiresStrengthValidation:"requiresStrengthValidation",formSubmission:"formSubmission",validateEmptyField:"validateEmptyField"},features:[o.OA$],decls:14,vars:34,consts:[["passwordInput",""],[1,"input-group"],["autocomplete","off",1,"form-control",3,"focus","blur","input","formControl","title","type","placeholder","name","value","id"],[1,"input-group-btn"],["type","button",1,"btn","btn-default",3,"click","id","disabled","title"],[1,"fas","fa-lg","fa-fw",3,"ngClass"],[1,"fas","fa-fw",3,"ngClass"],["class","strength",4,"ngIf"],["class","currentStrengthText",3,"innerHtml",4,"ngIf"],["class","validation-container",4,"ngIf"],["class","panel panel-default",4,"ngIf"],[1,"strength"],["class","point",3,"ngClass",4,"ngFor","ngForOf"],[1,"point",3,"ngClass"],[1,"currentStrengthText",3,"innerHtml"],[1,"validation-container"],["id","password-validation-container",1,"validation","validation-error","ng-hide"],[1,"fas","fa-exclamation-circle"],[1,"validation-message",3,"innerHtml"],[1,"panel","panel-default"],[1,"panel-body"],[3,"formGroup"],["id","passwordConfigLengthContainer",1,"row"],[1,"col-xs-12","col-sm-3"],["for","lengthCharsInput",1,"charLengthLabel"],["formControlName","length","type","number","id","lengthCharsInput","name","charSet",1,"form-control",3,"title"],["id","passwordConfigCharsContainer",1,"row"],[1,"col-xs-12","col-sm-6"],[1,"checkbox"],[1,"charConfigLabel"],["type","checkbox","formControlName","hasUppercase","id","uppercaseCharsInput","name","charSet",3,"disabled"],["type","checkbox","formControlName","hasLowercase","id","lowercaseCharsInput","name","charSet"],["type","checkbox","formControlName","hasNumbers","id","numberCharsInput","name","charSet"],["type","checkbox","formControlName","hasSymbols","id","symbolCharsInput","name","charSet"]],template:function(H,Y){if(1&H){const Ge=o.RV6();o.j41(0,"div",1)(1,"input",2,0),o.bIt("focus",function(){return o.eBV(Ge),o.Njj(Y.updateTouched())})("blur",function(){return o.eBV(Ge),o.Njj(Y.updateBlur())})("input",function(){o.eBV(Ge);const Qt=o.sdS(2);return o.Njj(Y.updatePassword(Qt.value))}),o.k0s(),o.j41(3,"div",3)(4,"button",4),o.bIt("click",function(){return o.eBV(Ge),o.Njj(Y.togglePasswordVisibility())}),o.nrm(5,"i",5),o.k0s(),o.j41(6,"button",4),o.bIt("click",function(){return o.eBV(Ge),o.Njj(Y.generatePassword())}),o.EFF(7),o.k0s(),o.j41(8,"button",4),o.bIt("click",function(){return o.eBV(Ge),o.Njj(Y.togglePasswordConfigVisibility())}),o.nrm(9,"i",6),o.k0s()()(),o.DNE(10,Gr,2,1,"ul",7)(11,sr,1,1,"div",8)(12,Mr,4,1,"ul",9)(13,Cn,33,9,"div",10)}2&H&&(o.R7$(),o.Mz_("id","",Y.id,"-password-input"),o.Y8G("formControl",Y.passwordControl)("title",Y.passwordTitle)("type",Y.passwordInputType)("placeholder",Y.placeholder)("name",Y.passwordInputName)("value",Y.passwordControl.value),o.BMQ("aria-label",Y.placeholder),o.R7$(3),o.Mz_("id","",Y.id,"-toggle-password-visibility-btn"),o.Y8G("disabled",Y.isDisabled)("title",Y.passwordVisibilityBtnTitle),o.R7$(),o.Y8G("ngClass",o.l_i(28,pt,Y.isPasswordVisible,!Y.isPasswordVisible)),o.R7$(),o.Mz_("id","",Y.id,"-generate-password-btn"),o.Y8G("disabled",Y.isDisabled)("title",Y.locale.maketext("Generate password.")),o.R7$(),o.SpI(" ",Y.locale.maketext("Generate")," "),o.R7$(),o.Mz_("id","",Y.id,"-toggle-config-visibilit-btn"),o.Y8G("disabled",Y.isDisabled)("title",Y.passwordConfigToggleBtnTitle),o.R7$(),o.Y8G("ngClass",o.l_i(31,xe,!Y.isPasswordConfigVisible,Y.isPasswordConfigVisible)),o.R7$(),o.Y8G("ngIf",Y.requiresStrengthValidation),o.R7$(),o.Y8G("ngIf",Y.canDisplayStrengthText&&!Y.displayError),o.R7$(),o.Y8G("ngIf",Y.displayError),o.R7$(),o.Y8G("ngIf",Y.isPasswordConfigVisible))},dependencies:[M.YU,M.Sq,M.bT,ve.qT,ve.me,ve.Q0,ve.Zm,ve.BC,ve.cb,ve.l_,ve.j4,ve.JD],styles:['#charConfigContainer[_ngcontent-%COMP%]{border:1px solid #eaeaea;border-top:none;position:relative;overflow-y:hidden}#lengthCharsInput[_ngcontent-%COMP%]{font-weight:400}#passwordConfigCharsContainer[_ngcontent-%COMP%]{margin-top:10px}.currentStrengthText[_ngcontent-%COMP%]{padding:0 0 5px 1px}.charConfigLabel[_ngcontent-%COMP%]{display:block}.charConfigLabel[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{margin-left:5px;font-weight:400}.strength[_ngcontent-%COMP%]{display:block;list-style:none;margin:0;padding:5px;font-size:0}.strength[_ngcontent-%COMP%]   .point[_ngcontent-%COMP%]:last-child{margin-right:0!important}.strength[_ngcontent-%COMP%]   .point[_ngcontent-%COMP%]{background:#ddd;border-radius:2px;display:inline-block;height:4px;margin-right:2%;width:18.4%}.strength[_ngcontent-%COMP%]   .strength-0[_ngcontent-%COMP%]{background-color:red}.strength[_ngcontent-%COMP%]   .strength-1[_ngcontent-%COMP%]{background-color:#f90}.strength[_ngcontent-%COMP%]   .strength-2[_ngcontent-%COMP%]{background-color:#ff0}.strength[_ngcontent-%COMP%]   .strength-3[_ngcontent-%COMP%]{background-color:#9f0}.strength[_ngcontent-%COMP%]   .strength-4[_ngcontent-%COMP%]{background-color:#0f0}.validation-container[_ngcontent-%COMP%]{background-color:#f8c9c4;border:1px solid #a94442;padding:5px;border-radius:2px;list-style:none;margin-bottom:0;margin-top:5px}.validation-error[_ngcontent-%COMP%]{position:relative;line-height:20px}.validation-error[_ngcontent-%COMP%] > .fas[_ngcontent-%COMP%]{color:#a94442;display:inline-block;position:absolute;top:4px}.validation-message[_ngcontent-%COMP%]{display:inline-block;vertical-align:middle;margin-left:20px}html[dir="rtl"][_nghost-%COMP%]   .validation-message[_ngcontent-%COMP%], html[dir="rtl"]   [_nghost-%COMP%]   .validation-message[_ngcontent-%COMP%]{margin-right:20px;margin-left:0}']})}return N})(),Kt=(()=>{class N{static#e=this.\u0275fac=function(H){return new(H||N)};static#t=this.\u0275mod=o.$C({type:N});static#n=this.\u0275inj=o.G2t({providers:[Ue],imports:[Oe.B,M.MD,ve.YN,on,ve.X1]})}return N})(),zt=(()=>{class N{constructor(S,H=[]){this.selectorName="",this.requiredInputs=["id"],this.requiredInputs=this.requiredInputs.concat(H),this.selectorName=S.nativeElement.tagName.toLowerCase()}ngOnInit(){this.requiredInputs.forEach(S=>{if(!this[S])throw new Error(`"${S}" must be defined for "${this.selectorName}"`)}),this._initiate()}_initiate(){}static#e=this.\u0275fac=function(H){o.QTQ()};static#t=this.\u0275dir=o.FsC({type:N,inputs:{id:"id"}})}return N})();var Wt=function(N){return N[N.all=-1]="all",N}(Wt||{});const gn="pageSizeOption";let qt=(()=>{class N{constructor(S){this.locale=S,this.id="",this.cssClasses="",this.description="",this.ariaPressed=!1,this.selected=!1,this._baseCSSClasses="btn btn-default btn-sm no-validation-border",this._activeClass="active"}ngOnChanges(){this.value===Wt.all?(this.label=this.locale.maketext("All"),this.description=this.locale.maketext("Show all entries"),this.id=`${gn}_all`):(this.label=this.value.toString(),this.description=this.locale.maketext("Show [quant,_1,entry per page,entries per page]",this.value),this.id=`${gn}_${this.value.toString()}`),this.selected?(this.cssClasses=`${this._baseCSSClasses} ${this._activeClass}`,this.ariaPressed=!0):(this.cssClasses=this._baseCSSClasses,this.ariaPressed=!1)}ngOnInit(){this.ngOnChanges()}static#e=this.\u0275fac=function(H){return new(H||N)(o.rXU(Ve.h))};static#t=this.\u0275dir=o.FsC({type:N,selectors:[["","cpPageSizeOption",""]],hostVars:6,hostBindings:function(H,Y){2&H&&(o.Mr5("id",Y.id)("innerText",Y.label),o.BMQ("aria-label",Y.description)("aria-pressed",Y.ariaPressed),o.HbH(Y.cssClasses))},inputs:{value:"value",selected:"selected"},features:[o.OA$]})}return N})(),Jt=(()=>{class N extends zt{static#e=this.defaultPageSizeOptions=[20,50,100,500];static#t=this.defaultPageSize=20;constructor(S,H){super(S),this.locale=H,this.selectedPageSize=N.defaultPageSize,this.pageSizeOptions=N.defaultPageSizeOptions,this.showOptionAll=!1,this.disabled=!1,this.optionSelected=new o.bkB,this.displayedPageSizeOptions=[]}isOptionSelected(S){return S===this.selectedPageSize}onOptionClicked(S){this._dispatchChange(S)}ngOnChanges(){this._buildOptions()}_initiate(){this._buildOptions()}_buildOptions(){const S=this.pageSizeOptions.slice(0).sort((Y,Ge)=>Y-Ge);this.showOptionAll&&S.push(Wt.all),-1!==S.indexOf(this.selectedPageSize)?this.displayedPageSizeOptions=S:this._dispatchChange(S[0])}_dispatchChange(S){this.optionSelected.emit(S)}static#n=this.\u0275fac=function(H){return new(H||N)(o.rXU(o.aKT),o.rXU(Ve.h))};static#r=this.\u0275cmp=o.VBU({type:N,selectors:[["cp-page-size-selector"]],inputs:{selectedPageSize:"selectedPageSize",pageSizeOptions:"pageSizeOptions",showOptionAll:"showOptionAll",disabled:"disabled"},outputs:{optionSelected:"optionSelected"},features:[o.Vt3,o.OA$],decls:5,vars:2,consts:[[1,"text-small","text-uppercase"],["role","group",1,"btn-group","page-size-buttons"],["cpPageSizeOption","","type","button",3,"disabled","selected","value","click",4,"ngFor","ngForOf"],["cpPageSizeOption","","type","button",3,"click","disabled","selected","value"]],template:function(H,Y){1&H&&(o.j41(0,"div")(1,"div",0),o.EFF(2),o.k0s(),o.j41(3,"div",1),o.DNE(4,zr,1,3,"button",2),o.k0s()()),2&H&&(o.R7$(2),o.SpI(" ",Y.locale.maketext("Entries Per Page")," "),o.R7$(2),o.Y8G("ngForOf",Y.displayedPageSizeOptions))},dependencies:[M.Sq,qt],styles:[".page-size-buttons[_ngcontent-%COMP%]{margin-top:3px;display:flex}"]})}return N})(),Tt=(()=>{class N{static#e=this.\u0275fac=function(H){return new(H||N)};static#t=this.\u0275mod=o.$C({type:N});static#n=this.\u0275inj=o.G2t({imports:[M.MD,Oe.B]})}return N})(),Rt=(()=>{class N extends zt{static#e=this.defaultMaxPagesVisible=5;static#t=this.firstPageIndex=1;constructor(S,H){super(S),this.locale=H,this.maxPagesVisible=N.defaultMaxPagesVisible,this.selectedPage=N.firstPageIndex,this.pageSize=Jt.defaultPageSize,this.disabled=!1,this.pageChanged=new o.bkB}onPageChanged(S){this._dispatchChange(S)}onNumPagesChanged(S){this._dispatchChange(this.selectedPage)}_initiate(){this._dispatchChange(this.selectedPage)}_dispatchChange(S){const H=this.pageSize*(S-1),Y=Math.min(H+this.pageSize,this.totalItems);this.pageChanged.emit({page:S,firstItem:H,lastItem:Y}),this.itemsDetails=this.locale.maketext("[_1] - [_2] of [_3]",H+1,Y,this.totalItems)}static#n=this.\u0275fac=function(H){return new(H||N)(o.rXU(o.aKT),o.rXU(Ve.h))};static#r=this.\u0275cmp=o.VBU({type:N,selectors:[["cp-pagination"]],inputs:{maxPagesVisible:"maxPagesVisible",totalItems:"totalItems",selectedPage:"selectedPage",pageSize:"pageSize",disabled:"disabled"},outputs:{pageChanged:"pageChanged"},features:[o.Vt3],decls:12,vars:14,consts:[["nextTemplate",""],["prevTemplate",""],["lastTemplate",""],["firstTemplate",""],[3,"id"],[3,"ngModelChange","pageChanged","numPages","id","totalItems","maxSize","disabled","itemsPerPage","ngModel","boundaryLinks","customFirstTemplate","customLastTemplate","customPreviousTemplate","customNextTemplate"],[1,"pagination-item-details","text-small","text-right","flip"]],template:function(H,Y){if(1&H){const Ge=o.RV6();o.j41(0,"div",4)(1,"pagination",5),o.mxI("ngModelChange",function(Qt){return o.eBV(Ge),o.DH7(Y.selectedPage,Qt)||(Y.selectedPage=Qt),o.Njj(Qt)}),o.bIt("pageChanged",function(Qt){return o.eBV(Ge),o.Njj(Y.onPageChanged(Qt.page))})("numPages",function(Qt){return o.eBV(Ge),o.Njj(Y.onNumPagesChanged(Qt))}),o.k0s(),o.j41(2,"p",6),o.EFF(3),o.k0s()(),o.DNE(4,Bt,1,0,"ng-template",null,0,o.C5r)(6,pi,1,0,"ng-template",null,1,o.C5r)(8,vt,1,0,"ng-template",null,2,o.C5r)(10,At,1,0,"ng-template",null,3,o.C5r)}if(2&H){const Ge=o.sdS(5),Lt=o.sdS(7),Qt=o.sdS(9),Zi=o.sdS(11);o.Y8G("id",Y.id),o.R7$(),o.Mz_("id","",Y.id,"_ngx_paginator"),o.Y8G("totalItems",Y.totalItems)("maxSize",Y.maxPagesVisible)("disabled",Y.disabled)("itemsPerPage",Y.pageSize),o.R50("ngModel",Y.selectedPage),o.Y8G("boundaryLinks",!0)("customFirstTemplate",Zi)("customLastTemplate",Qt)("customPreviousTemplate",Lt)("customNextTemplate",Ge),o.R7$(2),o.SpI(" ",Y.itemsDetails," ")}},dependencies:[ve.BC,ve.vS,nt.eK],styles:[".pagination-item-details[_ngcontent-%COMP%]{margin-top:-20px}"]})}return N})(),Mn=(()=>{class N{static#e=this.\u0275fac=function(H){return new(H||N)};static#t=this.\u0275mod=o.$C({type:N});static#n=this.\u0275inj=o.G2t({imports:[M.MD,ve.YN,nt.x6.forRoot(),Oe.B]})}return N})()}}]);
Back to Directory File Manager