vendor: 45,793 bytes, lines 1-4
1import{$b as Qs,E as H2,Gb as v3,K as Vr,La as Pe,M as vs,N as Ap,Q as gi,R as pe,Ra as Ur,S as Op,Sb as Ac,Ub as C3,V as Cs,Vb as au,W as OM,Xa as Rl,Xb as _3,Ya as j2,Za as Hn,_a as h3,a as k,ac as Te,b as U,ba as u3,c as TM,ca as fe,cb as p3,e as MM,eb as ys,ec as vi,f as Ni,fa as _s,g as Tp,ga as mi,gc as pn,h as ct,ha as ou,ic as $2,j as Xo,ja as Rp,ka as Mc,kb as f3,ma as B2,na as su,ob as Wa,p as AM,q as Fr,r as U2,rb as Oo,rc as Pp,s as d3,sb as z2,ta as Ol,ub as G2,v as Qe,vb as g3,w as Pn,wb as m3,x as Mp,ya as qt}from"./chunk-NRAMGRDI.js";var Dh=MM((FD,xh)=>{"use strict";(function(e,n){typeof FD=="object"&&typeof xh<"u"?xh.exports=n():typeof define=="function"&&define.amd?define(n):e.moment=n()})(FD,function(){"use strict";var e;function n(){return e.apply(null,arguments)}function t(f){e=f}function i(f){return f instanceof Array||Object.prototype.toString.call(f)==="[object Array]"}function r(f){return f!=null&&Object.prototype.toString.call(f)==="[object Object]"}function o(f,y){return Object.prototype.hasOwnProperty.call(f,y)}function l(f){if(Object.getOwnPropertyNames)return Object.getOwnPropertyNames(f).length===0;var y;for(y in f)if(o(f,y))return!1;return!0}function p(f){return f===void 0}function C(f){return typeof f=="number"||Object.prototype.toString.call(f)==="[object Number]"}function w(f){return f instanceof Date||Object.prototype.toString.call(f)==="[object Date]"}function V(f,y){var x=[],N,B=f.length;for(N=0;N<B;++N)x.push(y(f[N],N));return x}function j(f,y){for(var x in y)o(y,x)&&(f[x]=y[x]);return o(y,"toString")&&(f.toString=y.toString),o(y,"valueOf")&&(f.valueOf=y.valueOf),f}function $(f,y,x,N){return Do(f,y,x,N,!0).utc()}function W(){return{empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidEra:null,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],era:null,meridiem:null,rfc2822:!1,weekdayMismatch:!1}}function se(f){return f._pf==null&&(f._pf=W()),f._pf}var be;Array.prototype.some?be=Array.prototype.some:be=function(f){var y=Object(this),x=y.length>>>0,N;for(N=0;N<x;N++)if(N in y&&f.call(this,y[N],N,y))return!0;return!1};function Ve(f){if(f._isValid==null){var y=se(f),x=be.call(y.parsedDateParts,function(B){return B!=null}),N=!isNaN(f._d.getTime())&&y.overflow<0&&!y.empty&&!y.invalidEra&&!y.invalidMonth&&!y.invalidWeekday&&!y.weekdayMismatch&&!y.nullInput&&!y.invalidFormat&&!y.userInvalidated&&(!y.meridiem||y.meridiem&&x);if(f._strict&&(N=N&&y.charsLeftOver===0&&y.unusedTokens.length===0&&y.bigHour===void 0),Object.isFrozen==null||!Object.isFrozen(f))f._isValid=N;else return N}return f._isValid}function dt(f){var y=$(NaN);return f!=null?j(se(y),f):se(y).userInvalidated=!0,y}var sn=n.momentProperties=[],Pt=!1;function Ot(f,y){var x,N,B,ne=sn.length;if(p(y._isAMomentObject)||(f._isAMomentObject=y._isAMomentObject),p(y._i)||(f._i=y._i),p(y._f)||(f._f=y._f),p(y._l)||(f._l=y._l),p(y._strict)||(f._strict=y._strict),p(y._tzm)||(f._tzm=y._tzm),p(y._isUTC)||(f._isUTC=y._isUTC),p(y._offset)||(f._offset=y._offset),p(y._pf)||(f._pf=se(y)),p(y._locale)||(f._locale=y._locale),ne>0)for(x=0;x<ne;x++)N=sn[x],B=y[N],p(B)||(f[N]=B);return f}function jt(f){Ot(this,f),this._d=new Date(f._d!=null?f._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),Pt===!1&&(Pt=!0,n.updateOffset(this),Pt=!1)}function kt(f){return f instanceof jt||f!=null&&f._isAMomentObject!=null}function $i(f){n.suppressDeprecationWarnings===!1&&typeof console<"u"&&console.warn&&console.warn("Deprecation warning: "+f)}function Tt(f,y){var x=!0;return j(function(){if(n.deprecationHandler!=null&&n.deprecationHandler(null,f),x){var N=[],B,ne,we,_t=arguments.length;for(ne=0;ne<_t;ne++){if(B="",typeof arguments[ne]=="object"){B+=` 2[`+ne+"] ";for(we in arguments[0])o(arguments[0],we)&&(B+=we+": "+arguments[0][we]+", ");B=B.slice(0,-2)}else B=arguments[ne];N.push(B)}$i(f+` 3Arguments: `+Array.prototype.slice.call(N).join("")+` 4`+new Error().stack),x=!1}return y.apply(this,arguments)},y)}var eo={};function $s(f,y){n.deprecationHandler!=null&&n.deprecationHandler(f,y),eo[f]||($i(y),eo[f]=!0)}n.suppressDeprecationWarnings=!1,n.deprecationHandler=null;function dr(f){return typeof Function<"u"&&f instanceof Function||Object.prototype.toString.call(f)==="[object Function]"}function uc(f){var y,x;for(x in f)o(f,x)&&(y=f[x],dr(y)?this[x]=y:this["_"+x]=y);this._config=f,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)}function Ta(f,y){var x=j({},f),N;for(N in y)o(y,N)&&(r(f[N])&&r(y[N])?(x[N]={},j(x[N],f[N]),j(x[N],y[N])):y[N]!=null?x[N]=y[N]:delete x[N]);for(N in f)o(f,N)&&!o(y,N)&&r(f[N])&&(x[N]=j({},x[N]));return x}function Ma(f){f!=null&&this.set(f)}var hc;Object.keys?hc=Object.keys:hc=function(f){var y,x=[];for(y in f)o(f,y)&&x.push(y);return x};var pc={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"};function N1(f,y,x){var N=this._calendar[f]||this._calendar.sameElse;return dr(N)?N.call(y,x):N}function he(f,y,x){var N=""+Math.abs(f),B=y-N.length,ne=f>=0;return(ne?x?"+":"":"-")+Math.pow(10,Math.max(0,B)).toString().substr(1)+N}var vl=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,Aa=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,St={},So={};function st(f,y,x,N){var B=N;typeof N=="string"&&(B=function(){return this[N]()}),f&&(So[f]=B),y&&(So[y[0]]=function(){return he(B.apply(this,arguments),y[1],y[2])}),x&&(So[x]=function(){return this.localeData().ordinal(B.apply(this,arguments),f)})}function Wi(f){return f.match(/\[[\s\S]/)?f.replace(/^\[|\]$/g,""):f.replace(/\\/g,"")}function ni(f){var y=f.match(vl),x,N;for(x=0,N=y.length;x<N;x++)So[y[x]]?y[x]=So[y[x]]:y[x]=Wi(y[x]);return function(B){var ne="",we;for(we=0;we<N;we++)ne+=dr(y[we])?y[we].call(B,f):y[we];return ne}}function yn(f,y){return f.isValid()?(y=Sr(y,f.localeData()),St[y]=St[y]||ni(y),St[y](f)):f.localeData().invalidDate()}function Sr(f,y){var x=5;function N(B){return y.longDateFormat(B)||B}for(Aa.lastIndex=0;x>=0&&Aa.test(f);)f=f.replace(Aa,N),Aa.lastIndex=0,x-=1;return f}var to={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"};function $t(f){var y=this._longDateFormat[f],x=this._longDateFormat[f.toUpperCase()];return y||!x?y:(this._longDateFormat[f]=x.match(vl).map(function(N){return N==="MMMM"||N==="MM"||N==="DD"||N==="dddd"?N.slice(1):N}).join(""),this._longDateFormat[f])}var Ee="Invalid date";function Ws(){return this._invalidDate}var Ud="%d",fc=/\d{1,2}/;function Io(f){return this._ordinal.replace("%d",f)}var tt={future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function L1(f,y,x,N){var B=this._relativeTime[x];return dr(B)?B(f,y,x,N):B.replace(/%d/i,f)}function _e(f,y){var x=this._relativeTime[f>0?"future":"past"];return dr(x)?x(y):x.replace(/%s/i,y)}var fi={};function Ai(f,y){var x=f.toLowerCase();fi[x]=fi[x+"s"]=fi[y]=f}function Ir(f){return typeof f=="string"?fi[f]||fi[f.toLowerCase()]:void 0}function Cl(f){var y={},x,N;for(N in f)o(f,N)&&(x=Ir(N),x&&(y[x]=f[N]));return y}var Qo={};function zn(f,y){Qo[f]=y}function zh(f){var y=[],x;for(x in f)o(f,x)&&y.push({unit:x,priority:Qo[x]});return y.sort(function(N,B){return N.priority-B.priority}),y}function _l(f){return f%4===0&&f%100!==0||f%400===0}function Rr(f){return f<0?Math.ceil(f)||0:Math.floor(f)}function de(f){var y=+f,x=0;return y!==0&&isFinite(y)&&(x=Rr(y)),x}function Wt(f,y){return function(x){return x!=null?(Oa(this,f,x),n.updateOffset(this,y),this):vn(this,f)}}function vn(f,y){return f.isValid()?f._d["get"+(f._isUTC?"UTC":"")+y]():NaN}function Oa(f,y,x){f.isValid()&&!isNaN(x)&&(y==="FullYear"&&_l(f.year())&&f.month()===1&&f.date()===29?(x=de(x),f._d["set"+(f._isUTC?"UTC":"")+y](x,f.month(),vc(x,f.month()))):f._d["set"+(f._isUTC?"UTC":"")+y](x))}function ln(f){return f=Ir(f),dr(this[f])?this[f]():this}function Je(f,y){if(typeof f=="object"){f=Cl(f);var x=zh(f),N,B=x.length;for(N=0;N<B;N++)this[x[N].unit](f[x[N].unit])}else if(f=Ir(f),dr(this[f]))return this[f](y);return this}var gc=/\d/,lt=/\d\d/,Gh=/\d{3}/,Eo=/\d{4}/,ce=/[+-]?\d{6}/,Dt=/\d\d?/,no=/\d\d\d\d?/,Oi=/\d\d\d\d\d\d?/,mc=/\d{1,3}/,Pr=/\d{1,4}/,Si=/[+-]?\d{1,6}/,Zo=/\d+/,Er=/[+-]?\d+/,F1=/Z|[+-]\d\d:?\d\d/gi,Hd=/Z|[+-]\d\d(?::?\d\d)?/gi,$h=/[+-]?\d+(\.\d{1,3})?/,Ln=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i,Ra;Ra={};function Re(f,y,x){Ra[f]=dr(y)?y:function(N,B){return N&&x?x:y}}function io(f,y){return o(Ra,f)?Ra[f](y._strict,y._locale):new RegExp(eb(f))}function eb(f){return Ji(f.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(y,x,N,B,ne){return x||N||B||ne}))}function Ji(f){return f.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}var Wh={};function En(f,y){var x,N=y,B;for(typeof f=="string"&&(f=[f]),C(y)&&(N=function(ne,we){we[y]=de(ne)}),B=f.length,x=0;x<B;x++)Wh[f[x]]=N}function Pa(f,y){En(f,function(x,N,B,ne){B._w=B._w||{},y(x,B._w,B,ne)})}function tb(f,y,x){y!=null&&o(Wh,f)&&Wh[f](y,x._a,x,f)}var Gn=0,wo=1,li=2,Ii=3,ro=4,xo=5,Cn=6,V1=7,nb=8;function ur(f,y){return(f%y+y)%y}var Xn;Array.prototype.indexOf?Xn=Array.prototype.indexOf:Xn=function(f){var y;for(y=0;y<this.length;++y)if(this[y]===f)return y;return-1};function vc(f,y){if(isNaN(f)||isNaN(y))return NaN;var x=ur(y,12);return f+=(y-x)/12,x===1?_l(f)?29:28:31-x%7%2}st("M",["MM",2],"Mo",function(){return this.month()+1}),st("MMM",0,0,function(f){return this.localeData().monthsShort(this,f)}),st("MMMM",0,0,function(f){return this.localeData().months(this,f)}),Ai("month","M"),zn("month",8),Re("M",Dt),Re("MM",Dt,lt),Re("MMM",function(f,y){return y.monthsShortRegex(f)}),Re("MMMM",function(f,y){return y.monthsRegex(f)}),En(["M","MM"],function(f,y){y[wo]=de(f)-1}),En(["MMM","MMMM"],function(f,y,x,N){var B=x._locale.monthsParse(f,N,x._strict);B!=null?y[wo]=B:se(x).invalidMonth=f});var Yi="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),Yh="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),U1=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,qh=Ln,Bd=Ln;function ib(f,y){return f?i(this._months)?this._months[f.month()]:this._months[(this._months.isFormat||U1).test(y)?"format":"standalone"][f.month()]:i(this._months)?this._months:this._months.standalone}function Fn(f,y){return f?i(this._monthsShort)?this._monthsShort[f.month()]:this._monthsShort[U1.test(y)?"format":"standalone"][f.month()]:i(this._monthsShort)?this._monthsShort:this._monthsShort.standalone}function H1(f,y,x){var N,B,ne,we=f.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],N=0;N<12;++N)ne=$([2e3,N]),this._shortMonthsParse[N]=this.monthsShort(ne,"").toLocaleLowerCase(),this._longMonthsParse[N]=this.months(ne,"").toLocaleLowerCase();return x?y==="MMM"?(B=Xn.call(this._shortMonthsParse,we),B!==-1?B:null):(B=Xn.call(this._longMonthsParse,we),B!==-1?B:null):y==="MMM"?(B=Xn.call(this._shortMonthsParse,we),B!==-1?B:(B=Xn.call(this._longMonthsParse,we),B!==-1?B:null)):(B=Xn.call(this._longMonthsParse,we),B!==-1?B:(B=Xn.call(this._shortMonthsParse,we),B!==-1?B:null))}function B1(f,y,x){var N,B,ne;if(this._monthsParseExact)return H1.call(this,f,y,x);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),N=0;N<12;N++){if(B=$([2e3,N]),x&&!this._longMonthsParse[N]&&(this._longMonthsParse[N]=new RegExp("^"+this.months(B,"").replace(".","")+"$","i"),this._shortMonthsParse[N]=new RegExp("^"+this.monthsShort(B,"").replace(".","")+"$","i")),!x&&!this._monthsParse[N]&&(ne="^"+this.months(B,"")+"|^"+this.monthsShort(B,""),this._monthsParse[N]=new RegExp(ne.replace(".",""),"i")),x&&y==="MMMM"&&this._longMonthsParse[N].test(f))return N;if(x&&y==="MMM"&&this._shortMonthsParse[N].test(f))return N;if(!x&&this._monthsParse[N].test(f))return N}}function j1(f,y){var x;if(!f.isValid())return f;if(typeof y=="string"){if(/^\d+$/.test(y))y=de(y);else if(y=f.localeData().monthsParse(y),!C(y))return f}return x=Math.min(f.date(),vc(f.year(),y)),f._d["set"+(f._isUTC?"UTC":"")+"Month"](y,x),f}function Cc(f){return f!=null?(j1(this,f),n.updateOffset(this,!0),this):vn(this,"Month")}function z1(){return vc(this.year(),this.month())}function jd(f){return this._monthsParseExact?(o(this,"_monthsRegex")||kr.call(this),f?this._monthsShortStrictRegex:this._monthsShortRegex):(o(this,"_monthsShortRegex")||(this._monthsShortRegex=qh),this._monthsShortStrictRegex&&f?this._monthsShortStrictRegex:this._monthsShortRegex)}function G1(f){return this._monthsParseExact?(o(this,"_monthsRegex")||kr.call(this),f?this._monthsStrictRegex:this._monthsRegex):(o(this,"_monthsRegex")||(this._monthsRegex=Bd),this._monthsStrictRegex&&f?this._monthsStrictRegex:this._monthsRegex)}function kr(){function f(we,_t){return _t.length-we.length}var y=[],x=[],N=[],B,ne;for(B=0;B<12;B++)ne=$([2e3,B]),y.push(this.monthsShort(ne,"")),x.push(this.months(ne,"")),N.push(this.months(ne,"")),N.push(this.monthsShort(ne,""));for(y.sort(f),x.sort(f),N.sort(f),B=0;B<12;B++)y[B]=Ji(y[B]),x[B]=Ji(x[B]);for(B=0;B<24;B++)N[B]=Ji(N[B]);this._monthsRegex=new RegExp("^("+N.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+x.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+y.join("|")+")","i")}st("Y",0,0,function(){var f=this.year();return f<=9999?he(f,4):"+"+f}),st(0,["YY",2],0,function(){return this.year()%100}),st(0,["YYYY",4],0,"year"),st(0,["YYYYY",5],0,"year"),st(0,["YYYYYY",6,!0],0,"year"),Ai("year","y"),zn("year",1),Re("Y",Er),Re("YY",Dt,lt),Re("YYYY",Pr,Eo),Re("YYYYY",Si,ce),Re("YYYYYY",Si,ce),En(["YYYYY","YYYYYY"],Gn),En("YYYY",function(f,y){y[Gn]=f.length===2?n.parseTwoDigitYear(f):de(f)}),En("YY",function(f,y){y[Gn]=n.parseTwoDigitYear(f)}),En("Y",function(f,y){y[Gn]=parseInt(f,10)});function gs(f){return _l(f)?366:365}n.parseTwoDigitYear=function(f){return de(f)+(de(f)>68?1900:2e3)};var _c=Wt("FullYear",!0);function rb(){return _l(this.year())}function ob(f,y,x,N,B,ne,we){var _t;return f<100&&f>=0?(_t=new Date(f+400,y,x,N,B,ne,we),isFinite(_t.getFullYear())&&_t.setFullYear(f)):_t=new Date(f,y,x,N,B,ne,we),_t}function yl(f){var y,x;return f<100&&f>=0?(x=Array.prototype.slice.call(arguments),x[0]=f+400,y=new Date(Date.UTC.apply(null,x)),isFinite(y.getUTCFullYear())&&y.setUTCFullYear(f)):y=new Date(Date.UTC.apply(null,arguments)),y}function yc(f,y,x){var N=7+y-x,B=(7+yl(f,0,N).getUTCDay()-y)%7;return-B+N-1}function ka(f,y,x,N,B){var ne=(7+x-N)%7,we=yc(f,N,B),_t=1+7*(y-1)+ne+we,Yt,Rn;return _t<=0?(Yt=f-1,Rn=gs(Yt)+_t):_t>gs(f)?(Yt=f+1,Rn=_t-gs(f)):(Yt=f,Rn=_t),{year:Yt,dayOfYear:Rn}}function bc(f,y,x){var N=yc(f.year(),y,x),B=Math.floor((f.dayOfYear()-N-1)/7)+1,ne,we;return B<1?(we=f.year()-1,ne=B+oo(we,y,x)):B>oo(f.year(),y,x)?(ne=B-oo(f.year(),y,x),we=f.year()+1):(we=f.year(),ne=B),{week:ne,year:we}}function oo(f,y,x){var N=yc(f,y,x),B=yc(f+1,y,x);return(gs(f)-N+B)/7}st("w",["ww",2],"wo","week"),st("W",["WW",2],"Wo","isoWeek"),Ai("week","w"),Ai("isoWeek","W"),zn("week",5),zn("isoWeek",5),Re("w",Dt),Re("ww",Dt,lt),Re("W",Dt),Re("WW",Dt,lt),Pa(["w","ww","W","WW"],function(f,y,x,N){y[N.substr(0,1)]=de(f)});function sb(f){return bc(f,this._week.dow,this._week.doy).week}var ab={dow:0,doy:6};function Ei(){return this._week.dow}function Ko(){return this._week.doy}function Na(f){var y=this.localeData().week(this);return f==null?y:this.add((f-y)*7,"d")}function $1(f){var y=bc(this,1,4).week;return f==null?y:this.add((f-y)*7,"d")}st("d",0,"do","day"),st("dd",0,0,function(f){return this.localeData().weekdaysMin(this,f)}),st("ddd",0,0,function(f){return this.localeData().weekdaysShort(this,f)}),st("dddd",0,0,function(f){return this.localeData().weekdays(this,f)}),st("e",0,0,"weekday"),st("E",0,0,"isoWeekday"),Ai("day","d"),Ai("weekday","e"),Ai("isoWeekday","E"),zn("day",11),zn("weekday",11),zn("isoWeekday",11),Re("d",Dt),Re("e",Dt),Re("E",Dt),Re("dd",function(f,y){return y.weekdaysMinRegex(f)}),Re("ddd",function(f,y){return y.weekdaysShortRegex(f)}),Re("dddd",function(f,y){return y.weekdaysRegex(f)}),Pa(["dd","ddd","dddd"],function(f,y,x,N){var B=x._locale.weekdaysParse(f,N,x._strict);B!=null?y.d=B:se(x).invalidWeekday=f}),Pa(["d","e","E"],function(f,y,x,N){y[N]=de(f)});function W1(f,y){return typeof f!="string"?f:isNaN(f)?(f=y.weekdaysParse(f),typeof f=="number"?f:null):parseInt(f,10)}function Qh(f,y){return typeof f=="string"?y.weekdaysParse(f)%7||7:isNaN(f)?null:f}function zd(f,y){return f.slice(y,7).concat(f.slice(0,y))}var Zh="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Y1="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),q1="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Kh=Ln,lb=Ln,cb=Ln;function db(f,y){var x=i(this._weekdays)?this._weekdays:this._weekdays[f&&f!==!0&&this._weekdays.isFormat.test(y)?"format":"standalone"];return f===!0?zd(x,this._week.dow):f?x[f.day()]:x}function Q1(f){return f===!0?zd(this._weekdaysShort,this._week.dow):f?this._weekdaysShort[f.day()]:this._weekdaysShort}function bl(f){return f===!0?zd(this._weekdaysMin,this._week.dow):f?this._weekdaysMin[f.day()]:this._weekdaysMin}function Z1(f,y,x){var N,B,ne,we=f.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],N=0;N<7;++N)ne=$([2e3,1]).day(N),this._minWeekdaysParse[N]=this.weekdaysMin(ne,"").toLocaleLowerCase(),this._shortWeekdaysParse[N]=this.weekdaysShort(ne,"").toLocaleLowerCase(),this._weekdaysParse[N]=this.weekdays(ne,"").toLocaleLowerCase();return x?y==="dddd"?(B=Xn.call(this._weekdaysParse,we),B!==-1?B:null):y==="ddd"?(B=Xn.call(this._shortWeekdaysParse,we),B!==-1?B:null):(B=Xn.call(this._minWeekdaysParse,we),B!==-1?B:null):y==="dddd"?(B=Xn.call(this._weekdaysParse,we),B!==-1||(B=Xn.call(this._shortWeekdaysParse,we),B!==-1)?B:(B=Xn.call(this._minWeekdaysParse,we),B!==-1?B:null)):y==="ddd"?(B=Xn.call(this._shortWeekdaysParse,we),B!==-1||(B=Xn.call(this._weekdaysParse,we),B!==-1)?B:(B=Xn.call(this._minWeekdaysParse,we),B!==-1?B:null)):(B=Xn.call(this._minWeekdaysParse,we),B!==-1||(B=Xn.call(this._weekdaysParse,we),B!==-1)?B:(B=Xn.call(this._shortWeekdaysParse,we),B!==-1?B:null))}function K1(f,y,x){var N,B,ne;if(this._weekdaysParseExact)return Z1.call(this,f,y,x);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),N=0;N<7;N++){if(B=$([2e3,1]).day(N),x&&!this._fullWeekdaysParse[N]&&(this._fullWeekdaysParse[N]=new RegExp("^"+this.weekdays(B,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[N]=new RegExp("^"+this.weekdaysShort(B,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[N]=new RegExp("^"+this.weekdaysMin(B,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[N]||(ne="^"+this.weekdays(B,"")+"|^"+this.weekdaysShort(B,"")+"|^"+this.weekdaysMin(B,""),this._weekdaysParse[N]=new RegExp(ne.replace(".",""),"i")),x&&y==="dddd"&&this._fullWeekdaysParse[N].test(f))return N;if(x&&y==="ddd"&&this._shortWeekdaysParse[N].test(f))return N;if(x&&y==="dd"&&this._minWeekdaysParse[N].test(f))return N;if(!x&&this._weekdaysParse[N].test(f))return N}}function ub(f){if(!this.isValid())return f!=null?this:NaN;var y=this._isUTC?this._d.getUTCDay():this._d.getDay();return f!=null?(f=W1(f,this.localeData()),this.add(f-y,"d")):y}function hb(f){if(!this.isValid())return f!=null?this:NaN;var y=(this.day()+7-this.localeData()._week.dow)%7;return f==null?y:this.add(f-y,"d")}function pb(f){if(!this.isValid())return f!=null?this:NaN;if(f!=null){var y=Qh(f,this.localeData());return this.day(this.day()%7?y:y-7)}else return this.day()||7}function Xh(f){return this._weekdaysParseExact?(o(this,"_weekdaysRegex")||ep.call(this),f?this._weekdaysStrictRegex:this._weekdaysRegex):(o(this,"_weekdaysRegex")||(this._weekdaysRegex=Kh),this._weekdaysStrictRegex&&f?this._weekdaysStrictRegex:this._weekdaysRegex)}function Jh(f){return this._weekdaysParseExact?(o(this,"_weekdaysRegex")||ep.call(this),f?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(o(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=lb),this._weekdaysShortStrictRegex&&f?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function Gd(f){return this._weekdaysParseExact?(o(this,"_weekdaysRegex")||ep.call(this),f?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(o(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=cb),this._weekdaysMinStrictRegex&&f?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function ep(){function f(Lr,$a){return $a.length-Lr.length}var y=[],x=[],N=[],B=[],ne,we,_t,Yt,Rn;for(ne=0;ne<7;ne++)we=$([2e3,1]).day(ne),_t=Ji(this.weekdaysMin(we,"")),Yt=Ji(this.weekdaysShort(we,"")),Rn=Ji(this.weekdays(we,"")),y.push(_t),x.push(Yt),N.push(Rn),B.push(_t),B.push(Yt),B.push(Rn);y.sort(f),x.sort(f),N.sort(f),B.sort(f),this._weekdaysRegex=new RegExp("^("+B.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+N.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+x.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+y.join("|")+")","i")}function tp(){return this.hours()%12||12}function X1(){return this.hours()||24}st("H",["HH",2],0,"hour"),st("h",["hh",2],0,tp),st("k",["kk",2],0,X1),st("hmm",0,0,function(){return""+tp.apply(this)+he(this.minutes(),2)}),st("hmmss",0,0,function(){return""+tp.apply(this)+he(this.minutes(),2)+he(this.seconds(),2)}),st("Hmm",0,0,function(){return""+this.hours()+he(this.minutes(),2)}),st("Hmmss",0,0,function(){return""+this.hours()+he(this.minutes(),2)+he(this.seconds(),2)});function J1(f,y){st(f,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),y)})}J1("a",!0),J1("A",!1),Ai("hour","h"),zn("hour",13);function La(f,y){return y._meridiemParse}Re("a",La),Re("A",La),Re("H",Dt),Re("h",Dt),Re("k",Dt),Re("HH",Dt,lt),Re("hh",Dt,lt),Re("kk",Dt,lt),Re("hmm",no),Re("hmmss",Oi),Re("Hmm",no),Re("Hmmss",Oi),En(["H","HH"],Ii),En(["k","kk"],function(f,y,x){var N=de(f);y[Ii]=N===24?0:N}),En(["a","A"],function(f,y,x){x._isPm=x._locale.isPM(f),x._meridiem=f}),En(["h","hh"],function(f,y,x){y[Ii]=de(f),se(x).bigHour=!0}),En("hmm",function(f,y,x){var N=f.length-2;y[Ii]=de(f.substr(0,N)),y[ro]=de(f.substr(N)),se(x).bigHour=!0}),En("hmmss",function(f,y,x){var N=f.length-4,B=f.length-2;y[Ii]=de(f.substr(0,N)),y[ro]=de(f.substr(N,2)),y[xo]=de(f.substr(B)),se(x).bigHour=!0}),En("Hmm",function(f,y,x){var N=f.length-2;y[Ii]=de(f.substr(0,N)),y[ro]=de(f.substr(N))}),En("Hmmss",function(f,y,x){var N=f.length-4,B=f.length-2;y[Ii]=de(f.substr(0,N)),y[ro]=de(f.substr(N,2)),y[xo]=de(f.substr(B))});function Fa(f){return(f+"").toLowerCase().charAt(0)==="p"}var fb=/[ap]\.?m?\.?/i,$d=Wt("Hours",!0);function np(f,y,x){return f>11?x?"pm":"PM":x?"am":"AM"}var Va={calendar:pc,longDateFormat:to,invalidDate:Ee,ordinal:Ud,dayOfMonthOrdinalParse:fc,relativeTime:tt,months:Yi,monthsShort:Yh,week:ab,weekdays:Zh,weekdaysMin:q1,weekdaysShort:Y1,meridiemParse:fb},Vn={},Sl={},Sc;function ip(f,y){var x,N=Math.min(f.length,y.length);for(x=0;x<N;x+=1)if(f[x]!==y[x])return x;return N}function e2(f){return f&&f.toLowerCase().replace("_","-")}function gb(f){for(var y=0,x,N,B,ne;y<f.length;){for(ne=e2(f[y]).split("-"),x=ne.length,N=e2(f[y+1]),N=N?N.split("-"):null;x>0;){if(B=ms(ne.slice(0,x).join("-")),B)return B;if(N&&N.length>=x&&ip(ne,N)>=x-1)break;x--}y++}return Sc}function t2(f){return f.match("^[^/\\\\]*$")!=null}function ms(f){var y=null,x;if(Vn[f]===void 0&&typeof xh<"u"&&xh&&xh.exports&&t2(f))try{y=Sc._abbr,x=TM,x("./locale/"+f),Ys(y)}catch{Vn[f]=null}return Vn[f]}function Ys(f,y){var x;return f&&(p(y)?x=so(f):x=rp(f,y),x?Sc=x:typeof console<"u"&&console.warn&&console.warn("Locale "+f+" not found. Did you forget to load it?")),Sc._abbr}function rp(f,y){if(y!==null){var x,N=Va;if(y.abbr=f,Vn[f]!=null)$s("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),N=Vn[f]._config;else if(y.parentLocale!=null)if(Vn[y.parentLocale]!=null)N=Vn[y.parentLocale]._config;else if(x=ms(y.parentLocale),x!=null)N=x._config;else return Sl[y.parentLocale]||(Sl[y.parentLocale]=[]),Sl[y.parentLocale].push({name:f,config:y}),null;return Vn[f]=new Ma(Ta(N,y)),Sl[f]&&Sl[f].forEach(function(B){rp(B.name,B.config)}),Ys(f),Vn[f]}else return delete Vn[f],null}function mb(f,y){if(y!=null){var x,N,B=Va;Vn[f]!=null&&Vn[f].parentLocale!=null?Vn[f].set(Ta(Vn[f]._config,y)):(N=ms(f),N!=null&&(B=N._config),y=Ta(B,y),N==null&&(y.abbr=f),x=new Ma(y),x.parentLocale=Vn[f],Vn[f]=x),Ys(f)}else Vn[f]!=null&&(Vn[f].parentLocale!=null?(Vn[f]=Vn[f].parentLocale,f===Ys()&&Ys(f)):Vn[f]!=null&&delete Vn[f]);return Vn[f]}function so(f){var y;if(f&&f._locale&&f._locale._abbr&&(f=f._locale._abbr),!f)return Sc;if(!i(f)){if(y=ms(f),y)return y;f=[f]}return gb(f)}function vb(){return hc(Vn)}function Wd(f){var y,x=f._a;return x&&se(f).overflow===-2&&(y=x[wo]<0||x[wo]>11?wo:x[li]<1||x[li]>vc(x[Gn],x[wo])?li:x[Ii]<0||x[Ii]>24||x[Ii]===24&&(x[ro]!==0||x[xo]!==0||x[Cn]!==0)?Ii:x[ro]<0||x[ro]>59?ro:x[xo]<0||x[xo]>59?xo:x[Cn]<0||x[Cn]>999?Cn:-1,se(f)._overflowDayOfYear&&(y<Gn||y>li)&&(y=li),se(f)._overflowWeeks&&y===-1&&(y=V1),se(f)._overflowWeekday&&y===-1&&(y=nb),se(f).overflow=y),f}var Cb=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,_b=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,n2=/Z|[+-]\d\d(?::?\d\d)?/,Yd=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],op=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],qd=/^\/?Date\((-?\d+)/i,sp=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,i2={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function r2(f){var y,x,N=f._i,B=Cb.exec(N)||_b.exec(N),ne,we,_t,Yt,Rn=Yd.length,Lr=op.length;if(B){for(se(f).iso=!0,y=0,x=Rn;y<x;y++)if(Yd[y][1].exec(B[1])){we=Yd[y][0],ne=Yd[y][2]!==!1;break}if(we==null){f._isValid=!1;return}if(B[3]){for(y=0,x=Lr;y<x;y++)if(op[y][1].exec(B[3])){_t=(B[2]||" ")+op[y][0];break}if(_t==null){f._isValid=!1;return}}if(!ne&&_t!=null){f._isValid=!1;return}if(B[4])if(n2.exec(B[4]))Yt="Z";else{f._isValid=!1;return}f._f=we+(_t||"")+(Yt||""),ap(f)}else f._isValid=!1}function yb(f,y,x,N,B,ne){var we=[bb(f),Yh.indexOf(y),parseInt(x,10),parseInt(N,10),parseInt(B,10)];return ne&&we.push(parseInt(ne,10)),we}function bb(f){var y=parseInt(f,10);return y<=49?2e3+y:y<=999?1900+y:y}function Ic(f){return f.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function qs(f,y,x){if(f){var N=Y1.indexOf(f),B=new Date(y[0],y[1],y[2]).getDay();if(N!==B)return se(x).weekdayMismatch=!0,x._isValid=!1,!1}return!0}function Sb(f,y,x){if(f)return i2[f];if(y)return 0;var N=parseInt(x,10),B=N%100,ne=(N-B)/100;return ne*60+B}function Qd(f){var y=sp.exec(Ic(f._i)),x;if(y){if(x=yb(y[4],y[3],y[2],y[5],y[6],y[7]),!qs(y[1],x,f))return;f._a=x,f._tzm=Sb(y[8],y[9],y[10]),f._d=yl.apply(null,f._a),f._d.setUTCMinutes(f._d.getUTCMinutes()-f._tzm),se(f).rfc2822=!0}else f._isValid=!1}function Ib(f){var y=qd.exec(f._i);if(y!==null){f._d=new Date(+y[1]);return}if(r2(f),f._isValid===!1)delete f._isValid;else return;if(Qd(f),f._isValid===!1)delete f._isValid;else return;f._strict?f._isValid=!1:n.createFromInputFallback(f)}n.createFromInputFallback=Tt("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",function(f){f._d=new Date(f._i+(f._useUTC?" UTC":""))});function Il(f,y,x){return f??y??x}function o2(f){var y=new Date(n.now());return f._useUTC?[y.getUTCFullYear(),y.getUTCMonth(),y.getUTCDate()]:[y.getFullYear(),y.getMonth(),y.getDate()]}function ci(f){var y,x,N=[],B,ne,we;if(!f._d){for(B=o2(f),f._w&&f._a[li]==null&&f._a[wo]==null&&s2(f),f._dayOfYear!=null&&(we=Il(f._a[Gn],B[Gn]),(f._dayOfYear>gs(we)||f._dayOfYear===0)&&(se(f)._overflowDayOfYear=!0),x=yl(we,0,f._dayOfYear),f._a[wo]=x.getUTCMonth(),f._a[li]=x.getUTCDate()),y=0;y<3&&f._a[y]==null;++y)f._a[y]=N[y]=B[y];for(;y<7;y++)f._a[y]=N[y]=f._a[y]==null?y===2?1:0:f._a[y];f._a[Ii]===24&&f._a[ro]===0&&f._a[xo]===0&&f._a[Cn]===0&&(f._nextDay=!0,f._a[Ii]=0),f._d=(f._useUTC?yl:ob).apply(null,N),ne=f._useUTC?f._d.getUTCDay():f._d.getDay(),f._tzm!=null&&f._d.setUTCMinutes(f._d.getUTCMinutes()-f._tzm),f._nextDay&&(f._a[Ii]=24),f._w&&typeof f._w.d<"u"&&f._w.d!==ne&&(se(f).weekdayMismatch=!0)}}function s2(f){var y,x,N,B,ne,we,_t,Yt,Rn;y=f._w,y.GG!=null||y.W!=null||y.E!=null?(ne=1,we=4,x=Il(y.GG,f._a[Gn],bc(On(),1,4).year),N=Il(y.W,1),B=Il(y.E,1),(B<1||B>7)&&(Yt=!0)):(ne=f._locale._week.dow,we=f._locale._week.doy,Rn=bc(On(),ne,we),x=Il(y.gg,f._a[Gn],Rn.year),N=Il(y.w,Rn.week),y.d!=null?(B=y.d,(B<0||B>6)&&(Yt=!0)):y.e!=null?(B=y.e+ne,(y.e<0||y.e>6)&&(Yt=!0)):B=ne),N<1||N>oo(x,ne,we)?se(f)._overflowWeeks=!0:Yt!=null?se(f)._overflowWeekday=!0:(_t=ka(x,N,B,ne,we),f._a[Gn]=_t.year,f._dayOfYear=_t.dayOfYear)}n.ISO_8601=function(){},n.RFC_2822=function(){};function ap(f){if(f._f===n.ISO_8601){r2(f);return}if(f._f===n.RFC_2822){Qd(f);return}f._a=[],se(f).empty=!0;var y=""+f._i,x,N,B,ne,we,_t=y.length,Yt=0,Rn,Lr;for(B=Sr(f._f,f._locale).match(vl)||[],Lr=B.length,x=0;x<Lr;x++)ne=B[x],N=(y.match(io(ne,f))||[])[0],N&&(we=y.substr(0,y.indexOf(N)),we.length>0&&se(f).unusedInput.push(we),y=y.slice(y.indexOf(N)+N.length),Yt+=N.length),So[ne]?(N?se(f).empty=!1:se(f).unusedTokens.push(ne),tb(ne,N,f)):f._strict&&!N&&se(f).unusedTokens.push(ne);se(f).charsLeftOver=_t-Yt,y.length>0&&se(f).unusedInput.push(y),f._a[Ii]<=12&&se(f).bigHour===!0&&f._a[Ii]>0&&(se(f).bigHour=void 0),se(f).parsedDateParts=f._a.slice(0),se(f).meridiem=f._meridiem,f._a[Ii]=a2(f._locale,f._a[Ii],f._meridiem),Rn=se(f).era,Rn!==null&&(f._a[Gn]=f._locale.erasConvertYear(Rn,f._a[Gn])),ci(f),Wd(f)}function a2(f,y,x){var N;return x==null?y:f.meridiemHour!=null?f.meridiemHour(y,x):(f.isPM!=null&&(N=f.isPM(x),N&&y<12&&(y+=12),!N&&y===12&&(y=0)),y)}function Zd(f){var y,x,N,B,ne,we,_t=!1,Yt=f._f.length;if(Yt===0){se(f).invalidFormat=!0,f._d=new Date(NaN);return}for(B=0;B<Yt;B++)ne=0,we=!1,y=Ot({},f),f._useUTC!=null&&(y._useUTC=f._useUTC),y._f=f._f[B],ap(y),Ve(y)&&(we=!0),ne+=se(y).charsLeftOver,ne+=se(y).unusedTokens.length*10,se(y).score=ne,_t?ne<N&&(N=ne,x=y):(N==null||ne<N||we)&&(N=ne,x=y,we&&(_t=!0));j(f,x||y)}function l2(f){if(!f._d){var y=Cl(f._i),x=y.day===void 0?y.date:y.day;f._a=V([y.year,y.month,x,y.hour,y.minute,y.second,y.millisecond],function(N){return N&&parseInt(N,10)}),ci(f)}}function c2(f){var y=new jt(Wd(lp(f)));return y._nextDay&&(y.add(1,"d"),y._nextDay=void 0),y}function lp(f){var y=f._i,x=f._f;return f._locale=f._locale||so(f._l),y===null||x===void 0&&y===""?dt({nullInput:!0}):(typeof y=="string"&&(f._i=y=f._locale.preparse(y)),kt(y)?new jt(Wd(y)):(w(y)?f._d=y:i(x)?Zd(f):x?ap(f):d2(f),Ve(f)||(f._d=null),f))}function d2(f){var y=f._i;p(y)?f._d=new Date(n.now()):w(y)?f._d=new Date(y.valueOf()):typeof y=="string"?Ib(f):i(y)?(f._a=V(y.slice(0),function(x){return parseInt(x,10)}),ci(f)):r(y)?l2(f):C(y)?f._d=new Date(y):n.createFromInputFallback(f)}function Do(f,y,x,N,B){var ne={};return(y===!0||y===!1)&&(N=y,y=void 0),(x===!0||x===!1)&&(N=x,x=void 0),(r(f)&&l(f)||i(f)&&f.length===0)&&(f=void 0),ne._isAMomentObject=!0,ne._useUTC=ne._isUTC=B,ne._l=x,ne._i=f,ne._f=y,ne._strict=N,c2(ne)}function On(f,y,x,N){return Do(f,y,x,N,!1)}var Jn=Tt("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var f=On.apply(null,arguments);return this.isValid()&&f.isValid()?f<this?this:f:dt()}),u2=Tt("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var f=On.apply(null,arguments);return this.isValid()&&f.isValid()?f>this?this:f:dt()});function h2(f,y){var x,N;if(y.length===1&&i(y[0])&&(y=y[0]),!y.length)return On();for(x=y[0],N=1;N<y.length;++N)(!y[N].isValid()||y[N][f](x))&&(x=y[N]);return x}function Kd(){var f=[].slice.call(arguments,0);return h2("isBefore",f)}function Eb(){var f=[].slice.call(arguments,0);return h2("isAfter",f)}var wb=function(){return Date.now?Date.now():+new Date},Ec=["year","quarter","month","week","day","hour","minute","second","millisecond"];function El(f){var y,x=!1,N,B=Ec.length;for(y in f)if(o(f,y)&&!(Xn.call(Ec,y)!==-1&&(f[y]==null||!isNaN(f[y]))))return!1;for(N=0;N<B;++N)if(f[Ec[N]]){if(x)return!1;parseFloat(f[Ec[N]])!==de(f[Ec[N]])&&(x=!0)}return!0}function xb(){return this._isValid}function To(){return Ri(NaN)}function er(f){var y=Cl(f),x=y.year||0,N=y.quarter||0,B=y.month||0,ne=y.week||y.isoWeek||0,we=y.day||0,_t=y.hour||0,Yt=y.minute||0,Rn=y.second||0,Lr=y.millisecond||0;this._isValid=El(y),this._milliseconds=+Lr+Rn*1e3+Yt*6e4+_t*1e3*60*60,this._days=+we+ne*7,this._months=+B+N*3+x*12,this._data={},this._locale=so(),this._bubble()}function Xd(f){return f instanceof er}function cp(f){return f<0?Math.round(-1*f)*-1:Math.round(f)}function p2(f,y,x){var N=Math.min(f.length,y.length),B=Math.abs(f.length-y.length),ne=0,we;for(we=0;we<N;we++)(x&&f[we]!==y[we]||!x&&de(f[we])!==de(y[we]))&&ne++;return ne+B}function f2(f,y){st(f,0,0,function(){var x=this.utcOffset(),N="+";return x<0&&(x=-x,N="-"),N+he(~~(x/60),2)+y+he(~~x%60,2)})}f2("Z",":"),f2("ZZ",""),Re("Z",Hd),Re("ZZ",Hd),En(["Z","ZZ"],function(f,y,x){x._useUTC=!0,x._tzm=dp(Hd,f)});var g2=/([\+\-]|\d\d)/gi;function dp(f,y){var x=(y||"").match(f),N,B,ne;return x===null?null:(N=x[x.length-1]||[],B=(N+"").match(g2)||["-",0,0],ne=+(B[1]*60)+de(B[2]),ne===0?0:B[0]==="+"?ne:-ne)}function up(f,y){var x,N;return y._isUTC?(x=y.clone(),N=(kt(f)||w(f)?f.valueOf():On(f).valueOf())-x.valueOf(),x._d.setTime(x._d.valueOf()+N),n.updateOffset(x,!1),x):On(f).local()}function wc(f){return-Math.round(f._d.getTimezoneOffset())}n.updateOffset=function(){};function m2(f,y,x){var N=this._offset||0,B;if(!this.isValid())return f!=null?this:NaN;if(f!=null){if(typeof f=="string"){if(f=dp(Hd,f),f===null)return this}else Math.abs(f)<16&&!x&&(f=f*60);return!this._isUTC&&y&&(B=wc(this)),this._offset=f,this._isUTC=!0,B!=null&&this.add(B,"m"),N!==f&&(!y||this._changeInProgress?Cp(this,Ri(f-N,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,n.updateOffset(this,!0),this._changeInProgress=null)),this}else return this._isUTC?N:wc(this)}function hp(f,y){return f!=null?(typeof f!="string"&&(f=-f),this.utcOffset(f,y),this):-this.utcOffset()}function Db(f){return this.utcOffset(0,f)}function pp(f){return this._isUTC&&(this.utcOffset(0,f),this._isUTC=!1,f&&this.subtract(wc(this),"m")),this}function fp(){if(this._tzm!=null)this.utcOffset(this._tzm,!1,!0);else if(typeof this._i=="string"){var f=dp(F1,this._i);f!=null?this.utcOffset(f):this.utcOffset(0,!0)}return this}function Tb(f){return this.isValid()?(f=f?On(f).utcOffset():0,(this.utcOffset()-f)%60===0):!1}function v2(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function Ua(){if(!p(this._isDSTShifted))return this._isDSTShifted;var f={},y;return Ot(f,this),f=lp(f),f._a?(y=f._isUTC?$(f._a):On(f._a),this._isDSTShifted=this.isValid()&&p2(f._a,y.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function wl(){return this.isValid()?!this._isUTC:!1}function C2(){return this.isValid()?this._isUTC:!1}function _2(){return this.isValid()?this._isUTC&&this._offset===0:!1}var gp=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,mp=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function Ri(f,y){var x=f,N=null,B,ne,we;return Xd(f)?x={ms:f._milliseconds,d:f._days,M:f._months}:C(f)||!isNaN(+f)?(x={},y?x[y]=+f:x.milliseconds=+f):(N=gp.exec(f))?(B=N[1]==="-"?-1:1,x={y:0,d:de(N[li])*B,h:de(N[Ii])*B,m:de(N[ro])*B,s:de(N[xo])*B,ms:de(cp(N[Cn]*1e3))*B}):(N=mp.exec(f))?(B=N[1]==="-"?-1:1,x={y:Ha(N[2],B),M:Ha(N[3],B),w:Ha(N[4],B),d:Ha(N[5],B),h:Ha(N[6],B),m:Ha(N[7],B),s:Ha(N[8],B)}):x==null?x={}:typeof x=="object"&&("from"in x||"to"in x)&&(we=Mb(On(x.from),On(x.to)),x={},x.ms=we.milliseconds,x.M=we.months),ne=new er(x),Xd(f)&&o(f,"_locale")&&(ne._locale=f._locale),Xd(f)&&o(f,"_isValid")&&(ne._isValid=f._isValid),ne}Ri.fn=er.prototype,Ri.invalid=To;function Ha(f,y){var x=f&&parseFloat(f.replace(",","."));return(isNaN(x)?0:x)*y}function y2(f,y){var x={};return x.months=y.month()-f.month()+(y.year()-f.year())*12,f.clone().add(x.months,"M").isAfter(y)&&--x.months,x.milliseconds=+y-+f.clone().add(x.months,"M"),x}function Mb(f,y){var x;return f.isValid()&&y.isValid()?(y=up(y,f),f.isBefore(y)?x=y2(f,y):(x=y2(y,f),x.milliseconds=-x.milliseconds,x.months=-x.months),x):{milliseconds:0,months:0}}function vp(f,y){return function(x,N){var B,ne;return N!==null&&!isNaN(+N)&&($s(y,"moment()."+y+"(period, number) is deprecated. Please use moment()."+y+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),ne=x,x=N,N=ne),B=Ri(x,N),Cp(this,B,f),this}}function Cp(f,y,x,N){var B=y._milliseconds,ne=cp(y._days),we=cp(y._months);f.isValid()&&(N=N??!0,we&&j1(f,vn(f,"Month")+we*x),ne&&Oa(f,"Date",vn(f,"Date")+ne*x),B&&f._d.setTime(f._d.valueOf()+B*x),N&&n.updateOffset(f,ne||we))}var Ab=vp(1,"add"),Ob=vp(-1,"subtract");function _p(f){return typeof f=="string"||f instanceof String}function Rb(f){return kt(f)||w(f)||_p(f)||C(f)||kb(f)||Pb(f)||f===null||f===void 0}function Pb(f){var y=r(f)&&!l(f),x=!1,N=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],B,ne,we=N.length;for(B=0;B<we;B+=1)ne=N[B],x=x||o(f,ne);return y&&x}function kb(f){var y=i(f),x=!1;return y&&(x=f.filter(function(N){return!C(N)&&_p(f)}).length===0),y&&x}function Nb(f){var y=r(f)&&!l(f),x=!1,N=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"],B,ne;for(B=0;B<N.length;B+=1)ne=N[B],x=x||o(f,ne);return y&&x}function Lb(f,y){var x=f.diff(y,"days",!0);return x<-6?"sameElse":x<-1?"lastWeek":x<0?"lastDay":x<1?"sameDay":x<2?"nextDay":x<7?"nextWeek":"sameElse"}function Fb(f,y){arguments.length===1&&(arguments[0]?Rb(arguments[0])?(f=arguments[0],y=void 0):Nb(arguments[0])&&(y=arguments[0],f=void 0):(f=void 0,y=void 0));var x=f||On(),N=up(x,this).startOf("day"),B=n.calendarFormat(this,N)||"sameElse",ne=y&&(dr(y[B])?y[B].call(this,x):y[B]);return this.format(ne||this.localeData().calendar(B,this,On(x)))}function Vb(){return new jt(this)}function Ub(f,y){var x=kt(f)?f:On(f);return this.isValid()&&x.isValid()?(y=Ir(y)||"millisecond",y==="millisecond"?this.valueOf()>x.valueOf():x.valueOf()<this.clone().startOf(y).valueOf()):!1}function Hb(f,y){var x=kt(f)?f:On(f);return this.isValid()&&x.isValid()?(y=Ir(y)||"millisecond",y==="millisecond"?this.valueOf()<x.valueOf():this.clone().endOf(y).valueOf()<x.valueOf()):!1}function Bb(f,y,x,N){var B=kt(f)?f:On(f),ne=kt(y)?y:On(y);return this.isValid()&&B.isValid()&&ne.isValid()?(N=N||"()",(N[0]==="("?this.isAfter(B,x):!this.isBefore(B,x))&&(N[1]===")"?this.isBefore(ne,x):!this.isAfter(ne,x))):!1}function jb(f,y){var x=kt(f)?f:On(f),N;return this.isValid()&&x.isValid()?(y=Ir(y)||"millisecond",y==="millisecond"?this.valueOf()===x.valueOf():(N=x.valueOf(),this.clone().startOf(y).valueOf()<=N&&N<=this.clone().endOf(y).valueOf())):!1}function zb(f,y){return this.isSame(f,y)||this.isAfter(f,y)}function b2(f,y){return this.isSame(f,y)||this.isBefore(f,y)}function yp(f,y,x){var N,B,ne;if(!this.isValid())return NaN;if(N=up(f,this),!N.isValid())return NaN;switch(B=(N.utcOffset()-this.utcOffset())*6e4,y=Ir(y),y){case"year":ne=xl(this,N)/12;break;case"month":ne=xl(this,N);break;case"quarter":ne=xl(this,N)/3;break;case"second":ne=(this-N)/1e3;break;case"minute":ne=(this-N)/6e4;break;case"hour":ne=(this-N)/36e5;break;case"day":ne=(this-N-B)/864e5;break;case"week":ne=(this-N-B)/6048e5;break;default:ne=this-N}return x?ne:Rr(ne)}function xl(f,y){if(f.date()<y.date())return-xl(y,f);var x=(y.year()-f.year())*12+(y.month()-f.month()),N=f.clone().add(x,"months"),B,ne;return y-N<0?(B=f.clone().add(x-1,"months"),ne=(y-N)/(N-B)):(B=f.clone().add(x+1,"months"),ne=(y-N)/(B-N)),-(x+ne)||0}n.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",n.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";function S2(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function bp(f){if(!this.isValid())return null;var y=f!==!0,x=y?this.clone().utc():this;return x.year()<0||x.year()>9999?yn(x,y?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):dr(Date.prototype.toISOString)?y?this.toDate().toISOString():new Date(this.valueOf()+this.utcOffset()*60*1e3).toISOString().replace("Z",yn(x,"Z")):yn(x,y?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function I2(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var f="moment",y="",x,N,B,ne;return this.isLocal()||(f=this.utcOffset()===0?"moment.utc":"moment.parseZone",y="Z"),x="["+f+'("]',N=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",B="-MM-DD[T]HH:mm:ss.SSS",ne=y+'[")]',this.format(x+N+B+ne)}function Gb(f){f||(f=this.isUtc()?n.defaultFormatUtc:n.defaultFormat);var y=yn(this,f);return this.localeData().postformat(y)}function Sp(f,y){return this.isValid()&&(kt(f)&&f.isValid()||On(f).isValid())?Ri({to:this,from:f}).locale(this.locale()).humanize(!y):this.localeData().invalidDate()}function Ip(f){return this.from(On(),f)}function $b(f,y){return this.isValid()&&(kt(f)&&f.isValid()||On(f).isValid())?Ri({from:this,to:f}).locale(this.locale()).humanize(!y):this.localeData().invalidDate()}function Wb(f){return this.to(On(),f)}function E2(f){var y;return f===void 0?this._locale._abbr:(y=so(f),y!=null&&(this._locale=y),this)}var xc=Tt("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(f){return f===void 0?this.localeData():this.locale(f)});function Dc(){return this._locale}var Jd=1e3,Dl=60*Jd,Ba=60*Dl,w2=(365*400+97)*24*Ba;function ja(f,y){return(f%y+y)%y}function x2(f,y,x){return f<100&&f>=0?new Date(f+400,y,x)-w2:new Date(f,y,x).valueOf()}function D2(f,y,x){return f<100&&f>=0?Date.UTC(f+400,y,x)-w2:Date.UTC(f,y,x)}function Ep(f){var y,x;if(f=Ir(f),f===void 0||f==="millisecond"||!this.isValid())return this;switch(x=this._isUTC?D2:x2,f){case"year":y=x(this.year(),0,1);break;case"quarter":y=x(this.year(),this.month()-this.month()%3,1);break;case"month":y=x(this.year(),this.month(),1);break;case"week":y=x(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":y=x(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":y=x(this.year(),this.month(),this.date());break;case"hour":y=this._d.valueOf(),y-=ja(y+(this._isUTC?0:this.utcOffset()*Dl),Ba);break;case"minute":y=this._d.valueOf(),y-=ja(y,Dl);break;case"second":y=this._d.valueOf(),y-=ja(y,Jd);break}return this._d.setTime(y),n.updateOffset(this,!0),this}function Yb(f){var y,x;if(f=Ir(f),f===void 0||f==="millisecond"||!this.isValid())return this;switch(x=this._isUTC?D2:x2,f){case"year":y=x(this.year()+1,0,1)-1;break;case"quarter":y=x(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":y=x(this.year(),this.month()+1,1)-1;break;case"week":y=x(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":y=x(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":y=x(this.year(),this.month(),this.date()+1)-1;break;case"hour":y=this._d.valueOf(),y+=Ba-ja(y+(this._isUTC?0:this.utcOffset()*Dl),Ba)-1;break;case"minute":y=this._d.valueOf(),y+=Dl-ja(y,Dl)-1;break;case"second":y=this._d.valueOf(),y+=Jd-ja(y,Jd)-1;break}return this._d.setTime(y),n.updateOffset(this,!0),this}function T2(){return this._d.valueOf()-(this._offset||0)*6e4}function eu(){return Math.floor(this.valueOf()/1e3)}function M2(){return new Date(this.valueOf())}function A2(){var f=this;return[f.year(),f.month(),f.date(),f.hour(),f.minute(),f.second(),f.millisecond()]}function qb(){var f=this;return{years:f.year(),months:f.month(),date:f.date(),hours:f.hours(),minutes:f.minutes(),seconds:f.seconds(),milliseconds:f.milliseconds()}}function O2(){return this.isValid()?this.toISOStr
vendor: 6,327 bytes, line 4
4ing():null}function Qb(){return Ve(this)}function R2(){return j({},se(this))}function wp(){return se(this).overflow}function Zb(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}st("N",0,0,"eraAbbr"),st("NN",0,0,"eraAbbr"),st("NNN",0,0,"eraAbbr"),st("NNNN",0,0,"eraName"),st("NNNNN",0,0,"eraNarrow"),st("y",["y",1],"yo","eraYear"),st("y",["yy",2],0,"eraYear"),st("y",["yyy",3],0,"eraYear"),st("y",["yyyy",4],0,"eraYear"),Re("N",tu),Re("NN",tu),Re("NNN",tu),Re("NNNN",i3),Re("NNNNN",r3),En(["N","NN","NNN","NNNN","NNNNN"],function(f,y,x,N){var B=x._locale.erasParse(f,N,x._strict);B?se(x).era=B:se(x).invalidEra=f}),Re("y",Zo),Re("yy",Zo),Re("yyy",Zo),Re("yyyy",Zo),Re("yo",xp),En(["y","yy","yyy","yyyy"],Gn),En(["yo"],function(f,y,x,N){var B;x._locale._eraYearOrdinalRegex&&(B=f.match(x._locale._eraYearOrdinalRegex)),x._locale.eraYearOrdinalParse?y[Gn]=x._locale.eraYearOrdinalParse(f,B):y[Gn]=parseInt(f,10)});function Kb(f,y){var x,N,B,ne=this._eras||so("en")._eras;for(x=0,N=ne.length;x<N;++x)switch(typeof ne[x].since==="string"&&(B=n(ne[x].since).startOf("day"),ne[x].since=B.valueOf()),typeof ne[x].until){case"undefined":ne[x].until=1/0;break;case"string":B=n(ne[x].until).startOf("day").valueOf(),ne[x].until=B.valueOf();break}return ne}function Xb(f,y,x){var N,B,ne=this.eras(),we,_t,Yt;for(f=f.toUpperCase(),N=0,B=ne.length;N<B;++N)if(we=ne[N].name.toUpperCase(),_t=ne[N].abbr.toUpperCase(),Yt=ne[N].narrow.toUpperCase(),x)switch(y){case"N":case"NN":case"NNN":if(_t===f)return ne[N];break;case"NNNN":if(we===f)return ne[N];break;case"NNNNN":if(Yt===f)return ne[N];break}else if([we,_t,Yt].indexOf(f)>=0)return ne[N]}function P2(f,y){var x=f.since<=f.until?1:-1;return y===void 0?n(f.since).year():n(f.since).year()+(y-f.offset)*x}function Jb(){var f,y,x,N=this.localeData().eras();for(f=0,y=N.length;f<y;++f)if(x=this.clone().startOf("day").valueOf(),N[f].since<=x&&x<=N[f].until||N[f].until<=x&&x<=N[f].since)return N[f].name;return""}function e3(){var f,y,x,N=this.localeData().eras();for(f=0,y=N.length;f<y;++f)if(x=this.clone().startOf("day").valueOf(),N[f].since<=x&&x<=N[f].until||N[f].until<=x&&x<=N[f].since)return N[f].narrow;return""}function k2(){var f,y,x,N=this.localeData().eras();for(f=0,y=N.length;f<y;++f)if(x=this.clone().startOf("day").valueOf(),N[f].since<=x&&x<=N[f].until||N[f].until<=x&&x<=N[f].since)return N[f].abbr;return""}function t3(){var f,y,x,N,B=this.localeData().eras();for(f=0,y=B.length;f<y;++f)if(x=B[f].since<=B[f].until?1:-1,N=this.clone().startOf("day").valueOf(),B[f].since<=N&&N<=B[f].until||B[f].until<=N&&N<=B[f].since)return(this.year()-n(B[f].since).year())*x+B[f].offset;return this.year()}function N2(f){return o(this,"_erasNameRegex")||Dp.call(this),f?this._erasNameRegex:this._erasRegex}function n3(f){return o(this,"_erasAbbrRegex")||Dp.call(this),f?this._erasAbbrRegex:this._erasRegex}function L2(f){return o(this,"_erasNarrowRegex")||Dp.call(this),f?this._erasNarrowRegex:this._erasRegex}function tu(f,y){return y.erasAbbrRegex(f)}function i3(f,y){return y.erasNameRegex(f)}function r3(f,y){return y.erasNarrowRegex(f)}function xp(f,y){return y._eraYearOrdinalRegex||Zo}function Dp(){var f=[],y=[],x=[],N=[],B,ne,we=this.eras();for(B=0,ne=we.length;B<ne;++B)y.push(Ji(we[B].name)),f.push(Ji(we[B].abbr)),x.push(Ji(we[B].narrow)),N.push(Ji(we[B].name)),N.push(Ji(we[B].abbr)),N.push(Ji(we[B].narrow));this._erasRegex=new RegExp("^("+N.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+y.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+f.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+x.join("|")+")","i")}st(0,["gg",2],0,function(){return this.weekYear()%100}),st(0,["GG",2],0,function(){return this.isoWeekYear()%100});function nu(f,y){st(0,[f,f.length],0,y)}nu("gggg","weekYear"),nu("ggggg","weekYear"),nu("GGGG","isoWeekYear"),nu("GGGGG","isoWeekYear"),Ai("weekYear","gg"),Ai("isoWeekYear","GG"),zn("weekYear",1),zn("isoWeekYear",1),Re("G",Er),Re("g",Er),Re("GG",Dt,lt),Re("gg",Dt,lt),Re("GGGG",Pr,Eo),Re("gggg",Pr,Eo),Re("GGGGG",Si,ce),Re("ggggg",Si,ce),Pa(["gggg","ggggg","GGGG","GGGGG"],function(f,y,x,N){y[N.substr(0,2)]=de(f)}),Pa(["gg","GG"],function(f,y,x,N){y[N]=n.parseTwoDigitYear(f)});function o3(f){return a.call(this,f,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)}function s3(f){return a.call(this,f,this.isoWeek(),this.isoWeekday(),1,4)}function a3(){return oo(this.year(),1,4)}function l3(){return oo(this.isoWeekYear(),1,4)}function v(){var f=this.localeData()._week;return oo(this.year(),f.dow,f.doy)}function s(){var f=this.localeData()._week;return oo(this.weekYear(),f.dow,f.doy)}function a(f,y,x,N,B){var ne;return f==null?bc(this,N,B).year:(ne=oo(f,N,B),y>ne&&(y=ne),c.call(this,f,y,x,N,B))}function c(f,y,x,N,B){var ne=ka(f,y,x,N,B),we=yl(ne.year,0,ne.dayOfYear);return this.year(we.getUTCFullYear()),this.month(we.getUTCMonth()),this.date(we.getUTCDate()),this}st("Q",0,"Qo","quarter"),Ai("quarter","Q"),zn("quarter",7),Re("Q",gc),En("Q",function(f,y){y[wo]=(de(f)-1)*3});function d(f){return f==null?Math.ceil((this.month()+1)/3):this.month((f-1)*3+this.month()%3)}st("D",["DD",2],"Do","date"),Ai("date","D"),zn("date",9),Re("D",Dt),Re("DD",Dt,lt),Re("Do",function(f,y){return f?y._dayOfMonthOrdinalParse||y._ordinalParse:y._dayOfMonthOrdinalParseLenient}),En(["D","DD"],li),En("Do",function(f,y){y[li]=de(f.match(Dt)[0])});var u=Wt("Date",!0);st("DDD",["DDDD",3],"DDDo","dayOfYear"),Ai("dayOfYear","DDD"),zn("dayOfYear",4),Re("DDD",mc),Re("DDDD",Gh),En(["DDD","DDDD"],function(f,y,x){x._dayOfYear=de(f)});function h(f){var y=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return f==null?y:this.add(f-y,"d")}st("m",["mm",2],0,"minute"),Ai("minute","m"),zn("minute",14),Re("m",Dt),Re("mm",Dt,lt),En(["m","mm"],ro);var g=Wt("Minutes",!1);st("s",["ss",2],0,"second"),Ai("second","s"),zn("second",15),Re("s",Dt),Re("ss",Dt,lt),En(["s","ss"],xo);var m=Wt("Seconds",!1);st("S",0,0,function(){return~~(this.millisecond()/100)}),st(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),st(0,["SSS",3],0,"millisecond"),st(0,["SSSS",4],0,function(){return this.millisecond()*10}),st(0,["SSSSS",5],0,function(){return this.millisecond()*100}),st(0,["SSSSSS",6],0,function(){return this.millisecond()*1e3}
vendor: 6,338 bytes, line 4
4),st(0,["SSSSSSS",7],0,function(){return this.millisecond()*1e4}),st(0,["SSSSSSSS",8],0,function(){return this.millisecond()*1e5}),st(0,["SSSSSSSSS",9],0,function(){return this.millisecond()*1e6}),Ai("millisecond","ms"),zn("millisecond",16),Re("S",mc,gc),Re("SS",mc,lt),Re("SSS",mc,Gh);var _,S;for(_="SSSS";_.length<=9;_+="S")Re(_,Zo);function b(f,y){y[Cn]=de(("0."+f)*1e3)}for(_="S";_.length<=9;_+="S")En(_,b);S=Wt("Milliseconds",!1),st("z",0,0,"zoneAbbr"),st("zz",0,0,"zoneName");function I(){return this._isUTC?"UTC":""}function D(){return this._isUTC?"Coordinated Universal Time":""}var T=jt.prototype;T.add=Ab,T.calendar=Fb,T.clone=Vb,T.diff=yp,T.endOf=Yb,T.format=Gb,T.from=Sp,T.fromNow=Ip,T.to=$b,T.toNow=Wb,T.get=ln,T.invalidAt=wp,T.isAfter=Ub,T.isBefore=Hb,T.isBetween=Bb,T.isSame=jb,T.isSameOrAfter=zb,T.isSameOrBefore=b2,T.isValid=Qb,T.lang=xc,T.locale=E2,T.localeData=Dc,T.max=u2,T.min=Jn,T.parsingFlags=R2,T.set=Je,T.startOf=Ep,T.subtract=Ob,T.toArray=A2,T.toObject=qb,T.toDate=M2,T.toISOString=bp,T.inspect=I2,typeof Symbol<"u"&&Symbol.for!=null&&(T[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),T.toJSON=O2,T.toString=S2,T.unix=eu,T.valueOf=T2,T.creationData=Zb,T.eraName=Jb,T.eraNarrow=e3,T.eraAbbr=k2,T.eraYear=t3,T.year=_c,T.isLeapYear=rb,T.weekYear=o3,T.isoWeekYear=s3,T.quarter=T.quarters=d,T.month=Cc,T.daysInMonth=z1,T.week=T.weeks=Na,T.isoWeek=T.isoWeeks=$1,T.weeksInYear=v,T.weeksInWeekYear=s,T.isoWeeksInYear=a3,T.isoWeeksInISOWeekYear=l3,T.date=u,T.day=T.days=ub,T.weekday=hb,T.isoWeekday=pb,T.dayOfYear=h,T.hour=T.hours=$d,T.minute=T.minutes=g,T.second=T.seconds=m,T.millisecond=T.milliseconds=S,T.utcOffset=m2,T.utc=Db,T.local=pp,T.parseZone=fp,T.hasAlignedHourOffset=Tb,T.isDST=v2,T.isLocal=wl,T.isUtcOffset=C2,T.isUtc=_2,T.isUTC=_2,T.zoneAbbr=I,T.zoneName=D,T.dates=Tt("dates accessor is deprecated. Use date instead.",u),T.months=Tt("months accessor is deprecated. Use month instead",Cc),T.years=Tt("years accessor is deprecated. Use year instead",_c),T.zone=Tt("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",hp),T.isDSTShifted=Tt("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",Ua);function R(f){return On(f*1e3)}function M(){return On.apply(null,arguments).parseZone()}function O(f){return f}var H=Ma.prototype;H.calendar=N1,H.longDateFormat=$t,H.invalidDate=Ws,H.ordinal=Io,H.preparse=O,H.postformat=O,H.relativeTime=L1,H.pastFuture=_e,H.set=uc,H.eras=Kb,H.erasParse=Xb,H.erasConvertYear=P2,H.erasAbbrRegex=n3,H.erasNameRegex=N2,H.erasNarrowRegex=L2,H.months=ib,H.monthsShort=Fn,H.monthsParse=B1,H.monthsRegex=G1,H.monthsShortRegex=jd,H.week=sb,H.firstDayOfYear=Ko,H.firstDayOfWeek=Ei,H.weekdays=db,H.weekdaysMin=bl,H.weekdaysShort=Q1,H.weekdaysParse=K1,H.weekdaysRegex=Xh,H.weekdaysShortRegex=Jh,H.weekdaysMinRegex=Gd,H.isPM=Fa,H.meridiem=np;function G(f,y,x,N){var B=so(),ne=$().set(N,y);return B[x](ne,f)}function K(f,y,x){if(C(f)&&(y=f,f=void 0),f=f||"",y!=null)return G(f,y,x,"month");var N,B=[];for(N=0;N<12;N++)B[N]=G(f,N,x,"month");return B}function Q(f,y,x,N){typeof f=="boolean"?(C(y)&&(x=y,y=void 0),y=y||""):(y=f,x=y,f=!1,C(y)&&(x=y,y=void 0),y=y||"");var B=so(),ne=f?B._week.dow:0,we,_t=[];if(x!=null)return G(y,(x+ne)%7,N,"day");for(we=0;we<7;we++)_t[we]=G(y,(we+ne)%7,N,"day");return _t}function J(f,y){return K(f,y,"months")}function ie(f,y){return K(f,y,"monthsShort")}function re(f,y,x){return Q(f,y,x,"weekdays")}function Se(f,y,x){return Q(f,y,x,"weekdaysShort")}function xe(f,y,x){return Q(f,y,x,"weekdaysMin")}Ys("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(f){var y=f%10,x=de(f%100/10)===1?"th":y===1?"st":y===2?"nd":y===3?"rd":"th";return f+x}}),n.lang=Tt("moment.lang is deprecated. Use moment.locale instead.",Ys),n.langData=Tt("moment.langData is deprecated. Use moment.localeData instead.",so);var ve=Math.abs;function je(){var f=this._data;return this._milliseconds=ve(this._milliseconds),this._days=ve(this._days),this._months=ve(this._months),f.milliseconds=ve(f.milliseconds),f.seconds=ve(f.seconds),f.minutes=ve(f.minutes),f.hours=ve(f.hours),f.months=ve(f.months),f.years=ve(f.years),this}function Ke(f,y,x,N){var B=Ri(y,x);return f._milliseconds+=N*B._milliseconds,f._days+=N*B._days,f._months+=N*B._months,f._bubble()}function Xe(f,y){return Ke(this,f,y,1)}function ot(f,y){return Ke(this,f,y,-1)}function nt(f){return f<0?Math.floor(f):Math.ceil(f)}function it(){var f=this._milliseconds,y=this._days,x=this._months,N=this._data,B,ne,we,_t,Yt;return f>=0&&y>=0&&x>=0||f<=0&&y<=0&&x<=0||(f+=nt(cn(x)+y)*864e5,y=0,x=0),N.milliseconds=f%1e3,B=Rr(f/1e3),N.seconds=B%60,ne=Rr(B/60),N.minutes=ne%60,we=Rr(ne/60),N.hours=we%24,y+=Rr(we/24),Yt=Rr(bn(y)),x+=Yt,y-=nt(cn(Yt)),_t=Rr(x/12),x%=12,N.days=y,N.months=x,N.years=_t,this}function bn(f){return f*4800/146097}function cn(f){return f*146097/4800}function hr(f){if(!this.isValid())return NaN;var y,x,N=this._milliseconds;if(f=Ir(f),f==="month"||f==="quarter"||f==="year")switch(y=this._days+N/864e5,x=this._months+bn(y),f){case"month":return x;case"quarter":return x/3;case"year":return x/12}else switch(y=this._days+Math.round(cn(this._months)),f){case"week":return y/7+N/6048e5;case"day":return y+N/864e5;case"hour":return y*24+N/36e5;case"minute":return y*1440+N/6e4;case"second":return y*86400+N/1e3;case"millisecond":return Math.floor(y*864e5)+N;default:throw new Error("Unknown unit "+f)}}function wt(){return this.isValid()?this._milliseconds+this._days*864e5+this._months%12*2592e6+de(this._months/12)*31536e6:NaN}function ut(f){return function(){return this.as(f)}}var en=ut("ms"),Vt=ut("s"),dn=ut("m"),Pi=ut("h"),un=ut("d"),Un=ut("w"),ki=ut("M"),pr=ut("Q"),Tl=ut("y");function Mo(){return Ri(this)}function qi(f){return f=Ir(f),this.isValid()?this[f+"s"]():NaN}function fr(f){return function(){return this.isValid()?this._data[f]:NaN}}var Nr=fr("milliseconds"),za=fr("seconds"),Tc=fr("minutes"),Ao=fr("hours"),Ml=fr("days"),F2=fr("months"),IL=fr("years");function EL(){return Rr(this.days()/7)}var Ga=Math.round,iu={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};
4function wL(f,y,x,N,B){return B.relativeTime(y||1,!!x,f,N)}function xL(f,y,x,N){var B=Ri(f).abs(),ne=Ga(B.as("s")),we=Ga(B.as("m")),_t=Ga(B.as("h")),Yt=Ga(B.as("d")),Rn=Ga(B.as("M")),Lr=Ga(B.as("w")),$a=Ga(B.as("y")),Al=ne<=x.ss&&["s",ne]||ne<x.s&&["ss",ne]||we<=1&&["m"]||we<x.m&&["mm",we]||_t<=1&&["h"]||_t<x.h&&["hh",_t]||Yt<=1&&["d"]||Yt<x.d&&["dd",Yt];return x.w!=null&&(Al=Al||Lr<=1&&["w"]||Lr<x.w&&["ww",Lr]),Al=Al||Rn<=1&&["M"]||Rn<x.M&&["MM",Rn]||$a<=1&&["y"]||["yy",$a],Al[2]=y,Al[3]=+f>0,Al[4]=N,wL.apply(null,Al)}function DL(f){return f===void 0?Ga:typeof f=="function"?(Ga=f,!0):!1}function TL(f,y){return iu[f]===void 0?!1:y===void 0?iu[f]:(iu[f]=y,f==="s"&&(iu.ss=y-1),!0)}function ML(f,y){if(!this.isValid())return this.localeData().invalidDate();var x=!1,N=iu,B,ne;return typeof f=="object"&&(y=f,f=!1),typeof f=="boolean"&&(x=f),typeof y=="object"&&(N=Object.assign({},iu,y),y.s!=null&&y.ss==null&&(N.ss=y.s-1)),B=this.localeData(),ne=xL(this,!x,N,B),x&&(ne=B.pastFuture(+this,ne)),B.postformat(ne)}var c3=Math.abs;function ru(f){return(f>0)-(f<0)||+f}function V2(){if(!this.isValid())return this.localeData().invalidDate();var f=c3(this._milliseconds)/1e3,y=c3(this._days),x=c3(this._months),N,B,ne,we,_t=this.asSeconds(),Yt,Rn,Lr,$a;return _t?(N=Rr(f/60),B=Rr(N/60),f%=60,N%=60,ne=Rr(x/12),x%=12,we=f?f.toFixed(3).replace(/\.?0+$/,""):"",Yt=_t<0?"-":"",Rn=ru(this._months)!==ru(_t)?"-":"",Lr=ru(this._days)!==ru(_t)?"-":"",$a=ru(this._milliseconds)!==ru(_t)?"-":"",Yt+"P"+(ne?Rn+ne+"Y":"")+(x?Rn+x+"M":"")+(y?Lr+y+"D":"")+(B||N||f?"T":"")+(B?$a+B+"H":"")+(N?$a+N+"M":"")+(f?$a+we+"S":"")):"P0D"}var hn=er.prototype;hn.isValid=xb,hn.abs=je,hn.add=Xe,hn.subtract=ot,hn.as=hr,hn.asMilliseconds=en,hn.asSeconds=Vt,hn.asMinutes=dn,hn.asHours=Pi,hn.asDays=un,hn.asWeeks=Un,hn.asMonths=ki,hn.asQuarters=pr,hn.asYears=Tl,hn.valueOf=wt,hn._bubble=it,hn.clone=Mo,hn.get=qi,hn.milliseconds=Nr,hn.seconds=za,hn.minutes=Tc,hn.hours=Ao,hn.days=Ml,hn.weeks=EL,hn.months=F2,hn.years=IL,hn.humanize=ML,hn.toISOString=V2,hn.toString=V2,hn.toJSON=V2,hn.locale=E2,hn.localeData=Dc,hn.toIsoString=Tt("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",V2),hn.lang=xc,st("X",0,0,"unix"),st("x",0,0,"valueOf"),Re("x",Er),Re("X",$h),En("X",function(f,y,x){x._d=new Date(parseFloat(f)*1e3)}),En("x",function(f,y,x){x._d=new Date(de(f))});return n.version="2.29.4",t(On),n.fn=T,n.min=Kd,n.max=Eb,n.now=wb,n.utc=$,n.unix=R,n.months=J,n.isDate=w,n.locale=Ys,n.invalid=dt,n.duration=Ri,n.isMoment=kt,n.weekdays=re,n.parseZone=M,n.localeData=so,n.isDuration=Xd,n.monthsShort=ie,n.weekdaysMin=xe,n.defineLocale=rp,n.updateLocale=mb,n.locales=vb,n.weekdaysShort=Se,n.normalizeUnits=Ir,n.relativeTimeRounding=DL,n.relativeTimeThreshold=TL,n.calendarFormat=Lb,n.prototype=T,n.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"},n})});var Sce=MM((k1,DM)=>{"use strict";(function(e,n){typeof k1=="object"&&typeof DM=="object"?(e._Highcharts=n(),DM.exports=e._Highcharts):typeof define=="function"&&define.amd?define("highcharts/highcharts",[],n):typeof k1=="object"?(e._Highcharts=n(),k1.highcharts=e._Highcharts):(e.Highcharts&&e.Highcharts.error(16,!0),e.Highcharts=n())})("u"<typeof window?k1:window,()=>(()=>{"use strict";let e,n,t,i,r,o;var l,p,C,w,V,j,$,W,se,be,Ve,dt,sn,Pt,Ot,jt,kt,$i,Tt,eo,$s,dr,uc,Ta,Ma,hc,pc={};pc.d=(v,s)=>{for(var a in s)pc.o(s,a)&&!pc.o(v,a)&&Object.defineProperty(v,a,{enumerable:!0,get:s[a]})},pc.o=(v,s)=>Object.prototype.hasOwnProperty.call(v,s);var N1={};pc.d(N1,{default:()=>l3}),(l=be||(be={})).SVG_NS="http://www.w3.org/2000/svg",l.product="Highcharts",l.version="12.6.0",l.win="u">typeof window?window:{},l.doc=l.win.document,l.svg=!!l.doc?.createElementNS?.(l.SVG_NS,"svg")?.createSVGRect,l.pageLang=l.doc?.documentElement?.closest("[lang]")?.lang,l.userAgent=l.win.navigator?.userAgent||"",l.isChrome=l.win.chrome,l.isFirefox=l.userAgent.indexOf("Firefox")!==-1,l.isMS=/(edge|msie|trident)/i.test(l.userAgent)&&!l.win.opera,l.isSafari=!l.isChrome&&l.userAgent.indexOf("Safari")!==-1,l.isTouchDevice=/(Mobile|Android|Windows Phone)/.test(l.userAgent),l.isWebKit=l.userAgent.indexOf("AppleWebKit")!==-1,l.deg2rad=2*Math.PI/360,l.marginNames=["plotTop","marginRight","marginBottom","plotLeft"],l.noop=function(){},l.supportsPassiveEvents=(function(){let v=!1;if(!l.isMS){let s=Object.defineProperty({},"passive",{get:function(){v=!0}});l.win.addEventListener&&l.win.removeEventListener&&(l.win.addEventListener("testPassive",l.noop,s),l.win.removeEventListener("testPassive",l.noop,s))}return v})(),l.charts=[],l.composed=[],l.dateFormats={},l.seriesTypes={},l.symbolSizes={},l.chartCount=0;let he=be,{doc:vl,win:Aa}=he;function St(v,s,a,c={}){let d=typeof v=="function"&&v.prototype||v;Object.hasOwnProperty.call(d,"hcEvents")||(d.hcEvents={});let u=d.hcEvents;he.Point&&v instanceof he.Point&&v.series&&v.series.chart&&(v.series.chart.runTrackerClick=!0);let h=v.addEventListener;h&&h.call(v,s,a,!!he.supportsPassiveEvents&&{passive:c.passive===void 0?s.indexOf("touch")!==-1:c.passive,capture:!1}),u[s]||(u[s]=[]);let g={fn:a,order:typeof c.order=="number"?c.order:1/0};return u[s].push(g),u[s].sort((m,_)=>m.order-_.order),function(){Pr(v,s,a)}}function So(v){let s=v.length,a=v[0];for(;s--;)v[s]<a&&(a=v[s]);return a}function st(v){let s=v.length,a=v[0];for(;s--;)v[s]>a&&(a=v[s]);return a}function Wi(v,s,a){let c,d=Wt(s)&&!Ee(a),u=(h,g)=>{Ee(h)?v.setAttribute(g,h):d?(c=v.getAttribute(g))||g!=="class"||(c=v.getAttribute(g+"Name")):v.removeAttribute(g)};return Wt(s)?u(a,s):lt(s,u),c}function ni(v,s,a){return v>s?v<a?v:a:s}function yn(v,s){return v>1e14?v:parseFloat(v.toPrecision(s||14))}function Sr(v,s,a,c,d){let u=vl.createElement(v);return s&&tt(u,s),d&&$t(u,{padding:"0",border:"none",margin:"0"}),a&&$t(u,a),c&&c.appendChild(u),u}function to(v,s=0,a){let c=s%2/2,d=a?-1:1;return(Math.round(v*d-c)+c)*d}function $t(v,s){tt(v.style,s)}function Ee(v){return v!=null}function Ws(v,s,a){lt(v,function(c,d){c!==s&&c?.destroy&&c.destroy(),(c?.destroy||!a)&&delete v[d]})}function Ud(v){v?.parentElement?.removeChild(v)}function fc(v,s,a,c){let d={};return(function u(h,g,m,_){let S=a?g:h;lt(h,function(b,I){if(!_&&c&&c.indexOf(I)>-1&&g[I]){b=Si(b),m[I]=[];for(let D=0;D<Math.max(b.length,g[I].length);D++)g[I][D]&&(b[D]===void 0?m[I][D]=g[I][D]:(m[I][D]={},u(b[D],g[I][D],m[I][D],_+1)))}else ln(b,!0)&&!b.nodeType?(m[I]=vn(b)?[]:{},u(b,g[I]||{},m[I],_+1),Object.keys(m[I]).length===0&&(I!=="colorAxis"||_!==0)&&delete m[I]):(h[I]!==g[I]||I in h&&!(I in g))&&I!=="__proto__"&&I!=="constructor"&&(m[I]=S[I])})})(v,s,d,0),d}function Io(v,s){let a=v.length;for(;a--;)if(v[a]===s){v.splice(a,1);break}}function tt(v,s){let a;for(a in v||(v={}),s)v[a]=s[a];return v}function L1(v,s){let a=function(){};return a.prototype=new v,tt(a.prototype,s),a}function _e(v,s,a,c){if(a=a||{}
vendor: 115,622 bytes, lines 4-5
4,vl?.createEvent&&(v.dispatchEvent||v.fireEvent&&v!==he)){let d=vl.createEvent("Events");d.initEvent(s,!0,!0),a=tt(d,a),v.dispatchEvent?v.dispatchEvent(a):v.fireEvent(s,a)}else if(v.hcEvents){a.target||tt(a,{preventDefault:function(){a.defaultPrevented=!0},target:v,type:s});let d=[],u=v,h=!1;for(;u.hcEvents;)Object.hasOwnProperty.call(u,"hcEvents")&&u.hcEvents[s]&&(d.length&&(h=!0),d.unshift.apply(d,u.hcEvents[s])),u=Object.getPrototypeOf(u);h&&d.sort((g,m)=>g.order-m.order),d.forEach(g=>{g.fn.call(v,a,v)===!1&&a.preventDefault()})}c&&!a.defaultPrevented&&c.call(v,a)}let fi=(v="")=>({center:.5,right:1,middle:.5,bottom:1})[v]||0;function Ai(v,s){let a,c,d,u,h=!s;return v.forEach(g=>{if(g.length>1)for(u=c=g.length-1;u>0;u--)(d=g[u]-g[u-1])<0&&!h?(s?.(),s=void 0):d&&(a===void 0||d<a)&&(a=d)}),a}function Ir(v){return Math.pow(10,Math.floor(Math.log(v)/Math.LN10))}function Cl(v,s){let a=v.split(".");for(;a.length&&Ee(s);){let c=a.shift();if(c===void 0||c==="__proto__")return;if(c==="this"){let u;return ln(s)&&(u=s["@this"]),u??s}let d=s[c.replace(/[\\'"]/g,"")];if(!Ee(d)||typeof d=="function"||typeof d.nodeType=="number"||d===Aa)return;s=d}return s}function Qo(v,s,a){let c;if(s==="width"){let u=Math.min(v.offsetWidth,v.scrollWidth),h=v.getBoundingClientRect?.().width;return h<u&&h>=u-1&&(u=Math.floor(h)),Math.max(0,u-(Qo(v,"padding-left",!0)||0)-(Qo(v,"padding-right",!0)||0))}if(s==="height")return Math.max(0,Math.min(v.offsetHeight,v.scrollHeight)-(Qo(v,"padding-top",!0)||0)-(Qo(v,"padding-bottom",!0)||0));let d=Aa.getComputedStyle(v,void 0);return d&&(c=d.getPropertyValue(s),ce(a,s!=="opacity")&&(c=Dt(c))),c}let zn=Array.prototype.find?function(v,s){return v.find(s)}:function(v,s){let a,c=v.length;for(a=0;a<c;a++)if(s(v[a],a))return v[a]};function zh(v){Ee(v)&&clearTimeout(v)}function _l(v){return ln(v)&&typeof v.nodeType=="number"}function Rr(v){let s=v?.constructor;return!!(ln(v,!0)&&!_l(v)&&s?.name&&s.name!=="Object")}function de(v){return typeof v=="number"&&!isNaN(v)&&v<1/0&&v>-1/0}function Wt(v){return typeof v=="string"}function vn(v){let s=Object.prototype.toString.call(v);return s==="[object Array]"||s==="[object Array Iterator]"}function Oa(v){return typeof v=="function"}function ln(v,s){return!!v&&typeof v=="object"&&(!s||!vn(v))}function Je(v,...s){let a,c=[v,...s],d={},u=function(g,m){return typeof g!="object"&&(g={}),lt(m,function(_,S){S!=="__proto__"&&S!=="constructor"&&(!ln(_,!0)||Rr(_)||_l(_)?g[S]=m[S]:g[S]=u(g[S]||{},_))}),g};v===!0&&(d=c[1],c=Array.prototype.slice.call(c,2));let h=c.length;for(a=0;a<h;a++)d=u(d,c[a]);return d}function gc(v,s,a,c,d){let u,h=v;a=ce(a,Ir(v));let g=v/a;for(!s&&(s=d?[1,1.2,1.5,2,2.5,3,4,5,6,8,10]:[1,2,2.5,5,10],c===!1&&(a===1?s=s.filter(function(m){return m%1==0}):a<=.1&&(s=[1/a]))),u=0;u<s.length&&(h=s[u],(!d||!(h*a>=v))&&(d||!(g<=(s[u]+(s[u+1]||s[u]))/2)));u++);return yn(h*a,-Math.round(Math.log(.001)/Math.LN10))}function lt(v,s,a){for(let c in v)Object.hasOwnProperty.call(v,c)&&s.call(a||v[c],v[c],c,v)}function Gh(v){let s=vl.documentElement,a=v.parentElement||v.parentNode?v.getBoundingClientRect():{top:0,left:0,width:0,height:0};return{top:a.top+(Aa.pageYOffset||s.scrollTop)-(s.clientTop||0),left:a.left+(Aa.pageXOffset||s.scrollLeft)-(s.clientLeft||0),width:a.width,height:a.height}}function Eo(v,s,a){return Array((s||2)+1-String(v).replace("-","").length).join(a||"0")+v}function ce(){let v=arguments,s=v.length;for(let a=0;a<s;a++){let c=v[a];if(c!=null)return c}}function Dt(v,s){return parseInt(v,s||10)}function no(v,s){return 0>v.indexOf(s)&&!!v.push(s)}function Oi(v,s,a){return/%$/.test(v)?s*parseFloat(v)/100+(a||0):parseFloat(v)}function mc(v,...s){let a,c;do for(c of(a=v,s))v=v.replace(c[0],c[1]);while(v!==a);return v}function Pr(v,s,a){function c(h,g){let m=v.removeEventListener;m&&m.call(v,h,g,!1)}function d(h){let g,m;v.nodeName&&(s?(g={})[s]=!0:g=h,lt(g,function(_,S){if(h[S])for(m=h[S].length;m--;)c(S,h[S][m].fn)}))}let u=typeof v=="function"&&v.prototype||v;if(Object.hasOwnProperty.call(u,"hcEvents")){let h=u.hcEvents;if(s){let g=h[s]||[];a?(h[s]=g.filter(function(m){return a!==m.fn}),c(s,a)):(d(h),h[s]=[])}else d(h),delete u.hcEvents}}function Si(v){return vn(v)?v:[v]}function Zo(v,s){let a,c,d=v.length;for(c=0;c<d;c++)v[c].safeI=c;for(v.sort(function(u,h){return(a=s(u,h))===0?u.safeI-h.safeI:a}),c=0;c<d;c++)delete v[c].safeI}function Er(v,s,a){return s>0?setTimeout(v,s,a):(v.call(0,a),-1)}function F1(v){return Wt(v)?v.substring(0,1).toUpperCase()+v.substring(1):String(v)}let{charts:Hd,win:$h}=he;function Ln(v,s,a,c){let d=s?"Highcharts error":"Highcharts warning";v===32&&(v=`${d}: Deprecated member`);let u=de(v),h=u?`${d} #${v}: www.highcharts.com/errors/${v}/`:v.toString();if(c!==void 0){let g="";u&&(h+="?"),lt(c,function(m,_){g+=` 5 - ${_}: ${m}`,u&&(h+=encodeURI(_)+"="+encodeURI(m))}),h+=g}_e(he,"displayError",{chart:a,code:v,message:h,params:c},function(){if(s)throw Error(h);$h.console&&Ln.messages.indexOf(h)===-1&&console.warn(h)}),Ln.messages.push(h)}function Ra(v,s){let a,c=v.options.index,d=s.length;for(a=v.options.isInternal?d:0;a<d+1;a++)if(!s[a]||de(c)&&c<ce(s[a].options.index,s[a]._i)||s[a].options.isInternal){s.splice(a,0,v);break}return a}(Ln||(Ln={})).messages=[];let Re={millisecond:1,second:1e3,minute:6e4,hour:36e5,day:864e5,week:6048e5,month:24192e5,year:314496e5};Math.easeInOutSine=function(v){return-.5*(Math.cos(Math.PI*v)-1)};let io=(t=Math.random().toString(36).substring(2,9)+"-",i=0,function(){return"highcharts-"+(e?"":t)+i++});$h.jQuery&&($h.jQuery.fn.highcharts=function(){let v=[].slice.call(arguments);if(this[0])return v[0]?(new he[Wt(v[0])?v.shift():"Chart"](this[0],v[0],v[1]),this):Hd[Wi(this[0],"data-highcharts-chart")]});let{pageLang:eb,win:Ji}=he,Wh=he.isSafari&&Ji.Intl&&!Ji.Intl.DateTimeFormat.prototype.formatRange,En=class{constructor(v,s){this.options={timezone:"UTC"},this.variableTimezone=!1,this.Date=Ji.Date,this.update(v),this.lang=s}update(v={}){this.dTLCache={},this.options=v=Je(!0,this.options,v);let{timezoneOffset:s,useUTC:a,locale:c}=v;this.Date=v.Date||Ji.Date||Date;let d=v.timezone;Ee(a)&&(d=a?"UTC":void 0),s&&s%60==0&&(d="Etc/GMT"+(s>0?"+":"")+s/60),this.variableTimezone=d!=="UTC"&&d?.indexOf("Etc/GMT")!==0,this.timezone=d,this.lang&&c&&(this.lang.locale=c),["months","shortMonths","weekdays","shortWeekdays"].forEach(u=>{let h=/months/i.test(u),g=/short/.test(u),m={timeZone:"UTC"};m[h?"month":"weekday"]=g?"short":"long",this[u]=(h?[0,1,2,3,4,5,6,7,8,9,10,11]:[3,4,5,6,7,8,9]).map(_=>this.dateFormat(m,(h?31:1)*24*36e5*_))})}toParts(v){let[s,a,c,d,u,h,g]=this.dateTimeFormat({weekday:"narrow",day:"numeric",month:"numeric",year:"numeric",hour:"numeric",minute:"numeric",second:"numeric"},v,"es").split(/(?:, | |\/|:)/g);return[d,c-1,a,u,h,g,Math.floor(Number(v)||0)%1e3,"DLMXJVS".indexOf(s)].map(Number)}dateTimeFormat(v,s,a=this.options.locale||eb){let c=JSON.stringify(v)+a;Wt(v)&&(v=this.str2dtf(v));let d=this.dTLCache[c];if(!d){v.timeZone??(v.timeZone=this.timezone);try{d=new Intl.DateTimeFormat(a,v)}catch(u){/Invalid time zone/i.test(u.message)?(Ln(34),v.timeZone="UTC",d=new Intl.DateTimeFormat(a,v)):Ln(u.message,!1)}}return this.dTLCache[c]=d,d?.format(s)||""}str2dtf(v,s={}){let a={L:{fractionalSecondDigits:3},S:{second:"2-digit"},M:{minute:"numeric"},H:{hour:"2-digit"},k:{hour:"numeric"},E:{weekday:"narrow"},a:{weekday:"short"},A:{weekday:"long"},d:{day:"2-digit"},e:{day:"numeric"},b:{month:"short"},B:{month:"long"},m:{month:"2-digit"},o:{month:"numeric"},y:{year:"2-digit"},Y:{year:"numeric"}};return Object.keys(a).forEach(c=>{v.indexOf(c)!==-1&&tt(s,a[c])}),s}makeTime(v,s,a=1,c=0,d,u,h){let g=this.Date.UTC(v,s,a,c,d||0,u||0,h||0);if(this.timezone!=="UTC"){let m=this.getTimezoneOffset(g);if(g+=m,[2,3,8,9,10,11].indexOf(s)!==-1&&(c<5||c>20)){let _=this.getTimezoneOffset(g);m!==_?g+=_-m:m-36e5!==this.getTimezoneOffset(g-36e5)||Wh||(g-=36e5)}}return g}parse(v){if(!Wt(v))return v??void 0;let s=(v=v.replace(/\//g,"-").replace(/(GMT|UTC)/,"")).indexOf("Z")>-1||/([+-][0-9]{2}):?[0-9]{2}$/.test(v),a=/^[0-9]{4}-[0-9]{2}(-[0-9]{2}|)$/.test(v);s||a||(v+="Z");let c=Date.parse(v);if(de(c))return c+(!s||a?this.getTimezoneOffset(c):0)}getTimezoneOffset(v){if(this.timezone!=="UTC"){let[s,a,c,d,u=0]=this.dateTimeFormat({timeZoneName:"shortOffset"},v,"en").split(/(GMT|:)/).map(Number),h=-(60*(c+u/60)*6e4);if(de(h))return h}return 0}dateFormat(v,s,a){let c=this.lang;if(!Ee(s)||isNaN(s))return c?.invalidDate||"";if(Wt(v=v??"%Y-%m-%d %H:%M:%S")){let d,u=/%\[([a-zA-Z]+)\]/g;for(;d=u.exec(v);)v=v.replace(d[0],this.dateTimeFormat(d[1],s,c?.locale))}if(Wt(v)&&v.indexOf("%")!==-1){let d=this,[u,h,g,m,_,S,b,I]=this.toParts(s),D=c?.weekdays||this.weekdays,T=c?.shortWeekdays||this.shortWeekdays,R=c?.months||this.months,M=c?.shortMonths||this.shortMonths;lt(tt({a:T?T[I]:D[I].substr(0,3),A:D[I],d:Eo(g),e:Eo(g,2," "),w:I,v:c?.weekFrom??"",b:M[h],B:R[h],m:Eo(h+1),o:h+1,y:u.toString().substr(2,2),Y:u,H:Eo(m),k:m,I:Eo(m%12||12),l:m%12||12,M:Eo(_),p:m<12?"AM":"PM",P:m<12?"am":"pm",S:Eo(S),L:Eo(b,3)},he.dateFormats),function(O,H){if(Wt(v))for(;v.indexOf("%"+H)!==-1;)v=v.replace("%"+H,typeof O=="function"?O.call(d,s,d):O)})}else if(ln(v)){let d=(this.getTimezoneOffset(s)||0)/36e5,u=this.timezone||"Etc/GMT"+(d>=0?"+":"")+d,{prefix:h="",suffix:g=""}=v;v=h+this.dateTimeFormat(tt({timeZone:u},v),s)+g}return a?F1(v):v}resolveDTLFormat(v){return ln(v,!0)?ln(v,!0)&&v.main===void 0?{main:v}:v:{main:(v=Si(v))[0],from:v[1],to:v[2]}}getDateFormat(v,s,a,c){let d=this.dateFormat("%m-%d %H:%M:%S.%L",s),u="01-01 00:00:00.000",h={millisecond:15,second:12,minute:9,hour:6,day:3},g="millisecond",m=g;for(g in Re){if(v&&v===Re.week&&+this.dateFormat("%w",s)===a&&d.substr(6)===u.substr(6)){g="week";break}if(v&&Re[g]>v){g=m;break}if(h[g]&&d.substr(h[g])!==u.substr(h[g]))break;g!=="week"&&(m=g)}return this.resolveDTLFormat(c[g]).main}},Pa=class extends En{getTimeTicks(v,s,a,c){let d=this,u=[],h={},{count:g=1,unitRange:m}=v,[_,S,b,I,D,T]=d.toParts(s),R=(s||0)%1e3,M;if(c??(c=1),Ee(s)){if(R=m>=Re.second?0:g*Math.floor(R/g),m>=Re.second&&(T=m>=Re.minute?0:g*Math.floor(T/g)),m>=Re.minute&&(D=m>=Re.hour?0:g*Math.floor(D/g)),m>=Re.hour&&(I=m>=Re.day?0:g*Math.floor(I/g)),m>=Re.day&&(b=m>=Re.month?1:Math.max(1,g*Math.floor(b/g))),m>=Re.month&&(S=m>=Re.year?0:g*Math.floor(S/g)),m>=Re.year&&(_-=_%g),m===Re.week){g&&(s=d.makeTime(_,S,b,I,D,T,R));let G=this.dateTimeFormat({timeZone:this.timezone,weekday:"narrow"},s,"es"),K="DLMXJVS".indexOf(G);b+=-K+c+(K<c?-7:0)}s=d.makeTime(_,S,b,I,D,T,R),d.variableTimezone&&Ee(a)&&(M=a-s>4*Re.month||d.getTimezoneOffset(s)!==d.getTimezoneOffset(a));let O=s,H=1;for(;O<a;)u.push(O),m===Re.year?O=d.makeTime(_+H*g,0):m===Re.month?O=d.makeTime(_,S+H*g):M&&(m===Re.day||m===Re.week)?O=d.makeTime(_,S,b+H*g*(m===Re.day?1:7)):M&&m===Re.hour&&g>1?O=d.makeTime(_,S,b,I+H*g):O+=m*g,H++;u.push(O),m<=Re.hour&&u.length<1e4&&u.forEach(G=>{G%18e5==0&&d.dateFormat("%H%M%S%L",G)==="000000000"&&(h[G]="day")})}return u.info=tt(v,{higherRanks:h,totalRange:m*g}),u}},{isTouchDevice:tb}=he,Gn={colors:["#2caffe","#544fc5","#00e272","#fe6a35","#6b8abc","#d568fb","#2ee0ca","#fa4b42","#feb56a","#91e8e1"],symbols:["circle","diamond","square","triangle","triangle-down"],lang:{weekFrom:"week from",chartTitle:"Chart title",locale:void 0,loading:"Loading...",months:void 0,seriesName:"Series {add index 1}",shortMonths:void 0,weekdays:void 0,numericSymbols:["k","M","G","T","P","E"],pieSliceName:"Slice",resetZoom:"Reset zoom",yAxisTitle:"Values",resetZoomTitle:"Reset zoom level 1:1"},global:{buttonTheme:{fill:"#f7f7f7",padding:8,r:2,stroke:"#cccccc","stroke-width":1,style:{color:"#333333",cursor:"pointer",fontSize:"0.8em",fontWeight:"normal"},states:{hover:{fill:"#e6e6e6"},select:{fill:"#e6e9ff",style:{color:"#000000",fontWeight:"bold"}},disabled:{style:{color:"#cccccc"}}}}},time:{Date:void 0,timezone:"UTC",timezoneOffset:0,useUTC:void 0},chart:{alignThresholds:!1,panning:{enabled:!1,type:"x"},styledMode:!1,borderRadius:0,colorCount:10,allowMutatingData:!0,ignoreHiddenSeries:!0,spacing:[10,10,15,10],resetZoomButton:{theme:{},position:{}},reflow:!0,type:"line",zooming:{singleTouch:!1,resetButton:{theme:{zIndex:6},position:{align:"right",x:-10,y:10}}},width:null,height:null,borderColor:"#334eff",backgroundColor:"#ffffff",plotBorderColor:"#cccccc"},title:{style:{color:"#333333",fontWeight:"bold"},text:"Chart title",margin:15,minScale:.67},subtitle:{style:{color:"#666666",fontSize:"0.8em"},text:""},caption:{margin:15,style:{color:"#666666",fontSize:"0.8em"},text:"",align:"left",verticalAlign:"bottom"},plotOptions:{},legend:{enabled:!0,align:"center",alignColumns:!0,className:"highcharts-no-tooltip",events:{},layout:"horizontal",itemMarginBottom:2,itemMarginTop:2,labelFormatter:function(){return this.name},borderColor:"#999999",borderRadius:0,navigation:{style:{fontSize:"0.8em"},activeColor:"#0022ff",inactiveColor:"#cccccc"},itemStyle:{color:"#333333",cursor:"pointer",fontSize:"0.8em",textDecoration:"none",textOverflow:"ellipsis"},itemHoverStyle:{color:"#000000"},itemHiddenStyle:{color:"#666666",textDecoration:"line-through"},shadow:!1,itemCheckboxStyle:{position:"absolute",width:"13px",height:"13px"},squareSymbol:!0,symbolPadding:5,verticalAlign:"bottom",x:0,y:0,title:{style:{color:"#333333",fontSize:"0.8em",fontWeight:"bold"}}},loading:{labelStyle:{fontWeight:"bold",position:"relative",top:"45%"},style:{position:"absolute",backgroundColor:"#ffffff",opacity:.5,textAlign:"center"}},tooltip:{enabled:!0,animation:{duration:300,easing:v=>Math.sqrt(1-Math.pow(v-1,2))},borderRadius:3,dateTimeLabelFormats:{millisecond:"%[AebHMSL]",second:"%[AebHMS]",minute:"%[AebHM]",hour:"%[AebHM]",day:"%[AebY]",week:"%v %[AebY]",month:"%[BY]",year:"%Y"},footerFormat:"",headerShape:"callout",hideDelay:500,showDelay:0,padding:8,position:{x:0,y:3},shared:!1,snap:tb?25:10,headerFormat:'<span style="font-size: 0.8em">{ucfirst point.key}</span><br/>',pointFormat:'<span style="color:{point.color}">\u25CF</span> {series.name}: <b>{point.y}</b><br/>',backgroundColor:"#ffffff",borderWidth:void 0,stickOnContact:!1,style:{color:"#333333",cursor:"default",fontSize:"0.8em"},useHTML:!1},credits:{enabled:!0,href:"https://www.highcharts.com?credits",position:{align:"right",x:-10,verticalAlign:"bottom",y:-5},style:{cursor:"pointer",color:"#999999",fontSize:"0.6em"},text:"Highcharts.com"}},wo=new Pa(Gn.time,Gn.lang),li={defaultOptions:Gn,defaultTime:wo,getOptions:function(){return Gn},setOptions:function(v){return _e(he,"setOptions",{options:v}),Je(!0,Gn,v),v.time&&wo.update(Gn.time),v.lang&&"locale"in v.lang&&wo.update({locale:v.lang.locale}),v.lang?.chartTitle&&(Gn.title=U(k({},Gn.title),{text:v.lang.chartTitle})),Gn}},{win:Ii}=he,ro=(v,s,a)=>`color-mix(in srgb,${v},${s} ${100*a}%)`,xo=v=>Wt(v)&&!!v&&v!=="none";class Cn{static parse(s){return s?new Cn(s):Cn.None}constructor(s){let a,c,d,u;this.rgba=[NaN,NaN,NaN,NaN],this.input=s;let h=he.Color;if(h&&h!==Cn)return new h(s);if(typeof s=="object"&&s.stops!==void 0)this.stops=s.stops.map(g=>new Cn(g[1]));else if(typeof s=="string")for(this.input=s=Cn.names[s.toLowerCase()]||s,d=Cn.parsers.length;d--&&!c;)(a=(u=Cn.parsers[d]).regex.exec(s))&&(c=u.parse(a));c&&(this.rgba=c)}get(s){let a=this.input,c=this.rgba;if(this.output)return this.output;if(typeof a=="object"&&this.stops!==void 0){let d=Je(a);return d.stops=[].slice.call(d.stops),this.stops.forEach((u,h)=>{d.stops[h]=[d.stops[h][0],u.get(s)]}),d}return c&&de(c[0])?s!=="rgb"&&(s||c[3]!==1)?s==="a"?`${c[3]}`:"rgba("+c.join(",")+")":"rgb("+c[0]+","+c[1]+","+c[2]+")":a}brighten(s){let a=this.rgba;if(this.stops)this.stops.forEach(function(c){c.brighten(s)});else if(de(s)&&s!==0)if(de(a[0]))for(let c=0;c<3;c++)a[c]+=Dt(255*s),a[c]<0&&(a[c]=0),a[c]>255&&(a[c]=255);else Cn.useColorMix&&xo(this.input)&&(this.output=ro(this.input,s>0?"white":"black",Math.abs(s)));return this}setOpacity(s){return this.rgba[3]=s,this}tweenTo(s,a){let c=this.rgba,d=s.rgba;if(!de(c[0])||!de(d[0]))return Cn.useColorMix&&xo(this.input)&&xo(s.input)&&a<.99?ro(this.input,s.input,a):s.input||"none";let u=d[3]!==1||c[3]!==1,h=(m,_)=>m+(c[_]-m)*(1-a),g=d.slice(0,3).map(h).map(Math.round);return u&&g.push(h(d[3],3)),(u?"rgba(":"rgb(")+g.join(",")+")"}}Cn.names={white:"#ffffff",black:"#000000"},Cn.parsers=[{regex:/rgba\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d?(?:\.\d+)?)\s*\)/,parse:function(v){return[Dt(v[1]),Dt(v[2]),Dt(v[3]),parseFloat(v[4],10)]}},{regex:/rgb\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*\)/,parse:function(v){return[Dt(v[1]),Dt(v[2]),Dt(v[3]),1]}},{regex:/^#([a-f0-9])([a-f0-9])([a-f0-9])([a-f0-9])?$/i,parse:function(v){return[Dt(v[1]+v[1],16),Dt(v[2]+v[2],16),Dt(v[3]+v[3],16),Ee(v[4])?Dt(v[4]+v[4],16)/255:1]}},{regex:/^#([a-f0-9]{2})([a-f0-9]{2})([a-f0-9]{2})([a-f0-9]{2})?$/i,parse:function(v){return[Dt(v[1],16),Dt(v[2],16),Dt(v[3],16),Ee(v[4])?Dt(v[4],16)/255:1]}}],Cn.useColorMix=Ii.CSS?.supports("color","color-mix(in srgb,red,blue 9%)"),Cn.None=new Cn("");let{parse:V1}=Cn,{win:nb}=he;class ur{constructor(s,a,c){this.pos=NaN,this.options=a,this.elem=s,this.prop=c}dSetter(){let s=this.paths,a=s?.[0],c=s?.[1],d=this.now||0,u=[];if(d!==1&&a&&c)if(a.length===c.length&&d<1)for(let h=0;h<c.length;h++){let g=a[h],m=c[h],_=[];for(let S=0;S<m.length;S++){let b=g[S],I=m[S];de(b)&&de(I)&&(m[0]!=="A"||S!==4&&S!==5)?_[S]=b+d*(I-b):_[S]=I}u.push(_)}else u=c;else u=this.toD||[];this.elem.attr("d",u,void 0,!0)}update(){let s=this.elem,a=this.prop,c=this.now,d=this.options.step;this[a+"Setter"]?this[a+"Setter"]():s.attr?s.element&&s.attr(a,c,null,!0):s.style[a]=c+this.unit,d&&d.call(s,c,this)}run(s,a,c){let d=this,u=d.options,h=function(_){return!h.stopped&&d.step(_)},g=nb.requestAnimationFrame||function(_){setTimeout(_,13)},m=function(){for(let _=0;_<ur.timers.length;_++)ur.timers[_]()||ur.timers.splice(_--,1);ur.timers.length&&g(m)};s!==a||this.elem["forceAnimate:"+this.prop]?(this.startTime=+new Date,this.start=s,this.end=a,this.unit=c,this.now=this.start,this.pos=0,h.elem=this.elem,h.prop=this.prop,h()&&ur.timers.push(h)===1&&g(m)):(delete u.curAnim[this.prop],u.complete&&Object.keys(u.curAnim).length===0&&u.complete.call(this.elem))}step(s){let a,c,d=+new Date,u=this.options,h=this.elem,g=u.complete,m=u.duration,_=u.curAnim;return h.attr&&!h.element?a=!1:s||d>=m+this.startTime?(this.now=this.end,this.pos=1,this.update(),_[this.prop]=!0,c=!0,lt(_,function(S){S!==!0&&(c=!1)}),c&&g&&g.call(h),a=!1):(this.pos=u.easing((d-this.startTime)/m),this.now=this.start+(this.end-this.start)*this.pos,this.update(),a=!0),a}initPath(s,a,c){let d=s.startX,u=s.endX,h=c.slice(),g=s.isArea,m=g?2:1,_=a&&c.length>a.length&&c.hasStackedCliffs,S,b,I,D,T=a?.slice();if(!T||_)return[h,h];function R(O,H){for(;O.length<b;){let G=O[0],K=H[b-O.length];if(K&&G[0]==="M"&&(K[0]==="C"?O[0]=["C",G[1],G[2],G[1],G[2],G[1],G[2]]:O[0]=["L",G[1],G[2]]),O.unshift(G),g){let Q=O.pop();O.push(O[O.length-1],Q)}}}function M(O){for(;O.length<b;){let H=O[Math.floor(O.length/m)-1].slice();if(H[0]==="C"&&(H[1]=H[5],H[2]=H[6]),g){let G=O[Math.floor(O.length/m)].slice();O.splice(O.length/2,0,H,G)}else O.push(H)}}if(d&&u&&u.length){for(I=0;I<d.length;I++)if(d[I]===u[0]){S=I;break}else if(d[0]===u[u.length-d.length+I]){S=I,D=!0;break}else if(d[d.length-1]===u[u.length-d.length+I]){S=d.length-I;break}S===void 0&&(T=[])}return T.length&&de(S)&&(b=h.length+S*m,D?(R(T,h),M(h)):(R(h,T),M(T))),[T,h]}fillSetter(){ur.prototype.strokeSetter.apply(this,arguments)}strokeSetter(){this.elem.attr(this.prop,V1(this.start).tweenTo(V1(this.end),this.pos),void 0,!0)}}function Xn(v){return ln(v)?Je({duration:500,defer:0},v):{duration:500*!!v,defer:0}}function vc(v,s){let a=ur.timers.length;for(;a--;)ur.timers[a].elem!==v||s&&s!==ur.timers[a].prop||(ur.timers[a].stopped=!0)}ur.timers=[];let Yi={animate:function(v,s,a){let c,d="",u,h,g;ln(a)||(g=arguments,a={duration:g[2],easing:g[3],complete:g[4]}),de(a.duration)||(a.duration=400),a.easing=typeof a.easing=="function"?a.easing:Math[a.easing]||Math.easeInOutSine,a.curAnim=Je(s),lt(s,function(m,_){vc(v,_),h=new ur(v,a,_),u=void 0,_==="d"&&vn(s.d)?(h.paths=h.initPath(v,v.pathArray,s.d),h.toD=s.d,c=0,u=1):v.attr?c=v.attr(_):(c=parseFloat(Qo(v,_))||0,_!=="opacity"&&(d="px")),u||(u=m),typeof u=="string"&&u.match("px")&&(u=u.replace(/px/g,"")),h.run(c,u,d)})},animObject:Xn,getDeferredAnimation:function(v,s,a){let c=Xn(s),d=a?[a]:v.series,u=0,h=0;return d.forEach(g=>{let m=Xn(g.options.animation);u=ln(s)&&Ee(s.defer)?c.defer:Math.max(u,m.duration+m.defer),h=Math.min(c.duration,m.duration)}),v.renderer.forExport&&(u=0),{defer:Math.max(0,u-h),duration:Math.min(u,h)}},setAnimation:function(v,s){s.renderer.globalAnimation=ce(v,s.options.chart.animation,!0)},stop:vc},{SVG_NS:Yh,win:U1}=he,{trustedTypes:qh}=U1,Bd=qh&&Oa(qh.createPolicy)&&qh.createPolicy("highcharts",{createHTML:v=>v}),ib=Bd?Bd.createHTML(""):"";class Fn{static filterUserAttributes(s){return lt(s,(a,c)=>{let d=!0;Fn.allowedAttributes.indexOf(c)===-1&&(d=!1),["background","dynsrc","href","lowsrc","src"].indexOf(c)!==-1&&(d=Wt(a)&&Fn.allowedReferences.some(u=>a.indexOf(u)===0)),d||(Ln(33,!1,void 0,{"Invalid attribute in config":`${c}`}),delete s[c]),Wt(a)&&s[c]&&(s[c]=a.replace(/</g,"<"))}),s}static parseStyle(s){return s.split(";").reduce((a,c)=>{let d=c.split(":").map(h=>h.trim()),u=d.shift();return u&&d.length&&(a[u.replace(/-([a-z])/g,h=>h[1].toUpperCase())]=d.join(":")),a},{})}static setElementHTML(s,a){s.innerHTML=Fn.emptyHTML,a&&new Fn(a).addToDOM(s)}constructor(s){this.nodes=typeof s=="string"?this.parseMarkup(s):s}addToDOM(s){return(function a(c,d){let u;return Si(c).forEach(function(h){let g,m=h.tagName,_=h.textContent?he.doc.createTextNode(h.textContent):void 0,S=Fn.bypassHTMLFiltering;if(m)if(m==="#text")g=_;else if(Fn.allowedTags.indexOf(m)!==-1||S){let b=m==="svg"?Yh:d.namespaceURI||Yh,I=he.doc.createElementNS(b,m),D=h.attributes||{};lt(h,function(T,R){R!=="tagName"&&R!=="attributes"&&R!=="children"&&R!=="style"&&R!=="textContent"&&(D[R]=T)}),Wi(I,S?D:Fn.filterUserAttributes(D)),h.style&&$t(I,h.style),_&&I.appendChild(_),a(h.children||[],I),g=I}else Ln(33,!1,void 0,{"Invalid tagName in config":m});g&&d.appendChild(g),u=g}),u})(this.nodes,s)}parseMarkup(s){let a,c=[];s=s.trim().replace(/ style=(["'])/g," data-style=$1");try{a=new DOMParser().parseFromString(Bd?Bd.createHTML(s):s,"text/html")}catch{}if(!a){let u=Sr("div");u.innerHTML=s,a={body:u}}let d=(u,h)=>{let g=u.nodeName.toLowerCase(),m={tagName:g};g==="#text"&&(m.textContent=u.textContent||"");let _=u.attributes;if(_){let S={};[].forEach.call(_,b=>{b.name==="data-style"?m.style=Fn.parseStyle(b.value):S[b.name]=b.value}),m.attributes=S}if(u.childNodes.length){let S=[];[].forEach.call(u.childNodes,b=>{d(b,S)}),S.length&&(m.children=S)}h.push(m)};return[].forEach.call(a.body.childNodes,u=>d(u,c)),c}}Fn.allowedAttributes=["alt","aria-controls","aria-describedby","aria-expanded","aria-haspopup","aria-hidden","aria-label","aria-labelledby","aria-live","aria-pressed","aria-readonly","aria-roledescription","aria-selected","class","clip-path","color","colspan","cx","cy","d","disabled","dx","dy","fill","filterUnits","flood-color","flood-opacity","height","href","id","in","in2","markerHeight","markerWidth","offset","opacity","operator","orient","padding","paddingLeft","paddingRight","patternUnits","r","radius","refX","refY","result","role","rowspan","scope","slope","src","startOffset","stdDeviation","stroke-linecap","stroke-width","stroke","style","summary","tabindex","tableValues","target","text-align","text-anchor","textAnchor","textLength","title","type","valign","width","x","x1","x2","xlink:href","y","y1","y2","zIndex"],Fn.allowedReferences=["https://","http://","mailto:","/","../","./","#"],Fn.allowedTags=["#text","a","abbr","b","br","button","caption","circle","clipPath","code","dd","defs","div","dl","dt","em","feComponentTransfer","feComposite","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feMerge","feMergeNode","feMorphology","feOffset","filter","h1","h2","h3","h4","h5","h6","hr","i","img","li","linearGradient","marker","ol","p","path","pattern","pre","rect","small","span","stop","strong","style","sub","sup","svg","table","tbody","td","text","textPath","th","thead","title","tr","tspan","u","ul"],Fn.emptyHTML=ib,Fn.bypassHTMLFiltering=!1;let{defaultOptions:H1,defaultTime:B1}=li,{pageLang:j1}=he,Cc={add:(v,s)=>v+s,divide:(v,s)=>s!==0?v/s:"",eq:(v,s)=>v==s,each:function(v){let s=arguments[arguments.length-1];return!!vn(v)&&v.map((a,c)=>jd(s.body,tt(ln(a)?a:{"@this":a},{"@index":c,"@first":c===0,"@last":c===v.length-1}))).join("")},ge:(v,s)=>v>=s,gt:(v,s)=>v>s,if:v=>!!v,le:(v,s)=>v<=s,lt:(v,s)=>v<s,multiply:(v,s)=>v*s,ne:(v,s)=>v!=s,subtract:(v,s)=>v-s,ucfirst:F1,unless:v=>!v},z1={};function jd(v="",s,a){let c=RegExp(`\\{([\\p{L}\\p{M}\\d:\\.,;\\-\\/<>\\[\\]%_@+"'\u2019= #\\(\\)]+)\\}`,"gu"),d=RegExp(`\\(([\\p{L}\\p{M}\\d:\\.,;\\-\\/<>\\[\\]%_@+"'= ]+)\\)`,"gu"),u=[],h=/f$/,g=/\.(\d)/,m=a?.options?.lang||H1.lang,_=a?.time||B1,S=a?.numberFormatter||G1.bind(a),b=(M="")=>{let O;return M==="true"||M!=="false"&&((O=Number(M)).toString()===M?O:/^["'].+["']$/.test(M)?M.slice(1,-1):Cl(M,s))},I,D,T=0,R;for(;(I=c.exec(v))!==null;){let M=I,O=d.exec(I[1]);O&&(I=O,R=!0),D?.isBlock||(D={ctx:s,expression:I[1],find:I[0],isBlock:I[1].charAt(0)==="#",start:I.index,startInner:I.index+I[0].length,length:I[0].length});let H=(D.isBlock?M:I)[1].split(" ")[0].replace("#","");Cc[H]&&(D.isBlock&&H===D.fn&&T++,D.fn||(D.fn=H));let G=I[1]==="else";if(D.isBlock&&D.fn&&(I[1]===`/${D.fn}`||G))if(T)!G&&T--;else{let K=D.startInner,Q=v.substr(K,I.index-K);D.body===void 0?(D.body=Q,D.startInner=I.index+I[0].length):D.elseBody=Q,D.find+=Q+I[0],G||(u.push(D),D=void 0)}else D.isBlock||u.push(D);if(O&&!D?.isBlock)break}return u.forEach(M=>{let O,H,{body:G,elseBody:K,expression:Q,fn:J}=M;if(J){let ie=[M],re=[],Se=Q.length,xe=0,ve;for(H=0;H<=Se;H++){let je=Q.charAt(H);ve||je!=='"'&&je!=="'"?ve===je&&(ve=""):ve=je,ve||je!==" "&&H!==Se||(re.push(Q.substr(xe,H-xe)),xe=H+1)}for(H=Cc[J].length;H--;)ie.unshift(b(re[H+1]));O=Cc[J].apply(s,ie),M.isBlock&&typeof O=="boolean"&&(O=jd(O?G:K,s,a))}else{let ie=/^["'].+["']$/.test(Q)?[Q]:Q.split(":");if(O=b(ie.shift()||""),ie.length&&typeof O=="number"){let re=ie.join(":");if(h.test(re)){let Se=parseInt((re.match(g)||["","-1"])[1],10);O!==null&&(O=S(O,Se,m.decimalPoint,re.indexOf(",")>-1?m.thousandsSep:""))}else O=_.dateFormat(re,O)}d.lastIndex=0,d.test(M.find)&&Wt(O)&&(O=`"${O}"`)}v=v.replace(M.find,ce(O,""))}),R?jd(v,s,a):v}function G1(v,s,a,c){s*=1;let d,u,[h,g]=(v=+v||0).toString().split("e").map(Number),m=this?.options?.lang||H1.lang,_=(v.toString().split(".")[1]||"").split("e")[0].length,S=s,b={};a??(a=m.decimalPoint),c??(c=m.thousandsSep),s===-1?s=Math.min(_,20):de(s)?s&&g<0&&((u=s+g)>=0?(h=+h.toExponential(u).split("e")[0],s=u):(h=Math.floor(h),v=s<20?+(h*Math.pow(10,g)).toFixed(s):0,g=0)):s=2,g&&(s??(s=2),v=h),de(s)&&s>=0&&(b.minimumFractionDigits=s,b.maximumFractionDigits=s),c===""&&(b.useGrouping=!1);let I=c||a,D=I?"en":this?.locale||m.locale||j1,T=JSON.stringify(b)+D;return d=(z1[T]??(z1[T]=new Intl.NumberFormat(D,b))).format(v),I&&(d=d.replace(/([,\.])/g,"_$1").replace(/_\,/g,c??",").replace("_.",a??".")),(s||+d!=0)&&(!(g<0)||S)||(d="0"),g&&+d!=0&&(d+="e"+(g<0?"":"+")+g),d}let kr={dateFormat:function(v,s,a){return B1.dateFormat(v,s,a)},format:jd,helpers:Cc,numberFormat:G1};(p=Ve||(Ve={})).rendererTypes={},p.getRendererType=function(v=r){return p.rendererTypes[v]||p.rendererTypes[r]},p.registerRendererType=function(v,s,a){p.rendererTypes[v]=s,(!r||a)&&(r=v,he.Renderer=s)};let gs=Ve;(dt||(dt={})).distribute=function v(s,a,c){let d=s,u=d.reducedLen||a,h=(M,O)=>M.target-O.target,g=[],m=s.length,_=[],S=g.push,b,I=!0,D,T,R=0;for(b=m;b--;)R+=s[b].size;if(R>u){if(Zo(s,(M,O)=>(O.rank||0)-(M.rank||0)),s[0].rank===s[s.length-1].rank){let M=[[0,m-1]];for(;M.length&&R>u;){let O=M.shift();if(!O)break;D=s[b=Math.floor((O[0]+O[1])/2)],no(_,b)&&(R-=D.size),O[0]<b&&M.push([O[0],b-1]),b<O[1]&&M.push([b+1,O[1]])}}else for(b=m-1;R>u&&b>=0;)D=s[b],no(_,b)&&(R-=D.size),b--;_.sort((M,O)=>O-M).forEach(M=>S.apply(g,s.splice(M,1)))}for(Zo(s,h),s=s.map(M=>({size:M.size,targets:[M.target],align:ce(M.align,.5)}));I;){for(b=s.length;b--;)D=s[b],T=(Math.min.apply(0,D.targets)+Math.max.apply(0,D.targets))/2,D.pos=ni(T-D.size*D.align,0,a-D.size);for(b=s.length,I=!1;b--;)b>0&&s[b-1].pos+s[b-1].size>s[b].pos&&(s[b-1].size+=s[b].size,s[b-1].targets=s[b-1].targets.concat(s[b].targets),s[b-1].align=.5,s[b-1].pos+s[b-1].size>a&&(s[b-1].pos=a-s[b-1].size),s.splice(b,1),I=!0)}return S.apply(d,g),b=0,s.some(M=>{let O=0;return(M.targets||[]).some(()=>(d[b].pos=M.pos+O,c!==void 0&&Math.abs(d[b].pos-d[b].target)>c?(d.slice(0,b+1).forEach(H=>delete H.pos),d.reducedLen=(d.reducedLen||a)-.1*a,d.reducedLen>.1*a&&v(d,a,c),!0):(O+=d[b].size,b++,!1)))}),Zo(d,h),d};let _c=dt,{animate:rb,animObject:ob,stop:yl}=Yi,{deg2rad:yc,doc:ka,svg:bc,SVG_NS:oo,win:sb,isFirefox:ab}=he;class Ei{_defaultGetter(s){let a=ce(this[s+"Value"],this[s],this.element?this.element.getAttribute(s):null,0);return/^-?[\d\.]+$/.test(a)&&(a=parseFloat(a)),a}_defaultSetter(s,a,c){c.setAttribute(a,s)}add(s){let a,c=this.renderer,d=this.element;return s&&(this.parentGroup=s),this.textStr!==void 0&&this.element.nodeName==="text"&&c.buildText(this),this.added=!0,(!s||s.handleZ||this.zIndex)&&(a=this.zIndexSetter()),a||(s?s.element:c.box).appendChild(d),this.onAdd&&this.onAdd(),this}addClass(s,a){let c=a?"":this.attr("class")||"";return(s=(s||"").split(/ /g).reduce(function(d,u){return c.indexOf(u)===-1&&d.push(u),d},c?[c]:[]).join(" "))!==c&&this.attr("class",s),this}afterSetters(){this.doTransform&&(this.updateTransform(),this.doTransform=!1)}align(s,a,c,d=!0){let u=this.renderer,h=u.alignedObjects,g=!!s;s?(this.alignOptions=s,this.alignByTranslate=a,this.alignTo=c):(s=this.alignOptions||{},a=this.alignByTranslate,c=this.alignTo);let m=!c||Wt(c)?c||"renderer":void 0;m&&(g&&no(h,this),c=void 0);let _=ce(c,u[m],u),S=(_.x||0)+(s.x||0)+((_.width||0)-(s.width||0))*fi(s.align),b=(_.y||0)+(s.y||0)+((_.height||0)-(s.height||0))*fi(s.verticalAlign),I={};return s.align&&(I["text-align"]=s.align),I[a?"translateX":"x"]=Math.round(S),I[a?"translateY":"y"]=Math.round(b),d&&(this[this.placed?"animate":"attr"](I),this.placed=!0),this.alignAttr=I,this}alignSetter(s){let a={left:"start",center:"middle",right:"end"};a[s]&&(this.alignValue=s,this.element.setAttribute("text-anchor",a[s]))}animate(s,a,c){let d=ob(ce(a,this.renderer.globalAnimation,!0)),u=d.defer;return ka.hidden&&(d.duration=0),d.duration!==0?(c&&(d.complete=c),Er(()=>{this.element&&rb(this,s,d)},u)):(this.attr(s,void 0,c||d.complete),lt(s,function(h,g){d.step&&d.step.call(this,h,{prop:g,pos:1,elem:this})},this)),this}applyTextOutline(s){let a=this.element;s.indexOf("contrast")!==-1&&(s=s.replace(/contrast/g,this.renderer.getContrast(a.style.fill)));let c=s.indexOf(" "),d=s.substring(c+1),u=s.substring(0,c);if(u&&u!=="none"&&he.svg){this.fakeTS=!0,u=u.replace(/(^[\d\.]+)(.*?)$/g,function(S,b,I){return 2*Number(b)+I}),this.removeTextOutline();let h=ka.createElementNS(oo,"tspan");Wi(h,{class:"highcharts-text-outline",fill:d,stroke:d,"stroke-width":u,"stroke-linejoin":"round"});let g=a.querySelector("textPath")||a;[].forEach.call(g.childNodes,S=>{let b=S.cloneNode(!0);b.removeAttribute&&["fill","stroke","stroke-width","stroke"].forEach(I=>b.removeAttribute(I)),h.appendChild(b)});let m=0;[].forEach.call(g.querySelectorAll("text tspan"),S=>{m+=Number(S.getAttribute("dy"))});let _=ka.createElementNS(oo,"tspan");_.textContent="\u200B",Wi(_,{x:Number(a.getAttribute("x")),dy:-m}),h.appendChild(_),g.insertBefore(h,g.firstChild)}}attr(s,a,c,d){let{element:u}=this,h=Ei.symbolCustomAttribs,g,m,_=this,S;return typeof s=="string"&&a!==void 0&&(g=s,(s={})[g]=a),typeof s=="string"?_=(this[s+"Getter"]||this._defaultGetter).call(this,s,u):(lt(s,function(b,I){S=!1,d||yl(this,I),this.symbolName&&h.indexOf(I)!==-1&&(m||(this.symbolAttr(s),m=!0),S=!0),this.rotation&&(I==="x"||I==="y")&&(this.doTransform=!0),S||(this[I+"Setter"]||this._defaultSetter).call(this,b,I,u)},this),this.afterSetters()),c&&c.call(this),_}clip(s){if(s&&!s.clipPath){let a=io()+"-",c=this.renderer.createElement("clipPath").attr({id:a}).add(this.renderer.defs);tt(s,{clipPath:c,id:a,count:0}),s.add(c)}return this.attr("clip-path",s?`url(${this.renderer.url}#${s.id})`:"none")}crisp(s,a){a=Math.round(a||s.strokeWidth||0);let c=s.x||this.x||0,d=s.y||this.y||0,u=(s.width||this.width||0)+c,h=(s.height||this.height||0)+d,g=to(c,a),m=to(d,a);return tt(s,{x:g,y:m,width:to(u,a)-g,height:to(h,a)-m}),Ee(s.strokeWidth)&&(s.strokeWidth=a),s}complexColor(s,a,c){let d=this.renderer,u,h,g,m,_,S,b,I,D,T,R=[],M;_e(this.renderer,"complexColor",{args:arguments},function(){if(s.radialGradient?h="radialGradient":s.linearGradient&&(h="linearGradient"),h){if(g=s[h],_=d.gradients,S=s.stops,D=c.radialReference,vn(g)&&(s[h]=g={x1:g[0],y1:g[1],x2:g[2],y2:g[3],gradientUnits:"userSpaceOnUse"}),h==="radialGradient"&&D&&!Ee(g.gradientUnits)&&(m=g,g=Je(g,d.getRadialAttr(D,m),{gradientUnits:"userSpaceOnUse"})),lt(g,function(O,H){H!=="id"&&R.push(H,O)}),lt(S,function(O){R.push(O)}),_[R=R.join(",")])T=_[R].attr("id");else{g.id=T=io();let O=_[R]=d.createElement(h).attr(g).add(d.defs);O.radAttr=m,O.stops=[],S.forEach(function(H){H[1].indexOf("rgba")===0?(b=(u=Cn.parse(H[1])).get("rgb"),I=u.get("a")):(b=H[1],I=1);let G=d.createElement("stop").attr({offset:H[0],"stop-color":b,"stop-opacity":I}).add(O);O.stops.push(G)})}M="url("+d.url+"#"+T+")",c.setAttribute(a,M),c.gradient=R,s.toString=function(){return M}}})}css(s){let a=this.styles,c={},d=this.element,u,h=!a;if(a&<(s,function(g,m){a&&a[m]!==g&&(c[m]=g,h=!0)}),h){a&&(s=tt(a,c)),s.width===null||s.width==="auto"?delete this.textWidth:d.nodeName.toLowerCase()==="text"&&s.width&&(u=this.textWidth=Dt(s.width)),tt(this.styles,s),u&&!bc&&this.renderer.forExport&&delete s.width;let g=ab&&s.fontSize||null;g&&(de(g)||/^\d+$/.test(g))&&(s.fontSize+="px");let m=Je(s);d.namespaceURI===this.SVG_NS&&(["textOutline","textOverflow","whiteSpace","width"].forEach(_=>m&&delete m[_]),m.color&&(m.fill=m.color,delete m.color)),$t(d,m)}return this.added&&(this.element.nodeName==="text"&&this.renderer.buildText(this),s.textOutline&&this.applyTextOutline(s.textOutline)),this}dashstyleSetter(s){let a,c=this["stroke-width"];if(c==="inherit"&&(c=1),s){let d=(s=s.toLowerCase()).replace("shortdashdotdot","3,1,1,1,1,1,").replace("shortdashdot","3,1,1,1").replace("shortdot","1,1,").replace("shortdash","3,1,").replace("longdash","8,3,").replace(/dot/g,"1,3,").replace("dash","4,3,").replace(/,$/,"").split(",");for(a=d.length;a--;)d[a]=""+Dt(d[a])*ce(c,NaN);s=d.join(",").replace(/NaN/g,"none"),this.element.setAttribute("stroke-dasharray",s)}}destroy(){let s=this,{element:a={},renderer:c,stops:d}=s,u=a.ownerSVGElement,h=a.nodeName==="SPAN"&&s.parentGroup||void 0,g;if(a.onclick=a.onmouseout=a.onmouseover=a.onmousemove=a.point=null,yl(s),s.clipPath&&u){let m=s.clipPath;[].forEach.call(u.querySelectorAll("[clip-path],[CLIP-PATH]"),function(_){_.getAttribute("clip-path").indexOf(m.element.id)>-1&&_.removeAttribute("clip-path")}),s.clipPath=m.destroy()}if(d){for(let m of d)m.destroy();d.length=0}for(s.safeRemoveChild(a);h?.div&&h.div.childNodes.length===0;)g=h.parentGroup,s.safeRemoveChild(h.div),delete h.div,h=g;s.alignOptions&&Io(c.alignedObjects,s),lt(s,(m,_)=>{(s[_]?.parentGroup===s||["connector","foreignObject"].indexOf(_)!==-1)&&s[_]?.destroy?.(),delete s[_]})}dSetter(s,a,c){vn(s)&&(typeof s[0]=="string"&&(s=this.renderer.pathToSegments(s)),this.pathArray=s,s=s.reduce((d,u,h)=>u?.join?(h?d+" ":"")+u.join(" "):(u||"").toString(),"")),/(NaN| {2}|^$)/.test(s)&&(s="M 0 0"),this[a]!==s&&(c.setAttribute(a,s),this[a]=s)}fillSetter(s,a,c){typeof s=="string"?c.setAttribute(a,s):s&&this.complexColor(s,a,c)}hrefSetter(s,a,c){c.setAttributeNS("http://www.w3.org/1999/xlink",a,s)}getBBox(s,a){let c,d,u,{element:h,renderer:g,styles:m,textStr:_}=this,{cache:S,cacheKeys:b}=g,I=h.namespaceURI===this.SVG_NS,D=ce(a,this.rotation,0),T=g.styledMode?h&&Ei.prototype.getStyle.call(h,"font-size"):m.fontSize,R=this.getBBoxCacheKey([g.rootFontSize,this.textWidth,this.alignValue,m.fontWeight,m.lineClamp,m.textOverflow,T,D]);if(R&&!s&&(c=S[R]),!c||c.polygon){if(I||g.forExport){try{u=this.fakeTS&&function(O){let H=h.querySelector(".highcharts-text-outline");H&&$t(H,{display:O})},Oa(u)&&u("none"),c=h.getBBox?tt({},h.getBBox()):{width:h.offsetWidth,height:h.offsetHeight,x:0,y:0},Oa(u)&&u("")}catch{}(!c||c.width<0)&&(c={x:0,y:0,width:0,height:0})}else c=this.htmlGetBBox();d=c.height,I&&(c.height=d={"11px,17":14,"13px,20":16}[`${T||""},${Math.round(d)}`]||d),D&&(c=this.getRotatedBox(c,D));let M={bBox:c};_e(this,"afterGetBBox",M),c=M.bBox}if(R&&(_===""||c.height>0)){for(;b.length>250;)delete S[b.shift()];S[R]||b.push(R),S[R]=c}return c}getBBoxCacheKey(s){if(Ee(this.textStr)){let a=""+this.textStr;return a.indexOf("<")===-1&&(a=a.replace(/\d/g,"0")),[a,...s].join(",")}}getRotatedBox(s,a){let{x:c,y:d,width:u,height:h}=s,{alignValue:g,translateY:m,rotationOriginX:_=0,rotationOriginY:S=0}=this,b=fi(g),I=Number(this.element.getAttribute("y")||0)-(m?0:d),D=a*yc,T=(a-90)*yc,R=Math.cos(D),M=Math.sin(D),O=u*R,H=u*M,G=Math.cos(T),K=Math.sin(T),[[Q,J],[ie,re]]=[_,S].map(wt=>[wt-wt*R,wt*M]),Se=c+b*(u-O)+Q+re+I*G,xe=Se+O,ve=xe-h*G,je=ve-O,Ke=d+I-b*H-J+ie+I*K,Xe=Ke+H,ot=Xe-h*K,nt=ot-H,it=Math.min(Se,xe,ve,je),bn=Math.min(Ke,Xe,ot,nt),cn=Math.max(Se,xe,ve,je)-it,hr=Math.max(Ke,Xe,ot,nt)-bn;return{x:it,y:bn,width:cn,height:hr,polygon:[[Se,Ke],[xe,Xe],[ve,ot],[je,nt]]}}getStyle(s){return sb.getComputedStyle(this.element||this,"").getPropertyValue(s)}hasClass(s){return(""+this.attr("class")).split(" ").indexOf(s)!==-1}hide(){return this.attr({visibility:"hidden"})}htmlGetBBox(){return{height:0,width:0,x:0,y:0}}constructor(s,a){this.onEvents={},this.opacity=1,this.SVG_NS=oo,this.element=a==="span"||a==="body"?Sr(a):ka.createElementNS(this.SVG_NS,a),this.renderer=s,this.styles={},_e(this,"afterInit")}on(s,a){let{onEvents:c}=this;return c[s]&&c[s](),c[s]=St(this.element,s,a),this}opacitySetter(s,a,c){let d=Number(Number(s).toFixed(3));this.opacity=d,c.setAttribute(a,d)}reAlign(){this.alignOptions?.width&&this.alignOptions.align!=="left"&&(this.alignOptions.width=this.getBBox().width,this.placed=!1,this.align())}removeClass(s){return this.attr("class",(""+this.attr("class")).replace(Wt(s)?RegExp(`(^| )${s}( |$)`):s," ").replace(/ +/g," ").trim())}removeTextOutline(){let s=this.element.querySelector("tspan.highcharts-text-outline");s&&this.safeRemoveChild(s)}safeRemoveChild(s){let a=s.parentNode;a&&a.removeChild(s)}setRadialReference(s){let a=this.element.gradient&&this.renderer.gradients[this.element.gradient]||void 0;return this.element.radialReference=s,a?.radAttr&&a.animate(this.renderer.getRadialAttr(s,a.radAttr)),this}shadow(s){let{renderer:a}=this,c=Je(this.parentGroup?.rotation===90?{offsetX:-1,offsetY:-1}:{},ln(s)?s:{}),d=a.shadowDefinition(c);return this.attr({filter:s?`url(${a.url}#${d})`:"none"})}show(s=!0){return this.attr({visibility:s?"inherit":"visible"})}"stroke-widthSetter"(s,a,c){this[a]=s,c.setAttribute(a,s)}strokeWidth(){if(!this.renderer.styledMode)return this["stroke-width"]||0;let s=this.getStyle("stroke-width"),a=0,c;return/px$/.test(s)?a=Dt(s):s!==""&&(Wi(c=ka.createElementNS(oo,"rect"),{width:s,"stroke-width":0}),this.element.parentNode.appendChild(c),a=c.getBBox().width,c.parentNode.removeChild(c)),a}symbolAttr(s){let a=this;Ei.symbolCustomAttribs.forEach(function(c){a[c]=ce(s[c],a[c])}),a.attr({d:a.renderer.symbols[a.symbolName](a.x,a.y,a.width,a.height,a)})}textSetter(s){s!==this.textStr&&(delete this.textPxLength,this.textStr=s,this.added&&this.renderer.buildText(this),this.reAlign())}titleSetter(s){let a=this.element,c=a.getElementsByTagName("title")[0]||ka.createElementNS(this.SVG_NS,"title");a.insertBefore?a.insertBefore(c,a.firstChild):a.appendChild(c),c.textContent=mc(ce(s,""),[/<[^>]*>/g,""]).replace(/</g,"<").replace(/>/g,">")}toFront(){let s=this.element;return s.parentNode.appendChild(s),this}translate(s,a){return this.attr({translateX:s,translateY:a})}updateTransform(s="transform"){let{element:a,foreignObject:c,matrix:d,padding:u,rotation:h=0,rotationOriginX:g,rotationOriginY:m,scaleX:_,scaleY:S,text:b,translateX:I=0,translateY:D=0}=this,T=[`translate(${I},${D})`];Ee(d)&&T.push("matrix("+d.join(",")+")"),h&&(T.push("rotate("+h+" "+(g??a.getAttribute("x")??this.x??0)+" "+(m??a.getAttribute("y")??this.y??0)+")"),b?.element.tagName!=="SPAN"||b?.foreignObject||b.attr({rotation:h,rotationOriginX:(g||0)-u,rotationOriginY:(m||0)-u})),(Ee(_)||Ee(S))&&T.push(`scale(${_??1} ${S??1})`),T.length&&!(b||this).textPath&&(c?.element||a).setAttribute(s,T.join(" "))}visibilitySetter(s,a,c){s==="inherit"?c.removeAttribute(a):this[a]!==s&&c.setAttribute(a,s),this[a]=s}xGetter(s){return this.element.nodeName==="circle"&&(s==="x"?s="cx":s==="y"&&(s="cy")),this._defaultGetter(s)}zIndexSetter(s,a){let c=this.renderer,d=this.parentGroup,u=(d||c).element||c.box,h=this.element,g=u===c.box,m,_,S,b=!1,I,D=this.added,T;if(Ee(s)?(h.setAttribute("data-z-index",s),s*=1,this[a]===s&&(D=!1)):Ee(this[a])&&h.removeAttribute("data-z-index"),this[a]=s,D){for((s=this.zIndex)&&d&&(d.handleZ=!0),T=(m=u.childNodes).length-1;T>=0&&!b;T--)I=!Ee(S=(_=m[T]).getAttribute("data-z-index")),_!==h&&(s<0&&I&&!g&&!T?(u.insertBefore(h,m[T]),b=!0):(Dt(S)<=s||I&&(!Ee(s)||s>=0))&&(u.insertBefore(h,m[T+1]),b=!0));b||(u.insertBefore(h,m[3*!!g]),b=!0)}return b}}Ei.symbolCustomAttribs=["anchorX","anchorY","clockwise","end","height","innerR","r","start","width","x","y"],Ei.prototype.strokeSetter=Ei.prototype.fillSetter,Ei.prototype.yGetter=Ei.prototype.xGetter,Ei.prototype.matrixSetter=Ei.prototype.rotationOriginXSetter=Ei.prototype.rotationOriginYSetter=Ei.prototype.rotationSetter=Ei.prototype.scaleXSetter=Ei.prototype.scaleYSetter=Ei.prototype.translateXSetter=Ei.prototype.translateYSetter=Ei.prototype.verticalAlignSetter=function(v,s){this[s]=v,this.doTransform=!0};let Ko=Ei;class Na extends Ko{constructor(s,a,c,d,u,h,g,m,_,S){let b;super(s,"g"),this.paddingLeftSetter=this.paddingSetter,this.paddingRightSetter=this.paddingSetter,this.doUpdate=!1,this.textStr=a,this.x=c,this.y=d,this.anchorX=h,this.anchorY=g,this.baseline=_,this.className=S,this.addClass(S==="button"?"highcharts-no-tooltip":"highcharts-label"),S&&this.addClass("highcharts-"+S),this.text=s.text(void 0,0,0,m).attr({zIndex:1}),typeof u=="string"&&((b=/^url\((.*?)\)$/.test(u))||this.renderer.symbols[u])&&(this.symbolKey=u),this.bBox=Na.emptyBBox,this.padding=3,this.baselineOffset=0,this.needsBox=s.styledMode||b,this.deferredAttr={},this.alignFactor=0}alignSetter(s){let a=fi(s);this.textAlign=s,a!==this.alignFactor&&(this.alignFactor=a,this.bBox&&de(this.xSetting)&&this.attr({x:this.xSetting}),this.updateTextPadding())}anchorXSetter(s,a){this.anchorX=s,this.boxAttr(a,Math.round(s)-this.getCrispAdjust()-this.xSetting)}anchorYSetter(s,a){this.anchorY=s,this.boxAttr(a,s-this.ySetting)}boxAttr(s,a){this.box?this.box.attr(s,a):this.deferredAttr[s]=a}css(s){if(s){let a={};s=Je(s),Na.textProps.forEach(c=>{s[c]!==void 0&&(a[c]=s[c],delete s[c])}),this.text.css(a),"fontSize"in a||"fontWeight"in a||"width"in a?this.updateTextPadding():"textOverflow"in a&&this.updateBoxSize()}return Ko.prototype.css.call(this,s)}destroy(){Pr(this.element,"mouseenter"),Pr(this.element,"mouseleave"),this.text&&this.text.destroy(),this.box&&(this.box=this.box.destroy()),Ko.prototype.destroy.call(this)}fillSetter(s,a){s&&(this.needsBox=!0),this.fill=s,this.boxAttr(a,s)}getBBox(s,a){(this.textStr&&this.bBox.width===0&&this.bBox.height===0||this.rotation)&&this.updateBoxSize();let{padding:c,height:d=0,translateX:u=0,translateY:h=0,width:g=0}=this,m=ce(this.paddingLeft,c),_=a??(this.rotation||0),S={width:g,height:d,x:u+this.bBox.x-m,y:h+this.bBox.y-c+this.baselineOffset};return _&&(S=this.getRotatedBox(S,_)),S}getCrispAdjust(){return(this.renderer.styledMode&&this.box?this.box.strokeWidth():this["stroke-width"]?parseInt(this["stroke-width"],10):0)%2/2}heightSetter(s){this.heightSetting=s,this.doUpdate=!0}afterSetters(){super.afterSetters(),this.doUpdate&&(this.updateBoxSize(),this.doUpdate=!1)}onAdd(){this.text.add(this),this.attr({text:ce(this.textStr,""),x:this.x||0,y:this.y||0}),this.box&&Ee(this.anchorX)&&this.attr({anchorX:this.anchorX,anchorY:this.anchorY})}paddingSetter(s,a){de(s)?s!==this[a]&&(this[a]=s,this.updateTextPadding()):this[a]=void 0}rSetter(s,a){this.boxAttr(a,s)}strokeSetter(s,a){this.stroke=s,this.boxAttr(a,s)}"stroke-widthSetter"(s,a){s&&(this.needsBox=!0),this["stroke-width"]=s,this.boxAttr(a,s)}"text-alignSetter"(s){this.textAlign=this["text-align"]=s,this.updateTextPadding()}textSetter(s){s!==void 0&&this.text.attr({text:s}),this.updateTextPadding(),this.reAlign()}updateBoxSize(){let s,a=this.text,c={},d=this.padding,u=this.bBox=(!de(this.widthSetting)||!de(this.heightSetting)||this.textAlign)&&Ee(a.textStr)?a.getBBox(void 0,0):Na.emptyBBox;this.width=this.getPaddedWidth(),this.height=(this.heightSetting||u.height||0)+2*d;let h=this.renderer.fontMetrics(a);if(this.baselineOffset=d+Math.min((this.text.firstLineMetrics||h).b,u.height||1/0),this.heightSetting&&(this.baselineOffset+=(this.heightSetting-h.h)/2),this.needsBox&&!a.textPath){if(!this.box){let g=this.box=this.symbolKey?this.renderer.symbol(this.symbolKey):this.renderer.rect();g.addClass((this.className==="button"?"":"highcharts-label-box")+(this.className?" highcharts-"+this.className+"-box":"")),g.add(this)}c.x=s=this.getCrispAdjust(),c.y=(this.baseline?-this.baselineOffset:0)+s,c.width=Math.round(this.width),c.height=Math.round(this.height),this.box.attr(tt(c,this.deferredAttr)),this.deferredAttr={}}}updateTextPadding(){let s=this.text,a=s.styles.textAlign||this.textAlign;if(!s.textPath){this.updateBoxSize();let c=this.baseline?0:this.baselineOffset,d=(this.paddingLeft??this.padding)+fi(a)*(this.widthSetting??this.bBox.width);(d!==s.x||c!==s.y)&&(s.attr({align:a,x:d}),c!==void 0&&s.attr("y",c)),s.x=d,s.y=c}}widthSetter(s){this.widthSetting=de(s)?s:void 0,this.doUpdate=!0}getPaddedWidth(){let s=this.padding,a=ce(this.paddingLeft,s),c=ce(this.paddingRight,s);return(this.widthSetting||this.bBox.width||0)+a+c}xSetter(s){this.x=s,this.alignFactor&&(s-=this.alignFactor*this.getPaddedWidth(),this["forceAnimate:x"]=!0),this.anchorX&&(this["forceAnimate:anchorX"]=!0),this.xSetting=Math.round(s),this.attr("translateX",this.xSetting)}ySetter(s){this.anchorY&&(this["forceAnimate:anchorY"]=!0),this.ySetting=this.y=Math.round(s),this.attr("translateY",this.ySetting)}}function $1(v,s,a,c,d){let u=[];if(d){let h=d.start||0,g=d.end||0,m=ce(d.r,a),_=ce(d.r,c||a),S=1e-4>Math.abs(g-h-2*Math.PI);S&&(h=Math.PI/2,g=2.5*Math.PI-1e-4);let b=d.innerR,I=ce(d.open,S),D=S?0:Math.cos(h),T=S?1:Math.sin(h),R=S?0:Math.cos(g),M=S?1:Math.sin(g),O=ce(d.longArc,g-h-Math.PI<1e-4?0:1),H=["A",m,_,0,O,ce(d.clockwise,1),v+(S?.001:m*R),s+_*M];H.params={start:h,end:g,cx:v,cy:s},u.push(["M",v+m*D,s+_*T],H),Ee(b)&&((H=["A",b,b,0,O,Ee(d.clockwise)?1-d.clockwise:0,v+(S?-.001:b*D),s+b*T]).params={start:g,end:h,cx:v,cy:s},u.push(I?["M",v+b*R,s+b*M]:["L",v+b*R,s+b*M],H)),I||u.push(["Z"])}return u}function W1(v,s,a,c,d){return d?.r?Qh(v,s,a,c,d):[["M",v,s],["L",v+a,s],["L",v+a,s+c],["L",v,s+c],["Z"]]}function Qh(v,s,a,c,d){let u=d?.r||0;return[["M",v+u,s],["L",v+a-u,s],["A",u,u,0,0,1,v+a,s+u],["L",v+a,s+c-u],["A",u,u,0,0,1,v+a-u,s+c],["L",v+u,s+c],["A",u,u,0,0,1,v,s+c-u],["L",v,s+u],["A",u,u,0,0,1,v+u,s],["Z"]]}Na.emptyBBox={width:0,height:0,x:0,y:0},Na.textProps=["color","direction","fontFamily","fontSize","fontStyle","fontWeight","lineClamp","lineHeight","textAlign","textDecoration","textOutline","textOverflow","whiteSpace","width"];let zd={arc:$1,callout:function(v,s,a,c,d){let u=Math.min(d?.r||0,a,c),h=u+6,g=d?.anchorX,m=d?.anchorY||0,_=Qh(v,s,a,c,{r:u});if(!de(g)||g<a&&g>0&&m<c&&m>0)return _;if(v+g>a-h)if(m>s+h&&m<s+c-h)_.splice(3,1,["L",v+a,m-6],["L",v+a+6,m],["L",v+a,m+6],["L",v+a,s+c-u]);else if(g<a){let S=m<s+h,b=S?s:s+c;_.splice(S?2:5,0,["L",g,m],["L",v+a-u,b])}else _.splice(3,1,["L",v+a,c/2],["L",g,m],["L",v+a,c/2],["L",v+a,s+c-u]);else if(v+g<h)if(m>s+h&&m<s+c-h)_.splice(7,1,["L",v,m+6],["L",v-6,m],["L",v,m-6],["L",v,s+u]);else if(g>0){let S=m<s+h,b=S?s:s+c;_.splice(S?1:6,0,["L",g,m],["L",v+u,b])}else _.splice(7,1,["L",v,c/2],["L",g,m],["L",v,c/2],["L",v,s+u]);else m>c&&g<a-h?_.splice(5,1,["L",g+6,s+c],["L",g,s+c+6],["L",g-6,s+c],["L",v+u,s+c]):m<0&&g>h&&_.splice(1,1,["L",g-6,s],["L",g,s-6],["L",g+6,s],["L",a-u,s]);return _},circle:function(v,s,a,c){return $1(v+a/2,s+c/2,a/2,c/2,{start:.5*Math.PI,end:2.5*Math.PI,open:!1})},diamond:function(v,s,a,c){return[["M",v+a/2,s],["L",v+a,s+c/2],["L",v+a/2,s+c],["L",v,s+c/2],["Z"]]},rect:W1,roundedRect:Qh,square:W1,triangle:function(v,s,a,c){return[["M",v+a/2,s],["L",v+a,s+c],["L",v,s+c],["Z"]]},"triangle-down":function(v,s,a,c){return[["M",v,s],["L",v+a,s],["L",v+a/2,s+c],["Z"]]}},{doc:Zh,SVG_NS:Y1,win:q1}=he,Kh=(v,s)=>v.substring(0,s)+"\u2026",lb=class{constructor(v){let s=v.styles;this.renderer=v.renderer,this.svgElement=v,this.width=v.textWidth,this.textLineHeight=s?.lineHeight,this.textOutline=s?.textOutline,this.ellipsis=s?.textOverflow==="ellipsis",this.lineClamp=s?.lineClamp,this.noWrap=s?.whiteSpace==="nowrap"}buildSVG(){let v=this.svgElement,s=v.element,a=v.renderer,c=ce(v.textStr,"").toString(),d=c.indexOf("<")!==-1,u=s.childNodes,h=!v.added&&a.box,g=[c,this.ellipsis,this.noWrap,this.textLineHeight,this.textOutline,v.getStyle("font-size"),v.styles.lineClamp,this.width].join(",");if(g!==v.textCache){v.textCache=g,delete v.actualWidth;for(let m=u.length;m--;)s.removeChild(u[m]);if(d||this.ellipsis||this.width||v.textPath||c.indexOf(" ")!==-1&&(!this.noWrap||/<br.*?>/g.test(c))){if(c!==""){h&&h.appendChild(s);let m=new Fn(c);this.modifyTree(m.nodes),m.addToDOM(s),this.modifyDOM(),this.ellipsis&&(s.textContent||"").indexOf("\u2026")!==-1&&v.attr("title",this.unescapeEntities(v.textStr||"",["<",">"])),h&&h.removeChild(s)}}else s.appendChild(Zh.createTextNode(this.unescapeEntities(c)));Wt(this.textOutline)&&v.applyTextOutline&&v.applyTextOutline(this.textOutline)}}modifyDOM(){let v,s=this.svgElement,a=Wi(s.element,"x");for(s.firstLineMetrics=void 0;(v=s.element.firstChild)&&/^[\s\u200B]*$/.test(v.textContent||" ");)s.element.removeChild(v);[].forEach.call(s.element.querySelectorAll("tspan.highcharts-br"),(h,g)=>{h.nextSibling&&h.previousSibling&&(g===0&&h.previousSibling.nodeType===1&&(s.firstLineMetrics=s.renderer.fontMetrics(h.previousSibling)),Wi(h,{dy:this.getLineHeight(h.nextSibling),x:a}))});let c=this.width||0;if(!c)return;let d=(h,g)=>{let m=h.textContent||"",_=m.replace(/([^\^])-/g,"$1- ").split(" "),S=!this.noWrap&&(_.length>1||s.element.childNodes.length>1),b=this.getLineHeight(g),I=Math.max(0,c-.8*b),D=0,T=s.actualWidth;if(S){let R=[],M=[];for(;g.firstChild&&g.firstChild!==h;)M.push(g.firstChild),g.removeChild(g.firstChild);for(;_.length;)if(_.length&&!this.noWrap&&D>0&&(R.push(h.textContent||""),h.textContent=_.join(" ").replace(/- /g,"-")),this.truncate(h,void 0,_,D===0&&T||0,c,I,(O,H)=>_.slice(0,H).join(" ").replace(/- /g,"-")),T=s.actualWidth,D++,this.lineClamp&&D>=this.lineClamp){_.length&&(this.truncate(h,h.textContent||"",void 0,0,c,I,Kh),h.textContent=h.textContent?.replace("\u2026","")+"\u2026");break}M.forEach(O=>{g.insertBefore(O,h)}),R.forEach(O=>{g.insertBefore(Zh.createTextNode(O),h);let H=Zh.createElementNS(Y1,"tspan");H.textContent="\u200B",Wi(H,{dy:b,x:a}),g.insertBefore(H,h)})}else this.ellipsis&&m&&this.truncate(h,m,void 0,0,c,I,Kh)},u=h=>{[].slice.call(h.childNodes).forEach(g=>{g.nodeType===q1.Node.TEXT_NODE?d(g,h):(g.className.baseVal.indexOf("highcharts-br")!==-1&&(s.actualWidth=0),u(g))})};u(s.element)}getLineHeight(v){let s=v.nodeType===q1.Node.TEXT_NODE?v.parentElement:v;return this.textLineHeight?parseInt(this.textLineHeight.toString(),10):this.renderer.fontMetrics(s||this.svgElement.element).h}modifyTree(v){let s=(a,c)=>{let{attributes:d={},children:u,style:h={},tagName:g}=a,m=this.renderer.styledMode;if(g==="b"||g==="strong"?m?d.class="highcharts-strong":h.fontWeight="bold":(g==="i"||g==="em")&&(m?d.class="highcharts-emphasized":h.fontStyle="italic"),h?.color&&(h.fill=h.color),g==="br"){d.class="highcharts-br",a.textContent="\u200B";let _=v[c+1];_?.textContent&&(_.textContent=_.textContent.replace(/^ +/gm,""))}else g==="a"&&u&&u.some(_=>_.tagName==="#text")&&(a.children=[{children:u,tagName:"tspan"}]);g!=="#text"&&g!=="a"&&(a.tagName="tspan"),tt(a,{attributes:d,style:h}),u&&u.filter(_=>_.tagName!=="#text").forEach(s)};v.forEach(s),_e(this.svgElement,"afterModifyTree",{nodes:v})}truncate(v,s,a,c,d,u,h){let g,m,_=this.svgElement,{rotation:S}=_,b=[],I=a&&!c?1:0,D=(s||a||"").length,T=D;a||(d=u);let R=function(M,O){let H=O||M,G=v.parentNode;if(G&&b[H]===void 0&&G.getSubStringLength)try{b[H]=c+G.getSubStringLength(0,a?H+1:H)}catch{}return b[H]};if(_.rotation=0,c+(m=R(v.textContent.length))>d){for(;I<=D;)T=Math.ceil((I+D)/2),a&&(g=h(a,T)),m=R(T,g&&g.length-1),I===D?I=D+1:m>d?D=T-1:I=T;D===0?v.textContent="":s&&D===s.length-1||(v.textContent=g||h(s||a,T)),this.ellipsis&&m>d&&this.truncate(v,v.textContent||"",void 0,0,d,u,Kh)}a&&a.splice(0,T),_.actualWidth=m,_.rotation=S}unescapeEntities(v,s){return lt(this.renderer.escapes,function(a,c){s&&s.indexOf(a)!==-1||(v=v.toString().replace(RegExp(a,"g"),c))}),v}},{defaultOptions:cb}=li,{charts:db,deg2rad:Q1,doc:bl,isFirefox:Z1,isMS:K1,isWebKit:ub,noop:hb,SVG_NS:pb,symbolSizes:Xh,win:Jh}=he;class Gd{constructor(s,a,c,d,u,h,g){let m,_;this.x=0,this.y=0;let S=this.createElement("svg").attr({version:"1.1",class:"highcharts-root"}),b=S.element;g||S.css(this.getStyle(d||{})),s.appendChild(b),Wi(s,"dir","ltr"),s.innerHTML.indexOf("xmlns")===-1&&Wi(b,"xmlns",this.SVG_NS),this.box=b,this.boxWrapper=S,this.alignedObjects=[],this.url=this.getReferenceURL(),this.createElement("desc").add().element.appendChild(bl.createTextNode("Created with Highcharts 12.6.0")),this.defs=this.createElement("defs").add(),this.allowHTML=h,this.forExport=u,this.styledMode=g,this.gradients={},this.cache={},this.cacheKeys=[],this.asyncCounter=0,this.rootFontSize=S.getStyle("font-size"),this.setSize(a,c,!1),Z1&&s.getBoundingClientRect&&((m=function(){$t(s,{left:0,top:0}),_=s.getBoundingClientRect(),$t(s,{left:Math.ceil(_.left)-_.left+"px",top:Math.ceil(_.top)-_.top+"px"})})(),this.unSubPixelFix=St(Jh,"resize",m))}definition(s){return new Fn([s]).addToDOM(this.defs.element)}getReferenceURL(){if((Z1||ub)&&bl.getElementsByTagName("base").length){if(!Ee(n)){let s=io(),a=new Fn([{tagName:"svg",attributes:{width:8,height:8},children:[{tagName:"defs",children:[{tagName:"clipPath",attributes:{id:s},children:[{tagName:"rect",attributes:{width:4,height:4}}]}]},{tagName:"rect",attributes:{id:"hitme",width:8,height:8,"clip-path":`url(#${s})`,fill:"rgba(0,0,0,0.001)"}}]}]).addToDOM(bl.body);$t(a,{position:"fixed",top:0,left:0,zIndex:9e5}),n=bl.elementFromPoint(6,6)?.id==="hitme",bl.body.removeChild(a)}if(n)return mc(Jh.location.href.split("#")[0],[/<[^>]*>/g,""],[/([\('\)])/g,"\\$1"],[/ /g,"%20"])}return""}getStyle(s){return this.style=tt({fontFamily:'-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", sans-serif',fontSize:"1rem"},s),this.style}setStyle(s){this.boxWrapper.css(this.getStyle(s))}isHidden(){return!this.boxWrapper.getBBox().width}destroy(){let s=this.defs;return this.box=null,this.boxWrapper=this.boxWrapper.destroy(),Ws(this.gradients||{}),this.gradients=null,this.defs=s.destroy(),this.unSubPixelFix&&this.unSubPixelFix(),this.alignedObjects=null,null}createElement(s){return new this.Element(this,s)}getRadialAttr(s,a){return{cx:s[0]-s[2]/2+(a.cx||0)*s[2],cy:s[1]-s[2]/2+(a.cy||0)*s[2],r:(a.r||0)*s[2]}}shadowDefinition(s){let a=[`highcharts-drop-shadow-${this.chartIndex}`,...Object.keys(s).map(d=>`${d}-${s[d]}`)].join("-").toLowerCase().replace(/[^a-z\d\-]/g,""),c=Je({color:"#000000",offsetX:1,offsetY:1,opacity:.15,width:5},s);return this.defs.element.querySelector(`#${a}`)||this.definition({tagName:"filter",attributes:{id:a,filterUnits:c.filterUnits},children:this.getShadowFilterContent(c)}),a}getShadowFilterContent(s){return[{tagName:"feDropShadow",attributes:{dx:s.offsetX,dy:s.offsetY,"flood-color":s.color,"flood-opacity":Math.min(5*s.opacity,1),stdDeviation:s.width/2}}]}buildText(s){new lb(s).buildSVG()}getContrast(s){if(s==="transparent")return"#000000";let a=Cn.parse(s).rgba,c=" clamp(0,calc(9e9*(0.5 - (0.2126*r + 0.7152*g + 0.0722*b))),1)";if(de(a[0])||!Cn.useColorMix){let d=a.map(h=>{let g=h/255;return g<=.04?g/12.92:Math.pow((g+.055)/1.055,2.4)}),u=.2126*d[0]+.7152*d[1]+.0722*d[2];return 1.05/(u+.05)>(u+.05)/.05?"#FFFFFF":"#000000"}return"color(from "+s+" srgb"+c+c+c+")"}button(s,a,c,d,u={},h,g,m,_,S){let b=this.label(s,a,c,_,void 0,void 0,S,void 0,"button"),I=this.styledMode,D=arguments,T=0;u=Je(cb.global.buttonTheme,u),I&&(delete u.fill,delete u.stroke,delete u["stroke-width"]);let R=u.states||{},M=u.style||{};delete u.states,delete u.style;let O=[Fn.filterUserAttributes(u)],H=[M];return I||["hover","select","disabled"].forEach((G,K)=>{O.push(Je(O[0],Fn.filterUserAttributes(D[K+5]||R[G]||{}))),H.push(O[K+1].style),delete O[K+1].style}),St(b.element,K1?"mouseover":"mouseenter",function(){T!==3&&b.setState(1)}),St(b.element,K1?"mouseout":"mouseleave",function(){T!==3&&b.setState(T)}),b.setState=(G=0)=>{if(G!==1&&(b.state=T=G),b.removeClass(/highcharts-button-(normal|hover|pressed|disabled)/).addClass("highcharts-button-"+["normal","hover","pressed","disabled"][G]),!I){b.attr(O[G]);let K=H[G];ln(K)&&b.css(K)}},b.attr(O[0]),!I&&(b.css(tt({cursor:"default"},M)),S&&b.text.css({pointerEvents:"none"})),b.on("touchstart",G=>G.stopPropagation()).on("click",function(G){T!==3&&d?.call(b,G)})}crispLine(s,a){let[c,d]=s;return Ee(c[1])&&c[1]===d[1]&&(c[1]=d[1]=to(c[1],a)),Ee(c[2])&&c[2]===d[2]&&(c[2]=d[2]=to(c[2],a)),s}path(s){let a=this.styledMode?{}:{fill:"none"};return vn(s)?a.d=s:ln(s)&&tt(a,s),this.createElement("path").attr(a)}circle(s,a,c){let d=ln(s)?s:s===void 0?{}:{x:s,y:a,r:c},u=this.createElement("circle");return u.xSetter=u.ySetter=function(h,g,m){m.setAttribute("c"+g,h)},u.attr(d)}arc(s,a,c,d,u,h){let g;ln(s)?(a=(g=s).y,c=g.r,d=g.innerR,u=g.start,h=g.end,s=g.x):g={innerR:d,start:u,end:h};let m=this.symbol("arc",s,a,c,c,g);return m.r=c,m}rect(s,a,c,d,u,h){let g=ln(s)?s:s===void 0?{}:{x:s,y:a,r:u,width:Math.max(c||0,0),height:Math.max(d||0,0)},m=this.createElement("rect");return this.styledMode||(h!==void 0&&(g["stroke-width"]=h,tt(g,m.crisp(g))),g.fill="none"),m.rSetter=function(_,S,b){m.r=_,Wi(b,{rx:_,ry:_})},m.rGetter=function(){return m.r||0},m.attr(g)}roundedRect(s){return this.symbol("roundedRect").attr(s)}setSize(s,a,c){this.width=s,this.height=a,this.boxWrapper.animate({width:s,height:a},{step:function(){this.attr({viewBox:"0 0 "+this.attr("width")+" "+this.attr("height")})},duration:ce(c,!0)?void 0:0}),this.alignElements()}g(s){let a=this.createElement("g");return s?a.attr({class:"highcharts-"+s}):a}image(s,a,c,d,u,h){let g={preserveAspectRatio:"none"};de(a)&&(g.x=a),de(c)&&(g.y=c),de(d)&&(g.width=d),de(u)&&(g.height=u);let m=this.createElement("image").attr(g),_=function(S){m.attr({href:s}),h.call(m,S)};if(h){m.attr({href:"data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw=="});let S=new Jh.Image;St(S,"load",_),S.src=s,S.complete&&_({})}else m.attr({href:s});return m}symbol(s,a,c,d,u,h){let g,m,_,S,b=this,I=/^url\((.*?)\)$/,D=I.test(s),T=!D&&(this.symbols[s]?s:"circle"),R=T&&this.symbols[T];if(R)typeof a=="number"&&(m=R.call(this.symbols,a||0,c||0,d||0,u||0,h)),g=this.path(m),b.styledMode||g.attr("fill","none"),tt(g,{symbolName:T||void 0,x:a,y:c,width:d,height:u}),h&&tt(g,h);else if(D){_=s.match(I)[1];let M=g=this.image(_);M.imgwidth=ce(h?.width,Xh[_]?.width),M.imgheight=ce(h?.height,Xh[_]?.height),S=O=>O.attr({width:O.width,height:O.height}),["width","height"].forEach(O=>{M[`${O}Setter`]=function(H,G){this[G]=H;let{alignByTranslate:K,element:Q,width:J,height:ie,imgwidth:re,imgheight:Se}=this,xe=G==="width"?re:Se,ve=1;h&&h.backgroundSize==="within"&&J&&ie&&re&&Se?(ve=Math.min(J/re,ie/Se),Wi(Q,{width:Math.round(re*ve),height:Math.round(Se*ve)})):Q&&xe&&Q.setAttribute(G,xe),!K&&re&&Se&&this.translate(((J||0)-re*ve)/2,((ie||0)-Se*ve)/2)}}),Ee(a)&&M.attr({x:a,y:c}),M.isImg=!0,Ee(M.imgwidth)&&Ee(M.imgheight)?S(M):(M.attr({width:0,height:0}),Sr("img",{onload:function(){let O=db[b.chartIndex];this.width===0&&($t(this,{position:"absolute",top:"-999em"}),bl.body.appendChild(this)),Xh[_]={width:this.width,height:this.height},M.imgwidth=this.width,M.imgheight=this.height,M.element&&S(M),this.parentNode&&this.parentNode.removeChild(this),b.asyncCounter--,b.asyncCounter||!O||O.hasLoaded||O.onload()},src:_}),this.asyncCounter++)}return g}clipRect(s,a,c,d){return this.rect(s,a,c,d,0)}text(s,a,c,d){let u={};if(d&&(this.allowHTML||!this.forExport))return this.html(s,a,c);u.x=Math.round(a||0),c&&(u.y=Math.round(c)),Ee(s)&&(u.text=s);let h=this.createElement("text").attr(u);return d&&(!this.forExport||this.allowHTML)||(h.xSetter=function(g,m,_){let S=_.getElementsByTagName("tspan"),b=_.getAttribute(m);for(let I=0,D;I<S.length;I++)(D=S[I]).getAttribute(m)===b&&D.setAttribute(m,g);_.setAttribute(m,g)}),h}fontMetrics(s){let a=de(s)?s:Dt(Ko.prototype.getStyle.call(s,"font-size")||0),c=a<24?a+3:Math.round(1.2*a),d=Math.round(.8*c);return{h:c,b:d,f:a}}rotCorr(s,a,c){let d=s;return a&&c&&(d=Math.max(d*Math.cos(a*Q1),4)),{x:-s/3*Math.sin(a*Q1),y:d}}pathToSegments(s){let a=[],c=[],d={A:8,C:7,H:2,L:3,M:3,Q:5,S:5,T:3,V:2};for(let u=0;u<s.length;u++)Wt(c[0])&&de(s[u])&&c.length===d[c[0].toUpperCase()]&&s.splice(u,0,c[0].replace("M","L").replace("m","l")),typeof s[u]=="string"&&(c.length&&a.push(c.slice(0)),c.length=0),c.push(s[u]);return a.push(c.slice(0)),a}label(s,a,c,d,u,h,g,m,_){return new Na(this,s,a,c,d,u,h,g,m,_)}alignElements(){this.alignedObjects.forEach(s=>s.align())}}tt(Gd.prototype,{Element:Ko,SVG_NS:pb,escapes:{"&":"&","<":"<",">":">","'":"'",'"':"""},symbols:zd,draw:hb}),gs.registerRendererType("svg",Gd,!0);let{composed:ep,isFirefox:tp}=he;function X1(v,s,a){let c=this.div?.style;Ko.prototype[`${s}Setter`].call(this,v,s,a),c&&(a.style[s]=c[s]=v)}let J1=(v,s)=>{if(!v.div){let a=Wi(v.element,"class"),c=v.css,d=Sr("div",a?{className:a}:void 0,U(k({position:"absolute",left:`${v.translateX||0}px`,top:`${v.translateY||0}px`},v.styles),{display:v.display,opacity:v.opacity,visibility:v.visibility}),v.parentGroup?.div||s);v.classSetter=(u,h,g)=>{g.setAttribute("class",u),d.className=u},v.translateXSetter=v.translateYSetter=(u,h)=>{v[h]=u,d.style[h==="translateX"?"left":"top"]=`${u}px`,v.doTransform=!0},v.scaleXSetter=v.scaleYSetter=(u,h)=>{v[h]=u,v.doTransform=!0},v.opacitySetter=v.visibilitySetter=X1,v.css=u=>(c.call(v,u),u.cursor&&(d.style.cursor=u.cursor),u.pointerEvents&&(d.style.pointerEvents=u.pointerEvents),v),v.on=function(){return Ko.prototype.on.apply({element:d,onEvents:v.onEvents},arguments),v},v.div=d}return v.div};class La extends Ko{static compose(s){no(ep,this.compose)&&(s.prototype.html=function(a,c,d){return new La(this,"span").attr({text:a,x:Math.round(c),y:Math.round(d)})})}constructor(s,a){super(s,a),La.useForeignObject?this.foreignObject=s.createElement("foreignObject").attr({zIndex:2}):this.css(k({position:"absolute"},s.styledMode?{}:{fontFamily:s.style.fontFamily,fontSize:s.style.fontSize})),this.element.style.whiteSpace="nowrap"}getSpanCorrection(s,a,c){this.xCorr=-s*c,this.yCorr=-a}css(s){let a,{element:c}=this,d=c.tagName==="SPAN"&&s&&"width"in s,u=d&&s.width;return d&&(delete s.width,this.textWidth=Dt(u)||void 0,a=!0),s?.textOverflow==="ellipsis"&&(s.overflow="hidden",s.whiteSpace="nowrap"),s?.lineClamp&&(s.display="-webkit-box",s.WebkitLineClamp=s.lineClamp,s.WebkitBoxOrient="vertical",s.overflow="hidden"),de(Number(s?.fontSize))&&(s.fontSize+="px"),tt(this.styles,s),$t(c,s),a&&this.updateTransform(),this}htmlGetBBox(){let{element:s}=this;return{x:s.offsetLeft,y:s.offsetTop,width:s.offsetWidth,height:s.offsetHeight}}updateTransform(){if(!this.added){this.alignOnAdd=!0;return}let{element:s,foreignObject:a,oldTextWidth:c,renderer:d,rotation:u,rotationOriginX:h,rotationOriginY:g,scaleX:m,scaleY:_,styles:{display:S="inline-block",whiteSpace:b},textAlign:I="left",textWidth:D,translateX:T=0,translateY:R=0,x:M=0,y:O=0}=this,H=()=>this.textPxLength?this.textPxLength:($t(s,{width:"",whiteSpace:b||"nowrap"}),s.offsetWidth);if(a||$t(s,{marginLeft:`${T}px`,marginTop:`${R}px`}),s.tagName==="SPAN"){let G,K=[u,I,s.innerHTML,D,this.textAlign].join(","),Q=-(this.parentGroup?.padding*1)||0;if(D!==c){let Se=H(),xe=D||0,ve=!d.styledMode&&s.style.textOverflow===""&&s.style.webkitLineClamp;(xe>c||Se>xe||ve)&&(/[\-\s\u00AD]/.test(s.textContent||s.innerText)||s.style.textOverflow==="ellipsis")&&($t(s,{width:(u||m||Se>xe)&&de(D)?D+"px":ve?Math.min(Se+1,xe)+"px":"auto",display:S,whiteSpace:b||"normal"}),this.oldTextWidth=D)}a&&($t(s,{display:"inline-block",verticalAlign:"top"}),a.attr({width:d.width,height:d.height})),K!==this.cTT&&(G=d.fontMetrics(s).b,Ee(u)&&!a&&(u!==(this.oldRotation||0)||I!==this.oldAlign)&&$t(s,{transform:`rotate(${u}deg)`,transformOrigin:`${Q}% ${Q}px`}),this.getSpanCorrection(!Ee(u)&&!this.textWidth&&this.textPxLength||s.offsetWidth,G,fi(I)));let{xCorr:J=0,yCorr:ie=0}=this,re={left:`${M+J}px`,top:`${O+ie}px`,textAlign:I,transformOrigin:`${(h??M)-J-M-Q}px ${(g??O)-ie-O-Q}px`};(m||_)&&(re.transform=`scale(${m??1},${_??1})`),a?(super.updateTransform(),de(M)&&de(O)?(a.attr({x:M+J,y:O+ie,width:s.offsetWidth+3,height:s.offsetHeight,"transform-origin":s.getAttribute("transform-origin")||"0 0"}),$t(s,{display:S,textAlign:I})):tp&&a.attr({width:0,height:0})):$t(s,re),this.cTT=K,this.oldRotation=u,this.oldAlign=I}}add(s){let{foreignObject:a,renderer:c}=this,d=c.box.parentNode,u=[];if(a)a.add(s),super.add(c.createElement("body").attr({xmlns:"http://www.w3.org/1999/xhtml"}).css({background:"transparent",margin:"0 3px 0 0"}).add(a));else{let h;if(this.parentGroup=s,s&&!(h=s.div)){let g=s;for(;g;)u.push(g),g=g.parentGroup;for(let m of u.reverse())h=J1(m,d)}(h||d).appendChild(this.element)}return this.added=!0,this.alignOnAdd&&this.updateTransform(),this}textSetter(s){s!==this.textStr&&(delete this.bBox,delete this.oldTextWidth,Fn.setElementHTML(this.element,s??""),this.textStr=s,this.doTransform=!0)}alignSetter(s){this.alignValue=this.textAlign=s,this.doTransform=!0}xSetter(s,a){this[a]=s,this.doTransform=!0}}let Fa=La.prototype;Fa.visibilitySetter=Fa.opacitySetter=X1,Fa.ySetter=Fa.rotationSetter=Fa.rotationOriginXSetter=Fa.rotationOriginYSetter=Fa.xSetter,(C=sn||(sn={})).xAxis={alignTicks:!0,allowDecimals:void 0,panningEnabled:!0,zIndex:2,zoomEnabled:!0,dateTimeLabelFormats:{millisecond:{main:"%[HMSL]",range:!1},second:{main:"%[HMS]",range:!1},minute:{main:"%[HM]",range:!1},hour:{main:"%[HM]",range:!1},day:{main:"%[eb]"},week:{main:"%[eb]"},month:{main:"%[bY]"},year:{main:"%Y"}},endOnTick:!1,gridLineDashStyle:"Solid",gridZIndex:1,labels:{autoRotationLimit:80,distance:15,enabled:!0,indentation:10,overflow:"justify",reserveSpace:void 0,rotation:void 0,staggerLines:0,step:0,useHTML:!1,zIndex:7,style:{color:"#333333",cursor:"default",fontSize:"0.8em",textOverflow:"ellipsis"}},maxPadding:.01,minorGridLineDashStyle:"Solid",minorTickLength:2,minorTickPosition:"outside",minorTicksPerMajor:5,minPadding:.01,offset:void 0,reversed:void 0,reversedStacks:!1,showEmpty:!0,showFirstLabel:!0,showLastLabel:!0,startOfWeek:1,startOnTick:!1,tickLength:10,tickmarkPlacement:"between",tickPixelInterval:100,tickPosition:"outside",title:{align:"middle",useHTML:!1,x:0,y:0,style:{color:"#666666",fontSize:"0.8em"}},visible:!0,minorGridLineColor:"#f2f2f2",minorGridLineWidth:1,minorTickColor:"#999999",lineColor:"#333333",lineWidth:1,gridLineColor:"#e6e6e6",gridLineWidth:void 0,tickColor:"#333333"},C.yAxis={reversedStacks:!0,endOnTick:!0,maxPadding:.05,minPadding:.05,tickPixelInterval:72,showLastLabel:!0,labels:{x:void 0},startOnTick:!0,title:{},stackLabels:{animation:{},allowOverlap:!1,enabled:!1,crop:!0,overflow:"justify",formatter:function(){return this.axis.chart.numberFormatter(this.total||0,-1)},style:{color:"#000000",fontSize:"0.7em",fontWeight:"bold",textOutline:"1px contrast"}},gridLineWidth:1,lineWidth:0};let fb=sn;(Pt||(Pt={})).registerEventOptions=function(v,s){v.eventOptions=v.eventOptions||{},lt(s.events,function(a,c){v.eventOptions[c]!==a&&(v.eventOptions[c]&&(Pr(v,c,v.eventOptions[c]),delete v.eventOptions[c]),Oa(a)&&(v.eventOptions[c]=a,St(v,c,a,{order:0})))})};let $d=Pt,{deg2rad:np}=he,Va=class{constructor(v,s,a,c,d){this.isNew=!0,this.isNewLabel=!0,this.axis=v,this.pos=s,this.type=a||"",this.parameters=d||{},this.tickmarkOffset=this.parameters.tickmarkOffset,this.options=this.parameters.options,_e(this,"init"),a||c||this.addLabel()}addLabel(){let v=this,s=v.axis,a=s.options,c=s.chart,d=s.categories,u=s.logarithmic,h=s.names,g=v.pos,m=ce(v.options?.labels,a.labels),_=s.tickPositions,S=g===_[0],b=g===_[_.length-1],I=(!m.step||m.step===1)&&s.tickInterval===1,D=_.info,T=v.label,R,M,O,H=this.parameters.category||(d?ce(d[g],h[g],g):g);u&&de(H)&&(H=yn(u.lin2log(H))),s.dateTime&&(D?R=(M=c.time.resolveDTLFormat(a.dateTimeLabelFormats[!a.grid?.enabled&&D.higherRanks[g]||D.unitName])).main:de(H)&&(R=s.dateTime.getXDateFormat(H,a.dateTimeLabelFormats||{}))),v.isFirst=S,v.isLast=b;let G={axis:s,chart:c,dateTimeLabelFormat:R,isFirst:S,isLast:b,pos:g,tick:v,tickPositionInfo:D,value:H};_e(this,"labelFormat",G);let K=ie=>m.formatter?m.formatter.call(ie,ie):m.format?(ie.text=s.defaultLabelFormatter.call(ie),kr.format(m.format,ie,c)):s.defaultLabelFormatter.call(ie),Q=K.call(G,G),J=M?.list;J?v.shortenLabel=function(){for(O=0;O<J.length;O++)if(tt(G,{dateTimeLabelFormat:J[O]}),T.attr({text:K.call(G,G)}),T.getBBox().width<s.getSlotWidth(v)-2*(m.padding||0))return;T.attr({text:""})}:v.shortenLabel=void 0,I&&s._addedPlotLB&&v.moveLabel(Q,m),Ee(T)||v.movedLabel?T&&T.textStr!==Q&&!I&&(!T.textWidth||m.style.width||T.styles.width||T.css({width:null}),T.attr({text:Q}),T.textPxLength=T.getBBox().width):(v.label=T=v.createLabel(Q,m),v.rotation=0)}createLabel(v,s,a){let c=this.axis,{renderer:d,styledMode:u}=c.chart,h=s.style.whiteSpace,g=Ee(v)&&s.enabled?d.text(v,a?.x,a?.y,s.useHTML).add(c.labelGroup):void 0;return g&&(u||g.css(Je(s.style)),g.textPxLength=g.getBBox().width,!u&&h&&g.css({whiteSpace:h})),g}destroy(){Ws(this,this.axis)}getPosition(v,s,a,c){let d=this.axis,u=d.chart,h=c&&u.oldChartHeight||u.chartHeight,g={x:v?yn(d.translate(s+a,void 0,void 0,c)+d.transB):d.left+d.offset+(d.opposite?(c&&u.oldChartWidth||u.chartWidth)-d.right-d.left:0),y:v?h-d.bottom+d.offset-(d.opposite?d.height:0):yn(h-d.translate(s+a,void 0,void 0,c)-d.transB)};return g.y=ni(g.y,-1e9,1e9),_e(this,"afterGetPosition",{pos:g}),g}getLabelPosition(v,s,a,c,d,u,h,g){let m,_,S=this.axis,b=S.transA,I=S.isLinked&&S.linkedParent?S.linkedParent.reversed:S.reversed,D=S.staggerLines,T=S.tickRotCorr||{x:0,y:0},R=c||S.reserveSpaceDefault?0:-S.labelOffset*(S.labelAlign==="center"?.5:1),M=d.distance,O={};return m=S.side===0?a.rotation?-M:-a.getBBox().height:S.side===2?T.y+M:Math.cos(a.rotation*np)*(T.y-a.getBBox(!1,0).height/2),Ee(d.y)&&(m=S.side===0&&S.horiz?d.y+m:d.y),v=v+ce(d.x,[0,1,0,-1][S.side]*M)+R+T.x-(u&&c?u*b*(I?-1:1):0),s=s+m-(u&&!c?u*b*(I?1:-1):0),D&&(_=h/(g||1)%D,S.opposite&&(_=D-_-1),s+=_*(S.labelOffset/D)),O.x=v,O.y=Math.round(s),_e(this,"afterGetLabelPosition",{pos:O,tickmarkOffset:u,index:h}),O}getLabelSize(){return this.label?this.label.getBBox()[this.axis.horiz?"height":"width"]:0}getMarkPath(v,s,a,c,d=!1,u){return u.crispLine([["M",v,s],["L",v+(d?0:-a),s+(d?a:0)]],c)}handleOverflow(v){let s=this.axis,a=s.options.labels,c=v.x,d=s.chart.chartWidth,u=s.chart.spacing,h=ce(s.labelLeft,Math.min(s.pos,u[3])),g=ce(s.labelRight,Math.max(s.isRadial?0:s.pos+s.len,d-u[1])),m=this.label,_=this.rotation,S=fi(s.labelAlign||m.attr("align")),b=m.getBBox().width,I=s.getSlotWidth(this),D=I,T=1,R;_||a.overflow!=="justify"?_<0&&c-S*b<h?R=Math.round(c/Math.cos(_*np)-h):_>0&&c+S*b>g&&(R=Math.round((d-c)/Math.cos(_*np))):(c-S*b<h?D=v.x+D*(1-S)-h:c+(1-S)*b>g&&(D=g-v.x+D*S,T=-1),(D=Math.min(I,D))<I&&s.labelAlign==="center"&&(v.x+=T*(I-D-S*(I-Math.min(b,D)))),(b>D||s.autoRotation&&m?.styles?.width)&&(R=D)),R&&m&&(this.shortenLabel?this.shortenLabel():m.css(tt({},{width:Math.floor(R)+"px",lineClamp:+!s.isRadial})))}moveLabel(v,s){let a=this,c=a.label,d=a.axis,u=!1,h;c&&c.textStr===v?(a.movedLabel=c,u=!0,delete a.label):lt(d.ticks,function(g){u||g.isNew||g===a||!g.label||g.label.textStr!==v||(a.movedLabel=g.label,u=!0,g.labelPos=a.movedLabel.xy,delete g.label)}),!u&&(a.labelPos||c)&&(h=a.labelPos||c.xy,a.movedLabel=a.createLabel(v,s,h),a.movedLabel&&a.movedLabel.attr({opacity:0}))}render(v,s,a){let c=this.axis,d=c.horiz,u=this.pos,h=ce(this.tickmarkOffset,c.tickmarkOffset),g=this.getPosition(d,u,h,s),m=g.x,_=g.y,S=c.pos,b=S+c.len,I=d?m:_,D=ce(a,this.label?.newOpacity,1);!c.chart.polar&&(yn(I)<S||I>b)&&(a=0),a??(a=1),this.isActive=!0,this.renderGridLine(s,a),this.renderMark(g,a),this.renderLabel(g,s,D,v),this.isNew=!1,_e(this,"afterRender")}renderGridLine(v,s){let a=this.axis,c=a.options,d={},u=this.pos,h=this.type,g=ce(this.tickmarkOffset,a.tickmarkOffset),m=a.chart.renderer,_=this.gridLine,S,b=c.gridLineWidth,I=c.gridLineColor,D=c.gridLineDashStyle;this.type==="minor"&&(b=c.minorGridLineWidth,I=c.minorGridLineColor,D=c.minorGridLineDashStyle),_||(a.chart.styledMode||(d.stroke=I,d["stroke-width"]=b||0,d.dashstyle=D),h||(d.zIndex=1),v&&(s=0),this.gridLine=_=m.path().attr(d).addClass("highcharts-"+(h?h+"-":"")+"grid-line").add(a.gridGroup)),_&&(S=a.getPlotLinePath({value:u+g,lineWidth:_.strokeWidth(),force:"pass",old:v,acrossPanes:!1}))&&_[v||this.isNew?"attr":"animate"]({d:S,opacity:s})}renderMark(v,s){let a=this.axis,c=a.options,d=a.chart.renderer,u=this.type,h=a.tickSize(u?u+"Tick":"tick"),g=v.x,m=v.y,_=ce(c[u!=="minor"?"tickWidth":"minorTickWidth"],!u&&a.isXAxis?1:0),S=c[u!=="minor"?"tickColor":"minorTickColor"],b=this.mark,I=!b;h&&(a.opposite&&(h[0]=-h[0]),!b&&(this.mark=b=d.path().addClass("highcharts-"+(u?u+"-":"")+"tick").add(a.axisGroup),a.chart.styledMode||b.attr({stroke:S,"stroke-width":_})),b[I?"attr":"animate"]({d:this.getMarkPath(g,m,h[0],b.strokeWidth(),a.horiz,d),opacity:s}))}renderLabel(v,s,a,c){let d=this.axis,u=d.horiz,h=d.options,g=this.label,m=h.labels,_=m.step,S=ce(this.tickmarkOffset,d.tickmarkOffset),b=v.x,I=v.y,D=!0;g&&de(b)&&(g.xy=v=this.getLabelPosition(b,I,g,u,m,S,c,_),(!this.isFirst||this.isLast||h.showFirstLabel)&&(!this.isLast||this.isFirst||h.showLastLabel)?u&&!s&&a!==0&&this.handleOverflow(v):D=!1,_&&c%_&&(D=!1),D&&de(v.y)?(v.opacity=a,g[this.isNewLabel?"attr":"animate"](v).show(!0),this.isNewLabel=!1):(g.hide(),this.isNewLabel=!0))}replaceMovedLabel(){let v=this.label,s=this.axis;v&&!this.isNew&&(v.animate({opacity:0},void 0,v.destroy),delete this.label),s.isDirty=!0,this.label=this.movedLabel,delete this.movedLabel}},{animObject:Vn}=Yi,{xAxis:Sl,yAxis:Sc}=fb,{defaultOptions:ip}=li,{registerEventOptions:e2}=$d,{deg2rad:gb}=he,t2=(v,s)=>gc(s,void 0,void 0,ce(v.options.allowDecimals,s<.5||v.tickAmount!==void 0),!!v.tickAmount);tt(ip,{xAxis:Sl,yAxis:Je(Sl,Sc)});class ms{constructor(s,a,c){this.init(s,a,c)}init(s,a,c=this.coll){let d=c==="xAxis",u=this.isZAxis||(s.inverted?!d:d);this.chart=s,this.horiz=u,this.isXAxis=d,this.coll=c,_e(this,"init",{userOptions:a}),this.opposite=ce(a.opposite,this.opposite),this.side=ce(a.side,this.side,u?2*!this.opposite:this.opposite?1:3),this.setOptions(a);let h=this.options,g=h.labels;this.type??(this.type=h.type||"linear"),this.uniqueNames??(this.uniqueNames=h.uniqueNames??!0),_e(this,"afterSetType"),this.userOptions=a,this.minPixelPadding=0,this.reversed=ce(h.reversed,this.reversed),this.visible=h.visible,this.zoomEnabled=h.zoomEnabled,this.hasNames=this.type==="category"||h.categories===!0,this.categories=vn(h.categories)&&h.categories||(this.hasNames?[]:void 0),this.names||(this.names=[],this.names.keys={}),this.plotLinesAndBandsGroups={},this.positiveValuesOnly=!!this.logarithmic,this.isLinked=Ee(h.linkedTo),this.ticks={},this.labelEdge=[],this.minorTicks={},this.plotLinesAndBands=[],this.alternateBands={},this.len??(this.len=0),this.minRange=this.userMinRange=h.minRange||h.maxZoom,this.range=h.range,this.offset=h.offset||0,this.max=void 0,this.min=void 0;let m=ce(h.crosshair,Si(s.options.tooltip.crosshairs)[+!d]);this.crosshair=m===!0?{}:m,s.axes.indexOf(this)===-1&&(d?s.axes.splice(s.xAxis.length,0,this):s.axes.push(this),Ra(this,s[this.coll])),s.orderItems(this.coll),this.series=this.series||[],s.inverted&&!this.isZAxis&&d&&!Ee(this.reversed)&&(this.reversed=!0),this.labelRotation=de(g.rotation)?g.rotation:void 0,e2(this,h),_e(this,"afterInit")}setOptions(s){let a=this.horiz?{labels:{autoRotation:[-45],padding:3},margin:15}:{labels:{padding:1},title:{rotation:90*this.side}};this.options=Je(a,this.coll==="yAxis"?{title:{text:this.chart.options.lang.yAxisTitle}}:{},ip[this.coll],s),_e(this,"afterSetOptions",{userOptions:s})}defaultLabelFormatter(){let s=this.axis,a=this.chart,{numberFormatter:c}=a,d=de(this.value)?this.value:NaN,u=s.chart.time,h=s.categories,g=this.dateTimeLabelFormat,m=ip.lang,_=m.numericSymbols,S=m.numericSymbolMagnitude||1e3,b=s.logarithmic?Math.abs(d):s.tickInterval,I=_?.length,D,T;if(h)T=`${this.value}`;else if(g)T=u.dateFormat(g,d,!0);else if(I&&_&&b>=1e3)for(;I--&&T===void 0;)b>=(D=Math.pow(S,I+1))&&10*d%D==0&&_[I]!==null&&d!==0&&(T=c(d/D,-1,void 0,void 0,a)+_[I]);return T??(T=c(d,-1,void 0,1e4>Math.abs(d)?"":void 0,a)),T}getSeriesExtremes(){let s,a=this;_e(this,"getSeriesExtremes",null,function(){a.hasVisibleSeries=!1,a.dataMin=a.dataMax=a.threshold=void 0,a.softThreshold=!a.isXAxis,a.series.forEach(c=>{if(c.reserveSpace()){let d=c.options,u,h=d.threshold,g,m;if(a.hasVisibleSeries=!0,a.positiveValuesOnly&&0>=(h||0)&&(h=void 0),a.isXAxis)(u=c.getColumn("x")).length&&(u=a.logarithmic?u.filter(_=>_>0):u,g=(s=c.getXExtremes(u)).min,m=s.max,de(g)||g instanceof Date||(u=u.filter(de),g=(s=c.getXExtremes(u)).min,m=s.max),u.length&&(a.dataMin=Math.min(ce(a.dataMin,g),g),a.dataMax=Math.max(ce(a.dataMax,m),m)));else{let _=c.applyExtremes();de(_.dataMin)&&(g=_.dataMin,a.dataMin=Math.min(ce(a.dataMin,g),g)),de(_.dataMax)&&(m=_.dataMax,a.dataMax=Math.max(ce(a.dataMax,m),m)),Ee(h)&&(a.threshold=h),(!d.softThreshold||a.positiveValuesOnly)&&(a.softThreshold=!1)}}})}),_e(this,"afterGetSeriesExtremes")}translate(s,a,c,d,u,h){let g=this.linkedParent||this,m=d&&g.old?g.old.min:g.min;if(!de(m))return NaN;let _=g.minPixelPadding,S=(g.isOrdinal||g.brokenAxis?.hasBreaks||g.logarithmic&&u)&&!!g.lin2val,b=1,I=0,D=d&&g.old?g.old.transA:g.transA,T=0;return D||(D=g.transA),c&&(b*=-1,I=g.len),g.reversed&&(b*=-1,I-=b*(g.sector||g.len)),a?(T=(s=s*b+I-_)/D+m,S&&(T=g.lin2val(T))):(S&&(s=g.val2lin(s)),T=b*(s-m)*D+I+b*_+(de(h)?D*h:0),g.isRadial||(T=yn(T))),T}toPixels(s,a){return this.translate(this.chart?.time.parse(s)??NaN,!1,!this.horiz,void 0,!0)+(a?0:this.pos)}toValue(s,a){return this.translate(s-(a?0:this.pos),!0,!this.horiz,void 0,!0)}getPlotLinePath(s){let a=this,c=a.chart,d=a.left,u=a.top,h=s.old,g=s.value,m=s.lineWidth,_=h&&c.oldChartHeight||c.chartHeight,S=h&&c.oldChartWidth||c.chartWidth,b=a.transB,I=s.translatedValue,D=s.force,T,R,M,O,H;function G(Q,J,ie){return D!=="pass"&&(Q<J||Q>ie)&&(D?Q=ni(Q,J,ie):H=!0),Q}let K={value:g,lineWidth:m,old:h,force:D,acrossPanes:s.acrossPanes,translatedValue:I};return _e(this,"getPlotLinePath",K,function(Q){T=M=(I=ni(I=ce(I,a.translate(g,void 0,void 0,h)),-1e9,1e9))+b,R=O=_-I-b,de(I)?a.horiz?(R=u,O=_-a.bottom+(a.options.isInternal?0:c.scrollablePixelsY||0),T=M=G(T,d,d+a.width)):(T=d,M=S-a.right+(c.scrollablePixelsX||0),R=O=G(R,u,u+a.height)):(H=!0,D=!1),Q.path=H&&!D?void 0:c.renderer.crispLine([["M",T,R],["L",M,O]],m||1)}),K.path}getLinearTickPositions(s,a,c){let d,u,h,g=yn(Math.floor(a/s)*s),m=yn(Math.ceil(c/s)*s),_=[];if(yn(g+s)===g&&(h=20),this.single)return[a];for(d=g;d<=m&&(_.push(d),(d=yn(d+s,h))!==u);)u=d;return _}getMinorTickInterval(){let{minorTicks:s,minorTickInterval:a}=this.options;return s===!0?ce(a,"auto"):s!==!1?a:void 0}getMinorTickPositions(){let s=this.options,a=this.tickPositions,c=this.minorTickInterval,d=this.pointRangePadding||0,u=(this.min||0)-d,h=(this.max||0)+d,g=this.brokenAxis?.hasBreaks?this.brokenAxis.unitLength:h-u,m=[],_;if(g&&g/c<this.len/3){let S=this.logarithmic;if(S)this.paddedTicks.forEach(function(b,I,D){I&&m.push.apply(m,S.getLogTickPositions(c,D[I-1],D[I],!0))});else if(this.dateTime&&this.getMinorTickInterval()==="auto")m=m.concat(this.getTimeTicks(this.dateTime.normalizeTimeTickInterval(c),u,h,s.startOfWeek));else for(_=u+(a[0]-u)%c;_<=h&&_!==m[0];_+=c)m.push(_)}return m.length!==0&&this.trimTicks(m),m}adjustForMinRange(){let s=this.options,a=this.logarithmic,c=this.chart.time,{max:d,min:u,minRange:h}=this,g,m,_,S;this.isXAxis&&h===void 0&&!a&&(h=Ee(s.min)||Ee(s.max)||Ee(s.floor)||Ee(s.ceiling)?null:Math.min(5*(Ai(this.series.map(b=>{let I=b.getColumn("x");return b.xIncrement?I.slice(0,2):I}))||0),this.dataMax-this.dataMin)),de(d)&&de(u)&&de(h)&&d-u<h&&(m=this.dataMax-this.dataMin>=h,g=(h-d+u)/2,_=[u-g,c.parse(s.min)??u-g],m&&(_[2]=a?a.log2lin(this.dataMin):this.dataMin),S=[(u=st(_))+h,c.parse(s.max)??u+h],m&&(S[2]=a?a.log2lin(this.dataMax):this.dataMax),(d=So(S))-u<h&&(_[0]=d-h,_[1]=c.parse(s.min)??d-h,u=st(_))),this.minRange=h,this.min=u,this.max=d}getClosest(){let s,a;if(this.categories)a=1;else{let c=[];this.series.forEach(function(d){let u=d.closestPointRange,h=d.getColumn("x");h.length===1?c.push(h[0]):d.sorted&&Ee(u)&&d.reserveSpace()&&(a=Ee(a)?Math.min(a,u):u)}),c.length&&(c.sort((d,u)=>d-u),s=Ai([c]))}return s&&a?Math.min(s,a):s||a}nameToX(s){let a=vn(this.options.categories),c=a?this.categories:this.names,d=s.options.x,u;return s.series.requireSorting=!1,Ee(d)||(d=this.uniqueNames&&c?a?c.indexOf(s.name):ce(c.keys[s.name],-1):s.series.autoIncrement()),d===-1?!a&&c&&(u=c.length):de(d)&&(u=d),u!==void 0?(this.names[u]=s.name,this.names.keys[s.name]=u):s.x&&(u=s.x),u}updateNames(){let s=this,a=this.names;a.length>0&&(Object.keys(a.keys).forEach(function(c){delete a.keys[c]}),a.length=0,this.minRange=this.userMinRange,(this.series||[]).forEach(c=>{c.xIncrement=null,(!c.points||c.isDirtyData)&&(s.max=Math.max(s.max||0,c.dataTable.rowCount-1),c.processData(),c.generatePoints());let d=c.getColumn("x").slice();c.data.forEach((u,h)=>{let g=d[h];u?.options&&u.name!==void 0&&(g=s.nameToX(u))!==void 0&&g!==u.x&&(d[h]=u.x=g)}),c.dataTable.setColumn("x",d)}))}setAxisTranslation(){let s=this,a=s.max-s.min,c=s.linkedParent,d=!!s.categories,u=s.isXAxis,h=s.axisPointRange||0,g,m=0,_=0,S,b=s.transA;(u||d||h)&&(g=s.getClosest(),c?(m=c.minPointOffset,_=c.pointRangePadding):s.series.forEach(function(I){let D=d?1:u?ce(I.options.pointRange,g,0):s.axisPointRange||0,T=I.options.pointPlacement;if(h=Math.max(h,D),!s.single||d){let R=I.is("xrange")?!u:u;m=Math.max(m,R&&Wt(T)?0:D/2),_=Math.max(_,R&&T==="on"?0:D)}}),S=s.ordinal?.slope&&g?s.ordinal.slope/g:1,s.minPointOffset=m*=S,s.pointRangePadding=_*=S,s.pointRange=Math.min(h,s.single&&d?1:a),u&&(s.closestPointRange=g)),s.translationSlope=s.transA=b=s.staticScale||s.len/(a+_||1),s.transB=s.horiz?s.left:s.bottom,s.minPixelPadding=b*m,_e(this,"afterSetAxisTranslation")}minFromRange(){let{max:s,min:a}=this;return de(s)&&de(a)&&s-a||void 0}setTickInterval(s){let{categories:a,chart:c,dataMax:d,dataMin:u,dateTime:h,isXAxis:g,logarithmic:m,options:_,softThreshold:S}=this,b=c.time,I=de(this.threshold)?this.threshold:void 0,D=this.minRange||0,{ceiling:T,floor:R,linkedTo:M,softMax:O,softMin:H}=_,G=de(M)&&c[this.coll]?.[M],K=_.tickPixelInterval,Q=_.maxPadding,J=_.minPadding,ie=0,re,Se=de(_.tickInterval)&&_.tickInterval>=0?_.tickInterval:void 0,xe,ve,je,Ke;if(h||a||G||this.getTickAmount(),je=ce(this.userMin,b.parse(_.min)),Ke=ce(this.userMax,b.parse(_.max)),G?(this.linkedParent=G,re=G.getExtremes(),this.min=ce(re.min,re.dataMin),this.max=ce(re.max,re.dataMax),this.type!==G.type&&Ln(11,!0,c)):(S&&Ee(I)&&de(d)&&de(u)&&(u>=I?(xe=I,J=0):d<=I&&(ve=I,Q=0)),this.min=ce(je,xe,u),this.max=ce(Ke,ve,d)),de(this.max)&&de(this.min)&&(m&&(this.positiveValuesOnly&&!s&&0>=Math.min(this.min,ce(u,this.min))&&Ln(10,!0,c),this.min=yn(m.log2lin(this.min),16),this.max=yn(m.log2lin(this.max),16)),this.range&&de(u)&&(this.userMin=this.min=je=Math.max(u,this.minFromRange()||0),this.userMax=Ke=this.max,this.range=void 0)),_e(this,"foundExtremes"),this.adjustForMinRange(),de(this.min)&&de(this.max)){if(!de(this.userMin)&&de(H)&&H<this.min&&(this.min=je=H),!de(this.userMax)&&de(O)&&O>this.max&&(this.max=Ke=O),a||this.axisPointRange||this.stacking?.usePercentage||G||(ie=this.max-this.min)&&(!Ee(je)&&J&&(this.min-=ie*J),!Ee(Ke)&&Q&&(this.max+=ie*Q)),!de(this.userMin)&&de(R)&&(this.min=Math.max(this.min,R)),!de(this.userMax)&&de(T)&&(this.max=Math.min(this.max,T)),S&&de(u)&&de(d)){let ot=I||0;!Ee(je)&&this.min<ot&&u>=ot?this.min=_.minRange?Math.min(ot,this.max-D):ot:!Ee(Ke)&&this.max>ot&&d<=ot&&(this.max=_.minRange?Math.max(ot,this.min+D):ot)}!c.polar&&this.min>this.max&&(Ee(_.min)?this.max=this.min:Ee(_.max)&&(this.min=this.max)),ie=this.max-this.min}if(this.min!==this.max&&de(this.min)&&de(this.max)?G&&!Se&&K===G.options.tickPixelInterval?this.tickInterval=Se=G.tickInterval:this.tickInterval=ce(Se,this.tickAmount?ie/Math.max(this.tickAmount-1,1):void 0,a?1:ie*K/Math.max(this.len,K)):this.tickInterval=1,g&&!s){let ot=this.min!==this.old?.min||this.max!==this.old?.max;this.series.forEach(function(nt){nt.forceCrop=nt.forceCropping?.(),nt.processData(ot)}),_e(this,"postProcessData",{hasExtremesChanged:ot})}this.setAxisTranslation(),_e(this,"initialAxisTranslation"),this.pointRange&&!Se&&(this.tickInterval=Math.max(this.pointRange,this.tickInterval));let Xe=ce(_.minTickInterval,h&&!this.series.some(ot=>!ot.sorted)?this.closestPointRange:0);!Se&&Xe&&this.tickInterval<Xe&&(this.tickInterval=Xe),h||m||Se||(this.tickInterval=t2(this,this.tickInterval)),this.tickAmount||(this.tickInterval=this.unsquish()),this.setTickPositions()}setTickPositions(){let s=this.options,a=s.tickPositions,c=s.tickPositioner,d=this.getMinorTickInterval(),u=!this.isPanning,h=u&&s.startOnTick,g=u&&s.endOnTick,m=[],_;if(this.tickmarkOffset=this.categories&&s.tickmarkPlacement==="between"&&this.tickInterval===1?.5:0,this.single=this.min===this.max&&Ee(this.min)&&!this.tickAmount&&(this.min%1==0||s.allowDecimals!==!1),a)m=a.slice();else if(de(this.min)&&de(this.max)){if(!this.ordinal?.positions&&(this.max-this.min)/this.tickInterval>Math.max(2*this.len,200))m=[this.min,this.max],Ln(19,!1,this.chart);else if(this.dateTime)m=this.getTimeTicks(this.dateTime.normalizeTimeTickInterval(this.tickInterval,s.units),this.min,this.max,s.startOfWeek,this.ordinal?.positions,this.closestPointRange,!0);else if(this.logarithmic)m=this.logarithmic.getLogTickPositions(this.tickInterval,this.min,this.max);else{let S=this.tickInterval,b=S;for(;b<=2*S&&(m=this.getLinearTickPositions(this.tickInterval,this.min,this.max),this.tickAmount&&m.length>this.tickAmount);)this.tickInterval=t2(this,b*=1.1)}m.length>this.len&&(m=[m[0],m[m.length-1]])[0]===m[1]&&(m.length=1),c&&(this.tickPositions=m,(_=c.apply(this,[this.min,this.max,this]))&&(m=_))}this.isDirty||m.length===this.tickPositions?.length||(this.isDirty=!0),this.tickPositions=m,this.minorTickInterval=d==="auto"&&this.tickInterval?this.tickInterval/s.minorTicksPerMajor:d,this.paddedTicks=m.slice(0),this.trimTicks(m,h,g),!this.isLinked&&de(this.min)&&de(this.max)&&(this.single&&m.length<2&&!this.categories&&!this.series.some(S=>S.is("heatmap")&&S.options.pointPlacement==="between")&&(this.min-=.5,this.max+=.5),a||_||this.adjustTickAmount()),_e(this,"afterSetTickPositions")}trimTicks(s,a,c){let d=s[0],u=s[s.length-1],h=!this.isOrdinal&&this.minPointOffset||0;if(_e(this,"trimTicks"),!this.isLinked||!this.grid){if(a&&d!==-1/0)this.min=d;else for(;this.min-h>s[0];)s.shift();if(c)this.max=u;else for(;this.max+h<s[s.length-1];)s.pop();s.length===0&&Ee(d)&&!this.options.tickPositions&&s.push((u+d)/2)}}alignToOthers(){let s,a=this,c=a.chart,d=[this],u=a.options,h=c.options.chart,g=this.coll==="yAxis"&&h.alignThresholds,m=[];if(a.thresholdAlignment=void 0,(h.alignTicks!==!1&&u.alignTicks||g)&&u.startOnTick!==!1&&u.endOnTick!==!1&&!a.logarithmic){let _=b=>{let{horiz:I,options:D}=b;return[I?D.left:D.top,D.width,D.height,D.pane].join(",")},S=_(this);c[this.coll].forEach(function(b){let{series:I}=b;I.length&&I.some(D=>D.visible)&&b!==a&&_(b)===S&&(s=!0,d.push(b))})}if(s&&g){d.forEach(S=>{let b=S.getThresholdAlignment(a);de(b)&&m.push(b)});let _=m.length>1?m.reduce((S,b)=>S+=b,0)/m.length:void 0;d.forEach(S=>{S.thresholdAlignment=_})}return s}getThresholdAlignment(s){if((!de(this.dataMin)||this!==s&&this.series.some(a=>a.isDirty||a.isDirtyData||a.xAxis?.isDirty))&&this.getSeriesExtremes(),de(this.threshold)){let a=ni((this.threshold-(this.dataMin||0))/((this.dataMax||0)-(this.dataMin||0)),0,1);return this.options.reversed&&(a=1-a),a}}getTickAmount(){let s=this.options,a=s.tickPixelInterval,c=s.tickAmount;Ee(s.tickInterval)||c||!(this.len<a)||this.isRadial||this.logarithmic||!s.startOnTick||!s.endOnTick||(c=2),!c&&this.alignToOthers()&&(c=Math.ceil(this.len/a)+1),c<4&&(this.finalTickAmt=c,c=5),this.tickAmount=c}adjustTickAmount(){let s=this,{finalTickAmt:a,max:c,min:d,options:u,tickPositions:h,tickAmount:g,thresholdAlignment:m}=s,_=h?.length,S=ce(s.threshold,s.softThreshold?0:null),b,I,D=s.tickInterval,T,R=()=>h.push(yn(h[h.length-1]+D)),M=()=>h.unshift(yn(h[0]-D));if(de(m)&&(T=m===0?0:m===1?g-1:Math.round(ni(m*(g-1),1,g-2)),u.reversed&&(T=g-1-T)),s.hasData()&&de(d)&&de(c)){let O=()=>{s.transA*=(_-1)/(g-1),s.min=u.startOnTick?h[0]:Math.min(d,h[0]),s.max=u.endOnTick?h[h.length-1]:Math.max(c,h[h.length-1])};if(de(T)&&de(s.threshold)){for(;h[T]!==S||h.length!==g||h[0]>d||h[h.length-1]<c;){for(h.length=0,h.push(s.threshold);h.length<g;)h[T]===void 0||h[T]>s.threshold?M():R();if(D>8*s.tickInterval)break;D*=2}O()}else if(_<g){for(;h.length<g;)h.length%2||d===S?R():M();O()}if(Ee(a)){for(I=b=h.length;I--;)(a===3&&I%2==1||a<=2&&I>0&&I<b-1)&&h.splice(I,1);s.finalTickAmt=void 0}}}setScale(){let{coll:s,stacking:a}=this,c=!1,d=!1;this.series.forEach(h=>{c=c||h.isDirtyData||h.isDirty,d=d||h.xAxis?.isDirty||!1}),this.setAxisSize();let u=this.len!==this.old?.len;u||c||d||this.isLinked||this.forceRedraw||this.userMin!==this.old?.userMin||this.userMax!==this.old?.userMax||this.alignToOthers()?(a&&s==="yAxis"&&a.buildStacks(),this.forceRedraw=!1,this.userMinRange||(this.minRange=void 0),this.getSeriesExtremes(),this.setTickInterval(),a&&s==="xAxis"&&a.buildStacks(),this.isDirty||(this.isDirty=u||this.min!==this.old?.min||this.max!==this.old?.max)):a&&a.cleanStacks(),c&&delete this.allExtremes,_e(this,"afterSetScale")}setExtremes(s,a,c=!0,d,u){let h=this.chart;this.series.forEach(g=>{delete g.kdTree}),s=h.time.parse(s),a=h.time.parse(a),_e(this,"setExtremes",u=tt(u,{min:s,max:a}),g=>{this.userMin=g.min,this.userMax=g.max,this.eventArgs=g,c&&h.redraw(d)})}setAxisSize(){let s=this.chart,a=this.options,c=a.offsets||[0,0,0,0],d=this.horiz,u=this.width=Math.round(Oi(ce(a.width,s.plotWidth-c[3]+c[1]),s.plotWidth)),h=this.height=Math.round(Oi(ce(a.height,s.plotHeight-c[0]+c[2]),s.plotHeight)),g=this.top=Math.round(Oi(ce(a.top,s.plotTop+c[0]),s.plotHeight,s.plotTop)),m=this.left=Math.round(Oi(ce(a.left,s.plotLeft+c[3]),s.plotWidth,s.plotLeft));this.bottom=s.chartHeight-h-g,this.right=s.chartWidth-u-m,this.len=Math.max(d?u:h,0),this.pos=d?m:g}getExtremes(){let s=this.logarithmic;return{min:s?yn(s.lin2log(this.min)):this.min,max:s?yn(s.lin2log(this.max)):this.max,dataMin:this.dataMin,dataMax:this.dataMax,userMin:this.userMin,userMax:this.userMax}}getThreshold(s){let a=this.logarithmic,c=a?a.lin2log(this.min):this.min,d=a?a.lin2log(this.max):this.max;return s===null||s===-1/0?s=c:s===1/0?s=d:c>s?s=c:d<s&&(s=d),this.translate(s,0,1,0,1)}autoLabelAlign(s){let a=((s-90*this.side)%360+360)%360,c={align:"center"};return _e(this,"autoLabelAlign",c,function(d){a>15&&a<165?d.align="right":a>195&&a<345&&(d.align="left")}),c.align}tickSize(s){let a=this.options,c=ce(a[s==="tick"?"tickWidth":"minorTickWidth"],s==="tick"&&this.isXAxis&&!this.categories?1:0),d=a[s==="tick"?"tickLength":"minorTickLength"],u;c&&d&&(a[s+"Position"]==="inside"&&(d=-d),u=[d,c]);let h={tickSize:u};return _e(this,"afterTickSize",h),h.tickSize}labelMetrics(){let s=this.chart.renderer,a=this.ticks,c=a[Object.keys(a)[0]]||{};return this.chart.renderer.fontMetrics(c.label||c.movedLabel||s.box)}unsquish(){let s=this.options.labels,a=s.padding||0,c=this.horiz,d=this.tickInterval,u=this.len/((+!!this.categories+this.max-this.min)/d),h=s.rotation,g=yn(.8*this.labelMetrics().h),m=Math.max(this.max-this.min,0),_=function(T){let R=(T+2*a)/(u||1);return(R=R>1?Math.ceil(R):1)*d>m&&T!==1/0&&u!==1/0&&m&&(R=Math.ceil(m/d)),yn(R*d)},S=d,b,I=Number.MAX_VALUE,D;if(c){if(!s.staggerLines&&(de(h)?D=[h]:u<s.autoRotationLimit&&(D=s.autoRotation)),D){let T,R;for(let M of D)(M===h||M&&M>=-90&&M<=90)&&(R=(T=_(Math.abs(g/Math.sin(gb*M))))+Math.abs(M/360))<I&&(I=R,b=M,S=T)}}else S=_(.75*g);return this.autoRotation=D,this.labelRotation=ce(b,de(h)?h:0),s.step?d:S}getSlotWidth(s){let a=this.chart,c=this.horiz,d=this.options.labels,u=Math.max(this.tickPositions.length-!this.categories,1),h=a.margin[3];if(s&&de(s.slotWidth))return s.slotWidth;if(c&&d.step<2&&!this.isRadial)return d.rotation?0:(this.staggerLines||1)*this.len/u;if(!c){let g=d.style.width;if(g!==void 0)return parseInt(String(g),10);if(!this.opposite&&h)return h-a.spacing[3]}return .33*a.chartWidth}renderUnsquish(){let s=this.chart,a=s.renderer,c=this.tickPositions,d=this.ticks,u=this.options.labels,h=u.style,g=this.horiz,m=this.getSlotWidth(),_=Math.max(1,Math.round(m-(g?2*(u.padding||0):u.distance||0))),S={},b=this.labelMetrics(),I=h.lineClamp,D,T=I??(Math.floor(this.len/(c.length*b.h))||1),R=0;Wt(u.rotation)||(S.rotation=u.rotation||0),c.forEach(function(M){let O=d[M];O.movedLabel&&O.replaceMovedLabel();let H=O.label?.textPxLength||0;H>R&&(R=H)}),this.maxLabelLength=R,this.autoRotation?R>_&&R>b.h?S.rotation=this.labelRotation:this.labelRotation=0:m&&(D=_),S.rotation&&(D=R>.5*s.chartHeight?.33*s.chartHeight:R,I||(T=1)),this.labelAlign=u.align||this.autoLabelAlign(this.labelRotation||0),this.labelAlign&&(S.align=this.labelAlign),c.forEach(function(M){let O=d[M],H=O?.label,G=h.width,K={};H&&(H.attr(S),O.shortenLabel?O.shortenLabel():D&&!G&&h.whiteSpace!=="nowrap"&&(D<(H.textPxLength||0)||H.element.tagName==="SPAN")?H.css(tt(K,{width:`${D}px`,lineClamp:T})):!H.styles.width||K.width||G||H.css({width:"auto"}),O.rotation=S.rotation)},this),this.tickRotCorr=a.rotCorr(b.b,this.labelRotation||0,this.side!==0)}hasData(){return this.series.some(function(s){return s.hasData()})||this.options.showEmpty&&Ee(this.min)&&Ee(this.max)}addTitle(s){let a,c=this.chart.renderer,d=this.horiz,u=this.opposite,h=this.options.title,g=this.chart.styledMode;this.axisTitle||((a=h.textAlign)||(a=(d?{low:"left",middle:"center",high:"right"}:{low:u?"right":"left",middle:"center",high:u?"left":"right"})[h.align]),this.axisTitle=c.text(h.text||"",0,0,h.useHTML).attr({zIndex:7,rotation:h.rotation||0,align:a}).addClass("highcharts-axis-title"),g||this.axisTitle.css(Je(h.style)),this.axisTitle.add(this.axisGroup),this.axisTitle.isNew=!0),g||h.style.width||this.isRadial||this.axisTitle.css({width:this.len+"px"}),this.axisTitle[s?"show":"hide"](s)}generateTick(s){let a=this.ticks;a[s]?a[s].addLabel():a[s]=new Va(this,s)}createGroups(){let{axisParent:s,chart:a,coll:c,options:d}=this,u=a.renderer,h=(g,m,_)=>u.g(g).attr({zIndex:_}).addClass(`highcharts-${c.toLowerCase()}${m} `+(this.isRadial?`highcharts-radial-axis${m} `:"")+(d.className||"")).add(s);this.axisGroup||(this.gridGroup=h("grid","-grid",d.gridZIndex),this.axisGroup=h("axis","",d.zIndex),this.labelGroup=h("axis-labels","-labels",d.labels.zIndex))}getOffset(){let s=this,{chart:a,horiz:c,options:d,side:u,ticks:h,tickPositions:g,coll:m}=s,_=a.inverted&&!s.isZAxis?[1,0,3,2][u]:u,S=s.hasData(),b=d.title,I=d.labels,D=de(d.crossing),T=a.axisOffset,R=a.clipOffset,M=[-1,1,1,-1][u],O,H=0,G,K=0,Q=0,J,ie;if(s.showAxis=O=S||d.showEmpty,s.staggerLines=s.horiz&&I.staggerLines||void 0,s.createGroups(),S||s.isLinked?(g.forEach(function(re){s.generateTick(re)}),s.renderUnsquish(),s.reserveSpaceDefault=u===0||u===2||{1:"left",3:"right"}[u]===s.labelAlign,ce(I.reserveSpace,!D&&null,s.labelAlign==="center"||null,s.reserveSpaceDefault)&&g.forEach(function(re){Q=Math.max(h[re].getLabelSize(),Q)}),s.staggerLines&&(Q*=s.staggerLines),s.labelOffset=Q*(s.opposite?-1:1)):lt(h,function(re,Se){re.destroy(),delete h[Se]}),b?.text&&b.enabled!==!1&&(s.addTitle(O),O&&!D&&b.reserveSpace!==!1&&(s.titleOffset=H=s.axisTitle.getBBox()[c?"height":"width"],K=Ee(G=b.offset)?0:ce(b.margin,c?5:10))),s.renderLine(),s.offset=M*ce(d.offset,T[u]?T[u]+(d.margin||0):0),s.tickRotCorr=s.tickRotCorr||{x:0,y:0},ie=u===0?-s.labelMetrics().h:u===2?s.tickRotCorr.y:0,J=Math.abs(Q)+K,Q&&(J-=ie,J+=M*(c?ce(I.y,s.tickRotCorr.y+M*I.distance):ce(I.x,M*I.distance))),s.axisTitleMargin=ce(G,J),s.getMaxLabelDimensions&&(s.maxLabelDimensions=s.getMaxLabelDimensions(h,g)),m!=="colorAxis"&&R){let re=this.tickSize("tick");T[u]=Math.max(T[u],(s.axisTitleMargin||0)+H+M*s.offset,J,g?.length&&re?re[0]+M*s.offset:0);let Se=!s.axisLine||d.offset?0:s.axisLine.strokeWidth()/2;R[_]=Math.max(R[_],Se)}_e(this,"afterGetOffset")}getLinePath(s){let a=this.chart,c=this.opposite,d=this.offset,u=this.horiz,h=this.left+(c?this.width:0)+d,g=a.chartHeight-this.bottom-(c?this.height:0)+d;return c&&(s*=-1),a.renderer.crispLine([["M",u?this.left:h,u?g:this.top],["L",u?a.chartWidth-this.right:h,u?g:a.chartHeight-this.bottom]],s)}renderLine(){!this.axisLine&&(this.axisLine=this.chart.renderer.path().addClass("highcharts-axis-line").add(this.axisGroup),this.chart.styledMode||this.axisLine.attr({stroke:this.options.lineColor,"stroke-width":this.options.lineWidth,zIndex:7}))}getTitlePosition(s){let a=this.horiz,c=this.left,d=this.top,u=this.len,h=this.options.title,g=a?c:d,m=this.opposite,_=this.offset,S=h.x,b=h.y,I=this.chart.renderer.fontMetrics(s),D=s?Math.max(s.getBBox(!1,0).height-I.h-1,0):0,T={low:g+(a?0:u),middle:g+u/2,high:g+(a?u:0)}[h.align],R=(a?d+this.height:c)+(a?1:-1)*(m?-1:1)*(this.axisTitleMargin||0)+[-D,D,I.f,-D][this.side],M={x:a?T+S:R+(m?this.width:0)+_+S,y:a?R+b-(m?this.height:0)+_:T+b};return _e(this,"afterGetTitlePosition",{titlePosition:M}),M}renderMinorTick(s,a){let c=this.minorTicks;c[s]||(c[s]=new Va(this,s,"minor")),a&&c[s].isNew&&c[s].render(null,!0),c[s].render(null,!1,1)}renderTick(s,a,c){let d=this.isLinked,u=this.ticks;(!d||s>=this.min&&s<=this.max||this.grid?.isColumn)&&(u[s]||(u[s]=new Va(this,s)),c&&u[s].isNew&&u[s].render(a,!0,-1),u[s].render(a))}render(){let s,a,c=this,d=c.chart,u=c.logarithmic,h=d.renderer,g=c.options,m=c.isLinked,_=c.tickPositions,S=c.axisTitle,b=c.ticks,I=c.minorTicks,D=c.alternateBands,T=g.stackLabels,R=g.alternateGridColor,M=g.crossing,O=c.tickmarkOffset,H=c.axisLine,G=c.showAxis,K=Vn(h.globalAnimation);if(c.labelEdge.length=0,c.overlap=!1,[b,I,D].forEach(function(Q){lt(Q,function(J){J.isActive=!1})}),de(M)){let Q=this.isXAxis?d.yAxis[0]:d.xAxis[0],J=[1,-1,-1,1][this.side];if(Q){let ie=Q.toPixels(M,!0);c.horiz&&(ie=Q.len-ie),c.offset=J*ie}}if(c.hasData()||m){let Q=c.chart.hasRendered&&c.old&&de(c.old.min);c.minorTickInterval&&!c.categories&&c.getMinorTickPositions().forEach(function(J){c.renderMinorTick(J,Q)}),_.length&&(_.forEach(function(J,ie){c.renderTick(J,ie,Q)}),O&&(c.min===0||c.single)&&(b[-1]||(b[-1]=new Va(c,-1,null,!0)),b[-1].render(-1))),R&&_.forEach(function(J,ie){a=_[ie+1]!==void 0?_[ie+1]+O:c.max-O,ie%2==0&&J<c.max&&a<=c.max+(d.polar?-O:O)&&(D[J]||(D[J]=new he.PlotLineOrBand(c,{})),s=J+O,D[J].options={from:u?u.lin2log(s):s,to:u?u.lin2log(a):a,color:R,className:"highcharts-alternate-grid"},D[J].render(),D[J].isActive=!0)}),c._addedPlotLB||(c._addedPlotLB=!0,(g.plotLines||[]).concat(g.plotBands||[]).forEach(function(J){c.addPlotBandOrLine(J)}))}[b,I,D].forEach(function(Q){let J=[],ie=K.duration;lt(Q,function(re,Se){re.isActive||(re.render(Se,!1,0),re.isActive=!1,J.push(Se))}),Er(function(){let re=J.length;for(;re--;)Q[J[re]]&&!Q[J[re]].isActive&&(Q[J[re]].destroy(),delete Q[J[re]])},Q!==D&&d.hasRendered&&ie?ie:0)}),H&&(H[H.isPlaced?"animate":"attr"]({d:this.getLinePath(H.strokeWidth())}),H.isPlaced=!0,H[G?"show":"hide"](G)),S&&G&&(S[S.isNew?"attr":"animate"](c.getTitlePosition(S)),S.isNew=!1),T?.enabled&&c.stacking&&c.stacking.renderStackTotals(),c.old={len:c.len,max:c.max,min:c.min,transA:c.transA,userMax:c.userMax,userMin:c.userMin},c.isDirty=!1,_e(this,"afterRender")}redraw(){this.visible&&(this.render(),this.plotLinesAndBands.forEach(function(s){s.render()})),this.series.forEach(function(s){s.isDirty=!0})}getKeepProps(){return this.keepProps||ms.keepProps}destroy(s){let a=this,c=a.plotLinesAndBands,d=this.eventOptions;if(_e(this,"destroy",{keepEvents:s}),s||Pr(a),[a.ticks,a.minorTicks,a.alternateBands].forEach(function(u){Ws(u)}),c){let u=c.length;for(;u--;)c[u].destroy()}for(let u in["axisLine","axisTitle","axisGroup","gridGroup","labelGroup","cross","scrollbar"].forEach(function(h){a[h]&&(a[h]=a[h].destroy())}),a.plotLinesAndBandsGroups)a.plotLinesAndBandsGroups[u]=a.plotLinesAndBandsGroups[u].destroy();lt(a,function(u,h){a.getKeepProps().indexOf(h)===-1&&delete a[h]}),this.eventOptions=d}drawCrosshair(s,a){let c,d,u,h,g=this.crosshair,m=g?.snap??!0,_=this.chart,S=this.cross;if(_e(this,"drawCrosshair",{e:s,point:a}),s||(s=this.cross?.e),g&&(Ee(a)||!m)!==!1){if(clearTimeout(this.crossShowTimer),m?Ee(a)&&(d=ce(this.coll!=="colorAxis"?a.crosshairPos:null,this.isXAxis?a.plotX:this.len-a.plotY)):d=s&&(this.horiz?s.chartX-this.pos:this.len-s.chartY+this.pos),Ee(d)&&(h={value:a&&(this.isXAxis?a.x:ce(a.stackY,a.y)),translatedValue:d},_.polar&&tt(h,{isCrosshair:!0,chartX:s?.chartX,chartY:s?.chartY,point:a}),c=this.getPlotLinePath(h)||null),!Ee(c))return void this.hideCrosshair();u=this.categories&&!this.isRadial,this.crossShowTimer=Er(()=>{let b=this.cross;b||(this.cross=b=_.renderer.path().addClass("highcharts-crosshair highcharts-crosshair-"+(u?"category ":"thin ")+(g.className||"")).attr({zIndex:ce(g.zIndex,2)}).add(),!_.styledMode&&(b.attr({stroke:g.color||(u?Cn.parse("#ccd3ff").setOpacity(.25).get():"#cccccc"),"stroke-width":ce(g.width,1)}).css({"pointer-events":"none"}),g.dashStyle&&b.attr({dashstyle:g.dashStyle}))),b.show().animate({d:c},Vn(g?.animation)),u&&!g.width&&b.attr({"stroke-width":this.transA}),this.cross&&(this.cross.e=s)},(!S||S.attr("visibility")==="hidden")&&g.showDelay||0)}else this.hideCrosshair();_e(this,"afterDrawCrosshair",{e:s,point:a})}hideCrosshair(){clearTimeout(this.crossShowTimer),this.cross&&this.cross.hide(),_e(this,"afterHideCrosshair")}update(s,a){let c=this.chart;s=Je(this.userOptions,s),this.destroy(!0),this.init(c,s),c.isDirtyBox=!0,ce(a,!0)&&c.redraw()}remove(s){let a=this.chart,c=this.coll,d=this.series,u=d.length;for(;u--;)d[u]&&d[u].remove(!1);Io(a.axes,this),Io(a[c]||[],this),a.orderItems(c),this.destroy(),a.isDirtyBox=!0,ce(s,!0)&&a.redraw()}setTitle(s,a){this.update({title:s},a)}setCategories(s,a){this.update({categories:s},a)}}ms.keepProps=["coll","extKey","hcEvents","len","names","series","userMax","userMin"],(function(v){function s(){return this.chart.time.getTimeTicks.apply(this.chart.time,arguments)}function a(){if(this.type!=="datetime"){this.dateTime=void 0;return}this.dateTime||(this.dateTime=new c(this))}v.compose=function(d){return d.keepProps.includes("dateTime")||(d.keepProps.push("dateTime"),d.prototype.getTimeTicks=s,St(d,"afterSetType",a)),d};class c{constructor(u){this.axis=u}normalizeTimeTickInterval(u,h){let g=h||[["millisecond",[1,2,5,10,20,25,50,100,200,500]],["second",[1,2,5,10,15,30]],["minute",[1,2,5,10,15,30]],["hour",[1,2,3,4,6,8,12]],["day",[1,2]],["week",[1,2]],["month",[1,2,3,4,6]],["year",null]],m=g[g.length-1],_=Re[m[0]],S=m[1],b,I;for(b=0;b<g.length;b++)if(_=Re[(m=g[b])[0]],S=m[1],g[b+1]){let T=(_*S[S.length-1]+Re[g[b+1][0]])/2;if(u<=T){I=T/u;break}}_===Re.year&&u<5*_&&(S=[1,2,5]);let D=gc(u/_,S,m[0]==="year"?Math.max(Ir(u/_),1):1);return{unitRange:_,count:D,unitName:m[0],match:I}}getXDateFormat(u,h){let{axis:g}=this,m=g.chart.time;return g.closestPointRange?m.getDateFormat(g.closestPointRange,u,g.options.startOfWeek,h)||m.resolveDTLFormat(h.year).main:m.resolveDTLFormat(h.day).main}}v.Additions=c})(Ot||(Ot={}));let Ys=Ot;(function(v){function s(){this.type!=="logarithmic"?this.logarithmic=void 0:this.logarithmic??(this.logarithmic=new c(this))}function a(){let d=this.logarithmic;d&&(this.lin2val=function(u){return d.lin2log(u)},this.val2lin=function(u){return d.log2lin(u)})}v.compose=function(d){return d.keepProps.includes("logarithmic")||(d.keepProps.push("logarithmic"),St(d,"afterSetType",s),St(d,"afterInit",a)),d};class c{constructor(u){this.axis=u}getLogTickPositions(u,h,g,m){let _=this.axis,S=_.len,b=_.options,I=[];if(m||(this.minorAutoInterval=void 0),u>=.5)u=Math.round(u),I=_.getLinearTickPositions(u,h,g);else if(u>=.08){let D,T,R,M,O,H,G,K=Math.floor(h);for(D=u>.3?[1,2,4]:u>.15?[1,2,4,6,8]:[1,2,3,4,5,6,7,8,9],T=K;T<g+1&&!G;T++)for(R=0,M=D.length;R<M&&!G;R++)(O=this.log2lin(this.lin2log(T)*D[R]))>h&&(!m||H<=g)&&H!==void 0&&I.push(H),H>g&&(G=!0),H=O}else{let D=this.lin2log(h),T=this.lin2log(g),R=m?_.getMinorTickInterval():b.tickInterval,M=b.tickPixelInterval/(m?5:1),O=m?S/_.tickPositions.length:S;u=gc(u=ce(R==="auto"?null:R,this.minorAutoInterval,(T-D)*M/(O||1))),I=_.getLinearTickPositions(u,D,T).map(this.log2lin),m||(this.minorAutoInterval=u/5)}return m||(_.tickInterval=u),I}lin2log(u){return Math.pow(10,u)}log2lin(u){return Math.log(u)/Math.LN10}}v.Additions=c})(jt||(jt={}));let rp=jt;(function(v){let s;function a(_){return this.addPlotBandOrLine(_,"plotBands")}function c(_,S){let b=this.userOptions,I=new s(this,_);if(this.visible&&(I=I.render()),I){if(this._addedPlotLB||(this._addedPlotLB=!0,(b.plotLines||[]).concat(b.plotBands||[]).forEach(D=>{this.addPlotBandOrLine(D)})),S){let D=b[S]||[];D.push(_),b[S]=D}this.plotLinesAndBands.push(I)}return I}function d(_){return this.addPlotBandOrLine(_,"plotLines")}function u(_,S,b){b=b||this.options;let I=this.getPlotLinePath({value:S,force:!0,acrossPanes:b.acrossPanes}),D=[],T=this.horiz,R=!de(this.min)||!de(this.max)||_<this.min&&S<this.min||_>this.max&&S>this.max,M=this.getPlotLinePath({value:_,force:!0,acrossPanes:b.acrossPanes}),O,H=1,G;if(M&&I)for(R&&(G=M.toString()===I.toString(),H=0),O=0;O<M.length;O+=2){let K=M[O],Q=M[O+1],J=I[O],ie=I[O+1];(K[0]==="M"||K[0]==="L")&&(Q[0]==="M"||Q[0]==="L")&&(J[0]==="M"||J[0]==="L")&&(ie[0]==="M"||ie[0]==="L")&&(T&&J[1]===K[1]?(J[1]+=H,ie[1]+=H):T||J[2]!==K[2]||(J[2]+=H,ie[2]+=H),D.push(["M",K[1],K[2]],["L",Q[1],Q[2]],["L",ie[1],ie[2]],["L",J[1],J[2]],["Z"])),D.isFlat=G}return D}function h(_){this.removePlotBandOrLine(_)}function g(_){let S=this.plotLinesAndBands,b=this.options,I=this.userOptions;if(S){let D=S.length;for(;D--;)S[D].id===_&&S[D].destroy();[b.plotLines||[],I.plotLines||[],b.plotBands||[],I.plotBands||[]].forEach(function(T){for(D=T.length;D--;)T[D]?.id===_&&Io(T,T[D])})}}function m(_){this.removePlotBandOrLine(_)}v.compose=function(_,S){let b=S.prototype;return b.addPlotBand||(s=_,tt(b,{addPlotBand:a,addPlotLine:d,addPlotBandOrLine:c,getPlotBandPath:u,removePlotBand:h,removePlotLine:m,removePlotBandOrLine:g})),S}})(kt||(kt={}));let mb=kt;class so{static compose(s,a){return St(s,"afterInit",function(){this.labelCollectors.push(()=>{let c=[];for(let d of this.axes)for(let{label:u,options:h}of d.plotLinesAndBands)u&&!h?.label?.allowOverlap&&c.push(u);return c})}),mb.compose(so,a)}constructor(s,a){this.axis=s,this.options=a,this.id=a.id}render(){_e(this,"render");let{axis:s,options:a}=this,{horiz:c,logarithmic:d}=s,{color:u,events:h,zIndex:g=0}=a,{renderer:m,time:_}=s.chart,S={},b=_.parse(a.to),I=_.parse(a.from),D=_.parse(a.value),T=a.borderWidth,R=a.label,{label:M,svgElem:O}=this,H=[],G,K=Ee(I)&&Ee(b),Q=Ee(D),J=!O,ie={class:"highcharts-plot-"+(K?"band ":"line ")+(a.className||"")},re=K?"bands":"lines";if(!s.chart.styledMode&&(Q?(ie.stroke=u||"#999999",ie["stroke-width"]=ce(a.width,1),a.dashStyle&&(ie.dashstyle=a.dashStyle)):K&&(ie.fill=u||"#e6e9ff",T&&(ie.stroke=a.borderColor,ie["stroke-width"]=T))),S.zIndex=g,re+="-"+g,(G=s.plotLinesAndBandsGroups[re])||(s.plotLinesAndBandsGroups[re]=G=m.g("plot-"+re).attr(S).add()),O||(this.svgElem=O=m.path().attr(ie).add(G)),Ee(D))H=s.getPlotLinePath({value:d?.log2lin(D)??D,lineWidth:O.strokeWidth(),acrossPanes:a.acrossPanes});else{if(!(Ee(I)&&Ee(b)))return;H=s.getPlotBandPath(d?.log2lin(I)??I,d?.log2lin(b)??b,a)}return!this.eventsAdded&&h&&(lt(h,(Se,xe)=>{O?.on(xe,ve=>{h[xe].apply(this,[ve,this])})}),this.eventsAdded=!0),(J||!O.d)&&H?.length?O.attr({d:H}):O&&(H?(O.show(),O.animate({d:H})):O.d&&(O.hide(),M&&(this.label=M=M.destroy()))),R&&(Ee(R.text)||Ee(R.formatter))&&H?.length&&s.width>0&&s.height>0&&!H.isFlat?(R=Je(k({align:c&&K?"center":void 0,x:c?!K&&4:10,verticalAlign:!c&&K?"middle":void 0,y:c?K?16:10:K?6:-4,rotation:c&&!K?90:0},K?{inside:!0}:{}),R),this.renderLabel(R,H,K,g)):M&&M.hide(),this}renderLabel(s,a,c,d){let u=this.axis,h=u.chart.renderer,g=s.inside,m=this.label;m||(this.label=m=h.text(this.getLabelText(s),0,0,s.useHTML).attr({align:s.textAlign||s.align,rotation:s.rotation,class:"highcharts-plot-"+(c?"band":"line")+"-label "+(s.className||""),zIndex:d}),u.chart.styledMode||m.css(Je({color:u.chart.options.title?.style?.color,fontSize:"0.8em",textOverflow:c&&!g?"":"ellipsis"},s.style)),m.add());let _=a.xBounds||[a[0][1],a[1][1],c?a[2][1]:a[0][1]],S=a.yBounds||[a[0][2],a[1][2],c?a[2][2]:a[0][2]],b=So(_),I=So(S),D=st(_)-b;m.align(s,!1,{x:b,y:I,width:D,height:st(S)-I}),m.alignAttr.y-=h.fontMetrics(m).b,(!m.alignValue||m.alignValue==="left"||Ee(g))&&m.css({width:(s.style?.width||(c&&g?D:m.rotation===90?u.height-(m.alignAttr.y-u.top):(s.clip?u.width+u.left:u.chart.chartWidth)-m.alignAttr.x))+"px"}),m.show(!0)}getLabelText(s){return Ee(s.formatter)?s.formatter.call(this,this):s.text}destroy(){Io(this.axis.plotLinesAndBands,this),delete this.axis,Ws(this)}}let{animObject:vb}=Yi,{format:Wd}=kr,{composed:Cb,dateFormats:_b,doc:n2,isSafari:Yd}=he,{distribute:op}=_c,qd=v=>{clearTimeout(v.hideTimer),clearTimeout(v.showTimer)};class sp{constructor(s,a,c){this.allowShared=!0,this.crosshairs=[],this.distance=0,this.isHidden=!0,this.isSticky=!1,this.options={},this.outside=!1,this.chart=s,this.init(s,a),this.pointer=c}bodyFormatter(s){return s.map(a=>{let c=a.series.tooltipOptions,d=a.formatPrefix||"point";return(c[d+"Formatter"]||a.tooltipFormatter).call(a,c[d+"Format"]||"",a)})}cleanSplit(s){this.chart.series.forEach(function(a){let c=a?.tt;c&&(!c.isActive||s?a.tt=c.destroy():c.isActive=!1)})}defaultFormatter(s){let a,c=this.points||Si(this);return(a=(a=[s.headerFooterFormatter(c[0])]).concat(s.bodyFormatter(c))).push(s.headerFooterFormatter(c[0],!0)),a}destroy(){this.label&&(this.label=this.label.destroy()),this.split&&(this.cleanSplit(!0),this.tt&&(this.tt=this.tt.destroy())),this.renderer&&(this.renderer=this.renderer.destroy(),Ud(this.container)),zh(this.hideTimer),qd(this)}getAnchor(s,a){let c,{chart:d,pointer:u}=this,h=d.inverted,g=d.plotTop,m=d.plotLeft;if(s=Si(s),s[0].series?.yAxis&&!s[0].series.yAxis.options.reversedStacks&&(s=s.slice().reverse()),this.followPointer&&a)a.chartX===void 0&&(a=u.normalize(a)),c=[a.chartX-m,a.chartY-g];else if(s[0].tooltipPos)c=s[0].tooltipPos;else{let S=0,b=0;s.forEach(function(I){let D=I.pos(!0);D&&(S+=D[0],b+=D[1])}),S/=s.length,b/=s.length,this.shared&&s.length>1&&a&&(h?S=a.chartX:b=a.chartY),c=[S-m,b-g]}let _={point:s[0],ret:c};return _e(this,"getAnchor",_),_.ret.map(Math.round)}getClassName(s,a,c){let d=this.options,u=s.series,h=u.options;return[d.className,"highcharts-label",c&&"highcharts-tooltip-header",a?"highcharts-tooltip-box":"highcharts-tooltip",!c&&"highcharts-color-"+ce(s.colorIndex,u.colorIndex),h?.className].filter(Wt).join(" ")}getLabel({anchorX:s,anchorY:a}={anchorX:0,anchorY:0}){let c=this,d=this.chart.styledMode,u=this.options,h=this.split&&this.allowShared,g=this.container,m=this.chart.renderer;if(this.label){let _=!this.label.hasClass("highcharts-label");(!h&&_||h&&!_)&&this.destroy()}if(!this.label){if(this.outside){let _=this.chart,S=_.options.chart.style,b=gs.getRendererType();this.container=g=he.doc.createElement("div"),g.className="highcharts-tooltip-container "+(_.renderTo.className.match(/(highcharts[a-zA-Z0-9-]+)\s?/gm)||""),$t(g,{position:"absolute",top:"1px",pointerEvents:"none",zIndex:Math.max(this.options.style.zIndex||0,(S?.zIndex||0)+3)}),this.renderer=m=new b(g,0,0,S,void 0,void 0,m.styledMode)}if(h?this.label=m.g("tooltip"):(this.label=m.label("",s,a,u.shape||"callout",void 0,void 0,u.useHTML,void 0,"tooltip").attr({padding:u.padding,r:u.borderRadius}),d||this.label.attr({fill:u.backgroundColor,"stroke-width":u.borderWidth||0}).css(u.style).css({pointerEvents:u.style.pointerEvents||(this.shouldStickOnContact()?"auto":"none")})),c.outside){let _=this.label;[_.xSetter,_.ySetter].forEach((S,b)=>{_[b?"ySetter":"xSetter"]=I=>{S.call(_,c.distance),_[b?"y":"x"]=I,g&&(g.style[b?"top":"left"]=`${I}px`)}})}this.label.attr({zIndex:8}).shadow(u.shadow??!u.fixed).add()}return g&&!g.parentElement&&he.doc.body.appendChild(g),this.label}getPlayingField(){let{body:s,documentElement:a}=n2,{chart:c,distance:d,outside:u}=this;return{width:u?Math.max(s.scrollWidth,a.scrollWidth,s.offsetWidth,a.offsetWidth,a.clientWidth)-2*d-2:c.chartWidth,height:u?Math.max(s.scrollHeight,a.scrollHeight,s.offsetHeight,a.offsetHeight,a.clientHeight):c.chartHeight}}getPosition(s,a,c){let{distance:d,chart:u,outside:h,pointer:g}=this,{inverted:m,plotLeft:_,plotTop:S,polar:b}=u,{plotX:I=0,plotY:D=0}=c,T={},R=m&&c.h||0,{height:M,width:O}=this.getPlayingField(),H=g.getChartPosition(),G=Ke=>{let Xe=Ke==="x";return[Ke,Xe?O:M,Xe?s:a].concat(h?[Xe?s*H.scaleX:a*H.scaleY,Xe?H.left-d+(I+_)*H.scaleX:H.top-d+(D+S)*H.scaleY,0,Xe?O:M]:[Xe?s:a,Xe?I+_:D+S,Xe?_:S,Xe?_+u.plotWidth:S+u.plotHeight])},K=G("y"),Q=G("x"),J,ie=!!c.negative;!b&&u.hoverSeries?.yAxis?.reversed&&(ie=!ie);let re=!this.followPointer&&ce(c.ttBelow,!b&&!m===ie),Se=function(Ke,Xe,ot,nt,it,bn,cn){let hr=h?Ke==="y"?d*H.scaleY:d*H.scaleX:d,wt=(ot-nt)/2,ut=nt<it-d,en=it+d+nt<Xe,Vt=it-hr-ot+wt,dn=it+hr-wt;if(re&&en)T[Ke]=dn;else if(!re&&ut)T[Ke]=Vt;else if(ut)T[Ke]=Math.min(cn-nt,Vt-R<0?Vt:Vt-R);else{if(!en)return T[Ke]=0,!1;T[Ke]=Math.max(bn,dn+R+ot>Xe?dn:dn+R)}},xe=function(Ke,Xe,ot,nt,it){if(it<d||it>Xe-d)return!1;it<ot/2?T[Ke]=1:it>Xe-nt/2?T[Ke]=Xe-nt-2:T[Ke]=it-ot/2},ve=function(Ke){[K,Q]=[Q,K],J=Ke},je=()=>{Se.apply(0,K)!==!1?xe.apply(0,Q)!==!1||J||(ve(!0),je()):J?T.x=T.y=0:(ve(!0),je())};return(m&&!b||this.len>1)&&ve(),je(),h&&(T.x-=H.left,T.y-=H.top),T}getFixedPosition(s,a,c){let d=c.series,{chart:u,options:h,split:g}=this,m=h.position,_=m.relativeTo,S=h.shared||d?.yAxis?.isRadial&&(_==="pane"||!_)?"plotBox":_,b=S==="chart"?u.renderer:u[S]||u.getClipBox(d,!0);return{x:b.x+(b.width-s)*fi(m.align)+m.x,y:b.y+(b.height-a)*fi(m.verticalAlign)+(!g&&m.y||0)}}hide(s){let a=this;qd(this),s=ce(s,this.options.hideDelay),this.isHidden||(this.hideTimer=Er(function(){let c=a.getLabel();a.getLabel().animate({opacity:0}
vendor: 3,010 bytes, line 5
5,{duration:s&&150,complete:()=>{c.hide(),a.container&&a.container.remove()}}),a.isHidden=!0},s))}init(s,a){this.chart=s,this.options=a,this.crosshairs=[],this.isHidden=!0,this.split=a.split&&!s.inverted&&!s.polar,this.shared=a.shared||this.split,this.outside=ce(a.outside,!!(s.scrollablePixelsX||s.scrollablePixelsY))}shouldStickOnContact(s){return!!(!this.followPointer&&this.options.stickOnContact&&(!s||this.pointer.inClass(s.target,"highcharts-tooltip")))}move(s,a,c,d){let{followPointer:u,options:h}=this,g=vb(!u&&!this.isHidden&&!h.fixed&&h.animation),m=u||(this.len||0)>1,_={x:s,y:a};m?_.anchorX=_.anchorY=NaN:(_.anchorX=c,_.anchorY=d),g.step=()=>this.drawTracker(),this.getLabel().animate(_,g)}refresh(s,a){let c=this,{chart:d,options:u,pointer:h,shared:g}=this,m=Si(s),_=m[0],S=u.format,b=u.formatter||c.defaultFormatter,I=d.styledMode,D=c.allowShared;if(!u.enabled||!_.series)return;qd(this),c.allowShared=!(!vn(s)&&s.series&&s.series.noSharedTooltip),D=D&&!c.allowShared,c.followPointer=!c.split&&_.series.tooltipOptions.followPointer;let T=c.getAnchor(s,a),R=T[0],M=T[1];g&&c.allowShared&&(h.applyInactiveState(m),m.forEach(G=>G.setState("hover")),_.points=m),this.len=m.length;let O=Wt(S)?Wd(S,_,d):b.call(_,c,_);_.points=void 0;let H=_.series;this.distance=ce(H.tooltipOptions.distance,16),O===!1?this.hide():this.showTimer=Er(()=>{if(c.split&&c.allowShared)c.renderSplit(O,m);else{let G=R,K=M;if(a&&h.isDirectTouch&&(G=a.chartX-d.plotLeft,K=a.chartY-d.plotTop),!(d.polar||H.options.clip===!1||m.some(Q=>h.isDirectTouch||Q.series.shouldShowTooltip(G,K))))return void c.hide();{let Q=c.getLabel(D&&c.tt||{});(!u.style.width||I)&&Q.css({width:(this.outside?this.getPlayingField():d.spacingBox).width-2*u.padding+"px"}),Q.attr({class:c.getClassName(_),text:vn(O)?O.join(""):O}),this.outside&&Q.attr({x:ni(Q.x||0,0,this.getPlayingField().width-(Q.width||0)-1)}),I||Q.attr({stroke:u.borderColor||_.color||H.color||"#666666"}),c.updatePosition({plotX:R,plotY:M,negative:_.negative,ttBelow:_.ttBelow,series:H,h:T[2]||0})}}c.isHidden&&c.label&&c.label.attr({opacity:1}).show(),c.isHidden=!1},c.isHidden&&u.showDelay||0),_e(this,"refresh")}renderSplit(s,a){let c=this,{chart:d,chart:{chartWidth:u,chartHeight:h,plotHeight:g,plotLeft:m,plotTop:_,scrollablePixelsY:S=0,scrollablePixelsX:b,styledMode:I},distance:D,options:T,options:{fixed:R,position:M,positioner:O},pointer:H}=c,{scrollLeft:G=0,scrollTop:K=0}=d.scrollablePlotArea?.scrollingContainer||{},Q=c.outside&&typeof b!="number"?n2.documentElement.getBoundingClientRect():{left:G,right:G+u,top:K,bottom:K+h},J=c.getLabel(),ie=this.renderer||d.renderer,re=!!d.xAxis[0]?.opposite,{left:Se,top:xe}=H.getChartPosition(),ve=O||R,je=_+K,Ke=0,Xe=g-S,ot=function(wt,ut,en,Vt,dn=[0,0],Pi=!0){let un,Un;if(en.isHeader)Un=re?0:Xe,un=ni(dn[0]-wt/2,Q.left,Q.right-wt-(c.outside?Se:0));else if(R&&en){let ki=c.getFixedPosition(wt,ut,en);un=ki.x,Un=ki.y-je}else Un=dn[1]-je,un=ni(un=Pi?dn[0]-wt-D:dn[0]+D,Pi?un:Q.left,Q.right);return{x:un,y:Un}};Wt(s)&&(s=[!1,s]);
vendor: 89,580 bytes, line 5
5let nt=s.slice(0,a.length+1).reduce(function(wt,ut,en){if(ut!==!1&&ut!==""){let Vt=a[en-1]||{isHeader:!0,plotX:a[0].plotX,plotY:g,series:{}},dn=Vt.isHeader,Pi=dn?c:Vt.series,un=Pi.tt=(function(Mo,qi,fr){let Nr=Mo,{isHeader:za,series:Tc}=qi,Ao=Tc.tooltipOptions||T;if(!Nr){let Ml={padding:Ao.padding,r:Ao.borderRadius};I||(Ml.fill=Ao.backgroundColor,Ml["stroke-width"]=Ao.borderWidth??(R&&!za?0:1)),Nr=ie.label("",0,0,Ao[za?"headerShape":"shape"]||(R&&!za?"rect":"callout"),void 0,void 0,Ao.useHTML).addClass(c.getClassName(qi,!0,za)).attr(Ml).add(J)}return Nr.isActive=!0,Nr.attr({text:fr}),I||Nr.css(Ao.style).attr({stroke:Ao.borderColor||qi.color||Tc.color||"#333333"}),Nr})(Pi.tt,Vt,ut.toString()),Un=un.getBBox(),ki=Un.width+un.strokeWidth();dn&&(Ke=Un.height,Xe+=Ke,re&&(je-=Ke));let{anchorX:pr,anchorY:Tl}=(function(Mo){let qi,fr,{isHeader:Nr,plotX:za=0,plotY:Tc=0,series:Ao}=Mo;if(Nr)qi=Math.max(m+za,m),fr=_+g/2;else{let{xAxis:Ml,yAxis:F2}=Ao;qi=Ml.pos+ni(za,-D,Ml.len+D),Ao.shouldShowTooltip(0,F2.pos-_+Tc,{ignoreX:!0})&&(fr=F2.pos+Tc)}return{anchorX:qi=ni(qi,Q.left-D,Q.right+D),anchorY:fr}})(Vt);if(typeof Tl=="number"){let Mo=Un.height+1,qi=(O||ot).call(c,ki,Mo,Vt,c,[pr,Tl]);wt.push({align:ve?0:void 0,anchorX:pr,anchorY:Tl,boxWidth:ki,point:Vt,rank:ce(qi.rank,+!!dn),size:Mo,target:qi.y,tt:un,x:qi.x})}else un.isActive=!1}return wt},[]);!ve&&nt.some(wt=>{let{outside:ut}=c,en=(ut?Se:0)+wt.anchorX;return en<Q.left&&en+wt.boxWidth<Q.right||en<Se-Q.left+wt.boxWidth&&Q.right-en>en})&&(nt=nt.map(wt=>{let{x:ut,y:en}=ot.call(this,wt.boxWidth,wt.size,wt.point,void 0,[wt.anchorX,wt.anchorY],!1);return tt(wt,{target:en,x:ut})})),c.cleanSplit(),op(nt,Xe);let it={left:Se,right:Se};nt.forEach(function(wt){let{x:ut,boxWidth:en,isHeader:Vt}=wt;!Vt&&(c.outside&&Se+ut<it.left&&(it.left=Se+ut),!Vt&&c.outside&&it.left+en>it.right&&(it.right=Se+ut))}),nt.forEach(function(wt){let{x:ut,anchorX:en,anchorY:Vt,pos:dn,point:{isHeader:Pi}}=wt,un={visibility:dn===void 0?"hidden":"inherit",x:ut,y:(dn||0)+je+(R&&M.y||0),anchorX:en,anchorY:Vt};if(c.outside&&ut<en){let Un=Se-it.left;Un>0&&(Pi||(un.x=ut+Un,un.anchorX=en+Un),Pi&&(un.x=(it.right-it.left)/2,un.anchorX=en+Un))}wt.tt.attr(un)});let{container:bn,outside:cn,renderer:hr}=c;if(cn&&bn&&hr){let{width:wt,height:ut,x:en,y:Vt}=J.getBBox();hr.setSize(wt+en,ut+Vt,!1),bn.style.left=it.left+"px",bn.style.top=xe+"px"}Yd&&J.attr({opacity:J.opacity===1?.999:1})}drawTracker(){let s=this;if(!this.shouldStickOnContact()){s.tracker&&(s.tracker=s.tracker.destroy());return}let a=s.chart,c=s.label,d=s.shared?a.hoverPoints:a.hoverPoint;if(!c||!d)return;let u={x:0,y:0,width:0,height:0},h=this.getAnchor(d),g=c.getBBox();h[0]+=a.plotLeft-(c.translateX||0),h[1]+=a.plotTop-(c.translateY||0),u.x=Math.min(0,h[0]),u.y=Math.min(0,h[1]),u.width=h[0]<0?Math.max(Math.abs(h[0]),g.width-h[0]):Math.max(Math.abs(h[0]),g.width),u.height=h[1]<0?Math.max(Math.abs(h[1]),g.height-Math.abs(h[1])):Math.max(Math.abs(h[1]),g.height),s.tracker?s.tracker.attr(u):(s.tracker=c.renderer.rect(u).addClass("highcharts-tracker").add(c),St(s.tracker.element,"mouseenter",()=>qd(s)),a.styledMode||s.tracker.attr({fill:"rgba(0,0,0,0)"}))}styledModeFormat(s){return s.replace('style="font-size: 0.8em"','class="highcharts-header"').replace(/style="color:{(point|series)\.color}"/g,'class="highcharts-color-{$1.colorIndex} {series.options.className} {point.options.className}"')}headerFooterFormatter(s,a){let c=s.series,d=c.tooltipOptions,u=c.xAxis,h=u?.dateTime,g={isFooter:a,point:s},m=d.xDateFormat||"",_=d[a?"footerFormat":"headerFormat"];return _e(this,"headerFormatter",g,function(S){if(h&&!m&&de(s.key)&&(m=h.getXDateFormat(s.key,d.dateTimeLabelFormats)),h&&m){if(ln(m)){let b=m;_b[0]=I=>c.chart.time.dateFormat(b,I),m="%0"}(s.tooltipDateKeys||["key"]).forEach(b=>{_=_.replace(RegExp("point\\."+b+"([ \\)}])"),`(point.${b}:${m})$1`)})}c.chart.styledMode&&(_=this.styledModeFormat(_)),S.text=Wd(_,s,this.chart)}),g.text||""}update(s){this.destroy(),this.init(this.chart,Je(!0,this.options,s))}updatePosition(s){let{chart:a,container:c,distance:d,options:u,pointer:h,renderer:g}=this,{height:m=0,width:_=0}=this.getLabel(),{fixed:S,positioner:b}=u,{left:I,top:D,scaleX:T,scaleY:R}=h.getChartPosition(),M=(b||S&&this.getFixedPosition||this.getPosition).call(this,_,m,s,this),O=he.doc,H=(s.plotX||0)+a.plotLeft,G=(s.plotY||0)+a.plotTop,K;if(g&&c){let{scrollLeft:Q=0,scrollTop:J=0}=a.scrollablePlotArea?.scrollingContainer||{};M.x+=Q+I,M.y+=J+D,K=(u.borderWidth||0)+2*d+2,g.setSize(ni(_+K,0,O.documentElement.clientWidth)-1,m+K,!1),(T!==1||R!==1)&&($t(c,{transform:`scale(${T}, ${R})`}),H*=T,G*=R),H+=I-M.x,G+=D-M.y}this.move(Math.round(M.x),Math.round(M.y||0),H,G)}}(w=sp||(sp={})).compose=function(v){no(Cb,"Core.Tooltip")&&St(v,"afterInit",function(){let s=this.chart;s.options.tooltip&&(s.tooltip=new w(s,s.options.tooltip,this))})};let i2=sp,{animObject:r2}=Yi,{defaultOptions:yb}=li,{format:bb}=kr;class Ic{constructor(s,a,c){this.formatPrefix="point",this.visible=!0,this.point=this,this.series=s,this.applyOptions(a,c),this.id??(this.id=io()),this.resolveColor(),this.dataLabelOnNull??(this.dataLabelOnNull=s.options.nullInteraction),s.chart.pointCount++,this.category=s.xAxis?.categories?.[this.x]??this.x,this.key=this.name??this.category,_e(this,"afterInit")}animateBeforeDestroy(){let s=this,a={x:s.startXPos,opacity:0},c=s.getGraphicalProps();c.singular.forEach(function(d){s[d]=s[d].animate(d==="dataLabel"?{x:s[d].startXPos,y:s[d].startYPos,opacity:0}:a)}),c.plural.forEach(function(d){s[d].forEach(function(u){u.element&&u.animate(tt({x:s.startXPos},u.startYPos?{x:u.startXPos,y:u.startYPos}:{}))})})}applyOptions(s,a){let c=this.series,d=c.options.pointValKey||c.pointValKey;return tt(this,s=Ic.prototype.optionsToObject.call(this,s)),this.options?this.options=c.chart.options.chart.allowMutatingData?tt(this.options,s):Je(this.options,s):this.options=s,s.group&&delete this.group,s.dataLabels&&delete this.dataLabels,d&&(this.y=Ic.prototype.getNestedProperty.call(this,d)),this.selected&&(this.state="select"),"name"in this&&a===void 0&&c.xAxis&&c.xAxis.hasNames&&(this.x=c.xAxis.nameToX(this)),this.x===void 0&&c?this.x=a??c.autoIncrement():de(s.x)&&c.options.relativeXValue?this.x=c.autoIncrement(s.x):typeof this.x=="string"&&(a??(a=c.chart.time.parse(this.x)),de(a)&&(this.x=a)),this.isNull=this.isValid&&!this.isValid(),this.formatPrefix=this.isNull?"null":"point",this}destroy(){if(!this.destroyed){let s=this,a=s.series,c=a.chart,d=a.options.dataSorting,u=c.hoverPoints,h=r2(s.series.chart.renderer.globalAnimation),g=()=>{for(let m in(s.graphic||s.graphics||s.dataLabel||s.dataLabels)&&(Pr(s),s.destroyElements()),s)delete s[m]};s.legendItem&&c.legend.destroyItem(s),u&&(s.setState(),Io(u,s),u.length||(c.hoverPoints=null)),s===c.hoverPoint&&s.onMouseOut(),d?.enabled?(this.animateBeforeDestroy(),Er(g,h.duration)):g(),c.pointCount--}this.destroyed=!0}destroyElements(s){let a=this,c=a.getGraphicalProps(s);c.singular.forEach(function(d){a[d]=a[d].destroy()}),c.plural.forEach(function(d){a[d].forEach(function(u){u?.element&&u.destroy()}),delete a[d]})}firePointEvent(s,a,c){let d=this,u=this.series.options;d.manageEvent(s),s==="click"&&u.allowPointSelect&&(c=function(h){!d.destroyed&&d.select&&d.select(null,h.ctrlKey||h.metaKey||h.shiftKey)}),_e(d,s,a,c)}getClassName(){return"highcharts-point"+(this.selected?" highcharts-point-select":"")+(this.negative&&this.series.options.negativeColor!==!1?" highcharts-negative":"")+(this.isNull?" highcharts-null-point":"")+(this.colorIndex!==void 0?" highcharts-color-"+this.colorIndex:"")+(this.options.className?" "+this.options.className:"")+(this.zone?.className?" "+this.zone.className.replace("highcharts-negative",""):"")}getGraphicalProps(s){let a,c,d=this,u=[],h={singular:[],plural:[]};for((s=s||{graphic:1,dataLabel:1}).graphic&&u.push("graphic","connector"),s.dataLabel&&u.push("dataLabel","dataLabelPath","dataLabelUpper"),c=u.length;c--;)d[a=u[c]]&&h.singular.push(a);return["graphic","dataLabel"].forEach(function(g){let m=g+"s";s[g]&&d[m]&&h.plural.push(m)}),h}getNestedProperty(s){if(s)return s.indexOf("custom.")===0?Cl(s,this.options):this[s]}getZone(){let s=this.series,a=s.zones,c=s.zoneAxis||"y",d,u=0;for(d=a[0];this[c]>=d.value;)d=a[++u];return this.nonZonedColor||(this.nonZonedColor=this.color),d?.color&&!this.options.color?this.color=d.color:this.color=this.nonZonedColor,d}hasNewShapeType(){return(this.graphic&&(this.graphic.symbolName||this.graphic.element.nodeName))!==this.shapeType}isValid(){return(de(this.x)||this.x instanceof Date)&&de(this.y)}optionsToObject(s){let a=this.series,c=a.options.keys,d=c||a.pointArrayMap||["y"],u=d.length,h={},g,m=0,_=0;if(de(s)||s===null)h[d[0]]=s;else if(vn(s))for(!c&&s.length>u&&((g=typeof s[0])=="string"?a.xAxis?.dateTime?h.x=a.chart.time.parse(s[0]):h.name=s[0]:g==="number"&&(h.x=s[0]),m++);_<u;)c&&s[m]===void 0||(d[_].indexOf(".")>0?Ic.prototype.setNestedProperty(h,s[m],d[_]):h[d[_]]=s[m]),m++,_++;else typeof s=="object"&&(h=s,s.dataLabels&&(a.hasDataLabels=()=>!0),s.marker&&(a._hasPointMarkers=!0));return h}pos(s,a=this.plotY){if(!this.destroyed){let{plotX:c,series:d}=this,{chart:u,xAxis:h,yAxis:g}=d,m=0,_=0;if(de(c)&&de(a))return s&&(m=h?h.pos:u.plotLeft,_=g?g.pos:u.plotTop),u.inverted&&h&&g?[g.len-a+_,h.len-c+m]:[c+m,a+_]}}resolveColor(){let s=this.series,a=s.chart.options.chart,c=s.chart.styledMode,d,u,h=a.colorCount,g;delete this.nonZonedColor,s.options.colorByPoint?(c||(d=(u=s.options.colors||s.chart.options.colors)[s.colorCounter],h=u.length),g=s.colorCounter,s.colorCounter++,s.colorCounter===h&&(s.colorCounter=0)):(c||(d=s.color),g=s.colorIndex),this.colorIndex=ce(this.options.colorIndex,g),this.color=ce(this.options.color,d)}setNestedProperty(s,a,c){return c.split(".").reduce(function(d,u,h,g){let m=g.length-1===h;return d[u]=m?a:ln(d[u],!0)?d[u]:{},d[u]},s),s}shouldDraw(){return!this.isNull}tooltipFormatter(s){let{chart:a,pointArrayMap:c=["y"],tooltipOptions:d}=this.series,{valueDecimals:u="",valuePrefix:h="",valueSuffix:g=""}=d;return a.styledMode&&(s=a.tooltip?.styledModeFormat(s)||s),c.forEach(m=>{m="{point."+m,(h||g)&&(s=s.replace(RegExp(m+"}","g"),h+m+"}"+g)),s=s.replace(RegExp(m+"}","g"),m+":,."+u+"f}")}),bb(s,this,a)}update(s,a,c,d){let u,h=this,g=h.series,m=h.graphic,_=g.chart,S=g.options,b=S.data;function I(){h.applyOptions(s);let D=m&&h.hasMockGraphic,T=h.y===null?!D:D;m&&T&&(h.graphic=m.destroy(),delete h.hasMockGraphic),ln(s,!0)&&(m?.element&&s&&s.marker&&s.marker.symbol!==void 0&&(h.graphic=m.destroy()),s?.dataLabels&&h.dataLabel&&(h.dataLabel=h.dataLabel.destroy())),u=h.index;let R={};for(let M of g.dataColumnKeys())R[M]=h[M];g.dataTable.setRow(R,u),b&&!g.processedData&&(b[u]=ln(b[u],!0)||ln(s,!0)?h.options:s??b[u]),g.isDirty=g.isDirtyData=!0,!g.fixedBox&&g.hasCartesianSeries&&(_.isDirtyBox=!0),S.legendType==="point"&&(_.isDirtyLegend=!0),a&&_.redraw(c)}a=ce(a,!0),d===!1?I():h.firePointEvent("update",{options:s},I)}remove(s,a){this.series.removePoint(this.series.data.indexOf(this),s,a)}select(s,a){let c=this,d=c.series,u=d.chart;s=ce(s,!c.selected),this.selectedStaging=s,c.firePointEvent(s?"select":"unselect",{accumulate:a},function(){c.selected=c.options.selected=s,d.options.data[d.data.indexOf(c)]=c.options,c.setState(s&&"select"),a||u.getSelectedPoints().forEach(function(h){let g=h.series;h.selected&&h!==c&&(h.selected=h.options.selected=!1,g.options.data[g.data.indexOf(h)]=h.options,h.setState(u.hoverPoints&&g.options.inactiveOtherPoints?"inactive":""),h.firePointEvent("unselect"))})}),delete this.selectedStaging}onMouseOver(s){let{inverted:a,pointer:c}=this.series.chart;c&&(s=s?c.normalize(s):c.getChartCoordinatesFromPoint(this,a),c.runPointActions(s,this))}onMouseOut(){let s=this.series.chart;this.firePointEvent("mouseOut"),this.series.options.inactiveOtherPoints||(s.hoverPoints||[]).forEach(function(a){a.setState()}),s.hoverPoints=s.hoverPoint=null}manageEvent(s){let a=Je(this.series.options.point,this.options),c=a.events?.[s];Oa(c)&&(!this.hcEvents?.[s]||this.hcEvents?.[s]?.map(d=>d.fn).indexOf(c)===-1)?(this.importedUserEvent?.(),this.importedUserEvent=St(this,s,c),this.hcEvents&&(this.hcEvents[s].userEvent=!0)):this.importedUserEvent&&!c&&this.hcEvents?.[s]&&this.hcEvents?.[s].userEvent&&(Pr(this,s),delete this.hcEvents[s],Object.keys(this.hcEvents)||delete this.importedUserEvent)}setState(s,a){let c=this.series,d=this.state,u=c.options.states[s||"normal"]||{},h=yb.plotOptions[c.type].marker&&c.options.marker,g=h&&h.enabled===!1,m=h?.states?.[s||"normal"]||{},_=m.enabled===!1,S=this.marker||{},b=c.chart,I=h&&c.markerAttribs,D=c.halo,T,R,M,O=c.stateMarkerGraphic,H;if((s=s||"")===this.state&&!a||this.selected&&s!=="select"||u.enabled===!1||s&&(_||g&&m.enabled===!1)||s&&S.states&&S.states[s]&&S.states[s].enabled===!1)return;if(this.state=s,I&&(T=c.markerAttribs(this,s)),this.graphic&&!this.hasMockGraphic){if(d&&this.graphic.removeClass("highcharts-point-"+d),s&&this.graphic.addClass("highcharts-point-"+s),!b.styledMode){R=c.pointAttribs(this,s),M=ce(b.options.chart.animation,u.animation);let J=R.opacity;c.options.inactiveOtherPoints&&de(J)&&(this.dataLabels||[]).forEach(function(ie){ie&&!ie.hasClass("highcharts-data-label-hidden")&&(ie.animate({opacity:J},M),ie.connector&&ie.connector.animate({opacity:J},M))}),this.graphic.animate(R,M)}T&&this.graphic.animate(T,ce(b.options.chart.animation,m.animation,h.animation)),O&&O.hide()}else s&&m&&(H=S.symbol||c.symbol,O&&O.currentSymbol!==H&&(O=O.destroy()),T&&(O?O[a?"animate":"attr"]({x:T.x,y:T.y}):H&&(c.stateMarkerGraphic=O=b.renderer.symbol(H,T.x,T.y,T.width,T.height,Je(h,m)).add(c.markerGroup),O.currentSymbol=H)),!b.styledMode&&O&&this.state!=="inactive"&&O.attr(c.pointAttribs(this,s))),O&&(O[s&&this.isInside?"show":"hide"](),O.element.point=this,O.addClass(this.getClassName(),!0));let G=u.halo,K=this.graphic||O,Q=K?.visibility||"inherit";G?.size&&K&&Q!=="hidden"&&!this.isCluster?(D||(c.halo=D=b.renderer.path().add(K.parentGroup)),D.show()[a?"animate":"attr"]({d:this.haloPath(G.size)}),D.attr({class:"highcharts-halo highcharts-color-"+ce(this.colorIndex,c.colorIndex)+(this.className?" "+this.className:""),visibility:Q,zIndex:-1}),D.point=this,b.styledMode||D.attr(tt({fill:this.color||c.color,"fill-opacity":G.opacity},Fn.filterUserAttributes(G.attributes||{})))):D?.point?.haloPath&&!D.point.destroyed&&D.animate({d:D.point.haloPath(0)},null,D.hide),_e(this,"afterSetState",{state:s})}haloPath(s){let a=this.pos();return a?this.series.chart.renderer.symbols.circle(to(a[0],1)-s,a[1]-s,2*s,2*s):[]}}let qs=Ic,{parse:Sb}=Cn,{charts:Qd,composed:Ib,isTouchDevice:Il}=he,o2=(v,s)=>!Ee(s)||v[`${s}Key`];class ci{applyInactiveState(s=[]){let a=[];for(let c of(s.forEach(d=>{let u=d.series;a.push(u),u.linkedParent&&a.push(u.linkedParent),u.linkedSeries&&a.push.apply(a,u.linkedSeries),u.navigatorSeries&&a.push(u.navigatorSeries),u.boosted&&u.markerGroup&&a.push.apply(a,this.chart.series.filter(h=>h.markerGroup===u.markerGroup))}),this.chart.series)){let d=c.options;d.states?.inactive?.enabled!==!1&&(a.indexOf(c)===-1?c.setState("inactive",!0):d.inactiveOtherPoints&&c.setAllPointsToState("inactive"))}}destroy(){let s=this;this.eventsToUnbind.forEach(a=>a()),this.eventsToUnbind=[],!he.chartCount&&(ci.unbindDocumentMouseUp.forEach(a=>a.unbind()),ci.unbindDocumentMouseUp.length=0,ci.unbindDocumentTouchEnd&&(ci.unbindDocumentTouchEnd=ci.unbindDocumentTouchEnd())),lt(s,function(a,c){s[c]=void 0})}getSelectionMarkerAttrs(s,a){let c={args:{chartX:s,chartY:a},attrs:{},shapeType:"rect"};return _e(this,"getSelectionMarkerAttrs",c,d=>{let u,{chart:h,zoomHor:g,zoomVert:m}=this,{mouseDownX:_=0,mouseDownY:S=0}=h,b=d.attrs;b.x=h.plotLeft,b.y=h.plotTop,b.width=g?1:h.plotWidth,b.height=m?1:h.plotHeight,g&&(b.width=Math.max(1,Math.abs(u=s-_)),b.x=(u>0?0:u)+_),m&&(b.height=Math.max(1,Math.abs(u=a-S)),b.y=(u>0?0:u)+S)}),c}drag(s){let{chart:a}=this,{mouseDownX:c=0,mouseDownY:d=0}=a,{panning:u,panKey:h,selectionMarkerFill:g}=a.options.chart,m=a.plotLeft,_=a.plotTop,S=a.plotWidth,b=a.plotHeight,I=ln(u)?u.enabled:u,D=h&&s[`${h}Key`],T=s.chartX,R=s.chartY,M,O=this.selectionMarker;if((!O||!O.touch)&&(T<m?T=m:T>m+S&&(T=m+S),R<_?R=_:R>_+b&&(R=_+b),this.hasDragged=Math.sqrt(Math.pow(c-T,2)+Math.pow(d-R,2)),this.hasDragged>10)){M=a.isInsidePlot(c-m,d-_,{visiblePlotOnly:!0});let{shapeType:H,attrs:G}=this.getSelectionMarkerAttrs(T,R);this.hasZoom&&M&&!D&&!O&&(this.selectionMarker=O=a.renderer[H](),O.attr({class:"highcharts-selection-marker",zIndex:7}).add(),a.styledMode||O.attr({fill:g||Sb("#334eff").setOpacity(.25).get()})),O&&O.attr(G),M&&!O&&I&&o2(s,h)&&a.pan(s,u)}}dragStart(s){let a=this.chart;a.mouseIsDown=s.type,a.cancelClick=!1,a.mouseDownX=s.chartX,a.mouseDownY=s.chartY}getSelectionBox(s){let a={args:{marker:s},result:s.getBBox()};return _e(this,"getSelectionBox",a),a.result}drop(s){let a,{chart:c,selectionMarker:d}=this;for(let u of c.axes)u.isPanning&&(u.isPanning=!1,(u.options.startOnTick||u.options.endOnTick||u.series.some(h=>h.boosted))&&(u.forceRedraw=!0,u.setExtremes(u.userMin,u.userMax,!1),a=!0));if(a&&c.redraw(),d&&s){if(this.hasDragged){let u=this.getSelectionBox(d);c.transform({axes:c.axes.filter(h=>h.zoomEnabled&&(h.coll==="xAxis"&&this.zoomX||h.coll==="yAxis"&&this.zoomY)),selection:k({originalEvent:s,xAxis:[],yAxis:[]},u),from:u})}de(c.index)&&(this.selectionMarker=d.destroy())}c&&de(c.index)&&($t(c.container,{cursor:c._cursor}),c.cancelClick=this.hasDragged>10,c.mouseIsDown=!1,this.hasDragged=0,this.pinchDown=[],this.hasPinchMoved=!1)}findNearestKDPoint(s,a,c){let d;return s.forEach(function(u){var h;let g,m,_,S=!(u.noSharedTooltip&&a)&&0>u.options.findNearestPointBy.indexOf("y"),b=u.searchPoint(c,S);ln(b,!0)&&b.series&&(!ln(d,!0)||(g=(h=d).distX-b.distX,m=h.dist-b.dist,_=b.series.group?.zIndex-h.series.group?.zIndex,(g!==0&&a?g:m!==0?m:_!==0?_:h.series.index>b.series.index?-1:1)>0))&&(d=b)}),d}getChartCoordinatesFromPoint(s,a){let{xAxis:c,yAxis:d}=s.series,u=s.shapeArgs;if(c&&d){let h=s.clientX??s.plotX??0,g=s.plotY||0;return s.isNode&&u&&de(u.x)&&de(u.y)&&(h=u.x,g=u.y),a?{chartX:d.len+d.pos-g,chartY:c.len+c.pos-h}:{chartX:h+c.pos,chartY:g+d.pos}}if(u?.x&&u.y)return{chartX:u.x,chartY:u.y}}getChartPosition(){if(this.chartPosition)return this.chartPosition;let{container:s}=this.chart,a=Gh(s);this.chartPosition={left:a.left,top:a.top,scaleX:1,scaleY:1};let{offsetHeight:c,offsetWidth:d}=s;return d>2&&c>2&&(this.chartPosition.scaleX=a.width/d,this.chartPosition.scaleY=a.height/c),this.chartPosition}getCoordinates(s){let a={xAxis:[],yAxis:[]};for(let c of this.chart.axes)a[c.isXAxis?"xAxis":"yAxis"].push({axis:c,value:c.toValue(s[c.horiz?"chartX":"chartY"])});return a}getHoverData(s,a,c,d,u,h){let g=[],m=function(D){return D.visible&&!(!u&&D.directTouch)&&ce(D.options.enableMouseTracking,!0)},_=a,S,b={chartX:h?h.chartX:void 0,chartY:h?h.chartY:void 0,shared:u};_e(this,"beforeGetHoverData",b),S=_&&!_.stickyTracking?[_]:c.filter(D=>D.stickyTracking&&(b.filter||m)(D));let I=d&&s||!h?s:this.findNearestKDPoint(S,u,h);return _=I?.series,I&&(u&&!_.noSharedTooltip?(S=c.filter(function(D){return b.filter?b.filter(D):m(D)&&!D.noSharedTooltip})).forEach(function(D){let T=D.options?.nullInteraction,R=zn(D.points,function(M){return M.x===I.x&&(!M.isNull||!!T)});ln(R)&&(D.boosted&&D.boost&&(R=D.boost.getPoint(R)),g.push(R))}):g.push(I)),_e(this,"afterGetHoverData",b={hoverPoint:I}),{hoverPoint:b.hoverPoint,hoverSeries:_,hoverPoints:g}}getPointFromEvent(s){let a=s.target,c;for(;a&&!c;)c=a.point,a=a.parentNode;return c}onTrackerMouseOut(s){let a=this.chart,c=s.relatedTarget,d=a.hoverSeries;this.isDirectTouch=!1,!d||!c||d.stickyTracking||this.inClass(c,"highcharts-tooltip")||this.inClass(c,"highcharts-series-"+d.index)&&this.inClass(c,"highcharts-tracker")||d.onMouseOut()}inClass(s,a){let c=s,d;for(;c;){if(d=Wi(c,"class")){if(d.indexOf(a)!==-1)return!0;if(d.indexOf("highcharts-container")!==-1)return!1}c=c.parentElement}}constructor(s,a){this.hasDragged=0,this.pointerCaptureEventsToUnbind=[],this.eventsToUnbind=[],this.options=a,this.chart=s,this.runChartClick=!!a.chart.events?.click,this.pinchDown=[],this.setDOMEvents(),_e(this,"afterInit")}normalize(s,a){let c=s.touches,d=c?c.length?c.item(0):ce(c.changedTouches,s.changedTouches)[0]:s;a||(a=this.getChartPosition());let u=d.pageX-a.left,h=d.pageY-a.top;return tt(s,{chartX:Math.round(u/=a.scaleX),chartY:Math.round(h/=a.scaleY)})}onContainerClick(s){let a=this.chart,c=a.hoverPoint,d=this.normalize(s),u=a.plotLeft,h=a.plotTop;!a.cancelClick&&(c&&this.inClass(d.target,"highcharts-tracker")?(_e(c.series,"click",tt(d,{point:c})),a.hoverPoint&&c.firePointEvent("click",d)):(tt(d,this.getCoordinates(d)),a.isInsidePlot(d.chartX-u,d.chartY-h,{visiblePlotOnly:!0})&&_e(a,"click",d)))}onContainerMouseDown(s){let a=(1&(s.buttons||s.button))==1;s=this.normalize(s),he.isFirefox&&s.button!==0&&this.onContainerMouseMove(s),(s.button===void 0||a)&&(this.zoomOption(s),a&&s.preventDefault?.(),this.dragStart(s))}onContainerMouseLeave(s){let{pointer:a}=Qd[ce(ci.hoverChartIndex,-1)]||{};s=this.normalize(s),this.onContainerMouseMove(s),a&&!this.inClass(s.relatedTarget,"highcharts-tooltip")&&(a.reset(),a.chartPosition=void 0)}onContainerMouseEnter(){delete this.chartPosition}onContainerMouseMove(s){let a=this.chart,c=a.tooltip,d=this.normalize(s);this.setHoverChartIndex(s),(a.mouseIsDown==="mousedown"||this.touchSelect(d))&&this.drag(d),!a.exporting?.openMenu&&(this.inClass(d.target,"highcharts-tracker")||a.isInsidePlot(d.chartX-a.plotLeft,d.chartY-a.plotTop,{visiblePlotOnly:!0}))&&!c?.shouldStickOnContact(d)&&(this.inClass(d.target,"highcharts-no-tooltip")?this.reset(!1,0):this.runPointActions(d))}onDocumentTouchEnd(s){this.onDocumentMouseUp(s)}onContainerTouchMove(s){this.touchSelect(s)?this.onContainerMouseMove(s):this.touch(s)}onContainerTouchStart(s){this.touchSelect(s)?this.onContainerMouseDown(s):(this.zoomOption(s),this.touch(s,!0))}onDocumentMouseMove(s){let a=this.chart,c=a.tooltip,d=this.chartPosition,u=this.normalize(s,d);!d||a.isInsidePlot(u.chartX-a.plotLeft,u.chartY-a.plotTop,{visiblePlotOnly:!0})||c?.shouldStickOnContact(u)||u.target!==a.container.ownerDocument&&this.inClass(u.target,"highcharts-tracker")||this.reset()}onDocumentMouseUp(s){s?.touches&&this.hasPinchMoved&&s?.preventDefault?.(),Qd[ce(ci.hoverChartIndex,-1)]?.pointer?.drop(s)}pinch(s){let a=this,{chart:c,hasZoom:d,lastTouches:u}=a,h=[].map.call(s.touches||[],b=>a.normalize(b)),g=h.length,m=g===1&&(a.inClass(s.target,"highcharts-tracker")&&c.runTrackerClick||a.runChartClick),_=c.tooltip,S=g===1&&ce(_?.options.followTouchMove,!0);g>1?a.initiated=!0:S&&(a.initiated=!1),d&&a.initiated&&!m&&s.cancelable!==!1&&s.preventDefault(),s.type==="touchstart"?(a.pinchDown=h,a.res=!0,c.mouseDownX=s.chartX):S?this.runPointActions(a.normalize(s)):u&&(_e(c,"touchpan",{originalEvent:s,touches:h},()=>{let b=I=>{let D=I[0],T=I[1]||D;return{x:D.chartX,y:D.chartY,width:T.chartX-D.chartX,height:T.chartY-D.chartY}};c.transform({axes:c.axes.filter(I=>I.zoomEnabled&&(this.zoomHor&&I.horiz||this.zoomVert&&!I.horiz)),to:b(h),from:b(u),trigger:s.type})}),a.res&&(a.res=!1,this.reset(!1,0))),a.lastTouches=h}reset(s,a){let c=this.chart,d=c.hoverSeries,u=c.hoverPoint,h=c.hoverPoints,g=c.tooltip,m=g?.shared?h:u;s&&m&&Si(m).forEach(function(_){_.series.isCartesian&&_.plotX===void 0&&(s=!1)}),s?g&&m&&Si(m).length&&(g.refresh(m),g.shared&&h?h.forEach(function(_){_.setState(_.state,!0),_.series.isCartesian&&(_.series.xAxis.crosshair&&_.series.xAxis.drawCrosshair(null,_),_.series.yAxis.crosshair&&_.series.yAxis.drawCrosshair(null,_))}):u&&(u.setState(u.state,!0),c.axes.forEach(function(_){_.crosshair&&u.series[_.coll]===_&&_.drawCrosshair(null,u)}))):(u&&u.onMouseOut(),h&&h.forEach(function(_){_.setState()}),d&&d.onMouseOut(),g&&g.hide(a),this.unDocMouseMove&&(this.unDocMouseMove=this.unDocMouseMove()),c.axes.forEach(function(_){_.hideCrosshair()}),c.hoverPoints=c.hoverPoint=void 0)}runPointActions(s,a,c){let d=this.chart,u=d.series,h=d.tooltip?.options.enabled?d.tooltip:void 0,g=!!h&&h.shared,m=a||d.hoverPoint,_=m?.series||d.hoverSeries,S=(!s||s.type!=="touchmove")&&(!!a||_?.directTouch&&this.isDirectTouch),b=this.getHoverData(m,_,u,S,g,s);m=b.hoverPoint,_=b.hoverSeries;let I=b.hoverPoints,D=_?.tooltipOptions.followPointer&&!_.tooltipOptions.split,T=g&&_&&!_.noSharedTooltip;if(m&&(c||m!==d.hoverPoint||h?.isHidden)){if((d.hoverPoints||[]).forEach(function(R){I.indexOf(R)===-1&&R.setState()}),d.hoverSeries!==_&&_.onMouseOver(),this.applyInactiveState(I),(I||[]).forEach(function(R){R.setState("hover")}),d.hoverPoint&&d.hoverPoint.firePointEvent("mouseOut"),!m.series)return;d.hoverPoints=I,d.hoverPoint=m,m.firePointEvent("mouseOver",void 0,()=>{h&&m&&h.refresh(T?I:m,s)})}else if(D&&h&&!h.isHidden){let R=h.getAnchor([{}],s);d.isInsidePlot(R[0],R[1],{visiblePlotOnly:!0})&&h.updatePosition({plotX:R[0],plotY:R[1]})}this.unDocMouseMove||(this.unDocMouseMove=St(d.container.ownerDocument,"mousemove",R=>Qd[ci.hoverChartIndex??-1]?.pointer?.onDocumentMouseMove(R)),this.eventsToUnbind.push(this.unDocMouseMove)),d.axes.forEach(function(R){let M,O=R.crosshair?.snap??!0;O&&((M=d.hoverPoint)&&M.series[R.coll]===R||(M=zn(I,H=>H.series?.[R.coll]===R))),M||!O?R.drawCrosshair(s,M):R.hideCrosshair()})}setDOMEvents(){let s=this.chart.container,a=s.ownerDocument,c=u=>u.parentElement||u.getRootNode()?.host?.parentElement;s.onmousedown=this.onContainerMouseDown.bind(this),s.onmousemove=this.onContainerMouseMove.bind(this),s.onclick=this.onContainerClick.bind(this),this.eventsToUnbind.push(St(s,"mouseenter",this.onContainerMouseEnter.bind(this)),St(s,"mouseleave",this.onContainerMouseLeave.bind(this))),ci.unbindDocumentMouseUp.some(u=>u.doc===a)||ci.unbindDocumentMouseUp.push({doc:a,unbind:St(a,"mouseup",this.onDocumentMouseUp.bind(this))});let d=c(this.chart.renderTo);for(;d&&d.tagName!=="BODY";)this.eventsToUnbind.push(St(d,"scroll",()=>{delete this.chartPosition})),d=c(d);this.eventsToUnbind.push(St(s,"touchstart",this.onContainerTouchStart.bind(this),{passive:!1}),St(s,"touchmove",this.onContainerTouchMove.bind(this),{passive:!1})),ci.unbindDocumentTouchEnd||(ci.unbindDocumentTouchEnd=St(a,"touchend",this.onDocumentTouchEnd.bind(this),{passive:!1})),this.setPointerCapture(),St(this.chart,"redraw",this.setPointerCapture.bind(this))}setPointerCapture(){if(!Il)return;let s=this.pointerCaptureEventsToUnbind,a=this.chart,c=a.container,d=ce(a.options.tooltip?.followTouchMove,!0)&&a.series.some(u=>u.options.findNearestPointBy.indexOf("y")>-1);!this.hasPointerCapture&&d?(s.push(St(c,"pointerdown",u=>{u.target?.hasPointerCapture(u.pointerId)&&u.target?.releasePointerCapture(u.pointerId)}),St(c,"pointermove",u=>{a.pointer?.getPointFromEvent(u)?.onMouseOver(u)})),a.styledMode||$t(c,{"touch-action":"none"}),c.className+=" highcharts-no-touch-action",this.hasPointerCapture=!0):this.hasPointerCapture&&!d&&(s.forEach(u=>u()),s.length=0,a.styledMode||$t(c,{"touch-action":ce(a.options.chart.style?.["touch-action"],"manipulation")}),c.className=c.className.replace(" highcharts-no-touch-action",""),this.hasPointerCapture=!1)}setHoverChartIndex(s){let a=this.chart,c=he.charts[ce(ci.hoverChartIndex,-1)];if(c&&c!==a){let d={relatedTarget:a.container};s&&!s?.relatedTarget&&Object.assign({},s,d),c.pointer?.onContainerMouseLeave(s||d)}c?.mouseIsDown||(ci.hoverChartIndex=a.index)}touch(s,a){let c,{chart:d,pinchDown:u=[]}=this;this.setHoverChartIndex(),(s=this.normalize(s)).touches.length===1?d.isInsidePlot(s.chartX-d.plotLeft,s.chartY-d.plotTop,{visiblePlotOnly:!0})&&!d.exporting?.openMenu?(a&&this.runPointActions(s),s.type==="touchmove"&&(this.hasPinchMoved=c=!!u[0]&&Math.pow(u[0].chartX-s.chartX,2)+Math.pow(u[0].chartY-s.chartY,2)>=16),ce(c,!0)&&this.pinch(s)):a&&this.reset():s.touches.length===2&&this.pinch(s)}touchSelect(s){return!!(this.chart.zooming.singleTouch&&s.touches&&s.touches.length===1)}zoomOption(s){let a=this.chart,c=a.inverted,d=a.zooming.type||"",u,h;/touch/.test(s.type)&&(d=ce(a.zooming.pinchType,d)),this.zoomX=u=/x/.test(d),this.zoomY=h=/y/.test(d),this.zoomHor=u&&!c||h&&c,this.zoomVert=h&&!c||u&&c,this.hasZoom=(u||h)&&o2(s,a.zooming.key)}}ci.unbindDocumentMouseUp=[],(V=ci||(ci={})).compose=function(v){no(Ib,"Core.Pointer")&&St(v,"beforeRender",function(){this.pointer=new V(this,this.options)})};let s2=ci,{setLength:ap,splice:a2}={convertToNumber:function(v,s){switch(typeof v){case"boolean":return+!!v;case"number":return isNaN(v)&&!s?null:v;default:return isNaN(v=parseFloat(`${v??""}`))&&!s?null:v}},setLength:function(v,s,a){return Array.isArray(v)?(v.length=s,v):v[a?"subarray":"slice"](0,s)},splice:function(v,s,a,c,d=[]){if(Array.isArray(v))return Array.isArray(d)||(d=Array.from(d)),{removed:v.splice(s,a,...d),array:v};let u=Object.getPrototypeOf(v).constructor,h=v[c?"subarray":"slice"](s,s+a),g=new u(v.length-a+d.length);return g.set(v.subarray(0,s),0),g.set(d,s),g.set(v.subarray(s+a),s+d.length),{removed:h,array:g}}},Zd=class{constructor(v={}){this.autoId=!v.id,this.columns={},this.id=v.id||io(),this.rowCount=0,this.versionTag=io();let s=0;lt(v.columns||{},(a,c)=>{this.columns[c]=a.slice(),s=Math.max(s,a.length)}),this.applyRowCount(s)}applyRowCount(v){this.rowCount=v,lt(this.columns,(s,a)=>{s.length!==v&&(this.columns[a]=ap(s,v))})}deleteRows(v,s=1){if(s>0&&v<this.rowCount){let a=0;lt(this.columns,(c,d)=>{this.columns[d]=a2(c,v,s).array,a=c.length}),this.rowCount=a}_e(this,"afterDeleteRows",{rowIndex:v,rowCount:s}),this.versionTag=io()}getColumn(v,s){return this.columns[v]}getColumns(v,s){return(v||Object.keys(this.columns)).reduce((a,c)=>(a[c]=this.columns[c],a),{})}getRow(v,s){return(s||Object.keys(this.columns)).map(a=>this.columns[a]?.[v])}setColumn(v,s=[],a=0,c){this.setColumns({[v]:s},a,c)}setColumns(v,s,a){let c=this.rowCount;lt(v,(d,u)=>{this.columns[u]=d.slice(),c=d.length}),this.applyRowCount(c),a?.silent||(_e(this,"afterSetColumns"),this.versionTag=io())}setRow(v,s=this.rowCount,a,c){let{columns:d}=this,u=a?this.rowCount+1:s+1,h=Object.keys(v);if(c?.addColumns!==!1)for(let g=0,m=h.length;g<m;g++){let _=h[g];d[_]||(d[_]=[])}lt(d,(g,m)=>{g||c?.addColumns===!1||(g=Array(u)),g&&(a?g=a2(g,s,0,!0,[v[m]??null]).array:g[s]=v[m]??null,d[m]=g)}),u>this.rowCount&&this.applyRowCount(u),c?.silent||(_e(this,"afterSetRows"),this.versionTag=io())}getModified(){return this.modified||this}};var l2=$i||($i={});function c2(v,s,a){let c=this.legendItem=this.legendItem||{},{chart:d,options:u}=this,{baseline:h=0,symbolWidth:g,symbolHeight:m}=v,_=this.symbol||"circle",S=m/2,b=d.renderer,I=c.group,D=h-Math.round((v.fontMetrics?.b||m)*(a?.4:.3)),T={},R,M=u.marker,O=0;if(d.styledMode||(T["stroke-width"]=Math.min(u.lineWidth||0,24),u.dashStyle?T.dashstyle=u.dashStyle:u.linecap!=="square"&&(T["stroke-linecap"]="round")),c.line=b.path().addClass("highcharts-graph").attr(T).add(I),a&&(c.area=b.path().addClass("highcharts-area").add(I)),T["stroke-linecap"]&&(O=Math.min(c.line.strokeWidth(),g)/2),g){let H=[["M",O,D],["L",g-O,D]];c.line.attr({d:H}),c.area?.attr({d:[...H,["L",g-O,h],["L",O,h]]})}if(M&&M.enabled!==!1&&g){let H=Math.min(ce(M.radius,S),S);_.indexOf("url")===0&&(M=Je(M,{width:m,height:m}),H=0),c.symbol=R=b.symbol(_,g/2-H,D-H,2*H,2*H,tt({context:"legend"},M)).addClass("highcharts-point").add(I),R.isMarker=!0}}l2.areaMarker=function(v,s){c2.call(this,v,s,!0)},l2.lineMarker=c2;let lp=$i,{defaultOptions:d2}=li;var Do=Tt||(Tt={});function On(v,s){let a=d2.plotOptions||{},c=s.defaultOptions,d=s.prototype;return d.type=v,d.pointClass||(d.pointClass=qs),!Do.seriesTypes[v]&&(c&&(a[v]=c),Do.seriesTypes[v]=s,!0)}Do.seriesTypes=he.seriesTypes,Do.registerSeriesType=On,Do.seriesType=function(v,s,a,c,d){let u=d2.plotOptions||{};if(s=s||"",u[v]=Je(u[s],a),delete Do.seriesTypes[v],On(v,L1(Do.seriesTypes[s]||he.Series,c)),Do.seriesTypes[v].prototype.type=v,d){class h extends qs{}tt(h.prototype,d),Do.seriesTypes[v].prototype.pointClass=h}return Do.seriesTypes[v]};let Jn=Tt,{animObject:u2,setAnimation:h2}=Yi,{defaultOptions:Kd}=li,{registerEventOptions:Eb}=$d,{svg:wb,win:Ec}=he,{seriesTypes:El}=Jn,{format:xb}=kr;class To{constructor(){this.zoneAxis="y"}init(s,a){let c;_e(this,"init",{options:a}),this.dataTable??(this.dataTable=new Zd);let d=s.series;this.eventsToUnbind=[],this.chart=s,this.options=this.setOptions(a);let u=this.options,h=u.visible!==!1;this.linkedSeries=[],this.bindAxes(),tt(this,{name:u.name,state:"",visible:h,selected:u.selected===!0}),Eb(this,u),(u.events?.click||u.point?.events?.click||u.allowPointSelect)&&(s.runTrackerClick=!0),this.getColor(),this.getSymbol(),this.isCartesian&&(s.hasCartesianSeries=!0),d.length&&(c=d[d.length-1]),this._i=ce(c?._i,-1)+1,this.opacity=this.options.opacity,s.orderItems("series",Ra(this,d)),u.dataSorting?.enabled?this.setDataSortingOptions():this.points||this.data||this.setData(u.data,!1),_e(this,"afterInit")}is(s){return El[s]&&this instanceof El[s]}bindAxes(){let s,a=this,c=a.options,d=a.chart;_e(this,"bindAxes",null,function(){(a.axisTypes||[]).forEach(function(u){(d[u]||[]).forEach(function(h){s=h.options,(ce(c[u],0)===h.index||c[u]!==void 0&&c[u]===s.id)&&(Ra(a,h.series),a[u]=h,h.isDirty=!0)}),a[u]||a.optionalAxis===u||Ln(18,!0,d)})}),_e(this,"afterBindAxes")}hasData(){return this.visible&&this.dataMax!==void 0&&this.dataMin!==void 0||this.visible&&this.dataTable.rowCount>0}hasMarkerChanged(s,a){let c=s.marker,d=a.marker||{};return c&&(d.enabled&&!c.enabled||d.symbol!==c.symbol||d.height!==c.height||d.width!==c.width)}autoIncrement(s){let a,c=this.options,{pointIntervalUnit:d,relativeXValue:u}=this.options,h=this.chart.time,g=this.xIncrement??h.parse(c.pointStart)??0;if(this.pointInterval=a=ce(this.pointInterval,c.pointInterval,1),u&&de(s)&&(a*=s),d){let m=h.toParts(g);d==="day"?m[2]+=a:d==="month"?m[1]+=a:d==="year"&&(m[0]+=a),a=h.makeTime.apply(h,m)-g}return u&&de(s)?g+a:(this.xIncrement=g+a,g)}setDataSortingOptions(){let s=this.options;tt(this,{requireSorting:!1,sorted:!1,enabledDataSorting:!0,allowDG:!1}),Ee(s.pointRange)||(s.pointRange=1)}setOptions(s){let a,c=this.chart,d=c.options.plotOptions,u=c.userOptions||{},h=Je(s),g=c.styledMode,m={plotOptions:d,userOptions:h};_e(this,"setOptions",m);let _=m.plotOptions[this.type],S=u.plotOptions||{},b=S.series||{},I=Kd.plotOptions[this.type]||{},D=S[this.type]||{};_.dataLabels=this.mergeArrays(I.dataLabels,_.dataLabels),this.userOptions=m.userOptions;let T=Je(_,d.series,D,h);this.tooltipOptions=Je(Kd.tooltip,Kd.plotOptions.series?.tooltip,I?.tooltip,c.userOptions.tooltip,S.series?.tooltip,D.tooltip,h.tooltip),this.stickyTracking=ce(h.stickyTracking,D.stickyTracking,b.stickyTracking,!!this.tooltipOptions.shared&&!this.noSharedTooltip||T.stickyTracking),_.marker===null&&delete T.marker;let{negativeColor:R,negativeFillColor:M,zoneAxis:O="y",zones:H}=T,G=this.zones=(H||[]).map(K=>k({},K));return this.zoneAxis=O,(R||M)&&!H&&(a={value:T[O+"Threshold"]||T.threshold||0,className:"highcharts-negative"},g||(typeof R!="boolean"&&(a.color=R),a.fillColor=M),G.push(a)),G.length&&Ee(G[G.length-1].value)&&G.push(g?{}:{color:this.color,fillColor:this.fillColor}),_e(this,"afterSetOptions",{options:T}),T}getName(){return this.options.name??xb(this.chart.options.lang.seriesName,this,this.chart)}getCyclic(s,a,c){let d,u,h=this.chart,g=`${s}Index`,m=`${s}Counter`,_=c?.length||h.options.chart.colorCount;!a&&(Ee(u=ce(s==="color"?this.options.colorIndex:void 0,this[g]))?d=u:(h.series.length||(h[m]=0),d=h[m]%_,h[m]+=1),c&&(a=c[d])),d!==void 0&&(this[g]=d),this[s]=a}getColor(){this.chart.styledMode?this.getCyclic("color"):this.options.colorByPoint?this.color="#cccccc":this.getCyclic("color",this.options.color||Kd.plotOptions[this.type].color,this.chart.options.colors)}getPointsCollection(){return(this.hasGroupedData?this.points:this.data)||[]}getSymbol(){let s=this.options.marker;this.getCyclic("symbol",s.symbol,this.chart.options.symbols)}getColumn(s,a){return(a?this.dataTable.getModified():this.dataTable).getColumn(s,!0)||[]}findPointIndex(s,a){let c,d,u,{id:h,x:g}=s,m=this.points,_=this.options.dataSorting,S=this.cropStart||0;if(h){let b=this.chart.get(h);b instanceof qs&&(c=b)}else if(this.linkedParent||this.enabledDataSorting||this.options.relativeXValue){let b=I=>!I.touched&&I.index===s.index;if(_?.matchByName?b=I=>!I.touched&&I.name===s.name:this.options.relativeXValue&&(b=I=>!I.touched&&I.options.x===s.x),!(c=zn(m,b)))return}return c&&(u=c?.index)!==void 0&&(d=!0),u===void 0&&de(g)&&(u=this.getColumn("x").indexOf(g,a)),u!==-1&&u!==void 0&&this.cropped&&(u=u>=S?u-S:u),!d&&de(u)&&m[u]?.touched&&(u=void 0),u}updateData(s,a){let{options:c,requireSorting:d}=this,u=c.dataSorting,h=this.points,g=[],m=s.length===h.length,_=this.xIncrement,S,b,I,D,T=!0;if(this.xIncrement=null,s.forEach((M,O)=>{let H,G=Ee(M)&&this.pointClass.prototype.optionsToObject.call({series:this},M)||{},{id:K,x:Q}=G;K||de(Q)?((H=this.findPointIndex(G,D))===-1||H===void 0?g.push(M):h[H]&&M!==c.data?.[H]?(h[H].update(M,!1,void 0,!1),h[H].touched=!0,d&&(D=H+1)):h[H]&&(h[H].touched=!0),(!m||O!==H||u?.enabled||this.hasDerivedData)&&(S=!0)):g.push(M)},this),S)for(b=h.length;b--;)(I=h[b])&&!I.touched&&I.remove?.(!1,a);else m&&!u?.enabled?(s.forEach((M,O)=>{M===h[O].y||h[O].destroyed||h[O].update(M,!1,void 0,!1)}),g.length=0):T=!1;if(h.forEach(M=>{M&&(M.touched=!1)}),!T)return!1;g.forEach(M=>{this.addPoint(M,!1,void 0,void 0,!1)},this);let R=this.getColumn("x");return _!==null&&this.xIncrement===null&&R.length&&(this.xIncrement=st(R),this.autoIncrement()),!0}dataColumnKeys(){return["x",...this.pointArrayMap||["y"]]}setData(s,a=!0,c,d){let u=this.points,h=u?.length||0,g=this.options,m=this.chart,_=g.dataSorting,S=this.xAxis,b=g.turboThreshold,I=this.dataTable,D=this.dataColumnKeys(),T=this.pointValKey||"y",R=(this.pointArrayMap||[]).length,M=g.keys,O,H,G=0,K=1,Q;m.options.chart.allowMutatingData||(g.data&&delete this.options.data,this.userOptions.data&&delete this.userOptions.data,Q=Je(!0,s));let J=(s=Q||s||[]).length;if(_?.enabled&&(s=this.sortData(s)),d!==!1&&J&&h&&!this.cropped&&!this.hasGroupedData&&this.visible&&!this.boosted&&(H=this.updateData(s,c)),!H){this.xIncrement=null,this.colorCounter=0;let ie=b&&!g.relativeXValue&&J>b;if(ie){let re=this.getFirstValidPoint(s),Se=this.getFirstValidPoint(s,J-1,-1),xe=ve=>!!(vn(ve)&&(M||de(ve[0])));if(de(re)&&de(Se)){let ve=[],je=[];for(let Ke of s)ve.push(this.autoIncrement()),je.push(Ke);I.setColumns({x:ve,[T]:je})}else if(xe(re)&&xe(Se))if(R){let ve=+(re.length===R),je=Array(D.length).fill(0).map(()=>[]);for(let Ke of s){ve&&je[0].push(this.autoIncrement());for(let Xe=ve;Xe<=R;Xe++)je[Xe]?.push(Ke[Xe-ve])}I.setColumns(D.reduce((Ke,Xe,ot)=>(Ke[Xe]=je[ot],Ke),{}))}else{M&&(G=M.indexOf("x"),K=M.indexOf("y"),G=G>=0?G:0,K=K>=0?K:1),re.length===1&&(K=0);let ve=[],je=[];for(let Ke of s)G===K?ve.push(this.autoIncrement()):ve.push(Ke[G]??Ke.x??null),je.push(Ke[K]??Ke.y??null);I.setColumns({x:ve,[T]:je})}else ie=!1}if(!ie){let re=D.reduce((Se,xe)=>(Se[xe]=[],Se),{});for(O=0;O<J;O++){let Se=this.pointClass.prototype.applyOptions.apply({series:this},[s[O]]);for(let xe of D)re[xe][O]=Se[xe]}I.setColumns(re)}for(Wt(this.getColumn("y")[0])&&Ln(14,!0,m),this.data=[],this.options.data=this.userOptions.data=s,O=h;O--;)u[O]?.destroy();S&&(S.minRange=S.userMinRange),this.isDirty=m.isDirtyBox=!0,this.isDirtyData=!!u,c=!1}g.legendType==="point"&&(this.processData(),this.generatePoints()),a&&m.redraw(c)}sortData(s){let a=this,c=a.options.dataSorting.sortKey||"y",d=function(u,h){return Ee(h)&&u.pointClass.prototype.optionsToObject.call({series:u},h)||{}};return s.forEach(function(u,h){s[h]=d(a,u),s[h].index=h},this),s.concat().sort((u,h)=>{let g=Cl(c,u),m=Cl(c,h);return m<g?-1:+(m>g)}).forEach(function(u,h){u.x=h},this),a.linkedSeries&&a.linkedSeries.forEach(function(u){let h=u.options,g=h.data;!h.dataSorting?.enabled&&g&&(g.forEach(function(m,_){g[_]=d(u,m),s[_]&&(g[_].x=s[_].x,g[_].index=_)}),u.setData(g,!1))}),s}getProcessedData(s){let a=this,{dataTable:c,isCartesian:d,options:u,xAxis:h}=a,g=u.cropThreshold,m=s||a.getExtremesFromAll,_=h?.logarithmic,S=c.rowCount,b,I,D=0,T,R,M,O=a.getColumn("x"),H=c,G=!1;return h&&(R=(T=h.getExtremes()).min,M=T.max,G=!!(h.categories&&!h.names.length),d&&a.sorted&&!m&&(!g||S>g||a.forceCrop)&&(O[S-1]<R||O[0]>M?H=new Zd:a.getColumn(a.pointValKey||"y").length&&(O[0]<R||O[S-1]>M)&&(H=(b=this.cropData(c,R,M)).modified,D=b.start,I=!0))),O=H.getColumn("x")||[],{modified:H,cropped:I,cropStart:D,closestPointRange:Ai([_?O.map(_.log2lin):O],()=>a.requireSorting&&!G&&Ln(15,!1,a.chart))}}processData(s){let a=this.xAxis,c=this.dataTable;if(this.isCartesian&&!this.isDirty&&!a.isDirty&&!this.yAxis.isDirty&&!s)return!1;let d=this.getProcessedData();c.modified=d.modified,this.cropped=d.cropped,this.cropStart=d.cropStart,this.closestPointRange=this.basePointRange=d.closestPointRange,_e(this,"afterProcessData")}cropData(s,a,c){let d=s.getColumn("x",!0)||[],u=d.length,h={},g,m,_=0,S=u;for(g=0;g<u;g++)if(d[g]>=a){_=Math.max(0,g-1);break}for(m=g;m<u;m++)if(d[m]>c){S=m+1;break}for(let b of this.dataColumnKeys()){let I=s.getColumn(b,!0);I&&(h[b]=I.slice(_,S))}return{modified:new Zd({columns:h}),start:_,end:S}}generatePoints(){let s=this.options,a=this.processedData||s.data,c=this.dataTable.getModified(),d=this.getColumn("x",!0),u=this.pointClass,h=c.rowCount,g=this.cropStart||0,m=this.hasGroupedData,_=s.keys,S=[],b=s.dataGrouping?.groupAll?g:0,I=this.pointArrayMap||["y"],D=this.dataColumnKeys(),T,R,M,O,H=this.data,G;if(!H&&!m){let K=[];K.length=a?.length||0,H=this.data=K}for(_&&m&&(this.options.keys=!1),O=0;O<h;O++)R=g+O,m?((M=new u(this,c.getRow(O,D)||[])).dataGroup=this.groupMap?.[b+O],M.dataGroup?.options&&(M.options=M.dataGroup.options,tt(M,M.dataGroup.options),delete M.dataLabels,M.key=M.name??M.category)):(M=H[R],G=a?a[R]:c.getRow(O,I),M||G===void 0?M&&(M.category=this.xAxis?.categories?.[M.x]??M.x,M.key=M.name??M.category):H[R]=M=new u(this,G,d[O])),M&&(M.index=m?b+O:R,S[O]=M);if(this.options.keys=_,H&&(h!==(T=H.length)||m))for(O=0;O<T;O++)O!==g||m||(O+=h),H[O]&&(H[O].destroyElements(),H[O].plotX=void 0);this.data=H,this.points=S,_e(this,"afterGeneratePoints")}getXExtremes(s){return{min:So(s),max:st(s)}}getExtremes(s,a){let{xAxis:c,yAxis:d}=this,u=a||this.getExtremesFromAll||this.options.getExtremesFromAll,h=u&&this.cropped?this.dataTable:this.dataTable.getModified(),g=h.rowCount,m=s||this.stackedYData,_=m?[m]:(this.keysAffectYAxis||this.pointArrayMap||["y"])?.map(Q=>h.getColumn(Q,!0)||[])||[],S=this.getColumn("x",!0),b=[],I=this.requireSorting&&!this.is("column")?1:0,D=!!d&&d.positiveValuesOnly,T=u||this.cropped||!c,R,M,O,H=0,G=0;for(c&&(H=(R=c.getExtremes()).min,G=R.max),O=0;O<g;O++)if(M=S[O],T||(S[O+I]||M)>=H&&(S[O-I]||M)<=G)for(let Q of _){let J=Q[O];de(J)&&(J>0||!D)&&b.push(J)}let K={activeYData:b,dataMin:So(b),dataMax:st(b)};return _e(this,"afterGetExtremes",{dataExtremes:K}),K}applyExtremes(){let s=this.getExtremes();return this.dataMin=s.dataMin,this.dataMax=s.dataMax,s}getFirstValidPoint(s,a=0,c=1){let d=s.length,u=a;for(;u>=0&&u<d;){if(Ee(s[u]))return s[u];u+=c}}translate(){this.generatePoints();let s=this.options,a=s.stacking,c=this.xAxis,d=this.enabledDataSorting,u=this.yAxis,h=this.points,g=h.length,m=this.pointPlacementToXValue(),_=!!m,S=s.threshold,b=s.startFromThreshold?S:0,I=s?.nullInteraction&&u.len,D,T,R,M,O=Number.MAX_VALUE;function H(G){return ni(G,-1e9,1e9)}for(D=0;D<g;D++){let G,K=h[D],Q=K.x,J,ie,re=K.y,Se=K.low,xe=a&&u.stacking?.stacks[(this.negStacks&&re<(b?0:S)?"-":"")+this.stackKey];K.plotX=de(T=c.translate(Q,!1,!1,!1,!0,m))?yn(H(T)):void 0,a&&this.visible&&xe&&xe[Q]&&(M=this.getStackIndicator(M,Q,this.index),!K.isNull&&M.key&&(ie=(J=xe[Q]).points[M.key]),J&&vn(ie)&&(Se=ie[0],re=ie[1],Se===b&&M.key===xe[Q].base&&(Se=ce(de(S)?S:u.min)),u.positiveValuesOnly&&Ee(Se)&&Se<=0&&(Se=void 0),K.total=K.stackTotal=ce(J.total),K.percentage=Ee(K.y)&&J.total?K.y/J.total*100:void 0,K.stackY=re,this.irregularWidths||J.setOffset(this.pointXOffset||0,this.barW||0,void 0,void 0,void 0,this.xAxis))),K.yBottom=Ee(Se)?H(u.translate(Se,!1,!0,!1,!0)):void 0,this.dataModify&&(re=this.dataModify.modifyValue(re,D)),de(re)&&K.plotX!==void 0?G=de(G=u.translate(re,!1,!0,!1,!0))?H(G):void 0:!de(re)&&I&&(G=I),K.plotY=G,K.isInside=this.isPointInside(K),K.clientX=_?yn(c.translate(Q,!1,!1,!1,!0,m)):T,K.negative=(K.y||0)<(S||0),K.isNull||K.visible===!1||(R!==void 0&&(O=Math.min(O,Math.abs(T-R))),R=T),K.zone=this.zones.length?K.getZone():void 0,!K.graphic&&this.group&&d&&(K.isNew=!0)}this.closestPointRangePx=O,_e(this,"afterTranslate")}getValidPoints(s,a,c){let d=this.chart;return(s||this.points||[]).filter(function(u){let{plotX:h,plotY:g}=u;return(!!c||!u.isNull&&!!de(g))&&(!a||!!d.isInsidePlot(h,g,{inverted:d.inverted}))&&u.visible!==!1})}getSharedClipKey(){return this.sharedClipKey=(this.options.xAxis||0)+","+(this.options.yAxis||0),this.sharedClipKey}setClip(){let{chart:s,group:a,markerGroup:c}=this,d=s.sharedClips,u=s.renderer,h=s.getClipBox(this),g=this.getSharedClipKey(),m=d[g];_e(this,"setClip",{clipBox:h}),m?m.animate(h):d[g]=m=u.clipRect(h),a&&a.clip(this.options.clip===!1?void 0:m),c&&c.clip()}animate(s){let{chart:a,group:c,markerGroup:d}=this,u=a.inverted,h=u2(this.options.animation),g=[this.getSharedClipKey(),h.duration,h.easing,h.defer].join(","),m=a.sharedClips[g],_=a.sharedClips[g+"m"];if(s&&c){let S=a.getClipBox(this);if(m)m.attr("height",S.height);else{S.width=0,u&&(S.x=a.plotHeight),m=a.renderer.clipRect(S),a.sharedClips[g]=m;let b={x:-99,y:-99,width:u?a.plotWidth+199:99,height:u?99:a.plotHeight+199};_=a.renderer.clipRect(b),a.sharedClips[g+"m"]=_}c.clip(m),d?.clip(_)}else if(m&&!m.hasClass("highcharts-animating")){let S=a.getClipBox(this),b=h.step;(d?.element.childNodes.length||a.series.length>1)&&(h.step=function(I,D){b&&b.apply(D,arguments),D.prop==="width"&&_?.element&&_.attr(u?"height":"width",I+99)}),m.addClass("highcharts-animating").animate(S,h)}}afterAnimate(){this.setClip(),lt(this.chart.sharedClips,(s,a,c)=>{s&&!this.chart.container.querySelector(`[clip-path="url(#${s.id})"]`)&&(s.destroy(),delete c[a])}),this.finishedAnimating=!0,_e(this,"afterAnimate")}drawPoints(s=this.points){let a,c,d,u,h,g,m,_=this.chart,S=_.styledMode,{colorAxis:b,options:I}=this,D=I.marker,T=I.nullInteraction,R=this[this.specialGroup||"markerGroup"],M=this.xAxis,O=ce(D.enabled,!M||!!M.isRadial||null,this.closestPointRangePx>=D.enabledThreshold*D.radius);if(D.enabled!==!1||this._hasPointMarkers)for(a=0;a<s.length;a++){u=(d=(c=s[a]).graphic)?"animate":"attr",h=c.marker||{},g=!!c.marker;let H=c.isNull;if((O&&!Ee(h.enabled)||h.enabled)&&(!H||T)&&c.visible!==!1){let G=ce(h.symbol,this.symbol,"rect");m=this.markerAttribs(c,c.selected&&"select"),this.enabledDataSorting&&(c.startXPos=M.reversed?-(m.width||0):M.width);let K=c.isInside!==!1;if(!d&&K&&((m.width||0)>0||c.hasImage)&&(c.graphic=d=_.renderer.symbol(G,m.x,m.y,m.width,m.height,g?h:D).add(R),this.enabledDataSorting&&_.hasRendered&&(d.attr({x:c.startXPos}),u="animate")),d&&u==="animate"&&d[K?"show":"hide"](K).animate(m),d){let Q=this.pointAttribs(c,S||!c.selected?void 0:"select");S?b&&d.css({fill:Q.fill}):d[u](Q)}d&&d.addClass(c.getClassName(),!0)}else d&&(c.graphic=d.destroy())}}markerAttribs(s,a){let c=this.options,d=c.marker,u=s.marker||{},h=u.symbol||d.symbol,g={},m,_,S=ce(u.radius,d?.radius);a&&(m=d?.states?.[a],_=u.states?.[a],S=ce(_?.radius,m?.radius,S&&S+(m?.radiusPlus||0))),s.hasImage=h&&h.indexOf("url")===0,s.hasImage&&(S=0);let b=s.pos();return de(S)&&b&&(c.crisp&&(b[0]=to(b[0],s.hasImage?0:h==="rect"?d?.lineWidth||0:1)),g.x=b[0]-S,g.y=b[1]-S),S&&(g.width=g.height=2*S),g}pointAttribs(s,a){let c=this.options,d=c.marker,u=s?.options,h=u?.marker||{},g=u?.color,m=s?.color,_=s?.zone?.color,S,b,I=this.color,D,T,R=ce(h.lineWidth,d.lineWidth),M=s?.isNull&&c.nullInteraction?0:1;return I=g||_||m||I,D=h.fillColor||d.fillColor||I,T=h.lineColor||d.lineColor||I,a=a||"normal",S=d.states[a]||{},R=ce((b=h.states&&h.states[a]||{}).lineWidth,S.lineWidth,R+ce(b.lineWidthPlus,S.lineWidthPlus,0)),D=b.fillColor||S.fillColor||D,T=b.lineColor||S.lineColor||T,{stroke:T,"stroke-width":R,fill:D,opacity:M=ce(b.opacity,S.opacity,M)}}destroy(s){let a,c,d=this,u=d.chart,h=/AppleWebKit\/533/.test(Ec.navigator.userAgent),g=d.data||[];for(_e(d,"destroy",{keepEventsForUpdate:s}),this.removeEvents(s),(d.axisTypes||[]).forEach(function(m){c=d[m],c?.series&&(Io(c.series,d),c.isDirty=c.forceRedraw=!0)}),d.legendItem&&d.chart.legend.destroyItem(d),a=g.length;a--;)g[a]?.destroy?.();for(let m of d.zones)Ws(m,void 0,!0);zh(d.animationTimeout),lt(d,function(m,_){m instanceof Ko&&!m.survive&&m[h&&_==="group"?"hide":"destroy"]()}),u.hoverSeries===d&&(u.hoverSeries=void 0),Io(u.series,d),u.orderItems("series"),lt(d,function(m,_){s&&_==="hcEvents"||delete d[_]})}applyZones(){let{area:s,chart:a,graph:c,zones:d,points:u,xAxis:h,yAxis:g,zoneAxis:m}=this,{inverted:_,renderer:S}=a,b=this[`${m}Axis`],{isXAxis:I,len:D=0,minPointOffset:T=0}=b||{},R=(c?.strokeWidth()||0)/2+1,M=(O,H=0,G=0)=>{_&&(G=D-G);let{translated:K=0,lineClip:Q}=O,J=G-K;Q?.push(["L",H,Math.abs(J)<R?G-R*(J<=0?-1:1):K])};if(d.length&&(c||s)&&b&&de(b.min)){let O=b.getExtremes().max+T,H=Q=>{Q.forEach((J,ie)=>{(J[0]==="M"||J[0]==="L")&&(Q[ie]=[J[0],I?D-J[1]:J[1],I?J[2]:D-J[2]])})};if(d.forEach(Q=>{Q.lineClip=[],Q.translated=ni(b.toPixels(ce(Q.value,O),!0)||0,0,D)}),c&&!this.showLine&&c.hide(),s&&s.hide(),m==="y"&&u.length<h.len)for(let Q of u){let{plotX:J,plotY:ie,zone:re}=Q,Se=re&&d[d.indexOf(re)-1];re&&M(re,J,ie),Se&&M(Se,J,ie)}let G=[],K=b.toPixels(b.getExtremes().min-T,!0);d.forEach(Q=>{let J=Q.lineClip||[],ie=Math.round(Q.translated||0);h.reversed&&J.reverse();let{clip:re,simpleClip:Se}=Q,xe=0,ve=0,je=h.len,Ke=g.len;I?(xe=ie,je=K):(ve=ie,Ke=K);let Xe=[["M",xe,ve],["L",je,ve],["L",je,Ke],["L",xe,Ke],["Z"]],ot=[Xe[0],...J,Xe[1],Xe[2],...G,Xe[3],Xe[4]];G=J.reverse(),K=ie,_&&(H(ot),s&&H(Xe)),re?(re.animate({d:ot}),Se?.animate({d:Xe})):(re=Q.clip=S.path(ot),s&&(Se=Q.simpleClip=S.path(Xe))),c&&Q.graph?.clip(re),s&&Q.area?.clip(Se)})}else this.visible&&(c&&c.show(),s&&s.show())}plotGroup(s,a,c,d,u){let h=this[s],g=!h,m={visibility:c,zIndex:d||.1};return Ee(this.opacity)&&!this.chart.styledMode&&this.state!=="inactive"&&(m.opacity=this.opacity),h||(this[s]=h=this.chart.renderer.g().add(u)),h.addClass("highcharts-"+a+" highcharts-series-"+this.index+" highcharts-"+this.type+"-series "+(Ee(this.colorIndex)?"highcharts-color-"+this.colorIndex+" ":"")+(this.options.className||"")+(h.hasClass("highcharts-tracker")?" highcharts-tracker":""),!0),h.attr(m)[g?"attr":"animate"](this.getPlotBox(a)),h}getPlotBox(s){let a=this.xAxis,c=this.yAxis,d=this.chart,u=d.inverted&&!d.polar&&a&&this.invertible&&s==="series";d.inverted&&(a=c,c=this.xAxis);let h={scale:1,translateX:a?a.left:d.plotLeft,translateY:c?c.top:d.plotTop,name:s};_e(this,"getPlotBox",h);let{scale:g,translateX:m,translateY:_}=h;return{translateX:m,translateY:_,rotation:90*!!u,rotationOriginX:u?g*(a.len-c.len)/2:0,rotationOriginY:u?g*(a.len+c.len)/2:0,scaleX:u?-g:g,scaleY:g}}removeEvents(s){let{eventsToUnbind:a}=this;s||Pr(this),a.length&&(a.forEach(c=>{c()}),a.length=0)}render(){let s=this,{chart:a,options:c,hasRendered:d}=s,u=u2(c.animation),h=s.visible?"inherit":"hidden",g=c.zIndex,m=a.seriesGroup,_=s.finishedAnimating?0:u.duration;_e(this,"render"),s.plotGroup("group","series",h,g,m),s.markerGroup=s.plotGroup("markerGroup","markers",h,g,m),c.clip!==!1&&s.setClip(),_&&s.animate?.(!0),s.drawGraph&&(s.drawGraph(),s.applyZones()),s.visible&&s.drawPoints(),s.drawDataLabels?.(),s.redrawPoints?.(),c.enableMouseTracking&&s.drawTracker?.(),_&&s.animate?.(),d||(_&&u.defer&&(_+=u.defer),s.animationTimeout=Er(()=>{s.afterAnimate()},_||0)),s.isDirty=!1,s.hasRendered=!0,_e(s,"afterRender")}redraw(){let s=this.isDirty||this.isDirtyData;this.translate(),this.render(),s&&delete this.kdTree}reserveSpace(){return this.visible||!this.chart.options.chart.ignoreHiddenSeries}searchPoint(s,a){let{xAxis:c,yAxis:d}=this,u=this.chart.inverted;return this.searchKDTree({clientX:u?c.len-s.chartY+c.pos:s.chartX-c.pos,plotY:u?d.len-s.chartX+d.pos:s.chartY-d.pos},a,s)}buildKDTree(s){this.buildingKdTree=!0;let a=this,c=a.options,d=c.findNearestPointBy.indexOf("y")>-1?2:1;delete a.kdTree,Er(function(){a.kdTree=(function u(h,g,m){let _,S,b=h?.length;if(b)return _=a.kdAxisArray[g%m],h.sort((I,D)=>(I[_]||0)-(D[_]||0)),{point:h[S=Math.floor(b/2)],left:u(h.slice(0,S),g+1,m),right:u(h.slice(S+1),g+1,m)}})(a.getValidPoints(void 0,!a.directTouch,c?.nullInteraction),d,d),a.buildingKdTree=!1},c.kdNow||s?.type==="touchstart"?0:1)}searchKDTree(s,a,c,d,u){let h=this,[g,m]=this.kdAxisArray,_=a?"distX":"dist",S=(h.options.findNearestPointBy||"").indexOf("y")>-1?2:1,b=!!h.isBubble,I=d||((T,R,M)=>{let O=T[M]||0,H=R[M]||0;return[O===H&&T.index>R.index||O<H?T:R,!1]}),D=u||((T,R)=>T<R);if(this.kdTree||this.buildingKdTree||this.buildKDTree(c),this.kdTree)return(function T(R,M,O,H){let G,K,Q,J,ie,re,Se,xe=M.point,ve=h.kdAxisArray[O%H],je=xe,Ke=!1;G=R[g],K=xe[g],Q=Ee(G)&&Ee(K)?G-K:null,J=R[m],ie=xe[m],re=Ee(J)&&Ee(ie)?J-ie:0,Se=b&&xe.marker?.radius||0,xe.dist=Math.sqrt((Q&&Q*Q||0)+re*re)-Se,xe.distX=Ee(Q)?Math.abs(Q)-Se:Number.MAX_VALUE;let Xe=(R[ve]||0)-(xe[ve]||0)+(b&&xe.marker?.radius||0),ot=Xe<0?"left":"right",nt=Xe<0?"right":"left";return M[ot]&&([je,Ke]=I(xe,T(R,M[ot],O+1,H),_)),M[nt]&&D(Math.sqrt(Xe*Xe),je[_],Ke)&&(je=I(je,T(R,M[nt],O+1,H),_)[0]),je})(s,this.kdTree,S,S)}pointPlacementToXValue(){let{options:s,xAxis:a}=this,c=s.pointPlacement;return c==="between"&&(c=a.reversed?-.5:.5),de(c)?c*(s.pointRange||a.pointRange):0}isPointInside(s){let{chart:a,xAxis:c,yAxis:d}=this,{plotX:u=-1,plotY:h=-1}=s;return h>=0&&h<=(d?d.len:a.plotHeight)&&u>=0&&u<=(c?c.len:a.plotWidth)}drawTracker(){let s=this,a=s.options,c=a.trackByArea,d=[].concat((c?s.areaPath:s.graphPath)||[]),u=s.chart,h=u.pointer,g=u.renderer,m=u.options.tooltip?.snap||0,_=()=>{a.enableMouseTracking&&u.hoverSeries!==s&&s.onMouseOver()},S="rgba(192,192,192,"+(wb?1e-4:.002)+")",b=s.tracker;b?b.attr({d}):s.graph&&(s.tracker=b=g.path(d).attr({visibility:s.visible?"inherit":"hidden",zIndex:2}).addClass(c?"highcharts-tracker-area":"highcharts-tracker-line").add(s.group),u.styledMode||b.attr({"stroke-linecap":"round","stroke-linejoin":"round",stroke:S,fill:c?S:"none","stroke-width":s.graph.strokeWidth()+(c?0:2*m)}),[s.tracker,s.markerGroup,...s.dataLabelsGroups||[]].forEach(I=>{I&&(I.addClass("highcharts-tracker").on("mouseover",_).on("mouseout",D=>{h?.onTrackerMouseOut(D)}),a.cursor&&!u.styledMode&&I.css({cursor:a.cursor}),I.on("touchstart",_))})),_e(this,"afterDrawTracker")}addPoint(s,a,c,d,u){let h,g,m=this.options,{chart:_,data:S,dataTable:b,xAxis:I}=this,D=I?.hasNames&&I.names,T=m.data,R=this.getColumn("x");a=ce(a,!0);let M={series:this};this.pointClass.prototype.applyOptions.apply(M,[s]);let O=M.x;if(g=R.length,this.requireSorting&&O<R[g-1])for(h=!0;g&&R[g-1]>O;)g--;b.setRow(M,g,!0,{addColumns:!1}),D&&M.name&&(D[O]=M.name),T?.splice(g,0,s),(h||this.processedData)&&(this.data.splice(g,0,null),this.processData()),m.legendType==="point"&&this.generatePoints(),c&&(S[0]&&S[0].remove?S[0].remove(!1):([S,T].filter(Ee).forEach(H=>{H.shift()}),b.deleteRows(0))),u!==!1&&_e(this,"addPoint",{point:M}),this.isDirty=!0,this.isDirtyData=!0,a&&_.redraw(d)}removePoint(s,a,c){let d=this,{chart:u,data:h,points:g,dataTable:m}=d,_=h[s],S=function(){[g?.length===h.length?g:void 0,h,d.options.data].filter(Ee).forEach(b=>{b.splice(s,1)}),m.deleteRows(s),_?.destroy(),d.isDirty=!0,d.isDirtyData=!0,a&&u.redraw()};h2(c,u),a=ce(a,!0),_?_.firePointEvent("remove",null,S):S()}remove(s,a,c,d){let u=this,h=u.chart;function g(){u.destroy(d),h.isDirtyLegend=h.isDirtyBox=!0,h.linkSeries(d),ce(s,!0)&&h.redraw(a)}c!==!1?_e(u,"remove",null,g):g()}update(s,a){_e(this,"update",{options:s=fc(s,this.userOptions)});let c=this,d=c.chart,u=c.userOptions,h=c.initialType||c.type,g=d.options.plotOptions,m=El[h].prototype,_=c.finishedAnimating&&{animation:!1},S={},b,I,D=To.keepProps.slice(),T=s.type||u.type||d.options.chart.type,R=!(this.hasDerivedData||T&&T!==this.type||s.keys!==void 0||s.pointStart!==void 0||s.pointInterval!==void 0||s.relativeXValue!==void 0||s.joinBy||s.mapData||["dataGrouping","pointStart","pointInterval","pointIntervalUnit","keys"].some(O=>c.hasOptionChanged(O)));T=T||h,R?(D.push.apply(D,To.keepPropsForPoints),s.visible!==!1&&D.push("area","graph"),c.parallelArrays.forEach(function(O){D.push(O+"Data")}),s.data&&(s.dataSorting&&tt(c.options.dataSorting,s.dataSorting),this.setData(s.data,!1))):this.dataTable.modified=this.dataTable,s.dataLabels&&u.dataLabels&&(s.dataLabels=this.mergeArrays(u.dataLabels,s.dataLabels)),s=Je(u,{index:u.index===void 0?c.index:u.index,pointStart:g?.series?.pointStart??u.pointStart??c.getColumn("x")[0]},!R&&{data:c.options.data},s,_),R&&s.data&&(s.data=c.options.data),(D=["dataLabelsGroup","dataLabelsGroups","dataLabelsParentGroups","group","markerGroup","transformGroup"].concat(D)).forEach(function(O){D[O]=c[O],delete c[O]});let M=!1;if(El[T]){if(M=T!==c.type,c.remove(!1,!1,!1,!0),M)if(d.propFromSeries(),Object.setPrototypeOf)Object.setPrototypeOf(c,El[T].prototype);else{let O=Object.hasOwnProperty.call(c,"hcEvents")&&c.hcEvents;for(I in m)c[I]=void 0;tt(c,El[T].prototype),O?c.hcEvents=O:delete c.hcEvents}}else Ln(17,!0,d,{missingModuleFor:T});if(D.forEach(function(O){c[O]=D[O]}),c.init(d,s),R&&this.points)for(let O of((b=c.options).visible===!1?(S.graphic=1,S.dataLabel=1):(this.hasMarkerChanged(b,u)&&(S.graphic=1),c.hasDataLabels?.()||(S.dataLabel=1)),this.points))O?.series&&(O.resolveColor(),Object.keys(S).length&&O.destroyElements(S),b.showInLegend===!1&&O.legendItem&&d.legend.destroyItem(O));c.initialType=h,d.linkSeries(),d.setSortedData(),M&&c.linkedSeries.length&&(c.isDirtyData=!0),_e(this,"afterUpdate"),ce(a,!0)&&d.redraw(!!R&&void 0)}setName(s){this.name=this.options.name=this.userOptions.name=s,this.chart.isDirtyLegend=!0}hasOptionChanged(s){let a=this.chart,c=this.options[s],d=a.options.plotOptions,u=this.userOptions[s],h=ce(d?.[this.type]?.[s],d?.series?.[s]);return u&&!Ee(h)?c!==u:c!==ce(h,c)}onMouseOver(){let s=this.chart,a=s.hoverSeries;s.pointer?.setHoverChartIndex(),a&&a!==this&&a.onMouseOut(),this.options.events.mouseOver&&_e(this,"mouseOver"),this.setState("hover"),s.hoverSeries=this}onMouseOut(){let s=this.options,a=this.chart,c=a.tooltip,d=a.hoverPoint;a.hoverSeries=null,d&&d.onMouseOut(),this&&s.events.mouseOut&&_e(this,"mouseOut"),c&&!this.stickyTracking&&(!c.shared||this.noSharedTooltip)&&c.hide(),a.series.forEach(function(u){u.setState("",!0)})}setState(s,a){let c=this,{graph:d,options:u}=c,{inactiveOtherPoints:h,states:g}=u,m=ce(g?.[s||"normal"]?.animation,c.chart.options.chart.animation),{lineWidth:_,opacity:S}=u;if(s=s||"",c.state!==s&&([c.group,c.markerGroup,...c.dataLabelsGroups||[]].forEach(function(b){b&&(c.state&&b.removeClass("highcharts-series-"+c.state),s&&b.addClass("highcharts-series-"+s))}),c.state=s,!c.chart.styledMode)){if(g[s]?.enabled===!1)return;if(s&&(_=g[s].lineWidth||_+(g[s].lineWidthPlus||0),S=ce(g[s].opacity,S)),d&&!d.dashstyle&&de(_))for(let b of[d,...this.zones.map(I=>I.graph)])b?.animate({"stroke-width":_},m);h||[c.group,c.markerGroup,...c.dataLabelsGroups||[],c.labelBySeries].forEach(function(b){b?.animate({opacity:S},m)})}a&&h&&c.points&&c.setAllPointsToState(s||void 0)}setAllPointsToState(s){this.points.forEach(function(a){a.setState&&a.setState(s)})}setVisible(s,a){let c=this,d=c.chart,u=d.options.chart.ignoreHiddenSeries,h=c.visible;c.visible=s=c.options.visible=c.userOptions.visible=s===void 0?!h:s;let g=s?"show":"hide";["group","markerGroup","tracker","tt"].forEach(m=>{c[m]?.[g]()}),c.dataLabelsGroups?.forEach(m=>{m?.[g]()}),(d.hoverSeries===c||d.hoverPoint?.series===c)&&c.onMouseOut(),c.legendItem&&d.legend.colorizeItem(c,s),c.isDirty=!0,c.options.stacking&&d.series.forEach(m=>{m.options.stacking&&m.visible&&(m.isDirty=!0)}),c.linkedSeries.forEach(m=>{m.setVisible(s,!1)}),u&&(d.isDirtyBox=!0),_e(c,g),a!==!1&&d.redraw()}show(){this.setVisible(!0)}hide(){this.setVisible(!1)}select(s){this.selected=s=this.options.selected=s===void 0?!this.selected:s,this.checkbox&&(this.checkbox.checked=s),_e(this,s?"select":"unselect")}shouldShowTooltip(s,a,c={}){return c.series=this,c.visiblePlotOnly=!0,this.chart.isInsidePlot(s,a,c)}drawLegendSymbol(s,a){let c=this.chart.renderer,d=this.options.legendSymbol||"rectangle",u=a.legendItem||{},{options:h,symbolHeight:g,symbolWidth:m}=s,_=h.squareSymbol,S=_?g:m,b=_?(m-g)/2:0,I=(s.baseline||0)-g+1,D=h.symbolRadius??g,T=d==="rectangle"?c.rect(b,I,S,g,D):c.symbols[d]&&c.symbol(d,b,I,S,g,{r:D});T?u.symbol=T.addClass("highcharts-point").attr({zIndex:3}).add(u.group):lp[d]?.call(this,s,a)}}To.defaultOptions={lineWidth:2,allowPointSelect:!1,crisp:!0,showCheckbox:!1,animation:{duration:1e3},enableMouseTracking:!0,events:{},marker:{enabledThreshold:2,lineColor:"#ffffff",lineWidth:0,radius:4,states:{normal:{animation:!0},hover:{animation:{duration:150},enabled:!0,radiusPlus:2,lineWidthPlus:1},select:{fillColor:"#cccccc",lineColor:"#000000",lineWidth:2}}},point:{events:{}},dataLabels:{animation:{},align:"center",borderWidth:0,defer:!0,formatter:function(){let{numberFormatter:v}=this.series.chart;return typeof this.y!="number"?"":v(this.y,-1)},padding:5,style:{fontSize:"0.7em",fontWeight:"bold",color:"contrast",textOutline:"1px contrast"},verticalAlign:"bottom",x:0,y:0},cropThreshold:300,opacity:1,pointRange:0,softThreshold:!0,states:{normal:{animation:!0},hover:{animation:{duration:150},lineWidthPlus:1,marker:{},halo:{size:10,opacity:.25}},select:{animation:{duration:0}},inactive:{animation:{duration:150},opacity:.2}},stickyTracking:!0,turboThreshold:1e3,findNearestPointBy:"x"},To.types=Jn.seriesTypes,To.registerType=Jn.registerSeriesType,To.keepProps=["colorIndex","eventOptions","navigatorSeries","symbolIndex","baseSeries"],To.keepPropsForPoints=["data","isDirtyData","isDirtyCanvas","points","dataTable","processedData","xIncrement","cropped","_hasPointMarkers","hasDataLabels","nodes","layout","level","mapMap","mapData","minY","maxY","minX","maxX","transformGroups"],tt(To.prototype,{axisTypes:["xAxis","yAxis"],coll:"series",colorCounter:0,directTouch:!1,invertible:!0,isCartesian:!0,kdAxisArray:["clientX","plotY"],parallelArrays:["x","y"],pointClass:qs,requireSorting:!0,sorted:!0}),Jn.series=To;let er=To,{animObject:Xd,setAnimation:cp}=Yi,{registerEventOptions:p2}=$d,{composed:f2,marginNames:g2}=he,{distribute:dp}=_c,{format:up}=kr;class wc{constructor(s,a){this.allItems=[],this.initialItemY=0,this.itemHeight=0,this.itemMarginBottom=0,this.itemMarginTop=0,this.itemX=0,this.itemY=0,this.lastItemY=0,this.lastLineHeight=0,this.legendHeight=0,this.legendWidth=0,this.maxItemWidth=0,this.maxLegendWidth=0,this.offsetWidth=0,this.padding=0,this.pages=[],this.symbolHeight=0,this.symbolWidth=0,this.titleHeight=0,this.totalItemWidth=0,this.widthOption=0,this.chart=s,this.setOptions(a),a.enabled&&(this.render(),p2(this,a),St(this.chart,"endResize",function(){this.legend.positionCheckboxes()})),St(this.chart,"render",()=>{this.options.enabled&&this.proximate&&(this.proximatePositions(),this.positionItems())})}setOptions(s){let a=ce(s.padding,8);this.options=s,this.chart.styledMode||(this.itemStyle=s.itemStyle,this.itemHiddenStyle=Je(this.itemStyle,s.itemHiddenStyle)),this.itemMarginTop=s.itemMarginTop,this.itemMarginBottom=s.itemMarginBottom,this.padding=a,this.initialItemY=a-5,this.symbolWidth=ce(s.symbolWidth,16),this.pages=[],this.proximate=s.layout==="proximate"&&!this.chart.inverted,this.baseline=void 0}update(s,a){let c=this.chart;this.setOptions(Je(!0,this.options,s)),"events"in this.options&&p2(this,this.options),this.destroy(),c.isDirtyLegend=c.isDirtyBox=!0,ce(a,!0)&&c.redraw(),_e(this,"afterUpdate",{redraw:a})}colorizeItem(s,a){let c=s.color,{area:d,group:u,label:h,line:g,symbol:m}=s.legendItem||{};if((s instanceof er||s instanceof qs)&&(s.color=s.options?.legendSymbolColor||c),u?.[a?"removeClass":"addClass"]("highcharts-legend-item-hidden"),!this.chart.styledMode){let{itemHiddenStyle:_={}}=this,S=_.color,{fillColor:b,fillOpacity:I,lineColor:D,marker:T}=s.options,R=M=>(!a&&(M.fill&&(M.fill=S),M.stroke&&(M.stroke=S)),M);h?.css(Je(a?this.itemStyle:_)),g?.attr(R({stroke:D||s.color})),m&&m.attr(R(T&&m.isMarker?s.pointAttribs():{fill:s.color})),d?.attr(R({fill:b||s.color,"fill-opacity":b?1:I??.75}))}s.color=c,_e(this,"afterColorizeItem",{item:s,visible:a})}positionItems(){this.allItems.forEach(this.positionItem,this),this.chart.isResizing||this.positionCheckboxes()}positionItem(s){let{group:a,x:c=0,y:d=0}=s.legendItem||{},u=this.options,h=u.symbolPadding,g=!u.rtl,m=s.checkbox;if(a?.element){let _={translateX:g?c:this.legendWidth-c-2*h-4,translateY:d},S=()=>{_e(this,"afterPositionItem",{item:s})};a[Ee(a.translateY)?"animate":"attr"](_,void 0,S)}m&&(m.x=c,m.y=d)}destroyItem(s){let a=s.legendItem||{};for(let c of["group","label","line","symbol"])a[c]&&(a[c]=a[c].destroy());s.checkbox=Ud(s.checkbox),s.legendItem=void 0}destroy(){for(let s of this.getAllItems())this.destroyItem(s);for(let s of["clipRect","up","down","pager","nav","box","title","group"])this[s]&&(this[s]=this[s].destroy());this.display=null}positionCheckboxes(){let s,a=this.group?.alignAttr,c=this.clipHeight||this.legendHeight,d=this.titleHeight;a&&(s=a.translateY,this.allItems.forEach(function(u){let h,g=u.checkbox;g&&(h=s+d+g.y+(this.scrollOffset||0)+3,$t(g,{left:a.translateX+u.checkboxOffset+g.x-20+"px",top:h+"px",display:this.proximate||h>s-6&&h<s+c-6?"":"none"}))},this))}renderTitle(){let s=this.options,a=this.padding,c=s.title,d,u=0;c.text&&(this.title||(this.title=this.chart.renderer.label(c.text,a-3,a-4,void 0,void 0,void 0,s.useHTML,void 0,"legend-title").attr({zIndex:1}),this.chart.styledMode||this.title.css(c.style),this.title.add(this.group)),c.width||this.title.css({width:this.maxLegendWidth+"px"}),u=(d=this.title.getBBox()).height,this.offsetWidth=d.width,this.contentGroup.attr({translateY:u})),this.titleHeight=u}setText(s){let a=this.options;s.legendItem.label.attr({text:a.labelFormat?up(a.labelFormat,s,this.chart):a.labelFormatter.call(s,s)})}renderItem(s){let a=s.legendItem=s.legendItem||{},c=this.chart,d=c.renderer,u=this.options,h=u.layout==="horizontal",g=this.symbolWidth,m=u.symbolPadding||0,_=this.itemStyle,S=this.itemHiddenStyle,b=h?ce(u.itemDistance,20):0,I=!u.rtl,D=!s.series,T=!D&&s.series.drawLegendSymbol?s.series:s,R=T.options,M=!!this.createCheckboxForItem&&R&&R.showCheckbox,O=u.useHTML,H=s.options.className,G=a.label,K=g+m+b+20*!!M;!G&&(a.group=d.g("legend-item").addClass("highcharts-"+T.type+"-series highcharts-color-"+s.colorIndex+(H?" "+H:"")+(D?" highcharts-series-"+s.index:"")).attr({zIndex:1}).add(this.scrollGroup),a.label=G=d.text("",I?g+m:-m,this.baseline||0,O),c.styledMode||G.css(Je(s.visible?_:S)),G.attr({align:I?"left":"right",zIndex:2}).add(a.group),!this.baseline&&(this.fontMetrics=d.fontMetrics(G),this.baseline=this.fontMetrics.f+3+this.itemMarginTop,G.attr("y",this.baseline),this.symbolHeight=ce(u.symbolHeight,this.fontMetrics.f),u.squareSymbol&&(this.symbolWidth=ce(u.symbolWidth,Math.max(this.symbolHeight,16)),K=this.symbolWidth+m+b+20*!!M,I&&G.attr("x",this.symbolWidth+m))),T.drawLegendSymbol(this,s),this.setItemEvents&&this.setItemEvents(s,G,O)),M&&!s.checkbox&&this.createCheckboxForItem&&this.createCheckboxForItem(s),this.colorizeItem(s,s.visible),(c.styledMode||!_.width)&&G.css({width:Math.min(u.itemWidth||this.widthOption||c.spacingBox.width,u.maxWidth?Oi(u.maxWidth,c.chartWidth):1/0)-K+"px"}),this.setText(s);let Q=G.getBBox(),J=this.fontMetrics?.h||0;s.itemWidth=s.checkboxOffset=u.itemWidth||a.labelWidth||Q.width+K,this.maxItemWidth=Math.max(this.maxItemWidth,s.itemWidth),this.totalItemWidth+=s.itemWidth,this.itemHeight=s.itemHeight=Math.round(a.labelHeight||(Q.height>1.5*J?Q.height:J))}layoutItem(s){let a=this.options,c=this.padding,d=a.layout==="horizontal",u=s.itemHeight,h=this.itemMarginBottom,g=this.itemMarginTop,m=d?ce(a.itemDistance,20):0,_=this.maxLegendWidth,S=a.alignColumns&&this.totalItemWidth>_?this.maxItemWidth:s.itemWidth,b=s.legendItem||{};d&&this.itemX-c+S>_&&(this.itemX=c,this.lastLineHeight&&(this.itemY+=g+this.lastLineHeight+h),this.lastLineHeight=0),this.lastItemY=g+this.itemY+h,this.lastLineHeight=Math.max(u,this.lastLineHeight),b.x=this.itemX,b.y=this.itemY,d?this.itemX+=S:(this.itemY+=g+u+h,this.lastLineHeight=u),this.offsetWidth=this.widthOption||Math.max((d?this.itemX-c-(s.checkbox?0:m):S)+c,this.offsetWidth)}getAllItems(){let s=[];return this.chart.series.forEach(function(a){let c=a?.options;a&&ce(c.showInLegend,!Ee(c.linkedTo)&&void 0,!0)&&(s=s.concat(a.legendItem?.labels||(c.legendType==="point"?a.data:a)))}),_e(this,"afterGetAllItems",{allItems:s}),s}getAlignment(){let s=this.options;return this.proximate?s.align.charAt(0)+"tv":s.floating?"":s.align.charAt(0)+s.verticalAlign.charAt(0)+s.layout.charAt(0)}adjustMargins(s,a){let c=this.chart,d=this.options,u=this.getAlignment();u&&[/(lth|ct|rth)/,/(rtv|rm|rbv)/,/(rbh|cb|lbh)/,/(lbv|lm|ltv)/].forEach((h,g)=>{h.test(u)&&!Ee(s[g])&&(c[g2[g]]=Math.max(c[g2[g]],c.legend[(g+1)%2?"legendHeight":"legendWidth"]+[1,-1,-1,1][g]*d[g%2?"x":"y"]+(d.margin??12)+a[g]+(c.titleOffset[g]||0)))})}proximatePositions(){let s,a=this.chart,c=[],d=this.options.align==="left";for(let u of(this.allItems.forEach(function(h){let g,m,_=d,S,b;h.yAxis&&(h.xAxis.options.reversed&&(_=!_),h.points&&(g=zn(_?h.points:h.points.slice(0).reverse(),function(I){return de(I.plotY)})),m=this.itemMarginTop+h.legendItem.label.getBBox().height+this.itemMarginBottom,b=h.yAxis.top-a.plotTop,S=h.visible?(g?g.plotY:h.yAxis.height)+(b-.3*m):b+h.yAxis.height,c.push({target:S,size:m,item:h}))},this),dp(c,a.plotHeight)))s=u.item.legendItem||{},de(u.pos)&&(s.y=a.plotTop-a.spacing[0]+u.pos)}render(){let s=this.chart,a=s.spacingBox.width,c=s.renderer,d=this.options,u=this.padding,h=this.getAllItems(),g,m,_,S=this.group,b,I=this.box;this.itemX=u,this.itemY=this.initialItemY,this.offsetWidth=0,this.lastItemY=0,this.widthOption=Oi(d.width,a-u),b=a-2*u-d.x,["rm","lm"].indexOf(this.getAlignment().substring(0,2))>-1&&(b/=2),this.maxLegendWidth=this.widthOption||b,S||(this.group=S=c.g("legend").addClass(d.className||"").attr({zIndex:7}).add(),this.contentGroup=c.g().attr({zIndex:1}).add(S),this.scrollGroup=c.g().add(this.contentGroup)),this.renderTitle(),Zo(h,(D,T)=>(D.options?.legendIndex||0)-(T.options?.legendIndex||0)),d.reversed&&h.reverse(),this.allItems=h,this.display=g=!!h.length,this.lastLineHeight=0,this.maxItemWidth=0,this.totalItemWidth=0,this.itemHeight=0,h.forEach(this.renderItem,this),h.forEach(this.layoutItem,this),m=(d.maxWidth?Math.min(this.widthOption||this.offsetWidth,b,Oi(d.maxWidth,s.chartWidth)||1/0):this.widthOption||this.offsetWidth)+u,_=this.lastItemY+this.lastLineHeight+this.titleHeight,_=this.handleOverflow(_)+u,I||(this.box=I=c.rect().addClass("highcharts-legend-box").attr({r:d.borderRadius}).add(S)),s.styledMode||I.attr({stroke:d.borderColor,"stroke-width":d.borderWidth||0,fill:d.backgroundColor||"none"}).shadow(d.shadow),m>0&&_>0&&I[I.placed?"animate":"attr"](I.crisp.call({},{x:0,y:0,width:m,height:_},I.strokeWidth())),S[g?"show":"hide"](),s.styledMode&&S.getStyle("display")==="none"&&(m=_=0),this.legendWidth=m,this.legendHeight=_,g&&this.align(),this.proximate||this.positionItems(),_e(this,"afterRender")}align(s=this.chart.spacingBox){let a=this.chart,c=this.options,d=s.y;/(lth|ct|rth)/.test(this.getAlignment())&&a.titleOffset[0]>0?d+=a.titleOffset[0]:/(lbh|cb|rbh)/.test(this.getAlignment())&&a.titleOffset[2]>0&&(d-=a.titleOffset[2]),d!==s.y&&(s=Je(s,{y:d})),a.hasRendered||(this.group.placed=!1),this.group.align(Je(c,{width:this.legendWidth,height:this.legendHeight,verticalAlign:this.proximate?"top":c.verticalAlign}),!0,s)}handleOverflow(s){let a=this,c=this.chart,d=c.renderer,u=this.options,h=u.y,g=u.verticalAlign==="top",m=this.padding,_=u.maxHeight,S=u.navigation,b=ce(S.animation,!0),I=S.arrowSize||12,D=this.pages,T=this.allItems,R=function(re){typeof re=="number"?ie.attr({height:re}):ie&&(a.clipRect=ie.destroy(),a.contentGroup.clip()),a.contentGroup.div&&(a.contentGroup.div.style.clip=re?"rect("+m+"px,9999px,"+(m+re)+"px,0)":"auto")},M=function(re){return a[re]=d.circle(0,0,1.3*I).translate(I/2,I/2).add(J),c.styledMode||a[re].attr("fill","rgba(0,0,0,0.0001)"),a[re]},O,H,G,K,Q=c.spacingBox.height+(g?-h:h)-m,J=this.nav,ie=this.clipRect;return u.layout!=="horizontal"||u.verticalAlign==="middle"||u.floating||(Q/=2),_&&(Q=Math.min(Q,_)),D.length=0,s&&Q>0&&s>Q&&S.enabled!==!1?(this.clipHeight=O=Math.max(Q-20-this.titleHeight-m,0),this.currentPage=ce(this.currentPage,1),this.fullHeight=s,T.forEach((re,Se)=>{let xe=(G=re.legendItem||{}).y||0,ve=Math.round(G.label.getBBox().height),je=D.length;(!je||xe-D[je-1]>O&&(H||xe)!==D[je-1])&&(D.push(H||xe),je++),G.pageIx=je-1,H&&K&&(K.pageIx=je-1),Se===T.length-1&&xe+ve-D[je-1]>O&&xe>D[je-1]&&(D.push(xe),G.pageIx=je),xe!==H&&(H=xe),K=G}),ie||(ie=a.clipRect=d.clipRect(0,m-2,9999,0),a.contentGroup.clip(ie)),R(O),J||(this.nav=J=d.g().attr({zIndex:1}).add(this.group),this.up=d.symbol("triangle",0,0,I,I).add(J),M("upTracker").on("click",function(){a.scroll(-1,b)}),this.pager=d.text("",15,10).addClass("highcharts-legend-navigation"),!c.styledMode&&S.style&&this.pager.css(S.style),this.pager.add(J),this.down=d.symbol("triangle-down",0,0,I,I).add(J),M("downTracker").on("click",function(){a.scroll(1,b)})),a.scroll(0),s=Q):J&&(R(),this.nav=J.destroy(),this.scrollGroup.attr({translateY:1}),this.clipHeight=0),s}scroll(s,a){let c=this.chart,d=this.pages,u=d.length,h=this.clipHeight,g=this.options.navigation,m=this.pager,_=this.padding,S=this.currentPage+s;S>u&&(S=u),S>0&&(a!==void 0&&cp(a,c),this.nav.attr({translateX:_,translateY:h+this.padding+7+this.titleHeight,visibility:"inherit"}),[this.up,this.upTracker].forEach(function(b){b.attr({class:S===1?"highcharts-legend-nav-inactive":"highcharts-legend-nav-active"})}),m.attr({text:S+"/"+u}),[this.down,this.downTracker].forEach(function(b){b.attr({x:18+this.pager.getBBox().width,class:S===u?"highcharts-legend-nav-inactive":"highcharts-legend-nav-active"})},this),c.styledMode||(this.up.attr({fill:S===1?g.inactiveColor:g.activeColor}),this.upTracker.css({cursor:S===1?"default":"pointer"}),this.down.attr({fill:S===u?g.inactiveColor:g.activeColor}),this.downTracker.css({cursor:S===u?"default":"pointer"})),this.scrollOffset=-d[S-1]+this.initialItemY,this.scrollGroup.animate({translateY:this.scrollOffset}),this.currentPage=S,this.positionCheckboxes(),Er(()=>{_e(this,"afterScroll",{currentPage:S})},Xd(ce(a,c.renderer.globalAnimation,!0)).duration))}setItemEvents(s,a,c){let d=this,u=s.legendItem||{},h=d.chart.renderer.boxWrapper,g=s instanceof qs,m=s instanceof er,_="highcharts-legend-"+(g?"point":"series")+"-active",S=d.chart.styledMode,b=c?[a,u.symbol]:[u.group],I=D=>{d.allItems.forEach(T=>{s!==T&&[T].concat(T.linkedSeries||[]).forEach(R=>{R.setState(D,!g)})})};for(let D of b)D&&D.on("mouseover",function(){s.visible&&I("inactive"),s.setState("hover"),s.visible&&h.addClass(_),S||a.css(d.options.itemHoverStyle)}).on("mouseout",function(){d.chart.styledMode||a.css(Je(s.visible?d.itemStyle:d.itemHiddenStyle)),I(""),h.removeClass(_),s.setState()}).on("click",function(T){let R=function(){s.setVisible&&s.setVisible(),I(s.visible?"inactive":"")};h.removeClass(_),_e(d,"itemClick",{browserEvent:T,legendItem:s,context:d},R),g?s.firePointEvent("legendItemClick",{browserEvent:T}):m&&_e(s,"legendItemClick",{browserEvent:T})})}createCheckboxForItem(s){s.checkbox=Sr("input",{type:"checkbox",className:"highcharts-legend-checkbox",checked:s.selected,defaultChecked:s.selected},this.options.itemCheckboxStyle,this.chart.container),St(s.checkbox,"click",function(a){let c=a.target;_e(s.series||s,"checkboxClick",{checked:c.checked,item:s},function(){s.select()})})}}(j=wc||(wc={})).compose=function(v){no(f2,"Core.Legend")&&St(v,"beforeMargins",function(){this.legend=new j(this,this.options.legend)})};let m2=wc,{animate:hp,animObject:Db,setAnimation:pp}=Yi,{defaultOptions:fp}=li,{numberFormat:Tb}=kr,{registerEventOptions:v2}=$d,{charts:Ua,doc:wl,marginNames:C2,svg:_2,win:gp}=he,{seriesTypes:mp}=Jn;class Ri{static chart(s,a,c){return new Ri(s,a,c)}constructor(s,a,c){if(this.sharedClips={},!wl)return void Ln(36,!1,this);let d=[...arguments];(Wt(s)||s.nodeName)&&(this.renderTo=d.shift()),this.init(d[0],d[1])}setZoomOptions(){let s=this.options.chart,a=s.zooming;this.zooming=U(k({},a),{type:ce(s.zoomType,a.type),key:ce(s.zoomKey,a.key),pinchType:ce(s.pinchType,a.pinchType),singleTouch:ce(s.zoomBySingleTouch,a.singleTouch,!1),resetButton:Je(a.resetButton,s.resetZoomButton)})}init(s,a){_e(this,"init",{args:arguments},function(){let c=Je(fp,s),d=c.chart,u=this.renderTo||d.renderTo;this.userOptions=tt({},s),(this.renderTo=Wt(u)?wl.getElementById(u):u)||Ln(13,!0,this),this.margin=[],this.spacing=[],this.labelCollectors=[],this.callback=a,this.isResizing=0,this.options=c,this.axes=[],this.series=[],this.locale=c.lang.locale??this.renderTo.closest("[lang]")?.lang,this.time=new Pa(tt(c.time||{},{locale:this.locale}),c.lang),c.time=this.time.options,this.numberFormatter=(d.numberFormatter||Tb).bind(this),this.styledMode=d.styledMode,this.hasCartesianSeries=d.showAxes,this.index=Ua.length,Ua.push(this),he.chartCount++,v2(this,d),this.xAxis=[],this.yAxis=[],this.pointCount=this.colorCounter=this.symbolCounter=0,this.setZoomOptions(),_e(this,"afterInit"),this.firstRender()})}initSeries(s){let a=this.options.chart,c=s.type||a.type,d=mp[c];d||Ln(17,!0,this,{missingModuleFor:c});let u=new d;return typeof u.init=="function"&&u.init(this,s),u}setSortedData(){this.getSeriesOrderByLinks().forEach(function(s){s.points||s.data||!s.enabledDataSorting||s.setData(s.options.data,!1)})}getSeriesOrderByLinks(){return this.series.concat().sort(function(s,a){return s.linkedSeries.length||a.linkedSeries.length?a.linkedSeries.length-s.linkedSeries.length:0})}orderItems(s,a=0){let c=this[s],d=this.options[s]=Si(this.options[s]).slice(),u=this.userOptions[s]=this.userOptions[s]?Si(this.userOptions[s]).slice():[];if(this.hasRendered&&(d.splice(a),u.splice(a)),c)for(let h=a,g=c.length;h<g;++h){let m=c[h];m&&(m.index=h,m instanceof er&&(m.name=m.getName()),m.options.isInternal||(d[h]=m.options,u[h]=m.userOptions))}}getClipBox(s,a){let c=this.inverted,{xAxis:d,yAxis:u}=s||{},{x:h,y:g,width:m,height:_}=Je(this.clipBox);return s&&(d&&d.len!==this.plotSizeX&&(m=d.len),u&&u.len!==this.plotSizeY&&(_=u.len),c&&!s.invertible&&([m,_]=[_,m])),a&&(h+=(c?u:d)?.pos??this.plotLeft,g+=(c?d:u)?.pos??this.plotTop),{x:h,y:g,width:m,height:_}}isInsidePlot(s,a,c={}){let{inverted:d,plotBox:u,plotLeft:h,plotTop:g,scrollablePlotBox:m}=this,{scrollLeft:_=0,scrollTop:S=0}=c.visiblePlotOnly&&this.scrollablePlotArea?.scrollingContainer||{},b=c.series,I=c.visiblePlotOnly&&m||u,D=c.inverted?a:s,T=c.inverted?s:a,R={x:D,y:T,isInsidePlot:!0,options:c};if(!c.ignoreX){let M=b&&(d&&!this.polar?b.yAxis:b.xAxis)||{pos:h,len:1/0},O=c.paneCoordinates?M.pos+D:h+D;O>=Math.max(_+h,M.pos)&&O<=Math.min(_+h+I.width,M.pos+M.len)||(R.isInsidePlot=!1)}if(!c.ignoreY&&R.isInsidePlot){let M=!d&&c.axis&&!c.axis.isXAxis&&c.axis||b&&(d?b.xAxis:b.yAxis)||{pos:g,len:1/0},O=c.paneCoordinates?M.pos+T:g+T;O>=Math.max(S+g,M.pos)&&O<=Math.min(S+g+I.height,M.pos+M.len)||(R.isInsidePlot=!1)}return _e(this,"afterIsInsidePlot",R),R.isInsidePlot}redraw(s){_e(this,"beforeRedraw");let a=this.hasCartesianSeries?this.axes:this.colorAxis||[],c=this.series,d=this.pointer,u=this.legend,h=this.userOptions.legend,g=this.renderer,m=g.isHidden(),_=[],S,b,I,D=this.isDirtyBox,T=this.isDirtyLegend,R;for(g.rootFontSize=g.boxWrapper.getStyle("font-size"),this.setResponsive&&this.setResponsive(!1),pp(!!this.hasRendered&&s,this),m&&this.temporaryDisplay(),this.layOutTitles(!1),I=c.length;I--;)if(((R=c[I]).options.stacking||R.options.centerInCategory)&&(b=!0,R.isDirty)){S=!0;break}if(S)for(I=c.length;I--;)(R=c[I]).options.stacking&&(R.isDirty=!0);c.forEach(function(M){M.isDirty&&(M.options.legendType==="point"?(typeof M.updateTotals=="function"&&M.updateTotals(),T=!0):h&&(h.labelFormatter||h.labelFormat)&&(T=!0)),M.isDirtyData&&_e(M,"updatedData")}),T&&u&&u.options.enabled&&(u.render(),this.isDirtyLegend=!1),b&&this.getStacks(),a.forEach(function(M){M.updateNames(),M.setScale()}),this.getMargins(),a.forEach(function(M){M.isDirty&&(D=!0)}),a.forEach(function(M){let O=M.min+","+M.max;M.extKey!==O&&(M.extKey=O,_.push(function(){_e(M,"afterSetExtremes",tt(M.eventArgs,M.getExtremes())),delete M.eventArgs})),(D||b)&&M.redraw()}),D&&this.drawChartBox(),_e(this,"predraw"),c.forEach(function(M){(D||M.isDirty)&&M.visible&&M.redraw(),M.isDirtyData=!1}),d&&d.reset(!0),g.draw(),_e(this,"redraw"),_e(this,"render"),m&&this.temporaryDisplay(!0),_.forEach(function(M){M.call()})}get(s){let a=this.series;function c(u){return u.id===s||u.options&&u.options.id===s}let d=zn(this.axes,c)||zn(this.series,c);for(let u=0;!d&&u<a.length;u++)d=zn(a[u].points||[],c);return d}createAxes(){let s=this.userOptions;for(let a of(_e(this,"createAxes"),["xAxis","yAxis"]))for(let c of s[a]=Si(s[a]||{}))new ms(this,c,a);_e(this,"afterCreateAxes")}getSelectedPoints(){return this.series.reduce((s,a)=>(a.getPointsCollection().forEach(c=>{ce(c.selectedStaging,c.selected)&&s.push(c)}),s),[])}getSelectedSeries(){return this.series.filter(s=>s.selected)}setTitle(s,a,c){this.applyDescription("title",s),this.applyDescription("subtitle",a),this.applyDescription("caption",void 0),this.layOutTitles(c)}applyDescription(s,a){let c=this,d=this.options[s]=Je(this.options[s],a),u=this[s];u&&a&&(this[s]=u=u.destroy()),d&&!u&&((u=this.renderer.text(d.text,0,0,d.useHTML).attr({align:d.align,class:"highcharts-"+s,zIndex:d.zIndex||4}).css({textOverflow:"ellipsis",whiteSpace:"nowrap"}).add()).update=function(h,g){c.applyDescription(s,h),c.layOutTitles(g)},this.styledMode||u.css(tt(s==="title"?{fontSize:this.options.isStock?"1em":"1.2em"}:{},d.style)),u.textPxLength=u.getBBox().width,u.css({whiteSpace:d.style?.whiteSpace}),this[s]=u)}layOutTitles(s=!0){let a=[0,0,0],{options:c,renderer:d,spacingBox:u}=this;["title","subtitle","caption"].forEach(g=>{let m=this[g],_=this.options[g],S=Je(u),b=m?.textPxLength||0;if(m&&_){_e(this,"layOutTitle",{alignTo:S,key:g,textPxLength:b});let I=d.fontMetrics(m),D=I.b,T=I.h,R=_.verticalAlign||"top",M=R==="top",O=M&&_.minScale||1,H=g==="title"?M?-3:0:M?a[0]+2:0,G=Math.min(S.width/b,1),K=Math.max(O,G),Q=Je({y:R==="bottom"?D:H+D},_),J=(_.width||(G>O?this.chartWidth:S.width)/K)+"px";Q.align??(Q.align=g==="title"?G<O?"left":"center":this.title?.alignValue),m.alignValue!==Q.align&&(m.placed=!1);let ie=Math.round(m.css({width:J}).getBBox(_.useHTML).height);if(Q.height=ie,m.align(Q,!1,S).attr({align:Q.align,scaleX:K,scaleY:K,"transform-origin":`${S.x+b*K*fi(Q.align)} ${T}`}),!_.floating){let re=ie*(ie<1.2*T?1:K);R==="top"?a[0]=Math.ceil(a[0]+re):R==="bottom"&&(a[2]=Math.ceil(a[2]+re))}}},this),a[0]&&(c.title?.verticalAlign||"top")==="top"&&(a[0]+=c.title?.margin||0),a[2]&&c.caption?.verticalAlign==="bottom"&&(a[2]+=c.caption?.margin||0);let h=!this.titleOffset||this.titleOffset.join(",")!==a.join(",");this.titleOffset=a,_e(this,"afterLayOutTitles"),!this.isDirtyBox&&h&&(this.isDirtyBox=this.isDirtyLegend=h,this.hasRendered&&s&&this.isDirtyBox&&this.redraw())}getContainerBox(){let s=[].map.call(this.renderTo.children,c=>{if(c!==this.container){let d=c.style.display;return c.style.display="none",[c,d]}}),a={width:Qo(this.renderTo,"width",!0)||0,height:Qo(this.renderTo,"height",!0)||0};return s.filter(Boolean).forEach(([c,d])=>{c.style.display=d}),a}getChartSize(){let s=this.options.chart,a=s.width,c=s.height,d=this.getContainerBox(),u=d.height<=1||!this.renderTo.parentElement?.style.height&&this.renderTo.style.height==="100%";this.chartWidth=Math.max(0,a||d.width||600),this.chartHeight=Math.max(0,Oi(c,this.chartWidth)||(u?400:d.height)),this.containerBox=d}temporaryDisplay(s){let a=this.renderTo,c;if(s)for(;a?.style;)a.hcOrigStyle&&($t(a,a.hcOrigStyle),delete a.hcOrigStyle),a.hcOrigDetached&&(wl.body.removeChild(a),a.hcOrigDetached=!1),a=a.parentNode;else for(;a?.style&&(wl.body.contains(a)||a.parentNode||(a.hcOrigDetached=!0,wl.body.appendChild(a)),(Qo(a,"display",!1)==="none"||a.hcOrigDetached)&&(a.hcOrigStyle={display:a.style.display,height:a.style.height,overflow:a.style.overflow},c={display:"block",overflow:"hidden"},a!==this.renderTo&&(c.height=0),$t(a,c),a.offsetWidth||a.style.setProperty("display","block","important")),(a=a.parentNode)!==wl.body););}setClassName(s){this.container.className="highcharts-container "+(s||"")}getContainer(){let s,a=this.options,c=a.chart,d="data-highcharts-chart",u=io(),h=this.renderTo,g=Dt(Wi(h,d));de(g)&&Ua[g]&&Ua[g].hasRendered&&Ua[g].destroy(),Wi(h,d,this.index),h.innerHTML=Fn.emptyHTML,c.skipClone||h.offsetWidth||this.temporaryDisplay(),this.getChartSize();let m=this.chartHeight,_=this.chartWidth;$t(h,{overflow:"hidden"}),this.styledMode||(s=tt({position:"relative",overflow:"hidden",width:_+"px",height:m+"px",textAlign:"left",lineHeight:"normal",zIndex:0,"-webkit-tap-highlight-color":"rgba(0,0,0,0)",userSelect:"none","touch-action":"manipulation",outline:"none",padding:"0px"},c.style||{}));let S=Sr("div",{id:u},s,h);this.container=S,this.getChartSize(),_!==this.chartWidth&&(_=this.chartWidth,this.styledMode||$t(S,{width:ce(c.style?.width,_+"px")})),this.containerBox=this.getContainerBox(),this._cursor=S.style.cursor;let b=c.renderer||!_2?gs.getRendererType(c.renderer):Gd;if(this.renderer=new b(S,_,m,void 0,c.forExport,a.exporting?.allowHTML,this.styledMode),pp(void 0,this),this.setClassName(c.className),this.styledMode)for(let I in a.defs)this.renderer.definition(a.defs[I]);else this.renderer.setStyle(c.style);this.renderer.chartIndex=this.index,_e(this,"afterGetContainer")}getMargins(s){let{spacing:a,margin:c,titleOffset:d}=this;this.resetMargins(),d[0]&&!Ee(c[0])&&(this.plotTop=Math.max(this.plotTop,d[0]+a[0])),d[2]&&!Ee(c[2])&&(this.marginBottom=Math.max(this.marginBottom,d[2]+a[2])),this.legend?.display&&this.legend.adjustMargins(c,a),_e(this,"getMargins"),s||this.getAxisMargins()}getAxisMargins(){let s=this,a=s.axisOffset=[0,0,0,0],c=s.colorAxis,d=s.margin,u=h=>{h.forEach(g=>{g.visible&&g.getOffset()})};s.hasCartesianSeries?u(s.axes):c?.length&&u(c),C2.forEach((h,g)=>{Ee(d[g])||(s[h]+=a[g])}),s.setChartSize()}getOptions(){return fc(this.userOptions,fp)}reflow(s){let a=this,c=a.containerBox,d=a.getContainerBox();delete a.pointer?.chartPosition,!a.exporting?.isPrinting&&!a.isResizing&&c&&d.width&&((d.width!==c.width||d.height!==c.height)&&(zh(a.reflowTimeout),a.reflowTimeout=Er(function(){if(a.container){a.setSize(void 0,void 0,!1);let u=a.containerBox;u&&(u.height=a.chartHeight)}},100*!!s)),a.containerBox=d)}setReflow(){let s=this,a=c=>{s.options?.chart.reflow&&s.hasLoaded&&s.reflow(c)};if(typeof ResizeObserver=="function")new ResizeObserver(a).observe(s.renderTo);else{let c=St(gp,"resize",a);St(this,"destroy",c)}}setSize(s,a,c){let d=this,u=d.renderer;d.isResizing+=1,pp(c,d);let h=u.globalAnimation;d.oldChartHeight=d.chartHeight,d.oldChartWidth=d.chartWidth,s!==void 0&&(d.options.chart.width=s),a!==void 0&&(d.options.chart.height=a),d.getChartSize();let{chartWidth:g,chartHeight:m,scrollablePixelsX:_=0,scrollablePixelsY:S=0}=d;(d.isDirtyBox||g!==d.oldChartWidth||m!==d.oldChartHeight)&&(d.styledMode||(h?hp:$t)(d.container,{width:`${g+_}px`,height:`${m+S}px`},h),d.setChartSize(!0),u.setSize(g,m,h),d.axes.forEach(function(b){b.isDirty=!0,b.setScale()}),d.isDirtyLegend=!0,d.isDirtyBox=!0,d.layOutTitles(),d.getMargins(),d.redraw(h),d.oldChartHeight=void 0,_e(d,"resize"),setTimeout(()=>{d&&_e(d,"endResize")},Db(h).duration)),d.isResizing-=1}setChartSize(s){let a,c,d,u,{chartHeight:h,chartWidth:g,inverted:m,spacing:_,renderer:S}=this,b=this.clipOffset,I=Math[m?"floor":"round"];this.plotLeft=a=Math.round(this.plotLeft),this.plotTop=c=Math.round(this.plotTop),this.plotWidth=d=Math.max(0,Math.round(g-a-(this.marginRight??0))),this.plotHeight=u=Math.max(0,Math.round(h-c-(this.marginBottom??0))),this.plotSizeX=m?u:d,this.plotSizeY=m?d:u,this.spacingBox=S.spacingBox={x:_[3],y:_[0],width:g-_[3]-_[1],height:h-_[0]-_[2]},this.plotBox=S.plotBox={x:a,y:c,width:d,height:u},b&&(this.clipBox={x:I(b[3]),y:I(b[0]),width:I(this.plotSizeX-b[1]-b[3]),height:I(this.plotSizeY-b[0]-b[2])}),s||(this.axes.forEach(function(D){D.setAxisSize(),D.setAxisTranslation()}),S.alignElements()),_e(this,"afterSetChartSize",{skipAxes:s})}resetMargins(){_e(this,"resetMargins");let s=this,a=s.options.chart,c=a.plotBorderWidth||0,d=Math.round(c)/2;["margin","spacing"].forEach(u=>{let h=a[u],g=ln(h)?h:[h,h,h,h];["Top","Right","Bottom","Left"].forEach((m,_)=>{s[u][_]=a[`${u}${m}`]??g[_]})}),C2.forEach((u,h)=>{s[u]=s.margin[h]??s.spacing[h]}),s.axisOffset=[0,0,0,0],s.clipOffset=[d,d,d,d],s.plotBorderWidth=c}drawChartBox(){let s=this.options.chart,a=this.renderer,c=this.chartWidth,d=this.chartHeight,u=this.styledMode,h=this.plotBGImage,g=s.backgroundColor,m=s.plotBackgroundColor,_=s.plotBackgroundImage,S=this.plotLeft,b=this.plotTop,I=this.plotWidth,D=this.plotHeight,T=this.plotBox,R=this.clipRect,M=this.clipBox,O=this.chartBackground,H=this.plotBackground,G=this.plotBorder,K,Q,J,ie="animate";O||(this.chartBackground=O=a.rect().addClass("highcharts-background").add(),ie="attr"),u?K=Q=O.strokeWidth():(Q=(K=s.borderWidth||0)+8*!!s.shadow,J={fill:g||"none"},(K||O["stroke-width"])&&(J.stroke=s.borderColor,J["stroke-width"]=K),O.attr(J).shadow(s.shadow)),O[ie]({x:Q/2,y:Q/2,width:c-Q-K%2,height:d-Q-K%2,r:s.borderRadius}
5),ie="animate",H||(ie="attr",this.plotBackground=H=a.rect().addClass("highcharts-plot-background").add()),H[ie](T),!u&&(H.attr({fill:m||"none"}).shadow(s.plotShadow),_&&(h?(_!==h.attr("href")&&h.attr("href",_),h.animate(T)):this.plotBGImage=a.image(_,S,b,I,D).add())),R?R.animate({width:M.width,height:M.height}):this.clipRect=a.clipRect(M),ie="animate",G||(ie="attr",this.plotBorder=G=a.rect().addClass("highcharts-plot-border").attr({zIndex:1}).add()),u||G.attr({stroke:s.plotBorderColor,"stroke-width":s.plotBorderWidth||0,fill:"none"}),G[ie](G.crisp(T,-G.strokeWidth())),this.isDirtyBox=!1,_e(this,"afterDrawChartBox")}propFromSeries(){let s,a,c,d=this,u=d.options.chart,h=d.options.series;["inverted","angular","polar"].forEach(function(g){for(a=mp[u.type],c=u[g]||a&&a.prototype[g],s=h?.length;!c&&s--;)(a=mp[h[s].type])&&a.prototype[g]&&(c=!0);d[g]=c})}linkSeries(s){let a=this,c=a.series;c.forEach(function(d){d.linkedSeries.length=0}),c.forEach(function(d){let{linkedTo:u}=d.options,h=Wt(u)&&(u===":previous"?c[d.index-1]:a.get(u));h&&h.linkedParent!==d&&(h.linkedSeries.push(d),d.linkedParent=h,h.enabledDataSorting&&d.setDataSortingOptions(),d.visible=d.options.visible??h.options.visible??d.visible)}),_e(this,"afterLinkSeries",{isUpdating:s})}renderSeries(){this.series.forEach(function(s){s.translate(),s.render()})}render(){let s=this.axes,a=this.colorAxis,c=this.renderer,d=this.options.chart.axisLayoutRuns||2,u=S=>{S.forEach(b=>{b.visible&&b.render()})},h=0,g=!0,m,_=0;for(let S of(this.setTitle(),_e(this,"beforeMargins"),this.getStacks?.(),this.getMargins(!0),this.setChartSize(),s)){let{options:b}=S,{labels:I}=b;if(this.hasCartesianSeries&&S.horiz&&S.visible&&I.enabled&&S.series.length&&S.coll!=="colorAxis"&&!this.polar){h=b.tickLength,S.createGroups();let D=new Va(S,0,"",!0),T=D.createLabel("x",I);if(D.destroy(),T&&ce(I.reserveSpace,!de(b.crossing))&&(h=T.getBBox().height+I.distance+Math.max(b.offset||0,0)),h){T?.destroy();break}}}for(this.plotHeight=Math.max(this.plotHeight-h,0);(g||m||d>1)&&_<d;){let S=this.plotWidth,b=this.plotHeight,I=[1.05,1.1];for(let D of s){let T=+(D.horiz||0);if(_===0){D.setScale();let R=D.tickPositions?.info?.match;R&&(I[T]=Math.min(R,I[T]))}else(T&&g||!T&&m)&&D.setTickInterval(!0)}_===0?this.getAxisMargins():this.getMargins(),g=S/this.plotWidth>(_?1:I[1]),m=b/this.plotHeight>(_?1:I[0]),_++}this.drawChartBox(),this.hasCartesianSeries?u(s):a?.length&&u(a),this.seriesGroup||(this.seriesGroup=c.g("series-group").attr({zIndex:3}).shadow(this.options.chart.seriesGroupShadow).add()),this.renderSeries(),this.addCredits(),this.setResponsive&&this.setResponsive(),this.hasRendered=!0}addCredits(s){let a=this,c=Je(!0,this.options.credits,s);c.enabled&&!this.credits&&(this.credits=this.renderer.text(c.text+(this.mapCredits||""),0,0).addClass("highcharts-credits").on("click",function(d){_e(a,"creditsClick",d,()=>{c.href&&(gp.location.href=c.href)})}).attr({align:c.position.align,zIndex:8}),c.events?.click&&St(a,"creditsClick",c.events.click),a.styledMode||this.credits.css(c.style),this.credits.add().align(c.position),this.credits.update=function(d){a.credits=a.credits.destroy(),a.addCredits(d)})}destroy(){let s,a=this,c=a.axes,d=a.series,u=a.container,h=u?.parentNode;for(_e(a,"destroy"),a.renderer.forExport?Io(Ua,a):Ua[a.index]=void 0,he.chartCount--,a.renderTo.removeAttribute("data-highcharts-chart"),Pr(a),s=c.length;s--;)c[s]=c[s].destroy();for(this.scroller?.destroy?.(),s=d.length;s--;)d[s]=d[s].destroy();
vendor: 8,579 bytes, line 5
5["title","subtitle","chartBackground","plotBackground","plotBGImage","plotBorder","seriesGroup","clipRect","credits","pointer","rangeSelector","legend","resetZoomButton","tooltip","renderer"].forEach(g=>{a[g]=a[g]?.destroy?.()}),u&&(u.innerHTML=Fn.emptyHTML,Pr(u),h&&Ud(u)),lt(a,function(g,m){delete a[m]})}firstRender(){let s=this,a=s.options;s.getContainer(),s.resetMargins(),s.setChartSize(),s.propFromSeries(),s.createAxes();let c=vn(a.series)?a.series:[];a.series=[],c.forEach(function(d){s.initSeries(d)}),s.linkSeries(),s.setSortedData(),_e(s,"beforeRender"),s.render(),s.pointer?.getChartPosition(),s.renderer.asyncCounter||s.hasLoaded||s.onload(),s.temporaryDisplay(!0)}onload(){this.callbacks.concat([this.callback]).forEach(function(s){s&&this.index!==void 0&&s.apply(this,[this])},this),_e(this,"load"),_e(this,"render"),Ee(this.index)&&this.setReflow(),this.warnIfA11yModuleNotLoaded(),this.warnIfCSSNotLoaded(),this.hasLoaded=!0}warnIfA11yModuleNotLoaded(){let{options:s,title:a}=this;s&&!this.accessibility&&(this.renderer.boxWrapper.attr({role:"img","aria-label":(a?.element.textContent||"").replace(/</g,"<")}),s.accessibility&&s.accessibility.enabled===!1||Ln('Highcharts warning: Consider including the "accessibility.js" module to make your chart more usable for people with disabilities. Set the "accessibility.enabled" option to false to remove this warning. See https://www.highcharts.com/docs/accessibility/accessibility-module.',!1,this))}warnIfCSSNotLoaded(){this.styledMode&&gp.getComputedStyle(this.container).zIndex!=="0"&&Ln(35,!1,this)}addSeries(s,a,c){let d,u=this;return s&&(a=ce(a,!0),_e(u,"addSeries",{options:s},function(){d=u.initSeries(s),u.isDirtyLegend=!0,u.linkSeries(),d.enabledDataSorting&&d.setData(s.data,!1),_e(u,"afterAddSeries",{series:d}),a&&u.redraw(c)})),d}addAxis(s,a,c,d){return this.createAxis(a?"xAxis":"yAxis",{axis:s,redraw:c,animation:d})}addColorAxis(s,a,c){return this.createAxis("colorAxis",{axis:s,redraw:a,animation:c})}createAxis(s,a){let c=new ms(this,a.axis,s);return ce(a.redraw,!0)&&this.redraw(a.animation),c}showLoading(s){let a=this,c=a.options,d=c.loading,u=d?.style??{},h=function(){g&&$t(g,{left:u.left??a.plotLeft+"px",top:u.top??a.plotTop+"px",width:u.width??a.plotWidth+"px",height:u.height??a.plotHeight+"px"})},g=a.loadingDiv,m=a.loadingSpan;g||(a.loadingDiv=g=Sr("div",{className:"highcharts-loading highcharts-loading-hidden"},null,a.container)),m||(a.loadingSpan=m=Sr("span",{className:"highcharts-loading-inner"},null,g),St(a,"redraw",h)),g.className="highcharts-loading",Fn.setElementHTML(m,ce(s,c.lang.loading,"")),!a.styledMode&&($t(g,tt(u,{zIndex:10})),$t(m,d?.labelStyle??{}),a.loadingShown||($t(g,{opacity:0,display:""}),hp(g,{opacity:u.opacity??.5},{duration:d?.showDuration??0}))),a.loadingShown=!0,h()}hideLoading(){let s=this.options,a=this.loadingDiv;a&&(a.className="highcharts-loading highcharts-loading-hidden",this.styledMode||hp(a,{opacity:0},{duration:s.loading?.hideDuration??100,complete:function(){$t(a,{display:"none"})}})),this.loadingShown=!1}update(s,a,c,d){let u,h,g,m=this,_={credits:"addCredits",title:"setTitle",subtitle:"setSubtitle",caption:"setCaption"},S=s.isResponsiveOptions,b=[];_e(m,"update",{options:s}),S||m.setResponsive(!1,!0),s=fc(s,m.options),m.userOptions=Je(m.userOptions,s);let I=s.chart;I&&(Je(!0,m.options.chart,I),this.setZoomOptions(),"className"in I&&m.setClassName(I.className),("inverted"in I||"polar"in I||"type"in I)&&(m.propFromSeries(),u=!0),"alignTicks"in I&&(u=!0),"events"in I&&v2(this,I),lt(I,function(R,M){m.propsRequireUpdateSeries.indexOf("chart."+M)!==-1&&(h=!0),m.propsRequireDirtyBox.indexOf(M)!==-1&&(m.isDirtyBox=!0),m.propsRequireReflow.indexOf(M)!==-1&&(m.isDirtyBox=!0,S||(g=!0))}),!m.styledMode&&I.style&&m.renderer.setStyle(m.options.chart.style||{})),!m.styledMode&&s.colors&&(this.options.colors=s.colors),lt(s,function(R,M){m[M]&&typeof m[M].update=="function"?m[M].update(R,!1):typeof m[_[M]]=="function"?m[_[M]](R):M!=="colors"&&m.collectionsWithUpdate.indexOf(M)===-1&&Je(!0,m.options[M],s[M]),M!=="chart"&&m.propsRequireUpdateSeries.indexOf(M)!==-1&&(h=!0)}),this.collectionsWithUpdate.forEach(R=>{s[R]&&(Si(s[R]).forEach((M,O)=>{let H;if(!M)return;let G=Ee(M.id);G&&(H=m.get(M.id)),!H&&m[R]&&(H=m[R][ce(M.index,O)])&&(G&&Ee(H.options.id)||H.options.isInternal)&&(H=void 0),H&&H.coll===R&&(H.update(M,!1),c&&(H.touched=!0)),!H&&c&&m.collectionsWithInit[R]&&(m.collectionsWithInit[R][0].apply(m,[M].concat(m.collectionsWithInit[R][1]||[]).concat([!1])).touched=!0)}),c&&m[R].forEach(M=>{M.touched||M.options.isInternal?delete M.touched:b.push(M)}))}),b.forEach(R=>{R.chart&&R.remove&&R.remove(!1)}),u&&m.axes.forEach(function(R){R.update({},!1)}),h&&m.getSeriesOrderByLinks().forEach(function(R){R.chart&&R.update({},!1)},this);let D=I?.width,T=I&&(Wt(I.height)?Oi(I.height,D||m.chartWidth):I.height);g||de(D)&&D!==m.chartWidth||de(T)&&T!==m.chartHeight?m.setSize(D,T,d):ce(a,!0)&&m.redraw(d),_e(m,"afterUpdate",{options:s,redraw:a,animation:d})}setSubtitle(s,a){this.applyDescription("subtitle",s),this.layOutTitles(a)}setCaption(s,a){this.applyDescription("caption",s),this.layOutTitles(a)}showResetZoom(){let s=this,a=fp.lang,c=s.zooming.resetButton,d=c.theme,u=c.relativeTo==="chart"||c.relativeTo==="spacingBox"?null:"plotBox";function h(){s.zoomOut()}_e(this,"beforeShowResetZoom",null,function(){s.resetZoomButton=s.renderer.button(a.resetZoom,null,null,h,d).attr({align:c.position.align,title:a.resetZoomTitle}).addClass("highcharts-reset-zoom").add().align(c.position,!1,u)}),_e(this,"afterShowResetZoom")}zoomOut(){_e(this,"selection",{resetSelection:!0},()=>this.transform({reset:!0,trigger:"zoom"}))}pan(s,a){let c=this,d=typeof a=="object"?a:{enabled:a,type:"x"},u=d.type,h=u&&c[{x:"xAxis",xy:"axes",y:"yAxis"}[u]].filter(m=>m.options.panningEnabled&&!m.options.isInternal),g=c.options.chart;g?.panning&&(g.panning=d),_e(this,"pan",{originalEvent:s},()=>{c.transform({axes:h,event:s,to:{x:s.chartX-(c.mouseDownX||0),y:s.chartY-(c.mouseDownY||0)},trigger:"pan"}),$t(c.container,{cursor:"move"})})}transform(s){let{axes:a=this.axes,event:c,from:d={},reset:u,selection:h,to:g={},trigger:m,allowResetButton:_=!0}=s,{inverted:S,time:b}=this;this.hoverPoints?.forEach(R=>R.setState()),_e(this,"transform",s);let I=s.hasZoomed||!1,D,T;for(let R of a){let{horiz:M,len:O,minPointOffset:H=0,options:G,reversed:K}=R,Q=M?"width":"height",J=M?"x":"y",ie=ce(g[Q],R.len),re=ce(d[Q],R.len),Se=10>Math.abs(ie)?1:ie/re,xe=(d[J]||0)+re/2-R.pos,ve=xe-((g[J]??R.pos)+ie/2-R.pos)/Se,je=K&&!S||!K&&S?-1:1;if(!u&&(xe<0||xe>R.len))continue;let Ke=R.chart.polar||R.isOrdinal?0:H*je||0,Xe=R.toValue(ve,!0),ot=R.toValue(ve+O/Se,!0),nt=Xe+Ke,it=ot-Ke,bn=R.allExtremes;if(h&&h[R.coll].push({axis:R,min:Math.min(Xe,ot),max:Math.max(Xe,ot)}),nt>it&&([nt,it]=[it,nt]),Se===1&&!u&&R.coll==="yAxis"&&!bn){for(let fr of R.series){let Nr=fr.getExtremes(fr.getProcessedData(!0).modified.getColumn(fr.pointValKey||"y")||[],!0);bn??(bn={dataMin:Number.MAX_VALUE,dataMax:-Number.MAX_VALUE}),de(Nr.dataMin)&&de(Nr.dataMax)&&(bn.dataMin=Math.min(Nr.dataMin,bn.dataMin),bn.dataMax=Math.max(Nr.dataMax,bn.dataMax))}R.allExtremes=bn}let{dataMin:cn,dataMax:hr,min:wt,max:ut}=tt(R.getExtremes(),bn||{}),en=b.parse(G.min),Vt=b.parse(G.max),dn=cn??en,Pi=hr??Vt,un=it-nt,Un=R.categories?0:Math.min(un,Pi-dn),ki=dn-Un*(Ee(en)?0:G.minPadding),pr=Pi+Un*(Ee(Vt)?0:G.maxPadding),Tl=R.allowZoomOutside||Se===1||m!=="zoom"&&Se>1,Mo=Math.min(en??ki,ki,Tl?wt:ki),qi=Math.max(Vt??pr,pr,Tl?ut:pr);(!R.isOrdinal||Se!==1||u)&&(nt<Mo&&(nt=Mo,Se>=1&&(it=nt+un)),it>qi&&(it=qi,Se>=1&&(nt=it-un)),(u||R.series.length&&(nt!==wt||it!==ut)&&nt>=Mo&&it<=qi)&&(h?h[R.coll].push({axis:R,min:nt,max:it}):(R.isPanning=m!=="zoom",R.isPanning&&m!=="mousewheel"&&(T=!0),R.setExtremes(u?void 0:nt,u?void 0:it,!1,!1,{move:ve,trigger:m,scale:Se}),!u&&(nt>Mo||it<qi)&&(D=_)),I=!0),this.hasCartesianSeries||u||(D=_),c&&(this[M?"mouseDownX":"mouseDownY"]=c[M?"chartX":"chartY"]))}return I&&(h?_e(this,"selection",h,()=>{delete s.selection,s.trigger="zoom",this.transform(s)}):(!D||T||this.resetZoomButton?!D&&this.resetZoomButton&&(this.resetZoomButton=this.resetZoomButton.destroy()):this.showResetZoom(),this.redraw(m==="zoom"&&(this.options.chart.animation??this.pointCount<100)))),I}}tt(Ri.prototype,{callbacks:[],collectionsWithInit:{xAxis:[Ri.prototype.addAxis,[!0]],yAxis:[Ri.prototype.addAxis,[!1]],series:[Ri.prototype.addSeries]},collectionsWithUpdate:["xAxis","yAxis","series"],propsRequireDirtyBox:["backgroundColor","borderColor","borderWidth","borderRadius","plotBackgroun
5dColor","plotBackgroundImage","plotBorderColor","plotBorderWidth","plotShadow","shadow"],propsRequireReflow:["margin","marginTop","marginRight","marginBottom","marginLeft","spacing","spacingTop","spacingRight","spacingBottom","spacingLeft"],propsRequireUpdateSeries:["chart.inverted","chart.polar","chart.ignoreHiddenSeries","chart.type","colors","plotOptions","time","tooltip"]});let{stop:Ha}=Yi,{composed:y2}=he;function Mb(){let v=this.scrollablePlotArea;(this.scrollablePixelsX||this.scrollablePixelsY)&&!v&&(this.scrollablePlotArea=v=new Cp(this)),v?.applyFixed()}function vp(){this.chart.scrollablePlotArea&&(this.chart.scrollablePlotArea.isDirty=!0)}let Cp=(()=>{class v{static compose(a,c,d){no(y2,this.compose)&&(St(a,"afterInit",vp),St(c,"afterSetChartSize",u=>this.afterSetSize(u.target,u)),St(c,"render",Mb),St(d,"show",vp))}static afterSetSize(a,c){let d,u,h,{minWidth:g,minHeight:m}=a.options.chart.scrollablePlotArea||{},{clipBox:_,plotBox:S,inverted:b,renderer:I}=a;if(!I.forExport)if(g?(a.scrollablePixelsX=d=Math.max(0,g-a.chartWidth),d&&(a.scrollablePlotBox=Je(a.plotBox),S.width=a.plotWidth+=d,_[b?"height":"width"]+=d,h=!0)):m&&(a.scrollablePixelsY=u=Math.max(0,m-a.chartHeight),Ee(u)&&(a.scrollablePlotBox=Je(a.plotBox),S.height=a.plotHeight+=u,_[b?"width":"height"]+=u,h=!1)),Ee(h)){if(!c.skipAxes)for(let D of a.axes)(D.horiz===h||a.hasParallelCoordinates&&D.coll==="yAxis")&&(D.setAxisSize(),D.setAxisTranslation())}else delete a.scrollablePlotBox}constructor(a){let c,d=a.options.chart,u=gs.getRendererType(),h=d.scrollablePlotArea||{},g=this.moveFixedElements.bind(this),m={WebkitOverflowScrolling:"touch",overflowX:"hidden",overflowY:"hidden"};a.scrollablePixelsX&&(m.overflowX="auto"),a.scrollablePixelsY&&(m.overflowY="auto"),this.chart=a;let _=this.parentDiv=Sr("div",{className:"highcharts-scrolling-parent"},{position:"relative"},a.renderTo),S=this.scrollingContainer=Sr("div",{className:"highcharts-scrolling"},m,_),b=this.innerContainer=Sr("div",{className:"highcharts-inner-container"},void 0,S),I=this.fixedDiv=Sr("div",{className:"highcharts-fixed"},{position:"absolute",overflow:"hidden",pointerEvents:"none",zIndex:(d.style?.zIndex||0)+2,top:0},void 0,!0),D=this.fixedRenderer=new u(I,a.chartWidth,a.chartHeight,d.style);this.mask=D.path().attr({fill:d.backgroundColor||"#fff","fill-opacity":h.opacity??.85,zIndex:-1}).addClass("highcharts-scrollable-mask").add(),S.parentNode.insertBefore(I,S),$t(a.renderTo,{overflow:"visible"}),St(a,"afterShowResetZoom",g),St(a,"afterApplyDrilldown",g),St(a,"afterLayOutTitles",g),St(S,"scroll",()=>{let{pointer:T,hoverPoint:R}=a;T&&(delete T.chartPosition,R&&(c=R),T.runPointActions(void 0,c,!0))}),b.appendChild(a.container)}applyFixed(){let{chart:a,fixedRenderer:c,isDirty:d,scrollingContainer:u}=this,{axisOffset:h,chartWidth:g,chartHeight:m,container:_,plotHeight:S,plotLeft:b,plotTop:I,plotWidth:D,scrollablePixelsX:T=0,scrollablePixelsY:R=0}=a,{scrollPositionX:M=0,scrollPositionY:O=0}=a.options.chart.scrollablePlotArea||{},H=g+T,G=m+R;c.setSize(g,m),(d??!0)&&(this.isDirty=!1,this.moveFixedElements()),Ha(a.container),$t(_,{width:`${H}px`,height:`${G}px`}),a.renderer.boxWrapper.attr({width:H,height:G,viewBox:["0 0",H,G].join(" ")}),a.chartBackground?.attr({width:H,height:G}),$t(u,{width:`${g}px`,height:`${m}px`}),Ee(d)||(u.scrollLeft=T*M,u.scrollTop=R*O);let K=I-h[0]-1,Q=b-h[3]-1,J=I+S+h[2]+1,ie=b+D+h[1]+1,re=b+D-T,Se=I+S-R,xe=[["M",0,0]];T?xe=[["M",0,K],["L",b-1,K],["L",b-1,J],["L",0,J],["Z"],["M",re,K],["L",g,K],["L",g,J],["L",re,J],["Z"]]:R&&(xe=[["M",Q,0],["L",Q,I-1],["L",ie,I-1],["L",ie,0],["Z"],["M",Q,Se],["L",Q,m],["L",ie,m],["L",ie,Se],["Z"]]),a.redrawTrigger!=="adjustHeight"&&this.mask.attr({d:xe})}moveFixedElements(){let a,{container:c,inverted:d,scrollablePixelsX:u,scrollablePixelsY:h}=this.chart,g=this.fixedRenderer,m=v.fixedSelectors.slice();if(u&&!d?a=".highcharts-yaxis":u&&d||h&&!d?a=".highcharts-xaxis":h&&d&&(a=".highcharts-yaxis"),a&&!(this.chart.hasParallelCoordinates&&a===".highcharts-yaxis"))for(let _ of[`${a}:not(.highcharts-radial-axis)`,`${a}-labels:not(.highcharts-radial-axis-labels)`])no(m,_);else for(let _ of[".highcharts-xaxis",".highcharts-yaxis"])for(let S of[`${_}:not(.highcharts-radial-axis)`,`${_}-labels:not(.highcharts-radial-axis-labels)`])Io(m,S);for(let _ of m)[].forEach.call(c.querySelectorAll(_),S=>{(S.namespaceURI===g.SVG_NS?g.box:g.box.parentNode).appendChild(S),S.style.pointerEvents="auto"})}}return v.fixedSelectors=[".highcharts-breadcrumbs-group",".highcharts-contextbutton",".highcharts-caption",".highcharts-credits",".highcharts-drillup-button",".highcharts-legend",".highcharts-legend-checkbox",".highcharts-navigator-series",".highcharts-navigator-xaxis",".highcharts-navigator-yaxis",".highcharts-navigator",".highcharts-range-selector-group",".highcharts-reset-zoom",".highcharts-scrollbar",".highcharts-subtitle",".highcharts-title"],v})(),{format:Ab}=kr,{series:Ob}=Jn,_p=class{constructor(v,s,a,c,d){let u=v.chart.inverted,h=v.reversed;this.axis=v;let g=this.isNegative=!!a!=!!h;this.options=s=s||{},this.x=c,this.total=null,this.cumulative=null,this.points={},this.hasValidPoints=!1,this.stack=d,this.leftCliff=0,this.rightCliff=0,this.alignOptions={align:s.align||(u?g?"left"
vendor: 10,209 bytes, line 5
5:"right":"center"),verticalAlign:s.verticalAlign||(u?"middle":g?"bottom":"top"),y:s.y,x:s.x},this.textAlign=s.textAlign||(u?g?"right":"left":"center")}destroy(){Ws(this,this.axis)}render(v){let s=this.axis.chart,a=this.options,c=a.format,d=(c?Ab(c,this,s):a.formatter?.call(this,this))||"";if(this.label)this.label.attr({text:d,visibility:"hidden"});else{this.label=s.renderer.label(d,null,void 0,a.shape,void 0,void 0,a.useHTML,!1,"stack-labels");let u={r:a.borderRadius||0,text:d,padding:ce(a.padding,5),visibility:"hidden"};s.styledMode||(u.fill=a.backgroundColor,u.stroke=a.borderColor,u["stroke-width"]=a.borderWidth,this.label.css(a.style||{})),this.label.attr(u),this.label.added||this.label.add(v)}this.label.labelrank=s.plotSizeY,_e(this,"afterRender")}setOffset(v,s,a,c,d,u){let{alignOptions:h,axis:g,label:m,options:_,textAlign:S}=this,b=g.chart,I=this.getStackBox({xOffset:v,width:s,boxBottom:a,boxTop:c,defaultX:d,xAxis:u}),{verticalAlign:D}=h;if(m&&I){let T=m.getBBox(void 0,0),R=m.padding,M=ce(_.overflow,"justify")==="justify",O;h.x=_.x||0,h.y=_.y||0;let{x:H,y:G}=this.adjustStackPosition({labelBox:T,verticalAlign:D,textAlign:S});I.x-=H,I.y-=G,m.align(h,!1,I),(O=b.isInsidePlot(m.alignAttr.x+h.x+H,m.alignAttr.y+h.y+G))||(M=!1),M&&Ob.prototype.justifyDataLabel.call(g,m,h,m.alignAttr,T,I),m.attr({x:m.alignAttr.x,y:m.alignAttr.y,rotation:_.rotation,rotationOriginX:T.width*fi(_.textAlign||"center"),rotationOriginY:T.height/2}),ce(!M&&_.crop,!0)&&(O=de(m.x)&&de(m.y)&&b.isInsidePlot(m.x-R+(m.width||0),m.y)&&b.isInsidePlot(m.x+R,m.y)),m[O?"show":"hide"]()}_e(this,"afterSetOffset",{xOffset:v,width:s})}adjustStackPosition({labelBox:v,verticalAlign:s,textAlign:a}){return{x:v.width/2+v.width/2*(2*fi(a)-1),y:v.height/2*2*(1-fi(s))}}getStackBox(v){let s=this.axis,a=s.chart,{boxTop:c,defaultX:d,xOffset:u,width:h,boxBottom:g}=v,m=s.stacking.usePercentage?100:ce(c,this.total,0),_=s.toPixels(m),S=v.xAxis||a.xAxis[0],b=ce(d,S.translate(this.x))+u,I=Math.abs(_-s.toPixels(g||de(s.min)&&s.logarithmic&&s.logarithmic.lin2log(s.min)||0)),D=a.inverted,T=this.isNegative;return D?{x:(T?_:_-I)-a.plotLeft,y:S.height-b-h+S.top-a.plotTop,width:I,height:h}:{x:b+S.transB-a.plotLeft,y:(T?_-I:_)-a.plotTop,width:h,height:I}}},{getDeferredAnimation:Rb}=Yi,{series:{prototype:Pb}}=Jn;function kb(){let v=this.inverted;this.axes.forEach(s=>{s.stacking?.stacks&&s.hasVisibleSeries&&(s.stacking.oldStacks=s.stacking.stacks)}),this.series.forEach(s=>{let a=s.xAxis?.options||{};s.options.stacking&&s.reserveSpace()&&(s.stackKey=[s.type,ce(s.options.stack,""),v?a.top:a.left,v?a.height:a.width].join(","))})}function Nb(){let v=this.stacking;if(v){let s=v.stacks;lt(s,(a,c)=>{Ws(a),delete s[c]}),v.stackTotalGroup?.destroy()}}function Lb(){this.stacking||(this.stacking=new jb(this))}function Fb(v,s,a,c){return!Ee(v)||v.x!==s||c&&v.stackKey!==c?v={x:s,index:0,key:c,stackKey:c}:v.index++,v.key=[a,s,v.index].join(","),v}function Vb(){let v,s=this,a=s.yAxis,c=s.stackKey||"",d=a.stacking.stacks,u=s.getColumn("x",!0),h=s.options.stacking,g=s[h+"Stacker"];g&&[c,"-"+c].forEach(m=>{let _=u.length,S,b,I;for(;_--;)S=u[_],v=s.getStackIndicator(v,S,s.index,m),b=d[m]?.[S],(I=b?.points[v.key||""])&&g.call(s,I,b,_)})}function Ub(v,s,a){let c=s.total?100/s.total:0;v[0]=yn(v[0]*c),v[1]=yn(v[1]*c),this.stackedYData[a]=v[1]}function Hb(v){(this.is("column")||this.is("columnrange"))&&(this.options.centerInCategory&&this.chart.series.length>1?Pb.setStackedPoints.call(this,v,"group"):v.stacking.resetStacks())}function Bb(v,s){let a,c,d,u,h,g,m,_=s||this.options.stacking;if(!_||!this.reserveSpace()||({group:"xAxis"}[_]||"yAxis")!==v.coll)return;let S=this.getColumn("x",!0),b=this.getColumn(this.pointValKey||"y",!0),I=[],D=b.length,T=this.options,R=T.threshold||0,M=T.startFromThreshold?R:0,O=T.stack,H=s?`${this.type},${_}`:this.stackKey||"",G="-"+H,K=this.negStacks,Q=v.stacking,J=Q.stacks,ie=Q.oldStacks;for(Q.stacksTouched+=1,m=0;m<D;m++){let re=S[m]||0,Se=b[m],xe=de(Se)&&Se||0;g=(a=this.getStackIndicator(a,re,this.index)).key||"",J[h=(c=K&&xe<(M?0:R))?G:H]||(J[h]={}),J[h][re]||(ie[h]?.[re]?(J[h][re]=ie[h][re],J[h][re].total=null):J[h][re]=new _p(v,v.options.stackLabels,!!c,re,O)),d=J[h][re],Se!==null?(d.points[g]=d.points[this.index]=[ce(d.cumulative,M)],Ee(d.cumulative)||(d.base=g),d.touched=Q.stacksTouched,a.index>0&&this.singleStacks===!1&&(d.points[g][0]=d.points[this.index+","+re+",0"][0])):(delete d.points[g],delete d.points[this.index]);let ve=d.total||0;_==="percent"?(u=c?H:G,ve=K&&J[u]?.[re]?(u=J[u][re]).total=Math.max(u.total||0,ve)+Math.abs(xe):yn(ve+Math.abs(xe))):_==="group"?de(Se)&&ve++:ve=yn(ve+xe),_==="group"?d.cumulative=(ve||1)-1:d.cumulative=yn(ce(d.cumulative,M)+xe),d.total=ve,Se!==null&&(d.points[g].push(d.cumulative),I[m]=d.cumulative,d.hasValidPoints=!0)}_==="percent"&&(Q.usePercentage=!0),_!=="group"&&(this.stackedYData=I),Q.oldStacks={}}class jb{constructor(s){this.oldStacks={},this.stacks={},this.stacksTouched=0,this.axis=s}buildStacks(){let s,a,c=this.axis,d=c.series,u=c.coll==="xAxis",h=c.options.reversedStacks,g=d.length;for(this.resetStacks(),this.usePercentage=!1,a=g;a--;)s=d[h?a:g-a-1],u&&s.setGroupedPoints(c),s.setStackedPoints(c);if(!u)for(a=0;a<g;a++)d[a].modifyStacks();_e(c,"afterBuildStacks")}cleanStacks(){this.oldStacks&&(this.stacks=this.oldStacks,lt(this.stacks,s=>{lt(s,a=>{a.cumulative=a.total})}))}resetStacks(){lt(this.stacks,s=>{lt(s,(a,c)=>{de(a.touched)&&a.touched<this.stacksTouched?(a.destroy(),delete s[c]):(a.total=null,a.cumulative=null)})})}renderStackTotals(){let s=this.axis,a=s.chart,c=a.renderer,d=this.stacks,u=Rb(a,s.options.stackLabels?.animation||!1),h=this.stackTotalGroup=this.stackTotalGroup||c.g("stack-labels").attr({zIndex:6,opacity:0}).add();h.translate(a.plotLeft,a.plotTop),lt(d,g=>{lt(g,m=>{m.render(h)})}),h.animate({opacity:1},u)}}(eo||(eo={})).compose=function(v,s,a){let c=s.prototype,d=a.prototype;c.getStacks||(St(v,"init",Lb),St(v,"destroy",Nb),c.getStacks=kb,d.getStackIndicator=Fb,d.modifyStacks=Vb,d.percentStacker=Ub,d.setGroupedPoints=Hb,d.setStackedPoints=Bb)};let zb=eo;class b2 extends er{drawGraph(){let s=this.options,a=(this.gappedPath||this.getGraphPath).call(this),c=this.chart.styledMode;[this,...this.zones].forEach((d,u)=>{let h,g=d.graph,m=g?"animate":"attr",_=d.dashStyle||s.dashStyle;if(g?(g.endX=this.preventGraphAnimation?null:a.xMap,g.animate({d:a})):a.length&&(d.graph=g=this.chart.renderer.path(a).addClass("highcharts-graph"+(u?` highcharts-zone-graph-${u-1} `:" ")+(u&&d.className||"")).attr({zIndex:1}).add(this.group)),g&&!c&&(h={stroke:!u&&s.lineColor||d.color||this.color||"#cccccc","stroke-width":s.lineWidth||0,fill:this.fillGraph&&this.color||"none"},_?h.dashstyle=_:s.linecap!=="square"&&(h["stroke-linecap"]=h["stroke-linejoin"]="round"),g[m](h),s.shadow)){let S=this.chart.inverted,b={filterUnits:"userSpaceOnUse"},I=ln(s.shadow)?Je(S?{}:b,s.shadow):!!S||b;g.shadow(I)}g&&(g.startX=a.xMap,g.isArea=a.isArea)})}getGraphPath(s,a,c){let d=this,u=d.options,h=[],g=[],m,_=u.step,S=(s=s||d.points).reversed;return S&&s.reverse(),(_={right:1,center:2}[_]||_&&3)&&S&&(_=4-_),(s=this.getValidPoints(s,!1,u.nullInteraction||!(u.connectNulls&&!a&&!c))).forEach(function(b,I){let D,T=b.plotX,R=b.plotY,M=s[I-1],O=b.isNull||typeof R!="number";(b.leftCliff||M?.rightCliff)&&!c&&(m=!0),O&&!Ee(a)&&I>0?m=!u.connectNulls:O&&!a?m=!0:(I===0||m?D=[["M",b.plotX,b.plotY]]:d.getPointSpline?D=[d.getPointSpline(s,b,I)]:_?(D=_===1?[["L",M.plotX,R]]:_===2?[["L",(M.plotX+T)/2,M.plotY],["L",(M.plotX+T)/2,R]]:[["L",T,M.plotY]]).push(["L",T,R]):D=[["L",T,R]],g.push(b.x),_&&(g.push(b.x),_===2&&g.push(b.x)),h.push.apply(h,D),m=!1)}),h.xMap=g,d.graphPath=h,h}}b2.defaultOptions=Je(er.defaultOptions,{legendSymbol:"lineMarker"}),Jn.registerSeriesType("line",b2);let{seriesTypes:{line:yp}}=Jn;class xl extends yp{drawGraph(){this.areaPath=[],super.drawGraph.apply(this);let{areaPath:s,options:a}=this;[this,...this.zones].forEach((c,d)=>{let u={},h=c.fillColor||a.fillColor,g=c.area,m=g?"animate":"attr";g?(g.endX=this.preventGraphAnimation?null:s.xMap,g.animate({d:s})):(u.zIndex=0,(g=c.area=this.chart.renderer.path(s).addClass("highcharts-area"+(d?` highcharts-zone-area-${d-1} `:" ")+(d&&c.className||"")).add(this.group)).isArea=!0),this.chart.styledMode||(u.fill=h||c.color||this.color,u["fill-opacity"]=h?1:a.fillOpacity??.75,g.css({pointerEvents:this.stickyTracking?"none":"auto"})),g[m](u),g.startX=s.xMap,g.shiftUnit=a.step?2:1})}getGraphPath(s){let a,c,d,u=yp.prototype.getGraphPath,h=this.options,g=h.stacking,m=this.yAxis,_=[],S=[],b=this.index,I=m.stacking.stacks[this.stackKey],D=h.threshold,T=Math.round(m.getThreshold(h.threshold)),R=ce(h.connectNulls,g==="percent"),M=function(J,ie,re){let Se=s[J],xe=s[ie],ve=g&&I[Se.x].points[b],je=Se[re+"Null"]||0,Ke=Se[re+"Cliff"]||0,Xe,ot,nt=!0;ve&&(Ke||je)?(Xe=(je?ve[0]:ve[1])+Ke,ot=ve[0]+Ke,nt=!!je):!g&&xe&&(xe.isNull||!Ee(xe.plotY))&&(Xe=ot=D),Xe!==void 0&&(S.push({plotX:a,plotY:Xe===null?T:m.getThreshold(Xe),isNull:nt,isCliff:!0}),_.push({plotX:a,plotY:ot===null?T:m.getThreshold(ot),doCurve:!1}))};s=s||this.points,g&&(s=this.getStackPoints(s));for(let J=0,ie=s.length;J<ie;++J)g||(s[J].leftCliff=s[J].rightCliff=s[J].leftNull=s[J].rightNull=void 0),c=s[J].isNull||!Ee(s[J].plotY),a=ce(s[J].rectPlotX,s[J].plotX),d=g?ce(s[J].yBottom,T):T,(!c||R)&&(R||M(J,J-1,"left"),c&&!g&&R||(S.push(s[J]),_.push({x:J,plotX:a,plotY:d})),R||M(J,J+1,"right"));let O=u.call(this,S,!0,!0);_.reversed=!0;let H=u.call(this,_,!0,!0),G=H[0];G&&G[0]==="M"&&(H[0]=["L",G[1],G[2]]);let K=O.concat(H);K.length&&K.push(["Z"]);let Q=u.call(this,S,!1,R);return this.chart.series.length>1&&g&&S.some(J=>J.isCliff)&&(K.hasStackedCliffs=Q.hasStackedCliffs=!0),K.xMap=O.xMap,this.areaPath=K,Q}getStackPoints(s){let a=this,c=[],d=[],u=this.xAxis,h=this.yAxis,g=h.stacking.stacks[this.stackKey],m={},_=h.series,S=_.length,b=h.options.reversedStacks?1:-1,I=_.indexOf(a),D=h.getThreshold(a.options.threshold||0);if(s=s||this.points,this.options.stacking){for(let R=0;R<s.length;R++)s[R].leftNull=s[R].rightNull=void 0,m[s[R].x]=s[R];lt(g,function(R,M){R.total!==null&&d.push(M)}),d.sort(function(R,M){return R-M});let T=_.map(R=>R.visible);d.forEach(function(R,M){let O=0,H,G;
vendor: 1,217 bytes, line 5
5if(m[R]&&!m[R].isNull)c.push(m[R]),[-1,1].forEach(function(K){let Q=K===1?"rightNull":"leftNull",J=g[d[M+K]],ie=0;if(J){let re=I;for(;re>=0&&re<S;){let Se=_[re].index;!(H=J.points[Se])&&(Se===a.index?m[R][Q]=!0:T[re]&&(G=g[R].points[Se])&&(ie-=G[1]-G[0])),re+=b}}m[R][K===1?"rightCliff":"leftCliff"]=ie});else{let K=I;for(;K>=0&&K<S;){let J=_[K].index;if(H=g[R].points[J]){O=H[1];break}K+=b}O||(O=0);let Q=h.positiveValuesOnly&&O<=0?D:h.translate(O,!1,!0,!1,!0);c.push({isNull:!0,plotX:u.translate(R,!1,!1,!1,!0),x:R,plotY:Q,yBottom:Q})}})}return c}}xl.defaultOptions=Je(yp.defaultOptions,{threshold:0,legendSymbol:"areaMarker"}),tt(xl.prototype,{singleStacks:!1}),Jn.registerSeriesType("area",xl);let{line:S2}=Jn.seriesTypes;class bp extends S2{getPointSpline(s,a,c){let d,u,h,g,m=a.plotX||0,_=a.plotY||0,S=s[c-1],b=s[c+1];function I(T){return T&&!T.isNull&&T.doCurve!==!1&&!a.isCliff}if(I(S)&&I(b)){let T=S.plotX||0,R=S.plotY||0,M=b.plotX||0,O=b.plotY||0,H=0;d=(1.5*m+T)/2.5,u=(1.5*_+R)/2.5,h=(1.5*m+M)/2.5,g=(1.5*_+O)/2.5,h!==d&&(H=(g-u)*(h-m)/(h-d)+_-g),u+=H,g+=H,u>R&&u>_?(u=Math.max(R,_),g=2*_-u):u<R&&u<_&&(u=Math.min(R,_),g=2*_-u),g>O&&g>_?(g=Math.max(O,_),u=2*_-g):g<O&&g<_&&(g=Math.min(O,_),u=2*_-g),a.right
vendor: 31,509 bytes, line 5
5ContX=h,a.rightContY=g,a.controlPoints={low:[d,u],high:[h,g]}}let D=["C",ce(S.rightContX,S.plotX,0),ce(S.rightContY,S.plotY,0),ce(d,m,0),ce(u,_,0),m,_];return S.rightContX=S.rightContY=void 0,D}}bp.defaultOptions=Je(S2.defaultOptions),Jn.registerSeriesType("spline",bp);let I2=bp,{area:Gb,area:{prototype:Sp}}=Jn.seriesTypes;class Ip extends I2{}Ip.defaultOptions=Je(I2.defaultOptions,Gb.defaultOptions),tt(Ip.prototype,{getGraphPath:Sp.getGraphPath,getStackPoints:Sp.getStackPoints,drawGraph:Sp.drawGraph}),Jn.registerSeriesType("areaspline",Ip);let{animObject:$b}=Yi,{parse:Wb}=Cn,{noop:E2}=he;class xc extends er{animate(s){let a,c,d=this,u=this.yAxis,h=u.pos,g=u.reversed,m=d.options,{clipOffset:_,inverted:S}=this.chart,b={},I=S?"translateX":"translateY";s&&_?(b.scaleY=.001,c=ni(u.toPixels(m.threshold||0),h,h+u.len),S?b.translateX=(c+=g?-Math.floor(_[0]):Math.ceil(_[2]))-u.len:b.translateY=c+=g?Math.ceil(_[0]):-Math.floor(_[2]),d.clipBox&&d.setClip(),d.group.attr(b)):(a=Number(d.group.attr(I)),d.group.animate({scaleY:1},tt($b(d.options.animation),{step:function(D,T){d.group&&(b[I]=a+T.pos*(h-a),d.group.attr(b))}})))}init(s,a){super.init.apply(this,arguments);let c=this;(s=c.chart).hasRendered&&s.series.forEach(function(d){d.type===c.type&&(d.isDirty=!0)})}getColumnMetrics(){let s=this,a=s.options,c=s.xAxis,d=s.yAxis,u=c.options.reversedStacks,h=c.reversed&&!u||!c.reversed&&u,g={},m,_=0;a.grouping===!1?_=1:s.chart.series.forEach(function(R){let M,O=R.yAxis,H=R.options;R.type===s.type&&R.reserveSpace()&&d.len===O.len&&d.pos===O.pos&&(H.stacking&&H.stacking!=="group"?(g[m=R.stackKey]===void 0&&(g[m]=_++),M=g[m]):H.grouping!==!1&&(M=_++),R.columnIndex=M)});let S=Math.min(Math.abs(c.transA)*(!c.brokenAxis?.hasBreaks&&c.ordinal?.slope||a.pointRange||c.closestPointRange||c.tickInterval||1),c.len),b=S*a.groupPadding,I=(S-2*b)/(_||1),D=Math.min(a.maxPointWidth||c.len,ce(a.pointWidth,I*(1-2*a.pointPadding))),T=(s.columnIndex||0)+ +!!h;return s.columnMetrics={width:D,offset:(I-D)/2+(b+T*I-S/2)*(h?-1:1),paddedWidth:I,columnCount:_},s.columnMetrics}crispCol(s,a,c,d){let u=this.borderWidth,h=this.chart.inverted;return d=to(a+d,u,h)-(a=to(a,u,h)),this.options.crisp&&(c=to(s+c,u)-(s=to(s,u))),{x:s,y:a,width:c,height:d}}adjustForMissingColumns(s,a,c,d){if(!c.isNull&&d.columnCount>1){let u=this.xAxis.series.filter(_=>_.visible).map(_=>_.index),h=0,g=0;lt(this.xAxis.stacking?.stacks,_=>{let S=typeof c.x=="number"?_[c.x.toString()]?.points:void 0,b=S?.[this.index],I={};if(S&&vn(b)){let D=this.index,T=Object.keys(S).filter(R=>!R.match(",")&&S[R]&&S[R].length>1).map(parseFloat).filter(R=>u.indexOf(R)!==-1).filter(R=>{let M=this.chart.series[R].options,O=M.stacking&&M.stack;if(Ee(O)){if(de(I[O]))return D===R&&(D=I[O]),!1;I[O]=R}return!0}).sort((R,M)=>M-R);h=T.indexOf(D),g=T.length}}),h=this.xAxis.reversed?g-1-h:h;let m=(g-1)*d.paddedWidth+a;s=(c.plotX||0)+m/2-a-h*d.paddedWidth}return s}translate(){let s=this,a=s.chart,c=s.options,d=s.dense=s.closestPointRange*s.xAxis.transA<2,u=s.borderWidth=c.borderWidth??+!d,h=s.xAxis,g=s.yAxis,m=c.threshold,_=c.minPointLength??5,S=s.getColumnMetrics(),b=S.width,I=s.pointXOffset=S.offset,D=s.dataMin,T=s.dataMax,R=s.translatedThreshold=g.getThreshold(m),M=s.barW=Math.max(b,1+2*u);c.pointPadding&&c.crisp&&(M=Math.ceil(M)),er.prototype.translate.apply(s),s.points.forEach(function(O){let H=O.yBottom??R,G=999+Math.abs(H),K=O.plotX||0,Q=ni(O.plotY,-G,g.len+G),J,ie=Math.min(Q,H),re=Math.max(Q,H)-ie,Se=b,xe=K+I,ve=M;_&&Math.abs(re)<_&&(re=_,J=!g.reversed&&!O.negative||g.reversed&&O.negative,de(m)&&de(T)&&O.y===m&&T<=m&&(g.min||0)<m&&(D!==T||(g.max||0)<=m)&&(J=!J,O.negative=!O.negative),ie=Math.abs(ie-R)>_?H-(J?_:0):R-(J?_:0)),Ee(O.options.pointWidth)&&(xe-=Math.round(((Se=ve=Math.ceil(O.options.pointWidth))-b)/2)),c.centerInCategory&&(xe=s.adjustForMissingColumns(xe,Se,O,S)),O.barX=xe,O.pointWidth=Se,O.tooltipPos=a.inverted?[ni(g.len+g.pos-a.plotLeft-Q,g.pos-a.plotLeft,g.len+g.pos-a.plotLeft),h.len+h.pos-a.plotTop-xe-ve/2,re]:[h.left-a.plotLeft+xe+ve/2,ni(Q+g.pos-a.plotTop,g.pos-a.plotTop,g.len+g.pos-a.plotTop),re],O.shapeType=s.pointClass.prototype.shapeType||"roundedRect",O.shapeArgs=s.crispCol(xe,ie,ve,O.isNull?0:re)}),_e(this,"afterColumnTranslate")}drawGraph(){this.group[this.dense?"addClass":"removeClass"]("highcharts-dense-data")}pointAttribs(s,a){let c=this.options,d=this.pointAttrToOptions||{},u=d.stroke||"borderColor",h=d["stroke-width"]||"borderWidth",g,m,_,S=s&&s.color||this.color,b=s&&s[u]||c[u]||S,I=s&&s.options.dashStyle||c.dashStyle,D=s&&s[h]||c[h]||this[h]||0,T=s?.isNull&&c.nullInteraction?0:s?.opacity??c.opacity??1;s&&this.zones.length&&(m=s.getZone(),S=s.options.color||m&&(m.color||s.nonZonedColor)||this.color,m&&(b=m.borderColor||b,I=m.dashStyle||I,D=m.borderWidth||D)),a&&s&&(_=(g=Je(c.states[a],s.options.states?.[a]||{})).brightness,S=g.color||_!==void 0&&Wb(S).brighten(g.brightness).get()||S,b=g[u]||b,D=g[h]||D,I=g.dashStyle||I,T=ce(g.opacity,T));let R={fill:S,stroke:b,"stroke-width":D,opacity:T};return I&&(R.dashstyle=I),R}drawPoints(s=this.points){let a,c=this,d=this.chart,u=c.options,h=u.nullInteraction,g=d.renderer,m=u.animationLimit||250;s.forEach(function(_){let S=_.plotY,b=_.graphic,I=!!b,D=b&&d.pointCount<m?"animate":"attr";de(S)&&(_.y!==null||h)?(a=_.shapeArgs,b&&_.hasNewShapeType()&&(b=b.destroy()),c.enabledDataSorting&&(_.startXPos=c.xAxis.reversed?-(a&&a.width||0):c.xAxis.width),!b&&(_.graphic=b=g[_.shapeType](a).add(_.group||c.group),b&&c.enabledDataSorting&&d.hasRendered&&d.pointCount<m&&(b.attr({x:_.startXPos}),I=!0,D="animate")),b&&I&&b[D](Je(a)),d.styledMode||b[D](c.pointAttribs(_,_.selected&&"select")).shadow(_.allowShadow!==!1&&u.shadow),b&&(b.addClass(_.getClassName(),!0),b.attr({visibility:_.visible?"inherit":"hidden"}))):b&&(_.graphic=b.destroy())})}drawTracker(s=this.points){let a,c=this,d=c.chart,u=d.pointer,h=function(g){u?.normalize(g);let m=u?.getPointFromEvent(g);u&&m&&c.options.enableMouseTracking&&(d.isInsidePlot(g.chartX-d.plotLeft,g.chartY-d.plotTop,{visiblePlotOnly:!0})||c.allowOutsidePlotInteraction&&u?.inClass(g.target,"highcharts-point")||u?.inClass(g.target,"highcharts-data-label"))&&(u.isDirectTouch=!0,m.onMouseOver(g))};s.forEach(function(g){a=vn(g.dataLabels)?g.dataLabels:g.dataLabel?[g.dataLabel]:[],g.graphic&&(g.graphic.element.point=g),a.forEach(function(m){(m.div||m.element).point=g})}),c._hasTracking||(c.trackerGroups?.reduce((g,m)=>(m==="dataLabelsGroup"?g.push(...c.dataLabelsGroups||[]):g.push(c[m]),g),[]).forEach(g=>{g&&(g.addClass("highcharts-tracker").on("mouseover",h).on("mouseout",function(m){u?.onTrackerMouseOut(m)}).on("touchstart",h),!d.styledMode&&c.options.cursor&&g.css({cursor:c.options.cursor}))}),c._hasTracking=!0),_e(this,"afterDrawTracker")}remove(){let s=this,a=s.chart;a.hasRendered&&a.series.forEach(function(c){c.type===s.type&&(c.isDirty=!0)}),er.prototype.remove.apply(s,arguments)}}xc.defaultOptions=Je(er.defaultOptions,{borderRadius:3,centerInCategory:!1,groupPadding:.2,marker:null,pointPadding:.1,minPointLength:0,cropThreshold:50,pointRange:null,states:{hover:{halo:!1,brightness:.1},select:{color:"#cccccc",borderColor:"#000000"}},dataLabels:{align:void 0,verticalAlign:void 0,y:void 0},startFromThreshold:!0,stickyTracking:!1,tooltip:{distance:6},threshold:0,borderColor:"#ffffff"}),tt(xc.prototype,{directTouch:!0,getSymbol:E2,negStacks:!0,trackerGroups:["group","dataLabelsGroup"]}),Jn.registerSeriesType("column",xc);let Dc=xc,{getDeferredAnimation:Jd}=Yi,{format:Dl}=kr;(function(v){function s(){return m(this).some(S=>S?.enabled)}function a(S,b,I,D,T){let{chart:R,enabledDataSorting:M}=this,O=this.isCartesian&&R.inverted,H=S.plotX,G=S.plotY,K=I.rotation||0,Q=Ee(H)&&Ee(G)&&R.isInsidePlot(H,Math.round(G),{inverted:O,paneCoordinates:!0,series:this}),J=K===0&&ce(I.overflow,M?"none":"justify")==="justify",ie=this.visible&&S.visible!==!1&&Ee(H)&&(S.series.forceDL||M&&!J||Q||ce(I.inside,!!this.options.stacking)&&D&&R.isInsidePlot(H,O?D.x+1:D.y+D.height-1,{inverted:O,paneCoordinates:!0,series:this})),re=S.pos();if(ie&&re){var Se;let xe=b.getBBox(),ve=b.getBBox(void 0,0);if(D=tt({x:re[0],y:Math.round(re[1]),width:0,height:0},D||{}),I.alignTo==="plotEdges"&&this.isCartesian&&(D[O?"x":"y"]=0,D[O?"width":"height"]=this.yAxis?.len||0),tt(I,{width:xe.width,height:xe.height}),Se=D,M&&this.xAxis&&!J&&this.setDataLabelStartPos(S,b,T,Q,Se),b.align(Je(I,{width:ve.width,height:ve.height}),!1,D,!1),b.alignAttr.x+=fi(I.align)*(ve.width-xe.width),b.alignAttr.y+=fi(I.verticalAlign)*(ve.height-xe.height),b[b.placed?"animate":"attr"]({"text-align":b.alignAttr["text-align"]||"center",x:b.alignAttr.x+(xe.width-ve.width)/2,y:b.alignAttr.y+(xe.height-ve.height)/2,rotationOriginX:(b.width||0)/2,rotationOriginY:(b.height||0)/2}),J&&D.height>=0)this.justifyDataLabel(b,I,b.alignAttr,xe,D,T);else if(ce(I.crop,!0)){let{x:je,y:Ke}=b.alignAttr;ie=R.isInsidePlot(je,Ke,{paneCoordinates:!0,series:this})&&R.isInsidePlot(je+xe.width-1,Ke+xe.height-1,{paneCoordinates:!0,series:this})}I.shape&&!K&&b[T?"attr":"animate"]({anchorX:re[0],anchorY:re[1]})}T&&M&&(b.placed=!1),ie||M&&!J?(b.show(),b.placed=!0):(b.hide(),b.placed=!1)}function c(S,b){_e(this,"initDataLabelsGroup",{index:S,zIndex:b?.zIndex??6}),this.dataLabelsGroup=this.dataLabelsGroups?.[S];let I=this.plotGroup("dataLabelsGroup","data-labels",this.hasRendered?"inherit":"hidden",b?.zIndex??6,this.dataLabelsParentGroups?.[S]);return this.dataLabelsGroups||(this.dataLabelsGroups=[]),this.dataLabelsGroups[S]=I,this.dataLabelsGroup=this.dataLabelsGroups[0],I}function d(S,b,I){let D=!!this.hasRendered,T=this.initDataLabelsGroup(S,I).attr({opacity:+D});return!D&&T&&(this.visible&&T.show(),this.options.animation?T.animate({opacity:1},b):T.attr({opacity:1})),T}function u(S){let b;S=S||this.points;let I=this,D=I.chart,T=I.options,R=D.renderer,{backgroundColor:M,plotBackgroundColor:O}=D.options.chart,H=R.getContrast(Wt(O)&&O||Wt(M)&&M||"#000000"),G=m(I),{animation:K,defer:Q}=G[0],J=Q?Jd(D,K,I):{defer:0,duration:0};_e(this,"drawDataLabels"),I.hasDataLabels?.()&&S.forEach(ie=>{let re=ie.dataLabels||[],Se=ie.color||I.color;Si(g(G,ie.dlOptions||ie.options?.dataLabels)).forEach((ve,je)=>{b=this.initDataLabels(je,J,ve);let Ke=ve.enabled&&(ie.visible||ie.dataLabelOnHidden)&&(!ie.isNull||ie.dataLabelOnNull)&&(function(dn,Pi){let un=Pi.filter;if(un){let Un=un.operator,ki=dn[un.property],pr=un.value;return Un===">"&&ki>pr||Un==="<"&&ki<pr||Un===">="&&ki>=pr||Un==="<="&&ki<=pr||Un==="=="&&ki==pr||Un==="==="&&ki===pr||Un==="!="&&ki!=pr||Un==="!=="&&ki!==pr||!1}return!0})(ie,ve),{backgroundColor:Xe,borderColor:ot,distance:nt,style:it={}}=ve,bn,cn,hr,wt={},ut=re[je],en=!ut,Vt;Ke&&(cn=Ee(bn=ce(ve[ie.formatPrefix+"Format"],ve.format))?Dl(bn,ie,D):(ve[ie.formatPrefix+"Formatter"]||ve.formatter).call(ie,ve,ie),hr=ve.rotation,!D.styledMode&&(it.color=ce(ve.color,it.color,Wt(I.color)?I.color:void 0,"#000000"),it.color==="contrast"?(Xe!=="none"&&(Vt=Xe),ie.contrastColor=R.getContrast(Vt!=="auto"&&Wt(Vt)&&Vt||(Wt(Se)?Se:"")),it.color=Vt||!Ee(nt)&&ve.inside||0>Dt(nt||0)||T.stacking?ie.contrastColor:H):delete ie.contrastColor,T.cursor&&(it.cursor=T.cursor)),wt={r:ve.borderRadius||0,rotation:hr,padding:ve.padding,zIndex:1},D.styledMode||(wt.fill=Xe==="auto"?ie.color:Xe,wt.stroke=ot==="auto"?ie.color:ot,wt["stroke-width"]=ve.borderWidth),lt(wt,(dn,Pi)=>{dn===void 0&&delete wt[Pi]})),!ut||Ke&&Ee(cn)&&!!(ut.div||ut.text?.foreignObject)==!!ve.useHTML&&(ut.rotation&&ve.rotation||ut.rotation===ve.rotation)||(ut=void 0,en=!0),Ke&&Ee(cn)&&cn!==""&&(ut?wt.text=cn:(ut=R.label(cn,0,0,ve.shape,void 0,void 0,ve.useHTML,void 0,"data-label")).addClass(" highcharts-data-label-color-"+ie.colorIndex+" "+(ve.className||"")+(ve.useHTML?" highcharts-tracker":"")),ut&&(ut.options=ve,ut.attr(wt),D.styledMode?it.width&&ut.css({width:it.width,textOverflow:it.textOverflow,whiteSpace:it.whiteSpace}):ut.css(it).shadow(ve.shadow),_e(ut,"beforeAddingDataLabel",{labelOptions:ve,point:ie}),ut.added||ut.add(b),I.alignDataLabel(ie,ut,ve,void 0,en),ut.isActive=!0,re[je]&&re[je]!==ut&&re[je].destroy(),re[je]=ut))});let xe=re.length;for(;xe--;)re[xe]?.isActive?re[xe].isActive=!1:(re[xe]?.destroy(),re.splice(xe,1));ie.dataLabel=re[0],ie.dataLabels=re}),_e(this,"afterDrawDataLabels")}function h(S,b,I,D,T,R){let M=this.chart,O=b.align,H=b.verticalAlign,G=S.box?0:S.padding||0,K=M.inverted?this.yAxis:this.xAxis,Q=K?K.left-M.plotLeft:0,J=M.inverted?this.xAxis:this.yAxis,ie=J?J.top-M.plotTop:0,{x:re=0,y:Se=0}=b,xe,ve;return(xe=(I.x||0)+G+Q)<0&&(O==="right"&&re>=0?(b.align="left",b.inside=!0):re-=xe,ve=!0),(xe=(I.x||0)+D.width-G+Q)>M.plotWidth&&(O==="left"&&re<=0?(b.align="right",b.inside=!0):re+=M.plotWidth-xe,ve=!0),(xe=I.y+G+ie)<0&&(H==="bottom"&&Se>=0?(b.verticalAlign="top",b.inside=!0):Se-=xe,ve=!0),(xe=(I.y||0)+D.height-G+ie)>M.plotHeight&&(H==="top"&&Se<=0?(b.verticalAlign="bottom",b.inside=!0):Se+=M.plotHeight-xe,ve=!0),ve&&(b.x=re,b.y=Se,S.placed=!R,S.align(b,void 0,T)),ve}function g(S,b){let I=[],D;if(vn(S)&&!vn(b))I=S.map(function(T){return Je(T,b)});else if(vn(b)&&!vn(S))I=b.map(function(T){return Je(S,T)});else if(vn(S)||vn(b)){if(vn(S)&&vn(b))for(D=Math.max(S.length,b.length);D--;)I[D]=Je(S[D],b[D])}else I=Je(S,b);return I}function m(S){let b=S.chart.options.plotOptions;return Si(g(g(b?.series?.dataLabels,b?.[S.type]?.dataLabels),S.options.dataLabels))}function _(S,b,I,D,T){let R=this.chart,M=R.inverted,O=this.xAxis,H=O.reversed,G=((M?b.height:b.width)||0)/2,K=S.pointWidth,Q=K?K/2:0;b.startXPos=M?T.x:H?-G-Q:O.width-G+Q,b.startYPos=M?H?this.yAxis.height-G+Q:-G-Q:T.y,D?b.visibility==="hidden"&&(b.show(),b.attr({opacity:0}).animate({opacity:1})):b.attr({opacity:1}).animate({opacity:0},void 0,b.hide),R.hasRendered&&(I&&b.attr({x:b.startXPos,y:b.startYPos}),b.placed=!0)}v.compose=function(S){let b=S.prototype;b.initDataLabels||(b.initDataLabels=d,b.initDataLabelsGroup=c,b.alignDataLabel=a,b.drawDataLabels=u,b.justifyDataLabel=h,b.mergeArrays=g,b.setDataLabelStartPos=_,b.hasDataLabels=s)}})($s||($s={}));let Ba=$s,{composed:w2}=he,{series:ja}=Jn;function x2(v,s,a,c,d){let{chart:u,options:h}=this,g=u.inverted,m=this.xAxis?.len||u.plotSizeX||0,_=this.yAxis?.len||u.plotSizeY||0,S=v.dlBox||v.shapeArgs,b=v.below??(v.plotY||0)>(this.translatedThreshold??_),I=a.inside??!!h.stacking;if(S){if(c=Je(S),a.overflow!=="allow"||a.crop!==!1||h.clip!==!1){c.y<0&&(c.height+=c.y,c.y=0);let D=c.y+c.height-_;D>0&&D<c.height-1&&(c.height-=D)}g&&(c={x:_-c.y-c.height,y:m-c.x-c.width,width:c.height,height:c.width}),I||(g?(c.x+=b?0:c.width,c.width=0):(c.y+=b?c.height:0,c.height=0))}a.align??(a.align=!g||I?"center":b?"right":"left"),a.verticalAlign??(a.verticalAlign=g||I?"middle":b?"top":"bottom"),ja.prototype.alignDataLabel.call(this,v,s,a,c,d),a.inside&&v.contrastColor&&s.css({color:v.contrastColor})}(dr||(dr={})).compose=function(v){Ba.compose(ja),no(w2,"ColumnDataLabel")&&(v.prototype.alignDataLabel=x2)};let D2=dr;class Ep extends Dc{}Ep.defaultOptions=Je(Dc.defaultOptions,{}),tt(Ep.prototype,{inverted:!0}),Jn.registerSeriesType("bar",Ep);let{column:Yb,line:T2}=Jn.seriesTypes;class eu extends T2{applyJitter(){let s=this,a=this.options.jitter,c=this.points.length;a&&this.points.forEach(function(d,u){["x","y"].forEach(function(h,g){if(a[h]&&!d.isNull){let m=`plot${h.toUpperCase()}`,_=s[`${h}Axis`],S=a[h]*_.transA;if(_&&!_.logarithmic){let b,I=Math.max(0,(d[m]||0)-S),D=Math.min(_.len,(d[m]||0)+S);d[m]=I+(D-I)*((b=1e4*Math.sin(u+g*c))-Math.floor(b)),h==="x"&&(d.clientX=d.plotX)}}})})}drawGraph(){this.options.lineWidth?super.drawGraph():this.graph&&(this.graph=this.graph.destroy())}}eu.defaultOptions=Je(T2.defaultOptions,{lineWidth:0,findNearestPointBy:"xy",jitter:{x:0,y:0},marker:{enabled:!0},tooltip:{headerFormat:'<span style="color:{point.color}">\u25CF</span> <span style="font-size: 0.8em"> {series.name}</span><br/>',pointFormat:"x: <b>{point.x}</b><br/>y: <b>{point.y}</b><br/>"}}),tt(eu.prototype,{allowOutsidePlotInteraction:!0,drawTracker:Yb.prototype.drawTracker,sorted:!1,requireSorting:!1,noSharedTooltip:!0,trackerGroups:["group","markerGroup","dataLabelsGroup"]}),St(eu,"afterTranslate",function(){this.applyJitter()}),Jn.registerSeriesType("scatter",eu);let{deg2rad:M2}=he;($=uc||(uc={})).getCenter=function(){let v=this.options,s=this.chart,a=2*(v.slicedOffset||0),c=s.plotWidth-2*a,d=s.plotHeight-2*a,u=v.center,h=Math.min(c,d),g=v.thickness,m,_=v.size,S=v.innerSize||0,b,I;typeof _=="string"&&(_=parseFloat(_)),typeof S=="string"&&(S=parseFloat(S));let D=[ce(u?.[0],"50%"),ce(u?.[1],"50%"),ce(_&&_<0?void 0:v.size,"100%"),ce(S&&S<0?void 0:v.innerSize||0,"0%")];for(!s.angular||this instanceof er||(D[3]=0),b=0;b<4;++b)I=D[b],m=b<2||b===2&&/%$/.test(I),D[b]=Oi(I,[c,d,h,D[2]][b])+(m?a:0);return D[3]>D[2]&&(D[3]=D[2]),de(g)&&2*g<D[2]&&g>0&&(D[3]=D[2]-2*g),_e(this,"afterGetCenter",{positions:D}),D},$.getStartAndEndRadians=function(v,s){let a=de(v)?v:0,c=de(s)&&s>a&&s-a<360?s:a+360;return{start:M2*(a+-90),end:M2*(c+-90)}};let A2=uc,{setAnimation:qb}=Yi;class O2 extends qs{getConnectorPath(s){let a=s.dataLabelPosition,c=s.options||{},d=c.connectorShape,u=this.connectorShapes[d]||d;return a&&u.call(this,U(k({},a.computed),{alignment:a.alignment}),a.connectorPosition,c)||[]}getTranslate(){return this.sliced&&this.slicedTranslation||{translateX:0,translateY:0}}haloPath(s){let a=this.shapeArgs;return this.sliced||!this.visible?[]:this.series.chart.renderer.symbols.arc(a.x,a.y,a.r+s,a.r+s,{innerR:a.r-1,start:a.start,end:a.end,borderRadius:a.borderRadius})}constructor(s,a,c){super(s,a,c),this.half=0,this.name??(this.name=s.chart.options.lang.pieSliceName);let d=u=>{this.slice(u.type==="select")};St(this,"select",d),St(this,"unselect",d)}isValid(){return de(this.y)&&this.y>=0}setVisible(s,a=!0){s!==this.visible&&this.update({visible:s??!this.visible},a,void 0,!1)}slice(s,a,c){let d=this.series;qb(c,d.chart),a=ce(a,!0),this.sliced=this.options.sliced=s=Ee(s)?s:!this.sliced,d.options.data[d.data.indexOf(this)]=this.options,this.graphic&&this.graphic.animate(this.getTranslate())}}tt(O2.prototype,{connectorShapes:{fixedOffset:function(v,s,a){let c=s.breakAt,d=s.touchingSliceAt,u=a.softConnector?["C",v.x+(v.alignment==="left"?-5:5),v.y,2*c.x-d.x,2*c.y-d.y,c.x,c.y]:["L",c.x,c.y];return[["M",v.x,v.y],u,["L",d.x,d.y]]},straight:function(v,s){let a=s.touchingSliceAt;return[["M",v.x,v.y],["L",a.x,a.y]]},crookedLine:function(v,s,a){let{angle:c=this.angle||0,breakAt:d,touchingSliceAt:u}=s,{series:h}=this,[g,m,_]=h.center,S=_/2,{plotLeft:b,plotWidth:I}=h.chart,D=v.alignment==="left",{x:T,y:R}=v,M=d.x;if(a.crookDistance){let H=Oi(a.crookDistance,1);M=D?g+S+(I+b-g-S)*(1-H):b+(g-S)*H}else M=g+(m-R)*Math.tan(c-Math.PI/2);let O=[["M",T,R]];return(D?M<=T&&M>=d.x:M>=T&&M<=d.x)&&O.push(["L",M,R]),O.push(["L",d.x,d.y],["L",u.x,u.y]),O}}});let{getStartAndEndRadians:Qb}=A2,{noop:R2}=he;class wp extends er{animate(s){let a=this,c=a.points,d=a.startAngleRad;s||c.forEach(function(u){let h=u.graphic,g=u.shapeArgs;h&&g&&(h.attr({r:ce(u.startR,a.center&&a.center[3]/2),start:d,end:d}),h.animate({r:g.r,start:g.start,end:g.end},a.options.animation))})}drawEmpty(){let s,a,c=this.startAngleRad,d=this.endAngleRad,u=this.options;this.total===0&&this.center?(s=this.center[0],a=this.center[1],this.graph||(this.graph=this.chart.renderer.arc(s,a,this.center[1]/2,0,c,d).addClass("highcharts-empty-series").add(this.group)),this.graph.attr({d:zd.arc(s,a,this.center[2]/2,0,{start:c,end:d,innerR:this.center[3]/2})}),this.chart.styledMode||this.graph.attr({"stroke-width":u.borderWidth,fill:u.fillColor||"none",stroke:u.color||"#cccccc"})):this.graph&&(this.graph=this.graph.destroy())}drawPoints(){let s=this.chart.renderer;this.points.forEach(function(a){a.graphic&&a.hasNewShapeType()&&(a.graphic=a.graphic.destroy()),a.graphic||(a.graphic=s[a.shapeType](a.shapeArgs).add(a.series.group),a.delayedRendering=!0)})}generatePoints(){super.generatePoints(),this.updateTotals()}getX(s,a,c,d){let u=this.center,h=this.radii?this.radii[c.index]||0:u[2]/2,g=d.dataLabelPosition,m=g?.distance||0,_=Math.asin(ni((s-u[1])/(h+m),-1,1));return u[0]+Math.cos(_)*(h+m)*(a?-1:1)+(m>0?(a?-1:1)*(d.padding||0):0)}hasData(){return this.points.some(s=>s.visible)}redrawPoints(){let s,a,c,d,u=this,h=u.chart;this.drawEmpty(),u.group&&!h.styledMode&&u.group.shadow(u.options.shadow),u.points.forEach(function(g){let m={};a=g.graphic,!g.isNull&&a?(d=g.shapeArgs,s=g.getTranslate(),h.styledMode||(c=u.pointAttribs(g,g.selected&&"select")),g.delayedRendering?(a.setRadialReference(u.center).attr(d).attr(s),h.styledMode||a.attr(c).attr({"stroke-linejoin":"round"}),g.delayedRendering=!1):(a.setRadialReference(u.center),h.styledMode||Je(!0,m,c),Je(!0,m,d,s),a.animate(m)),a.attr({visibility:g.visible?"inherit":"hidden"}),a.addClass(g.getClassName(),!0)):a&&(g.graphic=a.destroy())})}sortByAngle(s,a){s.sort(function(c,d){return c.angle!==void 0&&(d.angle-c.angle)*a})}translate(s){_e(this,"translate"),this.generatePoints();let a=this.options,c=a.slicedOffset,d=Qb(a.startAngle,a.endAngle),u=this.startAngleRad=d.start,h=(this.endAngleRad=d.end)-u,g=this.points,m=a.ignoreHiddenPoint,_=g.length,S,b,I,D,T,R,M,O=0;for(s||(this.center=s=this.getCenter()),R=0;R<_;R++){M=g[R],S=u+O*h,M.isValid()&&(!m||M.visible)&&(O+=M.percentage/100),b=u+O*h;let H={x:s[0],y:s[1],r:s[2]/2,innerR:s[3]/2,start:S,end:b};M.shapeType="arc",M.shapeArgs=H,(I=(b+S)/2)>1.5*Math.PI?I-=2*Math.PI:I<-Math.PI/2&&(I+=2*Math.PI),M.slicedTranslation={translateX:Math.round(Math.cos(I)*c),translateY:Math.round(Math.sin(I)*c)},D=Math.cos(I)*s[2]/2,T=Math.sin(I)*s[2]/2,M.tooltipPos=[s[0]+.7*D,s[1]+.7*T],M.half=+(I<-Math.PI/2||I>Math.PI/2),M.angle=I}_e(this,"afterTranslate")}updateTotals(){let s=this.points,a=s.length,c=this.options.ignoreHiddenPoint,d,u,h=0;for(d=0;d<a;d++)(u=s[d]).isValid()&&(!c||u.visible)&&(h+=u.y);for(d=0,this.total=h;d<a;d++)(u=s[d]).percentage=h>0&&(u.visible||!c)?u.y/h*100:0,u.total=h}}wp.defaultOptions=Je(er.defaultOptions,{borderRadius:3,center:[null,null],clip:!1,colorByPoint:!0,dataLabels:{connectorPadding:5,connectorShape:"crookedLine",crookDistance:void 0,distance:30,enabled:!0,formatter:function(){return this.isNull?void 0:this.name},softConnector:!0,x:0},fillColor:void 0,ignoreHiddenPoint:!0,inactiveOtherPoints:!0,legendType:"point",marker:null,size:null,showInLegend:!1,slicedOffset:10,stickyTracking:!1,tooltip:{followPointer:!0},borderColor:"#ffffff",borderWidth:1,lineWidth:void 0,states:{hover:{brightness:.1}}}),tt(wp.prototype,{axisTypes:[],directTouch:!0,drawGraph:void 0,drawTracker:Dc.prototype.drawTracker,getCenter:A2.getCenter,getSymbol:R2,invertible:!1,isCartesian:!1,noSharedTooltip:!0,pointAttribs:Dc.prototype.pointAttribs,pointClass:O2,requireSorting:!1,searchPoint:R2,trackerGroups:["group","dataLabelsGroup"]}),Jn.registerSeriesType("pie",wp);let{composed:Zb,noop:Kb}=he,{distribute:Xb}=_c,{series:P2}=Jn;(function(v){let s={radialDistributionY:function(h,g){return(g.dataLabelPosition?.top||0)+h.distributeBox.pos},radialDistributionX:function(h,g,m,_,S){let b=S.dataLabelPosition;return h.getX(m<(b?.top||0)+2||m>(b?.bottom||0)-2?_:m,g.half,g,S)},justify:function(h,g,m,_){return _[0]+(h.half?-1:1)*(m+(g.dataLabelPosition?.distance||0))},alignToPlotEdges:function(h,g,m,_){let S=h.getBBox().width;return g?S+_:m-S-_},alignToConnectors:function(h,g,m,_){let S=0,b;return h.forEach(function(I){(b=I.dataLabel.getBBox().width)>S&&(S=b)}),g?S+_:m-S-_}};function a(h,g){let m=Math.PI/2,{start:_=0,end:S=0}=h.shapeArgs||{},b=h.angle||0;g>0&&_<m&&S>m&&b>m/2&&b<1.5*m&&(b=b<=m?Math.max(m/2,(_+m)/2):Math.min(1.5*m,(m+S)/2));let{center:I,options:D}=this,T=I[2]/2,R=Math.cos(b),M=Math.sin(b),O=I[0]+R*T,H=I[1]+M*T,G=Math.min((D.slicedOffset||0)+(D.borderWidth||0),g/5);return{natural:{x:O+R*g,y:H+M*g},computed:{},alignment:g<0?"center":h.half?"right":"left",connectorPosition:{angle:b,breakAt:{x:O+R*G,y:H+M*G},touchingSliceAt:{x:O,y:H}},distance:g}}function c(){let h=this,g=h.points,m=h.chart,_=m.plotWidth,S=m.plotHeight,b=m.plotLeft,I=Math.round(m.chartWidth/3),D=h.center,T=D[2]/2,R=D[1],M=[[],[]],O=[0,0,0,0],H=h.dataLabelPositioners,G,K,Q,J=0;h.visible&&h.hasDataLabels?.()&&(g.forEach(ie=>{(ie.dataLabels||[]).forEach(re=>{re.shortened&&(re.attr({width:"auto"}).css({width:"auto",textOverflow:"clip"}),re.shortened=!1)})}),P2.prototype.drawDataLabels.apply(h),g.forEach(ie=>{(ie.dataLabels||[]).forEach((re,Se)=>{let xe=D[2]/2,ve=re.options,je=Oi(ve?.distance||0,xe);Se===0&&M[ie.half].push(ie),!Ee(ve?.style?.width)&&re.getBBox().width>I&&(re.css({width:Math.round(.7*I)+"px"}),re.shortened=!0),re.dataLabelPosition=this.getDataLabelPosition(ie,je),J=Math.max(J,je)})}),M.forEach((ie,re)=>{let Se=ie.length,xe=[],ve,je,Ke=0,Xe;Se&&(h.sortByAngle(ie,re-.5),J>0&&(ve=Math.max(0,R-T-J),je=Math.min(R+T+J,m.plotHeight),ie.forEach(ot=>{(ot.dataLabels||[]).forEach(nt=>{let it=nt.dataLabelPosition;it&&it.distance>0&&(it.top=Math.max(0,R-T-it.distance),it.bottom=Math.min(R+T+it.distance,m.plotHeight),Ke=nt.getBBox().height||21,nt.lineHeight=m.renderer.fontMetrics(nt.text||nt).h+2*nt.padding,ot.distributeBox={target:(nt.dataLabelPosition?.natural.y||0)-it.top+nt.lineHeight/2,size:Ke,rank:ot.y},xe.push(ot.distributeBox))})}),Xb(xe,Xe=je+Ke-ve,Xe/5)),ie.forEach(ot=>{(ot.dataLabels||[]).forEach(nt=>{let it=nt.options||{},bn=ot.distributeBox,cn=nt.dataLabelPosition,hr=cn?.natural.y||0,wt=it.connectorPadding||0,ut=nt.lineHeight||21,en=(ut-nt.getBBox().height)/2,Vt=0,dn=hr,Pi="inherit";if(cn){if(xe&&Ee(bn)&&cn.distance>0&&(bn.pos===void 0?Pi="hidden":(Q=bn.size,dn=H.radialDistributionY(ot,nt))),it.justify)Vt=H.justify(ot,nt,T,D);else switch(it.alignTo){case"connectors":Vt=H.alignToConnectors(ie,re,_,b);break;case"plotEdges":Vt=H.alignToPlotEdges(nt,re,_,b);break;default:Vt=H.radialDistributionX(h,ot,dn-en,hr,nt)}if(cn.attribs={visibility:Pi,align:cn.alignment},cn.posAttribs={x:Vt+(it.x||0)+({left:wt,right:-wt}[cn.alignment]||0),y:dn+(it.y||0)-ut/2},cn.computed.x=Vt,cn.computed.y=dn-en,ce(it.crop,!0)){let un;Vt-(K=nt.getBBox().width)<wt&&re===1?(un=Math.round(K-Vt+wt),O[3]=Math.max(un,O[3])):Vt+K>_-wt&&re===0&&(un=Math.round(Vt+K-_+wt),O[1]=Math.max(un,O[1])),dn-Q/2<0?O[0]=Math.max(Math.round(-dn+Q/2),O[0]):dn+Q/2>S&&(O[2]=Math.max(Math.round(dn+Q/2-S),O[2])),cn.sideOverflow=un}}})}))}),(st(O)===0||this.verifyDataLabelOverflow(O))&&(this.placeDataLabels(),this.points.forEach(ie=>{ie.dataLabels?.forEach((re,Se)=>{let{connectorColor:xe,connectorWidth:ve=1}=re.options||{},je=re.dataLabelPosition;if(de(ve)){let Ke;G=re.connector,je&&je.distance>0?(Ke=!G,G||(re.connector=G=m.renderer.path().addClass("highcharts-data-label-connector highcharts-color-"+ie.colorIndex+(ie.className?" "+ie.className:"")).add(h.dataLabelsGroups?.[Se])),m.styledMode||G.attr({"stroke-width":ve,stroke:xe||ie.color||"#666666"}),G[Ke?"attr":"animate"]({d:ie.getConnectorPath(re)}),G.attr({visibility:je.attribs?.visibility})):G&&(re.connector=G.destroy())}})})))}function d(){this.points.forEach(h=>{(h.dataLabels||[]).forEach(g=>{let m=g.dataLabelPosition;m?(m.sideOverflow&&(g.css({width:Math.max(g.getBBox().width-m.sideOverflow,0)+"px",textOverflow:g.options?.style?.textOverflow||"ellipsis"}),g.shortened=!0),g.attr(m.attribs),g[g.moved?"animate":"attr"](m.posAttribs),g.moved=!0):g&&g.attr({y:-9999})}),delete h.distributeBox},this)}function u(h){let g=this.center,m=this.options,_=m.center,S=m.minSize||80,b=S,I=m.size!==null;return!I&&(_[0]!==null?b=Math.max(g[2]-Math.max(h[1],h[3]),S):(b=Math.max(g[2]-h[1]-h[3],S),g[0]+=(h[3]-h[1])/2),_[1]!==null?b=ni(b,S,g[2]-Math.max(h[0],h[2])):(b=ni(b,S,g[2]-h[0]-h[2]),g[1]+=(h[0]-h[2])/2),b<g[2]?(g[2]=b,g[3]=Math.min(m.thickness?Math.max(0,b-2*m.thickness):Math.max(0,Oi(m.innerSize||0,b)),b),this.translate(g),this.drawDataLabels&&this.drawDataLabels()):I=!0),I}v.compose=function(h){if(Ba.compose(P2),no(Zb,"PieDataLabel")){let g=h.prototype;g.dataLabelPositioners=s,g.alignDataLabel=Kb,g.drawDataLabels=c,g.getDataLabelPosition=a,g.placeDataLabels=d,g.verifyDataLabelOverflow=u}}})(Ta||(Ta={}));let Jb=Ta;(W=Ma||(Ma={})).getCenterOfPoints=function(v){let s=v.reduce((a,c)=>(a.x+=c.x,a.y+=c.y,a),{x:0,y:0});return{x:s.x/v.length,y:s.y/v.length}},W.getDistanceBetweenPoints=function(v,s){return Math.sqrt(Math.pow(s.x-v.x,2)+Math.pow(s.y-v.y,2))},W.getAngleBetweenPoints=function(v,s){return Math.atan2(s.x-v.x,s.y-v.y)},W.pointInPolygon=function({x:v,y:s},a){let c=a.length,d,u,h=!1;for(d=0,u=c-1;d<c;u=d++){let[g,m]=a[d],[_,S]=a[u];m>s!=S>s&&v<(_-g)*(s-m)/(S-m)+g&&(h=!h)}return h};let{pointInPolygon:e3}=Ma;function k2(v,s){let a,c=!1;return v&&(a=v.newOpacity,v.oldOpacity!==a&&(v.hasClass("highcharts-data-label")?(v[a?"removeClass":"addClass"]("highcharts-data-label-hidden"),c=!0,v[v.isOld?"animate":"attr"]({opacity:a},void 0,function(){s.styledMode||v.css({pointerEvents:a?"auto":"none"})}),_e(s,"afterHideOverlappingLabel")):v.attr({opacity:a})),v.isOld=!0),c}let{defaultOptions:t3}=li,{noop:N2}=he,n3={radius:0,scope:"stack",where:void 0},L2=N2,tu=N2;function i3(v,s,a,c,d={}){let u=L2(v,s,a,c,d),{brStart:h=!0,brEnd:g=!0,innerR:m=0,r:_=a,start:S=0,end:b=0}=d;if(d.open||!d.borderRadius)return u;let I=b-S,D=Math.sin(I/2),T=Math.max(Math.min(Oi(d.borderRadius||0,_-m),(_-m)/2,_*D/(1+D)),0),R=Math.min(T,I/Math.PI*2*m),M=u.length-1;for(;M--;)(h||M!==0&&M!==3)&&(g||M!==1&&M!==2)&&(function(O,H,G){let K,Q,J,ie=O[H],re=O[H+1];if(re[0]==="Z"&&(re=O[0]),(ie[0]==="M"||ie[0]==="L")&&re[0]==="A"?(K=ie,Q=re,J=!0):ie[0]==="A"&&(re[0]==="M"||re[0]==="L")&&(K=re,Q=ie),K&&Q&&Q.params){let Se=Q[1],xe=Q[5],ve=Q.params,{start:je,end:Ke,cx:Xe,cy:ot}=ve,nt=xe?Se-G:Se+G,it=nt?Math.asin(G/nt):0,bn=xe?it:-it,cn=Math.cos(it)*nt;J?(ve.start=je+bn,K[1]=Xe+cn*Math.cos(je),K[2]=ot+cn*Math.sin(je),O.splice(H+1,0,["A",G,G,0,0,1,Xe+Se*Math.cos(ve.start),ot+Se*Math.sin(ve.start)])):(ve.end=Ke-bn,Q[6]=Xe+Se*Math.cos(ve.end),Q[7]=ot+Se*Math.sin(ve.end),O.splice(H+1,0,["A",G,G,0,0,1,Xe+cn*Math.cos(Ke),ot+cn*Math.sin(Ke)])),Q[4]=Math.abs(ve.end-ve.start)<Math.PI?0:1}})(u,M,M>1?R:T);return u}function r3(){if(this.options.borderRadius&&!(this.chart.is3d&&this.chart.is3d())){let{options:v,yAxis:s}=this,a=v.stacking==="percent",c=t3.plotOptions?.[this.type]?.borderRadius,d=xp(v.borderRadius,ln(c)?c:{}),u=s.options.reversed;for(let h of this.points){let{shapeArgs:g}=h;if(h.shapeType==="roundedRect"&&g){let{width:m=0,height:_=0,y:S=0}=g,b=S,I=_;if(d.scope==="stack"&&h.stackTotal){let M=s.translate(a?100:h.stackTotal,!1,!0,!1,!0),O=s.translate(v.threshold||0,!1,!0,!1,!0),H=this.crispCol(0,Math.min(M,O),0,Math.abs(M-O));b=H.y,I=H.height}let D=(h.negative?-1:1)*(u?-1:1)==-1,T=d.where;!T&&this.is("waterfall")&&Math.abs((h.yBottom||0)-(this.translatedThreshold||0))>this.borderWidth&&(T="all"),T||(T="end");let R=Math.min(Oi(d.radius,m),m/2,T==="all"?I/2:1/0)||0;T==="end"&&(D&&(b-=R),I+=R),tt(g,{brBoxHeight:I,brBoxY:b,r:R})}}}}function xp(v,s){return ln(v)||(v={radius:v||0}),Je(n3,s,v)}function Dp(){let v=xp(this.options.borderRadius);for(let s of this.points){let a=s.shapeArgs;a&&(a.borderRadius=Oi(v.radius,(a.r||0)-(a.innerR||0)))}}function nu(v,s,a,c,d={}){let u=tu(v,s,a,c,d),{r:h=0,brBoxHeight:g=c,brBoxY:m=s}=d,_=s-m,S=m+g-(s+c),b=_-h>-.1?0:h,I=S-h>-.1?0:h,D=Math.max(b&&_,0),T=Math.max(I&&S,0),R=[v+b,s],M=[v+a-b,s],O=[v+a,s+b],H=[v+a,s+c-I],G=[v+a-I,s+c],K=[v+I,s+c],Q=[v,s+c-I],J=[v,s+b],ie=(re,Se)=>Math.sqrt(Math.pow(re,2)-Math.pow(Se,2));if(D){let re=ie(b,b-D);R[0]-=re,M[0]+=re,O[1]=J[1]=s+b-D}if(c<b-D){let re=ie(b,b-D-c);O[0]=H[0]=v+a-b+re,G[0]=Math.min(O[0],G[0]),K[0]=Math.max(H[0],K[0]),Q[0]=J[0]=v+b-re,O[1]=J[1]=s+c}
vendor: 5,237 bytes, line 5
5if(T){let re=ie(I,I-T);G[0]+=re,K[0]-=re,H[1]=Q[1]=s+c-I+T}if(c<I-T){let re=ie(I,I-T-c);O[0]=H[0]=v+a-I+re,M[0]=Math.min(O[0],M[0]),R[0]=Math.max(H[0],R[0]),Q[0]=J[0]=v+I-re,H[1]=Q[1]=s}return u.length=0,u.push(["M",...R],["L",...M],["A",b,b,0,0,1,...O],["L",...H],["A",I,I,0,0,1,...G],["L",...K],["A",I,I,0,0,1,...Q],["L",...J],["A",b,b,0,0,1,...R],["Z"]),u}function o3(v,s){let a=v.condition;(a.callback||function(){return this.chartWidth<=ce(a.maxWidth,Number.MAX_VALUE)&&this.chartHeight<=ce(a.maxHeight,Number.MAX_VALUE)&&this.chartWidth>=ce(a.minWidth,0)&&this.chartHeight>=ce(a.minHeight,0)}).call(this,this)&&s.push(v._id)}function s3(v,s){let a=this.options.responsive,c=this.currentResponsive,d=[],u;!s&&a&&a.rules&&a.rules.forEach(m=>{m._id===void 0&&(m._id=io()),this.matchResponsiveRule(m,d)},this);let h=Je(...d.map(m=>zn(a?.rules||[],_=>_._id===m)).map(m=>m?.chartOptions));h.isResponsiveOptions=!0,d=d.toString()||void 0;let g=c?.ruleIds;d!==g&&(c&&(this.currentResponsive=void 0,this.updatingResponsive=!0,this.update(c.undoOptions,v,!0),this.updatingResponsive=!1),d?((u=fc(h,this.options,!0,this.collectionsWithUpdate)).isResponsiveOptions=!0,this.currentResponsive={ruleIds:d,mergedOptions:h,undoOptions:u},this.updatingResponsive||this.update(h,v,!0)):this.currentResponsive=void 0)}(hc||(hc={})).compose=function(v){let s=v.prototype;return s.matchResponsiveRule||tt(s,{matchResponsiveRule:o3,setResponsive:s3}),v};let a3=hc;he.AST=Fn,he.Axis=ms,he.Chart=Ri,he.Color=Cn,he.DataLabel=Ba,he.DataTableCore=Zd,he.Fx=ur,he.HTMLElement=La,he.Legend=m2,he.LegendSymbol=lp,he.PlotLineOrBand=so,he.Point=qs,he.Pointer=s2,he.RendererRegistry=gs,he.Series=er,he.SeriesRegistry=Jn,he.StackItem=_p,he.SVGElement=Ko,he.SVGRenderer=Gd,he.Templating=kr,he.Tick=Va,he.Time=Pa,he.Tooltip=i2,he.addEvent=St,he.animObject=Yi.animObject,he.animate=Yi.animate,he.arrayMax=st,he.arrayMin=So,he.attr=Wi,he.chart=Ri.chart,he.clamp=ni,he.color=Cn.parse,he.correctFloat=yn,he.createElement=Sr,he.css=$t,he.dateFormat=kr.dateFormat,he.defaultOptions=li.defaultOptions,he.defined=Ee,he.destroyObjectProperties=Ws,he.diffObjects=fc,he.discardElement=Ud,he.distribute=_c.distribute,he.erase=Io,he.error=Ln,he.extend=tt,he.extendClass=L1,he.find=zn,he.fireEvent=_e,he.format=kr.format,he.getDeferredAnimation=Yi.getDeferredAnimation,he.getMagnitude=Ir,he.getOptions=li.getOptions,he.getStyle=Qo,he.insertItem=Ra,he.isArray=vn,he.isClass=Rr,he.isDOMElement=_l,he.isFunction=Oa,he.isNumber=de,he.isObject=ln,he.isString=Wt,he.merge=Je,he.normalizeTickInterval=gc,he.numberFormat=kr.numberFormat,he.objectEach=lt,he.offset=Gh,he.pad=Eo,he.pick=ce,he.pInt=Dt,he.relativeLength=Oi,he.removeEvent=Pr,he.seriesType=Jn.seriesType,he.setAnimation=Yi.setAnimation,he.setOptions=li.setOptions,he.splat=Si,he.stableSort=Zo,he.stop=Yi.stop,he.syncTimeout=Er,he.time=li.defaultTime,he.timers=ur.timers,he.timeUnits=Re,he.uniqueKey=io,he.useSerialIds=function(v){return e=ce(v,e)},he.wrap=function(v,s,a){let c=v[s];v[s]=function(){let d=arguments,u=this;return a.apply(this,[function(){return c.apply(u,arguments.length?arguments:d)}].concat([].slice.call(arguments)))}},{compose:function(v,s,a){let c=v.types.pie;if(!s.symbolCustomAttribs.includes("borderRadius")){let d=a.prototype.symbols;St(v,"afterColumnTranslate",r3,{order:9}),St(c,"afterTranslate",Dp),s.symbolCustomAttribs.push("borderRadius","brBoxHeight","brBoxY","brEnd","brStart"),L2=d.arc,tu=d.roundedRect,d.arc=i3,d.roundedRect=nu}},optionsToObject:xp}.compose(he.Series,he.SVGElement,he.SVGRenderer),D2.compose(he.Series.types.column),Ba.compose(he.Series),Ys.compose(he.Axis),La.compose(he.SVGRenderer),m2.compose(he.Chart),rp.compose(he.Axis),(o=(se=he.Chart).prototype).hideOverlappingLabels||(o.hideOverlappingLabels=function(v){let s=v.length,a=(S,b)=>!(b.x>=S.x+S.width||b.x+b.width<=S.x||b.y>=S.y+S.height||b.y+b.height<=S.y),c=(S,b)=>{for(let I of S)if(e3({x:I[0],y:I[1]},b))return!0;return!1},d,u,h,g,m,_=!1;for(let S=0;S<s;S++)(d=v[S])&&(d.oldOpacity=d.opacity,d.newOpacity=1,d.absoluteBox=(function(b){if(b&&(!b.alignAttr||b.placed)){let I=b.box?0:b.padding||0,D=b.alignAttr||{x:b.attr("x"),y:b.attr("y")},{height:T,polygon:R,width:M}=b.getBBox(),O=fi(b.alignValue)*M;return b.width=M,b.height=T,{x:D.x+(b.parentGroup?.translateX||0)+I-O,y:D.y+(b.parentGroup?.translateY||0)+I,width:M-2*I,height:T-2*I,polygon:R}}})(d));v.sort((S,b)=>(b?.labelrank||0)-(S?.labelrank||0));for(let S=0;S<s;++S){g=(u=v[S])&&u.absoluteBox;let b=g?.polygon;for(let I=S+1;I<s;++I){m=(h=v[I])&&h.absoluteBox;let D=!1;if(g&&m&&u!==h&&u?.newOpacity!==0&&h?.newOpacity!==0&&u?.visibility!=="hidden"&&h?.visibility!=="hidden"){let T=m.polygon;if(b&&T&&b!==T?c(b,T)&&(D=!0):a(g,m)&&(D=!0),D){let R=u?.labelrank<h?.labelrank?u:h,M=R?.text;R&&(R.newOpacity=0),M?.element.querySelector("textPath")&&M.hide()}}}}for(let S of v)S&&k2(S,this)&&(_=!0);_&&_e(this,"afterHideAllOverlappingLabels")},St(se,"render",function(){let v=this,s=[];for(let a of v.labelCollectors||[])s=s.concat(a());for(let a of v.yAxis||[])a.stacking&&a.options.stackLabels&&!a.options.stackLabels.allowOverlap&<(a.stacking.stacks,c=>{lt(c,d=>{d.label&&s.push(d.label)})});for(let a of v.series||[])if(a.visible&&a.hasDataLabels?.()){let c=d=>
5{for(let u of d)u.visible&&(u.dataLabels||[]).forEach(h=>{let g=h.options||{};h.labelrank=ce(g.labelrank,u.labelrank,u.shapeArgs?.height),g.allowOverlap??Number(g.distance)>0?(h.oldOpacity=h.opacity,h.newOpacity=1,k2(h,v)):s.push(h)})};c(a.nodes||[]),c(a.points)}this.hideOverlappingLabels(s)})),Jb.compose(he.Series.types.pie),so.compose(he.Chart,he.Axis),s2.compose(he.Chart),a3.compose(he.Chart),Cp.compose(he.Axis,he.Chart,he.Series),zb.compose(he.Axis,he.Chart,he.Series),i2.compose(he.Pointer);let l3=he;return N1.default})())});function I3(e,n){return Object.is(e,n)}var Qi=null,W2=!1,E3=1,Jo=Symbol("SIGNAL");function nn(e){let n=Qi;return Qi=e,n}function w3(){return Qi}var lu={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,kind:"unknown",producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function Np(e){if(W2)throw new Error("");if(Qi===null)return;Qi.consumerOnSignalRead(e);let n=Qi.nextProducerIndex++;if(K2(Qi),n<Qi.producerNode.length&&Qi.producerNode[n]!==e&&kp(Qi)){let t=Qi.producerNode[n];Z2(t,Qi.producerIndexOfThis[n])}Qi.producerNode[n]!==e&&(Qi.producerNode[n]=e,Qi.producerIndexOfThis[n]=kp(Qi)?PM(e,Qi,n):0),Qi.producerLastReadVersion[n]=e.version}function RM(){E3++}function x3(e){if(!(kp(e)&&!e.dirty)&&!(!e.dirty&&e.lastCleanEpoch===E3)){if(!e.producerMustRecompute(e)&&!Q2(e)){S3(e);return}e.producerRecomputeValue(e),S3(e)}}function D3(e){if(e.liveConsumerNode===void 0)return;let n=W2;W2=!0;try{for(let t of e.liveConsumerNode)t.dirty||AL(t)}finally{W2=n}}function T3(){return Qi?.consumerAllowSignalWrites!==!1}function AL(e){e.dirty=!0,D3(e),e.consumerMarkedDirty?.(e)}function S3(e){e.dirty=!1,e.lastCleanEpoch=E3}function Lp(e){return e&&(e.nextProducerIndex=0),nn(e)}function q2(e,n){if(nn(n),!(!e||e.producerNode===void 0||e.producerIndexOfThis===void 0||e.producerLastReadVersion===void 0)){if(kp(e))for(let t=e.nextProducerIndex;t<e.producerNode.length;t++)Z2(e.producerNode[t],e.producerIndexOfThis[t]);for(;e.producerNode.length>e.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}function Q2(e){K2(e);for(let n=0;n<e.producerNode.length;n++){let t=e.producerNode[n],i=e.producerLastReadVersion[n];if(i!==t.version||(x3(t),i!==t.version))return!0}return!1}function Fp(e){if(K2(e),kp(e))for(let n=0;n<e.producerNode.length;n++)Z2(e.producerNode[n],e.producerIndexOfThis[n]);e.producerNode.length=e.producerLastReadVersion.length=e.producerIndexOfThis.length=0,e.liveConsumerNode&&(e.liveConsumerNode.length=e.liveConsumerIndexOfThis.length=0)}function PM(e,n,t){if(kM(e),e.liveConsumerNode.length===0&&NM(e))for(let i=0;i<e.producerNode.length;i++)e.producerIndexOfThis[i]=PM(e.producerNode[i],e,i);return e.liveConsumerIndexOfThis.push(t),e.liveConsumerNode.push(n)-1}function Z2(e,n){if(kM(e),e.liveConsumerNode.length===1&&NM(e))for(let i=0;i<e.producerNode.length;i++)Z2(e.producerNode[i],e.producerIndexOfThis[i]);let t=e.liveConsumerNode.length-1;if(e.liveConsumerNode[n]=e.liveConsumerNode[t],e.liveConsumerIndexOfThis[n]=e.liveConsumerIndexOfThis[t],e.liveConsumerNode.length--,e.liveConsumerIndexOfThis.length--,n<e.liveConsumerNode.length){let i=e.liveConsumerIndexOfThis[n],r=e.liveConsumerNode[n];K2(r),r.producerIndexOfThis[i]=n}}function kp(e){return e.consumerIsAlwaysLive||(e?.liveConsumerNode?.length??0)>0}function K2(e){e.producerNode??=[],e.producerIndexOfThis??=[],e.producerLastReadVersion??=[]}function kM(e){e.liveConsumerNode??=[],e.liveConsumerIndexOfThis??=[]}function NM(e){return e.producerNode!==void 0}function M3(e,n){let t=Object.create(OL);t.computation=e,n!==void 0&&(t.equal=n);let i=()=>{if(x3(t),Np(t),t.value===Y2)throw t.error;return t.value};return i[Jo]=t,i}var y3=Symbol("UNSET"),b3=Symbol("COMPUTING"),Y2=Symbol("ERRORED"),OL=U(k({},lu),{value:y3,dirty:!0,error:null,equal:I3,kind:"computed",producerMustRecompute(e){return e.value===y3||e.value===b3},producerRecomputeValue(e){if(e.value===b3)throw new Error("Detected cycle in computations.");let n=e.value;e.value=b3;let t=Lp(e),i,r=!1;try{i=e.computation(),nn(null),r=n!==y3&&n!==Y2&&i!==Y2&&e.equal(n,i)}catch(o){i=Y2,e.error=o}finally{q2(e,t)}if(r){e.value=n;return}e.value=i,e.version++}});function RL(){throw new Error}var LM=RL;function FM(e){LM(e)}function A3(e){LM=e}var PL=null;function O3(e,n){let t=Object.create(X2);t.value=e,n!==void 0&&(t.equal=n);let i=()=>(Np(t),t.value);return i[Jo]=t,i}function Vp(e,n){T3()||FM(e),e.equal(e.value,n)||(e.value=n,kL(e))}function R3(e,n){T3()||FM(e),Vp(e,n(e.value))}var X2=U(k({},lu),{equal:I3,value:void 0,kind:"signal"});function kL(e){e.version++,RM(),D3(e),PL?.()}function P3(e){let n=nn(null);try{return e()}finally{nn(n)}}var k3;function Up(){return k3}function Ya(e){let n=k3;return k3=e,n}var J2=Symbol("NotFound");var OA="https://angular.dev/best-practices/security#preventing-cross-site-scripting-xss",Ye=class extends
5Error{code;constructor(n,t){super(tI(n,t)),this.code=n}};function VL(e){return`NG0${Math.abs(e)}`}function tI(e,n){return`${VL(e)}${n?": "+n:""}`}var RA=Symbol("InputSignalNode#UNSET"),UL=U(k({},X2),{transformFn:void 0,applyValueToInputSignal(e,n){Vp(e,n)}});function PA(e,n){let t=Object.create(UL);t.value=e,t.transformFn=n?.transform;function i(){if(Np(t),t.value===RA){let r=null;throw new Ye(-950,r)}return t.value}return i[Jo]=t,i}function ef(e){return{toString:e}.toString()}var ev="__parameters__";function HL(e){return function(...t){if(e){let i=e(...t);for(let r in i)this[r]=i[r]}}}function nI(e,n,t){return ef(()=>{let i=HL(n);function r(...o){if(this instanceof r)return i.apply(this,o),this;let l=new r(...o);return p.annotation=l,p;function p(C,w,V){let j=C.hasOwnProperty(ev)?C[ev]:Object.defineProperty(C,ev,{value:[]})[ev];for(;j.length<=V;)j.push(null);return(j[V]=j[V]||[]).push(l),C}}return r.prototype.ngMetadataName=e,r.annotationCls=r,r})}var tr=globalThis;function Bn(e){for(let n in e)if(e[n]===Bn)return n;throw Error("Could not find renamed property on target object.")}function BL(e,n){for(let t in n)n.hasOwnProperty(t)&&!e.hasOwnProperty(t)&&(e[t]=n[t])}function co(e){if(typeof e=="string")return e;if(Array.isArray(e))return`[${e.map(co).join(", ")}]`;if(e==null)return""+e;let n=e.overriddenName||e.name;if(n)return`${n}`;let t=e.toString();if(t==null)return""+t;let i=t.indexOf(` 6`);return i>=0?t.slice(0,i):t}function q3(e,n){return e?n?`${e} ${n}`:e:n||""}var jL=Bn({__forward_ref__:Bn});function jn(e){return e.__forward_ref__=jn,e.toString=function(){return co(this())},e}function gr(e){return kA(e)?e():e}function kA(e){return typeof e=="function"&&e.hasOwnProperty(jL)&&e.__forward_ref__===jn}function le(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function $e(e){return{providers:e.providers||[],imports:e.imports||[]}}function Fv(e){return VM(e,LA)||VM(e,FA)}function NA(e){return Fv(e)!==null}function VM(e,n){return e.hasOwnProperty(n)?e[n]:null}function zL(e){let n=e&&(e[LA]||e[FA]);return n||null}function UM(e){return e&&(e.hasOwnProperty(HM)||e.hasOwnProperty(GL))?e[HM]:null}var LA=Bn({\u0275prov:Bn}),HM=Bn({\u0275inj:Bn}),FA=Bn({ngInjectableDef:Bn}),GL=Bn({ngInjectorDef:Bn}),me=class{_desc;ngMetadataName="InjectionToken";\u0275prov;constructor(n,t){this._desc=n,this.\u0275prov=void 0,typeof t=="number"?this.__NG_ELEMENT_ID__=t:t!==void 0&&(this.\u0275prov=le({token:this,providedIn:t.providedIn||"root",factory:t.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function VA(e){return e&&!!e.\u0275providers}var $L=Bn({\u0275cmp:Bn}),WL=Bn({\u0275dir:Bn}),YL=Bn({\u0275pipe:Bn}),qL=Bn({\u0275mod:Bn}),uv=Bn({\u0275fac:Bn}),zp=Bn({__NG_ELEMENT_ID__:Bn}),BM=Bn({__NG_ENV_ID__:Bn});function Hr(e){return typeof e=="string"?e:e==null?"":String(e)}function QL(e){return typeof e=="function"?e.name||e.toString():typeof e=="object"&&e!=null&&typeof e.type=="function"?e.type.name||e.type.toString():Hr(e)}function UA(e,n){throw new Ye(-200,e)}function iI(e,n){throw new Ye(-201,!1)}var zt=(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})(zt||{}),Q3;function HA(){return Q3}function ao(e){let n=Q3;return Q3=e,n}function BA(e,n,t){let i=Fv(e);if(i&&i.providedIn=="root")return i.value===void 0?i.value=i.factory():i.value;if(t&zt.Optional)return null;if(n!==void 0)return n;iI(e,"Injector")}var ZL={},Rc=ZL,Z3="__NG_DI_FLAG__",hv=class{injector;constructor(n){this.injector=n}retrieve(n,t){let i=t;return this.injector.get(n,i.optional?J2:Rc,i)}},pv="ngTempTokenPath",KL="ngTokenPath",XL=/\n/gm,JL="\u0275",jM="__source";function eF(e,n=zt.Default){if(Up()===void 0)throw new Ye(-203,!1);if(Up()===null)return BA(e,void 0,n);{let t=Up(),i;return t instanceof hv?i=t.injector:i=t,i.get(e,n&zt.Optional?null:void 0,n)}}function ae(e,n=zt.Default){return(HA()||eF)(gr(e),n)}function ge(e,n=zt.Default){return ae(e,Vv(n))}function Vv(e){return typeof e>"u"||typeof e=="number"?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function K3(e){let n=[];for(let t=0;t<e.length;t++){let i=gr(e[t]);if(Array.isArray(i)){if(i.length===0)throw new Ye(900,!1);let r,o=zt.Default;for(let l=0;l<i.length;l++){let p=i[l],C=tF(p);typeof C=="number"?C===-1?r=p.token:o|=C:r=p}n.push(ae(r,o))}else n.push(ae(i))}return n}function rI(e,n){return e[Z3]=n,e.prototype[Z3]=n,e}function tF(e){return e[Z3]}function nF(e,n,t,i){let r=e[pv];throw n[jM]&&r.unshift(n[jM]),e.message=iF(` 7`+e.message,r,t,i),e[KL]=r,e[pv]=null,e}function iF(e,n,t,i=null){e=e&&e.charAt(0)===` 8`&&e.charAt(1)==JL?e.slice(2):e;let r=co(n);if(Array.isArray(n))r=n.map(co).join(" -> ");else if(typeof n=="object"){let o=[];for(let l in n)if(n.hasOwnProperty(l)){let p=n[l];o.push(l+":"+(typeof p=="string"?JSON.stringify(p):co(p)))}r=`{${o.join(", ")}}`}return`${t}${i?"("+i+")":""}[${r}]: ${e.replace(XL,` 9 `)}`}var oI=rI(nI("Inject",e=>({token:e})),-1),Wc=rI(nI("Optional"),8);var Su=rI(nI("SkipSelf"),4);function kc(e,n){let t=e.hasOwnProperty(uv);return t?e[uv]:null}function rF(e,n,t){if(e.length!==n.length)return!1;for(let i=0;i<e.length;i++){let r=e[i],o=n[i];if(t&&(r=t(r),o=t(o)),o!==r)return!1}return!0}function oF(e){return e.flat(Number.POSITIVE_INFINITY)}function sI(e,n){e.forEach(t=>Array.isArray(t)?sI(t,n):n(t))}function jA(e,n,t){n>=e.length?e.push(t):e.splice(n,0,t)}function fv(e,n){return n>=e.length-1?e.pop():e.splice(n,1)[0]}function sF(e,n){let t=[];for(let i=0;i<e;i++)t.push(n);return t}function aF(e,n,t,i){let r=e.length;if(r==n)e.push(t,i);
vendor: 15,781 bytes, line 9
9else if(r===1)e.push(i,e[0]),e[0]=t;else{for(r--,e.push(e[r-1],e[r]);r>n;){let o=r-2;e[r]=e[o],r--}e[n]=t,e[n+1]=i}}function Iu(e,n,t){let i=tf(e,n);return i>=0?e[i|1]=t:(i=~i,aF(e,i,n,t)),i}function N3(e,n){let t=tf(e,n);if(t>=0)return e[t|1]}function tf(e,n){return lF(e,n,1)}function lF(e,n,t){let i=0,r=e.length>>t;for(;r!==i;){let o=i+(r-i>>1),l=e[o<<t];if(n===l)return o<<t;l>n?r=o:i=o+1}return~(r<<t)}var Ks={},lo=[],Nc=new me(""),zA=new me("",-1),GA=new me(""),gv=class{get(n,t=Rc){if(t===Rc){let i=new Error(`NullInjectorError: No provider for ${co(n)}!`);throw i.name="NullInjectorError",i}return t}};function $A(e,n){let t=e[qL]||null;if(!t&&n===!0)throw new Error(`Type ${co(e)} does not have '\u0275mod' property.`);return t}function Nl(e){return e[$L]||null}function WA(e){return e[WL]||null}function cF(e){return e[YL]||null}function po(e){return{\u0275providers:e}}function nf(e){return po([{provide:Nc,multi:!0,useValue:e}])}function dF(...e){return{\u0275providers:YA(!0,e),\u0275fromNgModule:!0}}function YA(e,...n){let t=[],i=new Set,r,o=l=>{t.push(l)};return sI(n,l=>{let p=l;X3(p,o,[],i)&&(r||=[],r.push(p))}),r!==void 0&&qA(r,o),t}function qA(e,n){for(let t=0;t<e.length;t++){let{ngModule:i,providers:r}=e[t];aI(r,o=>{n(o,i)})}}function X3(e,n,t,i){if(e=gr(e),!e)return!1;let r=null,o=UM(e),l=!o&&Nl(e);if(!o&&!l){let C=e.ngModule;if(o=UM(C),o)r=C;else return!1}else{if(l&&!l.standalone)return!1;r=e}let p=i.has(r);if(l){if(p)return!1;if(i.add(r),l.dependencies){let C=typeof l.dependencies=="function"?l.dependencies():l.dependencies;for(let w of C)X3(w,n,t,i)}}else if(o){if(o.imports!=null&&!p){i.add(r);let w;sI(o.imports,V=>{X3(V,n,t,i)&&(w||=[],w.push(V))}),w!==void 0&&qA(w,n)}if(!p){let w=kc(r)||(()=>new r);n({provide:r,useFactory:w,deps:lo},r),n({provide:GA,useValue:r,multi:!0},r),n({provide:Nc,useValue:()=>ae(r),multi:!0},r)}let C=o.providers;if(C!=null&&!p){let w=e;aI(C,V=>{n(V,w)})}}else return!1;return r!==e&&e.providers!==void 0}function aI(e,n){for(let t of e)VA(t)&&(t=t.\u0275providers),Array.isArray(t)?aI(t,n):n(t)}var uF=Bn({provide:String,useValue:Bn});function QA(e){return e!==null&&typeof e=="object"&&uF in e}function hF(e){return!!(e&&e.useExisting)}function pF(e){return!!(e&&e.useFactory)}function gu(e){return typeof e=="function"}function fF(e){return!!e.useClass}var Uv=new me(""),sv={},zM={},L3;function Hv(){return L3===void 0&&(L3=new gv),L3}var wi=class{},$p=class extends wi{parent;source;scopes;records=new Map;_ngOnDestroyHooks=new Set;_onDestroyHooks=[];get destroyed(){return this._destroyed}_destroyed=!1;injectorDefTypes;constructor(n,t,i,r){super(),this.parent=t,this.source=i,this.scopes=r,eS(n,l=>this.processProvider(l)),this.records.set(zA,cu(void 0,this)),r.has("environment")&&this.records.set(wi,cu(void 0,this));let o=this.records.get(Uv);o!=null&&typeof o.value=="string"&&this.scopes.add(o.value),this.injectorDefTypes=new Set(this.get(GA,lo,zt.Self))}retrieve(n,t){let i=t;return this.get(n,i.optional?J2:Rc,i)}destroy(){Bp(this),this._destroyed=!0;let n=nn(null);try{for(let i of this._ngOnDestroyHooks)i.ngOnDestroy();let t=this._onDestroyHooks;this._onDestroyHooks=[];for(let i of t)i()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),nn(n)}}onDestroy(n){return Bp(this),this._onDestroyHooks.push(n),()=>this.removeOnDestroy(n)}runInContext(n){Bp(this);let t=Ya(this),i=ao(void 0),r;try{return n()}finally{Ya(t),ao(i)}}get(n,t=Rc,i=zt.Default){if(Bp(this),n.hasOwnProperty(BM))return n[BM](this);i=Vv(i);let r,o=Ya(this),l=ao(void 0);try{if(!(i&zt.SkipSelf)){let C=this.records.get(n);if(C===void 0){let w=_F(n)&&Fv(n);w&&this.injectableDefInScope(w)?C=cu(J3(n),sv):C=null,this.records.set(n,C)}if(C!=null)return this.hydrate(n,C,i)}let p=i&zt.Self?Hv():this.parent;return t=i&zt.Optional&&t===Rc?null:t,p.get(n,t)}catch(p){if(p.name==="NullInjectorError"){if((p[pv]=p[pv]||[]).unshift(co(n)),o)throw p;return nF(p,n,"R3InjectorError",this.source)}else throw p}finally{ao(l),Ya(o)}}resolveInjectorInitializers(){let n=nn(null),t=Ya(this),i=ao(void 0),r;try{let o=this.get(Nc,lo,zt.Self);for(let l of o)l()}finally{Ya(t),ao(i),nn(n)}}toString(){let n=[],t=this.records;for(let i of t.keys())n.push(co(i));return`R3Injector[${n.join(", ")}]`}processProvider(n){n=gr(n);let t=gu(n)?n:gr(n&&n.provide),i=mF(n);if(!gu(n)&&n.multi===!0){let r=this.records.get(t);r||(r=cu(void 0,sv,!0),r.factory=()=>K3(r.multi),this.records.set(t,r)),t=n,r.multi.push(n)}this.records.set(t,i)}hydrate(n,t,i){let r=nn(null);try{return t.value===zM?UA(co(n)):t.value===sv&&(t.value=zM,t.value=t.factory(void 0,i)),typeof t.value=="object"&&t.value&&CF(t.value)&&this._ngOnDestroyHooks.add(t.value),t.value}finally{nn(r)}}injectableDefInScope(n){if(!n.providedIn)return!1;let t=gr(n.providedIn);return typeof t=="string"?t==="any"||this.scopes.has(t):this.injectorDefTypes.has(t)}removeOnDestroy(n){let t=this._onDestroyHooks.indexOf(n);t!==-1&&this._onDestroyHooks.splice(t,1)}};function J3(e){let n=Fv(e),t=n!==null?n.factory:kc(e);if(t!==null)return t;if(e instanceof me)throw new Ye(204,!1);if(e instanceof Function)return gF(e);throw new Ye(204,!1)}function gF(e){if(e.length>0)throw new Ye(204,!1);let t=zL(e);return t!==null?()=>t.factory(e):()=>new e}function mF(e){if(QA(e))return cu(void 0,e.useValue);{let n=ZA(e);return cu(n,sv)}}function ZA(e,n,t){let i;if(gu(e)){let r=gr(e);return kc(r)||J3(r)}else if(QA(e))i=()=>gr(e.useValue);else if(pF(e))i=()=>e.useFactory(...K3(e.deps||[]));else if(hF(e))i=(r,o)=>ae(gr(e.useExisting),o!==void 0&&o&zt.Optional?zt.Optional:void 0);else{let r=gr(e&&(e.useClass||e.provide));if(vF(e))i=()=>new r(...K3(e.deps));else return kc(r)||J3(r)}return i}function Bp(e){if(e.destroyed)throw new Ye(205,!1)}function cu(e,n,t=!1){return{factory:e,value:n,multi:t?[]:void 0}}function vF(e){return!!e.deps}function CF(e){return e!==null&&typeof e=="object"&&typeof e.ngOnDestroy=="function"}function _F(e){return typeof e=="function"||typeof e=="object"&&e instanceof me}function eS(e,n){for(let t of e)Array.isArray(t)?eS(t,n):t&&VA(t)?eS(t.\u0275providers,n):n(t)}function Br(e,n){let t;e instanceof $p?(Bp(e),t=e):t=new hv(e);let i,r=Ya(t),o=ao(void 0);try{return n()}finally{Ya(r),ao(o)}}function lI(){return HA()!==void 0||Up()!=null}function Bv(e){if(!lI())throw new Ye(-203,!1)}function yF(e){let n=tr.ng;if(n&&n.\u0275compilerFacade)return n.\u0275compilerFacade;throw new Error("JIT compiler unavailable")}var KA=Function;function bF(e){return typeof e=="function"}var Ka=0,Qt=1,Nt=2,wr=3,Ss=4,fo=5,Wp=6,mv=7,uo=8,mu=9,qa=10,ei=11,Yp=12,GM=13,Eu=14,ts=15,Lc=16,du=17,Qa=18,jv=19,XA=20,Pl=21,F3=22,Fc=23,es=24,pu=25,nr=26,JA=1;var Vc=7,vv=8,vu=9,Ro=10;function kl(e){return Array.isArray(e)&&typeof e[JA]=="object"}function Xa(e){return Array.isArray(e)&&e[JA]===!0}function cI(e){return(e.flags&4)!==0}function wu(e){return e.componentOffset>-1}function zv(e){return(e.flags&1)===1}function Xs(e){return!!e.template}function Cv(e){return(e[Nt]&512)!==0}function xu(e){return(e[Nt]&256)===256}var tS=class{previousValue;currentValue;firstChange;constructor(n,t,i){this.previousValue=n,this.currentValue=t,this.firstChange=i}isFirstChange(){return this.firstChange}};function e5(e,n,t,i){n!==null?n.applyValueToInputSignal(n,i):e[t]=i}var Xt=(()=>{let e=()=>t5;return e.ngInherit=!0,e})();function t5(e){return e.type.prototype.ngOnChanges&&(e.setInput=IF),SF}function SF(){let e=i5(this),n=e?.current;if(n){let t=e.previous;if(t===Ks)e.previous=n;else for(let i in n)t[i]=n[i];e.current=null,this.ngOnChanges(n)}}function IF(e,n,t,i,r){let o=this.declaredInputs[i],l=i5(e)||EF(e,{previous:Ks,current:null}),p=l.current||(l.current={}),C=l.previous,w=C[o];p[o]=new tS(w&&w.currentValue,t,C===Ks),e5(e,n,r,t)}var n5="__ngSimpleChanges__";function i5(e){return e[n5]||null}function EF(e,n){return e[n5]=n}var $M=null;var $n=function(e,n=null,t){$M?.(e,n,t)},r5="svg",wF="math";function Js(e){for(;Array.isArray(e);)e=e[Ka];return e}function o5(e,n){return Js(n[e])}function ia(e,n){return Js(n[e.index])}function s5(e,n){return e.data[n]}function rf(e,n){return e[n]}function xF(e,n,t,i){t>=e.data.length&&(e.data[t]=null,e.blueprint[t]=null),n[t]=i}function ea(e,n){let t=n[e];return kl(t)?t:t[Ka]}function DF(e){return(e[Nt]&4)===4}function dI(e){return(e[Nt]&128)===128}function TF(e){return Xa(e[wr])}function Cu(e,n){return n==null?null:e[n]}function a5(e){e[du]=0}function l5(e){e[Nt]&1024||(e[Nt]|=1024,dI(e)&&Du(e))}function MF(e,n){for(;e>0;)n=n[Eu],e--;return n}function Gv(e){return!!(e[Nt]&9216||e[es]?.dirty)}function nS(e){e[qa].changeDetectionScheduler?.notify(8),e[Nt]&64&&(e[Nt]|=1024),Gv(e)&&Du(e)}function Du(e){e[qa].changeDetectionScheduler?.notify(0);let n=Uc(e);for(;n!==null&&!(n[Nt]&8192||(n[Nt]|=8192,!dI(n)));)n=Uc(n)}function c5(e,n){if(xu(e))throw new Ye(911,!1);e[Pl]===null&&(e[Pl]=[]),e[Pl].push(n)}function AF(e,n){if(e[Pl]===null)return;let t=e[Pl].indexOf(n);t!==-1&&e[Pl].splice(t,1)}function Uc(e){let n=e[wr];return Xa(n)?n[wr]:n}function uI(e){return e[mv]??=[]}function hI(e){return e.cleanup??=[]}function OF(e,n,t,i){let r=uI(n);r.push(t),e.firstCreatePass&&hI(e).push(i,r.length-1)}var Ut={lFrame:m5(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var iS=!1;function RF(){return Ut.lFrame.elementDepthCount}function PF(){Ut.lFrame.elementDepthCount++}function kF(){Ut.lFrame.elementDepthCount--}function pI(){return Ut.bindingsEnabled}function d5(){return Ut.skipHydrationRootTNode!==null}function NF(e){return Ut.skipHydrationRootTNode===e}function LF(){Ut.skipHydrationRootTNode=null}function Mt(){return Ut.lFrame.lView}function ii(){return Ut.lFrame.tView}function ee(e){return Ut.lFrame.contextLView=e,e[uo]}function te(e){return Ut.lFrame.contextLView=null,e}function xr(){let e=u5();for(;e!==null&&e.type===64;)e=e.parent;return e}function u5(){return Ut.lFrame.currentTNode}function FF(){let e=Ut.lFrame,n=e.currentTNode;return e.isParent?n:n.parent}function Yc(e,n){let t=Ut.lFrame;t.currentTNode=e,t.isParent=n}function fI(){return Ut.lFrame.isParent}function gI(){Ut.lFrame.isParent=!1}function VF(){return Ut.lFrame.contextLView}function h5(){return iS}function _v(e){let n=iS;return iS=e,n}function Fl(){let e=Ut.lFrame,n=e.bindingRootIndex;return n===-1&&(n=e.bindingRootIndex=e.tView.bindingStartIndex),n}function mI(){return Ut.lFrame.bindingIndex}function UF(e){return Ut.lFrame.bindingIndex=e}function of(){return Ut.lFrame.bindingIndex++}function sf(e){let n=Ut.lFrame,t=n.bindingIndex;return n.bindingIndex=n.bindingIndex+e,t}function HF(){return Ut.lFrame.inI18n}function BF(e,n){let t=Ut.lFrame;t.bindingIndex=t.bindingRootIndex=e,rS(n)}function jF(){return Ut.lFrame.currentDirectiveIndex}function rS(e){Ut.lFrame.currentDirectiveIndex=e}function zF(e){let n=Ut.lFrame.currentDirectiveIndex;return n===-1?null:e[n]}function p5(){return Ut.lFrame.currentQueryIndex}function vI(e){Ut.lFrame.currentQueryIndex=e}function GF(e){let n=e[Qt];return n.type===2?n.declTNode:n.type===1?e[fo]:null}function f5(e,n,t){if(t&zt.SkipSelf){let r=n,o=e;for(;r=r.parent,r===null&&!(t&zt.Host);)if(r=GF(o),r===null||(o=o[Eu],r.type&10))break;if(r===null)return!1;n=r,e=o}let i=Ut.lFrame=g5();return i.currentTNode=n,i.lView=e,!0}function CI(e){let n=g5(),t=e[Qt];Ut.lFrame=n,n.currentTNode=t.firstChild,n.lView=e,n.tView=t,n.contextLView=e,n.bindingIndex=t.bindingStartIndex,n.inI18n=!1}function g5(){let e=Ut.lFrame,n=e===null?null:e.child;return n===null?m5(e):n}function m5(e){let n={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 e!==null&&(e.child=n),n}function v5(){let e=Ut.lFrame;return Ut.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var C5=v5;function _I(){let e=v5();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 $F(e){return(Ut.lFrame.contextLView=MF(e,Ut.lFrame.contextLView))[uo]}function ra(){return Ut.lFrame.selectedIndex}function Hc(e){Ut.lFrame.selectedIndex=e}function Tu(){let e=Ut.lFrame;return s5(e.tView,e.selectedIndex)}function bde(){Ut.lFrame.currentNamespace=r5}function Sde(){WF()}function WF(){Ut.lFrame.currentNamespace=null}function YF(){return Ut.lFrame.currentNamespace}var _5=!0;function $v(){return _5}function Wv(e){_5=e}function qF(e,n,t){let{ngOnChanges:i,ngOnInit:r,ngDoCheck:o}=n.type.prototype;if(i){let l=t5(n);(t.preOrderHooks??=[]).push(e,l),(t.preOrderCheckHooks??=[]).push(e,l)}r&&(t.preOrderHooks??=[]).push(0-e,r),o&&((t.preOrderHooks??=[]).push(e,o),(t.preOrderCheckHooks??=[]).push(e,o))}function yI(e,n){for(let t=n.directiveStart,i=n.directiveEnd;t<i;t++){let o=e.data[t].type.prototype,{ngAfterContentInit:l,ngAfterContentChecked:p,ngAfterViewInit:C,ngAfterViewChecked:w,ngOnDestroy:V}=o;l&&(e.contentHooks??=[]).push(-t,l),p&&((e.contentHooks??=[]).push(t,p),(e.contentCheckHooks??=[]).push(t,p)),C&&(e.viewHooks??=[]).push(-t,C),w&&((e.viewHooks??=[]).push(t,w),(e.viewCheckHooks??=[]).push(t,w)),V!=null&&(e.destroyHooks??=[]).push(t,V)}}function av(e,n,t){y5(e,n,3,t)}function lv(e,n,t,i){(e[Nt]&3)===t&&y5(e,n,t,i)}function V3(e,n){let t=e[Nt];(t&3)===n&&(t&=16383,t+=1,e[Nt]=t)}function y5(e,n,t,i){let r=i!==void 0?e[du]&65535:0,o=i??-1,l=n.length-1,p=0;for(let C=r;C<l;C++)if(typeof n[C+1]=="number"){if(p=n[C],i!=null&&p>=i)break}else n[C]<0&&(e[du]+=65536),(p<o||o==-1)&&(QF(e,t,n,C),e[du]=(e[du]&4294901760)+C+2),C++}function WM(e,n){$n(4,e,n);let t=nn(null);try{n.call(e)}finally{nn(t),$n(5,e,n)}}function QF(e,n,t,i){let r=t[i]<0,o=t[i+1],l=r?-t[i]:t[i],p=e[l];r?e[Nt]>>14<e[du]>>16&&(e[Nt]&3)===n&&(e[Nt]+=16384,WM(p,o)):WM(p,o)}var fu=-1,Bc=class{factory;injectImpl;resolving=!1;canSeeViewProviders;multi;componentProviders;index;providerFactory;constructor(n,t,i){this.factory=n,this.canSeeViewProviders=t,this.injectImpl=i}};function ZF(e){return(e.flags&8)!==0}function KF(e){return(e.flags&16)!==0}function XF(e,n,t){let i=0;for(;i<t.length;){let r=t[i];if(typeof r=="number"){if(r!==0)break;i++;let o=t[i++],l=t[i++],p=t[i++];e.setAttribute(n,l,p,o)}else{let o=r,l=t[++i];JF(o)?e.setProperty(n,o,l):e.setAttribute(n,o,l),i++}}return i}function b5(e){return e===3||e===4||e===6}function JF(e){return e.charCodeAt(0)===64}function _u(e,n){if(!(n===null||n.length===0))if(e===null||e.length===0)e=n.slice();else{let t=-1;for(let i=0;i<n.length;i++){let r=n[i];typeof r=="number"?t=r:t===0||(t===-1||t===2?YM(e,t,r,null,n[++i]):YM(e,t,r,null,null))}}return e}function YM(e,n,t,i,r){let o=0,l=e.length;if(n===-1)l=-1;else for(;o<e.length;){let p=e[o++];if(typeof p=="number"){if(p===n){l=-1;break}else if(p>n){l=o-1;break}}}for(;o<e.length;){let p=e[o];if(typeof p=="number")break;if(p===t){r!==null&&(e[o+1]=r);return}o++,r!==null&&o++}l!==-1&&(e.splice(l,0,n),o=l+1),e.splice(o++,0,t),r!==null&&e.splice(o++,0,r)}function S5(e){return e!==fu}function yv(e){return e&32767}function eV(e){return e>>16}function bv(e,n){let t=eV(e),i=n;for(;t>0;)i=i[Eu],t--;return i}var oS=!0;function Sv(e){let n=oS;return oS=e,n}var tV=256,I5=tV-1,E5=5,nV=0,Zs={};function iV(e,n,t){let i;typeof t=="string"?i=t.charCodeAt(0)||0:t.hasOwnProperty(zp)&&(i=t[zp]),i==null&&(i=t[zp]=nV++);let r=i&I5,o=1<<r;n.data[e+(r>>E5)]|=o}function Iv(e,n){let t=w5(e,n);if(t!==-1)return t;let i=n[Qt];i.firstCreatePass&&(e.injectorIndex=n.length,U3(i.data,e),U3(n,null),U3(i.blueprint,null));let r=bI(e,n),o=e.injectorIndex;if(S5(r)){let l=yv(r),p=bv(r,n),C=p[Qt].data;for(let w=0;w<8;w++)n[o+w]=p[l+w]|C[l+w]}return n[o+8]=r,o}function U3(e,n){e.push(0,0,0,0,0,0,0,0,n)}
9function w5(e,n){return e.injectorIndex===-1||e.parent&&e.parent.injectorIndex===e.injectorIndex||n[e.injectorIndex+8]===null?-1:e.injectorIndex}function bI(e,n){if(e.parent&&e.parent.injectorIndex!==-1)return e.parent.injectorIndex;let t=0,i=null,r=n;for(;r!==null;){if(i=A5(r),i===null)return fu;if(t++,r=r[Eu],i.injectorIndex!==-1)return i.injectorIndex|t<<16}return fu}function sS(e,n,t){iV(e,n,t)}function rV(e,n){if(n==="class")return e.classes;if(n==="style")return e.styles;let t=e.attrs;if(t){let i=t.length,r=0;for(;r<i;){let o=t[r];if(b5(o))break;if(o===0)r=r+2;else if(typeof o=="number")for(r++;r<i&&typeof t[r]=="string";)r++;else{if(o===n)return t[r+1];r=r+2}}}return null}function x5(e,n,t){if(t&zt.Optional||e!==void 0)return e;iI(n,"NodeInjector")}function D5(e,n,t,i){if(t&zt.Optional&&i===void 0&&(i=null),(t&(zt.Self|zt.Host))===0){let r=e[mu],o=ao(void 0);try{return r?r.get(n,i,t&zt.Optional):BA(n,i,t&zt.Optional)}finally{ao(o)}}return x5(i,n,t)}function T5(e,n,t,i=zt.Default,r){if(e!==null){if(n[Nt]&2048&&!(i&zt.Self)){let l=lV(e,n,t,i,Zs);if(l!==Zs)return l}let o=M5(e,n,t,i,Zs);if(o!==Zs)return o}return D5(n,t,i,r)}function M5(e,n,t,i,r){let o=sV(t);if(typeof o=="function"){if(!f5(n,e,i))return i&zt.Host?x5(r,t,i):D5(n,t,i,r);try{let l;if(l=o(i),l==null&&!(i&zt.Optional))iI(t);else return l}finally{C5()}}else if(typeof o=="number"){let l=null,p=w5(e,n),C=fu,w=i&zt.Host?n[ts][fo]:null;for((p===-1||i&zt.SkipSelf)&&(C=p===-1?bI(e,n):n[p+8],C===fu||!QM(i,!1)?p=-1:(l=n[Qt],p=yv(C),n=bv(C,n)));p!==-1;){let V=n[Qt];if(qM(o,p,V.data)){let j=oV(p,n,t,l,i,w);if(j!==Zs)return j}C=n[p+8],C!==fu&&QM(i,n[Qt].data[p+8]===w)&&qM(o,p,n)?(l=V,p=yv(C),n=bv(C,n)):p=-1}}return r}function oV(e,n,t,i,r,o){let l=n[Qt],p=l.data[e+8],C=i==null?wu(p)&&oS:i!=l&&(p.type&3)!==0,w=r&zt.Host&&o===p,V=cv(p,l,t,C,w);return V!==null?qp(n,l,V,p,r):Zs}function cv(e,n,t,i,r){let o=e.providerIndexes,l=n.data,p=o&1048575,C=e.directiveStart,w=e.directiveEnd,V=o>>20,j=i?p:p+V,$=r?p+V:w;for(let W=j;W<$;W++){let se=l[W];if(W<C&&t===se||W>=C&&se.type===t)return W}if(r){let W=l[C];if(W&&Xs(W)&&W.type===t)return C}return null}function qp(e,n,t,i,r){let o=e[t],l=n.data;if(o instanceof Bc){let p=o;p.resolving&&UA(QL(l[t]));let C=Sv(p.canSeeViewProviders);p.resolving=!0;let w,V=p.injectImpl?ao(p.injectImpl):null,j=f5(e,i,zt.Default);try{o=e[t]=p.factory(void 0,r,l,e,i),n.firstCreatePass&&t>=i.directiveStart&&qF(t,l[t],n)}finally{V!==null&&ao(V),Sv(C),p.resolving=!1,C5()}}return o}function sV(e){if(typeof e=="string")return e.charCodeAt(0)||0;let n=e.hasOwnProperty(zp)?e[zp]:void 0;return typeof n=="number"?n>=0?n&I5:aV:n}function qM(e,n,t){let i=1<<e;return!!(t[n+(e>>E5)]&i)}function QM(e,n){return!(e&zt.Self)&&!(e&zt.Host&&n)}var Pc=class{_tNode;_lView;constructor(n,t){this._tNode=n,this._lView=t}get(n,t,i){return T5(this._tNode,this._lView,n,Vv(i),t)}};function aV(){return new Pc(xr(),Mt())}function kn(e){return ef(()=>{let n=e.prototype.constructor,t=n[uv]||aS(n),i=Object.prototype,r=Object.getPrototypeOf(e.prototype).constructor;for(;r&&r!==i;){let o=r[uv]||aS(r);if(o&&o!==t)return o;r=Object.getPrototypeOf(r)}return o=>new o})}function aS(e){return kA(e)?()=>{let n=aS(gr(e));return n&&n()}:kc(e)}function lV(e,n,t,i,r){let o=e,l=n;for(;o!==null&&l!==null&&l[Nt]&2048&&!Cv(l);){let p=M5(o,l,t,i|zt.Self,Zs);if(p!==Zs)return p;let C=o.parent;if(!C){let w=l[XA];if(w){let V=w.get(t,Zs,i);if(V!==Zs)return V}C=A5(l),l=l[Eu]}o=C}return r}function A5(e){let n=e[Qt],t=n.type;return t===2?n.declTNode:t===1?e[fo]:null}function af(e){return rV(xr(),e)}function ZM(e,n=null,t=null,i){let r=O5(e,n,t,i);return r.resolveInjectorInitializers(),r}function O5(e,n=null,t=null,i,r=new Set){let o=[t||lo,dF(e)];return i=i||(typeof e=="object"?void 0:co(e)),new $p(o,n||Hv(),i||null,r)}var Gt=class e{static THROW_IF_NOT_FOUND=Rc;static NULL=new gv;static create(n,t){if(Array.isArray(n))return ZM({name:""},t,n,"");{let i=n.name??"";return ZM({name:i},n.parent,n.providers,i)}}static \u0275prov=le({token:e,providedIn:"any",factory:()=>ae(zA)});static __NG_ELEMENT_ID__=-1};var cV=new me("");cV.__NG_ELEMENT_ID__=e=>{let n=xr();if(n===null)throw new Ye(204,!1);if(n.type&2)return n.value;if(e&zt.Optional)return null;throw new Ye(204,!1)};var R5=!1,Es=(()=>{class e{static __NG_ELEMENT_ID__=dV;static __NG_ENV_ID__=t=>t}return e}
vendor: 4,165 bytes, line 9
9)(),Ev=class extends Es{_lView;constructor(n){super(),this._lView=n}onDestroy(n){let t=this._lView;return xu(t)?(n(),()=>{}):(c5(t,n),()=>AF(t,n))}};function dV(){return new Ev(Mt())}var jc=class{},SI=new me("",{providedIn:"root",factory:()=>!1});var P5=new me(""),k5=new me(""),Ja=(()=>{class e{taskId=0;pendingTasks=new Set;get _hasPendingTasks(){return this.hasPendingTasks.value}hasPendingTasks=new Pn(!1);add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);let t=this.taskId++;return this.pendingTasks.add(t),t}has(t){return this.pendingTasks.has(t)}remove(t){this.pendingTasks.delete(t),this.pendingTasks.size===0&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}static \u0275prov=le({token:e,providedIn:"root",factory:()=>new e})}return e})();var lS=class extends Qe{__isAsync;destroyRef=void 0;pendingTasks=void 0;constructor(n=!1){super(),this.__isAsync=n,lI()&&(this.destroyRef=ge(Es,{optional:!0})??void 0,this.pendingTasks=ge(Ja,{optional:!0})??void 0)}emit(n){let t=nn(null);try{super.next(n)}finally{nn(t)}}subscribe(n,t,i){let r=n,o=t||(()=>null),l=i;if(n&&typeof n=="object"){let C=n;r=C.next?.bind(C),o=C.error?.bind(C),l=C.complete?.bind(C)}this.__isAsync&&(o=this.wrapInTimeout(o),r&&(r=this.wrapInTimeout(r)),l&&(l=this.wrapInTimeout(l)));let p=super.subscribe({next:r,error:o,complete:l});return n instanceof Xo&&n.add(p),p}wrapInTimeout(n){return t=>{let i=this.pendingTasks?.add();setTimeout(()=>{try{n(t)}finally{i!==void 0&&this.pendingTasks?.remove(i)}})}}},Ue=lS;function Qp(...e){}function N5(e){let n,t;function i(){e=Qp;try{t!==void 0&&typeof cancelAnimationFrame=="function"&&cancelAnimationFrame(t),n!==void 0&&clearTimeout(n)}catch{}}return n=setTimeout(()=>{e(),i()}),typeof requestAnimationFrame=="function"&&(t=requestAnimationFrame(()=>{e(),i()})),()=>i()}function KM(e){return queueMicrotask(()=>e()),()=>{e=Qp}}var II="isAngularZone",wv=II+"_ID",uV=0,Rt=class e{hasPendingMacrotasks=!1;hasPendingMicrotasks=!1;isStable=!0;onUnstable=new Ue(!1);onMicrotaskEmpty=new Ue(!1);onStable=new Ue(!1);onError=new Ue(!1);constructor(n){let{enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:i=!1,shouldCoalesceRunChangeDetection:r=!1,scheduleInRootZone:o=R5}=n;if(typeof Zone>"u")throw new Ye(908,!1);Zone.assertZonePatched();let l=this;l._nesting=0,l._outer=l._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(l._inner=l._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(l._inner=l._inner.fork(Zone.longStackTraceZoneSpec)),l.shouldCoalesceEventChangeDetection=!r&&i,l.shouldCoalesceRunChangeDetection=r,l.callbackScheduled=!1,l.scheduleInRootZone=o,fV(l)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(II)===!0}static assertInAngularZone(){if(!e.isInAngularZone())throw new Ye(909,!1)}static assertNotInAngularZone(){if(e.isInAngularZone())throw new Ye(909,!1)}run(n,t,i){return this._inner.run(n,t,i)}runTask(n,t,i,r){let o=this._inner,l=o.scheduleEventTask("NgZoneEvent: "+r,n,hV,Qp,Qp);try{return o.runTask(l,t,i)}finally{o.cancelTask(l)}}runGuarded(n,t,i){return this._inner.runGuarded(n,t,i)}runOutsideAngular(n){return this._outer.run(n)}},hV={};function EI(e){if(e._nesting==0&&!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 pV(e){if(e.isCheckStableRunning||e.callbackScheduled)return;e.callbackScheduled=!0;function n(){N5(()=>{e.callbackScheduled=!1,cS(e),e.isCheckStableRunning=!0,EI(e),e.isCheckStableRunning=!1})}e.scheduleInRootZone?Zone.root.run(()=>{n()}):e._outer.run(()=>{n()}),cS(e)}function fV(e){let n=()=>{pV(e)},t=uV++;e._inner=e._inner.fork({name:"angular",properties:{[II]:!0,[wv]:t,[wv+t]:!0},onInvokeTask:(i,r,o,l,p,C)=>{if(gV(C))return i.invokeTask(o,l,p,C);try{return XM(e),i.invokeTask(o,l,p,C)}finally{(e.shouldCoalesceEventChangeDetection&&l.type==="eventTask"||e.shouldCoalesceRunChangeDetection)&&n(),JM(e)}},onInvoke:(i,r,o,l,p,C,w)=>{try{return XM(e),i.invoke(o,l,p,C,w)}
vendor: 8,734 bytes, line 9
9finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!mV(C)&&n(),JM(e)}},onHasTask:(i,r,o,l)=>{i.hasTask(o,l),r===o&&(l.change=="microTask"?(e._hasPendingMicrotasks=l.microTask,cS(e),EI(e)):l.change=="macroTask"&&(e.hasPendingMacrotasks=l.macroTask))},onHandleError:(i,r,o,l)=>(i.handleError(o,l),e.runOutsideAngular(()=>e.onError.emit(l)),!1)})}function cS(e){e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&e.callbackScheduled===!0?e.hasPendingMicrotasks=!0:e.hasPendingMicrotasks=!1}function XM(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function JM(e){e._nesting--,EI(e)}var xv=class{hasPendingMicrotasks=!1;hasPendingMacrotasks=!1;isStable=!0;onUnstable=new Ue;onMicrotaskEmpty=new Ue;onStable=new Ue;onError=new Ue;run(n,t,i){return n.apply(t,i)}runGuarded(n,t,i){return n.apply(t,i)}runOutsideAngular(n){return n()}runTask(n,t,i,r){return n.apply(t,i)}};function gV(e){return L5(e,"__ignore_ng_zone__")}function mV(e){return L5(e,"__scheduler_tick__")}function L5(e,n){return!Array.isArray(e)||e.length!==1?!1:e[0]?.data?.[n]===!0}function vV(e="zone.js",n){return e==="noop"?new xv:e==="zone.js"?new Rt(n):e}var ho=class{_console=console;handleError(n){this._console.error("ERROR",n)}},CV=new me("",{providedIn:"root",factory:()=>{let e=ge(Rt),n=ge(ho);return t=>e.runOutsideAngular(()=>n.handleError(t))}});function eA(e,n){return PA(e,n)}function _V(e){return PA(RA,e)}var F5=(eA.required=_V,eA);function yV(){return Mu(xr(),Mt())}function Mu(e,n){return new et(ia(e,n))}var et=(()=>{class e{nativeElement;constructor(t){this.nativeElement=t}static __NG_ELEMENT_ID__=yV}return e})();function bV(e){return e instanceof et?e.nativeElement:e}function SV(e){return typeof e=="function"&&e[Jo]!==void 0}function oa(e,n){let t=O3(e,n?.equal),i=t[Jo];return t.set=r=>Vp(i,r),t.update=r=>R3(i,r),t.asReadonly=IV.bind(t),t}function IV(){let e=this[Jo];if(e.readonlyFn===void 0){let n=()=>this();n[Jo]=e,e.readonlyFn=n}return e.readonlyFn}function V5(e){return SV(e)&&typeof e.set=="function"}function EV(){return this._results[Symbol.iterator]()}var dS=class{_emitDistinctChangesOnly;dirty=!0;_onDirty=void 0;_results=[];_changesDetected=!1;_changes=void 0;length=0;first=void 0;last=void 0;get changes(){return this._changes??=new Qe}constructor(n=!1){this._emitDistinctChangesOnly=n}get(n){return this._results[n]}map(n){return this._results.map(n)}filter(n){return this._results.filter(n)}find(n){return this._results.find(n)}reduce(n,t){return this._results.reduce(n,t)}forEach(n){this._results.forEach(n)}some(n){return this._results.some(n)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(n,t){this.dirty=!1;let i=oF(n);(this._changesDetected=!rF(this._results,i,t))&&(this._results=i,this.length=i.length,this.last=i[this.length-1],this.first=i[0])}notifyOnChanges(){this._changes!==void 0&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.next(this)}onDirty(n){this._onDirty=n}setDirty(){this.dirty=!0,this._onDirty?.()}destroy(){this._changes!==void 0&&(this._changes.complete(),this._changes.unsubscribe())}[Symbol.iterator]=EV};function U5(e){return(e.flags&128)===128}var H5=(function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e})(H5||{}),B5=new Map,wV=0;function xV(){return wV++}function DV(e){B5.set(e[jv],e)}function uS(e){B5.delete(e[jv])}var tA="__ngContext__";function Au(e,n){kl(n)?(e[tA]=n[jv],DV(n)):e[tA]=n}function j5(e){return G5(e[Yp])}function z5(e){return G5(e[Ss])}function G5(e){for(;e!==null&&!Xa(e);)e=e[Ss];return e}var hS;function $5(e){hS=e}function W5(){if(hS!==void 0)return hS;if(typeof document<"u")return document;throw new Ye(210,!1)}var wI=new me("",{providedIn:"root",factory:()=>TV}),TV="ng",xI=new me(""),xi=new me("",{providedIn:"platform",factory:()=>"unknown"});var Ide=new me(""),DI=new me("",{providedIn:"root",factory:()=>W5().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});var MV="h",AV="b";var Y5=!1,OV=new me("",{providedIn:"root",factory:()=>Y5});var TI=(function(e){return e[e.CHANGE_DETECTION=0]="CHANGE_DETECTION",e[e.AFTER_NEXT_RENDER=1]="AFTER_NEXT_RENDER",e})(TI||{}),Ou=new me(""),nA=new Set;function lf(e){nA.has(e)||(nA.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}var MI=(()=>{class e{view;node;constructor(t,i){this.view=t,this.node=i}static __NG_ELEMENT_ID__=RV}return e})();function RV(){return new MI(Mt(),xr())}var uu=(function(e){return e[e.EarlyRead=0]="EarlyRead",e[e.Write=1]="Write",e[e.MixedReadWrite=2]="MixedReadWrite",e[e.Read=3]="Read",e})(uu||{}),q5=(()=>{class e{impl=null;execute(){this.impl?.execute()}static \u0275prov=le({token:e,providedIn:"root",factory:()=>new e})}return e})(),PV=[uu.EarlyRead,uu.Write,uu.MixedReadWrite,uu.Read],kV=(()=>{class e{ngZone=ge(Rt);scheduler=ge(jc);errorHandler=ge(ho,{optional:!0});sequences=new Set;deferredRegistrations=new Set;executing=!1;constructor(){ge(Ou,{optional:!0})}execute(){let t=this.sequences.size>0;t&&$n(16),this.executing=!0;for(let i of PV)for(let r of this.sequences)if(!(r.erroredOrDestroyed||!r.hooks[i]))try{r.pipelinedValue=this.ngZone.runOutsideAngular(()=>this.maybeTrace(()=>{let o=r.hooks[i];return o(r.pipelinedValue)},r.snapshot))}catch(o){r.erroredOrDestroyed=!0,this.errorHandler?.handleError(o)}this.executing=!1;for(let i of this.sequences)i.afterRun(),i.once&&(this.sequences.delete(i),i.destroy());for(let i of this.deferredRegistrations)this.sequences.add(i);this.deferredRegistrations.size>0&&this.scheduler.notify(7),this.deferredRegistrations.clear(),t&&$n(17)}register(t){let{view:i}=t;i!==void 0?((i[pu]??=[]).push(t),Du(i),i[Nt]|=8192):this.executing?this.deferredRegistrations.add(t):this.addSequence(t)}addSequence(t){this.sequences.add(t),this.scheduler.notify(7)}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))}maybeTrace(t,i){return i?i.run(TI.AFTER_NEXT_RENDER,t):t()}static \u0275prov=le({token:e,providedIn:"root",factory:()=>new e})}return e})(),pS=class{impl;hooks;view;once;snapshot;erroredOrDestroyed=!1;pipelinedValue=void 0;unregisterOnDestroy;constructor(n,t,i,r,o,l=null){this.impl=n,this.hooks=t,this.view=i,this.once=r,this.snapshot=l,this.unregisterOnDestroy=o?.onDestroy(()=>this.destroy())}afterRun(){this.erroredOrDestroyed=!1,this.pipelinedValue=void 0,this.snapshot?.dispose(),this.snapshot=null}destroy(){this.impl.unregister(this),this.unregisterOnDestroy?.();let n=this.view?.[pu];n&&(this.view[pu]=n.filter(t=>t!==this))}};function cf(e,n){!n?.injector&&Bv(cf);let t=n?.injector??ge(Gt);return lf("NgAfterNextRender"),LV(e,t,n,!0)}function NV(e,n){if(e instanceof Function){let t=[void 0,void 0,void 0,void 0];return t[n]=e,t}else return[e.earlyRead,e.write,e.mixedReadWrite,e.read]}function LV(e,n,t,i){let r=n.get(q5);r.impl??=n.get(kV);let o=n.get(Ou,null,{optional:!0}),l=t?.phase??uu.MixedReadWrite,p=t?.manualCleanup!==!0?n.get(Es):null,C=n.get(MI,null,{optional:!0}),w=new pS(r.impl,NV(e,l),C?.view,i,p,o?.snapshot(null));return r.impl.register(w),w}var FV=(e,n,t,i)=>{};function VV(e,n,t,i){FV(e,n,t,i)}var UV=()=>null;function Q5(e,n,t=!1){return UV(e,n,t)}function Z5(e,n){let t=e.contentQueries;if(t!==null){let i=nn(null);try{for(let r=0;r<t.length;r+=2){let o=t[r],l=t[r+1];if(l!==-1){let p=e.data[l];vI(o),p.contentQueries(2,n[l],l)}}}finally{nn(i)}}}function fS(e,n,t){vI(0);let i=nn(null);try{n(e,t)}finally{nn(i)}}function AI(e,n,t){if(cI(n)){let i=nn(null);try{let r=n.directiveStart,o=n.directiveEnd;for(let l=r;l<o;l++){let p=e.data[l];if(p.contentQueries){let C=t[l];p.contentQueries(1,C,l)}}}finally{nn(i)}}}var ta=(function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e})(ta||{});var tv;function HV(){if(tv===void 0&&(tv=null,tr.trustedTypes))try{tv=tr.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return tv}function Yv(e){return HV()?.createHTML(e)||e}var nv;function K5(){if(nv===void 0&&(nv=null,tr.trustedTypes))try{nv=tr.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return nv}function iA(e){return K5()?.createHTML(e)||e}function rA(e){return K5()?.createScriptURL(e)||e}var Za=class{changingThisBreaksApplicationSecurity;constructor(n){this.changingThisBreaksApplicationSecurity=n}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${OA})`}},gS=class extends Za{getTypeName(){return"HTML"}},mS=class extends Za{getTypeName(){return"Style"}}
vendor: 5,679 bytes, line 9
9,vS=class extends Za{getTypeName(){return"Script"}},CS=class extends Za{getTypeName(){return"URL"}},_S=class extends Za{getTypeName(){return"ResourceURL"}};function ko(e){return e instanceof Za?e.changingThisBreaksApplicationSecurity:e}function el(e,n){let t=BV(e);if(t!=null&&t!==n){if(t==="ResourceURL"&&n==="URL")return!0;throw new Error(`Required a safe ${n}, got a ${t} (see ${OA})`)}return t===n}function BV(e){return e instanceof Za&&e.getTypeName()||null}function X5(e){return new gS(e)}function J5(e){return new mS(e)}function eO(e){return new vS(e)}function tO(e){return new CS(e)}function nO(e){return new _S(e)}function jV(e){let n=new bS(e);return zV()?new yS(n):n}var yS=class{inertDocumentHelper;constructor(n){this.inertDocumentHelper=n}getInertBodyElement(n){n="<body><remove></remove>"+n;try{let t=new window.DOMParser().parseFromString(Yv(n),"text/html").body;return t===null?this.inertDocumentHelper.getInertBodyElement(n):(t.firstChild?.remove(),t)}catch{return null}}},bS=class{defaultDoc;inertDocument;constructor(n){this.defaultDoc=n,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(n){let t=this.inertDocument.createElement("template");return t.innerHTML=Yv(n),t}};function zV(){try{return!!new window.DOMParser().parseFromString(Yv(""),"text/html")}catch{return!1}}var GV=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function qv(e){return e=String(e),e.match(GV)?e:"unsafe:"+e}function tl(e){let n={};for(let t of e.split(","))n[t]=!0;return n}function df(...e){let n={};for(let t of e)for(let i in t)t.hasOwnProperty(i)&&(n[i]=!0);return n}var iO=tl("area,br,col,hr,img,wbr"),rO=tl("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),oO=tl("rp,rt"),$V=df(oO,rO),WV=df(rO,tl("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")),YV=df(oO,tl("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")),oA=df(iO,WV,YV,$V),sO=tl("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),qV=tl("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"),QV=tl("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"),ZV=df(sO,qV,QV),KV=tl("script,style,template"),SS=class{sanitizedSomething=!1;buf=[];sanitizeChildren(n){let t=n.firstChild,i=!0,r=[];for(;t;){if(t.nodeType===Node.ELEMENT_NODE?i=this.startElement(t):t.nodeType===Node.TEXT_NODE?this.chars(t.nodeValue):this.sanitizedSomething=!0,i&&t.firstChild){r.push(t),t=eU(t);continue}for(;t;){t.nodeType===Node.ELEMENT_NODE&&this.endElement(t);let o=JV(t);if(o){t=o;break}t=r.pop()}}return this.buf.join("")}startElement(n){let t=sA(n).toLowerCase();if(!oA.hasOwnProperty(t))return this.sanitizedSomething=!0,!KV.hasOwnProperty(t);this.buf.push("<"),this.buf.push(t);let i=n.attributes;for(let r=0;r<i.length;r++){let o=i.item(r),l=o.name,p=l.toLowerCase();if(!ZV.hasOwnProperty(p)){this.sanitizedSomething=!0;continue}let C=o.value;sO[p]&&(C=qv(C)),this.buf.push(" ",l,'="',aA(C),'"')}return this.buf.push(">"),!0}endElement(n){let t=sA(n).toLowerCase();oA.hasOwnProperty(t)&&!iO.hasOwnProperty(t)&&(this.buf.push("</"),this.buf.push(t),this.buf.push(">"))}chars(n){this.buf.push(aA(n))}};function XV(e,n){return(e.compareDocumentPosition(n)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function JV(e){let n=e.nextSibling;if(n&&e!==n.previousSibling)throw aO(n);return n}function eU(e){let n=e.firstChild;if(n&&XV(e,n))throw aO(n);return n}function sA(e){let n=e.nodeName;return typeof n=="string"?n:"FORM"}function aO(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}var tU=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,nU=/([^\#-~ |!])/g;function aA(e){return e.replace(/&/g,"&").replace(tU,function(n){let t=n.charCodeAt(0),i=n.charCodeAt(1);return"&#"+((t-55296)*1024+(i-56320)+65536)+";"}).replace(nU,function(n){return"&#"+n.charCodeAt(0)+";"}).replace(/</g,"<").replace(/>/g,">")}var iv;function OI(e,n){let t=null;try{iv=iv||jV(e);let i=n?String(n):"";t=iv.getInertBodyElement(i);let r=5,o=i;do{if(r===0)throw new Error("Failed to sanitize html because the input is unstable");r--,i=o,o=t.innerHTML,t=iv.getInertBodyElement(i)}while(i!==o);let p=new SS().sanitizeChildren(lA(t)||t);return Yv(p)}finally{if(t){let i=lA(t)||t;for(;i.firstChild;)i.firstChild.remove()}}}function lA(e){return"content"in e&&iU(e)?e.content:null}
vendor: 5,504 bytes, line 9
9function iU(e){return e.nodeType===Node.ELEMENT_NODE&&e.nodeName==="TEMPLATE"}var rU=/^>|^->|<!--|-->|--!>|<!-$/g,oU=/(<|>)/g,sU="\u200B$1\u200B";function aU(e){return e.replace(rU,n=>n.replace(oU,sU))}function lU(e,n){return e.createText(n)}function cU(e,n,t){e.setValue(n,t)}function dU(e,n){return e.createComment(aU(n))}function lO(e,n,t){return e.createElement(n,t)}function Dv(e,n,t,i,r){e.insertBefore(n,t,i,r)}function cO(e,n,t){e.appendChild(n,t)}function cA(e,n,t,i,r){i!==null?Dv(e,n,t,i,r):cO(e,n,t)}function uU(e,n,t){e.removeChild(null,n,t)}function hU(e,n,t){e.setAttribute(n,"style",t)}function pU(e,n,t){t===""?e.removeAttribute(n,"class"):e.setAttribute(n,"class",t)}function dO(e,n,t){let{mergedAttrs:i,classes:r,styles:o}=t;i!==null&&XF(e,n,i),r!==null&&pU(e,n,r),o!==null&&hU(e,n,o)}var ws=(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})(ws||{});function mr(e){let n=RI();return n?iA(n.sanitize(ws.HTML,e)||""):el(e,"HTML")?iA(ko(e)):OI(W5(),Hr(e))}function Vl(e){let n=RI();return n?n.sanitize(ws.URL,e)||"":el(e,"URL")?ko(e):qv(Hr(e))}function Ru(e){let n=RI();if(n)return rA(n.sanitize(ws.RESOURCE_URL,e)||"");if(el(e,"ResourceURL"))return rA(ko(e));throw new Ye(904,!1)}var fU=new Set(["embed","frame","iframe","media","script"]),gU=new Set(["base","link","script"]);function mU(e,n){return n==="src"&&fU.has(e)||n==="href"&&gU.has(e)||n==="xlink:href"&&e==="script"?Ru:Vl}function uO(e,n,t){return mU(n,t)(e)}function RI(){let e=Mt();return e&&e[qa].sanitizer}function PI(e){return e.ownerDocument.defaultView}function kI(e){return e.ownerDocument}function hO(e){return e instanceof Function?e():e}function vU(e,n,t){let i=e.length;for(;;){let r=e.indexOf(n,t);if(r===-1)return r;if(r===0||e.charCodeAt(r-1)<=32){let o=n.length;if(r+o===i||e.charCodeAt(r+o)<=32)return r}t=r+1}}var pO="ng-template";function CU(e,n,t,i){let r=0;if(i){for(;r<n.length&&typeof n[r]=="string";r+=2)if(n[r]==="class"&&vU(n[r+1].toLowerCase(),t,0)!==-1)return!0}else if(NI(e))return!1;if(r=n.indexOf(1,r),r>-1){let o;for(;++r<n.length&&typeof(o=n[r])=="string";)if(o.toLowerCase()===t)return!0}return!1}function NI(e){return e.type===4&&e.value!==pO}function _U(e,n,t){let i=e.type===4&&!t?pO:e.value;return n===i}function yU(e,n,t){let i=4,r=e.attrs,o=r!==null?IU(r):0,l=!1;for(let p=0;p<n.length;p++){let C=n[p];if(typeof C=="number"){if(!l&&!bs(i)&&!bs(C))return!1;if(l&&bs(C))continue;l=!1,i=C|i&1;continue}if(!l)if(i&4){if(i=2|i&1,C!==""&&!_U(e,C,t)||C===""&&n.length===1){if(bs(i))return!1;l=!0}}else if(i&8){if(r===null||!CU(e,r,C,t)){if(bs(i))return!1;l=!0}}else{let w=n[++p],V=bU(C,r,NI(e),t);if(V===-1){if(bs(i))return!1;l=!0;continue}if(w!==""){let j;if(V>o?j="":j=r[V+1].toLowerCase(),i&2&&w!==j){if(bs(i))return!1;l=!0}}}}return bs(i)||l}function bs(e){return(e&1)===0}function bU(e,n,t,i){if(n===null)return-1;let r=0;if(i||!t){let o=!1;for(;r<n.length;){let l=n[r];if(l===e)return r;if(l===3||l===6)o=!0;else if(l===1||l===2){let p=n[++r];for(;typeof p=="string";)p=n[++r];continue}else{if(l===4)break;if(l===0){r+=4;continue}}r+=o?1:2}return-1}else return EU(n,e)}function fO(e,n,t=!1){for(let i=0;i<n.length;i++)if(yU(e,n[i],t))return!0;return!1}function SU(e){let n=e.attrs;if(n!=null){let t=n.indexOf(5);if((t&1)===0)return n[t+1]}return null}function IU(e){for(let n=0;n<e.length;n++){let t=e[n];if(b5(t))return n}return e.length}function EU(e,n){let t=e.indexOf(4);if(t>-1)for(t++;t<e.length;){let i=e[t];if(typeof i=="number")return-1;if(i===n)return t;t++}return-1}function wU(e,n){e:for(let t=0;t<n.length;t++){let i=n[t];if(e.length===i.length){for(let r=0;r<e.length;r++)if(e[r]!==i[r])continue e;return!0}}return!1}function dA(e,n){return e?":not("+n.trim()+")":n}function xU(e){let n=e[0],t=1,i=2,r="",o=!1;for(;t<e.length;){let l=e[t];if(typeof l=="string")if(i&2){let p=e[++t];r+="["+l+(p.length>0?'="'+p+'"':"")+"]"}else i&8?r+="."+l:i&4&&(r+=" "+l);else r!==""&&!bs(l)&&(n+=dA(o,r),r=""),i=l,o=o||!bs(i);t++}return r!==""&&(n+=dA(o,r)),n}function DU(e){return e.map(xU).join(",")}function TU(e){let n=[],t=[],i=1,r=2;for(;i<e.length;){let o=e[i];if(typeof o=="string")r===2?o!==""&&n.push(o,e[++i]):r===8&&t.push(o);else{if(!bs(r))break;r=o}i++}return t.length&&n.push(1,...t),n}var rr={};function LI(e,n,t,i,r,o,l,p,C,w,V){let j=nr+i,$=j+r,W=MU(j,$),se=typeof w=="function"?w():w;return W[Qt]={type:e,blueprint:W,template:t,queries:null,viewQuery:p,declTNode:n,data:W.slice().fill(null,j),bindingStartIndex:j,expandoStartIndex:$,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:typeof o=="function"?o():o,pipeRegistry:typeof l=="function"?l():l,firstChild:null,schemas:C,consts:se,incompleteFirstPass:!1,ssrId:V}}function MU(e,n){let t=[];for(let i=0;i<n;i++)t.push(i<e?null:rr);return t}function AU(e){let n=e.tView;return n===null||n.incompleteFirstPass?e.tView=LI(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):n}function FI(e,n,t,i,r,o,l,p,C,w,V){let j=n.blueprint.slice();return j[Ka]=r,j[Nt]=i|4|128|8|64|1024,(w!==null||e&&e[Nt]&2048)&&(j[Nt]|=2048),a5(j),j[wr]=j[Eu]=e,j[uo]=t,j[qa]=l||e&&e[qa],j[ei]=p||e&&e[ei],j[mu]=C||e&&e[mu]||null,
vendor: 56,577 bytes, line 9
9j[fo]=o,j[jv]=xV(),j[Wp]=V,j[XA]=w,j[ts]=n.type==2?e[ts]:j,j}function OU(e,n,t){let i=ia(n,e),r=AU(t),o=e[qa].rendererFactory,l=VI(e,FI(e,r,null,gO(t),i,n,null,o.createRenderer(i,t),null,null,null));return e[n.index]=l}function gO(e){let n=16;return e.signals?n=4096:e.onPush&&(n=64),n}function mO(e,n,t,i){if(t===0)return-1;let r=n.length;for(let o=0;o<t;o++)n.push(i),e.blueprint.push(i),e.data.push(null);return r}function VI(e,n){return e[Yp]?e[GM][Ss]=n:e[Yp]=n,e[GM]=n,n}function E(e=1){vO(ii(),Mt(),ra()+e,!1)}function vO(e,n,t,i){if(!i)if((n[Nt]&3)===3){let o=e.preOrderCheckHooks;o!==null&&av(n,o,t)}else{let o=e.preOrderHooks;o!==null&&lv(n,o,0,t)}Hc(t)}var Qv=(function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e})(Qv||{});function IS(e,n,t,i){let r=nn(null);try{let[o,l,p]=e.inputs[t],C=null;(l&Qv.SignalBased)!==0&&(C=n[o][Jo]),C!==null&&C.transformFn!==void 0?i=C.transformFn(i):p!==null&&(i=p.call(n,i)),e.setInput!==null?e.setInput(n,C,i,t,o):e5(n,C,o,i)}finally{nn(r)}}function CO(e,n,t,i,r){let o=ra(),l=i&2;try{Hc(-1),l&&n.length>nr&&vO(e,n,nr,!1),$n(l?2:0,r),t(i,r)}finally{Hc(o),$n(l?3:1,r)}}function Zv(e,n,t){FU(e,n,t),(t.flags&64)===64&&VU(e,n,t)}function UI(e,n,t=ia){let i=n.localNames;if(i!==null){let r=n.index+1;for(let o=0;o<i.length;o+=2){let l=i[o+1],p=l===-1?t(n,e):e[l];e[r++]=p}}}function RU(e,n,t,i){let o=i.get(OV,Y5)||t===ta.ShadowDom,l=e.selectRootElement(n,o);return PU(l),l}function PU(e){kU(e)}var kU=()=>null;function NU(e){return e==="class"?"className":e==="for"?"htmlFor":e==="formaction"?"formAction":e==="innerHtml"?"innerHTML":e==="readonly"?"readOnly":e==="tabindex"?"tabIndex":e}function uf(e,n,t,i,r,o,l,p){if(!p&&BI(n,e,t,i,r)){wu(n)&&LU(t,n.index);return}if(n.type&3){let C=ia(n,t);i=NU(i),r=l!=null?l(r,n.value||"",i):r,o.setProperty(C,i,r)}else n.type&12}function LU(e,n){let t=ea(n,e);t[Nt]&16||(t[Nt]|=64)}function FU(e,n,t){let i=t.directiveStart,r=t.directiveEnd;wu(t)&&OU(n,t,e.data[i+t.componentOffset]),e.firstCreatePass||Iv(t,n);let o=t.initialInputs;for(let l=i;l<r;l++){let p=e.data[l],C=qp(n,e,l,t);if(Au(C,n),o!==null&&jU(n,l-i,C,p,t,o),Xs(p)){let w=ea(t.index,n);w[uo]=qp(n,e,l,t)}}}function VU(e,n,t){let i=t.directiveStart,r=t.directiveEnd,o=t.index,l=jF();try{Hc(o);for(let p=i;p<r;p++){let C=e.data[p],w=n[p];rS(p),(C.hostBindings!==null||C.hostVars!==0||C.hostAttrs!==null)&&UU(C,w)}}finally{Hc(-1),rS(l)}}function UU(e,n){e.hostBindings!==null&&e.hostBindings(1,n)}function HI(e,n){let t=e.directiveRegistry,i=null;if(t)for(let r=0;r<t.length;r++){let o=t[r];fO(n,o.selectors,!1)&&(i??=[],Xs(o)?i.unshift(o):i.push(o))}return i}function HU(e,n,t,i,r,o){let l=ia(e,n);BU(n[ei],l,o,e.value,t,i,r)}function BU(e,n,t,i,r,o,l){if(o==null)e.removeAttribute(n,r,t);else{let p=l==null?Hr(o):l(o,i||"",r);e.setAttribute(n,r,p,t)}}function jU(e,n,t,i,r,o){let l=o[n];if(l!==null)for(let p=0;p<l.length;p+=2){let C=l[p],w=l[p+1];IS(i,t,C,w)}}function zU(e,n){let t=e[mu],i=t?t.get(ho,null):null;i&&i.handleError(n)}function BI(e,n,t,i,r){let o=e.inputs?.[i],l=e.hostDirectiveInputs?.[i],p=!1;if(l)for(let C=0;C<l.length;C+=2){let w=l[C],V=l[C+1],j=n.data[w];IS(j,t[w],V,r),p=!0}if(o)for(let C of o){let w=t[C],V=n.data[C];IS(V,w,i,r),p=!0}return p}function GU(e,n){let t=ea(n,e),i=t[Qt];$U(i,t);let r=t[Ka];r!==null&&t[Wp]===null&&(t[Wp]=Q5(r,t[mu])),$n(18),jI(i,t,t[uo]),$n(19,t[uo])}function $U(e,n){for(let t=n.length;t<e.blueprint.length;t++)n.push(e.blueprint[t])}function jI(e,n,t){CI(n);try{let i=e.viewQuery;i!==null&&fS(1,i,t);let r=e.template;r!==null&&CO(e,n,r,1,t),e.firstCreatePass&&(e.firstCreatePass=!1),n[Qa]?.finishViewCreation(e),e.staticContentQueries&&Z5(e,n),e.staticViewQueries&&fS(2,e.viewQuery,t);let o=e.components;o!==null&&WU(n,o)}catch(i){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),i}finally{n[Nt]&=-5,_I()}}function WU(e,n){for(let t=0;t<n.length;t++)GU(e,n[t])}function _O(e,n,t,i){let r=nn(null);try{let o=n.tView,p=e[Nt]&4096?4096:16,C=FI(e,o,t,p,null,n,null,null,i?.injector??null,i?.embeddedViewInjector??null,i?.dehydratedView??null),w=e[n.index];C[Lc]=w;let V=e[Qa];return V!==null&&(C[Qa]=V.createEmbeddedView(o)),jI(o,C,t),C}finally{nn(r)}}function ES(e,n){return!n||n.firstChild===null||U5(e)}var YU;function zI(e,n){return YU(e,n)}var na=(function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e})(na||{});function GI(e){return(e.flags&32)===32}function hu(e,n,t,i,r){if(i!=null){let o,l=!1;Xa(i)?o=i:kl(i)&&(l=!0,i=i[Ka]);let p=Js(i);e===0&&t!==null?r==null?cO(n,t,p):Dv(n,t,p,r||null,!0):e===1&&t!==null?Dv(n,t,p,r||null,!0):e===2?uU(n,p,l):e===3&&n.destroyNode(p),o!=null&&iH(n,e,o,t,r)}}function qU(e,n){yO(e,n),n[Ka]=null,n[fo]=null}function QU(e,n,t,i,r,o){i[Ka]=r,i[fo]=n,Xv(e,i,t,1,r,o)}function yO(e,n){n[qa].changeDetectionScheduler?.notify(9),Xv(e,n,n[ei],2,null,null)}function ZU(e){let n=e[Yp];if(!n)return H3(e[Qt],e);for(;n;){let t=null;if(kl(n))t=n[Yp];else{let i=n[Ro];i&&(t=i)}if(!t){for(;n&&!n[Ss]&&n!==e;)kl(n)&&H3(n[Qt],n),n=n[wr];n===null&&(n=e),kl(n)&&H3(n[Qt],n),t=n&&n[Ss]}n=t}}function $I(e,n){let t=e[vu],i=t.indexOf(n);t.splice(i,1)}function bO(e,n){if(xu(n))return;let t=n[ei];t.destroyNode&&Xv(e,n,t,3,null,null),ZU(n)}function H3(e,n){if(xu(n))return;let t=nn(null);try{n[Nt]&=-129,n[Nt]|=256,n[es]&&Fp(n[es]),XU(e,n),KU(e,n),n[Qt].type===1&&n[ei].destroy();let i=n[Lc];if(i!==null&&Xa(n[wr])){i!==n[wr]&&$I(i,n);let r=n[Qa];r!==null&&r.detachView(e)}uS(n)}finally{nn(t)}}function KU(e,n){let t=e.cleanup,i=n[mv];if(t!==null)for(let l=0;l<t.length-1;l+=2)if(typeof t[l]=="string"){let p=t[l+3];p>=0?i[p]():i[-p].unsubscribe(),l+=2}else{let p=i[t[l+1]];t[l].call(p)}i!==null&&(n[mv]=null);let r=n[Pl];if(r!==null){n[Pl]=null;for(let l=0;l<r.length;l++){let p=r[l];p()}}let o=n[Fc];if(o!==null){n[Fc]=null;for(let l of o)l.destroy()}}function XU(e,n){let t;if(e!=null&&(t=e.destroyHooks)!=null)for(let i=0;i<t.length;i+=2){let r=n[t[i]];if(!(r instanceof Bc)){let o=t[i+1];if(Array.isArray(o))for(let l=0;l<o.length;l+=2){let p=r[o[l]],C=o[l+1];$n(4,p,C);try{C.call(p)}finally{$n(5,p,C)}}else{$n(4,r,o);try{o.call(r)}finally{$n(5,r,o)}}}}}function SO(e,n,t){return JU(e,n.parent,t)}function JU(e,n,t){let i=n;for(;i!==null&&i.type&168;)n=i,i=n.parent;if(i===null)return t[Ka];if(wu(i)){let{encapsulation:r}=e.data[i.directiveStart+i.componentOffset];if(r===ta.None||r===ta.Emulated)return null}return ia(i,t)}function IO(e,n,t){return tH(e,n,t)}function eH(e,n,t){return e.type&40?ia(e,t):null}var tH=eH,uA;function Kv(e,n,t,i){let r=SO(e,i,n),o=n[ei],l=i.parent||n[fo],p=IO(l,i,n);if(r!=null)if(Array.isArray(t))for(let C=0;C<t.length;C++)cA(o,r,t[C],p,!1);else cA(o,r,t,p,!1);uA!==void 0&&uA(o,i,n,t,r)}function jp(e,n){if(n!==null){let t=n.type;if(t&3)return ia(n,e);if(t&4)return wS(-1,e[n.index]);if(t&8){let i=n.child;if(i!==null)return jp(e,i);{let r=e[n.index];return Xa(r)?wS(-1,r):Js(r)}}else{if(t&128)return jp(e,n.next);if(t&32)return zI(n,e)()||Js(e[n.index]);{let i=EO(e,n);if(i!==null){if(Array.isArray(i))return i[0];let r=Uc(e[ts]);return jp(r,i)}else return jp(e,n.next)}}}return null}function EO(e,n){if(n!==null){let i=e[ts][fo],r=n.projection;return i.projection[r]}return null}function wS(e,n){let t=Ro+e+1;if(t<n.length){let i=n[t],r=i[Qt].firstChild;if(r!==null)return jp(i,r)}return n[Vc]}function WI(e,n,t,i,r,o,l){for(;t!=null;){if(t.type===128){t=t.next;continue}let p=i[t.index],C=t.type;if(l&&n===0&&(p&&Au(Js(p),i),t.flags|=2),!GI(t))if(C&8)WI(e,n,t.child,i,r,o,!1),hu(n,e,r,p,o);else if(C&32){let w=zI(t,i),V;for(;V=w();)hu(n,e,r,V,o);hu(n,e,r,p,o)}else C&16?wO(e,n,i,t,r,o):hu(n,e,r,p,o);t=l?t.projectionNext:t.next}}function Xv(e,n,t,i,r,o){WI(t,i,e.firstChild,n,r,o,!1)}function nH(e,n,t){let i=n[ei],r=SO(e,t,n),o=t.parent||n[fo],l=IO(o,t,n);wO(i,0,n,t,r,l)}function wO(e,n,t,i,r,o){let l=t[ts],C=l[fo].projection[i.projection];if(Array.isArray(C))for(let w=0;w<C.length;w++){let V=C[w];hu(n,e,r,V,o)}else{let w=C,V=l[wr];U5(i)&&(w.flags|=128),WI(e,n,w,V,r,o,!0)}}function iH(e,n,t,i,r){let o=t[Vc],l=Js(t);o!==l&&hu(n,e,i,o,r);for(let p=Ro;p<t.length;p++){let C=t[p];Xv(C[Qt],C,e,n,i,o)}}function rH(e,n,t,i,r){if(n)r?e.addClass(t,i):e.removeClass(t,i);else{let o=i.indexOf("-")===-1?void 0:na.DashCase;r==null?e.removeStyle(t,i,o):(typeof r=="string"&&r.endsWith("!important")&&(r=r.slice(0,-10),o|=na.Important),e.setStyle(t,i,r,o))}}function Tv(e,n,t,i,r=!1){for(;t!==null;){if(t.type===128){t=r?t.projectionNext:t.next;continue}let o=n[t.index];o!==null&&i.push(Js(o)),Xa(o)&&oH(o,i);let l=t.type;if(l&8)Tv(e,n,t.child,i);else if(l&32){let p=zI(t,n),C;for(;C=p();)i.push(C)}else if(l&16){let p=EO(n,t);if(Array.isArray(p))i.push(...p);else{let C=Uc(n[ts]);Tv(C[Qt],C,p,i,!0)}}t=r?t.projectionNext:t.next}return i}function oH(e,n){for(let t=Ro;t<e.length;t++){let i=e[t],r=i[Qt].firstChild;r!==null&&Tv(i[Qt],i,r,n)}e[Vc]!==e[Ka]&&n.push(e[Vc])}function xO(e){if(e[pu]!==null){for(let n of e[pu])n.impl.addSequence(n);e[pu].length=0}}var DO=[];function sH(e){return e[es]??aH(e)}function aH(e){let n=DO.pop()??Object.create(cH);return n.lView=e,n}function lH(e){e.lView[es]!==e&&(e.lView=null,DO.push(e))}var cH=U(k({},lu),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{Du(e.lView)},consumerOnSignalRead(){this.lView[es]=this}});function dH(e){let n=e[es]??Object.create(uH);return n.lView=e,n}var uH=U(k({},lu),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{let n=Uc(e.lView);for(;n&&!TO(n[Qt]);)n=Uc(n);n&&l5(n)},consumerOnSignalRead(){this.lView[es]=this}});function TO(e){return e.type!==2}function MO(e){if(e[Fc]===null)return;let n=!0;for(;n;){let t=!1;for(let i of e[Fc])i.dirty&&(t=!0,i.zone===null||Zone.current===i.zone?i.run():i.zone.run(()=>i.run()));n=t&&!!(e[Nt]&8192)}}var hH=100;function AO(e,n=!0,t=0){let r=e[qa].rendererFactory,o=!1;o||r.begin?.();try{pH(e,t)}catch(l){throw n&&zU(e,l),l}finally{o||r.end?.()}}function pH(e,n){let t=h5();try{_v(!0),xS(e,n);let i=0;for(;Gv(e);){if(i===hH)throw new Ye(103,!1);i++,xS(e,1)}}finally{_v(t)}}function fH(e,n,t,i){if(xu(n))return;let r=n[Nt],o=!1,l=!1;CI(n);let p=!0,C=null,w=null;o||(TO(e)?(w=sH(n),C=Lp(w)):w3()===null?(p=!1,w=dH(n),C=Lp(w)):n[es]&&(Fp(n[es]),n[es]=null));try{a5(n),UF(e.bindingStartIndex),t!==null&&CO(e,n,t,2,i);let V=(r&3)===3;if(!o)if(V){let W=e.preOrderCheckHooks;W!==null&&av(n,W,null)}else{let W=e.preOrderHooks;W!==null&&lv(n,W,0,null),V3(n,0)}if(l||gH(n),MO(n),OO(n,0),e.contentQueries!==null&&Z5(e,n),!o)if(V){let W=e.contentCheckHooks;W!==null&&av(n,W)}else{let W=e.contentHooks;W!==null&&lv(n,W,1),V3(n,1)}vH(e,n);let j=e.components;j!==null&&PO(n,j,0);let $=e.viewQuery;if($!==null&&fS(2,$,i),!o)if(V){let W=e.viewCheckHooks;W!==null&&av(n,W)}else{let W=e.viewHooks;W!==null&&lv(n,W,2),V3(n,2)}if(e.firstUpdatePass===!0&&(e.firstUpdatePass=!1),n[F3]){for(let W of n[F3])W();n[F3]=null}o||(xO(n),n[Nt]&=-73)}catch(V){throw o||Du(n),V}finally{w!==null&&(q2(w,C),p&&lH(w)),_I()}}function OO(e,n){for(let t=j5(e);t!==null;t=z5(t))for(let i=Ro;i<t.length;i++){let r=t[i];RO(r,n)}}function gH(e){for(let n=j5(e);n!==null;n=z5(n)){if(!(n[Nt]&2))continue;let t=n[vu];for(let i=0;i<t.length;i++){let r=t[i];l5(r)}}}function mH(e,n,t){$n(18);let i=ea(n,e);RO(i,t),$n(19,i[uo])}function RO(e,n){dI(e)&&xS(e,n)}function xS(e,n){let i=e[Qt],r=e[Nt],o=e[es],l=!!(n===0&&r&16);if(l||=!!(r&64&&n===0),l||=!!(r&1024),l||=!!(o?.dirty&&Q2(o)),l||=!1,o&&(o.dirty=!1),e[Nt]&=-9217,l)fH(i,e,i.template,e[uo]);else if(r&8192){MO(e),OO(e,1);let p=i.components;p!==null&&PO(e,p,1),xO(e)}}function PO(e,n,t){for(let i=0;i<n.length;i++)mH(e,n[i],t)}function vH(e,n){let t=e.hostBindingOpCodes;if(t!==null)try{for(let i=0;i<t.length;i++){let r=t[i];if(r<0)Hc(~r);else{let o=r,l=t[++i],p=t[++i];BF(l,o);let C=n[o];$n(24,C),p(2,C),$n(25,C)}}}finally{Hc(-1)}}function YI(e,n){let t=h5()?64:1088;for(e[qa].changeDetectionScheduler?.notify(n);e;){e[Nt]|=t;let i=Uc(e);if(Cv(e)&&!i)return e;e=i}return null}function kO(e,n,t,i){return[e,!0,0,n,null,i,null,t,null,null]}function NO(e,n,t,i=!0){let r=n[Qt];if(CH(r,n,e,t),i){let l=wS(t,e),p=n[ei],C=p.parentNode(e[Vc]);C!==null&&QU(r,e[fo],p,n,C,l)}let o=n[Wp];o!==null&&o.firstChild!==null&&(o.firstChild=null)}function DS(e,n){if(e.length<=Ro)return;let t=Ro+n,i=e[t];if(i){let r=i[Lc];r!==null&&r!==e&&$I(r,i),n>0&&(e[t-1][Ss]=i[Ss]);let o=fv(e,Ro+n);qU(i[Qt],i);let l=o[Qa];l!==null&&l.detachView(o[Qt]),i[wr]=null,i[Ss]=null,i[Nt]&=-129}return i}function CH(e,n,t,i){let r=Ro+i,o=t.length;i>0&&(t[r-1][Ss]=n),i<o-Ro?(n[Ss]=t[r],jA(t,Ro+i,n)):(t.push(n),n[Ss]=null),n[wr]=t;let l=n[Lc];l!==null&&t!==l&&LO(l,n);let p=n[Qa];p!==null&&p.insertView(e),nS(n),n[Nt]|=128}function LO(e,n){let t=e[vu],i=n[wr];if(kl(i))e[Nt]|=2;else{let r=i[wr][ts];n[ts]!==r&&(e[Nt]|=2)}t===null?e[vu]=[n]:t.push(n)}var Zp=class{_lView;_cdRefInjectingView;notifyErrorHandler;_appRef=null;_attachedToViewContainer=!1;get rootNodes(){let n=this._lView,t=n[Qt];return Tv(t,n,t.firstChild,[])}constructor(n,t,i=!0){this._lView=n,this._cdRefInjectingView=t,this.notifyErrorHandler=i}get context(){return this._lView[uo]}set context(n){this._lView[uo]=n}get destroyed(){return xu(this._lView)}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){let n=this._lView[wr];if(Xa(n)){let t=n[vv],i=t?t.indexOf(this):-1;i>-1&&(DS(n,i),fv(t,i))}this._attachedToViewContainer=!1}bO(this._lView[Qt],this._lView)}onDestroy(n){c5(this._lView,n)}markForCheck(){YI(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[Nt]&=-129}reattach(){nS(this._lView),this._lView[Nt]|=128}detectChanges(){this._lView[Nt]|=1024,AO(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new Ye(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let n=Cv(this._lView),t=this._lView[Lc];t!==null&&!n&&$I(t,this._lView),yO(this._lView[Qt],this._lView)}attachToAppRef(n){if(this._attachedToViewContainer)throw new Ye(902,!1);this._appRef=n;let t=Cv(this._lView),i=this._lView[Lc];i!==null&&!t&&LO(i,this._lView),nS(this._lView)}};var ir=(()=>{class e{static __NG_ELEMENT_ID__=bH}return e})(),_H=ir,yH=class extends _H{_declarationLView;_declarationTContainer;elementRef;constructor(n,t,i){super(),this._declarationLView=n,this._declarationTContainer=t,this.elementRef=i}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(n,t){return this.createEmbeddedViewImpl(n,t)}createEmbeddedViewImpl(n,t,i){let r=_O(this._declarationLView,this._declarationTContainer,n,{embeddedViewInjector:t,dehydratedView:i});return new Zp(r)}};function bH(){return Jv(xr(),Mt())}function Jv(e,n){return e.type&4?new yH(n,e,Mu(e,n)):null}function hf(e,n,t,i,r){let o=e.data[n];if(o===null)o=SH(e,n,t,i,r),HF()&&(o.flags|=32);else if(o.type&64){o.type=t,o.value=i,o.attrs=r;let l=FF();o.injectorIndex=l===null?-1:l.injectorIndex}return Yc(o,!0),o}function SH(e,n,t,i,r){let o=u5(),l=fI(),p=l?o:o&&o.parent,C=e.data[n]=EH(e,p,t,n,i,r);return IH(e,C,o,l),C}function IH(e,n,t,i){e.firstChild===null&&(e.firstChild=n),t!==null&&(i?t.child==null&&n.parent!==null&&(t.child=n):t.next===null&&(t.next=n,n.prev=t))}function EH(e,n,t,i,r,o){let l=n?n.injectorIndex:-1,p=0;return d5()&&(p|=128),{type:t,index:i,insertBeforeIndex:null,injectorIndex:l,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:p,providerIndexes:0,value:r,attrs:o,mergedAttrs:null,localNames:null,initialInputs:null,inputs:null,hostDirectiveInputs:null,outputs:null,hostDirectiveOutputs:null,directiveToIndex:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:n,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}var xde=new RegExp(`^(\\d+)*(${AV}|${MV})*(.*)`);var wH=()=>null;function TS(e,n){return wH(e,n)}var xH=class{},FO=class{},MS=class{resolveComponentFactory(n){throw Error(`No component factory found for ${co(n)}.`)}},Ul=class{static NULL=new MS},Ll=class{},Lt=(()=>{class e{destroyNode=null;static __NG_ELEMENT_ID__=()=>DH()}return e})();function DH(){let e=Mt(),n=xr(),t=ea(n.index,e);return(kl(t)?t:e)[ei]}var TH=(()=>{class e{static \u0275prov=le({token:e,providedIn:"root",factory:()=>null})}return e})();var B3={},AS=class{injector;parentInjector;constructor(n,t){this.injector=n,this.parentInjector=t}get(n,t,i){i=Vv(i);let r=this.injector.get(n,B3,i);return r!==B3||t===B3?r:this.parentInjector.get(n,t,i)}};function OS(e,n,t){let i=t?e.styles:null,r=t?e.classes:null,o=0;if(n!==null)for(let l=0;l<n.length;l++){let p=n[l];if(typeof p=="number")o=p;else if(o==1)r=q3(r,p);else if(o==2){let C=p,w=n[++l];i=q3(i,C+": "+w+";")}}t?e.styles=i:e.stylesWithoutHost=i,t?e.classes=r:e.classesWithoutHost=r}function A(e,n=zt.Default){let t=Mt();if(t===null)return ae(e,n);let i=xr();return T5(i,t,gr(e),n)}function VO(){let e="invalid";throw new Error(e)}function qI(e,n,t,i,r){let o=i===null?null:{"":-1},l=r(e,t);if(l!==null){let p,C=null,w=null,V=AH(l);V===null?p=l:[p,C,w]=V,PH(e,n,t,p,o,C,w)}o!==null&&i!==null&&MH(t,i,o)}function MH(e,n,t){let i=e.localNames=[];for(let r=0;r<n.length;r+=2){let o=t[n[r+1]];if(o==null)throw new Ye(-301,!1);i.push(n[r],o)}}function AH(e){let n=null,t=!1;for(let l=0;l<e.length;l++){let p=e[l];if(l===0&&Xs(p)&&(n=p),p.findHostDirectiveDefs!==null){t=!0;break}}if(!t)return null;let i=null,r=null,o=null;for(let l of e)l.findHostDirectiveDefs!==null&&(i??=[],r??=new Map,o??=new Map,OH(l,i,o,r)),l===n&&(i??=[],i.push(l));return i!==null?(i.push(...n===null?e:e.slice(1)),[i,r,o]):null}function OH(e,n,t,i){let r=n.length;e.findHostDirectiveDefs(e,n,i),t.set(e,[r,n.length-1])}function RH(e,n,t){n.componentOffset=t,(e.components??=[]).push(n.index)}function PH(e,n,t,i,r,o,l){let p=i.length,C=!1;for(let $=0;$<p;$++){let W=i[$];!C&&Xs(W)&&(C=!0,RH(e,t,$)),sS(Iv(t,n),e,W.type)}UH(t,e.data.length,p);for(let $=0;$<p;$++){let W=i[$];W.providersResolver&&W.providersResolver(W)}let w=!1,V=!1,j=mO(e,n,p,null);p>0&&(t.directiveToIndex=new Map);for(let $=0;$<p;$++){let W=i[$];if(t.mergedAttrs=_u(t.mergedAttrs,W.hostAttrs),NH(e,t,n,j,W),VH(j,W,r),l!==null&&l.has(W)){let[be,Ve]=l.get(W);t.directiveToIndex.set(W.type,[j,be+t.directiveStart,Ve+t.directiveStart])}else(o===null||!o.has(W))&&t.directiveToIndex.set(W.type,j);W.contentQueries!==null&&(t.flags|=4),(W.hostBindings!==null||W.hostAttrs!==null||W.hostVars!==0)&&(t.flags|=64);let se=W.type.prototype;!w&&(se.ngOnChanges||se.ngOnInit||se.ngDoCheck)&&((e.preOrderHooks??=[]).push(t.index),w=!0),!V&&(se.ngOnChanges||se.ngDoCheck)&&((e.preOrderCheckHooks??=[]).push(t.index),V=!0),j++}kH(e,t,o)}function kH(e,n,t){for(let i=n.directiveStart;i<n.directiveEnd;i++){let r=e.data[i];if(t===null||!t.has(r))hA(0,n,r,i),hA(1,n,r,i),fA(n,i,!1);else{let o=t.get(r);pA(0,n,o,i),pA(1,n,o,i),fA(n,i,!0)}}}function hA(e,n,t,i){let r=e===0?t.inputs:t.outputs;for(let o in r)if(r.hasOwnProperty(o)){let l;e===0?l=n.inputs??={}:l=n.outputs??={},l[o]??=[],l[o].push(i),UO(n,o)}}function pA(e,n,t,i){let r=e===0?t.inputs:t.outputs;for(let o in r)if(r.hasOwnProperty(o)){let l=r[o],p;e===0?p=n.hostDirectiveInputs??={}:p=n.hostDirectiveOutputs??={},p[l]??=[],p[l].push(i,o),UO(n,l)}}function UO(e,n){n==="class"?e.flags|=8:n==="style"&&(e.flags|=16)}function fA(e,n,t){let{attrs:i,inputs:r,hostDirectiveInputs:o}=e;if(i===null||!t&&r===null||t&&o===null||NI(e)){e.initialInputs??=[],e.initialInputs.push(null);return}let l=null,p=0;for(;p<i.length;){let C=i[p];if(C===0){p+=4;continue}else if(C===5){p+=2;continue}else if(typeof C=="number")break;if(!t&&r.hasOwnProperty(C)){let w=r[C];for(let V of w)if(V===n){l??=[],l.push(C,i[p+1]);break}}else if(t&&o.hasOwnProperty(C)){let w=o[C];for(let V=0;V<w.length;V+=2)if(w[V]===n){l??=[],l.push(w[V+1],i[p+1]);break}}p+=2}e.initialInputs??=[],e.initialInputs.push(l)}function NH(e,n,t,i,r){e.data[i]=r;let o=r.factory||(r.factory=kc(r.type,!0)),l=new Bc(o,Xs(r),A);e.blueprint[i]=l,t[i]=l,LH(e,n,i,mO(e,t,r.hostVars,rr),r)}function LH(e,n,t,i,r){let o=r.hostBindings;if(o){let l=e.hostBindingOpCodes;l===null&&(l=e.hostBindingOpCodes=[]);let p=~n.index;FH(l)!=p&&l.push(p),l.push(t,i,o)}}function FH(e){let n=e.length;for(;n>0;){let t=e[--n];if(typeof t=="number"&&t<0)return t}return 0}function VH(e,n,t){if(t){if(n.exportAs)for(let i=0;i<n.exportAs.length;i++)t[n.exportAs[i]]=e;Xs(n)&&(t[""]=e)}}function UH(e,n,t){e.flags|=1,e.directiveStart=n,e.directiveEnd=n+t,e.providerIndexes=n}function HO(e,n,t,i,r,o,l,p){let C=n.consts,w=Cu(C,l),V=hf(n,e,2,i,w);return o&&qI(n,t,V,Cu(C,p),r),V.mergedAttrs=_u(V.mergedAttrs,V.attrs),V.attrs!==null&&OS(V,V.attrs,!1),V.mergedAttrs!==null&&OS(V,V.mergedAttrs,!0),n.queries!==null&&n.queries.elementStart(n,V),V}function BO(e,n){yI(e,n),cI(n)&&e.queries.elementEnd(n)}var Mv=class extends Ul{ngModule;constructor(n){super(),this.ngModule=n}resolveComponentFactory(n){let t=Nl(n);return new zc(t,this.ngModule)}};function HH(e){return Object.keys(e).map(n=>{let[t,i,r]=e[n],o={propName:t,templateName:n,isSignal:(i&Qv.SignalBased)!==0};return r&&(o.transform=r),o})}function BH(e){return Object.keys(e).map(n=>({propName:e[n],templateName:n}))}function jH(e,n,t){let i=n instanceof wi?n:n?.injector;return i&&e.getStandaloneInjector!==null&&(i=e.getStandaloneInjector(i)||i),i?new AS(t,i):t}function zH(e){let n=e.get(Ll,null);if(n===null)throw new Ye(407,!1);let t=e.get(TH,null),i=e.get(jc,null);return{rendererFactory:n,sanitizer:t,changeDetectionScheduler:i}}function GH(e,n){let t=(e.selectors[0][0]||"div").toLowerCase();return lO(n,t,t==="svg"?r5:t==="math"?wF:null)}var zc=class extends FO{componentDef;ngModule;selector;componentType;ngContentSelectors;isBoundToModule;cachedInputs=null;cachedOutputs=null;get inputs(){return this.cachedInputs??=HH(this.componentDef.inputs),this.cachedInputs}get outputs(){return this.cachedOutputs??=BH(this.componentDef.outputs),this.cachedOutputs}constructor(n,t){super(),this.componentDef=n,this.ngModule=t,this.componentType=n.type,this.selector=DU(n.selectors),this.ngContentSelectors=n.ngContentSelectors??[],this.isBoundToModule=!!t}create(n,t,i,r){$n(22);let o=nn(null);try{let l=this.componentDef,p=i?["ng-version","19.2.18"]:TU(this.componentDef.selectors[0]),C=LI(0,null,null,1,0,null,null,null,null,[p],null),w=jH(l,r||this.ngModule,n),V=zH(w),j=V.rendererFactory.createRenderer(null,l),$=i?RU(j,i,l.encapsulation,w):GH(l,j),W=FI(null,C,null,512|gO(l),null,null,V,j,w,null,Q5($,w,!0));W[nr]=$,CI(W);let se=null;try{let be=HO(nr,C,W,"#host",()=>[this.componentDef],!0,0);$&&(dO(j,$,be),Au($,W)),Zv(C,W,be),AI(C,be,W),BO(C,be),t!==void 0&&$H(be,this.ngContentSelectors,t),se=ea(be.index,W),W[uo]=se[uo],jI(C,W,null)}catch(be){throw se!==null&&uS(se),uS(W),be}finally{$n(23),_I()}return new RS(this.componentType,W)}finally{nn(o)}}},RS=class extends xH{_rootLView;instance;hostView;changeDetectorRef;componentType;location;previousInputValues=null;_tNode;constructor(n,t){super(),this._rootLView=t,this._tNode=s5(t[Qt],nr),this.location=Mu(this._tNode,t),this.instance=ea(this._tNode.index,t)[uo],this.hostView=this.changeDetectorRef=new Zp(t,void 0,!1),this.componentType=n}setInput(n,t){let i=this._tNode;if(this.previousInputValues??=new Map,this.previousInputValues.has(n)&&Object.is(this.previousInputValues.get(n),t))return;let r=this._rootLView,o=BI(i,r[Qt],r,n,t);this.previousInputValues.set(n,t);let l=ea(i.index,r);YI(l,1)}get injector(){return new Pc(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(n){this.hostView.onDestroy(n)}};function $H(e,n,t){let i=e.projection=[];for(let r=0;r<n.length;r++){let o=t[r];i.push(o!=null&&o.length?Array.from(o):null)}}var Nn=(()=>{class e{static __NG_ELEMENT_ID__=WH}return e})();function WH(){let e=xr();return zO(e,Mt())}var YH=Nn,jO=class extends YH{_lContainer;_hostTNode;_hostLView;constructor(n,t,i){super(),this._lContainer=n,this._hostTNode=t,this._hostLView=i}get element(){return Mu(this._hostTNode,this._hostLView)}get injector(){return new Pc(this._hostTNode,this._hostLView)}get parentInjector(){let n=bI(this._hostTNode,this._hostLView);if(S5(n)){let t=bv(n,this._hostLView),i=yv(n),r=t[Qt].data[i+8];return new Pc(r,t)}else return new Pc(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(n){let t=gA(this._lContainer);return t!==null&&t[n]||null}get length(){return this._lContainer.length-Ro}createEmbeddedView(n,t,i){let r,o;typeof i=="number"?r=i:i!=null&&(r=i.index,o=i.injector);let l=TS(this._lContainer,n.ssrId),p=n.createEmbeddedViewImpl(t||{},o,l);return this.insertImpl(p,r,ES(this._hostTNode,l)),p}createComponent(n,t,i,r,o){let l=n&&!bF(n),p;if(l)p=t;else{let se=t||{};p=se.index,i=se.injector,r=se.projectableNodes,o=se.environmentInjector||se.ngModuleRef}let C=l?n:new zc(Nl(n)),w=i||this.parentInjector;if(!o&&C.ngModule==null){let be=(l?w:this.parentInjector).get(wi,null);be&&(o=be)}let V=Nl(C.componentType??{}),j=TS(this._lContainer,V?.id??null),$=j?.firstChild??null,W=C.create(w,r,$,o);return this.insertImpl(W.hostView,p,ES(this._hostTNode,j)),W}insert(n,t){return this.insertImpl(n,t,!0)}insertImpl(n,t,i){let r=n._lView;if(TF(r)){let p=this.indexOf(n);if(p!==-1)this.detach(p);else{let C=r[wr],w=new jO(C,C[fo],C[wr]);w.detach(w.indexOf(n))}}let o=this._adjustIndex(t),l=this._lContainer;return NO(l,r,o,i),n.attachToViewContainerRef(),jA(j3(l),o,n),n}move(n,t){return this.insert(n,t)}indexOf(n){let t=gA(this._lContainer);return t!==null?t.indexOf(n):-1}remove(n){let t=this._adjustIndex(n,-1),i=DS(this._lContainer,t);i&&(fv(j3(this._lContainer),t),bO(i[Qt],i))}detach(n){let t=this._adjustIndex(n,-1),i=DS(this._lContainer,t);return i&&fv(j3(this._lContainer),t)!=null?new Zp(i):null}_adjustIndex(n,t=0){return n??this.length+t}};function gA(e){return e[vv]}function j3(e){return e[vv]||(e[vv]=[])}function zO(e,n){let t,i=n[e.index];return Xa(i)?t=i:(t=kO(i,n,null,e),n[e.index]=t,VI(n,t)),QH(t,n,e,i),new jO(t,e,n)}function qH(e,n){let t=e[ei],i=t.createComment(""),r=ia(n,e),o=t.parentNode(r);return Dv(t,o,i,t.nextSibling(r),!1),i}var QH=XH,ZH=()=>!1;function KH(e,n,t){return ZH(e,n,t)}function XH(e,n,t,i){if(e[Vc])return;let r;t.type&8?r=Js(i):r=qH(n,t),e[Vc]=r}var PS=class e{queryList;matches=null;constructor(n){this.queryList=n}clone(){return new e(this.queryList)}setDirty(){this.queryList.setDirty()}},kS=class e{queries;constructor(n=[]){this.queries=n}createEmbeddedView(n){let t=n.queries;if(t!==null){let i=n.contentQueries!==null?n.contentQueries[0]:t.length,r=[];for(let o=0;o<i;o++){let l=t.getByIndex(o),p=this.queries[l.indexInDeclarationView];r.push(p.clone())}return new e(r)}return null}insertView(n){this.dirtyQueriesWithMatches(n)}detachView(n){this.dirtyQueriesWithMatches(n)}finishViewCreation(n){this.dirtyQueriesWithMatches(n)}dirtyQueriesWithMatches(n){for(let t=0;t<this.queries.length;t++)QI(n,t).matches!==null&&this.queries[t].setDirty()}},Av=class{flags;read;predicate;constructor(n,t,i=null){this.flags=t,this.read=i,typeof n=="string"?this.predicate=sB(n):this.predicate=n}},NS=class e{queries;constructor(n=[]){this.queries=n}elementStart(n,t){for(let i=0;i<this.queries.length;i++)this.queries[i].elementStart(n,t)}elementEnd(n){for(let t=0;t<this.queries.length;t++)this.queries[t].elementEnd(n)}embeddedTView(n){let t=null;for(let i=0;i<this.length;i++){let r=t!==null?t.length:0,o=this.getByIndex(i).embeddedTView(n,r);o&&(o.indexInDeclarationView=i,t!==null?t.push(o):t=[o])}return t!==null?new e(t):null}template(n,t){for(let i=0;i<this.queries.length;i++)this.queries[i].template(n,t)}getByIndex(n){return this.queries[n]}get length(){return this.queries.length}track(n){this.queries.push(n)}},LS=class e{metadata;matches=null;indexInDeclarationView=-1;crossesNgTemplate=!1;_declarationNodeIndex;_appliesToNextNode=!0;constructor(n,t=-1){this.metadata=n,this._declarationNodeIndex=t}elementStart(n,t){this.isApplyingToNode(t)&&this.matchTNode(n,t)}elementEnd(n){this._declarationNodeIndex===n.index&&(this._appliesToNextNode=!1)}template(n,t){this.elementStart(n,t)}embeddedTView(n,t){return this.isApplyingToNode(n)?(this.crossesNgTemplate=!0,this.addMatch(-n.index,t),new e(this.metadata)):null}isApplyingToNode(n){if(this._appliesToNextNode&&(this.metadata.flags&1)!==1){let t=this._declarationNodeIndex,i=n.parent;for(;i!==null&&i.type&8&&i.index!==t;)i=i.parent;return t===(i!==null?i.index:-1)}return this._appliesToNextNode}matchTNode(n,t){let i=this.metadata.predicate;if(Array.isArray(i))for(let r=0;r<i.length;r++){let o=i[r];this.matchTNodeWithReadOption(n,t,JH(t,o)),this.matchTNodeWithReadOption(n,t,cv(t,n,o,!1,!1))}else i===ir?t.type&4&&this.matchTNodeWithReadOption(n,t,-1):this.matchTNodeWithReadOption(n,t,cv(t,n,i,!1,!1))}matchTNodeWithReadOption(n,t,i){if(i!==null){let r=this.metadata.read;if(r!==null)if(r===et||r===Nn||r===ir&&t.type&4)this.addMatch(t.index,-2);else{let o=cv(t,n,r,!1,!1);o!==null&&this.addMatch(t.index,o)}else this.addMatch(t.index,i)}}addMatch(n,t){this.matches===null?this.matches=[n,t]:this.matches.push(n,t)}};function JH(e,n){let t=e.localNames;if(t!==null){for(let i=0;i<t.length;i+=2)if(t[i]===n)return t[i+1]}return null}function eB(e,n){return e.type&11?Mu(e,n):e.type&4?Jv(e,n):null}function tB(e,n,t,i){return t===-1?eB(n,e):t===-2?nB(e,n,i):qp(e,e[Qt],t,n)}function nB(e,n,t){if(t===et)return Mu(n,e);if(t===ir)return Jv(n,e);if(t===Nn)return zO(n,e)}function GO(e,n,t,i){let r=n[Qa].queries[i];if(r.matches===null){let o=e.data,l=t.matches,p=[];for(let C=0;l!==null&&C<l.length;C+=2){let w=l[C];if(w<0)p.push(null);else{let V=o[w];p.push(tB(n,V,l[C+1],t.metadata.read))}}r.matches=p}return r.matches}function FS(e,n,t,i){let r=e.queries.getByIndex(t),o=r.matches;if(o!==null){let l=GO(e,n,r,t);for(let p=0;p<o.length;p+=2){let C=o[p];if(C>0)i.push(l[p/2]);else{let w=o[p+1],V=n[-C];for(let j=Ro;j<V.length;j++){let $=V[j];$[Lc]===$[wr]&&FS($[Qt],$,w,i)}if(V[vu]!==null){let j=V[vu];for(let $=0;$<j.length;$++){let W=j[$];FS(W[Qt],W,w,i)}}}}}return i}function iB(e,n){return e[Qa].queries[n].queryList}function $O(e,n,t){let i=new dS((t&4)===4);return OF(e,n,i,i.destroy),(n[Qa]??=new kS).queries.push(new PS(i))-1}function rB(e,n,t){let i=ii();return i.firstCreatePass&&(WO(i,new Av(e,n,t),-1),(n&2)===2&&(i.staticViewQueries=!0)),$O(i,Mt(),n)}function oB(e,n,t,i){let r=ii();if(r.firstCreatePass){let o=xr();WO(r,new Av(n,t,i),o.index),aB(r,e),(t&2)===2&&(r.staticContentQueries=!0)}return $O(r,Mt(),t)}function sB(e){return e.split(",").map(n=>n.trim())}function WO(e,n,t){e.queries===null&&(e.queries=new NS),e.queries.track(new LS(n,t))}function aB(e,n){let t=e.contentQueries||(e.contentQueries=[]),i=t.length?t[t.length-1]:-1;n!==i&&t.push(e.queries.length-1,n)}function QI(e,n){return e.queries.getByIndex(n)}function lB(e,n){let t=e[Qt],i=QI(t,n);return i.crossesNgTemplate?FS(t,e,n,[]):GO(t,e,i,n)}function cB(e){let n=[],t=new Map;function i(r){let o=t.get(r);if(!o){let l=e(r);t.set(r,o=l.then(pB))}return o}return Ov.forEach((r,o)=>{let l=[];r.templateUrl&&l.push(i(r.templateUrl).then(w=>{r.template=w}));let p=typeof r.styles=="string"?[r.styles]:r.styles||[];if(r.styles=p,r.styleUrl&&r.styleUrls?.length)throw new Error("@Component cannot define both `styleUrl` and `styleUrls`. Use `styleUrl` if the component has one stylesheet, or `styleUrls` if it has multiple");if(r.styleUrls?.length){let w=r.styles.length,V=r.styleUrls;r.styleUrls.forEach((j,$)=>{p.push(""),l.push(i(j).then(W=>{p[w+$]=W,V.splice(V.indexOf(j),1),V.length==0&&(r.styleUrls=void 0)}))})}else r.styleUrl&&l.push(i(r.styleUrl).then(w=>{p.push(w),r.styleUrl=void 0}));let C=Promise.all(l).then(()=>fB(o));n.push(C)}),uB(),Promise.all(n).then(()=>{})}var Ov=new Map,dB=new Set;function uB(){let e=Ov;return Ov=new Map,e}function hB(){return Ov.size===0}function pB(e){return typeof e=="string"?e:e.text()}function fB(e){dB.delete(e)}var Gc=class{},ZI=class{};function YO(e,n){return new Kp(e,n??null,[])}var Kp=class extends Gc{ngModuleType;_parent;_bootstrapComponents=[];_r3Injector;instance;destroyCbs=[];componentFactoryResolver=new Mv(this);constructor(n,t,i,r=!0){super(),this.ngModuleType=n,this._parent=t;let o=$A(n);this._bootstrapComponents=hO(o.bootstrap),this._r3Injector=O5(n,t,[{provide:Gc,useValue:this},{provide:Ul,useValue:this.componentFactoryResolver},...i],co(n),new Set(["environment"])),r&&this.resolveInjectorInitializers()}resolveInjectorInitializers(){this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(this.ngModuleType)}get injector(){return this._r3Injector}destroy(){let n=this._r3Injector;!n.destroyed&&n.destroy(),this.destroyCbs.forEach(t=>t()),this.destroyCbs=null}onDestroy(n){this.destroyCbs.push(n)}},Rv=class extends ZI{moduleType;constructor(n){super(),this.moduleType=n}create(n){return new Kp(this.moduleType,n,[])}};function gB(e,n,t){return new Kp(e,n,t,!1)}var VS=class extends Gc{injector;componentFactoryResolver=new Mv(this);instance=null;constructor(n){super();let t=new $p([...n.providers,{provide:Gc,useValue:this},{provide:Ul,useValue:this.componentFactoryResolver}],n.parent||Hv(),n.debugName,new Set(["environment"]));this.injector=t,n.runEnvironmentInitializers&&t.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(n){this.injector.onDestroy(n)}};function pf(e,n,t=null){return new VS({providers:e,parent:n,debugName:t,runEnvironmentInitializers:!0}).injector}var mB=(()=>{class e{_injector;cachedInjectors=new Map;constructor(t){this._injector=t}getOrCreateStandaloneInjector(t){if(!t.standalone)return null;if(!this.cachedInjectors.has(t)){let i=YA(!1,t.type),r=i.length>0?pf([i],this._injector,`Standalone[${t.type.name}]`):null;this.cachedInjectors.set(t,r)}return this.cachedInjectors.get(t)}ngOnDestroy(){try{for(let t of this.cachedInjectors.values())t!==null&&t.destroy()}finally{this.cachedInjectors.clear()}}static \u0275prov=le({token:e,providedIn:"environment",factory:()=>new e(ae(wi))})}return e})();function Me(e){return ef(()=>{let n=qO(e),t=U(k({},n),{decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===H5.OnPush,directiveDefs:null,pipeDefs:null,dependencies:n.standalone&&e.dependencies||null,getStandaloneInjector:n.standalone?r=>r.get(mB).getOrCreateStandaloneInjector(t):null,getExternalStyles:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||ta.Emulated,styles:e.styles||lo,_:null,schemas:e.schemas||null,tView:null,id:""});n.standalone&&lf("NgStandalone"),QO(t);let i=e.dependencies;return t.directiveDefs=mA(i,!1),t.pipeDefs=mA(i,!0),t.id=bB(t),t})}function vB(e){return Nl(e)||WA(e)}function CB(e){return e!==null}function We(e){return ef(()=>({type:e.type,bootstrap:e.bootstrap||lo,declarations:e.declarations||lo,imports:e.imports||lo,exports:e.exports||lo,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function _B(e,n){if(e==null)return Ks;let t={};for(let i in e)if(e.hasOwnProperty(i)){let r=e[i],o,l,p,C;Array.isArray(r)?(p=r[0],o=r[1],l=r[2]??o,C=r[3]||null):(o=r,l=r,p=Qv.None,C=null),t[o]=[i,p,C],n[o]=l}return t}function yB(e){if(e==null)return Ks;let n={};for(let t in e)e.hasOwnProperty(t)&&(n[e[t]]=t);return n}function He(e){return ef(()=>{let n=qO(e);return QO(n),n})}function ns(e){return{type:e.type,name:e.name,factory:null,pure:e.pure!==!1,standalone:e.standalone??!0,onDestroy:e.type.prototype.ngOnDestroy||null}}function qO(e){let n={};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:n,inputConfig:e.inputs||Ks,exportAs:e.exportAs||null,standalone:e.standalone??!0,signals:e.signals===!0,selectors:e.selectors||lo,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:_B(e.inputs,n),outputs:yB(e.outputs),debugInfo:null}}function QO(e){e.features?.forEach(n=>n(e))}function mA(e,n){if(!e)return null;let t=n?cF:vB;return()=>(typeof e=="function"?e():e).map(i=>t(i)).filter(CB)}function bB(e){let n=0,t=typeof e.consts=="function"?"":e.consts,i=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,t,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];for(let o of i.join("|"))n=Math.imul(31,n)+o.charCodeAt(0)<<0;return n+=2147483648,"c"+n}function SB(e){return Object.getPrototypeOf(e.prototype).constructor}function xt(e){let n=SB(e.type),t=!0,i=[e];for(;n;){let r;if(Xs(e))r=n.\u0275cmp||n.\u0275dir;else{if(n.\u0275cmp)throw new Ye(903,!1);r=n.\u0275dir}if(r){if(t){i.push(r);let l=e;l.inputs=z3(e.inputs),l.declaredInputs=z3(e.declaredInputs),l.outputs=z3(e.outputs);let p=r.hostBindings;p&&DB(e,p);let C=r.viewQuery,w=r.contentQueries;if(C&&wB(e,C),w&&xB(e,w),IB(e,r),BL(e.outputs,r.outputs),Xs(r)&&r.data.animation){let V=e.data;V.animation=(V.animation||[]).concat(r.data.animation)}}let o=r.features;if(o)for(let l=0;l<o.length;l++){let p=o[l];p&&p.ngInherit&&p(e),p===xt&&(t=!1)}}n=Object.getPrototypeOf(n)}EB(i)}function IB(e,n){for(let t in n.inputs){if(!n.inputs.hasOwnProperty(t)||e.inputs.hasOwnProperty(t))continue;let i=n.inputs[t];i!==void 0&&(e.inputs[t]=i,e.declaredInputs[t]=n.declaredInputs[t])}}function EB(e){let n=0,t=null;for(let i=e.length-1;i>=0;i--){let r=e[i];r.hostVars=n+=r.hostVars,r.hostAttrs=_u(r.hostAttrs,t=_u(t,r.hostAttrs))}}function z3(e){return e===Ks?{}:e===lo?[]:e}function wB(e,n){let t=e.viewQuery;t?e.viewQuery=(i,r)=>{n(i,r),t(i,r)}:e.viewQuery=n}function xB(e,n){let t=e.contentQueries;t?e.contentQueries=(i,r,o)=>{n(i,r,o),t(i,r,o)}:e.contentQueries=n}function DB(e,n){let t=e.hostBindings;t?e.hostBindings=(i,r)=>{n(i,r),t(i,r)}:e.hostBindings=n}function qc(e){let n=t=>{let i=Array.isArray(e);t.hostDirectives===null?(t.findHostDirectiveDefs=ZO,t.hostDirectives=i?e.map(US):[e]):i?t.hostDirectives.unshift(...e.map(US)):t.hostDirectives.unshift(e)};return n.ngInherit=!0,n}function ZO(e,n,t){if(e.hostDirectives!==null)for(let i of e.hostDirectives)if(typeof i=="function"){let r=i();for(let o of r)vA(US(o),n,t)}else vA(i,n,t)}function vA(e,n,t){let i=WA(e.directive);TB(i.declaredInputs,e.inputs),ZO(i,n,t),t.set(i,e),n.push(i)}function US(e){return typeof e=="function"?{directive:gr(e),inputs:Ks,outputs:Ks}:{directive:gr(e.directive),inputs:CA(e.inputs),outputs:CA(e.outputs)}}function CA(e){if(e===void 0||e.length===0)return Ks;let n={};for(let t=0;t<e.length;t+=2)n[e[t]]=e[t+1];return n}function TB(e,n){for(let t in n)if(n.hasOwnProperty(t)){let i=n[t],r=e[t];e[i]=r}}function KO(e){return KI(e)?Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e:!1}function MB(e,n){if(Array.isArray(e))for(let t=0;t<e.length;t++)n(e[t]);else{let t=e[Symbol.iterator](),i;for(;!(i=t.next()).done;)n(i.value)}}function KI(e){return e!==null&&(typeof e=="function"||typeof e=="object")}function ff(e,n,t){return e[n]=t}function AB(e,n){return e[n]}function Po(e,n,t){let i=e[n];return Object.is(i,t)?!1:(e[n]=t,!0)}function Xp(e,n,t,i){let r=Po(e,n,t);return Po(e,n+1,i)||r}function XO(e,n,t,i,r){let o=Xp(e,n,t,i);return Po(e,n+2,r)||o}function OB(e,n,t,i,r,o){let l=Xp(e,n,t,i);return Xp(e,n+2,r,o)||l}function RB(e,n,t,i,r,o,l,p,C){let w=n.consts,V=hf(n,e,4,l||null,p||null);pI()&&qI(n,t,V,Cu(w,C),HI),V.mergedAttrs=_u(V.mergedAttrs,V.attrs),yI(n,V);let j=V.tView=LI(2,V,i,r,o,n.directiveRegistry,n.pipeRegistry,null,n.schemas,w,null);return n.queries!==null&&(n.queries.template(n,V),j.queries=n.queries.embeddedTView(V)),V}function JO(e,n,t,i,r,o,l,p,C,w){let V=t+nr,j=n.firstCreatePass?RB(V,n,e,i,r,o,l,p,C):n.data[V];Yc(j,!1);let $=PB(n,e,j,t);$v()&&Kv(n,e,$,j),Au($,e);let W=kO($,e,$,j);return e[V]=W,VI(e,W),KH(W,j,e),zv(j)&&Zv(n,e,j),C!=null&&UI(e,j,w),j}function ue(e,n,t,i,r,o,l,p){let C=Mt(),w=ii(),V=Cu(w.consts,o);return JO(C,w,e,n,t,i,r,V,l,p),ue}var PB=kB;function kB(e,n,t,i){return Wv(!0),n[ei].createComment("")}var XI=(()=>{class e{log(t){console.log(t)}warn(t){console.warn(t)}static \u0275fac=function(i){return new(i||e)};static \u0275prov=le({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();var JI=new me(""),gf=new me(""),eC=(()=>{class e{_ngZone;registry;_isZoneStable=!0;_callbacks=[];_taskTrackingZone=null;_destroyRef;constructor(t,i,r){this._ngZone=t,this.registry=i,lI()&&(this._destroyRef=ge(Es,{optional:!0})??void 0),eE||(NB(r),r.addToWindow(i)),this._watchAngularEvents(),t.run(()=>{this._taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){let t=this._ngZone.onUnstable.subscribe({next:()=>{this._isZoneStable=!1}}),i=this._ngZone.runOutsideAngular(()=>this._ngZone.onStable.subscribe({next:()=>{Rt.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}}));this._destroyRef?.onDestroy(()=>{t.unsubscribe(),i.unsubscribe()})}isStable(){return this._isZoneStable&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())queueMicrotask(()=>{for(;this._callbacks.length!==0;){let t=this._callbacks.pop();clearTimeout(t.timeoutId),t.doneCb()}});else{let t=this.getPendingTasks();this._callbacks=this._callbacks.filter(i=>i.updateCb&&i.updateCb(t)?(clearTimeout(i.timeoutId),!1):!0)}}getPendingTasks(){return this._taskTrackingZone?this._taskTrackingZone.macroTasks.map(t=>({source:t.source,creationLocation:t.creationLocation,data:t.data})):[]}addCallback(t,i,r){let o=-1;i&&i>0&&(o=setTimeout(()=>{this._callbacks=this._callbacks.filter(l=>l.timeoutId!==o),t()},i)),this._callbacks.push({doneCb:t,timeoutId:o,updateCb:r})}whenStable(t,i,r){if(r&&!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(t,i,r),this._runCallbacksIfReady()}registerApplication(t){this.registry.registerApplication(t,this)}unregisterApplication(t){this.registry.unregisterApplication(t)}findProviders(t,i,r){return[]}static \u0275fac=function(i){return new(i||e)(ae(Rt),ae(tC),ae(gf))};static \u0275prov=le({token:e,factory:e.\u0275fac})}return e})(),tC=(()=>{class e{_applications=new Map;registerApplication(t,i){this._applications.set(t,i)}unregisterApplication(t){this._applications.delete(t)}unregisterAllApplications(){this._applications.clear()}getTestability(t){return this._applications.get(t)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(t,i=!0){return eE?.findTestabilityInTree(this,t,i)??null}static \u0275fac=function(i){return new(i||e)};static \u0275prov=le({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();function NB(e){eE=e}var eE,e6=(()=>{class e{static \u0275prov=le({token:e,providedIn:"root",factory:()=>new HS})}return e})(),HS=class{queuedEffectCount=0;queues=new Map;schedule(n){this.enqueue(n)}remove(n){let t=n.zone,i=this.queues.get(t);i.has(n)&&(i.delete(n),this.queuedEffectCount--)}enqueue(n){let t=n.zone;this.queues.has(t)||this.queues.set(t,new Set);let i=this.queues.get(t);i.has(n)||(this.queuedEffectCount++,i.add(n))}flush(){for(;this.queuedEffectCount>0;)for(let[n,t]of this.queues)n===null?this.flushQueue(t):n.run(()=>this.flushQueue(t))}flushQueue(n){for(let t of n)n.delete(t),this.queuedEffectCount--,t.run()}};function Hl(e){return!!e&&typeof e.then=="function"}function tE(e){return!!e&&typeof e.subscribe=="function"}var t6=new me("");function nC(e){return po([{provide:t6,multi:!0,useValue:e}])}var n6=(()=>{class e{resolve;reject;initialized=!1;done=!1;donePromise=new Promise((t,i)=>{this.resolve=t,this.reject=i});appInits=ge(t6,{optional:!0})??[];injector=ge(Gt);constructor(){}runInitializers(){if(this.initialized)return;let t=[];for(let r of this.appInits){let o=Br(this.injector,r);if(Hl(o))t.push(o);else if(tE(o)){let l=new Promise((p,C)=>{o.subscribe({complete:p,error:C})});t.push(l)}}let i=()=>{this.done=!0,this.resolve()};Promise.all(t).then(()=>{i()}).catch(r=>{this.reject(r)}),t.length===0&&i(),this.initialized=!0}static \u0275fac=function(i){return new(i||e)};static \u0275prov=le({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),nE=new me("");function LB(){A3(()=>{throw new Ye(600,!1)})}function FB(e){return e.isBoundToModule}var VB=10;function i6(e,n){return Array.isArray(n)?n.reduce(i6,e):k(k({},e),n)}var Is=(()=>{class e{_runningTick=!1;_destroyed=!1;_destroyListeners=[];_views=[];internalErrorHandler=ge(CV);afterRenderManager=ge(q5);zonelessEnabled=ge(SI);rootEffectScheduler=ge(e6);dirtyFlags=0;tracingSnapshot=null;externalTestViews=new Set;afterTick=new Qe;get allViews(){return[...this.externalTestViews.keys(),...this._views]}get destroyed(){return this._destroyed}componentTypes=[];components=[];isStable=ge(Ja).hasPendingTasks.pipe(fe(t=>!t));constructor(){ge(Ou,{optional:!0})}whenStable(){let t;return new Promise(i=>{t=this.isStable.subscribe({next:r=>{r&&i()}})}).finally(()=>{t.unsubscribe()})}_injector=ge(wi);_rendererFactory=null;get injector(){return this._injector}bootstrap(t,i){return this.bootstrapImpl(t,i)}bootstrapImpl(t,i,r=Gt.NULL){$n(10);let o=t instanceof FO;if(!this._injector.get(n6).done){let W="";throw new Ye(405,W)}let p;o?p=t:p=this._injector.get(Ul).resolveComponentFactory(t),this.componentTypes.push(p.componentType);let C=FB(p)?void 0:this._injector.get(Gc),w=i||p.selector,V=p.create(r,[],w,C),j=V.location.nativeElement,$=V.injector.get(JI,null);return $?.registerApplication(j),V.onDestroy(()=>{this.detachView(V.hostView),dv(this.components,V),$?.unregisterApplication(j)}),this._loadComponent(V),$n(11,V),V}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){$n(12),this.tracingSnapshot!==null?this.tracingSnapshot.run(TI.CHANGE_DETECTION,this.tickImpl):this.tickImpl()}tickImpl=()=>{if(this._runningTick)throw new Ye(101,!1);let t=nn(null);try{this._runningTick=!0,this.synchronize()}catch(i){this.internalErrorHandler(i)}finally{this._runningTick=!1,this.tracingSnapshot?.dispose(),this.tracingSnapshot=null,nn(t),this.afterTick.next(),$n(13)}};synchronize(){this._rendererFactory===null&&!this._injector.destroyed&&(this._rendererFactory=this._injector.get(Ll,null,{optional:!0}));let t=0;for(;this.dirtyFlags!==0&&t++<VB;)$n(14),this.synchronizeOnce(),$n(15)}synchronizeOnce(){if(this.dirtyFlags&16&&(this.dirtyFlags&=-17,this.rootEffectScheduler.flush()),this.dirtyFlags&7){let t=!!(this.dirtyFlags&1);this.dirtyFlags&=-8,this.dirtyFlags|=8;for(let{_lView:i,notifyErrorHandler:r}of this.allViews)UB(i,r,t,this.zonelessEnabled);if(this.dirtyFlags&=-5,this.syncDirtyFlagsWithViews(),this.dirtyFlags&23)return}else this._rendererFactory?.begin?.(),this._rendererFactory?.end?.();this.dirtyFlags&8&&(this.dirtyFlags&=-9,this.afterRenderManager.execute()),this.syncDirtyFlagsWithViews()}syncDirtyFlagsWithViews(){if(this.allViews.some(({_lView:t})=>Gv(t))){this.dirtyFlags|=2;return}else this.dirtyFlags&=-8}attachView(t){let i=t;this._views.push(i),i.attachToAppRef(this)}detachView(t){let i=t;dv(this._views,i),i.detachFromAppRef()}_loadComponent(t){this.attachView(t.hostView),this.tick(),this.components.push(t),this._injector.get(nE,[]).forEach(r=>r(t))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(t=>t()),this._views.slice().forEach(t=>t.destroy())}finally{this._destroyed=!0,this._views=[],this._destroyListeners=[]}}onDestroy(t){return this._destroyListeners.push(t),()=>dv(this._destroyListeners,t)}destroy(){if(this._destroyed)throw new Ye(406,!1);let t=this._injector;t.destroy&&!t.destroyed&&t.destroy()}get viewCount(){return this._views.length}static \u0275fac=function(i){return new(i||e)};static \u0275prov=le({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function dv(e,n){let t=e.indexOf(n);t>-1&&e.splice(t,1)}function UB(e,n,t,i){if(!t&&!Gv(e))return;AO(e,n,t&&!i?0:1)}function De(e,n,t,i){let r=Mt(),o=of();if(Po(r,o,n)){let l=ii(),p=Tu();HU(p,r,e,n,t,i)}return De}function iE(e,n,t,i){return Po(e,of(),t)?n+Hr(t)+i:rr}function rE(e,n,t,i,r,o){let l=mI(),p=Xp(e,l,t,r);return sf(2),p?n+Hr(t)+i+Hr(r)+o:rr}function HB(e,n,t,i,r,o,l,p){let C=mI(),w=XO(e,C,t,r,l);return sf(3),w?n+Hr(t)+i+Hr(r)+o+Hr(l)+p:rr}function BB(e,n,t,i,r,o,l,p,C,w,V,j){let $=mI(),W=OB(e,$,t,r,l,C);return W=Po(e,$+4,V)||W,sf(5),W?n+Hr(t)+i+Hr(r)+o+Hr(l)+p+Hr(C)+w+Hr(V)+j:rr}function rv(e,n){return e<<17|n<<2}function $c(e){return e>>17&32767}function jB(e){return(e&2)==2}function zB(e,n){return e&131071|n<<17}function BS(e){return e|2}function yu(e){return(e&131068)>>2}function G3(e,n){return e&-131069|n<<2}function GB(e){return(e&1)===1}function jS(e){return e|1}function $B(e,n,t,i,r,o){let l=o?n.classBindings:n.styleBindings,p=$c(l),C=yu(l);e[i]=t;let w=!1,V;if(Array.isArray(t)){let j=t;V=j[1],(V===null||tf(j,V)>0)&&(w=!0)}else V=t;if(r)if(C!==0){let $=$c(e[p+1]);e[i+1]=rv($,p),$!==0&&(e[$+1]=G3(e[$+1],i)),e[p+1]=zB(e[p+1],i)}else e[i+1]=rv(p,0),p!==0&&(e[p+1]=G3(e[p+1],i)),p=i;else e[i+1]=rv(C,0),p===0?p=i:e[C+1]=G3(e[C+1],i),C=i;w&&(e[i+1]=BS(e[i+1])),_A(e,V,i,!0),_A(e,V,i,!1),WB(n,V,e,i,o),l=rv(p,C),o?n.classBindings=l:n.styleBindings=l}function WB(e,n,t,i,r){let o=r?e.residualClasses:e.residualStyles;o!=null&&typeof n=="string"&&tf(o,n)>=0&&(t[i+1]=jS(t[i+1]))}function _A(e,n,t,i){let r=e[t+1],o=n===null,l=i?$c(r):yu(r),p=!1;for(;l!==0&&(p===!1||o);){let C=e[l],w=e[l+1];YB(C,n)&&(p=!0,e[l+1]=i?jS(w):BS(w)),l=i?$c(w):yu(w)}p&&(e[t+1]=i?BS(r):jS(r))}function YB(e,n){return e===null||n==null||(Array.isArray(e)?e[1]:e)===n?!0:Array.isArray(e)&&typeof n=="string"?tf(e,n)>=0:!1}var Zi={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function r6(e){return e.substring(Zi.key,Zi.keyEnd)}function qB(e){return e.substring(Zi.value,Zi.valueEnd)}function QB(e){return a6(e),o6(e,bu(e,0,Zi.textEnd))}function o6(e,n){let t=Zi.textEnd;return t===n?-1:(n=Zi.keyEnd=KB(e,Zi.key=n,t),bu(e,n,t))}function ZB(e){return a6(e),s6(e,bu(e,0,Zi.textEnd))}function s6(e,n){let t=Zi.textEnd,i=Zi.key=bu(e,n,t);return t===i?-1:(i=Zi.keyEnd=XB(e,i,t),i=yA(e,i,t,58),i=Zi.value=bu(e,i,t),i=Zi.valueEnd=JB(e,i,t),yA(e,i,t,59))}function a6(e){Zi.key=0,Zi.keyEnd=0,Zi.value=0,Zi.valueEnd=0,Zi.textEnd=e.length}function bu(e,n,t){for(;n<t&&e.charCodeAt(n)<=32;)n++;return n}function KB(e,n,t){for(;n<t&&e.charCodeAt(n)>32;)n++;return n}function XB(e,n,t){let i;for(;n<t&&((i=e.charCodeAt(n))===45||i===95||(i&-33)>=65&&(i&-33)<=90||i>=48&&i<=57);)n++;return n}function yA(e,n,t,i){return n=bu(e,n,t),n<t&&n++,n}function JB(e,n,t){let i=-1,r=-1,o=-1,l=n,p=l;for(;l<t;){let C=e.charCodeAt(l++);if(C===59)return p;C===34||C===39?p=l=bA(e,C,l,t):n===l-4&&o===85&&r===82&&i===76&&C===40?p=l=bA(e,41,l,t):C>32&&(p=l),o=r,r=i,i=C&-33}return p}function bA(e,n,t,i){let r=-1,o=t;for(;o<i;){let l=e.charCodeAt(o++);if(l==n&&r!==92)return o;l==92&&r===92?r=0:r=l}throw new Error}function L(e,n,t){let i=Mt(),r=of();if(Po(i,r,n)){let o=ii(),l=Tu();uf(o,l,i,e,n,i[ei],t,!1)}return L}function zS(e,n,t,i,r){BI(n,e,t,r?"class":"style",i)}function is(e,n,t){return l6(e,n,t,!1),is}function Be(e,n){return l6(e,n,null,!0),Be}function mf(e){iC(u6,ej,e,!1)}function ej(e,n){for(let t=ZB(n);t>=0;t=s6(n,t))u6(e,r6(n),qB(n))}function Pu(e){iC(sj,oE,e,!0)}function oE(e,n){for(let t=QB(n);t>=0;t=o6(n,t))Iu(e,r6(n),!0)}function l6(e,n,t,i){let r=Mt(),o=ii(),l=sf(2);if(o.firstUpdatePass&&d6(o,e,l,i),n!==rr&&Po(r,l,n)){let p=o.data[ra()];h6(o,p,r,r[ei],e,r[l+1]=lj(n,t),i,l)}}function iC(e,n,t,i){let r=ii(),o=sf(2);r.firstUpdatePass&&d6(r,null,o,i);let l=Mt();if(t!==rr&&Po(l,o,t)){let p=r.data[ra()];if(p6(p,i)&&!c6(r,o)){let C=i?p.classesWithoutHost:p.stylesWithoutHost;C!==null&&(t=q3(C,t||"")),zS(r,p,l,t,i)}else aj(r,p,l,l[ei],l[o+1],l[o+1]=oj(e,n,t),i,o)}}function c6(e,n){return n>=e.expandoStartIndex}function d6(e,n,t,i){let r=e.data;if(r[t+1]===null){let o=r[ra()],l=c6(e,t);p6(o,i)&&n===null&&!l&&(n=!1),n=tj(r,o,n,i),$B(r,o,n,t,l,i)}}function tj(e,n,t,i){let r=zF(e),o=i?n.residualClasses:n.residualStyles;if(r===null)(i?n.classBindings:n.styleBindings)===0&&(t=$3(null,e,n,t,i),t=Jp(t,n.attrs,i),o=null);else{let l=n.directiveStylingLast;if(l===-1||e[l]!==r)if(t=$3(r,e,n,t,i),o===null){let C=nj(e,n,i);C!==void 0&&Array.isArray(C)&&(C=$3(null,e,n,C[1],i),C=Jp(C,n.attrs,i),ij(e,n,i,C))}else o=rj(e,n,i)}return o!==void 0&&(i?n.residualClasses=o:n.residualStyles=o),t}function nj(e,n,t){let i=t?n.classBindings:n.styleBindings;if(yu(i)!==0)return e[$c(i)]}function ij(e,n,t,i){let r=t?n.classBindings:n.styleBindings;e[$c(r)]=i}function rj(e,n,t){let i,r=n.directiveEnd;for(let o=1+n.directiveStylingLast;o<r;o++){let l=e[o].hostAttrs;i=Jp(i,l,t)}return Jp(i,n.attrs,t)}function $3(e,n,t,i,r){let o=null,l=t.directiveEnd,p=t.directiveStylingLast;for(p===-1?p=t.directiveStart:p++;p<l&&(o=n[p],i=Jp(i,o.hostAttrs,r),o!==e);)p++;return e!==null&&(t.directiveStylingLast=p),i}function Jp(e,n,t){let i=t?1:2,r=-1;if(n!==null)for(let o=0;o<n.length;o++){let l=n[o];typeof l=="number"?r=l:r===i&&(Array.isArray(e)||(e=e===void 0?[]:["",e]),Iu(e,l,t?!0:n[++o]))}return e===void 0?null:e}function oj(e,n,t){if(t==null||t==="")return lo;let i=[],r=ko(t);if(Array.isArray(r))for(let o=0;o<r.length;o++)e(i,r[o],!0);else if(typeof r=="object")for(let o in r)r.hasOwnProperty(o)&&e(i,o,r[o]);else typeof r=="string"&&n(i,r);return i}function u6(e,n,t){Iu(e,n,ko(t))}function sj(e,n,t){let i=String(n);i!==""&&!i.includes(" ")&&Iu(e,i,t)}function aj(e,n,t,i,r,o,l,p){r===rr&&(r=lo);let C=0,w=0,V=0<r.length?r[0]:null,j=0<o.length?o[0]:null;for(;V!==null||j!==null;){let $=C<r.length?r[C+1]:void 0,W=w<o.length?o[w+1]:void 0,se=null,be;V===j?(C+=2,w+=2,$!==W&&(se=j,be=W)):j===null||V!==null&&V<j?(C+=2,se=V):(w+=2,se=j,be=W),se!==null&&h6(e,n,t,i,se,be,l,p),V=C<r.length?r[C]:null,j=w<o.length?o[w]:null}}function h6(e,n,t,i,r,o,l,p){if(!(n.type&3))return;let C=e.data,w=C[p+1],V=GB(w)?SA(C,n,t,r,yu(w),l):void 0;if(!Pv(V)){Pv(o)||jB(w)&&(o=SA(C,null,t,r,p,l));let j=o5(ra(),t);rH(i,l,j,r,o)}}function SA(e,n,t,i,r,o){let l=n===null,p;for(;r>0;){let C=e[r],w=Array.isArray(C),V=w?C[1]:C,j=V===null,$=t[r+1];$===rr&&($=j?lo:void 0);let W=j?N3($,i):V===i?$:void 0;if(w&&!Pv(W)&&(W=N3(C,i)),Pv(W)&&(p=W,l))return p;let se=e[r+1];r=l?$c(se):yu(se)}if(n!==null){let C=o?n.residualClasses:n.residualStyles;C!=null&&(p=N3(C,i))}return p}function Pv(e){return e!==void 0}function lj(e,n){return e==null||e===""||(typeof n=="string"?e=e+n:typeof e=="object"&&(e=co(ko(e)))),e}function p6(e,n){return(e.flags&(n?8:16))!==0}function ku(e,n,t){let i=Mt(),r=iE(i,e,n,t);iC(Iu,oE,r,!0)}function Pde(e,n,t,i,r){let o=Mt(),l=rE(o,e,n,t,i,r);iC(Iu,oE,l,!0)}function F(e,n,t,i){let r=Mt(),o=ii(),l=nr+e,p=r[ei],C=o.firstCreatePass?HO(l,o,r,n,HI,pI(),t,i):o.data[l],w=cj(o,r,C,p,n,e);r[l]=w;let V=zv(C);return Yc(C,!0),dO(p,w,C),!GI(C)&&$v()&&Kv(o,r,w,C),(RF()===0||V)&&Au(w,r),PF(),V&&(Zv(o,r,C),AI(o,C,r)),i!==null&&UI(r,C),F}function P(){let e=xr();fI()?gI():(e=e.parent,Yc(e,!1));let n=e;NF(n)&&LF(),kF();let t=ii();return t.firstCreatePass&&BO(t,n),n.classesWithoutHost!=null&&ZF(n)&&zS(t,n,Mt(),n.classesWithoutHost,!0),n.stylesWithoutHost!=null&&KF(n)&&zS(t,n,Mt(),n.stylesWithoutHost,!1),P}function ye(e,n,t,i){return F(e,n,t,i),P(),ye}var cj=(e,n,t,i,r,o)=>(Wv(!0),lO(i,r,YF()));function dj(e,n,t,i,r){let o=n.consts,l=Cu(o,i),p=hf(n,e,8,"ng-container",l);l!==null&&OS(p,l,!0);let C=Cu(o,r);return pI()&&qI(n,t,p,C,HI),p.mergedAttrs=_u(p.mergedAttrs,p.attrs),n.queries!==null&&n.queries.elementStart(n,p),p}function ri(e,n,t){let i=Mt(),r=ii(),o=e+nr,l=r.firstCreatePass?dj(o,r,i,n,t):r.data[o];Yc(l,!0);let p=uj(r,i,l,e);return i[o]=p,$v()&&Kv(r,i,p,l),Au(p,i),zv(l)&&(Zv(r,i,l),AI(r,l,i)),t!=null&&UI(i,l),ri}function oi(){let e=xr(),n=ii();return fI()?gI():(e=e.parent,Yc(e,!1)),n.firstCreatePass&&(yI(n,e),cI(e)&&n.queries.elementEnd(e)),oi}function sa(e,n,t){return ri(e,n,t),oi(),sa}var uj=(e,n,t,i)=>(Wv(!0),dU(n[ei],""));function ze(){return Mt()}function nl(e,n,t){let i=Mt(),r=of();if(Po(i,r,n)){let o=ii(),l=Tu();uf(o,l,i,e,n,i[ei],t,!0)}return nl}var Oc=void 0;function hj(e){let n=Math.floor(Math.abs(e)),t=e.toString().replace(/^[^.]*\.?/,"").length;return n===1&&t===0?1:5}var pj=["en",[["a","p"],["AM","PM"],Oc],[["AM","PM"],Oc,Oc],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Frid
9ay","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],Oc,[["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"]],Oc,[["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}",Oc,"{1} 'at' {0}",Oc],[".",",",";","%","+","-","E","\xD7","\u2030","\u221E","NaN",":"],["#,##0.###","#,##0%","\xA4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",hj],Gp={};function f6(e,n,t){typeof n!="string"&&(t=n,n=e[Wn.LocaleId]),n=n.toLowerCase().replace(/_/g,"-"),Gp[n]=e,t&&(Gp[n][Wn.ExtraData]=t)}function jr(e){let n=fj(e),t=IA(n);if(t)return t;let i=n.split("-")[0];if(t=IA(i),t)return t;if(i==="en")return pj;throw new Ye(701,!1)}function IA(e){return e in Gp||(Gp[e]=tr.ng&&tr.ng.common&&tr.ng.common.locales&&tr.ng.common.locales[e]),Gp[e]}var Wn=(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})(Wn||{});function fj(e){return e.toLowerCase().replace(/_/g,"-")}var kv="en-US",gj="USD";var mj=kv;function vj(e){typeof e=="string"&&(mj=e.toLowerCase().replace(/_/g,"-"))}function EA(e,n,t){return function i(r){if(r===Function)return t;let o=wu(e)?ea(e.index,n):n;YI(o,5);let l=n[uo],p=wA(n,l,t,r),C=i.__ngNextListenerFn__;for(;C;)p=wA(n,l,C,r)&&p,C=C.__ngNextListenerFn__;return p}}function wA(e,n,t,i){let r=nn(null);try{return $n(6,n,t),t(i)!==!1}catch(o){return Cj(e,o),!1}finally{$n(7,n,t),nn(r)}}function Cj(e,n){let t=e[mu],i=t?t.get(ho,null):null;i&&i.handleError(n)}function xA(e,n,t,i,r,o){let l=n[t],p=n[Qt],w=p.data[t].outputs[i],V=l[w],j=p.firstCreatePass?hI(p):null,$=uI(n),W=V.subscribe(o),se=$.length;$.push(o,W),j&&j.push(r,e.index,se,-(se+1))}function oe(e,n,t,i){let r=Mt(),o=ii(),l=xr();return g6(o,r,r[ei],l,e,n,i),oe}function _j(e,n,t,i){let r=e.cleanup;if(r!=null)for(let o=0;o<r.length-1;o+=2){let l=r[o];if(l===t&&r[o+1]===i){let p=n[mv],C=r[o+2];return p.length>C?p[C]:null}typeof l=="string"&&(o+=2)}return null}function g6(e,n,t,i,r,o,l){let p=zv(i),w=e.firstCreatePass?hI(e):null,V=uI(n),j=!0;if(i.type&3||l){let $=ia(i,n),W=l?l($):$,se=V.length,be=l?dt=>l(Js(dt[i.index])):i.index,Ve=null;if(!l&&p&&(Ve=_j(e,n,r,i.index)),Ve!==null){let dt=Ve.__ngLastListenerFn__||Ve;dt.__ngNextListenerFn__=o,Ve.__ngLastListenerFn__=o,j=!1}else{o=EA(i,n,o),VV(n,W,r,o);let dt=t.listen(W,r,o);V.push(o,dt),w&&w.push(r,be,se,se+1)}}else o=EA(i,n,o);if(j){let $=i.outputs?.[r],W=i.hostDirectiveOutputs?.[r];if(W&&W.length)for(let se=0;se<W.length;se+=2){let be=W[se],Ve=W[se+1];xA(i,n,be,Ve,r,o)}if($&&$.length)for(let se of $)xA(i,n,se,r,r,o)}}function z(e=1){return $F(e)}function yj(e,n){let t=null,i=SU(e);for(let r=0;r<n.length;r++){let o=n[r];if(o==="*"){t=r;continue}if(i===null?fO(e,o,!0):wU(i,o))return r}return t}function tn(e){let n=Mt()[ts][fo];if(!n.projection){let t=e?e.length:1,i=n.projection=sF(t,null),r=i.slice(),o=n.child;for(;o!==null;){if(o.type!==128){let l=e?yj(o,e):0;l!==null&&(r[l]?r[l].projectionNext=o:i[l]=o,r[l]=o)}o=o.next}}}function Ze(e,n=0,t,i,r,o){let l=Mt(),p=ii(),C=i?e+1:null;C!==null&&JO(l,p,C,i,r,o,null,t);let w=hf(p,nr+e,16,null,t||null);w.projection===null&&(w.projection=n),gI();let j=!l[Wp]||d5();l[ts][fo].projection[w.projection]===null&&C!==null?bj(l,p,C):j&&!GI(w)&&nH(p,l,w)}
vendor: 21,898 bytes, line 9
9function bj(e,n,t){let i=nr+t,r=n.data[i],o=e[i],l=TS(o,r.tView.ssrId),p=_O(e,r,void 0,{dehydratedView:l});NO(o,p,0,ES(r,l))}function Li(e,n,t){return aa(e,"",n,"",t),Li}function aa(e,n,t,i,r){let o=Mt(),l=iE(o,n,t,i);if(l!==rr){let p=ii(),C=Tu();uf(p,C,o,e,l,o[ei],r,!1)}return aa}function sE(e,n,t,i,r,o,l){let p=Mt(),C=rE(p,n,t,i,r,o);if(C!==rr){let w=ii(),V=Tu();uf(w,V,p,e,C,p[ei],l,!1)}return sE}function wn(e,n,t,i){oB(e,n,t,i)}function xn(e,n,t){rB(e,n,t)}function gt(e){let n=Mt(),t=ii(),i=p5();vI(i+1);let r=QI(t,i);if(e.dirty&&DF(n)===((r.metadata.flags&2)===2)){if(r.matches===null)e.reset([]);else{let o=lB(n,i);e.reset(o,bV),e.notifyOnChanges()}return!0}return!1}function mt(){return iB(Mt(),p5())}function fn(e){let n=VF();return rf(n,nr+e)}function q(e,n=""){let t=Mt(),i=ii(),r=e+nr,o=i.firstCreatePass?hf(i,r,1,n,null):i.data[r],l=Sj(i,t,o,n,e);t[r]=l,$v()&&Kv(i,t,l,o),Yc(o,!1)}var Sj=(e,n,t,i,r)=>(Wv(!0),lU(n[ei],i));function Ie(e){return Ae("",e,""),Ie}function Ae(e,n,t){let i=Mt(),r=iE(i,e,n,t);return r!==rr&&rC(i,ra(),r),Ae}function aE(e,n,t,i,r){let o=Mt(),l=rE(o,e,n,t,i,r);return l!==rr&&rC(o,ra(),l),aE}function m6(e,n,t,i,r,o,l){let p=Mt(),C=HB(p,e,n,t,i,r,o,l);return C!==rr&&rC(p,ra(),C),m6}function Ij(e,n,t,i,r,o,l,p,C,w,V){let j=Mt(),$=BB(j,e,n,t,i,r,o,l,p,C,w,V);return $!==rr&&rC(j,ra(),$),Ij}function rC(e,n,t){let i=o5(n,e);cU(e[ei],i,t)}function yt(e,n,t){V5(n)&&(n=n());let i=Mt(),r=of();if(Po(i,r,n)){let o=ii(),l=Tu();uf(o,l,i,e,n,i[ei],t,!1)}return yt}function It(e,n){let t=V5(e);return t&&e.set(n),t}function bt(e,n){let t=Mt(),i=ii(),r=xr();return g6(i,t,t[ei],r,e,n),bt}function Ej(e,n,t){let i=ii();if(i.firstCreatePass){let r=Xs(e);GS(t,i.data,i.blueprint,r,!0),GS(n,i.data,i.blueprint,r,!1)}}function GS(e,n,t,i,r){if(e=gr(e),Array.isArray(e))for(let o=0;o<e.length;o++)GS(e[o],n,t,i,r);else{let o=ii(),l=Mt(),p=xr(),C=gu(e)?e:gr(e.provide),w=ZA(e),V=p.providerIndexes&1048575,j=p.directiveStart,$=p.providerIndexes>>20;if(gu(e)||!e.multi){let W=new Bc(w,r,A),se=Y3(C,n,r?V:V+$,j);se===-1?(sS(Iv(p,l),o,C),W3(o,e,n.length),n.push(C),p.directiveStart++,p.directiveEnd++,r&&(p.providerIndexes+=1048576),t.push(W),l.push(W)):(t[se]=W,l[se]=W)}else{let W=Y3(C,n,V+$,j),se=Y3(C,n,V,V+$),be=W>=0&&t[W],Ve=se>=0&&t[se];if(r&&!Ve||!r&&!be){sS(Iv(p,l),o,C);let dt=Dj(r?xj:wj,t.length,r,i,w);!r&&Ve&&(t[se].providerFactory=dt),W3(o,e,n.length,0),n.push(C),p.directiveStart++,p.directiveEnd++,r&&(p.providerIndexes+=1048576),t.push(dt),l.push(dt)}else{let dt=v6(t[r?se:W],w,!r&&i);W3(o,e,W>-1?W:se,dt)}!r&&i&&Ve&&t[se].componentProviders++}}}function W3(e,n,t,i){let r=gu(n),o=fF(n);if(r||o){let C=(o?gr(n.useClass):n).prototype.ngOnDestroy;if(C){let w=e.destroyHooks||(e.destroyHooks=[]);if(!r&&n.multi){let V=w.indexOf(t);V===-1?w.push(t,[i,C]):w[V+1].push(i,C)}else w.push(t,C)}}}function v6(e,n,t){return t&&e.componentProviders++,e.multi.push(n)-1}function Y3(e,n,t,i){for(let r=t;r<i;r++)if(n[r]===e)return r;return-1}function wj(e,n,t,i,r){return $S(this.multi,[])}function xj(e,n,t,i,r){let o=this.multi,l;if(this.providerFactory){let p=this.providerFactory.componentProviders,C=qp(i,i[Qt],this.providerFactory.index,r);l=C.slice(0,p),$S(o,l);for(let w=p;w<C.length;w++)l.push(C[w])}else l=[],$S(o,l);return l}function $S(e,n){for(let t=0;t<e.length;t++){let i=e[t];n.push(i())}return n}function Dj(e,n,t,i,r){let o=new Bc(e,t,A);return o.multi=[],o.index=n,o.componentProviders=0,v6(o,r,i&&!t),o}function Et(e,n=[]){return t=>{t.providersResolver=(i,r)=>Ej(i,r?r(e):e,n)}}function la(e,n,t){let i=Fl()+e,r=Mt();return r[i]===rr?ff(r,i,t?n.call(t):n()):AB(r,i)}function vr(e,n,t,i){return _6(Mt(),Fl(),e,n,t,i)}function lE(e,n,t,i,r){return y6(Mt(),Fl(),e,n,t,i,r)}function C6(e,n,t,i,r,o){return b6(Mt(),Fl(),e,n,t,i,r,o)}function oC(e,n){let t=e[n];return t===rr?void 0:t}function _6(e,n,t,i,r,o){let l=n+t;return Po(e,l,r)?ff(e,l+1,o?i.call(o,r):i(r)):oC(e,l+1)}function y6(e,n,t,i,r,o,l){let p=n+t;return Xp(e,p,r,o)?ff(e,p+2,l?i.call(l,r,o):i(r,o)):oC(e,p+2)}function b6(e,n,t,i,r,o,l,p){let C=n+t;return XO(e,C,r,o,l)?ff(e,C+3,p?i.call(p,r,o,l):i(r,o,l)):oC(e,C+3)}function Tj(e,n,t,i,r,o){let l=n+t,p=!1;for(let C=0;C<r.length;C++)Po(e,l++,r[C])&&(p=!0);return p?ff(e,l,i.apply(o,r)):oC(e,l)}function Z(e,n){let t=ii(),i,r=e+nr;t.firstCreatePass?(i=Mj(n,t.pipeRegistry),t.data[r]=i,i.onDestroy&&(t.destroyHooks??=[]).push(r,i.onDestroy)):i=t.data[r];let o=i.factory||(i.factory=kc(i.type,!0)),l,p=ao(A);try{let C=Sv(!1),w=o();return Sv(C),xF(t,Mt(),r,w),w}finally{ao(p)}}function Mj(e,n){if(n)for(let t=n.length-1;t>=0;t--){let i=n[t];if(e===i.name)return i}}function X(e,n,t){let i=e+nr,r=Mt(),o=rf(r,i);return aC(r,i)?_6(r,Fl(),n,o.transform,t,o):o.transform(t)}function sC(e,n,t,i){let r=e+nr,o=Mt(),l=rf(o,r);return aC(o,r)?y6(o,Fl(),n,l.transform,t,i,l):l.transform(t,i)}function Aj(e,n,t,i,r){let o=e+nr,l=Mt(),p=rf(l,o);return aC(l,o)?b6(l,Fl(),n,p.transform,t,i,r,p):p.transform(t,i,r)}function kde(e,n,t){let i=e+nr,r=Mt(),o=rf(r,i);return aC(r,i)?Tj(r,Fl(),n,o.transform,t,o):o.transform.apply(o,t)}function aC(e,n){return e[Qt].data[n].pure}function Nu(e,n){return Jv(e,n)}var ov=null;function Oj(e){ov!==null&&(e.defaultEncapsulation!==ov.defaultEncapsulation||e.preserveWhitespaces!==ov.preserveWhitespaces)||(ov=e)}var WS=class{ngModuleFactory;componentFactories;constructor(n,t){this.ngModuleFactory=n,this.componentFactories=t}},S6=(()=>{class e{compileModuleSync(t){return new Rv(t)}compileModuleAsync(t){return Promise.resolve(this.compileModuleSync(t))}compileModuleAndAllComponentsSync(t){let i=this.compileModuleSync(t),r=$A(t),o=hO(r.declarations).reduce((l,p)=>{let C=Nl(p);return C&&l.push(new zc(C)),l},[]);return new WS(i,o)}compileModuleAndAllComponentsAsync(t){return Promise.resolve(this.compileModuleAndAllComponentsSync(t))}clearCache(){}clearCacheFor(t){}getModuleId(t){}static \u0275fac=function(i){return new(i||e)};static \u0275prov=le({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Rj=new me("");function Pj(e,n,t){let i=new Rv(t);return Promise.resolve(i)}function DA(e){for(let n=e.length-1;n>=0;n--)if(e[n]!==void 0)return e[n]}var kj=(()=>{class e{zone=ge(Rt);changeDetectionScheduler=ge(jc);applicationRef=ge(Is);_onMicrotaskEmptySubscription;initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static \u0275fac=function(i){return new(i||e)};static \u0275prov=le({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Nj({ngZoneFactory:e,ignoreChangesOutsideZone:n,scheduleInRootZone:t}){return e??=()=>new Rt(U(k({},I6()),{scheduleInRootZone:t})),[{provide:Rt,useFactory:e},{provide:Nc,multi:!0,useFactory:()=>{let i=ge(kj,{optional:!0});return()=>i.initialize()}},{provide:Nc,multi:!0,useFactory:()=>{let i=ge(Lj);return()=>{i.initialize()}}},n===!0?{provide:P5,useValue:!0}:[],{provide:k5,useValue:t??R5}]}function I6(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}var Lj=(()=>{class e{subscription=new Xo;initialized=!1;zone=ge(Rt);pendingTasks=ge(Ja);initialize(){if(this.initialized)return;this.initialized=!0;let t=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(t=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{Rt.assertNotInAngularZone(),queueMicrotask(()=>{t!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(t),t=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{Rt.assertInAngularZone(),t??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static \u0275fac=function(i){return new(i||e)};static \u0275prov=le({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var Fj=(()=>{class e{appRef=ge(Is);taskService=ge(Ja);ngZone=ge(Rt);zonelessEnabled=ge(SI);tracing=ge(Ou,{optional:!0});disableScheduling=ge(P5,{optional:!0})??!1;zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run;schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}];subscriptions=new Xo;angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(wv):null;scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(ge(k5,{optional:!0})??!1);cancelScheduledCallback=null;useMicrotaskScheduler=!1;runningTick=!1;pendingRenderTaskId=null;constructor(){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 xv||!this.zoneIsDefined)}notify(t){if(!this.zonelessEnabled&&t===5)return;let i=!1;switch(t){case 0:{this.appRef.dirtyFlags|=2;break}case 3:case 2:case 4:case 5:case 1:{this.appRef.dirtyFlags|=4;break}case 6:{this.appRef.dirtyFlags|=2,i=!0;break}case 12:{this.appRef.dirtyFlags|=16,i=!0;break}case 13:{this.appRef.dirtyFlags|=2,i=!0;break}case 11:{i=!0;break}default:this.appRef.dirtyFlags|=8}if(this.appRef.tracingSnapshot=this.tracing?.snapshot(this.appRef.tracingSnapshot)??null,!this.shouldScheduleTick(i))return;let r=this.useMicrotaskScheduler?KM:N5;this.pendingRenderTaskId=this.taskService.add(),this.scheduleInRootZone?this.cancelScheduledCallback=Zone.root.run(()=>r(()=>this.tick())):this.cancelScheduledCallback=this.ngZone.runOutsideAngular(()=>r(()=>this.tick()))}shouldScheduleTick(t){return!(this.disableScheduling&&!t||this.appRef.destroyed||this.pendingRenderTaskId!==null||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(wv+this.angularZoneId))}tick(){if(this.runningTick||this.appRef.destroyed)return;if(this.appRef.dirtyFlags===0){this.cleanup();return}!this.zonelessEnabled&&this.appRef.dirtyFlags&7&&(this.appRef.dirtyFlags|=1);let t=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick()},void 0,this.schedulerTickApplyArgs)}catch(i){throw this.taskService.remove(t),i}finally{this.cleanup()}this.useMicrotaskScheduler=!0,KM(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(t)})}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,this.pendingRenderTaskId!==null){let t=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(t)}}static \u0275fac=function(i){return new(i||e)};static \u0275prov=le({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Vj(){return typeof $localize<"u"&&$localize.locale||kv}var di=new me("",{providedIn:"root",factory:()=>ge(di,zt.Optional|zt.SkipSelf)||Vj()}),E6=new me("",{providedIn:"root",factory:()=>gj});var Nv=new me(""),Uj=new me("");function Hp(e){return!e.moduleRef}function Hj(e){let n=Hp(e)?e.r3Injector:e.moduleRef.injector,t=n.get(Rt);return t.run(()=>{Hp(e)?e.r3Injector.resolveInjectorInitializers():e.moduleRef.resolveInjectorInitializers();let i=n.get(ho,null),r;if(t.runOutsideAngular(()=>{r=t.onError.subscribe({next:o=>{i.handleError(o)}})}),Hp(e)){let o=()=>n.destroy(),l=e.platformInjector.get(Nv);l.add(o),n.onDestroy(()=>{r.unsubscribe(),l.delete(o)})}else{let o=()=>e.moduleRef.destroy(),l=e.platformInjector.get(Nv);l.add(o),e.moduleRef.onDestroy(()=>{dv(e.allPlatformModules,e.moduleRef),r.unsubscribe(),l.delete(o)})}return jj(i,t,()=>{let o=n.get(n6);return o.runInitializers(),o.donePromise.then(()=>{let l=n.get(di,kv);if(vj(l||kv),!n.get(Uj,!0))return Hp(e)?n.get(Is):(e.allPlatformModules.push(e.moduleRef),e.moduleRef);if(Hp(e)){let C=n.get(Is);return e.rootComponent!==void 0&&C.bootstrap(e.rootComponent),C}else return Bj(e.moduleRef,e.allPlatformModules),e.moduleRef})})})}function Bj(e,n){let t=e.injector.get(Is);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(i=>t.bootstrap(i));else if(e.instance.ngDoBootstrap)e.instance.ngDoBootstrap(t);else throw new Ye(-403,!1);n.push(e)}function jj(e,n,t){try{let i=t();return Hl(i)?i.catch(r=>{throw n.runOutsideAngular(()=>e.handleError(r)),r}):i}catch(i){throw n.runOutsideAngular(()=>e.handleError(i)),i}}var w6=(()=>{class e{_injector;_modules=[];_destroyListeners=[];_destroyed=!1;constructor(t){this._injector=t}bootstrapModuleFactory(t,i){let r=i?.scheduleInRootZone,o=()=>vV(i?.ngZone,U(k({},I6({eventCoalescing:i?.ngZoneEventCoalescing,runCoalescing:i?.ngZoneRunCoalescing})),{scheduleInRootZone:r})),l=i?.ignoreChangesOutsideZone,p=[Nj({ngZoneFactory:o,ignoreChangesOutsideZone:l}),{provide:jc,useExisting:Fj}],C=gB(t.moduleType,this.injector,p);return Hj({moduleRef:C,allPlatformModules:this._modules,platformInjector:this.injector})}bootstrapModule(t,i=[]){let r=i6({},i);return Pj(this.injector,r,t).then(o=>this.bootstrapModuleFactory(o,r))}onDestroy(t){this._destroyListeners.push(t)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new Ye(404,!1);this._modules.slice().forEach(i=>i.destroy()),this._destroyListeners.forEach(i=>i());let t=this._injector.get(Nv,null);t&&(t.forEach(i=>i()),t.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}static \u0275fac=function(i){return new(i||e)(ae(Gt))};static \u0275prov=le({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})(),cE=null;function zj(e){if(uE())throw new Ye(400,!1);LB(),cE=e;let n=e.get(w6);return Wj(e),n}function dE(e,n,t=[]){let i=`Platform: ${n}`,r=new me(i);return(o=[])=>{let l=uE();if(!l){let p=[...t,...o,{provide:r,useValue:!0}];l=e?.(p)??zj(Gj(p,i))}return $j(r)}}function Gj(e=[],n){return Gt.create({name:n,providers:[{provide:Uv,useValue:"platform"},{provide:Nv,useValue:new Set([()=>cE=null])},...e]})}function $j(e){let n=uE();if(!n)throw new Ye(401,!1);return n}function uE(){return cE?.get(w6)??null}function Wj(e){let n=e.get(xI,null);Br(e,()=>{n?.forEach(t=>t())})}function vf(){return!1}var Yn=(()=>{class e{static __NG_ELEMENT_ID__=Yj}return e})();function Yj(e){return qj(xr(),Mt(),(e&16)===16)}function qj(e,n,t){if(wu(e)&&!t){let i=ea(e.index,n);return new Zp(i,i)}else if(e.type&175){let i=n[ts];return new Zp(i,n)}return null}var YS=class{constructor(){}supports(n){return KO(n)}create(n){return new qS(n)}},Qj=(e,n)=>n,qS=class{length=0;collection;_linkedRecords=null;_unlinkedRecords=null;_previousItHead=null;_itHead=null;_itTail=null;_additionsHead=null;_additionsTail=null;_movesHead=null;_movesTail=null;_removalsHead=null;_removalsTail=null;_identityChangesHead=null;_identityChangesTail=null;_trackByFn;constructor(n){this._trackByFn=n||Qj}forEachItem(n){let t;for(t=this._itHead;t!==null;t=t._next)n(t)}forEachOperation(n){let t=this._itHead,i=this._removalsHead,r=0,o=null;for(;t||i;){let l=!i||t&&t.currentIndex<TA(i,r,o)?t:i,p=TA(l,r,o),C=l.currentIndex;if(l===i)r--,i=i._nextRemoved;else if(t=t._next,l.previousIndex==null)r++;else{o||(o=[]);let w=p-r,V=C-r;if(w!=V){for(let $=0;$<w;$++){let W=$<o.length?o[$]:o[$]=0,se=W+$;V<=se&&se<w&&(o[$]=W+1)}let j=l.previousIndex;o[j]=V-w}}p!==C&&n(l,p,C)}}forEachPreviousItem(n){let t;for(t=this._previousItHead;t!==null;t=t._nextPrevious)n(t)}forEachAddedItem(n){let t;for(t=this._additionsHead;t!==null;t=t._nextAdded)n(t)}forEachMovedItem(n){let t;for(t=this._movesHead;t!==null;t=t._nextMoved)n(t)}forEachRemovedItem(n){let t;for(t=this._removalsHead;t!==null;t=t._nextRemoved)n(t)}forEachIdentityChange(n){let t;for(t=this._identityChangesHead;t!==null;t=t._nextIdentityChange)n(t)}diff(n){if(n==null&&(n=[]),!KO(n))throw new Ye(900,!1);return this.check(n)?this:null}onDestroy(){}check(n){this._reset();let t=this._itHead,i=!1,r,o,l;if(Array.isArray(n)){this.length=n.length;for(let p=0;p<this.length;p++)o=n[p],l=this._trackByFn(p,o),t===null||!Object.is(t.trackById,l)?(t=this._mismatch(t,o,l,p),i=!0):(i&&(t=this._verifyReinsertion(t,o,l,p)),Object.is(t.item,o)||this._addIdentityChange(t,o)),t=t._next}else r=0,MB(n,p=>{l=this._trackByFn(r,p),t===null||!Object.is(t.trackById,l)?(t=this._mismatch(t,p,l,r),i=!0):(i&&(t=this._verifyReinsertion(t,p,l,r)),Object.is(t.item,p)||this._addIdentityChange(t,p)),t=t._next,r++}),this.length=r;return this._truncate(t),this.collection=n,this.isDirty}get isDirty(){return this._additionsHead!==null||this._movesHead!==null||this._removalsHead!==null||this._identityChangesHead!==null}_reset(){if(this.isDirty){let n;for(n=this._previousItHead=this._itHead;n!==null;n=n._next)n._nextPrevious=n._next;for(n=this._additionsHead;n!==null;n=n._nextAdded)n.previousIndex=n.currentIndex;for(this._additionsHead=this._additionsTail=null,n=this._movesHead;n!==null;n=n._nextMoved)n.previousIndex=n.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(n,t,i,r){let o;return n===null?o=this._itTail:(o=n._prev,this._remove(n)),n=this._unlinkedRecords===null?null:this._unlinkedRecords.get(i,null),n!==null?(Object.is(n.item,t)||this._addIdentityChange(n,t),this._reinsertAfter(n,o,r)):(n=this._linkedRecords===null?null:this._linkedRecords.get(i,r),n!==null?(Object.is(n.item,t)||this._addIdentityChange(n,t),this._moveAfter(n,o,r)):n=this._addAfter(new QS(t,i),o,r)),n}_verifyReinsertion(n,t,i,r){let o=this._unlinkedRecords===null?null:this._unlinkedRecords.get(i,null);return o!==null?n=this._reinsertAfter(o,n._prev,r):n.currentIndex!=r&&(n.currentIndex=r,this._addToMoves(n,r)),n}_truncate(n){for(;n!==null;){let t=n._next;this._addToRemovals(this._unlink(n)),n=t}this._unlinkedRecords!==null&&this._unlinkedRecords.clear(),this._additionsTail!==null&&(this._additionsTail._nextAdded=null),this._movesTail!==null&&(this._movesTail._nextMoved=null),this._itTail!==null&&(this._itTail._next=null),this._removalsTail!==null&&(this._removalsTail._nextRemoved=null),this._identityChangesTail!==null&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(n,t,i){this._unlinkedRecords!==null&&this._unlinkedRecords.remove(n);let r=n._prevRemoved,o=n._nextRemoved;return r===null?this._removalsHead=o:r._nextRemoved=o,o===null?this._removalsTail=r:o._prevRemoved=r,this._insertAfter(n,t,i),this._addToMoves(n,i),n}_moveAfter(n,t,i){return this._unlink(n),this._insertAfter(n,t,i),this._addToMoves(n,i),n}_addAfter(n,t,i){return this._insertAfter(n,t,i),this._additionsTail===null?this._additionsTail=this._additionsHead=n:this._additionsTail=this._additionsTail._nextAdded=n,n}_insertAfter(n,t,i){let r=t===null?this._itHead:t._next;return n._next=r,n._prev=t,r===null?this._itTail=n:r._prev=n,t===null?this._itHead=n:t._next=n,this._linkedRecords===null&&(this._linkedRecords=new Lv),this._linkedRecords.put(n),n.currentIndex=i,n}_remove(n){return this._addToRemovals(this._unlink(n))}_unlink(n){this._linkedRecords!==null&&this._linkedRecords.remove(n);let t=n._prev,i=n._next;return t===null?this._itHead=i:t._next=i,i===null?this._itTail=t:i._prev=t,n}_addToMoves(n,t){return n.previousIndex===t||(this._movesTail===null?this._movesTail=this._movesHead=n:this._movesTail=this._movesTail._nextMoved=n),n}_addToRemovals(n){return this._unlinkedRecords===null&&(this._unlinkedRecords=new Lv),this._unlinkedRecords.put(n),n.currentIndex=null,n._nextRemoved=null,this._removalsTail===null?(this._removalsTail=this._removalsHead=n,n._prevRemoved=null):(n._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=n),n}_addIdentityChange(n,t){return n.item=t,this._identityChangesTail===null?this._identityChangesTail=this._identityChangesHead=n:this._identityChangesTail=this._identityChangesTail._nextIdentityChange=n,n}},QS=class{item;trackById;currentIndex=null;previousIndex=null;_nextPrevious=null;_prev=null;_next=null;_prevDup=null;_nextDup=null;_prevRemoved=null;_nextRemoved=null;_nextAdded=null;_nextMoved=null;_nextIdentityChange=null;constructor(n,t){this.item=n,this.trackById=t}},ZS=class{_head=null;_tail=null;add(n){this._head===null?(this._head=this._tail=n,n._nextDup=null,n._prevDup=null):(this._tail._nextDup=n,n._prevDup=this._tail,n._nextDup=null,this._tail=n)}get(n,t){let i;for(i=this._head;i!==null;i=i._nextDup)if((t===null||t<=i.currentIndex)&&Object.is(i.trackById,n))return i;return null}remove(n){let t=n._prevDup,i=n._nextDup;return t===null?this._head=i:t._nextDup=i,i===null?this._tail=t:i._prevDup=t,this._head===null}},Lv=class{map=new Map;put(n){let t=n.trackById,i=this.map.get(t);i||(i=new ZS,this.map.set(t,i)),i.add(n)}get(n,t){let i=n,r=this.map.get(i);return r?r.get(n,t):null}remove(n){let t=n.trackById;return this.map.get(t).remove(n)&&this.map.delete(t),n}get isEmpty(){return this.map.size===0}clear(){this.map.clear()}};function TA(e,n,t){let i=e.previousIndex;if(i===null)return i;let r=0;return t&&i<t.length&&(r=t[i]),i+n+r}var KS=class{constructor(){}supports(n){return n instanceof Map||KI(n)}create(){return new XS}},XS=class{_records=new Map;_mapHead=null;_appendAfter=null;_previousMapHead=null;_changesHead=null;_changesTail=null;_additionsHead=null;_additionsTail=null;_removalsHead=null;_removalsTail=null;get isDirty(){return this._additionsHead!==null||this._changesHead!==null||this._removalsHead!==null}forEachItem(n){let t;for(t=this._mapHead;t!==null;t=t._next)n(t)}forEachPreviousItem(n){let t;for(t=this._previousMapHead;t!==null;t=t._nextPrevious)n(t)}forEachChangedItem(n){let t;for(t=this._changesHead;t!==null;t=t._nextChanged)n(t)}forEachAddedItem(n){let t;for(t=this._additionsHead;t!==null;t=t._nextAdded)n(t)}forEachRemovedItem(n){let t;for(t=this._removalsHead;t!==null;t=t._nextRemoved)n(t)}diff(n){if(!n)n=new Map;else if(!(n instanceof Map||KI(n)))throw new Ye(900,!1);return this.check(n)?this:null}onDestroy(){}check(n){this._reset();let t=this._mapHead;
9if(this._appendAfter=null,this._forEach(n,(i,r)=>{if(t&&t.key===r)this._maybeAddToChanges(t,i),this._appendAfter=t,t=t._next;else{let o=this._getOrCreateRecordForKey(r,i);t=this._insertBeforeOrAppend(t,o)}}),t){t._prev&&(t._prev._next=null),this._removalsHead=t;for(let i=t;i!==null;i=i._nextRemoved)i===this._mapHead&&(this._mapHead=null),this._records.delete(i.key),i._nextRemoved=i._next,i.previousValue=i.currentValue,i.currentValue=null,i._prev=null,i._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(n,t){if(n){let i=n._prev;return t._next=n,t._prev=i,n._prev=t,i&&(i._next=t),n===this._mapHead&&(this._mapHead=t),this._appendAfter=n,n}return this._appendAfter?(this._appendAfter._next=t,t._prev=this._appendAfter):this._mapHead=t,this._appendAfter=t,null}_getOrCreateRecordForKey(n,t){if(this._records.has(n)){let r=this._records.get(n);this._maybeAddToChanges(r,t);let o=r._prev,l=r._next;return o&&(o._next=l),l&&(l._prev=o),r._next=null,r._prev=null,r}let i=new JS(n);return this._records.set(n,i),i.currentValue=t,this._addToAdditions(i),i}_reset(){if(this.isDirty){let n;for(this._previousMapHead=this._mapHead,n=this._previousMapHead;n!==null;n=n._next)n._nextPrevious=n._next;for(n=this._changesHead;n!==null;n=n._nextChanged)n.previousValue=n.currentValue;for(n=this._additionsHead;n!=null;n=n._nextAdded)n.previousValue=n.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(n,t){Object.is(t,n.currentValue)||(n.previousValue=n.currentValue,n.currentValue=t,this._addToChanges(n))}_addToAdditions(n){this._additionsHead===null?this._additionsHead=this._additionsTail=n:(this._additionsTail._nextAdded=n,this._additionsTail=n)}_addToChanges(n){this._changesHead===null?this._changesHead=this._changesTail=n:(this._changesTail._nextChanged=n,this._changesTail=n)}_forEach(n,t){n instanceof Map?n.forEach(t):Object.keys(n).forEach(i=>t(n[i],i))}},JS=class{key;previousValue=null;currentValue=null;_nextPrevious=null;_next=null;_prev=null;_nextAdded=null;_nextRemoved=null;_nextChanged=null;constructor(n){this.key=n}};function MA(){return new Lu([new YS])}var Lu=(()=>{class e{factories;static \u0275prov=le({token:e,providedIn:"root",factory:MA});constructor(t){this.factories=t}static create(t,i){if(i!=null){let r=i.factories.slice();t=t.concat(r)}return new e(t)}static extend(t){return{provide:e,useFactory:i=>e.create(t,i||MA()),deps:[[e,new Su,new Wc]]}}find(t){let i=this.factories.find(r=>r.supports(t));if(i!=null)return i;throw new Ye(901,!1)}}return e})();function AA(){return new Fu([new KS])}var Fu=(()=>{class e{static \u0275prov=le({token:e,providedIn:"root",factory:AA});factories;constructor(t){this.factories=t}static create(t,i){if(i){let r=i.factories.slice();t=t.concat(r)}return new e(t)}static extend(t){return{provide:e,useFactory:i=>e.create(t,i||AA()),deps:[[e,new Su,new Wc]]}}find(t){let i=this.factories.find(r=>r.supports(t));if(i)return i;throw new Ye(901,!1)}}return e})();var x6=dE(null,"core",[]),D6=(()=>{class e{constructor(t){}static \u0275fac=function(i){return new(i||e)(ae(Is))};static \u0275mod=We({type:e});static \u0275inj=$e({})}return e})();function xs(e){return typeof e=="boolean"?e:e!=null&&e!=="false"}function zr(e){return P3(e)}function Ds(e,n){return M3(e,n?.equal)}var eI=class{[Jo];constructor(n){this[Jo]=n}destroy(){this[Jo].destroy()}};function Cf(e,n){!n?.injector&&Bv(Cf);let t=n?.injector??ge(Gt),i=n?.manualCleanup!==!0?t.get(Es):null,r,o=t.get(MI,null,{optional:!0}),l=t.get(jc);return o!==null&&!n?.forceRoot?(r=Xj(o.view,l,e),i instanceof Ev&&i._lView===o.view&&(i=null)):r=Jj(e,t.get(e6),l),r.injector=t,i!==null&&(r.onDestroyFn=i.onDestroy(()=>r.destroy())),new eI(r)}var T6=U(k({},lu),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,dirty:!0,hasRun:!1,cleanupFns:void 0,zone:null,kind:"effect",onDestroyFn:Qp,run(){if(this.dirty=!1,this.hasRun&&!Q2(this))return;this.hasRun=!0;let e=i=>(this.cleanupFns??=[]).push(i),n=Lp(this),t=_v(!1);try{this.maybeCleanup(),this.fn(e)}finally{_v(t),q2(this,n)}},maybeCleanup(){if(this.cleanupFns?.length)try{for(;this.cleanupFns.length;)this.cleanupFns.pop()()}finally{this.cleanupFns=[]}}}),Zj=U(k({},T6),{consumerMarkedDirty(){this.scheduler.schedule(this),this.notifier.notify(12)},destroy(){Fp(this),this.onDestroyFn(),this.maybeCleanup(),this.scheduler.remove(this)}}),Kj=U(k({},T6),{consumerMarkedDirty(){this.view[Nt]|=8192,Du(this.view),this.notifier.notify(13)},destroy(){Fp(this),this.onDestroyFn(),this.maybeCleanup(),this.view[Fc]?.delete(this)}});function Xj(e,n,t){let i=Object.create(Kj);return i.view=e,i.zone=typeof Zone<"u"?Zone.current:null,i.notifier=n,i.fn=t,e[Fc]??=new Set,e[Fc].add(i),i.consumerMarkedDirty(i),i}function Jj(e,n,t){let i=Object.create(Zj);
vendor: 4,494 bytes, line 9
9return i.fn=e,i.scheduler=n,i.notifier=t,i.zone=typeof Zone<"u"?Zone.current:null,i.scheduler.schedule(i),i.notifier.notify(12),i}function M6(e,n){let t=Nl(e),i=n.elementInjector||Hv();return new zc(t).create(i,n.projectableNodes,n.hostElement,n.environmentInjector)}function A6(e){let n=Nl(e);if(!n)return null;let t=new zc(n);return{get selector(){return t.selector},get type(){return t.componentType},get inputs(){return t.inputs},get outputs(){return t.outputs},get ngContentSelectors(){return t.ngContentSelectors},get isStandalone(){return n.standalone},get isSignal(){return n.signals}}}var _n=new me("");var P6=null;function No(){return P6}function hE(e){P6??=e}var _f=class{},yf=(()=>{class e{historyGo(t){throw new Error("")}static \u0275fac=function(i){return new(i||e)};static \u0275prov=le({token:e,factory:()=>ge(k6),providedIn:"platform"})}return e})(),pE=new me(""),k6=(()=>{class e extends yf{_location;_history;_doc=ge(_n);constructor(){super(),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return No().getBaseHref(this._doc)}onPopState(t){let i=No().getGlobalEventTarget(this._doc,"window");return i.addEventListener("popstate",t,!1),()=>i.removeEventListener("popstate",t)}onHashChange(t){let i=No().getGlobalEventTarget(this._doc,"window");return i.addEventListener("hashchange",t,!1),()=>i.removeEventListener("hashchange",t)}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(t){this._location.pathname=t}pushState(t,i,r){this._history.pushState(t,i,r)}replaceState(t,i,r){this._history.replaceState(t,i,r)}forward(){this._history.forward()}back(){this._history.back()}historyGo(t=0){this._history.go(t)}getState(){return this._history.state}static \u0275fac=function(i){return new(i||e)};static \u0275prov=le({token:e,factory:()=>new e,providedIn:"platform"})}return e})();function lC(e,n){return e?n?e.endsWith("/")?n.startsWith("/")?e+n.slice(1):e+n:n.startsWith("/")?e+n:`${e}/${n}`:e:n}function O6(e){let n=e.search(/#|\?|$/);return e[n-1]==="/"?e.slice(0,n-1)+e.slice(n):e}function Ts(e){return e&&e[0]!=="?"?`?${e}`:e}var Ms=(()=>{class e{historyGo(t){throw new Error("")}static \u0275fac=function(i){return new(i||e)};static \u0275prov=le({token:e,factory:()=>ge(dC),providedIn:"root"})}return e})(),cC=new me(""),dC=(()=>{class e extends Ms{_platformLocation;_baseHref;_removeListenerFns=[];constructor(t,i){super(),this._platformLocation=t,this._baseHref=i??this._platformLocation.getBaseHrefFromDOM()??ge(_n).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(t){this._removeListenerFns.push(this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t))}getBaseHref(){return this._baseHref}prepareExternalUrl(t){return lC(this._baseHref,t)}path(t=!1){let i=this._platformLocation.pathname+Ts(this._platformLocation.search),r=this._platformLocation.hash;return r&&t?`${i}${r}`:i}pushState(t,i,r,o){let l=this.prepareExternalUrl(r+Ts(o));this._platformLocation.pushState(t,i,l)}replaceState(t,i,r,o){let l=this.prepareExternalUrl(r+Ts(o));this._platformLocation.replaceState(t,i,l)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(t=0){this._platformLocation.historyGo?.(t)}static \u0275fac=function(i){return new(i||e)(ae(yf),ae(cC,8))};static \u0275prov=le({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Bl=(()=>{class e{_subject=new Qe;_basePath;_locationStrategy;_urlChangeListeners=[];_urlChangeSubscription=null;constructor(t){this._locationStrategy=t;let i=this._locationStrategy.getBaseHref();this._basePath=nz(O6(R6(i))),this._locationStrategy.onPopState(r=>{this._subject.next({url:this.path(!0),pop:!0,state:r.state,type:r.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(t=!1){return this.normalize(this._locationStrategy.path(t))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(t,i=""){return this.path()==this.normalize(t+Ts(i))}normalize(t){return e.stripTrailingSlash(tz(this._basePath,R6(t)))}prepareExternalUrl(t){return t&&t[0]!=="/"&&(t="/"+t),this._locationStrategy.prepareExternalUrl(t)}
vendor: 8,740 bytes, line 9
9go(t,i="",r=null){this._locationStrategy.pushState(r,"",t,i),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+Ts(i)),r)}replaceState(t,i="",r=null){this._locationStrategy.replaceState(r,"",t,i),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+Ts(i)),r)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(t=0){this._locationStrategy.historyGo?.(t)}onUrlChange(t){return this._urlChangeListeners.push(t),this._urlChangeSubscription??=this.subscribe(i=>{this._notifyUrlChangeListeners(i.url,i.state)}),()=>{let i=this._urlChangeListeners.indexOf(t);this._urlChangeListeners.splice(i,1),this._urlChangeListeners.length===0&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(t="",i){this._urlChangeListeners.forEach(r=>r(t,i))}subscribe(t,i,r){return this._subject.subscribe({next:t,error:i??void 0,complete:r??void 0})}static normalizeQueryParams=Ts;static joinWithSlash=lC;static stripTrailingSlash=O6;static \u0275fac=function(i){return new(i||e)(ae(Ms))};static \u0275prov=le({token:e,factory:()=>ez(),providedIn:"root"})}return e})();function ez(){return new Bl(ae(Ms))}function tz(e,n){if(!e||!n.startsWith(e))return n;let t=n.substring(e.length);return t===""||["/",";","?","#"].includes(t[0])?t:n}function R6(e){return e.replace(/\/index.html$/,"")}function nz(e){if(new RegExp("^(https?:)?//").test(e)){let[,t]=e.split(/\/\/[^\/]+/);return t}return e}var SE=(()=>{class e extends Ms{_platformLocation;_baseHref="";_removeListenerFns=[];constructor(t,i){super(),this._platformLocation=t,i!=null&&(this._baseHref=i)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(t){this._removeListenerFns.push(this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t))}getBaseHref(){return this._baseHref}path(t=!1){let i=this._platformLocation.hash??"#";return i.length>0?i.substring(1):i}prepareExternalUrl(t){let i=lC(this._baseHref,t);return i.length>0?"#"+i:i}pushState(t,i,r,o){let l=this.prepareExternalUrl(r+Ts(o))||this._platformLocation.pathname;this._platformLocation.pushState(t,i,l)}replaceState(t,i,r,o){let l=this.prepareExternalUrl(r+Ts(o))||this._platformLocation.pathname;this._platformLocation.replaceState(t,i,l)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(t=0){this._platformLocation.historyGo?.(t)}static \u0275fac=function(i){return new(i||e)(ae(yf),ae(cC,8))};static \u0275prov=le({token:e,factory:e.\u0275fac})}return e})(),z6={ADP:[void 0,void 0,0],AFN:[void 0,"\u060B",0],ALL:[void 0,void 0,0],AMD:[void 0,"\u058F",2],AOA:[void 0,"Kz"],ARS:[void 0,"$"],AUD:["A$","$"],AZN:[void 0,"\u20BC"],BAM:[void 0,"KM"],BBD:[void 0,"$"],BDT:[void 0,"\u09F3"],BHD:[void 0,void 0,3],BIF:[void 0,void 0,0],BMD:[void 0,"$"],BND:[void 0,"$"],BOB:[void 0,"Bs"],BRL:["R$"],BSD:[void 0,"$"],BWP:[void 0,"P"],BYN:[void 0,void 0,2],BYR:[void 0,void 0,0],BZD:[void 0,"$"],CAD:["CA$","$",2],CHF:[void 0,void 0,2],CLF:[void 0,void 0,4],CLP:[void 0,"$",0],CNY:["CN\xA5","\xA5"],COP:[void 0,"$",2],CRC:[void 0,"\u20A1",2],CUC:[void 0,"$"],CUP:[void 0,"$"],CZK:[void 0,"K\u010D",2],DJF:[void 0,void 0,0],DKK:[void 0,"kr",2],DOP:[void 0,"$"],EGP:[void 0,"E\xA3"],ESP:[void 0,"\u20A7",0],EUR:["\u20AC"],FJD:[void 0,"$"],FKP:[void 0,"\xA3"],GBP:["\xA3"],GEL:[void 0,"\u20BE"],GHS:[void 0,"GH\u20B5"],GIP:[void 0,"\xA3"],GNF:[void 0,"FG",0],GTQ:[void 0,"Q"],GYD:[void 0,"$",2],HKD:["HK$","$"],HNL:[void 0,"L"],HRK:[void 0,"kn"],HUF:[void 0,"Ft",2],IDR:[void 0,"Rp",2],ILS:["\u20AA"],INR:["\u20B9"],IQD:[void 0,void 0,0],IRR:[void 0,void 0,0],ISK:[void 0,"kr",0],ITL:[void 0,void 0,0],JMD:[void 0,"$"],JOD:[void 0,void 0,3],JPY:["\xA5",void 0,0],KHR:[void 0,"\u17DB"],KMF:[void 0,"CF",0],KPW:[void 0,"\u20A9",0],KRW:["\u20A9",void 0,0],KWD:[void 0,void 0,3],KYD:[void 0,"$"],KZT:[void 0,"\u20B8"],LAK:[void 0,"\u20AD",0],LBP:[void 0,"L\xA3",0],LKR:[void 0,"Rs"],LRD:[void 0,"$"],LTL:[void 0,"Lt"],LUF:[void 0,void 0,0],LVL:[void 0,"Ls"],LYD:[void 0,void 0,3],MGA:[void 0,"Ar",0],MGF:[void 0,void 0,0],MMK:[void 0,"K",0],MNT:[void 0,"\u20AE",2],MRO:[void 0,void 0,0],MUR:[void 0,"Rs",2],MXN:["MX$","$"],MYR:[void 0,"RM"],NAD:[void 0,"$"],NGN:[void 0,"\u20A6"],NIO:[void 0,"C$"],NOK:[void 0,"kr",2],NPR:[void 0,"Rs"],NZD:["NZ$","$"],OMR:[void 0,void 0,3],PHP:["\u20B1"],PKR:[void 0,"Rs",2],PLN:[void 0,"z\u0142"],PYG:[void 0,"\u20B2",0],RON:[void 0,"lei"],RSD:[void 0,void 0,0],RUB:[void 0,"\u20BD"],RWF:[void 0,"RF",0],SBD:[void 0,"$"],SEK:[void 0,"kr",2],SGD:[void 0,"$"],SHP:[void 0,"\xA3"],SLE:[void 0,void 0,2],SLL:[void 0,void 0,0],SOS:[void 0,void 0,0],SRD:[void 0,"$"],SSP:[void 0,"\xA3"],STD:[void 0,void 0,0],STN:[void 0,"Db"],SYP:[void 0,"\xA3",0],THB:[void 0,"\u0E3F"],TMM:[void 0,void 0,0],TND:[void 0,void 0,3],TOP:[void 0,"T$"],TRL:[void 0,void 0,0],TRY:[void 0,"\u20BA"],TTD:[void 0,"$"],TWD:["NT$","$",2],TZS:[void 0,void 0,2],UAH:[void 0,"\u20B4"],UGX:[void 0,void 0,0],USD:["$"],UYI:[void 0,void 0,0],UYU:[void 0,"$"],UYW:[void 0,void 0,4],UZS:[void 0,void 0,2],VEF:[void 0,"Bs",2],VND:["\u20AB",void 0,0],VUV:[void 0,void 0,0],XAF:["FCFA",void 0,0],XCD:["EC$","$"],XOF:["F\u202FCFA",void 0,0],XPF:["CFPF",void 0,0],XXX:["\xA4"],YER:[void 0,void 0,0],ZAR:[void 0,"R"],ZMK:[void 0,void 0,0],ZMW:[void 0,"ZK"],ZWD:[void 0,void 0,0]},Ef=(function(e){return e[e.Decimal=0]="Decimal",e[e.Percent=1]="Percent",e[e.Currency=2]="Currency",e[e.Scientific=3]="Scientific",e})(Ef||{});var Di=(function(e){return e[e.Format=0]="Format",e[e.Standalone=1]="Standalone",e})(Di||{}),gn=(function(e){return e[e.Narrow=0]="Narrow",e[e.Abbreviated=1]="Abbreviated",e[e.Wide=2]="Wide",e[e.Short=3]="Short",e})(gn||{}),Dr=(function(e){return e[e.Short=0]="Short",e[e.Medium=1]="Medium",e[e.Long=2]="Long",e[e.Full=3]="Full",e})(Dr||{}),Ti={Decimal:0,Group:1,List:2,PercentSign:3,PlusSign:4,MinusSign:5,Exponential:6,SuperscriptingExponent:7,PerMille:8,Infinity:9,NaN:10,TimeSeparator:11,CurrencyDecimal:12,CurrencyGroup:13};function G6(e){return jr(e)[Wn.LocaleId]}function $6(e,n,t){let i=jr(e),r=[i[Wn.DayPeriodsFormat],i[Wn.DayPeriodsStandalone]],o=rs(r,n);return rs(o,t)}function wf(e,n,t){let i=jr(e),r=[i[Wn.DaysFormat],i[Wn.DaysStandalone]],o=rs(r,n);return rs(o,t)}function xf(e,n,t){let i=jr(e),r=[i[Wn.MonthsFormat],i[Wn.MonthsStandalone]],o=rs(r,n);return rs(o,t)}function W6(e,n){let i=jr(e)[Wn.Eras];return rs(i,n)}function IE(e){return jr(e)[Wn.FirstDayOfWeek]}function Qc(e,n){let t=jr(e);return rs(t[Wn.DateFormat],n)}function bf(e,n){let t=jr(e);return rs(t[Wn.TimeFormat],n)}function Sf(e,n){let i=jr(e)[Wn.DateTimeFormat];return rs(i,n)}function Lo(e,n){let t=jr(e),i=t[Wn.NumberSymbols][n];if(typeof i>"u"){if(n===Ti.CurrencyDecimal)return t[Wn.NumberSymbols][Ti.Decimal];if(n===Ti.CurrencyGroup)return t[Wn.NumberSymbols][Ti.Group]}return i}function yC(e,n){return jr(e)[Wn.NumberFormats][n]}function iz(e){return jr(e)[Wn.Currencies]}function Y6(e){if(!e[Wn.ExtraData])throw new Error(`Missing extra locale data for the locale "${e[Wn.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function q6(e){let n=jr(e);return Y6(n),(n[Wn.ExtraData][2]||[]).map(i=>typeof i=="string"?fE(i):[fE(i[0]),fE(i[1])])}function Q6(e,n,t){let i=jr(e);Y6(i);let r=[i[Wn.ExtraData][0],i[Wn.ExtraData][1]],o=rs(r,n)||[];return rs(o,t)||[]}function rs(e,n){for(let t=n;t>-1;t--)if(typeof e[t]<"u")return e[t];throw new Error("Locale data API: locale data undefined")}function fE(e){let[n,t]=e.split(":");return{hours:+n,minutes:+t}}function Z6(e,n,t="en"){let i=iz(t)[e]||z6[e]||[],r=i[1];return n==="narrow"&&typeof r=="string"?r:i[0]||e}var rz=2;function K6(e){let n,t=z6[e];return t&&(n=t[2]),typeof n=="number"?n:rz}var oz=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,uC={},sz=/((?:[^BEGHLMOSWYZabcdhmswyz']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|Y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|c{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\s\S]*)/;function Cr(e,n,t,i){let r=gz(e);n=il(t,n)||n;let l=[],p;for(;n;)if(p=sz.exec(n),p){l=l.concat(p.slice(1));let V=l.pop();if(!V)break;n=V}else{l.push(n);break}let C=r.getTimezoneOffset();i&&(C=J6(i,C),r=fz(r,i));let w="";return l.forEach(V=>{let j=hz(V);w+=j?j(r,t,C):V==="''"?"'":V.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),w}function mC(e,n,t){let i=new Date(0);return i.setFullYear(e,n,t),i.setHours(0,0,0),i}function il(e,n){let t=G6(e);if(uC[t]??={},uC[t][n])return uC[t][n];let i="";switch(n){case"shortDate":i=Qc(e,Dr.Short);break;case"mediumDate":i=Qc(e,Dr.Medium);break;
vendor: 4,457 bytes, line 9
9case"longDate":i=Qc(e,Dr.Long);break;case"fullDate":i=Qc(e,Dr.Full);break;case"shortTime":i=bf(e,Dr.Short);break;case"mediumTime":i=bf(e,Dr.Medium);break;case"longTime":i=bf(e,Dr.Long);break;case"fullTime":i=bf(e,Dr.Full);break;case"short":let r=il(e,"shortTime"),o=il(e,"shortDate");i=hC(Sf(e,Dr.Short),[r,o]);break;case"medium":let l=il(e,"mediumTime"),p=il(e,"mediumDate");i=hC(Sf(e,Dr.Medium),[l,p]);break;case"long":let C=il(e,"longTime"),w=il(e,"longDate");i=hC(Sf(e,Dr.Long),[C,w]);break;case"full":let V=il(e,"fullTime"),j=il(e,"fullDate");i=hC(Sf(e,Dr.Full),[V,j]);break}return i&&(uC[t][n]=i),i}function hC(e,n){return n&&(e=e.replace(/\{([^}]+)}/g,function(t,i){return n!=null&&i in n?n[i]:t})),e}function As(e,n,t="-",i,r){let o="";(e<0||r&&e<=0)&&(r?e=-e+1:(e=-e,o=t));let l=String(e);for(;l.length<n;)l="0"+l;return i&&(l=l.slice(l.length-n)),o+l}function az(e,n){return As(e,3).substring(0,n)}function Fi(e,n,t=0,i=!1,r=!1){return function(o,l){let p=lz(e,o);if((t>0||p>-t)&&(p+=t),e===3)p===0&&t===-12&&(p=12);else if(e===6)return az(p,n);let C=Lo(l,Ti.MinusSign);return As(p,n,C,i,r)}}function lz(e,n){switch(e){case 0:return n.getFullYear();case 1:return n.getMonth();case 2:return n.getDate();case 3:return n.getHours();case 4:return n.getMinutes();case 5:return n.getSeconds();case 6:return n.getMilliseconds();case 7:return n.getDay();default:throw new Error(`Unknown DateType value "${e}".`)}}function qn(e,n,t=Di.Format,i=!1){return function(r,o){return cz(r,o,e,n,t,i)}}function cz(e,n,t,i,r,o){switch(t){case 2:return xf(n,r,i)[e.getMonth()];case 1:return wf(n,r,i)[e.getDay()];case 0:let l=e.getHours(),p=e.getMinutes();if(o){let w=q6(n),V=Q6(n,r,i),j=w.findIndex($=>{if(Array.isArray($)){let[W,se]=$,be=l>=W.hours&&p>=W.minutes,Ve=l<se.hours||l===se.hours&&p<se.minutes;if(W.hours<se.hours){if(be&&Ve)return!0}else if(be||Ve)return!0}else if($.hours===l&&$.minutes===p)return!0;return!1});if(j!==-1)return V[j]}return $6(n,r,i)[l<12?0:1];case 3:return W6(n,i)[e.getFullYear()<=0?0:1];default:let C=t;throw new Error(`unexpected translation type ${C}`)}}function pC(e){return function(n,t,i){let r=-1*i,o=Lo(t,Ti.MinusSign),l=r>0?Math.floor(r/60):Math.ceil(r/60);switch(e){case 0:return(r>=0?"+":"")+As(l,2,o)+As(Math.abs(r%60),2,o);case 1:return"GMT"+(r>=0?"+":"")+As(l,1,o);case 2:return"GMT"+(r>=0?"+":"")+As(l,2,o)+":"+As(Math.abs(r%60),2,o);case 3:return i===0?"Z":(r>=0?"+":"")+As(l,2,o)+":"+As(Math.abs(r%60),2,o);default:throw new Error(`Unknown zone width "${e}"`)}}}var dz=0,gC=4;function uz(e){let n=mC(e,dz,1).getDay();return mC(e,0,1+(n<=gC?gC:gC+7)-n)}function X6(e){let n=e.getDay(),t=n===0?-3:gC-n;return mC(e.getFullYear(),e.getMonth(),e.getDate()+t)}function gE(e,n=!1){return function(t,i){let r;if(n){let o=new Date(t.getFullYear(),t.getMonth(),1).getDay()-1,l=t.getDate();r=1+Math.floor((l+o)/7)}else{let o=X6(t),l=uz(o.getFullYear()),p=o.getTime()-l.getTime();r=1+Math.round(p/6048e5)}return As(r,e,Lo(i,Ti.MinusSign))}}function fC(e,n=!1){return function(t,i){let o=X6(t).getFullYear();return As(o,e,Lo(i,Ti.MinusSign),n)}}var mE={};function hz(e){if(mE[e])return mE[e];let n;switch(e){case"G":case"GG":case"GGG":n=qn(3,gn.Abbreviated);break;case"GGGG":n=qn(3,gn.Wide);break;case"GGGGG":n=qn(3,gn.Narrow);break;case"y":n=Fi(0,1,0,!1,!0);break;case"yy":n=Fi(0,2,0,!0,!0);break;case"yyy":n=Fi(0,3,0,!1,!0);break;case"yyyy":n=Fi(0,4,0,!1,!0);break;case"Y":n=fC(1);break;case"YY":n=fC(2,!0);break;case"YYY":n=fC(3);break;case"YYYY":n=fC(4);break;case"M":case"L":n=Fi(1,1,1);break;case"MM":case"LL":n=Fi(1,2,1);break;case"MMM":n=qn(2,gn.Abbreviated);break;case"MMMM":n=qn(2,gn.Wide);break;case"MMMMM":n=qn(2,gn.Narrow);break;case"LLL":n=qn(2,gn.Abbreviated,Di.Standalone);break;case"LLLL":n=qn(2,gn.Wide,Di.Standalone);break;case"LLLLL":n=qn(2,gn.Narrow,Di.Standalone);break;case"w":n=gE(1);break;case"ww":n=gE(2);break;case"W":n=gE(1,!0);break;case"d":n=Fi(2,1);break;case"dd":n=Fi(2,2);break;case"c":case"cc":n=Fi(7,1);break;case"ccc":n=qn(1,gn.Abbreviated,Di.Standalone);break;case"cccc":n=qn(1,gn.Wide,Di.Standalone);break;case"ccccc":n=qn(1,gn.Narrow,Di.Standalone);break;case"cccccc":n=qn(1,gn.Short,Di.Standalone);break;case"E":case"EE":case"EEE":n=qn(1,gn.Abbreviated);break;case"EEEE":n=qn(1,gn.Wide);break;case"EEEEE":n=qn(1,gn.Narrow);break;case"EEEEEE":n=qn(1,gn.Short);break;case"a":case"aa":case"aaa":n=qn(0,gn.Abbreviated);break;case"aaaa":n=qn(0,gn.Wide);break;case"aaaaa":n=qn(0,gn.Narrow);break;
vendor: 15,248 bytes, line 9
9case"b":case"bb":case"bbb":n=qn(0,gn.Abbreviated,Di.Standalone,!0);break;case"bbbb":n=qn(0,gn.Wide,Di.Standalone,!0);break;case"bbbbb":n=qn(0,gn.Narrow,Di.Standalone,!0);break;case"B":case"BB":case"BBB":n=qn(0,gn.Abbreviated,Di.Format,!0);break;case"BBBB":n=qn(0,gn.Wide,Di.Format,!0);break;case"BBBBB":n=qn(0,gn.Narrow,Di.Format,!0);break;case"h":n=Fi(3,1,-12);break;case"hh":n=Fi(3,2,-12);break;case"H":n=Fi(3,1);break;case"HH":n=Fi(3,2);break;case"m":n=Fi(4,1);break;case"mm":n=Fi(4,2);break;case"s":n=Fi(5,1);break;case"ss":n=Fi(5,2);break;case"S":n=Fi(6,1);break;case"SS":n=Fi(6,2);break;case"SSS":n=Fi(6,3);break;case"Z":case"ZZ":case"ZZZ":n=pC(0);break;case"ZZZZZ":n=pC(3);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":n=pC(1);break;case"OOOO":case"ZZZZ":case"zzzz":n=pC(2);break;default:return null}return mE[e]=n,n}function J6(e,n){e=e.replace(/:/g,"");let t=Date.parse("Jan 01, 1970 00:00:00 "+e)/6e4;return isNaN(t)?n:t}function pz(e,n){return e=new Date(e.getTime()),e.setMinutes(e.getMinutes()+n),e}function fz(e,n,t){let r=e.getTimezoneOffset(),o=J6(n,r);return pz(e,-1*(o-r))}function gz(e){if(N6(e))return e;if(typeof e=="number"&&!isNaN(e))return new Date(e);if(typeof e=="string"){if(e=e.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(e)){let[r,o=1,l=1]=e.split("-").map(p=>+p);return mC(r,o-1,l)}let t=parseFloat(e);if(!isNaN(e-t))return new Date(t);let i;if(i=e.match(oz))return mz(i)}let n=new Date(e);if(!N6(n))throw new Error(`Unable to convert "${e}" into a date`);return n}function mz(e){let n=new Date(0),t=0,i=0,r=e[8]?n.setUTCFullYear:n.setFullYear,o=e[8]?n.setUTCHours:n.setHours;e[9]&&(t=Number(e[9]+e[10]),i=Number(e[9]+e[11])),r.call(n,Number(e[1]),Number(e[2])-1,Number(e[3]));let l=Number(e[4]||0)-t,p=Number(e[5]||0)-i,C=Number(e[6]||0),w=Math.floor(parseFloat("0."+(e[7]||0))*1e3);return o.call(n,l,p,C,w),n}function N6(e){return e instanceof Date&&!isNaN(e.valueOf())}var vz=/^(\d+)?\.((\d+)(-(\d+))?)?$/,L6=22,vC=".",If="0",Cz=";",_z=",",vE="#",F6="\xA4",yz="%";function EE(e,n,t,i,r,o,l=!1){let p="",C=!1;if(!isFinite(e))p=Lo(t,Ti.Infinity);else{let w=Sz(e);l&&(w=bz(w));let V=n.minInt,j=n.minFrac,$=n.maxFrac;if(o){let sn=o.match(vz);if(sn===null)throw new Error(`${o} is not a valid digit info`);let Pt=sn[1],Ot=sn[3],jt=sn[5];Pt!=null&&(V=CE(Pt)),Ot!=null&&(j=CE(Ot)),jt!=null?$=CE(jt):Ot!=null&&j>$&&($=j)}Iz(w,j,$);let W=w.digits,se=w.integerLen,be=w.exponent,Ve=[];for(C=W.every(sn=>!sn);se<V;se++)W.unshift(0);for(;se<0;se++)W.unshift(0);se>0?Ve=W.splice(se,W.length):(Ve=W,W=[0]);let dt=[];for(W.length>=n.lgSize&&dt.unshift(W.splice(-n.lgSize,W.length).join(""));W.length>n.gSize;)dt.unshift(W.splice(-n.gSize,W.length).join(""));W.length&&dt.unshift(W.join("")),p=dt.join(Lo(t,i)),Ve.length&&(p+=Lo(t,r)+Ve.join("")),be&&(p+=Lo(t,Ti.Exponential)+"+"+be)}return e<0&&!C?p=n.negPre+p+n.negSuf:p=n.posPre+p+n.posSuf,p}function e8(e,n,t,i,r){let o=yC(n,Ef.Currency),l=wE(o,Lo(n,Ti.MinusSign));return l.minFrac=K6(i),l.maxFrac=l.minFrac,EE(e,l,n,Ti.CurrencyGroup,Ti.CurrencyDecimal,r).replace(F6,t).replace(F6,"").trim()}function t8(e,n,t){let i=yC(n,Ef.Percent),r=wE(i,Lo(n,Ti.MinusSign));return EE(e,r,n,Ti.Group,Ti.Decimal,t,!0).replace(new RegExp(yz,"g"),Lo(n,Ti.PercentSign))}function rl(e,n,t){let i=yC(n,Ef.Decimal),r=wE(i,Lo(n,Ti.MinusSign));return EE(e,r,n,Ti.Group,Ti.Decimal,t)}function wE(e,n="-"){let t={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},i=e.split(Cz),r=i[0],o=i[1],l=r.indexOf(vC)!==-1?r.split(vC):[r.substring(0,r.lastIndexOf(If)+1),r.substring(r.lastIndexOf(If)+1)],p=l[0],C=l[1]||"";t.posPre=p.substring(0,p.indexOf(vE));for(let V=0;V<C.length;V++){let j=C.charAt(V);j===If?t.minFrac=t.maxFrac=V+1:j===vE?t.maxFrac=V+1:t.posSuf+=j}let w=p.split(_z);if(t.gSize=w[1]?w[1].length:0,t.lgSize=w[2]||w[1]?(w[2]||w[1]).length:0,o){let V=r.length-t.posPre.length-t.posSuf.length,j=o.indexOf(vE);t.negPre=o.substring(0,j).replace(/'/g,""),t.negSuf=o.slice(j+V).replace(/'/g,"")}else t.negPre=n+t.posPre,t.negSuf=t.posSuf;return t}function bz(e){if(e.digits[0]===0)return e;let n=e.digits.length-e.integerLen;return e.exponent?e.exponent+=2:(n===0?e.digits.push(0,0):n===1&&e.digits.push(0),e.integerLen+=2),e}function Sz(e){let n=Math.abs(e)+"",t=0,i,r,o,l,p;for((r=n.indexOf(vC))>-1&&(n=n.replace(vC,"")),(o=n.search(/e/i))>0?(r<0&&(r=o),r+=+n.slice(o+1),n=n.substring(0,o)):r<0&&(r=n.length),o=0;n.charAt(o)===If;o++);if(o===(p=n.length))i=[0],r=1;else{for(p--;n.charAt(p)===If;)p--;for(r-=o,i=[],l=0;o<=p;o++,l++)i[l]=Number(n.charAt(o))}return r>L6&&(i=i.splice(0,L6-1),t=r-1,r=1),{digits:i,exponent:t,integerLen:r}}function Iz(e,n,t){if(n>t)throw new Error(`The minimum number of digits after fraction (${n}) is higher than the maximum (${t}).`);let i=e.digits,r=i.length-e.integerLen,o=Math.min(Math.max(n,r),t),l=o+e.integerLen,p=i[l];if(l>0){i.splice(Math.max(e.integerLen,l));for(let j=l;j<i.length;j++)i[j]=0}else{r=Math.max(0,r),e.integerLen=1,i.length=Math.max(1,l=o+1),i[0]=0;for(let j=1;j<l;j++)i[j]=0}if(p>=5)if(l-1<0){for(let j=0;j>l;j--)i.unshift(0),e.integerLen++;i.unshift(1),e.integerLen++}else i[l-1]++;for(;r<Math.max(0,o);r++)i.push(0);let C=o!==0,w=n+e.integerLen,V=i.reduceRight(function(j,$,W,se){return $=$+j,se[W]=$<10?$:$-10,C&&(se[W]===0&&W>=w?se.pop():C=!1),$>=10?1:0},0);V&&(i.unshift(V),e.integerLen++)}function CE(e){let n=parseInt(e);if(isNaN(n))throw new Error("Invalid integer literal when parsing "+e);return n}var _E=/\s+/,V6=[],Dn=(()=>{class e{_ngEl;_renderer;initialClasses=V6;rawClass;stateMap=new Map;constructor(t,i){this._ngEl=t,this._renderer=i}set klass(t){this.initialClasses=t!=null?t.trim().split(_E):V6}set ngClass(t){this.rawClass=typeof t=="string"?t.trim().split(_E):t}ngDoCheck(){for(let i of this.initialClasses)this._updateState(i,!0);let t=this.rawClass;if(Array.isArray(t)||t instanceof Set)for(let i of t)this._updateState(i,!0);else if(t!=null)for(let i of Object.keys(t))this._updateState(i,!!t[i]);this._applyStateDiff()}_updateState(t,i){let r=this.stateMap.get(t);r!==void 0?(r.enabled!==i&&(r.changed=!0,r.enabled=i),r.touched=!0):this.stateMap.set(t,{enabled:i,changed:!0,touched:!0})}_applyStateDiff(){for(let t of this.stateMap){let i=t[0],r=t[1];r.changed?(this._toggleClass(i,r.enabled),r.changed=!1):r.touched||(r.enabled&&this._toggleClass(i,!1),this.stateMap.delete(i)),r.touched=!1}}_toggleClass(t,i){t=t.trim(),t.length>0&&t.split(_E).forEach(r=>{i?this._renderer.addClass(this._ngEl.nativeElement,r):this._renderer.removeClass(this._ngEl.nativeElement,r)})}static \u0275fac=function(i){return new(i||e)(A(et),A(Lt))};static \u0275dir=He({type:e,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"}})}return e})(),Ez=(()=>{class e{_viewContainerRef;ngComponentOutlet=null;ngComponentOutletInputs;ngComponentOutletInjector;ngComponentOutletContent;ngComponentOutletNgModule;ngComponentOutletNgModuleFactory;_componentRef;_moduleRef;_inputsUsed=new Map;get componentInstance(){return this._componentRef?.instance??null}constructor(t){this._viewContainerRef=t}_needToReCreateNgModuleInstance(t){return t.ngComponentOutletNgModule!==void 0||t.ngComponentOutletNgModuleFactory!==void 0}_needToReCreateComponentInstance(t){return t.ngComponentOutlet!==void 0||t.ngComponentOutletContent!==void 0||t.ngComponentOutletInjector!==void 0||this._needToReCreateNgModuleInstance(t)}ngOnChanges(t){if(this._needToReCreateComponentInstance(t)&&(this._viewContainerRef.clear(),this._inputsUsed.clear(),this._componentRef=void 0,this.ngComponentOutlet)){let i=this.ngComponentOutletInjector||this._viewContainerRef.parentInjector;this._needToReCreateNgModuleInstance(t)&&(this._moduleRef?.destroy(),this.ngComponentOutletNgModule?this._moduleRef=YO(this.ngComponentOutletNgModule,U6(i)):this.ngComponentOutletNgModuleFactory?this._moduleRef=this.ngComponentOutletNgModuleFactory.create(U6(i)):this._moduleRef=void 0),this._componentRef=this._viewContainerRef.createComponent(this.ngComponentOutlet,{injector:i,ngModuleRef:this._moduleRef,projectableNodes:this.ngComponentOutletContent})}}ngDoCheck(){if(this._componentRef){if(this.ngComponentOutletInputs)for(let t of Object.keys(this.ngComponentOutletInputs))this._inputsUsed.set(t,!0);this._applyInputStateDiff(this._componentRef)}}ngOnDestroy(){this._moduleRef?.destroy()}_applyInputStateDiff(t){for(let[i,r]of this._inputsUsed)r?(t.setInput(i,this.ngComponentOutletInputs[i]),this._inputsUsed.set(i,!1)):(t.setInput(i,void 0),this._inputsUsed.delete(i))}static \u0275fac=function(i){return new(i||e)(A(Nn))};static \u0275dir=He({type:e,selectors:[["","ngComponentOutlet",""]],inputs:{ngComponentOutlet:"ngComponentOutlet",ngComponentOutletInputs:"ngComponentOutletInputs",ngComponentOutletInjector:"ngComponentOutletInjector",ngComponentOutletContent:"ngComponentOutletContent",ngComponentOutletNgModule:"ngComponentOutletNgModule",ngComponentOutletNgModuleFactory:"ngComponentOutletNgModuleFactory"},exportAs:["ngComponentOutlet"],features:[Xt]})}return e})();function U6(e){return e.get(Gc).injector}var CC=class{$implicit;ngForOf;index;count;constructor(n,t,i,r){this.$implicit=n,this.ngForOf=t,this.index=i,this.count=r}get first(){return this.index===0}get last(){return this.index===this.count-1}get even(){return this.index%2===0}get odd(){return!this.even}},rn=(()=>{class e{_viewContainer;_template;_differs;set ngForOf(t){this._ngForOf=t,this._ngForOfDirty=!0}set ngForTrackBy(t){this._trackByFn=t}get ngForTrackBy(){return this._trackByFn}_ngForOf=null;_ngForOfDirty=!0;_differ=null;_trackByFn;constructor(t,i,r){this._viewContainer=t,this._template=i,this._differs=r}set ngForTemplate(t){t&&(this._template=t)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;let t=this._ngForOf;!this._differ&&t&&(this._differ=this._differs.find(t).create(this.ngForTrackBy))}if(this._differ){let t=this._differ.diff(this._ngForOf);t&&this._applyChanges(t)}}_applyChanges(t){let i=this._viewContainer;t.forEachOperation((r,o,l)=>{if(r.previousIndex==null)i.createEmbeddedView(this._template,new CC(r.item,this._ngForOf,-1,-1),l===null?void 0:l);else if(l==null)i.remove(o===null?void 0:o);else if(o!==null){let p=i.get(o);i.move(p,l),H6(p,r)}});for(let r=0,o=i.length;r<o;r++){let p=i.get(r).context;p.index=r,p.count=o,p.ngForOf=this._ngForOf}t.forEachIdentityChange(r=>{let o=i.get(r.currentIndex);H6(o,r)})}static ngTemplateContextGuard(t,i){return!0}static \u0275fac=function(i){return new(i||e)(A(Nn),A(ir),A(Lu))};static \u0275dir=He({type:e,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}})}return e})();function H6(e,n){e.context.$implicit=n.item}var rt=(()=>{class e{_viewContainer;_context=new _C;_thenTemplateRef=null;_elseTemplateRef=null;_thenViewRef=null;_elseViewRef=null;constructor(t,i){this._viewContainer=t,this._thenTemplateRef=i}set ngIf(t){this._context.$implicit=this._context.ngIf=t,this._updateView()}set ngIfThen(t){B6(t,!1),this._thenTemplateRef=t,this._thenViewRef=null,this._updateView()}set ngIfElse(t){B6(t,!1),this._elseTemplateRef=t,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 ngIfUseIfTypeGuard;static ngTemplateGuard_ngIf;static ngTemplateContextGuard(t,i){return!0}static \u0275fac=function(i){return new(i||e)(A(Nn),A(ir))};static \u0275dir=He({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}})}return e})(),_C=class{$implicit=null;ngIf=null};function B6(e,n){if(e&&!e.createEmbeddedView)throw new Ye(2020,!1)}var Gr=(()=>{class e{_ngEl;_differs;_renderer;_ngStyle=null;_differ=null;constructor(t,i,r){this._ngEl=t,this._differs=i,this._renderer=r}set ngStyle(t){this._ngStyle=t,!this._differ&&t&&(this._differ=this._differs.find(t).create())}ngDoCheck(){if(this._differ){let t=this._differ.diff(this._ngStyle);t&&this._applyChanges(t)}}_setStyle(t,i){let[r,o]=t.split("."),l=r.indexOf("-")===-1?void 0:na.DashCase;i!=null?this._renderer.setStyle(this._ngEl.nativeElement,r,o?`${i}${o}`:i,l):this._renderer.removeStyle(this._ngEl.nativeElement,r,l)}_applyChanges(t){t.forEachRemovedItem(i=>this._setStyle(i.key,null)),t.forEachAddedItem(i=>this._setStyle(i.key,i.currentValue)),t.forEachChangedItem(i=>this._setStyle(i.key,i.currentValue))}static \u0275fac=function(i){return new(i||e)(A(et),A(Fu),A(Lt))};static \u0275dir=He({type:e,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"}})}return e})(),ol=(()=>{class e{_viewContainerRef;_viewRef=null;ngTemplateOutletContext=null;ngTemplateOutlet=null;ngTemplateOutletInjector=null;constructor(t){this._viewContainerRef=t}ngOnChanges(t){if(this._shouldRecreateView(t)){let i=this._viewContainerRef;if(this._viewRef&&i.remove(i.indexOf(this._viewRef)),!this.ngTemplateOutlet){this._viewRef=null;return}let r=this._createContextForwardProxy();this._viewRef=i.createEmbeddedView(this.ngTemplateOutlet,r,{injector:this.ngTemplateOutletInjector??void 0})}}_shouldRecreateView(t){return!!t.ngTemplateOutlet||!!t.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(t,i,r)=>this.ngTemplateOutletContext?Reflect.set(this.ngTemplateOutletContext,i,r):!1,get:(t,i,r)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,i,r)}})}static \u0275fac=function(i){return new(i||e)(A(Nn))};static \u0275dir=He({type:e,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},features:[Xt]})}return e})();function Vu(e,n){return new Ye(2100,!1)}var yE=class{createSubscription(n,t){return zr(()=>n.subscribe({next:t,error:i=>{throw i}}))}dispose(n){zr(()=>n.unsubscribe())}},bE=class{createSubscription(n,t){return n.then(i=>t?.(i),i=>{throw i}),{unsubscribe:()=>{t=null}}}dispose(n){n.unsubscribe()}},wz=new bE,xz=new yE,n8=(()=>{class e{_ref;_latestValue=null;markForCheckOnValueUpdate=!0;_subscription=null;_obj=null;_strategy=null;constructor(t){this._ref=t}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(t){if(!this._obj){if(t)try{this.markForCheckOnValueUpdate=!1,this._subscribe(t)}finally{this.markForCheckOnValueUpdate=!0}return this._latestValue}return t!==this._obj?(this._dispose(),this.transform(t)):this._latestValue}_subscribe(t){this._obj=t,this._strategy=this._selectStrategy(t),this._subscription=this._strategy.createSubscription(t,i=>this._updateLatestValue(t,i))}_selectStrategy(t){if(Hl(t))return wz;if(tE(t))return xz;throw Vu(e,t)}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(t,i){t===this._obj&&(this._latestValue=i,this.markForCheckOnValueUpdate&&this._ref?.markForCheck())}static \u0275fac=function(i){return new(i||e)(A(Yn,16))};
9static \u0275pipe=ns({name:"async",type:e,pure:!1})}return e})();var Dz=(()=>{class e{transform(t){if(t==null)return null;if(typeof t!="string")throw Vu(e,t);return t.toUpperCase()}static \u0275fac=function(i){return new(i||e)};static \u0275pipe=ns({name:"uppercase",type:e,pure:!0})}return e})(),Tz="mediumDate",i8=new me(""),r8=new me(""),Mz=(()=>{class e{locale;defaultTimezone;defaultOptions;constructor(t,i,r){this.locale=t,this.defaultTimezone=i,this.defaultOptions=r}transform(t,i,r,o){if(t==null||t===""||t!==t)return null;try{let l=i??this.defaultOptions?.dateFormat??Tz,p=r??this.defaultOptions?.timezone??this.defaultTimezone??void 0;return Cr(t,l,o||this.locale,p)}catch(l){throw Vu(e,l.message)}}static \u0275fac=function(i){return new(i||e)(A(di,16),A(i8,24),A(r8,24))};static \u0275pipe=ns({name:"date",type:e,pure:!0})}return e})();function Az(e,n){return{key:e,value:n}}var Oz=(()=>{class e{differs;constructor(t){this.differs=t}differ;keyValues=[];compareFn=j6;transform(t,i=j6){if(!t||!(t instanceof Map)&&typeof t!="object")return null;this.differ??=this.differs.find(t).create();let r=this.differ.diff(t),o=i!==this.compareFn;return r&&(this.keyValues=[],r.forEachItem(l=>{this.keyValues.push(Az(l.key,l.currentValue))})),(r||o)&&(i&&this.keyValues.sort(i),this.compareFn=i),this.keyValues}static \u0275fac=function(i){return new(i||e)(A(Fu,16))};static \u0275pipe=ns({name:"keyvalue",type:e,pure:!1})}return e})();function j6(e,n){let t=e.key,i=n.key;if(t===i)return 0;if(t==null)return 1;if(i==null)return-1;if(typeof t=="string"&&typeof i=="string")return t<i?-1:1;if(typeof t=="number"&&typeof i=="number")return t-i;if(typeof t=="boolean"&&typeof i=="boolean")return t<i?-1:1;let r=String(t),o=String(i);return r==o?0:r<o?-1:1}var Rz=(()=>{class e{_locale;constructor(t){this._locale=t}transform(t,i,r){if(!xE(t))return null;r||=this._locale;try{let o=DE(t);return rl(o,r,i)}catch(o){throw Vu(e,o.message)}}static \u0275fac=function(i){return new(i||e)(A(di,16))};static \u0275pipe=ns({name:"number",type:e,pure:!0})}return e})(),Pz=(()=>{class e{_locale;constructor(t){this._locale=t}transform(t,i,r){if(!xE(t))return null;r||=this._locale;try{let o=DE(t);return t8(o,r,i)}catch(o){throw Vu(e,o.message)}}static \u0275fac=function(i){return new(i||e)(A(di,16))};static \u0275pipe=ns({name:"percent",type:e,pure:!0})}return e})(),kz=(()=>{class e{_locale;_defaultCurrencyCode;constructor(t,i="USD"){this._locale=t,this._defaultCurrencyCode=i}transform(t,i=this._defaultCurrencyCode,r="symbol",o,l){if(!xE(t))return null;l||=this._locale,typeof r=="boolean"&&(r=r?"symbol":"code");let p=i||this._defaultCurrencyCode;r!=="code"&&(r==="symbol"||r==="symbol-narrow"?p=Z6(p,r==="symbol"?"wide":"narrow",l):p=r);try{let C=DE(t);return e8(C,l,p,i,o)}catch(C){throw Vu(e,C.message)}}static \u0275fac=function(i){return new(i||e)(A(di,16),A(E6,16))};static \u0275pipe=ns({name:"currency",type:e,pure:!0})}return e})();function xE(e){return!(e==null||e===""||e!==e)}function DE(e){if(typeof e=="string"&&!isNaN(Number(e)-parseFloat(e)))return Number(e);if(typeof e!="number")throw new Error(`${e} is not a number`);return e}var pt=(()=>{class e{static \u0275fac=function(i){return new(i||e)};static \u0275mod=We({type:e});static \u0275inj=$e({})}return e})();function Df(e,n){n=encodeURIComponent(n);for(let t of e.split(";")){let i=t.indexOf("="),[r,o]=i==-1?[t,""]:[t.slice(0,i),t.slice(i+1)];if(r.trim()===n)return decodeURIComponent(o)}return null}var bC="browser",o8="server";function ui(e){return e===bC}function SC(e){return e===o8}var Zc=class{};function IC(e,n,t){return f6(e,n,t)}var a8=(()=>{class e{static \u0275prov=le({token:e,providedIn:"root",factory:()=>new TE(ge(_n),window)})}return e})(),TE=class{document;window;offset=()=>[0,0];constructor(n,t){this.document=n,this.window=t}setOffset(n){Array.isArray(n)?this.offset=()=>n:this.offset=n}getScrollPosition(){return[this.window.scrollX,this.window.scrollY]}scrollToPosition(n){this.window.scrollTo(n[0],n[1])}scrollToAnchor(n){let t=Vz(this.document,n);t&&(this.scrollToElement(t),t.focus())}setHistoryScrollRestoration(n){this.window.history.scrollRestoration=n}scrollToElement(n){let t=n.getBoundingClientRect(),i=t.left+this.window.pageXOffset,r=t.top+this.window.pageYOffset,o=this.offset();this.window.scrollTo(i-o[0],r-o[1])}};function Vz(e,n){let t=e.getElementById(n)||e.getElementsByName(n)[0];if(t)return t;if(typeof e.createTreeWalker=="function"&&e.body&&typeof e.body.attachShadow=="function"){let i=e.createTreeWalker(e.body,NodeFilter.SHOW_ELEMENT),r=i.currentNode;for(;r;){let o=r.shadowRoot;if(o){let l=o.getElementById(n)||o.querySelector(`[name="${n}"]`);if(l)return l}r=i.nextNode()}}return null}var xC=new me(""),RE=(()=>{class e{_zone;_plugins;_eventNameToPlugin=new Map;constructor(t,i){this._zone=i,t.forEach(r=>{r.manager=this}),this._plugins=t.slice().reverse()}addEventListener(t,i,r,o){return this._findPluginFor(i).addEventListener(t,i,r,o)}getZone(){return this._zone}_findPluginFor(t){let i=this._eventNameToPlugin.get(t);if(i)return i;if(i=this._plugins.find(o=>o.supports(t)),!i)throw new Ye(5101,!1);return this._eventNameToPlugin.set(t,i),i}static \u0275fac=function(i){return new(i||e)(ae(xC),ae(Rt))};static \u0275prov=le({token:e,factory:e.\u0275fac})}return e})(),Tf=class{_doc;constructor(n){this._doc=n}manager},EC="ng-app-id";function l8(e){for(let n of e)n.remove()}function c8(e,n){let t=n.createElement("style");return t.textContent=e,t}function Uz(e,n,t,i){let r=e.head?.querySelectorAll(`style[${EC}="${n}"],link[${EC}="${n}"]`);if(r)for(let o of r)o.removeAttribute(EC),o instanceof HTMLLinkElement?i.set(o.href.slice(o.href.lastIndexOf("/")+1),{usage:0,elements:[o]}):o.textContent&&t.set(o.textContent,{usage:0,elements:[o]})}function AE(e,n){let t=n.createElement("link");return t.setAttribute("rel","stylesheet"),t.setAttribute("href",e),t}var PE=(()=>{class e{doc;appId;nonce;inline=new Map;external=new Map;hosts=new Set;isServer;constructor(t,i,r,o={}){this.doc=t,this.appId=i,this.nonce=r,this.isServer=SC(o),Uz(t,i,this.inline,this.external),this.hosts.add(t.head)}addStyles(t,i){for(let r of t)this.addUsage(r,this.inline,c8);i?.forEach(r=>this.addUsage(r,this.external,AE))}removeStyles(t,i){for(let r of t)this.removeUsage(r,this.inline);i?.forEach(r=>this.removeUsage(r,this.external))}addUsage(t,i,r){let o=i.get(t);
vendor: 23,375 bytes, lines 9-10
9o?o.usage++:i.set(t,{usage:1,elements:[...this.hosts].map(l=>this.addElement(l,r(t,this.doc)))})}removeUsage(t,i){let r=i.get(t);r&&(r.usage--,r.usage<=0&&(l8(r.elements),i.delete(t)))}ngOnDestroy(){for(let[,{elements:t}]of[...this.inline,...this.external])l8(t);this.hosts.clear()}addHost(t){this.hosts.add(t);for(let[i,{elements:r}]of this.inline)r.push(this.addElement(t,c8(i,this.doc)));for(let[i,{elements:r}]of this.external)r.push(this.addElement(t,AE(i,this.doc)))}removeHost(t){this.hosts.delete(t)}addElement(t,i){return this.nonce&&i.setAttribute("nonce",this.nonce),this.isServer&&i.setAttribute(EC,this.appId),t.appendChild(i)}static \u0275fac=function(i){return new(i||e)(ae(_n),ae(wI),ae(DI,8),ae(xi))};static \u0275prov=le({token:e,factory:e.\u0275fac})}return e})(),ME={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"},kE=/%COMP%/g;var u8="%COMP%",Hz=`_nghost-${u8}`,Bz=`_ngcontent-${u8}`,jz=!0,zz=new me("",{providedIn:"root",factory:()=>jz});function Gz(e){return Bz.replace(kE,e)}function $z(e){return Hz.replace(kE,e)}function h8(e,n){return n.map(t=>t.replace(kE,e))}var NE=(()=>{class e{eventManager;sharedStylesHost;appId;removeStylesOnCompDestroy;doc;platformId;ngZone;nonce;tracingService;rendererByCompId=new Map;defaultRenderer;platformIsServer;constructor(t,i,r,o,l,p,C,w=null,V=null){this.eventManager=t,this.sharedStylesHost=i,this.appId=r,this.removeStylesOnCompDestroy=o,this.doc=l,this.platformId=p,this.ngZone=C,this.nonce=w,this.tracingService=V,this.platformIsServer=SC(p),this.defaultRenderer=new Mf(t,l,C,this.platformIsServer,this.tracingService)}createRenderer(t,i){if(!t||!i)return this.defaultRenderer;this.platformIsServer&&i.encapsulation===ta.ShadowDom&&(i=U(k({},i),{encapsulation:ta.Emulated}));let r=this.getOrCreateRenderer(t,i);return r instanceof wC?r.applyToHost(t):r instanceof Af&&r.applyStyles(),r}getOrCreateRenderer(t,i){let r=this.rendererByCompId,o=r.get(i.id);if(!o){let l=this.doc,p=this.ngZone,C=this.eventManager,w=this.sharedStylesHost,V=this.removeStylesOnCompDestroy,j=this.platformIsServer,$=this.tracingService;switch(i.encapsulation){case ta.Emulated:o=new wC(C,w,i,this.appId,V,l,p,j,$);break;case ta.ShadowDom:return new OE(C,w,t,i,l,p,this.nonce,j,$);default:o=new Af(C,w,i,V,l,p,j,$);break}r.set(i.id,o)}return o}ngOnDestroy(){this.rendererByCompId.clear()}componentReplaced(t){this.rendererByCompId.delete(t)}static \u0275fac=function(i){return new(i||e)(ae(RE),ae(PE),ae(wI),ae(zz),ae(_n),ae(xi),ae(Rt),ae(DI),ae(Ou,8))};static \u0275prov=le({token:e,factory:e.\u0275fac})}return e})(),Mf=class{eventManager;doc;ngZone;platformIsServer;tracingService;data=Object.create(null);throwOnSyntheticProps=!0;constructor(n,t,i,r,o){this.eventManager=n,this.doc=t,this.ngZone=i,this.platformIsServer=r,this.tracingService=o}destroy(){}destroyNode=null;createElement(n,t){return t?this.doc.createElementNS(ME[t]||t,n):this.doc.createElement(n)}createComment(n){return this.doc.createComment(n)}createText(n){return this.doc.createTextNode(n)}appendChild(n,t){(d8(n)?n.content:n).appendChild(t)}insertBefore(n,t,i){n&&(d8(n)?n.content:n).insertBefore(t,i)}removeChild(n,t){t.remove()}selectRootElement(n,t){let i=typeof n=="string"?this.doc.querySelector(n):n;if(!i)throw new Ye(-5104,!1);return t||(i.textContent=""),i}parentNode(n){return n.parentNode}nextSibling(n){return n.nextSibling}setAttribute(n,t,i,r){if(r){t=r+":"+t;let o=ME[r];o?n.setAttributeNS(o,t,i):n.setAttribute(t,i)}else n.setAttribute(t,i)}removeAttribute(n,t,i){if(i){let r=ME[i];r?n.removeAttributeNS(r,t):n.removeAttribute(`${i}:${t}`)}else n.removeAttribute(t)}addClass(n,t){n.classList.add(t)}removeClass(n,t){n.classList.remove(t)}setStyle(n,t,i,r){r&(na.DashCase|na.Important)?n.style.setProperty(t,i,r&na.Important?"important":""):n.style[t]=i}removeStyle(n,t,i){i&na.DashCase?n.style.removeProperty(t):n.style[t]=""}setProperty(n,t,i){n!=null&&(n[t]=i)}setValue(n,t){n.nodeValue=t}listen(n,t,i,r){if(typeof n=="string"&&(n=No().getGlobalEventTarget(this.doc,n),!n))throw new Ye(5102,!1);let o=this.decoratePreventDefault(i);return this.tracingService?.wrapEventListener&&(o=this.tracingService.wrapEventListener(n,t,o)),this.eventManager.addEventListener(n,t,o,r)}decoratePreventDefault(n){return t=>{if(t==="__ngUnwrap__")return n;(this.platformIsServer?this.ngZone.runGuarded(()=>n(t)):n(t))===!1&&t.preventDefault()}}};function d8(e){return e.tagName==="TEMPLATE"&&e.content!==void 0}var OE=class extends Mf{sharedStylesHost;hostEl;shadowRoot;constructor(n,t,i,r,o,l,p,C,w){super(n,o,l,C,w),this.sharedStylesHost=t,this.hostEl=i,this.shadowRoot=i.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let V=r.styles;V=h8(r.id,V);for(let $ of V){let W=document.createElement("style");p&&W.setAttribute("nonce",p),W.textContent=$,this.shadowRoot.appendChild(W)}let j=r.getExternalStyles?.();if(j)for(let $ of j){let W=AE($,o);p&&W.setAttribute("nonce",p),this.shadowRoot.appendChild(W)}}nodeOrShadowRoot(n){return n===this.hostEl?this.shadowRoot:n}appendChild(n,t){return super.appendChild(this.nodeOrShadowRoot(n),t)}insertBefore(n,t,i){return super.insertBefore(this.nodeOrShadowRoot(n),t,i)}removeChild(n,t){return super.removeChild(null,t)}parentNode(n){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(n)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}},Af=class extends Mf{sharedStylesHost;removeStylesOnCompDestroy;styles;styleUrls;constructor(n,t,i,r,o,l,p,C,w){super(n,o,l,p,C),this.sharedStylesHost=t,this.removeStylesOnCompDestroy=r;let V=i.styles;this.styles=w?h8(w,V):V,this.styleUrls=i.getExternalStyles?.(w)}applyStyles(){this.sharedStylesHost.addStyles(this.styles,this.styleUrls)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles,this.styleUrls)}},wC=class extends Af{contentAttr;hostAttr;constructor(n,t,i,r,o,l,p,C,w){let V=r+"-"+i.id;super(n,t,i,o,l,p,C,w,V),this.contentAttr=Gz(V),this.hostAttr=$z(V)}applyToHost(n){this.applyStyles(),this.setAttribute(n,this.hostAttr,"")}createElement(n,t){let i=super.createElement(n,t);return super.setAttribute(i,this.contentAttr,""),i}};var DC=class e extends _f{supportsDOMEvents=!0;static makeCurrent(){hE(new e)}onAndCancel(n,t,i,r){return n.addEventListener(t,i,r),()=>{n.removeEventListener(t,i,r)}}dispatchEvent(n,t){n.dispatchEvent(t)}remove(n){n.remove()}createElement(n,t){return t=t||this.getDefaultDocument(),t.createElement(n)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(n){return n.nodeType===Node.ELEMENT_NODE}isShadowRoot(n){return n instanceof DocumentFragment}getGlobalEventTarget(n,t){return t==="window"?window:t==="document"?n:t==="body"?n.body:null}getBaseHref(n){let t=Wz();return t==null?null:Yz(t)}resetBaseElement(){Of=null}getUserAgent(){return window.navigator.userAgent}getCookie(n){return Df(document.cookie,n)}},Of=null;function Wz(){return Of=Of||document.head.querySelector("base"),Of?Of.getAttribute("href"):null}function Yz(e){return new URL(e,document.baseURI).pathname}var TC=class{addToWindow(n){tr.getAngularTestability=(i,r=!0)=>{let o=n.findTestabilityInTree(i,r);if(o==null)throw new Ye(5103,!1);return o},tr.getAllAngularTestabilities=()=>n.getAllTestabilities(),tr.getAllAngularRootElements=()=>n.getAllRootElements();let t=i=>{let r=tr.getAllAngularTestabilities(),o=r.length,l=function(){o--,o==0&&i()};r.forEach(p=>{p.whenStable(l)})};tr.frameworkStabilizers||(tr.frameworkStabilizers=[]),tr.frameworkStabilizers.push(t)}findTestabilityInTree(n,t,i){if(t==null)return null;let r=n.getTestability(t);return r??(i?No().isShadowRoot(t)?this.findTestabilityInTree(n,t.host,!0):this.findTestabilityInTree(n,t.parentElement,!0):null)}},qz=(()=>{class e{build(){return new XMLHttpRequest}static \u0275fac=function(i){return new(i||e)};static \u0275prov=le({token:e,factory:e.\u0275fac})}return e})(),f8=(()=>{class e extends Tf{constructor(t){super(t)}supports(t){return!0}addEventListener(t,i,r,o){return t.addEventListener(i,r,o),()=>this.removeEventListener(t,i,r,o)}removeEventListener(t,i,r,o){return t.removeEventListener(i,r,o)}static \u0275fac=function(i){return new(i||e)(ae(_n))};static \u0275prov=le({token:e,factory:e.\u0275fac})}return e})(),p8=["alt","control","meta","shift"],Qz={"\b":"Backspace"," ":"Tab","\x7F":"Delete","\x1B":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},Zz={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey},g8=(()=>{class e extends Tf{constructor(t){super(t)}supports(t){return e.parseEventName(t)!=null}addEventListener(t,i,r,o){let l=e.parseEventName(i),p=e.eventCallback(l.fullKey,r,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>No().onAndCancel(t,l.domEventName,p,o))}static parseEventName(t){let i=t.toLowerCase().split("."),r=i.shift();if(i.length===0||!(r==="keydown"||r==="keyup"))return null;let o=e._normalizeKey(i.pop()),l="",p=i.indexOf("code");if(p>-1&&(i.splice(p,1),l="code."),p8.forEach(w=>{let V=i.indexOf(w);V>-1&&(i.splice(V,1),l+=w+".")}),l+=o,i.length!=0||o.length===0)return null;let C={};return C.domEventName=r,C.fullKey=l,C}static matchEventFullKeyCode(t,i){let r=Qz[t.key]||t.key,o="";return i.indexOf("code.")>-1&&(r=t.code,o="code."),r==null||!r?!1:(r=r.toLowerCase(),r===" "?r="space":r==="."&&(r="dot"),p8.forEach(l=>{if(l!==r){let p=Zz[l];p(t)&&(o+=l+".")}}),o+=r,o===i)}static eventCallback(t,i,r){return o=>{e.matchEventFullKeyCode(o,t)&&r.runGuarded(()=>i(o))}}static _normalizeKey(t){return t==="esc"?"escape":t}static \u0275fac=function(i){return new(i||e)(ae(_n))};static \u0275prov=le({token:e,factory:e.\u0275fac})}return e})();function Kz(){DC.makeCurrent()}function Xz(){return new ho}function Jz(){return $5(document),document}var eG=[{provide:xi,useValue:bC},{provide:xI,useValue:Kz,multi:!0},{provide:_n,useFactory:Jz}],tG=dE(x6,"browser",eG);var nG=[{provide:gf,useClass:TC},{provide:JI,useClass:eC,deps:[Rt,tC,gf]},{provide:eC,useClass:eC,deps:[Rt,tC,gf]}],iG=[{provide:Uv,useValue:"root"},{provide:ho,useFactory:Xz},{provide:xC,useClass:f8,multi:!0,deps:[_n]},{provide:xC,useClass:g8,multi:!0,deps:[_n]},NE,PE,RE,{provide:Ll,useExisting:NE},{provide:Zc,useClass:qz},[]],rG=(()=>{class e{constructor(){}static \u0275fac=function(i){return new(i||e)};static \u0275mod=We({type:e});static \u0275inj=$e({providers:[...iG,...nG],imports:[pt,D6]})}return e})();var Uu=class{},Rf=class{},ca=class e{headers;normalizedNames=new Map;lazyInit;lazyUpdate=null;constructor(n){n?typeof n=="string"?this.lazyInit=()=>{this.headers=new Map,n.split(` 10`).forEach(t=>{let i=t.indexOf(":");if(i>0){let r=t.slice(0,i),o=t.slice(i+1).trim();this.addHeaderEntry(r,o)}})}:typeof Headers<"u"&&n instanceof Headers?(this.headers=new Map,n.forEach((t,i)=>{this.addHeaderEntry(i,t)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(n).forEach(([t,i])=>{this.setHeaderEntries(t,i)})}:this.headers=new Map}has(n){return this.init(),this.headers.has(n.toLowerCase())}get(n){this.init();let t=this.headers.get(n.toLowerCase());return t&&t.length>0?t[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(n){return this.init(),this.headers.get(n.toLowerCase())||null}append(n,t){return this.clone({name:n,value:t,op:"a"})}set(n,t){return this.clone({name:n,value:t,op:"s"})}delete(n,t){return this.clone({name:n,value:t,op:"d"})}maybeSetNormalizedName(n,t){this.normalizedNames.has(t)||this.normalizedNames.set(t,n)}init(){this.lazyInit&&(this.lazyInit instanceof e?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(n=>this.applyUpdate(n)),this.lazyUpdate=null))}copyFrom(n){n.init(),Array.from(n.headers.keys()).forEach(t=>{this.headers.set(t,n.headers.get(t)),this.normalizedNames.set(t,n.normalizedNames.get(t))})}clone(n){let t=new e;return t.lazyInit=this.lazyInit&&this.lazyInit instanceof e?this.lazyInit:this,t.lazyUpdate=(this.lazyUpdate||[]).concat([n]),t}applyUpdate(n){let t=n.name.toLowerCase();switch(n.op){case"a":case"s":let i=n.value;if(typeof i=="string"&&(i=[i]),i.length===0)return;this.maybeSetNormalizedName(n.name,t);let r=(n.op==="a"?this.headers.get(t):void 0)||[];r.push(...i),this.headers.set(t,r);break;case"d":let o=n.value;if(!o)this.headers.delete(t),this.normalizedNames.delete(t);else{let l=this.headers.get(t);if(!l)return;l=l.filter(p=>o.indexOf(p)===-1),l.length===0?(this.headers.delete(t),this.normalizedNames.delete(t)):this.headers.set(t,l)}break}}addHeaderEntry(n,t){let i=n.toLowerCase();this.maybeSetNormalizedName(n,i),this.headers.has(i)?this.headers.get(i).push(t):this.headers.set(i,[t])}setHeaderEntries(n,t){let i=(Array.isArray(t)?t:[t]).map(o=>o.toString()),r=n.toLowerCase();this.headers.set(r,i),this.maybeSetNormalizedName(n,r)}forEach(n){this.init(),Array.from(this.normalizedNames.keys()).forEach(t=>n(this.normalizedNames.get(t),this.headers.get(t)))}};var AC=class{encodeKey(n){return m8(n)}encodeValue(n){return m8(n)}decodeKey(n){return decodeURIComponent(n)}decodeValue(n){return decodeURIComponent(n)}};function oG(e,n){let t=new Map;return e.length>0&&e.replace(/^\?/,"").split("&").forEach(r=>{let o=r.indexOf("="),[l,p]=o==-1?[n.decodeKey(r),""]:[n.decodeKey(r.slice(0,o)),n.decodeValue(r.slice(o+1))],C=t.get(l)||[];C.push(p),t.set(l,C)}),t}var sG=/%(\d[a-f0-9])/gi,aG={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function m8(e){return encodeURIComponent(e).replace(sG,(n,t)=>aG[t]??n)}function MC(e){return`${e}`}var Ct=class e{map;encoder;updates=null;cloneFrom=null;constructor(n={}){if(this.encoder=n.encoder||new AC,n.fromString){if(n.fromObject)throw new Ye(2805,!1);this.map=oG(n.fromString,this.encoder)}else n.fromObject?(this.map=new Map,Object.keys(n.fromObject).forEach(t=>{let i=n.fromObject[t],r=Array.isArray(i)?i.map(MC):[MC(i)];this.map.set(t,r)})):this.map=null}has(n){return this.init(),this.map.has(n)}get(n){this.init();let t=this.map.get(n);return t?t[0]:null}getAll(n){return this.init(),this.map.get(n)||null}keys(){return this.init(),Array.from(this.map.keys())}append(n,t){return this.clone({param:n,value:t,op:"a"})}appendAll(n){let t=[];return Object.keys(n).forEach(i=>{let r=n[i];Array.isArray(r)?r.forEach(o=>{t.push({param:i,value:o,op:"a"})}):t.push({param:i,value:r,op:"a"})}),this.clone(t)}set(n,t){return this.clone({param:n,value:t,op:"s"})}delete(n,t){return this.clone({param:n,value:t,op:"d"})}toString(){return this.init(),this.keys().map(n=>{let t=this.encoder.encodeKey(n);return this.map.get(n).map(i=>t+"="+this.encoder.encodeValue(i)).join("&")}).filter(n=>n!=="").join("&")}clone(n){let t=new e({encoder:this.encoder});return t.cloneFrom=this.cloneFrom||this,t.updates=(this.updates||[]).concat(n),t}init(){this.map===null&&(this.map=new Map),this.cloneFrom!==null&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(n=>this.map.set(n,this.cloneFrom.map.get(n))),this.updates.forEach(n=>{switch(n.op){case"a":case"s":let t=(n.op==="a"?this.map.get(n.param):void 0)||[];t.push(MC(n.value)),this.map.set(n.param,t);break;case"d":if(n.value!==void 0){let i=this.map.get(n.param)||[],r=i.indexOf(MC(n.value));r!==-1&&i.splice(r,1),i.length>0?this.map.set(n.param,i):this.map.delete(n.param)}else{this.map.delete(n.param);break}}}),this.cloneFrom=this.updates=null)}};var OC=class{map=new Map;set(n,t){return this.map.set(n,t),this}get(n){return this.map.has(n)||this.map.set(n,n.defaultValue()),this.map.get(n)}delete(n){return this.map.delete(n),this}has(n){return this.map.has(n)}keys(){return this.map.keys()}};function lG(e){switch(e){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}function v8(e){return typeof ArrayBuffer<"u"&&e instanceof ArrayBuffer}function C8(e){return typeof Blob<"u"&&e instanceof Blob}function _8(e){return typeof FormData<"u"&&e instanceof FormData}function cG(e){return typeof URLSearchParams<"u"&&e instanceof URLSearchParams}var y8="Content-Type",b8="Accept",I8="X-Request-URL",E8="text/plain",w8="application/json",dG=`${w8}, ${E8}, */*`,jl=class e{url;body=null;headers;context;reportProgress=!1;withCredentials=!1;responseType="json";method;params;urlWithParams;transferCache;constructor(n,t,i,r){this.url=t,this.method=n.toUpperCase();let o;if(lG(this.method)||r?(this.body=i!==void 0?i:null,o=r):o=i,o&&(this.reportProgress=!!o.reportProgress,this.withCredentials=!!o.withCredentials,o.responseType&&(this.responseType=o.responseType),o.headers&&(this.headers=o.headers),o.context&&(this.context=o.context),o.params&&(this.params=o.params),this.transferCache=o.transferCache),this.headers??=new ca,this.context??=new OC,!this.params)this.params=new Ct,this.urlWithParams=t;else{let l=this.params.toString();if(l.length===0)this.urlWithParams=t;else{let p=t.indexOf("?"),C=p===-1?"?":p<t.length-1?"&":"";this.urlWithParams=t+C+l}}}serializeBody(){return this.body===null?null:typeof this.body=="string"||v8(this.body)||C8(this.body)||_8(this.body)||cG(this.body)?this.body:this.body instanceof Ct?this.body.toString():typeof this.body=="object"||typeof this.body=="boolean"||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()}detectContentTypeHeader(){return this.body===null||_8(this.body)?null:C8(this.body)?this.body.type||null:v8(this.body)?null:typeof this.body=="string"?E8:this.body instanceof Ct?"application/x-www-form-urlencoded;charset=UTF-8":typeof this.body=="object"||typeof this.body=="number"||typeof this.body=="boolean"?w8:null}clone(n={}){let t=n.method||this.method,i=n.url||this.url,r=n.responseType||this.responseType,o=n.transferCache??this.transferCache,l=n.body!==void 0?n.body:this.body,p=n.withCredentials??this.withCredentials,C=n.reportProgress??this.reportProgress,w=n.headers||this.headers,V=n.params||this.params,j=n.context??this.context;return n.setHeaders!==void 0&&(w=Object.keys(n.setHeaders).reduce(($,W)=>$.set(W,n.setHeaders[W]),w)),n.setParams&&(V=Object.keys(n.setParams).reduce(($,W)=>$.set(W,n.setParams[W]),V)),new e(t,i,l,{params:V,headers:w,context:j,reportProgress:C,responseType:r,withCredentials:p,transferCache:o})}},Kc=(function(e){return e[e.Sent=0]="Sent",e[e.UploadProgress=1]="UploadProgress",e[e.ResponseHeader=2]="ResponseHeader",e[e.DownloadProgress=3]="DownloadProgress",e[e.Response=4]="Response",e[e.User=5]="User",e})(Kc||{}),Hu=class{headers;status;statusText;url;ok;type;constructor(n,t=200,i="OK"){this.headers=n.headers||new ca,this.status=n.status!==void 0?n.status:t,this.statusText=n.statusText||i,this.url=n.url||null,this.ok=this.status>=200&&this.status<300}},RC=class e extends Hu{constructor(n={}){super(n)}type=Kc.ResponseHeader;clone(n={}){return new e({headers:n.headers||this.headers,status:n.status!==void 0?n.status:this.status,statusText:n.statusText||this.statusText,url:n.url||this.url||void 0})}},Pf=class e extends Hu{body;constructor(n={}){super(n),this.body=n.body!==void 0?n.body:null}type=Kc.Response;clone(n={}){return new e({body:n.body!==void 0?n.body:this.body,headers:n.headers||this.headers,status:n.status!==void 0?n.status:this.status,statusText:n.statusText||this.statusText,url:n.url||this.url||void 0})}},Xc=class extends Hu{name="HttpErrorResponse";message;error;ok=!1;constructor(n){super(n,0,"Unknown Error"),this.status>=200&&this.status<300?this.message=`Http failure during parsing for ${n.url||"(unknown url)"}`:this.message=`Http failure response for ${n.url||"(unknown url)"}: ${n.status} ${n.statusText}`,this.error=n.error||null}},uG=200,hG=204;function LE(e,n){return{body:n,headers:e.headers,context:e.context,observe:e.observe,params:e.params,reportProgress:e.reportProgress,responseType:e.responseType,withCredentials:e.withCredentials,transferCache:e.transferCache}}var si=(()=>{class e{handler;constructor(t){this.handler=t}request(t,i,r={}){let o;if(t instanceof jl)o=t;else{let C;r.headers instanceof ca?C=r.headers:C=new ca(r.headers);let w;r.params&&(r.params instanceof Ct?w=r.params:w=new Ct({fromObject:r.params})),o=new jl(t,i,r.body!==void 0?r.body:null,{headers:C,context:r.context,params:w,reportProgress:r.reportProgress,responseType:r.responseType||"json",withCredentials:r.withCredentials,transferCache:r.transferCache})}let l=pe(o).pipe(Ur(C=>this.handler.handle(C)));if(t instanceof jl||r.observe==="events")return l;let p=l.pipe(qt(C=>C instanceof Pf));switch(r.observe||"body"){case"body":switch(o.responseType){case"arraybuffer":return p.pipe(fe(C=>{if(C.body!==null&&!(C.body instanceof ArrayBuffer))throw new Ye(2806,!1);return C.body}));case"blob":return p.pipe(fe(C=>{if(C.body!==null&&!(C.body instanceof Blob))throw new Ye(2807,!1);return C.body}));case"text":return p.pipe(fe(C=>{if(C.body!==null&&typeof C.body!="string")throw new Ye(2808,!1);return C.body}));default:return p.pipe(fe(C=>C.body))}case"response":return p;default:throw new Ye(2809,!1)}}delete(t,i={}){return this.request("DELETE",t,i)}get(t,i={}){return this.request("GET",t,i)}head(t,i={}){return this.request("HEAD",t,i)}jsonp(t,i){return this.request("JSONP",t,{params:new Ct().append(i,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(t,i={}){return this.request("OPTIONS",t,i)}patch(t,i,r={}){return this.request("PATCH",t,LE(r,i))}post(t,i,r={}){return this.request("POST",t,LE(r,i))}put(t,i,r={}){return this.request("PUT",t,LE(r,i))}static \u0275fac=function(i){return new(i||e)(ae(Uu))};static \u0275prov=le({token:e,factory:e.\u0275fac})}return e})();var pG=new me("");function x8(e,n){return n(e)}function fG(e,n){return(t,i)=>n.intercept(t,{handle:r=>e(r,i)})}function gG(e,n,t){return(i,r)=>Br(t,()=>n(i,o=>e(o,r)))}var kC=new me(""),VE=new me(""),D8=new me(""),UE=new me("",{providedIn:"root",factory:()=>!0});function mG(){let e=null;return(n,t)=>{e===null&&(e=(ge(kC,{optional:!0})??[]).reduceRight(fG,x8));let i=ge(Ja);if(ge(UE)){let o=i.add();return e(n,t).pipe(Wa(()=>i.remove(o)))}else return e(n,t)}}var PC=(()=>{class e extends Uu{backend;injector;chain=null;pendingTasks=ge(Ja);contributeToStability=ge(UE);constructor(t,i){super(),this.backend=t,this.injector=i}handle(t){if(this.chain===null){let i=Array.from(new Set([...this.injector.get(VE),...this.injector.get(D8,[])]));this.chain=i.reduceRight((r,o)=>gG(r,o,this.injector),x8)}if(this.contributeToStability){let i=this.pendingTasks.add();return this.chain(t,r=>this.backend.handle(r)).pipe(Wa(()=>this.pendingTasks.remove(i)))}else return this.chain(t,i=>this.backend.handle(i))}static \u0275fac=function(i){return new(i||e)(ae(Rf),ae(wi))};static \u0275prov=le({token:e,factory:e.\u0275fac})}return e})();var vG=/^\)\]\}',?\n/,CG=RegExp(`^${I8}:`,"m");function _G(e){return"responseURL"in e&&e.responseURL?e.responseURL:CG.test(e.getAllResponseHeaders())?e.getResponseHeader(I8):null}var FE=(()=>{class e{xhrFactory;constructor(t){this.xhrFactory=t}handle(t){if(t.method==="JSONP")throw new Ye(-2800,!1);let i=this.xhrFactory;return(i.\u0275loadImpl?gi(i.\u0275loadImpl()):pe(null)).pipe(Te(()=>new Fr(o=>{let l=i.build();if(l.open(t.method,t.urlWithParams),t.withCredentials&&(l.withCredentials=!0),t.headers.forEac
10h((be,Ve)=>l.setRequestHeader(be,Ve.join(","))),t.headers.has(b8)||l.setRequestHeader(b8,dG),!t.headers.has(y8)){let be=t.detectContentTypeHeader();be!==null&&l.setRequestHeader(y8,be)}if(t.responseType){let be=t.responseType.toLowerCase();l.responseType=be!=="json"?be:"text"}let p=t.serializeBody(),C=null,w=()=>{if(C!==null)return C;let be=l.statusText||"OK",Ve=new ca(l.getAllResponseHeaders()),dt=_G(l)||t.url;return C=new RC({headers:Ve,status:l.status,statusText:be,url:dt}),C},V=()=>{let{headers:be,status:Ve,statusText:dt,url:sn}=w(),Pt=null;Ve!==hG&&(Pt=typeof l.response>"u"?l.responseText:l.response),Ve===0&&(Ve=Pt?uG:0);let Ot=Ve>=200&&Ve<300;if(t.responseType==="json"&&typeof Pt=="string"){let jt=Pt;Pt=Pt.replace(vG,"");try{Pt=Pt!==""?JSON.parse(Pt):null}catch(kt){Pt=jt,Ot&&(Ot=!1,Pt={error:kt,text:Pt})}}Ot?(o.next(new Pf({body:Pt,headers:be,status:Ve,statusText:dt,url:sn||void 0})),o.complete()):o.error(new Xc({error:Pt,headers:be,status:Ve,statusText:dt,url:sn||void 0}))},j=be=>{let{url:Ve}=w(),dt=new Xc({error:be,status:l.status||0,statusText:l.statusText||"Unknown Error",url:Ve||void 0});o.error(dt)},$=!1,W=be=>{$||(o.next(w()),$=!0);let Ve={type:Kc.DownloadProgress,loaded:be.loaded};be.lengthComputable&&(Ve.total=be.total),t.responseType==="text"&&l.responseText&&(Ve.partialText=l.responseText),o.next(Ve)},se=be=>{let Ve={type:Kc.UploadProgress,loaded:be.loaded};be.lengthComputable&&(Ve.total=be.total),o.next(Ve)};return l.addEventListener("load",V),l.addEventListener("error",j),l.addEventListener("timeout",j),l.addEventListener("abort",j),t.reportProgress&&(l.addEventListener("progress",W),p!==null&&l.upload&&l.upload.addEventListener("progress",se)),l.send(p),o.next({type:Kc.Sent}),()=>{l.removeEventListener("error",j),l.removeEventListener("abort",j),l.removeEventListener("load",V),l.removeEventListener("timeout",j),t.reportProgress&&(l.removeEventListener("progress",W),p!==null&&l.upload&&l.upload.removeEventListener("progress",se)),l.readyState!==l.DONE&&l.abort()}})))}static \u0275fac=function(i){return new(i||e)(ae(Zc))};static \u0275prov=le({token:e,factory:e.\u0275fac})}return e})(),T8=new me(""),yG="XSRF-TOKEN",bG=new me("",{providedIn:"root",factory:()=>yG}),SG="X-XSRF-TOKEN",IG=new me("",{providedIn:"root",factory:()=>SG}),kf=class{},EG=(()=>{class e{doc;cookieName;lastCookieString="";lastToken=null;parseCount=0;constructor(t,i){this.doc=t,this.cookieName=i}getToken(){let t=this.doc.cookie||"";return t!==this.lastCookieString&&(this.parseCount++,this.lastToken=Df(t,this.cookieName),this.lastCookieString=t),this.lastToken}static \u0275fac=function(i){return new(i||e)(ae(_n),ae(bG))};static \u0275prov=le({token:e,factory:e.\u0275fac})}return e})(),wG=/^(?:https?:)?\/\//i;function xG(e,n){if(!ge(T8)||e.method==="GET"||e.method==="HEAD"||wG.test(e.url))return n(e);let t=ge(kf).getToken(),i=ge(IG);return t!=null&&!e.headers.has(i)&&(e=e.clone({headers:e.headers.set(i,t)})),n(e)}var HE=(function(e){return e[e.Interceptors=0]="Interceptors",e[e.LegacyInterceptors=1]="LegacyInterceptors",e[e.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",e[e.NoXsrfProtection=3]="NoXsrfProtection",e[e.JsonpSupport=4]="JsonpSupport",e[e.RequestsMadeViaParent=5]="RequestsMadeViaParent",e[e.Fetch=6]="Fetch",e})(HE||{});function DG(e,n){return{\u0275kind:e,\u0275providers:n}}function TG(...e){let n=[si,FE,PC,{provide:Uu,useExisting:PC},{provide:Rf,useFactory:()=>ge(pG,{optional:!0})??ge(FE)},{provide:VE,useValue:xG,multi:!0},{provide:T8,useValue:!0},{provide:kf,useClass:EG}];for(let t of e)n.push(...t.\u0275providers);return po(n)}var S8=new me("");function MG(){return DG(HE.LegacyInterceptors,[{provide:S8,useFactory:mG},{provide:VE,useExisting:S8,multi:!0}])}var NC=(()=>{class e{_doc;constructor(t){this._doc=t}getTitle(){return this._doc.title}setTitle(t){this._doc.title=t||""}static \u0275fac=function(i){return new(i||e)(ae(_n))};static \u0275prov=le({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var Nf=(()=>{class e{static \u0275fac=function(i){return new(i||e)};static \u0275prov=le({token:e,factory:function(i){let r=null;return i?r=new(i||e):r=ae(AG),r},providedIn:"root"})}return e})(),AG=(()=>{class e extends Nf{_doc;constructor(t){super(),this._doc=t}sanitize(t,i){if(i==null)return null;switch(t){case ws.NONE:return i;case ws.HTML:return el(i,"HTML")?ko(i):OI(this._doc,String(i)).toString();case ws.STYLE:return el(i,"Style")?ko(i):i;case ws.SCRIPT:if(el(i,"Script"))return ko(i);throw new Ye(5200,!1);case ws.URL:return el(i,"URL")?ko(i):qv(String(i));case ws.RESOURCE_URL:if(el(i,"ResourceURL"))return ko(i);throw new Ye(5201,!1);default:throw new Ye(5202,!1)}}bypassSecurityTrustHtml(t){return X5(t)}bypassSecurityTrustStyle(t){return J5(t)}bypassSecurityTrustScript(t){return eO(t)}bypassSecurityTrustUrl(t){return tO(t)}bypassSecurityTrustResourceUrl(t){return nO(t)}static \u0275fac=function(i){return new(i||e)(ae(_n))};static \u0275prov=le({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var L8=(()=>{class e{_renderer;_elementRef;onChange=t=>{};onTouched=()=>{};constructor(t,i){this._renderer=t,this._elementRef=i}setProperty(t,i){this._renderer.setProperty(this._elementRef.nativeElement,t,i)}registerOnTouched(t){this.onTouched=t}registerOnChange(t){this.onChange=t}setDisabledState(t){this.setProperty("disabled",t)}static \u0275fac=function(i){return new(i||e)(A(Lt),A(et))};static \u0275dir=He({type:e})}return e})(),zf=(()=>{class e extends L8{static \u0275fac=(()=>{let t;return function(r){return(t||(t=kn(e)))(r||e)}})();static \u0275dir=He({type:e,features:[xt]})}return e})(),Ki=new me(""),OG={provide:Ki,useExisting:jn(()=>Gu),multi:!0},Gu=(()=>{class e extends zf{writeValue(t){this.setProperty("checked",t)}static \u0275fac=(()=>{let t;return function(r){return(t||(t=kn(e)))(r||e)}})();static \u0275dir=He({type:e,selectors:[["input","type","checkbox","formControlName",""],["input","type","checkbox","formControl",""],["input","type","checkbox","ngModel",""]],hostBindings:function(i,r){i&1&&oe("change",function(l){return r.onChange(l.target.checked)})("blur",function(){return r.onTouched()})},standalone:!1,features:[Et([OG]),xt]})}return e})(),RG={provide:Ki,useExisting:jn(()=>go),multi:!0};function PG(){let e=No()?No().getUserAgent():"";return/android (\d+)/.test(e.toLowerCase())}var kG=new me(""),go=(()=>{class e extends L8{_compositionMode;_composing=!1;constructor(t,i,r){super(t,i),this._compositionMode=r,this._compositionMode==null&&(this._compositionMode=!PG())}writeValue(t){let i=t??"";this.setProperty("value",i)}_handleInput(t){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(t)}
vendor: 5,840 bytes, line 10
10_compositionStart(){this._composing=!0}_compositionEnd(t){this._composing=!1,this._compositionMode&&this.onChange(t)}static \u0275fac=function(i){return new(i||e)(A(Lt),A(et),A(kG,8))};static \u0275dir=He({type:e,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(i,r){i&1&&oe("input",function(l){return r._handleInput(l.target.value)})("blur",function(){return r.onTouched()})("compositionstart",function(){return r._compositionStart()})("compositionend",function(l){return r._compositionEnd(l.target.value)})},standalone:!1,features:[Et([RG]),xt]})}return e})();function zE(e){return e==null||GE(e)===0}function GE(e){return e==null?null:Array.isArray(e)||typeof e=="string"?e.length:e instanceof Set?e.size:null}var Fo=new me(""),Jc=new me(""),NG=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/,sl=class{static min(n){return LG(n)}static max(n){return FG(n)}static required(n){return F8(n)}static requiredTrue(n){return VG(n)}static email(n){return UG(n)}static minLength(n){return V8(n)}static maxLength(n){return U8(n)}static pattern(n){return H8(n)}static nullValidator(n){return VC()}static compose(n){return W8(n)}static composeAsync(n){return Y8(n)}};function LG(e){return n=>{if(n.value==null||e==null)return null;let t=parseFloat(n.value);return!isNaN(t)&&t<e?{min:{min:e,actual:n.value}}:null}}function FG(e){return n=>{if(n.value==null||e==null)return null;let t=parseFloat(n.value);return!isNaN(t)&&t>e?{max:{max:e,actual:n.value}}:null}}function F8(e){return zE(e.value)?{required:!0}:null}function VG(e){return e.value===!0?null:{required:!0}}function UG(e){return zE(e.value)||NG.test(e.value)?null:{email:!0}}function V8(e){return n=>{let t=n.value?.length??GE(n.value);return t===null||t===0?null:t<e?{minlength:{requiredLength:e,actualLength:t}}:null}}function U8(e){return n=>{let t=n.value?.length??GE(n.value);return t!==null&&t>e?{maxlength:{requiredLength:e,actualLength:t}}:null}}function H8(e){if(!e)return VC;let n,t;return typeof e=="string"?(t="",e.charAt(0)!=="^"&&(t+="^"),t+=e,e.charAt(e.length-1)!=="$"&&(t+="$"),n=new RegExp(t)):(t=e.toString(),n=e),i=>{if(zE(i.value))return null;let r=i.value;return n.test(r)?null:{pattern:{requiredPattern:t,actualValue:r}}}}function VC(e){return null}function B8(e){return e!=null}function j8(e){return Hl(e)?gi(e):e}function z8(e){let n={};return e.forEach(t=>{n=t!=null?k(k({},n),t):n}),Object.keys(n).length===0?null:n}function G8(e,n){return n.map(t=>t(e))}function HG(e){return!e.validate}function $8(e){return e.map(n=>HG(n)?n:t=>n.validate(t))}function W8(e){if(!e)return null;let n=e.filter(B8);return n.length==0?null:function(t){return z8(G8(t,n))}}function $E(e){return e!=null?W8($8(e)):null}function Y8(e){if(!e)return null;let n=e.filter(B8);return n.length==0?null:function(t){let i=G8(t,n).map(j8);return B2(i).pipe(fe(z8))}}function WE(e){return e!=null?Y8($8(e)):null}function M8(e,n){return e===null?[n]:Array.isArray(e)?[...e,n]:[e,n]}function q8(e){return e._rawValidators}function Q8(e){return e._rawAsyncValidators}function BE(e){return e?Array.isArray(e)?e:[e]:[]}function UC(e,n){return Array.isArray(e)?e.includes(n):e===n}function A8(e,n){let t=BE(n);return BE(e).forEach(r=>{UC(t,r)||t.push(r)}),t}function O8(e,n){return BE(n).filter(t=>!UC(e,t))}var HC=class{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}_composedValidatorFn;_composedAsyncValidatorFn;_rawValidators=[];_rawAsyncValidators=[];_setValidators(n){this._rawValidators=n||[],this._composedValidatorFn=$E(this._rawValidators)}_setAsyncValidators(n){this._rawAsyncValidators=n||[],this._composedAsyncValidatorFn=WE(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_onDestroyCallbacks=[];_registerOnDestroy(n){this._onDestroyCallbacks.push(n)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(n=>n()),this._onDestroyCallbacks=[]}reset(n=void 0){this.control&&this.control.reset(n)}hasError(n,t){return this.control?this.control.hasError(n,t):!1}getError(n,t){return this.control?this.control.getError(n,t):null}},$r=class extends HC{name;get formDirective(){return null}get path(){return null}},Ci=class extends HC{_parent=null;name=null;valueAccessor=null},BC=class{_cd;constructor(n){this._cd=n}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}
vendor: 10,205 bytes, line 10
10get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return this._cd?._submitted?.(),!!this._cd?.submitted}},BG={"[class.ng-untouched]":"isUntouched","[class.ng-touched]":"isTouched","[class.ng-pristine]":"isPristine","[class.ng-dirty]":"isDirty","[class.ng-valid]":"isValid","[class.ng-invalid]":"isInvalid","[class.ng-pending]":"isPending"},hpe=U(k({},BG),{"[class.ng-submitted]":"isSubmitted"}),Vi=(()=>{class e extends BC{constructor(t){super(t)}static \u0275fac=function(i){return new(i||e)(A(Ci,2))};static \u0275dir=He({type:e,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(i,r){i&2&&Be("ng-untouched",r.isUntouched)("ng-touched",r.isTouched)("ng-pristine",r.isPristine)("ng-dirty",r.isDirty)("ng-valid",r.isValid)("ng-invalid",r.isInvalid)("ng-pending",r.isPending)},standalone:!1,features:[xt]})}return e})(),da=(()=>{class e extends BC{constructor(t){super(t)}static \u0275fac=function(i){return new(i||e)(A($r,10))};static \u0275dir=He({type:e,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(i,r){i&2&&Be("ng-untouched",r.isUntouched)("ng-touched",r.isTouched)("ng-pristine",r.isPristine)("ng-dirty",r.isDirty)("ng-valid",r.isValid)("ng-invalid",r.isInvalid)("ng-pending",r.isPending)("ng-submitted",r.isSubmitted)},standalone:!1,features:[xt]})}return e})();var Lf="VALID",FC="INVALID",Bu="PENDING",Ff="DISABLED",zl=class{},jC=class extends zl{value;source;constructor(n,t){super(),this.value=n,this.source=t}},Uf=class extends zl{pristine;source;constructor(n,t){super(),this.pristine=n,this.source=t}},Hf=class extends zl{touched;source;constructor(n,t){super(),this.touched=n,this.source=t}},ju=class extends zl{status;source;constructor(n,t){super(),this.status=n,this.source=t}},zC=class extends zl{source;constructor(n){super(),this.source=n}},GC=class extends zl{source;constructor(n){super(),this.source=n}};function YE(e){return(qC(e)?e.validators:e)||null}function jG(e){return Array.isArray(e)?$E(e):e||null}function qE(e,n){return(qC(n)?n.asyncValidators:e)||null}function zG(e){return Array.isArray(e)?WE(e):e||null}function qC(e){return e!=null&&!Array.isArray(e)&&typeof e=="object"}function Z8(e,n,t){let i=e.controls;if(!(n?Object.keys(i):i).length)throw new Ye(1e3,"");if(!i[t])throw new Ye(1001,"")}function K8(e,n,t){e._forEachChild((i,r)=>{if(t[r]===void 0)throw new Ye(1002,"")})}var Bf=class{_pendingDirty=!1;_hasOwnPendingAsyncValidator=null;_pendingTouched=!1;_onCollectionChange=()=>{};_updateOn;_parent=null;_asyncValidationSubscription;_composedValidatorFn;_composedAsyncValidatorFn;_rawValidators;_rawAsyncValidators;value;constructor(n,t){this._assignValidators(n),this._assignAsyncValidators(t)}get validator(){return this._composedValidatorFn}set validator(n){this._rawValidators=this._composedValidatorFn=n}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(n){this._rawAsyncValidators=this._composedAsyncValidatorFn=n}get parent(){return this._parent}get status(){return zr(this.statusReactive)}set status(n){zr(()=>this.statusReactive.set(n))}_status=Ds(()=>this.statusReactive());statusReactive=oa(void 0);get valid(){return this.status===Lf}get invalid(){return this.status===FC}get pending(){return this.status==Bu}get disabled(){return this.status===Ff}get enabled(){return this.status!==Ff}errors;get pristine(){return zr(this.pristineReactive)}set pristine(n){zr(()=>this.pristineReactive.set(n))}_pristine=Ds(()=>this.pristineReactive());pristineReactive=oa(!0);get dirty(){return!this.pristine}get touched(){return zr(this.touchedReactive)}set touched(n){zr(()=>this.touchedReactive.set(n))}_touched=Ds(()=>this.touchedReactive());touchedReactive=oa(!1);get untouched(){return!this.touched}_events=new Qe;events=this._events.asObservable();valueChanges;statusChanges;get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(n){this._assignValidators(n)}setAsyncValidators(n){this._assignAsyncValidators(n)}addValidators(n){this.setValidators(A8(n,this._rawValidators))}addAsyncValidators(n){this.setAsyncValidators(A8(n,this._rawAsyncValidators))}removeValidators(n){this.setValidators(O8(n,this._rawValidators))}removeAsyncValidators(n){this.setAsyncValidators(O8(n,this._rawAsyncValidators))}hasValidator(n){return UC(this._rawValidators,n)}hasAsyncValidator(n){return UC(this._rawAsyncValidators,n)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(n={}){let t=this.touched===!1;this.touched=!0;let i=n.sourceControl??this;this._parent&&!n.onlySelf&&this._parent.markAsTouched(U(k({},n),{sourceControl:i})),t&&n.emitEvent!==!1&&this._events.next(new Hf(!0,i))}markAllAsTouched(n={}){this.markAsTouched({onlySelf:!0,emitEvent:n.emitEvent,sourceControl:this}),this._forEachChild(t=>t.markAllAsTouched(n))}markAsUntouched(n={}){let t=this.touched===!0;this.touched=!1,this._pendingTouched=!1;let i=n.sourceControl??this;this._forEachChild(r=>{r.markAsUntouched({onlySelf:!0,emitEvent:n.emitEvent,sourceControl:i})}),this._parent&&!n.onlySelf&&this._parent._updateTouched(n,i),t&&n.emitEvent!==!1&&this._events.next(new Hf(!1,i))}markAsDirty(n={}){let t=this.pristine===!0;this.pristine=!1;let i=n.sourceControl??this;this._parent&&!n.onlySelf&&this._parent.markAsDirty(U(k({},n),{sourceControl:i})),t&&n.emitEvent!==!1&&this._events.next(new Uf(!1,i))}markAsPristine(n={}){let t=this.pristine===!1;this.pristine=!0,this._pendingDirty=!1;let i=n.sourceControl??this;this._forEachChild(r=>{r.markAsPristine({onlySelf:!0,emitEvent:n.emitEvent})}),this._parent&&!n.onlySelf&&this._parent._updatePristine(n,i),t&&n.emitEvent!==!1&&this._events.next(new Uf(!0,i))}markAsPending(n={}){this.status=Bu;let t=n.sourceControl??this;n.emitEvent!==!1&&(this._events.next(new ju(this.status,t)),this.statusChanges.emit(this.status)),this._parent&&!n.onlySelf&&this._parent.markAsPending(U(k({},n),{sourceControl:t}))}disable(n={}){let t=this._parentMarkedDirty(n.onlySelf);this.status=Ff,this.errors=null,this._forEachChild(r=>{r.disable(U(k({},n),{onlySelf:!0}))}),this._updateValue();let i=n.sourceControl??this;n.emitEvent!==!1&&(this._events.next(new jC(this.value,i)),this._events.next(new ju(this.status,i)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(U(k({},n),{skipPristineCheck:t}),this),this._onDisabledChange.forEach(r=>r(!0))}enable(n={}){let t=this._parentMarkedDirty(n.onlySelf);this.status=Lf,this._forEachChild(i=>{i.enable(U(k({},n),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:n.emitEvent}),this._updateAncestors(U(k({},n),{skipPristineCheck:t}),this),this._onDisabledChange.forEach(i=>i(!1))}_updateAncestors(n,t){this._parent&&!n.onlySelf&&(this._parent.updateValueAndValidity(n),n.skipPristineCheck||this._parent._updatePristine({},t),this._parent._updateTouched({},t))}setParent(n){this._parent=n}getRawValue(){return this.value}updateValueAndValidity(n={}){if(this._setInitialStatus(),this._updateValue(),this.enabled){let i=this._cancelExistingSubscription();this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===Lf||this.status===Bu)&&this._runAsyncValidator(i,n.emitEvent)}let t=n.sourceControl??this;n.emitEvent!==!1&&(this._events.next(new jC(this.value,t)),this._events.next(new ju(this.status,t)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!n.onlySelf&&this._parent.updateValueAndValidity(U(k({},n),{sourceControl:t}))}_updateTreeValidity(n={emitEvent:!0}){this._forEachChild(t=>t._updateTreeValidity(n)),this.updateValueAndValidity({onlySelf:!0,emitEvent:n.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?Ff:Lf}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(n,t){if(this.asyncValidator){this.status=Bu,this._hasOwnPendingAsyncValidator={emitEvent:t!==!1};let i=j8(this.asyncValidator(this));this._asyncValidationSubscription=i.subscribe(r=>{this._hasOwnPendingAsyncValidator=null,this.setErrors(r,{emitEvent:t,shouldHaveEmitted:n})})}}_cancelExistingSubscription(){if(this._asyncValidationSubscription){this._asyncValidationSubscription.unsubscribe();let n=this._hasOwnPendingAsyncValidator?.emitEvent??!1;return this._hasOwnPendingAsyncValidator=null,n}return!1}setErrors(n,t={}){this.errors=n,this._updateControlsErrors(t.emitEvent!==!1,this,t.shouldHaveEmitted)}get(n){let t=n;return t==null||(Array.isArray(t)||(t=t.split(".")),t.length===0)?null:t.reduce((i,r)=>i&&i._find(r),this)}getError(n,t){let i=t?this.get(t):this;return i&&i.errors?i.errors[n]:null}hasError(n,t){return!!this.getError(n,t)}get root(){let n=this;for(;n._parent;)n=n._parent;return n}_updateControlsErrors(n,t,i){this.status=this._calculateStatus(),n&&this.statusChanges.emit(this.status),(n||i)&&this._events.next(new ju(this.status,t)),this._parent&&this._parent._updateControlsErrors(n,t,i)}_initObservables(){this.valueChanges=new Ue,this.statusChanges=new Ue}_calculateStatus(){return this._allControlsDisabled()?Ff:this.errors?FC:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(Bu)?Bu:this._anyControlsHaveStatus(FC)?FC:Lf}_anyControlsHaveStatus(n){return this._anyControls(t=>t.status===n)}_anyControlsDirty(){return this._anyControls(n=>n.dirty)}_anyControlsTouched(){return this._anyControls(n=>n.touched)}_updatePristine(n,t){let i=!this._anyControlsDirty(),r=this.pristine!==i;this.pristine=i,this._parent&&!n.onlySelf&&this._parent._updatePristine(n,t),r&&this._events.next(new Uf(this.pristine,t))}_updateTouched(n={},t){this.touched=this._anyControlsTouched(),this._events.next(new Hf(this.touched,t)),this._parent&&!n.onlySelf&&this._parent._updateTouched(n,t)}_onDisabledChange=[];_registerOnCollectionChange(n){this._onCollectionChange=n}_setUpdateStrategy(n){qC(n)&&n.updateOn!=null&&(this._updateOn=n.updateOn)}_parentMarkedDirty(n){let t=this._parent&&this._parent.dirty;return!n&&!!t&&!this._parent._anyControlsDirty()}
vendor: 10,960 bytes, line 10
10_find(n){return null}_assignValidators(n){this._rawValidators=Array.isArray(n)?n.slice():n,this._composedValidatorFn=jG(this._rawValidators)}_assignAsyncValidators(n){this._rawAsyncValidators=Array.isArray(n)?n.slice():n,this._composedAsyncValidatorFn=zG(this._rawAsyncValidators)}},zu=class extends Bf{constructor(n,t,i){super(YE(t),qE(i,t)),this.controls=n,this._initObservables(),this._setUpdateStrategy(t),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}controls;registerControl(n,t){return this.controls[n]?this.controls[n]:(this.controls[n]=t,t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange),t)}addControl(n,t,i={}){this.registerControl(n,t),this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}removeControl(n,t={}){this.controls[n]&&this.controls[n]._registerOnCollectionChange(()=>{}),delete this.controls[n],this.updateValueAndValidity({emitEvent:t.emitEvent}),this._onCollectionChange()}setControl(n,t,i={}){this.controls[n]&&this.controls[n]._registerOnCollectionChange(()=>{}),delete this.controls[n],t&&this.registerControl(n,t),this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}contains(n){return this.controls.hasOwnProperty(n)&&this.controls[n].enabled}setValue(n,t={}){K8(this,!0,n),Object.keys(n).forEach(i=>{Z8(this,!0,i),this.controls[i].setValue(n[i],{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t)}patchValue(n,t={}){n!=null&&(Object.keys(n).forEach(i=>{let r=this.controls[i];r&&r.patchValue(n[i],{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t))}reset(n={},t={}){this._forEachChild((i,r)=>{i.reset(n?n[r]:null,{onlySelf:!0,emitEvent:t.emitEvent})}),this._updatePristine(t,this),this._updateTouched(t,this),this.updateValueAndValidity(t)}getRawValue(){return this._reduceChildren({},(n,t,i)=>(n[i]=t.getRawValue(),n))}_syncPendingControls(){let n=this._reduceChildren(!1,(t,i)=>i._syncPendingControls()?!0:t);return n&&this.updateValueAndValidity({onlySelf:!0}),n}_forEachChild(n){Object.keys(this.controls).forEach(t=>{let i=this.controls[t];i&&n(i,t)})}_setUpControls(){this._forEachChild(n=>{n.setParent(this),n._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(n){for(let[t,i]of Object.entries(this.controls))if(this.contains(t)&&n(i))return!0;return!1}_reduceValue(){let n={};return this._reduceChildren(n,(t,i,r)=>((i.enabled||this.disabled)&&(t[r]=i.value),t))}_reduceChildren(n,t){let i=n;return this._forEachChild((r,o)=>{i=t(i,r,o)}),i}_allControlsDisabled(){for(let n of Object.keys(this.controls))if(this.controls[n].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(n){return this.controls.hasOwnProperty(n)?this.controls[n]:null}};var X8=zu;var ed=new me("",{providedIn:"root",factory:()=>Gf}),Gf="always";function QC(e,n){return[...n.path,e]}function jf(e,n,t=Gf){QE(e,n),n.valueAccessor.writeValue(e.value),(e.disabled||t==="always")&&n.valueAccessor.setDisabledState?.(e.disabled),$G(e,n),YG(e,n),WG(e,n),GG(e,n)}function $C(e,n,t=!0){let i=()=>{};n.valueAccessor&&(n.valueAccessor.registerOnChange(i),n.valueAccessor.registerOnTouched(i)),YC(e,n),e&&(n._invokeOnDestroyCallbacks(),e._registerOnCollectionChange(()=>{}))}function WC(e,n){e.forEach(t=>{t.registerOnValidatorChange&&t.registerOnValidatorChange(n)})}function GG(e,n){if(n.valueAccessor.setDisabledState){let t=i=>{n.valueAccessor.setDisabledState(i)};e.registerOnDisabledChange(t),n._registerOnDestroy(()=>{e._unregisterOnDisabledChange(t)})}}function QE(e,n){let t=q8(e);n.validator!==null?e.setValidators(M8(t,n.validator)):typeof t=="function"&&e.setValidators([t]);let i=Q8(e);n.asyncValidator!==null?e.setAsyncValidators(M8(i,n.asyncValidator)):typeof i=="function"&&e.setAsyncValidators([i]);let r=()=>e.updateValueAndValidity();WC(n._rawValidators,r),WC(n._rawAsyncValidators,r)}function YC(e,n){let t=!1;if(e!==null){if(n.validator!==null){let r=q8(e);if(Array.isArray(r)&&r.length>0){let o=r.filter(l=>l!==n.validator);o.length!==r.length&&(t=!0,e.setValidators(o))}}if(n.asyncValidator!==null){let r=Q8(e);if(Array.isArray(r)&&r.length>0){let o=r.filter(l=>l!==n.asyncValidator);o.length!==r.length&&(t=!0,e.setAsyncValidators(o))}}}let i=()=>{};return WC(n._rawValidators,i),WC(n._rawAsyncValidators,i),t}function $G(e,n){n.valueAccessor.registerOnChange(t=>{e._pendingValue=t,e._pendingChange=!0,e._pendingDirty=!0,e.updateOn==="change"&&J8(e,n)})}function WG(e,n){n.valueAccessor.registerOnTouched(()=>{e._pendingTouched=!0,e.updateOn==="blur"&&e._pendingChange&&J8(e,n),e.updateOn!=="submit"&&e.markAsTouched()})}function J8(e,n){e._pendingDirty&&e.markAsDirty(),e.setValue(e._pendingValue,{emitModelToViewChange:!1}),n.viewToModelUpdate(e._pendingValue),e._pendingChange=!1}function YG(e,n){let t=(i,r)=>{n.valueAccessor.writeValue(i),r&&n.viewToModelUpdate(i)};e.registerOnChange(t),n._registerOnDestroy(()=>{e._unregisterOnChange(t)})}function e9(e,n){e==null,QE(e,n)}function qG(e,n){return YC(e,n)}function ZE(e,n){if(!e.hasOwnProperty("model"))return!1;let t=e.model;return t.isFirstChange()?!0:!Object.is(n,t.currentValue)}function QG(e){return Object.getPrototypeOf(e.constructor)===zf}function t9(e,n){e._syncPendingControls(),n.forEach(t=>{let i=t.control;i.updateOn==="submit"&&i._pendingChange&&(t.viewToModelUpdate(i._pendingValue),i._pendingChange=!1)})}function KE(e,n){if(!n)return null;Array.isArray(n);let t,i,r;return n.forEach(o=>{o.constructor===go?t=o:QG(o)?i=o:r=o}),r||i||t||null}function ZG(e,n){let t=e.indexOf(n);t>-1&&e.splice(t,1)}var KG={provide:$r,useExisting:jn(()=>Gl)},Vf=Promise.resolve(),Gl=(()=>{class e extends $r{callSetDisabledState;get submitted(){return zr(this.submittedReactive)}_submitted=Ds(()=>this.submittedReactive());submittedReactive=oa(!1);_directives=new Set;form;ngSubmit=new Ue;options;constructor(t,i,r){super(),this.callSetDisabledState=r,this.form=new zu({},$E(t),WE(i))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(t){Vf.then(()=>{let i=this._findContainer(t.path);t.control=i.registerControl(t.name,t.control),jf(t.control,t,this.callSetDisabledState),t.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(t)})}getControl(t){return this.form.get(t.path)}removeControl(t){Vf.then(()=>{let i=this._findContainer(t.path);i&&i.removeControl(t.name),this._directives.delete(t)})}addFormGroup(t){Vf.then(()=>{let i=this._findContainer(t.path),r=new zu({});e9(r,t),i.registerControl(t.name,r),r.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(t){Vf.then(()=>{let i=this._findContainer(t.path);i&&i.removeControl(t.name)})}getFormGroup(t){return this.form.get(t.path)}updateModel(t,i){Vf.then(()=>{this.form.get(t.path).setValue(i)})}setValue(t){this.control.setValue(t)}onSubmit(t){return this.submittedReactive.set(!0),t9(this.form,this._directives),this.ngSubmit.emit(t),this.form._events.next(new zC(this.control)),t?.target?.method==="dialog"}onReset(){this.resetForm()}resetForm(t=void 0){this.form.reset(t),this.submittedReactive.set(!1),this.form._events.next(new GC(this.form))}_setUpdateStrategy(){this.options&&this.options.updateOn!=null&&(this.form._updateOn=this.options.updateOn)}_findContainer(t){return t.pop(),t.length?this.form.get(t):this.form}static \u0275fac=function(i){return new(i||e)(A(Fo,10),A(Jc,10),A(ed,8))};static \u0275dir=He({type:e,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(i,r){i&1&&oe("submit",function(l){return r.onSubmit(l)})("reset",function(){return r.onReset()})},inputs:{options:[0,"ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],standalone:!1,features:[Et([KG]),xt]})}return e})();function R8(e,n){let t=e.indexOf(n);t>-1&&e.splice(t,1)}function P8(e){return typeof e=="object"&&e!==null&&Object.keys(e).length===2&&"value"in e&&"disabled"in e}var ZC=class extends Bf{defaultValue=null;_onChange=[];_pendingValue;_pendingChange=!1;constructor(n=null,t,i){super(YE(t),qE(i,t)),this._applyFormState(n),this._setUpdateStrategy(t),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),qC(t)&&(t.nonNullable||t.initialValueIsDefault)&&(P8(n)?this.defaultValue=n.value:this.defaultValue=n)}setValue(n,t={}){this.value=this._pendingValue=n,this._onChange.length&&t.emitModelToViewChange!==!1&&this._onChange.forEach(i=>i(this.value,t.emitViewToModelChange!==!1)),this.updateValueAndValidity(t)}patchValue(n,t={}){this.setValue(n,t)}reset(n=this.defaultValue,t={}){this._applyFormState(n),this.markAsPristine(t),this.markAsUntouched(t),this.setValue(this.value,t),this._pendingChange=!1}_updateValue(){}_anyControls(n){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(n){this._onChange.push(n)}_unregisterOnChange(n){R8(this._onChange,n)}registerOnDisabledChange(n){this._onDisabledChange.push(n)}_unregisterOnDisabledChange(n){R8(this._onDisabledChange,n)}_forEachChild(n){}_syncPendingControls(){return this.updateOn==="submit"&&(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),this._pendingChange)?(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),!0):!1}_applyFormState(n){P8(n)?(this.value=this._pendingValue=n.value,n.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=n}},$l=ZC,XG=e=>e instanceof ZC,JG=(()=>{class e extends $r{_parent;ngOnInit(){this._checkParentType(),this.formDirective.addFormGroup(this)}ngOnDestroy(){this.formDirective&&this.formDirective.removeFormGroup(this)}get control(){return this.formDirective.getFormGroup(this)}get path(){return QC(this.name==null?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}static \u0275fac=(()=>{let t;return function(r){return(t||(t=kn(e)))(r||e)}})();static \u0275dir=He({type:e,standalone:!1,features:[xt]})}return e})();var e$={provide:Ci,useExisting:jn(()=>Wr)},k8=Promise.resolve(),Wr=(()=>{class e extends Ci{_changeDetectorRef;callSetDisabledState;control=new ZC;static ngAcceptInputType_isDisabled;_registered=!1;viewModel;name="";isDisabled;model;options;update=new Ue;constructor(t,i,r,o,l,p){super(),this._changeDetectorRef=l,this.callSetDisabledState=p,this._parent=t,this._setValidators(i),this._setAsyncValidators(r),this.valueAccessor=KE(this,o)}ngOnChanges(t){if(this._checkForErrors(),!this._registered||"name"in t){if(this._registered&&(this._checkName(),this.formDirective)){let i=t.name.previousValue;this.formDirective.removeControl({name:i,path:this._getPath(i)})}this._setUpControl()}"isDisabled"in t&&this._updateDisabled(t),ZE(t,this.viewModel)&&(this._updateV
10alue(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(t){this.viewModel=t,this.update.emit(t)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&this.options.updateOn!=null&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!!(this.options&&this.options.standalone)}_setUpStandalone(){jf(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._checkName()}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),!this._isStandalone()&&this.name}_updateValue(t){k8.then(()=>{this.control.setValue(t,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(t){let i=t.isDisabled.currentValue,r=i!==0&&xs(i);k8.then(()=>{r&&!this.control.disabled?this.control.disable():!r&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(t){return this._parent?QC(t,this._parent):[t]}static \u0275fac=function(i){return new(i||e)(A($r,9),A(Fo,10),A(Jc,10),A(Ki,10),A(Yn,8),A(ed,8))};static \u0275dir=He({type:e,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"],standalone:!1,features:[Et([e$]),xt,Xt]})}return e})();var Wl=(()=>{class e{static \u0275fac=function(i){return new(i||e)};static \u0275dir=He({type:e,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""],standalone:!1})}return e})();var t$={provide:Ki,useExisting:jn(()=>KC),multi:!0};var n$=(()=>{class e{_accessors=[];add(t,i){this._accessors.push([t,i])}remove(t){for(let i=this._accessors.length-1;i>=0;--i)if(this._accessors[i][1]===t){this._accessors.splice(i,1);return}}select(t){this._accessors.forEach(i=>{this._isSameGroup(i,t)&&i[1]!==t&&i[1].fireUncheck(t.value)})}_isSameGroup(t,i){return t[0].control?t[0]._parent===i._control._parent&&t[1].name===i.name:!1}static \u0275fac=function(i){return new(i||e)};static \u0275prov=le({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),KC=(()=>{class e extends zf{_registry;_injector;_state;_control;_fn;setDisabledStateFired=!1;onChange=()=>{};name;formControlName;value;callSetDisabledState=ge(ed,{optional:!0})??Gf;constructor(t,i,r,o){super(t,i),this._registry=r,this._injector=o}ngOnInit(){this._control=this._injector.get(Ci),this._checkName(),this._registry.add(this._control,this)}ngOnDestroy(){this._registry.remove(this)}writeValue(t){this._state=t===this.value,this.setProperty("checked",this._state)}registerOnChange(t){this._fn=t,this.onChange=()=>{t(this.value),this._registry.select(this)}}setDisabledState(t){(this.setDisabledStateFired||t||this.callSetDisabledState==="whenDisabledForLegacyCode")&&this.setProperty("disabled",t),this.setDisabledStateFired=!0}fireUncheck(t){this.writeValue(t)}_checkName(){this.name&&this.formControlName&&(this.name,this.formControlName),!this.name&&this.formControlName&&(this.name=this.formControlName)}static \u0275fac=function(i){return new(i||e)(A(Lt),A(et),A(n$),A(Gt))};static \u0275dir=He({type:e,selectors:[["input","type","radio","formControlName",""],["input","type","radio","formControl",""],["input","type","radio","ngModel",""]],hostBindings:function(i,r){i&1&&oe("change",function(){return r.onChange()})("blur",function(){return r.onTouched()})},inputs:{name:"name",formControlName:"formControlName",value:"value"},standalone:!1,features:[Et([t$]),xt]})}return e})();var XE=new me(""),i$={provide:Ci,useExisting:jn(()=>$f)},$f=(()=>{class e extends Ci{_ngModelWarningConfig;callSetDisabledState;viewModel;form;set isDisabled(t){}model;update=new Ue;static _ngModelWarningSentOnce=!1;_ngModelWarningSent=!1;constructor(t,i,r,o,l){super(),this._ngModelWarningConfig=o,this.callSetDisabledState=l,this._setValidators(t),this._setAsyncValidators(i),this.valueAccessor=KE(this,r)}ngOnChanges(t){if(this._isControlChanged(t)){let i=t.form.previousValue;i&&$C(i,this,!1),jf(this.form,this,this.callSetDisabledState),this.form.updateValueAndValidity({emitEvent:!1})}ZE(t,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}
vendor: 5,974 bytes, line 10
10ngOnDestroy(){this.form&&$C(this.form,this,!1)}get path(){return[]}get control(){return this.form}viewToModelUpdate(t){this.viewModel=t,this.update.emit(t)}_isControlChanged(t){return t.hasOwnProperty("form")}static \u0275fac=function(i){return new(i||e)(A(Fo,10),A(Jc,10),A(Ki,10),A(XE,8),A(ed,8))};static \u0275dir=He({type:e,selectors:[["","formControl",""]],inputs:{form:[0,"formControl","form"],isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],standalone:!1,features:[Et([i$]),xt,Xt]})}return e})(),r$={provide:$r,useExisting:jn(()=>td)},td=(()=>{class e extends $r{callSetDisabledState;get submitted(){return zr(this._submittedReactive)}set submitted(t){this._submittedReactive.set(t)}_submitted=Ds(()=>this._submittedReactive());_submittedReactive=oa(!1);_oldForm;_onCollectionChange=()=>this._updateDomValue();directives=[];form=null;ngSubmit=new Ue;constructor(t,i,r){super(),this.callSetDisabledState=r,this._setValidators(t),this._setAsyncValidators(i)}ngOnChanges(t){t.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(YC(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(t){let i=this.form.get(t.path);return jf(i,t,this.callSetDisabledState),i.updateValueAndValidity({emitEvent:!1}),this.directives.push(t),i}getControl(t){return this.form.get(t.path)}removeControl(t){$C(t.control||null,t,!1),ZG(this.directives,t)}addFormGroup(t){this._setUpFormContainer(t)}removeFormGroup(t){this._cleanUpFormContainer(t)}getFormGroup(t){return this.form.get(t.path)}addFormArray(t){this._setUpFormContainer(t)}removeFormArray(t){this._cleanUpFormContainer(t)}getFormArray(t){return this.form.get(t.path)}updateModel(t,i){this.form.get(t.path).setValue(i)}onSubmit(t){return this._submittedReactive.set(!0),t9(this.form,this.directives),this.ngSubmit.emit(t),this.form._events.next(new zC(this.control)),t?.target?.method==="dialog"}onReset(){this.resetForm()}resetForm(t=void 0){this.form.reset(t),this._submittedReactive.set(!1),this.form._events.next(new GC(this.form))}_updateDomValue(){this.directives.forEach(t=>{let i=t.control,r=this.form.get(t.path);i!==r&&($C(i||null,t),XG(r)&&(jf(r,t,this.callSetDisabledState),t.control=r))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(t){let i=this.form.get(t.path);e9(i,t),i.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(t){if(this.form){let i=this.form.get(t.path);i&&qG(i,t)&&i.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){QE(this.form,this),this._oldForm&&YC(this._oldForm,this)}static \u0275fac=function(i){return new(i||e)(A(Fo,10),A(Jc,10),A(ed,8))};static \u0275dir=He({type:e,selectors:[["","formGroup",""]],hostBindings:function(i,r){i&1&&oe("submit",function(l){return r.onSubmit(l)})("reset",function(){return r.onReset()})},inputs:{form:[0,"formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],standalone:!1,features:[Et([r$]),xt,Xt]})}return e})(),o$={provide:$r,useExisting:jn(()=>JE)},JE=(()=>{class e extends JG{name=null;constructor(t,i,r){super(),this._parent=t,this._setValidators(i),this._setAsyncValidators(r)}_checkParentType(){n9(this._parent)}static \u0275fac=function(i){return new(i||e)(A($r,13),A(Fo,10),A(Jc,10))};static \u0275dir=He({type:e,selectors:[["","formGroupName",""]],inputs:{name:[0,"formGroupName","name"]},standalone:!1,features:[Et([o$]),xt]})}return e})(),s$={provide:$r,useExisting:jn(()=>XC)},XC=(()=>{class e extends $r{_parent;name=null;constructor(t,i,r){super(),this._parent=t,this._setValidators(i),this._setAsyncValidators(r)}ngOnInit(){n9(this._parent),this.formDirective.addFormArray(this)}ngOnDestroy(){this.formDirective?.removeFormArray(this)}get control(){return this.formDirective.getFormArray(this)}get formDirective(){return this._parent?this._parent.formDirective:null}get path(){return QC(this.name==null?this.name:this.name.toString(),this._parent)}static \u0275fac=function(i){return new(i||e)(A($r,13),A(Fo,10),A(Jc,10))};static \u0275dir=He({type:e,selectors:[["","formArrayName",""]],inputs:{name:[0,"formArrayName","name"]},standalone:!1,features:[Et([s$]),xt]})}return e})();function n9(e){return!(e instanceof JE)&&!(e instanceof td)&&!(e instanceof XC)}var a$={provide:Ci,useExisting:jn(()=>ew)},ew=(()=>{class e extends Ci{_ngModelWarningConfig;_added=!1;viewModel;control;name=null;set isDisabled(t){}model;update=new Ue;static _ngModelWarningSentOnce=!1;_ngModelWarningSent=!1;constructor(t,i,r,o,l){super(),this._ngModelWarningConfig=l,this._parent=t,this._setValidators(i),this._setAsyncValidators(r),this.valueAccessor=KE(this,o)}ngOnChanges(t){this._added||this._setUpControl(),ZE(t,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(t){this.viewModel=t,this.update.emit(t)}get path(){return QC(this.name==null?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_setUpControl(){this.control=this.formDirective.addControl(this),this._added=!0}static \u0275fac=function(i){return new(i||e)(A($r,13),A(Fo,10),A(Jc,10),A(Ki,10),A(XE,8))};static \u0275dir=He({type:e,selectors:[["","formControlName",""]],inputs:{name:[0,"formControlName","name"],isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"]},outputs:{update:"ngModelChange"},standalone:!1,features:[Et([a$]),xt,Xt]})}return e})();var l$={provide:Ki,useExisting:jn(()=>Rs),multi:!0};function i9(e,n){return e==null?`${n}
10`:(n&&typeof n=="object"&&(n="Object"),`${e}: ${n}`.slice(0,50))}function c$(e){return e.split(":")[0]}var Rs=(()=>{class e extends zf{value;_optionMap=new Map;_idCounter=0;set compareWith(t){this._compareWith=t}_compareWith=Object.is;writeValue(t){this.value=t;let i=this._getOptionId(t),r=i9(i,t);this.setProperty("value",r)}registerOnChange(t){this.onChange=i=>{this.value=this._getOptionValue(i),t(this.value)}}_registerOption(){return(this._idCounter++).toString()}_getOptionId(t){for(let i of this._optionMap.keys())if(this._compareWith(this._optionMap.get(i),t))return i;return null}_getOptionValue(t){let i=c$(t);return this._optionMap.has(i)?this._optionMap.get(i):t}static \u0275fac=(()=>{let t;return function(r){return(t||(t=kn(e)))(r||e)}})();static \u0275dir=He({type:e,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(i,r){i&1&&oe("change",function(l){return r.onChange(l.target.value)})("blur",function(){return r.onTouched()})},inputs:{compareWith:"compareWith"},standalone:!1,features:[Et([l$]),xt]})}return e})(),al=(()=>{class e{_element;_renderer;_select;id;constructor(t,i,r){this._element=t,this._renderer=i,this._select=r,this._select&&(this.id=this._select._registerOption())}set ngValue(t){this._select!=null&&(this._select._optionMap.set(this.id,t),this._setElementValue(i9(this.id,t)),this._select.writeValue(this._select.value))}set value(t){this._setElementValue(t),this._select&&this._select.writeValue(this._select.value)}_setElementValue(t){this._renderer.setProperty(this._element.nativeElement,"value",t)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}static \u0275fac=function(i){return new(i||e)(A(et),A(Lt),A(Rs,9))};static \u0275dir=He({type:e,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"},standalone:!1})}return e})(),d$={provide:Ki,useExisting:jn(()=>Wf),multi:!0};function N8(e,n){return e==null?`${n}`:(typeof n=="string"&&(n=`'${n}'`),n&&typeof n=="object"&&(n="Object"),`${e}: ${n}`.slice(0,50))}function u$(e){return e.split(":")[0]}var Wf=(()=>{class e extends zf{value;_optionMap=new Map;_idCounter=0;set compareWith(t){this._compareWith=t}_compareWith=Object.is;writeValue(t){this.value=t;let i;if(Array.isArray(t)){let r=t.map(o=>this._getOptionId(o));i=(o,l)=>{o._setSelected(r.indexOf(l.toString())>-1)}}else i=(r,o)=>{r._setSelected(!1)};this._optionMap.forEach(i)}registerOnChange(t){this.onChange=i=>{let r=[],o=i.selectedOptions;if(o!==void 0){let l=o;for(let p=0;p<l.length;p++){let C=l[p],w=this._getOptionValue(C.value);r.push(w)}}else{let l=i.options;for(let p=0;p<l.length;p++){let C=l[p];if(C.selected){let w=this._getOptionValue(C.value);r.push(w)}}}this.value=r,t(r)}}_registerOption(t){let i=(this._idCounter++).toString();return this._optionMap.set(i,t),i}_getOptionId(t){for(let i of this._optionMap.keys())if(this._compareWith(this._optionMap.get(i)._value,t))return i;return null}_getOptionValue(t){let i=u$(t);return this._optionMap.has(i)?this._optionMap.get(i)._value:t}static \u0275fac=(()=>{let t;return function(r){return(t||(t=kn(e)))(r||e)}})();static \u0275dir=He({type:e,selectors:[["select","multiple","","formControlName",""],["select","multiple","","formControl",""],["select","multiple","","ngModel",""]],hostBindings:function(i,r){i&1&&oe("change",function(l){return r.onChange(l.target)})("blur",function(){return r.onTouched()})},inputs:{compareWith:"compareWith"},standalone:!1,features:[Et([d$]),xt]})}return e})(),ll=(()=>{class e{_element;_renderer;_select;id;_value;constructor(t,i,r){this._element=t,this._renderer=i,this._select=r,this._select&&(this.id=this._select._registerOption(this))}set ngValue(t){this._select!=null&&(this._value=t,this._setElementValue(N8(this.id,t)),this._select.writeValue(this._select.value))}set value(t){this._select?(this._value=t,this._setElementValue(N8(this.id,t)),this._select.writeValue(this._select.value)):this._setElementValue(t)}_setElementValue(t){this._renderer.setProperty(this._element.nativeElement,"value",t)}_setSelected(t){this._renderer.setProperty(this._element.nativeElement,"selected",t)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id
vendor: 4,171 bytes, line 10
10),this._select.writeValue(this._select.value))}static \u0275fac=function(i){return new(i||e)(A(et),A(Lt),A(Wf,9))};static \u0275dir=He({type:e,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"},standalone:!1})}return e})();function r9(e){return typeof e=="number"?e:parseInt(e,10)}var JC=(()=>{class e{_validator=VC;_onChange;_enabled;ngOnChanges(t){if(this.inputName in t){let i=this.normalizeInput(t[this.inputName].currentValue);this._enabled=this.enabled(i),this._validator=this._enabled?this.createValidator(i):VC,this._onChange&&this._onChange()}}validate(t){return this._validator(t)}registerOnValidatorChange(t){this._onChange=t}enabled(t){return t!=null}static \u0275fac=function(i){return new(i||e)};static \u0275dir=He({type:e,features:[Xt]})}return e})();var h$={provide:Fo,useExisting:jn(()=>Ps),multi:!0};var Ps=(()=>{class e extends JC{required;inputName="required";normalizeInput=xs;createValidator=t=>F8;enabled(t){return t}static \u0275fac=(()=>{let t;return function(r){return(t||(t=kn(e)))(r||e)}})();static \u0275dir=He({type:e,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(i,r){i&2&&De("required",r._enabled?"":null)},inputs:{required:"required"},standalone:!1,features:[Et([h$]),xt]})}return e})();var p$={provide:Fo,useExisting:jn(()=>Yf),multi:!0},Yf=(()=>{class e extends JC{minlength;inputName="minlength";normalizeInput=t=>r9(t);createValidator=t=>V8(t);static \u0275fac=(()=>{let t;return function(r){return(t||(t=kn(e)))(r||e)}})();static \u0275dir=He({type:e,selectors:[["","minlength","","formControlName",""],["","minlength","","formControl",""],["","minlength","","ngModel",""]],hostVars:1,hostBindings:function(i,r){i&2&&De("minlength",r._enabled?r.minlength:null)},inputs:{minlength:"minlength"},standalone:!1,features:[Et([p$]),xt]})}return e})(),f$={provide:Fo,useExisting:jn(()=>qf),multi:!0},qf=(()=>{class e extends JC{maxlength;inputName="maxlength";normalizeInput=t=>r9(t);createValidator=t=>U8(t);static \u0275fac=(()=>{let t;return function(r){return(t||(t=kn(e)))(r||e)}})();static \u0275dir=He({type:e,selectors:[["","maxlength","","formControlName",""],["","maxlength","","formControl",""],["","maxlength","","ngModel",""]],hostVars:1,hostBindings:function(i,r){i&2&&De("maxlength",r._enabled?r.maxlength:null)},inputs:{maxlength:"maxlength"},standalone:!1,features:[Et([f$]),xt]})}return e})(),g$={provide:Fo,useExisting:jn(()=>tw),multi:!0},tw=(()=>{class e extends JC{pattern;inputName="pattern";normalizeInput=t=>t;createValidator=t=>H8(t);static \u0275fac=(()=>{let t;return function(r){return(t||(t=kn(e)))(r||e)}})();static \u0275dir=He({type:e,selectors:[["","pattern","","formControlName",""],["","pattern","","formControl",""],["","pattern","","ngModel",""]],hostVars:1,hostBindings:function(i,r){i&2&&De("pattern",r._enabled?r.pattern:null)},inputs:{pattern:"pattern"},standalone:!1,features:[Et([g$]),xt]})}return e})();var o9=(()=>{class e{static \u0275fac=function(i){return new(i||e)};static \u0275mod=We({type:e});static \u0275inj=$e({})}return e})(),jE=class extends Bf{constructor(n,t,i){super(YE(t),qE(i,t)),this.controls=n,this._initObservables(),this._setUpdateStrategy(t),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}controls;at(n){return this.controls[this._adjustIndex(n)]}push(n,t={}){this.controls.push(n),this._registerControl(n),this.updateValueAndValidity({emitEvent:t.emitEvent}),this._onCollectionChange()}insert(n,t,i={}){this.controls.splice(n,0,t),this._registerControl(t),this.updateValueAndValidity({emitEvent:i.emitEvent})}removeAt(n,t={}){let i=this._adjustIndex(n);i<0&&(i=0),this.controls[i]&&this.controls[i]._registerOnCollectionChange(()=>{}),this.controls.splice(i,1),this.updateValueAndValidity({emitEvent:t.emitEvent})}setControl(n,t,i={}){let r=this._adjustIndex(n);r<0&&(r=0),this.controls[r]&&this.controls[r]._registerOnCollectionChange(()=>{}),this.controls.splice(r,1),t&&(this.controls.splice(r,0,t),this._registerControl(t)),this.updateV
10alueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(n,t={}){K8(this,!1,n),n.forEach((i,r)=>{Z8(this,!1,r),this.at(r).setValue(i,{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t)}patchValue(n,t={}){n!=null&&(n.forEach((i,r)=>{this.at(r)&&this.at(r).patchValue(i,{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t))}reset(n=[],t={}){this._forEachChild((i,r)=>{i.reset(n[r],{onlySelf:!0,emitEvent:t.emitEvent})}),this._updatePristine(t,this),this._updateTouched(t,this),this.updateValueAndValidity(t)}getRawValue(){return this.controls.map(n=>n.getRawValue())}clear(n={}){this.controls.length<1||(this._forEachChild(t=>t._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:n.emitEvent}))}_adjustIndex(n){return n<0?n+this.length:n}_syncPendingControls(){let n=this.controls.reduce((t,i)=>i._syncPendingControls()?!0:t,!1);return n&&this.updateValueAndValidity({onlySelf:!0}),n}_forEachChild(n){this.controls.forEach((t,i)=>{n(t,i)})}_updateValue(){this.value=this.controls.filter(n=>n.enabled||this.disabled).map(n=>n.value)}_anyControls(n){return this.controls.some(t=>t.enabled&&n(t))}_setUpControls(){this._forEachChild(n=>this._registerControl(n))}_allControlsDisabled(){for(let n of this.controls)if(n.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(n){n.setParent(this),n._registerOnCollectionChange(this._onCollectionChange)}_find(n){return this.at(n)??null}},nw=jE;var os=(()=>{class e{static withConfig(t){return{ngModule:e,providers:[{provide:ed,useValue:t.callSetDisabledState??Gf}]}}static \u0275fac=function(i){return new(i||e)};static \u0275mod=We({type:e});static \u0275inj=$e({imports:[o9]})}return e})(),iw=(()=>{class e{static withConfig(t){return{ngModule:e,providers:[{provide:XE,useValue:t.warnOnNgModelWithFormControl??"always"},{provide:ed,useValue:t.callSetDisabledState??Gf}]}}static \u0275fac=function(i){return new(i||e)};static \u0275mod=We({type:e});static \u0275inj=$e({imports:[o9]})}return e})();var Vo=typeof window<"u"?window:{screen:{},navigator:{}},$u=(Vo.matchMedia||function(){return{matches:!1}}).bind(Vo),s9=!1,m$={get passive(){return s9=!0}},a9=function(){};Vo.addEventListener&&Vo.addEventListener("p",a9,m$);Vo.removeEventListener&&Vo.removeEventListener("p",a9,!1);var e_=s9,gpe="PointerEvent"in Vo,rw="ontouchstart"in Vo,v$="TouchEvent"in Vo,C$=rw||v$&&$u("(any-pointer: coarse)").matches,mpe=(Vo.navigator.maxTouchPoints||0)>0||C$,l9=Vo.navigator.userAgent||"",_$=$u("(pointer: coarse)").matches&&/iPad|Macintosh/.test(l9)&&Math.min(Vo.screen.width||0,Vo.screen.height||0)>=768,vpe=($u("(pointer: coarse)").matches||!$u("(pointer: fine)").matches&&rw)&&!/Windows.*Firefox/.test(l9),Cpe=$u("(any-pointer: fine)").matches||$u("(any-hover: hover)").matches||_$||!rw;var y$=(e,n,t)=>({tooltip:e,placement:n,content:t});function b$(e,n){}function S$(e,n){e&1&&ue(0,b$,0,0,"ng-template")}function I$(e,n){if(e&1&&(ri(0),ue(1,S$,1,0,null,1),oi()),e&2){let t=z();E(),L("ngTemplateOutlet",t.template)("ngTemplateOutletContext",C6(2,y$,t.tooltip,t.placement,t.content))}}function E$(e,n){if(e&1&&(ri(0),F(1,"div",2),q(2),P(),oi()),e&2){let t=z();E(),De("title",t.tooltip)("data-tooltip-placement",t.placement),E(),Ae(" ",t.content," ")}}var w$=["tooltipTemplate"],x$=["leftOuterSelectionBar"],D$=["rightOuterSelectionBar"],T$=["fullBar"],M$=["selectionBar"],A$=["minHandle"],O$=["maxHandle"],R$=["floorLabel"],P$=["ceilLabel"],k$=["minHandleLabel"],N$=["maxHandleLabel"],L$=["combinedLabel"],F$=["ticksElement"],V$=e=>({"ngx-slider-selected":e});function U$(e,n){if(e&1&&ye(0,"ngx-slider-tooltip-wrapper",32),e&2){let t=z().$implicit,i=z();L("template",i.tooltipTemplate)("tooltip",t.valueTooltip)("placement",t.valueTooltipPlacement)("content",t.value)}}function H$(e,n){if(e&1&&ye(0,"span",33),e&2){let t=z().$implicit;L("innerText",t.legend)}}function B$(e,n){if(e&1&&ye(0,"span",34),e&2){let t=z().$implicit;L("innerHTML",t.legend,mr)}}function j$(e,n){if(e&1&&(F(0,"span",27),ye(1,"ngx-slider-tooltip-wrapper",28),ue(2,U$,1,4,"ngx-slider-tooltip-wrapper",29)(3,H$,1,1,"span",30)(4,B$,1,1,"span",31),P()),e&2){let t=n.$implicit,i=z();L("ngClass",vr(8,V$,t.selected))("ngStyle",t.style),E(),L("template",i.tooltipTemplate)("tooltip",t.tooltip)("placement",t.tooltipPlacement),E(),L("ngIf",t.value!==null&&t.value!==void 0),E(),L("ngIf",t.legend!==null&&t.legend!==void 0&&i.allowUnsafeHtmlInSlider===!1),E(),L("ngIf",t.legend!==null&&t.legend!==void 0&&(i.allowUnsafeHtmlInSlider===null||i.allowUnsafeHtmlInSlider===void 0||i.allowUnsafeHtmlInSlider))}}var ua=(function(e){return e[e.Low=0]="Low",e[e.High=1]="High",e[e.Floor=2]="Floor",e[e.Ceil=3]="Ceil",e[e.TickValue=4]="TickValue",e})(ua||{}),Yu=class{floor=0;ceil=null;step=1;minRange=null;maxRange=null;pushRange=!1;minLimit=null;maxLimit=null;translate=null;combineLabels=null;getLegend=null;getStepLegend=null;stepsArray=null;bindIndexForStepsArray=!1;draggableRange=!1;draggableRangeOnly=!1;showSelectionBar=!1;showSelectionBarEnd=!1;showSelectionBarFromValue=null;showOuterSelectionBars=!1;hidePointerLabels=!1;hideLimitLabels=!1;autoHideLimitLabels=!0;readOnly=!1;disabled=!1;showTicks=!1;showTicksValues=!1;tickStep=null;tickValueStep=null;ticksArray=null;ticksTooltip=null;ticksValuesTooltip=null;vertical=!1;getSelectionBarColor=null;getTickColor=null;getPointerColor=null;keyboardSupport=!0;scale=1;rotate=0;enforceStep=!0;enforceRange=!0;enforceStepsArray=!0;noSwitching=!1;onlyBindHandles=!1;rightToLeft=!1;reversedControls=!1;boundPointerLabels=!0;logScale=!1;customValueToPosition=null;customPositionToValue=null;precisionLimit=12;selectionBarGradient=null;ariaLabel="ngx-slider";ariaLabelledBy=null;ariaLabelHigh="ngx-slider-max";ariaLabelledByHigh=null;handleDimension=null;barDimension=null;animate=!0;
10animateOnMove=!1},c9=new me("AllowUnsafeHtmlInSlider"),at=(function(e){return e[e.Min=0]="Min",e[e.Max=1]="Max",e})(at||{}),sw=class{value;highValue;pointerType},Oe=class{static isNullOrUndefined(n){return n==null}static areArraysEqual(n,t){if(n.length!==t.length)return!1;for(let i=0;i<n.length;++i)if(n[i]!==t[i])return!1;return!0}static linearValueToPosition(n,t,i){let r=i-t;return(n-t)/r}static logValueToPosition(n,t,i){n=Math.log(n),t=Math.log(t),i=Math.log(i);let r=i-t;return(n-t)/r}static linearPositionToValue(n,t,i){return n*(i-t)+t}static logPositionToValue(n,t,i){t=Math.log(t),i=Math.log(i);let r=n*(i-t)+t;return Math.exp(r)}static findStepIndex(n,t){let i=t.map(o=>Math.abs(n-o.value)),r=0;for(let o=0;o<t.length;o++)i[o]!==i[r]&&i[o]<i[r]&&(r=o);return r}},ha=class{static isTouchEvent(n){return window.TouchEvent!==void 0?n instanceof TouchEvent:n.touches!==void 0}static isResizeObserverAvailable(){return window.ResizeObserver!==void 0}},hi=class{static roundToPrecisionLimit(n,t){return+n.toPrecision(t)}static isModuloWithinPrecisionLimit(n,t,i){let r=Math.pow(10,-i);return Math.abs(n%t)<=r||Math.abs(Math.abs(n%t)-t)<=r}static clampToRange(n,t,i){return Math.min(Math.max(n,t),i)}},t_=class{eventName=null;events=null;eventsSubscription=null;teardownCallback=null},n_=class{renderer;constructor(n){this.renderer=n}attachPassiveEventListener(n,t,i,r){if(e_!==!0)return this.attachEventListener(n,t,i,r);let o=new t_;o.eventName=t,o.events=new Qe;let l=p=>{o.events.next(p)};return n.addEventListener(t,l,{passive:!0,capture:!1}),o.teardownCallback=()=>{n.removeEventListener(t,l,{passive:!0,capture:!1})},o.eventsSubscription=o.events.pipe(Oe.isNullOrUndefined(r)?pn(()=>{}):$2(r,void 0,{leading:!0,trailing:!0})).subscribe(p=>{i(p)}),o}detachEventListener(n){Oe.isNullOrUndefined(n.eventsSubscription)||(n.eventsSubscription.unsubscribe(),n.eventsSubscription=null),Oe.isNullOrUndefined(n.events)||(n.events.complete(),n.events=null),Oe.isNullOrUndefined(n.teardownCallback)||(n.teardownCallback(),n.teardownCallback=null)}attachEventListener(n,t,i,r){let o=new t_;o.eventName=t,o.events=new Qe;let l=p=>{o.events.next(p)};return o.teardownCallback=this.renderer.listen(n,t,l),o.eventsSubscription=o.events.pipe(Oe.isNullOrUndefined(r)?pn(()=>{}):$2(r,void 0,{leading:!0,trailing:!0})).subscribe(p=>{i(p)}),o}},Yl=(()=>{class e{elemRef;renderer;changeDetectionRef;_position=0;get position(){return this._position}_dimension=0;get dimension(){return this._dimension}_alwaysHide=!1;get alwaysHide(){return this._alwaysHide}_vertical=!1;get vertical(){return this._vertical}_scale=1;get scale(){return this._scale}_rotate=0;get rotate(){return this._rotate}opacity=1;visibility="visible";left="";bottom="";height="";width="";transform="";eventListenerHelper;eventListeners=[];constructor(t,i,r){this.elemRef=t,this.renderer=i,this.changeDetectionRef=r,this.eventListenerHelper=new n_(this.renderer)}setAlwaysHide(t){this._alwaysHide=t,t?this.visibility="hidden":this.visibility="visible"}hide(){this.opacity=0}show(){this.alwaysHide||(this.opacity=1)}isVisible(){return this.alwaysHide?!1:this.opacity!==0}setVertical(t){this._vertical=t,this._vertical?(this.left="",this.width=""):(this.bottom="",this.height="")}setScale(t){this._scale=t}setRotate(t){this._rotate=t,this.transform="rotate("+t+"deg)"}getRotate(){return this._rotate}setPosition(t){this._position!==t&&!this.isRefDestroyed()&&this.changeDetectionRef.markForCheck(),this._position=t,this._vertical?this.bottom=Math.round(t)+"px":this.left=Math.round(t)+"px"}calculateDimension(){let t=this.getBoundingClientRect();this.vertical?this._dimension=(t.bottom-t.top)*this.scale:this._dimension=(t.right-t.left)*this.scale}setDimension(t){this._dimension!==t&&!this.isRefDestroyed()&&this.changeDetectionRef.markForCheck(),this._dimension=t,this._vertical?this.height=Math.round(t)+"px":this.width=Math.round(t)+"px"}getBoundingClientRect(){return this.elemRef.nativeElement.getBoundingClientRect()}on(t,i,r){let o=this.eventListenerHelper.attachEventListener(this.elemRef.nativeElement,t,i,r);this.eventListeners.push(o)}onPassive(t,i,r){let o=this.eventListenerHelper.attachPassiveEventListener(this.elemRef.nativeElement,t,i,r);this.eventListeners.push(o)}off(t){let i,r;Oe.isNullOrUndefined(t)?(i=[],r=this.eventListeners):(i=this.eventListeners.filter(o=>o.eventName!==t),r=this.eventListeners.filter(o=>o.eventName===t));for(let o of r)this.eventListenerHelper.detachEventListener(o);this.eventListeners=i}isRefDestroyed(){return Oe.isNullOrUndefined(this.changeDetectionRef)||this.changeDetectionRef.destroyed}static \u0275fac=function(i){return new(i||e)(A(et),A(Lt),A(Yn))};static \u0275dir=He({type:e,selectors:[["","ngxSliderElement",""]],hostVars:14,hostBindings:function(i,r){i&2&&is("opacity",r.opacity)("visibility",r.visibility)("left",r.left)("bottom",r.bottom)("height",r.height)("width",r.width)("transform",r.transform)},standalone:!1})}return e})(),ow=(()=>{class e extends Yl{active=!1;role="";tabindex="";ariaOrientation="";ariaLabel="";ariaLabelledBy="";ariaValueNow="";ariaValueText="";ariaValueMin="";ariaValueMax="";focus(){this.elemRef.nativeElement.focus()}focusIfNeeded(){document.activeElement!==this.elemRef.nativeElement&&this.elemRef.nativeElement.focus()}constructor(t,i,r){super(t,i,r)}static \u0275fac=function(i){return new(i||e)(A(et),A(Lt),A(Yn))};static \u0275dir=He({type:e,selectors:[["","ngxSliderHandle",""]],hostVars:11,hostBindings:function(i,r){i&2&&(De("role",r.role)("tabindex",r.tabindex)("aria-orientation",r.ariaOrientation)("aria-label",r.ariaLabel)("aria-labelledby",r.ariaLabelledBy)("aria-valuenow",r.ariaValueNow)("aria-valuetext",r.ariaValueText)("aria-valuemin",r.ariaValueMin)("aria-valuemax",r.ariaValueMax),Be("ngx-slider-active",r.active))},standalone:!1,features:[xt]})}return e})(),Wu=(()=>{class e extends Yl{allowUnsafeHtmlInSlider;_value=null;get value(){return this._value}constructor(t,i,r,o){super(t,i,r),this.allowUnsafeHtmlInSlider=o}setValue(t){let i=!1;!this.alwaysHide&&(Oe.isNullOrUndefined(this.value)||this.value.length!==t.length||this.value.length>0&&this.dimension===0)&&(i=!0),this._value=t,this.allowUnsafeHtmlInSlider===!1?this.elemRef.nativeElement.innerText=t:this.elemRef.nativeElement.innerHTML=t,i&&this.calculateDimension()}static \u0275fac=function(i){return new(i||e)(A(et),A(Lt),A(Yn),A(c9,8))};static \u0275dir=He({type:e,selectors:[["","ngxSliderLabel",""]],standalone:!1,features:[xt]})}return e}
10)(),z$=(()=>{class e{template;tooltip;placement;content;static \u0275fac=function(i){return new(i||e)};static \u0275cmp=Me({type:e,selectors:[["ngx-slider-tooltip-wrapper"]],inputs:{template:"template",tooltip:"tooltip",placement:"placement",content:"content"},standalone:!1,decls:2,vars:2,consts:[[4,"ngIf"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"ngx-slider-inner-tooltip"]],template:function(i,r){i&1&&ue(0,I$,2,6,"ng-container",0)(1,E$,3,3,"ng-container",0),i&2&&(L("ngIf",r.template),E(),L("ngIf",!r.template))},dependencies:[rt,ol],styles:[".ngx-slider-inner-tooltip[_ngcontent-%COMP%]{height:100%}"]})}return e})(),aw=class{selected=!1;style={};tooltip=null;tooltipPlacement=null;value=null;valueTooltip=null;valueTooltipPlacement=null;legend=null},i_=class{active=!1;value=0;difference=0;position=0;lowLimit=0;highLimit=0},qu=class{value;highValue;static compare(n,t){return Oe.isNullOrUndefined(n)&&Oe.isNullOrUndefined(t)||Oe.isNullOrUndefined(n)!==Oe.isNullOrUndefined(t)?!1:n.value===t.value&&n.highValue===t.highValue}},r_=class extends qu{forceChange;static compare(n,t){return Oe.isNullOrUndefined(n)&&Oe.isNullOrUndefined(t)||Oe.isNullOrUndefined(n)!==Oe.isNullOrUndefined(t)?!1:n.value===t.value&&n.highValue===t.highValue&&n.forceChange===t.forceChange}};var G$={provide:Ki,useExisting:jn(()=>$$),multi:!0},$$=(()=>{class e{renderer;elementRef;changeDetectionRef;zone;allowUnsafeHtmlInSlider;sliderElementNgxSliderClass=!0;value=null;valueChange=new Ue;highValue=null;highValueChange=new Ue;options=new Yu;userChangeStart=new Ue;userChange=new Ue;userChangeEnd=new Ue;manualRefreshSubscription;set manualRefresh(t){this.unsubscribeManualRefresh(),this.manualRefreshSubscription=t.subscribe(()=>{setTimeout(()=>this.calculateViewDimensionsAndDetectChanges())})}triggerFocusSubscription;set triggerFocus(t){this.unsubscribeTriggerFocus(),this.triggerFocusSubscription=t.subscribe(i=>{this.focusPointer(i)})}cancelUserChangeSubscription;set cancelUserChange(t){this.unsubscribeCancelUserChange(),this.cancelUserChangeSubscription=t.subscribe(()=>{this.moving&&(this.positionTrackingHandle(this.preStartHandleValue),this.forceEnd(!0))})}get range(){return!Oe.isNullOrUndefined(this.value)&&!Oe.isNullOrUndefined(this.highValue)}initHasRun=!1;inputModelChangeSubject=new Qe;inputModelChangeSubscription=null;outputModelChangeSubject=new Qe;outputModelChangeSubscription=null;viewLowValue=null;viewHighValue=null;viewOptions=new Yu;handleHalfDimension=0;maxHandlePosition=0;currentTrackingPointer=null;currentFocusPointer=null;firstKeyDown=!1;touchId=null;dragging=new i_;preStartHandleValue=null;leftOuterSelectionBarElement;rightOuterSelectionBarElement;fullBarElement;selectionBarElement;minHandleElement;maxHandleElement;floorLabelElement;ceilLabelElement;minHandleLabelElement;maxHandleLabelElement;combinedLabelElement;ticksElement;tooltipTemplate;sliderElementVerticalClass=!1;sliderElementAnimateClass=!1;sliderElementWithLegendClass=!1;sliderElementDisabledAttr=null;sliderElementAriaLabel="ngx-slider";barStyle={};minPointerStyle={};maxPointerStyle={};fullBarTransparentClass=!1;selectionBarDraggableClass=!1;ticksUnderValuesClass=!1;get showTicks(){return this.viewOptions.showTicks}intermediateTicks=!1;ticks=[];eventListenerHelper=null;onMoveEventListener=null;onEndEventListener=null;moving=!1;resizeObserver=null;onTouchedCallback=null;onChangeCallback=null;constructor(t,i,r,o,l){this.renderer=t,this.elementRef=i,this.changeDetectionRef=r,this.zone=o,this.allowUnsafeHtmlInSlider=l,this.eventListenerHelper=new n_(this.renderer)}ngOnInit(){this.viewOptions=new Yu,Object.assign(this.viewOptions,this.options),this.updateDisabledState(),this.updateVerticalState(),this.updateAriaLabel()}ngAfterViewInit(){this.applyOptions(),this.subscribeInputModelChangeSubject(),this.subscribeOutputModelChangeSubject(),this.renormaliseModelValues(),this.viewLowValue=this.modelValueToViewValue(this.value),this.range?this.viewHighValue=this.modelValueToViewValue(this.highValue):this.viewHighValue=null,this.updateVerticalState(),this.manageElementsStyle(),this.updateDisabledState(),this.calculateViewDimensions(),this.addAccessibility(),this.updateCeilLabel(),this.updateFloorLabel(),this.initHandles(),this.manageEventsBindings(),this.updateAriaLabel(),this.subscribeResizeObserver(),this.initHasRun=!0,this.isRefDestroyed()||this.changeDetectionRef.detectChanges()}ngOnChanges(t){!Oe.isNullOrUndefined(t.options)&&JSON.stringify(t.options.previousValue)!==JSON.stringify(t.options.currentValue)&&this.onChangeOptions(),(!Oe.isNullOrUndefined(t.value)||!Oe.isNullOrUndefined(t.highValue))&&this.inputModelChangeSubject.next({value:this.value,highValue:this.highValue,controlAccessorChange:!1,forceChange:!1,internalChange:!1})}ngOnDestroy(){this.unbindEvents(),this.unsubscribeResizeObserver(),this.unsubscribeInputModelChangeSubject(),this.unsubscribeOutputModelChangeSubject(),this.unsubscribeManualRefresh(),this.unsubscribeTriggerFocus()}writeValue(t){t instanceof Array?(this.value=t[0],this.highValue=t[1]):this.value=t,this.inputModelChangeSubject.next({value:this.value,highValue:this.highValue,forceChange:!1,internalChange:!1,controlAccessorChange:!0})}registerOnChange(t){this.onChangeCallback=t}registerOnTouched(t){this.onTouchedCallback=t}setDisabledState(t){this.viewOptions.disabled=t,this.updateDisabledState(),this.initHasRun&&this.manageEventsBindings()}setAriaLabel(t){this.viewOptions.ariaLabel=t,this.updateAriaLabel()}onResize(t){this.calculateViewDimensionsAndDetectChanges()}subscribeInputModelChangeSubject(){this.inputModelChangeSubscription=this.inputModelChangeSubject.pipe(ys(r_.compare),qt(t=>!t.forceChange&&!t.internalChange)).subscribe(t=>this.applyInputModelChange(t))}subscribeOutputModelChangeSubject(){this.outputModelChangeSubscription=this.outputModelChangeSubject.pipe(ys(r_.compare)).subscribe(t=>this.publishOutputModelChange(t))}subscribeResizeObserver(){ha.isResizeObserverAvailable()&&(this.resizeObserver=new ResizeObserver(()=>this.calculateViewDimensionsAndDetectChanges()),this.resizeObserver.observe(this.elementRef.nativeElement))}unsubscribeResizeObserver(){ha.isResizeObserverAvailable()&&this.resizeObserver!==null&&(this.resizeObserver.disconnect(),this.resizeObserver=null)}unsubscribeOnMove(){Oe.isNullOrUndefined(this.onMoveEventListener)||(this.eventListenerHelper.detachEventListener(this.onMoveEventListener),this.onMoveEventListener=null)}unsubscribeOnEnd(){Oe.isNullOrUndefined(this.onEndEventListener)||(this.eventListenerHelper.detachEventListener(this.onEndEventListener),this.onEndEventListener=null)}unsubscribeInputModelChangeSubject(){Oe.isNullOrUndefined(this.inputModelChangeSubscription)||(this.inputModelChangeSubscription.unsubscribe(),this.inputModelChangeSubscription=null)}unsubscribeOutputModelChangeSubject(){Oe.isNullOrUndefined(this.outputModelChangeSubscription)||(this.outputModelChangeSubscription.unsubscribe(),this.outputModelChangeSubscription=null)}unsubscribeManualRefresh(){Oe.isNullOrUndefined(this.manualRefreshSubscription)||(this.manualRefreshSubscription.unsubscribe(),this.manualRefreshSubscription=null)}unsubscribeTriggerFocus(){Oe.isNullOrUndefined(this.triggerFocusSubscription)||(this.triggerFocusSubscription.unsubscribe(),this.triggerFocusSubscription=null)}unsubscribeCancelUserChange(){Oe.isNullOrUndefined(this.cancelUserChangeSubscription)||(this.cancelUserChangeSubscription.unsubscribe(),this.cancelUserChangeSubscription=null)}getPointerElement(t){return t===at.Min?this.minHandleElement:t===at.Max?this.maxHandleElement:null}getCurrentTrackingValue(){return this.currentTrackingPointer===at.Min?this.viewLowValue:this.currentTrackingPointer===at.Max?this.viewHighValue:null}modelValueToViewValue(t){return Oe.isNullOrUndefined(t)?NaN:!Oe.isNullOrUndefined(this.viewOptions.stepsArray)&&!this.viewOptions.bindIndexForStepsArray?Oe.findStepIndex(+t,this.viewOptions.stepsArray):+t}viewValueToModelValue(t){return!Oe.isNullOrUndefined(this.viewOptions.stepsArray)&&!this.viewOptions.bindIndexForStepsArray?this.get
10StepValue(t):t}getStepValue(t){let i=this.viewOptions.stepsArray[t];return Oe.isNullOrUndefined(i)?NaN:i.value}applyViewChange(){this.value=this.viewValueToModelValue(this.viewLowValue),this.range&&(this.highValue=this.viewValueToModelValue(this.viewHighValue)),this.outputModelChangeSubject.next({value:this.value,highValue:this.highValue,controlAccessorChange:!1,userEventInitiated:!0,forceChange:!1}),this.inputModelChangeSubject.next({value:this.value,highValue:this.highValue,controlAccessorChange:!1,forceChange:!1,internalChange:!0})}applyInputModelChange(t){let i=this.normaliseModelValues(t),r=!qu.compare(t,i);r&&(this.value=i.value,this.highValue=i.highValue),this.viewLowValue=this.modelValueToViewValue(i.value),this.range?this.viewHighValue=this.modelValueToViewValue(i.highValue):this.viewHighValue=null,this.updateLowHandle(this.valueToPosition(this.viewLowValue)),this.range&&this.updateHighHandle(this.valueToPosition(this.viewHighValue)),this.updateSelectionBar(),this.updateTicksScale(),this.updateAriaAttributes(),this.range&&this.updateCombinedLabel(),this.outputModelChangeSubject.next({value:i.value,highValue:i.highValue,controlAccessorChange:t.controlAccessorChange,forceChange:r,userEventInitiated:!1})}publishOutputModelChange(t){let i=()=>{this.valueChange.emit(t.value),this.range&&this.highValueChange.emit(t.highValue),!t.controlAccessorChange&&(Oe.isNullOrUndefined(this.onChangeCallback)||(this.range?this.onChangeCallback([t.value,t.highValue]):this.onChangeCallback(t.value)),Oe.isNullOrUndefined(this.onTouchedCallback)||(this.range?this.onTouchedCallback([t.value,t.highValue]):this.onTouchedCallback(t.value)))};t.userEventInitiated?(i(),this.userChange.emit(this.getChangeContext())):setTimeout(()=>{i()})}normaliseModelValues(t){let i=new qu;if(i.value=t.value,i.highValue=t.highValue,!Oe.isNullOrUndefined(this.viewOptions.stepsArray)){if(this.viewOptions.enforceStepsArray){let r=Oe.findStepIndex(i.value,this.viewOptions.stepsArray);if(i.value=this.viewOptions.stepsArray[r].value,this.range){let o=Oe.findStepIndex(i.highValue,this.viewOptions.stepsArray);i.highValue=this.viewOptions.stepsArray[o].value}}return i}if(this.viewOptions.enforceStep&&(i.value=this.roundStep(i.value),this.range&&(i.highValue=this.roundStep(i.highValue))),this.viewOptions.enforceRange&&(i.value=hi.clampToRange(i.value,this.viewOptions.floor,this.viewOptions.ceil),this.range&&(i.highValue=hi.clampToRange(i.highValue,this.viewOptions.floor,this.viewOptions.ceil)),this.range&&t.value>t.highValue))if(this.viewOptions.noSwitching)i.value=i.highValue;else{let r=t.value;i.value=t.highValue,i.highValue=r}return i}renormaliseModelValues(){let t={value:this.value,highValue:this.highValue},i=this.normaliseModelValues(t);qu.compare(i,t)||(this.value=i.value,this.highValue=i.highValue,this.outputModelChangeSubject.next({value:this.value,highValue:this.highValue,controlAccessorChange:!1,forceChange:!0,userEventInitiated:!1}))}onChangeOptions(){if(!this.initHasRun)return;let t=this.getOptionsInfluencingEventBindings(this.viewOptions);this.applyOptions();let i=this.getOptionsInfluencingEventBindings(this.viewOptions),r=!Oe.areArraysEqual(t,i);this.renormaliseModelValues(),this.viewLowValue=this.modelValueToViewValue(this.value),this.range?this.viewHighValue=this.modelValueToViewValue(this.highValue):this.viewHighValue=null,this.resetSlider(r)}applyOptions(){if(this.viewOptions=new Yu,Object.assign(this.viewOptions,this.options),this.viewOptions.draggableRange=this.range&&this.viewOptions.draggableRange,this.viewOptions.draggableRangeOnly=this.range&&this.viewOptions.draggableRangeOnly,this.viewOptions.draggableRangeOnly&&(this.viewOptions.draggableRange=!0),this.viewOptions.showTicks=this.viewOptions.showTicks||this.viewOptions.showTicksValues||!Oe.isNullOrUndefined(this.viewOptions.ticksArray),this.viewOptions.showTicks&&(!Oe.isNullOrUndefined(this.viewOptions.tickStep)||!Oe.isNullOrUndefined(this.viewOptions.ticksArray))&&(this.intermediateTicks=!0),this.viewOptions.showSelectionBar=this.viewOptions.showSelectionBar||this.viewOptions.showSelectionBarEnd||!Oe.
10isNullOrUndefined(this.viewOptions.showSelectionBarFromValue),Oe.isNullOrUndefined(this.viewOptions.stepsArray)?this.applyFloorCeilOptions():this.applyStepsArrayOptions(),Oe.isNullOrUndefined(this.viewOptions.combineLabels)&&(this.viewOptions.combineLabels=(t,i)=>t+" - "+i),this.viewOptions.logScale&&this.viewOptions.floor===0)throw Error("Can't use floor=0 with logarithmic scale")}applyStepsArrayOptions(){this.viewOptions.floor=0,this.viewOptions.ceil=this.viewOptions.stepsArray.length-1,this.viewOptions.step=1,Oe.isNullOrUndefined(this.viewOptions.translate)&&(this.viewOptions.translate=t=>this.viewOptions.bindIndexForStepsArray?String(this.getStepValue(t)):String(t))}applyFloorCeilOptions(){if(Oe.isNullOrUndefined(this.viewOptions.step)?this.viewOptions.step=1:(this.viewOptions.step=+this.viewOptions.step,this.viewOptions.step<=0&&(this.viewOptions.step=1)),Oe.isNullOrUndefined(this.viewOptions.ceil)||Oe.isNullOrUndefined(this.viewOptions.floor))throw Error("floor and ceil options must be supplied");this.viewOptions.ceil=+this.viewOptions.ceil,this.viewOptions.floor=+this.viewOptions.floor,Oe.isNullOrUndefined(this.viewOptions.translate)&&(this.viewOptions.translate=t=>String(t))}resetSlider(t=!0){this.manageElementsStyle(),this.addAccessibility(),this.updateCeilLabel(),this.updateFloorLabel(),t&&(this.unbindEvents(),this.manageEventsBindings()),this.updateDisabledState(),this.updateAriaLabel(),this.calculateViewDimensions(),this.refocusPointerIfNeeded()}focusPointer(t){t!==at.Min&&t!==at.Max&&(t=at.Min),t===at.Min?this.minHandleElement.focus():this.range&&t===at.Max&&this.maxHandleElement.focus()}refocusPointerIfNeeded(){Oe.isNullOrUndefined(this.currentFocusPointer)||this.getPointerElement(this.currentFocusPointer).focusIfNeeded()}manageElementsStyle(){this.updateScale(),this.floorLabelElement.setAlwaysHide(this.viewOptions.showTicksValues||this.viewOptions.hideLimitLabels),this.ceilLabelElement.setAlwaysHide(this.viewOptions.showTicksValues||this.viewOptions.hideLimitLabels);let t=this.viewOptions.showTicksValues&&!this.intermediateTicks;this.minHandleLabelElement.setAlwaysHide(t||this.viewOptions.hidePointerLabels),this.maxHandleLabelElement.setAlwaysHide(t||!this.range||this.viewOptions.hidePointerLabels),this.combinedLabelElement.setAlwaysHide(t||!this.range||this.viewOptions.hidePointerLabels),this.selectionBarElement.setAlwaysHide(!this.range&&!this.viewOptions.showSelectionBar),this.leftOuterSelectionBarElement.setAlwaysHide(!this.range||!this.viewOptions.showOuterSelectionBars),this.rightOuterSelectionBarElement.setAlwaysHide(!this.range||!this.viewOptions.showOuterSelectionBars),this.fullBarTransparentClass=this.range&&this.viewOptions.showOuterSelectionBars,this.selectionBarDraggableClass=this.viewOptions.draggableRange&&!this.viewOptions.onlyBindHandles,this.ticksUnderValuesClass=this.intermediateTicks&&this.options.showTicksValues,this.sliderElementVerticalClass!==this.viewOptions.vertical&&(this.updateVerticalState(),setTimeout(()=>{this.resetSlider()})),this.sliderElementAnimateClass!==this.viewOptions.animate&&setTimeout(()=>{this.sliderElementAnimateClass=this.viewOptions.animate}),this.updateRotate()}manageEventsBindings(){this.viewOptions.disabled||this.viewOptions.readOnly?this.unbindEvents():this.bindEvents()}updateDisabledState(){this.sliderElementDisabledAttr=this.viewOptions.disabled?"disabled":null}updateAriaLabel(){this.sliderElementAriaLabel=this.viewOptions.ariaLabel||"nxg-slider"}updateVerticalState(){this.sliderElementVerticalClass=this.viewOptions.vertical;for(let t of this.getAllSliderElements())Oe.isNullOrUndefined(t)||t.setVertical(this.viewOptions.vertical)}updateScale(){for(let t of this.getAllSliderElements())t.setScale(this.viewOptions.scale)}updateRotate(){for(let t of this.getAllSliderElements())t.setRotate(this.viewOptions.rotate)}getAllSliderElements(){return[this.leftOuterSelectionBarElement,this.rightOuterSelectionBarElement,this.fullBarElement,this.selectionBarElement,this.minHandleElement,this.maxHandleElement,this.floorLabelElement,this.ceilLabelElement,this.minHandleLabelElement,this.maxHandleLabelElement,this.combinedLabelElement,this.ticksElement]}initHandles(){this.updateLowHandle(this.valueToPosition(this.viewLowValue)),this.range&&this.updateHighHandle(this.valueToPosition(this.viewHighValue)),this.updateSelectionBar(),this.range&&this.updateCombinedLabel(),this.updateTicksScale()}addAccessibility(){this.updateAriaAttributes(),this.minHandleElement.role="slider",this.viewOptions.keyboardSupport&&!(this.viewOptions.readOnly||this.viewOptions.disabled)?this.minHandleElement.tabindex="0":this.minHandleElement.tabindex="",this.minHandleElement.ariaOrientation=this.viewOptions.vertical||this.viewOptions.rotate!==0?"vertical":"horizontal",Oe.isNullOrUndefined(this.viewOptions.ariaLabel)?Oe.isNullOrUndefined(this.viewOptions.ariaLabelledBy)||(this.minHandleElement.ariaLabelledBy=this.viewOptions.ariaLabelledBy):this.minHandleElement.ariaLabel=this.viewOptions.ariaLabel,this.range&&(this.maxHandleElement.role="slider",this.viewOptions.keyboardSupport&&!(this.viewOptions.readOnly||this.viewOptions.disabled)?this.maxHandleElement.tabindex="0":this.maxHandleElement.tabindex="",this.maxHandleElement.ariaOrientation=this.viewOptions.vertical||this.viewOptions.rotate!==0?"vertical":"horizontal",Oe.isNullOrUndefined(this.viewOptions.ariaLabelHigh)?Oe.isNullOrUndefined(this.viewOptions.ariaLabelledByHigh)||(this.maxHandleElement.ariaLabelledBy=this.viewOptions.ariaLabelledByHigh):this.maxHandleElement.ariaLabel=this.viewOptions.ariaLabelHigh)}updateAriaAttributes(){this.minHandleElement.ariaValueNow=(+this.value).toString(),this.minHandleElement.ariaValueText=this.viewOptions.translate(+this.value,ua.Low),this.minHandleElement.ariaValueMin=this.viewOptions.floor.toString(),this.minHandleElement.ariaValueMax=this.viewOptions.ceil.toString(),this.range&&(this.maxHandleElement.ariaValueNow=(+this.highValue).toString(),this.maxHandleElement.ariaValueText=this.viewOptions.translate(+this.highValue,ua.High),this.maxHandleElement.ariaValueMin=this.viewOptions.floor.toString(),this.maxHandleElement.ariaValueMax=this.viewOptions.ceil.toString())}calculateViewDimensions(){Oe.isNullOrUndefined(this.viewOptions.handleDimension)?this.minHandleElement.calculateDimension():this.minHandleElement.setDimension(this.viewOptions.handleDimension);let t=this.minHandleElement.dimension;this.handleHalfDimension=t/2,Oe.isNullOrUndefined(this.viewOptions.barDimension)?this.fullBarElement.calculateDimension():this.fullBarElement.setDimension(this.viewOptions.barDimension),this.maxHandlePosition=this.fullBarElement.dimension-t,this.initHasRun&&(this.updateFloorLabel(),this.updateCeilLabel(),this.initHandles())}calculateViewDimensionsAndDetectChanges(){this.calculateViewDimensions(),this.isRefDestroyed()||this.changeDetectionRef.detectChanges()}isRefDestroyed(){return this.changeDetectionRef.destroyed}updateTicksScale(){if(!this.viewOptions.showTicks&&this.sliderElementWithLegendClass){setTimeout(()=>{this.sliderElementWithLegendClass=!1});return}let t=Oe.isNullOrUndefined(this.viewOptions.ticksArray)?this.getTicksArray():this.viewOptions.ticksArray,i=this.viewOptions.vertical?"translateY":"translateX";this.viewOptions.rightToLeft&&t.reverse();let r=Oe.isNullOrUndefined(this.viewOptions.tickValueStep)?Oe.isNullOrUndefined(this.viewOptions.tickStep)?this.viewOptions.step:this.viewOptions.tickStep:this.viewOptions.tickValueStep,o=!1,l=t.map(p=>{let C=this.valueToPosition(p);this.viewOptions.vertical&&(C=this.maxHandlePosition-C);let w=i+"("+Math.round(C)+"px)",V=new aw;V.selected=this.isTickSelected(p),V.style={"-webkit-transform":w,"-moz-transform":w,"-o-transform":w,"-ms-transform":w,transform:w},V.selected&&!Oe.isNullOrUndefined(this.viewOptions.getSelectionBarColor)&&(V.style["background-color"]=this.getSelectionBarColor()),!V.selected&&!Oe.isNullOrUndefined(this.viewOptions.getTickColor)&&(V.style["background-color"]=this.getTickColor(p)),Oe.isNullOrUndefined(this.viewOptions.ticksTooltip)||(V.tooltip=this.viewOptions.ticksTooltip(p),V.tooltipPlacement=this.viewOptions.vertical?"right":"top"),this.viewOptions.showTicksValues&&!Oe.
10isNullOrUndefined(r)&&hi.isModuloWithinPrecisionLimit(p,r,this.viewOptions.precisionLimit)&&(V.value=this.getDisplayValue(p,ua.TickValue),Oe.isNullOrUndefined(this.viewOptions.ticksValuesTooltip)||(V.valueTooltip=this.viewOptions.ticksValuesTooltip(p),V.valueTooltipPlacement=this.viewOptions.vertical?"right":"top"));let j=null;if(Oe.isNullOrUndefined(this.viewOptions.stepsArray))Oe.isNullOrUndefined(this.viewOptions.getLegend)||(j=this.viewOptions.getLegend(p));else{let $=this.viewOptions.stepsArray[p];Oe.isNullOrUndefined(this.viewOptions.getStepLegend)?Oe.isNullOrUndefined($)||(j=$.legend):j=this.viewOptions.getStepLegend($)}return Oe.isNullOrUndefined(j)||(V.legend=j,o=!0),V});if(this.sliderElementWithLegendClass!==o&&setTimeout(()=>{this.sliderElementWithLegendClass=o}),!Oe.isNullOrUndefined(this.ticks)&&this.ticks.length===l.length)for(let p=0;p<l.length;++p)Object.assign(this.ticks[p],l[p]);else this.ticks=l,this.isRefDestroyed()||this.changeDetectionRef.detectChanges()}getTicksArray(){if(!this.viewOptions.showTicks)return[];let t=Oe.isNullOrUndefined(this.viewOptions.tickStep)?this.viewOptions.step:this.viewOptions.tickStep,i=[],r=1+Math.floor(hi.roundToPrecisionLimit(Math.abs(this.viewOptions.ceil-this.viewOptions.floor)/t,this.viewOptions.precisionLimit));for(let o=0;o<r;++o)i.push(hi.roundToPrecisionLimit(this.viewOptions.floor+t*o,this.viewOptions.precisionLimit));return i}isTickSelected(t){if(!this.range)if(Oe.isNullOrUndefined(this.viewOptions.showSelectionBarFromValue)){if(this.viewOptions.showSelectionBarEnd){if(t>=this.viewLowValue)return!0}else if(this.viewOptions.showSelectionBar&&t<=this.viewLowValue)return!0}else{let i=this.viewOptions.showSelectionBarFromValue;if(this.viewLowValue>i&&t>=i&&t<=this.viewLowValue)return!0;if(this.viewLowValue<i&&t<=i&&t>=this.viewLowValue)return!0}return!!(this.range&&t>=this.viewLowValue&&t<=this.viewHighValue)}updateFloorLabel(){if(!this.floorLabelElement.alwaysHide){this.floorLabelElement.setValue(this.getDisplayValue(this.viewOptions.floor,ua.Floor)),this.floorLabelElement.calculateDimension();let t=this.viewOptions.rightToLeft?this.fullBarElement.dimension-this.floorLabelElement.dimension:0;this.floorLabelElement.setPosition(t)}}updateCeilLabel(){if(!this.ceilLabelElement.alwaysHide){this.ceilLabelElement.setValue(this.getDisplayValue(this.viewOptions.ceil,ua.Ceil)),this.ceilLabelElement.calculateDimension();let t=this.viewOptions.rightToLeft?0:this.fullBarElement.dimension-this.ceilLabelElement.dimension;this.ceilLabelElement.setPosition(t)}}updateHandles(t,i){t===at.Min?this.updateLowHandle(i):t===at.Max&&this.updateHighHandle(i),this.updateSelectionBar(),this.updateTicksScale(),this.range&&this.updateCombinedLabel()}getHandleLabelPos(t,i){let r=t===at.Min?this.minHandleLabelElement.dimension:this.maxHandleLabelElement.dimension,o=i-r/2+this.handleHalfDimension,l=this.fullBarElement.dimension-r;return this.viewOptions.boundPointerLabels?this.viewOptions.rightToLeft&&t===at.Min||!this.viewOptions.rightToLeft&&t===at.Max?Math.min(o,l):Math.min(Math.max(o,0),l):o}updateLowHandle(t){this.minHandleElement.setPosition(t),this.minHandleLabelElement.setValue(this.getDisplayValue(this.viewLowValue,ua.Low)),this.minHandleLabelElement.setPosition(this.getHandleLabelPos(at.Min,t)),Oe.isNullOrUndefined(this.viewOptions.getPointerColor)||(this.minPointerStyle={backgroundColor:this.getPointerColor(at.Min)}),this.viewOptions.autoHideLimitLabels&&this.updateFloorAndCeilLabelsVisibility()}updateHighHandle(t){this.maxHandleElement.setPosition(t),this.maxHandleLabelElement.setValue(this.getDisplayValue(this.viewHighValue,ua.High)),this.maxHandleLabelElement.setPosition(this.getHandleLabelPos(at.Max,t)),Oe.isNullOrUndefined(this.viewOptions.getPointerColor)||(this.maxPointerStyle={backgroundColor:this.getPointerColor(at.Max)}),this.viewOptions.autoHideLimitLabels&&this.updateFloorAndCeilLabelsVisibility()}updateFloorAndCeilLabelsVisibility(){if(this.viewOptions.hidePointerLabels)return;let t=!1,i=!1,r=this.isLabelBelowFloorLabel(this.minHandleLabelElement),o=this.isLabelAboveCeilLabel(this.minHandleLabelElement),l=this.isLabelAboveCeilLabel(this.maxHandleLabelElement),p=this.isLabelBelowFloorLabel(this.combinedLabelElement),C=this.isLabelAboveCeilLabel(this.combinedLabelElement);if(r?(t=!0,this.floorLabelElement.hide()):(t=!1,this.floorLabelElement.show()),o?(i=!0,this.ceilLabelElement.hide()):(i=!1,this.ceilLabelElement.show()),this.range){let w=this.combinedLabelElement.isVisible()?C:l,V=this.combinedLabelElement.isVisible()?p:r;w?this.ceilLabelElement.hide():i||this.ceilLabelElement.show(),V?this.floorLabelElement.hide():t||this.floorLabelElement.show()}}isLabelBelowFloorLabel(t){let i=t.position,r=t.dimension,o=this.floorLabelElement.position,l=this.floorLabelElement.dimension;return this.viewOptions.rightToLeft?i+r>=o-2:i<=o+l+2}isLabelAboveCeilLabel(t){let i=t.position,r=t.dimension,o=this.ceilLabelElement.position,l=this.ceilLabelElement.dimension;return this.viewOptions.rightToLeft?i<=o+l+2:i+r>=o-2}updateSelectionBar(){let t=0,i=0,r=this.viewOptions.rightToLeft?!this.viewOptions.showSelectionBarEnd:this.viewOptions.showSelectionBarEnd,o=this.viewOptions.rightToLeft?this.maxHandleElement.position+this.handleHalfDimension:this.minHandleElement.position+this.handleHalfDimension;if(this.range)i=Math.abs(this.maxHandleElement.position-this.minHandleElement.position),t=o;else if(Oe.isNullOrUndefined(this.viewOptions.showSelectionBarFromValue))r?(i=Math.ceil(Math.abs(this.maxHandlePosition-this.minHandleElement.position)+this.handleHalfDimension),t=Math.floor(this.minHandleElement.position+this.handleHalfDimension)):(i=this.minHandleElement.position+this.handleHalfDimension,t=0);else{let l=this.viewOptions.showSelectionBarFromValue,p=this.valueToPosition(l);(this.viewOptions.rightToLeft?this.viewLowValue<=l:this.viewLowValue>l)?(i=this.minHandleElement.position-p,t=p+this.handleHalfDimension):(i=p-this.minHandleElement.position,t=this.minHandleElement.position+this.handleHalfDimension)}if(this.selectionBarElement.setDimension(i),this.selectionBarElement.setPosition(t),this.range&&this.viewOptions.showOuterSelectionBars&&(this.viewOptions.rightToLeft?(this.rightOuterSelectionBarElement.setDimension(t),this.rightOuterSelectionBarElement.setPosition(0),this.fullBarElement.calculateDimension(),this.leftOuterSelectionBarElement.setDimension(this.fullBarElement.dimension-(t+i)),this.leftOuterSelectionBarElement.setPosition(t+i)):(this.leftOuterSelectionBarElement.setDimension(t),this.leftOuterSelectionBarElement.setPosition(0),this.fullBarElement.calculateDimension(),this.rightOuterSelectionBarElement.setDimension(this.fullBarElement.dimension-(t+i)),this.rightOuterSelectionBarElement.setPosition(t+i))),Oe.isNullOrUndefined(this.viewOptions.getSelectionBarColor)){if(!Oe.isNullOrUndefined(this.viewOptions.selectionBarGradient)){let l=Oe.isNullOrUndefined(this.viewOptions.showSelectionBarFromValue)?0:this.valueToPosition(this.viewOptions.showSelectionBarFromValue),p=l-t>0&&!r||l-t<=0&&r,C=this.viewOptions.vertical?p?"bottom":"top":p?"left":"right";this.barStyle={backgroundImage:"linear-gradient(to "+C+", "+this.viewOptions.selectionBarGradient.from+" 0%,"+this.viewOptions.selectionBarGradient.to+" 100%)"},this.viewOptions.vertical?(this.barStyle.backgroundPosition="center "+(l+i+t+(p?-this.handleHalfDimension:0))+"px",this.barStyle.backgroundSize="100% "+(this.fullBarElement.dimension-this.handleHalfDimension)+"px"):(this.barStyle.backgroundPosition=l-t+(p?this.handleHalfDimension:0)+"px center",this.barStyle.backgroundSize=this.fullBarElement.dimension-this.handleHalfDimension+"px 100%")}}else{let l=this.getSelectionBarColor();this.barStyle={backgroundColor:l}}}getSelectionBarColor(){return this.range?this.viewOptions.getSelectionBarColor(this.value,this.highValue):this.viewOptions.getSelectionBarColor(this.value)}getPointerColor(t){return t===at.Max?this.viewOptions.getPointerColor(this.highValue,t):this.viewOptions.getPointerColor(this.value,t)}getTickColor(t){return this.viewOptions.getTickColor(t)}updateCombinedLabel(){let t=null;if(this.viewOptions.rightToLeft?t=this.minHandleLabelElement.position-this.minHandleLabelElement.dimension-10<=this.maxHandleLabelElement.position:t=this.minHandleLabelElement.position+this.minHandleLabelElement.dimension+10>=this.maxHandleLabelElement.position,t){let i=this.getDisplayValue(this.viewLowValue,ua.Low),r=this.getDisplayValue(this.viewHighValue,ua.High),o=this.viewOptions.rightToLeft?this.viewOptions.combineLabels(r,
10i):this.viewOptions.combineLabels(i,r);this.combinedLabelElement.setValue(o);let l=this.viewOptions.boundPointerLabels?Math.min(Math.max(this.selectionBarElement.position+this.selectionBarElement.dimension/2-this.combinedLabelElement.dimension/2,0),this.fullBarElement.dimension-this.combinedLabelElement.dimension):this.selectionBarElement.position+this.selectionBarElement.dimension/2-this.combinedLabelElement.dimension/2;this.combinedLabelElement.setPosition(l),this.minHandleLabelElement.hide(),this.maxHandleLabelElement.hide(),this.combinedLabelElement.show()}else this.updateHighHandle(this.valueToPosition(this.viewHighValue)),this.updateLowHandle(this.valueToPosition(this.viewLowValue)),this.maxHandleLabelElement.show(),this.minHandleLabelElement.show(),this.combinedLabelElement.hide();this.viewOptions.autoHideLimitLabels&&this.updateFloorAndCeilLabelsVisibility()}getDisplayValue(t,i){return!Oe.isNullOrUndefined(this.viewOptions.stepsArray)&&!this.viewOptions.bindIndexForStepsArray&&(t=this.getStepValue(t)),this.viewOptions.translate(t,i)}roundStep(t,i){let r=Oe.isNullOrUndefined(i)?this.viewOptions.step:i,o=hi.roundToPrecisionLimit((t-this.viewOptions.floor)/r,this.viewOptions.precisionLimit);return o=Math.round(o)*r,hi.roundToPrecisionLimit(this.viewOptions.floor+o,this.viewOptions.precisionLimit)}valueToPosition(t){let i=Oe.linearValueToPosition;Oe.isNullOrUndefined(this.viewOptions.customValueToPosition)?this.viewOptions.logScale&&(i=Oe.logValueToPosition):i=this.viewOptions.customValueToPosition,t=hi.clampToRange(t,this.viewOptions.floor,this.viewOptions.ceil);let r=i(t,this.viewOptions.floor,this.viewOptions.ceil);return Oe.isNullOrUndefined(r)&&(r=0),this.viewOptions.rightToLeft&&(r=1-r),r*this.maxHandlePosition}positionToValue(t){let i=t/this.maxHandlePosition;this.viewOptions.rightToLeft&&(i=1-i);let r=Oe.linearPositionToValue;Oe.isNullOrUndefined(this.viewOptions.customPositionToValue)?this.viewOptions.logScale&&(r=Oe.logPositionToValue):r=this.viewOptions.customPositionToValue;let o=r(i,this.viewOptions.floor,this.viewOptions.ceil);return Oe.isNullOrUndefined(o)?0:o}getEventXY(t,i){if(t instanceof MouseEvent)return this.viewOptions.vertical||this.viewOptions.rotate!==0?t.clientY:t.clientX;let r=0,o=t.touches;if(!Oe.isNullOrUndefined(i)){for(let l=0;l<o.length;l++)if(o[l].identifier===i){r=l;break}}return this.viewOptions.vertical||this.viewOptions.rotate!==0?o[r].clientY:o[r].clientX}getEventPosition(t,i){let r=this.elementRef.nativeElement.getBoundingClientRect(),o=this.viewOptions.vertical||this.viewOptions.rotate!==0?r.bottom:r.left,l=0;return this.viewOptions.vertical||this.viewOptions.rotate!==0?l=-this.getEventXY(t,i)+o:l=this.getEventXY(t,i)-o,l*this.viewOptions.scale-this.handleHalfDimension}getNearestHandle(t){if(!this.range)return at.Min;let i=this.getEventPosition(t),r=Math.abs(i-this.minHandleElement.position),o=Math.abs(i-this.maxHandleElement.position);return r<o?at.Min:r>o?at.Max:this.viewOptions.rightToLeft?i>this.minHandleElement.position?at.Min:at.Max:i<this.minHandleElement.position?at.Min:at.Max}bindEvents(){let t=this.viewOptions.draggableRange;this.viewOptions.onlyBindHandles||this.selectionBarElement.on("mousedown",i=>this.onBarStart(null,t,i,!0,!0,!0)),this.viewOptions.draggableRangeOnly?(this.minHandleElement.on("mousedown",i=>this.onBarStart(at.Min,t,i,!0,!0)),this.maxHandleElement.on("mousedown",i=>this.onBarStart(at.Max,t,i,!0,!0))):(this.minHandleElement.on("mousedown",i=>this.onStart(at.Min,i,!0,!0)),this.range&&this.maxHandleElement.on("mousedown",i=>this.onStart(at.Max,i,!0,!0)),this.viewOptions.onlyBindHandles||(this.fullBarElement.on("mousedown",i=>this.onStart(null,i,!0,!0,!0)),this.ticksElement.on("mousedown",i=>this.onStart(null,i,!0,!0,!0,!0)))),this.viewOptions.onlyBindHandles||this.selectionBarElement.onPassive("touchstart",i=>this.onBarStart(null,t,i,!0,!0,!0)),this.viewOptions.draggableRangeOnly?(this.minHandleElement.onPassive("touchstart",i=>this.onBarStart(at.Min,t,i,!0,!0)),this.maxHandleElement.onPassive("touchstart",i=>this.onBarStart(at.Max,t,i,!0,!0))):(this.minHandleElement.onPassive("touchstart",i=>this.onStart(at.Min,i,!0,!0)),this.range&&this.maxHandleElement.onPassive("touchstart",i=>this.onStart(at.Max,i,!0,!0)),this.viewOptions.onlyBindHandles||(this.fullBarElement.onPassive("touchstart",i=>this.onStart(null,i,!0,!0,!0)),this.ticksElement.onPassive("touchstart",i=>
10this.onStart(null,i,!1,!1,!0,!0)))),this.viewOptions.keyboardSupport&&(this.minHandleElement.on("focus",()=>this.onPointerFocus(at.Min)),this.range&&this.maxHandleElement.on("focus",()=>this.onPointerFocus(at.Max)))}getOptionsInfluencingEventBindings(t){return[t.disabled,t.readOnly,t.draggableRange,t.draggableRangeOnly,t.onlyBindHandles,t.keyboardSupport]}unbindEvents(){this.unsubscribeOnMove(),this.unsubscribeOnEnd();for(let t of this.getAllSliderElements())Oe.isNullOrUndefined(t)||t.off()}onBarStart(t,i,r,o,l,p,C){i?this.onDragStart(t,r,o,l):this.onStart(t,r,o,l,p,C)}onStart(t,i,r,o,l,p){i.stopPropagation(),!ha.isTouchEvent(i)&&!e_&&i.preventDefault(),this.moving=!1,this.calculateViewDimensions(),Oe.isNullOrUndefined(t)&&(t=this.getNearestHandle(i)),this.currentTrackingPointer=t;let C=this.getPointerElement(t);if(C.active=!0,this.preStartHandleValue=this.getCurrentTrackingValue(),this.viewOptions.keyboardSupport&&C.focus(),r){this.unsubscribeOnMove();let w=V=>this.dragging.active?this.onDragMove(V):this.onMove(V);ha.isTouchEvent(i)?this.onMoveEventListener=this.eventListenerHelper.attachPassiveEventListener(document,"touchmove",w):this.onMoveEventListener=this.eventListenerHelper.attachEventListener(document,"mousemove",w)}if(o){this.unsubscribeOnEnd();let w=V=>this.onEnd(V);ha.isTouchEvent(i)?this.onEndEventListener=this.eventListenerHelper.attachPassiveEventListener(document,"touchend",w):this.onEndEventListener=this.eventListenerHelper.attachEventListener(document,"mouseup",w)}this.userChangeStart.emit(this.getChangeContext()),ha.isTouchEvent(i)&&!Oe.isNullOrUndefined(i.changedTouches)&&Oe.isNullOrUndefined(this.touchId)&&(this.touchId=i.changedTouches[0].identifier),l&&this.onMove(i,!0),p&&this.onEnd(i)}onMove(t,i){let r=null;if(ha.isTouchEvent(t)){let w=t.changedTouches;for(let V=0;V<w.length;V++)if(w[V].identifier===this.touchId){r=w[V];break}if(Oe.isNullOrUndefined(r))return}
10this.viewOptions.animate&&!this.viewOptions.animateOnMove&&this.moving&&(this.sliderElementAnimateClass=!1),this.moving=!0;let o=Oe.isNullOrUndefined(r)?this.getEventPosition(t):this.getEventPosition(t,r.identifier),l,p=this.viewOptions.rightToLeft?this.viewOptions.floor:this.viewOptions.ceil,C=this.viewOptions.rightToLeft?this.viewOptions.ceil:this.viewOptions.floor;o<=0?l=C:o>=this.maxHandlePosition?l=p:(l=this.positionToValue(o),i&&!Oe.isNullOrUndefined(this.viewOptions.tickStep)?l=this.roundStep(l,this.viewOptions.tickStep):l=this.roundStep(l)),this.positionTrackingHandle(l)}forceEnd(t=!1){this.moving=!1,this.viewOptions.animate&&(this.sliderElementAnimateClass=!0),t&&(this.sliderElementAnimateClass=!1,setTimeout(()=>{this.sliderElementAnimateClass=this.viewOptions.animate})),this.touchId=null,this.viewOptions.keyboardSupport||(this.minHandleElement.active=!1,this.maxHandleElement.active=!1,this.currentTrackingPointer=null),this.dragging.active=!1,this.unsubscribeOnMove(),this.unsubscribeOnEnd(),this.userChangeEnd.emit(this.getChangeContext())}onEnd(t){ha.isTouchEvent(t)&&t.changedTouches[0].identifier!==this.touchId||this.forceEnd()}onPointerFocus(t){let i=this.getPointerElement(t);i.on("blur",()=>this.onPointerBlur(i)),i.on("keydown",r=>this.onKeyboardEvent(r)),i.on("keyup",()=>this.onKeyUp()),i.active=!0,this.currentTrackingPointer=t,this.currentFocusPointer=t,this.firstKeyDown=!0}onKeyUp(){this.firstKeyDown=!0,this.userChangeEnd.emit(this.getChangeContext())}onPointerBlur(t){t.off("blur"),t.off("keydown"),t.off("keyup"),t.active=!1,Oe.isNullOrUndefined(this.touchId)&&(this.currentTrackingPointer=null,this.currentFocusPointer=null)}getKeyActions(t){let i=this.viewOptions.ceil-this.viewOptions.floor,r=t+this.viewOptions.step,o=t-this.viewOptions.step,l=t+i/10,p=t-i/10;this.viewOptions.reversedControls&&(r=t-this.viewOptions.step,o=t+this.viewOptions.step,l=t-i/10,p=t+i/10);let C={UP:r,DOWN:o,LEFT:o,RIGHT:r,PAGEUP:l,PAGEDOWN:p,HOME:this.viewOptions.reversedControls?this.viewOptions.ceil:this.viewOptions.floor,END:this.viewOptions.reversedControls?this.viewOptions.floor:this.viewOptions.ceil};return this.viewOptions.rightToLeft&&(C.LEFT=r,C.RIGHT=o,(this.viewOptions.vertical||this.viewOptions.rotate!==0)&&(C.UP=o,C.DOWN=r)),C}onKeyboardEvent(t){let i=this.getCurrentTrackingValue(),r=Oe.isNullOrUndefined(t.keyCode)?t.which:t.keyCode,o={38:"UP",40:"DOWN",37:"LEFT",39:"RIGHT",33:"PAGEUP",34:"PAGEDOWN",36:"HOME",35:"END"},l=this.getKeyActions(i),p=o[r],C=l[p];if(Oe.isNullOrUndefined(C)||Oe.isNullOrUndefined(this.currentTrackingPointer))return;t.preventDefault(),this.firstKeyDown&&(this.firstKeyDown=!1,this.userChangeStart.emit(this.getChangeContext()));let w=hi.clampToRange(C,this.viewOptions.floor,this.viewOptions.ceil),V=this.roundStep(w);if(!this.viewOptions.draggableRangeOnly)this.positionTrackingHandle(V);else{let j=this.viewHighValue-this.viewLowValue,$,W;this.currentTrackingPointer===at.Min?($=V,W=V+j,W>this.viewOptions.ceil&&(W=this.viewOptions.ceil,$=W-j)):this.currentTrackingPointer===at.Max&&(W=V,$=V-j,$<this.viewOptions.floor&&($=this.viewOptions.floor,W=$+j)),this.positionTrackingBar($,W)}}onDragStart(t,i,r,o){let l=this.getEventPosition(i);this.dragging=new i_,this.dragging.active=!0,this.dragging.value=this.positionToValue(l),this.dragging.difference=this.viewHighValue-this.viewLowValue,this.dragging.lowLimit=this.viewOptions.rightToLeft?this.minHandleElement.position-l:l-this.minHandleElement.position,this.dragging.highLimit=this.viewOptions.rightToLeft?l-this.maxHandleElement.position:this.maxHandleElement.position-l,this.onStart(t,i,r,o)}getMinValue(t,i,r){let o=this.viewOptions.rightToLeft,l=null;return i?r?l=o?this.viewOptions.floor:this.viewOptions.ceil-this.dragging.difference:l=o?this.viewOptions.ceil-this.dragging.difference:this.viewOptions.floor:l=o?this.positionToValue(t+this.dragging.lowLimit):this.positionToValue(t-this.dragging.lowLimit),this.roundStep(l)}getMaxValue(t,i,r){let o=this.viewOptions.rightToLeft,l=null;return i?r?l=o?this.viewOptions.floor+this.dragging.difference:this.viewOptions.ceil:l=o?this.viewOptions.ceil:this.viewOptions.floor+this.dragging.difference:o?l=this.positionToValue(t+this.dragging.lowLimit)+this.dragging.difference:l=this.positionToValue(t-this.dragging.lowLimit)+this.dragging.difference,this.roundStep(l)}onDragMove(t){let i=this.getEventPosition(t);
10this.viewOptions.animate&&!this.viewOptions.animateOnMove&&this.moving&&(this.sliderElementAnimateClass=!1),this.moving=!0;let r,o,l,p;this.viewOptions.rightToLeft?(r=this.dragging.lowLimit,o=this.dragging.highLimit,l=this.maxHandleElement,p=this.minHandleElement):(r=this.dragging.highLimit,o=this.dragging.lowLimit,l=this.minHandleElement,p=this.maxHandleElement);let C=i<=o,w=i>=this.maxHandlePosition-r,V,j;if(C){if(l.position===0)return;V=this.getMinValue(i,!0,!1),j=this.getMaxValue(i,!0,!1)}else if(w){if(p.position===this.maxHandlePosition)return;j=this.getMaxValue(i,!0,!0),V=this.getMinValue(i,!0,!0)}else V=this.getMinValue(i,!1,!1),j=this.getMaxValue(i,!1,!1);this.positionTrackingBar(V,j)}positionTrackingBar(t,i){!Oe.isNullOrUndefined(this.viewOptions.minLimit)&&t<this.viewOptions.minLimit&&(t=this.viewOptions.minLimit,i=hi.roundToPrecisionLimit(t+this.dragging.difference,this.viewOptions.precisionLimit)),!Oe.isNullOrUndefined(this.viewOptions.maxLimit)&&i>this.viewOptions.maxLimit&&(i=this.viewOptions.maxLimit,t=hi.roundToPrecisionLimit(i-this.dragging.difference,this.viewOptions.precisionLimit)),this.viewLowValue=t,this.viewHighValue=i,this.applyViewChange(),this.updateHandles(at.Min,this.valueToPosition(t)),this.updateHandles(at.Max,this.valueToPosition(i))}positionTrackingHandle(t){t=this.applyMinMaxLimit(t),this.range&&(this.viewOptions.pushRange?t=this.applyPushRange(t):(this.viewOptions.noSwitching&&(this.currentTrackingPointer===at.Min&&t>this.viewHighValue?t=this.applyMinMaxRange(this.viewHighValue):this.currentTrackingPointer===at.Max&&t<this.viewLowValue&&(t=this.applyMinMaxRange(this.viewLowValue))),t=this.applyMinMaxRange(t),this.currentTrackingPointer===at.Min&&t>this.viewHighValue?(this.viewLowValue=this.viewHighValue,this.applyViewChange(),this.updateHandles(at.Min,this.maxHandleElement.position),this.updateAriaAttributes(),this.currentTrackingPointer=at.Max,this.minHandleElement.active=!1,this.maxHandleElement.active=!0,this.viewOptions.keyboardSupport&&this.maxHandleElement.focus()):this.currentTrackingPointer===at.Max&&t<this.viewLowValue&&(this.viewHighValue=this.viewLowValue,this.applyViewChange(),this.updateHandles(at.Max,this.minHandleElement.position),this.updateAriaAttributes(),this.currentTrackingPointer=at.Min,this.maxHandleElement.active=!1,this.minHandleElement.active=!0,this.viewOptions.keyboardSupport&&this.minHandleElement.focus()))),this.getCurrentTrackingValue()!==t&&(this.currentTrackingPointer===at.Min?(this.viewLowValue=t,this.applyViewChange()):this.currentTrackingPointer===at.Max&&(this.viewHighValue=t,this.applyViewChange()),this.updateHandles(this.currentTrackingPointer,this.valueToPosition(t)),this.updateAriaAttributes())}applyMinMaxLimit(t){return!Oe.isNullOrUndefined(this.viewOptions.minLimit)&&t<this.viewOptions.minLimit?this.viewOptions.minLimit:!Oe.isNullOrUndefined(this.viewOptions.maxLimit)&&t>this.viewOptions.maxLimit?this.viewOptions.maxLimit:t}applyMinMaxRange(t){let i=this.currentTrackingPointer===at.Min?this.viewHighValue:this.viewLowValue,r=Math.abs(t-i);if(!Oe.isNullOrUndefined(this.viewOptions.minRange)&&r<this.viewOptions.minRange){if(this.currentTrackingPointer===at.Min)return hi.roundToPrecisionLimit(this.viewHighValue-this.viewOptions.minRange,this.viewOptions.precisionLimit);if(this.currentTrackingPointer===at.Max)return hi.roundToPrecisionLimit(this.viewLowValue+this.viewOptions.minRange,this.viewOptions.precisionLimit)}if(!Oe.isNullOrUndefined(this.viewOptions.maxRange)&&r>this.viewOptions.maxRange){if(this.currentTrackingPointer===at.Min)return hi.roundToPrecisionLimit(this.viewHighValue-this.viewOptions.maxRange,this.viewOptions.precisionLimit);if(this.currentTrackingPointer===at.Max)return hi.roundToPrecisionLimit(this.viewLowValue+this.viewOptions.maxRange,this.viewOptions.precisionLimit)}return t}applyPushRange(t){let i=this.currentTrackingPointer===at.Min?this.viewHighValue-t:t-this.viewLowValue,r=Oe.isNullOrUndefined(this.viewOptions.minRange)?this.viewOptions.step:this.viewOptions.minRange,o=this.viewOptions.maxRange;return i<r?(this.currentTrackingPointer===at.Min?(this.viewHighValue=hi.roundToPrecisionLimit(Math.min(t+r,this.viewOptions.ceil),this.viewOptions.precisionLimit),t=hi.roundToPrecisionLimit(this.viewHighValue-r,this.viewOptions.precisionLimit),this.applyViewChange(),this.updateHandles(at.Max,this.valueToPosition(this.viewHighValue))):this.currentTrackingPointer===at.Max&&(this.viewLowValue=hi.roundToPrecisionLimit(Math.max(t-r,this.viewOptions.floor),this.viewOptions.precisionLimit),t=hi.roundToPrecisionLimit(this.viewLowValue+r,this.viewOptions.precisionLimit),this.applyViewChange(),this.updateHandles(at.Min,this.valueToPosition(this.viewLowValue))),this.updateAriaAttributes()):!Oe.isNullOrUndefined(o)&&i>o&&(this.currentTrackingPointer===at.Min?(this.viewHighValue=hi.roundToPrecisionLimit(t+o,this.viewOptions.precisionLimit),this.applyViewChange(),this.updateHandles(at.Max,this.valueToPosition(this.viewHighValue))):this.currentTrackingPointer===at.Max&&(this.viewLowValue=hi.roundToPrecisionLimit(t-o,this.viewOptions.precisionLimit),this.applyViewChange(),this.updateHandles(at.Min,this.valueToPosition(this.viewLowValue))),this.updateAriaAttributes()),t}getChangeContext(){let t=new sw;return t.pointerType=this.currentTrackingPointer,t.value=+this.value,this.range&&(t.highValue=+this.highValue),t}static \u0275fac=function(i){return new(i||e)(A(Lt),A(et),A(Yn),A(Rt),A(c9,8))};static \u0275cmp=Me({type:e,selectors:[["ngx-slider"]],contentQueries:function(i,r,o){if(i&1&&wn(o,w$,5),i&2){let l;gt(l=mt())&&(r.tooltipTemplate=l.first)}},viewQuery:function(i,r){if(i&1&&(xn(x$,5,Yl),xn(D$,5,Yl),xn(T$,5,Yl),xn(M$,5,Yl),xn(A$,5,ow),xn(O$,5,ow),xn(R$,5,Wu),xn(P$,5,Wu),xn(k$,5,Wu),xn(N$,5,Wu),xn(L$,5,Wu),xn(F$,5,Yl)),i&2){let o;gt(o=mt())&&(r.leftOuterSelectionBarElement=o.first),gt(o=mt())&&(r.rightOuterSelectionBarElement=o.first),gt(o=mt())&&(r.fullBarElement=o.first),gt(o=mt())&&(r.selectionBarElement=o.first),gt(o=mt())&&(r.minHandleElement=o.first),gt(o=mt())&&(r.maxHandleElement=o.first),gt(o=mt())&&(r.floorLabelElement=o.first),gt(o=mt())&&(r.ceilLabelElement=o.first),gt(o=mt())&&(r.minHandleLabelElement=o.first),gt(o=mt())&&(r.maxHandleLabelElement=o.first),gt(o=mt())&&(r.combinedLabelElement=o.first),gt(o=mt())&&(r.ticksElement=o.first)}},hostVars:10,hostBindings:function(i,r){i&1&&oe("resize",function(l){return r.onResize(l)},!1,PI),i&2&&(De("disabled",r.sliderElementDisabledAttr)("aria-label",r.sliderElementAriaLabel),Be("ngx-slider",r.sliderElementNgxSliderClass)("vertical",r.sliderElementVerticalClass)("animate",r.sliderElementAnimateClass)("with-legend",r.sliderElementWithLegendClass))},inputs:{value:"value",highValue:"highValue",options:"options",manualRefresh:"manualRefresh",triggerFocus:"triggerFocus",cancelUserChange:"cancelUserChange"},outputs:{valueChange:"valueChange",highValueChange:"highValueChange",userChangeStart:"userChangeStart",userChange:"userChange",userChangeEnd:"userChangeEnd"},standalone:!1,features:[Et([G$]),Xt],decls:29,vars:13,consts:[["leftOuterSelectionBar",""],["rightOuterSelectionBar",""],["fullBar",""],["selectionBar",""],["minHandle",""],["maxHandle",""],["floorLabel",""],["ceilLabel",""],["minHandleLabel",""],["maxHandleLabel",""],["combinedLabel",""],["t
10icksElement",""],["ngxSliderElement","",1,"ngx-slider-span","ngx-slider-bar-wrapper","ngx-slider-left-out-selection"],[1,"ngx-slider-span","ngx-slider-bar"],["ngxSliderElement","",1,"ngx-slider-span","ngx-slider-bar-wrapper","ngx-slider-right-out-selection"],["ngxSliderElement","",1,"ngx-slider-span","ngx-slider-bar-wrapper","ngx-slider-full-bar"],["ngxSliderElement","",1,"ngx-slider-span","ngx-slider-bar-wrapper","ngx-slider-selection-bar"],[1,"ngx-slider-span","ngx-slider-bar","ngx-slider-selection",3,"ngStyle"],["ngxSliderHandle","",1,"ngx-slider-span","ngx-slider-pointer","ngx-slider-pointer-min",3,"ngStyle"],["ngxSliderHandle","",1,"ngx-slider-span","ngx-slider-pointer","ngx-slider-pointer-max",3,"ngStyle"],["ngxSliderLabel","",1,"ngx-slider-span","ngx-slider-bubble","ngx-slider-limit","ngx-slider-floor"],["ngxSliderLabel","",1,"ngx-slider-span","ngx-slider-bubble","ngx-slider-limit","ngx-slider-ceil"],["ngxSliderLabel","",1,"ngx-slider-span","ngx-slider-bubble","ngx-slider-model-value"],["ngxSliderLabel","",1,"ngx-slider-span","ngx-slider-bubble","ngx-slider-model-high"],["ngxSliderLabel","",1,"ngx-slider-span","ngx-slider-bubble","ngx-slider-combined"],["ngxSliderElement","",1,"ngx-slider-ticks",3,"hidden"],["class","ngx-slider-tick",3,"ngClass","ngStyle",4,"ngFor","ngForOf"],[1,"ngx-slider-tick",3,"ngClass","ngStyle"],[3,"template","tooltip","placement"],["class","ngx-slider-span ngx-slider-tick-value",3,"template","tooltip","placement","content",4,"ngIf"],["class","ngx-slider-span ngx-slider-tick-legend",3,"innerText",4,"ngIf"],["class","ngx-slider-span ngx-slider-tick-legend",3,"innerHTML",4,"ngIf"],[1,"ngx-slider-span","ngx-slider-tick-value",3,"template","tooltip","placement","content"],[1,"ngx-slider-span","ngx-slider-tick-legend",3,"innerText"],[1,"ngx-slider-span","ngx-slider-tick-legend",3,"innerHTML"]],template:function(i,r){i&1&&(F(0,"span",12,0),ye(2,"span",13),P(),F(3,"span",14,1),ye(5,"span",13),P(),F(6,"span",15,2),ye(8,"span",13),P(),F(9,"span",16,3),ye(11,"span",17),P(),ye(12,"span",18,4)(14,"span",19,5)(16,"span",20,6)(18,"span",21,7)(20,"span",22,8)(22,"span",23,9)(24,"span",24,10),F(26,"span",25,11),ue(28,j$,5,10,"span",26),P()),i&2&&(E(6),Be("ngx-slider-transparent",r.fullBarTransparentClass),E(3),Be("ngx-slider-draggable",r.selectionBarDraggableClass),E(2),L("ngStyle",r.barStyle),E(),L("ngStyle",r.minPointerStyle),E(2),is("display",r.range?"inherit":"none"),L("ngStyle",r.maxPointerStyle),E(12),Be("ngx-slider-ticks-values-under",r.ticksUnderValuesClass),L("hidden",!r.showTicks),E(2),L("ngForOf",r.ticks))},dependencies:[Dn,rn,rt,Gr,Yl,ow,Wu,z$],styles:['.ngx-slider{display:inline-block;position:relative;height:4px;width:100%;margin:35px 0 15px;vertical-align:middle;-webkit-user-select:none;user-select:none;touch-action:pan-y} .ngx-slider.with-legend{margin-bottom:40px} .ngx-slider[disabled]{cursor:not-allowed} .ngx-slider[disabled] .ngx-slider-pointer{cursor:not-allowed;background-color:#d8e0f3} .ngx-slider[disabled] .ngx-slider-draggable{cursor:not-allowed} .ngx-slider[disabled] .ngx-slider-selection{background:#8b91a2} .ngx-slider[disabled] .ngx-slider-tick{cursor:not-allowed} .ngx-slider[disabled] .ngx-slider-tick.ngx-slider-selected{background:#8b91a2} .ngx-slider .ngx-slider-span{white-space:nowrap;position:absolute;display:inline-block} .ngx-slider .ngx-slider-base{width:100%;height:100%;padding:0} .ngx-slider .ngx-slider-bar-wrapper{left:0;box-sizing:border-box;margin-top:-16px;padding-top:16px;width:100%;height:32px;z-index:1} .ngx-slider .ngx-slider-draggable{cursor:move} .ngx-slider .ngx-slider-bar{left:0;width:100%;height:4px;z-index:1;background:#d8e0f3;-webkit-border-radius:2px;-moz-border-radius:2px;border-radius:2px} .ngx-slider .ngx-slider-bar-wrapper.ngx-slider-transparent .ngx-slider-bar{background:transparent} .ngx-slider .ngx-slider-bar-wrapper.ngx-slider-left-out-selection .ngx-slider-bar{background:#df002d} .ngx-slider .ngx-slider-bar-wrapper.ngx-slider-right-out-selection .ngx-slider-bar{background:#03a688} .ngx-slider .ngx-slider-selection{z-index:2;background:#0db9f0;-webkit-border-radius:2px;-moz-border-radius:2px;border-radius:2px} .ngx-slider .ngx-slider-pointer{cursor:pointer;width:32px;height:32px;top:-14px;background-color:#0db9f0;z-index:3;-webkit-border-radius:16px;-moz-border-radius:16px;border-radius:16px} .ngx-slider .ngx-slider-pointer:after{content:"";width:8px;height:8px;position:absolute;top:12px;left:12px;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;background:#fff} .ngx-slider .ngx-slider-pointer:hover:after{background-color:#fff} .ngx-slider .ngx-slider-pointer.ngx-slider-active{z-index:4}
10 .ngx-slider .ngx-slider-pointer.ngx-slider-active:after{background-color:#451aff} .ngx-slider .ngx-slider-bubble{cursor:default;bottom:16px;padding:1px 3px;color:#55637d;font-size:16px} .ngx-slider .ngx-slider-bubble.ngx-slider-limit{color:#55637d} .ngx-slider .ngx-slider-ticks{box-sizing:border-box;width:100%;height:0;position:absolute;left:0;top:-3px;margin:0;z-index:1;list-style:none} .ngx-slider .ngx-slider-ticks-values-under .ngx-slider-tick-value{top:auto;bottom:-36px} .ngx-slider .ngx-slider-tick{text-align:center;cursor:pointer;width:10px;height:10px;background:#d8e0f3;border-radius:50%;position:absolute;top:0;left:0;margin-left:11px} .ngx-slider .ngx-slider-tick.ngx-slider-selected{background:#0db9f0} .ngx-slider .ngx-slider-tick-value{position:absolute;top:-34px;transform:translate(-50%)} .ngx-slider .ngx-slider-tick-legend{position:absolute;top:24px;transform:translate(-50%);max-width:50px;white-space:normal} .ngx-slider.vertical{position:relative;width:4px;height:100%;margin:0 20px;padding:0;vertical-align:baseline;touch-action:pan-x} .ngx-slider.vertical .ngx-slider-base{width:100%;height:100%;padding:0} .ngx-slider.vertical .ngx-slider-bar-wrapper{top:auto;left:0;margin:0 0 0 -16px;padding:0 0 0 16px;height:100%;width:32px} .ngx-slider.vertical .ngx-slider-bar{bottom:0;left:auto;width:4px;height:100%} .ngx-slider.vertical .ngx-slider-pointer{left:-14px!important;top:auto;bottom:0} .ngx-slider.vertical .ngx-slider-bubble{left:16px!important;bottom:0} .ngx-slider.vertical .ngx-slider-ticks{height:100%;width:0;left:-3px;top:0;z-index:1} .ngx-slider.vertical .ngx-slider-tick{vertical-align:middle;margin-left:auto;margin-top:11px} .ngx-slider.vertical .ngx-slider-tick-value{left:24px;top:auto;transform:translateY(-28%)} .ngx-slider.vertical .ngx-slider-tick-legend{top:auto;right:24px;transform:translateY(-28%);max-width:none;white-space:nowrap} .ngx-slider.vertical .ngx-slider-ticks-values-under .ngx-slider-tick-value{bottom:auto;left:auto;right:24px} .ngx-slider *{transition:none} .ngx-slider.animate .ngx-slider-bar-wrapper{transition:all linear .3s} .ngx-slider.animate .ngx-slider-selection{transition:background-color linear .3s} .ngx-slider.animate .ngx-slider-pointer{transition:all linear .3s} .ngx-slider.animate .ngx-slider-pointer:after{transition:all linear .3s} .ngx-slider.animate .ngx-slider-bubble{transition:all linear .3s} .ngx-slider.animate .ngx-slider-bubble.ngx-slider-limit{transition:opacity linear .3s} .ngx-slider.animate .ngx-slider-bubble.ngx-slider-combined{transition:opacity linear .3s} .ngx-slider.animate .ngx-slider-tick{transition:background-color linear .3s}']})}return e})(),lw=(()=>{class e{static \u0275fac=function(i){return new(i||e)};static \u0275mod=We({type:e});static \u0275inj=$e({imports:[pt]})}return e})();var d9=!1;function W$(e){if((e=Math.trunc(e)||0)<0&&(e+=this.length),!(e<0||e>=this.length))return this[e]}if(!d9){d9=!0;let e=Reflect.getPrototypeOf(Int8Array);for(let n of[Array,String,e])Object.defineProperty(n.prototype,"at",{value:W$,writable:!0,enumerable:!1,configurable:!0})}var u9=!1,h9=!1;function p9(e,n,t){Object.defineProperty(e,t,{configurable:!0,enumerable:!0,get:function(){return this.hasAttribute(n)?this.getAttribute(n):null},set:function(i){i!==null?this.setAttribute(n,i):this.removeAttribute(n)}})}u9||Element.prototype.hasOwnProperty("role")||(p9(Element.prototype,"role","role"),u9=!0),h9||Element.prototype.hasOwnProperty("ariaLabel")||(h9=!0,["ActiveDescendant","Atomic","AutoComplete","Busy","Checked","ColCount","ColIndex","ColSpan","Controls","Current","DescribedBy","Details","Disabled","ErrorMessage","Expanded","FlowTo","HasPopup","Hidden","Invalid","KeyShortcuts","Label","LabelledBy","Level","Live","Modal","MultiLine","MultiSelectable","Orientation","Owns","Placeholder","PosInSet","Pressed","ReadOnly","Relevant","Required","RoleDescription","RowCount","RowIndex","RowSpan","Selected","SetSize","Sort","ValueMax","ValueMin","ValueNow","ValueText"].forEach(e=>p9(Element.prototype,"aria-"+e.toLowerCase(),"aria"+e)));var o_=window,s_=o_.ShadowRoot&&(o_.ShadyCSS===void 0||o_.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,cw=Symbol(),f9=new WeakMap,Qf=class{constructor(n,t,i){if(this._$cssResult$=!0,i!==cw)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=n,this.t=t}get styleSheet(){let n=this.o,t=this.t;if(s_&&n===void 0){let i=t!==void 0&&t.length===1;i&&(n=f9.get(t)),n===void 0&&((this.o=n=new CSSStyleSheet).replaceSync(this.cssText),i&&f9.set(t,n))}return n}toString(){return this.cssText}},g9=e=>new Qf(typeof e=="string"?e:e+"",void 0,cw),Zf=(e,...n)=>{let t=e.length===1?e[0]:n.reduce((i,r,o)=>i+(l=>{if(l._$cssResult$===!0)return l.cssText;if(typeof l=="number")return l;throw Error("Value passed to 'css' function must be a 'css' function result: "+l+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(r)+e[o+1],e[0]);return new Qf(t,e,cw)},dw=(e,n)=>{s_?e.adoptedStyleSheets=n.map(t=>t instanceof CSSStyleSheet?t:t.styleSheet):n.forEach(t=>{let i=document.createElement("style"),r=o_.litNonce;r!==void 0&&i.setAttribute("nonce",r),i.textContent=t.cssText,e.appendChild(i)})},a_=s_?e=>e:e=>e instanceof CSSStyleSheet?(n=>{let t="";for(let i of n.cssRules)t+=i.cssText;return g9(t)})(e):e;var uw,l_=window,m9=l_.trustedTypes,Y$=m9?m9.emptyScript:"",v9=l_.reactiveElementPolyfillSupport,pw={toAttribute(e,n){switch(n){case Boolean:e=e?Y$:null;break;case Object:case Array:e=e==null?e:JSON.stringify(e)}return e},fromAttribute(e,n){let t=e;switch(n){case Boolean:t=e!==null;break;case Number:t=e===null?null:Number(e);break;case Object:case Array:try{t=JSON.parse(e)}catch{t=null}}return t}},C9=(e,n)=>n!==e&&(n==n||e==e),hw={attribute:!0,type:String,converter:pw,reflect:!1,hasChanged:C9},fw="finalized",cl=class extends HTMLElement{constructor(){super(),this._$Ei=new Map,this.isUpdatePending=!1,this.hasUpdated=!1,this._$El=null,this._$Eu()}static addInitializer(n){var t;this.finalize(),((t=this.h)!==null&&t!==void 0?t:this.h=[]).push(n)}static get observedAttributes(){this.finalize();let n=[];
vendor: 24,835 bytes, lines 10-12
10return this.elementProperties.forEach((t,i)=>{let r=this._$Ep(i,t);r!==void 0&&(this._$Ev.set(r,i),n.push(r))}),n}static createProperty(n,t=hw){if(t.state&&(t.attribute=!1),this.finalize(),this.elementProperties.set(n,t),!t.noAccessor&&!this.prototype.hasOwnProperty(n)){let i=typeof n=="symbol"?Symbol():"__"+n,r=this.getPropertyDescriptor(n,i,t);r!==void 0&&Object.defineProperty(this.prototype,n,r)}}static getPropertyDescriptor(n,t,i){return{get(){return this[t]},set(r){let o=this[n];this[t]=r,this.requestUpdate(n,o,i)},configurable:!0,enumerable:!0}}static getPropertyOptions(n){return this.elementProperties.get(n)||hw}static finalize(){if(this.hasOwnProperty(fw))return!1;this[fw]=!0;let n=Object.getPrototypeOf(this);if(n.finalize(),n.h!==void 0&&(this.h=[...n.h]),this.elementProperties=new Map(n.elementProperties),this._$Ev=new Map,this.hasOwnProperty("properties")){let t=this.properties,i=[...Object.getOwnPropertyNames(t),...Object.getOwnPropertySymbols(t)];for(let r of i)this.createProperty(r,t[r])}return this.elementStyles=this.finalizeStyles(this.styles),!0}static finalizeStyles(n){let t=[];if(Array.isArray(n)){let i=new Set(n.flat(1/0).reverse());for(let r of i)t.unshift(a_(r))}else n!==void 0&&t.push(a_(n));return t}static _$Ep(n,t){let i=t.attribute;return i===!1?void 0:typeof i=="string"?i:typeof n=="string"?n.toLowerCase():void 0}_$Eu(){var n;this._$E_=new Promise(t=>this.enableUpdating=t),this._$AL=new Map,this._$Eg(),this.requestUpdate(),(n=this.constructor.h)===null||n===void 0||n.forEach(t=>t(this))}addController(n){var t,i;((t=this._$ES)!==null&&t!==void 0?t:this._$ES=[]).push(n),this.renderRoot!==void 0&&this.isConnected&&((i=n.hostConnected)===null||i===void 0||i.call(n))}removeController(n){var t;(t=this._$ES)===null||t===void 0||t.splice(this._$ES.indexOf(n)>>>0,1)}_$Eg(){this.constructor.elementProperties.forEach((n,t)=>{this.hasOwnProperty(t)&&(this._$Ei.set(t,this[t]),delete this[t])})}createRenderRoot(){var n;let t=(n=this.shadowRoot)!==null&&n!==void 0?n:this.attachShadow(this.constructor.shadowRootOptions);return dw(t,this.constructor.elementStyles),t}connectedCallback(){var n;this.renderRoot===void 0&&(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),(n=this._$ES)===null||n===void 0||n.forEach(t=>{var i;return(i=t.hostConnected)===null||i===void 0?void 0:i.call(t)})}enableUpdating(n){}disconnectedCallback(){var n;(n=this._$ES)===null||n===void 0||n.forEach(t=>{var i;return(i=t.hostDisconnected)===null||i===void 0?void 0:i.call(t)})}attributeChangedCallback(n,t,i){this._$AK(n,i)}_$EO(n,t,i=hw){var r;let o=this.constructor._$Ep(n,i);if(o!==void 0&&i.reflect===!0){let l=(((r=i.converter)===null||r===void 0?void 0:r.toAttribute)!==void 0?i.converter:pw).toAttribute(t,i.type);this._$El=n,l==null?this.removeAttribute(o):this.setAttribute(o,l),this._$El=null}}_$AK(n,t){var i;let r=this.constructor,o=r._$Ev.get(n);if(o!==void 0&&this._$El!==o){let l=r.getPropertyOptions(o),p=typeof l.converter=="function"?{fromAttribute:l.converter}:((i=l.converter)===null||i===void 0?void 0:i.fromAttribute)!==void 0?l.converter:pw;this._$El=o,this[o]=p.fromAttribute(t,l.type),this._$El=null}}requestUpdate(n,t,i){let r=!0;n!==void 0&&(((i=i||this.constructor.getPropertyOptions(n)).hasChanged||C9)(this[n],t)?(this._$AL.has(n)||this._$AL.set(n,t),i.reflect===!0&&this._$El!==n&&(this._$EC===void 0&&(this._$EC=new Map),this._$EC.set(n,i))):r=!1),!this.isUpdatePending&&r&&(this._$E_=this._$Ej())}_$Ej(){return ct(this,null,function*(){this.isUpdatePending=!0;try{yield this._$E_}catch(t){Promise.reject(t)}let n=this.scheduleUpdate();return n!=null&&(yield n),!this.isUpdatePending})}scheduleUpdate(){return this.performUpdate()}performUpdate(){var n;if(!this.isUpdatePending)return;this.hasUpdated,this._$Ei&&(this._$Ei.forEach((r,o)=>this[o]=r),this._$Ei=void 0);let t=!1,i=this._$AL;try{t=this.shouldUpdate(i),t?(this.willUpdate(i),(n=this._$ES)===null||n===void 0||n.forEach(r=>{var o;return(o=r.hostUpdate)===null||o===void 0?void 0:o.call(r)}),this.update(i)):this._$Ek()}catch(r){throw t=!1,this._$Ek(),r}t&&this._$AE(i)}willUpdate(n){}_$AE(n){var t;(t=this._$ES)===null||t===void 0||t.forEach(i=>{var r;return(r=i.hostUpdated)===null||r===void 0?void 0:r.call(i)}),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(n)),this.updated(n)}_$Ek(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$E_}shouldUpdate(n){return!0}update(n){this._$EC!==void 0&&(this._$EC.forEach((t,i)=>this._$EO(i,this[i],t)),this._$EC=void 0),this._$Ek()}updated(n){}firstUpdated(n){}};cl[fw]=!0,cl.elementProperties=new Map,cl.elementStyles=[],cl.shadowRootOptions={mode:"open"},v9?.({ReactiveElement:cl}),((uw=l_.reactiveElementVersions)!==null&&uw!==void 0?uw:l_.reactiveElementVersions=[]).push("1.6.3");var gw,c_=window,Qu=c_.trustedTypes,_9=Qu?Qu.createPolicy("lit-html",{createHTML:e=>e}):void 0,vw="$lit$",ql=`lit$${(Math.random()+"").slice(9)}$`,x9="?"+ql,q$=`<${x9}>`,rd=document,Xf=()=>rd.createComment(""),Jf=e=>e===null||typeof e!="object"&&typeof e!="function",D9=Array.isArray,Q$=e=>D9(e)||typeof e?.[Symbol.iterator]=="function",mw=`[ 11\f\r]`,Kf=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,y9=/-->/g,b9=/>/g,nd=RegExp(`>|${mw}(?:([^\\s"'>=/]+)(${mw}*=${mw}*(?:[^ 12\f\r"'\`<>=]|("|')|))|$)`,"g"),S9=/'/g,I9=/"/g,T9=/^(?:script|style|textarea|title)$/i,M9=e=>(n,...t)=>({_$litType$:e,strings:n,values:t}),A9=M9(1),O9=M9(2),od=Symbol.for("lit-noChange"),or=Symbol.for("lit-nothing"),E9=new WeakMap,id=rd.createTreeWalker(rd,129,null,!1);function R9(e,n){if(!Array.isArray(e)||!e.hasOwnProperty("raw"))throw Error("invalid template strings array");return _9!==void 0?_9.createHTML(n):n}var Z$=(e,n)=>{let t=e.length-1,i=[],r,o=n===2?"<svg>":"",l=Kf;for(let p=0;p<t;p++){let C=e[p],w,V,j=-1,$=0;for(;$<C.length&&(l.lastIndex=$,V=l.exec(C),V!==null);)$=l.lastIndex,l===Kf?V[1]==="!--"?l=y9:V[1]!==void 0?l=b9:V[2]!==void 0?(T9.test(V[2])&&(r=RegExp("</"+V[2],"g")),l=nd):V[3]!==void 0&&(l=nd):l===nd?V[0]===">"?(l=r??Kf,j=-1):V[1]===void 0?j=-2:(j=l.lastIndex-V[2].length,w=V[1],l=V[3]===void 0?nd:V[3]==='"'?I9:S9):l===I9||l===S9?l=nd:l===y9||l===b9?l=Kf:(l=nd,r=void 0);let W=l===nd&&e[p+1].startsWith("/>")?" ":"";o+=l===Kf?C+q$:j>=0?(i.push(w),C.slice(0,j)+vw+C.slice(j)+ql+W):C+ql+(j===-2?(i.push(void 0),p):W)}return[R9(e,o+(e[t]||"<?>")+(n===2?"</svg>":"")),i]},eg=class e{constructor({strings:n,_$litType$:t},i){let r;this.parts=[];let o=0,l=0,p=n.length-1,C=this.parts,[w,V]=Z$(n,t);if(this.el=e.createElement(w,i),id.currentNode=this.el.content,t===2){let j=this.el.content,$=j.firstChild;$.remove(),j.append(...$.childNodes)}for(;(r=id.nextNode())!==null&&C.length<p;){if(r.nodeType===1){if(r.hasAttributes()){let j=[];for(let $ of r.getAttributeNames())if($.endsWith(vw)||$.startsWith(ql)){let W=V[l++];if(j.push($),W!==void 0){let se=r.getAttribute(W.toLowerCase()+vw).split(ql),be=/([.?@])?(.*)/.exec(W);C.push({type:1,index:o,name:be[2],strings:se,ctor:be[1]==="."?_w:be[1]==="?"?yw:be[1]==="@"?bw:Ku})}else C.push({type:6,index:o})}for(let $ of j)r.removeAttribute($)}if(T9.test(r.tagName)){let j=r.textContent.split(ql),$=j.length-1;if($>0){r.textContent=Qu?Qu.emptyScript:"";for(let W=0;W<$;W++)r.append(j[W],Xf()),id.nextNode(),C.push({type:2,index:++o});r.append(j[$],Xf())}}}else if(r.nodeType===8)if(r.data===x9)C.push({type:2,index:o});else{let j=-1;for(;(j=r.data.indexOf(ql,j+1))!==-1;)C.push({type:7,index:o}),j+=ql.length-1}o++}}static createElement(n,t){let i=rd.createElement("template");return i.innerHTML=n,i}};function Zu(e,n,t=e,i){var r,o,l,p;if(n===od)return n;let C=i!==void 0?(r=t._$Co)===null||r===void 0?void 0:r[i]:t._$Cl,w=Jf(n)?void 0:n._$litDirective$;return C?.constructor!==w&&((o=C?._$AO)===null||o===void 0||o.call(C,!1),w===void 0?C=void 0:(C=new w(e),C._$AT(e,t,i)),i!==void 0?((l=(p=t)._$Co)!==null&&l!==void 0?l:p._$Co=[])[i]=C:t._$Cl=C),C!==void 0&&(n=Zu(e,C._$AS(e,n.values),C,i)),n}var Cw=class{constructor(n,t){this._$AV=[],this._$AN=void 0,this._$AD=n,this._$AM=t}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(n){var t;let{el:{content:i},parts:r}=this._$AD,o=((t=n?.creationScope)!==null&&t!==void 0?t:rd).importNode(i,!0);id.currentNode=o;let l=id.nextNode(),p=0,C=0,w=r[0];for(;w!==void 0;){if(p===w.index){let V;w.type===2?V=new tg(l,l.nextSibling,this,n):w.type===1?V=new w.ctor(l,w.name,w.strings,this,n):w.type===6&&(V=new Sw(l,this,n)),this._$AV.push(V),w=r[++C]}p!==w?.index&&(l=id.nextNode(),p++)}return id.currentNode=rd,o}v(n){let t=0;for(let i of this._$AV)i!==void 0&&(i.strings!==void 0?(i._$AI(n,i,t),t+=i.strings.length-2):i._$AI(n[t])),t++}},tg=class e{constructor(n,t,i,r){var o;this.type=2,this._$AH=or,this._$AN=void 0,this._$AA=n,this._$AB=t,this._$AM=i,this.options=r,this._$Cp=(o=r?.isConnected)===null||o===void 0||o}get _$AU(){var n,t;return(t=(n=this._$AM)===null||n===void 0?void 0:n._$AU)!==null&&t!==void 0?t:this._$Cp}get parentNode(){let n=this._$AA.parentNode,t=this._$AM;return t!==void 0&&n?.nodeType===11&&(n=t.parentNode),n}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(n,t=this){n=Zu(this,n,t),Jf(n)?n===or||n==null||n===""?(this._$AH!==or&&this._$AR(),this._$AH=or):n!==this._$AH&&n!==od&&this._(n):n._$litType$!==void 0?this.g(n):n.nodeType!==void 0?this.$(n):Q$(n)?this.T(n):this._(n)}k(n){return this._$AA.parentNode.insertBefore(n,this._$AB)}$(n){this._$AH!==n&&(this._$AR(),this._$AH=this.k(n))}_(n){this._$AH!==or&&Jf(this._$AH)?this._$AA.nextSibling.data=n:this.$(rd.createTextNode(n)),this._$AH=n}g(n){var t;let{values:i,_$litType$:r}=n,o=typeof r=="number"?this._$AC(n):(r.el===void 0&&(r.el=eg.createElement(R9(r.h,r.h[0]),this.options)),r);if(((t=this._$AH)===null||t===void 0?void 0:t._$AD)===o)this._$AH.v(i);else{let l=new Cw(o,this),p=l.u(this.options);l.v(i),this.$(p),this._$AH=l}}_$AC(n){let t=E9.get(n.strings);return t===void 0&&E9.set(n.strings,t=new eg(n)),t}T(n){D9(this._$AH)||(this._$AH=[],this._$AR());let t=this._$AH,i,r=0;for(let o of n)r===t.length?t.push(i=new e(this.k(Xf()),this.k(Xf()),this,this.options)):i=t[r],i._$AI(o),r++;r<t.length&&(this._$AR(i&&i._$AB.nextSibling,r),t.length=r)}_$AR(n=this._$AA.nextSibling,t){var i;for((i=this._$AP)===null||i===void 0||i.call(this,!1,!0,t);n&&n!==this._$AB;){let r=n.nextSibling;n.remove(),n=r}}setConnected(n){var t;this._$AM===void 0&&(this._$Cp=n,(t=this._$AP)===null||t===void 0||t.call(this,n))}},Ku=class{constructor(n,t,i,r,o){this.type=1,this._$AH=or,this._$AN=void 0,this.element=n,this.name=t,this._$AM=r,this.options=o,i.length>2||i[0]!==""||i[1]!==""?(this._$AH=Array(i.length-1).fill(new String),this.strings=i):this._$AH=or}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(n,t=this,i,r){let o=this.strings,l=!1;if(o===void 0)n=Zu(this,n,t,0),l=!Jf(n)||n!==this._$AH&&n!==od,l&&(this._$AH=n);else{let p=n,C,w;for(n=o[0],C=0;C<o.length-1;C++)w=Zu(this,p[i+C],t,C),w===od&&(w=this._$AH[C]),l||(l=!Jf(w)||w!==this._$AH[C]),w===or?n=or:n!==or&&(n+=(w??"")+o[C+1]),this._$AH[C]=w}l&&!r&&this.j(n)}j(n){n===or?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,n??"")}},_w=class extends Ku{constructor(){super(...arguments),this.type=3}j(n){this.element[this.name]=n===or?void 0:n}},K$=Qu?Qu.emptyScript:"",yw=class extends Ku{constructor(){super(...arguments),this.type=4}j(n){n&&n!==or?this.element.setAttribute(this.name,K$):this.element.removeAttribute(this.name)}},bw=class extends Ku{constructor(n,t,i,r,o){super(n,t,i,r,o),this.type=5}_$AI(n,t=this){var i;if((n=(i=Zu(this,n,t,0))!==null&&i!==void 0?i:or)===od)return;let r=this._$AH,o=n===or&&r!==or||n.capture!==r.capture||n.once!==r.once||n.passive!==r.passive,l=n!==or&&(r===or||o);o&&this.element.removeEventListener(this.name,this,r),l&&this.element.addEventListener(this.name,this,n),this._$AH=n}handleEvent(n){var t,i;typeof this._$AH=="function"?this._$AH.call((i=(t=this.options)===null||t===void 0?void 0:t.host)!==null&&i!==void 0?i:this.element,n):this._$AH.handleEvent(n)}},Sw=class{constructor(n,t,i){this.element=n,this.type=6,this._$AN=void 0,this._$AM=t,this.options=i}get _$AU(){return this._$AM._$AU}_$AI(n){Zu(this,n)}};var w9=c_.litHtmlPolyfillSupport;w9?.(eg,tg),((gw=c_.litHtmlVersions)!==null&&gw!==void 0?gw:c_.litHtmlVersions=[]).push("2.8.0");var P9=(e,n,t)=>{var i,r;let o=(i=t?.renderBefore)!==null&&i!==void 0?i:n,l=o._$litPart$;if(l===void 0){let p=(r=t?.renderBefore)!==null&&r!==void 0?r:null;o._$litPart$=l=new tg(n.insertBefore(Xf(),p),p,void 0,t??{})}return l._$AI(e),l};var Iw,Ew;var Ql=class extends cl{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){var n,t;let i=super.createRenderRoot();return(n=(t=this.renderOptions).renderBefore)!==null&&n!==void 0||(t.renderBefore=i.firstChild),i}update(n){let t=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(n),this._$Do=P9(t,this.renderRoot,this.renderOptions)}connectedCallback(){var n;super.connectedCallback(),(n=this._$Do)===null||n===void 0||n.setConnected(!0)}disconnectedCallback(){var n;super.disconnectedCallback(),(n=this._$Do)===null||n===void 0||n.setConnected(!1)}render(){return od}};Ql.finalized=!0,Ql._$litElement$=!0,(Iw=globalThis.litElementHydrateSupport)===null||Iw===void 0||Iw.call(globalThis,{LitElement:Ql});var k9=globalThis.litElementPolyfillSupport;k9?.({LitElement:Ql});((Ew=globalThis.litElementVersions)!==null&&Ew!==void 0?Ew:globalThis.litElementVersions=[]).push("3.3.3");var N9=Zf`@charset "UTF-8";:host,:root{--δ2:var(--cds-global-layout-space-xxs, calc(4 * 1rem / var(--cds-global-base, 20)));--δ3:var(--cds-global-layout-space-xs, calc(8 * 1rem / var(--cds-global-base, 20)));--δ4:var(--cds-global-layout-space-sm, calc(12 * 1rem / var(--cds-global-base, 20)));--δ5:var(--cds-global-layout-space-md, calc(16 * 1rem / var(--cds-global-base, 20)));--δ6:var(--cds-global-layout-space-lg, calc(24 * 1rem / var(--cds-global-base, 20)));--δ7:var(--cds-global-layout-space-xl, calc(32 * 1rem / var(--cds-global-base, 20)))}[cds-layout~="wrap:none"]{flex-wrap:nowrap!important}[cds-layout*="align:stretch"]{flex-grow:1!important}[cds-layout*="align:shrink"]{flex-shrink:1!important;flex-grow:0!important}[cds-layout~=horizontal]{display:flex;flex-direction:row;flex-wrap:wrap;justify-items:flex-start;align-items:flex-start;width:100%;margin:0;min-height:0}[cds-layout~=horizontal]>[cds-layout~=horizontal],[cds-layout~=horizontal]>[cds-layout~=vertical],[cds-layout~=horizontal]>[cds-text]{width:initial!important}[cds-layout~=horizontal][cds-layout*="align:top"]{align-items:flex-start}[cds-layout~=horizontal][cds-layout*="align:left"]{justify-content:flex-start}[cds-layout~=horizontal][cds-layout*="align:right"]{justify-content:flex-end}[cds-layout~=horizontal][cds-layout*="align:vertical-center"]{align-items:center;align-content:center}[cds-layout~=horizontal][cds-layout*="align:horizontal-center"]{justify-content:center}[cds-layout~=horizontal][cds-layout*="align:center"]{align-items:center;align-content:center;justify-content:center}[cds-layout~=horizontal][cds-layout*="order:reverse"]{flex-direction:row-reverse}[cds-layout~=horizontal][cds-layout*="align:horizontal-stretch"]{justify-content:stretch;flex-grow:1}[cds-layout~=horizontal][cds-layout*="align:horizontal-stretch"]>*{flex-grow:1}[cds-layout~=horizontal][cds-layout*="align:stretch"]{align-items:stretch;align-content:stretch;flex-grow:1}[cds-layout~=horizontal][cds-layout*="align:stretch"]>*{flex-grow:1}[cds-layout~=horizontal]>[cds-layout*="align:center"],[cds-layout~=horizontal]>[cds-layout*="align:vertical-center"]{align-self:center}[cds-layout~=horizontal]>[cds-layout*="align:center"],[cds-layout~=horizontal]>[cds-layout*="align:horizontal-center"]{margin-left:auto!important;margin-right:auto!important}[cds-layout~=horizontal]>[cds-layout*="align:top"]{align-self:flex-start}[cds-layout~=horizontal]>[cds-layout*="align:right"]{margin-left:auto!important}[cds-layout~=horizontal]>[cds-layout*="align:left"]{margin-right:auto!important}[cds-layout~=vertical]{width:100%;display:flex;flex-direction:column;align-items:flex-start}[cds-layout~=vertical],[cds-layout~=vertical][cds-layout*="align:top"]{justify-content:flex-start}[cds-layout~=vertical][cds-layout*="align:left"]{align-items:flex-start}[cds-layout~=vertical][cds-layout*="align:right"]{align-items:flex-end}[cds-layout~=vertical][cds-layout*="align:vertical-center"]{justify-content:center}[cds-layout~=vertical][cds-layout*="align:horizontal-center"]{align-items:center}[cds-layout~=vertical][cds-layout*="align:center"]{align-items:center;justify-content:center}[cds-layout~=vertical][cds-layout*="order:reverse"]{flex-direction:column-reverse}[cds-layout~=vertical][cds-layout*="align:horizontal-stretch"]{align-items:stretch}[cds-layout~=vertical][cds-layout*="align:stretch"]{align-items:stretch;justify-content:stretch}[cds-layout~=vertical][cds-layout*="align:stretch"]>*{flex-grow:1}[cds-layout~=vertical]>[cds-layout*="align:center"],[cds-layout~=vertical]>[cds-layout*="align:vertical-center"]{margin-top:auto;margin-bottom:auto}[cds-layout~=vertical]>[cds-layout*="align:center"],[cds-layout~=vertical]>[cds-layout*="align:horizontal-center"]{align-self:center}[cds-layout~=vertical]>[cds-layout*="align:top"]{margin-bottom:auto!important}[cds-layout~=vertical]>[cds-layout*="align:right"]{margin-left:auto}[cds-layout~=vertical]>[cds-layout*="align:left"]{margin-right:auto}[cds-layout~=grid]{display:grid;align-items:start;align-content:start;grid-template-columns:repeat(var(--cds-global-layout-grid-cols,12),1fr);width:100%}[cds-layout~=grid][cds-layout*=rows]{grid-template-rows:repeat(12,auto)}[cds-layout~=grid]>[cds-layout*=row]{align-self:stretch}[cds-layout~=grid][cds-layout*="align:top"]{align-content:start}[cds-layout~=grid][cds-layout*="align:right"]{justify-content:end}[cds-layout~=grid][cds-layout*="align:left"]{justify-content:start}[cds-layout~=grid][cds-layout*="align:horizontal-stretch"]{justify-items:stretch;justify-content:stretch}[cds-layout~=grid][cds-layout*="align:stretch"]{align-items:stretch;align-content:stretch;justify-items:stretch;justify-content:stretch}[cds-layout~=grid][cds-layout*="align:vertical-center"]{align-items:center;align-content:center}[cds-layout~=grid][cds-layout*="align:horizontal-center"]{justify-items:center;justify-content:center}[cds-layout~=grid][cds-layout*="align:center"]{align-items:center;align-content:center;justify-items:center;justify-content:center}::slotted([cds-layout~="display:screen-reader-only"]),[cds-layout~="display:screen-reader-only"]{position:absolute!important;clip:rect(1px,1px,1px,1px);clip-path:inset(50%);padding:0;border:0;height:1px;width:1px;overflow:hidden;white-space:nowrap;top:0;left:0;display:block!important}[cds-layout*="gap:none"]{gap:0}[cds-layout*="gap:xxs"]{gap:var(--δ2)}[cds-layout*="gap:xs"]{gap:var(--δ3)}[cds-layout*="gap:sm"]{gap:var(--δ4)}[cds-layout*="gap:md"]{gap:var(--δ5)}[cds-layout*="gap:lg"]{gap:var(--δ6)}[cds-layout~="p:none"]{padding:0!important}[cds-layout~="p:xxs"]{padding:var(--δ2)!important}[cds-layout~="p:xs"]{padding:var(--δ3)!important}[cds-layout~="p:sm"]{padding:var(--δ4)!important}[cds-layout~="p:md"]{padding:var(--δ5)!important}[cds-layout~="m:md"]{margin:var(--δ5)!important}[cds-layout~="p:lg"]{padding:var(--δ6)!important}[cds-layout~="p-y:xs"]{padding-top:var(--δ3)!important;padding-bottom:var(--δ3)!important}[cds-layout~="p-x:lg"]{padding-left:var(--δ6)!important;padding-right:var(--δ6)!important}[cds-layout~="p-y:lg"]{padding-top:var(--δ6)!important;padding-bottom:var(--δ6)!important}[cds-layout~="p-l:md"]{padding-left:var(--δ5)!important}@media (min-width:992px){[cds-layout*="gap@md:lg"]{gap:var(--δ6)}[cds-layout~="p@md:lg"]{padding:var(--δ6)!important}[cds-layout~="m@md:xl"]{margin:var(--δ7)!important}}[cds-layout~=fill]{width:100%!important}*,:after,:before{box-sizing:border-box}[cds-layout~=horizontal][cds-layout*="align:horizontal-stretch"]>::slotted(*),[cds-layout~=horizontal][cds-layout*="align:stretch"]>::slotted(*),[cds-layout~=vertical][cds-layout*="align:stretch"]>::slotted(*){flex-grow:1}[cds-layout~=vertical] ::slotted([cds-layout*="align:center"]),[cds-layout~=vertical] ::slotted([cds-layout*="align:vertical-center"]){margin-top:auto;margin-bottom:auto}[cds-layout~=vertical] ::slotted([cds-layout*="align:center"]),[cds-layout~=vertical] ::slotted([cds-layout*="align:horizontal-center"]){align-self:center}[cds-layout~=vertical] ::slotted([cds-layout*="align:top"]){margin-bottom:auto!important}[cds-layout~=vertical] ::slotted([cds-layout*="align:bottom"]){margin-top:auto!important}[cds-layout~=vertical] ::slotted([cds-layout*="align:right"]){margin-left:auto}[cds-layout~=vertical] ::slotted([cds-layout*="align:left"]),[cds-layout~=vertical]>[cds-layout*="align:left"]{margin-right:auto}@media (min-width:576px){[cds-layout~=vertical] ::slotted([cds-layout*="align@xs:center"]),[cds-layout~=vertical] ::slotted([cds-layout*="align@xs:vertical-center"]){margin-top:auto;margin-bottom:auto}[cds-layout~=vertical] ::slotted([cds-layout*="align@xs:center"]),[cds-layout~=vertical] ::slotted([cds-layout*="align@xs:horizontal-center"]){align-self:center}[cds-layout~=vertical] ::slotted([cds-layout*="align@xs:top"]){margin-bottom:auto!important}[cds-layout~=vertical] ::slotted([cds-layout*="align@xs:bottom"]){margin-top:auto!important}[cds-layout~=vertical] ::slotted([cds-layout*="align@xs:right"]){margin-left:auto}[cds-layout~=vertical] ::slotted([cds-layout*="align@xs:left"]){margin-right:auto}}@media (min-width:768px){[cds-layout~=vertical] ::slotted([cds-layout*="align@sm:center"]),[cds-layout~=vertical] ::slotted([cds-layout*="align@sm:vertical-center"]){margin-top:auto;margin-bottom:auto}[cds-layout~=vertical] ::slotted([cds-layout*="align@sm:center"]),[cds-layout~=vertical] ::slotted([cds-layout*="align@sm:horizontal-center"]){align-self:center}[cds-layout~=vertical] ::slotted([cds-layout*="align@sm:top"]){margin-bottom:auto!important}[cds-layout~=vertical] ::slotted([cds-layout*="align@sm:bottom"]){margin-top:auto!important}[cds-layout~=vertical] ::slotted([cds-layout*="align@sm:right"]){margin-left:auto}[cds-layout~=vertical] ::slotted([cds-layout*="align@sm:left"]){margin-right:auto}}@media (min-width:992px){[cds-layout~=vertical] ::slotted([cds-layout*="align@md:center"]),[cds-layout~=vertical] ::slotted([cds-layout*="align@md:vertical-center"]){margin-top:auto;margin-bottom:auto}[cds-layout~=vertical] ::slotted([cds-layout*="align@md:center"]),[cds-layout~=vertical] ::slotted([cds-layout*="align@md:horizontal-center"]){align-self:center}[cds-layout~=vertical] ::slotted([cds-layout*="align@md:top"]){margin-bottom:auto!important}[cds-layout~=vertical] ::slotted([cds-layout*="align@md:bottom"]){margin-top:auto!important}[cds-layout~=vertical] ::slotted([cds-layout*="align@md:right"]){margin-left:auto}[cds-layout~=vertical] ::slotted([cds-layout*="align@md:left"]){margin-right:auto}}@media (min-width:1200px){[cds-layout~=vertical] ::slotted([cds-layout*="align@lg:center"]),[cds-layout~=vertical] ::slotted([cds-layout*="align@lg:vertical-center"]){margin-top:auto;margin-bottom:auto}[cds-layout~=vertical] ::slotted([cds-layout*="align@lg:center"]),[cds-layout~=vertical] ::slotted([cds-layout*="align@lg:horizontal-center"]){align-self:center}[cds-layout~=vertical] ::slotted([cds-layout*="align@lg:top"]){margin-bottom:auto!important}[cds-layout~=vertical] ::slotted([cds-layout*="align@lg:bottom"]){margin-top:auto!important}[cds-layout~=vertical] ::slotted([cds-layout*="align@lg:right"]){margin-left:auto}[cds-layout~=vertical] ::slotted([cds-layout*="align@lg:left"]){margin-right:auto}}@media (min-width:1440px){[cds-layout~=vertical] ::slotted([cds-layout*="align@xl:center"]),[cds-layout~=vertical] ::slotted([cds-layout*="align@xl:vertical-center"]){margin-top:auto;margin-bottom:auto}[cds-layout~=vertical] ::slotted([cds-layout*="align@xl:center"]),[cds-layout~=vertical] ::slotted([cds-layout*="align@xl:horizontal-center"]){align-self:center}[cds-layout~=vertical] ::slotted([cds-layout*="align@xl:top"]){margin-bottom:auto!important}[cds-layout~=vertical] ::slotted([cds-layout*="align@xl:bottom"]){margin-top:auto!important}[cds-layout~=vertical] ::slotted([cds-layout*="align@xl:right"]){margin-left:auto}[cds-layout~=vertical] ::slotted([cds-layout*="align@xl:left"]){margin-right:auto}}[cds-layout~=horizontal] ::slotted([cds-layout*="align:center"]),[cds-layout~=horizontal] ::slotted([cds-layout*="align:vertical-center"]){align-self:center}[cds-layout~=horizontal] ::slotted([cds-layout*="align:center"]),[cds-layout~=horizontal] ::slotted([cds-layout*="align:horizontal-center
12"]){margin-left:auto!important;margin-right:auto!important}[cds-layout~=horizontal] ::slotted([cds-layout*="align:top"]){align-self:flex-start}[cds-layout~=horizontal] ::slotted([cds-layout*="align:bottom"]){align-self:flex-end}[cds-layout~=horizontal] ::slotted([cds-layout*="align:right"]){margin-left:auto!important}[cds-layout~=horizontal] ::slotted([cds-layout*="align:left"]){margin-right:auto!important}@media (min-width:576px){[cds-layout~=horizontal] ::slotted([cds-layout*="align@xs:center"]),[cds-layout~=horizontal] ::slotted([cds-layout*="align@xs:vertical-center"]){align-self:center}[cds-layout~=horizontal] ::slotted([cds-layout*="align@xs:center"]),[cds-layout~=horizontal] ::slotted([cds-layout*="align@xs:horizontal-center"]){margin-left:auto!important;margin-right:auto!important}[cds-layout~=horizontal] ::slotted([cds-layout*="align@xs:top"]){align-self:flex-start}[cds-layout~=horizontal] ::slotted([cds-layout*="align@xs:bottom"]){align-self:flex-end}[cds-layout~=horizontal] ::slotted([cds-layout*="align@xs:right"]){margin-left:auto!important}[cds-layout~=horizontal] ::slotted([cds-layout*="align@xs:left"]){margin-right:auto!important}}@media (min-width:768px){[cds-layout~=horizontal] ::slotted([cds-layout*="align@sm:center"]),[cds-layout~=horizontal] ::slotted([cds-layout*="align@sm:vertical-center"]){align-self:center}[cds-layout~=horizontal] ::slotted([cds-layout*="align@sm:center"]),[cds-layout~=horizontal] ::slotted([cds-layout*="align@sm:horizontal-center"]){margin-left:auto!important;margin-right:auto!important}[cds-layout~=horizontal] ::slotted([cds-layout*="align@sm:top"]){align-self:flex-start}[cds-layout~=horizontal] ::slotted([cds-layout*="align@sm:bottom"]){align-self:flex-end}[cds-layout~=horizontal] ::slotted([cds-layout*="align@sm:right"]){margin-left:auto!important}[cds-layout~=horizontal] ::slotted([cds-layout*="align@sm:left"]){margin-right:auto!important}}@media (min-width:992px){[cds-layout~=horizontal] ::slotted([cds-layout*="align@md:center"]),[cds-layout~=horizontal] ::slotted([cds-layout*="align@md:vertical-center"]){align-self:center}[cds-layout~=horizontal] ::slotted([cds-layout*="align@md:center"]),[cds-layout~=horizontal] ::slotted([cds-layout*="align@md:horizontal-center"]){margin-left:auto!important;margin-right:auto!important}[cds-layout~=horizontal] ::slotted([cds-layout*="align@md:top"]){align-self:flex-start}[cds-layout~=horizontal] ::slotted([cds-layout*="align@md:bottom"]){align-self:flex-end}[cds-layout~=horizontal] ::slotted([cds-layout*="align@md:right"]){margin-left:auto!important}[cds-layout~=horizontal] ::slotted([cds-layout*="align@md:left"]){margin-right:auto!important}}@media (min-width:1200px){[cds-layout~=horizontal] ::slotted([cds-layout*="align@lg:center"]),[cds-layout~=horizontal] ::slotted([cds-layout*="align@lg:vertical-center"]){align-self:center}[cds-layout~=horizontal] ::slotted([cds-layout*="align@lg:center"]),[cds-layout~=horizontal] ::slotted([cds-layout*="align@lg:horizontal-center"]){margin-left:auto!important;margin-right:auto!important}[cds-layout~=horizontal] ::slotted([cds-layout*="align@lg:top"]){align-self:flex-start}[cds-layout~=horizontal] ::slotted([cds-layout*="align@lg:bottom"]){align-self:flex-end}[cds-layout~=horizontal] ::slotted([cds-layout*="align@lg:right"]){margin-left:auto!important}[cds-layout~=horizontal] ::slotted([cds-layout*="align@lg:left"]){margin-right:auto!important}}@media (min-width:1440px){[cds-layout~=horizontal] ::slotted([cds-layout*="align@xl:center"]),[cds-layout~=horizontal] ::slotted([cds-layout*="align@xl:vertical-center"]){align-self:center}[cds-layout~=horizontal] ::slotted([cds-layout*="align@xl:center"]),[cds-layout~=horizontal] ::slotted([cds-layout*="align@xl:horizontal-center"]){margin-left:auto!important;margin-right:auto!important}[cds-layout~=horizontal] ::slotted([cds-layout*="align@xl:top"]){align-self:flex-start}[cds-layout~=horizontal] ::slotted([cds-layout*="align@xl:bottom"]){align-self:flex-end}[cds-layout~=horizontal] ::slotted([cds-layout*="align@xl:right"]){margin-left:auto!important}[cds-layout~=horizontal] ::slotted([cds-layout*="align@xl:left"]){margin-right:auto!important}}[cds-text]{font-family:var(--cds-global-typography-font-family, "Clarity City", "Avenir Next", sans-serif);margin-top:0;margin-bottom:0}[cds-text][cds-layout~=grid]::after,[cds-text][cds-layout~=grid]::before,[cds-text][cds-layout~=horizontal]::after,[cds-text][cds-layout~=horizontal]::before,[cds-text][cds-layout~=vertical]::after,[cds-text][cds-layout~=vertical]::before{display:none}[cds-text*=display],[cds-text*=section],[cds-text*=subsection],[cds-text*=title]{font-family:var(--cds-global-typography-header-font-family, "Clarity City", "Avenir Next", sans-serif);color:var(--cds-global-typography-color-400,var(--cds-global-color-construction-900,#21333b))}[cds-text*=body],[cds-text*=message],[cds-text*=secondary]{color:var(--cds-global-typography-color-500,var(--cds-global-color-black,#000))}
12[cds-text*=inline]{width:auto!important;display:inline-block!important}[cds-text*=display]{font-size:var(--cds-global-typography-display-font-size,calc(40 * 1rem / var(--cds-global-base,20)));font-weight:var(--cds-global-typography-display-font-weight,500);line-height:var(--cds-global-typography-display-line-height,1.1em);letter-spacing:var(--cds-global-typography-display-letter-spacing,-.0125em)}[cds-text*=display]::before{content:"";display:block;height:0;width:0;margin-bottom:calc(((var(--cds-global-typography-top-gap-height,.1475em) + calc((var(--cds-global-typography-display-line-height,1.1em) - 1em)/ 2))*-1) + .037em)}[cds-text*=display]::after{content:"";display:block;height:0;width:0;margin-top:calc((((1em - var(--cds-global-typography-top-gap-height,.1475em) - var(--cds-global-typography-ascender-height,.1703em) - var(--cds-global-typography-x-height,.517em)) + calc((var(--cds-global-typography-display-line-height,1.1em) - 1em)/ 2))*-1) - .044em)}[cds-text*=title]{font-size:var(--cds-global-typography-title-font-size,calc(24 * 1rem / var(--cds-global-base,20)));font-weight:var(--cds-global-typography-title-font-weight,500);line-height:var(--cds-global-typography-title-line-height,1.333333em);letter-spacing:var(--cds-global-typography-title-letter-spacing,-.00833333em)}[cds-text*=title]::before{content:"";display:block;height:0;width:0;margin-bottom:calc(((var(--cds-global-typography-top-gap-height,.1475em) + calc((var(--cds-global-typography-title-line-height,1.333333em) - 1em)/ 2))*-1) + .037em)}[cds-text*=title]::after{content:"";display:block;height:0;width:0;margin-top:calc((((1em - var(--cds-global-typography-top-gap-height,.1475em) - var(--cds-global-typography-ascender-height,.1703em) - var(--cds-global-typography-x-height,.517em)) + calc((var(--cds-global-typography-title-line-height,1.333333em) - 1em)/ 2))*-1) - .044em)}[cds-text*=section]{font-size:var(--cds-global-typography-section-font-size,calc(20 * 1rem / var(--cds-global-base,20)));font-weight:var(--cds-global-typography-section-font-weight,500);line-height:var(--cds-global-typography-section-line-height,1.2em);letter-spacing:var(--cds-global-typography-section-letter-spacing,-.01em)}[cds-text*=section]::before{content:"";display:block;height:0;width:0;margin-bottom:calc(((var(--cds-global-typography-top-gap-height,.1475em) + calc((var(--cds-global-typography-section-line-height,1.2em) - 1em)/ 2))*-1) + .037em)}[cds-text*=section]::after{content:"";display:block;height:0;width:0;margin-top:calc((((1em - var(--cds-global-typography-top-gap-height,.1475em) - var(--cds-global-typography-ascender-height,.1703em) - var(--cds-global-typography-x-height,.517em)) + calc((var(--cds-global-typography-section-line-height,1.2em) - 1em)/ 2))*-1) - .044em)}[cds-text*=subsection]{font-size:var(--cds-global-typography-subsection-font-size,calc(16 * 1rem / var(--cds-global-base,20)));font-weight:var(--cds-global-typography-subsection-font-weight,500);line-height:var(--cds-global-typography-subsection-line-height,1.5em);letter-spacing:var(--cds-global-typography-subsection-letter-spacing,-.0125em)}[cds-text*=subsection]::before{content:"";display:block;height:0;width:0;margin-bottom:calc(((var(--cds-global-typography-top-gap-height,.1475em) + calc((var(--cds-global-typography-subsection-line-height,1.5em) - 1em)/ 2))*-1) + .037em)}[cds-text*=subsection]::after{content:"";display:block;height:0;width:0;margin-top:calc((((1em - var(--cds-global-typography-top-gap-height,.1475em) - var(--cds-global-typography-ascender-height,.1703em) - var(--cds-global-typography-x-height,.517em)) + calc((var(--cds-global-typography-subsection-line-height,1.5em) - 1em)/ 2))*-1) - .044em)}[cds-text*=body]{font-weight:var(--cds-global-typography-body-font-weight,400);font-size:var(--cds-global-typography-body-font-size,calc(14 * 1rem / var(--cds-global-base,20)));letter-spacing:var(--cds-global-typography-body-letter-spacing,-.00714286em);line-height:var(--cds-global-typography-body-line-height,1.4285714em)}[cds-text*=body]::before{content:"";display:block;height:0;width:0;margin-bottom:calc(((var(--cds-global-typography-top-gap-height,.1475em) + calc((var(--cds-global-typography-body-line-height,1.4285714em) - 1em)/ 2))*-1) + .1em)}[cds-text*=body]::after{content:"";display:block;height:0;width:0;margin-top:calc((((1em - var(--cds-global-typography-top-gap-height,.1475em) - var(--cds-global-typography-ascender-height,.1703em) - var(--cds-global-typography-x-height,.517em)) + calc((var(--cds-global-typography-body-line-height,1.4285714em) - 1em)/ 2))*-1) - .044em)}body[cds-text*=body]::after,body[cds-text*=body]::before{content:none}[cds-text*=message]{font-size:var(--cds-global-typography-message-font-size,calc(16 * 1rem / var(--cds-global-base,20)));
12font-weight:var(--cds-global-typography-message-font-weight,calc(400 * 1rem / var(--cds-global-base,20)));line-height:var(--cds-global-typography-message-line-height,1.5em);letter-spacing:var(--cds-global-typography-message-letter-spacing,-.0125em)}[cds-text*=message]::before{content:"";display:block;height:0;width:0;margin-bottom:calc(((var(--cds-global-typography-top-gap-height,.1475em) + calc((var(--cds-global-typography-message-line-height,1.5em) - 1em)/ 2))*-1) + .037em)}[cds-text*=message]::after{content:"";display:block;height:0;width:0;margin-top:calc((((1em - var(--cds-global-typography-top-gap-height,.1475em) - var(--cds-global-typography-ascender-height,.1703em) - var(--cds-global-typography-x-height,.517em)) + calc((var(--cds-global-typography-message-line-height,1.5em) - 1em)/ 2))*-1) - .044em)}[cds-text*=secondary]{font-size:var(--cds-global-typography-secondary-font-size,calc(13 * 1rem / var(--cds-global-base,20)));font-weight:var(--cds-global-typography-secondary-font-weight,400);line-height:var(--cds-global-typography-secondary-line-height,1.23077em);letter-spacing:var(--cds-global-typography-secondary-letter-spacing,-.007692em)}[cds-text*=secondary]::before{content:"";display:block;height:0;width:0;margin-bottom:calc(((var(--cds-global-typography-top-gap-height,.1475em) + calc((var(--cds-global-typography-secondary-line-height,1.23077em) - 1em)/ 2))*-1) + .037em)}[cds-text*=secondary]::after{content:"";display:block;height:0;width:0;margin-top:calc((((1em - var(--cds-global-typography-top-gap-height,.1475em) - var(--cds-global-typography-ascender-height,.1703em) - var(--cds-global-typography-x-height,.517em)) + calc((var(--cds-global-typography-secondary-line-height,1.23077em) - 1em)/ 2))*-1) - .044em)}[cds-text~=link]{color:var(--cds-global-typography-link-color,var(--cds-global-color-blue-700,#0079ad))!important;text-decoration:underline!important;line-height:inherit!important;font-size:inherit!important}[cds-text~=link]:focus{outline:var(--cds-alias-object-interaction-outline,Highlight solid 2px);outline-offset:var(--cds-alias-object-interaction-outline-offset,1px)}[cds-text~=link]:hover{color:var(--cds-global-typography-link-color-hover,var(--cds-global-color-blue-800,#00608a))!important}[cds-text~=link]:visited:not([cds-text~=static]){color:var(--cds-global-typography-link-color-visited,var(--cds-global-color-violet-700,#7c12a5))!important}[cds-text~=link]:visited:not([cds-text~=static]):hover{color:var(--cds-global-typography-link-color-visited-hover,var(--cds-global-color-violet-1000,#320047))!important}@media (-webkit-min-device-pixel-ratio:0){[cds-text=link]:focus{outline:var(--cds-alias-object-interaction-outline-webkit,5px auto -webkit-focus-ring-color)}}[cds-text~=code]{color:var(--cds-alias-status-danger,var(--cds-global-color-red-700,#e02200));font-family:monospace}[cds-divider]{display:block;height:var(--cds-alias-object-border-width-100,calc(1 * 1rem / var(--cds-global-base,20)));overflow:hidden;box-shadow:var(--cds-alias-object-border-color,var(--cds-global-color-construction-200,#cbd4d8)) 0 0 0 var(--cds-alias-object-border-width-100,calc(1 * 1rem / var(--cds-global-base,20))) inset}[cds-text~=light]{font-weight:var(--cds-global-typography-font-weight-light,300)!important}[cds-text~=justify]{text-align:justify!important}[cds-text~=left]{text-align:left!important}[cds-text~=right]{text-align:right!important}[cds-text~=center]{text-align:center!important}[cds-text~=lhe]{padding:.05px 0}[cds-text~=lhe]::before{content:"";margin-top:-.124em;display:block;height:0}[cds-text~=lhe]::after{content:"";margin-bottom:-.221em;display:block;height:0}[cds-text*=h2],[cds-text*=h3]{font-family:var(--cds-global-typography-header-font-family, "Clarity City", "Avenir Next", sans-serif);font-size:1.4rem;font-weight:200;color:var(--cds-global-typography-color-400);line-height:1.7143em;letter-spacing:-.017857em}[cds-text*=h2]::before{content:"";display:block;height:0;width:0;margin-bottom:calc(((var(--cds-global-typography-top-gap-height,.1475em) + calc((1.7143em - 1em)/ 2))*-1) + .037em)}[cds-text*=h2]::after{content:"";display:block;height:0;width:0;margin-top:calc((((1em - var(--cds-global-typography-top-gap-height,.1475em) - var(--cds-global-typography-ascender-height,.1703em) - var(--cds-global-typography-x-height,.517em)) + calc((1.7143em - 1em)/ 2))*-1) - .044em)}[cds-text*=h3]{font-size:1.1rem;line-height:1.0909em;letter-spacing:-.013636em}[cds-text*=h3]::before{content:"";display:block;height:0;width:0;margin-bottom:calc(((var(--cds-global-typography-top-gap-height,.1475em) + calc((1.0909em - 1em)/ 2))*-1) + .037em)}[cds-text*=h3]::after{content:"";display:block;height:0;width:0;margin-top:calc((((1em - var(--cds-global-typography-top-gap-height,.1475em) - var(--cds-global-typography-ascender-height,.1703em) - var(--cds-global-typography-x-height,.517em)) + calc((1.0909em - 1em)/ 2))*-1) - .044em)}:host{all:initial;display:block;visibility:inherit;font-family:var(--cds-global-typography-font-family, "Clarity City", "Avenir Next", sans-serif);contain:layout;box-sizing:border-box!important;-webkit-appearance:none!important}*,:after,:before{box-sizing:inherit!important}slot{font-family:var(--cds-global-typography-font-family, "Clarity City", "Avenir Next", sans-serif);display:contents!important}::slotted(*){font-family:inherit;box-sizing:inherit}::slotted(*)::placeholder{color:var(--cds-global-typography-color-200,var(--cds-global-color-construction-600,#4f6169))}:host([_is-anchor]),:host([role=button]){cursor:pointer!important}:host([_is-anchor]) ::slotted(*),:host([role=button]) ::slotted(*){cursor:pointer!important}:host([role=button][disabled]){cursor:not-allowed!important}:host([role=button][disabled]) ::slotted(*){cursor:not-allowed!important;pointer-events:none}:host([hidden]),[hidden]{display:none!important}:host([hidden*=false]){display:block!important}:host([role=dialog][hidden]),:host([role=dialog][hidden]) ::slotted(*){display:block!important;visibility:hidden!important}:host([role=dialog][hidden*=false]),:host([role=dialog][hidden*=false]) ::slotted(*){visibility:visible!important}:host([_focused]) .input,:host([_focused]) [focusable],:host([tabindex="0"]:focus),:host([tabindex="0"]:focus) [focusable],[tabindex="0"][focusable]:focus{outline:Highlight solid 2px;outline:5px auto -webkit-focus-ring-color;outline-offset:var(--cds-alias-object-interaction-outline-offset,1px)}`;var X$=(e,n)=>n.kind==="method"&&n.descriptor&&!("value"in n.descriptor)?U(k({},n),{finisher(t){t.createProperty(n.key,e)}}):{kind:"field",key:Symbol(),placement:"own",descriptor:{},originalKey:n.key,initializer(){typeof n.initializer=="function"&&(this[n.key]=n.initializer.call(this))},finisher(t){t.createProperty(n.key,e)}},J$=(e,n,t)=>{n.constructor.createProperty(t,e)};function ww(e){return(n,t)=>t!==void 0?J$(e,n,t):X$(e,n)}function ss(e){return e!=null&&typeof e=="object"&&e["@@functional/placeholder"]===!0}function Tr(e){return function n(t){return arguments.length===0||ss(t)?n:e.apply(this,arguments)}}
12function Uo(e){return function n(t,i){switch(arguments.length){case 0:return n;case 1:return ss(t)?n:Tr(function(r){return e(t,r)});default:return ss(t)&&ss(i)?n:ss(t)?Tr(function(r){return e(r,i)}):ss(i)?Tr(function(r){return e(t,r)}):e(t,i)}}}var eW=Uo(function(n,t){return t instanceof n||t!=null&&(t.constructor===n||n.name==="Object"&&typeof t=="object")}),xw=eW;function Zl(e,n){return Object.prototype.hasOwnProperty.call(n,e)}var L9=Object.prototype.toString,tW=(function(){return L9.call(arguments)==="[object Arguments]"?function(n){return L9.call(n)==="[object Arguments]"}:function(n){return Zl("callee",n)}})(),d_=tW;var F9=Array.isArray||function(n){return n!=null&&n.length>=0&&Object.prototype.toString.call(n)==="[object Array]"};function Dw(e){return Object.prototype.toString.call(e)==="[object Object]"}function ng(e){return Object.prototype.toString.call(e)==="[object String]"}function Tw(e){var n=Object.prototype.toString.call(e);return n==="[object Uint8ClampedArray]"||n==="[object Int8Array]"||n==="[object Uint8Array]"||n==="[object Int16Array]"||n==="[object Uint16Array]"||n==="[object Int32Array]"||n==="[object Uint32Array]"||n==="[object Float32Array]"||n==="[object Float64Array]"||n==="[object BigInt64Array]"||n==="[object BigUint64Array]"}var nW=Tr(function(n){return n!=null&&typeof n["fantasy-land/empty"]=="function"?n["fantasy-land/empty"]():n!=null&&n.constructor!=null&&typeof n.constructor["fantasy-land/empty"]=="function"?n.constructor["fantasy-land/empty"]():n!=null&&typeof n.empty=="function"?n.empty():n!=null&&n.constructor!=null&&typeof n.constructor.empty=="function"?n.constructor.empty():F9(n)?[]:ng(n)?"":Dw(n)?{}:d_(n)?(function(){return arguments})():Tw(n)?n.constructor.from(""):void 0}),V9=nW;function u_(e){for(var n=[],t;!(t=e.next()).done;)n.push(t.value);return n}function h_(e,n,t){for(var i=0,r=t.length;i<r;){if(e(n,t[i]))return!0;i+=1}return!1}function Mw(e){var n=String(e).match(/^function (\w*)/);return n==null?"":n[1]}function iW(e,n){return e===n?e!==0||1/e===1/n:e!==e&&n!==n}var p_=typeof Object.is=="function"?Object.is:iW;var rW=!{toString:null}.propertyIsEnumerable("toString"),U9=["constructor","valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"],H9=(function(){"use strict";return arguments.propertyIsEnumerable("length")})(),oW=function(n,t){for(var i=0;i<n.length;){if(n[i]===t)return!0;i+=1}return!1},sW=typeof Object.keys=="function"&&!H9?Tr(function(n){return Object(n)!==n?[]:Object.keys(n)}):Tr(function(n){if(Object(n)!==n)return[];var t,i,r=[],o=H9&&d_(n);for(t in n)Zl(t,n)&&(!o||t!=="length")&&(r[r.length]=t);if(rW)for(i=U9.length-1;i>=0;)t=U9[i],Zl(t,n)&&!oW(r,t)&&(r[r.length]=t),i-=1;return r}),Aw=sW;var aW=Tr(function(n){return n===null?"Null":n===void 0?"Undefined":Object.prototype.toString.call(n).slice(8,-1)}),Ow=aW;function B9(e,n,t,i){var r=u_(e),o=u_(n);function l(p,C){return ig(p,C,t.slice(),i.slice())}return!h_(function(p,C){return!h_(l,C,p)},o,r)}function ig(e,n,t,i){if(p_(e,n))return!0;var r=Ow(e);if(r!==Ow(n))return!1;if(typeof e["fantasy-land/equals"]=="function"||typeof n["fantasy-land/equals"]=="function")return typeof e["fantasy-land/equals"]=="function"&&e["fantasy-land/equals"](n)&&typeof n["fantasy-land/equals"]=="function"&&n["fantasy-land/equals"](e);if(typeof e.equals=="function"||typeof n.equals=="function")return typeof e.equals=="function"&&e.equals(n)&&typeof n.equals=="function"&&n.equals(e);switch(r){case"Arguments":case"Array":case"Object":if(typeof e.constructor=="function"&&Mw(e.constructor)==="Promise")return e===n;break;case"Boolean":case"Number":case"String":if(!(typeof e==typeof n&&p_(e.valueOf(),n.valueOf())))return!1;break;case"Date":if(!p_(e.valueOf(),n.valueOf()))return!1;break;case"Error":return e.name===n.name&&e.message===n.message;case"RegExp":if(!(e.source===n.source&&e.global===n.global&&e.ignoreCase===n.ignoreCase&&e.multiline===n.multiline&&e.sticky===n.sticky&&e.unicode===n.unicode))return!1;break}for(var o=t.length-1;o>=0;){if(t[o]===e)return i[o]===n;o-=1}switch(r){case"Map":return e.size!==n.size?!1:B9(e.entries(),n.entries(),t.concat([e]),i.concat([n]));case"Set":return e.size!==n.size?!1:B9(e.values(),n.values(),t.concat([e]),i.concat([n]));case"Arguments":case"Array":case"Object":case"Boolean":case"Number":case"String":case"Date":case"Error":case"RegExp":case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Int32Array":case"Uint32Array":case"Float32Array":case"Float64Array":case"ArrayBuffer":break;default:return!1}var l=Aw(e);if(l.length!==Aw(n).length)return!1;var p=t.concat([e]),C=i.concat([n]);for(o=l.length-1;o>=0;){var w=l[o];if(!(Zl(w,n)&&ig(n[w],e[w],p,C)))return!1;o-=1}return!0}var lW=Uo(function(n,t){return ig(n,t,[],[])}),j9=lW;var cW=Tr(function(n){return n!=null&&j9(n,V9(n))}),Rw=cW;function sd(e){return e==null}function ad(e){return sd(e)||Rw(e)}function f_(e){return xw(String,e)}function Pw(e){return f_(e)&&!Rw(e.trim())&&+e==+e}function z9(e){return xw(String,e)||sd(e)}function kw(e,n){return e!==n}function Nw(e,n){return z9(e)&&kw(e,n)}function Lw(e,n){return!ad(e)&&kw(e,n)}function pa(e){return e.replace(/[A-Z]/g,n=>"-"+n.toLowerCase())}function G9(e){return e.split("-").map((n,t)=>t?n.charAt(0).toUpperCase()+n.slice(1).toLowerCase():n).join("")}function Fw(e){return g_(G9(e))}function g_(e){return e.charAt(0).toUpperCase()+e.slice(1)}function Vw(e,n,t=""){let i=e.split(" "),r=t===""?i.filter(o=>o!==n):i.map(o=>o===n?t:o);return r.length>0?r.join(" "):""}function rg(e,n){switch(e){case 0:return function(){return n.apply(this,arguments)};case 1:return function(t){return n.apply(this,arguments)};case 2:return function(t,i){return n.apply(this,arguments)};case 3:return function(t,i,r){return n.apply(this,arguments)};case 4:return function(t,i,r,o){return n.apply(this,arguments)};case 5:return function(t,i,r,o,l){return n.apply(this,arguments)};case 6:return function(t,i,r,o,l,p){return n.apply(this,arguments)};case 7:return function(t,i,r,o,l,p,C){return n.apply(this,arguments)};case 8:return function(t,i,r,o,l,p,C,w){return n.apply(this,arguments)};case 9:return function(t,i,r,o,l,p,C,w,V){return n.apply(this,arguments)};case 10:return function(t,i,r,o,l,p,C,w,V,j){return n.apply(this,arguments)};default:throw new Error("First argument to _arity must be a non-negative integer no greater than ten")}}function m_(e,n,t){return function(){for(var i=[],r=0,o=e,l=0,p=!1;l<n.length||r<arguments.length;
12){var C;l<n.length&&(!ss(n[l])||r>=arguments.length)?C=n[l]:(C=arguments[r],r+=1),i[l]=C,ss(C)?p=!0:o-=1,l+=1}return!p&&o<=0?t.apply(this,i):rg(Math.max(0,o),m_(e,i,t))}}var dW=Uo(function(n,t){return n===1?Tr(t):rg(n,m_(n,[],t))}),v_=dW;var $9=Number.isInteger||function(n){return n<<0===n};var uW=Uo(function(n,t){var i=n<0?t.length+n:n;return ng(t)?t.charAt(i):t[i]}),W9=uW;var hW=Uo(function(n,t){return n.map(function(i){for(var r=t,o=0,l;o<i.length;){if(r==null)return;l=i[o],r=$9(l)?W9(l,r):r[l],o+=1}return r})}),Y9=hW;var pW=Uo(function(n,t){return Y9([n],t)[0]}),q9=pW;var Q9={"@@functional/placeholder":!0};var fW=v_(2,(e,n)=>q9(e,n)!==void 0);function Z9(e,n){return n||(n=window&&window.customElements),!n||!!n.get(e)}var C_=fW(Q9,window);var Ns=class{static log(...n){Hw()&&Uw()&&console.log(...n)}static warn(...n){Hw()&&Uw()&&console.warn(...n)}static error(...n){Hw()&&Uw()&&console.error(...n)}};function Uw(){return!C_(["jasmine"])}function Hw(){return!window.CDS.environment.production}var __,K9,Bw,jw;function y_(e=!0){if(!e||!__){let n=document&&document.querySelector("[ng-version]");__=n?""+n.getAttribute("ng-version"):void 0}return __}function X9(e=!0){return e&&__||(K9=window?.angular?.version?.full),K9}function b_(e=!0){return e&&Bw||(Bw=window?.CDS?._react?.version?window.CDS._react.version:document.querySelector("[data-reactroot], [data-reactid]")?"unknown version":void 0),Bw}function S_(e=!0){if(!e||!jw){let n=document.querySelectorAll("*"),t;for(let i=0;i<n.length;i++)if(n[i].__vue__){t=n[i];break}jw=t?"unknown version":void 0}return jw}function J9(){return window?.location?.href?.includes("localhost:6006")}function zw(e,...n){return n.forEach(([t,i])=>{e.style[t]=i}),e}function Gw(e,...n){return n.forEach(t=>{e.style[t]=""}),e}function Xu(e){return`calc((${e} / var(--cds-global-base)) * 1rem)`}var eR=["a[href]","area[href]","audio[controls]","button:not([disabled])",'input:not([type="hidden"]):not([disabled]):not([readonly])',"iframe","object","embed","select:not([disabled])","textarea:not([disabled])","video[controls]","*[contenteditable=true]","[role=button]:not
12([disabled])"],Bge=["*[tabindex]",...eR],jge=['*[tabindex]:not([tabindex="-1"])',...eR];function tR(e){return e!=null&&""+e!="false"}function $w(e,n){switch(n&&n.type){case Array:case Object:return k({reflect:!1},n);case String:return k({reflect:!0,attribute:pa(e),converter:{toAttribute:t=>t||null}},n);case Number:return k({reflect:!0,attribute:pa(e)},n);case Boolean:return k({reflect:!0,attribute:pa(e),converter:{toAttribute:t=>t?"":null,fromAttribute:t=>tR(t)}},n);case Date:return k({reflect:!1,converter:{fromAttribute:t=>new Date(t)}},n);default:return k({},n)}}function nR(e,n,t){let i=e.firstUpdated;e.firstUpdated=function(r){if(t&&t.required&&ad(this[n])){let o=t.requiredMessage||(function(l="warning",p,C){let w=C.toLocaleLowerCase();return`${g_(l)}: ${p} is required to use ${w} component. Set the JS Property or HTML Attribute. 13 14`+(y_()?`Angular: <${w} [${p}]="..."></${w}> 15`:"")+(S_()?`Vue: <${w} :${p}="..."></${w}> 16`:"")+(b_()?`React: <${Fw(w)} ${(function(V){return V.startsWith("aria")?pa(V):V})(p)}={...} /> 17`:"")+`HTML: <${w} ${pa(p)}="..."></${w}> 18JavaScript: document.querySelector('${w}').${p} = '...'; 19 20`})(t.required,n,this.tagName);if(t.required==="error")throw Error(o);Ns.warn(o,this)}i&&i.call(this,r)}}function fa(e){return(n,t)=>(e?.required&&nR(n,t,e),ww($w(t,e))(n,t))}function Ww(e){return(n,t)=>{let i=$w(t,e);return i&&(i.reflect=!!e?.reflect&&e.reflect,i.reflect&&!e?.attribute&&(i.attribute="_"+pa(t))),ww(i)(n,t)}}function I_(e=window){return!sd(e)}var iR=new class{constructor(){if(this.supports={js:!0},!document.body.hasAttribute("cds-supports")||document.body.getAttribute("cds-supports")==="no-js"){let e=pa(Object.keys(this.supports).reduce((n,t)=>`${n} ${this.supports[t]?t:"no-"+t}`,"")).trim();document.body.setAttribute("cds-supports",e)}}};function E_(){I_()&&(window.CDS=window.CDS||{_version:[],_react:{version:void 0},_supports:iR.supports,_isStateProxied:!1,_state:{focusTrapItems:[],layerElements:[],i18nRegistry:{},elementRegistry:{},iconRegistry:{},motionRegistry:{}},environment:{production:!1},getDetails:rR,logDetails:gW},(function(){let e="6.17.0";window.CDS._version.indexOf(e)<0&&(window.CDS._version.push(e),document.querySelector("body")?.setAttribute("cds-version",window.CDS._version.join(" "))),window.CDS._version.length>1&&Ns.warn("Running more than one version of Clarity can cause unexpected issues. Please ensure only one version is loaded.")})(),window.CDS._isStateProxied||(window.CDS._isStateProxied=!0,window.CDS._state=new Proxy(window.CDS._state,{set:(e,n,t)=>{let i={key:n,prev:window.CDS._state[n],current:t};return e[n]=t,document.dispatchEvent(new CustomEvent("CDS_STATE_UPDATE",{detail:i})),!0}})))}function rR(){return{versions:window.CDS._version,environment:window.CDS.environment,userAgent:navigator.userAgent,supports:window.CDS._supports,angularVersion:y_(!1),angularJSVersion:X9(!1),reactVersion:b_(!1),vueVersion:S_(!1),state:U(k({},window.CDS._state),{iconRegistry:Object.keys(window.CDS._state.iconRegistry),motionRegistry:Object.keys(window.CDS._state.motionRegistry),focusTrapRegistry:Object.keys(window.CDS._state.focusTrapItems.map(e=>e.focusTrapId))})}}function gW(){Ns.log(JSON.stringify(rR(),null,2))}var mW=v_(3,(e,n,t)=>{Z9(e)&&!J9()?Ns.warn(e+" has already been registered"):(t.define(e,n),E_(),window&&!Object.keys(window.CDS._state.elementRegistry).some(i=>i===e)&&(window.CDS._state.elementRegistry=U(k({},window.CDS._state.elementRegistry),{[e]:{}})))});function Yw(e,n){I_()&&C_(["customElements"])&&mW(e,n,window.customElements)}var qw=class{constructor(n,t){this.fn=n,this.subscriptions=t}unsubscribe(){let n=this.subscriptions.indexOf(this);n!==-1&&this.subscriptions.splice(n,1)}},w_=class{constructor(){this.subscriptions=[]}subscribe(n){let t=new qw(n,this.subscriptions);return this.subscriptions.push(t),t}emit(n){this.subscriptions.forEach(t=>t.fn(n))}toEventObservable(){return this}};var Qw=new w_;Qw.listener=document.addEventListener("CDS_STATE_UPDATE",e=>Qw.emit(e.detail));var as=class e{static get state(){return E_(),window.CDS._state}static getValue(n){return e.state[n]}static setValue(n,t){e.state[n]=t}static log(){Ns.log(JSON.stringify(e.state,null,2))}};as.stateUpdates=Qw.toEventObservable();function Zw(e){return["xxs","xs","sm","md","lg","xl","xxl"].indexOf(e)>-1}var oR=N9;var sR=({finisher:e,descriptor:n})=>(t,i)=>{var r;if(i===void 0){let o=(r=t.originalKey)!==null&&r!==void 0?r:t.key,l=n!=null?{kind:"method",placement:"prototype",key:o,descriptor:n(t.key)}:U(k({},t),{key:o});return e!=null&&(l.finisher=function(p){e(p,o)}),l}{let o=t.constructor;n!==void 0&&Object.defineProperty(t,i,n(i)),e?.(o,i)}};function aR(e,n){return sR({descriptor:t=>{let i={get(){var r,o;return(o=(r=this.renderRoot)===null||r===void 0?void 0:r.querySelector(e))!==null&&o!==void 0?o:null},enumerable:!0,configurable:!0};if(n){let r=typeof t=="symbol"?Symbol():"__"+t;i.get=function(){var o,l;return this[r]===void 0&&(this[r]=(l=(o=this.renderRoot)===null||o===void 0?void 0:o.querySelector(e))!==null&&l!==void 0?l:null),this[r]}}return i}})}var lR=Zf`@keyframes fadeInAndOut{0%,to{opacity:0}
2075%{opacity:1}}:host{--color:currentColor;display:inline-block;height:var(--cds-global-space-7,calc(16 * 1rem / var(--cds-global-base,20)));width:var(--cds-global-space-7,calc(16 * 1rem / var(--cds-global-base,20)));min-height:var(--cds-global-space-7,calc(16 * 1rem / var(--cds-global-base,20)));min-width:var(--cds-global-space-7,calc(16 * 1rem / var(--cds-global-base,20)));margin:0;vertical-align:middle;fill:var(--color);color:var(--color);contain:strict;cursor:inherit}svg{display:block}:host([size*=xs]){height:var(--cds-global-space-5,calc(8 * 1rem / var(--cds-global-base,20)));width:var(--cds-global-space-5,calc(8 * 1rem / var(--cds-global-base,20)));min-height:var(--cds-global-space-5,calc(8 * 1rem / var(--cds-global-base,20)));min-width:var(--cds-global-space-5,calc(8 * 1rem / var(--cds-global-base,20)))}:host([size*=sm]){height:var(--cds-global-space-7,calc(16 * 1rem / var(--cds-global-base,20)));width:var(--cds-global-space-7,calc(16 * 1rem / var(--cds-global-base,20)));min-height:var(--cds-global-space-7,calc(16 * 1rem / var(--cds-global-base,20)));min-width:var(--cds-global-space-7,calc(16 * 1rem / var(--cds-global-base,20)))}:host([size*=md]){height:var(--cds-global-space-9,calc(24 * 1rem / var(--cds-global-base,20)));width:var(--cds-global-space-9,calc(24 * 1rem / var(--cds-global-base,20)));min-height:var(--cds-global-space-9,calc(24 * 1rem / var(--cds-global-base,20)));min-width:var(--cds-global-space-9,calc(24 * 1rem / var(--cds-global-base,20)))}:host([size*=lg]){height:var(--cds-global-space-11,calc(36 * 1rem / var(--cds-global-base,20)));width:var(--cds-global-space-11,calc(36 * 1rem / var(--cds-global-base,20)));min-height:var(--cds-global-space-11,calc(36 * 1rem / var(--cds-global-base,20)));min-width:var(--cds-global-space-11,calc(36 * 1rem / var(--cds-global-base,20)))}:host([size*=xl]){height:var(--cds-global-space-12,calc(48 * 1rem / var(--cds-global-base,20)));width:var(--cds-global-space-12,calc(48 * 1rem / var(--cds-global-base,20)));min-height:var(--cds-global-space-12,calc(48 * 1rem / var(--cds-global-base,20)));min-width:var(--cds-global-space-12,calc(48 * 1rem / var(--cds-global-base,20)))}:host([size*=xxl]){height:calc(var(--cds-global-space-13,calc(64 * 1rem / var(--cds-global-base,20))) - var(--cds-global-space-5,calc(8 * 1rem / var(--cds-global-base,20))));width:calc(var(--cds-global-space-13,calc(64 * 1rem / var(--cds-global-base,20))) - var(--cds-global-space-5,calc(8 * 1rem / var(--cds-global-base,20))));min-height:calc(var(--cds-global-space-13,calc(64 * 1rem / var(--cds-global-base,20))) - var(--cds-global-space-5,calc(8 * 1rem / var(--cds-global-base,20))));min-width:calc(var(--cds-global-space-13,calc(64 * 1rem / var(--cds-global-base,20))) - var(--cds-global-space-5,calc(8 * 1rem / var(--cds-global-base,20))))}:host([size*=fit]){height:auto;width:auto;contain:layout}:host([status=success]){--color:var(--cds-alias-status-success, var(--cds-global-color-green-700, #42810e))}:host([status=danger]){--color:var(--cds-alias-status-danger, var(--cds-global-color-red-700, #e02200))}:host([status=warning]){--color:var(--cds-alias-status-warning-dark, var(--cds-global-color-ochre-800, #a36500))}:host([status=info]){--color:var(--cds-alias-status-info, var(--cds-global-color-blue-700, #0079ad))}:host([status=neutral]){--color:var(--cds-alias-status-neutral, var(--cds-global-color-construction-600, #4f6169))}:host([inverse]){--color:var(--cds-global-color-construction-200, #cbd4d8)}:host([direction=up]){transform:rotate(0)}:host([direction=down]){transform:rotate(180deg)}:host([direction=right]){transform:rotate(90deg)}:host([direction=left]){transform:rotate(270deg)}:host([flip=horizontal]){transform:scale(-1) rotateX(180deg)}:host([flip=vertical]){transform:scale(-1) rotateY(180deg)}.alert,.badge{fill:var(--badge-color,var(--cds-alias-status-danger,var(--cds-global-color-red-700,#e02200)))}:host([badge=success]){--badge-color:var(--cds-alias-status-success, var(--cds-global-color-green-700, #42810e))}:host([badge=danger]){--badge-color:var(--cds-alias-status-danger, var(--cds-global-color-red-700, #e02200))}:host([badge*=warning]){--badge-color:var(--cds-alias-status-warning-dark, var(--cds-global-color-ochre-800, #a36500))}:host([badge=inherit]){--badge-color:currentColor}
20:host([badge=info]){--badge-color:var(--cds-alias-status-info, var(--cds-global-color-blue-700, #0079ad))}:host([badge=neutral]){--badge-color:var(--cds-alias-status-neutral, var(--cds-global-color-construction-600, #4f6169))}:host([badge=inherit-triangle]){--badge-color:currentColor}:host([badge][inverse]){--badge-color:var(--cds-alias-status-danger, var(--cds-global-color-red-700, #e02200))}:host([badge=success][inverse]){--badge-color:var(--cds-alias-status-success, var(--cds-global-color-green-700, #42810e))}:host([badge*=warning][inverse]){--badge-color:var(--cds-alias-status-warning-dark, var(--cds-global-color-ochre-800, #a36500))}:host([badge*=inherit][inverse]){--badge-color:currentColor}:host([badge=info][inverse]){--badge-color:var(--cds-alias-status-info, var(--cds-global-color-blue-700, #0079ad))}.cds-internal-dot-1{animation:fadeInAndOut 1.8s ease-in 0s infinite}.cds-internal-dot-2{animation:fadeInAndOut 1.8s ease-out .422s infinite}.cds-internal-dot-3{animation:fadeInAndOut 1.8s ease-out .675s infinite}@media (prefers-reduced-motion){.cds-internal-dot-1,.cds-internal-dot-2,.cds-internal-dot-3{animation:none}}`;var cR=["unknown",{outline:'<circle class="cds-internal-dot-3" cx="31.1" cy="18" r="2.9"/><circle class="cds-internal-dot-2" cx="18" cy="18" r="2.9"/><circle class="cds-internal-dot-1" cx="4.9" cy="18" r="2.9"/>'}];var Le=class e{static get registry(){return k({unknown:cR[1]},as.state.iconRegistry)}static addIcons(...n){as.state.iconRegistry=k(k({},as.state.iconRegistry),Object.fromEntries(n.filter(([t])=>!e.registry[t])))}static addAliases(...n){let t=n.filter(([i])=>e.registry[i]).flatMap(([i,r])=>r.map(o=>[o,e.registry[i]]));as.state.iconRegistry=k(k({},as.state.iconRegistry),Object.fromEntries(t))}static getIconNameFromShape(n){return n[0]}};var ga;function vW(e){switch(!0){case ad(e):return ga.NilSizeValue;case Zw(e):return ga.ValidSizeString;case Pw(e):return ga.ValidNumericString;default:return ga.BadSizeValue}}function CW(e){return ad(e)?"":Vw(e,"fit")}function _W(e,n){return!sd(e)&&e.indexOf("fit")>-1?[["width","auto"],["height","auto"],["min-width",n],["min-height",n]]:[["width",n],["height",n],["min-width",n],["min-height",n]]}function dR(e,n){let t="";switch(vW(CW(n))){case ga.ValidNumericString:return t=Xu(parseInt(n)),void zw(e,..._W(n,t));case ga.ValidSizeString:case ga.NilSizeValue:return void Gw(e,"width","height","min-width","min-height");case ga.BadSizeValue:default:return}}(function(e){e.BadSizeValue="bad-value",e.ValidSizeString="value-is-string",e.ValidNumericString="value-is-numeric",e.NilSizeValue="value-is-nil"})(ga||(ga={}));function Kw(e){return e.badge&&(e.badge==="inherit-triangle"||e.badge==="warning-triangle")}function uR(e){let n="";return e.badge&&Kw(e)?n='<path d="M26.85 1.14L21.13 11a1.28 1.28 0 001.1 2h11.45a1.28 1.28 0 001.1-2l-5.72-9.86a1.28 1.28 0 00-2.21 0z" class="alert" />':e.badge&&(n='<circle cx="30" cy="6" r="5" class="badge" />'),n}function hR(e){let n=Le.registry[e.shape]??Le.registry.unknown,t=e.solid&&n.solid?n.solid:n.outline;return e.badge&&!Kw(e)&&(t=e.solid?n.solidBadged??t:n.outlineBadged??t),Kw(e)&&(t=e.solid?n.solidAlerted??t:n.outlineAlerted??t),t}var mo=class extends Ql{constructor(){super(...arguments),this._shape="unknown",this.solid=!1,this.inverse=!1}static get styles(){return[oR,lR]}get shape(){return this._shape}set shape(n){if(Lw(n,this._shape)){let t=this._shape;this._shape=n,this.requestUpdate("shape",t)}}get size(){return this._size}set size(n){if(Nw(n,this._size)){let t=this._size;this._size=n,dR(this,n),this.requestUpdate("size",t)}}updated(n){if(n.has("innerOffset")&&this.innerOffset>0){let t=Xu(-1*this.innerOffset),i=`calc(100% + ${Xu(2*this.innerOffset)})`;this.svg.style.width=i,this.svg.style.height=i,this.svg.style.margin=`${t} 0 0 ${t}`}}firstUpdated(n){if(super.firstUpdated(n),this.isConnected){let t="unknown";this.subscription=as.stateUpdates.subscribe(i=>{i.key==="iconRegistry"&&Le.registry[this.shape]&&t!==this.shape&&(t=this.shape,this.requestUpdate("shape"))})}}disconnectedCallback(){super.disconnectedCallback(),this.subscription?.unsubscribe()}render(){return f_(Le.registry[this.shape])?A9`<span .innerHTML="${Le.registry[this.shape]}"></span>`:O9`<svg .innerHTML="${hR(this)+uR(this)}" viewBox="0 0 36 36" xmlns="http://www.w3.org/2000/svg" aria-hidden="true"></svg>`}};vs([fa({type:String})],mo.prototype,"shape",null),vs([fa({type:String})],mo.prototype,"size",null),vs([fa({type:String})],mo.prototype,"direction",void 0),vs([fa({type:String})],mo.prototype,"flip",void 0),vs([fa({type:Boolean})],mo.prototype,"solid",void 0),vs([fa({type:String})],mo.prototype,"status",void 0),vs([fa({type:Boolean})],mo.prototype,"inverse",void 0),vs([fa({type:String})],mo.prototype,"badge",void 0),vs([Ww({type:Number})],mo.prototype,"innerOffset",void 0),vs([aR("svg")],mo.prototype,"svg",void 0);var ma=["angle",{outline:'<path d="M29.52,22.52,18,10.6,6.48,22.52a1.7,1.7,0,0,0,2.45,2.36L18,15.49l9.08,9.39a1.7,1.7,0,0,0,2.45-2.36Z"/>'}];var x_=["angle-double",{outline:'<path d="M28.3491 17.8996C28.5384 18.0837 28.7945 18.1863 29.061 18.1848C29.464 18.1831 29.8268 17.9451 29.9821 17.5805C30.1374 17.2158 30.055 16.7955 29.7729 16.5133L18.0318 5L6.30067 16.5133C5.95999 16.9034 5.98289 17.4849 6.35325 17.8481C6.7236 18.2112 7.3166 18.2337 7.71442 17.8996L18.0318 7.78246L28.3491 17.8996Z"/><path d="M28.3491 28.7149C28.5384 28.8989 28.7945 29.0015 29.061 29C29.464 28.9984 29.8268 28.7603 29.9821 28.3957C30.1374 28.0311 30.055 27.6107 29.7729 27.3285L18.0318 15.8152L6.30067 27.3285C5.95999 27.7186 5.98289 28.3001 6.35325 28.6633C6.7236 29.0265 7.3166 29.0489 7.71442 28.7149L18.0318 18.5977L28.3491 28.7149Z"/>'}];var og=["arrow",{outline:'<path d="M27.6504 15.6341L17.9951 6L8.33981 15.6341C8.02869 15.8717 7.88432 16.2695 7.9703 16.6521C8.05629 17.0347 8.35685 17.3319 8.73952 17.4127C9.12219 17.4935 9.51667 17.343 9.74912 17.0276L16.9956 9.81955V28.9975C16.9956 29.5512 17.4431 30 17.9951 30C18.5471 30 18.9946 29.5512 18.9946 28.9975V9.81955L26.2411 17.0276C26.633 17.4179 27.2662 17.4157 27.6554 17.0226C28.0445 16.6295 28.0423 15.9943 27.6504 15.604V15.6341Z"/>'}];var Xw=["bars",{outline:'<path d="M32 9H4C3.44772 9 3 8.55228 3 8C3 7.44772 3.44772 7 4 7H32C32.5523 7 33 7.44772 33 8C33 8.55228 32.5523 9 32 9Z"/><path d="M32 19H4C3.44772 19 3 18.5523 3 18C3 17.4477 3.44772 17 4 17H32C32.5523 17 33 17.4477 33 18C33 18.5523 32.5523 19 32 19Z"/><path d="M4 29H32C32.5523 29 33 28.5523 33 28C33 27.4477 32.5523 27 32 27H4C3.44772 27 3 27.4477 3 28C3 28.5523 3.44772 29 4 29Z"/>'}];var Jw=["calendar",{outline:'<path d="M22 20H20V22H22V20ZM20 26H22V24H20V26ZM28 24H26V26H28V24ZM28 20H26V22H28V20ZM27 12C27.55 12 28 11.55 28 11V5C28 4.45 27.55 4 27 4C26.45 4 26 4.45 26 5V11C26 11.55 26.45 12 27 12ZM22 16H20V18H22V16ZM28 16H26V18H28V16ZM24 8H12V10H24V8ZM10 16H8V18H10V16ZM10 20H8V22H10V20ZM10 24H8V26H10V24ZM33.5 8.54C33.17 8.2 32.72 8.01 32.25 8H30V10H32V30H4V10H6V8H3.75C3.28 8 2.83 8.2 2.5 8.54C2.17 8.88 2 9.34 2 9.81V30.19C2 30.66 2.17 31.12 2.5 31.46C2.83 31.8 3.28 31.99 3.75 32H32.25C32.72 32 33.17 31.8 33.5 31.46C33.83 31.12 34.01 30.66 34 30.19V9.81C34 9.34 33.83 8.88 33.5 8.54ZM14 26H16V24H14V26ZM16 20H14V22H16V20ZM16 16H14V18H16V16ZM9 12C9.55 12 10 11.55 10 11V5C10 4.45 9.55 4 9 4C8.45 4 8 4.45 8 5V11C8 11.55 8.45 12 9 12Z"/>',outlineAlerted:'<path d="M26.9039 1.64621L21.2222 11.1159C20.9526 11.4984 20.9281 11.9949 21.1588 12.4005C21.3896 12.806 21.8363
2013.0519 22.3148 13.0367H33.6881C34.1666 13.0519 34.6134 12.806 34.8441 12.4005C35.0748 11.9949 35.0503 11.4984 34.7808 11.1159L29.0991 1.64621C28.8711 1.26913 28.4532 1.03735 28.0015 1.03735C27.5497 1.03735 27.1319 1.26913 26.9039 1.64621Z"/><path d="M32 15.0367H33.6637C33.7763 15.0389 33.8886 15.0354 34 15.0263V30.19C34.01 30.66 33.83 31.12 33.5 31.46C33.17 31.8 32.72 32 32.25 32H3.75C3.28 31.99 2.83 31.8 2.5 31.46C2.17 31.12 2 30.66 2 30.19V9.81C2 9.34 2.17 8.88 2.5 8.54C2.83 8.2 3.28 8 3.75 8H6V10H4V30H32V15.0367Z"/><path d="M20.7594 8L19.5594 10H12V8H20.7594Z"/><path d="M20 20H22V22H20V20Z"/><path d="M22 26H20V24H22V26Z"/><path d="M26 26V24H28V26H26Z"/><path d="M26 22V20H28V22H26Z"/><path d="M20 16H22V18H20V16Z"/><path d="M26 18V16H28V18H26Z"/><path d="M8 16H10V18H8V16Z"/><path d="M8 20H10V22H8V20Z"/><path d="M8 24H10V26H8V24Z"/><path d="M16 26H14V24H16V26Z"/><path d="M14 20H16V22H14V20Z"/><path d="M14 16H16V18H14V16Z"/><path d="M10 11C10 11.55 9.55 12 9 12C8.45 12 8 11.55 8 11V5C8 4.45 8.45 4 9 4C9.55 4 10 4.45 10 5V11Z"/>',outlineBadged:'<path d="M30 11C32.7614 11 35 8.76142 35 6C35 3.23858 32.7614 1 30 1C27.2386 1 25 3.23858 25 6C25 8.76142 27.2386 11 30 11Z"/><path d="M23.2899 8C23.4594 8.56963 23.6995 9.10887 24 9.60759V10H12V8H23.2899Z"/><path d="M34 11.7453C33.396 12.1666 32.7224 12.4951 32 12.7101V30H4V10H6V8H3.75C3.28 8 2.83 8.2 2.5 8.54C2.17 8.88 2 9.34 2 9.81V30.19C2 30.66 2.17 31.12 2.5 31.46C2.83 31.8 3.28 31.99 3.75 32H32.25C32.72 32 33.17 31.8 33.5 31.46C33.83 31.12 34.01 30.66 34 30.19V11.7453Z"/><path d="M20 20H22V22H20V20Z"/><path d="M22 26H20V24H22V26Z"/><path d="M26 26V24H28V26H26Z"/><path d="M26 22V20H28V22H26Z"/><path d="M20 16H22V18H20V16Z"/><path d="M26 18V16H28V18H26Z"/><path d="M8 16H10V18H8V16Z"/><path d="M8 20H10V22H8V20Z"/><path d="M8 24H10V26H8V24Z"/><path d="M16 26H14V24H16V26Z"/><path d="M14 20H16V22H14V20Z"/><path d="M14 16H16V18H14V16Z"/><path d="M10 11C10 11.55 9.55 12 9 12C8.45 12 8 11.55 8 11V5C8 4.45 8.45 4 9 4C9.55 4 10 4.45 10 5V11Z"/>',solid:'<path d="M27 12C27.55 12 28 11.55 28 11V5C28 4.45 27.55 4 27 4C26.45 4 26 4.45 26 5V11C26 11.55 26.45 12 27 12ZM33.5 8.54C33.17 8.2 32.72 8.01 32.25 8H29.2V11C29.2 12.21 28.21 13.2 27 13.2C25.79 13.2 24.8 12.21 24.8 11V8H11.2V11C11.2 12.21 10.21 13.2 9 13.2C7.79 13.2 6.8 12.21 6.8 11V8H3.75C3.28 8 2.83 8.2 2.5 8.54C2.17 8.88 2 9.34 2 9.81V30.19C2 30.66 2.17 31.12 2.5 31.46C2.83 31.8 3.28 31.99 3.75 32H32.25C32.72 32 33.17 31.8 33.5 31.46C33.83 31.12 34.01 30.66 34 30.19V9.81C34 9.34 33.83 8.88 33.5 8.54ZM10.1 26.1H7.9V23.9H10.1V26.1ZM10.1 22.1H7.9V19.9H10.1V22.1ZM10.1 18.1H7.9V15.9H10.1V18.1ZM16.1 26.1H13.9V23.9H16.1V26.1ZM16.1 22.1H13.9V19.9H16.1V22.1ZM16.1 18.1H13.9V15.9H16.1V18.1ZM22.1 26.1H19.9V23.9H22.1V26.1ZM22.1 22.1H19.9V19.9H22.1V22.1ZM22.1 18.1H19.9V15.9H22.1V18.1ZM28.1 26.1H25.9V23.9H28.1V26.1ZM28.1 22.1H25.9V19.9H28.1V22.1ZM28.1 18.1H25.9V15.9H28.1V18.1ZM9 12C9.55 12 10 11.55 10 11V5C10 4.45 9.55 4 9 4C8.45 4 8 4.45 8 5V11C8 11.55 8.45 12 9 12Z"/>',solidAlerted:'<path d="M26.9039 1.64621L21.2222 11.1159C20.9526 11.4984 20.9281 11.9949 21.1588 12.4005C21.3896 12.806 21.8363 13.0519 22.3148 13.0367H33.6881C34.1666 13.0519 34.6134 12.806 34.8441 12.4005C35.0748 11.9949 35.0503 11.4984 34.7808 11.1159L29.0991 1.64621C28.8711 1.26913 28.4532 1.03735 28.0015 1.03735C27.5497 1.03735 27.1319 1.26913 26.9039 1.64621Z"/><path fill-rule="evenodd" clip-rule="evenodd" d="M20.7594 8L19.5362 10.0387C18.8703 11.0423 18.8204 12.3342 19.4206 13.3893C20.0233 14.4489 21.1577 15.0604 22.3395 15.0367H33.6637C33.7763 15.0389 33.8886 15.0354 34 15.0263V30.19C34.01 30.66 33.83 31.12 33.5 31.46C33.17 31.8 32.72 32 32.25 32H3.75C3.28 31.99 2.83 31.8 2.5 31.46C2.17 31.12 2 30.66 2 30.19V9.81C2 9.34 2.17 8.88 2.5 8.54C2.83 8.2 3.28 8 3.75 8H6.8V11C6.8 12.21 7.79 13.2 9 13.2C10.21 13.2 11.2 12.21 11.2 11V8H20.7594ZM7.9 23.9V26.1H10.1V23.9H7.9ZM7.9 19.9V22.1H10.1V19.9H7.9ZM7.9 15.9V18.1H10.1V15.9H7.9ZM13.9 26.1H16.1V23.9H13.9V26.1ZM13.9 22.1H16.1V19.9H13.9V22.1ZM13.9 18.1H16.1V15.9H13.9V18.1ZM19.9 26.1H22.1V23.9H19.9V26.1ZM19.9 22.1H22.1V19.9H19.9V22.1ZM19.9 18.1H22.1V15.9H19.9V18.1Z
20M25.9 23.9V26.1H28.1V23.9H25.9ZM25.9 19.9V22.1H28.1V19.9H25.9ZM25.9 15.9V18.1H28.1V15.9H25.9Z"/><path d="M10 11C10 11.55 9.55 12 9 12C8.45 12 8 11.55 8 11V5C8 4.45 8.45 4 9 4C9.55 4 10 4.45 10 5V11Z"/>',solidBadged:'<path d="M30 11C32.7614 11 35 8.76142 35 6C35 3.23858 32.7614 1 30 1C27.2386 1 25 3.23858 25 6C25 8.76142 27.2386 11 30 11Z"/><path fill-rule="evenodd" clip-rule="evenodd" d="M34 11.7453C32.8662 12.5362 31.4872 13 30 13C29.4063 13 28.8299 12.9261 28.2794 12.787C27.9183 13.0467 27.4762 13.2 27 13.2C25.79 13.2 24.8 12.21 24.8 11V10.6862C24.1126 9.92393 23.5904 9.0097 23.2899 8H11.2V11C11.2 12.21 10.21 13.2 9 13.2C7.79 13.2 6.8 12.21 6.8 11V8H3.75C3.28 8 2.83 8.2 2.5 8.54C2.17 8.88 2 9.34 2 9.81V30.19C2 30.66 2.17 31.12 2.5 31.46C2.83 31.8 3.28 31.99 3.75 32H32.25C32.72 32 33.17 31.8 33.5 31.46C33.83 31.12 34.01 30.66 34 30.19V11.7453ZM7.9 23.9V26.1H10.1V23.9H7.9ZM7.9 19.9V22.1H10.1V19.9H7.9ZM7.9 15.9V18.1H10.1V15.9H7.9ZM13.9 26.1H16.1V23.9H13.9V26.1ZM13.9 22.1H16.1V19.9H13.9V22.1ZM13.9 18.1H16.1V15.9H13.9V18.1ZM19.9 26.1H22.1V23.9H19.9V26.1ZM19.9 22.1H22.1V19.9H19.9V22.1ZM19.9 18.1H22.1V15.9H19.9V18.1ZM25.9 23.9V26.1H28.1V23.9H25.9ZM25.9 19.9V22.1H28.1V19.9H25.9ZM25.9 15.9V18.1H28.1V15.9H25.9Z"/><path d="M10 11C10 11.55 9.55 12 9 12C8.45 12 8 11.55 8 11V5C8 4.45 8.45 4 9 4C9.55 4 10 4.45 10 5V11Z"/>'}];var Yr=["check",{outline:'<path d="M13.759 28.5L3.2909 17.8985C2.94988 17.4948 2.97281 16.8931 3.34353 16.5173C3.71424 16.1415 4.30784 16.1182 4.70604 16.4639L13.7389 25.6207L31.3931 7.74465C31.7913 7.39895 32.3849 7.4222 32.7556 7.798C33.1263 8.1738 33.1492 8.77554 32.8082 9.17921L13.759 28.5Z"/>'}];var _r=["check-circle",{outline:'<path d="M22.61 14.22L16.25 20.58L12.71 17.04C12.32 16.65 11.69 16.65 11.3 17.04C10.91 17.43 10.91 18.06 11.3 18.45L16.25 23.4L24.03 15.62C24.42 15.23 24.42 14.6 24.03 14.21C23.64 13.82 23.01 13.82 22.62 14.21L22.61 14.22ZM18 6C11.38 6 6 11.38 6 18C6 24.62 11.38 30 18 30C24.62 30 30 24.62 30 18C30 11.38 24.62 6 18 6ZM18 28C12.49 28 8 23.51 8 18C8 12.49 12.49 8 18 8C23.51 8 28 12.49 28 18C28 23.51 23.51 28 18 28Z"/>',solid:'<path d="M18 6C11.38 6 6 11.38 6 18C6 24.62 11.38 30 18 30C24.62 30 30 24.62 30 18C30 11.38 24.62 6 18 6ZM24.16 15.78L16.24 23.7L11.15 18.61C10.68 18.14 10.68 17.38 11.15 16.91C11.62 16.44 12.38 16.44 12.85 16.91L16.24 20.3L22.46 14.08C22.93 13.61 23.69 13.61 24.16 14.08C24.63 14.55 24.63 15.31 24.16 15.78Z"/>'}];var D_=["ellipsis-horizontal",{outline:'<path d="M7.8 18.1C7.8 19.7568 6.50163 21.1 4.9 21.1C3.29837 21.1 2 19.7568 2 18.1C2 16.4431 3.29837 15.1 4.9 15.1C6.50163 15.1 7.8 16.4431 7.8 18.1Z"/><path d="M18 21.1C19.6016 21.1 20.9 19.7568 20.9 18.1C20.9 16.4431 19.6016 15.1 18 15.1C16.3984 15.1 15.1 16.4431 15.1 18.1C15.1 19.7568 16.3984 21.1 18 21.1Z"/><path d="M31.1 21.1C32.7016 21.1 34 19.7568 34 18.1C34 16.4431 32.7016 15.1 31.1 15.1C29.4984 15.1 28.2 16.4431 28.2 18.1C28.2 19.7568 29.4984 21.1 31.1 21.1Z"/>',outlineBadged:'<path d="M4.9 21.1C6.50163 21.1 7.8 19.7568 7.8 18.1C7.8 16.4431 6.50163 15.1 4.9 15.1C3.29837 15.1 2 16.4431 2 18.1C2 19.7568 3.29837 21.1 4.9 21.1Z"/><path d="M18 21.1C19.6016 21.1 20.9 19.7568 20.9 18.1C20.9 16.4431 19.6016 15.1 18 15.1C16.3984 15.1 15.1 16.4431 15.1 18.1C15.1 19.7568 16.3984 21.1 18 21.1Z"/><path d="M34 18.1C34 19.7568 32.7016 21.1 31.1 21.1C29.4984 21.1 28.2 19.7568 28.2 18.1C28.2 16.4431 29.4984 15.1 31.1 15.1C32.7016 15.1 34 16.4431 34 18.1Z"/><path d="M30 11C32.7614 11 35 8.76142 35 6C35 3.23858 32.7614 1 30 1C27.2386 1 25 3.23858 25 6C25 8.76142 27.2386 11 30 11Z"/>'}];var ex=["ellipsis-vertical",{outline:'<path d="M21.1001 4.9C21.1001 6.50163 19.757 7.8 18.1001 7.8C16.4432 7.8 15.1001 6.50163 15.1001 4.9C15.1001 3.29837 16.4432 2 18.1001 2C19.757 2 21.1001 3.29837 21.1001 4.9Z"/><path d="M18.1001 20.9C19.757 20.9 21.1001 19.6016 21.1001 18C21.1001 16.3984 19.757 15.1 18.1001 15.1C16.4432 15.1 15.1001 16.3984 15.1001 18C15.1001 19.6016 16.4432 20.9 18.1001 20.9Z"/><path d="M18.1001 34C19.757 34 21.1001 32.7016 21.1001 31.1C21.1001 29.4984 19.757 28.2 18.1001 28.2C16.4432 28.2 15.1001 29.4984 15.1001 31.1C15.1001 32.7016 16.4432 34 18.1001 34Z"/>',outlineBadged:'<path d="M21.1001 4.9C21.1001 6.50163 19.757 7.8 18.1001 7.8C16.4432 7.8 15.1001 6.50163 15.1001 4.9C15.1001 3.29837 16.4432 2 18.1001 2C19.757 2 21.1001 3.29837 21.1001 4.9Z"/><path d="M18.1001 20.9C19.757 20.9 21.1001 19.6016 21.1001 18C21.1001 16.3984 19.757 15.1 18.1001 15.1C16.4432 15.1 15.1001 16.3984 15.1001 18C15.1001 19.6016 16.4432 20.9 18.1001 20.9Z"/><path d="M18.1001 34C19.757 34 21.1001 32.7016 21.1001 31.1C21.1001 29.4984 19.757 28.2 18.1001 28.2C16.4432 28.2 15.1001 29.4984 15.1001 31.1C15.1001 32.7016 16.4432 34 18.1001 34Z"/><path d="M30 11C32.7614 11 35 8.76142 35 6C35 3.23858 32.7614 1 30 1C27.2386 1 25 3.23858 25 6C25 8.76142 27.2386 11 30 11Z"/>'}];var sg=["error-standard",{outline:'<path d="M18 22.61C17.4477 22.61 17 22.1623 17 21.61V9.61C17 9.05772 17.4477 8.61 18 8.61C18.5523 8.61 19 9.05772 19 9.61V21.61C19 22.1623 18.5523 22.61 18 22.61Z"/><path d="M19.33 26.06C19.33 26.7945 18.7345 27.39 18 27.39C17.2655 27.39 16.67 26.7945 16.67 26.06C16.67 25.3255 17.2655 24.73 18 24.73C18.7345 24.73 19.33 25.3255 19.33 26.06Z"/>
20<path fill-rule="evenodd" clip-rule="evenodd" d="M2 18C2 26.8366 9.16344 34 18 34C22.2435 34 26.3131 32.3143 29.3137 29.3137C32.3143 26.3131 34 22.2435 34 18C34 9.16344 26.8366 2 18 2C9.16344 2 2 9.16344 2 18ZM4 18C4 10.268 10.268 4 18 4C25.732 4 32 10.268 32 18C32 25.732 25.732 32 18 32C10.268 32 4 25.732 4 18Z"/>',solid:'<path d="M18 2C9.16 2 2 9.16 2 18C2 26.84 9.16 34 18 34C22.24 34 26.31 32.31 29.31 29.31C32.31 26.31 34 22.24 34 18C34 9.16 26.84 2 18 2ZM17 9.61C17 9.06 17.45 8.61 18 8.61C18.55 8.61 19 9.06 19 9.61V21.61C19 22.16 18.55 22.61 18 22.61C17.45 22.61 17 22.16 17 21.61V9.61ZM18 27.26C17.34 27.26 16.8 26.72 16.8 26.06C16.8 25.4 17.34 24.86 18 24.86C18.66 24.86 19.2 25.4 19.2 26.06C19.2 26.72 18.66 27.26 18 27.26Z"/>'}];var tx=["event",{outline:'<path d="M16.17 25.86L10.81 20.5C10.6462 20.3087 10.5606 20.0626 10.5703 19.8109C10.58 19.5593 10.6844 19.3205 10.8624 19.1424C11.0405 18.9643 11.2793 18.86 11.531 18.8503C11.7826 18.8406 12.0287 18.9262 12.22 19.09L16.17 23L24.81 14.36C25.0013 14.1962 25.2474 14.1106 25.4991 14.1203C25.7507 14.13 25.9895 14.2343 26.1676 14.4124C26.3457 14.5905 26.45 14.8293 26.4597 15.0809C26.4694 15.3326 26.3838 15.5787 26.22 15.77L16.17 25.86Z"/><path d="M32.25 6H29V8H32V30H4.00001V8H7.00001V6H3.75001C3.51625 6.00391 3.28555 6.05383 3.07108 6.14691C2.85661 6.23999 2.66258 6.37441 2.50007 6.54249C2.33757 6.71057 2.20976 6.90902 2.12396 7.1265C2.03816 7.34398 1.99604 7.57624 2.00001 7.81V30.19C1.99604 30.4238 2.03816 30.656 2.12396 30.8735C2.20976 31.091 2.33757 31.2894 2.50007 31.4575C2.66258 31.6256 2.85661 31.76 3.07108 31.8531C3.28555 31.9462 3.51625 31.9961 3.75001 32H32.25C32.4838 31.9961 32.7145 31.9462 32.9289 31.8531C33.1434 31.76 33.3374 31.6256 33.5 31.4575C33.6625 31.2894 33.7903 31.091 33.8761 30.8735C33.9619 30.656 34.004 30.4238 34 30.19V7.81C34.004 7.57624 33.9619 7.34398 33.8761 7.1265C33.7903 6.90902 33.6625 6.71057 33.5 6.54249C33.3374 6.37441 33.1434 6.23999 32.9289 6.14691C32.7145 6.05383 32.4838 6.00391 32.25 6Z"/><path d="M10 10C10.2652 10 10.5196 9.89464 10.7071 9.70711C10.8947 9.51957 11 9.26522 11 9V3C11 2.73478 10.8947 2.48043 10.7071 2.29289C10.5196 2.10536 10.2652 2 10 2C9.7348 2 9.48044 2.10536 9.29291 2.29289C9.10537 2.48043 9.00001 2.73478 9.00001 3V9C9.00001 9.26522 9.10537 9.51957 9.29291 9.70711C9.48044 9.89464 9.7348 10 10 10Z"/><path d="M26 10C26.2652 10 26.5196 9.89464 26.7071 9.70711C26.8947 9.51957 27 9.26522 27 9V3C27 2.73478 26.8947 2.48043 26.7071 2.29289C26.5196 2.10536 26.2652 2 26 2C25.7348 2 25.4804 2.10536 25.2929 2.29289C25.1054 2.48043 25 2.73478 25 3V9C25 9.26522 25.1054 9.51957 25.2929 9.70711C25.4804 9.89464 25.7348 10 26 10Z"/><path d="M23 6H13V8H23V6Z"/>',outlineAlerted:'<path d="M26.9039 1.64621L21.2222 11.1159C20.9526 11.4984 20.9281 11.9949 21.1588 12.4005C21.3896 12.806 21.8363 13.0519 22.3148 13.0367H33.6881C34.1666 13.0519 34.6134 12.806 34.8441 12.4005C35.0748 11.9949 35.0503 11.4984 34.7808 11.1159L29.0991 1.64621C28.8711 1.26913 28.4532 1.03735 28.0015 1.03735C27.5497 1.03735 27.1319 1.26913 26.9039 1.64621Z"/><path d="M32 15.0367H33.6637C33.7764 15.0389 33.8886 15.0354 34 15.0263V30.19C34.004 30.4238 33.9619 30.656 33.8761 30.8735C33.7903 31.091 33.6625 31.2894 33.5 31.4575C33.3374 31.6256 33.1434 31.76 32.9289 31.8531C32.7145 31.9462 32.4838 31.9961 32.25 32H3.75001C3.51625 31.9961 3.28555 31.9462 3.07108 31.8531C2.85661 31.76 2.66258 31.6256 2.50007 31.4575C2.33757 31.2894 2.20976 31.091 2.12396 30.8735C2.03816 30.656 1.99604 30.4238 2.00001 30.19V7.81C1.99604 7.57624 2.03816 7.34398 2.12396 7.1265C2.20976 6.90902 2.33757 6.71057 2.50007 6.54249C2.66258 6.37441 2.85661 6.23999 3.07108 6.14691C3.28555 6.05383 3.51625 6.00391 3.75001 6H7.00001V8H4.00001V30H32V15.0367Z"/><path d="M24.1333 15.0367H26.457C26.4583 15.0514 26.4592 15.0661 26.4597 15.0809C26.4694 15.3326 26.3838 15.5787 26.22 15.77L16.17 25.86L10.81 20.5C10.6462 20.3087 10.5606 20.0626 10.5703 19.8109C10.58 19.5593 10.6844 19.3205 10.8624 19.1424C11.0405 18.9643 11.2793 18.86 11.531 18.8503C11.7826 18.8406 12.0287 18.9262 12.22 19.09L16.17 23L24.1333 15.0367Z"/><path d="M21.9594 6L20.7594 8H13V6H21.9594Z"/><path d="M10.7071 9.70711C10.5196 9.89464 10.2652 10 10 10C9.7348 10 9.48044 9.89464 9.29291 9.70711C9.10537 9.51957 9.00001 9.26522 9.00001 9V3C9.00001 2.73478 9.10537 2.48043 9.29291 2.29289C9.48044 2.10536 9.7348 2 10 2C10.2652 2 10.5196 2.10536 10.7071 2.29289C10.8947 2.48043 11 2.73478 11 3V9C11 9.26522 10.8947 9.51957 10.7071 9.70711Z"/>',outlineBadged:'<path d="M10.81 20.5L16.17 25.86L26.22 15.81C26.3838 15.6187 26.4694 15.3726 26.4597 15.1209C26.45 14.8693 26.3457 14.6305 26.1676 14.4524C25.9895 14.2743 25.7507 14.17 25.4991 14.1603C25.2474 14.1506 25.0013 14.2362 24.81 14.4L16.17 23L12.23 19.06C12.0387 18.8962 11.7926 18.8106 11.541 18.8203C11.2893 18.83 11.0505 18.9343 10.8724 19.1124C10.6944 19.2905 10.59 19.5293 10.5803 19.7809C10.5706 20.0326 10.6562 20.2787 10.82 20.47L10.81 20.5Z"/><path d="M10 10C10.2652 10 10.5196 9.89464 10.7071 9.70711C10.8947 9.51957 11 9.26522 11 9V3C11 2.73478 10.8947 2.48043 10.7071 2.29289C10.5196 2.10536 10.2652 2 10 2C9.7348 2 9.48044 2.10536 9.29291 2.29289C9.10537 2.48043 9.00001 2.73478 9.00001 3V9C9.00001 9.26522 9.10537 9.51957 9.29291 9.70711C9.48044 9.89464 9.7348 10 10 10Z"/><path d="M32 13.22V30H4.00001V8H7.00001V6H3.75001C3.51625 6.00391 3.28555 6.05383 3.07108 6.14691C2.85661 6.23999 2.66258 6.37441 2.50007 6.54249C2.33757 6.71057 2.20976 6.90902 2.12396 7.1265C2.03816 7.34398 1.99604 7.57624 2.00001 7.81V30.19C1.99604 30.4238 2.03816 30.656 2.12396 30.8735C2.20976 31.091 2.33757 31.2894 2.50007 31.4575C2.66258 31.6256 2.85661 31.76 3.07108 31.8531C3.28555 31.9462 3.51625 31.9961 3.75001 32H32.25C32.4838 31.9961 32.7145 31.9462 32.9289 31.8531C33.1434 31.76 33.3374 31.6256 33.5 31.4575C33.6625 31.2894 33.7903 31.091 33.8761 30.8735C33.9619 30.656 34.004 30.4238 34 30.19V12.34C33.3802 12.73 32.7063 13.0266 32 13.22Z"/><path d="M22.5 6H13V8H22.78C22.5968 7.34903 22.5026 6.67625 22.5 6Z"/><path d="M30 11C32.7614 11 35 8.76142 35 6C35 3.23858 32.7614 1 30 1C27.2386 1 25 3.23858 25 6C25 8.76142 27.2386 11 30 11Z"/>',solid:'<path d="M10 10C10.2652 10 10.5196 9.89464 10.7071 9.70711C10.8947 9.51957 11 9.26522 11 9V3C11 2.73478 10.8947 2.48043 10.7071 2.29289C10.5196 2.10536 10.2652 2 10 2C9.7348 2 9.48044 2.10536 9.29291 2.29289C9.10537 2.48043 9.00001 2.73478 9.00001 3V9C9.00001 9.26522 9.10537 9.51957 9.29291 9.70711C9.48044 9.89464 9.7348 10 10 10Z"/><path d="M26 10C26.2652 10 26.5196 9.89464 26.7071 9.70711C26.8947 9.51957 27 9.26522 27 9V3C27 2.73478 26.8947 2.48043 26.7071 2.29289C26.5196 2.10536 26.2652 2 26 2C25.7348 2 25.4804 2.10536 25.2929 2.29289C25.1054 2.48043 25 2.73478 25 3V9C25 9.26522 25.1054 9.51957 25.2929 9.70711C25.4804 9.89464 25.7348 10 26 10Z"/><path d="M32.25 6H28.25V9C28.25 9.58348 28.0182 10.1431 27.6056 10.5556C27.1931 10.9682 26.6335 11.2 26.05 11.2C25.4665 11.2 24.907 10.9682 24.4944 10.5556C24.0818 10.1431 23.85 9.58348 23.85 9V6H12.2V9C12.2 9.58348 11.9682 10.1431 11.5556 10.5556C11.1431 10.9682 10.5835 11.2 10 11.2C9.41654 11.2 8.85696 10.9682 8.44438 10.5556C8.0318 10.1431 7.80001 9.58348 7.80001 9V6H3.80001C3.56204 5.99729 3.32593 6.04233 3.10567 6.13246C2.8854 6.22259 2.68545 6.35597 2.51763 6.52473C2.34981 6.69348 2.21753 6.89417 2.12863 7.11493C2.03972 7.33569 1.99599 7.572
2004 2.00001 7.81V30.19C1.99604 30.4238 2.03816 30.656 2.12396 30.8735C2.20976 31.091 2.33757 31.2894 2.50007 31.4575C2.66258 31.6256 2.85661 31.76 3.07108 31.8531C3.28555 31.9462 3.51625 31.9961 3.75001 32H32.25C32.4838 31.9961 32.7145 31.9462 32.9289 31.8531C33.1434 31.76 33.3374 31.6256 33.5 31.4575C33.6625 31.2894 33.7903 31.091 33.8761 30.8735C33.9619 30.656 34.004 30.4238 34 30.19V7.81C34.004 7.57624 33.9619 7.34398 33.8761 7.1265C33.7903 6.90902 33.6625 6.71057 33.5 6.54249C33.3374 6.37441 33.1434 6.23999 32.9289 6.14691C32.7145 6.05383 32.4838 6.00391 32.25 6ZM25.94 16.58L16.27 26.25L11 20.94C10.7665 20.6832 10.6401 20.3469 10.6465 19.9999C10.6529 19.6529 10.7918 19.3215 11.0346 19.0735C11.2775 18.8255 11.6059 18.6798 11.9527 18.6661C12.2995 18.6525 12.6384 18.7719 12.9 19L16.28 22.38L24 14.66C24.1267 14.5333 24.2772 14.4327 24.4428 14.3642C24.6083 14.2956 24.7858 14.2603 24.965 14.2603C25.1442 14.2603 25.3217 14.2956 25.4873 14.3642C25.6528 14.4327 25.8033 14.5333 25.93 14.66C26.0567 14.7867 26.1573 14.9372 26.2258 15.1027C26.2944 15.2683 26.3297 15.4458 26.3297 15.625C26.3297 15.8042 26.2944 15.9817 26.2258 16.1473C26.1573 16.3128 26.0567 16.4633 25.93 16.59L25.94 16.58Z"/>',solidAlerted:'<path d="M26.9039 1.64621L21.2222 11.1159C20.9526 11.4984 20.9281 11.9949 21.1588 12.4005C21.3896 12.806 21.8363 13.0519 22.3148 13.0367H33.6881C34.1666 13.0519 34.6134 12.806 34.8441 12.4005C35.0748 11.9949 35.0503 11.4984 34.7808 11.1159L29.0991 1.64621C28.8711 1.26913 28.4532 1.03735 28.0015 1.03735C27.5497 1.03735 27.1319 1.26913 26.9039 1.64621Z"/><path d="M21.9594 6H12.2V9C12.2 9.58348 11.9682 10.1431 11.5556 10.5556C11.1431 10.9682 10.5835 11.2 10 11.2C9.41654 11.2 8.85696 10.9682 8.44438 10.5556C8.0318 10.1431 7.80001 9.58348 7.80001 9V6H3.80001C3.56204 5.99729 3.32593 6.04233 3.10567 6.13246C2.8854 6.22259 2.68545 6.35597 2.51763 6.52473C2.34981 6.69348 2.21753 6.89417 2.12863 7.11493C2.03972 7.33569 1.99599 7.57204 2.00001 7.81V30.19C1.99604 30.4238 2.03816 30.656 2.12396 30.8735C2.20976 31.091 2.33757 31.2894 2.50007 31.4575C2.66258 31.6256 2.85661 31.76 3.07108 31.8531C3.28555 31.9462 3.51625 31.9961 3.75001 32H32.25C32.4838 31.9961 32.7145 31.9462 32.9289 31.8531C33.1434 31.76 33.3374 31.6256 33.5 31.4575C33.6625 31.2894 33.7903 31.091 33.8761 30.8735C33.9619 30.656 34.004 30.4238 34 30.19V15.0263C33.8886 15.0354 33.7764 15.0389 33.6637 15.0367H26.1964C26.2068 15.0584 26.2166 15.0804 26.2258 15.1027C26.2944 15.2683 26.3297 15.4458 26.3297 15.625C26.3297 15.8042 26.2944 15.9817 26.2258 16.1473C26.1573 16.3128 26.0567 16.4633 25.93 16.59L16.27 26.25L11 20.94C10.7665 20.6832 10.6401 20.3469 10.6465 19.9999C10.6529 19.6529 10.7918 19.3215 11.0346 19.0735C11.2775 18.8255 11.6059 18.6798 11.9527 18.6661C12.2995 18.6525 12.6384 18.7719 12.9 19L16.28 22.38L23.6233 15.0367H22.3395C21.1577 15.0604 20.0233 14.4489 19.4206 13.3893C18.8204 12.3342 18.8703 11.0423 19.5362 10.0387L21.9594 6Z"/><path d="M10 10C10.2652 10 10.5196 9.89464 10.7071 9.70711C10.8947 9.51957 11 9.26522 11 9V3C11 2.73478 10.8947 2.48043 10.7071 2.29289C10.5196 2.10536 10.2652 2 10 2C9.7348 2 9.48044 2.10536 9.29291 2.29289C9.10537 2.48043 9.00001 2.73478 9.00001 3V9C9.00001 9.26522 9.10537 9.51957 9.29291 9.70711C9.48044 9.89464 9.7348 10 10 10Z"/>',solidBadged:'<path d="M10 10C10.2652 10 10.5196 9.89464 10.7071 9.70711C10.8947 9.51957 11 9.26522 11 9V3C11 2.73478 10.8947 2.48043 10.7071 2.29289C10.5196 2.10536 10.2652 2 10 2C9.7348 2 9.48044 2.10536 9.29291 2.29289C9.10537 2.48043 9.00001 2.73478 9.00001 3V9C9.00001 9.26522 9.10537 9.51957 9.29291 9.70711C9.48044 9.89464 9.7348 10 10 10Z"/><path d="M30 13.5C28.0109 13.5 26.1032 12.7098 24.6967 11.3033C23.2902 9.89678 22.5 7.98912 22.5 6H12.2V9C12.2 9.58348 11.9682 10.1431 11.5556 10.5556C11.1431 10.9682 10.5835 11.2 10 11.2C9.41654 11.2 8.85696 10.9682 8.44438 10.5556C8.0318 10.1431 7.80001 9.58348 7.80001 9V6H3.80001C3.56204 5.99729 3.32593 6.04233 3.10567 6.13246C2.8854 6.22259 2.68545 6.35597 2.51763 6.52473C2.34981 6.69348 2.21753 6.89417 2.12863 7.11493C2.03972 7.33569 1.99599 7.57204 2.00001 7.81V30.19C1.99604 30.4238 2.03816 30.656 2.12396 30.8735C2.20976 31.091 2.33757 31.2894 2.50007 31.4575C2.66258 31.6256 2.85661 31.76 3.07108 31.8531C3.28555 31.9462 3.51625 31.9961 3.75001 32H32.25C32.4838 31.9961 32.7145 31.9462 32.9289 31.8531C33.1434 31.76 33.3374 31.6256 33.5 31.4575C33.6625 31.2894 33.7903 31.091 33.8761 30.8735C33.9619 30.656 34.004 30.4238 34 30.19V12.34C32.8041 13.0991 31.4165 13.5015 30 13.5ZM25.94 16.58L16.27 26.25L11 20.94C10.7665 20.6832 10.6401 20.3469 10.6465 19.9999C10.6529 19.6529 10.7918 19.3215 11.0346 19.0735C11.2775 18.8255 11.6059 18.6798 11.9527 18.6661C12.2995 18.6525 12.6384 18.7719 12.9 19L16.28 22.38L24 14.66C24.1267 14.5333 24.2772 14.4327 24.4428 14.3642C24.6083 14.2956 24.7858 14.2603 24.965 14.2603C25.1442 14.2603 25.3217 14.2956 25.4873 14.3642C25.6528 14.4327 25.8033 14.5333 25.93 14.66C26.0567 14.7867 26.1573 14.9372 26.2258 15.1027C26.2944 15.2683 26.3297 15.4458 26.3297 15.625C26.3297 15.8042 26.2944 15.9817 26.2258 16.1473C26.1573 16.3128 26.0567 16.4633 25.93 16.59L25.94 16.58Z"/><path d="M30 11C32.7614 11 35 8.76142 35 6C35 3.23858 32.7614 1 30 1C27.2386 1 25 3.23858 25 6C25 8.76142 27.2386 11 30 11Z"/>'}];var yr=["exclamation-circle",{outline:'<path d="M18 19.8C18.55 19.8 19 19.35 19 18.8V13C19
2012.45 18.55 12 18 12C17.45 12 17 12.45 17 13V18.8C17 19.35 17.45 19.8 18 19.8ZM18.85 21.95C18.73 21.84 18.6 21.75 18.46 21.69C18.17 21.57 17.83 21.57 17.54 21.69C17.4 21.75 17.27 21.84 17.15 21.95C16.93 22.18 16.8 22.48 16.8 22.8C16.8 23.12 16.93 23.42 17.15 23.65C17.27 23.76 17.4 23.85 17.54 23.91C17.69 23.97 17.84 24 18 24C18.16 24 18.31 23.97 18.46 23.91C18.6 23.85 18.73 23.76 18.85 23.65C19.07 23.42 19.2 23.12 19.2 22.8C19.2 22.64 19.17 22.49 19.11 22.34C19.05 22.2 18.96 22.06 18.85 21.95ZM18 6C11.38 6 6 11.38 6 18C6 24.62 11.38 30 18 30C24.62 30 30 24.62 30 18C30 11.38 24.62 6 18 6ZM18 28C12.49 28 8 23.51 8 18C8 12.49 12.49 8 18 8C23.51 8 28 12.49 28 18C28 23.51 23.51 28 18 28Z"/>',solid:'<path d="M18 6C11.38 6 6 11.38 6 18C6 24.62 11.38 30 18 30C24.62 30 30 24.62 30 18C30 11.38 24.62 6 18 6ZM16.8 12.65C16.8 11.99 17.34 11.45 18 11.45C18.66 11.45 19.2 11.99 19.2 12.65V18.45C19.2 19.11 18.66 19.65 18 19.65C17.34 19.65 16.8 19.11 16.8 18.45V12.65ZM18.98 24.15C18.84 24.28 18.69 24.38 18.53 24.45C18.35 24.52 18.18 24.56 18 24.56C17.82 24.56 17.64 24.53 17.46 24.45C17.31 24.38 17.16 24.29 17 24.14C16.74 23.87 16.59 23.52 16.59 23.15C16.59 22.78 16.73 22.44 17 22.15C17.14 22.02 17.29 21.92 17.45 21.85C17.62 21.78 17.8 21.74 17.99 21.74C18.18 21.74 18.36 21.78 18.53 21.85C18.68 21.92 18.83 22.02 18.98 22.15C19.1 22.27 19.21 22.43 19.28 22.61C19.35 22.79 19.39 22.96 19.39 23.14C19.39 23.5 19.25 23.85 18.97 24.14L18.98 24.15Z"/>'}];var nx=["exclamation-triangle",{outline:'<path d="M17.9943 20.8C18.544 20.8 18.9938 20.35 18.9938 19.8V14C18.9938 13.45 18.544 13 17.9943 13C17.4445 13 16.9947 13.45 16.9947 14V19.8C16.9947 20.35 17.4445 20.8 17.9943 20.8ZM18.8439 22.95C18.7239 22.84 18.594 22.75 18.4541 22.69C18.1642 22.57 17.8243 22.57 17.5345 22.69C17.3945 22.75 17.2646 22.84 17.1446 22.95C16.9247 23.18 16.7948 23.48 16.7948 23.8C16.7948 24.12 16.9247 24.42 17.1446 24.65C17.2646 24.76 17.3945 24.85 17.5345 24.91C17.6844 24.97 17.8343 25 17.9943 25C18.1542 25 18.3041 24.97 18.4541 24.91C18.594 24.85 18.7239 24.76 18.8439 24.65C19.0638 24.42 19.1937 24.12 19.1937 23.8C19.1937 23.64 19.1637 23.49 19.1038 23.34C19.0438 23.2 18.9538 23.06 18.8439 22.95ZM30.5986 25.43L20.6631 7.57C20.1133 6.59 19.1238 6 17.9943 6C16.8648 6 15.8752 6.59 15.3254 7.57L5.38988 25.43C4.85012 26.39 4.87011 27.53 5.41987 28.48C5.96962 29.43 6.95918 30 8.05869 30H27.9298C29.0293 30 30.0089 29.43 30.5686 28.48C31.1284 27.53 31.1384 26.39 30.5986 25.43ZM28.8494 27.47C28.7595 27.63 28.4796 28 27.9398 28H8.05869C7.50894 28 7.23906 27.63 7.1491 27.47C7.05914 27.31 6.86922 26.89 7.1491 26.41L17.0647 8.55C17.3346 8.06 17.8043 8 17.9843 8C18.1642 8 18.634 8.05 18.9039 8.55L28.8394 26.41C29.1093 26.89 28.9194 27.31 28.8294 27.47H28.8494Z"/>',solid:'<path d="M30.5986 25.43L20.6631 7.57C20.1133 6.59 19.1238 6 17.9943 6C16.8648 6 15.8752 6.59 15.3254 7.57L5.38988 25.43C4.85012 26.39 4.87011 27.53 5.41987 28.48C5.96962 29.43 6.95918 30 8.05869 30H27.9298C29.0293 30 30.0089 29.43 30.5686 28.48C31.1284 27.53 31.1384 26.39 30.5986 25.43ZM16.7948 13.5C16.7948 12.84 17.3346 12.3 17.9943 12.3C18.654 12.3 19.1937 12.84 19.1937 13.5V19.3C19.1937 19.96 18.654 20.5 17.9943 20.5C17.3346 20.5 16.7948 19.96 16.7948 19.3V13.5ZM18.9738 25C18.8339 25.13 18.684 25.23 18.524 25.3C18.3441 25.37 18.1742 25.41 17.9943 25.41C17.8143 25.41 17.6344 25.38 17.4545 25.3C17.3046 25.23 17.1546 25.13 16.9947 24.99C16.7348 24.72 16.5849 24.37 16.5849 24C16.5849 23.63 16.7248 23.29 16.9947 23C17.1346 22.87 17.2846 22.77 17.4445 22.7C17.6144 22.63 17.7943 22.59 17.9843 22.59C18.1742 22.59 18.3541 22.63 18.524 22.7C18.674 22.77 18.8239 22.87 18.9738 23C19.0938 23.12 19.2037 23.28 19.2737 23.46C19.3437 23.64 19.3836 23.81 19.3836 23.99C19.3836 24.35 19.2437 24.7 18.9638 24.99L18.9738 25Z"/>'}];var ix=["eye",{outline:'<path d="M17.9976 11C14.1382 11 10.9987 14.14 10.9987 18C10.9987 21.86 14.1382 25 17.9976 25C21.857 25 24.9965 21.86 24.9965 18C24.9965 14.14 21.857 11 17.9976 11ZM17.9976 23C15.238 23 12.9983 20.76 12.9983 18C12.9983 15.24 15.238 13 17.9976 13C20.7571 13 22.9968 15.24 22.9968 18C22.9968 20.76 20.7571 23 17.9976 23ZM33.9151 17.61C31.1855 11.17 24.9365 7 17.9976 7C11.0586 7 4.80962 11.17 2.08005 17.61C1.97006 17.86 1.97006 18.14 2.08005 18.39C4.80962 24.84 11.0586 29 17.9976 29C24.9365 29 31.1855 24.83 33.9151 18.39C34.0251 18.14 34.0251 17.86 33.9151 17.61ZM17.9976 27C11.9985 27 6.58934 23.48 4.08973 18C6.58934 12.52 11.9985 9 17.9976 9C23.9966 9 29.4058 12.52 31.9054 18C29.4058 23.48 23.9966 27 17.9976 27Z"/>',solid:'<path d="M17.9976 11C14.1382 11 10.9987 14.14 10.9987 18C10.9987 21.86 14.1382 25 17.9976 25C21.857 25 24.9965 21.86 24.9965 18C24.9965 14.14 21.857 11 17.9976 11ZM33.9151 17.61C31.1855 11.17 24.9365 7 17.9976 7C11.0586 7 4.80962 11.17 2.08005 17.61C1.97006 17.86 1.97006 18.14 2.08005 18.39C4.80962 24.84 11.0586 29 17.9976 29C24.9365 29 31.1855 24.83 33.9151 18.39C34.0251 18.14 34.0251 17.86 33.9151 17.61ZM17.9976 27C11.9985 27 6.58934 23.48 4.08973 18C6.58934 12.52 11.9985 9 17.9976 9C23.9966 9 29.4058 12.52 31.9054 18C29.4058 23.48 23.9966 27 17.9976 27Z"/>'}];var rx=["eye-hide",{outline:'<path d="M24.5495 20.4301C24.8294 19.6701 24.9893 18.8601 24.9893 18.0001C24.9893 14.1401 21.8508 11.0001 17.9926 11.0001C17.133 11.0001 16.3233 11.1601 15.5637 11.4401L17.2029 13.0801C17.4628 13.0401 17.7227 13.0001 17.9926 13.0001C20.7513 13.0001 22.9902 15.2401 22.9902 18.0001C22.9902 18.2701 22.9502 18.5301 22.9103 18.7901L24.5495 20.4301ZM17.9926 9.00006C23.9898 9.00006 29.3972 12.5201 31.896 18.0001C30.8965 20.1901 29.4272 22.0601 27.648 23.5301L29.0674 24.9501C31.1264 23.2201 32.8056 20.9901 33.9151 18.3901C34.025 18.1401 34.025 17.8601 33.9151 17.6101C31.1864 11.1601 24.9393 7.00006 18.0026 7.00006C15.9735 7.00006 14.0044 7.37006 12.1653 8.03006L13.7446 9.61006C15.1039 9.21006 16.5332 9.00006 18.0026 9.00006H17.9926ZM3.70926 2.29006C3.31944 1.90006 2.67974 1.90006 2.28992 2.29006C1.9001 2.68006 1.9001 3.32006 2.28992 3.71006L8.47702 9.90006C5.70832 11.7401 3.44938 14.3801 2.08002 17.6101C1.97007 17.8601 1.97007 18.1401 2.08002 18.3901C4.80874 24.8401 11.0558 29.0001 17.9926 29.0001C20.7413 29.0001 23.37 28.3401 25.7189 27.1501L32.2759 33.7101C32.4758 33.9101 32.7257 34.0001 32.9855 34.0001C33.2454 34.0001 33.4953 33.9001 33.6952 33.7101C34.085 33.3201 34.085 32.6901 33.6952 32.3001L3.70926 2.29006ZM13.8345 15.2501L20.7413 22.1601C19.9516 22.6801 19.0121 23.0001 17.9926 23.0001C15.2339 23.0001 12.9949 20.7601 12.9949 18.0001C12.9949 16.9801 13.3048 16.0401 13.8345 15.2501ZM17.9926 27.0001C11.9954 27.0001 6.58791 23.4801 4.08908 18.0001C5.36848 15.1901 7.42751 12.9101 9.92634 11.3401L12.4052 13.8201C11.5256 14.9901 10.9958 16.4301 10.9958 18.0001C10.9958 21.8601 14.1344 25.0001 17.9926 25.0001C19.5618 25.0001 21.0012 24.4701 22.1706 23.5901L24.2296 25.6501C22.3
20105 26.5201 20.1915 27.0001 17.9926 27.0001Z"/>',solid:'<path d="M17.9926 9.00006C23.9898 9.00006 29.3972 12.5201 31.896 18.0001C30.8965 20.1901 29.4272 22.0601 27.648 23.5301L29.0674 24.9501C31.1264 23.2201 32.8056 20.9901 33.9151 18.3901C34.025 18.1401 34.025 17.8601 33.9151 17.6101C31.1864 11.1601 24.9393 7.00006 18.0026 7.00006C15.9735 7.00006 14.0044 7.37006 12.1653 8.03006L13.7446 9.61006C15.1039 9.21006 16.5332 9.00006 18.0026 9.00006H17.9926ZM3.70926 2.29006C3.31944 1.90006 2.67974 1.90006 2.28992 2.29006C1.9001 2.68006 1.9001 3.32006 2.28992 3.71006L8.47702 9.90006C5.70832 11.7401 3.44938 14.3801 2.08002 17.6101C1.97007 17.8601 1.97007 18.1401 2.08002 18.3901C4.80874 24.8401 11.0558 29.0001 17.9926 29.0001C20.7413 29.0001 23.37 28.3401 25.7189 27.1501L32.2759 33.7101C32.4758 33.9101 32.7257 34.0001 32.9855 34.0001C33.2454 34.0001 33.4953 33.9001 33.6952 33.7101C34.085 33.3201 34.085 32.6901 33.6952 32.3001L3.70926 2.29006ZM17.9926 27.0001C11.9954 27.0001 6.58791 23.4801 4.08908 18.0001C5.36848 15.1901 7.42751 12.9101 9.92634 11.3401L12.4052 13.8201C11.5256 14.9901 10.9958 16.4301 10.9958 18.0001C10.9958 21.8601 14.1344 25.0001 17.9926 25.0001C19.5618 25.0001 21.0012 24.4701 22.1706 23.5901L24.2296 25.6501C22.3105 26.5201 20.1915 27.0001 17.9926 27.0001ZM15.5637 11.4401L24.5495 20.4301C24.8294 19.6701 24.9893 18.8601 24.9893 18.0001C24.9893 14.1401 21.8508 11.0001 17.9926 11.0001C17.133 11.0001 16.3233 11.1601 15.5637 11.4401Z"/>'}];var ox=["filter-grid",{outline:'<path d="M15 23.86L17 24.86V18.27C16.9989 18.0077 16.8947 17.7563 16.71 17.57L10.23 11H25.79L19.32 17.57C19.1353 17.7563 19.0311 18.0077 19.03 18.27L19 26L21 27V18.68L27.58 12C27.8432 11.733 27.9936 11.3749 28 11V10C28 9.44772 27.5523 9 27 9H9C8.44772 9 8 9.44772 8 10V11C8.0064 11.3749 8.15679 11.733 8.42 12L15 18.68V23.86Z"/>',solid:'<path d="M8 9V10.1212C8.00188 10.2532 8.05585 10.3791 8.15015 10.4716L15.4374 17.8393C15.5317 17.9317 15.5857 18.0577 15.5876 18.1897V25.087C15.5872 25.2784 15.696 25.4532 15.8679 25.5375L19.8218 26.9489C19.9771 27.025 20.1607 27.0156 20.3073 26.9239C20.4539 26.8323 20.5429 26.6714 20.5425 26.4985V18.0996C20.5564 17.9643 20.6207 17.8392 20.7227 17.7492L27.8498 10.4916C27.9442 10.3992 27.9981 10.2732 28 10.1412V9H8Z"/>'}];var sx=["filter-grid-circle",{outline:'<path fill-rule="evenodd" clip-rule="evenodd" d="M18 2C9.16344 2 2 9.16344 2 18C2 26.8366 9.16344 34 18 34C26.8366 34 34 26.8366 34 18C34 13.7565 32.3143 9.68687 29.3137 6.68629C26.3131 3.68571 22.2435 2 18 2ZM18 32C10.268 32 4 25.732 4 18C4 10.268 10.268 4 18 4C25.732 4 32 10.268 32 18C32 21.713 30.525 25.274 27.8995 27.8995C25.274 30.525 21.713 32 18 32ZM17 26.86L15 25.86V20.68L8.42 14C8.15679 13.733 8.0064 13.3749 8 13V12C8 11.4477 8.44772 11 9 11H27C27.5523 11 28 11.4477 28 12V13C27.9936 13.3749 27.8432 13.733 27.58 14L21 20.68V29L19 28L19.03 20.27C19.0311 20.0077 19.1353 19.7563 19.32 19.57L25.79 13H10.23L16.71 19.57C16.8947 19.7563 16.9989 20.0077 17 20.27V26.86Z"/>',solid:'<path fill-rule="evenodd" clip-rule="evenodd" d="M18 2C9.16344 2 2 9.16344 2 18C2 26.8366 9.16344 34 18 34C26.8366 34 34 26.8366 34 18C34 13.7565 32.3143 9.68687 29.3137 6.68629C26.3131 3.68571 22.2435 2 18 2ZM18 32C10.268 32 4 25.732 4 18C4 10.268 10.268 4 18 4C25.732 4 32 10.268 32 18C32 21.713 30.525 25.274 27.8995 27.8995C25.274 30.525 21.713 32 18 32ZM8 12.12V11H27.98V12.14C27.9781 12.2719 27.9242 12.3977 27.83 12.49L20.71 19.74C20.6081 19.8299 20.5438 19.9548 20.53 20.09V28.48C20.5303 28.6528 20.4415 28.8134 20.295 28.905C20.1485 28.9966 19.9651 29.006 19.81 28.93L15.86 27.52C15.6883 27.4359 15.5796 27.2612 15.58 27.07V20.18C15.5781 20.0481 15.5242 19.9223 15.43 19.83L8.15 12.47C8.05579 12.3777 8.00188 12.2519 8 12.12Z"/>'}];var ax=["folder-open",{outline:'<path d="M33.26 13C33.84 12.99 34.38 13.26 34.71 13.74C35 14.16 35.08 14.69 34.92 15.18L30.73 30.28C30.6 30.72 30.19 31.02 29.73 31H4.41C3.66 31.02 3.03 30.44 3 29.69V7C3 5.9 3.9 5 5 5H11.49C12.13 5 12.73 5.3 13.11 5.82L15.42 9H29.39C30.49 9 31.39 9.9 31.39 11H14.91C14.59 11 14.29 10.85 14.1 10.59L11.49 7H5V25L7.92 14.66C7.92 14.66 7.92 14.57 7.92 14.52C8.32 13.63 9.19 13.04 10.17 13H33.26ZM5.9 29H28.94L32.88 14.95H10.16C10.01 14.98 9.87 15.07 9.78 15.19L5.9 29Z"/>
20',outlineAlerted:'<path d="M27.9041 1.64621L22.2224 11.1159C21.9529 11.4984 21.9284 11.9949 22.1591 12.4005C22.3898 12.806 22.8366 13.0519 23.315 13.0367H34.6884C35.1669 13.0519 35.6136 12.806 35.8443 12.4005C36.075 11.9949 36.0506 11.4984 35.781 11.1159L30.0993 1.64621C29.8713 1.26913 29.4535 1.03735 29.0017 1.03735C28.55 1.03735 28.1321 1.26913 27.9041 1.64621Z"/><path d="M20.1058 11H14.9102C14.5902 11 14.2902 10.85 14.1002 10.59L11.4902 7H5.00024V25L7.92024 14.66V14.52C8.32024 13.63 9.19024 13.04 10.1702 13H20.2327C20.2861 13.1326 20.3488 13.2627 20.4208 13.3893C20.8815 14.1991 21.6527 14.7472 22.5183 14.95H10.1602C10.0102 14.98 9.87024 15.07 9.78024 15.19L5.90024 29H28.9402L32.8559 15.0367H34.6639C34.7636 15.0387 34.863 15.0362 34.9617 15.0292C34.9503 15.0798 34.9365 15.1301 34.9202 15.18L30.7302 30.28C30.6002 30.72 30.1902 31.02 29.7302 31H4.41024C3.66024 31.02 3.03024 30.44 3.00024 29.69V7C3.00024 5.9 3.90024 5 5.00024 5H11.4902C12.1302 5 12.7302 5.3 13.1102 5.82L15.4202 9H21.1597L20.5364 10.0387C20.3378 10.3381 20.1939 10.6632 20.1058 11Z"/>',outlineBadged:'<path d="M31 11C33.7614 11 36 8.76142 36 6C36 3.23858 33.7614 1 31 1C28.2386 1 26 3.23858 26 6C26 8.76142 28.2386 11 31 11Z"/><path fill-rule="evenodd" clip-rule="evenodd" d="M26.101 11H14.91C14.59 11 14.29 10.85 14.1 10.59L11.49 7H5V25L7.92 14.66V14.52C8.32 13.63 9.19 13.04 10.17 13H33.26C33.84 12.99 34.38 13.26 34.71 13.74C35 14.16 35.08 14.69 34.92 15.18L30.73 30.28C30.6 30.72 30.19 31.02 29.73 31H4.41C3.66 31.02 3.03 30.44 3 29.69V7C3 5.9 3.9 5 5 5H11.49C12.13 5 12.73 5.3 13.11 5.82L15.42 9H24.6736C25.0297 9.7496 25.5151 10.4259 26.101 11ZM28.94 29H5.9L9.78 15.19C9.87 15.07 10.01 14.98 10.16 14.95H32.88L28.94 29Z"/>',solid:'<path d="M34.7058 13.74C34.3744 13.2643 33.8223 12.986 33.2379 13H10.2583C9.26952 13.0414 8.38858 13.6293 7.9806 14.52C7.97729 14.5666 7.97729 14.6134 7.9806 14.66L5.02463 25V7.00001H11.5946L14.2367 10.59C14.4279 10.8484 14.7327 11.0008 15.0567 11H31.3449C31.3449 9.89544 30.4384 9.00001 29.3203 9.00001H15.573L13.2345 5.82001C12.8522 5.30318 12.2426 4.99835 11.5946 5.00001H5.02463C3.90646 5.00001 3 5.89544 3 7.00001V29.69C3.03289 30.4389 3.66891 31.0226 4.42737 31H29.6644C30.1293 31.0183 30.5469 30.7213 30.6768 30.28L34.9184 15.18C35.0788 14.6935 35.0001 14.161 34.7058 13.74Z"/>',solidAlerted:'<path d="M27.9041 1.64621L22.2224 11.1159C21.9529 11.4984 21.9284 11.9949 22.1591 12.4005C22.3898 12.806 22.8366 13.0519 23.315 13.0367H34.6884C35.1669 13.0519 35.6136 12.806 35.8443 12.4005C36.075 11.9949 36.0506 11.4984 35.781 11.1159L30.0993 1.64621C29.8713 1.26913 29.4535 1.03735 29.0017 1.03735C28.55 1.03735 28.1321 1.26913 27.9041 1.64621Z"/><path d="M20.2325 13C20.2858 13.1326 20.3485 13.2627 20.4206 13.3893C21.0233 14.4489 22.1577 15.0604 23.3395 15.0367H34.6637C34.7629 15.0387 34.8618 15.0362 34.9601 15.0293C34.9487 15.0799 34.9348 15.1302 34.9184 15.18L30.6768 30.28C30.5469 30.7213 30.1293 31.0183 29.6644 31H4.42737C3.66891 31.0226 3.03289 30.4389 3 29.69V7.00001C3 5.89544 3.90646 5.00001 5.02463 5.00001H11.5946C12.2426 4.99835 12.8522 5.30318 13.2345 5.82001L15.573 9.00001H21.1594L20.5362 10.0387C20.3375 10.3381 20.1937 10.6632 20.1056 11H15.0567C14.7327 11.0008 14.4279 10.8484 14.2367 10.59L11.5946 7.00001H5.02463V25L7.9806 14.66C7.97729 14.6134 7.97729 14.5666 7.9806 14.52C8.38858 13.6293 9.26952 13.0414 10.2583 13H20.2325Z"/>',solidBadged:'<path d="M31 11C33.7614 11 36 8.76142 36 6C36 3.23858 33.7614 1 31 1C28.2386 1 26 3.23858 26 6C26 8.76142 28.2386 11 31 11Z"/><path d="M24.6736 9.00001C25.0297 9.74961 25.5151 10.4259 26.101 11H15.0567C14.7327 11.0008 14.4279 10.8484 14.2367 10.59L11.5946 7.00001H5.02463V25L7.9806 14.66C7.97729 14.6134 7.97729 14.5666 7.9806 14.52C8.38858 13.6293 9.26952 13.0414 10.2583 13H33.2379C33.8223 12.986 34.3744 13.2643 34.7058 13.74C35.0001 14.161 35.0788 14.6935 34.9184 15.18L30.6768 30.28C30.5469 30.7213 30.1293 31.0183 29.6644 31H4.42737C3.66891 31.0226 3.03289 30.4389 3 29.69V7.00001C3 5.89544 3.90646 5.00001 5.02463 5.00001H11.5946C12.2426 4.99835 12.8522 5.30318 13.2345 5.82001L15.573 9.00001H24.6736Z"/>'}];var ag=["info-circle",{outline:'<path d="M21 23H19V15H16C15.45 15 15 15.45 15 16C15 16.55 15.45 17 16 17H17V23H15C14.45 23 14 23.45 14 24C14 24.55 14.45 25 15 25H21C21.55 25 22 24.55 22 24C22 23.45 21.55 23 21 23ZM17.93 13.3C18.7 13.3 19.33 12.67 19.33 11.9C19.33 11.13 18.7 10.5 17.93 10.5C17.16 10.5 16.53 11.13 16.53 11.9C16.53 12.67 17.16 13.3 17.93 13.3ZM18 6C11.38 6 6 11.38 6 18C6 24.62 11.38 30 18 30C24.62 30 30 24.62 30 18C30 11.38 24.62 6 18 6ZM18 28C12.49 28 8 23.51 8 18C8 12.49 12.49 8 18 8C23.51 8 28 12.49 28 18C28 23.51 23.51 28 18 28Z"/>',solid:'<path d="M18 6C11.38 6 6 11.38 6 18C6 24.62 11.38 30 18 30C24.62 30 30 24.62 30 18C30 11.38 24.62 6 18 6ZM17.93 10.3C18.81 10.3 19.53 11.02 19.53 11.9C19.53 12.78 18.81 13.5 17.93 13.5C17.05 13.5 16.33 12.78 16.33 11.9C16.33 11.02 17.05 10.3 17.93 10.3ZM21 25.2H15C14.34 25.2 13.8 24.66 13.8 24C13.8 23.34 14.34 22.8 15 22.8H16.8V17.2H16C15.34 17.2 14.8 16.66 14.8 16C14.8 15.34 15.34 14.8 16 14.8H19.2V22.8H21C21.66 22.8 22.2 23.34 22.2 24C22.2 24.66 21.66 25.2 21 25.2Z"/>'}];var lx=["info-standard",{outline:'<path d="M2 18C2 26.84 9.16 34 18 34C22.24 34 26.31 32.31 29.31 29.31C32.31 26.31 34 22.24 34 18C34 9.16 26.84 2 18 2C9.16 2 2 9.16 2 18ZM4 18C4 10.27 10.27 4 18 4C25.73 4 32 10.27 32 18C32 25.73 25.73 32 18 32C10.27 32 4 25.73 4 18ZM21 25H19V14H16C15.45 14 15 14.45 15 15C15 15.55 15.45 16 16 16H17V25H15C14.45 25 14 25.45 14 26C14 26.55 14.45 27 15 27H21C21.55 27 22 26.55 22 26C22 25.45 21.55 25 21 25ZM19.37 10.45C19.37 11.22 18.74 11.85 17.97 11.85C17.2 11.85 16.57 11.22 16.57 10.45C16.57 9.68 17.2 9.05 17.97 9.05C18.74 9.05 19.37 9.68 19.37 10.45Z"/>',solid:'<path d="M18 2C9.16 2 2 9.16 2 18C2 26.84 9.16 34 18 34C22.24 34 26.31 32.31 29.31 29.31C32.31 26.31 34 22.24 34 18C34 9.16 26.84 2 18 2ZM17.97 8.85C18.85 8.85 19.57 9.57 19.57 10.45C19.57 11.33 18.85 12.05 17.97 12.05C17.09 12.05 16.37 11.33 16.37 10.45C16.37 9.57 17.09 8.85 17.97 8.85ZM21 27.2H15C14.34 27.2 13.8 26.66 13.8 26C13.8 25.34 14.34 24.8 15 24.8H16.8V16.2H16C15.34 16.2 14.8 15.66 14.8 15C14.8 14.34 15.34 13.8 16 13.8H19.2V24.8H21C21.66 24.8 22.2 25.34 22.2 26C22.2 26.66 21.66 27.2 21 27.2Z"/>'}];var yW=["search",{outline:'<path fill-rule="evenodd" clip-rule="evenodd" d="M15.016 2.0022C7.82748 2.0022 2 7.8225 2 15.0022C2 22.1819 7.82748 28.0022 15.016 28.0022C22.2046 28.0022 28.0321 22.1819 28.0321 15.0022C28.0321 7.8225 22.2046 2.0022 15.016 2.0022ZM15.016 4.05219C19.4513 4.04814 23.452 6.71346 25.1521 10.8049C26.8522 14.8963 25.9167 19.6077 22.782 22.7415C19.6472 25.8752 14.9308 26.8139 10.8328 25.1196C6.7348 23.4254 4.06254 19.432 4.06254 15.0022C4.0899 8.96993 8.97636 4.08503 15.016 4.05219ZM26.33 24.8722L33.7091 32.2922C33.9612 32.5459 34.0588 32.9146 33.9649 33.2596C33.8711 33.6045 33.6001 33.8733 33.254 33.9646C32.908 34.0559 32.5395 33.9559 32.2873 33.7022L24.9082 26.2822L26.33 24.8722Z"/>'}];var cx=["step-forward-2",{outline:'<path d="M7.08893 6.52003C6.92643 6.67645 6.79734 6.86315 6.70921 7.06921C6.62108 7.27526 6.57568 7.49652 6.57568 7.72003C6.57568 7.94353 6.62108 8.16479 6.70921 8.37085C6.79734 8.5769 6.92643 8.76361 7.08893 8.92003L16.6872 18L7.12964 27.08C6.82977 27.3991 6.66554 27.8188 6.67065 28.253C6.67576 28.6872 6.84982 29.1031 7.15712 29.4152C7.46442 29.7274 7.88166 29.9121 8.32323 29.9316C8.7648 29.9511 9.19721 29.8038 9.53176 29.52L21.6645 18L9.53176 6.47003C9.36851 6.31482 9.17559 6.19293 8.96413 6.11137C8.75267 6.02982 8.52686 5.99022 8.29974 5.99487C8.07262 5.99952 7.84869 6.04832 7.64087 6.13846C7.43305 6.22859 7.2454
206 6.35828 7.08893 6.52003Z"/><path d="M26.8453 5C26.3864 5 25.9463 5.17911 25.6218 5.49792C25.2973 5.81673 25.115 6.24913 25.115 6.7V29.3C25.115 29.7509 25.2973 30.1833 25.6218 30.5021C25.9463 30.8209 26.3864 31 26.8453 31C27.3043 31 27.7444 30.8209 28.0689 30.5021C28.3934 30.1833 28.5757 29.7509 28.5757 29.3V6.7C28.5757 6.24913 28.3934 5.81673 28.0689 5.49792C27.7444 5.17911 27.3043 5 26.8453 5Z"/>'}];var lg=["success-standard",{outline:'<path fill-rule="evenodd" clip-rule="evenodd" d="M18 2C9.16344 2 2 9.16344 2 18C2 26.8366 9.16344 34 18 34C26.8366 34 34 26.8366 34 18C34 13.7565 32.3143 9.68687 29.3137 6.68629C26.3131 3.68571 22.2435 2 18 2ZM18 32C10.268 32 4 25.732 4 18C4 10.268 10.268 4 18 4C25.732 4 32 10.268 32 18C32 21.713 30.525 25.274 27.8995 27.8995C25.274 30.525 21.713 32 18 32ZM26.59 12.1C26.98 11.7123 27.61 11.7123 28 12.1C28.1893 12.2878 28.2958 12.5434 28.2958 12.81C28.2958 13.0766 28.1893 13.3322 28 13.52L15.49 26L8 18.53C7.61892 18.1185 7.64355 17.4761 8.055 17.095C8.46645 16.7139 9.10892 16.7385 9.49 17.15L15.49 23.15L26.59 12.1Z"/>',solid:'<path d="M29.31 6.69C26.31 3.69 22.24 2 18 2C9.16 2 2 9.16 2 18C2 26.84 9.16 34 18 34C26.84 34 34 26.84 34 18C34 13.76 32.31 9.69 29.31 6.69ZM28.14 13.64L15.63 26.12L15.49 26.26L15.35 26.12L7.85 18.64C7.39 18.15 7.42 17.38 7.92 16.92C8.15 16.71 8.44 16.6 8.75 16.6C9.09 16.6 9.41 16.74 9.64 16.98L15.5 22.84L26.46 11.93C26.69 11.7 26.99 11.58 27.31 11.58C27.63 11.58 27.93 11.7 28.16 11.93C28.39 12.15 28.51 12.46 28.51 12.78C28.51 13.1 28.38 13.41 28.16 13.63L28.14 13.64Z"/>'}];var qr=["times",{outline:'<path d="M19.4696 17.9732L27.7596 9.70542C28.0994 9.30972 28.0765 8.71987 27.7071 8.35148C27.3378 7.9831 26.7463 7.96032 26.3496 8.29919L18.0596 16.567L9.76958 8.28922C9.37745 7.89814 8.7417 7.89814 8.34958 8.28922C7.95745 8.68029 7.95745 9.31434 8.34958 9.70542L16.6496 17.9732L8.34958 26.241C8.0642 26.4848 7.93989 26.8675 8.02777 27.2318C8.11564 27.5961 8.40086 27.8806 8.76616 27.9682C9.13146 28.0559 9.51519 27.9319 9.75958 27.6473L18.0596 19.3795L26.3496 27.6473C26.7463 27.9861 27.3378 27.9634 27.7071 27.595C28.0765 27.2266 28.0994 26.6367 27.7596 26.241L19.4696 17.9732Z"/>'}];var bW=["user",{outline:'<path d="M18 18.0451C21.86 18.0451 25 14.895 25 11.0226C25 7.15013 21.86 4 18 4C14.14 4 11 7.15013 11 11.0226C11 14.895 14.14 18.0451 18 18.0451ZM18 6.00645C20.76 6.00645 23 8.25367 23 11.0226C23 13.7915 20.76 16.0387 18 16.0387C15.24 16.0387 13 13.7915 13 11.0226C13 8.25367 15.24 6.00645 18 6.00645ZM29.79 24.8169C29.64 24.6263 26.03 20.0516 18 20.0516C9.97 20.0516 6.36 24.6263 6.21 24.8169C6.08 24.9875 6 25.2082 6 25.4289V30.9968C6 31.5485 6.45 32 7 32C7.55 32 8 31.5485 8 30.9968V25.8101C8.81 24.9373 11.93 22.058 18 22.058C24.07 22.058 27.2 24.9373 28 25.8101V30.9968C28 31.5485 28.45 32 29 32C29.55 32 30 31.5485 30 30.9968V25.4289C30 25.2082 29.93 24.9875 29.79 24.8169Z"/>',outlineAlerted:'<path d="M26.9039 1.64621L21.2222 11.1159C20.9526 11.4984 20.9281 11.9949 21.1588 12.4005C21.3896 12.806 21.8363 13.0519 22.3148 13.0367H33.6881C34.1666 13.0519 34.6134 12.806 34.8441 12.4005C35.0748 11.9949 35.0503 11.4984 34.7808 11.1159L29.0991 1.64621C28.8711 1.26913 28.4532 1.03735 28.0015 1.03735C27.5497 1.03735 27.1319 1.26913 26.9039 1.64621Z"/><path d="M22.2786 5.46793C21.0948 4.54804 19.61 4 18 4C14.14 4 11 7.15013 11 11.0226C11 14.895 14.14 18.0451 18 18.0451C20.3734 18.0451 22.4746 16.8542 23.741 15.0367H22.3395C21.954 15.0444 21.5735 14.9845 21.2148 14.8636C20.3455 15.5968 19.2238 16.0387 18 16.0387C15.24 16.0387 13 13.7915 13 11.0226C13 8.25367 15.24 6.00645 18 6.00645C19.2349 6.00645 20.3658 6.45636 21.2384 7.2016L22.2786 5.46793Z"/><path d="M18 20.0516C26.03 20.0516 29.64 24.6263 29.79 24.8169C29.93 24.9875 30 25.2082 30 25.4289V30.9968C30 31.5485 29.55 32 29 32C28.45 32 28 31.5485 28 30.9968V25.8101C27.2 24.9373 24.07 22.058 18 22.058C11.93 22.058 8.81 24.9373 8 25.8101V30.9968C8 31.5485 7.55 32 7 32C6.45 32 6 31.5485 6 30.9968V25.4289C6 25.2082 6.08 24.9875 6.21 24.8169C6.36 24.6263 9.97 20.0516 18 20.0516Z"/>',outlineBadged:'<path d="M30 11C32.7614 11 35 8.76142 35 6C35 3.23858 32.7614 1 30 1C27.2386 1 25 3.23858 25 6C25 8.76142 27.2386 11 30 11Z"/><path fill-rule="evenodd" clip-rule="evenodd" d="M23.0009 5.36327C23.0304 7.22515 23.7869 8.91048 24.9989 10.1479C24.9996 10.1894 25 10.2309 25 10.2726C25 14.145 21.86 17.2951 18 17.2951C14.14 17.2951 11 14.145 11 10.2726C11 6.40013 14.14 3.25 18 3.25C19.9573 3.25 21.7294 4.05993 23.0009 5.36327ZM23 10.2726C23 7.50367 20.76 5.25645 18 5.25645C15.24 5.25645 13 7.50367 13 10.2726C13 13.0415 15.24
2015.2887 18 15.2887C20.76 15.2887 23 13.0415 23 10.2726Z"/><path d="M18 19.3016C26.03 19.3016 29.64 23.8763 29.79 24.0669C29.93 24.2375 30 24.4582 30 24.6789V30.2468C30 30.7985 29.55 31.25 29 31.25C28.45 31.25 28 30.7985 28 30.2468V25.0601C27.2 24.1873 24.07 21.308 18 21.308C11.93 21.308 8.81 24.1873 8 25.0601V30.2468C8 30.7985 7.55 31.25 7 31.25C6.45 31.25 6 30.7985 6 30.2468V24.6789C6 24.4582 6.08 24.2375 6.21 24.0669C6.36 23.8763 9.97 19.3016 18 19.3016Z"/>',solid:'<path d="M18 18.0451C21.86 18.0451 25 14.895 25 11.0226C25 7.15013 21.86 4 18 4C14.14 4 11 7.15013 11 11.0226C11 14.895 14.14 18.0451 18 18.0451ZM29.79 24.8169C29.64 24.6263 26.03 20.0516 18 20.0516C9.97 20.0516 6.36 24.6263 6.21 24.8169C6.08 24.9875 6 25.2082 6 25.4289V30.9968C6 31.5485 6.45 32 7 32H29C29.55 32 30 31.5485 30 30.9968V25.4289C30 25.2082 29.93 24.9875 29.79 24.8169Z"/>',solidAlerted:'<path d="M26.9039 1.64621L21.2222 11.1159C20.9526 11.4984 20.9281 11.9949 21.1588 12.4005C21.3896 12.806 21.8363 13.0519 22.3148 13.0367H33.6881C34.1666 13.0519 34.6134 12.806 34.8441 12.4005C35.0748 11.9949 35.0503 11.4984 34.7808 11.1159L29.0991 1.64621C28.8711 1.26913 28.4532 1.03735 28.0015 1.03735C27.5497 1.03735 27.1319 1.26913 26.9039 1.64621Z"/><path d="M22.2786 5.46793L19.5362 10.0387C18.8703 11.0423 18.8204 12.3342 19.4206 13.3893C20.0233 14.4489 21.1577 15.0604 22.3395 15.0367H23.741C22.4746 16.8542 20.3734 18.0451 18 18.0451C14.14 18.0451 11 14.895 11 11.0226C11 7.15013 14.14 4 18 4C19.61 4 21.0948 4.54804 22.2786 5.46793Z"/><path d="M18 20.0516C26.03 20.0516 29.64 24.6263 29.79 24.8169C29.93 24.9875 30 25.2082 30 25.4289V30.9968C30 31.5485 29.55 32 29 32H7C6.45 32 6 31.5485 6 30.9968V25.4289C6 25.2082 6.08 24.9875 6.21 24.8169C6.36 24.6263 9.97 20.0516 18 20.0516Z"/>',solidBadged:'<path d="M30 11C32.7614 11 35 8.76142 35 6C35 3.23858 32.7614 1 30 1C27.2386 1 25 3.23858 25 6C25 8.76142 27.2386 11 30 11Z"/><path d="M23.0009 6.11327C23.0304 7.97515 23.7869 9.66048 24.9989 10.8979C24.9996 10.9394 25 10.9809 25 11.0226C25 14.895 21.86 18.0451 18 18.0451C14.14 18.0451 11 14.895 11 11.0226C11 7.15013 14.14 4 18 4C19.9573 4 21.7294 4.80993 23.0009 6.11327Z"/><path d="M18 20.0516C26.03 20.0516 29.64 24.6263 29.79 24.8169C29.93 24.9875 30 25.2082 30 25.4289V30.9968C30 31.5485 29.55 32 29 32H7C6.45 32 6 31.5485 6 30.9968V25.4289C6 25.2082 6.08 24.9875 6.21 24.8169C6.36 24.6263 9.97 20.0516 18 20.0516Z"/>'}];var dx=["view-columns",{outline:'<path fill-rule="evenodd" clip-rule="evenodd" d="M31 5H5C3.89543 5 3 5.89543 3 7V29C3 30.1046 3.89543 31 5 31H31C32.1046 31 33 30.1046 33 29V7C33 5.89543 32.1046 5 31 5ZM13 29H5V7H13V29ZM15 29H23V7H15V29Z"/>'}];var ux=["warning-standard",{outline:'<path d="M18.0001 22.9932C18.5501 22.9932 19.0001 22.5434 19.0001 21.9936V10.9975C19.0001 10.4477 18.5501 9.99786 18.0001 9.99786C17.4501 9.99786 17.0001 10.4477 17.0001 10.9975V21.9936C17.0001 22.5434 17.4501 22.9932 18.0001 22.9932ZM33.5601 27.2117L20.7801 5.57944C20.2001 4.58979 19.1601 4 18.0001 4C16.8401 4 15.8001 4.58979 15.2201 5.57944L2.4401 27.2117C1.8501 28.2114 1.8501 29.4009 2.4301 30.4006C3.0101 31.4002 4.0601 32 5.2201 32H30.7701C31.9401 32 32.9801 31.4002 33.5601 30.4006C34.1401 29.4009 34.1401 28.2114 33.5501 27.2117H33.5601ZM31.8101 29.4009C31.7101 29.5809 31.4001 29.9907 30.7801 29.9907H5.2301C4.6101 29.9907 4.3001 29.5809 4.2001 29.4009C4.1001 29.221 3.8901 28.7512 4.2001 28.2313L16.9801 6.58908C17.2901 6.06926 17.8001 6.00928 18.0001 6.00928C18.2001 6.00928 18.7101 6.06926 19.0201 6.58908L31.7901 28.2213C32.1001 28.7512 31.9001 29.221 31.7901 29.3909L31.8101 29.4009ZM18.0101 25.0025C17.2801 25.0025 16.6801 25.6023 16.6801 26.332C16.6801 27.0618 17.2801 27.6615 18.0101 27.6615C18.7401 27.6615 19.3401 27.0618 19.3401 26.332C19.3401 25.6023 18.7401 25.0025 18.0101 25.0025Z"/>',solid:'<path d="M33.5601 27.22L20.7801 5.58C20.2001 4.59 19.1601 4 18.0001 4C16.8401 4 15.8001 4.59 15.2201 5.58L2.44006 27.22C1.85006 28.22 1.85006 29.41 2.44006 30.41C3.02006 31.41 4.07006 32.01 5.23006 32.01H30.7801C31.9501 32.01 32.9901 31.41 33.5701 30.41C34.1501 29.41 34.1501 28.22 33.5601 27.22ZM16.9001 11C16.9001 10.39 17.3901 9.9 18.0001 9.9C18.6101 9.9 19.1001 10.39 19.1001 11V22C19.1001 22.61 18.6101 23.1 18.0001 23.1C17.3901 23.1 16.9001 22.61 16.9001 22V11ZM18.0001 27.76C17.2101 27.76 16.5701 27.12 16.5701 26.33C16.5701 25.54 17.2101 24.9 18.0001 24.9C18.7901 24.9 19.4301 25.54 19.4301 26.33C19.4301 27.12 18.7901 27.76 18.0001 27.76Z"/>'}];var hx=["circle",{outline:'<path fill-rule="evenodd" clip-rule="evenodd" d="M4 18C4 10.268 10.268 4 18 4C25.732 4 32 10.268 32 18C32 25.732 25.732 32 18 32C10.268 32 4 25.732 4 18ZM6 18C6 24.6274 11.3726 30 18 30C21.1826 30 24.2348 28.7357 26.4853 26.4853C28.7357 24.2348 30 21.1826 30 18C30 11.3726 24.6274 6 18 6C11.3726 6 6 11.3726 6 18Z"/>',solid:'<path d="M18 4C10.268 4 4 10.268 4 18C4 25.732 10.268 32 18 32C25.732 32 32 25.732 32 18C32 10.268 25.732 4 18 4Z"/>'}];var SW=["details",{outline:'<path fill-rule="evenodd" clip-rule="evenodd" d="M4 6H32C33.1046 6 34 6.89543 34 8V28C34 29.1046 33.1046 30 32 30H4C2.89543 30 2 29.1046 2 28V8C2 6.89543 2.89543 6 4 6ZM9 18H27C27.5523 18 28 17.5523 28 17C28 16.4477 27.5523 16 27 16H9C8.44772 16 8 16.4477 8 17C8 17.5523 8.44772 18 9 18ZM9 22H19C19.5523 22 20 21.5523 20 21C20 20.4477 19.5523 20 19 20H9C8.44772 20 8 20.4477 8 21C8 21.5523 8.44772 22 9 22ZM32 28H4V8H32V28ZM27 14H9C8.44772 14 8 13.5523 8 13C8 12.4477 8.44772 12 9 12H27C27.5523 12 28 12.4477 28 13C28 13.5523 27.5523 14 27 14Z"/>',solid:'<path fill-rule="evenodd" clip-rule="evenodd" d="M4 6H32C33.1046 6 34 6.89543 34 8V28C34 29.1046 33.1046 30 32 30H4C2.89543 30 2 29.1046 2 28V8C2 6.89543 2.89543 6 4 6ZM9 22H19C19.5523 22 20 21.5523 20 21C20 20.4477 19.5523 20 19 20H9C8.44772 20 8 20.4477 8 21C8 21.5523 8.44772 22 9 22ZM27 18H9C8.44772 18 8 17.5523 8 17C8 16.4477 8.44772 16 9 16H27C27.5523 16 28 16.4477 28 17C28 17.5523 27.5523 18 27 18ZM9 14H27C27.5523 14 28 13.5523 28 13C28 12.4477 27.5523 12 27 12H9C8.44772 12 8 12.4477 8 13C8
2013.5523 8.44772 14 9 14Z"/>'}];var px=["dot-circle",{outline:'<path d="M18 11C19.3845 11 20.7379 11.4105 21.889 12.1797C23.0401 12.9489 23.9374 14.0421 24.4672 15.3212C24.997 16.6003 25.1356 18.0078 24.8655 19.3656C24.5954 20.7235 23.9287 21.9708 22.9498 22.9498C21.9708 23.9287 20.7235 24.5954 19.3656 24.8655C18.0078 25.1356 16.6003 24.997 15.3212 24.4672C14.0421 23.9374 12.9489 23.0401 12.1797 21.889C11.4105 20.7379 11 19.3845 11 18C11 16.1435 11.7375 14.363 13.0503 13.0503C14.363 11.7375 16.1435 11 18 11Z"/><path d="M18 34C14.8355 34 11.7421 33.0616 9.11088 31.3035C6.4797 29.5454 4.42894 27.0466 3.21793 24.1229C2.00693 21.1993 1.69008 17.9823 2.30744 14.8786C2.92481 11.7749 4.44866 8.92394 6.6863 6.6863C8.92394 4.44866 11.7749 2.92481 14.8786 2.30744C17.9823 1.69008 21.1993 2.00693 24.1229 3.21793C27.0466 4.42894 29.5454 6.4797 31.3035 9.11088C33.0616 11.7421 34 14.8355 34 18C34 22.2435 32.3143 26.3131 29.3137 29.3137C26.3131 32.3143 22.2435 34 18 34ZM18 4.00001C15.2311 4.00001 12.5243 4.82109 10.222 6.35943C7.91974 7.89777 6.12532 10.0843 5.06569 12.6424C4.00607 15.2006 3.72882 18.0155 4.26901 20.7313C4.80921 23.447 6.14258 25.9416 8.10051 27.8995C10.0584 29.8574 12.553 31.1908 15.2687 31.731C17.9845 32.2712 20.7994 31.9939 23.3576 30.9343C25.9157 29.8747 28.1022 28.0803 29.6406 25.778C31.1789 23.4757 32 20.7689 32 18C32 14.287 30.525 10.726 27.8995 8.10051C25.274 5.475 21.713 4.00001 18 4.00001Z"/>'}];var IW=["download",{outline:'<path d="M18 28L27.71 18.29C28.1 17.9 28.1 17.27 27.71 16.88C27.32 16.49 26.69 16.49 26.3 16.88L19.01 24.17V5C19.01 4.45 18.56 4 18.01 4C17.46 4 17.01 4.45 17.01 5V24.17L9.72 16.88C9.33 16.49 8.7 16.49 8.31 16.88C7.92 17.27 7.92 17.9 8.31 18.29L18.02 28H18ZM31 30H5C4.45 30 4 30.45 4 31C4 31.55 4.45 32 5 32H31C31.55 32 32 31.55 32 31C32 30.45 31.55 30 31 30Z"/>',outlineAlerted:'<path d="M18 28L27.71 18.29C28.1 17.9 28.1 17.27 27.71 16.88C27.32 16.49 26.69 16.49 26.3 16.88L19.01 24.17V5C19.01 4.45 18.56 4 18.01 4C17.46 4 17.01 4.45 17.01 5V24.17L9.72 16.88C9.33 16.49 8.7 16.49 8.31 16.88C7.92 17.27 7.92 17.9 8.31 18.29L18.02 28H18ZM31 30H5C4.45 30 4 30.45 4 31C4 31.55 4.45 32 5 32H31C31.55 32 32 31.55 32 31C32 30.45 31.55 30 31 30Z"/><path d="M26.9039 1.64621L21.2222 11.1159C20.9526 11.4984 20.9281 11.9949 21.1588 12.4005C21.3896 12.806 21.8363 13.0519 22.3148 13.0367H33.6881C34.1666 13.0519 34.6134 12.806 34.8441 12.4005C35.0748 11.9949 35.0503 11.4984 34.7808 11.1159L29.0991 1.64621C28.8711 1.26913 28.4532 1.03735 28.0015 1.03735C27.5497 1.03735 27.1319 1.26913 26.9039 1.64621Z"/>',outlineBadged:'<path d="M30 11C32.7614 11 35 8.76142 35 6C35 3.23858 32.7614 1 30 1C27.2386 1 25 3.23858 25 6C25 8.76142 27.2386 11 30 11Z"/><path d="M18 28L27.71 18.29C28.1 17.9 28.1 17.27 27.71 16.88C27.32 16.49 26.69 16.49 26.3 16.88L19.01 24.17V5C19.01 4.45 18.56 4 18.01 4C17.46 4 17.01 4.45 17.01 5V24.17L9.72 16.88C9.33 16.49 8.7 16.49 8.31 16.88C7.92 17.27 7.92 17.9 8.31 18.29L18.02 28H18ZM31 30H5C4.45 30 4 30.45 4 31C4 31.55 4.45 32 5 32H31C31.55 32 32 31.55 32 31C32 30.45 31.55 30 31 30Z"/>'}];var cg=["help",{outline:'<path fill-rule="evenodd" clip-rule="evenodd" d="M2 18C2 9.16344 9.16344 2 18 2C22.2435 2 26.3131 3.68571 29.3137 6.68629C32.3143 9.68687 34 13.7565 34 18C34 26.8366 26.8366 34 18 34C9.16344 34 2 26.8366 2 18ZM4 18C4 25.732 10.268 32 18 32C21.713 32 25.274 30.525 27.8995 27.8995C30.525 25.274 32 21.713 32 18C32 10.268 25.732 4 18 4C10.268 4 4 10.268 4 18ZM18.29 8.92C16.0961 8.88374 13.9998 9.8256 12.57 11.49C12.3718 11.6737 12.2563 11.9298 12.25 12.2C12.2499 12.4493 12.3509 12.688 12.53 12.8614C12.7091 13.0348 12.9508 13.1281 13.2 13.12C13.4642 13.1135 13.7168 13.0103 13.91 12.83C14.9916 11.5625 16.5737 10.8317 18.24 10.83C20.6 10.83 22.07 12.35 22.07 14.24V14.29C22.07 16.5 20.31 17.73 17.53 17.94C17.3023 17.9488 17.0892 18.0542 16.9441 18.2299C16.799 18.4056 16.7357 18.6348 16.77 18.86V21.61C16.8215 22.1229 17.2545 22.5126 17.77 22.51H17.88C18.3929 22.4585 18.7826 22.0255 18.78 21.51V19.45C21.78 19.03 24.21 17.45 24.21 14.17V14.12C24.18 11.12 21.84 8.92 18.29 8.92ZM19.03 26.2C19.03 26.8904 18.4704 27.45 17.78 27.45C17.0896 27.45 16.53 26.8904 16.53 26.2C16.53 25.5096 17.0896 24.95 17.78 24.95C18.4704 24.95 19.03 25.5096 19.03 26.2Z"/>',outlineBadged:'<path d="M33.0013 12.7689C32.3959 13.0462 31.7559 13.2406 31.0986 13.3467C33.2636 19.5108 30.8763 26.3528 25.3465 29.832C19.8167 33.3112 12.6154 32.502 7.99569 27.8822C3.37597 23.2625 2.56674 16.0613 6.04592 10.5315C9.52509 5.00162 16.3671 2.61429 22.5312 4.77938C22.6375 4.12205 22.8318 3.48204 23.109 2.87663C16.0649 0.440946 8.27199 3.19205 4.31823 9.51029C0.364476 15.8285 1.29736 24.0399 6.56767 29.3103C11.838 34.5806 20.0494 35.5135 26.3676 31.5597C32.6859 27.
206059 35.437 19.8131 33.0013 12.7689Z"/><path d="M17.7196 27.3533C18.4073 27.3533 18.9648 26.7958 18.9648 26.1081C18.9648 25.4203 18.4073 24.8628 17.7196 24.8628C17.0318 24.8628 16.4743 25.4203 16.4743 26.1081C16.4743 26.7958 17.0318 27.3533 17.7196 27.3533Z"/><path d="M24.0953 14.0739V14.1238C24.0953 17.3913 21.6745 18.9354 18.7257 19.3837V21.4359C18.7283 21.9494 18.3401 22.3807 17.8291 22.4321H17.7196C17.206 22.4347 16.7747 22.0465 16.7233 21.5355V18.7959C16.6891 18.5716 16.7522 18.3432 16.8968 18.1682C17.0413 17.9932 17.2537 17.8882 17.4805 17.8794C20.2499 17.6702 22.0032 16.4449 22.0032 14.2433V14.1935C22.0032 12.3107 20.5388 10.7964 18.1878 10.7964C16.5278 10.7982 14.9517 11.5261 13.8742 12.7888C13.6817 12.9684 13.4301 13.0712 13.1669 13.0777C12.9187 13.0858 12.6778 12.9929 12.4994 12.8201C12.321 12.6473 12.2204 12.4096 12.2205 12.1612C12.2268 11.8921 12.3418 11.6369 12.5393 11.4539C13.9637 9.79585 16.052 8.85757 18.2376 8.89369C21.7641 8.89369 24.0953 11.0853 24.0953 14.0739Z"/><path d="M30 11C32.7614 11 35 8.76142 35 6C35 3.23858 32.7614 1 30 1C27.2386 1 25 3.23858 25 6C25 8.76142 27.2386 11 30 11Z"/>',solid:'<path fill-rule="evenodd" clip-rule="evenodd" d="M18 2C9.16344 2 2 9.16344 2 18C2 26.8366 9.16344 34 18 34C26.8366 34 34 26.8366 34 18C34 13.7565 32.3143 9.68687 29.3137 6.68629C26.3131 3.68571 22.2435 2 18 2ZM17.78 27.85C17.1126 27.85 16.511 27.448 16.2556 26.8314C16.0002 26.2149 16.1414 25.5052 16.6133 25.0333C17.0852 24.5614 17.7949 24.4202 18.4114 24.6756C19.028 24.931 19.43 25.5326 19.43 26.2C19.43 27.1113 18.6913 27.85 17.78 27.85ZM19.15 21.51V19.79C22.61 19.2 24.58 17.16 24.58 14.11C24.58 10.81 22 8.51 18.3 8.51C16.0005 8.47452 13.8033 9.45956 12.3 11.2C12.0304 11.4636 11.8759 11.823 11.87 12.2C11.883 12.7516 12.228 13.2406 12.7432 13.438C13.2585 13.6353 13.8419 13.5018 14.22 13.1C15.2092 11.9069 16.6704 11.2056 18.22 11.18C20.24 11.18 21.65 12.42 21.65 14.25C21.65 16.8 19.04 17.38 17.47 17.5C17.1448 17.5175 16.8409 17.6674 16.6293 17.915C16.4176 18.1625 16.3167 18.486 16.35 18.81V21.57C16.3604 21.9272 16.5131 22.2655 16.7741 22.5096C17.0351 22.7537 17.3829 22.8835 17.74 22.87H17.85C18.5753 22.8329 19.1456 22.2362 19.15 21.51Z"/>',solidBadged:'<path fill-rule="evenodd" clip-rule="evenodd" d="M33.0013 12.7689C30.1659 14.0688 26.8212 13.4679 24.6156 11.2623C22.4101 9.05674 21.8091 5.712 23.109 2.87663C16.0649 0.440946 8.27199 3.19205 4.31823 9.51029C0.364476 15.8285 1.29736 24.0399 6.56767 29.3103C11.838 34.5806 20.0494 35.5135 26.3676 31.5597C32.6859 27.6059 35.437 19.8131 33.0013 12.7689ZM17.7196 27.712C17.0547 27.712 16.4554 27.3115 16.2009 26.6973C15.9465 26.083 16.0872 25.376 16.5573 24.9059C17.0274 24.4358 17.7344 24.2952 18.3486 24.5496C18.9628 24.804 19.3633 25.4034 19.3633 26.0682C19.374 26.511 19.2056 26.9394 18.8962 27.2564C18.5867 27.5733 18.1625 27.7519 17.7196 27.7518V27.712ZM19.0844 21.396V19.7224C22.5312 19.1347 24.4937 17.1024 24.4937 14.0241C24.4937 10.7367 21.9235 8.4454 18.2376 8.4454C15.9468 8.41006 13.758 9.39136 12.2604 11.1252C11.9918 11.3878 11.8379 11.7458 11.832 12.1214C11.845 12.6709 12.1886 13.1581 12.7019 13.3547C13.2152 13.5512 13.7964 13.4182 14.1731 13.018C15.1586 11.8294 16.6141 11.1307 18.1579 11.1053C20.1702 11.1053 21.5749 12.3406 21.5749 14.1636C21.5749 16.7039 18.9748 17.2817 17.4107 17.4013C17.0867 17.4186 16.784 17.5681 16.5732 17.8147C16.3623 18.0613 16.2618 18.3835 16.295 18.7063V21.4558C16.3054 21.8117 16.4575 22.1487 16.7175 22.3919C16.9775 22.6351 17.3239 22.7643 17.6797 22.7509H17.7893C18.5118 22.7139 19.08 22.1195 19.0844 21.396Z"/><path d="M30 11C32.7614 11 35 8.76142 35 6C35 3.23858 32.7614 1 30 1C27.2386 1 25 3.23858 25 6C25 8.76142 27.2386 11 30 11Z"/>'}];var EW=["logout",{outline:'<path fill-rule="evenodd" clip-rule="evenodd" d="M21 32H6C4.9 32 4 31.1 4 30V6C4 4.9 4.9 4 6 4H21C22.1 4 23 4.9 23 6V14H21V6H6V30H23C23 31.1 22.1 32 21 32ZM25.22 15.81C25.59 15.72 25.97 15.85 26.21 16.13L32 21.92L26.22 27.71C25.82 28.05 25.23 28.03 24.86 27.66C24.49 27.29 24.47 26.7 24.81 26.3L28.18 23H15C14.45 23 14 22.55 14 22C14 21.45 14.45 21 15 21H28.18L24.8 17.54C24.51 17.3 24.39 16.91 24.48 16.55C24.57 16.18 24.85 15.9 25.22 15.81Z"/>',solid:'<path d="M14 22C14 21.45 14.45 21 15 21H23V6C23 4.9 22.1 4 21 4H6C4.9 4 4 4.9 4 6V30C4 31.1 4.9 32 6 32H21C22.1 32 23 31.1 23 30V23H15C14.45 23 14 22.55 14 22ZM26.21 16.13C25.97 15.84 25.58 15.72 25.22 15.81C24.86 15.9 24.57 16.18 24.48 16.55C24.39 16.92 24.52 17.3 24.8 17.54L28.18 21H23V23H28.18L24.81 26.3C24.47 26.7 24.49 27.29 24.86 27.66C25.23 28.03 25.82 28.05 26.22 27.71L32 21.92L26.21 16.13Z"/>'}];var fx=["minus",{outline:'<path d="M26 17H10C9.44772 17 9 17.4477 9 18C9 18.5523 9.44772 19 10 19H26C26.5523 19 27 18.5523 27 18C27 17.4477 26.5523 17 26 17Z"/>'}];var br=["note",{outline:'<path d="M28,30H6V8H19.22l2-2H6A2,2,0,0,0,4,8V30a2,2,0,0,0,2,2H28a2,2,0,0,0,2-2V15l-2,2Z"/><path d="M33.53,5.84,30.16,2.47a1.61,1.61,0,0,0-2.28,0L14.17,16.26l-1.11,4.81A1.61,1.61,0,0,0,14.63,23,1.69,1.69,0,0,0,15,23l4.85-1.07L33.53,8.12A1.61,1.61,0,0,0,33.53,5.84ZM18.81,20.08l-3.66.81L16,17.26,26.32,6.87l2.82,2.82ZM30.27,8.56,27.45,5.74,29,4.16,31.84,7Z"/>',solid:'<path d="M33,6.4,29.3,2.7a1.71,1.71,0,0,0-2.36,0L23.65,6H6A2,2,0,0,0,4,8V30a2,2,0,0,0,2,2H28a2,2,0,0,0,2-2V11.76l3-3A1.67,1.67,0,0,0,33,6.4ZM18.83,20.13l-4.19.93,1-4.15,9.55-9.57,3.23,3.23ZM29.5,9.43,26.27,6.2l1.85-1.85,3.23,3.23Z"/>'}];var Ls=["plus",{outline:'<path d="M29.9999 17H18.9999V6C18.9999 5.44772 18.5522 5 17.9999 5C17.4476 5 16.9999 5.44772 16.9999 6V17H5.99992C5.44764 17 4.99992 17.4477 4.99992 18C4.98994 18.263 5.09427 18.5174 5.286 18.6976C5.47773 18.8778 5.738
2009 18.9662 5.99992 18.94H16.9999V30C16.9999 30.5523 17.4476 31 17.9999 31C18.5522 31 18.9999 30.5523 18.9999 30V19H29.9999C30.5522 19 30.9999 18.5523 30.9999 18C30.9999 17.4477 30.5522 17 29.9999 17Z"/>'}];var k1e=["printer",{outline:'<path fill-rule="evenodd" clip-rule="evenodd" d="M27 8H30C32.21 8 34 9.79 34 12V23H29V21H32V12C32 10.9 31.1 10 30 10H6C4.9 10 4 10.9 4 12V21H7V23H2V12C2 9.79 3.79 8 6 8H9V4H27V8ZM28 17H8C7.45 17 7 17.45 7 18C7 18.55 7.45 19 8 19H9V32H27V19H28C28.55 19 29 18.55 29 18C29 17.45 28.55 17 28 17ZM25 30H11V19H25V30ZM25 8H11V6H25V8ZM29 12.04H27V14.04H29V12.04Z"/>',outlineAlerted:'<path d="M26.9039 1.64597L21.2222 11.1156C20.9526 11.4981 20.9281 11.9946 21.1588 12.4002C21.3896 12.8058 21.8363 13.0517 22.3148 13.0364H33.6881C34.1666 13.0517 34.6134 12.8058 34.8441 12.4002C35.0748 11.9946 35.0503 11.4981 34.7808 11.1156L29.0991 1.64597C28.8711 1.26889 28.4532 1.03711 28.0015 1.03711C27.5497 1.03711 27.1319 1.26889 26.9039 1.64597Z"/><path d="M23.1594 4H9V8H6C3.79 8 2 9.79 2 12V23H7V21H4V12C4 10.9 4.9 10 6 10H19.5594L20.7594 8H11V6H21.9594L23.1594 4Z"/><path d="M32 15.0367H33.6637C33.7763 15.0389 33.8886 15.0354 34 15.0263V23H29V21H32V15.0367Z"/><path fill-rule="evenodd" clip-rule="evenodd" d="M8 17H28C28.55 17 29 17.45 29 18C29 18.55 28.55 19 28 19H27V32H9V19H8C7.45 19 7 18.55 7 18C7 17.45 7.45 17 8 17ZM11 30H25V19H11V30Z"/>',outlineBadged:'<path d="M30 11C32.7614 11 35 8.76142 35 6C35 3.23858 32.7614 1 30 1C27.2386 1 25 3.23858 25 6C25 8.76142 27.2386 11 30 11Z"/><path d="M27 12.3264C27.6217 12.6217 28.2939 12.8281 29 12.9291V14.04H27V12.3264Z"/><path d="M32 12.7101V21H29V23H34V12C34 11.9162 33.9974 11.8331 33.9924 11.7506C33.3903 12.1694 32.7194 12.496 32 12.7101Z"/><path d="M24.2547 10C23.8334 9.39599 23.5049 8.72243 23.2899 8H11V6H23C23 5.30503 23.1013 4.63371 23.2899 4H9V8H6C3.79 8 2 9.79 2 12V23H7V21H4V12C4 10.9 4.9 10 6 10H24.2547Z"/><path fill-rule="evenodd" clip-rule="evenodd" d="M8 17H28C28.55 17 29 17.45 29 18C29 18.55 28.55 19 28 19H27V32H9V19H8C7.45 19 7 18.55 7 18C7 17.45 7.45 17 8 17ZM11 30H25V19H11V30Z"/>',solid:'<path fill-rule="evenodd" clip-rule="evenodd" d="M30 8H27V4H9V8H6C3.79 8 2 9.79 2 12V23H9V32H27V23H34V12C34 9.79 32.21 8 30 8ZM25 30H11V19H25V30ZM25 8H11V6H25V8ZM29 14.04H27V12.04H29V14.04Z"/>',solidAlerted:'<path fill-rule="evenodd" clip-rule="evenodd" d="M23.1594 4H9V8H6C3.79 8 2 9.79 2 12V23H9V32H27V23H34V15.0263C33.8886 15.0354 33.7763 15.0389 33.6637 15.0367H22.3395C21.1577 15.0604 20.0233 14.4489 19.4206 13.3893C18.8204 12.3342 18.8703 11.0423 19.5362 10.0387L20.7594 8H11V6H21.9594L23.1594 4ZM11 30H25V19H11V30Z"/><path d="M26.9039 1.64597L21.2222 11.1156C20.9526 11.4981 20.9281 11.9946 21.1588 12.4002C21.3896 12.8058 21.8363 13.0517 22.3148 13.0364H33.6881C34.1666 13.0517 34.6134 12.8058 34.8441 12.4002C35.0748 11.9946 35.0503 11.4981 34.7808 11.1156L29.0991 1.64597C28.8711 1.26889 28.4532 1.03711 28.0015 1.03711C27.5497 1.03711 27.1319 1.26889 26.9039 1.64597Z"/>',solidBadged:'<path d="M30 11C32.7614 11 35 8.76142 35 6C35 3.23858 32.7614 1 30 1C27.2386 1 25 3.23858 25 6C25 8.76142 27.2386 11 30 11Z"/><path fill-rule="evenodd" clip-rule="evenodd" d="M33.9924 11.7506C32.86 12.5383 31.4839 13 30 13C29.6605 13 29.3266 12.9758 29 12.9291V14.04H27V12.3264C25.2236 11.4825 23.8591 9.91253 23.2899 8H11V6H23C23 5.30503 23.1013 4.63371 23.2899 4H9V8H6C3.79 8 2 9.79 2 12V23H9V32H27V23H34V12C34 11.9162 33.9974 11.8331 33.9924 11.7506ZM11 30H25V19H11V30Z"/>'}];var wW=["slider",{outline:'<path fill-rule="evenodd" clip-rule="evenodd" d="M11.9804 12.37C11.9881 10.5397 10.7556 8.93757 8.98767 8.48V5C8.98767 4.44772 8.54105 4 7.99011 4C7.43917 4 6.99255 4.44772 6.99255 5V8.48C5.19755 8.91093 3.93164 10.5197 3.93164 12.37C3.93164 14.2203 5.19755 15.8291 6.99255 16.26V31C6.99255 31.5523 7.43917 32 7.99011 32C8.54105 32 8.98767 31.5523 8.98767 31V16.26C10.7556 15.8024 11.9881 14.2003 11.9804 12.37ZM28.9389 11.94C30.7069 12.3976 31.9394 13.9997 31.9316 15.83C31.9394 17.6603 30.7069 19.2624 28.9389 19.72V31C28.9389 31.5523 28.4923 32 27.9414 32C27.3904 32 26.9438 31.5523 26.9438 31V19.72C25.1488 19.2891 23.8829 17.6803 23.8829 15.83C23.8829 13.9797 25.1488 12.3709 26.9438 11.94V5C26.9438 4.44772 27.3904 4 27.9414 4C28.4923 4 28.9389 4.44772 28.9389 5V11.94ZM25.9462 15.8301C25.9462 16.9346 26.8395 17.8301 27.9414 17.8301V17.8701C28.4775 17.8702 28.9911 17.654 29.3664 17.2702C29.7417 16.8865 29.9472 16.3674 29.9365 15.8301C29.9365 14.7255 29.0432
2013.8301 27.9414 13.8301C26.8395 13.8301 25.9462 14.7255 25.9462 15.8301ZM5.99499 12.3701C5.99499 13.4747 6.88824 14.3701 7.99011 14.3701V14.4001C8.52448 14.4002 9.03654 14.1854 9.41157 13.8038C9.7866 13.4222 9.99325 12.9057 9.98524 12.3701C9.98524 11.2655 9.09199 10.3701 7.99011 10.3701C6.88824 10.3701 5.99499 11.2655 5.99499 12.3701ZM21.956 24.5C21.9638 22.6697 20.7312 21.0676 18.9633 20.61V5C18.9633 4.44772 18.5167 4 17.9658 4C17.4148 4 16.9682 4.44772 16.9682 5V20.61C15.1732 21.0409 13.9073 22.6497 13.9073 24.5C13.9073 26.3503 15.1732 27.9591 16.9682 28.39V31C16.9682 31.5523 17.4148 32 17.9658 32C18.5167 32 18.9633 31.5523 18.9633 31V28.39C20.7312 27.9324 21.9638 26.3303 21.956 24.5ZM15.9706 24.5C15.9706 25.6046 16.8639 26.5 17.9657 26.5V26.53C18.5001 26.5301 19.0122 26.3152 19.3872 25.9336C19.7622 25.5521 19.9689 25.0356 19.9609 24.5C19.9609 23.3954 19.0676 22.5 17.9657 22.5C16.8639 22.5 15.9706 23.3954 15.9706 24.5Z"/>',solid:'<path fill-rule="evenodd" clip-rule="evenodd" d="M12.05 12.37C12.05 10.54 10.83 8.94 9.06 8.48V5C9.06 4.45 8.61 4 8.06 4C7.51 4 7.06 4.45 7.06 5V8.48C5.26 8.91 4 10.52 4 12.37C4 14.22 5.27 15.83 7.06 16.26V31C7.06 31.55 7.51 32 8.06 32C8.61 32 9.06 31.55 9.06 31V16.26C10.83 15.8 12.06 14.2 12.05 12.37ZM29.01 11.94C30.78 12.4 32.01 14 32 15.83C32 17.66 30.78 19.26 29.01 19.72V31C29.01 31.55 28.56 32 28.01 32C27.46 32 27.01 31.55 27.01 31V19.72C25.21 19.29 23.95 17.68 23.95 15.83C23.95 13.98 25.22 12.37 27.01 11.94V5C27.01 4.45 27.46 4 28.01 4C28.56 4 29.01 4.45 29.01 5V11.94ZM22.03 24.5C22.03 22.67 20.81 21.07 19.04 20.61V5C19.04 4.45 18.59 4 18.04 4C17.49 4 17.04 4.45 17.04 5V20.61C15.24 21.04 13.98 22.65 13.98 24.5C13.98 26.35 15.25 27.96 17.04 28.39V31C17.04 31.55 17.49 32 18.04 32C18.59 32 19.04 31.55 19.04 31V28.39C20.81 27.93 22.04 26.33 22.03 24.5Z"/>'}];var xW=["sort-by",{outline:'<path d="M15.0312 24H5.03125C4.48125 24 4.03125 24.45 4.03125 25C4.03125 25.55 4.48125 26 5.03125 26H15.0312C15.5813 26 16.0312 25.55 16.0312 25C16.0312 24.45 15.5813 24 15.0312 24ZM27.0312 8H5.03125C4.48125 8 4.03125 8.45 4.03125 9C4.03125 9.55 4.48125 10 5.03125 10H27.0312C27.5812 10 28.0312 9.55 28.0312 9C28.0312 8.45 27.5812 8 27.0312 8ZM21.0312 16H5.03125C4.48125 16 4.03125 16.45 4.03125 17C4.03125 17.55 4.48125 18 5.03125 18H21.0312C21.5812 18 22.0312 17.55 22.0312 17C22.0312 16.45 21.5812 16 21.0312 16Z"/>'}];var DW=["switch",{outline:'<path d="M23.9929 10.0062H19.9943V12.0082H23.9929V10.0062ZM7.99857 26.0219H9.99786V24.02H7.99857V26.0219ZM27.9914 10.0062H25.9921V12.0082H27.9914V10.0062ZM25.7022 18.3044C25.3124 17.914 24.6826 17.914 24.2928 18.3044C23.9029 18.6947 23.9029 19.3254 24.2928 19.7157L28.2513 24.01H18.005V26.0119H28.2513L24.2928 30.3061C23.9029 30.6965 23.9029 31.3271 24.2928 31.7175C24.4927 31.9177 24.7426 32.0078 25.0025 32.0078C25.2624 32.0078 25.5123 31.9077 25.7122 31.7175L32 25.0009L25.7122 18.2843L25.7022 18.3044ZM11.7072 16.3024L7.74866 12.0082H17.995V10.0062H7.74866L11.7072 5.71199C12.0971 5.3216 12.0971 4.69098 11.7072 4.3006C11.3174 3.91022 10.6876 3.91022 10.2978 4.3006L4 11.0072L10.2878 17.7238C10.4877 17.924 10.7376 18.0141 10.9975 18.0141C11.2574 18.0141 11.5073 17.914 11.7072 17.7238C12.0971 17.3334 12.0971 16.7028 11.7072 16.3124V16.3024ZM11.9971 26.0219H15.9957V24.02H11.9971V26.0219Z"/>'}];var Ho=["trash",{outline:'<path d="M27.98 31C28 31.25 27.92 31.49 27.76 31.68C27.6 31.87 27.37 31.98 27.12 32H8.85C8.6 31.98 8.37 31.87 8.21 31.68C8.05 31.49 7.97 31.25 7.99 31V11.03H5.97V31C5.95 31.78 6.24 32.53 6.78 33.09C7.32 33.65 8.06 33.98 8.85 34H27.12C27.9 33.98 28.65 33.66 29.19 33.09C29.73 32.52 30.02 31.77 30 31V11.03H27.98V31ZM13 12.98V27.98H15.02V12.98H13ZM15 4H21V6H23V4C23 2.9 22.1 2 21 2H15C13.9 2 13 2.9 13 4V6H15V4ZM30.99 6.98H5.01C4.45 6.98 4 7.43 4 7.98C4 8.53 4.45 8.98 5.01 8.98H30.99C31.55 8.98 32 8.53 32 7.98C32 7.43 31.55 6.98 30.99 6.98ZM20.98 12.98V27.98H23V12.98H20.98Z"/>',solid:'<path d="M15 4H21V6H23V4C23 2.9 22.1 2 21 2H15C13.9 2 13 2.9 13 4V6H15V4ZM30.99 6.98H5.01C4.45 6.98 4 7.43 4 7.98C4 8.53 4.45 8.98 5.01 8.98H30.99C31.55 8.98 32 8.53 32 7.98C32 7.43 31.55 6.98 30.99 6.98ZM5.97 11.03V31C5.95 31.78 6.24 32.53 6.78 33.09C7.32 33.65 8.06 33.98 8.85 34H27.12C27.9 33.98 28.65 33.66 29.19 33.09C29.73 32.52 30.02 31.77 30 31V11.03H5.97ZM20.79 28.82V15H23.21V29H20.79V28.82ZM12.81 28.82V15H15.23V29H12.81V28.82Z"/>'}];var ld=["window-close",{outline:'<path d="M19.41 18.0003L26.7 10.7103C27.0398 10.3135 27.0169 9.72207 26.6476 9.3527C26.2782 8.98333 25.6868 8.96049 25.29 9.30026L18 16.5903L10.71 9.29026C10.3132 8.95049 9.72181 8.97333 9.35244 9.3427C8.98307 9.71207 8.96023 10.3035 9.30001 10.7003L16.59 18.0003L9.29001 25.2903C9.00463 25.5347 8.88032 25.9
20184 8.96819 26.2837C9.05607 26.649 9.34129 26.9342 9.70659 27.0221C10.0719 27.1099 10.4556 26.9856 10.7 26.7003L18 19.4103L25.29 26.7003C25.6868 27.04 26.2782 27.0172 26.6476 26.6478C27.0169 26.2785 27.0398 25.687 26.7 25.2903L19.41 18.0003Z"/>'}];var TW=["credit-card",{outline:'<path d="M32,6H4A2,2,0,0,0,2,8V28a2,2,0,0,0,2,2H32a2,2,0,0,0,2-2V8A2,2,0,0,0,32,6Zm0,2,0,12H4L4,8ZM4,28V24H32v4Z"/>',solid:'<rect x="7" y="3" width="22" height="30" rx="0.96" ry="0.96" transform="translate(36) rotate(90)" fill="none" stroke="#000" stroke-linejoin="round" stroke-width="2"/><path d="M32,6H4A2,2,0,0,0,2,8V28a2,2,0,0,0,2,2H32a2,2,0,0,0,2-2V8A2,2,0,0,0,32,6Zm0,18H4V20H32Z"/>'}];var MW=["euro",{outline:'<path d="M30.297 26.49C28.0464 28.75 25.0656 30 21.8948 30C18.7239 30 15.7331 28.75 13.4925 26.49C12.1922 25.18 11.2719 23.64 10.7018 22H25.0056C25.5558 22 26.0059 21.55 26.0059 21C26.0059 20.45 25.5558 20 25.0056 20H10.1817C9.9616 18.68 9.9616 17.32 10.1817 16H25.0056C25.5558 16 26.0059 15.55 26.0059 15C26.0059 14.45 25.5558 14 25.0056 14H10.7018C11.2719 12.36 12.1922 10.82 13.4925 9.51C15.7431 7.25 18.7239 6 21.8948 6C25.0656 6 28.0564 7.25 30.297 9.51C30.6871 9.9 31.3173 9.9 31.7074 9.51C32.0975 9.12 32.0975 8.49 31.7074 8.1C29.0967 5.46 25.6058 4 21.8948 4C18.1838 4 14.6929 5.46 12.0722 8.1C10.3817 9.8 9.2214 11.84 8.59123 14H5.00027C4.45012 14 4 14.45 4 15C4 15.55 4.45012 16 5.00027 16H8.16111C7.97106 17.33 7.97106 18.67 8.16111 20H5.00027C4.45012 20 4 20.45 4 21C4 21.55 4.45012 22 5.00027 22H8.58123C9.2114 24.16 10.3717 26.19 12.0622 27.9C14.6829 30.55 18.1738 32 21.8848 32C25.5958 32 29.0867 30.54 31.7074 27.9C32.0975 27.51 32.0975 26.87 31.7074 26.49C31.3173 26.1 30.6771 26.1 30.297 26.49Z"/>',solid:'<path fill-rule="evenodd" clip-rule="evenodd" d="M2 18C2 9.16344 9.16344 2 18 2C22.2435 2 26.3131 3.68571 29.3137 6.68629C32.3143 9.68687 34 13.7565 34 18C34 26.8366 26.8366 34 18 34C9.16344 34 2 26.8366 2 18ZM15.7976 28.0945C18.9749 29.3034 22.5347 28.9577 25.42 27.16V27.12C25.7987 26.8824 26.0219 26.4608 26.0055 26.0141C25.9891 25.5673 25.7356 25.1633 25.3405 24.9541C24.9454 24.7449 24.4687 24.7624 24.09 25C21.9861 26.3219 19.4032 26.6394 17.0417 25.8664C14.6803 25.0934 12.7851 23.3101 11.87 21H21.15C21.7023 21 22.15 20.5523 22.15 20C22.15 19.4477 21.7023 19 21.15 19H11.33C11.2433 18.3362 11.2433 17.6638 11.33 17H21.18C21.7323 17 22.18 16.5523 22.18 16C22.18 15.4477 21.7323 15 21.18 15H11.82C12.6941 12.6508 14.5762 10.8178 16.9476 10.006C19.3191 9.19422 21.9296 9.48932 24.06 10.81C24.6427 11.1367 25.3793 10.9474 25.7324 10.3803C26.0854 9.81326 25.9303 9.06878 25.38 8.69C22.476 6.88678 18.8924 6.55609 15.7075 7.79742C12.5225 9.03875 10.1079 11.7072 9.19 15H5.79C5.23772 15 4.79 15.4477 4.79 16C4.79 16.5523 5.23772 17 5.79 17H8.79V17.93C8.79 18.1113 8.80268 18.2925 8.81526 18.4725C8.82768 18.65 8.84 18.8262 8.84 19H5.84C5.28772 19 4.84 19.4477 4.84 20C4.84 20.5523 5.28772 21 5.84 21H9.23C10.1906 24.261 12.6202 26.8856 15.7976 28.0945Z"/>'}];var AW=["shopping-cart",{outline:'<path d="M11 27.9781C9.35 27.9781 8 29.3285 8 30.9791C8 32.6296 9.34 33.98 11 33.98C12.66 33.98 14 32.6296 14 30.9791C14 29.3285 12.66 27.9781 11 27.9781ZM11 31.9794C10.45 31.9794 10 31.5292 10 30.9791C10 30.4289 10.45 29.9787 11 29.9787C11.55 29.9787 12 30.4289 12 30.9791C12 31.5292 11.55 31.9794 11 31.9794ZM31.8 6.40138C31.61 6.1513 31.31 6.00125 31 6.00125
20H11.06L11.65 8.00188H29.67L26.24 20.0056H12.98C12.98 19.9156 12.98 19.8156 12.96 19.7255L7.96 2.72023C7.84 2.29009 7.44 2 7 2H3C2.45 2 2 2.45014 2 3.00031C2 3.55048 2.45 4.00063 3 4.00063H6.25L11.04 20.2857C11.07 20.3857 11.12 20.4858 11.18 20.5658L8.79 22.1563C8.73 22.1963 8.68 22.2363 8.64 22.2863C8.23 22.6965 8 23.2466 8 23.8268C8 25.0272 8.98 26.0075 10.18 26.0075H27C27.55 26.0075 28 25.5574 28 25.0072C28 24.457 27.55 24.0069 27 24.0069H10.18C10.08 24.0069 10 23.9269 10 23.8268C10 23.7968 10 23.7668 10.02 23.7468L12.64 22.0063H27C27.45 22.0063 27.84 21.7062 27.96 21.276L31.96 7.27165C32.05 6.97155 31.99 6.64145 31.8 6.39137V6.40138ZM25.01 27.9781C23.35 27.9781 22 29.3285 22 30.9891C22 32.6496 23.35 34 25.01 34C26.67 34 28.02 32.6496 28.02 30.9891C28.02 29.3285 26.67 27.9781 25.01 27.9781ZM25.01 32.0094C24.45 32.0094 24 31.5492 24 30.9991C24 30.4489 24.45 29.9887 25.01 29.9887C25.57 29.9887 26.02 30.4489 26.02 30.9991C26.02 31.5492 25.57 32.0094 25.01 32.0094Z"/>',outlineAlerted:'<path d="M26.9122 1.60953L21.2305 11.0792C20.9609 11.4617 20.9364 11.9582 21.1672 12.3638C21.3979 12.7694 21.8446 13.0153 22.3231 13H33.6964C34.1749 13.0153 34.6217 12.7694 34.8524 12.3638C35.0831 11.9582 35.0586 11.4617 34.7891 11.0792L29.1074 1.60953C28.8794 1.23245 28.4615 1.00067 28.0098 1.00067C27.558 1.00067 27.1402 1.23245 26.9122 1.60953Z"/><path d="M21.9455 6.00125H11.06L11.65 8.00188H20.7455L21.9455 6.00125Z"/><path d="M27.6692 15.0041H29.7514L27.96 21.276C27.84 21.7062 27.45 22.0063 27 22.0063H12.64L10.02 23.7468C10 23.7668 10 23.7968 10 23.8268C10 23.9269 10.08 24.0069 10.18 24.0069H27C27.55 24.0069 28 24.457 28 25.0072C28 25.5574 27.55 26.0075 27 26.0075H10.18C8.98 26.0075 8 25.0272 8 23.8268C8 23.2466 8.23 22.6965 8.64 22.2863C8.68 22.2363 8.73 22.1963 8.79 22.1563L11.18 20.5658C11.12 20.4858 11.07 20.3857 11.04 20.2857L6.25 4.00063H3C2.45 4.00063 2 3.55048 2 3.00031C2 2.45014 2.45 2 3 2H7C7.44 2 7.84 2.29009 7.96 2.72023L12.96 19.7255C12.98 19.8156 12.98 19.9156 12.98 20.0056H26.24L27.6692 15.0041Z"/><path fill-rule="evenodd" clip-rule="evenodd" d="M8 30.9791C8 29.3285 9.35 27.9781 11 27.9781C12.66 27.9781 14 29.3285 14 30.9791C14 32.6296 12.66 33.98 11 33.98C9.34 33.98 8 32.6296 8 30.9791ZM10 30.9791C10 31.5292 10.45 31.9794 11 31.9794C11.55 31.9794 12 31.5292 12 30.9791C12 30.4289 11.55 29.9787 11 29.9787C10.45 29.9787 10 30.4289 10 30.9791Z"/><path fill-rule="evenodd" clip-rule="evenodd" d="M22 30.9891C22 29.3285 23.35 27.9781 25.01 27.9781C26.67 27.9781 28.02 29.3285 28.02 30.9891C28.02 32.6496 26.67 34 25.01 34C23.35 34 22 32.6496 22 30.9891ZM24 30.9991C24 31.5492 24.45 32.0094 25.01 32.0094C25.57 32.0094 26.02 31.5492 26.02 30.9991C26.02 30.4489 25.57 29.9887 25.01 29.9887C24.45 29.9887 24 30.4489 24 30.9991Z"/>',outlineBadged:'<path d="M30 11C32.7614 11 35 8.76142 35 6C35 3.23858 32.7614 1 30 1C27.2386 1 25 3.23858 25 6C25 8.76142 27.2386 11 30 11Z"/><path d="M30.325 12.996C30.2173 13.001 30.1089 13.0034 30 13.0034C29.4138 13.0034 28.8444 12.9314 28.3002 12.7956L26.24 20.0056H12.98C12.98 19.9156 12.98 19.8156 12.96 19.7255L7.96 2.72023C7.84 2.29009 7.44 2 7 2H3C2.45 2 2 2.45014 2 3.00031C2 3.55048 2.45 4.00063 3 4.00063H6.25L11.04 20.2857C11.07 20.3857 11.12 20.4858 11.18 20.5658L8.79 22.1563C8.73 22.1963 8.68 22.2363 8.64 22.2863C8.23 22.6965 8 23.2466 8 23.8268C8 25.0272 8.98 26.0075 10.18 26.0075H27C27.55 26.0075 28 25.5574 28 25.0072C28 24.457 27.55 24.0069 27 24.0069H10.18C10.08 24.0069 10 23.9269 10 23.8268C10 23.7968 10 23.7668 10.02 23.7468L12.64 22.0063H27C27.45 22.0063 27.84 21.7062 27.96 21.276L30.325 12.996Z"/><path d="M23.2899 8.00188C23.1013 7.36797 23 6.69644 23 6.00125H11.06L11.65 8.00188H23.2899Z"/><path fill-rule="evenodd" clip-rule="evenodd" d="M8 30.9791C8 29.3285 9.35 27.9781 11 27.9781C12.66 27.9781 14 29.3285 14 30.9791C14 32.6296 12.66 33.98 11 33.98C9.34 33.98 8 32.6296 8 30.9791ZM10 30.9791C10 31.5292 10.45 31.9794 11 31.9794C11.55 31.9794 12 31.5292 12 30.9791C12 30.4289 11.55 29.9787 11 29.9787C10.45 29.9787 10 30.4289 10 30.9791Z"/><path fill-rule="evenodd" clip-rule="evenodd" d="M22 30.9891C22 29.3285 23.35 27.9781 25.01 27.9781C26.67 27.9781 28.02 29.3285 28.02 30.9891C28.02 32.6496 26.67 34 25.01 34C23.35 34 22 32.6496 22 30.9891ZM24 30.9991C24 31.5492 24.45 32.0094 25.01 32.0094C25.57 32.0094 26.02 31.5492 26.02 30.9991C26.02 30.4489 25.57 29.9887 25.01 29.9887C24.45 29.9887 24 30.4489 24 30.9991Z"/>',solid:'<path d="M11 27.9781C9.35 27.9781 8 29.3285 8 30.9791C8 32.6296 9.34 33.98 11 33.98C12.66 33.98 14 32.6296 14 30.9791C14 29.3285 12.66 27.9781 11 27.9781ZM11 31.9794C10.45 31.9794 10 31.5292 10 30.9791C10 30.4289 10.45 29.9787 11 29.9787C11.55 29.9787 12 30.4289 12 30.9791C12 31.5292 11.55 31.9794 11 31.9794ZM31.8 6.40138C31.61 6.1513 31.31 6.00125 31 6.00125
20H8.92L7.95 2.72023C7.83 2.29009 7.43 2 6.99 2H3C2.45 2 2 2.45014 2 3.00031C2 3.55048 2.45 4.00063 3 4.00063H6.25L11.04 20.2857C11.07 20.3857 11.12 20.4858 11.18 20.5658L8.79 22.1563C8.73 22.1963 8.68 22.2363 8.64 22.2863C8.23 22.6965 8 23.2466 8 23.8268C8 25.0272 8.98 26.0075 10.18 26.0075H27C27.55 26.0075 28 25.5574 28 25.0072C28 24.457 27.55 24.0069 27 24.0069H10.18C10.08 24.0069 10 23.9269 10 23.8268C10 23.7968 10 23.7668 10.02 23.7468L12.64 22.0063H27C27.45 22.0063 27.84 21.7062 27.96 21.276L31.96 7.27165C32.05 6.97155 31.99 6.64145 31.8 6.39137V6.40138ZM25.01 27.9781C23.35 27.9781 22 29.3285 22 30.9891C22 32.6496 23.35 34 25.01 34C26.67 34 28.02 32.6496 28.02 30.9891C28.02 29.3285 26.67 27.9781 25.01 27.9781ZM25.01 32.0094C24.45 32.0094 24 31.5492 24 30.9991C24 30.4489 24.45 29.9887 25.01 29.9887C25.57 29.9887 26.02 30.4489 26.02 30.9991C26.02 31.5492 25.57 32.0094 25.01 32.0094Z"/>',solidAlerted:'<path d="M26.9122 1.60953L21.2305 11.0792C20.9609 11.4617 20.9364 11.9582 21.1672 12.3638C21.3979 12.7694 21.8446 13.0153 22.3231 13H33.6964C34.1749 13.0153 34.6217 12.7694 34.8524 12.3638C35.0831 11.9582 35.0586 11.4617 34.7891 11.0792L29.1074 1.60953C28.8794 1.23245 28.4615 1.00067 28.0098 1.00067C27.558 1.00067 27.1402 1.23245 26.9122 1.60953Z"/><path d="M21.9517 6.00125L19.5498 10.0046C18.8837 11.0084 18.8338 12.3008 19.4341 13.3562C20.0371 14.4161 21.1718 15.0277 22.354 15.0041H29.7601L27.9681 21.276C27.8481 21.7062 27.458 22.0063 27.0078 22.0063H12.6433L10.0225 23.7468C10.0025 23.7668 10.0025 23.7968 10.0025 23.8268C10.0025 23.9269 10.0825 24.0069 10.1826 24.0069H27.0078C27.558 24.0069 28.0081 24.457 28.0081 25.0072C28.0081 25.5574 27.558 26.0075 27.0078 26.0075H10.1826C8.98218 26.0075 8.00188 25.0272 8.00188 23.8268C8.00188 23.2466 8.23195 22.6965 8.64208 22.2863C8.68209 22.2363 8.7321 22.1963 8.79212 22.1563L11.1829 20.5658C11.1229 20.4858 11.0728 20.3857 11.0428 20.2857L6.25133 4.00063H3.00031C2.45014 4.00063 2 3.55048 2 3.00031C2 2.45014 2.45014 2 3.00031 2H6.99156C7.4317 2 7.83182 2.29009 7.95186 2.72023L8.92216 6.00125H21.9517Z"/><path fill-rule="evenodd" clip-rule="evenodd" d="M8.00188 30.9791C8.00188 29.3285 9.3523 27.9781 11.0028 27.9781C12.6633 27.9781 14.0038 29.3285 14.0038 30.9791C14.0038 32.6296 12.6633 33.98 11.0028 33.98C9.3423 33.98 8.00188 32.6296 8.00188 30.9791ZM10.0025 30.9791C10.0025 31.5292 10.4526 31.9794 11.0028 31.9794C11.553 31.9794 12.0031 31.5292 12.0031 30.9791C12.0031 30.4289 11.553 29.9787 11.0028 29.9787C10.4526 29.9787 10.0025 30.4289 10.0025 30.9791Z"/><path fill-rule="evenodd" clip-rule="evenodd" d="M22.0063 30.9891C22.0063 29.3285 23.3567 27.9781 25.0172 27.9781C26.6777 27.9781 28.0281 29.3285 28.0281 30.9891C28.0281 32.6496 26.6777 34 25.0172 34C23.3567 34 22.0063 32.6496 22.0063 30.9891ZM24.0069 30.9991C24.0069 31.5492 24.457 32.0094 25.0172 32.0094C25.5774 32.0094 26.0275 31.5492 26.0275 30.9991C26.0275 30.4489 25.5774 29.9887 25.0172 29.9887C24.457 29.9887 24.0069 30.4489 24.0069 30.9991Z"/>',solidBadged:'<path d="M30 11C32.7614 11 35 8.76142 35 6C35 3.23858 32.7614 1 30 1C27.2386 1 25 3.23858 25 6C25 8.76142 27.2386 11 30 11Z"/><path d="M30.325 12.996C30.2173 13.001 30.1089 13.0034 30 13.0034C26.134 13.0034 23 9.86845 23 6.00125H8.92L7.95 2.72023C7.83 2.29009 7.43 2 6.99 2H3C2.45 2 2 2.45014 2 3.00031C2 3.55048 2.45 4.00063 3 4.00063H6.25L11.04 20.2857C11.07 20.3857 11.12 20.4858 11.18 20.5658L8.79 22.1563C8.73 22.1963 8.68 22.2363 8.64 22.2863C8.23 22.6965 8 23.2466 8 23.8268C8 25.0272 8.98 26.0075 10.18 26.0075H27C27.55 26.0075 28 25.5574 28 25.0072C28 24.457 27.55 24.0069 27 24.0069H10.18C10.08 24.0069 10 23.9269 10 23.8268C10 23.7968 10 23.7668 10.02 23.7468L12.64 22.0063H27C27.45 22.0063 27.84 21.7062 27.96 21.276L30.325 12.996Z"/><path fill-rule="evenodd" clip-rule="evenodd" d="M8 30.9791C8 29.3285 9.35 27.9781 11 27.9781C12.66 27.9781 14 29.3285 14 30.9791C14 32.6296 12.66 33.98 11 33.98C9.34 33.98 8 32.6296 8 30.9791ZM10 30.9791C10 31.5292 10.45 31.9794 11 31.9794C11.55 31.9794 12 31.5292 12 30.9791C12 30.4289 11.55 29.9787 11 29.9787C10.45 29.9787 10 30.4289 10 30.9791Z"/><path fill-rule="evenodd" clip-rule="evenodd" d="M22 30.9891C22 29.3285 23.35 27.9781 25.01 27.9781C26.67 27.9781 28.02 29.3285 28.02 30.9891C28.02 32.6496 26.67 34 25.01 34C23.35 34 22 32.6496 22 30.9891ZM24 30.9991C24 31.5492 24.45 32.0094 25.01 32.0094C25.57 32.0094 26.02 31.5492 26.02 30.9991C26.02 30.4489 25.57 29.9887 25.01 29.9887C24.45 29.9887 24 30.4489 24 30.9991Z"/>'}];var OW=["video-camera",{outline:'<path d="M34,10.34a2.11,2.11,0,0,0-1.16-1.9,2,2,0,0,0-2.13.15L26,11.6V8a2,2,0,0,0-2-2H6a4,4,0,0,0-4,4V26a4,4,0,0,0,4,4H24a2,2,0,0,0,2-2V24.4l4.64,3a2.07,2.07,0,0,0,2.2.2A2.11,2.11,0,0,0,34,25.66ZM31.93,25.77c-.06,0-.11,0-.19-.06L24,20.77V28H6a2,2,0,0,1-2-2V10A2,2,0,0,1,6,8H24v7.23l7.8-5a.11.11,0,0,1,.13,0,.11.11,0,0,1,.07.11V25.66A.11.
2011,0,0,1,31.93,25.77Z"/>',solid:'<path d="M32.3,9.35,26,12.9V8a2,2,0,0,0-2-2H6a4,4,0,0,0-4,4V26a4,4,0,0,0,4,4H24a2,2,0,0,0,2-2V23.08l6.3,3.55A1.1,1.1,0,0,0,34,25.77V10.2A1.1,1.1,0,0,0,32.3,9.35Z"/>'}];var RW=["export",{outline:'<path fill-rule="evenodd" clip-rule="evenodd" d="M6 13.61H13.61V6H24V14.38H26V6C26 4.89543 25.1046 4 24 4H10.87L4 10.87V30C4 31.1046 4.89543 32 6 32H24C25.1046 32 26 31.1046 26 30H6V13.61ZM28.32 16.35C27.9232 16.0102 27.3318 16.0331 26.9624 16.4024C26.5931 16.7718 26.5702 17.3632 26.91 17.76L30.16 21H18C17.4477 21 17 21.4477 17 22C17 22.5523 17.4477 23 18 23H30.19L26.91 26.28C26.6246 26.5244 26.5003 26.9081 26.5882 27.2734C26.6761 27.6387 26.9613 27.9239 27.3266 28.0118C27.6919 28.0997 28.0756 27.9754 28.32 27.69L34 22L28.32 16.35ZM11.69 6L6 11.69V12H12V6H11.69Z"/>',outlineAlerted:'<path d="M26.9039 1.64621L21.2222 11.1159C20.9526 11.4984 20.9281 11.9949 21.1588 12.4005C21.3896 12.806 21.8363 13.0519 22.3148 13.0367H33.6881C34.1666 13.0519 34.6134 12.806 34.8441 12.4005C35.0748 11.9949 35.0503 11.4984 34.7808 11.1159L29.0991 1.64621C28.8711 1.26913 28.4532 1.03735 28.0015 1.03735C27.5497 1.03735 27.1319 1.26913 26.9039 1.64621Z"/><path fill-rule="evenodd" clip-rule="evenodd" d="M23.1594 4L21.9594 6H13.61V13.61H6V30H26C26 31.1046 25.1046 32 24 32H6C4.89543 32 4 31.1046 4 30V10.87L10.87 4H23.1594ZM6 11.69L11.69 6H12V12H6V11.69Z"/><path d="M26.9624 16.4024C27.3318 16.0331 27.9232 16.0102 28.32 16.35L34 22L28.32 27.69C28.0756 27.9754 27.6919 28.0997 27.3266 28.0118C26.9613 27.9239 26.6761 27.6387 26.5882 27.2734C26.5003 26.9081 26.6246 26.5244 26.91 26.28L30.19 23H18C17.4477 23 17 22.5523 17 22C17 21.4477 17.4477 21 18 21H30.16L26.91 17.76C26.5702 17.3632 26.5931 16.7718 26.9624 16.4024Z"/>',outlineBadged:'<path fill-rule="evenodd" clip-rule="evenodd" d="M13.61 13.61H6V30H26C26 31.1046 25.1046 32 24 32H6C4.89543 32 4 31.1046 4 30V10.87L10.87 4H22.78C22.5968 4.65097 22.5026 5.32375 22.5 6H13.61V13.61ZM11.69 6L6 11.69V12H12V6H11.69Z"/><path d="M26 12.34C25.2264 11.8501 24.5486 11.2231 24 10.49V14.38H26V12.34Z"/><path d="M26.9624 16.4024C27.3318 16.0331 27.9232 16.0102 28.32 16.35L34 22L28.32 27.69C28.0756 27.9754 27.6919 28.0997 27.3266 28.0118C26.9613 27.9239 26.6761 27.6387 26.5882 27.2734C26.5003 26.9081 26.6246 26.5244 26.91 26.28L30.19 23H18C17.4477 23 17 22.5523 17 22C17 21.4477 17.4477 21 18 21H30.16L26.91 17.76C26.5702 17.3632 26.5931 16.7718 26.9624 16.4024Z"/><path d="M30 11C32.7614 11 35 8.76142 35 6C35 3.23858 32.7614 1 30 1C27.2386 1 25 3.23858 25 6C25 8.76142 27.2386 11 30 11Z"/>',solid:'<path fill-rule="evenodd" clip-rule="evenodd" d="M16 22C16 21.45 16.45 21 17 21H25V23H17C16.45 23 16 22.55 16 22ZM25 23H30.19L26.91 26.28C26.62 26.52 26.5 26.91 26.59 27.27C26.68 27.64 26.96 27.92 27.33 28.01C27.7 28.1 28.08 27.97 28.32 27.69L34 22L28.32 16.35C27.92 16.01 27.33 16.03 26.96 16.4C26.59 16.77 26.57 17.36 26.91 17.76L30.16 21H25V6C25 4.9 24.1 4 23 4H10.87L4 10.86V30C4 31.1 4.9 32 6 32H23C24.1 32 25 31.1 25 30V23ZM12 12H6V11.68L11.69 6H12V12Z"/>',solidAlerted:'<path d="M26.9039 1.64621L21.2222 11.1159C20.9526 11.4984 20.9281 11.9949 21.1588 12.4005C21.3896 12.806 21.8363 13.0519 22.3148 13.0367H33.6881C34.1666 13.0519 34.6134 12.806 34.8441 12.4005C35.0748 11.9949 35.0503 11.4984 34.7808 11.1159L29.0991 1.64621C28.8711 1.26913 28.4532 1.03735 28.0015 1.03735C27.5497 1.03735 27.1319 1.26913 26.9039 1.64621Z"/><path fill-rule="evenodd" clip-rule="evenodd" d="M23.1557 4.00605L19.5362 10.0387C18.8703 11.0423 18.8204 12.3342 19.4206 13.3893C20.0233 14.4489 21.1577 15.0604 22.3395 15.0367H25V21H17C16.45 21 16 21.45 16 22C16 22.55 16.45 23 17 23H25V30C25 31.1 24.1 32 23 32H6C4.9 32 4 31.1 4 30V10.86L10.87 4H23C23.0524 4 23.1043 4.00204 23.1557 4.00605ZM6 12H12V6H11.69L6 11.68V12Z"/><path d="M25 23H30.19L26.91 26.28C26.62 26.52 26.5 26.91 26.59 27.27C26.68 27.64 26.96 27.92 27.33 28.01C27.7 28.1 28.08 27.97 28.32 27.69L34 22L28.32 16.35C27.92 16.01 27.33 16.03 26.96 16.4C26.59 16.77 26.57 17.36 26.91 17.76L30.16 21H25V23Z"/>',solidBadged:'<path d="M30 11C32.7614 11 35 8.76142 35 6C35 3.23858 32.7614 1 30 1C27.2386 1 25 3.23858 25 6C25 8.76142 27.2386 11 30 11Z"/><path fill-rule="evenodd" clip-rule="evenodd" d="M23.2839 4.02023C23.0991 4.64799 23 5.31242 23 6C23 7.90731 23.7628 9.63645 25 10.899V21H17C16.45 21 16 21.45 16 22C16 22.55 16.45 23 17 23H25V30C25 31.1 24.1 32 23 32H6C4.9 32 4 31.1 4 30V10.86L10.87 4H23C23.0963 4 23.1911 4.0069 23.2839 4.02023ZM6 12H12V6H11.69L6 11.68V12Z"/><path d="M25 23H30.19L26.91 26.28C26.62 26.52 26.5 26.91 26.59 27.27C26.68 27.
2064 26.96 27.92 27.33 28.01C27.7 28.1 28.08 27.97 28.32 27.69L34 22L28.32 16.35C27.92 16.01 27.33 16.03 26.96 16.4C26.59 16.77 26.57 17.36 26.91 17.76L30.16 21H25V23Z"/>'}];var PW=["import",{outline:'<path fill-rule="evenodd" clip-rule="evenodd" d="M28 4H14.87L8 10.86V15H10V13.61H17.61V6H28V30H8C8 31.1046 8.89543 32 10 32H28C29.1046 32 30 31.1046 30 30V6C30 4.89543 29.1046 4 28 4ZM16 12H10V11.68L15.7 6H16V12Z"/><path d="M11.6182 27.2734C11.5303 26.9081 11.6546 26.5244 11.94 26.28L15.23 23H3C2.44772 23 2 22.5523 2 22C2 21.4477 2.44772 21 3 21H15.2L11.91 17.73C11.5702 17.3332 11.5931 16.7418 11.9624 16.3724C12.3318 16.0031 12.9232 15.9802 13.32 16.32L19 22L13.35 27.69C13.1056 27.9754 12.7219 28.0997 12.3566 28.0118C11.9913 27.9239 11.7061 27.6387 11.6182 27.2734Z"/>',outlineAlerted:'<path d="M26.9039 1.64621L21.2222 11.1159C20.9526 11.4984 20.9281 11.9949 21.1588 12.4005C21.3896 12.806 21.8363 13.0519 22.3148 13.0367H33.6881C34.1666 13.0519 34.6134 12.806 34.8441 12.4005C35.0748 11.9949 35.0503 11.4984 34.7808 11.1159L29.0991 1.64621C28.8711 1.26913 28.4532 1.03735 28.0015 1.03735C27.5497 1.03735 27.1319 1.26913 26.9039 1.64621Z"/><path fill-rule="evenodd" clip-rule="evenodd" d="M23.1594 4H14.87L8 10.86V15H10V13.61H17.61V6H21.9594L23.1594 4ZM10 12H16V6H15.7L10 11.68V12Z"/><path d="M28 15.0367H30V30C30 31.1046 29.1046 32 28 32H10C8.89543 32 8 31.1046 8 30H28V15.0367Z"/><path d="M11.94 26.28C11.6546 26.5244 11.5303 26.9081 11.6182 27.2734C11.7061 27.6387 11.9913 27.9239 12.3566 28.0118C12.7219 28.0997 13.1056 27.9754 13.35 27.69L19 22L13.32 16.32C12.9232 15.9802 12.3318 16.0031 11.9624 16.3724C11.5931 16.7418 11.5702 17.3332 11.91 17.73L15.2 21H3C2.44772 21 2 21.4477 2 22C2 22.5523 2.44772 23 3 23H15.23L11.94 26.28Z"/>',outlineBadged:'<path fill-rule="evenodd" clip-rule="evenodd" d="M17.61 13.61H10V15H8V10.86L14.87 4H22.78C22.5968 4.65097 22.5026 5.32375 22.5 6H17.61V13.61ZM15.7 6L10 11.69V12H16V6H15.7Z"/><path d="M28 13.22V30H8C8 31.1046 8.89543 32 10 32H28C29.1046 32 30 31.1046 30 30V13.5C29.3237 13.4974 28.651 13.4032 28 13.22Z"/><path d="M11.6182 27.2734C11.5303 26.9081 11.6546 26.5244 11.94 26.28L15.23 23H3C2.44772 23 2 22.5523 2 22C2 21.4477 2.44772 21 3 21H15.2L11.91 17.73C11.5702 17.3332 11.5931 16.7418 11.9624 16.3724C12.3318 16.0031 12.9232 15.9802 13.32 16.32L19 22L13.35 27.69C13.1056 27.9754 12.7219 28.0997 12.3566 28.0118C11.9913 27.9239 11.7061 27.6387 11.6182 27.2734Z"/><path d="M30 11C32.7614 11 35 8.76142 35 6C35 3.23858 32.7614 1 30 1C27.2386 1 25 3.23858 25 6C25 8.76142 27.2386 11 30 11Z"/>',solid:'<path fill-rule="evenodd" clip-rule="evenodd" d="M28 4H14.87L8 10.86V21H3C2.44772 21 2 21.4477 2 22C2 22.5523 2.44772 23 3 23H8V30C8 31.1046 8.89543 32 10 32H28C29.1046 32 30 31.1046 30 30V6C30 4.89543 29.1046 4 28 4ZM8 23H15.23L11.91 26.27C11.5702 26.6668 11.5931 27.2582 11.9624 27.6276C12.3318 27.9969 12.9232 28.0198 13.32 27.68L19 22L13.36 16.34C12.9632 16.0002 12.3718 16.0231 12.0024 16.3924C11.6331 16.7618 11.6102 17.3532 11.95 17.75L15.2 21H8V23ZM16 12H10V11.68L15.69 6H16V12Z"/>',solidAlerted:'<path d="M26.9039 1.64621L21.2222 11.1159C20.9526 11.4984 20.9281 11.9949 21.1588 12.4005C21.3896 12.806 21.8363 13.0519 22.3148 13.0367H33.6881C34.1666 13.0519 34.6134 12.806 34.8441 12.4005C35.0748 11.9949 35.0503 11.4984 34.7808 11.1159L29.0991 1.64621C28.8711 1.26913 28.4532 1.03735 28.0015 1.03735C27.5497 1.03735 27.1319 1.26913 26.9039 1.64621Z"/><path fill-rule="evenodd" clip-rule="evenodd" d="M23.1594 4L19.5362 10.0387C18.8703 11.0423 18.8204 12.3342 19.4206 13.3893C20.0233 14.4489 21.1577 15.0604 22.3395 15.0367H30V30C30 31.1046 29.1046 32 28 32H10C8.89543 32 8 31.1046 8 30V23H15.23L11.91 26.27C11.5702 26.6668 11.5931 27.2582 11.9624 27.6276C12.3318 27.9969 12.9232 28.0198 13.32 27.68L19 22L13.36 16.34C12.9632 16.0002 12.3718 16.0231 12.0024 16.3924C11.6331 16.7618 11.6102 17.3532 11.95 17.75L15.2 21H8V10.86L14.87 4H23.1594ZM10 12H16V6H15.69L10 11.68V12Z"/><path d="M8 21H3C2.44772 21 2 21.4477 2 22C2 22.5523 2.44772 23 3 23H8V21Z"/>',solidBadged:'<path fill-rule="evenodd" clip-rule="evenodd" d="M22.5 6C22.5026 5.32375 22.5968 4.65097 22.78 4H14.87L8 10.86V21H3C2.44772 21 2 21.4477 2 22C2 22.5523 2.44772 23 3 23H8V30C8 31.1046 8.89543 32 10 32H28C29.1046 32 30 31.1046 30 30V13.5C25.8579 13.5 22.5 10.1421 22.5 6ZM8 23H15.23L11.91 26.27C11.5702 26.6668 11.5931 27.2582 11.9624 27.6276C12.3318 27.9969 12.9232 28.0198 13.32 27.
2068L19 22L13.36 16.34C12.9632 16.0002 12.3718 16.0231 12.0024 16.3924C11.6331 16.7618 11.6102 17.3532 11.95 17.75L15.2 21H8V23ZM16 12H10V11.68L15.69 6H16V12Z"/><path d="M30 11C32.7614 11 35 8.76142 35 6C35 3.23858 32.7614 1 30 1C27.2386 1 25 3.23858 25 6C25 8.76142 27.2386 11 30 11Z"/>'}];var Y1e=["pdf-file",{outline:'<path d="M22.89,2H8.83A1.88,1.88,0,0,0,7,3.91V15H9V4H21v8h8V32H9V27H7v5.09A1.88,1.88,0,0,0,8.83,34H29.17A1.88,1.88,0,0,0,31,32.09V9.92ZM23,10V4.1L29,10Z"/><path d="M9.45,19.7A2.73,2.73,0,0,0,6.7,17H3v8H4.67V22.4H6.51a2.72,2.72,0,0,0,2.93-2.51A1.21,1.21,0,0,0,9.45,19.7ZM6.33,20.83H4.67V18.57H6.33c.83,0,1.39.44,1.39,1.13S7.16,20.83,6.33,20.83Z"/><path d="M17.82,21c0-2.34-1.86-4-4.48-4H10.55v8h2.79C16,25,17.82,23.33,17.82,21Zm-4.26,2.45H12.22V18.56h1.34a2.44,2.44,0,0,1,0,4.88h0Z"/><polygon points="25.11 18.55 25.11 17 19.1 17 19.1 25 20.78 25 20.78 21.83 24.7 21.83 24.7 20.28 20.78 20.28 20.78 18.55 25.11 18.55"/>',solid:'<path d="M14.56,19.56H13.22v4.88h1.34a2.44,2.44,0,0,0,0-4.88Z"/><path d="M7.33,19.57H5.67v2.26H7.33c.83,0,1.39-.44,1.39-1.13S8.16,19.57,7.33,19.57Z"/><path d="M21.89,2H7.83A1.88,1.88,0,0,0,6,3.91V14H8V4H20v8h8v4H3a1,1,0,0,0-1,1V27a1,1,0,0,0,1,1H28v4H8V30H6v2.09A1.88,1.88,0,0,0,7.83,34H28.17A1.88,1.88,0,0,0,30,32.09V9.92ZM7.51,23.4H5.67V26H4V18H7.51A2.71,2.71,0,0,1,8,23.4,3.68,3.68,0,0,1,7.51,23.4ZM14.34,26H11.55V18h2.79c2.62,0,4.48,1.65,4.48,4S17,26,14.34,26Zm11.77-6.45H21.78v1.73H25.7v1.55H21.78V26H20.1V18h6ZM22,10V4.1L28,10Z"/>'}];var gx=["phone-handset",{outline:'<path fill-rule="evenodd" clip-rule="evenodd" d="M25.8178 33.8957C26.122 33.9641 26.4325 33.999 26.744 33.9999C27.913 34.0066 29.0364 33.5362 29.8651 32.6929L33.477 29.0371C33.8713 28.6215 34.0581 28.0444 33.9841 27.4704C33.9101 26.8963 33.5834 26.3884 33.0973 26.0916L26.1049 21.4697C25.5634 21.1377 24.8776 21.183 24.3823 21.5833L21.502 23.9227C19.4033 23.0108 17.4949 21.6958 15.8804 20.049C14.2553 18.4598 12.9442 16.5659 12.0184 14.4705L14.343 11.6292C14.76 11.1174 14.8014 10.3872 14.4449 9.82966L9.81418 2.83051C9.50768 2.36632 9.01602 2.06464 8.47128 2.00653C7.94638 1.96188 7.42771 2.14786 7.04502 2.51797L3.34047 6.16434C2.26056 7.19985 1.78669 8.73622 2.09019 10.218C3.35584 16.0641 6.25102 21.4099 10.4254 25.6085C14.6909 29.798 20.0264 32.6706 25.8178 33.8957ZM4.61854 7.52821L8.32309 3.88184L12.8241 10.6347L10.3236 13.6939C10.101 13.9336 10.0168 14.2746 10.1013 14.5937C11.0836 17.185 12.6253 19.516 14.6116 21.4129C16.5319 23.4077 18.8595 24.9439 21.4279 25.9116C21.7205 26.0055 22.0396 25.9452 22.28 25.7506L25.3733 23.2313L32.1248 27.6922L28.5129 31.348C27.9053 31.9647 27.0355 32.2281 26.1976 32.0489C20.7478 30.8976 15.7268 28.1956 11.7128 24.2542C7.80605 20.3069 5.1008 15.2871 3.92394 9.80128C3.74678 8.97132 4.0108 8.10734 4.61854 7.52821Z"/>',solid:'<path d="M15.3015 20.6869C17.263 22.7188 19.6364 24.2876 22.2549 25.283L25.7974 22.4044C26.0124 22.2532 26.2965 22.2532 26.5115 22.4044L33.089 26.7319C33.5953 27.0427 33.929 27.5785 33.99 28.1785C34.0509 28.7785 33.8321 29.3728 33.3991 29.7832L30.3171 32.892C29.4206 33.7966 28.1398 34.1821 26.9061 33.9187C20.8475 32.6409 15.2631 29.6484 10.7912 25.283C6.41855 20.8742 3.39269 15.2645 2.08068 9.13424C1.81707 7.89231 2.20918 6.60007 3.1143 5.72794L6.30909 2.5807C6.70962 2.1604 7.27637 1.95019 7.84768 2.01003C8.41899 2.06986 8.93215 2.39318 9.24079 2.88775L13.6195 9.51805C13.7746 9.7318 13.7746 10.0239 13.6195 10.2377L10.7348 13.7783C11.7361 16.3987 13.2961 18.7587 15.3015 20.6869Z"/>'}];var Z1e=["xls-file",{outline:'<path d="M21.89,2H7.83A1.88,1.88,0,0,0,6,3.91V15H8V4H20v8h8V32H8V27H6v5.09A1.88,1.88,0,0,0,7.83,34H28.17A1.88,1.88,0,0,0,30,32.09V9.92ZM22,10V4.1L28,10Z"/><polygon points="9.78 25.35 6.95 21.38 9.78 17.45 7.85 17.45 6 20.04 4.14 17.45 2.19 17.45 5.01 21.42 2.19 25.35 4.11 25.35 5.97 22.76 7.81 25.35 9.78 25.35"/><polygon points="10.66 17.45 10.66 25.35 16.15 25.35 16.15 23.82 12.32 23.82 12.32 17.45 10.66 17.45"/><path d="M20.19,24.05a3.74,3.74,0,0,1-2.54-1l-.95,1.16a4.92,4.92,0,0,0,3.42,1.31c1.88,0,3-1,3-2.51s-1.1-2-2.75-2.35c-1.19-.27-1.65-.46-1.65-1s.42-.85,1.13-.85a3.57,3.57,0,0,1,2.2.87l.86-1.22a4.36,4.36,0,0,0-3-1.09A2.54,2.54,0,0,0,17,19.51a2.28,2.28,0,0,0,0,.26c0,1.53,1.15,2,2.78,2.38,1.17.28,1.62.45,1.62,1S21,24.05,20.19,24.05Z"/>',solid:'<path d="M21.89,2H7.83A1.88,1.88,0,0,0,6,3.91V14H8V4H20v8h8v4H3a1,1,0,0,0-1,1V27a1,1,0,0,0,1,1H28v4H8V30H6v2.09A1.88,1.88,0,0,0,7.83,34H28.17A1.88,1.88,0,0,0,30,32.09V9.92ZM12,25.87H10L8.2,23.33,6.41,25.87H4.53L7.29,22,4.53,18.13H6.44l1.81,2.54,1.81-2.54H12L9.19,22Zm6.24,0H12.81V18.13h1.63v6.24h3.75Zm3.88.13a4.83,4.83,0,0,1-3.35-1.28l.94-1.14a3.64,3.64,0,0,0,2.48,1c.81,0,1.23-.38,1.23-.86s-.44-.72-1.6-1c-1.59-.37-2.72-.84-2.72-2.33A2.5,2.5,0,0,1,21.7,18h.14a4.27,4.27,0,0,1,2.95,1.07L24,20.26a3.49,3.49,0,0,0-2.15-.85c-.69,0-1.11.37-1.11.83s.45.74,1.61,1c1.62.37,2.7.87,2.7,2.3S23.91,26,22.07,26ZM22,10V4.1L28,10Z"/>'}];var mx=["envelope",{outline:'<path fill-rule="evenodd" clip-rule="evenodd" d="M32 6H4C2.89543 6 2 6.89543 2 8V28C2 29.1046 2.89543 30 4 30H32C33.1046 30 34 29.1046 34 28V8C34 6.89543 33.1046 6 32 6ZM30.46 28H5.66L12.66 20.76L11.22 19.37L4 26.84V9.52L16.43 21.89C17.2101 22.6654 18.4699 22.6654 19.25 21.89L32 9.21V26.71L24.64 19.35L23.23 20.76L30.46 28ZM30.38 8H5.31L17.84 20.47L30.38 8Z"/>',outlineAlerted:'<path d="M26.9039 1.64621L21.2222 11.1159C20.9526 11.4984 20.9281 11.9949 21.1588 12.4005C21.3896 12.806 21.8363
2013.0519 22.3148 13.0367H33.6881C34.1666 13.0519 34.6134 12.806 34.8441 12.4005C35.0748 11.9949 35.0503 11.4984 34.7808 11.1159L29.0991 1.64621C28.8711 1.26913 28.4532 1.03735 28.0015 1.03735C27.5497 1.03735 27.1319 1.26913 26.9039 1.64621Z"/><path d="M21.9594 6H4C2.89543 6 2 6.89543 2 8V28C2 29.1046 2.89543 30 4 30H32C33.1046 30 34 29.1046 34 28V15.0263C33.8886 15.0354 33.7763 15.0389 33.6637 15.0367H32V26.71L24.64 19.35L23.23 20.76L30.46 28H5.66L12.66 20.76L11.22 19.37L4 26.84V9.52L16.43 21.89C17.2101 22.6654 18.4699 22.6654 19.25 21.89L26.1412 15.0367H23.3038L17.84 20.47L5.31 8H20.7594L21.9594 6Z"/>',outlineBadged:'<path d="M32 13.08V26.71L24.64 19.35L23.23 20.76L30.46 28H5.66L12.66 20.76L11.22 19.37L4 26.84V9.52L16.43 21.89C17.2101 22.6654 18.4699 22.6654 19.25 21.89L28.08 13.11C27.3753 12.9261 26.7015 12.6397 26.08 12.26L17.82 20.47L5.31 8H22.81C22.6167 7.35043 22.5124 6.67762 22.5 6H4C2.89543 6 2 6.89543 2 8V28C2 29.1046 2.89543 30 4 30H32C33.1046 30 34 29.1046 34 28V12.2C33.3802 12.59 32.7063 12.8866 32 13.08Z"/><path d="M30 11C32.7614 11 35 8.76142 35 6C35 3.23858 32.7614 1 30 1C27.2386 1 25 3.23858 25 6C25 8.76142 27.2386 11 30 11Z"/>',solid:'<path d="M31.9199 6C32.0562 5.98596 32.1936 5.98596 32.3299 6L17.8399 20.4637L3.38993 6.07997C3.56221 6.02966 3.74048 6.00276 3.91993 6H31.9199Z"/><path fill-rule="evenodd" clip-rule="evenodd" d="M19.2499 21.883L33.8099 7.38937C33.8815 7.58512 33.922 7.79085 33.9299 7.9991V27.9903C33.9299 29.0944 33.0345 29.9895 31.9299 29.9895H3.92993C2.82536 29.9895 1.92993 29.0944 1.92993 27.9903V7.9991C1.93205 7.83022 1.95557 7.66229 1.99993 7.49932L16.4299 21.883C17.21 22.6581 18.4699 22.6581 19.2499 21.883ZM3.90991 27.9904H5.29991L12.5899 20.7635L11.1799 19.3541L3.90991 26.561V27.9904ZM31.9099 27.9904H30.5099L23.2199 20.7635L24.6299 19.3541L31.8999 26.561L31.9099 27.9904Z"/>',solidAlerted:'<path d="M26.9039 1.64621L21.2222 11.1159C20.9526 11.4984 20.9281 11.9949 21.1588 12.4005C21.3896 12.806 21.8363 13.0519 22.3148 13.0367H33.6881C34.1666 13.0519 34.6134 12.806 34.8441 12.4005C35.0748 11.9949 35.0503 11.4984 34.7808 11.1159L29.0991 1.64621C28.8711 1.26913 28.4532 1.03735 28.0015 1.03735C27.5497 1.03735 27.1319 1.26913 26.9039 1.64621Z"/><path d="M21.9593 6.00006H3.91993C3.74048 6.00283 3.56221 6.02973 3.38993 6.08006L17.8399 20.4701L23.2769 15.0407H22.3395C21.1577 15.0643 20.0232 14.4526 19.4205 13.3926C18.8203 12.337 18.8703 11.0445 19.5361 10.0405L21.9593 6.00006Z"/><path d="M33.6882 13.0398C33.6882 13.0398 33.6882 13.0398 33.6882 13.0398V13.0398Z"/><path fill-rule="evenodd" clip-rule="evenodd" d="M26.1277 15.0407H33.6636C33.7527 15.0424 33.8416 15.0406 33.9299 15.0353V28.0001C33.9299 29.1046 33.0345 30.0001 31.9299 30.0001H3.92993C2.82536 30.0001 1.92993 29.1046 1.92993 28.0001V8.00004C1.93205 7.83109 1.95557 7.66308 1.99993 7.50004L16.4299 21.8901C17.21 22.6655 18.4699 22.6655 19.2499 21.8901L26.1277 15.0407ZM5.29991 28.0001H3.90991V26.5701L11.1799 19.3601L12.5899 20.7701L5.29991 28.0001ZM24.6299 19.3601L23.2199 20.7701L30.5099 28.0001H31.9099L31.8999 26.5701L24.6299 19.3601Z"/>',solidBadged:'<path d="M22.4999 6C22.4995 8.57439 23.8212 10.9686 25.9999 12.34L17.8399 20.47L3.38993 6.08C3.56221 6.02967 3.74048 6.00277 3.91993 6H22.4999Z"/><path fill-rule="evenodd" clip-rule="evenodd" d="M27.9999 13.21C28.6504 13.3966 29.3232 13.4941 29.9999 13.5C31.3877 13.5033 32.7489 13.1188 33.9299 12.39V28C33.9299 29.1046 33.0345 30 31.9299 30H3.92993C2.82536 30 1.92993 29.1046 1.92993 28V8C1.93205 7.83105 1.95557 7.66304 1.99993 7.5L16.4699 21.89C17.25 22.6654 18.5099 22.6654 19.2899 21.89L27.9999 13.21ZM3.90993 28H5.29993L12.5899 20.77L11.1799 19.36L3.90993 26.57V28ZM31.9099 28H30.5099L23.2199 20.77L24.6299 19.36L31.8999 26.57L31.9099 28Z"/><path d="M30 11C32.7614 11 35 8.76142 35 6C35 3.23858 32.7614 1 30 1C27.2386 1 25 3.23858 25 6C25 8.76142 27.2386 11 30 11Z"/>'}];var kW=["star",{outline:'<path d="M27.2583 33.99C27.0884 33.99 26.9284 33.95 26.7785 33.87L17.9926 29.0116L9.20663 33.87C8.87678 34.06 8.45697 34.03 8.14712 33.8101C7.83726 33.5901 7.67733 33.2102 7.73731 32.8304L9.42652 22.4736L2.27983 15.1559C2.01995 14.886 1.92999 14.4961 2.04994 14.1362C2.16988 13.7763 2.47974 13.5264 2.84957 13.4664L12.685 11.9669L17.083 2.57982C17.2529 2.22993 17.6027 2 17.9926 2C18.3824 2 18.7322 2.21993 18.9021 2.57982L23.3101 11.9669L33.1456 13.4664C33.5154 13.5264 33.8252 13.7863 33.9452 14.1362C34.0651 14.4861 33.9752 14.886 33.7153 15.1559L26.5686 22.4836L28.2578 32.8404C28.3178 33.2202 28.1579 33.6001 27.848 33.8201C27.6781 33.94 27.4782 34 27.2683 34L27.2583 33.99ZM17.9926 26.8722C18.1625 26.8722 18.3224 26.9122 18.4723 26.9922L25.9389 31.1209L24.4996 22.3037C24.4496 21.9938 24.5495 21.6739 24.7694 21.4439L30.9066 15.1559L22.4705 13.8663C22.1406 13.8163 21.8608 13.6064 21.7208 13.3065L17.9926 5.35895L14.2643 13.3065C14.1244 13.6064 13.8445 13.8163 13.5146 13.8663L5.07854 15.1559L11.2157 21.4439C11.4356 21.6739 11.5355 21.9938 11.4856 22.3037L10.0462 31.1209L17.5128 26.9922C17.6627 26.9122 17.8326 26.8722 17.9926 26.8722Z"/>',solid:'<path d="M33.95 14.1356C33.83 13.7758 33.52 13.5259 33.15 13.4659L23.31 11.9664L18.91 2.57979C18.74 2.22992 18.39 2 18 2C17.61 2 17.26 2.21992 17.09 2.57979L12.68 11.9664L2.84996 13.4659C2.47996 13.5259 2.16996 13.7858 2.04996 14.1356C1.92996 14.4855 2.01996 14.8854 2.27996 15.1553L9.42996 22.4826L7.7399
206 32.8389C7.67996 33.2188 7.83996 33.5986 8.14996 33.8186C8.45996 34.0385 8.87996 34.0585 9.20996 33.8785L18 29.0203L26.79 33.8785C26.94 33.9585 27.11 33.9985 27.27 33.9985C27.47 33.9985 27.67 33.9385 27.85 33.8186C28.16 33.5986 28.32 33.2188 28.26 32.8389L26.57 22.4826L33.72 15.1553C33.98 14.8854 34.07 14.4955 33.95 14.1356Z"/>'}];var vx=["bullet-list",{outline:'<path d="M6 16C4.9 16 4 16.9 4 18C4 19.1 4.9 20 6 20C7.1 20 8 19.1 8 18C8 16.9 7.1 16 6 16ZM6 8C4.9 8 4 8.9 4 10C4 11.1 4.9 12 6 12C7.1 12 8 11.1 8 10C8 8.9 7.1 8 6 8ZM6 24C4.9 24 4 24.9 4 26C4 27.1 4.9 28 6 28C7.1 28 8 27.1 8 26C8 24.9 7.1 24 6 24ZM31 25H10.02V27H31C31.55 27 32 26.55 32 26C32 25.45 31.55 25 31 25ZM31 17H10.02V19H31C31.55 19 32 18.55 32 18C32 17.45 31.55 17 31 17ZM31.98 10C31.98 9.45 31.53 9 30.98 9H10V11H30.98C31.53 11 31.98 10.55 31.98 10Z"/>'}];var Fs=(function(e){return e[e.State=0]="State",e[e.Transition=1]="Transition",e[e.Sequence=2]="Sequence",e[e.Group=3]="Group",e[e.Animate=4]="Animate",e[e.Keyframes=5]="Keyframes",e[e.Style=6]="Style",e[e.Trigger=7]="Trigger",e[e.Reference=8]="Reference",e[e.AnimateChild=9]="AnimateChild",e[e.AnimateRef=10]="AnimateRef",e[e.Query=11]="Query",e[e.Stagger=12]="Stagger",e})(Fs||{}),NW="*";function Bo(e,n){return{type:Fs.Trigger,name:e,definitions:n,options:{}}}function ai(e,n=null){return{type:Fs.Animate,styles:n,timings:e}}function T_(e,n=null){return{type:Fs.Sequence,steps:e,options:n}}function Jt(e){return{type:Fs.Style,styles:e,offset:null}}function dl(e,n,t){return{type:Fs.State,name:e,styles:n,options:t}}function pi(e,n,t=null){return{type:Fs.Transition,expr:e,animation:n,options:t}}function yx(e,n=null){return{type:Fs.Reference,animation:e,options:n}}function Ju(e,n,t=null){return{type:Fs.Query,selector:e,animation:n,options:t}}function M_(e,n){return{type:Fs.Stagger,timings:e,animation:n}}var Cx=class{_onDoneFns=[];_onStartFns=[];_onDestroyFns=[];_originalOnDoneFns=[];_originalOnStartFns=[];_started=!1;_destroyed=!1;_finished=!1;_position=0;parentPlayer=null;totalTime;constructor(n=0,t=0){this.totalTime=n+t}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(n=>n()),this._onDoneFns=[])}onStart(n){this._originalOnStartFns.push(n),this._onStartFns.push(n)}onDone(n){this._originalOnDoneFns.push(n),this._onDoneFns.push(n)}onDestroy(n){this._onDestroyFns.push(n)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){queueMicrotask(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(n=>n()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(n=>n()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(n){this._position=this.totalTime?n*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(n){let t=n=="start"?this._onStartFns:this._onDoneFns;t.forEach(i=>i()),t.length=0}},_x=class{_onDoneFns=[];_onStartFns=[];_finished=!1;_started=!1;_destroyed=!1;_onDestroyFns=[];parentPlayer=null;totalTime=0;players;constructor(n){this.players=n;let t=0,i=0,r=0,o=this.players.length;o==0?queueMicrotask(()=>this._onFinish()):this.players.forEach(l=>{l.onDone(()=>{++t==o&&this._onFinish()}),l.onDestroy(()=>{++i==o&&this._onDestroy()}),l.onStart(()=>{++r==o&&this._onStart()})}),this.totalTime=this.players.reduce((l,p)=>Math.max(l,p.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(n=>n()),this._onDoneFns=[])}init(){this.players.forEach(n=>n.init())}onStart(n){this._onStartFns.push(n)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(n=>n()),this._onStartFns=[])}onDone(n){this._onDoneFns.push(n)}onDestroy(n){this._onDestroyFns.push(n)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(n=>n.play())}
vendor: 38,719 bytes, line 20
20pause(){this.players.forEach(n=>n.pause())}restart(){this.players.forEach(n=>n.restart())}finish(){this._onFinish(),this.players.forEach(n=>n.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(n=>n.destroy()),this._onDestroyFns.forEach(n=>n()),this._onDestroyFns=[])}reset(){this.players.forEach(n=>n.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(n){let t=n*this.totalTime;this.players.forEach(i=>{let r=i.totalTime?Math.min(1,t/i.totalTime):1;i.setPosition(r)})}getPosition(){let n=this.players.reduce((t,i)=>t===null||i.totalTime>t.totalTime?i:t,null);return n!=null?n.getPosition():0}beforeDestroy(){this.players.forEach(n=>{n.beforeDestroy&&n.beforeDestroy()})}triggerCallback(n){let t=n=="start"?this._onStartFns:this._onDoneFns;t.forEach(i=>i()),t.length=0}},LW="!";var Ht="primary",Sg=Symbol("RouteTitle"),wx=class{params;constructor(n){this.params=n||{}}has(n){return Object.prototype.hasOwnProperty.call(this.params,n)}get(n){if(this.has(n)){let t=this.params[n];return Array.isArray(t)?t[0]:t}return null}getAll(n){if(this.has(n)){let t=this.params[n];return Array.isArray(t)?t:[t]}return[]}get keys(){return Object.keys(this.params)}};function ud(e){return new wx(e)}function yR(e,n,t){let i=t.path.split("/");if(i.length>e.length||t.pathMatch==="full"&&(n.hasChildren()||i.length<e.length))return null;let r={};for(let o=0;o<i.length;o++){let l=i[o],p=e[o];if(l[0]===":")r[l.substring(1)]=p;else if(l!==p.path)return null}return{consumed:e.slice(0,i.length),posParams:r}}function UW(e,n){if(e.length!==n.length)return!1;for(let t=0;t<e.length;++t)if(!va(e[t],n[t]))return!1;return!0}function va(e,n){let t=e?xx(e):void 0,i=n?xx(n):void 0;if(!t||!i||t.length!=i.length)return!1;let r;for(let o=0;o<t.length;o++)if(r=t[o],!bR(e[r],n[r]))return!1;return!0}function xx(e){return[...Object.keys(e),...Object.getOwnPropertySymbols(e)]}function bR(e,n){if(Array.isArray(e)&&Array.isArray(n)){if(e.length!==n.length)return!1;let t=[...e].sort(),i=[...n].sort();return t.every((r,o)=>i[o]===r)}else return e===n}function SR(e){return e.length>0?e[e.length-1]:null}function tc(e){return Cs(e)?e:Hl(e)?gi(Promise.resolve(e)):pe(e)}var HW={exact:ER,subset:wR},IR={exact:BW,subset:jW,ignored:()=>!0};function pR(e,n,t){return HW[t.paths](e.root,n.root,t.matrixParams)&&IR[t.queryParams](e.queryParams,n.queryParams)&&!(t.fragment==="exact"&&e.fragment!==n.fragment)}function BW(e,n){return va(e,n)}function ER(e,n,t){if(!cd(e.segments,n.segments)||!R_(e.segments,n.segments,t)||e.numberOfChildren!==n.numberOfChildren)return!1;for(let i in n.children)if(!e.children[i]||!ER(e.children[i],n.children[i],t))return!1;return!0}function jW(e,n){return Object.keys(n).length<=Object.keys(e).length&&Object.keys(n).every(t=>bR(e[t],n[t]))}function wR(e,n,t){return xR(e,n,n.segments,t)}function xR(e,n,t,i){if(e.segments.length>t.length){let r=e.segments.slice(0,t.length);return!(!cd(r,t)||n.hasChildren()||!R_(r,t,i))}else if(e.segments.length===t.length){if(!cd(e.segments,t)||!R_(e.segments,t,i))return!1;for(let r in n.children)if(!e.children[r]||!wR(e.children[r],n.children[r],i))return!1;return!0}else{let r=t.slice(0,e.segments.length),o=t.slice(e.segments.length);return!cd(e.segments,r)||!R_(e.segments,r,i)||!e.children[Ht]?!1:xR(e.children[Ht],n,o,i)}}function R_(e,n,t){return n.every((i,r)=>IR[t](e[r].parameters,i.parameters))}var _a=class{root;queryParams;fragment;_queryParamMap;constructor(n=new Sn([],{}),t={},i=null){this.root=n,this.queryParams=t,this.fragment=i}get queryParamMap(){return this._queryParamMap??=ud(this.queryParams),this._queryParamMap}toString(){return $W.serialize(this)}},Sn=class{segments;children;parent=null;constructor(n,t){this.segments=n,this.children=t,Object.values(t).forEach(i=>i.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return P_(this)}},Kl=class{path;parameters;_parameterMap;constructor(n,t){this.path=n,this.parameters=t}get parameterMap(){return this._parameterMap??=ud(this.parameters),this._parameterMap}toString(){return TR(this)}};function zW(e,n){return cd(e,n)&&e.every((t,i)=>va(t.parameters,n[i].parameters))}function cd(e,n){return e.length!==n.length?!1:e.every((t,i)=>t.path===n[i].path)}function GW(e,n){let t=[];return Object.entries(e.children).forEach(([i,r])=>{i===Ht&&(t=t.concat(n(r,i)))}),Object.entries(e.children).forEach(([i,r])=>{i!==Ht&&(t=t.concat(n(r,i)))}),t}var hd=(()=>{class e{static \u0275fac=function(i){return new(i||e)};static \u0275prov=le({token:e,factory:()=>new Xl,providedIn:"root"})}return e})(),Xl=class{parse(n){let t=new Tx(n);return new _a(t.parseRootSegment(),t.parseQueryParams(),t.parseFragment())}serialize(n){let t=`/${dg(n.root,!0)}`,i=qW(n.queryParams),r=typeof n.fragment=="string"?`#${WW(n.fragment)}`:"";return`${t}${i}${r}`}},$W=new Xl;function P_(e){return e.segments.map(n=>TR(n)).join("/")}function dg(e,n){if(!e.hasChildren())return P_(e);if(n){let t=e.children[Ht]?dg(e.children[Ht],!1):"",i=[];return Object.entries(e.children).forEach(([r,o])=>{r!==Ht&&i.push(`${r}:${dg(o,!1)}`)}),i.length>0?`${t}(${i.join("//")})`:t}else{let t=GW(e,(i,r)=>r===Ht?[dg(e.children[Ht],!1)]:[`${r}:${dg(i,!1)}`]);return Object.keys(e.children).length===1&&e.children[Ht]!=null?`${P_(e)}/${t[0]}`:`${P_(e)}/(${t.join("//")})`}}function DR(e){return encodeURIComponent(e).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function A_(e){return DR(e).replace(/%3B/gi,";")}function WW(e){return encodeURI(e)}function Dx(e){return DR(e).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function k_(e){return decodeURIComponent(e)}function fR(e){return k_(e.replace(/\+/g,"%20"))}function TR(e){return`${Dx(e.path)}${YW(e.parameters)}`}function YW(e){return Object.entries(e).map(([n,t])=>`;${Dx(n)}=${Dx(t)}`).join("")}function qW(e){let n=Object.entries(e).map(([t,i])=>Array.isArray(i)?i.map(r=>`${A_(t)}=${A_(r)}`).join("&"):`${A_(t)}=${A_(i)}`).filter(t=>t);return n.length?`?${n.join("&")}`:""}var QW=/^[^\/()?;#]+/;function bx(e){let n=e.match(QW);return n?n[0]:""}var ZW=/^[^\/()?;=#]+/;function KW(e){let n=e.match(ZW);return n?n[0]:""}var XW=/^[^=?&#]+/;function JW(e){let n=e.match(XW);return n?n[0]:""}var eY=/^[^&#]+/;function tY(e){let n=e.match(eY);return n?n[0]:""}var Tx=class{url;remaining;constructor(n){this.url=n,this.remaining=n}parseRootSegment(){return this.consumeOptional("/"),this.remaining===""||this.peekStartsWith("?")||this.peekStartsWith("#")?new Sn([],{}):new Sn([],this.parseChildren())}parseQueryParams(){let n={};if(this.consumeOptional("?"))do this.parseQueryParam(n);while(this.consumeOptional("&"));return n}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(this.remaining==="")return{};this.consumeOptional("/");let n=[];for(this.peekStartsWith("(")||n.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),n.push(this.parseSegment());let t={};this.peekStartsWith("/(")&&(this.capture("/"),t=this.parseParens(!0));let i={};return this.peekStartsWith("(")&&(i=this.parseParens(!1)),(n.length>0||Object.keys(t).length>0)&&(i[Ht]=new Sn(n,t)),i}parseSegment(){let n=bx(this.remaining);if(n===""&&this.peekStartsWith(";"))throw new Ye(4009,!1);return this.capture(n),new Kl(k_(n),this.parseMatrixParams())}parseMatrixParams(){let n={};for(;this.consumeOptional(";");)this.parseParam(n);return n}parseParam(n){let t=KW(this.remaining);if(!t)return;this.capture(t);let i="";if(this.consumeOptional("=")){let r=bx(this.remaining);r&&(i=r,this.capture(i))}n[k_(t)]=k_(i)}parseQueryParam(n){let t=JW(this.remaining);if(!t)return;this.capture(t);let i="";if(this.consumeOptional("=")){let l=tY(this.remaining);l&&(i=l,this.capture(i))}let r=fR(t),o=fR(i);if(n.hasOwnProperty(r)){let l=n[r];Array.isArray(l)||(l=[l],n[r]=l),l.push(o)}else n[r]=o}parseParens(n){let t={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){let i=bx(this.remaining),r=this.remaining[i.length];if(r!=="/"&&r!==")"&&r!==";")throw new Ye(4010,!1);let o;i.indexOf(":")>-1?(o=i.slice(0,i.indexOf(":")),this.capture(o),this.capture(":")):n&&(o=Ht);let l=this.parseChildren();t[o]=Object.keys(l).length===1?l[Ht]:new Sn([],l),this.consumeOptional("//")}return t}peekStartsWith(n){return this.remaining.startsWith(n)}consumeOptional(n){return this.peekStartsWith(n)?(this.remaining=this.remaining.substring(n.length),!0):!1}capture(n){if(!this.consumeOptional(n))throw new Ye(4011,!1)}};function MR(e){return e.segments.length>0?new Sn([],{[Ht]:e}):e}function AR(e){let n={};for(let[i,r]of Object.entries(e.children)){let o=AR(r);if(i===Ht&&o.segments.length===0&&o.hasChildren())for(let[l,p]of Object.entries(o.children))n[l]=p;else(o.segments.length>0||o.hasChildren())&&(n[i]=o)}let t=new Sn(e.segments,n);return nY(t)}function nY(e){if(e.numberOfChildren===1&&e.children[Ht]){let n=e.children[Ht];return new Sn(e.segments.concat(n.segments),n.children)}return e}function Jl(e){return e instanceof _a}function OR(e,n,t=null,i=null){let r=RR(e);return PR(r,n,t,i)}function RR(e){let n;function t(o){let l={};for(let C of o.children){let w=t(C);l[C.outlet]=w}let p=new Sn(o.url,l);return o===e&&(n=p),p}let i=t(e.root),r=MR(i);return n??r}function PR(e,n,t,i){let r=e;for(;r.parent;)r=r.parent;if(n.length===0)return Sx(r,r,r,t,i);let o=iY(n);if(o.toRoot())return Sx(r,r,new Sn([],{}),t,i);let l=rY(o,r,e),p=l.processChildren?hg(l.segmentGroup,l.index,o.commands):NR(l.segmentGroup,l.index,o.commands);return Sx(r,l.segmentGroup,p,t,i)}function L_(e){return typeof e=="object"&&e!=null&&!e.outlets&&!e.segmentPath}function fg(e){return typeof e=="object"&&e!=null&&e.outlets}function Sx(e,n,t,i,r){let o={};i&&Object.entries(i).forEach(([C,w])=>{o[C]=Array.isArray(w)?w.map(V=>`${V}`):`${w}`});let l;e===n?l=t:l=kR(e,n,t);let p=MR(AR(l));return new _a(p,o,r)}function kR(e,n,t){let i={};return Object.entries(e.children).forEach(([r,o])=>{o===n?i[r]=t:i[r]=kR(o,n,t)}),new Sn(e.segments,i)}var F_=class{isAbsolute;numberOfDoubleDots;commands;constructor(n,t,i){if(this.isAbsolute=n,this.numberOfDoubleDots=t,this.commands=i,n&&i.length>0&&L_(i[0]))throw new Ye(4003,!1);let r=i.find(fg);if(r&&r!==SR(i))throw new Ye(4004,!1)}toRoot(){return this.isAbsolute&&this.commands.length===1&&this.commands[0]=="/"}};function iY(e){if(typeof e[0]=="string"&&e.length===1&&e[0]==="/")return new F_(!0,0,e);let n=0,t=!1,i=e.reduce((r,o,l)=>{if(typeof o=="object"&&o!=null){if(o.outlets){let p={};return Object.entries(o.outlets).forEach(([C,w])=>{p[C]=typeof w=="string"?w.split("/"):w}),[...r,{outlets:p}]}if(o.segmentPath)return[...r,o.segmentPath]}return typeof o!="string"?[...r,o]:l===0?(o.split("/").forEach((p,C)=>{C==0&&p==="."||(C==0&&p===""?t=!0:p===".."?n++:p!=""&&r.push(p))}),r):[...r,o]},[]);return new F_(t,n,i)}var nh=class{segmentGroup;processChildren;index;constructor(n,t,i){this.segmentGroup=n,this.processChildren=t,this.index=i}};function rY(e,n,t){if(e.isAbsolute)return new nh(n,!0,0);if(!t)return new nh(n,!1,NaN);if(t.parent===null)return new nh(t,!0,0);let i=L_(e.commands[0])?0:1,r=t.segments.length-1+i;return oY(t,r,e.numberOfDoubleDots)}function oY(e,n,t){let i=e,r=n,o=t;for(;o>r;){if(o-=r,i=i.parent,!i)throw new Ye(4005,!1);r=i.segments.length}return new nh(i,!1,r-o)}function sY(e){return fg(e[0])?e[0].outlets:{[Ht]:e}}function NR(e,n,t){if(e??=new Sn([],{}),e.segments.length===0&&e.hasChildren())return hg(e,n,t);let i=aY(e,n,t),r=t.slice(i.commandIndex);if(i.match&&i.pathIndex<e.segments.length){let o=new Sn(e.segments.slice(0,i.pathIndex),{});return o.children[Ht]=new Sn(e.segments.slice(i.pathIndex),e.children),hg(o,0,r)}else return i.match&&r.length===0?new Sn(e.segments,{}):i.match&&!e.hasChildren()?Mx(e,n,t):i.match?hg(e,0,r):Mx(e,n,t)}function hg(e,n,t){if(t.length===0)return new Sn(e.segments,{});{let i=sY(t),r={};if(Object.keys(i).some(o=>o!==Ht)&&e.children[Ht]&&e.numberOfChildren===1&&e.children[Ht].segments.length===0){let o=hg(e.children[Ht],n,t);return new Sn(e.segments,o.children)}return Object.entries(i).forEach(([o,l])=>{typeof l=="string"&&(l=[l]),l!==null&&(r[o]=NR(e.children[o],n,l))}),Object.entries(e.children).forEach(([o,l])=>{i[o]===void 0&&(r[o]=l)}),new Sn(e.segments,r)}}function aY(e,n,t){let i=0,r=n,o={match:!1,pathIndex:0,commandIndex:0};for(;r<e.segments.length;){if(i>=t.length)return o;let l=e.segments[r],p=t[i];if(fg(p))break;let C=`${p}`,w=i<t.length-1?t[i+1]:null;if(r>0&&C===void 0)break;if(C&&w&&typeof w=="object"&&w.outlets===void 0){if(!mR(C,w,l))return o;i+=2}else{if(!mR(C,{},l))return o;i++}r++}return{match:!0,pathIndex:r,commandIndex:i}}function Mx(e,n,t){let i=e.segments.slice(0,n),r=0;for(;r<t.length;){let o=t[r];if(fg(o)){let C=lY(o.outlets);return new Sn(i,C)}if(r===0&&L_(t[0])){let C=e.segments[n];i.push(new Kl(C.path,gR(t[0]))),r++;continue}let l=fg(o)?o.outlets[Ht]:`${o}`,p=r<t.length-1?t[r+1]:null;l&&p&&L_(p)?(i.push(new Kl(l,gR(p))),r+=2):(i.push(new Kl(l,{})),r++)}return new Sn(i,{})}function lY(e){let n={};return Object.entries(e).forEach(([t,i])=>{typeof i=="string"&&(i=[i]),i!==null&&(n[t]=Mx(new Sn([],{}),0,i))}),n}function gR(e){let n={};return Object.entries(e).forEach(([t,i])=>n[t]=`${i}`),n}function mR(e,n,t){return e==t.path&&va(n,t.parameters)}var N_="imperative",Xi=(function(e){return e[e.NavigationStart=0]="NavigationStart",e[e.NavigationEnd=1]="NavigationEnd",e[e.NavigationCancel=2]="NavigationCancel",e[e.NavigationError=3]="NavigationError",e[e.RoutesRecognized=4]="RoutesRecognized",e[e.ResolveStart=5]="ResolveStart",e[e.ResolveEnd=6]="ResolveEnd",e[e.GuardsCheckStart=7]="GuardsCheckStart",e[e.GuardsCheckEnd=8]="GuardsCheckEnd",e[e.RouteConfigLoadStart=9]="RouteConfigLoadStart",e[e.RouteConfigLoadEnd=10]="RouteConfigLoadEnd",e[e.ChildActivationStart=11]="ChildActivationStart",e[e.ChildActivationEnd=12]="ChildActivationEnd",e[e.ActivationStart=13]="ActivationStart",e[e.ActivationEnd=14]="ActivationEnd",e[e.Scroll=15]="Scroll",e[e.NavigationSkipped=16]="NavigationSkipped",e})(Xi||{}),zo=class{id;url;constructor(n,t){this.id=n,this.url=t}},ec=class extends zo{type=Xi.NavigationStart;navigationTrigger;restoredState;constructor(n,t,i="imperative",r=null){super(n,t),this.navigationTrigger=i,this.restoredState=r}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}},Go=class extends zo{urlAfterRedirects;type=Xi.NavigationEnd;constructor(n,t,i){super(n,t),this.urlAfterRedirects=i}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}},vo=(function(e){return e[e.Redirect=0]="Redirect",e[e.SupersededByNewNavigation=1]="SupersededByNewNavigation",e[e.NoDataFromResolver=2]="NoDataFromResolver",e[e.GuardRejected=3]="GuardRejected",e})(vo||{}),rh=(function(e){return e[e.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",e[e.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",e})(rh||{}),Ca=class extends zo{reason;code;type=Xi.NavigationCancel;constructor(n,t,i,r){super(n,t),this.reason=i,this.code=r}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}},ya=class extends zo{reason;code;type=Xi.NavigationSkipped;constructor(n,t,i,r){super(n,t),this.reason=i,this.code=r}},oh=class extends zo{error;target;type=Xi.NavigationError;constructor(n,t,i,r){super(n,t),this.error=i,this.target=r}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}},gg=class extends zo{urlAfterRedirects;state;type=Xi.RoutesRecognized;constructor(n,t,i,r){super(n,t),this.urlAfterRedirects=i,this.state=r}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},V_=class extends zo{urlAfterRedirects;state;type=Xi.GuardsCheckStart;constructor(n,t,i,r){super(n,t),this.urlAfterRedirects=i,this.state=r}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},U_=class extends zo{urlAfterRedirects;state;shouldActivate;type=Xi.GuardsCheckEnd;constructor(n,t,i,r,o){super(n,t),this.urlAfterRedirects=i,this.state=r,this.shouldActivate=o}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}},H_=class extends zo{urlAfterRedirects;state;type=Xi.ResolveStart;constructor(n,t,i,r){super(n,t),this.urlAfterRedirects=i,this.state=r}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},B_=class extends zo{urlAfterRedirects;state;type=Xi.ResolveEnd;constructor(n,t,i,r){super(n,t),this.urlAfterRedirects=i,this.state=r}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},j_=class{route;type=Xi.RouteConfigLoadStart;constructor(n){this.route=n}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}},z_=class{route;type=Xi.RouteConfigLoadEnd;constructor(n){this.route=n}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}},G_=class{snapshot;type=Xi.ChildActivationStart;constructor(n){this.snapshot=n}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},$_=class{snapshot;type=Xi.ChildActivationEnd;constructor(n){this.snapshot=n}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},W_=class{snapshot;type=Xi.ActivationStart;constructor(n){this.snapshot=n}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Y_=class{snapshot;type=Xi.ActivationEnd;constructor(n){this.snapshot=n}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},sh=class{routerEvent;position;anchor;type=Xi.Scroll;constructor(n,t,i){this.routerEvent=n,this.position=t,this.anchor=i}toString(){let n=this.position?`${this.position[0]}, ${this.position[1]}`:null;return`Scroll(anchor: '${this.anchor}', position: '${n}')`}},mg=class{},ah=class{url;navigationBehaviorOptions;constructor(n,t){this.url=n,this.navigationBehaviorOptions=t}};function cY(e,n){return e.providers&&!e._injector&&(e._injector=pf(e.providers,n,`Route: ${e.path}`)),e._injector??n}function Vs(e){return e.outlet||Ht}function dY(e,n){let t=e.filter(i=>Vs(i)===n);return t.push(...e.filter(i=>Vs(i)!==n)),t}function Ig(e){if(!e)return null;if(e.routeConfig?._injector)return e.routeConfig._injector;for(let n=e.parent;n;n=n.parent){let t=n.routeConfig;if(t?._loadedInjector)return t._loadedInjector;if(t?._injector)return t._injector}return null}var q_=class{rootInjector;outlet=null;route=null;children;attachRef=null;get injector(){return Ig(this.route?.snapshot)??this.rootInjector}constructor(n){this.rootInjector=n,this.children=new pd(this.rootInjector)}},pd=(()=>{class e{rootInjector;contexts=new Map;constructor(t){this.rootInjector=t}onChildOutletCreated(t,i){let r=this.getOrCreateContext(t);r.outlet=i,this.contexts.set(t,r)}onChildOutletDestroyed(t){let i=this.getContext(t);i&&(i.outlet=null,i.attachRef=null)}onOutletDeactivated(){let t=this.contexts;return this.contexts=new Map,t}onOutletReAttached(t){this.contexts=t}getOrCreateContext(t){let i=this.getContext(t);return i||(i=new q_(this.rootInjector),this.contexts.set(t,i)),i}getContext(t){return this.contexts.get(t)||null}static \u0275fac=function(i){return new(i||e)(ae(wi))};static \u0275prov=le({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Q_=class{_root;constructor(n){this._root=n}get root(){return this._root.value}parent(n){let t=this.pathFromRoot(n);return t.length>1?t[t.length-2]:null}children(n){let t=Ax(n,this._root);return t?t.children.map(i=>i.value):[]}firstChild(n){let t=Ax(n,this._root);return t&&t.children.length>0?t.children[0].value:null}siblings(n){let t=Ox(n,this._root);return t.length<2?[]:t[t.length-2].children.map(r=>r.value).filter(r=>r!==n)}pathFromRoot(n){return Ox(n,this._root).map(t=>t.value)}};function Ax(e,n){if(e===n.value)return n;for(let t of n.children){let i=Ax(e,t);if(i)return i}return null}function Ox(e,n){if(e===n.value)return[n];for(let t of n.children){let i=Ox(e,t);if(i.length)return i.unshift(n),i}return[]}var jo=class{value;children;constructor(n,t){this.value=n,this.children=t}toString(){return`TreeNode(${this.value})`}};function th(e){let n={};return e&&e.children.forEach(t=>n[t.value.outlet]=t),n}var vg=class extends Q_{snapshot;constructor(n,t){super(n),this.snapshot=t,Ux(this,n)}toString(){return this.snapshot.toString()}};function LR(e){let n=uY(e),t=new Pn([new Kl("",{})]),i=new Pn({}),r=new Pn({}),o=new Pn({}),l=new Pn(""),p=new Qr(t,i,o,l,r,Ht,e,n.root);return p.snapshot=n.root,new vg(new jo(p,[]),n)}function uY(e){let n={},t={},i={},o=new dd([],n,i,"",t,Ht,e,null,{});return new Cg("",new jo(o,[]))}var Qr=class{urlSubject;paramsSubject;queryParamsSubject;fragmentSubject;dataSubject;outlet;component;snapshot;_futureSnapshot;_routerState;_paramMap;_queryParamMap;title;url;params;queryParams;fragment;data;constructor(n,t,i,r,o,l,p,C){this.urlSubject=n,this.paramsSubject=t,this.queryParamsSubject=i,this.fragmentSubject=r,this.dataSubject=o,this.outlet=l,this.component=p,this._futureSnapshot=C,this.title=this.dataSubject?.pipe(fe(w=>w[Sg]))??pe(void 0),this.url=n,this.params=t,this.queryParams=i,this.fragment=r,this.data=o}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(fe(n=>ud(n))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe(fe(n=>ud(n))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}};function Z_(e,n,t="emptyOnly"){let i,{routeConfig:r}=e;return n!==null&&(t==="always"||r?.path===""||!n.component&&!n.routeConfig?.loadComponent)?i={params:k(k({},n.params),e.params),data:k(k({},n.data),e.data),resolve:k(k(k(k({},e.data),n.data),r?.data),e._resolvedData)}:i={params:k({},e.params),data:k({},e.data),resolve:k(k({},e.data),e._resolvedData??{})},r&&VR(r)&&(i.resolve[Sg]=r.title),i}var dd=class{url;params;queryParams;fragment;data;outlet;component;routeConfig;_resolve;_resolvedData;_routerState;_paramMap;_queryParamMap;get title(){return this.data?.[Sg]}constructor(n,t,i,r,o,l,p,C,w){this.url=n,this.params=t,this.queryParams=i,this.fragment=r,this.data=o,this.outlet=l,this.component=p,this.routeConfig=C,this._resolve=w}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??=ud(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=ud(this.queryParams),this._queryParamMap}toString(){let n=this.url.map(i=>i.toString()).join("/"),t=this.routeConfig?this.routeConfig.path:"";return`Route(url:'${n}', path:'${t}')`}},Cg=class extends Q_{url;constructor(n,t){super(t),this.url=n,Ux(this,t)}toString(){return FR(this._root)}};function Ux(e,n){n.value._routerState=e,n.children.forEach(t=>Ux(e,t))}function FR(e){let n=e.children.length>0?` { ${e.children.map(FR).join(", ")} } `:"";return`${e.value}${n}`}function Ix(e){if(e.snapshot){let n=e.snapshot,t=e._futureSnapshot;e.snapshot=t,va(n.queryParams,t.queryParams)||e.queryParamsSubject.next(t.queryParams),n.fragment!==t.fragment&&e.fragmentSubject.next(t.fragment),va(n.params,t.params)||e.paramsSubject.next(t.params),UW(n.url,t.url)||e.urlSubject.next(t.url),va(n.data,t.data)||e.dataSubject.next(t.data)}else e.snapshot=e._futureSnapshot,e.dataSubject.next(e._futureSnapshot.data)}function Rx(e,n){let t=va(e.params,n.params)&&zW(e.url,n.url),i=!e.parent!=!n.parent;return t&&!i&&(!e.parent||Rx(e.parent,n.parent))}function VR(e){return typeof e.title=="string"||e.title===null}var UR=new me(""),Hx=(()=>{class e{activated=null;get activatedComponentRef(){return this.activated}_activatedRoute=null;name=Ht;activateEvents=new Ue;deactivateEvents=new Ue;attachEvents=new Ue;detachEvents=new Ue;routerOutletData=F5(void 0);parentContexts=ge(pd);location=ge(Nn);changeDetector=ge(Yn);inputBinder=ge(Eg,{optional:!0});supportsBindingToComponentInputs=!0;ngOnChanges(t){if(t.name){let{firstChange:i,previousValue:r}=t.name;if(i)return;this.isTrackedInParentContexts(r)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(r)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(t){return this.parentContexts.getContext(t)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;let t=this.parentContexts.getContext(this.name);t?.route&&(t.attachRef?this.attach(t.attachRef,t.route):this.activateWith(t.route,t.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new Ye(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new Ye(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new Ye(4012,!1);this.location.detach();let t=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(t.instance),t}attach(t,i){this.activated=t,this._activatedRoute=i,this.location.insert(t.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(t.instance)}deactivate(){if(this.activated){let t=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(t)}}activateWith(t,i){if(this.isActivated)throw new Ye(4013,!1);this._activatedRoute=t;let r=this.location,l=t.snapshot.component,p=this.parentContexts.getOrCreateContext(this.name).children,C=new Px(t,p,r.injector,this.routerOutletData);this.activated=r.createComponent(l,{index:r.length,injector:C,environmentInjector:i}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}static \u0275fac=function(i){return new(i||e)};static \u0275dir=He({type:e,selectors:[["router-outlet"]],inputs:{name:"name",routerOutletData:[1,"routerOutletData"]},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],features:[Xt]})}return e})(),Px=class{route;childContexts;parent;outletData;constructor(n,t,i,r){this.route=n,this.childContexts=t,this.parent=i,this.outletData=r}get(n,t){return n===Qr?this.route:n===pd?this.childContexts:n===UR?this.outletData:this.parent.get(n,t)}},Eg=new me(""),Bx=(()=>{class e{outletDataSubscriptions=new Map;bindActivatedRouteToOutletComponent(t){this.unsubscribeFromRouteData(t),this.subscribeToRouteData(t)}unsubscribeFromRouteData(t){this.outletDataSubscriptions.get(t)?.unsubscribe(),this.outletDataSubscriptions.delete(t)}subscribeToRouteData(t){let{activatedRoute:i}=t,r=_s([i.queryParams,i.params,i.data]).pipe(Te(([o,l,p],C)=>(p=k(k(k({},o),l),p),C===0?pe(p):Promise.resolve(p)))).subscribe(o=>{if(!t.isActivated||!t.activatedComponentRef||t.activatedRoute!==i||i.component===null){this.unsubscribeFromRouteData(t);return}let l=A6(i.component);if(!l){this.unsubscribeFromRouteData(t);return}for(let{templateName:p}of l.inputs)t.activatedComponentRef.setInput(p,o[p])});this.outletDataSubscriptions.set(t,r)}static \u0275fac=function(i){return new(i||e)};static \u0275prov=le({token:e,factory:e.\u0275fac})}return e})(),jx=(()=>{class e{static \u0275fac=function(i){return new(i||e)};static \u0275cmp=Me({type:e,selectors:[["ng-component"]],exportAs:["emptyRouterOutlet"],decls:1,vars:0,template:function(i,r){i&1&&ye(0,"router-outlet")},dependencies:[Hx],encapsulation:2})}return e})();function zx(e){let n=e.children&&e.children.map(zx),t=n?U(k({},e),{children:n}):k({},e);return!t.component&&!t.loadComponent&&(n||t.loadChildren)&&t.outlet&&t.outlet!==Ht&&(t.component=jx),t}function hY(e,n,t){let i=_g(e,n._root,t?t._root:void 0);return new vg(i,n)}function _g(e,n,t){if(t&&e.shouldReuseRoute(n.value,t.value.snapshot)){let i=t.value;i._futureSnapshot=n.value;let r=pY(e,n,t);return new jo(i,r)}else{if(e.shouldAttach(n.value)){let o=e.retrieve(n.value);if(o!==null){let l=o.route;return l.value._futureSnapshot=n.value,l.children=n.children.map(p=>_g(e,p)),l}}let i=fY(n.value),r=n.children.map(o=>_g(e,o));return new jo(i,r)}}function pY(e,n,t){return n.children.map(i=>{for(let r of t.children)if(e.shouldReuseRoute(i.value,r.value.snapshot))return _g(e,i,r);return _g(e,i)})}function fY(e){return new Qr(new Pn(e.url),new Pn(e.params),new Pn(e.queryParams),new Pn(e.fragment),new Pn(e.data),e.outlet,e.component,e)}var lh=class{redirectTo;navigationBehaviorOptions;constructor(n,t){this.redirectTo=n,this.navigationBehaviorOptions=t}},HR="ngNavigationCancelingError";function K_(e,n){let{redirectTo:t,navigationBehaviorOptions:i}=Jl(n)?{redirectTo:n,navigationBehaviorOptions:void 0}:n,r=BR(!1,vo.Redirect);return r.url=t,r.navigationBehaviorOptions=i,r}function BR(e,n){let t=new Error(`NavigationCancelingError: ${e||""}`);return t[HR]=!0,t.cancellationCode=n,t}function gY(e){return jR(e)&&Jl(e.url)}function jR(e){return!!e&&e[HR]}var mY=(e,n,t,i)=>fe(r=>(new kx(n,r.targetRouterState,r.currentRouterState,t,i).activate(e),r)),kx=class{routeReuseStrategy;futureState;currState;forwardEvent;inputBindingEnabled;constructor(n,t,i,r,o){this.routeReuseStrategy=n,this.futureState=t,this.currState=i,this.forwardEvent=r,this.inputBindingEnabled=o}activate(n){let t=this.futureState._root,i=this.currState?this.currState._root:null;this.deactivateChildRoutes(t,i,n),Ix(this.futureState.root),this.activateChildRoutes(t,i,n)}deactivateChildRoutes(n,t,i){let r=th(t);n.children.forEach(o=>{let l=o.value.outlet;this.deactivateRoutes(o,r[l],i),delete r[l]}),Object.values(r).forEach(o=>{this.deactivateRouteAndItsChildren(o,i)})}deactivateRoutes(n,t,i){let r=n.value,o=t?t.value:null;if(r===o)if(r.component){let l=i.getContext(r.outlet);l&&this.deactivateChildRoutes(n,t,l.children)}else this.deactivateChildRoutes(n,t,i);else o&&this.deactivateRouteAndItsChildren(t,i)}deactivateRouteAndItsChildren(n,t){n.value.component&&this.routeReuseStrategy.shouldDetach(n.value.snapshot)?this.detachAndStoreRouteSubtree(n,t):this.deactivateRouteAndOutlet(n,t)}detachAndStoreRouteSubtree(n,t){let i=t.getContext(n.value.outlet),r=i&&n.value.component?i.children:t,o=th(n);for(let l of Object.values(o))this.deactivateRouteAndItsChildren(l,r);if(i&&i.outlet){let l=i.outlet.detach(),p=i.children.onOutletDeactivated();this.routeReuseStrategy.store(n.value.snapshot,{componentRef:l,route:n,contexts:p})}}deactivateRouteAndOutlet(n,t){let i=t.getContext(n.value.outlet),r=i&&n.value.component?i.children:t,o=th(n);for(let l of Object.values(o))this.deactivateRouteAndItsChildren(l,r);i&&(i.outlet&&(i.outlet.deactivate(),i.children.onOutletDeactivated()),i.attachRef=null,i.route=null)}activateChildRoutes(n,t,i){let r=th(t);n.children.forEach(o=>{this.activateRoutes(o,r[o.value.outlet],i),this.forwardEvent(new Y_(o.value.snapshot))}),n.children.length&&this.forwardEvent(new $_(n.value.snapshot))}activateRoutes(n,t,i){let r=n.value,o=t?t.value:null;if(Ix(r),r===o)if(r.component){let l=i.getOrCreateContext(r.outlet);this.activateChildRoutes(n,t,l.children)}else this.activateChildRoutes(n,t,i);else if(r.component){let l=i.getOrCreateContext(r.outlet);if(this.routeReuseStrategy.shouldAttach(r.snapshot)){let p=this.routeReuseStrategy.retrieve(r.snapshot);this.routeReuseStrategy.store(r.snapshot,null),l.children.onOutletReAttached(p.contexts),l.attachRef=p.componentRef,l.route=p.route.value,l.outlet&&l.outlet.attach(p.componentRef,p.route.value),Ix(p.route.value),this.activateChildRoutes(n,null,l.children)}else l.attachRef=null,l.route=r,l.outlet&&l.outlet.activateWith(r,l.injector),this.activateChildRoutes(n,null,l.children)}else this.activateChildRoutes(n,null,i)}},X_=class{path;route;constructor(n){this.path=n,this.route=this.path[this.path.length-1]}},ih=class{component;route;constructor(n,t){this.component=n,this.route=t}};function vY(e,n,t){let i=e._root,r=n?n._root:null;return ug(i,r,t,[i.value])}function CY(e){let n=e.routeConfig?e.routeConfig.canActivateChild:null;return!n||n.length===0?null:{node:e,guards:n}}function dh(e,n){let t=Symbol(),i=n.get(e,t);return i===t?typeof e=="function"&&!NA(e)?e:n.get(e):i}function ug(e,n,t,i,r={canDeactivateChecks:[],canActivateChecks:[]}){let o=th(n);return e.children.forEach(l=>{_Y(l,o[l.value.outlet],t,i.concat([l.value]),r),delete o[l.value.outlet]}),Object.entries(o).forEach(([l,p])=>pg(p,t.getContext(l),r)),r}function _Y(e,n,t,i,r={canDeactivateChecks:[],canActivateChecks:[]}){let o=e.value,l=n?n.value:null,p=t?t.getContext(e.value.outlet):null;if(l&&o.routeConfig===l.routeConfig){let C=yY(l,o,o.routeConfig.runGuardsAndResolvers);C?r.canActivateChecks.push(new X_(i)):(o.data=l.data,o._resolvedData=l._resolvedData),o.component?ug(e,n,p?p.children:null,i,r):ug(e,n,t,i,r),C&&p&&p.outlet&&p.outlet.isActivated&&r.canDeactivateChecks.push(new ih(p.outlet.component,l))}else l&&pg(n,p,r),r.canActivateChecks.push(new X_(i)),o.component?ug(e,null,p?p.children:null,i,r):ug(e,null,t,i,r);return r}function yY(e,n,t){if(typeof t=="function")return t(e,n);switch(t){case"pathParamsChange":return!cd(e.url,n.url);case"pathParamsOrQueryParamsChange":return!cd(e.url,n.url)||!va(e.queryParams,n.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Rx(e,n)||!va(e.queryParams,n.queryParams);default:return!Rx(e,n)}}function pg(e,n,t){let i=th(e),r=e.value;Object.entries(i).forEach(([o,l])=>{r.component?n?pg(l,n.children.getContext(o),t):pg(l,null,t):pg(l,n,t)}),r.component?n&&n.outlet&&n.outlet.isActivated?t.canDeactivateChecks.push(new ih(n.outlet.component,r)):t.canDeactivateChecks.push(new ih(null,r)):t.canDeactivateChecks.push(new ih(null,r))}function wg(e){return typeof e=="function"}function bY(e){return typeof e=="boolean"}function SY(e){return e&&wg(e.canLoad)}function IY(e){return e&&wg(e.canActivate)}function EY(e){return e&&wg(e.canActivateChild)}function wY(e){return e&&wg(e.canDeactivate)}function xY(e){return e&&wg(e.canMatch)}function zR(e){return e instanceof OM||e?.name==="EmptyError"}var O_=Symbol("INITIAL_VALUE");function ch(){return Te(e=>_s(e.map(n=>n.pipe(Hn(1),Qs(O_)))).pipe(fe(n=>{for(let t of n)if(t!==!0){if(t===O_)return O_;if(t===!1||DY(t))return t}return!0}),qt(n=>n!==O_),Hn(1)))}function DY(e){return Jl(e)||e instanceof lh}function TY(e,n){return mi(t=>{let{targetSnapshot:i,currentSnapshot:r,guards:{canActivateChecks:o,canDeactivateChecks:l}}=t;return l.length===0&&o.length===0?pe(U(k({},t),{guardsResult:!0})):MY(l,i,r,e).pipe(mi(p=>p&&bY(p)?AY(i,o,e,n):pe(p)),fe(p=>U(k({},t),{guardsResult:p})))})}function MY(e,n,t,i){return gi(e).pipe(mi(r=>NY(r.component,r.route,t,n,i)),Oo(r=>r!==!0,!0))}function AY(e,n,t,i){return gi(n).pipe(Ur(r=>Rp(RY(r.route.parent,i),OY(r.route,i),kY(e,r.path,t),PY(e,r.route,t))),Oo(r=>r!==!0,!0))}function OY(e,n){return e!==null&&n&&n(new W_(e)),pe(!0)}function RY(e,n){return e!==null&&n&&n(new G_(e)),pe(!0)}function PY(e,n,t){let i=n.routeConfig?n.routeConfig.canActivate:null;if(!i||i.length===0)return pe(!0);let r=i.map(o=>Mc(()=>{let l=Ig(n)??t,p=dh(o,l),C=IY(p)?p.canActivate(n,e):Br(l,()=>p(n,e));return tc(C).pipe(Oo())}));return pe(r).pipe(ch())}function kY(e,n,t){let i=n[n.length-1],o=n.slice(0,n.length-1).reverse().map(l=>CY(l)).filter(l=>l!==null).map(l=>Mc(()=>{let p=l.guards.map(C=>{let w=Ig(l.node)??t,V=dh(C,w),j=EY(V)?V.canActivateChild(i,e):Br(w,()=>V(i,e));return tc(j).pipe(Oo())});return pe(p).pipe(ch())}));return pe(o).pipe(ch())}function NY(e,n,t,i,r){let o=n&&n.routeConfig?n.routeConfig.canDeactivate:null;if(!o||o.length===0)return pe(!0);let l=o.map(p=>{let C=Ig(n)??r,w=dh(p,C),V=wY(w)?w.canDeactivate(e,n,t,i):Br(C,()=>w(e,n,t,i));return tc(V).pipe(Oo())});return pe(l).pipe(ch())}function LY(e,n,t,i){let r=n.canLoad;if(r===void 0||r.length===0)return pe(!0);let o=r.map(l=>{let p=dh(l,e),C=SY(p)?p.canLoad(n,t):Br(e,()=>p(n,t));return tc(C)});return pe(o).pipe(ch(),GR(i))}function GR(e){return AM(pn(n=>{if(typeof n!="boolean")throw K_(e,n)}),fe(n=>n===!0))}function FY(e,n,t,i){let r=n.canMatch;if(!r||r.length===0)return pe(!0);let o=r.map(l=>{let p=dh(l,e),C=xY(p)?p.canMatch(n,t):Br(e,()=>p(n,t));return tc(C)});return pe(o).pipe(ch(),GR(i))}var yg=class{segmentGroup;constructor(n){this.segmentGroup=n||null}},bg=class extends Error{urlTree;constructor(n){super(),this.urlTree=n}};function eh(e){return Op(new yg(e))}function VY(e){return Op(new Ye(4e3,!1))}function UY(e){return Op(BR(!1,vo.GuardRejected))}var Nx=class{urlSerializer;urlTree;constructor(n,t){this.urlSerializer=n,this.urlTree=t}lineralizeSegments(n,t){let i=[],r=t.root;for(;;){if(i=i.concat(r.segments),r.numberOfChildren===0)return pe(i);if(r.numberOfChildren>1||!r.children[Ht])return VY(`${n.redirectTo}`);r=r.children[Ht]}}applyRedirectCommands(n,t,i,r,o){if(typeof t!="string"){let p=t,{queryParams:C,fragment:w,routeConfig:V,url:j,outlet:$,params:W,data:se,title:be}=r,Ve=Br(o,()=>p({params:W,data:se,queryParams:C,fragment:w,routeConfig:V,url:j,outlet:$,title:be}));if(Ve instanceof _a)throw new bg(Ve);t=Ve}let l=this.applyRedirectCreateUrlTree(t,this.urlSerializer.parse(t),n,i);if(t[0]==="/")throw new bg(l);return l}applyRedirectCreateUrlTree(n,t,i,r){let o=this.createSegmentGroup(n,t.root,i,r);return new _a(o,this.createQueryParams(t.queryParams,this.urlTree.queryParams),t.fragment)}createQueryParams(n,t){let i={};return Object.entries(n).forEach(([r,o])=>{if(typeof o=="string"&&o[0]===":"){let p=o.substring(1);i[r]=t[p]}else i[r]=o}),i}createSegmentGroup(n,t,i,r){let o=this.createSegments(n,t.segments,i,r),l={};
20return Object.entries(t.children).forEach(([p,C])=>{l[p]=this.createSegmentGroup(n,C,i,r)}),new Sn(o,l)}createSegments(n,t,i,r){return t.map(o=>o.path[0]===":"?this.findPosParam(n,o,r):this.findOrReturn(o,i))}findPosParam(n,t,i){let r=i[t.path.substring(1)];if(!r)throw new Ye(4001,!1);return r}findOrReturn(n,t){let i=0;for(let r of t){if(r.path===n.path)return t.splice(i),r;i++}return n}},Lx={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function HY(e,n,t,i,r){let o=$R(e,n,t);return o.matched?(i=cY(n,i),FY(i,n,t,r).pipe(fe(l=>l===!0?o:k({},Lx)))):pe(o)}function $R(e,n,t){if(n.path==="**")return BY(t);if(n.path==="")return n.pathMatch==="full"&&(e.hasChildren()||t.length>0)?k({},Lx):{matched:!0,consumedSegments:[],remainingSegments:t,parameters:{},positionalParamSegments:{}};let r=(n.matcher||yR)(t,e,n);if(!r)return k({},Lx);let o={};Object.entries(r.posParams??{}).forEach(([p,C])=>{o[p]=C.path});let l=r.consumed.length>0?k(k({},o),r.consumed[r.consumed.length-1].parameters):o;return{matched:!0,consumedSegments:r.consumed,remainingSegments:t.slice(r.consumed.length),parameters:l,positionalParamSegments:r.posParams??{}}}function BY(e){return{matched:!0,parameters:e.length>0?SR(e).parameters:{},consumedSegments:e,remainingSegments:[],positionalParamSegments:{}}}function vR(e,n,t,i){return t.length>0&&GY(e,t,i)?{segmentGroup:new Sn(n,zY(i,new Sn(t,e.children))),slicedSegments:[]}:t.length===0&&$Y(e,t,i)?{segmentGroup:new Sn(e.segments,jY(e,t,i,e.children)),slicedSegments:t}:{segmentGroup:new Sn(e.segments,e.children),slicedSegments:t}}function jY(e,n,t,i){let r={};for(let o of t)if(ey(e,n,o)&&!i[Vs(o)]){let l=new Sn([],{});r[Vs(o)]=l}return k(k({},i),r)}function zY(e,n){let t={};t[Ht]=n;for(let i of e)if(i.path===""&&Vs(i)!==Ht){let r=new Sn([],{});t[Vs(i)]=r}return t}function GY(e,n,t){return t.some(i=>ey(e,n,i)&&Vs(i)!==Ht)}function $Y(e,n,t){return t.some(i=>ey(e,n,i))}function ey(e,n,t){return(e.hasChildren()||n.length>0)&&t.pathMatch==="full"?!1:t.path===""}function WY(e,n,t){return n.length===0&&!e.children[t]}var Fx=class{};function YY(e,n,t,i,r,o,l="emptyOnly"){return new Vx(e,n,t,i,r,l,o).recognize()}var qY=31,Vx=class{injector;configLoader;rootComponentType;config;urlTree;paramsInheritanceStrategy;urlSerializer;applyRedirects;absoluteRedirectCount=0;allowRedirects=!0;constructor(n,t,i,r,o,l,p){this.injector=n,this.configLoader=t,this.rootComponentType=i,this.config=r,this.urlTree=o,this.paramsInheritanceStrategy=l,this.urlSerializer=p,this.applyRedirects=new Nx(this.urlSerializer,this.urlTree)}noMatchError(n){return new Ye(4002,`'${n.segmentGroup}'`)}recognize(){let n=vR(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(n).pipe(fe(({children:t,rootSnapshot:i})=>{let r=new jo(i,t),o=new Cg("",r),l=OR(i,[],this.urlTree.queryParams,this.urlTree.fragment);return l.queryParams=this.urlTree.queryParams,o.url=this.urlSerializer.serialize(l),{state:o,tree:l}}))}match(n){let t=new dd([],Object.freeze({}),Object.freeze(k({},this.urlTree.queryParams)),this.urlTree.fragment,Object.freeze({}),Ht,this.rootComponentType,null,{});return this.processSegmentGroup(this.injector,this.config,n,Ht,t).pipe(fe(i=>({children:i,rootSnapshot:t})),Pe(i=>{if(i instanceof bg)return this.urlTree=i.urlTree,this.match(i.urlTree.root);throw i instanceof yg?this.noMatchError(i):i}))}processSegmentGroup(n,t,i,r,o){return i.segments.length===0&&i.hasChildren()?this.processChildren(n,t,i,o):this.processSegment(n,t,i,i.segments,r,!0,o).pipe(fe(l=>l instanceof jo?[l]:[]))}processChildren(n,t,i,r){let o=[];for(let l of Object.keys(i.children))l==="primary"?o.unshift(l):o.push(l);return gi(o).pipe(Ur(l=>{let p=i.children[l],C=dY(t,l);return this.processSegmentGroup(n,C,p,l,r)}),Ac((l,p)=>(l.push(...p),l)),j2(null),g3(),mi(l=>{if(l===null)return eh(i);let p=WR(l);return QY(p),pe(p)}))}processSegment(n,t,i,r,o,l,p){return gi(t).pipe(Ur(C=>this.processSegmentAgainstRoute(C._injector??n,t,C,i,r,o,l,p).pipe(Pe(w=>{if(w instanceof yg)return pe(null);throw w}))),Oo(C=>!!C),Pe(C=>{if(zR(C))return WY(i,r,o)?pe(new Fx):eh(i);throw C}))}processSegmentAgainstRoute(n,t,i,r,o,l,p,C){return Vs(i)!==l&&(l===Ht||!ey(r,o,i))?eh(r):i.redirectTo===void 0?this.matchSegmentAgainstRoute(n,r,i,o,l,C):this.allowRedirects&&p?this.expandSegmentAgainstRouteUsingRedirect(n,r,t,i,o,l,C):eh(r)}expandSegmentAgainstRouteUsingRedirect(n,t,i,r,o,l,p){let{matched:C,parameters:w,consumedSegments:V,positionalParamSegments:j,remainingSegments:$}=$R(t,r,o);if(!C)return eh(t);
20typeof r.redirectTo=="string"&&r.redirectTo[0]==="/"&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>qY&&(this.allowRedirects=!1));let W=new dd(o,w,Object.freeze(k({},this.urlTree.queryParams)),this.urlTree.fragment,CR(r),Vs(r),r.component??r._loadedComponent??null,r,_R(r)),se=Z_(W,p,this.paramsInheritanceStrategy);W.params=Object.freeze(se.params),W.data=Object.freeze(se.data);let be=this.applyRedirects.applyRedirectCommands(V,r.redirectTo,j,W,n);return this.applyRedirects.lineralizeSegments(r,be).pipe(mi(Ve=>this.processSegment(n,i,t,Ve.concat($),l,!1,p)))}matchSegmentAgainstRoute(n,t,i,r,o,l){let p=HY(t,i,r,n,this.urlSerializer);return i.path==="**"&&(t.children={}),p.pipe(Te(C=>C.matched?(n=i._injector??n,this.getChildConfig(n,i,r).pipe(Te(({routes:w})=>{let V=i._loadedInjector??n,{parameters:j,consumedSegments:$,remainingSegments:W}=C,se=new dd($,j,Object.freeze(k({},this.urlTree.queryParams)),this.urlTree.fragment,CR(i),Vs(i),i.component??i._loadedComponent??null,i,_R(i)),be=Z_(se,l,this.paramsInheritanceStrategy);se.params=Object.freeze(be.params),se.data=Object.freeze(be.data);let{segmentGroup:Ve,slicedSegments:dt}=vR(t,$,W,w);if(dt.length===0&&Ve.hasChildren())return this.processChildren(V,w,Ve,se).pipe(fe(Pt=>new jo(se,Pt)));if(w.length===0&&dt.length===0)return pe(new jo(se,[]));let sn=Vs(i)===o;return this.processSegment(V,w,Ve,dt,sn?Ht:o,!0,se).pipe(fe(Pt=>new jo(se,Pt instanceof jo?[Pt]:[])))}))):eh(t)))}getChildConfig(n,t,i){return t.children?pe({routes:t.children,injector:n}):t.loadChildren?t._loadedRoutes!==void 0?pe({routes:t._loadedRoutes,injector:t._loadedInjector}):LY(n,t,i,this.urlSerializer).pipe(mi(r=>r?this.configLoader.loadChildren(n,t).pipe(pn(o=>{t._loadedRoutes=o.routes,t._loadedInjector=o.injector})):UY(t))):pe({routes:[],injector:n})}};function QY(e){e.sort((n,t)=>n.value.outlet===Ht?-1:t.value.outlet===Ht?1:n.value.outlet.localeCompare(t.value.outlet))}function ZY(e){let n=e.value.routeConfig;return n&&n.path===""}function WR(e){let n=[],t=new Set;for(let i of e){if(!ZY(i)){n.push(i);continue}let r=n.find(o=>i.value.routeConfig===o.value.routeConfig);r!==void 0?(r.children.push(...i.children),t.add(r)):n.push(i)}for(let i of t){let r=WR(i.children);n.push(new jo(i.value,r))}return n.filter(i=>!t.has(i))}function CR(e){return e.data||{}}function _R(e){return e.resolve||{}}function KY(e,n,t,i,r,o){return mi(l=>YY(e,n,t,i,l.extractedUrl,r,o).pipe(fe(({state:p,tree:C})=>U(k({},l),{targetSnapshot:p,urlAfterRedirects:C}))))}function XY(e,n){return mi(t=>{let{targetSnapshot:i,guards:{canActivateChecks:r}}=t;if(!r.length)return pe(t);let o=new Set(r.map(C=>C.route)),l=new Set;for(let C of o)if(!l.has(C))for(let w of YR(C))l.add(w);let p=0;return gi(l).pipe(Ur(C=>o.has(C)?JY(C,i,e,n):(C.data=Z_(C,C.parent,e).resolve,pe(void 0))),pn(()=>p++),G2(1),mi(C=>p===l.size?pe(t):Vr))})}function YR(e){let n=e.children.map(t=>YR(t)).flat();return[e,...n]}function JY(e,n,t,i){let r=e.routeConfig,o=e._resolve;return r?.title!==void 0&&!VR(r)&&(o[Sg]=r.title),eq(o,e,n,i).pipe(fe(l=>(e._resolvedData=l,e.data=Z_(e,e.parent,t).resolve,null)))}function eq(e,n,t,i){let r=xx(e);if(r.length===0)return pe({});let o={};return gi(r).pipe(mi(l=>tq(e[l],n,t,i).pipe(Oo(),pn(p=>{if(p instanceof lh)throw K_(new Xl,p);o[l]=p}))),G2(1),fe(()=>o),Pe(l=>zR(l)?Vr:Op(l)))}function tq(e,n,t,i){let r=Ig(n)??i,o=dh(e,r),l=o.resolve?o.resolve(n,t):Br(r,()=>o(n,t));return tc(l)}function Ex(e){return Te(n=>{let t=e(n);return t?gi(t).pipe(fe(()=>n)):pe(n)})}var Gx=(()=>{class e{buildTitle(t){let i,r=t.root;for(;r!==void 0;)i=this.getResolvedTitleForRoute(r)??i,r=r.children.find(o=>o.outlet===Ht);return i}getResolvedTitleForRoute(t){return t.data[Sg]}static \u0275fac=function(i){return new(i||e)};static \u0275prov=le({token:e,factory:()=>ge(qR),providedIn:"root"})}return e})(),qR=(()=>{class e extends Gx{title;constructor(t){super(),this.title=t}updateTitle(t){let i=this.buildTitle(t);i!==void 0&&this.title.setTitle(i)}static \u0275fac=function(i){return new(i||e)(ae(NC))};static \u0275prov=le({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),fd=new me("",{providedIn:"root",factory:()=>({})}),uh=new me(""),ty=(()=>{class e{componentLoaders=new WeakMap;childrenLoaders=new WeakMap;onLoadStartListener;onLoadEndListener;compiler=ge(S6);loadComponent(t){if(this.componentLoaders.get(t))return this.componentLoaders.get(t);if(t._loadedComponent)return pe(t._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(t);let i=tc(t.loadComponent()).pipe(fe(ZR),pn(o=>{this.onLoadEndListener&&this.onLoadEndListener(t),t._loadedComponent=o}),Wa(()=>{this.componentLoaders.delete(t)})),r=new d3(i,()=>new Qe).pipe(U2());return this.componentLoaders.set(t,r),r}loadChildren(t,i){if(this.childrenLoaders.get(i))return this.childrenLoaders.get(i);if(i._loadedRoutes)return pe({routes:i._loadedRoutes,injector:i._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(i);let o=QR(i,this.compiler,t,this.onLoadEndListener).pipe(Wa(()=>{this.childrenLoaders.delete(i)})),l=new d3(o,()=>new Qe).pipe(U2());return this.childrenLoaders.set(i,l),l}static \u0275fac=function(i){return new(i||e)};static \u0275prov=le({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function QR(e,n,t,i){return tc(e.loadChildren()).pipe(fe(ZR),mi(r=>r instanceof ZI||Array.isArray(r)?pe(r):gi(n.compileModuleAsync(r))),fe(r=>{i&&i(e);let o,l,p=!1;return Array.isArray(r)?(l=r,p=!0):(o=r.create(t).injector,l=o.get(uh,[],{optional:!0,self:!0}).flat()),{routes:l.map(zx),injector:o}}))}function nq(e){return e&&typeof e=="object"&&"default"in e}function ZR(e){return nq(e)?e.default:e}var ny=(()=>{class e{static \u0275fac=function(i){return new(i||e)};static \u0275prov=le({token:e,factory:()=>ge(iq),providedIn:"root"})}return e})(),iq=(()=>{class e{shouldProcessUrl(t){return!0}extract(t){return t}merge(t,i){return t}static \u0275fac=function(i){return new(i||e)};static \u0275prov=le({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),$x=new me(""),Wx=new me("");function KR(e,n,t){let i=e.get(Wx),r=e.get(_n);return e.get(Rt).runOutsideAngular(()=>{if(!r.startViewTransition||i.skipNextTransition)return i.skipNextTransition=!1,new Promise(w=>setTimeout(w));let o,l=new Promise(w=>{o=w}),p=r.startViewTransition(()=>(o(),rq(e))),{onViewTransitionCreated:C}=i;return C&&Br(e,()=>C({transition:p,from:n,to:t})),l})}function rq(e){return new Promise(n=>{cf({read:()=>setTimeout(n)},{injector:e})})}var Yx=new me(""),iy=(()=>{class e{currentNavigation=null;currentTransition=null;lastSuccessfulNavigation=null;events=new Qe;
vendor: 26,302 bytes, line 20
20transitionAbortSubject=new Qe;configLoader=ge(ty);environmentInjector=ge(wi);destroyRef=ge(Es);urlSerializer=ge(hd);rootContexts=ge(pd);location=ge(Bl);inputBindingEnabled=ge(Eg,{optional:!0})!==null;titleStrategy=ge(Gx);options=ge(fd,{optional:!0})||{};paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly";urlHandlingStrategy=ge(ny);createViewTransition=ge($x,{optional:!0});navigationErrorHandler=ge(Yx,{optional:!0});navigationId=0;get hasRequestedNavigation(){return this.navigationId!==0}transitions;afterPreactivation=()=>pe(void 0);rootComponentType=null;destroyed=!1;constructor(){let t=r=>this.events.next(new j_(r)),i=r=>this.events.next(new z_(r));this.configLoader.onLoadEndListener=i,this.configLoader.onLoadStartListener=t,this.destroyRef.onDestroy(()=>{this.destroyed=!0})}complete(){this.transitions?.complete()}handleNavigationRequest(t){let i=++this.navigationId;this.transitions?.next(U(k({},t),{extractedUrl:this.urlHandlingStrategy.extract(t.rawUrl),targetSnapshot:null,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null,id:i}))}setupNavigations(t){return this.transitions=new Pn(null),this.transitions.pipe(qt(i=>i!==null),Te(i=>{let r=!1,o=!1;return pe(i).pipe(Te(l=>{if(this.navigationId>i.id)return this.cancelNavigationTransition(i,"",vo.SupersededByNewNavigation),Vr;this.currentTransition=i,this.currentNavigation={id:l.id,initialUrl:l.rawUrl,extractedUrl:l.extractedUrl,targetBrowserUrl:typeof l.extras.browserUrl=="string"?this.urlSerializer.parse(l.extras.browserUrl):l.extras.browserUrl,trigger:l.source,extras:l.extras,previousNavigation:this.lastSuccessfulNavigation?U(k({},this.lastSuccessfulNavigation),{previousNavigation:null}):null};let p=!t.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl(),C=l.extras.onSameUrlNavigation??t.onSameUrlNavigation;if(!p&&C!=="reload")return this.events.next(new ya(l.id,this.urlSerializer.serialize(l.rawUrl),"",rh.IgnoredSameUrlNavigation)),l.resolve(!1),Vr;if(this.urlHandlingStrategy.shouldProcessUrl(l.rawUrl))return pe(l).pipe(Te(w=>(this.events.next(new ec(w.id,this.urlSerializer.serialize(w.extractedUrl),w.source,w.restoredState)),w.id!==this.navigationId?Vr:Promise.resolve(w))),KY(this.environmentInjector,this.configLoader,this.rootComponentType,t.config,this.urlSerializer,this.paramsInheritanceStrategy),pn(w=>{i.targetSnapshot=w.targetSnapshot,i.urlAfterRedirects=w.urlAfterRedirects,this.currentNavigation=U(k({},this.currentNavigation),{finalUrl:w.urlAfterRedirects});let V=new gg(w.id,this.urlSerializer.serialize(w.extractedUrl),this.urlSerializer.serialize(w.urlAfterRedirects),w.targetSnapshot);this.events.next(V)}));if(p&&this.urlHandlingStrategy.shouldProcessUrl(l.currentRawUrl)){let{id:w,extractedUrl:V,source:j,restoredState:$,extras:W}=l,se=new ec(w,this.urlSerializer.serialize(V),j,$);this.events.next(se);let be=LR(this.rootComponentType).snapshot;return this.currentTransition=i=U(k({},l),{targetSnapshot:be,urlAfterRedirects:V,extras:U(k({},W),{skipLocationChange:!1,replaceUrl:!1})}),this.currentNavigation.finalUrl=V,pe(i)}else return this.events.next(new ya(l.id,this.urlSerializer.serialize(l.extractedUrl),"",rh.IgnoredByUrlHandlingStrategy)),l.resolve(!1),Vr}),pn(l=>{let p=new V_(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects),l.targetSnapshot);this.events.next(p)}),fe(l=>(this.currentTransition=i=U(k({},l),{guards:vY(l.targetSnapshot,l.currentSnapshot,this.rootContexts)}),i)),TY(this.environmentInjector,l=>this.events.next(l)),pn(l=>{if(i.guardsResult=l.guardsResult,l.guardsResult&&typeof l.guardsResult!="boolean")throw K_(this.urlSerializer,l.guardsResult);let p=new U_(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects),l.targetSnapshot,!!l.guardsResult);this.events.next(p)}),qt(l=>l.guardsResult?!0:(this.cancelNavigationTransition(l,"",vo.GuardRejected),!1)),Ex(l=>{if(l.guards.canActivateChecks.length!==0)return pe(l).pipe(pn(p=>{let C=new H_(p.id,this.urlSerializer.serialize(p.extractedUrl),this.urlSerializer.serialize(p.urlAfterRedirects),p.targetSnapshot);this.events.next(C)}),Te(p=>{let C=!1;return pe(p).pipe(XY(this.paramsInheritanceStrategy,this.environmentInjector),pn({next:()=>C=!0,complete:()=>{C||this.cancelNavigationTransition(p,"",vo.NoDataFromResolver)}}))}),pn(p=>{let C=new B_(p.id,this.urlSerializer.serialize(p.extractedUrl),this.urlSerializer.serialize(p.urlAfterRedirects),p.targetSnapshot);this.events.next(C)}))}),Ex(l=>{let p=C=>{let w=[];C.routeConfig?.loadComponent&&!C.routeConfig._loadedComponent&&w.push(this.configLoader.loadComponent(C.routeConfig).pipe(pn(V=>{C.component=V}),fe(()=>{})));for(let V of C.children)w.push(...p(V));return w};return _s(p(l.targetSnapshot.root)).pipe(j2(null),Hn(1))}),Ex(()=>this.afterPreactivation()),Te(()=>{let{currentSnapshot:l,targetSnapshot:p}=i,C=this.createViewTransition?.(this.environmentInjector,l.root,p.root);return C?gi(C).pipe(fe(()=>i)):pe(i)}),fe(l=>{let p=hY(t.routeReuseStrategy,l.targetSnapshot,l.currentRouterState);return this.currentTransition=i=U(k({},l),{targetRouterState:p}),this.currentNavigation.targetRouterState=p,i}),pn(()=>{this.events.next(new mg)}),mY(this.rootContexts,t.routeReuseStrategy,l=>this.events.next(l),this.inputBindingEnabled),Hn(1),pn({next:l=>{r=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new Go(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects))),this.titleStrategy?.updateTitle(l.targetRouterState.snapshot),l.resolve(!0)},complete:()=>{r=!0}}),vi(this.transitionAbortSubject.pipe(pn(l=>{throw l}))),Wa(()=>{!r&&!o&&this.cancelNavigationTransition(i,"",vo.SupersededByNewNavigation),this.currentTransition?.id===i.id&&(this.currentNavigation=null,this.currentTransition=null)}),Pe(l=>{if(this.destroyed)return i.resolve(!1),Vr;if(o=!0,jR(l))this.events.next(new Ca(i.id,this.urlSerializer.serialize(i.extractedUrl),l.message,l.cancellationCode)),gY(l)?this.events.next(new ah(l.url,l.navigationBehaviorOptions)):i.resolve(!1);else{let p=new oh(i.id,this.urlSerializer.serialize(i.extractedUrl),l,i.targetSnapshot??void 0);try{let C=Br(this.environmentInjector,()=>this.navigationErrorHandler?.(p));if(C instanceof lh){let{message:w,cancellationCode:V}=K_(this.urlSerializer,C);this.events.next(new Ca(i.id,this.urlSerializer.serialize(i.extractedUrl),w,V)),this.events.next(new ah(C.redirectTo,C.navigationBehaviorOptions))}else throw this.events.next(p),l}catch(C){this.options.resolveNavigationPromiseOnError?i.resolve(!1):i.reject(C)}}return Vr}))}))}cancelNavigationTransition(t,i,r){let o=new Ca(t.id,this.urlSerializer.serialize(t.extractedUrl),i,r);this.events.next(o),t.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){let t=this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))),i=this.currentNavigation?.targetBrowserUrl??this.currentNavigation?.extractedUrl;return t.toString()!==i?.toString()&&!this.currentNavigation?.extras.skipLocationChange}static \u0275fac=function(i){return new(i||e)};static \u0275prov=le({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function oq(e){return e!==N_}var XR=(()=>{class e{static \u0275fac=function(i){return new(i||e)};static \u0275prov=le({token:e,factory:()=>ge(sq),providedIn:"root"})}return e})(),J_=class{shouldDetach(n){return!1}store(n,t){}shouldAttach(n){return!1}retrieve(n){return null}shouldReuseRoute(n,t){return n.routeConfig===t.routeConfig}},sq=(()=>{class e extends J_{static \u0275fac=(()=>{let t;return function(r){return(t||(t=kn(e)))(r||e)}})();static \u0275prov=le({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),JR=(()=>{class e{urlSerializer=ge(hd);options=ge(fd,{optional:!0})||{};canceledNavigationResolution=this.options.canceledNavigationResolution||"replace";location=ge(Bl);urlHandlingStrategy=ge(ny);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";currentUrlTree=new _a;getCurrentUrlTree(){return this.currentUrlTree}rawUrlTree=this.currentUrlTree;getRawUrlTree(){return this.rawUrlTree}createBrowserPath({finalUrl:t,initialUrl:i,targetBrowserUrl:r}){let o=t!==void 0?this.urlHandlingStrategy.merge(t,i):i,l=r??o;return l instanceof _a?this.urlSerializer.serialize(l):l}commitTransition({targetRouterState:t,finalUrl:i,initialUrl:r}){i&&t?(this.currentUrlTree=i,this.rawUrlTree=this.urlHandlingStrategy.merge(i,r),this.routerState=t):this.rawUrlTree=r}routerState=LR(null);getRouterState(){return this.routerState}stateMemento=this.createStateMemento();updateStateMemento(){this.stateMemento=this.createStateMemento()}createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}resetInternalState({finalUrl:t}){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,t??this.rawUrlTree)}static \u0275fac=function(i){return new(i||e)};static \u0275prov=le({token:e,factory:()=>ge(aq),providedIn:"root"})}return e})(),aq=(()=>{class e extends JR{currentPageId=0;lastSuccessfulId=-1;restoredState(){return this.location.getState()}get browserPageId(){return this.canceledNavigationResolution!=="computed"?this.currentPageId:this.restoredState()?.\u0275routerPageId??this.currentPageId}registerNonRouterCurrentEntryChangeListener(t){return this.location.subscribe(i=>{i.type==="popstate"&&setTimeout(()=>{t(i.url,i.state,"popstate")})})}handleRouterEvent(t,i){t instanceof ec?this.updateStateMemento():t instanceof ya?this.commitTransition(i):t instanceof gg?this.urlUpdateStrategy==="eager"&&(i.extras.skipLocationChange||this.setBrowserUrl(this.createBrowserPath(i),i)):t instanceof mg?(this.commitTransition(i),this.urlUpdateStrategy==="deferred"&&!i.extras.skipLocationChange&&this.setBrowserUrl(this.createBrowserPath(i),i)):t instanceof Ca&&(t.code===vo.GuardRejected||t.code===vo.NoDataFromResolver)?this.restoreHistory(i):t instanceof oh?this.restoreHistory(i,!0):t instanceof Go&&(this.lastSuccessfulId=t.id,this.currentPageId=this.browserPageId)}setBrowserUrl(t,{extras:i,id:r}){let{replaceUrl:o,state:l}=i;if(this.location.isCurrentPathEqualTo(t)||o){let p=this.browserPageId,C=k(k({},l),this.generateNgRouterState(r,p));this.location.replaceState(t,"",C)}else{let p=k(k({},l),this.generateNgRouterState(r,this.browserPageId+1));this.location.go(t,"",p)}}restoreHistory(t,i=!1){if(this.canceledNavigationResolution==="computed"){let r=this.browserPageId,o=this.currentPageId-r;o!==0?this.location.historyGo(o):this.getCurrentUrlTree()===t.finalUrl&&o===0&&(this.resetInternalState(t),this.resetUrlToCurrentUrlTree())}else this.canceledNavigationResolution==="replace"&&(i&&this.resetInternalState(t),this.resetUrlToCurrentUrlTree())}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.getRawUrlTree()),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(t,i){return this.canceledNavigationResolution==="computed"?{navigationId:t,\u0275routerPageId:i}:{navigationId:t}}static \u0275fac=(()=>{let t;return function(r){return(t||(t=kn(e)))(r||e)}})();static \u0275prov=le({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function ry(e,n){e.events.pipe(qt(t=>t instanceof Go||t instanceof Ca||t instanceof oh||t instanceof ya),fe(t=>t instanceof Go||t instanceof ya?0:(t instanceof Ca?t.code===vo.Redirect||t.code===vo.SupersededByNewNavigation:!1)?2:1),qt(t=>t!==2),Hn(1)).subscribe(()=>{n()})}var lq={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},cq={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"},Qn=(()=>{class e{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}disposed=!1;nonRouterCurrentEntryChangeSubscription;console=ge(XI);stateManager=ge(JR);options=ge(fd,{optional:!0})||{};pendingTasks=ge(Ja);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";navigationTransitions=ge(iy);urlSerializer=ge(hd);location=ge(Bl);urlHandlingStrategy=ge(ny);_events=new Qe;get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}navigated=!1;routeReuseStrategy=ge(XR);onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore";config=ge(uh,{optional:!0})?.flat()??[];componentInputBindingEnabled=!!ge(Eg,{optional:!0});constructor(){this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this).subscribe({error:t=>{this.console.warn(t)}}),this.subscribeToNavigationEvents()}eventsSubscription=new Xo;subscribeToNavigationEvents(){let t=this.navigationTransitions.events.subscribe(i=>{try{let r=this.navigationTransitions.currentTransition,o=this.navigationTransitions.currentNavigation;if(r!==null&&o!==null){if(this.stateManager.handleRouterEvent(i,o),i instanceof Ca&&i.code!==vo.Redirect&&i.code!==vo.SupersededByNewNavigation)this.navigated=!0;else if(i instanceof Go)this.navigated=!0;else if(i instanceof ah){let l=i.navigationBehaviorOptions,p=this.urlHandlingStrategy.merge(i.url,r.currentRawUrl),C=k({browserUrl:r.extras.browserUrl,info:r.extras.info,skipLocationChange:r.extras.skipLocationChange,replaceUrl:r.extras.replaceUrl||this.urlUpdateStrategy==="eager"||oq(r.source)},l);this.scheduleNavigation(p,N_,null,C,{resolve:r.resolve,reject:r.reject,promise:r.promise})}}uq(i)&&this._events.next(i)}catch(r){this.navigationTransitions.transitionAbortSubject.next(r)}});this.eventsSubscription.add(t)}resetRootComponentType(t){this.routerState.root.component=t,this.navigationTransitions.rootComponentType=t}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),N_,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((t,i,r)=>{this.navigateToSyncWithBrowser(t,r,i)})}navigateToSyncWithBrowser(t,i,r){let o={replaceUrl:!0},l=r?.navigationId?r:null;if(r){let C=k({},r);delete C.navigationId,delete C.\u0275routerPageId,Object.keys(C).length!==0&&(o.state=C)}let p=this.parseUrl(t);this.scheduleNavigation(p,i,l,o)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(t){this.config=t.map(zx),this.navigated=!1}ngOnDestroy(){this.dispose()}dispose(){this._events.unsubscribe(),this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription&&(this.nonRouterCurrentEntryChangeSubscription.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(t,i={}){let{relativeTo:r,queryParams:o,fragment:l,queryParamsHandling:p,preserveFragment:C}=i,w=C?this.currentUrlTree.fragment:l,V=null;switch(p??this.options.defaultQueryParamsHandling){case"merge":V=k(k({},this.currentUrlTree.queryParams),o);break;case"preserve":V=this.currentUrlTree.queryParams;break;default:V=o||null}V!==null&&(V=this.removeEmptyProps(V));let j;try{let $=r?r.snapshot:this.routerState.snapshot.root;j=RR($)}catch{(typeof t[0]!="string"||t[0][0]!=="/")&&(t=[]),j=this.currentUrlTree.root}return PR(j,t,V,w??null)}navigateByUrl(t,i={skipLocationChange:!1}){let r=Jl(t)?t:this.parseUrl(t),o=this.urlHandlingStrategy.merge(r,this.rawUrlTree);return this.scheduleNavigation(o,N_,null,i)}navigate(t,i={skipLocationChange:!1}){return dq(t),this.navigateByUrl(this.createUrlTree(t,i),i)}serializeUrl(t){return this.urlSerializer.serialize(t)}parseUrl(t){try{return this.urlSerializer.parse(t)}catch{return this.urlSerializer.parse("/")}}isActive(t,i){let r;if(i===!0?r=k({},lq):i===!1?r=k({},cq):r=i,Jl(t))return pR(this.currentUrlTree,t,r);let o=this.parseUrl(t);return pR(this.currentUrlTree,o,r)}removeEmptyProps(t){return Object.entries(t).reduce((i,[r,o])=>(o!=null&&(i[r]=o),i),{})}scheduleNavigation(t,i,r,o,l){if(this.disposed)return Promise.resolve(!1);let p,C,w;l?(p=l.resolve,C=l.reject,w=l.promise):w=new Promise((j,$)=>{p=j,C=$});let V=this.pendingTasks.add();return ry(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(V))}),this.navigationTransitions.handleNavigationRequest({source:i,restoredState:r,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:t,extras:o,resolve:p,reject:C,promise:w,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),w.catch(j=>Promise.reject(j))}static \u0275fac=function(i){return new(i||e)};static \u0275prov=le({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function dq(e){for(let n=0;n<e.length;n++)if(e[n]==null)throw new Ye(4008,!1)}function uq(e){return!(e instanceof mg)&&!(e instanceof ah)}var oy=(()=>{class e{router;route;tabIndexAttribute;renderer;el;locationStrategy;href=null;target;queryParams;fragment;queryParamsHandling;state;info;relativeTo;isAnchorElement;subscription;onChanges=new Qe;constructor(t,i,r,o,l,p){this.router=t,this.route=i,this.tabIndexAttribute=r,this.renderer=o,this.el=l,this.locationStrategy=p;let C=l.nativeElement.tagName?.toLowerCase();this.isAnchorElement=C==="a"||C==="area",this.isAnchorElement?this.subscription=t.events.subscribe(w=>{w instanceof Go&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}preserveFragment=!1;skipLocationChange=!1;replaceUrl=!1;setTabIndexIfNotOnNativeEl(t){this.tabIndexAttribute!=null||this.isAnchorElement||this.applyAttributeValue("tabindex",t)}ngOnChanges(t){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}routerLinkInput=null;set routerLink(t){t==null?(this.routerLinkInput=null,this.setTabIndexIfNotOnNativeEl(null)):(Jl(t)?this.routerLinkInput=t:this.routerLinkInput=Array.isArray(t)?t:[t],this.setTabIndexIfNotOnNativeEl("0"))}onClick(t,i,r,o,l){let p=this.urlTree;if(p===null||this.isAnchorElement&&(t!==0||i||r||o||l||typeof this.target=="string"&&this.target!="_self"))return!0;let C={skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state,info:this.info};return this.router.navigateByUrl(p,C),!this.isAnchorElement}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){let t=this.urlTree;this.href=t!==null&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(t)):null;let i=this.href===null?null:uO(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",i)}applyAttributeValue(t,i){let r=this.renderer,o=this.el.nativeElement;i!==null?r.setAttribute(o,t,i):r.removeAttribute(o,t)}get urlTree(){return this.routerLinkInput===null?null:Jl(this.routerLinkInput)?this.routerLinkInput:this.router.createUrlTree(this.routerLinkInput,{relativeTo:this.relativeTo!==void 0?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}static \u0275fac=function(i){return new(i||e)(A(Qn),A(Qr),af("tabindex"),A(Lt),A(et),A(Ms))};static \u0275dir=He({type:e,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(i,r){i&1&&oe("click",function(l){return r.onClick(l.button,l.ctrlKey,l.shiftKey,l.altKey,l.metaKey)}),i&2&&De("target",r.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",info:"info",relativeTo:"relativeTo",preserveFragment:[2,"preserveFragment","preserveFragment",xs],skipLocationChange:[2,"skipLocationChange","skipLocationChange",xs],replaceUrl:[2,"replaceUrl","replaceUrl",xs],routerLink:"routerLink"},features:[Xt]})}return e})(),hq=(()=>{class e{router;element;renderer;cdr;link;links;classes=[];routerEventsSubscription;linkInputChangesSubscription;_isActive=!1;get isActive(){return this._isActive}routerLinkActiveOptions={exact:!1};ariaCurrentWhenActive;isActiveChange=new Ue;constructor(t,i,r,o,l){this.router=t,this.element=i,this.renderer=r,this.cdr=o,this.link=l,this.routerEventsSubscription=t.events.subscribe(p=>{p instanceof Go&&this.update()})}ngAfterContentInit(){pe(this.links.changes,pe(null)).pipe(ou()).subscribe(t=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){this.linkInputChangesSubscription?.unsubscribe();let t=[...this.links.toArray(),this.link].filter(i=>!!i).map(i=>i.onChanges);this.linkInputChangesSubscription=gi(t).pipe(ou()).subscribe(i=>{this._isActive!==this.isLinkActive(this.router)(i)&&this.update()})}set routerLinkActive(t){let i=Array.isArray(t)?t:t.split(" ");this.classes=i.filter(r=>!!r)}ngOnChanges(t){this.update()}ngOnDestroy(){this.routerEventsSubscription.unsubscribe(),this.linkInputChangesSubscription?.unsubscribe()}update(){!this.links||!this.router.navigated||queueMicrotask(()=>{let t=this.hasActiveLinks();this.classes.forEach(i=>{t?this.renderer.addClass(this.element.nativeElement,i):this.renderer.removeClass(this.element.nativeElement,i)}),t&&this.ariaCurrentWhenActive!==void 0?this.renderer.setAttribute(this.element.nativeElement,"aria-current",this.ariaCurrentWhenActive.toString()):this.renderer.removeAttribute(this.element.nativeElement,"aria-current"),this._isActive!==t&&(this._isActive=t,this.cdr.markForCheck(),this.isActiveChange.emit(t))})}isLinkActive(t){let i=pq(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact||!1;return r=>{let o=r.urlTree;return o?t.isActive(o,i):!1}}hasActiveLinks(){let t=this.isLinkActive(this.router);return this.link&&t(this.link)||this.links.some(t)}static \u0275fac=function(i){return new(i||e)(A(Qn),A(et),A(Lt),A(Yn),A(oy,8))};static \u0275dir=He({type:e,selectors:[["","routerLinkActive",""]],contentQueries:function(i,r,o){if(i&1&&wn(o,oy,5),i&2){let l;gt(l=mt())&&(r.links=l)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],features:[Xt]})}return e})();function pq(e){return!!e.paths}var xg=class{};var eP=(()=>{class e{router;injector;preloadingStrategy;loader;subscription;constructor(t,i,r,o){this.router=t,this.injector=i,this.preloadingStrategy=r,this.loader=o}setUpPreloading(){this.subscription=this.router.events.pipe(qt(t=>t instanceof Go),Ur(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(t,i){let r=[];for(let o of i){o.providers&&!o._injector&&(o._injector=pf(o.providers,t,`Route: ${o.path}`));let l=o._injector??t,p=o._loadedInjector??l;(o.loadChildren&&!o._loadedRoutes&&o.canLoad===void 0||o.loadComponent&&!o._loadedComponent)&&r.push(this.preloadConfig(l,o)),(o.children||o._loadedRoutes)&&r.push(this.processRoutes(p,o.children??o._loadedRoutes))}return gi(r).pipe(ou())}preloadConfig(t,i){return this.preloadingStrategy.preload(i,()=>{let r;i.loadChildren&&i.canLoad===void 0?r=this.loader.loadChildren(t,i):r=pe(null);let o=r.pipe(mi(l=>l===null?pe(void 0):(i._loadedRoutes=l.routes,i._loadedInjector=l.injector,this.processRoutes(l.injector??t,l.routes))));if(i.loadComponent&&!i._loadedComponent){let l=this.loader.loadComponent(i);return gi([o,l]).pipe(ou())}else return o})}static \u0275fac=function(i){return new(i||e)(ae(Qn),ae(wi),ae(xg),ae(ty))};static \u0275prov=le({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),tP=new me(""),fq=(()=>{class e{urlSerializer;transitions;viewportScroller;zone;options;routerEventsSubscription;scrollEventsSubscription;lastId=0;lastSource="imperative";restoredId=0;store={};constructor(t,i,r,o,l={}){this.urlSerializer=t,this.transitions=i,this.viewportScroller=r,this.zone=o,this.options=l,l.scrollPositionRestoration||="disabled",l.anchorScrolling||="disabled"}init(){this.options.scrollPositionRestoration!=="disabled"&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(t=>{t instanceof ec?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=t.navigationTrigger,this.restoredId=t.restoredState?t.restoredState.navigationId:0):t instanceof Go?(this.lastId=t.id,this.scheduleScrollEvent(t,this.urlSerializer.parse(t.urlAfterRedirects).fragment)):t instanceof ya&&t.code===rh.IgnoredSameUrlNavigation&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(t,this.urlSerializer.parse(t.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(t=>{t instanceof sh&&(t.position?this.options.scrollPositionRestoration==="top"?this.viewportScroller.scrollToPosition([0,0]):this.options.scrollPositionRestoration==="enabled"&&this.viewportScroller.scrollToPosition(t.position):t.anchor&&this.options.anchorScrolling==="enabled"?this.viewportScroller.scrollToAnchor(t.anchor):this.options.scrollPositionRestoration!=="disabled"&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(t,i){this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.zone.run(()=>{this.transitions.events.next(new sh(t,this.lastSource==="popstate"?this.store[this.restoredId]:null,i))})},0)})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}static \u0275fac=function(i){VO()};static \u0275prov=le({token:e,factory:e.\u0275fac})}return e})();function gq(e){return e.routerState.root}function Dg(e,n){return{\u0275kind:e,\u0275providers:n}}function mq(){let e=ge(Gt);return n=>{let t=e.get(Is);if(n!==t.components[0])return;let i=e.get(Qn),r=e.get(nP);e.get(Qx)===1&&i.initialNavigation(),e.get(oP,null,zt.Optional)?.setUpPreloading(),e.get(tP,null,zt.Optional)?.init(),i.resetRootComponentType(t.componentTypes[0]),r.closed||(r.next(),r.complete(),r.unsubscribe())}}
20var nP=new me("",{factory:()=>new Qe}),Qx=new me("",{providedIn:"root",factory:()=>1});function iP(){let e=[{provide:Qx,useValue:0},nC(()=>{let n=ge(Gt);return n.get(pE,Promise.resolve()).then(()=>new Promise(i=>{let r=n.get(Qn),o=n.get(nP);ry(r,()=>{i(!0)}),n.get(iy).afterPreactivation=()=>(i(!0),o.closed?pe(void 0):o),r.initialNavigation()}))})];return Dg(2,e)}function rP(){let e=[nC(()=>{ge(Qn).setUpLocationChangeListener()}),{provide:Qx,useValue:2}];return Dg(3,e)}var oP=new me("");function sP(e){return Dg(0,[{provide:oP,useExisting:eP},{provide:xg,useExisting:e}])}function aP(){return Dg(8,[Bx,{provide:Eg,useExisting:Bx}])}function lP(e){lf("NgRouterViewTransitions");let n=[{provide:$x,useValue:KR},{provide:Wx,useValue:k({skipNextTransition:!!e?.skipInitialTransition},e)}];return Dg(9,n)}var cP=[Bl,{provide:hd,useClass:Xl},Qn,pd,{provide:Qr,useFactory:gq,deps:[Qn]},ty,[]],hh=(()=>{class e{constructor(){}static forRoot(t,i){return{ngModule:e,providers:[cP,[],{provide:uh,multi:!0,useValue:t},[],i?.errorHandler?{provide:Yx,useValue:i.errorHandler}:[],{provide:fd,useValue:i||{}},i?.useHash?Cq():_q(),vq(),i?.preloadingStrategy?sP(i.preloadingStrategy).\u0275providers:[],i?.initialNavigation?yq(i):[],i?.bindToComponentInputs?aP().\u0275providers:[],i?.enableViewTransitions?lP().\u0275providers:[],bq()]}}static forChild(t){return{ngModule:e,providers:[{provide:uh,multi:!0,useValue:t}]}}static \u0275fac=function(i){return new(i||e)};static \u0275mod=We({type:e});static \u0275inj=$e({})}return e})();function vq(){return{provide:tP,useFactory:()=>{let e=ge(a8),n=ge(Rt),t=ge(fd),i=ge(iy),r=ge(hd);return t.scrollOffset&&e.setOffset(t.scrollOffset),new fq(r,i,e,n,t)}}}function Cq(){return{provide:Ms,useClass:SE}}function _q(){return{provide:Ms,useClass:dC}}function yq(e){return[e.initialNavigation==="disabled"?rP().\u0275providers:[],e.initialNavigation==="enabledBlocking"?iP().\u0275providers:[]]}var qx=new me("");function bq(){return[{provide:qx,useFactory:mq},{provide:nE,multi:!0,useExisting:qx}]}function dP(){let e=typeof document<"u"&&document?document.activeElement:null;for(;e&&e.shadowRoot;){let n=e.shadowRoot.activeElement;if(n===e)break;e=n}return e}var Zx;try{Zx=typeof Intl<"u"&&Intl.v8BreakIterator}catch{Zx=!1}var Kx=(()=>{class e{_platformId=ge(xi);isBrowser=this._platformId?ui(this._platformId):typeof document=="object"&&!!document;EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent);TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent);BLINK=this.isBrowser&&!!(window.chrome||Zx)&&typeof CSS<"u"&&!this.EDGE&&!this.TRIDENT;WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT;IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window);FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent);ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT;SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT;constructor(){}static \u0275fac=function(i){return new(i||e)};static \u0275prov=le({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var sy=new WeakMap,uP=(()=>{class e{_appRef;_injector=ge(Gt);_environmentInjector=ge(wi);load(t){let i=this._appRef=this._appRef||this._injector.get(Is),r=sy.get(i);r||(r={loaders:new Set,refs:[]},sy.set(i,r),i.onDestroy(()=>{sy.get(i)?.refs.forEach(o=>o.destroy()),sy.delete(i)})),r.loaders.has(t)||(r.loaders.add(t),r.refs.push(M6(t,{environmentInjector:this._environmentInjector})))}static \u0275fac=function(i){return new(i||e)};static \u0275prov=le({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var hP=(()=>{class e{static \u0275fac=function(i){return new(i||e)};static \u0275cmp=Me({type:e,selectors:[["ng-component"]],exportAs:["cdkVisuallyHidden"],decls:0,vars:0,template:function(i,r){},styles:[`.cdk-visually-hidden{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap;outline:0;-webkit-appearance:none;-moz-appearance:none;left:0}[dir=rtl] .cdk-visually-hidden{left:auto;right:0} 21`],encapsulation:2,changeDetection:0})}return e})();var Sq=(()=>{class e{_platform=ge(Kx);constructor(){}isDisabled(t){return t.hasAttribute("disabled")}isVisible(t){return Eq(t)&&getComputedStyle(t).visibility==="visible"}isTabbable(t){if(!this._platform.isBrowser)return!1;let i=Iq(Rq(t));if(i&&(pP(i)===-1||!this.isVisible(i)))return!1;let r=t.nodeName.toLowerCase(),o=pP(t);return t.hasAttribute("contenteditable")?o!==-1:r==="iframe"||r==="object"||this._platform.WEBKIT&&this._platform.IOS&&!Aq(t)?!1:r==="audio"?t.hasAttribute("controls")?o!==-1:!1:r==="video"?o===-1?!1:o!==null?!0:this._platform.FIRE
21FOX||t.hasAttribute("controls"):t.tabIndex>=0}isFocusable(t,i){return Oq(t)&&!this.isDisabled(t)&&(i?.ignoreVisibility||this.isVisible(t))}static \u0275fac=function(i){return new(i||e)};static \u0275prov=le({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Iq(e){try{return e.frameElement}catch{return null}}function Eq(e){return!!(e.offsetWidth||e.offsetHeight||typeof e.getClientRects=="function"&&e.getClientRects().length)}function wq(e){let n=e.nodeName.toLowerCase();return n==="input"||n==="select"||n==="button"||n==="textarea"}function xq(e){return Tq(e)&&e.type=="hidden"}function Dq(e){return Mq(e)&&e.hasAttribute("href")}function Tq(e){return e.nodeName.toLowerCase()=="input"}function Mq(e){return e.nodeName.toLowerCase()=="a"}function fP(e){if(!e.hasAttribute("tabindex")||e.tabIndex===void 0)return!1;let n=e.getAttribute("tabindex");return!!(n&&!isNaN(parseInt(n,10)))}function pP(e){if(!fP(e))return null;let n=parseInt(e.getAttribute("tabindex")||"",10);return isNaN(n)?-1:n}function Aq(e){let n=e.nodeName.toLowerCase(),t=n==="input"&&e.type;return t==="text"||t==="password"||n==="select"||n==="textarea"}function Oq(e){return xq(e)?!1:wq(e)||Dq(e)||e.hasAttribute("contenteditable")||fP(e)}function Rq(e){return e.ownerDocument&&e.ownerDocument.defaultView||window}var Xx=class{_element;_checker;_ngZone;_document;_injector;_startAnchor;_endAnchor;_hasAttached=!1;startAnchorListener=()=>this.focusLastTabbableElement();endAnchorListener=()=>this.focusFirstTabbableElement();get enabled(){return this._enabled}set enabled(n){this._enabled=n,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(n,this._startAnchor),this._toggleAnchorTabIndex(n,this._endAnchor))}_enabled=!0;constructor(n,t,i,r,o=!1,l){this._element=n,this._checker=t,this._ngZone=i,this._document=r,this._injector=l,o||this.attachAnchors()}destroy(){let n=this._startAnchor,t=this._endAnchor;n&&(n.removeEventListener("focus",this.startAnchorListener),n.remove()),t&&(t.removeEventListener("focus",this.endAnchorListener),t.remove()),this._startAnchor=this._endAnchor=null,this._hasAttached=!1}attachAnchors(){return this._hasAttached?!0:(this._ngZone.runOutsideAngular(()=>{this._startAnchor||(this._startAnchor=this._createAnchor(),this._startAnchor.addEventListener("focus",this.startAnchorListener)),this._endAnchor||(this._endAnchor=this._createAnchor(),this._endAnchor.addEventListener("focus",this.endAnchorListener))}),this._element.parentNode&&(this._element.parentNode.insertBefore(this._startAnchor,this._element),this._element.parentNode.insertBefore(this._endAnchor,this._element.nextSibling),this._hasAttached=!0),this._hasAttached)}focusInitialElementWhenReady(n){return new Promise(t=>{this._executeOnStable(()=>t(this.focusInitialElement(n)))})}focusFirstTabbableElementWhenReady(n){return new Promise(t=>{this._executeOnStable(()=>t(this.focusFirstTabbableElement(n)))})}focusLastTabbableElementWhenReady(n){return new Promise(t=>{this._executeOnStable(()=>t(this.focusLastTabbableElement(n)))})}_getRegionBoundary(n){let t=this._element.querySelectorAll(`[cdk-focus-region-${n}], [cdkFocusRegion${n}], [cdk-focus-${n}]`);return n=="start"?t.length?t[0]:this._getFirstTabbableElement(this._element):t.length?t[t.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(n){let t=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(t){if(!this._checker.isFocusable(t)){let i=this._getFirstTabbableElement(t);return i?.focus(n),!!i}return t.focus(n),!0}return this.focusFirstTabbableElement(n)}focusFirstTabbableElement(n){let t=this._getRegionBoundary("start");return t&&t.focus(n),!!t}focusLastTabbableElement(n){let t=this._getRegionBoundary("end");return t&&t.focus(n),!!t}hasAttached(){return this._hasAttached}_getFirstTabbableElement(n){if(this._checker.isFocusable(n)&&this._checker.isTabbable(n))return n;let t=n.children;for(let i=0;i<t.length;i++){let r=t[i].nodeType===this._document.ELEMENT_NODE?this._getFirstTabbableElement(t[i]):null;if(r)return r}return null}_getLastTabbableElement(n){if(this._checker.isFocusable(n)&&this._checker.isTabbable(n))return n;let t=n.children;for(let i=t.length-1;i>=0;i--){let r=t[i].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(t[i]):null;if(r)return r}return null}_createAnchor(){let n=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,n),n.classList.add("cdk-visually-hidden"),n.classList.add("cdk-focus-trap-anchor"),n.setAttribute("aria-hidden","true"),n}_toggleAnchorTabIndex(n,t){n?t.setAttribute("tabindex","0"):t.removeAttribute("tabindex")}toggleAnchors(n){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(n,this._startAnchor),this._toggleAnchorTabIndex(n,this._endAnchor))}_executeOnStable(n){this._injector?cf(n,{injector:this._injector}):setTimeout(n)}},ay=(()=>{class e{_checker=ge(Sq);_ngZone=ge(Rt);_document=ge(_n);_injector=ge(Gt);constructor(){ge(uP).load(hP)}create(t,i=!1){return new Xx(t,this._checker,this._ngZone,this._document,i,this._injector)}static \u0275fac=function(i){return new(i||e)};static \u0275prov=le({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Jx=(()=>{class e{_elementRef=ge(et);_focusTrapFactory=ge(ay);focusTrap;_previouslyFocusedElement=null;get enabled(){return this.focusTrap?.enabled||!1}set enabled(t){this.focusTrap&&(this.focusTrap.enabled=t)}autoCapture;constructor(){ge(Kx).isBrowser&&(this.focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement,!0))}ngOnDestroy(){this.focusTrap?.destroy(),this._previouslyFocusedElement&&(this._previouslyFocusedElement.focus(),this._previouslyFocusedElement=null)}ngAfterContentInit(){this.focusTrap?.attachAnchors(),this.autoCapture&&this._captureFocus()}ngDoCheck(){this.focusTrap&&!this.focusTrap.hasAttached()&&this.focusTrap.attachAnchors()}ngOnChanges(t){let i=t.autoCapture;i&&!i.firstChange&&this.autoCapture&&this.focusTrap?.hasAttached()&&this._captureFocus()}_captureFocus(){this._previouslyFocusedElement=dP(),this.focusTrap?.focusInitialElementWhenReady()}static \u0275fac=function(i){return new(i||e)};static \u0275dir=He({type:e,selectors:[["","cdkTrapFocus",""]],inputs:{enabled:[2,"cdkTrapFocus","enabled",xs],autoCapture:[2,"cdkTrapFocusAutoCapture","autoCapture",xs]},exportAs:["cdkTrapFocus"],features:[Xt]})}return e})();Yw("cds-icon",mo);var Hi=["*"];function kq(e,n){if(e&1&&(ri(0),F(1,"button",1),ye(2,"cds-icon",2),P(),oi()),e&2){let t=z();E(),De("aria-label",t.signpostTriggerAriaLabel||t.commonStrings.keys.signpostToggle),E(),De("title",t.commonStrings.keys.info)}}var Nq=[[["clr-signpost-title"]],"*"],Lq=["clr-signpost-title","*"];var Fq=[[["","clrCheckbox",""],["","clrToggle",""]],[["label"]]],Vq=["[clrCheckbox],[clrToggle]","label"];function Uq(e,n){e&1&&ye(0,"label")}var Hq=[[["label"]],[["clr-checkbox-wrapper"],["clr-toggle-wrapper"]],[["clr-control-helper"]],[["clr-control-error"]],[["clr-control-success"]]],Bq=["label","clr-checkbox-wrapper,clr-toggle-wrapper","clr-control-helper","clr-control-error","clr-control-success"];function jq(e,n){e&1&&ye(0,"label")}function zq(e,n){e&1&&(F(0,"div",3),Ze(1,2),P())}function Gq(e,n){e&1&&ye(0,"cds-icon",6)}function $q(e,n){e&1&&ye(0,"cds-icon",7)}function Wq(e,n){e&1&&Ze(0,3,["*ngIf","showInvalid"])}function Yq(e,n){e&1&&Ze(0,4,["*ngIf","showValid"])}function qq(e,n){if(e&1&&(F(0,"div",3),ue(1,Gq,1,0,"cds-icon",4)(2,$q,1,0,"cds-icon",5)(3,Wq,1,0,"ng-content",0)(4,Yq,1,0,"ng-content",0),P()),e&2){let t=z();E(),L("ngIf",t.showInvalid),E(),L("ngIf",t.showValid),E(),L("ngIf",t.showInvalid),E(),L("ngIf",t.showValid)}}var Qq=["clrKeyFocus",""],Zq=["clrRovingTabindex",""],Kq=["controlContainer"],Xq=[[["label"]],[["clr-combobox"]],[["clr-control-helper"]],[["clr-control-error"]],[["clr-control-success"]]],Jq=["label","clr-combobox","clr-control-helper","clr-control-error","clr-control-success"];function eQ(e,n){e&1&&ye(0,"label")}function tQ(e,n){e&1&&ye(0,"cds-icon",5)}function nQ(e,n){e&1&&ye(0,"cds-icon",6)}function iQ(e,n){e&1&&Ze(0,2,["*ngIf","showHelper"])}function rQ(e,n){e&1&&Ze(0,3,["*ngIf","showInvalid"])}function oQ(e,n){e&1&&Ze(0,4,["*ngIf","showValid"])}function sQ(e,n){if(e&1&&(F(0,"span",1),q(1),P()),e&2){let t=z();E(),Ie(t.commonStrings.keys.comboboxSelected)}}function aQ(e,n){if(e&1&&(F(0,"div",2)(1,"clr-spinner",3),q(2),P(),F(3,"span",4),q(4),P()()),e&2){let t=z();E(2),Ae(" ",t.commonStrings.keys.loading," "),E(2),Ae(" ",t.searchText(t.optionSelectionService.currentInput)," ")}}function lQ(e,n){if(e&1&&(F(0,"div",5)(1,"span",6),q(2),P()()),e&2){let t=z();L("id",t.noResultsElementId),E(2),Ae(" ",t.commonStrings.keys.comboboxNoResults," ")}}var cQ=["textboxInput"],dQ=["trigger"],uQ=e=>({$implicit:e});function hQ(e,n){if(e&1&&sa(0,17),e&2){let t=z().index,i=z(2);L("ngTemplateOutlet",i.optionSelected.template)("ngTemplateOutletContext",vr(2,uQ,i.optionSelectionService.selectionModel.model[t]))}}function pQ(e,n){if(e&1){let t=ze();F(0,"span",11)(1,"span",12)(2,"span",13),ue(3,hQ,1,4,"ng-container",14),P()(),F(4,"span",12)(5,"button",15),oe("click",function(){let r=ee(t).$implicit,o=z(2);return te(o.unselect(r))}),ye(6,"cds-icon",16),P()()()}if(e&2){let t=n.index,i=z(2);E(3),L("ngIf",i.optionSelected),E(2),L("disabled",i.control!=null&&i.control.disabled?!0:null),De("aria-label",i.commonStrings.keys.comboboxDelete+" "+i.optionSelectionService.selectionModel.toString(i.displayField,t))}}function fQ(e,n){if(e&1&&(F(0,"span",9),ue(1,pQ,7,3,"span",10),P()),e&2){let t=z();L("clrRovingTabindexDisabled",t.control==null?null:t.control.disabled),De("aria-label",t.getSelectionAriaLabel())("aria-disabled",t.control!=null&&t.control.disabled?!0:null),E(),L("ngForOf",t.multiSelectModel)}}function gQ(e,n){e&1&&(F(0,"div",18),Ze(1),P())}var mQ=[[["label"]],[["","clrInputPrefix",""]],[["","clrInput",""]],[["","clrInputSuffix",""]],[["clr-control-helper"]],[["clr-control-error"]],[["clr-control-success"]]],vQ=["label","[clrInputPrefix]","[clrInput]","[clrInputSuffix]","clr-control-helper","clr-control-error","clr-control-success"];function CQ(e,n){e&1&&ye(0,"label")}function _Q(e,n){e&1&&ye(0,"cds-icon",6)}
21function yQ(e,n){e&1&&ye(0,"cds-icon",7)}function bQ(e,n){e&1&&Ze(0,4,["*ngIf","showHelper"])}function SQ(e,n){e&1&&Ze(0,5,["*ngIf","showInvalid"])}function IQ(e,n){e&1&&Ze(0,6,["*ngIf","showValid"])}var EQ=[[["label"]],[["","clrDatalistInput",""]],[["datalist"]],[["clr-control-helper"]],[["clr-control-error"]],[["clr-control-success"]]],wQ=["label","[clrDatalistInput]","datalist","clr-control-helper","clr-control-error","clr-control-success"];function xQ(e,n){e&1&&ye(0,"label")}function DQ(e,n){e&1&&ye(0,"cds-icon",7)}function TQ(e,n){e&1&&ye(0,"cds-icon",8)}function MQ(e,n){e&1&&Ze(0,3,["*ngIf","showHelper"])}function AQ(e,n){e&1&&Ze(0,4,["*ngIf","showInvalid"])}function OQ(e,n){e&1&&Ze(0,5,["*ngIf","showValid"])}function RQ(e,n){e&1&&Ze(0)}var PQ=["tabContentProjectedRef"];function kQ(e,n){if(e&1&&(F(0,"section",1),Ze(1),P()),e&2){let t=z();Be("active",t.active),L("id",t.tabContentId)("hidden",!t.active),De("aria-labelledby",t.ariaLabelledBy)("aria-hidden",!t.active)}}var NQ=["tabContentViewContainer"],LQ=[[["clr-tabs-actions"]]],FQ=["clr-tabs-actions"];function VQ(e,n){if(e&1&&(ri(0),F(1,"li",5),sa(2,6),P(),oi()),e&2){let t=z().$implicit;E(2),L("ngTemplateOutlet",t.templateRefContainer.template)}}function UQ(e,n){if(e&1&&(ri(0),ue(1,VQ,3,1,"ng-container",4),oi()),e&2){let t=n.$implicit,i=z();E(),L("ngIf",t.tabsId===i.tabsId&&!t.inOverflow)}}function HQ(e,n){if(e&1&&sa(0,6),e&2){let t=z().$implicit;L("ngTemplateOutlet",t.templateRefContainer.template)}}function BQ(e,n){if(e&1&&(ri(0),ue(1,HQ,1,1,"ng-container",13),oi()),e&2){let t=n.$implicit,i=z(3);E(),L("ngIf",t.tabsId===i.tabsId&&t.inOverflow)}}function jQ(e,n){if(e&1){let t=ze();F(0,"clr-tab-overflow-content",12),oe("keydown.escape",function(){ee(t);let r=z(2);return te(r.closeOnEscapeKey())},!1,kI)("click",function(r){ee(t),z();let o=fn(4),l=z();return te(l.closeOnOutsideClick(r,o))},!1,kI)("focusout",function(r){ee(t);let o=z(2);return te(o.closeOnFocusOut(r))}),ue(1,BQ,2,1,"ng-container",3),P()}if(e&2){let t=z(2);E(),L("ngForOf",t.tabLinkDirectives)}}function zQ(e,n){if(e&1){let t=ze();ri(0),F(1,"div",7)(2,"li",8)(3,"button",9,1),oe("mousedown",function(){ee(t);let r=z();return te(r._mousedown=!0)})("focus",function(){ee(t);let r=z();return te(r.openOverflowOnFocus())})("click",function(){ee(t);let r=z();return te(r.toggleOverflowOnClick())}),ye(5,"cds-icon",10),P()(),ue(6,jQ,2,1,"clr-tab-overflow-content",11),P(),oi()}if(e&2){let t=z();E(),Be("open",t.toggleService.open),E(2),Be("active",t.activeTabInOverflow)("open",t.toggleService.open),De("tabindex",t.activeTabInOverflow&&!t.toggleService.open?0:-1)("title",t.commonStrings.keys.more),E(2),De("status",t.toggleService.open?"info":null)("title",t.commonStrings.keys.more),E(),L("ngIf",t.toggleService.open)}}function GQ(e,n){if(e&1){let t=ze();F(0,"button",3),oe("click",function(){ee(t);let r=z();return te(r.toggleByButton())}),ye(1,"cds-icon",4),P()}if(e&2){let t=z();Be("on-collapse",t.collapsed),De("aria-controls",t.contentId)("aria-expanded",t.ariaExpanded)("aria-label",t.toggleLabel||t.commonStrings.keys.verticalNavToggle),E(),De("direction",t.collapsed?"right":"left")}}function $Q(e,n){if(e&1){let t=ze();F(0,"button",5),oe("click",function(){ee(t);let r=z();return te(r.collapsed=!1)}),P()}if(e&2){let t=z();De("aria-controls",t.contentId)("aria-label",t.toggleLabel||t.commonStrings.keys.verticalNavToggle)}}var WQ=["clrVerticalNavLink",""],YQ=[[["","clrVerticalNavIcon",""]],"*"],qQ=["[clrVerticalNavIcon]","*"];function QQ(e,n){if(e&1&&(F(0,"th",4)(1,"span"),q(2),P()()),e&2){let t=n.$implicit;E(),De("aria-label",t.day),E(),Ie(t.narrow)}}function ZQ(e,n){if(e&1){let t=ze();F(0,"td",7)(1,"clr-day",8),oe("selectDay",function(r){ee(t);let o=z(2);return te(o.setSelectedDay(r))}),P()()}if(e&2){let t=n.$implicit;E(),L("clrDayView",t)}}function KQ(e,n){if(e&1&&(F(0,"tr",5),ue(1,ZQ,2,1,"td",6),P()),e&2){let t=n.$implicit;E(),L("ngForOf",t)}}function XQ(e,n){if(e&1){let t=ze();F(0,"button",10),oe("click",function(){let r=ee(t).index,o=z();return te(o.changeMonth(r))})("mouseenter",function(){let r=ee(t).index,o=z();return te(o.onHover(r))}),q(1),P()}if(e&2){let t=n.$implicit,i=n.index,r=z();Be("is-selected",r.isSelected(i))("is-start-range",r.getIsRangeStartMonth(i))("is-end-range",r.getIsRangeEndMonth(i))("in-range",r.isInRange(i))("is-today",r.calendarYear===r.currentCalendarYear&&i===r.currentCalendarMonth),De("tabindex",r.getTabIndex(i)),E(),Ae(" ",t," ")}}function JQ(e,n){if(e&1){let t=ze();F(0,"button",10),oe("click",function(){let r=ee(t).$implicit,o=z();return te(o.changeYear(r))})("mouseenter",function(){let r=ee(t).$implicit,o=z();return te(o.onHover(r))}),q(1),P()}if(e&2){let t=n.$implicit,i=z();Be("is-selected",t===i.selectedStartYear||t===i.selectedEndYear)("is-start-range",i.getIsRangeStartYear(t))("is-end-range",i.getIsRangeEndYear(t))("in-range",i.isInRange(t))("is-today",i.isCurrentCalendarYear(t)),De("tabindex",i.getTabIndex(t)),E(),Ae(" ",t," ")}}function eZ(e,n){if(e&1){let t=ze();ri(0),F(1,"a",5),oe("keyup.enter",function(){let r=ee(t).$implicit,o=z(2);return te(o.onRangeOptionSelect(r))})("click",function(){let r=ee(t).$implicit,o=z(2);return te(o.onRangeOptionSelect(r))}),q(2),P(),oi()}if(e&2){let t=n.$implicit;E(),De("aria-label",t==null?null:t.label),E(),Ae(" ",t.label," ")}}function tZ(e,n){e&1&&sa(0)}function nZ(e,n){if(e&1&&(ri(0),F(1,"clr-vertical-nav",2),ue(2,eZ,3,2,"ng-container",3),P(),ue(3,tZ,1,0,"ng-container",4),oi()),e&2){let t=z(),i=fn(2);E(2),L("ngForOf",t.dateRangeOptions),E(),L("ngTemplateOutlet",i)}}function iZ(e,n){e&1&&ye(0,"clr-monthpicker")}function rZ(e,n){e&1&&ye(0,"clr-yearpicker")}function oZ(e,n){e&1&&ye(0,"clr-daypicker")}function sZ(e,n){e&1&&ye(0,"clr-datepicker-actions")}function aZ(e,n){if(e&1&&(F(0,"div",6),ue(1,iZ,1,0,"clr-monthpicker",7)(2,rZ,1,0,"clr-yearpicker",7)(3,oZ,1,0,"clr-daypicker",7)(4,sZ,1,0,"clr-datepicker-actions",7),P()),e&2){let t=z();E(),L("ngIf",t.isMonthView),E(),L("ngIf",t.isYearView),E(),L("ngIf",t.isDayView),E(),L("ngIf",t.hasActionButtons)}}var lZ=["actionButton"],cZ=[[["label"]],[["","clrDate",""]],[["","clrStartDate",""]],[["","clrEndDate",""]],[["clr-control-helper"]],[["clr-control-error"]],[["clr-control-success"]]],dZ=["label","[clrDate]","[clrStartDate]","[clrEndDate]","clr-control-helper","clr-control-error","clr-control-success"];function uZ(e,n){e&1&&ye(0,"label")}function hZ(e,n){e&1&&(ri(0),Ze(1,2),F(2,"span",9),q(3,"-"),P(),Ze(4,3),oi())}function pZ(e,n){if(e&1&&(F(0,"button",10,0),ye(2,"cds-icon",11),P()),e&2){let t=z();L("disabled",t.isInputDateDisabled)}}function fZ(e,n){e&1&&ye(0,"clr-datepicker-view-manager",12)}function gZ(e,n){e&1&&ye(0,"cds-icon",13)}function mZ(e,n){e&1&&ye(0,"cds-icon",14)}function vZ(e,n){e&1&&Ze(0,4,["*ngIf","showHelper"])}
21function CZ(e,n){e&1&&Ze(0,5,["*ngIf","showInvalid"])}function _Z(e,n){e&1&&Ze(0,6,["*ngIf","showValid"])}var yZ=[[["","clrRadio",""]],[["label"]]],bZ=["[clrRadio]","label"];function SZ(e,n){e&1&&ye(0,"label")}var IZ=[[["label"]],[["","clrSelect",""]],[["clr-control-helper"]],[["clr-control-error"]],[["clr-control-success"]]],EZ=["label","[clrSelect]","clr-control-helper","clr-control-error","clr-control-success"];function wZ(e,n){e&1&&ye(0,"label")}function xZ(e,n){e&1&&ye(0,"cds-icon",5)}function DZ(e,n){e&1&&ye(0,"cds-icon",6)}function TZ(e,n){e&1&&Ze(0,2,["*ngIf","showHelper"])}function MZ(e,n){e&1&&Ze(0,3,["*ngIf","showInvalid"])}function AZ(e,n){e&1&&Ze(0,4,["*ngIf","showValid"])}var OZ=[[["label"]],[["","clrTextarea",""]],[["clr-control-helper"]],[["clr-control-error"]],[["clr-control-success"]]],RZ=["label","[clrTextarea]","clr-control-helper","clr-control-error","clr-control-success"];function PZ(e,n){e&1&&ye(0,"label")}function kZ(e,n){e&1&&ye(0,"cds-icon",5)}function NZ(e,n){e&1&&ye(0,"cds-icon",6)}function LZ(e,n){e&1&&Ze(0,2,["*ngIf","showHelper"])}function FZ(e,n){e&1&&Ze(0,3,["*ngIf","showInvalid"])}function VZ(e,n){e&1&&Ze(0,4,["*ngIf","showValid"])}var UZ=["title"];function HZ(e,n){e&1&&sa(0)}function BZ(e,n){if(e&1&&(ri(0),ue(1,HZ,1,0,"ng-container",2),oi()),e&2){let t=n.$implicit,i=z(2);E(),L("ngTemplateOutlet",i.featuresService.recursion.template)("ngTemplateOutletContext",i.getContext(t))}}function jZ(e,n){if(e&1&&(ri(0),ue(1,BZ,2,2,"ng-container",1),oi()),e&2){let t=z();E(),L("ngForOf",(t.parent==null?null:t.parent.children)||t.children)}}var zZ=["contentContainer"],GZ=[[["clr-tree-node"]],[["","clrIfExpanded",""]],"*"],$Z=["clr-tree-node","[clrIfExpanded]","*"];function WZ(e,n){if(e&1){let t=ze();F(0,"button",9),oe("click",function(){ee(t);let r=z();return te(r.expandService.toggle())})("focus",function(){ee(t);let r=z();return te(r.focusTreeNode())}),ye(1,"cds-icon",10),P()}if(e&2){let t=z();L("disabled",t.disabled),E(),De("direction",t.expandService.expanded?"down":"right")}}function YZ(e,n){e&1&&(F(0,"div",11),ye(1,"span",12),P())}function qZ(e,n){if(e&1){let t=ze();F(0,"div",13)(1,"input",14),oe("change",function(){ee(t);let r=z();return te(r._model.toggleSelection(r.featuresService.eager))})("focus",function(){ee(t);let r=z();return te(r.focusTreeNode())}),P(),F(2,"label",15),sa(3,16),P()()}if(e&2){let t=z(),i=fn(7);E(),L("id",t.nodeId+"-check")("disabled",t.disabled)("checked",t._model.selected.value===t.STATES.SELECTED)("indeterminate",t._model.selected.value===t.STATES.INDETERMINATE),E(),L("for",t.nodeId+"-check"),E(),L("ngTemplateOutlet",i)}}function QZ(e,n){if(e&1){let t=ze();F(0,"div",17),oe("mouseup",function(){ee(t);let r=z();return te(r.focusTreeNode())}),sa(1,16),P()}if(e&2){z();let t=fn(7);E(),L("ngTemplateOutlet",t)}}function ZZ(e,n){if(e&1&&(F(0,"div",19)(1,"span"),q(2),P()()),e&2){let t=z(2);E(2),Ae(" ",t.ariaSelected?t.commonStrings.keys.selectedTreeNode:t.commonStrings.keys.unselectedTreeNode,"")}}function KZ(e,n){if(e&1&&(Ze(0,2),ue(1,ZZ,3,1,"div",18)),e&2){let t=z();E(),L("ngIf",t.featuresService.selectable||t.ariaSelected)}}function XZ(e,n){if(e&1&&ye(0,"clr-recursive-children",1),e&2){let t=z();L("children",t.featuresService.recursion.root)}}function JZ(e,n){if(e&1){let t=ze();F(0,"button",4),oe("click",function(){ee(t);let r=z(2);return te(r.close())}),ye(1,"cds-icon",5),P()}if(e&2){let t=z(2);De("aria-label",t.clrCloseButtonAriaLabel)}}function eK(e,n){if(e&1&&(F(0,"div",1)(1,"div",2),Ze(2),P(),ue(3,JZ,2,1,"button",3),P()),e&2){let t=z();Be("alert-sm",t.isSmall)("alert-lightweight",t.isLightweight)("alert-app-level",t.isAppLevel),L("ngClass",t.alertClass),E(3),L("ngIf",t.closable)}}function tK(e,n){e&1&&ye(0,"clr-spinner",3)}function nK(e,n){if(e&1&&ye(0,"cds-icon",4),e&2){let t=z();De("shape",t.iconService.alertIconShape)("aria-label",t.iconService.alertIconTitle)}}var iK=["clrInternalModalContentTemplate"],rK=["body"],oK=[[["",8,"leading-button"]],[["",8,"modal-title"]],[["",8,"modal-body"]],[["",8,"modal-footer"]]],sK=[".leading-button",".modal-title",".modal-body",".modal-footer"];function aK(e,n){if(e&1){let t=ze();F(0,"button",14),oe("click",function(){ee(t);let r=z(3);return te(r.close())}),ye(1,"cds-icon",15),P()}if(e&2){let t=z(3);De("aria-label",t.closeButtonAriaLabel||t.commonStrings.keys.close)}}function lK(e,n){if(e&1&&(F(0,"div",8)(1,"div",9)(2,"div",10),Ze(3),F(4,"div",11,0),Ze(6,1),P(),ue(7,aK,2,1,"button",12),P(),F(8,"div",13,1),Ze(10,2),P(),Ze(11,3),P()()),e&2){let t=z(2);E(4),L("id",t.modalId),E(3),L("ngIf",t.closable)}}function cK(e,n){if(e&1){let t=ze();F(0,"div",16),oe("click",function(){ee(t);let r=z(2);return te(r.backdropClick())}),P()}e&2&&L("@fade",void 0)}function dK(e,n){if(e&1){let t=ze();F(0,"div",3)(1,"div",4),oe("@fadeMove.done",function(r){ee(t);let o=z();return te(o.fadeDone(r))}),F(2,"div",5),q(3),P(),ue(4,lK,12,2,"div",6),F(5,"div",5),q(6),P()(),ue(7,cK,1,1,"div",7),P()}if(e&2){let t=z();Be("modal-full-screen",t.size=="full-screen"),E(),Be("modal-sm",t.size=="sm")("modal-lg",t.size=="lg")("modal-xl",t.size=="xl"),L("cdkTrapFocusAutoCapture",!0)("@fadeMove",t.fadeMove),De("aria-hidden",!t._open)("aria-labelledby",t.labelledBy||t.modalId),E(2),Ie(t.commonStrings.keys.modalContentStart),E(),L("ngIf",!t.modalContentTemplate)("ngIfElse",t.modalContentTemplate),E(2),Ie(t.commonStrings.keys.modalContentEnd),E(),L("ngIf",t.backdrop)}}var Zt=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=He({type:e,selectors:[["cds-icon"]],standalone:!1}),e})();var on=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=We({type:e}),e.\u0275inj=$e({imports:[pt]}),e})(),Ag=class{},Og=(function(e){return e[e.DEFAULT=0]="DEFAULT",e[e.LOADING=1]="LOADING",e[e.SUCCESS=2]="SUCCESS",e[e.E
21RROR=3]="ERROR",e})(Og||{});var dy=(()=>{class e{constructor(){this.expandable=0,this.hasExpandTemplate=!1,this._loading=!1,this._expanded=!1,this._expandChange=new Qe}get loading(){return this._loading}set loading(t){t=!!t,t!==this._loading&&(this._loading=t)}get expanded(){return this._expanded}set expanded(t){t=!!t,t!==this._expanded&&(this._expanded=t,this._expandChange.next(t))}get expandChange(){return this._expandChange.asObservable()}toggle(){this.expanded=!this._expanded}loadingStateChange(t){t===Og.LOADING?this.loading=!0:this.loading=!1}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=le({token:e,factory:e.\u0275fac}),e})(),uK=0;function yd(){return"clr-id-"+uK++}var hy="0.2s ease-in-out",iye=yx([Jt({height:"{{ startHeight }}px"}),ai(hy,Jt({height:"*"}))],{params:{startHeight:0}}),rye=[Bo("skipInitialRender",[pi(":enter",[])]),Bo("toggle",[pi("void => *",[Jt({display:"block",height:0}),ai(hy,Jt({height:"*"}))])])],oye=[Bo("skipInitialRender",[pi(":enter",[])]),Bo("toggle",[pi("void => *",[Jt({display:"block",height:0}),ai(hy,Jt({height:"*"}))]),pi("* => void",[Jt({display:"block"}),ai(hy,Jt({height:0,display:"none"}))])])],hK={open:"Open",close:"Close",show:"Show",hide:"Hide",apply:"Apply",cancel:"Cancel",expand:"Expand",collapse:"Collapse",more:"More",select:"Select",selectAll:"Select All",previous:"Previous",next:"Next",current:"Jump to current",info:"Info",success:"Success",warning:"Warning",danger:"Error",neutral:"Neutral",unknown:"Unknown",rowActions:"Available actions",pickColumns:"Manage Columns",showColumns:"Show Columns",sortColumn:"Sort Column",firstPage:"First Page",lastPage:"Last Page",nextPage:"Next Page",previousPage:"Previous Page",currentPage:"Current Page",totalPages:"Total Pages",filterItems:"Filter items",minValue:"Min value",maxValue:"Max value",modalContentStart:"Beginning of Modal Content",modalContentEnd:"End of Modal Content",sidePanelPin:"Pin Side Panel",showColumnsMenuDescription:"Show or hide columns menu",allColumnsSelected:"All columns selected",signpostToggle:"Signpost Toggle",signpostClose:"Close",loading:"Loading",detailPaneStart:"Start of row details",detailPaneEnd:"End of row details",singleSelectionAriaLabel:"Single selection header",singleActionableAriaLabel:"Single actionable header",detailExpandableAriaLabel:"Toggle more row content",datagridFilterAriaLabel:"{COLUMN} filter",datagridFilterLabel:"{COLUMN} filter",datagridFilterDialogAriaLabel:"Filter dialog",columnSeparatorAriaLabel:"Column resize handle",columnSeparatorDescription:"Use left or right key to resize the column",fromLabel:"From",toLabel:"To",alertCloseButtonAriaLabel:"Close alert",alertNextAlertAriaLabel:"Next alert message, {CURRENT} of {COUNT}",alertPreviousAlertAriaLabel:"Previous alert message, {CURRENT} of {COUNT}",datepickerDialogLabel:"Choose date",datepickerToggleChooseDateLabel:"Choose date",datepickerToggleChangeDateLabel:"Change date, {SELECTED_DATE}",datepickerPreviousMonth:"Previous month",datepickerCurrentMonth:"Current month",datepickerNextMonth:"Next month",datepickerPreviousDecade:"Previous decade",datepickerNextDecade:"Next decade",datepickerCurrentDecade:"Current decade",datepickerSelectMonthText:"Select month, the current month is {CALENDAR_MONTH}",datepickerSelectYearText:"Select year, the current year is {CALENDAR_YEAR}",datepickerSelectedLabel:"{FULL_DATE} - Selected",stackViewChanged:"Value changed.",responsiveNavToggleOpen:"Open navigation menu",responsiveNavToggleClose:"Close navigation menu",responsiveNavOverflowOpen:"Open navigation overflow menu",responsiveNavOverflowClose:"Close navigation overflow menu",verticalNavToggle:"Toggle vertical navigation",timelineStepNotStarted:"Not started",timelineStepCurrent:"Current",timelineStepSuccess:"Completed",timelineStepError:"Error",timelineStepProcessing:"In progress",comboboxDelete:"Delete selected option",comboboxSearching:'Searching for matches for "{INPUT}"',comboboxSelection:"Selection",comboboxSelected:"Selected",comboboxNoResults:"No results",comboboxOpen:"Show options",datagridExpandableBeginningOf:"Beginning of",datagridExpandableEndOf:"End of",datagridExpandableRowContent:"Expandable row content",datagridExpandableRowsHelperText:"Screen reader table commands may not work for viewing expanded content, please use your screen reader's browse mode to read the content exposed by this button",wizardStep:"Step",wizardStepCurrent:"Current",wizardStepSuccess:"Completed",wizardStepError:"Error",wizardStepnavAriaLabel:"Wizard steps",passwordHide:"Hide password for {LABEL}",passwordShow:"Show password for {LABEL}",selectedRows:"Selected rows",stepComplete:"Step {STEP} complete",stepError:"Error in step {STEP}",browse:"Browse",fileCount:"{COUNT} files",clearFile:"Clear {FILE}",clearFiles:"Clear {COUNT} files",selectedTreeNode:"selected",unselectedTreeNode:"unselected",breadcrumbsLabel:"breadcrumbs",expandBreadcrumbsLabel:"Expand breadcrumbs"},sr=(()=>{class e{constructor(){this._strings=hK}get keys(){return this._strings}localize(t){this._strings=k(k({},this._strings),t)}parse(t,i={}){let r=Object.keys(i),o=t;return r.length&&r.forEach(l=>{o=o.replace(`{${l}}`,i[l])}),o}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=le({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();var PP=(()=>{class e{constructor(){this.disableChocolateCheck=!1,this._chocolate=new Qe}get chocolate(){return this._chocolate.asObservable()}ngAfterViewChecked(){this.disableChocolateCheck||this._chocolate.next()}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=He({type:e,standalone:!1}),e})(),pK=(()=>{class e{constructor(t,i){this.subscription=i.chocolate.subscribe(()=>{this.latestFlavor!==this.flavor&&(i.disableChocolateCheck=!0,t.detectChanges(),i.disableChocolateCheck=!1)})}ngAfterContentChecked(){this.latestFlavor=this.flavor}ngOnDestroy(){this.subscription.unsubscribe()}}return e.\u0275fac=function(t){return new(t||e)(A(Yn),A(PP))},e.\u0275dir=He({type:e,standalone:!1}),e})();var gP=(()=>{class e{constructor(){Le.addIcons(ma,yr,_r)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=We({type:e}),e.\u0275inj=$e({imports:[pt,on]}),e})();var fK=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=We({type:e}),e.\u0275inj=$e({imports:[pt,on,gP,gP]}),e})(),ht=(function(e){return e.ArrowLeft="ArrowLeft",e.ArrowUp="ArrowUp",e.ArrowRight="ArrowRight",e.ArrowDown="ArrowDown",e.Backspace="Backspace",e.Tab="Tab",e.Enter="Enter",e.Escape="Escape",e.Space="Space",e.Spacebar=" ",e.Home="Home",e.End="End",e.PageDown="PageDown",e.PageUp="PageUp",e})(ht||{}),gd=(function(e){return e.ArrowUp="Up",e.ArrowDown="Down",e.ArrowRight="Right",e.ArrowLeft="Left",e.Space="Spacebar",e.Escape="Esc",e})(gd||{});function ba(e){return e===ht.ArrowUp||e===gd.ArrowUp?ht.ArrowUp:e===ht.ArrowDown||e===gd.ArrowDown?ht.ArrowDown:e===ht.ArrowRight||e===gd.ArrowRight?ht.ArrowRight:e===ht.ArrowLeft||e===gd.ArrowLeft?ht.ArrowLeft:e===ht.Space||e===gd.Space?ht.Space:e===ht.Escape||e===gd.Escape?ht.Escape:e}function vD(e){let n=ba(e.key);(n===ht.ArrowUp||n===ht.ArrowDown||n===ht.ArrowLeft||n===ht.ArrowRight)&&e.preventDefault()}function gK(e){let n=e.key;return n.toLowerCase()!==n.toUpperCase()||n>="0"&&n<="9"}var ar=(()=>{class e{constructor(){this._open=!1,this._openChange=new Qe,this._openEventChange=new Qe,this._popoverAligned=new Qe,this._popoverVisible=new Qe}get openChange(){return this._openChange.asObservable()}get popoverVisible(){return this._popoverVisible.asObservable()}get openEvent(){return this._openEvent}set openEvent(t){this._openEvent=t,this._openEventChange.next(t)}get open(){return this._open}set open(t){t=!!t,this._open!==t&&(this._open=t,this._openChange.next(t))}get originalEvent(){return this._openEvent}get popoverAligned(){return this._popoverAligned.asObservable()}getEventChange(){return this._openEventChange.asObservable()}toggleWithEvent(t){vD(t),this.openEvent=t,this.open=!this.open}popoverVisibleEmit(t){this._popoverVisible.next(t)}popoverAlignedEmit(t){this._popoverAligned.next(t)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=le({token:e,factory:e.\u0275fac}),e})(),_y=(()=>{class e{constructor(t,i,r){this.renderer=t,this.smartOpenService=i,this.document=r,this.outsideClickClose
21=!0,this.scrollToClose=!0,this.subscriptions=[],this.subscriptions.push(i.openChange.subscribe(o=>{o?(this.addEscapeListener(),this.addClickListener(),this.addScrollListener()):this.removeAllEventListeners()}),i.getEventChange().subscribe(o=>{this.ignoredEvent=o}))}ngOnDestroy(){this.subscriptions.forEach(t=>t.unsubscribe()),this.removeAllEventListeners()}addScrollListener(){if(this.scrollToClose)this.documentScroller=su(this.document,"scroll",{capture:!0}),this.scrollSubscription=this.documentScroller.pipe(qt(this.testForSmartPopoverContentContainer)).subscribe(()=>{this.smartOpenService.open=!1,this.setAnchorFocus()});else return}removeScrollListener(){this.documentScroller&&(this.scrollSubscription.unsubscribe(),delete this.documentScroller)}addClickListener(){this.outsideClickClose&&(this.documentClickListener=this.renderer.listen(this.document,"click",t=>{t===this.ignoredEvent?delete this.ignoredEvent:(this.smartOpenService.open=!1,t.target.focus())}))}removeClickListener(){this.outsideClickClose&&(delete this.ignoredEvent,this.documentClickListener&&(this.documentClickListener(),delete this.documentClickListener))}addEscapeListener(){this.escapeListener=this.renderer.listen(this.document,"keydown.escape",()=>{this.smartOpenService.open=!1,this.setAnchorFocus()})}removeEscapeListener(){this.escapeListener&&(this.escapeListener(),delete this.escapeListener)}setCloseFocus(){this.closeButtonRef.nativeElement.focus()}setAnchorFocus(){this.anchorButtonRef.nativeElement.focus()}testForSmartPopoverContentContainer(t){let i=t.target;for(;i.classList&&i.parentElement.localName!=="body";)i=i.parentElement;return i.classList?!i.classList.contains("clr-popover-content"):!1}removeAllEventListeners(){this.removeScrollListener(),this.removeClickListener(),this.removeEscapeListener()}}return e.\u0275fac=function(t){return new(t||e)(ae(Lt),ae(ar),ae(_n))},e.\u0275prov=le({token:e,factory:e.\u0275fac}),e})(),kP=(()=>{class e{constructor(t,i){t.anchorButtonRef=i}}return e.\u0275fac=function(t){return new(t||e)(A(_y),A(et))},e.\u0275dir=He({type:e,selectors:[["","clrPopoverAnchor",""]],hostVars:2,hostBindings:function(t,i){t&2&&Be("clr-anchor",!0)},standalone:!1}),e})();var Co=(function(e){return e[e.VERTICAL=0]="VERTICAL",e[e.HORIZONTAL=1]="HORIZONTAL",e})(Co||{}),In=(function(e){return e[e.START=0]="START",e[e.CENTER=.5]="CENTER",e[e.END=1]="END",e})(In||{}),Tg=(function(e){return e[e.BOTTOM=0]="BOTTOM",e[e.LEFT=1]="LEFT",e[e.RIGHT=2]="RIGHT",e[e.TOP=3]="TOP",e})(Tg||{}),nc=e=>U(k({},e),{side:-1*e.side});var hl=(e,n)=>{let t=e.content+(n?.5:-.5);return t<0||t>1?e:U(k({},e),{content:t})};function ph(e,n,t){return i=>n(e(i),t)}function $o(e,n,t){let i=n.left,r=n.top;switch(e.axis+e.side){case-1:{i+=mP(e,n,t),r-=t.height;break}case 1:{i+=mP(e,n,t),r+=n.height;break}case 0:{i-=t.width,r+=vP(e,n,t);break}case 2:{i+=n.width,r+=vP(e,n,t);break}default:break}return{xOffset:i,yOffset:r}}function mP(e,n,t){let i=0;switch(e.anchor){case In.START:break;case In.CENTER:{i+=n.width/2;break}case In.END:{i+=n.width;break}default:break}switch(e.content){case In.START:break;case In.CENTER:{i-=t.width/2;break}case In.END:{i-=t.width;break}default:break}return i}function vP(e,n,t){let i=0;switch(e.anchor){case In.START:break;case In.CENTER:{i+=n.height/2;break}case In.END:{i+=n.height;break}default:break}switch(e.content){case In.START:break;case In.CENTER:{i-=t.height/2;break}case In.END:{i-=t.height;break}default:break}return i}function mK(e,n){let t=[],i={bottom:e.yOffset+n.height,left:e.xOffset,right:e.xOffset+n.width,top:e.yOffset};return i.top>=0||t.push(Tg.TOP),i.left>=0||t.push(Tg.LEFT),i.bottom<=(window.innerHeight||document.documentElement.clientHeight)||t.push(Tg.BOTTOM),i.right<=(window.innerWidth||document.documentElement.clientWidth)||t.push(Tg.RIGHT),t}var yy=(()=>{class e{constructor(t,i){this.eventService=t,this.platformId=i,this._shouldRealign=new Qe,this.shouldRealign=this._shouldRealign.asObservable()}realign(){this._shouldRealign.next()}alignContent(t){if(!ui(this.platformId))return{xOffset:0,yOffset:0};this.currentAnchorCoords=this.eventService.anchorButtonRef.nativeElement.getBoundingClientRect(),this.currentContentCoords=t.getBoundingClientRect(),this.contentOffsets=$o(this.position,this.currentAnchorCoords,this.currentContentCoords);let i=mK(this.contentOffsets,this.currentContentCoords),r=i.reduce((o,l)=>o+l,0);return i.length===1&&this.position.axis===Co.VERTICAL?this.handleVerticalAxisOneViolation(r):i.length===1&&this.position.axis===Co.HORIZONTAL?this.handleHorizontalAxisOneViolation(r):i.length===2&&this.position.axis===Co.VERTICAL?this.handleVerticalAxisTwoViolations(r):i.length===2&&this.position.axis===Co.HORIZONTAL&&this.handleHorizontalAxisTwoViolations(r),this.currentContentCoords.top<0&&(this.contentOffsets.yOffset+=Math.abs(this.currentContentCoords.top)),this.contentOffsets.yOffset+this.currentAnchorCoords.y<0&&(this.contentOffsets.yOffset=0-this.currentContentCoords.top),this.contentOffsets}handleVerticalAxisOneViolation(t){switch(t){case 0:case 3:{this.contentOffsets=$o(nc(this.position),this.currentAnchorCoords,this.currentContentCoords);break}case 1:{this.contentOffsets=$o(this.position,this.currentAnchorCoords,this.currentContentCoords),this.contentOffsets.xOffset<0&&(this.contentOffsets.xOffset=10);break}case 2:{this.contentOffsets=$o(hl(this.position,!0),this.currentAnchorCoords,this.currentContentCoords);break}default:break}}handleVerticalAxisTwoViolations(t){switch(t){case 5:{let i=ph(nc,hl,!0);this.contentOffsets=$o(i(this.position),this.currentAnchorCoords,this.currentContentCoords);break}case 4:{let i=ph(nc,hl,!1);this.contentOffsets=$o(i(this.position),this.currentAnchorCoords,this.currentContentCoords);break}case 3:break;case 2:{let i=ph(nc,hl,!0);this.contentOffsets=$o(i(this.position),this.currentAnchorCoords,this.currentContentCoords);break}case 1:{let i=ph(nc,hl,!1);this.contentOffsets=$o(i(this.position),this.currentAnchorCoords,this.currentContentCoords);break}default:break}}handleHorizontalAxisOneViolation(t){switch(t){case 1:case 2:{this.contentOffsets=$o(nc(this.position),this.currentAnchorCoords,this.currentContentCoords);break}case 0:{this.contentOffsets=$o(hl(this.position,!0),this.currentAnchorCoords,this.currentContentCoords);break}case 3:{this.contentOffsets=$o(hl(this.position),this.currentAnchorCoords,this.currentContentCoords);break}default:break}}handleHorizontalAxisTwoViolations(t){switch(t){case 5:case 4:{let i=ph(nc,hl,!1);this.contentOffsets=$o(i(this.position),this.currentAnchorCoords,this.currentContentCoords);break}case 3:break;case 2:case 1:{let i=ph(nc,hl,!0);this.contentOffsets=$o(i(this.position),this.currentAnchorCoords,this.currentContentCoords);break}default:break}}}return e.\u0275fac=function(t){return new(t||e)(ae(_y),ae(xi))},e.\u0275prov=le({token:e,factory:e.\u0275fac}),e})(),NP=(()=>{class e{constructor(t,i,r,o,l,p,C){this.document=t,this.container=i,this.template=r,this.renderer=o,this.smartPositionService=l,this.smartEventsService=p,this.smartOpenService=C,this.subscriptions=[],this.removeClickListenerFn=null,this.shouldRealign=!1,this.previousContentHeight=null,this.checkCollector=new Ue}set open(t){this.smartOpenService.open=!!t}set contentAt(t){this.smartPositionService.position=t}set outsideClickClose(t){this.smartEventsService.outsideClickClose
21=!!t}set scrollToClose(t){this.smartEventsService.scrollToClose=!!t}ngAfterContentChecked(){if(this.smartOpenService.open&&this.view){let t=this.view.rootNodes[0].offsetHeight;(this.shouldRealign||this.previousContentHeight!==null&&this.previousContentHeight!==t)&&(this.previousContentHeight=t,this.checkCollector.emit())}}ngAfterViewInit(){this.subscriptions.push(this.smartOpenService.openChange.subscribe(t=>{t?this.addContent():this.removeContent()}),this.smartPositionService.shouldRealign.subscribe(()=>{this.shouldRealign=!0}),this.checkCollector.pipe(Rl(0)).subscribe(()=>{this.alignContent(),this.shouldRealign=!1,this.view&&(this.renderer.setStyle(this.view.rootNodes[0],"opacity","1"),this.smartOpenService.popoverVisibleEmit(!0))}))}ngOnDestroy(){this.removeContent(),this.subscriptions.forEach(t=>t.unsubscribe())}addContent(){this.view=this.container.createEmbeddedView(this.template);let[t]=this.view.rootNodes;this.smartEventsService.contentRef=t,this.renderer.addClass(t,"clr-popover-content"),this.renderer.setStyle(t,"top","0px"),this.renderer.setStyle(t,"left","0px"),this.renderer.setStyle(t,"opacity","0"),this.removeClickListenerFn=this.renderer.listen(t,"click",i=>{this.smartOpenService.openEvent=i}),this.view.rootNodes.forEach(i=>{this.renderer.appendChild(this.document.body,i)}),this.shouldRealign=!0}removeContent(){this.view&&(this.removeClickListenerFn&&(this.removeClickListenerFn(),this.removeClickListenerFn=null),this.view.rootNodes.forEach(t=>this.renderer.removeChild(this.document.body,t)),this.container.clear(),delete this.view,this.smartOpenService.popoverVisibleEmit(!1))}alignContent(){if(!this.view)return;let t=this.smartPositionService.alignContent(this.view.rootNodes[0]);this.renderer.setStyle(this.view.rootNodes[0],"top",`${t.yOffset}px`),this.renderer.setStyle(this.view.rootNodes[0],"left",`${t.xOffset}px`),this.smartOpenService.popoverAlignedEmit(this.view.rootNodes[0])}}return e.\u0275fac=function(t){return new(t||e)(A(_n),A(Nn),A(ir),A(Lt),A(yy),A(_y),A(ar))},e.\u0275dir=He({type:e,selectors:[["","clrPopoverContent",""]],inputs:{open:[0,"clrPopoverContent","open"],contentAt:[0,"clrPopoverContentAt","contentAt"],outsideClickClose:[0,"clrPopoverContentOutsideClickToClose","outsideClickClose"],scrollToClose:[0,"clrPopoverContentScrollToClose","scrollToClose"]},standalone:!1}),e})(),LP=(()=>{class e{constructor(t){this.smartOpenService=t,this.openCloseChange=new Ue,this.subscriptions=[],this.subscriptions.push(t.openChange.subscribe(i=>{this.openCloseChange.next(i)}))}handleClick(t){this.smartOpenService.toggleWithEvent(t)}ngOnDestroy(){this.subscriptions.forEach(t=>t.unsubscribe())}}return e.\u0275fac=function(t){return new(t||e)(A(ar))},e.\u0275dir=He({type:e,selectors:[["","clrPopoverOpenCloseButton",""]],hostVars:2,hostBindings:function(t,i){t&1&&oe("click",function(o){return i.handleClick(o)}),t&2&&Be("clr-smart-open-close",!0)},outputs:{openCloseChange:"clrPopoverOpenCloseChange"},standalone:!1}),e})(),kg=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=We({type:e}),e.\u0275inj=$e({}),e})();var Yo=(function(e){return e.UP="up",e.DOWN="down",e.LEFT="left",e.RIGHT="right",e})(Yo||{}),py=(()=>{let e=class{constructor(t){this.renderer=t,this._unlistenFuncs=[]}get current(){return this._current}reset(t){this._current=t}listenToArrowKeys(t){this._unlistenFuncs.push(this.renderer.listen(t,"keydown.arrowup",()=>!this.move(Yo.UP))),this._unlistenFuncs.push(this.renderer.listen(t,"keydown.arrowdown",()=>!this.move(Yo.DOWN))),this._unlistenFuncs.push(this.renderer.listen(t,"keydown.arrowleft",()=>!this.move(Yo.LEFT))),this._unlistenFuncs.push(this.renderer.listen(t,"keydown.arrowright",()=>!this.move(Yo.RIGHT)))}registerContainer(t,i="0"){this.renderer.setAttribute(t,"tabindex",i),this.listenToArrowKeys(t),this._unlistenFuncs.push(this.renderer.listen(t,"keydown.space",()=>!this.activateCurrent())),this._unlistenFuncs.push(this.renderer.listen(t,"keydown.enter",()=>!this.activateCurrent()))}moveTo(t){t!==void 0&&(this.current&&this.current.blur(),t.focus(),this._current=t)}move(t){let i=!1;if(this.current){let r=this.current[t];r&&(Cs(r)?r:pe(r)).subscribe(l=>{l&&(this.moveTo(l),i=!0)})}return i}activateCurrent(){return this.current&&this.current.activate?(this.current.activate(),!0):!1}detachListeners(){this._unlistenFuncs.forEach(t=>t())}};return e.\u0275fac=function(t){return new(t||e)(ae(Lt))},e.\u0275prov=le({token:e,factory:e.\u0275fac}),e})();function vK(e,n){return e||new py(n)}var CK={provide:py,useFactory:vK,deps:[[new Wc,new Su,py],Lt]},Sa=(function(e){return e[e.BEFORE=-1]="BEFORE",e[e.AFTER=1]="AFTER",e})(Sa||{}),qo=class{};
21qo["top-right"]={axis:Co.VERTICAL,side:Sa.BEFORE,anchor:In.END,content:In.END};qo["top-left"]={axis:Co.VERTICAL,side:Sa.BEFORE,anchor:In.START,content:In.START};qo["bottom-right"]={axis:Co.VERTICAL,side:Sa.AFTER,anchor:In.END,content:In.END};qo["bottom-left"]={axis:Co.VERTICAL,side:Sa.AFTER,anchor:In.START,content:In.START};qo["right-top"]={axis:Co.HORIZONTAL,side:Sa.AFTER,anchor:In.CENTER,content:In.END};qo["right-bottom"]={axis:Co.HORIZONTAL,side:Sa.AFTER,anchor:In.START,content:In.START};qo["left-top"]={axis:Co.HORIZONTAL,side:Sa.BEFORE,anchor:In.CENTER,content:In.END};qo["left-bottom"]={axis:Co.HORIZONTAL,side:Sa.BEFORE,anchor:In.START,content:In.START};var by=new me("POPOVER_HOST_ANCHOR"),_K=(()=>{class e{constructor(t){this.toggleService=t,this.lastOpenChange=null}ngOnInit(){this.subscription=this.toggleService.openChange.subscribe(t=>{this.lastOpenChange=t})}ngOnDestroy(){this.subscription?.unsubscribe()}onEscapeKey(t){this.lastOpenChange!==null&&(this.lastOpenChange===!1&&t.stopPropagation(),this.lastOpenChange=null)}}return e.\u0275fac=function(t){return new(t||e)(A(ar))},e.\u0275dir=He({type:e,hostBindings:function(t,i){t&1&&oe("keyup.escape",function(o){return i.onEscapeKey(o)})}}),e})(),Ng=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=He({type:e,features:[Et([ar,_y,yy,{provide:by,useExisting:et}]),qc([_K])]}),e})(),fy=class{static linkParent(n,t,i){n.forEach(r=>r[i]=t)}static linkVertical(n,t=!0){n.forEach((i,r)=>{r>0&&(i.up=n[r-1]),r<n.length-1&&(i.down=n[r+1])}),t&&n.length>1&&(n[0].up=n[n.length-1],n[n.length-1].down=n[0])}};var CD=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=We({type:e}),e.\u0275inj=$e({imports:[pt]}),e})(),yK=0,bd=new me("IF_ACTIVE_ID");function bK(){return++yK}var FP={provide:bd,useFactory:bK},Cd=(()=>{class e{constructor(){this._currentChange=new Qe}get currentChange(){return this._currentChange.asObservable()}get current(){return this._current}set current(t){this._current!==t&&(this._current=t,this._currentChange.next(t))}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=le({token:e,factory:e.\u0275fac}),e})(),aye=(()=>{class e{constructor(t,i,r,o){this.ifActiveService=t,this.id=i,this.template=r,this.container=o,this.activeChange=new Ue(!1),this.wasActive=!1,this.checkAndUpdateView(t.current),this.subscription=t.currentChange.subscribe(l=>{this.checkAndUpdateView(l)})}get active(){return this.ifActiveService.current===this.id}set active(t){t&&(this.ifActiveService.current=this.id)}ngOnDestroy(){this.subscription.unsubscribe()}updateView(t){t?this.container.createEmbeddedView(this.template):this.container.clear()}checkAndUpdateView(t){let i=t===this.id;i!==this.wasActive&&(this.updateView(i),this.activeChange.emit(i),this.wasActive=i)}}return e.\u0275fac=function(t){return new(t||e)(A(Cd),A(bd),A(ir),A(Nn))},e.\u0275dir=He({type:e,selectors:[["","clrIfActive",""]],inputs:{active:[0,"clrIfActive","active"]},outputs:{activeChange:"clrIfActiveChange"},standalone:!1}),e})(),lye=(()=>{class e{constructor(t,i,r){this.toggleService=t,this.template=i,this.container=r,this.openChange=new Ue(!1),this.subscription=t.openChange.subscribe(o=>{this.updateView(o),this.openChange.emit(o)})}get open(){return this.toggleService.open}set open(t){this.toggleService.open=t}ngOnDestroy(){this.subscription.unsubscribe()}updateView(t){t?this.container.createEmbeddedView(this.template):this.container.clear()}}return e.\u0275fac=function(t){return new(t||e)(A(ar),A(ir),A(Nn))},e.\u0275dir=He({type:e,selectors:[["","clrIfOpen",""]],inputs:{open:[0,"clrIfOpen","open"]},outputs:{openChange:"clrIfOpenChange"},standalone:!1}),e})();var ls=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=We({type:e}),e.\u0275inj=$e({imports:[pt]}),e})(),SK=new me("FOCUS_ON_VIEW_INIT"),IK={provide:SK,useValue:!0};var gy=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=We({type:e}),e.\u0275inj=$e({providers:[IK],imports:[pt]}),e})();var EK=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=We({type:e}),e.\u0275inj=$e({imports:[pt,on,kg]}),e})();var wK=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=We({type:e}),e.\u0275inj=$e({imports:[pt]}),e})(),xK=(()=>{class e{constructor(){Le.addIcons(D_)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=We({type:e}),e.\u0275inj=$e({imports:[wK,EK]}),e})(),DK=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=Me({type:e,selectors:[["ng-component"]],standalone:!1,decls:0,vars:0,template:function(t,i){},encapsulation:2}),e})(),Lg=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=We({type:e}),e.\u0275inj=$e({}),e})(),TK=0,yo=(()=>{class e{constructor(){this._id="clr-form-control-"+ ++TK,this._idChange=new Pn(this._id)}get id(){return this._id}set id(t){this._id=t,this._idChange.next(t)}get idChange(){return this._idChange.asObservable()}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=le({token:e,factory:e.\u0275fac}),e})(),MK=0,Ih=(()=>{class e{constructor(){this._id=`clr-form-container-${++MK}`,this._idChange=new Pn(this._id)}get id(){return this._id}set id(t){this._id=t,this._idChange.next(t)}get idChange(){return this._idChange.asObservable()}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=le({token:e,factory:e.\u0275fac}),e})(),fh={HELPER:"helper",ERROR:"error",SUCCESS:"success",NONE:null},_D=(()=>{class e{constructor(t,i){this.controlIdService=t,this.containerIdService=i,this.controlIdSuffix="abstract"}get id(){return this.containerIdService?`${this.containerIdService.id}-${this.controlIdSuffix}`:this.controlIdService?`${this.controlIdService.id}-${this.controlIdSuffix}`:null}}return e.\u0275fac=function(t){return new(t||e)(A(yo,8),A(Ih,8))},e.\u0275dir=He({type:e,standalone:!1}),e})(),Sd=(()=>{class e extends _D{constructor(t,i){super(t,i),this.controlIdService=t,this.containerIdService=i,this.controlIdSuffix=fh.ERROR}}return e.\u0275fac=function(t){return new(t||e)(A(yo,8),A(Ih,8))},e.\u0275cmp=Me({type:e,selectors:[["clr-control-error"]],hostVars:5,hostBindings:function(t,i){t&2&&(De("id",i.id),Be("clr-subtext",!0)("error",!0))},standalone:!1,features:[xt],ngContentSelectors:Hi,decls:1,vars:0,template:function(t,i){t&1&&(tn(),Ze(0))},encapsulation:2}),e})(),AK=(()=>{class e extends _D{constructor(t,i){super(t,i),this.controlIdService=t,this.containerIdService=i,this.controlIdSuffix=fh.HELPER}}return e.\u0275fac=function(t){return new(t||e)(A(yo,8),A(Ih,8))},e.\u0275cmp=Me({type:e,selectors:[["clr-control-helper"]],hostVars:3,hostBindings:function(t,i){t&2&&(De("id",i.id),Be("clr-subtext",!0))},standalone:!1,features:[xt],ngContentSelectors:Hi,decls:1,vars:0,template:function(t,i){t&1&&(tn(),Ze(0))},encapsulation:2}),e})(),Mr=(()=>{class e{constructor(){this._additionalControls=[],this._controlChanges=new Qe,this._additionalControlsChanges=new Qe,this._helpers=new Qe}get control(){return this._control}get controlChanges(){return this._controlChanges.asObservable()}get additionalControls(){return this._additionalControls}get additionalControlsChanges(){return this._additionalControlsChanges.asObservable()}get hasAdditionalControls(){return!!this._additionalControls?.length}get helpersChange(){return this._helpers.asObservable()}setControl(t){this._control=t,this._controlChanges.next(t)}addAdditionalControl(t){this._additionalControls.push(t),this._additionalControlsChanges.next(this._additionalControls)}setHelpers(t){this._helpers.next(t)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=le({token:e,factory:e.\u0275fac}),e})(),Zr=(function(e){return e.NONE="NONE",e.VALID="VALID",e.INVALID="INVALID",e})(Zr||{}),Kr=(()=>
21{class e{constructor(t){this.triggerStatusChangeSubject=new Qe,this.statusChanges=this.getStatusChanges(t).pipe(au(1))}triggerStatusChange(){this.triggerStatusChangeSubject.next()}getStatusChanges(t){return _s([t.controlChanges,t.additionalControlsChanges.pipe(Qs([]))]).pipe(Te(([i,r])=>{if(i){let o=[i,...r];return Ol(_s(o.map(l=>l.statusChanges)),this.triggerStatusChangeSubject.pipe(fe(()=>o.map(l=>l.status))))}else return Vr}),fe(i=>i.includes(Zr.INVALID)?Zr.INVALID:i.includes(Zr.VALID)?Zr.VALID:Zr.NONE),Qs(Zr.NONE))}}return e.\u0275fac=function(t){return new(t||e)(ae(Mr))},e.\u0275prov=le({token:e,factory:e.\u0275fac}),e})(),tD=class{};function VP(e){return[e,{provide:tD,useExisting:e}]}function CP(e,n,t){return Fr.create(i=>{n(i);let r=e.subscribe(i);return()=>{r.unsubscribe(),t&&t(i)}})}var OK=(()=>{class e{constructor(t,i,r,o,l){this.renderer=t,this.parent=i,this.toggleService=r,this.focusService=o,this.platformId=l,this.id=yd(),this.focusBackOnTriggerWhenClosed=!1,this._unlistenFuncs=[],this.resetChildren(),this.moveToFirstItemWhenOpen(),i||this.handleRootFocus()}get trigger(){return this._trigger}set trigger(t){this._trigger=t,this.parent?this._unlistenFuncs.push(this.renderer.listen(t,"keydown.arrowright",i=>this.toggleService.toggleWithEvent(i))):(this._unlistenFuncs.push(this.renderer.listen(t,"keydown.arrowup",i=>this.toggleService.toggleWithEvent(i))),this._unlistenFuncs.push(this.renderer.listen(t,"keydown.arrowdown",i=>this.toggleService.toggleWithEvent(i))),this.focusService.listenToArrowKeys(t))}get container(){return this._container}set container(t){this._container=t,this._unlistenFuncs.push(this.renderer.listen(t,"keydown.tab",i=>this.toggleService.toggleWithEvent(i))),this.parent?this._unlistenFuncs.push(this.renderer.listen(t,"keydown.escape",i=>{this.focusService.move(Yo.LEFT),i.stopPropagation()})):(this.focusService.registerContainer(t),this._unlistenFuncs.push(this.renderer.listen(t,"keydown.escape",i=>this.toggleService.toggleWithEvent(i))),this._unlistenFuncs.push(this.renderer.listen(t,"blur",i=>{this.children.pipe(Hn(1)).subscribe(o=>o.forEach(l=>l.blur()));let r=i.relatedTarget||document.activeElement;r&&ui(this.platformId)&&(t.contains(r)||r===this.trigger)||(this.focusBackOnTriggerWhenClosed=!1,this.toggleService.open=!1)})))}ngOnDestroy(){this._unlistenFuncs.forEach(t=>t()),this.focusService.detachListeners()}moveToFirstItemWhenOpen(){let t=this.toggleService.openChange.subscribe(i=>{i&&this.toggleService.originalEvent&&setTimeout(()=>{this.focusService.moveTo(this),this.parent?this.focusService.move(Yo.RIGHT):this.focusService.move(Yo.DOWN)})});this._unlistenFuncs.push(()=>t.unsubscribe())}handleRootFocus(){let t=this.toggleService.openChange.subscribe(i=>{i||(this.focusService.reset(this),this.focusBackOnTriggerWhenClosed&&this.focus()),this.focusBackOnTriggerWhenClosed=i});this._unlistenFuncs.push(()=>t.unsubscribe())}focus(){this.trigger&&ui(this.platformId)&&this.trigger.focus()}blur(){this.trigger&&ui(this.platformId)&&this.trigger.blur()}activate(){ui(this.platformId)&&this.trigger.click()}resetChildren(){this.children=new Mp(1),this.parent?this.right=this.openAndGetChildren().pipe(fe(t=>t[0])):(this.down=this.openAndGetChildren().pipe(fe(t=>t[0])),this.up=this.openAndGetChildren().pipe(fe(t=>t[t.length-1])))}addChildren(t){fy.linkVertical(t),this.parent&&fy.linkParent(t,this.closeAndGetThis(),Yo.LEFT),this.children.next(t)}openAndGetChildren(){return CP(this.children,()=>this.toggleService.open=!0)}closeAndGetThis(){return CP(pe(this),()=>this.toggleService.open=!1)}}return e.\u0275fac=function(t){return new(t||e)(ae(Lt),ae(e,12),ae(ar),ae(py),ae(xi))},e.\u0275prov=le({token:e,factory:e.\u0275fac}),e})(),cye=VP(OK),nD=(()=>{class e{constructor(){this._changes=new Qe}get changes(){return this._changes.asObservable()}closeMenus(){this._changes.next(!1)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=le({token:e,factory:e.\u0275fac}),e})();function RK(e){return e||new nD}var dye={provide:nD,useFactory:RK,deps:[[new Wc,new Su,nD]]};var Fe=(function(e){return e[e.RIGHT_CENTER=0]="RIGHT_CENTER",e[e.RIGHT_TOP=1]="RIGHT_TOP",e[e.RIGHT_BOTTOM=2]="RIGHT_BOTTOM",e[e.TOP_CENTER=3]="TOP_CENTER",e[e.TOP_RIGHT=4]="TOP_RIGHT",e[e.TOP_LEFT=5]="TOP_LEFT",e[e.BOTTOM_CENTER=6]="BOTTOM_CENTER",e[e.BOTTOM_RIGHT=7]="BOTTOM_RIGHT",e[e.BOTTOM_LEFT=8]="BOTTOM_LEFT",e[e.LEFT_CENTER=9]="LEFT_CENTER",e[e.LEFT_TOP=10]="LEFT_TOP",e[e.LEFT_BOTTOM=11]="LEFT_BOTTOM",e})(Fe||{}),PK="relative",_P="absolute",kK="fixed",yP="scroll",bP="auto",iD=class{constructor(n){this.element=n,this.boundOnScrollListener=this.emitScrollEvent.bind(this),this.scrollableElements=[],n.style.position=_P,n.style.top=0,n.style.bottom="auto",n.style.left=0,n.style.right="auto"}anchor(n,t,i,{offsetX:r=0,offsetY:o=0,useAnchorParent:l=!1}={}){this.addScrollEventListeners(n),l&&(n=n.parentNode),n.style.position="static";let p=n.getBoundingClientRect(),C=this.element.getBoundingClientRect(),w=p.left-C.left+r,V=p.top-C.top+o;switch(t){case Fe.LEFT_TOP:case Fe.TOP_LEFT:break;case Fe.TOP_CENTER:w+=p.width/2;break;case Fe.TOP_RIGHT:w+=p.width;break;case Fe.RIGHT_TOP:w+=p.width;break;case Fe.LEFT_BOTTOM:V+=p.height;break;case Fe.BOTTOM_LEFT:V+=p.height;break;case Fe.BOTTOM_CENTER:V+=p.height,w+=p.width/2;break;case Fe.BOTTOM_RIGHT:V+=p.height,w+=p.width;break;case Fe.RIGHT_BOTTOM:V+=p.height,w+=p.width;break;case Fe.LEFT_CENTER:V+=p.height/2;break;case Fe.RIGHT_CENTER:V+=p.height/2,w+=p.width;break;default:}switch(i){case Fe.LEFT_TOP:case Fe.TOP_LEFT:break;case Fe.TOP_CENTER:w-=C.width/2;break;case Fe.TOP_RIGHT:w-=C.width;break;case Fe.RIGHT_TOP:w-=C.width;break;case Fe.LEFT_BOTTOM:V-=C.height;break;case Fe.BOTTOM_LEFT:V-=C.height;break;case Fe.BOTTOM_CENTER:V-=C.height,w-=C.width/2;break;case Fe.BOTTOM_RIGHT:V-=C.height,w-=C.width;break;case Fe.RIGHT_BOTTOM:V-=C.height,w-=C.width;break;case Fe.LEFT_CENTER:V-=C.height/2;break;case Fe.RIGHT_CENTER:V-=C.height/2,w-=C.width;break;default:}let j=getComputedStyle(this.element),$=parseInt(j.marginLeft,10),W=parseInt(j.marginRight,10),se=parseInt(j.marginTop,10),be=parseInt(j.marginBottom,10);switch(t){case Fe.LEFT_TOP:case Fe.TOP_LEFT:case Fe.TOP_RIGHT:case Fe.RIGHT_TOP:(i===Fe.BOTTOM_RIGHT||i===Fe.RIGHT_BOTTOM)&&(V-=be,w-=W),(i===Fe.BOTTOM_LEFT||i===Fe.LEFT_BOTTOM)&&(V-=se,w+=$),(i===Fe.TOP_LEFT||i===Fe.LEFT_TOP)&&(V+=se,w+=$),(i===Fe.TOP_RIGHT||i===Fe.RIGHT_TOP)&&(V+=se,w-=W);break;case Fe.LEFT_BOTTOM:case Fe.BOTTOM_LEFT:case Fe.BOTTOM_RIGHT:case Fe.RIGHT_BOTTOM:(i===Fe.BOTTOM_LEFT||i===Fe.LEFT_BOTTOM)&&(V-=be,w+=$),(i===Fe.BOTTOM_RIGHT||i===Fe.RIGHT_BOTTOM)&&(V-=be,w-=W),(i===Fe.TOP_LEFT||i===Fe.LEFT_TOP)&&(V+=se,w+=$),(i===Fe.TOP_RIGHT||i===Fe.RIGHT_TOP)&&(V+=se,w-=W);break;case Fe.TOP_CENTER:V-=be,w+=$,w-=W;break;case Fe.BOTTOM_CENTER:V+=se,w+=$,w-=W;break;case Fe.LEFT_CENTER:V+=se,V-=be,w-=W;break;case Fe.RIGHT_CENTER:V+=se,V-=be,w+=$;break;default:}return this.element.style.transform=`translateX(${Math.round(w)}px) translateY(${Math.round(V)}px)`,this._scroll.asObservable()}release(){this.element.style.transform="",this.removeScrollEventListeners()}isPositioned(n){let t=getComputedStyle(n).position;return t===PK||t===_P||t===kK}emitScrollEvent(){this._scroll.next()}
21addScrollEventListeners(n){this._scroll=new Qe;let t=n,i=n;for(;i&&i!==document&&i.nodeType===Node.ELEMENT_NODE&&(this.scrolls(i)&&(i.addEventListener("scroll",this.boundOnScrollListener),this.scrollableElements.push(i)),!(i!==t&&this.isPositioned(i)));)i=i.parentNode}removeScrollEventListeners(){for(let n of this.scrollableElements)n.removeEventListener("scroll",this.boundOnScrollListener);this.scrollableElements.length=0,this._scroll&&(this._scroll.complete(),delete this._scroll)}scrolls(n){let t=getComputedStyle(n);return t.overflowX===yP||t.overflowX===bP||t.overflowY===yP||t.overflowY===bP}},SP="is-off-screen",UP=(()=>{class e{constructor(t,i){this.parentHost=i,this.closeOnOutsideClick=!1,this.popoverOptions={},this.updateAnchor=!1,this.documentESCListener=null,this.closeOnOutsideClickCallback=r=>{if(r.target.shadowRoot){if(r.composedPath().some(l=>l===this.anchorElem))return}else if(this.anchorElem.contains(r.target))return;this.toggleService.open=!1},this.el=t.get(et),this.toggleService=t.get(ar),this.renderer=t.get(Lt),this.ngZone=t.get(Rt),this.ref=t.get(Yn),this.anchorElem=i.nativeElement,this.popoverInstance=new iD(this.el.nativeElement),this.subscription=this.toggleService.openChange.pipe(Qs(this.toggleService.open)).subscribe(r=>{r?(this.anchor(),this.attachESCListener(),this.renderer.removeClass(this.el.nativeElement,SP)):(this.release(),this.detachESCListener(),this.renderer.addClass(this.el.nativeElement,SP))}),this.toggleService.open&&(this.anchor(),this.attachESCListener())}ngAfterViewChecked(){this.updateAnchor&&(this.updateAnchor=!1,this.popoverInstance.anchor(this.anchorElem,this.anchorPoint,this.popoverPoint,this.popoverOptions).subscribe(()=>{this.toggleService.open=!1}),this.attachOutsideClickListener())}ngOnDestroy(){this.release(),this.detachESCListener(),this.subscription.unsubscribe()}anchor(){this.updateAnchor=!0}release(){this.detachOutsideClickListener(),this.popoverInstance.release()}attachESCListener(){this.popoverOptions.ignoreGlobalESCListener||this.ngZone.runOutsideAngular(()=>{this.documentESCListener=this.renderer.listen("document","keydown",t=>{t&&t.key&&ba(t.key)===ht.Escape&&this.ngZone.run(()=>{this.toggleService.open=!1,this.ref.markForCheck()})})})}detachESCListener(){this.documentESCListener&&(this.documentESCListener(),this.documentESCListener=null)}attachOutsideClickListener(){this.closeOnOutsideClick&&this.toggleService.open&&document&&document.addEventListener&&document.addEventListener("click",this.closeOnOutsideClickCallback,!0)}detachOutsideClickListener(){this.closeOnOutsideClick&&document&&document.removeEventListener&&document.removeEventListener("click",this.closeOnOutsideClickCallback,!0)}}return e.\u0275fac=function(t){return new(t||e)(A(Gt),A(et,4))},e.\u0275dir=He({type:e,standalone:!1}),e})();var yD=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=We({type:e}),e.\u0275inj=$e({imports:[pt,ls,on]}),e})(),bD=(()=>{class e{set triggerEl(t){this._triggerEl=t}focusTrigger(){this._triggerEl&&this._triggerEl.focus()}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=le({token:e,factory:e.\u0275fac}),e})(),SD=(()=>{class e{constructor(){this._id=new Qe}get id(){return this._id.asObservable()}setId(t){this._id.next(t)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=le({token:e,factory:e.\u0275fac}),e})(),IP=(()=>{class e{constructor(t,i,r,o,l,p){this.toggleService=t,this.el=i,this.signpostIdService=r,this.signpostFocusManager=o,this.platformId=p,this.ariaExpanded=!1,this.subscriptions=[],this.document=l}ngOnInit(){this.signpostFocusManager.triggerEl=this.el.nativeElement,this.subscriptions.push(this.toggleService.openChange.subscribe(t=>{this.ariaExpanded=t;let i=this.isOpen;this.isOpen=t,!this.isOpen&&i&&this.focusOnClose()}),this.signpostIdService.id.subscribe(t=>this.ariaControl=t))}ngOnDestroy(){this.subscriptions.forEach(t=>t.unsubscribe())}onSignpostTriggerClick(t){this.toggleService.toggleWithEvent(t)}focusOnClose(){ui(this.platformId)&&!this.isOpen&&this.document.activeElement===this.document.body&&this.signpostFocusManager.focusTrigger()}}return e.\u0275fac=function(t){return new(t||e)(A(ar),A(et),A(SD),A(bD),A(_n),A(xi))},e.\u0275dir=He({type:e,selectors:[["","clrSignpostTrigger",""]],hostAttrs:[1,"signpost-trigger"],hostVars:4,hostBindings:function(t,i){t&1&&oe("click",function(o){return i.onSignpostTriggerClick(o)}),t&2&&(De("aria-expanded",i.ariaExpanded)("aria-controls",i.ariaControl),Be("active",i.isOpen))},standalone:!1}),e})(),NK=(()=>{class e{constructor(t){this.commonStrings=t,this.useCustomTrigger=!1}set customTrigger(t){this.useCustomTrigger=!!t}}return e.\u0275fac=function(t){return new(t||e)(A(sr))},e.\u0275cmp=Me({type:e,selectors:[["clr-signpost"]],contentQueries:function(t,i,r){if(t&1&&wn(r,IP,5),t&2){let o;gt(o=mt())&&(i.customTrigger=o.first)}},hostVars:2,hostBindings:function(t,i){t&2&&Be("signpost",!0)},inputs:{signpostTriggerAriaLabel:[0,"clrSignpostTriggerAriaLabel","signpostTriggerAriaLabel"]},standalone:!1,features:[Et([bD,SD]),qc([Ng])],ngContentSelectors:Hi,decls:2,vars:1,consts:[[4,"ngIf"],["type","button","clrSignpostTrigger","",1,"signpost-action","btn","btn-sm","btn-icon","btn-link"],["shape","info-circle"]],template:function(t,i){t&1&&(tn(),ue(0,kq,3,2,"ng-container",0),Ze(1)),t&2&&L("ngIf",!i.useCustomTrigger)},dependencies:[rt,Zt,IP],encapsulation:2}),e})(),LK={"top-left":{anchorPoint:Fe.TOP_CENTER,popoverPoint:Fe.BOTTOM_RIGHT,offsetY:-16,offsetX:0},"top-middle":{anchorPoint:Fe.TOP_CENTER,popoverPoint:Fe.BOTTOM_CENTER,offsetY:-16,offsetX:0},"top-right":{anchorPoint:Fe.TOP_CENTER,popoverPoint:Fe.BOTTOM_LEFT,offsetY:-16,offsetX:0},"right-top":{anchorPoint:Fe.RIGHT_CENTER,popoverPoint:Fe.LEFT_BOTTOM,offsetY:0,offsetX:16},"right-middle":{anchorPoint:Fe.RIGHT_CENTER,popoverPoint:Fe.LEFT_CENTER,offsetY:0,offsetX:16},"right-bottom":{anchorPoint:Fe.RIGHT_CENTER,popoverPoint:Fe.LEFT_TOP,offsetY:0,offsetX:16},"bottom-right":{anchorPoint:Fe.BOTTOM_CENTER,popoverPoint:Fe.TOP_LEFT,offsetY:16,offsetX:0},"bottom-middle":{anchorPoint:Fe.BOTTOM_CENTER,popoverPoint:Fe.TOP_CENTER,offsetY:16,offsetX:0},"bottom-left":{anchorPoint:Fe.BOTTOM_CENTER,popoverPoint:Fe.TOP_RIGHT,offsetY:16,offsetX:0},"left-bottom":{anchorPoint:Fe.LEFT_CENTER,popoverPoint:Fe.RIGHT_TOP,offsetY:0,offsetX:-16},"left-middle":{anchorPoint:Fe.LEFT_CENTER,popoverPoint:Fe.RIGHT_CENTER,offsetY:0,offsetX:-16},"left-top":{anchorPoint:Fe.LEFT_CENTER,popoverPoint:Fe.RIGHT_BOTTOM,offsetY:0,offsetX:-16},default:{anchorPoint:Fe.RIGHT_CENTER,popoverPoint:Fe.LEFT_CENTER,offsetY:0,offsetX:16}},FK=["top-left","top-middle","top-right","right-top","right-middle","right-bottom","bottom-right","bottom-middle","bottom-left","left-bottom","left-middle","left-top"],uye=(()=>{class e extends UP{constructor(t,i,r,o,l,p,C){if(super(t,i),this.commonStrings=r,this.signpostFocusManager=l,this.platformId=p,this.signpostContentId=yd(),!i)throw new Error("clr-signpost-content should only be used inside of a clr-signpost");this.position="right-middle",this.closeOnOutsideClick=!0,o.setId(this.signpostContentId),this.document=C}get position(){return this._position}set position(t){this.renderer.removeClass(this.el.nativeElement,this.position),t&&FK.indexOf(t)>-1?this._position=t:this._position="right-middle",this.renderer.addClass(this.el.nativeElement,this.position);let i=LK[this.position];
21this.anchorPoint=i.anchorPoint,this.popoverPoint=i.popoverPoint,this.popoverOptions.offsetY=i.offsetY,this.popoverOptions.offsetX=i.offsetX}close(){this.toggleService.open=!1}ngOnDestroy(){super.ngOnDestroy(),ui(this.platformId)&&this.el.nativeElement.contains(this.document.activeElement)&&this.signpostFocusManager.focusTrigger()}}return e.\u0275fac=function(t){return new(t||e)(A(Gt),A(by,8),A(sr),A(SD),A(bD),A(xi),A(_n))},e.\u0275cmp=Me({type:e,selectors:[["clr-signpost-content"]],hostVars:3,hostBindings:function(t,i){t&2&&(nl("id",i.signpostContentId),Be("signpost-content",!0))},inputs:{signpostCloseAriaLabel:[0,"clrSignpostCloseAriaLabel","signpostCloseAriaLabel"],position:[0,"clrPosition","position"]},standalone:!1,features:[xt],ngContentSelectors:Lq,decls:8,vars:3,consts:[[1,"signpost-wrap"],[1,"popover-pointer"],[1,"signpost-content-header"],["type","button",1,"signpost-action","close",3,"click"],["shape","window-close"],["tabindex","0",1,"signpost-content-body"]],template:function(t,i){t&1&&(tn(Nq),F(0,"div",0),ye(1,"div",1),F(2,"div",2),Ze(3),F(4,"button",3),oe("click",function(){return i.close()}),ye(5,"cds-icon",4),P()(),F(6,"div",5),Ze(7,1),P()()),t&2&&(E(4),De("aria-label",i.signpostCloseAriaLabel||i.commonStrings.keys.signpostClose)("aria-controls",i.signpostContentId),E(),De("title",i.commonStrings.keys.close))},dependencies:[Zt],encapsulation:2}),e})();var VK=(()=>{class e{constructor(){Le.addIcons(ld,ag)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=We({type:e}),e.\u0275inj=$e({imports:[pt,on,gy,ls]}),e})(),ID=(()=>{class e{constructor(){this._id=new Qe}get id(){return this._id.asObservable()}updateId(t){this._id.next(t)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=le({token:e,factory:e.\u0275fac}),e})(),ED=(()=>{class e{constructor(t){this.toggleService=t}onMouseEnterTrigger(){this.mouseOverTrigger=!0,this.toggleService.open=!0}onMouseLeaveTrigger(){this.mouseOverTrigger=!1,this.hideIfMouseOut()}onMouseEnterContent(){this.mouseOverContent=!0}onMouseLeaveContent(){this.mouseOverContent=!1,this.hideIfMouseOut()}hideIfMouseOut(){setTimeout(()=>{!this.mouseOverTrigger&&!this.mouseOverContent&&(this.toggleService.open=!1)},0)}}return e.\u0275fac=function(t){return new(t||e)(ae(ar))},e.\u0275prov=le({token:e,factory:e.\u0275fac}),e})(),hye=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=Me({type:e,selectors:[["clr-tooltip"]],hostVars:2,hostBindings:function(t,i){t&2&&Be("tooltip",!0)},standalone:!1,features:[Et([ID,ED]),qc([Ng])],ngContentSelectors:Hi,decls:1,vars:0,template:function(t,i){t&1&&(tn(),Ze(0))},encapsulation:2}),e})();function UK(e){throw new Error(`Unhandled value: ${e}`)}var HK=["bottom-left","bottom-right","top-left","top-right","right","left"],BK=["xs","sm","md","lg"],EP="right",wP="sm",pye=(()=>{class e extends UP{constructor(t,i,r,o){if(super(t,i),this.tooltipIdService=r,this.tooltipMouseService=o,!i)throw new Error("clr-tooltip-content should only be used inside of a clr-tooltip");this.id=yd()}get id(){return this._id}set id(t){let i=t||"";this._id=i,this.tooltipIdService.updateId(i)}get position(){return this._position}set position(t){let i=this._position,r=HK.includes(t)?t:EP;switch(this._position=r,this.updateCssClass({oldClass:`tooltip-${i}`,newClass:`tooltip-${r}`}),r){case"top-right":this.anchorPoint=Fe.TOP_CENTER,this.popoverPoint=Fe.LEFT_BOTTOM;break;case"top-left":this.anchorPoint=Fe.TOP_CENTER,this.popoverPoint=Fe.RIGHT_BOTTOM;break;case"bottom-right":this.anchorPoint=Fe.BOTTOM_CENTER,this.popoverPoint=Fe.LEFT_TOP;break;case"bottom-left":this.anchorPoint=Fe.BOTTOM_CENTER,this.popoverPoint=Fe.RIGHT_TOP;break;case"right":this.anchorPoint=Fe.RIGHT_CENTER,this.popoverPoint=Fe.LEFT_TOP;break;case"left":this.anchorPoint=Fe.LEFT_CENTER,this.popoverPoint=Fe.RIGHT_TOP;break;default:UK(r)}}get size(){return this._size}set size(t){let i=this._size,r=BK.includes(t)?t:wP;this._size=r,this.updateCssClass({oldClass:`tooltip-${i}`,newClass:`tooltip-${r}`})}ngOnInit(){this.size=this.size||wP,this.position=this.position||EP}onMouseEnter(){this.tooltipMouseService.onMouseEnterContent()}onMouseLeave(){this.tooltipMouseService.onMouseLeaveContent()}updateCssClass({oldClass:t,newClass:i}){this.renderer.removeClass(this.el.nativeElement,t),this.renderer.addClass(this.el.nativeElement,i)}}return e.\u0275fac=function(t){return new(t||e)(A(Gt),A(by,8),A(ID),A(ED)
21)},e.\u0275cmp=Me({type:e,selectors:[["clr-tooltip-content"]],hostVars:6,hostBindings:function(t,i){t&1&&oe("mouseenter",function(){return i.onMouseEnter()})("mouseleave",function(){return i.onMouseLeave()}),t&2&&(nl("id",i.id),De("role","tooltip"),is("opacity",1),Be("tooltip-content",!0))},inputs:{id:"id",position:[0,"clrPosition","position"],size:[0,"clrSize","size"]},standalone:!1,features:[xt],ngContentSelectors:Hi,decls:1,vars:0,template:function(t,i){t&1&&(tn(),Ze(0))},encapsulation:2}),e})(),fye=(()=>{class e{constructor(t,i,r){this.toggleService=t,this.tooltipMouseService=r,this.subs=[],this.subs.push(i.id.subscribe(o=>this.ariaDescribedBy=o))}ngOnDestroy(){this.subs.forEach(t=>t.unsubscribe())}showTooltip(){this.toggleService.open=!0}hideTooltip(){this.toggleService.open=!1}onMouseEnter(){this.tooltipMouseService.onMouseEnterTrigger()}onMouseLeave(){this.tooltipMouseService.onMouseLeaveTrigger()}}return e.\u0275fac=function(t){return new(t||e)(A(ar),A(ID),A(ED))},e.\u0275dir=He({type:e,selectors:[["","clrTooltipTrigger",""]],hostAttrs:["tabindex","0"],hostVars:4,hostBindings:function(t,i){t&1&&oe("focus",function(){return i.showTooltip()})("blur",function(){return i.hideTooltip()})("mouseenter",function(){return i.onMouseEnter()})("mouseleave",function(){return i.onMouseLeave()}),t&2&&(De("aria-describedby",i.ariaDescribedBy)("role","button"),Be("tooltip-trigger",!0))},standalone:!1}),e})();var jK=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=We({type:e}),e.\u0275inj=$e({imports:[pt,ls,on]}),e})(),zK=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=We({type:e}),e.\u0275inj=$e({imports:[yD,VK,jK]}),e})(),md=(function(e){return e.VERTICAL="vertical",e.HORIZONTAL="horizontal",e.COMPACT="compact",e})(md||{}),rc=(()=>{class e{constructor(){this.minLabelSize=1,this.maxLabelSize=12,this.layout=md.HORIZONTAL,this.layoutValues=Object.keys(md).map(t=>md[t]),this._labelSize=2}get labelSize(){return this._labelSize}set labelSize(t){this.labelSizeIsValid(t)&&(this._labelSize=t)}get layoutClass(){return`clr-form-${this.layout}`}isVertical(){return this.layout===md.VERTICAL}isHorizontal(){return this.layout===md.HORIZONTAL}isCompact(){return this.layout===md.COMPACT}isValid(t){return this.layoutValues.indexOf(t)>-1}labelSizeIsValid(t){return Number.isInteger(t)&&t>=this.minLabelSize&&t<=this.maxLabelSize}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=le({token:e,factory:e.\u0275fac}),e})(),Tn=(()=>{class e{constructor(t,i,r,o,l){this.controlIdService=t,this.layoutService=i,this.ngControlService=r,this.renderer=o,this.el=l,this.enableGrid=!0,this.subscriptions=[]}get labelText(){return this.el.nativeElement&&this.el.nativeElement.textContent}ngOnInit(){this.idAttr=this.idInput,(this.controlIdService||this.ngControlService)&&this.renderer.addClass(this.el.nativeElement,"clr-control-label"),this.enableGrid&&this.layoutService&&!this.layoutService.isVertical()&&this.el.nativeElement&&this.el.nativeElement.className.indexOf("clr-col")<0&&(this.renderer.addClass(this.el.nativeElement,"clr-col-12"),this.renderer.addClass(this.el.nativeElement,`clr-col-md-${this.layoutService.labelSize}`)),this.controlIdService&&!this.forAttr&&this.subscriptions.push(this.controlIdService.idChange.subscribe(t=>{this.forAttr=t,this.idAttr=this.idInput||`${t}-label`}))}ngOnDestroy(){this.subscriptions.forEach(t=>t.unsubscribe())}disableGrid(){this.enableGrid=!1}onClick(t){this.preventDefaultOnSignpostTarget(t)}preventDefaultOnSignpostTarget(t){this.signpost&&this.signpost.nativeElement&&this.signpost.nativeElement.contains(t.target)&&t.preventDefault()}}return e.\u0275fac=function(t){return new(t||e)(A(yo,8),A(rc,8),A(Mr,8),A(Lt),A(et))},e.\u0275dir=He({type:e,selectors:[["label"]],contentQueries:function(t,i,r){if(t&1&&wn(r,NK,5,et),t&2){let o;gt(o=mt())&&(i.signpost=o.first)}},hostVars:2,hostBindings:function(t,i){t&1&&oe("click",function(o){return i.onClick(o)}),t&2&&De("id",i.idAttr)("for",i.forAttr)},inputs:{idInput:[0,"id","idInput"],forAttr:[0,"for","forAttr"]},standalone:!1}),e})(),GK=(()=>{class e extends _D{constructor(t,i){super(t,i),this.controlIdService=t,this.containerIdService=i,this.controlIdSuffix=fh.SUCCESS}}return e.\u0275fac=function(t){return new(t||e)(A(yo,8),A(Ih,8))},e.\u0275cmp=Me({type:e,selectors:[["clr-control-success"]],hostVars:5,hostBindings:function(t,i){t&2&&(De("id",i.id),Be("clr-subtext",!0)("success",!0))},standalone:!1,features:[xt],ngContentSelectors:Hi,decls:1,vars:0,template:function(t,i){t&1&&(tn(),Ze(0))},encapsulation:2}),e})(),$K="clr-error",WK="clr-success",_o=(()=>{class e{constructor(t){this.layoutService=t,this.className=""}controlClass(t=Zr.NONE,i=!1,r=""){let o=[this.className,r];switch(t){case Zr.VALID:o.push(WK);break;case Zr.INVALID:o.push($K);break}return i&&this.layoutService&&this.className.indexOf("clr-col")===-1&&o.push(`clr-col-md-${this.layoutService.maxLabelSize-this.layoutService.labelSize} clr-col-12`),o.join(" ").trim()}initControlClass(t,i){i&&i.className&&(this.className=i.className,i.className.split(" ").forEach(o=>{o.startsWith("clr-col")&&t.removeClass(i,o)}))}}return e.\u0275fac=function(t){return new(t||e)(ae(rc,8))},e.\u0275prov=le({token:e,factory:e.\u0275fac}),e})(),Id=(()=>{class e{constructor(t,i,r,o){this.ifControlStateService=t,this.layoutService=i,this.controlClassService=r,this.ngControlService=o,this.subscriptions=[],this.subscriptions.push(t.statusChanges.subscribe(l=>{this.state=l,setTimeout(()=>{this.updateHelpers()})})),this.subscriptions.push(o.controlChanges.subscribe(l=>{this.control=l}),o.additionalControlsChanges.subscribe(l=>{this.additionalControls=l}))}get showHelper(){return!!this.controlHelperComponent}get showValid(){return this.touched&&this.state===Zr.VALID&&this.successMessagePresent}get showInvalid(){return this.touched&&this.state===Zr.INVALID&&this.errorMessagePresent}get successMessagePresent(){return!!this.controlSuccessComponent}get errorMessagePresent(){return!!this.controlErrorComponent}get touched(){return!!(this.control?.touched||this.additionalControls?.some(t=>t.touched))}ngAfterContentInit(){this.updateHelpers()}ngOnDestroy(){this.subscriptions.forEach(t=>t.unsubscribe())}controlClass(){return!this.controlSuccessComponent&&this.state===Zr.VALID||!this.touched?this.controlClassService.controlClass(Zr.NONE,this.addGrid()):this.controlClassService.controlClass(this.state,this.addGrid())}addGrid(){return this.layoutService&&!this.layoutService.isVertical()}updateHelpers(){this.ngControlService&&this.ngControlService.setHelpers({show:this.showInvalid||this.showHelper||this.showValid,showInvalid:this.showInvalid,showHelper:this.showHelper,showValid:this.showValid})}}return e.\u0275fac=function(t){return new(t||e)(A(Kr),A(rc,8),A(_o),A(Mr))},e.\u0275dir=He({type:e,contentQueries:function(t,i,r){if(t&1&&(wn(r,Tn,5),wn(r,GK,5),wn(r,Sd,5),wn(r,AK,5)),t&2){let o;gt(o=mt())&&(i.label=o.first),gt(o=mt())&&(i.controlSuccessComponent=o.first),gt(o=mt())&&(i.controlErrorComponent=o.first),gt(o=mt())&&(i.controlHelperComponent=o.first)}},standalone:!1}),e})();var rD=class{constructor(n,t,i=0){if(this.injector=t.injector,!this.injector.get(n,null)){let r=this.injector.get(Ul),o=this.injector.get(et);
21t.createComponent(r.resolveComponentFactory(DK));let l=r.resolveComponentFactory(n),p=[];p[i]=[o.nativeElement];let C=t.createComponent(l,void 0,void 0,p);t.remove(0),this.injector=C.injector}}get(n,t){return this.injector.get(n,t)}},YK=(()=>{class e{constructor(){this._touched=new Qe}get touchedChange(){return this._touched.asObservable()}markAsTouched(){this._touched.next()}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=le({token:e,factory:e.\u0275fac}),e})(),oD=(function(e){return e.FORM="form",e.MODEL="model",e})(oD||{}),oc=(()=>{class e{constructor(t,i,r,o,l,p){this.vcr=t,this.wrapperType=i,this._ngControl=o,this.renderer=l,this.el=p,this.index=0,this.subscriptions=[],this.additionalDiffer=new Map,r&&(this.ngControlService=r.get(Mr,null),this.ifControlStateService=r.get(Kr,null),this.controlClassService=r.get(_o,null),this.markControlService=r.get(YK,null),this.differs=r.get(Fu,null)),this.controlClassService&&this.controlClassService.initControlClass(l,p.nativeElement),this.markControlService&&this.subscriptions.push(this.markControlService.touchedChange.subscribe(()=>{this.markAsTouched()})),this.ngControlService&&this.subscriptions.push(this.ngControlService.helpersChange.subscribe(C=>{this.setAriaDescribedBy(C)}))}get id(){return this._id}set id(t){this._id=t,this.controlIdService&&(this.controlIdService.id=t)}get hasAdditionalControls(){return this.additionalDiffer.size>0}ngOnInit(){this._containerInjector=new rD(this.wrapperType,this.vcr,this.index),this.controlIdService=this._containerInjector.get(yo),this.containerIdService=this._containerInjector.get(Ih,null),this._id?this.controlIdService.id=this._id:this._id=this.controlIdService.id,this.ngControlService&&this._ngControl&&(this.ngControlService.control?(this.ngControl=this.ngControlService.control,this.ngControlService.addAdditionalControl(this._ngControl),this.additionalDiffer.set(this._ngControl,this.differs.find(this._ngControl).create())):(this.ngControl=this._ngControl,this.ngControlService.setControl(this.ngControl),this.differ=this.differs.find(this._ngControl).create()))}ngDoCheck(){if(this.triggerDoCheck(this.differ,this.ngControl),this.hasAdditionalControls)for(let[t,i]of this.additionalDiffer)this.triggerDoCheck(i,t)}ngOnDestroy(){this.subscriptions.forEach(t=>t?.unsubscribe())}triggerValidation(){this.ifControlStateService&&this.ifControlStateService.triggerStatusChange()}getProviderFromContainer(t,i){try{return this._containerInjector.get(t,i)}catch{return i}}triggerDoCheck(t,i){if(t){let r=t.diff(i);r&&r.forEachChangedItem(o=>{(o.key===oD.FORM||o.key===oD.MODEL)&&o.currentValue!==o.previousValue&&this.triggerValidation()})}}markAsTouched(){this.ngControl&&(this.ngControl.control.markAsTouched(),this.ngControl.control.updateValueAndValidity()),this.ngControlService&&this.ngControlService.hasAdditionalControls&&this.ngControlService.additionalControls?.forEach(t=>{t.control.markAsTouched(),t.control.updateValueAndValidity()})}setAriaDescribedBy(t){if(t.show){let i=this.getAriaDescribedById(t);if(i!==null){this.renderer.setAttribute(this.el.nativeElement,"aria-describedby",i);return}}this.renderer.removeAttribute(this.el.nativeElement,"aria-describedby")}getAriaDescribedById(t){let i=this.containerIdService?.id||this.controlIdService?.id;if(!i)return null;let r=[`${i}-${fh.HELPER}`];return t.showInvalid?r.push(`${i}-${fh.ERROR}`):t.showValid&&r.push(`${i}-${fh.SUCCESS}`),r.join(" ")}}return e.\u0275fac=function(t){return new(t||e)(A(Nn),A(KA),A(Gt),A(Ci),A(Lt),A(et))},e.\u0275dir=He({type:e,hostVars:1,hostBindings:function(t,i){t&1&&oe("blur",function(){return i.triggerValidation()}),t&2&&nl("id",i.id)},inputs:{id:"id"},standalone:!1}),e})();var _i=(()=>{class e{constructor(){Le.addIcons(yr,_r)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=We({type:e}),e.\u0275inj=$e({imports:[pt,on]}),e})(),wD=new me("IS_TOGGLE");function qK(){return new Pn(!1)}var QK={provide:wD,useFactory:qK},xD=(()=>{class e{constructor(t){this.toggle=!1,this.subscriptions=[],this.subscriptions.push(t.subscribe(i=>{this.toggle=i}))}ngOnInit(){this.label&&this.label.disableGrid()}ngOnDestroy(){this.subscriptions.forEach(t=>t.unsubscribe())}}return e.\u0275fac=function(t){return new(t||e)(A(wD))},e.\u0275cmp=Me({type:e,selectors:[["clr-checkbox-wrapper"],["clr-toggle-wrapper"]],contentQueries:function(t,i,r){if(t&1&&(wn(r,Tn,7),wn(r,Eh,7)),t&2){let o;gt(o=mt())&&(i.label=o.first),gt(o=mt())&&(i.checkbox=o.first)}},hostVars:6,hostBindings:function(t,i){t&2&&Be("clr-checkbox-wrapper",!i.toggle)("clr-checkbox-wrapper-disabled",i.checkbox==null?null:i.checkbox.controlDisabled)("clr-toggle-wrapper",i.toggle)},standalone:!1,features:[Et([yo,QK])],ngContentSelectors:Vq,decls:3,vars:1,consts:[[4,"ngIf"]],template:function(t,i){t&1&&(tn(Fq),Ze(0),Ze(1,1),ue(2,Uq,1,0,"label",0)),t&2&&(E(2),L("ngIf",!i.label))},dependencies:[rt,Tn],encapsulation:2}),e})(),Eh=(()=>{class e extends oc{constructor(t,i,r,o,l,p){super(t,xD,i,r,o,l),this.control=r,this.toggle=p}get controlDisabled(){return this.control?.disabled}ngOnInit(){super.ngOnInit();let t=this.getProviderFromContainer(wD,null);t&&this.toggle!==null&&t.next(!0)}}return e.\u0275fac=function(t){return new(t||e)(A(Nn),A(Gt),A(Ci,10),A(Lt),A(et),af("clrToggle"))},e.\u0275dir=He({type:e,selectors:[["","clrCheckbox",""],["","clrToggle",""]],hostVars:1,hostBindings:function(t,i){t&2&&De("role",i.toggle!==null?"switch":null)},standalone:!1,features:[xt]}),e})(),gye=(()=>{class e extends Id{constructor(t,i,r,o){super(o,t,i,r),this.layoutService=t,this.controlClassService=i,this.ngControlService=r,this.ifControlStateService=o,this.inline=!1}get clrInline(){return this.inline}set clrInline(t){typeof t=="string"?this.inline=t!=="false":this.inl
21ine=!!t}get allCheckboxesDisabled(){return this.control?.disabled&&(!this.additionalControls?.length||this.additionalControls.every(t=>t.disabled))}ngAfterContentInit(){this.setAriaRoles()}setAriaRoles(){this.role=this.checkboxes.length?"group":null}}return e.\u0275fac=function(t){return new(t||e)(A(rc,8),A(_o),A(Mr),A(Kr))},e.\u0275cmp=Me({type:e,selectors:[["clr-checkbox-container"],["clr-toggle-container"]],contentQueries:function(t,i,r){if(t&1&&wn(r,Eh,5),t&2){let o;gt(o=mt())&&(i.checkboxes=o)}},hostVars:7,hostBindings:function(t,i){t&2&&(De("role",i.role),Be("clr-form-control",!0)("clr-form-control-disabled",i.allCheckboxesDisabled)("clr-row",i.addGrid()))},inputs:{clrInline:"clrInline"},standalone:!1,features:[Et([Kr,Mr,_o,Ih]),xt],ngContentSelectors:Bq,decls:6,vars:6,consts:[[4,"ngIf"],[1,"clr-control-container",3,"ngClass"],["class","clr-subtext-wrapper",4,"ngIf"],[1,"clr-subtext-wrapper"],["class","clr-validate-icon","shape","exclamation-circle","status","danger","aria-hidden","true",4,"ngIf"],["class","clr-validate-icon","shape","check-circle","status","success","aria-hidden","true",4,"ngIf"],["shape","exclamation-circle","status","danger","aria-hidden","true",1,"clr-validate-icon"],["shape","check-circle","status","success","aria-hidden","true",1,"clr-validate-icon"]],template:function(t,i){t&1&&(tn(Hq),Ze(0),ue(1,jq,1,0,"label",0),F(2,"div",1),Ze(3,1),ue(4,zq,2,0,"div",2)(5,qq,5,4,"div",2),P()),t&2&&(E(),L("ngIf",!i.label&&i.addGrid()),E(),Be("clr-control-inline",i.clrInline),L("ngClass",i.controlClass()),E(2),L("ngIf",i.showHelper),E(),L("ngIf",i.showInvalid||i.showValid))},dependencies:[Dn,rt,Zt,Tn],encapsulation:2}),e})(),ZK=(()=>{class e{constructor(){Le.addIcons(yr,_r)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=We({type:e}),e.\u0275inj=$e({imports:[pt,on,_i,Lg,_i]}),e})();function Mg(e){return e===null?!1:typeof e=="string"?e.length>=0:typeof e=="boolean"?e:!1}var Sy=(()=>{class e{get spinnerClass(){return!0}get inlineClass(){return this._inline}set clrInline(t){this._inline=Mg(t)}get inverseClass(){return this._inverse}set clrInverse(t){this._inverse=Mg(t)}get smallClass(){return this._small}set clrSmall(t){this._small=Mg(t)}get mediumClass(){return this._small?!1:this._medium}set clrMedium(t){this._medium=Mg(t)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=Me({type:e,selectors:[["clr-spinner"]],hostVars:11,hostBindings:function(t,i){t&2&&(De("aria-busy",!0),Be("spinner",i.spinnerClass)("spinner-inline",i.inlineClass)("spinner-inverse",i.inverseClass)("spinner-sm",i.smallClass)("spinner-md",i.mediumClass))},inputs:{clrInline:"clrInline",clrInverse:"clrInverse",clrSmall:"clrSmall",clrMedium:"clrMedium"},standalone:!1,ngContentSelectors:Hi,decls:1,vars:0,template:function(t,i){t&1&&(tn(),Ze(0))},encapsulation:2}),e})();var mh=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=We({type:e}),e.\u0275inj=$e({imports:[pt]}),e})(),ic=(function(e){return e.VERTICAL="vertical",e.HORIZONTAL="horizontal",e.BOTH="both",e})(ic||{}),HP=(()=>{class e{constructor(t,i){this.elementRef=t,this.platformId=i}get nativeElement(){return this.elementRef.nativeElement}focus(){ui(this.platformId)&&this.elementRef.nativeElement.focus()}}return e.\u0275fac=function(t){return new(t||e)(A(et),A(xi))},e.\u0275dir=He({type:e,selectors:[["","clrKeyFocusItem",""]],standalone:!1}),e})(),sD=(()=>{class e{constructor(t){this.elementRef=t,this.direction=ic.VERTICAL,this.focusOnLoad=!1,this.subscriptions=[],this.focusChange=new Ue,this._current=0}get focusableItems(){return this._focusableItems?this._focusableItems:this.clrKeyFocusItems?this.clrKeyFocusItems.toArray():[]}set focusableItems(t){Array.isArray(t)&&t.length&&(this._focusableItems=t,this.initializeFocus())}get nativeElement(){return this.elementRef.nativeElement}get current(){return this._current}set current(t){this._current!==t&&(this._current=t)}get currentItem(){return this.focusableItems[this._current]}get currentItemElement(){return this.currentItem.nativeElement?this.currentItem.nativeElement:this.currentItem}ngAfterContentInit(){this.subscriptions.push(this.listenForItemUpdates()),this.initializeFocus()}ngOnDestroy(){this.subscriptions.forEach(t=>t.unsubscribe())}handleKeyboardEvent(t){if(this.currentItemElement!==t.target){let i=this.getItemPosition(t.target);this.positionInRange(i)&&(this.current=i)}this.prevKeyPressed(t)&&this.currentFocusIsNotFirstItem()?this.moveTo(this.current-1):this.nextKeyPressed(t)&&this.currentFocusIsNotLastItem()?this.moveTo(this.current+1):t.code===ht.Home?this.moveTo(0):t.code===ht.End&&this.moveTo(this.focusableItems.length-1),vD(t)}setClickedItemCurrent(t){let i=this.getItemPosition(t.target);i>-1&&this.moveTo(i)}focusCurrent(){this.currentItem.focus(),this.focusChange.next(this._current)}moveTo(t){this.positionInRange(t)&&(this.current=t,this.focusCurrent())}positionInRange(t){return t>=0&&t<this.focusableItems.length}currentFocusIsNotFirstItem(){return this._current-1>=0}currentFocusIsNotLastItem(){return this._current+1<this.focusableItems.length}initializeFocus(){this.focusableItems&&this.focusableItems.length&&(this._current>=this.focusableItems.length&&(this._current=this.focusableItems.length-1),this.focusOnLoad&&(this.currentItem.focus(),this.focusChange.emit()))}nextKeyPressed(t){let i=ba(t.key);switch(this.direction){case ic.VERTICAL:return i===ht.ArrowDown;case ic.HORIZONTAL:return i===ht.ArrowRight;case ic.BOTH:return i===ht.ArrowDown||i===ht.ArrowRight;default:return!1}}prevKeyPressed(t){let i=ba(t.key);switch(this.direction){case ic.VERTICAL:return i===ht.ArrowUp;case ic.HORIZONTAL:return i===ht.ArrowLeft;case ic.BOTH:return i===ht.ArrowUp||i===ht.ArrowLeft;default:return!1}}getItemPosition(t){return this._focusableItems?this.focusableItems.indexOf(t):this.focusableItems.map(i=>i.nativeElement).indexOf(t)}listenForItemUpdates(){return this.clrKeyFocusItems.changes.subscribe(()=>{this.initializeFocus()})}}return e.\u0275fac=function(t){return new(t||e)(A(et))},e.\u0275cmp=Me({type:e,selectors:[["","clrKeyFocus",""]],contentQueries:function(t,i,r){if(t&1&&wn(r,HP,5),t&2){let o;gt(o=mt())&&(i.clrKeyFocusItems=o)}},hostBindings:function(t,i){t&1&&oe("keydown",function(o){return i.handleKeyboardEvent(o)})("click",function(o){return i.setClickedItemCurrent(o)})},inputs:{direction:[0,"clrDirection","direction"],focusOnLoad:[0,"clrFocusOnLoad","focusOnLoad"],focusableItems:[0,"clrKeyFocus","focusableItems"]},outputs:{focusChange:"clrFocusChange"},standalone:!1,attrs:Qq,ngContentSelectors:Hi,decls:1,vars:0,template:function(t,i){t&1&&(tn(),Ze(0))},encapsulation:2}),e})(),KK=(()=>{class e extends sD{constructor(t,i){super(t),this.renderer=i,this.disabled=!1}get rovingIndexItems(){return this.focusableItems}set rovingIndexItems(t){this.focusableItems=t}set rovingTabindexDisabled(t){this.disabled=t,this.currentItem&&this.setTabindex(this.currentItem,t?-1:0)}handleKeyboardEvent(t){this.prevKeyPressed(t)&&this.currentFocusIsNotFirstItem()?this.updateTabindex(this.current-1):this.nextKeyPressed(t)&&this.currentFocusIsNotLastItem()?this.updateTabindex(this.current+1):t.code===ht.Home?this.updateTabindex(0):t.code===ht.End&&this.updateTabindex(this.focusableItems.length-1),super.handleKeyboardEvent(t)}setClickedItemCurrent(t){let i;this.focusableItems[0].nativeElement?i=this.focusableItems.map(r=>r.nativeElement).indexOf(t.target):i=this.focusableItems.indexOf(t.target),i>-1&&this.updateTabindex(i),super.setClickedItemCurrent(t)}initializeFocus(){this.focusableItems&&this.focusableItems.length&&(this.focusableItems.forEac
21h(t=>{this.setTabindex(t,-1)}),this.current>=this.focusableItems.length&&(this.current=this.focusableItems.length-1),!this.disabled&&this.currentItem&&this.setTabindex(this.currentItem,0)),super.initializeFocus()}updateTabindex(t){this.setTabindex(this.currentItem,-1),this.setTabindex(this.focusableItems[t],0)}setTabindex(t,i){t instanceof HTMLElement?this.renderer.setAttribute(t,"tabindex",i.toString()):this.renderer.setAttribute(t.nativeElement,"tabindex",i.toString())}}return e.\u0275fac=function(t){return new(t||e)(A(et),A(Lt))},e.\u0275cmp=Me({type:e,selectors:[["","clrRovingTabindex",""]],inputs:{rovingIndexItems:[0,"clrRovingTabindex","rovingIndexItems"],rovingTabindexDisabled:[0,"clrRovingTabindexDisabled","rovingTabindexDisabled"]},standalone:!1,features:[xt],attrs:Zq,ngContentSelectors:Hi,decls:1,vars:0,template:function(t,i){t&1&&(tn(),Ze(0))},encapsulation:2}),e})();var DD=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=We({type:e}),e.\u0275inj=$e({imports:[pt]}),e})(),aD=(()=>{class e{constructor(){this.labelOffset=0}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=le({token:e,factory:e.\u0275fac}),e})(),XK=(()=>{class e extends Id{constructor(t,i,r,o,l,p){super(t,i,r,o),this.containerService=l,this.el=p}ngAfterContentInit(){this.label&&(this.containerService.labelText=this.label.labelText)}ngAfterViewInit(){this.containerService.labelOffset=this.controlContainer.nativeElement.offsetHeight-this.el.nativeElement.offsetHeight}}return e.\u0275fac=function(t){return new(t||e)(A(Kr),A(rc,8),A(_o),A(Mr),A(aD),A(et))},e.\u0275cmp=Me({type:e,selectors:[["clr-combobox-container"]],viewQuery:function(t,i){if(t&1&&xn(Kq,5),t&2){let r;gt(r=mt())&&(i.controlContainer=r.first)}},hostVars:8,hostBindings:function(t,i){t&2&&Be("clr-form-control",!0)("clr-combobox-form-control",!0)("clr-form-control-disabled",i.control==null?null:i.control.disabled)("clr-row",i.addGrid())},standalone:!1,features:[Et([Kr,Mr,yo,_o,aD]),xt],ngContentSelectors:Jq,decls:10,vars:7,consts:[["controlContainer",""],[4,"ngIf"],[1,"clr-control-container",3,"ngClass"],["class","clr-validate-icon","shape","exclamation-circle","status","danger","aria-hidden","true",4,"ngIf"],["class","clr-validate-icon","shape","check-circle","status","success","aria-hidden","true",4,"ngIf"],["shape","exclamation-circle","status","danger","aria-hidden","true",1,"clr-validate-icon"],["shape","check-circle","status","success","aria-hidden","true",1,"clr-validate-icon"]],template:function(t,i){t&1&&(tn(Xq),Ze(0),ue(1,eQ,1,0,"label",1),F(2,"div",2,0),Ze(4,1),ue(5,tQ,1,0,"cds-icon",3)(6,nQ,1,0,"cds-icon",4)(7,iQ,1,0,"ng-content",1)(8,rQ,1,0,"ng-content",1)(9,oQ,1,0,"ng-content",1),P()),t&2&&(E(),L("ngIf",!i.label&&i.addGrid()),E(),L("ngClass",i.controlClass()),E(3),L("ngIf",i.showInvalid),E(),L("ngIf",i.showValid),E(),L("ngIf",i.showHelper),E(),L("ngIf",i.showInvalid),E(),L("ngIf",i.showValid))},dependencies:[Dn,rt,Zt,Tn],encapsulation:2}),e})(),my=class{containsItem(n){return this.model?this.model.includes(n):!1}select(n){this.addItem(n)}unselect(n){this.removeItem(n)}isEmpty(){return!(this.model&&this.model.length>0)}pop(){let n;return this.model&&this.model.length>0&&(n=this.model[this.model.length-1],this.removeItem(n)),n}toString(n,t=-1){let i="";return this.model&&(t>-1?this.model[t]&&(n&&this.model[t][n]?i+=this.model[t][n]:i+=this.model[t].toString()):this.model.forEach(r=>{n&&r[n]?i+=r[n]:i+=r.toString(),i+=" "})),i.trim()}addItem(n){this.containsItem(n)||(this.model=this.model||[],this.model.push(n))}removeItem(n){if(this.model===null||this.model===void 0)return;let t=this.model.indexOf(n);t>-1&&this.model.splice(t,1),this.model.length===0&&(this.model=null)}},Rg=class{containsItem(n){return this.model===n}select(n){this.model=n}unselect(n){this.containsItem(n)&&(this.model=null)}isEmpty(){return!this.model}pop(){let n=this.model;return this.model=null,n}toString(n){return this.model?n&&this.model[n]?this.model[n]:this.model.toString():""}},JK=(()=>{class e{constructor(t){this.template=t}}return e.\u0275fac=function(t){return new(t||e)(A(ir))},e.\u0275dir=He({type:e,selectors:[["","clrOptionSelected",""]],inputs:{selected:[0,"clrOptionSelected","selected"]},standalone:!1}),e})(),lD=class extends Rg{constructor(){super(...arguments),this._focusChanged=new Pn(null)}get focusChanged(){return this._focusChanged.asObservable()}select(n){this.model!==n&&(this.model=n,this._focusChanged.next(n))}},vh=(()=>{class e{constructor(){this.loading=!1,this.showAllOptions=!0,this._currentInput="",this._inputChanged=new Pn(""),this._selectionChanged=new Mp(1),this.inputChanged=this._inputChanged.asObservable()}get currentInput(){return this._currentInput}set currentInput(t){t===""&&!this.multiselectable&&this.setSelectionValue(null),this._currentInput=t,this._inputChanged.next(t)}get selectionChanged(){return this._selectionChanged.asObservable()}get multiselectable(){return this.selectionModel instanceof my}select(t){t==null||this.selectionModel.containsItem(t)||(this.selectionModel.select(t),this._selectionChanged.next(this.selectionModel))}toggle(t){t!=null&&(this.selectionModel.containsItem(t)?this.selectionModel.unselect(t):this.selectionModel.select(t),this._selectionChanged.next(this.selectionModel))}unselect(t){t==null||!this.selectionModel.containsItem(t)||(this.selectionModel.unselect(t),this._selectionChanged.next(this.selectionModel))}setSelectionValue(t){!this.selectionModel||this.selectionModel.model===t||!this.selectionModel.model&&!t||(this.selectionModel.model=t,this._selectionChanged.next(this.selectionModel))}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=le({token:e,factory:e.\u0275fac}),e})(),Iy=(()=>{class e{constructor(t,i,r,o){this.toggleService=i,this.selectionService=r,this.platformId=o,this.pseudoFocus=new lD,this.optionData=[],this.handleFocusSubscription(),this.renderer=t.createRenderer(null,null)}get trigger(){return this._trigger}set trigger(t){this._trigger=t,this.addFocusOnBlurListener(t)}get listbox(){return this._listbox}set listbox(t){this._listbox=t,this.addFocusOnBlurListener(t)}get textInput(){return this._textInput}set textInput(t){this._textInput=t,this.renderer.listen(t,"keydown",i=>!this.handleTextInput(i)),this.addFocusOnBlurListener(t)}focusInput(){this.textInput&&ui(this.platformId)&&this.textInput.focus()}focusFirstActive(){if(this.optionData.length>0)if(this.selectionService.selectionModel.isEmpty())this.pseudoFocus.select(this.optionData[0]);else{let t;this.selectionService.multiselectable?t=this.selectionService.selectionModel.model[0]:t=this.selectionService.selectionModel.model;let i=this.optionData.find(r=>r.value===t);i?this.pseudoFocus.select(i):this.pseudoFocus.select(this.optionData[0]),this.scrollIntoSelectedModel("auto")}}addOptionValues(t){this.optionData=t}handleFocusSubscription(){this.toggleService.openChange.subscribe(t=>{t||(this.pseudoFocus.model=null)})}moveFocusTo(t){let i=this.optionData.findIndex(r=>r.equals(this.pseudoFocus.model));t===Yo.UP?i===-1||i===0?i=this.optionData.length-1:i--:t===Yo.DOWN&&(i===-1||i===this.optionData.length-1?i=0:i++),this.pseudoFocus.select(this.optionData[i]),this.scrollIntoSelectedModel()}openAndMoveTo(t){this.toggleService.open?this.moveFocusTo(t):(this.toggleService.openChange.pipe(Hn(1)).subscribe(i=>{i&&this.moveFocusTo(t)}),this.toggleService.open=!0)}handleTextInput(t){let i=!1,r=ba(t.key);if(t)switch(r){case ht.Enter:this.toggleService.open&&this.pseudoFocus.model&&(this.selectionService.multiselectable?this.selectionService.toggle(this.pseudoFocus.model.value):this.selectionService.select(this.pseudoFocus.model.value),i=!0);break;case ht.Space:this.toggleService.open||(this.toggleService.open=!0,i=!0);break;case ht.ArrowUp:this.preventViewportScrolling(t),this.openAndMoveTo(Yo.UP),i=!0;break;case ht.ArrowDown:this.preventViewportScrolling(t),this.openAndMoveTo(Yo.DOWN),i=!0;break;default:t.key!==ht.Tab&&!(this.selectionService.multiselectable&&t.key===ht.Backspace)&&t.key!==ht.Escape&&!this.toggleService.open&&(this.toggleService.open=!0);break}return i}scrollIntoSelectedModel(t="smooth"){this.pseudoFocus.model&&this.pseudoFocus.model.el&&this.pseudoFocus.model.el.scrollIntoView({behavior:t,block:"center",inline:"nearest"})}preventViewportScrolling(t){t.preventDefault(),t.stopImmediatePropagation()}addFocusOnBlurListener(t){ui(this.platformId)&&this.renderer.listen(t,"blur",i=>{this.focusOutOfComponent(i)&&(this.toggleService.open=!1,this.componentCdRef&&this.componentCdRef.detectChanges())})}focusOutOfComponent(t){let i=t.relatedTarget||document.activeElement;return!(this.textInput.contains(i)||this.trigger.contains(i)||this.listbox.contains(i))}}return e.\u0275fac=function(t){return new(t||e)(ae(Ll),ae(ar),ae(vh),ae(xi))},e.\u0275prov=le({token:e,factory:e.\u0275fac}),e})(),eX=VP(Iy),cD=class{constructor(n,t){this.id=n,this.value=t}equals(n){return n?this.id===n.id&&this.value===n.value:!1}},tX=(()=>{class e{constructor(t,i,r,o){this.elRef=t,this.commonStrings=i,this.focusHandler=r,this.optionSelectionService=o,this.optionProxy=new cD(null,null),this.optionProxy.el=t.nativeElement}get optionId(){return this._id}set optionId(t){this._id=t,this.optionProxy.id=this._id}get value(){return this._value}set value(t){this._value=t,this.optionProxy.value=t}get selected(){return this.optionSelectionService.selectionModel&&this.optionSelectionService.selectionModel.containsItem(this.value)}get focusClass(){return this.focusHandler.pseudoFocus.containsItem(this.optionProxy)}ngOnInit(){this._id||(this._id="clr-option-"+yd(),this.optionProxy.id=this._id)}onClick(t){t.stopPropagation(),this.optionSelectionService.multiselectable?this.optionSelectionService.toggle(this.value):this.optionSelectionService.select(this.value),this.focusHandler.focusInput()}}return e.\u0275fac=function(t){return new(t||e)(A(et),A(sr),A(Iy),A(vh))},e.\u0275cmp=Me({type:e,selectors:[["clr-option"]],hostVars:9,hostBindings:function(t,i){t&1&&oe("click",function(o){return i.onClick(o)}),t&2&&(De("role","option")("tabindex",-1)("id",i.optionId),Be("clr-combobox-option",!0)("active",i.selected)("clr-focus",i.focusClass))},inputs:{optionId:[0,"id","optionId"],value:[0,"clrValue","value"]},standalone:!1,ngContentSelectors:Hi,decls:2,vars:1,consts:[["class","clr-sr-only",4,"ngIf"],[1,"clr-sr-only"]],template:function(t,i){t&1&&(tn(),Ze(0),ue(1,sQ,2,1,"span",0)),t&2&&(E(),L("ngIf",i.selected))},dependencies:[rt],encapsulation:2}),e})(),nX=0,iX=(()=>{class e{constructor(t,i,r,o,l,p,C,w){if(this.optionSelectionService=t,this.id=i,this.el=r,this.commonStrings=o,this.focusHandler=l,this.toggleService=p,this.document=w,this.loading=!1,this.subscriptions=[],!C)throw new Error("clr-options should only be used inside of a clr-combobox");this.optionsId||(this.optionsId="clr-options-"+nX++)}get items(){return this._items}set items(t){this._items=t,this.focusHandler.addOptionValues(this._items.map(i=>i.optionProxy))}get emptyOptions(){return!this.optionSelectionService.loading&&this.items.length===0}get noResultsElementId(){return`${this.optionsId}-no-results`}ngAfterViewInit(){this.focusHandler.listbox=this.el.nativeElement,this.subscriptions.push(su(this.document,"scroll",{capture:!0}).subscribe(t=>{this.toggleService.open&&t.target!==this.el.nativeElement&&t.target!==this.focusHandler.textInput&&(this.toggleService.open=!1)}),this.items.changes.subscribe(t=>{t.length?setTimeout(()=>{this.focusHandler.focusFirstActive()}):this.focusHandler.pseudoFocus.pop()}))}ngOnDestroy(){this.subscriptions.forEach(t=>t.unsubscribe())}searchText(t){return this.commonStrings.parse(this.commonStrings.keys.comboboxSearching,{INPUT:t})}loadingStateChange(t){this.loading=t===Og.LOADING}}return e.\u0275fac=function(t){return new(t||e)(A(vh),A(bd),A(et),A(sr),A(Iy),A(ar),A(by,8),A(_n))},e.\u0275cmp=Me({type:e,selectors:[["clr-options"]],contentQueries:function(t,i,r){if(t&1&&wn(r,tX,5),t&2){let o;gt(o=mt())&&(i.items=o)}},hostVars:4,hostBindings:function(t,i){t&2&&(nl("id",i.optionsId),De("role","listbox"),Be("clr-combobox-options",!0))},inputs:{optionsId:[0,"id","optionsId"]},standalone:!1,features:[Et([{provide:Ag,useExisting:e}])],ngContentSelectors:Hi,decls:3,vars:2,consts:[["class","clr-combobox-options-loading",4,"ngIf"],["role","option",3,"id",4,"ngIf"],[1,"clr-combobox-options-loading"],["clrInline",""],[1,"clr-combobox-options-text"],["role","option",3,"id"],[1,"clr-combobox-options-empty-text"]],template:function(t,i){t&1&&(tn(),ue(0,aQ,5,2,"div",0)(1,lQ,3,2,"div",1),Ze(2)),t&2&&(L("ngIf",i.optionSelectionService.loading),E(),L("ngIf",i.emptyOptions))},dependencies:[rt,Sy],encapsulation:2}),e})(),mye=(()=>{class e extends oc{constructor(t,i,r,o,l,p,C,w,V,j,$,W,se,be){super(t,XK,i,r,o,l),this.control=r,this.renderer=o,this.el=l,this.optionSelectionService=p,this.commonStrings=C,this.toggleService=w,this.positionService=V,this.controlStateService=j,this.containerService=$,this.platformId=W,this.focusHandler=se,this.cdr=be,this.placeholder="",this.clrInputChange=new Ue(!1),this.clrOpenChange=this.toggleService.openChange,this.clrSelectionChange=this.optionSelectionService.selectionChanged,this.invalid=!1,this.focused=!1,this.smartPosition={axis:Co.VERTICAL,side:Sa.AFTER,anchor:
21In.START,content:In.START},this.index=1,this._searchText="",r&&(r.valueAccessor=this),p.selectionModel=new Rg,this.updateControlValue()}get multiSelect(){return this.optionSelectionService.multiselectable}set multiSelect(t){t?this.optionSelectionService.selectionModel=new my:this.optionSelectionService.selectionModel=new Rg,this.updateControlValue()}get id(){return this.controlIdService.id+"-combobox"}set id(t){super.id=t}get searchText(){return this._searchText}set searchText(t){t!==this._searchText&&(this.toggleService.open&&(this.optionSelectionService.showAllOptions=!1),this._searchText=t,this.clrInputChange.emit(this.searchText)),this.optionSelectionService.currentInput=this.searchText}get openState(){return this.toggleService.open}get multiSelectModel(){if(!this.multiSelect)throw Error("multiSelectModel is not available in single selection context");return this.optionSelectionService.selectionModel.model}get ariaControls(){return this.options?.optionsId}get ariaOwns(){return this.options?.optionsId}get ariaDescribedBySelection(){return"selection-"+this.id}get displayField(){return this.optionSelectionService.displayField}get disabled(){return this.control?.disabled}ngAfterContentInit(){this.initializeSubscriptions(),this.optionSelectionService.selectionModel.isEmpty()||this.updateInputValue(this.optionSelectionService.selectionModel)}ngAfterViewInit(){this.focusHandler.componentCdRef=this.cdr,this.focusHandler.textInput=this.textbox.nativeElement,this.focusHandler.trigger=this.trigger.nativeElement,this.el=this.textbox}onKeyUp(t){if(t.key===ht.Backspace&&this.multiSelect&&this._searchText.length===0){let i=this.optionSelectionService.selectionModel.model;if(i&&i.length>0){let r=i[i.length-1];this.control?.control.markAsTouched(),this.optionSelectionService.unselect(r)}}}inputId(){return this.controlIdService.id}loadingStateChange(t){this.optionSelectionService.loading=t===Og.LOADING,this.positionService.realign(),t!==Og.LOADING&&ui(this.platformId)&&this.focusFirstActive()}unselect(t){this.disabled||this.optionSelectionService.unselect(t)}onBlur(t){(!t.relatedTarget||!this.options.el?.nativeElement.contains(t.relatedTarget))&&(this.onTouchedCallback?.(),this.triggerValidation(),this.focused=!1)}onFocus(){this.focused=!0,this.cdr.detectChanges()}getSelectionAriaLabel(){return this.containerService&&this.containerService.labelText?`${this.containerService.labelText} ${this.commonStrings.keys.comboboxSelection}`:this.commonStrings.keys.comboboxSelection}focusFirstActive(){setTimeout(()=>{this.focusHandler.focusFirstActive()})}writeValue(t){this.optionSelectionService.selectionModel.model=t,this.updateInputValue(this.optionSelectionService.selectionModel)}registerOnTouched(t){this.onTouchedCallback=t}registerOnChange(t){this.onChangeCallback=t}getActiveDescendant(){let t=this.focusHandler.pseudoFocus.model;return t?t.id:this.options?.noResultsElementId}setDisabledState(){}focusInput(){this.focusHandler.focusInput()}initializeSubscriptions(){this.subscriptions.push(this.optionSelectionService.selectionChanged.subscribe(t=>{this.updateInputValue(t),this.multiSelect&&this.positionService.realign(),!this.multiSelect&&t&&!t.isEmpty()&&(this.toggleService.open=!1),this.updateControlValue()})),this.subscriptions.push(this.toggleService.openChange.subscribe(t=>{t?this.focusFirstActive():this.optionSelectionService.showAllOptions=!0,this.multiSelect?this.searchText="":this.searchText=this.getDisplayNames(this.optionSelectionService.selectionModel.model)[0]||""})),this.subscriptions.push(this.toggleService.popoverAligned.subscribe(t=>{if(!this.containerService)return;let i=t;i.getBoundingClientRect().top<this.el.nativeElement.getBoundingClientRect().top&&this.renderer.setStyle(t,"top",`${i.offsetTop+this.containerService.labelOffset}px`)})),this.controlStateService&&this.subscriptions.push(this.controlStateService.statusChanges.subscribe(t=>{this.invalid=this.control?.control.touched&&t===Zr.INVALID}))}updateInputValue(t){this.multiSelect||(this.searchText=t.model?this.getDisplayNames(t.model)[0]:"",this.searchText&&(this.optionSelectionService.currentInput=this.searchText))}updateControlValue(){this.onChangeCallback&&this.onChangeCallback(this.optionSelectionService.selectionModel.model)}getDisplayNames(t){return this.displayField?(Array.isArray(t)||(t=[t]),t.map(i=>i?i[this.displayField]:null)):[this.optionSelectionService.selectionModel.model]}}return e.\u0275fac=function(t){return new(t||e)(A(Nn),A(Gt),A(Ci,10),A(Lt),A(et),A(vh),A(sr),A(ar),A(yy),A(Kr,8),A(aD,8),A(xi),A(Iy),A(Yn))},e.\u0275cmp=Me({type:e,selectors:[["clr-combobox"]],contentQueries:function(t,i,r){if(t&1&&(wn(r,JK,5),wn(r,iX,5)),t&2){let o;gt(o=mt())&&(i.optionSelected=o.first),gt(o=mt())&&(i.options=o.first)}},viewQuery:function(t,i){if(t&1&&(xn(cQ,5),xn(dQ,5)),t&2){let r;
21gt(r=mt())&&(i.textbox=r.first),gt(r=mt())&&(i.trigger=r.first)}},hostVars:6,hostBindings:function(t,i){t&1&&oe("keydown",function(o){return i.onKeyUp(o)}),t&2&&Be("aria-required",!0)("clr-combobox",!0)("clr-combobox-disabled",i.control==null?null:i.control.disabled)},inputs:{placeholder:"placeholder",multiSelect:[0,"clrMulti","multiSelect"]},outputs:{clrInputChange:"clrInputChange",clrOpenChange:"clrOpenChange",clrSelectionChange:"clrSelectionChange"},standalone:!1,features:[Et([vh,{provide:Ag,useExisting:e},FP,CK,eX]),qc([Ng]),xt],ngContentSelectors:Hi,decls:9,vars:23,consts:[["textboxInput",""],["trigger",""],["clrPopoverAnchor","",1,"clr-combobox-wrapper",3,"click"],["role","grid","clrRovingTabindex","","clrDirection","both","class","clr-combobox-pills",3,"clrRovingTabindexDisabled",4,"ngIf"],["type","text","role","combobox","aria-haspopup","listbox","aria-autocomplete","list","autocomplete","off",1,"clr-input","clr-combobox-input",3,"ngModelChange","blur","focus","id","ngModel","disabled"],["clrPopoverOpenCloseButton","","type","button","tabindex","-1",1,"clr-combobox-trigger",3,"disabled"],["shape","angle","direction","down"],[1,"clr-focus-indicator"],["role","dialog",4,"clrPopoverContent","clrPopoverContentAt","clrPopoverContentOutsideClickToClose","clrPopoverContentScrollToClose"],["role","grid","clrRovingTabindex","","clrDirection","both",1,"clr-combobox-pills",3,"clrRovingTabindexDisabled"],["class","label label-combobox-pill","role","row",4,"ngFor","ngForOf"],["role","row",1,"label","label-combobox-pill"],["role","gridcell"],["clrKeyFocusItem","",1,"clr-combobox-pill-content"],[3,"ngTemplateOutlet","ngTemplateOutletContext",4,"ngIf"],["clrKeyFocusItem","","type","button",1,"clr-combobox-remove-btn",3,"click","disabled"],["shape","window-close","size","12"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],["role","dialog"]],template:function(t,i){if(t&1){let r=ze();tn(),F(0,"div",2),oe("click",function(){return ee(r),te(i.focusInput())}),ue(1,fQ,2,4,"span",3),F(2,"input",4,0),bt("ngModelChange",function(l){return ee(r),It(i.searchText,l)||(i.searchText=l),te(l)}),oe("blur",function(l){return ee(r),te(i.onBlur(l))})("focus",function(){return ee(r),te(i.onFocus())}),P(),F(4,"button",5,1),ye(6,"cds-icon",6),P(),ye(7,"div",7),P(),ue(8,gQ,2,0,"div",8)}t&2&&(Be("multi",i.multiSelect)("invalid",i.invalid)("disabled",i.control!=null&&i.control.disabled?!0:null),E(),L("ngIf",i.multiSelect&&i.optionSelectionService.selectionModel.model&&i.multiSelectModel.length>0),E(),L("id",i.inputId()),yt("ngModel",i.searchText),L("disabled",i.control!=null&&i.control.disabled?!0:null),De("aria-expanded",i.openState)("aria-owns",i.ariaOwns)("aria-invalid",i.control!=null&&i.control.invalid?!0:null)("aria-activedescendant",i.getActiveDescendant())("placeholder",i.placeholder),E(2),L("disabled",(i.control==null?null:i.control.disabled)||null),De("aria-label",i.commonStrings.keys.comboboxOpen),E(3),Be("clr-focus",i.focused),E(),L("clrPopoverContent",i.openState)("clrPopoverContentAt",i.smartPosition)("clrPopoverContentOutsideClickToClose",!1)("clrPopoverContentScrollToClose",!1))},dependencies:[rn,rt,ol,go,Vi,Wr,Zt,KK,HP,kP,LP,NP],encapsulation:2}),e})(),vye=(()=>{class e{constructor(t,i,r,o,l){this.template=t,this.differs=i,this.optionService=r,this.positionService=o,this.subscriptions=[],this.filter="",this.differ=null,this.iterableProxy=new rn(l,t,i),this.subscriptions.push(r.inputChanged.subscribe(p=>{this.filter=p,this.updateItems()}))}set rawItems(t){this._rawItems=t||[],this.updateItems()}set trackBy(t){this.iterableProxy.ngForTrackBy=t}set field(t){this._filterField=t,this.optionService.displayField=t}get hasResults(){return this.filteredItems?this.filteredItems.length:void 0}ngDoCheck(){this.differ||(this.differ=this.differs.find(this.filteredItems).create(this.iterableProxy.ngForTrackBy)),this.differ&&this.differ.diff(this.filteredItems)&&(this.iterableProxy.ngDoCheck(),this.positionService.realign())}ngOnDestroy(){this.subscriptions.forEach(t=>t.unsubscribe())}updateItems(){if(!this._rawItems||this.filter===void 0||this.filter===null)return;let t=ly(this.filter);this.optionService.showAllOptions?this.filteredItems=this._rawItems:this._filterField?this.filteredItems=this._rawItems.filter(i=>{let r=i[this._filterField];return r?ly(r).includes(t):!1}):this.filteredItems=this._rawItems.filter(i=>typeof i!="object"?ly(i).includes(t):Object.values(i).filter(o=>o!=null?ly(o).includes(t):!1).length>0),this.iterableProxy.ngForOf=this.filteredItems}}return e.\u0275fac=function(t){return new(t||e)(A(ir),A(Lu),A(vh),A(yy),A(Nn))},e.\u0275dir=He({type:e,selectors:[["","clrOptionItems","","clrOptionItemsOf",""]],inputs:{rawItems:[0,"clrOptionItemsOf","rawItems"],trackBy:[0,"clrOptionItemsTrackBy","trackBy"],field:[0,"clrOptionItemsField","field"]},standalone:!1}),e})();function ly(e){return e.toString().normalize("NFD").replace(new RegExp("\\p{Diacritic}","gu"),"").toLowerCase()}var rX=(()=>{class e{constructor(){Le.addIcons(yr,_r,ma,ld)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=We({type:e}),e.\u0275inj=$e({imports:[pt,os,on,DD,_i,ls,kg,mh,_i,ls]}),e})(),oX=(()=>{class e extends Id{}return e.\u0275fac=(()=>{let n;return function(i){return(n||(n=kn(e)))(i||e)}})(),e.\u0275cmp=Me({type:e,selectors:[["clr-input-container"]],hostVars:6,hostBindings:function(t,i){t&2&&Be("clr-form-control",!0)("clr-form-control-disabled",i.control==null?null:i.control.disabled)("clr-row",i.addGrid())},standalone:!1,features:[Et([Kr,Mr,yo,_o]),xt],ngContentSelectors:vQ,decls:13,vars:7,consts:[[4,"ngIf"],[1,"clr-control-container",3,"ngClass"],[1,"clr-input-wrapper"],[1,"clr-input-group"],["class","clr-validate-icon","shape","exclamation-circle","status","danger","aria-hidden","true",4,"ngIf"],["class","clr-validate-icon","shape","check-circle","status","success","aria-hidden","true",4,"ngIf"],["shape","exclamation-circle","status","danger","aria-hidden","true",1,"clr-validate-icon"],["shape","check-circle","status","success","aria-hidden","true",1,"clr-validate-icon"]],template:function(t,i){t&1&&(tn(mQ),Ze(0),ue(1,CQ,1,0,"label",0),F(2,"div",1)(3,"div",2)(4,"div",3),Ze(5,1),Ze(6,2),Ze(7,3),P(),ue(8,_Q,1,0,"cds-icon",4)(9,yQ,1,0,"cds-icon",5),P(),ue(10,bQ,1,0,"ng-content",0)(11,SQ,1,0,"ng-content",0)(12,IQ,1,0,"ng-content",0),P()),t&2&&(E(),L("ngIf",!i.label&&i.addGrid()),E(),L("ngClass",i.controlClass()),E(6),L("ngIf",i.showInvalid),E(),L("ngIf",i.showValid),E(),L("ngIf",i.showHelper),E(),L("ngIf",i.showInvalid),E(),L("ngIf",i.showValid))},dependencies:[Dn,rt,Zt,Tn],encapsulation:2}),e})(),BP=(()=>{class e extends oc{constructor(t,i,r,o,l){super(t,oX,i,r,o,l),this.index=1,this.el.nativeElement.getAttribute("type")==="number"&&console.warn(`Warning: Inputs of type "number" should utilize the number-input component for proper handling. 22 23 Example usage: 24 <clr-number-input-container> 25 <label>Number Input</label> 26 <input clrNumberInput type="number"/> 27 </clr-number-input-container> 28 `)}}return e.\u0275fac=function(t){return new(t||e)(A(Nn),A(Gt),A(Ci,10),A(Lt),A(et))},e.\u0275dir=He({type:e,selectors:[["","clrInput",""]],hostVars:2,hostBindings:function(t,i){t&2&&Be("clr-input",!0)},standalone:!1,features:[xt]}),e})(),jP=(()=>{class e{constructor(){Le.addIcons(yr,_r)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=We({type:e}),e.\u0275inj=$e({imports:[pt,os,on,_i,_i]}),e})(),sX=0,TD=(()=>{class e{constructor(){this._id="clr-datalist-"+ ++sX,this._idChange=new Pn(this._id)}get id(){return this._id}set id(t){this._id=t,this._idChange.next(t)}get idChange(){return this._idChange.asObservable()}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=le({token:e,factory:e.\u0275fac}),e})(),Cye=(()=>{class e{constructor(t){this.datalistIdService=t,this.subscriptions=[]}set id(t){t&&this.datalistIdService?(this.datalistId=t,this.datalistIdService.id=t):t&&(this.datalistId=t)}ngAfterContentInit(){this.datalistIdService&&this.subscriptions.push(this.datalistIdService.idChange.subscribe(t=>this.datalistId=t))}ngOnDestroy(){this.subscriptions.forEach(t=>t.unsubscribe())}}return e.\u0275fac=function(t){return new(t||e)(A(TD,8))},e.\u0275dir=He({type:e,selectors:[["datalist"]],hostVars:1,hostBindings:function(t,i){t&2&&nl("id",i.datalistId)},inputs:{id:"id"},standalone:!1}),e})(),Ch=(()=>{class e{constructor(){this._focused=new Pn(!1)}get focusChange(){return this._focused.asObservable()}set focused(t){this._focused.next(t)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=le({token:e,factory:e.\u0275fac}),e})(),aX=(()=>{class e extends Id{constructor(t,i,r,o,l){super(l,i,t,r),this.ifControlStateService=l,this.focus=!1,this.subscriptions.push(o.focusChange.subscribe(p=>this.focus=p))}}return e.\u0275fac=function(t){return new(t||e)(A(_o),A(rc,8),A(Mr),A(Ch),A(Kr))},e.\u0275cmp=Me({type:e,selectors:[["clr-datalist-container"]],hostVars:6,hostBindings:function(t,i){t&2&&Be("clr-form-control",!0)("clr-form-control-disabled",i.control==null?null:i.control.disabled)("clr-row",i.addGrid())},standalone:!1,features:[Et([_o,yo,Ch,Mr,TD,Kr]),xt],ngContentSelectors:wQ,decls:13,vars:9,consts:[[4,"ngIf"],[1,"clr-control-container",3,"ngClass"],[1,"clr-input-wrapper"],[1,"clr-input-group"],["shape","angle","direction","down",1,"clr-datalist-caret"],["class","clr-validate-icon","shape","exclamation-circle","status","danger","aria-hidden","true",4,"ngIf"],["class","clr-validate-icon","shape","check-circle","status","success","aria-hidden","true",4,"ngIf"],["shape","exclamation-circle","status","danger","aria-hidden","true",1,"clr-validate-icon"],["shape","check-circle","status","success","aria-hidden","true",1,"clr-validate-icon"]],template:function(t,i){t&1&&(tn(EQ),Ze(0),ue(1,xQ,1,0,"label",0),F(2,"div",1)(3,"div",2)(4,"div",3),Ze(5,1),Ze(6,2),ye(7,"cds-icon",4),P(),ue(8,DQ,1,0,"cds-icon",5)(9,TQ,1,0,"cds-icon",6),P(),ue(10,MQ,1,0,"ng-content",0)(11,AQ,1,0,"ng-content",0)(12,OQ,1,0,"ng-content",0),P()),t&2&&(E(),L("ngIf",!i.label&&i.addGrid()),E(),L("ngClass",i.controlClass()),E(2),Be("clr-focus",i.focus),E(4),L("ngIf",i.showInvalid),E(),L("ngIf",i.showValid),E(),L("ngIf",i.showHelper),E(),L("ngIf",i.showInvalid),E(),L("ngIf",i.showValid))},dependencies:[Dn,rt,Tn,Zt],encapsulation:2}),e})(),_ye=(()=>{class e extends oc{constructor(t,i,r,o,l,p,C){if(super(i,aX,r,o,l,p),this.focusService=t,this.datalistIdService=C,!t)throw new Error("clrDatalist requires being wrapped in <clr-datalist-container>")}ngAfterContentInit(){this.subscriptions.push(this.datalistIdService.idChange.subscribe(t=>this.listValue=t))}triggerFocus(){this.focusService&&(this.focusService.focused=!0)}triggerValidation(){super.triggerValidation(),this.focusService&&(this.focusService.focused=!1)}}return e.\u0275fac=function(t){return new(t||e)(A(Ch,8),A(Nn),A(Gt),A(Ci,10),A(Lt),A(et),A(TD))},e.\u0275dir=He({type:e,selectors:[["","clrDatalistInput",""]],hostVars:3,hostBindings:function(t,i){t&1&&oe("focus",function(){return i.triggerFocus()})("blur",function(){return i.triggerValidation()}),t&2&&(De("list",i.listValue),Be("clr-input",!0))},standalone:!1,features:[xt]}),e})(),lX=(()=>{class e{constructor(){Le.addIcons(yr,_r)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=We({type:e}),e.\u0275inj=$e({imports:[pt,jP,on]}),e})();var cX=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=We({type:e}),e.\u0275inj=$e({imports:[pt,on,Lg,hh]}),e})();var dX=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=We({type:e}),e.\u0275inj=$e({imports:[pt,on]}),e})();var uX=768;var hX=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=We({type:e}),e.\u0275inj=$e({imports:[pt,on,yD]}),e})(),pX=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=Me({type:e,selectors:[["ng-component"]],viewQuery:function(t,i){if(t&1&&xn(ir,5),t&2){let r;
28gt(r=mt())&&(i.template=r.first)}},standalone:!1,ngContentSelectors:Hi,decls:1,vars:0,template:function(t,i){t&1&&(tn(),ue(0,RQ,1,0,"ng-template"))},encapsulation:2}),e})();var fX=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=We({type:e}),e.\u0275inj=$e({imports:[pt]}),e})(),gX=(()=>{class e extends PP{}return e.\u0275fac=(()=>{let n;return function(i){return(n||(n=kn(e)))(i||e)}})(),e.\u0275dir=He({type:e,selectors:[["clr-tabs"]],standalone:!1,features:[xt]}),e})(),yye=(()=>{class e extends pK{constructor(t,i,r,o){if(!i)throw new Error("clrTabLink and clr-tab-content should only be used inside of a clr-tabs");super(t,i),this.ifActive=o,this.id=r}get flavor(){return this.ifActive.current===this.id}}return e.\u0275fac=function(t){return new(t||e)(A(Yn),A(gX,8),A(bd),A(Cd))},e.\u0275dir=He({type:e,selectors:[["","clrTabLink",""],["clr-tab-content"]],standalone:!1,features:[xt]}),e})(),vd=(function(e){return e.HORIZONTAL="horizontal",e.VERTICAL="vertical",e})(vd||{}),Pg=(()=>{class e{constructor(){this.layout=vd.HORIZONTAL,this._children=[]}get children(){return this._children}get activeTab(){return this.children.find(t=>t.active)}get overflowTabs(){return this.layout===vd.VERTICAL?[]:this.children.filter(t=>t.tabLink.inOverflow===!0)}register(t){this._children.push(t)}unregister(t){let i=this.children.indexOf(t);i>-1&&this.children.splice(i,1)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=le({token:e,factory:e.\u0275fac}),e})(),mX=0,vX=(()=>{class e{constructor(t,i,r){this.ifActiveService=t,this.id=i,this.tabsService=r,this.tabContentId||(this.tabContentId="clr-tab-content-"+mX++)}get active(){return this.ifActiveService.current===this.id}get ariaLabelledBy(){return this.tabsService.children.find(t=>t.tabLink.id===this.id)?.tabLink?.tabLinkId}set templateRef(t){this.viewRef=this.tabsService.tabContentViewContainer.createEmbeddedView(t)}ngOnDestroy(){let t=this.tabsService.tabContentViewContainer.indexOf(this.viewRef);t>-1&&this.tabsService.tabContentViewContainer.remove(t)}}return e.\u0275fac=function(t){return new(t||e)(A(Cd),A(bd),A(Pg))},e.\u0275cmp=Me({type:e,selectors:[["clr-tab-content"]],viewQuery:function(t,i){if(t&1&&xn(PQ,7),t&2){let r;gt(r=mt())&&(i.templateRef=r.first)}},inputs:{tabContentId:[0,"id","tabContentId"]},standalone:!1,ngContentSelectors:Hi,decls:2,vars:0,consts:[["tabContentProjectedRef",""],["role","tabpanel",1,"tab-content",3,"id","hidden"]],template:function(t,i){t&1&&(tn(),ue(0,kQ,2,6,"ng-template",null,0,Nu))},encapsulation:2}),e})(),CX=0,MD=new me("TABS_ID");function _X(){return"clr-tabs-"+CX++}var yX={provide:MD,useFactory:_X},bX=0,SX=(()=>{class e{constructor(t,i,r,o,l,p,C){this.ifActiveService=t,this.id=i,this.el=r,this.tabsService=p,this.tabsId=C,this.tabLinkId||(this.tabLinkId="clr-tab-link-"+bX++);let w=o.resolveComponentFactory(pX);this.templateRefContainer=l.createComponent(w,void 0,void 0,[[r.nativeElement]]).instance}get inOverflow(){return this._inOverflow&&this.tabsService.layout!==vd.VERTICAL}set inOverflow(t){this._inOverflow=t}get addLinkClasses(){return!this.inOverflow}get ariaControls(){return this.tabsService.children.find(t=>t.tabLink===this)?.tabContent?.tabContentId}get active(){return this.ifActiveService.current===this.id}get tabindex(){return this.active?0:-1}activate(){this.ifActiveService.current=this.id}}return e.\u0275fac=function(t){return new(t||e)(A(Cd),A(bd),A(et),A(Ul),A(Nn),A(Pg),A(MD))},e.\u0275dir=He({type:e,selectors:[["","clrTabLink",""]],hostAttrs:["role","tab","type","button"],hostVars:12,hostBindings:function(t,i){t&1&&oe("click",function(){return i.activate()}),t&2&&(nl("id",i.tabLinkId),De("aria-controls",i.ariaControls)("aria-selected",i.active)("tabindex",i.tabindex),Be("btn",!0)("btn-link",i.addLinkClasses)("nav-link",i.addLinkClasses)("active",i.active))},inputs:{tabLinkId:[0,"id","tabLinkId"],inOverflow:[0,"clrTabLinkInOverflow","inOverflow"]},standalone:!1}),e})(),IX=(()=>{class e{constructor(t,i,r){this.ifActiveService=t,this.id=i,this.tabsService=r,r.register(this)}get active(){return this.ifActiveService.current===this.id}ngOnDestroy(){this.tabsService.unregister(this)}}return e.\u0275fac=function(t){return new(t||e)(A(Cd),A(bd),A(Pg))}
28,e.\u0275cmp=Me({type:e,selectors:[["clr-tab"]],contentQueries:function(t,i,r){if(t&1&&(wn(r,SX,7),wn(r,vX,7)),t&2){let o;gt(o=mt())&&(i.tabLink=o.first),gt(o=mt())&&(i.tabContent=o.first)}},standalone:!1,features:[Et([FP])],ngContentSelectors:Hi,decls:1,vars:0,template:function(t,i){t&1&&(tn(),Ze(0))},encapsulation:2}),e})(),EX=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=He({type:e,selectors:[["","clrTabAction",""]],hostAttrs:["tabindex","0"],standalone:!1}),e})(),xP=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=Me({type:e,selectors:[["clr-tab-overflow-content"]],hostVars:2,hostBindings:function(t,i){t&2&&Be("dropdown-menu",!0)},standalone:!1,ngContentSelectors:Hi,decls:1,vars:0,template:function(t,i){t&1&&(tn(),Ze(0))},encapsulation:2}),e})(),bye=(()=>{class e{constructor(t,i,r,o,l){this.ifActiveService=t,this.toggleService=i,this.tabsService=r,this.tabsId=o,this.commonStrings=l,this.tabLinkElements=[],this._mousedown=!1,this.subscriptions=[],this._tabLinkDirectives=[]}get layout(){return this.tabsService.layout}set layout(t){Object.keys(vd).map(i=>vd[i]).indexOf(t)>=0&&(this.tabsService.layout=t)}get tabLinkDirectives(){return this._tabLinkDirectives}get activeTabInOverflow(){return this.tabsService.overflowTabs.indexOf(this.tabsService.activeTab)>-1}get activeTabPosition(){return this._tabLinkDirectives.findIndex(t=>t.active)}get isCurrentInOverflow(){return this.keyFocus.current>=this.overflowPosition}get isVertical(){return this.layout===vd.VERTICAL}set tabOverflowEl(t){this._tabOverflowEl=t&&t.nativeElement,this.toggleService.open&&t&&this.keyFocus.focusCurrent()}get overflowPosition(){return this._tabLinkDirectives.filter(t=>!t.inOverflow).length}set tabContentViewContainer(t){this.tabsService.tabContentViewContainer=t}ngAfterContentInit(){this.subscriptions.push(this.listenForTabLinkChanges()),this.subscriptions.push(this.listedForTabsActionsChanges()),typeof this.ifActiveService.current>"u"&&this.tabLinkDirectives[0]&&this.tabLinkDirectives[0].activate(),this.keyFocus.current=this.activeTabPosition}ngOnDestroy(){this.subscriptions.forEach(t=>{t.unsubscribe()})}toggleOverflowOnPosition(t){this.toggleService.open=t>=this.overflowPosition}resetKeyFocusCurrentToActive(t){!this.keyFocus.nativeElement.contains(t.relatedTarget)&&this.keyFocus.current!==this.activeTabPosition&&(this.keyFocus.current=this.activeTabPosition)}toggleOverflowOnClick(){this.isCurrentInOverflow&&this.toggleService.open?this.keyFocus.moveTo(this.overflowPosition-1):this.keyFocus.moveTo(this.overflowPosition),this._mousedown=!1}openOverflowOnFocus(){!this._mousedown&&!this.toggleService.open&&this.keyFocus.moveTo(this.activeTabPosition)}closeOnFocusOut(t){!this._tabOverflowEl.contains(t.relatedTarget)&&this.toggleService.open&&!this._mousedown&&(this.toggleService.open=!1,this.tabLinkElements[this.activeTabPosition]===t.relatedTarget&&(this.keyFocus.current=this.activeTabPosition))}closeOnEscapeKey(){this.keyFocus.moveTo(this.overflowPosition-1)}closeOnOutsideClick(t,i){let r=this.tabsActions.some(o=>o.nativeElement.contains(t.target));t.target===i||i.contains(t.target)||r||!this._tabOverflowEl.contains(t.target)&&this.isCurrentInOverflow&&this.keyFocus.moveTo(this.overflowPosition-1)}setTabLinkElements(){this._tabLinkDirectives=this.tabs.map(t=>t.tabLink),this.tabLinkElements=this._tabLinkDirectives.map(t=>t.el.nativeElement),this.tabsActions&&this.tabLinkElements.push(...this.tabsActions.map(t=>t.nativeElement))}listenForTabLinkChanges(){return this.tabs.changes.pipe(Qs(this.tabs.map(t=>t.tabLink))).subscribe(()=>this.setTabLinkElements())}listedForTabsActionsChanges(){return this.tabsActions.changes.subscribe(()=>this.setTabLinkElements())}}return e.\u0275fac=function(t){return new(t||e)(A(Cd),A(ar),A(Pg),A(MD),A(sr))},e.\u0275cmp=Me({type:e,selectors:[["clr-tabs"]],contentQueries:function(t,i,r){if(t&1&&(wn(r,
28EX,5,et),wn(r,IX,4)),t&2){let o;gt(o=mt())&&(i.tabsActions=o),gt(o=mt())&&(i.tabs=o)}},viewQuery:function(t,i){if(t&1&&(xn(sD,7),xn(xP,5,et),xn(NQ,7,Nn)),t&2){let r;gt(r=mt())&&(i.keyFocus=r.first),gt(r=mt())&&(i.tabOverflowEl=r.first),gt(r=mt())&&(i.tabContentViewContainer=r.first)}},hostVars:2,hostBindings:function(t,i){t&2&&Be("tabs-vertical",i.isVertical)},inputs:{layout:[0,"clrLayout","layout"]},standalone:!1,features:[Et([Cd,Pg,yX]),qc([Ng])],ngContentSelectors:FQ,decls:6,vars:3,consts:[["tabContentViewContainer",""],["tabOverflowTrigger",""],["role","tablist","clrDirection","both",1,"nav",3,"clrFocusChange","focusout","clrKeyFocus"],[4,"ngFor","ngForOf"],[4,"ngIf"],["role","presentation",1,"nav-item"],[3,"ngTemplateOutlet"],["role","presentation",1,"tabs-overflow","bottom-right"],["role","application",1,"nav-item"],["type","button","aria-hidden","true",1,"btn","btn-link","nav-link","dropdown-toggle",3,"mousedown","focus","click"],["shape","ellipsis-horizontal"],[3,"keydown.escape","click","focusout",4,"ngIf"],[3,"keydown.escape","click","focusout"],[3,"ngTemplateOutlet",4,"ngIf"]],template:function(t,i){if(t&1){let r=ze();tn(LQ),F(0,"ul",2),oe("clrFocusChange",function(l){return ee(r),te(i.toggleOverflowOnPosition(l))})("focusout",function(l){return ee(r),te(i.resetKeyFocusCurrentToActive(l))}),ue(1,UQ,2,1,"ng-container",3)(2,zQ,7,11,"ng-container",4),Ze(3),P(),sa(4,null,0)}t&2&&(L("clrKeyFocus",i.tabLinkElements),E(),L("ngForOf",i.tabLinkDirectives),E(),L("ngIf",i.tabsService.overflowTabs.length>0))},dependencies:[rn,rt,ol,Zt,sD,xP],encapsulation:2}),e})();var wX=(()=>{class e{constructor(){Le.addIcons(D_)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=We({type:e}),e.\u0275inj=$e({imports:[pt,ls,on,fX,DD,ls]}),e})(),DP=(()=>{class e{constructor(){this.navGroupCount=0}registerNavGroup(){this.navGroupCount++}unregisterNavGroup(){this.navGroupCount--}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=le({token:e,factory:e.\u0275fac}),e})(),TP=(()=>{class e{constructor(){this._icons=0}get hasIcons(){return this._icons>0}registerIcon(){this._icons++}unregisterIcon(){this._icons--}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=le({token:e,factory:e.\u0275fac}),e})(),MP=(()=>{class e{constructor(){this._animateOnCollapsed=new Qe,this._collapsedChanged=new Qe,this._collapsed=!1,this._collapsible=!1}
28get animateOnCollapsed(){return this._animateOnCollapsed.asObservable()}get collapsedChanged(){return this._collapsedChanged.asObservable()}get collapsed(){return this._collapsed}set collapsed(t){t=!!t,this.collapsible&&this._collapsed!==t&&this.updateCollapseBehavior(t)}get collapsible(){return this._collapsible}set collapsible(t){t=!!t,this._collapsible!==t&&(!t&&this.collapsed&&this.updateCollapseBehavior(!1),this._collapsible=t)}updateCollapseBehavior(t){this._animateOnCollapsed.next(t),this._collapsed=t,this._collapsedChanged.next(t)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=le({token:e,factory:e.\u0275fac}),e})(),xX=(()=>{class e{constructor(t,i,r,o){this._navService=t,this._navIconService=i,this._navGroupRegistrationService=r,this.commonStrings=o,this.contentId=yd(),this._collapsedChanged=new Ue(!0),this._sub=t.collapsedChanged.subscribe(l=>{this._collapsedChanged.emit(l)})}get collapsible(){return this._navService.collapsible}set collapsible(t){this._navService.collapsible=t}get collapsed(){return this._navService.collapsed}set collapsed(t){this._navService.collapsed=t}get hasNavGroups(){return this._navGroupRegistrationService.navGroupCount>0}get hasIcons(){return this._navIconService.hasIcons}get ariaExpanded(){return this.collapsible?this.collapsed?"false":"true":null}ngOnDestroy(){this._sub.unsubscribe()}toggleByButton(){this.collapsed=!this.collapsed}}return e.\u0275fac=function(t){return new(t||e)(A(MP),A(TP),A(DP),A(sr))},e.\u0275cmp=Me({type:e,selectors:[["clr-vertical-nav"]],hostAttrs:[1,"clr-vertical-nav"],hostVars:6,hostBindings:function(t,i){t&2&&Be("is-collapsed",i.collapsed)("has-nav-groups",i.hasNavGroups)("has-icons",i.hasIcons)},inputs:{toggleLabel:[0,"clrVerticalNavToggleLabel","toggleLabel"],collapsible:[0,"clrVerticalNavCollapsible","collapsible"],collapsed:[0,"clrVerticalNavCollapsed","collapsed"]},outputs:{_collapsedChanged:"clrVerticalNavCollapsedChange"},standalone:!1,features:[Et([MP,TP,DP])],ngContentSelectors:Hi,decls:4,vars:3,consts:[["type","button","class","nav-trigger",3,"on-collapse","click",4,"ngIf"],[1,"nav-content",3,"id"],["type","button","class","nav-btn","aria-hidden","true","tabindex","-1",3,"click",4,"ngIf"],["type","button",1,"nav-trigger",3,"click"],["shape","angle-double",1,"nav-trigger-icon"],["type","button","aria-hidden","true","tabindex","-1",1,"nav-btn",3,"click"]],template:function(t,i){t&1&&(tn(),ue(0,GQ,2,6,"button",0),F(1,"div",1),Ze(2),ue(3,$Q,1,2,"button",2),P()),t&2&&(L("ngIf",i.collapsible),E(),L("id",i.contentId),E(2),L("ngIf",i.collapsible&&i.collapsed))},dependencies:[rt,Zt],encapsulation:2}),e})(),DX=(()=>{class e{constructor(){this._expandChange=new Qe}get expandChange(){return this._expandChange.asObservable()}expand(){this._expandChange.next(!0)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=le({token:e,factory:e.\u0275fac}),e})();var TX=(()=>{class e{constructor(t,i,r){this.destroy$=new Qe,r&&su(t.nativeElement,"click").pipe(vi(this.destroy$)).subscribe(()=>{r.expand(),i.markForCheck()})}ngOnDestroy(){this.destroy$.next()}}return e.\u0275fac=function(t){return new(t||e)(A(et),A(Yn),A(DX,8))},e.\u0275cmp=Me({type:e,selectors:[["","clrVerticalNavLink",""]],hostAttrs:[1,"nav-link"],standalone:!1,attrs:WQ,ngContentSelectors:qQ,decls:3,vars:0,consts:[[1,"nav-text"]],template:function(t,i){t&1&&(tn(YQ),Ze(0),F(1,"span",0),Ze(2,1),P())},encapsulation:2}),e})();var zP=(()=>{class e{constructor(){Le.addIcons(ma,x_)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=We({type:e}),e.\u0275inj=$e({imports:[pt,on,ls,gy,ls,on,gy]}),e})(),MX=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=We({type:e}),e.\u0275inj=$e({imports:[dX,hX,wX,zP,cX]}),e})(),GP=(()=>{class e extends Jx{constructor(t,i,r){super(t,i,r)}}return e.\u0275fac=function(t){return new(t||e)(A(et),A(ay),A(_n,8))},e.\u0275dir=He({type:e,selectors:[["","cdkTrapFocus",""]],standalone:!1,features:[xt]}),e})(),Ey=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=We({type:e}),e.\u0275inj=$e({}),e})(),AX="dd/MM/y",OX=/d+.+m+.+y+/i,RX=/m+.+d+.+y+/i,PX=/d+|m+|y+/i,kX=/\d+/g,NX=/Mobi/i,LX=/\u200f/g,AD="YYYY",OD="MM",RD="DD",cy={name:"LITTLE_ENDIAN",format:[RD,OD,AD]},eD={name:"MIDDLE_ENDIAN",format:[OD,RD,AD]},FX={name:"BIG_ENDIAN",format:[AD,OD,RD]},gh=7,$P=6,VX=gh*$P;function WP(e,n){return new Date(e,n+1,0).getDate()}function UX(e,n,t){return new Date(e,n,t).getDay()}function HX(e){if(e>9999||e>100&&e<999||e<10)return-1;if(e>999)return e;let n=new Date().getFullYear(),t=Math.floor(n/100)*100,i=e+t;return i>n+20&&(i=i-100),i}function BX(e,n){return e instanceof Date&&n instanceof Date?e.getFullYear()===n.getFullYear()&&e.getMonth()===n.getMonth()&&e.getDate()===n.getDate():!1}var dD=class{constructor(n,t=!1,i=!1,r=!1,o=!1,l=!1,p=!1,C=!1){this.dayModel=n,this.isTodaysDate=t,this.isExcluded=i,this.isDisabled=r,this.isSelected=o,this.isFocusable=l,this.isRangeStartDay=p,this.isRangeEndDay=C}get tabIndex(){return this.isFocusable?0:-1}},Wo=class e{constructor(n,t,i){this.year=n,this.month=t,this.date=i}isEqual(n){return n?this.year===n.year&&this.month===n.month&&this.date===n.date:!1}toDate(){return new Date(this.year,this.month,this.date)}incrementBy(n){let t=new Date(this.year,this.month,this.date+n);return new e(t.getFullYear(),t.getMonth(),t.getDate())}clone(){return new e(this.year,this.month,this.date)}toComparisonString(){return`${this.year}${this.pad(this.month)}${this.pad(this.date)}`}toDateString(){return this.toDate().toLocaleDateString(void 0,{weekday:"long",month:"long",day:"numeric",year:"numeric"})}isBefore(n,t=!1){return t?this.toDate().getTime()<=n?.toDate().getTime():this.toDate().getTime()<n?.toDate().getTime()}isAfter(n,t=!1){return t?this.toDate().getTime()>=n?.toDate().getTime():this.toDate().getTime()>n?.toDate().getTime()}pad(n){return n<10?`0${n}`:`${n}`}},uD=class{constructor(n,t,i,r,o,l,p){this.calendar=n,this.selectedDay=t,this.selectedEndDay=i,this.focusableDay=r,this.today=o,this.firstDayOfWeek=l,this.excludedDates=p,this.currMonthDayViews=[],this.initializeCalendarView()}get calendarView(){return this._calendarView}updateFocusableDay(n){this.setFocusableFlag(this.focusableDay,!1),this.setFocusableFlag(n,!0),this.focusableDay=n}updateSelectedDay(n){this.setSelectedDay(this.selectedDay,!1),this.selectedDay=n,this.setSelectedDay(n,!0)}updateSelectedEndDay(n){this.setSelectedDay(this.selectedEndDay,!1),this.selectedEndDay=n,this.setSelectedDay(n,!0)}initializeCalendarView(){let n=this.calendar.previousMonth(),t=this.calendar.nextMonth(),i=this.numDaysFromPrevMonthInCalView(this.calendar.year,this.calendar.month),r=VX-(this.calendar.days.length+i),o=[],l=[];i>0&&(o=this.generateDayViewModels(n.days.slice(-1*i),!0,!1)),this.currMonthDayViews=this.generateDayViewModels(this.calendar.days,!1,!0),r>0&&(l=this.generateDayViewModels(t.days.slice(0,r),!0,!1)),this._calendarView=this.generateCalendarView(o,this.currMonthDayViews,l),this.initializeSelectedDay(),this.initializeFocusableDay()}isDateExcluded(n){let{minDate:t,maxDate:i}=this.excludedDates,r=t.toComparisonString(),o=i.toComparisonString(),l=n.toComparisonString();return!(l>=r&&l<=o)}generateDayViewModels(n,t,i){let r=n.map(o=>new dD(o,!1,t,this.isDateExcluded(o),!1,!1));return i&&this.calendar.isDayInCalendar(this.today)&&(r[this.today.date-1].isTodaysDate=!0),r}numDaysFromPrevMonthInCalView(n,t){let i=UX(n,t,1);return i>=this.firstDayOfWeek?i-this.firstDayOfWeek:gh+i-this.firstDayOfWeek}isDayInCalendarView(n){return!!this.calendar.isDayInCalendar(n)}generateCalendarView(n,t,i){let r=[...n,...t,...i],o=[];for(let l=0;l<$P;
28l++)o[l]=r.slice(l*gh,(l+1)*gh);return o}initializeSelectedDay(){this.setSelectedDay(this.selectedDay,!0),this.setSelectedDay(this.selectedEndDay,!0)}initializeFocusableDay(){this.focusableDay&&this.isDayInCalendarView(this.focusableDay)?this.setFocusableFlag(this.focusableDay,!0):this.selectedDay&&this.isDayInCalendarView(this.selectedDay)?(this.setFocusableFlag(this.selectedDay,!0),this.focusableDay=this.selectedDay.clone()):this.selectedEndDay&&this.isDayInCalendarView(this.selectedEndDay)?(this.setFocusableFlag(this.selectedEndDay,!0),this.focusableDay=this.selectedEndDay.clone()):this.isDayInCalendarView(this.today)?(this.setFocusableFlag(this.today,!0),this.focusableDay=this.today.clone()):(this.focusableDay=new Wo(this.calendar.year,this.calendar.month,15),this.setFocusableFlag(this.focusableDay,!0))}setFocusableFlag(n,t){n&&(this.currMonthDayViews[n.date-1].isFocusable=t)}setSelectedDay(n,t){n&&this.isDayInCalendarView(n)&&(this.currMonthDayViews[n?.date-1].isSelected=t)}},Fg=(()=>{class e{constructor(t){this.locale=t,this._firstDayOfWeek=0,this.initializeLocaleData()}get firstDayOfWeek(){return this._firstDayOfWeek}get localeDays(){return this._localeDays}get localeDaysNarrow(){return this._localeDays.map(t=>t.narrow)}get localeMonthsAbbreviated(){return this._localeMonthsAbbreviated}get localeMonthsWide(){return this._localeMonthsWide}get localeDateFormat(){return this._localeDateFormat}initializeLocaleData(){this.initializeFirstDayOfWeek(),this.initializeLocaleDateFormat(),this.initializeLocaleMonthsAbbreviated(),this.initializeLocaleMonthsWide(),this.initializeLocaleDays()}initializeLocaleDays(){let t=[],i=wf(this.locale,Di.Standalone,gn.Wide).slice(),r=wf(this.locale,Di.Standalone,gn.Narrow).slice(),o=this.firstDayOfWeek;for(let l=0;l<7;l++)t.push({day:i[l],narrow:r[l]});if(o>0){let l=t.splice(0,o);t.push(...l)}this._localeDays=t}initializeLocaleMonthsAbbreviated(){this._localeMonthsAbbreviated=xf(this.locale,Di.Standalone,gn.Abbreviated).slice()}initializeLocaleMonthsWide(){this._localeMonthsWide=xf(this.locale,Di.Standalone,gn.Wide).slice()}initializeFirstDayOfWeek(){this._firstDayOfWeek=IE(this.locale)}initializeLocaleDateFormat(){this._localeDateFormat=Qc(this.locale,Dr.Short)}}return e.\u0275fac=function(t){return new(t||e)(ae(di))},e.\u0275prov=le({token:e,factory:e.\u0275fac}),e})(),pl=class e{constructor(n,t){this.year=n,this.month=t,this.initializeDaysInCalendar()}isEqual(n){return n?this.year===n.year&&this.month===n.month:!1}isDayInCalendar(n){return n?this.year===n.year&&this.month===n.month:!1}previousMonth(){return this.month===0?new e(this.year-1,11):new e(this.year,this.month-1)}nextMonth(){return this.month===11?new e(this.year+1,0):new e(this.year,this.month+1)}previousYear(){return new e(this.year-1,this.month)}nextYear(){return new e(this.year+1,this.month)}initializeDaysInCalendar(){let n=WP(this.year,this.month);this.days=Array(n).fill(null).map((t,i)=>new Wo(this.year,this.month,i+1))}},Us=(()=>{class e{constructor(){this.isRangePicker=!1,this.hasActionButtons=!1,this._todaysFullDate=new Date,this._selectedDayChange=new Qe,this._selectedEndDayChange=new Qe,this._displayedCalendarChange=new Qe,this._focusOnCalendarChange=new Qe,this._refreshCalendarView=new Qe,this._focusedDayChange=new Qe}get today(){return this._today}get displayedCalendar(){return this._displayedCalendar}get selectedDayChange(){return this._selectedDayChange.asObservable()}get selectedEndDayChange(){return this._selectedEndDayChange.asObservable()}get displayedCalendarChange(){return this._displayedCalendarChange.asObservable()}get focusOnCalendarChange(){return this._focusOnCalendarChange.asObservable()}get focusedDayChange(){return this._focusedDayChange.asObservable().pipe(pn(t=>this.focusedDay=t))}get refreshCalendarView(){return this._refreshCalendarView.asObservable()}notifySelectedDayChanged(t,{emitEvent:i}={emitEvent:!0}){if(this.isRangePicker){let{startDate:r,endDate:o}=t;r&&o?(this.setSelectedDay(r,i),this.setSelectedEndDay(o,i)):(o!==null&&this.setSelectedEndDay(o,i),r!==null&&this.setSelectedDay(r,i))}else{let r=t;this.setSelectedDay(r,i)}this._refreshCalendarView.next()}
28initializeCalendar(){this.focusedDay=null,this.initializeTodaysDate(),this.selectedDay?this._displayedCalendar=new pl(this.selectedDay.year,this.selectedDay.month):this._displayedCalendar=new pl(this.today.year,this.today.month)}changeMonth(t){this.setDisplayedCalendar(new pl(this._displayedCalendar.year,t))}changeYear(t){this.setDisplayedCalendar(new pl(t,this._displayedCalendar.month))}moveToNextMonth(){this.setDisplayedCalendar(this._displayedCalendar.nextMonth())}moveToPreviousMonth(){this.setDisplayedCalendar(this._displayedCalendar.previousMonth())}moveToNextYear(){this.setDisplayedCalendar(this._displayedCalendar.nextYear())}moveToPreviousYear(){this.setDisplayedCalendar(this._displayedCalendar.previousYear())}moveToCurrentMonth(){this.displayedCalendar.isDayInCalendar(this.today)||this.setDisplayedCalendar(new pl(this.today.year,this.today.month)),this._focusOnCalendarChange.next()}moveToSpecificMonth(t){this.displayedCalendar.isDayInCalendar(t)||this.setDisplayedCalendar(new pl(t.year,t.month))}incrementFocusDay(t){this.hoveredDay=this.focusedDay=this.focusedDay.incrementBy(t),this._displayedCalendar.isDayInCalendar(this.focusedDay)?this._focusedDayChange.next(this.focusedDay):this.setDisplayedCalendar(new pl(this.focusedDay.year,this.focusedDay.month)),this._focusOnCalendarChange.next()}resetSelectedDay(){this.selectedDay=this.persistedDate,this.selectedEndDay=this.persistedEndDate}convertDateToDayModel(t){return new Wo(t.getFullYear(),t.getMonth(),t.getDate())}setSelectedDay(t,i){this.selectedDay=t,i&&this._selectedDayChange.next(t)}setSelectedEndDay(t,i){this.selectedEndDay=t,i&&this._selectedEndDayChange.next(t)}setDisplayedCalendar(t){this._displayedCalendar.isEqual(t)||(this._displayedCalendar=t,this._displayedCalendarChange.next())}initializeTodaysDate(){this._todaysFullDate=new Date,this._today=new Wo(this._todaysFullDate.getFullYear(),this._todaysFullDate.getMonth(),this._todaysFullDate.getDate())}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=le({token:e,factory:e.\u0275fac}),e})(),sc=(()=>{class e{constructor(t,i){this._ngZone=t,this.platformId=i}focusCell(t){this._ngZone.runOutsideAngular(()=>{this.ngZoneIsStableInBrowser().subscribe(()=>{let i=t.nativeElement.querySelector('[tabindex="0"]');i&&i.focus()})})}focusInput(t){this._ngZone.runOutsideAngular(()=>this.ngZoneIsStableInBrowser().subscribe(()=>t.focus()))}elementIsFocused(t){return ui(this.platformId)&&document.activeElement===t}ngZoneIsStableInBrowser(){return this._ngZone.onStable.asObservable().pipe(Oo(),qt(()=>ui(this.platformId)))}}return e.\u0275fac=function(t){return new(t||e)(ae(Rt),ae(xi))},e.\u0275prov=le({token:e,factory:e.\u0275fac}),e})(),_d=(()=>{class e{constructor(t){this.disabledDates={minDate:new Wo(0,0,1),maxDate:new Wo(9999,11,31)},this.cldrLocaleDateFormat=AX,this.localeDisplayFormat=cy,this.delimiters=["/","/"],this.cldrLocaleDateFormat=t.localeDateFormat,this.initializeLocaleDisplayFormat()}get placeholderText(){let t=this.localeDisplayFormat.format;return t[0]+this.delimiters[0]+t[1]+this.delimiters[1]+t[2]}setMinDate(t){if(!t)this.disabledDates.minDate=new Wo(0,0,1);else{let[i,r,o]=t.split("-").map(l=>parseInt(l,10));this.disabledDates.minDate=new Wo(i,r-1,o)}}setMaxDate(t){if(!t)this.disabledDates.maxDate=new Wo(9999,11,31);else{let[i,r,o]=t.split("-").map(l=>parseInt(l,10));this.disabledDates.maxDate=new Wo(i,r-1,o)}}setRangeOptions(t){let i=this.validateDateRangeOptions(t);this.dateRangeOptions=i||[]}getRangeOptions(){return this.dateRangeOptions}toLocaleDisplayFormatString(t){if(t){if(isNaN(t.getTime()))return"";let i=t.getDate(),r=t.getMonth()+1,o=i>9?i.toString():"0"+i,l=r>9?r.toString():"0"+r;return this.localeDisplayFormat===cy?o+this.delimiters[0]+l+this.delimiters[1]+t.getFullYear():this.localeDisplayFormat===eD?l+this.delimiters[0]+o+this.delimiters[1]+t.getFullYear():t.getFullYear()+this.delimiters[0]+l+this.delimiters[1]+o}return""}getDateValueFromDateString(t){if(!t||typeof t!="string")return null;let i=t.match(kX);if(!i||i.length!==3)return null;let[r,o,l]=i;return this.localeDisplayFormat===cy?this.validateAndGetDate(l,o,r):this.localeDisplayFormat===eD?this.validateAndGetDate(l,r,o):this.validateAndGetDate(r,o,l)}validateDateRangeOptions(t){let i=[];return t?.forEach(r=>{r?.value?.length!==2||Object.prototype.toString.call(r?.value[0])!=="[object Date]"||Object.prototype.toString.call(r?.value[1])!=="[object Date]"||i.push(r)}),i}initializeLocaleDisplayFormat(){let t=this.cldrLocaleDateFormat.toLocaleLowerCase();OX.test(t)?this.localeDisplayFormat=cy:RX.test(t)?this.localeDisplayFormat=eD:this.localeDisplayFormat=FX,this.extractDelimiters()}
28extractDelimiters(){if(this.cldrLocaleDateFormat){let i=this.cldrLocaleDateFormat.replace(LX,"").split(PX);i&&i.length===4?this.delimiters=[i[1],i[2]]:console.error("Unexpected date format received. Delimiters extracted: ",i)}}isValidMonth(t){return t>-1&&t<12}isValidDate(t,i,r){return r>0&&r<=WP(t,i)}validateAndGetDate(t,i,r){let o=+t,l=+i-1,p=+r;if(!this.isValidMonth(l)||!this.isValidDate(o,l,p))return null;let C=HX(o);return C!==-1?new Date(C,l,p):null}}return e.\u0275fac=function(t){return new(t||e)(ae(Fg))},e.\u0275prov=le({token:e,factory:e.\u0275fac}),e})(),_h=(()=>{class e{constructor(){this._touchedChange=new Qe,this._dirtyChange=new Qe}get touchedChange(){return this._touchedChange.asObservable()}get dirtyChange(){return this._dirtyChange.asObservable()}markAsTouched(){this._touchedChange.next()}markAsDirty(){this._dirtyChange.next()}setDisabled(t){this.disabled=t}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=le({token:e,factory:e.\u0275fac}),e})(),jX=(()=>{class e{constructor(t,i){this._dateNavigationService=t,this.commonStrings=i,this.onSelectDay=new Ue}get dayView(){return this._dayView}set dayView(t){this._dayView=t}get dayString(){return this.dayView.isSelected?this.commonStrings.parse(this.commonStrings.keys.datepickerSelectedLabel,{FULL_DATE:this._dayView.dayModel.toDateString()}):this._dayView.dayModel.toDateString()}get isRangeStartDay(){return this._dateNavigationService.isRangePicker&&this.dayView?.dayModel?.toComparisonString()===this._dateNavigationService.selectedDay?.toComparisonString()}get isRangeEndDay(){return this._dateNavigationService.isRangePicker&&this.dayView?.dayModel?.toComparisonString()===this._dateNavigationService.selectedEndDay?.toComparisonString()}hoverListener(){this.dayView.isDisabled||(this._dateNavigationService.hoveredDay=this.dayView.dayModel)}onDayViewFocus(){this._dateNavigationService.focusedDay=this.dayView.dayModel}selectDay(){if(this.dayView.isDisabled)return;let t=this.dayView.dayModel;this.onSelectDay.emit(t)}isInRange(){return this._dateNavigationService.isRangePicker?this._dateNavigationService.selectedDay&&this._dateNavigationService.selectedEndDay?this._dayView.dayModel?.isAfter(this._dateNavigationService.selectedDay)&&this._dayView.dayModel?.isBefore(this._dateNavigationService.selectedEndDay):this._dateNavigationService.selectedDay&&!this._dateNavigationService.selectedEndDay?this._dayView.dayModel?.isAfter(this._dateNavigationService.selectedDay)&&this._dayView.dayModel?.isBefore(this._dateNavigationService.hoveredDay,!0):!1:!1}}return e.\u0275fac=function(t){return new(t||e)(A(Us),A(sr))},e.\u0275cmp=Me({type:e,selectors:[["clr-day"]],hostVars:2,hostBindings:function(t,i){t&1&&oe("mouseenter",function(){return i.hoverListener()}),t&2&&Be("day",!0)},inputs:{dayView:[0,"clrDayView","dayView"]},outputs:{onSelectDay:"selectDay"},standalone:!1,decls:2,vars:19,consts:[["type","button",1,"day-btn",3,"click","focus"]],template:function(t,i){t&1&&(F(0,"button",0),oe("click",function(){return i.selectDay()})("focus",function(){return i.onDayViewFocus()}),q(1),P()),t&2&&(Be("is-today",i.dayView.isTodaysDate)("is-excluded",i.dayView.isExcluded)("is-disabled",i.dayView.isDisabled)("is-selected",i.dayView.isSelected)("in-range",i.isInRange())("is-start-range",i.isRangeStartDay)("is-end-range",i.isRangeEndDay),De("tabindex",i.dayView.tabIndex)("aria-current",i.dayView.isTodaysDate?"date":"false")("aria-label",i.dayString)("aria-selected",i.dayView.isSelected),E(),Ae(" ",i.dayView.dayModel.date," "))},encapsulation:2}),e})(),zX=(()=>{class e{constructor(t,i,r,o,l,p,C){this._localeHelperService=t,this._dateNavigationService=i,this._datepickerFocusService=r,this._dateIOService=o,this._elRef=l,this._dateFormControlService=p,this._toggleService=C,this._subs=[],this.generateCalendarView(),this.initializeSubscriptions()}get localeDays(){return this._localeHelperService.localeDays}get calendar(){return this._dateNavigationService.displayedCalendar}get selectedDay(){return this._dateNavigationService.selectedDay}get selectedEndDay(){return this._dateNavigationService.selectedEndDay}get focusedDay(){return this._dateNavigationService.focusedDay}get today(){return this._dateNavigationService.today}ngAfterViewInit(){this._datepickerFocusService.focusCell(this._elRef)}
28ngOnDestroy(){this._subs.forEach(t=>t.unsubscribe())}onKeyDown(t){if(t&&this.focusedDay)switch(ba(t.key)){case ht.ArrowUp:t.preventDefault(),this._dateNavigationService.incrementFocusDay(-1*gh);break;case ht.ArrowDown:t.preventDefault(),this._dateNavigationService.incrementFocusDay(gh);break;case ht.ArrowLeft:t.preventDefault(),this._dateNavigationService.incrementFocusDay(-1);break;case ht.ArrowRight:t.preventDefault(),this._dateNavigationService.incrementFocusDay(1);break;default:break}}setSelectedDay(t){let i=this._dateNavigationService.hasActionButtons,r=this.updateCalendarViewModal(t);this._dateNavigationService.notifySelectedDayChanged(r,{emitEvent:!i}),i||(this._dateFormControlService.markAsDirty(),this.validateAndCloseDatePicker())}initializeSubscriptions(){this._subs.push(this._dateNavigationService.displayedCalendarChange.subscribe(()=>{this.generateCalendarView()})),this._subs.push(this._dateNavigationService.focusedDayChange.subscribe(t=>{this.calendarViewModel.updateFocusableDay(t)})),this._subs.push(this._dateNavigationService.focusOnCalendarChange.subscribe(()=>{this._datepickerFocusService.focusCell(this._elRef)})),this._subs.push(this._dateNavigationService.refreshCalendarView.subscribe(()=>{this.refreshCalendarViewModal()}))}validateAndCloseDatePicker(){(this._dateNavigationService.isRangePicker&&this._dateNavigationService.selectedDay&&this._dateNavigationService.selectedEndDay||!this._dateNavigationService.isRangePicker&&this._dateNavigationService.selectedDay)&&(this._toggleService.open=!1)}updateCalendarViewModal(t){let i=this.calendarViewModel.selectedDay||null,r=this._dateNavigationService.isRangePicker,o=this.calendarViewModel.selectedEndDay||null;return r?!i||i&&o||i&&t?.isBefore(i)?(this.calendarViewModel.updateSelectedDay(t),o&&(o=void 0,this.calendarViewModel.updateSelectedEndDay(o))):this.calendarViewModel.updateSelectedEndDay(t):this.calendarViewModel.updateSelectedDay(t),r?{startDate:this.calendarViewModel.selectedDay,endDate:this.calendarViewModel.selectedEndDay}:this.calendarViewModel.selectedDay}refreshCalendarViewModal(){this.calendarViewModel.updateSelectedDay(this._dateNavigationService.selectedDay),this._dateNavigationService.isRangePicker&&this.calendarViewModel.updateSelectedEndDay(this._dateNavigationService.selectedEndDay)}generateCalendarView(){this.calendarViewModel=new uD(this.calendar,this.selectedDay,this.selectedEndDay,this.focusedDay,this.today,this._localeHelperService.firstDayOfWeek,this._dateIOService.disabledDates)}}return e.\u0275fac=function(t){return new(t||e)(A(Fg),A(Us),A(sc),A(_d),A(et),A(_h),A(ar))},e.\u0275cmp=Me({type:e,selectors:[["clr-calendar"]],hostBindings:function(t,i){t&1&&oe("keydown",function(o){return i.onKeyDown(o)})},standalone:!1,decls:4,vars:2,consts:[["role","presentation",1,"calendar-table"],[1,"calendar-row","weekdays"],["class","calendar-cell weekday",4,"ngFor","ngForOf"],["class","calendar-row",4,"ngFor","ngForOf"],[1,"calendar-cell","weekday"],[1,"calendar-row"],["class","calendar-cell",4,"ngFor","ngForOf"],[1,"calendar-cell"],[3,"selectDay","clrDayView"]],template:function(t,i){t&1&&(F(0,"table",0)(1,"tr",1),ue(2,QQ,3,2,"th",2),P(),ue(3,KQ,2,1,"tr",3),P()),t&2&&(E(2),L("ngForOf",i.localeDays),E(),L("ngForOf",i.calendarViewModel.calendarView))},dependencies:[rn,jX],encapsulation:2}),e})(),vy=(()=>{class e{constructor(t){this._document=t,this._isUserAgentMobile=!1,t&&(this._isUserAgentMobile=NX.test(t.defaultView.navigator.userAgent),this._innerWidth=t.defaultView.innerWidth)}get isEnabled(){return!(this._document&&this._innerWidth<uX&&this._isUserAgentMobile)}}return e.\u0275fac=function(t){return new(t||e)(ae(_n))},e.\u0275prov=le({token:e,factory:e.\u0275fac}),e})(),PD=(()=>{class e extends oc{constructor(t,i,r,o,l,p,C,w,V,j,$,W,se){super(t,bh,i,l,o,r),this.el=r,this.renderer=o,this.control=l,this.container=p,this.dateIOService=C,this.dateNavigationService=w,this.datepickerEnabledService=V,this.dateFormControlService=j,this.platformId=$,this.focusService=W,this.datepickerFocusService=se,this.index=1}get disabled(){return this.dateFormControlService?this.dateFormControlService.disabled||!!this.control?.control?.disabled:null}set disabled(t){this.dateFormControlService&&this.dateFormControlService.setDisabled(Mg(t))}get placeholderText(){return this.placeholder?this.placeholder:this.dateIOService.placeholderText}get inputType(){return ui(this.platformId)&&this.usingNativeDatepicker()?"date":"text"}ngOnInit(){super.ngOnInit(),this.populateServicesFromContainerComponent(),this.subscriptions.push(this.listenForUserSelectedDayChanges(),this.listenForControlValueChanges(),this.listenForTouchChanges(),this.listenForDirtyChanges(),this.listenForInputRefocus())}ngAfterViewInit(){this.processInitialInputs()}setFocusStates(){this.setFocus(!0)}triggerValidation(){super.triggerValidation(),this.setFocus(!1)}onValueChange(t){let i=this.dateIOService.getDateValueFromDateString(t.value);if(this.usingClarityDatepicker()&&i)this.updateDate(i,!0);else if(this.usingNativeDatepicker()){let[r,o,l]=t.value.split("-");this.updateDate(new Date(+r,+o-1,+l),!0)}else this.emitDateOutput(null)}datepickerHasFormControl(){return!!this.control}setDate(t){typeof t=="string"&&(t=new Date(t)),this.previousDateChange!==t&&this.updateDate(t),this.initialClrDateInputValue||(this.initialClrDateInputValue=t)}usingClarityDatepicker(){return this.datepickerEnabledService.isEnabled}usingNativeDatepicker(){return!this.datepickerEnabledService.isEnabled}setFocus(t){this.focusService&&(this.focusService.focused=t)}populateServicesFromContainerComponent(){this.container||(this.dateIOService=this.getProviderFromContainer(_d),this.dateNavigationService=this.getProviderFromContainer(Us),this.datepickerEnabledService=this.getProviderFromContainer(vy),this.dateFormControlService=this.getProviderFromContainer(_h))}processInitialInputs(){this.datepickerHasFormControl()?this.updateDate(this.dateIOService.getDateValueFromDateString(this.control.value)):this.updateDate(this.initialClrDateInputValue)}updateDate(t,i=!1){let r=this.getValidDateValueFromDate(t);if(i?this.emitDateOutput(r):this.previousDateChange=r,this.dateNavigationService){let o=r?new Wo(r.getFullYear(),r.getMonth(),r.getDate()):null;this.updateDayModel(o)}this.updateInput(r)}updateInput(t){if(t){let i=this.dateIOService.toLocaleDisplayFormatString(t);this.usingNativeDatepicker()?(t.setMinutes(t.getMinutes()-t.getTimezoneOffset()),this.renderer.setProperty(this.el.nativeElement,"valueAsDate",t)):this.datepickerHasFormControl()&&i!==this.control.value?this.control.control.setValue(i):this.renderer.setProperty(this.el.nativeElement,"value",i),this.validateDateRange()}else this.renderer.setProperty(this.el.nativeElement,"value","")}getValidDateValueFromDate(t){if(this.dateIOService){let i=this.dateIOService.toLocaleDisplayFormatString(t);return this.dateIOService.getDateValueFromDateString(i)}else return null}emitDateOutput(t){BX(t,this.previousDateChange)?!t&&this.previousDateChange&&(this.dateChange.emit(null),this.previousDateChange=null):(this.dateChange.emit(t),this.previousDateChange=t)}listenForControlValueChanges(){return this.datepickerHasFormControl()?this.control.valueChanges.pipe(qt(()=>!this.datepickerFocusService.elementIsFocused(this.el.nativeElement))).subscribe(t=>this.updateDate(this.dateIOService.getDateValueFromDateString(t))):null}listenForUserSelectedDayChanges(){return this.userSelectedDayChange.subscribe(t=>this.updateDate(t?.toDate(),!0))}listenForTouchChanges(){return this.dateFormControlService.touchedChange.pipe(qt(()=>this.datepickerHasFormControl())).subscribe(()=>this.control.control.markAsTouched())}listenForDirtyChanges(){return this.dateFormControlService.dirtyChange.pipe(qt(()=>this.datepickerHasFormControl())).subscribe(()=>this.control.control.markAsDirty())}listenForInputRefocus(){return this.dateNavigationService.selectedDayChange.pipe(qt(t=>!!t&&!this.dateNavigationService.isRangePicker)).subscribe(()=>this.datepickerFocusService.focusInput(this.el.nativeElement))}validateDateRange(){if(this.dateNavigationService.isRangePicker){let t=this.ngControlService?.control,i=this.ngControlService?.additionalControls;this.dateNavigationService.selectedDay?.isBefore(this.dateNavigationService.selectedEndDay,!0)&&(t?.hasError("range")||i?.some(o=>o.hasError("range")))&&(t.control?.updateValueAndValidity({emitEvent:!1}
28),i.forEach(o=>{o?.control?.updateValueAndValidity({emitEvent:!1})}))}}}return e.\u0275fac=function(t){return new(t||e)(A(Nn),A(Gt),A(et),A(Lt),A(Ci,10),A(jn(()=>bh),8),A(_d,8),A(Us,8),A(vy,8),A(_h,8),A(xi),A(Ch,8),A(sc))},e.\u0275dir=He({type:e,hostVars:3,hostBindings:function(t,i){t&1&&oe("focus",function(){return i.setFocusStates()})("blur",function(){return i.triggerValidation()})("change",function(o){return i.onValueChange(o.target)}),t&2&&(nl("disabled",i.disabled),De("placeholder",i.placeholderText)("type",i.inputType))},inputs:{placeholder:"placeholder",disabled:"disabled"},standalone:!1,features:[xt]}),e})(),GX=(()=>{class e extends PD{constructor(){super(...arguments),this.dateChange=new Ue(!1),this.inputWidth=13}set date(t){this.setDate(t)}get inputSize(){return this.inputWidth}get userSelectedDayChange(){return this.dateNavigationService.selectedEndDayChange}triggerControlInputValidation(){this.datepickerHasFormControl()&&(this.control.control?.updateValueAndValidity({emitEvent:!1}),this.control.control?.setErrors(this.control.control.errors))}updateDayModel(t){this.dateNavigationService.persistedEndDate=this.dateNavigationService.selectedEndDay=t}}return e.\u0275fac=(()=>{let n;return function(i){return(n||(n=kn(e)))(i||e)}})(),e.\u0275dir=He({type:e,selectors:[["","clrEndDate",""]],hostVars:3,hostBindings:function(t,i){t&2&&(De("size",i.inputSize),Be("clr-input",!0))},inputs:{inputWidth:"inputWidth",date:[0,"clrEndDate","date"]},outputs:{dateChange:"clrEndDateChange"},standalone:!1,features:[Et([sc]),xt]}),e})(),Vg=(()=>{class e extends PD{constructor(){super(...arguments),this.dateChange=new Ue(!1)}set date(t){this.setDate(t)}set min(t){this.dateIOService.setMinDate(t),this.triggerControlValidation()}set max(t){this.dateIOService.setMaxDate(t),this.triggerControlValidation()}get userSelectedDayChange(){return this.dateNavigationService.selectedDayChange}updateDayModel(t){this.dateNavigationService.persistedDate=this.dateNavigationService.selectedDay=t}triggerControlValidation(){this.datepickerHasFormControl()&&(this.control.control?.updateValueAndValidity({emitEvent:!1}),this.control.control?.setErrors(this.control.control.errors))}}return e.\u0275fac=(()=>{let n;return function(i){return(n||(n=kn(e)))(i||e)}})(),e.\u0275dir=He({type:e,selectors:[["","clrDate",""]],hostVars:2,hostBindings:function(t,i){t&2&&Be("clr-input",!0)},inputs:{date:[0,"clrDate","date"],min:"min",max:"max"},outputs:{dateChange:"clrDateChange"},standalone:!1,features:[Et([sc]),xt]}),e})(),$X=(()=>{class e extends PD{constructor(){super(...arguments),this.dateChange=new Ue(!1),this.inputWidth=13}set date(t){this.setDate(t)}get inputSize(){return this.inputWidth}get userSelectedDayChange(){return this.dateNavigationService.selectedDayChange}triggerControlInputValidation(){this.datepickerHasFormControl()&&(this.control.control?.updateValueAndValidity({emitEvent:!1}),this.control.control?.setErrors(this.control.control.errors))}updateDayModel(t){this.dateNavigationService.persistedDate=this.dateNavigationService.selectedDay=t}}return e.\u0275fac=(()=>{let n;return function(i){return(n||(n=kn(e)))(i||e)}})(),e.\u0275dir=He({type:e,selectors:[["","clrStartDate",""]],hostVars:5,hostBindings:function(t,i){t&2&&(De("size",i.inputSize),is("text-align","right"),Be("clr-input",!0))},inputs:{inputWidth:"inputWidth",date:[0,"clrStartDate","date"]},outputs:{dateChange:"clrStartDateChange"},standalone:!1,features:[Et([sc]),xt]}),e})(),yh=(()=>{class e{constructor(){this.position=qo["bottom-left"],this._currentView="DAYVIEW"}get isDayView(){return this._currentView==="DAYVIEW"}get isYearView(){return this._currentView==="YEARVIEW"}get isMonthView(){return this._currentView==="MONTHVIEW"}changeToMonthView(){this._currentView="MONTHVIEW"}changeToYearView(){this._currentView="YEARVIEW"}changeToDayView(){this._currentView="DAYVIEW"}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=le({token:e,factory:e.\u0275fac}),e})(),WX=(()=>{class e{constructor(t,i,r,o,l,p){this._localeHelperService=t,this._dateNavigationService=i,this._datepickerFocusService=r,this._elRef=o,this._viewManagerService=l,this.commonStrings=p,this._focusedMonthIndex=this.calendarMonthIndex}get monthNames(){return this._localeHelperService.localeMonthsWide}get calendarMonthIndex(){return this._dateNavigationService.displayedCalendar.month}get calendarEndMonthIndex(){return this._dateNavigationService.selectedEndDay?.month}get yearAttrString(){return this.commonStrings.parse(this.commonStrings.keys.datepickerSelectYearText,{CALENDAR_YEAR:this.calendarYear.toString()})}get calendarYear(){return this._dateNavigationService.displayedCalendar.year}
28get currentCalendarYear(){return new Date().getFullYear()}get currentCalendarMonth(){return new Date().getMonth()}getIsRangeStartMonth(t){return this._dateNavigationService.isRangePicker&&this.calendarYear===this._dateNavigationService.selectedDay?.year&&t===this._dateNavigationService.selectedDay?.month}getIsRangeEndMonth(t){return this._dateNavigationService.isRangePicker&&this.calendarYear===this._dateNavigationService.selectedEndDay?.year&&t===this._dateNavigationService.selectedEndDay?.month}changeToYearView(){this._viewManagerService.changeToYearView()}ngAfterViewInit(){this._datepickerFocusService.focusCell(this._elRef)}onKeyDown(t){if(t){let i=ba(t.key);i===ht.ArrowUp&&this._focusedMonthIndex>1?(t.preventDefault(),this._focusedMonthIndex-=2,this._datepickerFocusService.focusCell(this._elRef)):i===ht.ArrowDown&&this._focusedMonthIndex<10?(t.preventDefault(),this._focusedMonthIndex+=2,this._datepickerFocusService.focusCell(this._elRef)):i===ht.ArrowRight&&this._focusedMonthIndex<11?(t.preventDefault(),this._focusedMonthIndex++,this._datepickerFocusService.focusCell(this._elRef)):i===ht.ArrowLeft&&this._focusedMonthIndex>0&&(t.preventDefault(),this._focusedMonthIndex--,this._datepickerFocusService.focusCell(this._elRef))}}isSelected(t){return this._dateNavigationService.selectedDay?.year===this.calendarYear&&t===this._dateNavigationService.selectedDay?.month||this._dateNavigationService.selectedEndDay?.year===this.calendarYear&&t===this.calendarEndMonthIndex}onHover(t){this._dateNavigationService.hoveredMonth=t}changeMonth(t){this._dateNavigationService.changeMonth(t),this._viewManagerService.changeToDayView()}getTabIndex(t){return t===this._focusedMonthIndex?0:-1}nextYear(){this._dateNavigationService.moveToNextYear()}previousYear(){this._dateNavigationService.moveToPreviousYear()}currentYear(){this._dateNavigationService.moveToCurrentMonth()}isInRange(t){return this._dateNavigationService.isRangePicker?this._dateNavigationService.selectedDay&&this._dateNavigationService.selectedEndDay?this.calendarYear===this._dateNavigationService.selectedDay.year&&t>this._dateNavigationService.selectedDay.month&&this.calendarYear===this._dateNavigationService.selectedEndDay.year&&t<this._dateNavigationService.selectedEndDay.month||this._dateNavigationService.selectedDay.year!==this._dateNavigationService.selectedEndDay.year&&this.calendarYear===this._dateNavigationService.selectedDay.year&&t>this._dateNavigationService.selectedDay.month||this._dateNavigationService.selectedDay.year!==this._dateNavigationService.selectedEndDay.year&&this.calendarYear===this._dateNavigationService.selectedEndDay.year&&t<this._dateNavigationService.selectedEndDay.month||this.calendarYear>this._dateNavigationService.selectedDay.year&&this.calendarYear<this._dateNavigationService.selectedEndDay.year:this._dateNavigationService.selectedDay&&!this._dateNavigationService.selectedEndDay?this.calendarYear===this._dateNavigationService.selectedDay.year&&t>this._dateNavigationService.selectedDay.month&&t<this._dateNavigationService.hoveredMonth||this.calendarYear>this._dateNavigationService.selectedDay.year&&t<this._dateNavigationService.hoveredMonth:!1:!1}}return e.\u0275fac=function(t){return new(t||e)(A(Fg),A(Us),A(sc),A(et),A(yh),A(sr))},e.\u0275cmp=Me({type:e,selectors:[["clr-monthpicker"]],hostAttrs:["role","application"],hostVars:2,hostBindings:function(t,i){t&1&&oe("keydown",function(o){return i.onKeyDown(o)}),t&2&&Be("monthpicker",!0)},standalone:!1,decls:13,vars:10,consts:[[1,"calendar-header","in-monthpicker"],[1,"year-view-switcher"],["type","button",1,"calendar-btn","yearpicker-trigger",3,"click"],[1,"calendar-switchers"],["type","button",1,"calendar-btn","switcher",3,"click"],["shape","angle","direction","left"],["shape","event"],["shape","angle","direction","right"],[1,"months"],["type","button","class","calendar-btn month",3,"is-selected","is-start-range","is-end-range","in-range","is-today","click","mouseenter",4,"ngFor","ngForOf"],["type","button",1,"calendar-btn","month",3,"click","mouseenter"]],template:function(t,i){t&1&&(F(0,"div",0)(1,"div",1)(2,"button",2),oe("click",function(){return i.changeToYearView()}),q(3),P()(),F(4,"div",3)(5,"button",4),oe("click",function(){return i.previousYear()}),ye(6,"cds-icon",5),P(),F(7,"button",4),oe("click",function(){return i.currentYear()}),ye(8,"cds-icon",6),P(),F(9,"button",4),oe("click",function(){return i.nextYear()}),ye(10,"cds-icon",7),P()()(),F(11,"div",8),ue(12,XQ,2,12,"button",9),P()),t&2&&(E(2),De("aria-label",i.yearAttrString)("title",i.yearAttrString),E(),Ae(" ",i.calendarYear," "),E(2),De("aria-label",i.commonStrings.keys.datepickerPreviousMonth),E(),De("title",i.commonStrings.keys.datepickerPreviousMonth),E(),De("aria-label",i.commonStrings.keys.datepickerCurrentMonth),E(),De("title",i.commonStrings.keys.datepickerCurrentMonth),E(),De("aria-label",i.commonStrings.keys.datepickerNextMonth),E(),De("title",i.commonStrings.keys.datepickerNextMonth),E(2),L("ngForOf",i.monthNames))},dependencies:[rn,Zt],encapsulation:2}),e})(),AP=10,hD=class e{constructor(n){this.year=n,this.yearRange=[],this.generateYearRange()}get middleYear(){return this.yearRange[Math.floor(this.yearRange.length/2)]}nextDecade(){return new e(this.year+10)}previousDecade(){return new e(this.year-10)}currentDecade(){return new e(new Date().getFullYear())}inRange(n){return this.yearRange.indexOf(n)>-1}generateYearRange(){let n=this.year%AP,t=this.year-n,i=t+AP;this.yearRange=this.generateRange(t,i)}generateRange(n,t){return Array.from({length:t-n},(i,r)=>r+n)}},YX=(()=>{class e{constructor(t,i,r,o,l){this._dateNavigationService=t,this._viewManagerService=i,this._datepickerFocusService=r,this._elRef=o,this.commonStrings=l,this.yearRangeModel=new hD(this.calendarYear),this._focusedYear=this.calendarYear}get selectedStartYear(){return this._dateNavigationService.selectedDay?.year}get selectedEndYear(){return this._dateNavigationService.selectedEndDay?.year}
28get calendarYear(){return this._dateNavigationService.displayedCalendar.year}isCurrentCalendarYear(t){return t===new Date().getFullYear()}getIsRangeStartYear(t){return this._dateNavigationService.isRangePicker&&t===this._dateNavigationService.selectedDay?.year}getIsRangeEndYear(t){return this._dateNavigationService.isRangePicker&&t===this._dateNavigationService.selectedEndDay?.year}ngAfterViewInit(){this._datepickerFocusService.focusCell(this._elRef)}onKeyDown(t){if(t){let i=ba(t.key);i===ht.ArrowUp?(t.preventDefault(),this.incrementFocusYearBy(-2)):i===ht.ArrowDown?(t.preventDefault(),this.incrementFocusYearBy(2)):i===ht.ArrowRight?(t.preventDefault(),this.incrementFocusYearBy(1)):i===ht.ArrowLeft&&(t.preventDefault(),this.incrementFocusYearBy(-1))}}changeYear(t){this._dateNavigationService.changeYear(t),this._viewManagerService.changeToDayView()}onHover(t){this._dateNavigationService.hoveredYear=t}previousDecade(){this.yearRangeModel=this.yearRangeModel.previousDecade()}currentDecade(){this.yearRangeModel.inRange(this._dateNavigationService.today.year)||(this.yearRangeModel=this.yearRangeModel.currentDecade()),this._datepickerFocusService.focusCell(this._elRef)}nextDecade(){this.yearRangeModel=this.yearRangeModel.nextDecade()}getTabIndex(t){return this.yearRangeModel.inRange(this._focusedYear)||(this.yearRangeModel.inRange(this.calendarYear)?this._focusedYear=this.calendarYear:this.yearRangeModel.inRange(this.selectedEndYear)?this._focusedYear=this.selectedEndYear:this._focusedYear=this.yearRangeModel.middleYear),this._focusedYear===t?0:-1}isInRange(t){return this._dateNavigationService.isRangePicker?this._dateNavigationService.selectedDay?.year&&this.selectedEndYear?t>this.selectedStartYear&&t<this.selectedEndYear:this._dateNavigationService.selectedDay?.year&&!this.selectedEndYear?t>this.selectedStartYear&&t<this._dateNavigationService.hoveredYear:!1:!1}changeToDayView(){this._viewManagerService.changeToDayView()}incrementFocusYearBy(t){this._focusedYear=this._focusedYear+t,this.yearRangeModel.inRange(this._focusedYear)||(t>0?this.yearRangeModel=this.yearRangeModel.nextDecade():this.yearRangeModel=this.yearRangeModel.previousDecade()),this._datepickerFocusService.focusCell(this._elRef)}}return e.\u0275fac=function(t){return new(t||e)(A(Us),A(yh),A(sc),A(et),A(sr))},e.\u0275cmp=Me({type:e,selectors:[["clr-yearpicker"]],hostAttrs:["role","application"],hostVars:2,hostBindings:function(t,i){t&1&&oe("keydown",function(o){return i.onKeyDown(o)}),t&2&&Be("yearpicker",!0)},standalone:!1,decls:13,vars:9,consts:[[1,"calendar-header"],[1,"calendar-pickers"],["type","button",1,"calendar-btn","yearpicker-trigger","year-range",3,"click"],[1,"year-switchers"],["type","button",1,"calendar-btn","switcher",3,"click"],["shape","angle","direction","left"],["shape","event"],["shape","angle","direction","right"],[1,"years"],["type","button","class","calendar-btn year",3,"is-selected","is-start-range","is-end-range","in-range","is-today","click","mouseenter",4,"ngFor","ngForOf"],["type","button",1,"calendar-btn","year",3,"click","mouseenter"]],template:function(t,i){t&1&&(F(0,"div",0)(1,"div",1)(2,"button",2),oe("click",function(){return i.changeToDayView()}),q(3),P()(),F(4,"div",3)(5,"button",4),oe("click",function(){return i.previousDecade()}),ye(6,"cds-icon",5),P(),F(7,"button",4),oe("click",function(){return i.currentDecade()}),ye(8,"cds-icon",6),P(),F(9,"button",4),oe("click",function(){return i.nextDecade()}),ye(10,"cds-icon",7),P()()(),F(11,"div",8),ue(12,JQ,2,12,"button",9),P()),t&2&&(E(3),aE(" ",i.yearRangeModel.yearRange[0]," - ",i.yearRangeModel.yearRange[i.yearRangeModel.yearRange.length-1]," "),E(2),De("aria-label",i.commonStrings.keys.datepickerPreviousDecade),E(),De("title",i.commonStrings.keys.datepickerPreviousDecade),E(),De("aria-label",i.commonStrings.keys.datepickerCurrentDecade),E(),De("title",i.commonStrings.keys.datepickerCurrentDecade),E(),De("aria-label",i.commonStrings.keys.datepickerNextDecade),E(),De("title",i.commonStrings.keys.datepickerNextDecade),E(2),L("ngForOf",i.yearRangeModel.yearRange))},dependencies:[rn,Zt],encapsulation:2}),e})(),qX=(()=>{class e{constructor(t,i,r,o){this._viewManagerService=t,this._dateNavigationService=i,this._localeHelperService=r,this.commonStrings=o}get monthAttrString(){return this.commonStrings.parse(this.commonStrings.keys.datepickerSelectMonthText,{CALENDAR_MONTH:this.calendarMonth})}get yearAttrString(){return this.commonStrings.parse(this.commonStrings.keys.datepickerSelectYearText,{CALENDAR_YEAR:this.calendarYear.toString()})}get calendarMonth(){return this._localeHelperService.localeMonthsAbbreviated[this._dateNavigationService.displayedCalendar.month]}get calendarYear(){return this._dateNavigationService.displayedCalendar.year}changeToMonthView(){this._viewManagerService.changeToMonthView()}changeToYearView(){this._viewManagerService.changeToYearView()}nextMonth(){this._dateNavigationService.moveToNextMonth()}previousMonth(){this._dateNavigationService.moveToPreviousMonth()}currentMonth(){this._dateNavigationService.moveToCurrentMonth()}}return e.\u0275fac=function(t){return new(t||e)(A(yh),A(Us),A(Fg),A(sr))},e.\u0275cmp=Me({type:e,selectors:[["clr-daypicker"]],hostAttrs:["role","application"],hostVars:2,hostBindings:function(t,i){t&2&&Be("daypicker",!0)},standalone:!1,decls:18,vars:14,consts:[[1,"clr-sr-only"],[1,"calendar-header"],[1,"calendar-pickers"],["type","button",1,"calendar-btn","monthpicker-trigger",3,"click"],["type","button",1,"calendar-btn","yearpicker-trigger",3,"click"],[1,"calendar-switchers"],["type","button",1,"calendar-btn","switcher",3,"click"],["shape","angle","direction","left"],["shape","event"],["shape","angle","direction","right"]],template:function(t,i){t&1&&(F(0,"div",0),q(1),P(),F(2,"div",1)(3,"div",2)(4,"button",3),oe("click",function(){return i.changeToMonthView()}),q(5),P(),F(6,"button",4),oe("click",function(){return i.changeToYearView()}),q(7),P()(),F(8,"div",5)(9,"button",6),oe("click",function(){return i.previousMonth()}),ye(10,"cds-icon",7),P(),F(11,"button",6),oe("click",function(){return i.currentMonth()}),ye(12,"cds-icon",8),P(),F(13,"button",6),oe("click",function(){return i.nextMonth()}),ye(14,"cds-icon",9),P()()(),ye(15,"clr-calendar"),F(16,"div",0),q(17),P()),t&2&&(E(),Ie(i.commonStrings.keys.modalContentStart),E(3),De("aria-label",i.monthAttrString)("title",i.monthAttrString),E(),Ae(" ",i.calendarMonth," "),E(),De("aria-label",i.yearAttrString)("title",i.yearAttrString),E(),Ae(" ",i.calendarYear," "),E(2),De("aria-label",i.commonStrings.keys.datepickerPreviousMonth),E(),De("title",i.commonStrings.keys.datepickerPreviousMonth),E(),De("aria-label",i.commonStrings.keys.datepickerCurrentMonth),E(),De("title",i.commonStrings.keys.datepickerCurrentMonth),E(),De("aria-label",i.commonStrings.keys.datepickerNextMonth),E(),De("title",i.commonStrings.keys.datepickerNextMonth),E(3),Ie(i.commonStrings.keys.modalContentEnd))},dependencies:[Zt,zX],encapsulation:2}),e})(),QX=(()=>{class e{constructor(t,i,r,o){this.commonStrings=t,this.toggleService=i,this.dateNavigationService=r,this.dateFormControlService=o}apply(){this.dateNavigationService.isRangePicker&&this.dateNavigationService.selectedDay&&this.dateNavigationService.selectedEndDay?(this.dateNavigationService.n
28otifySelectedDayChanged({startDate:this.dateNavigationService.selectedDay,endDate:this.dateNavigationService.selectedEndDay}),this.dateFormControlService.markAsDirty()):!this.dateNavigationService.isRangePicker&&this.dateNavigationService.selectedDay&&(this.dateNavigationService.notifySelectedDayChanged(this.dateNavigationService.selectedDay),this.dateFormControlService.markAsDirty()),this.toggleService.open=!1}cancel(){this.dateNavigationService.resetSelectedDay(),this.toggleService.open=!1}}return e.\u0275fac=function(t){return new(t||e)(A(sr),A(ar),A(Us),A(_h))},e.\u0275cmp=Me({type:e,selectors:[["clr-datepicker-actions"]],hostVars:2,hostBindings:function(t,i){t&2&&Be("datepicker-actions",!0)},standalone:!1,decls:4,vars:2,consts:[[1,"btn","btn-outline",3,"click"],[1,"btn","btn-primary",3,"click"]],template:function(t,i){t&1&&(F(0,"button",0),oe("click",function(){return i.cancel()}),q(1),P(),F(2,"button",1),oe("click",function(){return i.apply()}),q(3),P()),t&2&&(E(),Ie(i.commonStrings.keys.cancel),E(2),Ie(i.commonStrings.keys.apply))},encapsulation:2}),e})(),ZX=(()=>{class e{constructor(t,i,r,o){this.commonStrings=t,this.viewManagerService=i,this.dateNavigationService=r,this.dateIOService=o}get isMonthView(){return this.viewManagerService.isMonthView}get isYearView(){return this.viewManagerService.isYearView}get isDayView(){return this.viewManagerService.isDayView}get hasRangeOptions(){return!!this.dateNavigationService?.isRangePicker&&!!this.dateRangeOptions?.length}get hasActionButtons(){return this.dateNavigationService.hasActionButtons}get dateRangeOptions(){return this.dateIOService.getRangeOptions()}onRangeOptionSelect(t){let i=this.dateNavigationService.convertDateToDayModel(t?.value[0]),r=this.dateNavigationService.convertDateToDayModel(t?.value[1]);this.dateNavigationService.notifySelectedDayChanged({startDate:i,endDate:r},{emitEvent:!this.hasActionButtons}),this.dateNavigationService.moveToSpecificMonth(i)}}return e.\u0275fac=function(t){return new(t||e)(A(sr),A(yh),A(Us),A(_d))},e.\u0275cmp=Me({type:e,selectors:[["clr-datepicker-view-manager"]],hostAttrs:["role","dialog"],hostVars:8,hostBindings:function(t,i){t&2&&(De("aria-modal",!0)("aria-label",i.commonStrings.keys.datepickerDialogLabel),Be("datepicker",!0)("has-range-option",i.hasRangeOptions)("has-action-buttons",i.hasActionButtons))},standalone:!1,features:[Et([sc])],decls:3,vars:2,consts:[["calendarView",""],[4,"ngIf","ngIfElse"],[1,"clr-date-range-picker-nav"],[4,"ngFor","ngForOf"],[4,"ngTemplateOutlet"],["clrVerticalNavLink","","href","javascript:void(0)","tabindex","0",3,"keyup.enter","click"],[1,"datepicker-view-manager"],[4,"ngIf"]],template:function(t,i){if(t&1&&ue(0,nZ,4,2,"ng-container",1)(1,aZ,5,4,"ng-template",null,0,Nu),t&2){let r=fn(2);L("ngIf",i.hasRangeOptions)("ngIfElse",r)}},dependencies:[rn,rt,ol,xX,TX,WX,YX,qX,QX],encapsulation:2}),e})(),bh=(()=>{class e extends Id{constructor(t,i,r,o,l,p,C,w,V,j,$,W,se,be){if(super(be,W,$,se),this.renderer=t,this.elem=i,this.toggleService=r,this.dateNavigationService=o,this.datepickerEnabledService=l,this.dateFormControlService=p,this.dateIOService=C,this.commonStrings=w,this.viewManagerService=j,this.controlClassService=$,this.layoutService=W,this.ngControlService=se,this.ifControlStateService=be,this.focus=!1,this.subscriptions.push(V.focusChange.subscribe(Ve=>{this.focus=Ve})),this.subscriptions.push(r.openChange.subscribe(()=>{p.markAsTouched()})),o){let Ve=i.nativeElement.tagName.toLowerCase();o.hasActionButtons=o.isRangePicker=Ve==="clr-date-range-container"}}set showActionButtons(t){this.dateNavigationService.isRangePicker&&!t?console.error("Error! The date range picker requires action buttons, [showActionButtons] cannot be turned off."):this.dateNavigationService.hasActionButtons=t}set clrPosition(t){t&&qo[t]&&(this.viewManagerService.position=qo[t])}set rangeOptions(t){this.dateIOService.setRangeOptions(t)}set min(t){this.dateNavigationService.isRangePicker?(this.dateIOService.setMinDate(t),this.clrStartDateInput?.triggerControlInputValidation(),this.clrEndDateInput?.triggerControlInputValidation()):console.error("Error! The date container [min] input only works for date range pickers. Use the native `min` attribute/property for single-date inputs.")}set max(t){this.dateNavigationService.isRangePicker?(this.dateIOService.setMaxDate(t),this.clrStartDateInput?.triggerControlInputValidation(),this.clrEndDateInput?.triggerControlInputValidation()):console.error("Error! The date container [max] input only works for date range pickers. Use the native `max` attribute/property for single-date inputs.")}set actionButton(t){this.toggleButton=t}get popoverPosition(){return this.viewManagerService.position}get open(){return this.toggleService.open}get isEnabled(){return this.datepickerEnabledService.isEnabled}get isInputDateDisabled(){return this.control&&this.control.disabled||this.dateFormControlService&&this.dateFormControlService.disabled}get isRangePicker(){return this.dateNavigationService.isRangePicker}ngAfterViewInit(){this.dateRangeStructuralChecks(),this.subscriptions.push(this.toggleService.openChange.subscribe(t=>
28{t?this.initializeCalendar():(this.toggleButton.nativeElement.focus(),this.dateNavigationService.resetSelectedDay())})),this.subscriptions.push(this.listenForDateChanges())}getToggleButtonLabel(t){if(t){let i=this.dateIOService.toLocaleDisplayFormatString(t.toDate());return this.commonStrings.parse(this.commonStrings.keys.datepickerToggleChangeDateLabel,{SELECTED_DATE:i})}return this.commonStrings.keys.datepickerToggleChooseDateLabel}listenForDateChanges(){return this.dateNavigationService.selectedDayChange.pipe(Qs(this.dateNavigationService.selectedDay)).subscribe(t=>{if(this.isEnabled){let i=this.getToggleButtonLabel(t),r=this.toggleButton.nativeElement;this.renderer.setAttribute(r,"aria-label",i),this.renderer.setAttribute(r,"title",i)}})}initializeCalendar(){this.dateNavigationService.initializeCalendar()}dateRangeStructuralChecks(){this.dateNavigationService.isRangePicker&&(this.clrDateInput&&console.error("Error! clr-date-range-container must contain clrStartDate and clrEndDate inputs"),this.clrStartDateInput||console.error("Error! clr-date-range-container must contain clrStartDate input"),this.clrEndDateInput||console.error("Error! clr-date-range-container must contain clrEndDate input"))}}return e.\u0275fac=function(t){return new(t||e)(A(Lt),A(et),A(ar),A(Us),A(vy),A(_h),A(_d),A(sr),A(Ch),A(yh),A(_o),A(rc,8),A(Mr),A(Kr))},e.\u0275cmp=Me({type:e,selectors:[["clr-date-container"],["clr-date-range-container"]],contentQueries:function(t,i,r){if(t&1&&(wn(r,Vg,5),wn(r,$X,5),wn(r,GX,5)),t&2){let o;gt(o=mt())&&(i.clrDateInput=o.first),gt(o=mt())&&(i.clrStartDateInput=o.first),gt(o=mt())&&(i.clrEndDateInput=o.first)}},viewQuery:function(t,i){if(t&1&&xn(lZ,5),t&2){let r;gt(r=mt())&&(i.actionButton=r.first)}},hostVars:8,hostBindings:function(t,i){t&2&&Be("clr-date-container",!0)("clr-form-control-disabled",i.isInputDateDisabled)("clr-form-control",!0)("clr-row",i.addGrid())},inputs:{showActionButtons:"showActionButtons",clrPosition:"clrPosition",rangeOptions:"rangeOptions",min:"min",max:"max"},standalone:!1,features:[Et([yo,Fg,_o,Ch,Mr,_d,Us,vy,_h,yh,Kr]),qc([Ng]),xt],ngContentSelectors:dZ,decls:14,vars:15,consts:[["actionButton",""],[4,"ngIf"],[1,"clr-control-container",3,"ngClass"],["clrPopoverAnchor","",1,"clr-input-wrapper"],[1,"clr-input-group"],["type","button","clrPopoverOpenCloseButton","","class","clr-input-group-icon-action",3,"disabled",4,"ngIf"],["cdkTrapFocus","",4,"clrPopoverContent","clrPopoverContentAt","clrPopoverContentOutsideClickToClose","clrPopoverContentScrollToClose"],["class","clr-validate-icon","shape","exclamation-circle","status","danger","aria-hidden","true",4,"ngIf"],["class","clr-validate-icon","shape","check-circle","status","success","aria-hidden","true",4,"ngIf"],[1,"date-range-separator"],["type","button","clrPopoverOpenCloseButton","",1,"clr-input-group-icon-action",3,"disabled"],["status","info","shape","calendar"],["cdkTrapFocus",""],["shape","exclamation-circle","status","danger","aria-hidden","true",1,"clr-validate-icon"],["shape","check-circle","status","success","aria-hidden","true",1,"clr-validate-icon"]],template:function(t,i){t&1&&(tn(cZ),Ze(0),ue(1,uZ,1,0,"label",1),F(2,"div",2)(3,"div",3)(4,"div",4),ue(5,hZ,5,0,"ng-container",1),Ze(6,1),ue(7,pZ,3,1,"button",5)(8,fZ,1,0,"clr-datepicker-view-manager",6),P(),ue(9,gZ,1,0,"cds-icon",7)(10,mZ,1,0,"cds-icon",8),P(),ue(11,vZ,1,0,"ng-content",1)(12,CZ,1,0,"ng-content",1)(13,_Z,1,0,"ng-content",1),P()),t&2&&(E(),L("ngIf",!i.label&&i.addGrid()),E(),L("ngClass",i.controlClass()),E(2),Be("clr-focus",i.focus),E(),L("ngIf",i.isRangePicker),E(2),L("ngIf",i.isEnabled),E(),L("clrPopoverContent",i.open)("clrPopoverContentAt",i.popoverPosition)("clrPopoverContentOutsideClickToClose",!0)("clrPopoverContentScrollToClose",!0),E(),L("ngIf",i.showInvalid),E(),L("ngIf",i.showValid),E(),L("ngIf",i.showHelper),E(),L("ngIf",i.showInvalid),E(),L("ngIf",i.showValid))},dependencies:[Dn,rt,GP,kP,LP,NP,Zt,Tn,ZX],encapsulation:2}),e})(),wy=(()=>{class e{constructor(t){this.dateIOService=t}validate(t){if(this.dateIOService){let i=this.dateIOService.getDateValueFromDateString(t.value),r=this.dateIOService.disabledDates.minDate.toDate(),o=this.dateIOService.disabledDates.maxDate.toDate();if(i&&i<r)return{min:{min:r.toLocaleDateString(),actual:i.toLocaleDateString()}};if(i&&i>o)return{max:{max:o.toLocaleDateString(),actual:i.toLocaleDateString()}}}return null}}return e.\u0275fac=function(t){return new(t||e)(A(_d,8))},e.\u0275dir=He({type:e,selectors:[["","clrDate",""],["","clrStartDate",""],["","clrEndDate",""]],standalone:!1,features:[Et([{provide:Fo,useExisting:e,multi:!0}])]}),e})();var KX=(()=>{class e{constructor(){Le.addIcons(yr,_r,ma,tx,Jw)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=We({type:e}),e.\u0275inj=$e({imports:[pt,Ey,Lg,ls,kg,on,_i,zP]}),e})();var Sye=new me("ClrFileMessagesTemplateContext");var XX=(()=>{class e{constructor(){Le.addIcons(ax)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=We({type:e}),e.\u0275inj=$e({imports:[pt,on,_i,_i]}),e})();var JX=(()=>{class e{constructor(){Le.addIcons(yr,_r,fx,Ls)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=We({type:e}),e.\u0275inj=$e({imports:[pt,os,on,_i,_i]}),e})(),Iye=new me(void 0);var eJ=(()=>{class e{constructor(){Le.addIcons(rx,ix,yr,_r)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=We({type:e}),e.\u0275inj=$e({imports:[pt,os,on,_i,_i]}),e})(),kD=(()=>{class e{ngOnInit(){this.label&&this.label.disableGrid()}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=Me({type:e,selectors:[["clr-radio-wrapper"]],contentQueries:function(t,i,r){if(t&1&&wn(r,Tn,7),t&2){let o;gt(o=mt())&&(i.label=o.first)}},hostVars:2,hostBindings:function(t,i){t&2&&Be("clr-radio-wrapper",!0)},standalone:!1,features:[Et([yo])],ngContentSelectors:bZ,decls:3,vars:1,consts:[[4,"ngIf"]],template:function(t,i){t&1&&(tn(yZ),Ze(0),Ze(1,1),ue(2,SZ,1,0,"label",0)),t&2&&(E(2),L("ngIf",!i.label))},dependencies:[rt,Tn],encapsulation:2}),e})(),YP=(()=>{class e extends oc{constructor(t,i,r,o,l){super(t,kD,i,r,o,l)}}return e.\u0275fac=function(t){return new(t||e)(A(Nn),A(Gt),A(Ci,10),A(Lt),A(et))},e.\u0275dir=He({type:e,selectors:[["","clrRadio",""]],standalone:!1,features:[xt]}),e})();var tJ=(()=>{class e{constructor(){Le.addIcons(yr,_r)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=We({type:e}),e.\u0275inj=$e({imports:[pt,_i,Lg,on,_i]}),e})();var nJ=(()=>{class e{constructor(){Le.addIcons(yr,_r)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=We({type:e}),e.\u0275inj=$e({imports:[pt,_i,Lg,on,_i]}),e})(),Ed=(()=>{class e extends Id{constructor(t,i,r,o){super(o,t,i,r),this.layoutService=t,this.controlClassService=i,this.ngControlService=r,this.ifControlStateService=o,this.multi=!1}ngOnInit(){this.subscriptions.push(this.ngControlService.controlChanges.subscribe(t=>{t&&(this.multi=t.valueAccessor instanceof Wf,this.control=t)}))}wrapperClass(){return this.multi?"clr-multiselect-wrapper":"clr-select-wrapper"}}return e.\u0275fac=function(t){return new(t||e)(A(rc,8),A(_o),A(Mr),A(Kr))},e.\u0275cmp=Me({type:e,selectors:[["clr-select-container"]],contentQueries:function(t,i,r){if(t&1&&wn(r,Wf,5),t&2){let o;gt(o=mt())&&(i.multiple=o.first)}},hostVars:6,hostBindings:function(t,i){t&2&&Be("clr-form-control",!0)("clr-form-control-disabled",i.control==null?null:i.control.disabled)("clr-row",i.addGrid())},standalone:!1,features:[Et([Kr,Mr,yo,_o]),xt],ngContentSelectors:EZ,decls:10,vars:8,consts:[[4,"ngIf"],[1,"clr-control-container",3,"ngClass"],[3,"ngClass"],["class","clr-validate-icon","shape","exclamation-circle","status","danger","aria-hidden","true",4,"ngIf"],["class","clr-validate-icon","shape","check-circle","status","success","aria-hidden","true",4,"ngIf"],["shape","exclamation-circle","status","danger","aria-hidden","true",1,"clr-validate-icon"],["shape","check-circle","status","success","aria-hidden","true",1,"clr-validate-icon"]],template:function(t,i){t&1&&(tn(IZ),Ze(0),ue(1,wZ,1,0,"label",0),F(2,"div",1)(3,"div",2),Ze(4,1),ue(5,xZ,1,0,"cds-icon",3)(6,DZ,1,0,"cds-icon",4),P(),ue(7,TZ,1,0,"ng-content",0)(8,MZ,1,0,"ng-content",0)(9,AZ,1,0,"ng-content",0),P()),t&2&&(E(),L("ngIf",!i.label&&i.addGrid()),E(),L("ngClass",i.controlClass()),E(),L("ngClass",i.wrapperClass()),E(2),L("ngIf",i.showInvalid),E(),L("ngIf",i.showValid),E(),L("ngIf",i.showHelper),E(),L("ngIf",i.showInvalid),E(),L("ngIf",i.showValid))},dependencies:[Dn,rt,Zt,Tn],encapsulation:2}),e})(),wh=(()=>{class e extends oc{constructor(t,i,r,o,l){super(t,Ed,i,r,o,l),this.index=1}}return e.\u0275fac=function(t){return new(t||e)(A(Nn),A(Gt),A(Ci,10),A(Lt),A(et))},e.\u0275dir=He({type:e,selectors:[["","clrSelect",""]],hostVars:2,hostBindings:function(t,i){t&2&&Be("clr-select",!0)},standalone:!1,features:[xt]}),e})(),iJ=(()=>{class e{constructor(){Le.addIcons(yr,_r)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=We({type:e}),e.\u0275inj=$e({imports:[pt,os,on,_i,_i]}),e})(),rJ=(()=>{class e extends Id{}return e.\u0275fac=(()=>{let n;return function(i){return(n||(n=kn(e)))(i||e)}})(),e.\u0275cmp=Me({type:e,selectors:[["clr-textarea-container"]],hostVars:6,hostBindings:function(t,i){t&2&&Be("clr-form-control",!0)("clr-form-control-disabled",i.control==null?null:i.control.disabled)("clr-row",i.addGrid())},standalone:!1,features:[Et([Kr,Mr,yo,_o]),xt],ngContentSelectors:RZ,decls:10,vars:7,consts:[[4,"ngIf"],[1,"clr-control-container",3,"ngClass"],[1,"clr-textarea-wrapper"],["class","clr-validate-icon","shape","exclamation-circle","status","danger","aria-hidden","true",4,"ngIf"],["class","clr-validate-icon","shape","check-circle","status","success","aria-hidden","true",4,"ngIf"],["shape","exclamation-circle","status","danger","aria-hidden","true",1,"clr-validate-icon"],["shape","check-circle","status","success","aria-hidden","true",1,"clr-validate-icon"]],template:function(t,i){t&1&&(tn(OZ),Ze(0),ue(1,PZ,1,0,"label",0),F(2,"div",1)(3,"div",2),Ze(4,1),ue(5,kZ,1,0,"cds-icon",3)(6,NZ,1,0,"cds-icon",4),P(),ue(7,LZ,1,0,"ng-content",0)(8,FZ,1,0,"ng-content",0)(9,VZ,1,0,"ng-content",0),P()),t&2&&(E(),L("ngIf",!i.label&&i.addGrid()),E(),L("ngClass",i.controlClass()),E(3),L("ngIf",i.showInvalid),E(),L("ngIf",i.showValid),E(),L("ngIf",i.showHelper),E(),L("ngIf",i.showInvalid),E(),L("ngIf",i.showValid))},dependencies:[Dn,rt,Zt,Tn],encapsulation:2}),e})(),Eye=(()=>{class e extends oc{constructor(t,i,r,o,l){super(t,rJ,i,r,o,l),this.index=1}}return e.\u0275fac=function(t){return new(t||e)(A(Nn),A(Gt),A(Ci,10),A(Lt),A(et))},e.\u0275dir=He({type:e,selectors:[["","clrTextarea",""]],hostVars:2,hostBindings:function(t,i){t&2&&Be("clr-textarea",!0)},standalone:!1,features:[xt]}),e})(),oJ=(()=>{class e{constructor(){Le.addIcons(yr,_r)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=We({type:e}),e.\u0275inj=$e({imports:[pt,os,on,_i,_i]}),e})(),qP=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=We({type:e}),e.\u0275inj=$e({imports:[pt,_i,ZK,rX,KX,XX,jP,eJ,tJ,iJ,oJ,nJ,lX,JX]}),e})(),QP=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=We({type:e}),e.\u0275inj=$e({imports:[pt]}),e})();var sJ=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=We({type:e}),e.\u0275inj=$e({}),e})();var aJ=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=We({type:e}),e.\u0275inj=$e({imports:[pt]}),e})();var lJ=(()=>{class e{constructor(t){this.platformId=t,this.modalStack=[],this.keyUpEventListener=this.onKeyUp.bind(this)}trackModalOpen(t){this.modalStack.includes(t)===!1&&this.modalStack.unshift(t),ui(this.platformId)&&document.body.addEventListener("keyup",this.keyUpEventListener)}trackModalClose(t){let i=this.modalStack.indexOf(t);i>-1&&this.modalStack.splice(i,1),this.modalStack.length===0&&ui(this.platformId)&&document.body.removeEventListener("keyup",this.keyUpEventListener)}onKeyUp(t){this.modalStack.length&&ba(t.key)===ht.Escape&&(document.activeElement.blur(),this.modalStack[0].close())}}return e.\u0275fac=function(t){return new(t||e)(ae(xi))},e.\u0275prov=le({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();var uy=(function(e){return e[e.WIDTH=0]="WIDTH",e[e.HIDDEN=1]="HIDDEN",e[e.INITIALIZE=2]="INITIALIZE",e})(uy||{}
28),wye=Object.keys(uy).map(e=>uy[e]).filter(e=>e===parseInt(e,10)&&e!==uy.INITIALIZE);var xye=new me("COLUMN_STATE");var cJ=(()=>{class e{constructor(){Le.addIcons(ex,dx,ld,og,qr,cx,x_,sx,ox)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=We({type:e}),e.\u0275inj=$e({imports:[pt,sJ,Ey,on,qP,os,CD,ls,aJ,QP,mh,kg,DD]}),e})();var dJ=(()=>{class e{constructor(){Le.addIcons(ma)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=We({type:e}),e.\u0275inj=$e({imports:[pt,os,on,QP]}),e})(),Sh=(()=>{class e{constructor(){this.selectable=!1,this.eager=!0,this.childrenFetched=new Qe}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=le({token:e,factory:e.\u0275fac}),e})();function uJ(e){return e||new Sh}var ZP={provide:Sh,useFactory:uJ,deps:[[new Wc,new Su,Sh]]},KP=(()=>{class e{constructor(t,i){this.featuresService=t,this.expandService=i,i&&(this.subscription=i.expandChange.subscribe(r=>{!r&&this.parent&&!t.eager&&t.recursion&&this.parent.clearChildren()}))}ngAfterContentInit(){this.setAriaRoles()}shouldRender(){return this.featuresService.recursion&&(this.featuresService.eager||!this.expandService||this.expandService.expanded)}getContext(t){return{$implicit:t.model,clrModel:t}}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}setAriaRoles(){this.role=this.parent?"group":null}}return e.\u0275fac=function(t){return new(t||e)(A(Sh),A(dy,8))},e.\u0275cmp=Me({type:e,selectors:[["clr-recursive-children"]],hostVars:1,hostBindings:function(t,i){t&2&&De("role",i.role)},inputs:{parent:"parent",children:"children"},standalone:!1,decls:1,vars:1,consts:[[4,"ngIf"],[4,"ngFor","ngForOf"],[4,"ngTemplateOutlet","ngTemplateOutletContext"]],template:function(t,i){t&1&&ue(0,jZ,2,1,"ng-container",0),t&2&&L("ngIf",i.shouldRender())},dependencies:[rn,rt,ol],encapsulation:2}),e})();var Ui=(function(e){return e[e.UNSELECTED=0]="UNSELECTED",e[e.SELECTED=1]="SELECTED",e[e.INDETERMINATE=2]="INDETERMINATE",e})(Ui||{}),pD=class{constructor(){this.loading$=new Pn(!1),this.selected=new Pn(Ui.UNSELECTED),this._loading=!1}get loading(){return this._loading}set loading(n){this._loading=n,this.loading$.next(n)}get disabled(){return!!(this._disabled||this.parent?.disabled)}set disabled(n){this._disabled=n}destroy(){this.selected.complete()}setSelected(n,t,i){n!==this.selected.value&&(this.selected.next(n),i&&n!==Ui.INDETERMINATE&&this.children&&this.children.forEach(r=>{r.disabled||r.setSelected(n,!1,!0)}),t&&this.parent&&this.parent._updateSelectionFromChildren())}toggleSelection(n){if(this.disabled)return;let t=this.selected.value===Ui.SELECTED?Ui.UNSELECTED:Ui.SELECTED;this.setSelected(t,!0,n)}_updateSelectionFromChildren(){let n=this.computeSelectionStateFromChildren();n!==this.selected.value&&(this.selected.next(n),this.parent&&this.parent._updateSelectionFromChildren())}computeSelectionStateFromChildren(){let n=!1,t=!1;for(let i of this.children)switch(i.selected.value){case Ui.INDETERMINATE:if(i.disabled)continue;return Ui.INDETERMINATE;case Ui.SELECTED:if(n=!0,t)return Ui.INDETERMINATE;break;case Ui.UNSELECTED:default:if(t=!0,n)return Ui.INDETERMINATE;break}return n?t?Ui.UNSELECTED:Ui.SELECTED:Ui.UNSELECTED}};var fD=(()=>{class e{constructor(){this._focusRequest=new Qe,this._focusChange=new Qe}get focusRequest(){return this._focusRequest.asObservable()}get focusChange(){return this._focusChange.asObservable()}focusNode(t){t&&this._focusRequest.next(t.nodeId)}broadcastFocusedNode(t){this.focusedNodeId!==t&&(this.focusedNodeId=t,this._focusChange.next(t))}focusParent(t){t&&this.focusNode(t.parent)}focusFirstVisibleNode(){let t=this.rootNodeModels&&this.rootNodeModels[0];this.focusNode(t)}focusLastVisibleNode(){this.focusNode(this.findLastVisibleInTree())}focusNodeAbove(t){this.focusNode(this.findNodeAbove(t))}focusNodeBelow(t){this.focusNode(this.findNodeBelow(t))}focusNodeStartsWith(t,i){this.focusNode(this.findClosestNodeStartsWith(t,i))}findSiblings(t){return t.parent?t.parent.children:this.rootNodeModels}findLastVisibleInNode(t){if(!t)return null;if(t.expanded&&t.children.length>0){let i=t.children,r=i[i.length-1];return this.findLastVisibleInNode(r)}else return t}findNextFocusable(t){if(!t)return null;let i=this.findSiblings(t),r=i.indexOf(t);return r<i.length-1?i[r+1]:r===i.length-1?this.findNextFocusable(t.parent):null}findLastVisibleInTree(){let t=this.rootNodeModels&&this.rootNodeModels.length&&this.rootNodeModels[this.rootNodeModels.length-1];return this.findLastVisibleInNode(t)}findNodeAbove(t){if(!t)return null;let i=this.findSiblings(t),r=i.indexOf(t);return r===0?t.parent:r>0?this.findLastVisibleInNode(i[r-1]):null}findNodeBelow(t){return t?t.expanded&&t.children.length>0?t.children[0]:this.findNextFocusable(t):null}findDescendentNodeStartsWith(t,i){if(i.expanded&&i.children.length>0)for(let r of i.children){let o=this.findNodeStartsWith(t,r);if(o)return o}return null}findSiblingNodeStartsWith(t,i){let r=this.findSiblings(i),o=r.indexOf(i);for(let l=o+1;l<r.length;l++){let p=r[l],C=this.findNodeStartsWith(t,p);if(C)return C}return null}findRootNodeStartsWith(t,i){for(let r of this.rootNodeModels){if
28(i.parent&&i.parent===r)continue;let o=this.findNodeStartsWith(t,r);if(o)return o}return null}findNodeStartsWith(t,i){return i?i.textContent.startsWith(t)?i:this.findDescendentNodeStartsWith(t,i):null}findClosestNodeStartsWith(t,i){if(!i)return null;let r=this.findDescendentNodeStartsWith(t,i);if(r)return r;let o=this.findSiblingNodeStartsWith(t,i);if(o)return o;let l=this.findRootNodeStartsWith(t,i);return l||this.findNodeStartsWith(t,i.parent)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=le({token:e,factory:e.\u0275fac}),e})(),gD=class extends pD{constructor(n){super(),this.parent=n,n&&n._addChild(this),this.children=[]}destroy(){this.parent&&this.parent._removeChild(this),super.destroy()}_addChild(n){this.children.push(n)}_removeChild(n){let t=this.children.indexOf(n);t>-1&&this.children.splice(t,1)}},hJ=(()=>{class e{constructor(t){this.el=t}get active(){return this.el.nativeElement.classList.contains("active")}activate(){this.el.nativeElement&&this.el.nativeElement.click&&this.el.nativeElement.click()}}return e.\u0275fac=function(t){return new(t||e)(A(et))},e.\u0275dir=He({type:e,selectors:[["",8,"clr-treenode-link"]],standalone:!1}),e})(),pJ=8,fJ=200,gJ=(()=>{class e{constructor(t,i,r,o,l,p,C,w){this.platformId=t,this.featuresService=r,this.expandService=o,this.commonStrings=l,this.focusManager=p,this.elementRef=C,this.selectedChange=new Ue(!1),this.expandedChange=new Ue,this.STATES=Ui,this.isModelLoading=!1,this.nodeId=yd(),this.contentContainerTabindex=-1,this.skipEmitChange=!1,this.typeAheadKeyBuffer="",this.typeAheadKeyEvent=new Qe,this.subscriptions=[],r.recursion?w.view?this._model=w.view.context.clrModel:this._model=w._lView[pJ].clrModel:this._model=new gD(i?i._model:null),this._model.nodeId=this.nodeId}get disabled(){return this._model.disabled}set disabled(t){this._model.disabled=t}get selected(){return this._model.selected.value}set selected(t){this.featuresService.selectable=!0,(t===null||typeof t>"u")&&(t=Ui.UNSELECTED),typeof t=="boolean"&&(t=t?Ui.SELECTED:Ui.UNSELECTED),this.skipEmitChange=!0,this._model.setSelected(t,this.featuresService.eager,this.featuresService.eager),this.skipEmitChange=!1}get expanded(){return this.expandService.expanded}set expanded(t){this.expandService.expanded=t}set clrForTypeAhead(t){this._model.textContent=OP(t||this.elementRef.nativeElement.textContent)}get ariaSelected(){return this.isSelectable()?this._model.selected.value===Ui.SELECTED:this.treeNodeLink?.active?!0:null}get treeNodeLink(){return this.treeNodeLinkList&&this.treeNodeLinkList.first}get isParent(){return this._model.children&&this._model.children.length>0}ngOnInit(){this._model.expanded=this.expanded,this._model.disabled=this.disabled,this.subscriptions.push(this._model.selected.pipe(qt(()=>!this.skipEmitChange)).subscribe(t=>{this.selectedChange.emit(t)})),this.subscriptions.push(this.expandService.expandChange.subscribe(t=>{this.expandedChange.emit(t),this._model.expanded=t})),this.subscriptions.push(this.focusManager.focusRequest.subscribe(t=>{this.nodeId===t&&this.focusTreeNode()}),this.focusManager.focusChange.subscribe(t=>{this.checkTabIndex(t)})),this.subscriptions.push(this._model.loading$.pipe(Rl(0)).subscribe(t=>this.isModelLoading=t))}ngAfterContentInit(){this.subscriptions.push(this.typeAheadKeyEvent.pipe(Rl(fJ)).subscribe(t=>{this.focusManager.focusNodeStartsWith(t,this._model),this.typeAheadKeyBuffer=""}))}ngAfterViewInit(){this._model.textContent||(this._model.textContent=OP(this.elementRef.nativeElement.textContent))}ngOnDestroy(){this._model.destroy(),this.subscriptions.forEach(t=>t.unsubscribe())}isExpandable(){return typeof this.expandable<"u"?this.expandable:!!this.expandService.expandable||this.isParent}isSelectable(){return this.featuresService.selectable}focusTreeNode(){let t=this.contentContainer.nativeElement;ui(this.platformId)&&document.activeElement!==t&&(this.setTabIndex(0),t.focus(),t.scrollIntoView({block:"nearest",inline:"nearest"}))}broadcastFocusOnContainer(){this.focusManager.broadcastFocusedNode(this.nodeId)}onKeyDown(t){switch(vD(t),ba(t.key)){case ht.ArrowUp:this.focusManager.focusNodeAbove(this._model);break;case ht.ArrowDown:this.focusManager.focusNodeBelow(this._model);break;case ht.ArrowRight:this.expandOrFocusFirstChild();break;case ht.ArrowLeft:this.collapseOrFocusParent();break;case ht.Home:t.preventDefault(),this.focusManager.focusFirstVisibleNode();break;case ht.End:t.preventDefault(),this.focusManager.focusLastVisibleNode();break;case ht.Enter:this.toggleExpandOrTriggerDefault();break;case ht.Space:case ht.Spacebar:t.preventDefault(),this.toggleExpandOrTriggerDefault();break;default:if(this._model.textContent&&gK(t)){this.typeAheadKeyBuffer+=t.key,this.typeAheadKeyEvent.next(this.t
28ypeAheadKeyBuffer);return}break}this.typeAheadKeyBuffer=""}setTabIndex(t){this.contentContainerTabindex=t,this.contentContainer.nativeElement.setAttribute("tabindex",t.toString())}checkTabIndex(t){ui(this.platformId)&&this.nodeId!==t&&this.contentContainerTabindex!==-1&&this.setTabIndex(-1)}toggleExpandOrTriggerDefault(){this.disabled||(this.isExpandable()&&!this.isSelectable()?this.expandService.expanded=!this.expanded:this.triggerDefaultAction())}expandOrFocusFirstChild(){this.disabled||(this.expanded?this.isParent&&this.focusManager.focusNodeBelow(this._model):this.isExpandable()&&(this.expandService.expanded=!0))}collapseOrFocusParent(){this.disabled||(this.expanded?this.expandService.expanded=!1:this.focusManager.focusParent(this._model))}triggerDefaultAction(){this.treeNodeLink?this.treeNodeLink.activate():this.isSelectable()&&this._model.toggleSelection(this.featuresService.eager)}}return e.\u0275fac=function(t){return new(t||e)(A(xi),A(e,12),A(Sh),A(dy),A(sr),A(fD),A(et),A(Gt))},e.\u0275cmp=Me({type:e,selectors:[["clr-tree-node"]],contentQueries:function(t,i,r){if(t&1&&wn(r,hJ,4),t&2){let o;gt(o=mt())&&(i.treeNodeLinkList=o)}},viewQuery:function(t,i){if(t&1&&xn(zZ,7,et),t&2){let r;gt(r=mt())&&(i.contentContainer=r.first)}},hostVars:4,hostBindings:function(t,i){t&2&&Be("clr-tree-node",!0)("disabled",i._model.disabled)},inputs:{expandable:[0,"clrExpandable","expandable"],disabled:[0,"clrDisabled","disabled"],selected:[0,"clrSelected","selected"],expanded:[0,"clrExpanded","expanded"],clrForTypeAhead:"clrForTypeAhead"},outputs:{selectedChange:"clrSelectedChange",expandedChange:"clrExpandedChange"},standalone:!1,features:[Et([ZP,dy,{provide:Ag,useExisting:dy}])],ngContentSelectors:$Z,decls:12,vars:12,consts:[["contentContainer",""],["treenodeContent",""],["role","treeitem","tabindex","-1",1,"clr-tree-node-content-container",3,"keydown","focus"],["aria-hidden","true","type","button","tabindex","-1","class","clr-treenode-caret",3,"disabled","click","focus",4,"ngIf"],["class","clr-treenode-spinner-container",4,"ngIf"],["class","clr-checkbox-wrapper clr-treenode-checkbox",4,"ngIf"],["class","clr-treenode-content",3,"mouseup",4,"ngIf"],[1,"clr-treenode-children"],[3,"parent"],["aria-hidden","true","type","button","tabindex","-1",1,"clr-treenode-caret",3,"click","focus","disabled"],["shape","angle",1,"clr-treenode-caret-icon"],[1,"clr-treenode-spinner-container"],[1,"clr-treenode-spinner","spinner"],[1,"clr-checkbox-wrapper","clr-treenode-checkbox"],["aria-hidden","true","type","checkbox","tabindex","-1",1,"clr-checkbox",3,"change","focus","id","disabled","checked","indeterminate"],[1,"clr-control-label",3,"for"],[3,"ngTemplateOutlet"],[1,"clr-treenode-content",3,"mouseup"],["class","clr-sr-only",4,"ngIf"],[1,"clr-sr-only"]],template:function(t,i){if(t&1){let r=ze();tn(GZ),F(0,"div",2,0),oe("keydown",function(l){return ee(r),te(i.onKeyDown(l))})("focus",function(){return ee(r),te(i.broadcastFocusOnContainer())}),ue(2,WZ,2,2,"button",3)(3,YZ,2,0,"div",4)(4,qZ,4,6,"div",5)(5,QZ,2,1,"div",6)(6,KZ,2,1,"ng-template",null,1,Nu),P(),F(8,"div",7),Ze(9),Ze(10,1),ye(11,"clr-recursive-children",8),P()}t&2&&(Be("clr-form-control-disabled",i.disabled),De("aria-disabled",i.disabled)("aria-expanded",i.isExpandable()?i.expanded:null)("aria-selected",i.ariaSelected),E(2),L("ngIf",i.isExpandable()&&!i.isModelLoading&&!i.expandService.loading),E(),L("ngIf",i.expandService.loading||i.isModelLoading),E(),L("ngIf",i.featuresService.selectable),E(),L("ngIf",!i.featuresService.selectable),E(3),L("@toggleChildrenAnim",i.expandService.expanded?"expanded":"collapsed"),De("role",i.isExpandable()&&!i.featuresService.recursion?"group":null),E(3),L("parent",i._model))},dependencies:[rt,ol,Zt,KP],encapsulation:2,data:{animation:[Bo("toggleChildrenAnim",[pi("collapsed => expanded",[Jt({height:0}),ai(200,Jt({height:"*"}))]),pi("expanded => collapsed",[Jt({height:"*"}),ai(200,Jt({height:0}))]),dl("expanded",Jt({height:"*","overflow-y":"visible"})),dl("collapsed",Jt({height:0}))])]}}),e})();function OP(e){return e.toLocaleLowerCase().trim()}var Dye=(()=>{class e{constructor(t,i,r,o,l){this.featuresService=t,this.focusManagerService=i,this.renderer=r,this.el=o,this.subscriptions=[],this._isMultiSelectable=!1;let p=l.runOutsideAngular(()=>su(o.nativeElement,"focusin").subscribe(C=>{C.target===o.nativeElement&&(i.focusFirstVisibleNode(),r.removeAttribute(o.nativeElement,"tabindex"))}));this.subscriptions.push(p)}set lazy(t){this.featuresService.eager=!t}get isMultiSelectable(){return this._isMultiSelectable}ngAfterContentInit(){this.setRootNodes(),this.subscriptions.push(this.rootNodes.changes.subscribe(()=>{this.setMultiSelectable(),this.setRootNodes()}))}ngOnDestroy(){this.subscriptions.forEach(t=>t.unsubscribe())}setMultiSelectable(){this.featuresService.selectable&&this.rootNodes.length>0?(this._isMultiSelectable=!0,this.renderer.setAttribute(this.el.nativeElement,"aria-multiselectable","true")):(this._isMultiSelectable=!1,this.renderer.removeAttribute(this.el.nativeElement,"aria-multiselectable"))}setRootNodes(){this.focusManagerService.rootNodeModels=this.rootNodes.map(t=>t._model).filter(t=>!t.parent)}}return e.\u0275fac=function(t){return new(t||e)(A(Sh),A(fD),A(Lt),A(et),A(Rt))}
28,e.\u0275cmp=Me({type:e,selectors:[["clr-tree"]],contentQueries:function(t,i,r){if(t&1&&wn(r,gJ,4),t&2){let o;gt(o=mt())&&(i.rootNodes=o)}},hostAttrs:["tabindex","0"],hostVars:1,hostBindings:function(t,i){t&2&&De("role","tree")},inputs:{lazy:[0,"clrLazy","lazy"]},standalone:!1,features:[Et([ZP,fD])],ngContentSelectors:Hi,decls:2,vars:1,consts:[[3,"children",4,"ngIf"],[3,"children"]],template:function(t,i){t&1&&(tn(),Ze(0),ue(1,XZ,1,1,"clr-recursive-children",0)),t&2&&(E(),L("ngIf",i.featuresService.recursion))},dependencies:[rt,KP],encapsulation:2}),e})();var mJ=(()=>{class e{constructor(){Le.addIcons(ma)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=We({type:e}),e.\u0275inj=$e({imports:[pt,on,CD]}),e})(),vJ=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=We({type:e}),e.\u0275inj=$e({imports:[cJ,dJ,mJ]}),e})(),CJ=["info","warning","danger","success","neutral","unknown","loading"],mD=(()=>{class e{constructor(t){this.commonStrings=t,this.defaultIconShape="info-standard",this._alertIconShape="",this._alertType="info"}get alertType(){return this._alertType}set alertType(t){CJ.indexOf(t)>-1&&(this._alertType=t)}get alertIconShape(){return this._alertIconShape===""?this.iconInfoFromType(this._alertType).shape:this._alertIconShape}set alertIconShape(t){t?t!==this._alertIconShape&&(this._alertIconShape=t):this._alertIconShape=""}get alertIconTitle(){return this.iconInfoFromType(this._alertType).title}iconInfoFromType(t){let i={shape:"",cssClass:"",title:""};switch(t){case"warning":i.shape="warning-standard",i.cssClass="alert-warning",i.title=this.commonStrings.keys.warning;break;case"danger":i.shape="error-standard",i.cssClass="alert-danger",i.title=this.commonStrings.keys.danger;break;case"success":i.shape="success-standard",i.cssClass="alert-success",i.title=this.commonStrings.keys.success;break;case"neutral":i.shape="note",i.cssClass="alert-neutral",i.title=this.commonStrings.keys.neutral;break;case"unknown":i.shape="help",i.cssClass="alert-neutral",i.title=this.commonStrings.keys.unknown;break;case"loading":i.shape="loading",i.cssClass="alert-neutral",i.title=this.commonStrings.keys.unknown;break;default:i.shape=this.defaultIconShape,i.cssClass="alert-info",i.title=this.commonStrings.keys.info;break}return i}}return e.\u0275fac=function(t){return new(t||e)(ae(sr))},e.\u0275prov=le({token:e,factory:e.\u0275fac}),e})(),_J=(()=>{class e{constructor(){this._change=new Qe}get changes(){return this._change.asObservable()}get current(){return this._current}set current(t){t!==this._current&&(this._current=t,this._change.next(t))}get activeAlerts(){return this.allAlerts&&this.allAlerts.filter(t=>!t._closed)}get currentAlert(){return this.activeAlerts&&this.activeAlerts[this.current]}set currentAlert(t){this.current=this.activeAlerts.indexOf(t)}get count(){return this.activeAlerts&&this.activeAlerts.length||0}manage(t){this.subscription&&this.subscription.unsubscribe(),this.allAlerts=t,this.current=typeof this._current=="number"?this._current:0,this._change.next(this.current),this.subscription=this.allAlerts.changes.subscribe(()=>{this.current>=this.allAlerts.length&&(this.current=Math.max(0,this.allAlerts.length-1))})}next(){this._current=this.current===this.activeAlerts.length-1?0:this.current+1,this._change.next(this._current)}previous(){this.activeAlerts.length!==0&&(this._current=this.current===0?this.activeAlerts.length-1:this.current-1,this._change.next(this._current))}open(){this.activeAlerts.length!==0&&(this.currentAlert||(this._current=0),this._change.next(this._current))}close(t){this.activeAlerts.length!==0&&(t&&(this._current=Math.max(0,this.current-1)),this._change.next(this._current))}destroy(){this.subscription&&this.subscription.unsubscribe()}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=le({token:e,factory:e.\u0275fac}),e})(),XP=(()=>{class e{constructor(t,i,r,o,l,p){this.iconService=t,this.cdr=i,this.multiAlertService=r,this.commonStrings=o,this.renderer=l,this.hostElement=p,this.isSmall=!1,this.closable=!0,this.isAppLevel=!1,this.clrCloseButtonAriaLabel=this.commonStrings.keys.alertCloseButtonAriaLabel,this._closedChanged=new Ue(!1),this._closed=!1,this.subscriptions=[],this._isLightweight=!1}get isLightweight(){return this._isLightweight}set isLightweight(t){this._isLightweight=t,this.configAlertType(this._origAlertType)}get alertType(){return this.iconService.alertType}set alertType(t){this._origAlertType=t,this.configAlertType(t)}
28set alertIconShape(t){this.iconService.alertIconShape=t}set closed(t){t&&!this._closed?this.close():!t&&this._closed&&this.open()}get alertClass(){return this.iconService.iconInfoFromType(this.iconService.alertType).cssClass}get hidden(){return this._hidden}set hidden(t){t!==this._hidden&&(this._hidden=t,this._hidden?this.renderer.addClass(this.hostElement.nativeElement,"alert-hidden"):this.renderer.removeClass(this.hostElement.nativeElement,"alert-hidden"),this.cdr.detectChanges())}ngOnInit(){this.multiAlertService&&this.subscriptions.push(this.multiAlertService.changes.subscribe(()=>{this.hidden=this.multiAlertService.currentAlert!==this}))}ngOnDestroy(){this.subscriptions.forEach(t=>t.unsubscribe())}configAlertType(t){this.iconService.alertType=t}open(){this._closed=!1,this.multiAlertService&&this.multiAlertService.open(),this._closedChanged.emit(!1)}close(){if(!this.closable)return;let t=this.multiAlertService?.currentAlert===this;this._closed=!0,this.multiAlertService?.activeAlerts&&this.multiAlertService.close(t),this._closedChanged.emit(!0)}}return e.\u0275fac=function(t){return new(t||e)(A(mD),A(Yn),A(_J,8),A(sr),A(Lt),A(et))},e.\u0275cmp=Me({type:e,selectors:[["clr-alert"]],inputs:{isSmall:[0,"clrAlertSizeSmall","isSmall"],closable:[0,"clrAlertClosable","closable"],isAppLevel:[0,"clrAlertAppLevel","isAppLevel"],clrCloseButtonAriaLabel:"clrCloseButtonAriaLabel",isLightweight:[0,"clrAlertLightweight","isLightweight"],alertType:[0,"clrAlertType","alertType"],alertIconShape:[0,"clrAlertIcon","alertIconShape"],closed:[0,"clrAlertClosed","closed"]},outputs:{_closedChanged:"clrAlertClosedChange"},standalone:!1,features:[Et([mD])],ngContentSelectors:Hi,decls:1,vars:1,consts:[["class","alert",3,"ngClass","alert-sm","alert-lightweight","alert-app-level",4,"ngIf"],[1,"alert",3,"ngClass"],[1,"alert-items"],["type","button","class","close",3,"click",4,"ngIf"],["type","button",1,"close",3,"click"],["shape","times"]],template:function(t,i){t&1&&(tn(),ue(0,eK,4,8,"div",0)),t&2&&L("ngIf",!i._closed)},dependencies:[Dn,rt,Zt],encapsulation:2}),e})(),JP=(()=>{class e{constructor(t){this.iconService=t}}return e.\u0275fac=function(t){return new(t||e)(A(mD))},e.\u0275cmp=Me({type:e,selectors:[["clr-alert-item"]],hostAttrs:[1,"alert-item"],standalone:!1,ngContentSelectors:Hi,decls:4,vars:2,consts:[[1,"alert-icon-wrapper"],["class","alert-spinner","clrInline","",4,"ngIf"],["class","alert-icon","role","img",4,"ngIf"],["clrInline","",1,"alert-spinner"],["role","img",1,"alert-icon"]],template:function(t,i){t&1&&(tn(),F(0,"div",0),ue(1,tK,1,0,"clr-spinner",1)(2,nK,1,2,"cds-icon",2),P(),Ze(3)),t&2&&(E(),L("ngIf",i.iconService.alertIconShape==="loading"),E(),L("ngIf",i.iconService.alertIconShape!=="loading"))},dependencies:[rt,Zt,Sy],encapsulation:2}),e})();var e7=(()=>{class e{constructor(){Le.addIcons(sg,cg,lx,br,lg,ux,ld)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=We({type:e}),e.\u0275inj=$e({imports:[pt,on,yD,mh]}),e})(),yJ=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=We({type:e}),e.\u0275inj=$e({imports:[e7]}),e})(),RP=(()=>{class e{constructor(t){this._document=t}stopScrolling(){this._document.body.classList.add("no-scrolling")}resumeScrolling(){this._document.body.classList.contains("no-scrolling")&&this._document.body.classList.remove("no-scrolling")}}return e.\u0275fac=function(t){return new(t||e)(ae(_n))},e.\u0275prov=le({token:e,factory:e.\u0275fac}),e})(),bJ=(()=>{class e{constructor(){this.fadeMove="fadeDown",this.backdrop=!0}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=le({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),lr=(()=>{class e{constructor(t,i,r,o){this._scrollingService=t,this.commonStrings=i,this.modalStackService=r,this.configuration=o,this.modalId=yd(),this._open=!1,this._openChanged=new Ue(!1),this.closable=!0,this.closeButtonAriaLabel=this.commonStrings.keys.close,this.size="md",this.staticBackdrop=!0,this.skipAnimation=!1,this.stopClose=!1,this.altClose=new Ue(!1),this.bypassScrollService=!1}get fadeMove(){return this.skipAnimation?"":this.configuration.fadeMove}set fadeMove(t){this.configuration.fadeMove=t}get backdrop(){return this.configuration.backdrop}ngOnChanges(t){!this.bypassScrollService&&t&&Object.prototype.hasOwnProperty.call(t,"_open")&&(t._open.currentValue?(this._scrollingService.stopScrolling(),this.modalStackService.trackModalOpen(this)):this._scrollingService.resumeScrolling())}ngOnDestroy(){this._scrollingService.resumeScrolling()}open(){this._open||(this._open=!0,this._openChanged.emit(!0),this.modalStackService.trackModalOpen(this))}backdropClick(){if(this.staticBackdrop){this.title.nativeElement.focus();return}this.close()}close(){if(this.stopClose){this.altClose.emit(!1);return}!this.closable||!this._open||(this._open=!1)}fadeDone(t){t.toState==="void"&&(this._openChanged.emit(!1),this.modalStackService.trackModalClose(this))}scrollTop(){this.bodyElementRef.nativeElement.scrollTo(0,0)}}return e.\u0275fac=function(t){return new(t||e)(A(RP),A(sr),A(lJ),A(bJ))},e.\u0275cmp=Me({type:e,selectors:[["clr-modal"]],contentQueries:function(t,i,r){if(t&1&&wn(r,iK,5),t&2){let o;gt(o=mt())&&(i.modalContentTemplate=o.first)}},viewQuery:function(t,i){if(t&1&&(xn(UZ,5),xn(rK,5)),t&2){let r;
28gt(r=mt())&&(i.title=r.first),gt(r=mt())&&(i.bodyElementRef=r.first)}},hostVars:2,hostBindings:function(t,i){t&2&&Be("open",i._open)},inputs:{_open:[0,"clrModalOpen","_open"],closable:[0,"clrModalClosable","closable"],closeButtonAriaLabel:[0,"clrModalCloseButtonAriaLabel","closeButtonAriaLabel"],size:[0,"clrModalSize","size"],staticBackdrop:[0,"clrModalStaticBackdrop","staticBackdrop"],skipAnimation:[0,"clrModalSkipAnimation","skipAnimation"],stopClose:[0,"clrModalPreventClose","stopClose"],labelledBy:[0,"clrModalLabelledById","labelledBy"],bypassScrollService:[0,"clrModalOverrideScrollService","bypassScrollService"]},outputs:{_openChanged:"clrModalOpenChange",altClose:"clrModalAlternateClose"},standalone:!1,features:[Et([],[RP]),Xt],ngContentSelectors:sK,decls:1,vars:1,consts:[["title",""],["body",""],["class","modal",3,"modal-full-screen",4,"ngIf"],[1,"modal"],["cdkTrapFocus","","role","dialog","aria-modal","true",1,"modal-dialog",3,"cdkTrapFocusAutoCapture"],[1,"clr-sr-only"],["class","modal-content-wrapper",4,"ngIf","ngIfElse"],["class","modal-backdrop","aria-hidden","true",3,"click",4,"ngIf"],[1,"modal-content-wrapper"],[1,"modal-content"],[1,"modal-header--accessible"],["cdkFocusInitial","","tabindex","-1",1,"modal-title-wrapper",3,"id"],["type","button","class","close",3,"click",4,"ngIf"],[1,"modal-body-wrapper"],["type","button",1,"close",3,"click"],["shape","window-close"],["aria-hidden","true",1,"modal-backdrop",3,"click"]],template:function(t,i){t&1&&(tn(oK),ue(0,dK,8,17,"div",2)),t&2&&L("ngIf",i._open)},dependencies:[rt,GP,Zt],styles:["[_nghost-%COMP%]{display:none}.open[_nghost-%COMP%]{display:inline}"],data:{animation:[Bo("fadeMove",[pi("* => fadeDown",[Jt({opacity:0,transform:"translate(0, -25%)"}),ai("0.2s ease-in-out")]),pi("fadeDown => *",[ai("0.2s ease-in-out",Jt({opacity:0,transform:"translate(0, -25%)"}))]),pi("* => fadeLeft",[Jt({opacity:0,transform:"translate(25%, 0)"}),ai("0.2s ease-in-out")]),pi("fadeLeft => *",[ai("0.2s ease-in-out",Jt({opacity:0,transform:"translate(25%, 0)"}))]),pi("* => fadeUp",[Jt({opacity:0,transform:"translate(0, 50%)"}),ai("0.2s ease-in-out")]),pi("fadeUp => *",[ai("0.2s ease-in-out",Jt({opacity:0,transform:"translate(0, 50%)"}))])]),Bo("fade",[pi("void => *",[Jt({opacity:0}),ai("0.2s ease-in-out",Jt({opacity:.85}))]),pi("* => void",[ai("0.2s ease-in-out",Jt({opacity:0}))])])]}}),e})(),Bi=(()=>{class e{constructor(t,i,r){this.renderer=t,this.host=i,this.tabindex="0",this.unlisteners=[],r.runOutsideAngular(()=>{this.observer=new ResizeObserver(()=>this.addOrRemoveTabIndex()),this.observer.observe(i.nativeElement),this.unlisteners.push(t.listen(i.nativeElement,"mouseup",()=>{this.addOrRemoveTabIndex()}),t.listen(i.nativeElement,"mousedown",()=>{this.removeTabIndex()}))})}ngOnDestroy(){for(;this.unlisteners.length;)this.unlisteners.pop()();this.observer.disconnect(),this.observer=null}addTabIndex(){this.renderer.setAttribute(this.host.nativeElement,"tabindex",this.tabindex)}removeTabIndex(){this.renderer.removeAttribute(this.host.nativeElement,"tabindex")}addOrRemoveTabIndex(){let t=this.host.nativeElement.parentElement;t&&t.clientHeight<t.scrollHeight?this.addTabIndex():this.removeTabIndex()}}return e.\u0275fac=function(t){return new(t||e)(A(Lt),A(et),A(Rt))},e.\u0275dir=He({type:e,selectors:[["",8,"modal-body"]],standalone:!1}),e})();var Cy=(()=>{class e{constructor(){Le.addIcons(ld)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=We({type:e}),e.\u0275inj=$e({imports:[pt,Ey,on,on]}),e})();var SJ=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=We({type:e}),e.\u0275inj=$e({imports:[pt,Ey,on,Cy,Cy,on]}),e})();var IJ=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=We({type:e}),e.\u0275inj=$e({imports:[pt]}),e})();var EJ=(()=>{class e{constructor(){Le.addIcons(hx,px,sg,lg)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=We({type:e}),e.\u0275inj=$e({imports:[pt,on,mh,on,mh]}),e})();var wJ=(()=>{class e{constructor(){Le.addIcons(sg,lg)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=We({type:e}),e.\u0275inj=$e({imports:[pt,Cy,e7]}),e})(),ND=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=We({type:e}
28),e.\u0275inj=$e({imports:[yJ,vJ,on,Cy,CD,ls,gy,xK,qP,MX,zK,wJ,SJ,fK,mh,IJ,kg,EJ]}),e})();var kye=(()=>{class e{constructor(t,i){this.el=t,this._zone=i,this.updateChange=new Ue(!0),this.chartInstance=new Ue}ngOnChanges(t){let i=t.update&&t.update.currentValue;(t.options||i)&&(this.wrappedUpdateOrCreateChart(),i&&this.updateChange.emit(!1))}wrappedUpdateOrCreateChart(){this.runOutsideAngular?this._zone.runOutsideAngular(()=>{this.updateOrCreateChart()}):this.updateOrCreateChart()}updateOrCreateChart(){this.chart&&this.chart.update?this.chart.update(this.options,!0,this.oneToOne||!1):(this.chart=this.Highcharts[this.constructorType||"chart"](this.el.nativeElement,this.options,this.callbackFunction||null),this.chartInstance.emit(this.chart))}ngOnDestroy(){this.chart&&(this.chart.destroy(),this.chart=null)}}return e.\u0275fac=function(t){return new(t||e)(A(et),A(Rt))},e.\u0275cmp=Me({type:e,selectors:[["highcharts-chart"]],inputs:{Highcharts:"Highcharts",constructorType:"constructorType",callbackFunction:"callbackFunction",oneToOne:"oneToOne",runOutsideAngular:"runOutsideAngular",options:"options",update:"update"},outputs:{updateChange:"updateChange",chartInstance:"chartInstance"},standalone:!1,features:[Xt],decls:0,vars:0,template:function(t,i){},encapsulation:2}),e})(),LD=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=We({type:e}),e.\u0275inj=$e({}),e})();var Lye=(()=>{class e{constructor(t){this.template=t,this.final=!1,this.error=!1}static{this.\u0275fac=function(i){return new(i||e)(A(ir))}}static{this.\u0275dir=He({type:e,selectors:[["","wizardTemplate",""]],inputs:{id:"id",final:"final",error:"error"},standalone:!1})}}return e})();var UD=Tp(Dh());var Ug='[^\xE2\xE4\xE5\\{\xE1\xE3\u0103\\\\\xF1\xB0\\<(\\+\\!\\]\xEA\xEB\\}\xED\xEE\xEF~\xDF\xE9\\*\\^\xC3\xC4\xC0\xC2\xC5\xC1\xC3\xC7\xD1\xF2\xC9\xCA\xCB\xC8\xED\xCE\xCF\xCC\xF9\xA3\xA7\u0424\xAB\xBB\u0111\xFD\u2021\\[\\=\xA9\xE6\u201A\xC6"\xF8\xCD\xD8\xF0\xFE\xB1\xAA\xBA\xB8]+',t7=/^(?=.*[0-9])(?=.*[a-zA-Z])[a-zA-Z0-9]+$/,n7=/^[a-zA-Z]{2}[0-9]{5}[a-zA-Z]{2}$/,i7=/^(?=.*[a-zA-Z])(?=.*[0-9]).*$/,r7=/^[a-zA-Z0-9]+$/,o7="FULL",s7="FULL_SPID",a7="FULL_CIE",l7="FULL_VIDEO_SELF",xy="LIGHT",Hg="NONE",Uye="printElement",Hye="printElementCover",Bye="printElementFooter",jye="privacySettings",zye="i dati rappresentati sono puramente indicativi, non devono essere considerati di rilevanza contabile e possono discostarsi dai valori ufficiali riportati nella documentazione contabile";var wd="YYYY-MM-DD",xd="DD-MM-YYYY",Gye="MANDANTE COINTESTATARIO",$ye="Nuovo Rapporto Monointestato",c7="ES-Estero",xJ=(function(e){return e.M1="1M",e.M2="2M",e.M3="3M",e.M4="4M",e.M6="6M",e})(xJ||{}),Wye=["/survey/mifid/simulate"],d7="OK";var u7="https://www.animasgr.it",h7="2284439",p7="13022748",f7="GTM-WSNTCS5",Yye=50;var qye=50,Qye=50,Zye=50;var Kye=100,Xye=100,VD=500,Jye="O8";var ibe=(()=>{class e{constructor(t,i){this.control=t,this.el=i}ngOnInit(){this.control.value instanceof Date?this.el.nativeElement.value=(0,UD.default)(this.control.value).format("YYYY-MM-DD"):this.el.nativeElement.value=this.control.value,this.subscription=this.control.valueChanges?.pipe(ys()).subscribe(t=>{this.control.control?.patchValue((0,UD.default)(t,wd).toDate(),{emitEvent:!1}),this.el.nativeElement.value=t})}ngOnDestroy(){this.subscription?.unsubscribe()}static{this.\u0275fac=function(i){return new(i||e)(A(Ci),A(et))}}static{this.\u0275dir=He({type:e,selectors:[["","appInputDateFormatter",""]],standalone:!1})}}return e})();var HD=(()=>{class e{static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275mod=We({type:e})}static{this.\u0275inj=$e({imports:[pt]})}}return e})();var zg=class{},DJ=(()=>{class e{handle(t){return t.key}static \u0275fac=function(i){return new(i||e)};static \u0275prov=le({token:e,factory:e.\u0275fac})}return e})(),Th=class{},TJ=(()=>{class e extends Th{compile(t,i){return t}compileTranslations(t,i){return t}static \u0275fac=(()=>{let t;return function(r){return(t||(t=kn(e)))(r||e)}})();static \u0275prov=le({token:e,factory:e.\u0275fac})}return e})(),Mh=class{},MJ=(()=>{class e extends Mh{getTranslation(t){return pe({})}static \u0275fac=(()=>{let t;return function(r){return(t||(t=kn(e)))(r||e)}})();static \u0275prov=le({token:e,factory:e.\u0275fac})}return e})();function Dy(e,n){if(e===n)return!0;
28if(e===null||n===null)return!1;if(e!==e&&n!==n)return!0;let t=typeof e,i=typeof n,r;if(t==i&&t=="object")if(Array.isArray(e)){if(!Array.isArray(n))return!1;if((r=e.length)==n.length){for(let o=0;o<r;o++)if(!Dy(e[o],n[o]))return!1;return!0}}else{if(Array.isArray(n))return!1;if(fl(e)&&fl(n)){let o=Object.create(null);for(let l in e){if(!Dy(e[l],n[l]))return!1;o[l]=!0}for(let l in n)if(!(l in o)&&typeof n[l]<"u")return!1;return!0}}return!1}function ac(e){return typeof e<"u"&&e!==null}function g7(e){return e!==void 0}function fl(e){return jg(e)&&!Dd(e)&&e!==null}function jg(e){return typeof e=="object"&&e!==null}function Dd(e){return Array.isArray(e)}function Ty(e){return typeof e=="string"}function AJ(e){return typeof e=="function"}function My(e){if(Dd(e))return e.map(n=>My(n));if(fl(e)){let n={};return Object.keys(e).forEach(t=>{n[t]=My(e[t])}),n}else return e}function zD(e,n){if(!jg(e))return My(n);let t=My(e);return jg(t)&&jg(n)&&Object.keys(n).forEach(i=>{fl(n[i])?i in e?t[i]=zD(e[i],n[i]):Object.assign(t,{[i]:n[i]}):Object.assign(t,{[i]:n[i]})}),t}function v7(e,n){let t=n.split(".");n="";do{n+=t.shift();let i=!t.length;if(ac(e)){if(fl(e)&&g7(e[n])&&(fl(e[n])||Dd(e[n])||i)){e=e[n],n="";continue}if(Dd(e)){let r=parseInt(n,10);if(g7(e[r])&&(fl(e[r])||Dd(e[r])||i)){e=e[r],n="";continue}}}if(i){e=void 0;continue}n+="."}while(t.length);return e}function OJ(e,n,t){return zD(e,RJ(n,t))}function RJ(e,n){return e.split(".").reduceRight((t,i)=>({[i]:t}),n)}var Ah=class{},PJ=(()=>{class e extends Ah{templateMatcher=/{{\s?([^{}\s]*)\s?}}/g;interpolate(t,i){if(Ty(t))return this.interpolateString(t,i);if(AJ(t))return this.interpolateFunction(t,i)}interpolateFunction(t,i){return t(i)}interpolateString(t,i){return i?t.replace(this.templateMatcher,(r,o)=>{let l=this.getInterpolationReplacement(i,o);return l!==void 0?l:r}):t}getInterpolationReplacement(t,i){return this.formatValue(v7(t,i))}formatValue(t){if(Ty(t))return t;if(typeof t=="number"||typeof t=="boolean")return t.toString();if(t===null)return"null";if(Dd(t))return t.join(", ");if(jg(t))return typeof t.toString=="function"&&t.toString!==Object.prototype.toString?t.toString():JSON.stringify(t)}static \u0275fac=(()=>{let t;return function(r){return(t||(t=kn(e)))(r||e)}})();static \u0275prov=le({token:e,factory:e.\u0275fac})}return e})(),BD=(()=>{class e{_onTranslationChange=new Qe;_onLangChange=new Qe;_onFallbackLangChange=new Qe;fallbackLang=null;currentLang;translations={};languages=[];getTranslations(t){return this.translations[t]}setTranslations(t,i,r){this.translations[t]=r&&this.hasTranslationFor(t)?zD(this.translations[t],i):i,this.addLanguages([t]),this._onTranslationChange.next({lang:t,translations:this.getTranslations(t)})}getLanguages(){return this.languages}getCurrentLang(){return this.currentLang}getFallbackLang(){return this.fallbackLang}setFallbackLang(t,i=!0){this.fallbackLang=t,i&&this._onFallbackLangChange.next({lang:t,translations:this.translations[t]})}setCurrentLang(t,i=!0){this.currentLang=t,i&&this._onLangChange.next({lang:t,translations:this.translations[t]})}get onTranslationChange(){return this._onTranslationChange.asObservable()}get onLangChange(){return this._onLangChange.asObservable()}get onFallbackLangChange(){return this._onFallbackLangChange.asObservable()}addLanguages(t){this.languages=Array.from(new Set([...this.languages,...t]))}hasTranslationFor(t){return typeof this.translations[t]<"u"}deleteTranslations(t){delete this.translations[t]}getTranslation(t){let i=this.getValue(this.currentLang,t);return i===void 0&&this.fallbackLang!=null&&this.fallbackLang!==this.currentLang&&(i=this.getValue(this.fallbackLang,t)),i}getValue(t,i){return v7(this.getTranslations(t),i)}static \u0275fac=function(i){return new(i||e)};static \u0275prov=le({token:e,factory:e.\u0275fac})}return e})(),jD=new me("TRANSLATE_CONFIG"),Bg=e=>Cs(e)?e:pe(e);var Hs=(()=>{class e{loadingTranslations;pending=!1;_translationRequests={};lastUseLanguage=null;currentLoader=ge(Mh);compiler=ge(Th);parser=ge(Ah);missingTranslationHandler=ge(zg);store=ge(BD);extend=!1;get onTranslationChange(){return this.store.onTranslationChange}get onLangChange(){return this.store.onLangChange}get onFallbackLangChange(){return this.store.onFallbackLangChange}get onDefaultLangChange(){return this.store.onFallbackLangChange}constructor(){let t=k({extend:!1,fallbackLang:null},ge(jD,{optional:!0}));t.lang&&this.use(t.lang),t.fallbackLang&&this.setFallbackLang(t.fallbackLang),t.extend&&(this.extend=!0)}setFallbackLang(t){this.getFallbackLang()||this.store.setFallbackLang(t,!1);let i=this.loadOrExtendLanguage(t);return Cs(i)?(i.pipe(Hn(1)).subscribe({next:()=>{this.store.setFallbackLang(t)},error:()=>{}}),i):(this.store.setFallbackLang(t),pe(this.store.getTranslations(t)))}use(t){this.lastUseLanguage=t,this.getCurrentLang()||this.store.setCurrentLang(t,!1);let i=this.loadOrExtendLanguage(t);return Cs(i)?(i.pipe(Hn(1)).subscribe({next:()=>{this.changeLang(t)},error:()=>{}}),i):(this.changeLang(t),pe(this.store.getTranslations(t)))}loadOrExtendLanguage(t){if(!this.store.hasTranslationFor(t)||this.extend)return this._translationRequests[t]=this._translationRequests[t]||this.loadAndCompileTranslations(t),this._translationRequests[t]}changeLang(t){t===this.lastUseLanguage&&this.store.setCurrentLang(t)}getCurrentLang(){return this.store.getCurrentLang()}loadAndCompileTranslations(t){this.pending=!0;let i=this.currentLoader.getTranslation(t).pipe(au(1),Hn(1));return this.loadingTranslations=i.pipe(fe(r=>this.compiler.compileTranslations(r,t)),au(1),Hn(1)),this.loadingTranslations.subscribe({next:r=>{this.store.setTranslations(t,r,this.extend),this.pending=!1},error:r=>{this.pending=!1}}),i}setTranslation(t,i,r=!1){let o=this.compiler.compileTranslations(i,t);this.store.setTranslations(t,o,r||this.extend)}getLangs(){return this.store.getLanguages()}addLangs(t){this.store.addLanguages(t)}getParsedResultForKey(t,i){let r=this.getTextToInterpolate(t);if(ac(r))return this.runInterpolation(r,i);let o=this.missingTranslationHandler.handle(k({key:t,translateService:this},i!==void 0&&{interpolateParams:i}
28));return o!==void 0?o:t}getFallbackLang(){return this.store.getFallbackLang()}getTextToInterpolate(t){return this.store.getTranslation(t)}runInterpolation(t,i){if(ac(t))return Dd(t)?this.runInterpolationOnArray(t,i):fl(t)?this.runInterpolationOnDict(t,i):this.parser.interpolate(t,i)}runInterpolationOnArray(t,i){return t.map(r=>this.runInterpolation(r,i))}runInterpolationOnDict(t,i){let r={};for(let o in t){let l=this.runInterpolation(t[o],i);l!==void 0&&(r[o]=l)}return r}getParsedResult(t,i){return t instanceof Array?this.getParsedResultForArray(t,i):this.getParsedResultForKey(t,i)}getParsedResultForArray(t,i){let r={},o=!1;for(let p of t)r[p]=this.getParsedResultForKey(p,i),o=o||Cs(r[p]);if(!o)return r;let l=t.map(p=>Bg(r[p]));return B2(l).pipe(fe(p=>{let C={};return p.forEach((w,V)=>{C[t[V]]=w}),C}))}get(t,i){if(!ac(t)||!t.length)throw new Error('Parameter "key" is required and cannot be empty');return this.pending?this.loadingTranslations.pipe(Ur(()=>Bg(this.getParsedResult(t,i)))):Bg(this.getParsedResult(t,i))}getStreamOnTranslationChange(t,i){if(!ac(t)||!t.length)throw new Error('Parameter "key" is required and cannot be empty');return Rp(Mc(()=>this.get(t,i)),this.onTranslationChange.pipe(Te(()=>{let r=this.getParsedResult(t,i);return Bg(r)})))}stream(t,i){if(!ac(t)||!t.length)throw new Error('Parameter "key" required');return Rp(Mc(()=>this.get(t,i)),this.onLangChange.pipe(Te(()=>{let r=this.getParsedResult(t,i);return Bg(r)})))}instant(t,i){if(!ac(t)||t.length===0)throw new Error('Parameter "key" is required and cannot be empty');let r=this.getParsedResult(t,i);return Cs(r)?Array.isArray(t)?t.reduce((o,l)=>(o[l]=l,o),{}):t:r}set(t,i,r=this.getCurrentLang()){this.store.setTranslations(r,OJ(this.store.getTranslations(r),t,Ty(i)?this.compiler.compile(i,r):this.compiler.compileTranslations(i,r)),!1)}reloadLang(t){return this.resetLang(t),this.loadAndCompileTranslations(t)}resetLang(t){delete this._translationRequests[t],this.store.deleteTranslations(t)}static getBrowserLang(){if(typeof window>"u"||!window.navigator)return;let t=this.getBrowserCultureLang();return t?t.split(/[-_]/)[0]:void 0}static getBrowserCultureLang(){if(!(typeof window>"u"||typeof window.navigator>"u"))return window.navigator.languages?window.navigator.languages[0]:window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage}getBrowserLang(){return e.getBrowserLang()}getBrowserCultureLang(){return e.getBrowserCultureLang()}get defaultLang(){return this.getFallbackLang()}get currentLang(){return this.store.getCurrentLang()}get langs(){return this.store.getLanguages()}setDefaultLang(t){return this.setFallbackLang(t)}getDefaultLang(){return this.getFallbackLang()}static \u0275fac=function(i){return new(i||e)};static \u0275prov=le({token:e,factory:e.\u0275fac})}return e})();var At=(()=>{class e{translate=ge(Hs);_ref=ge(Yn);value="";lastKey=null;lastParams=[];onTranslationChange;onLangChange;onFallbackLangChange;
28updateValue(t,i,r){let o=l=>{this.value=l!==void 0?l:t,this.lastKey=t,this._ref.markForCheck()};if(r){let l=this.translate.getParsedResult(t,i);Cs(l)?l.subscribe(o):o(l)}this.translate.get(t,i).subscribe(o)}transform(t,...i){if(!t||!t.length)return t;if(Dy(t,this.lastKey)&&Dy(i,this.lastParams))return this.value;let r;if(ac(i[0])&&i.length)if(Ty(i[0])&&i[0].length){let o=i[0].replace(/(')?([a-zA-Z0-9_]+)(')?(\s)?:/g,'"$2":').replace(/:(\s)?(')(.*?)(')/g,':"$3"');try{r=JSON.parse(o)}catch(l){throw new SyntaxError(`Wrong parameter in TranslatePipe. Expected a valid Object, received: ${i[0]}`)}}else fl(i[0])&&(r=i[0]);return this.lastKey=t,this.lastParams=i,this.updateValue(t,r),this._dispose(),this.onTranslationChange||(this.onTranslationChange=this.translate.onTranslationChange.subscribe(o=>{(this.lastKey&&o.lang===this.translate.getCurrentLang()||o.lang===this.translate.getFallbackLang())&&(this.lastKey=null,this.updateValue(t,r,o.translations))})),this.onLangChange||(this.onLangChange=this.translate.onLangChange.subscribe(o=>{this.lastKey&&(this.lastKey=null,this.updateValue(t,r,o.translations))})),this.onFallbackLangChange||(this.onFallbackLangChange=this.translate.onFallbackLangChange.subscribe(()=>{this.lastKey&&(this.lastKey=null,this.updateValue(t,r))})),this.value}_dispose(){typeof this.onTranslationChange<"u"&&(this.onTranslationChange.unsubscribe(),this.onTranslationChange=void 0),typeof this.onLangChange<"u"&&(this.onLangChange.unsubscribe(),this.onLangChange=void 0),typeof this.onFallbackLangChange<"u"&&(this.onFallbackLangChange.unsubscribe(),this.onFallbackLangChange=void 0)}ngOnDestroy(){this._dispose()}static \u0275fac=function(i){return new(i||e)};static \u0275pipe=ns({name:"translate",type:e,pure:!1});static \u0275prov=le({token:e,factory:e.\u0275fac})}return e})();function kJ(e){return{provide:Mh,useClass:e}}function NJ(e){return{provide:Th,useClass:e}}function LJ(e){return{provide:Ah,useClass:e}}function FJ(e){return{provide:zg,useClass:e}}function m7(e={},n){let t=[];e.loader&&t.push(e.loader),e.compiler&&t.push(e.compiler),e.parser&&t.push(e.parser),e.missingTranslationHandler&&t.push(e.missingTranslationHandler),n&&t.push(BD),(e.useDefaultLang||e.defaultLanguage)&&(console.warn("The `useDefaultLang` and `defaultLanguage` options are deprecated. Please use `fallbackLang` instead."),e.useDefaultLang===!0&&e.defaultLanguage&&(e.fallbackLang=e.defaultLanguage));let i={fallbackLang:e.fallbackLang??null,lang:e.lang,extend:e.extend??!1};return t.push({provide:jD,useValue:i}),t.push({provide:Hs,useClass:Hs,deps:[BD,Mh,Th,Ah,zg,jD]}),t}var Gg=(()=>{class e{static forRoot(t={}){return{ngModule:e,providers:[...m7(k({compiler:NJ(TJ),parser:LJ(PJ),loader:kJ(MJ),missingTranslationHandler:FJ(DJ)},t),!0)]}}static forChild(t={}){return{ngModule:e,providers:[...m7(t,t.isolate??!1)]}}static \u0275fac=function(i){return new(i||e)};static \u0275mod=We({type:e});static \u0275inj=$e({})}return e})();var Bs=(function(e){return e.danger="danger",e.warning="warning",e.info="info",e.success="success",e})(Bs||{});var cs=class{constructor(n){if(n)for(let t of Object.keys(n))this[t]=n[t]}};var Ay=class extends cs{constructor(n){super(n)}};var GD=Tp(Dh());var C7=(()=>{class e extends cs{constructor(t){super(t),t.expireDate!=null&&(this.expireDate=(0,GD.default)(t.expireDate).format(wd)),t.releaseDate!=null&&(this.releaseDate=(0,GD.default)(t.releaseDate).format(wd))}static{this.toJSON=t=>new e(t)}}return e})();var _7=Tp(Dh());var y7=(()=>{class e extends cs{constructor(t){super(t),t.birthDate!=null&&(this.birthDate=(0,_7.default)(t.birthDate).format(wd))}static{this.toJSON=t=>new e(t)}}return e})();var Oy=class extends cs{constructor(n){super(n)}};var VJ=(()=>{class e extends cs{constructor(t){super(t),t.bankAccounts&&(this.bankAccounts=t.bankAccounts.map(i=>new Ay(i))),t.userIdentity&&(this.userIdentity=new C7(t.userIdentity)),t.userInfo&&(this.userInfo=new y7(t.userInfo)),t.privacy&&(this.privacy=new Oy(t.privacy))}static{this.toJSON=t=>new e(t)}}return e})();var b7=(function(e){return e[e.TOTAL=0]="TOTAL",e[e.SUB_TOTAL=1]="SUB_TOTAL",e[e.DETAIL=2]="DETAIL",e[e.NONE=3]="NONE",e})(b7||{});var Ry=(()=>{class e{constructor(){this.newMessage=new Qe}
28showAlert(t,i,r){let o={severity:t,message:i,timer:r};r==null&&(o.timer=t===Bs.danger?3e4:1e4),this.newMessage.next(o)}static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275prov=le({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();function UJ(e,n){if(e&1){let t=ze();F(0,"clr-alert",1),oe("clrAlertClosedChange",function(){let r=ee(t),o=r.$implicit,l=r.index,p=z();return te(p.removeAlert(o,l))}),F(1,"clr-alert-item"),ye(2,"span",2),Z(3,"translate"),P()()}if(e&2){let t=n.$implicit,i=z();L("clrAlertType",t.severity)("clrAlertIcon",i.messageIcon(t.severity))("clrAlertAppLevel",!0),E(2),L("innerHTML",X(3,4,i.getMessage(t)),mr)}}Le.addIcons(yr,nx,ag,_r,qr);var HJ=(()=>{class e{set message(t){this.printMessage(t)}constructor(t){this.alertMessageService=t,this.disableAlertMessageServiceSubscription=!1,this.showSameMessages=!0,this.messages=[],this.severities=Bs,this.subscription=new Xo,this.defaultErrorMessage="ALERT_BAR.DEFAULT_ERROR",this.onMessageClose=new Ue}ngOnInit(){this.disableAlertMessageServiceSubscription||this.subscription.add(this.alertMessageService.newMessage.subscribe(t=>{this.printMessage(t)}))}printMessage(t){if(t&&t.message){if(this.messages.map(r=>r.message).includes(t.message)&&!this.showSameMessages)return;this.messages.push(t),this.setTimer(t?.timer)}}removeAlert(t,i){this.messages.splice(i,1),this.emitMessageClose(!0),clearTimeout(this.timeoutTimer)}messageIcon(t){switch(t){case Bs.danger:return"exclamation-circle";case Bs.warning:return"exclamation-triangle";case Bs.info:return"info-circle";case Bs.success:return"check-circle"}}getMessage(t){return t.severity===Bs.danger?t.message!=null&&t.message!==""?t.message:this.defaultErrorMessage:t.message}emitMessageClose(t){this.onMessageClose.emit(t)}ngOnDestroy(){this.subscription.unsubscribe()}setTimer(t){let i=t??3e4;this.timeoutTimer=setTimeout(()=>{this.messages.splice(0,1),this.emitMessageClose(!0)},i)}static{this.\u0275fac=function(i){return new(i||e)(A(Ry))}}static{this.\u0275cmp=Me({type:e,selectors:[["app-alert-bar"]],inputs:{message:"message",disableAlertMessageServiceSubscription:"disableAlertMessageServiceSubscription",showSameMessages:"showSameMessages"},outputs:{onMessageClose:"onMessageClose"},standalone:!1,decls:2,vars:3,consts:[[3,"clrAlertType","clrAlertIcon","clrAlertAppLevel","clrAlertClosedChange",4,"ngFor","ngForOf"],[3,"clrAlertClosedChange","clrAlertType","clrAlertIcon","clrAlertAppLevel"],[3,"innerHTML"]],template:function(i,r){i&1&&(ri(0),ue(1,UJ,4,6,"clr-alert",0),oi()),i&2&&(Be("hide",(r.messages==null?null:r.messages.length)===0),E(),L("ngForOf",r.messages))},dependencies:[XP,JP,rn,At],styles:["[_nghost-%COMP%]{z-index:1500;display:flex;flex-direction:column;align-items:center;width:100%;position:absolute}[_nghost-%COMP%] clr-alert[_ngcontent-%COMP%]{width:100%}.hide[_ngcontent-%COMP%]{display:none}[_nghost-%COMP%] .alert-app-level .alert-items{align-items:baseline}"]})}}return e})();var Mn=(()=>{class e{constructor(t){this.http=t}loadConfig(){return ct(this,null,function*(){try{let{firstValueFrom:t}=yield import("./chunk-DNVQJVP4.js");this.config=yield t(this.http.get("./assets/config/env.json"))}catch(t){console.error("Config load failed:",t),this.config={}}})}configLoaded(){return!!this.config}get iubendaSiteId(){return this.config?.IUBENDA_SITE_ID??h7}get iubendaCookiePolicyId(){return this.config?.IUBENDA_COOKIE_POLICY_ID??p7}get iubendaGoogleTagManagerId(){return this.config?.IUBENDA_GOOGLE_TAG_MANAGER_ID??f7}get kcUrl(){return this.config?.KC_URL??null}get kcRealm(){return this.config?.KC_REALM??null}get kcClientId(){return this.config?.KC_CLIENTID??null}get kcRoleOperator(){return this.config?.KC_ROLE_OPERATOR??null}get kcPkce(){let t=this.config?.KC_PKCE;return t==null?!0:t===!0||t==="true"}applyHttpPolyfills(){if(typeof window>"u"||!window.crypto||window.crypto.subtle){console.log("Crypto API supported natively, no polyfill needed.");return}console.log("Crypto API not supported natively, applying polyfill."),typeof window.crypto.randomUUID!="function"&&(window.crypto.randomUUID=()=>"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,r=>{let o=Math.random()*16|0;return(r==="x"?o:o&3|8).toString(16)}));let t=(r,o)=>r>>>o|r<<32-o,i=r=>{let o=new Uint32Array([1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756
28734187,3204031479,3329325298]),l=new Uint32Array([1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225]),p=new Uint8Array(r),C=p.length,w=(C%64<56?56:120)-C%64,V=new Uint8Array(C+w+8);V.set(p),V[C]=128;let j=new DataView(V.buffer);j.setUint32(V.length-4,C*8>>>0,!1),j.setUint32(V.length-8,Math.floor(C*8/4294967296)>>>0,!1);let $=new Uint32Array(64);for(let be=0;be<V.length;be+=64){for(let Tt=0;Tt<16;Tt++)$[Tt]=j.getUint32(be+Tt*4,!1);for(let Tt=16;Tt<64;Tt++){let eo=t($[Tt-15],7)^t($[Tt-15],18)^$[Tt-15]>>>3,$s=t($[Tt-2],17)^t($[Tt-2],19)^$[Tt-2]>>>10;$[Tt]=$[Tt-16]+eo+$[Tt-7]+$s>>>0}let Ve=l[0],dt=l[1],sn=l[2],Pt=l[3],Ot=l[4],jt=l[5],kt=l[6],$i=l[7];for(let Tt=0;Tt<64;Tt++){let eo=t(Ot,6)^t(Ot,11)^t(Ot,25),$s=Ot&jt^~Ot&kt,dr=$i+eo+$s+o[Tt]+$[Tt]>>>0,uc=t(Ve,2)^t(Ve,13)^t(Ve,22),Ta=Ve&dt^Ve&sn^dt&sn,Ma=uc+Ta>>>0;$i=kt,kt=jt,jt=Ot,Ot=Pt+dr>>>0,Pt=sn,sn=dt,dt=Ve,Ve=dr+Ma>>>0}l[0]=l[0]+Ve>>>0,l[1]=l[1]+dt>>>0,l[2]=l[2]+sn>>>0,l[3]=l[3]+Pt>>>0,l[4]=l[4]+Ot>>>0,l[5]=l[5]+jt>>>0,l[6]=l[6]+kt>>>0,l[7]=l[7]+$i>>>0}let W=new Uint8Array(32),se=new DataView(W.buffer);return l.forEach((be,Ve)=>se.setUint32(Ve*4,be,!1)),W.buffer};window.crypto.subtle={digest:(r,o)=>Promise.resolve(i(o))}}get animaURL(){return this.config?.ANIMA_URL??u7}get isEnableAbroadResidence(){return this.config.ENABLE_ABORAD_RESIDENCE?this.config.ENABLE_ABORAD_RESIDENCE==="true":!1}get isIdentityCardWarningEnabled(){return this.config.IDENTITY_CARD_WARNING_ENABLED?this.config.IDENTITY_CARD_WARNING_ENABLED==="true":!0}get isEnableTaxBurdensSignatureCoOwner(){return this.config.ENABLE_TAX_BURDENS_SIGNATURE_CO_OWNER?this.config.ENABLE_TAX_BURDENS_SIGNATURE_CO_OWNER==="true":!1}get isEnableSpid(){return this.config.ENABLE_SPID?this.config.ENABLE_SPID==="true":!1}get isEnableCie(){return this.config.ENABLE_CIE?this.config.ENABLE_CIE==="true":!1}get isEnableWithdrawal(){return this.config.ENABLE_WITHDRAWAL?this.config.ENABLE_WITHDRAWAL==="true":!0}get kcEnabledPublicUrls(){let t=this.config?.KC_ENABLED_PUBLIC_URLS;return typeof t=="boolean"?t:typeof t=="string"?t.toLowerCase()==="true":!0}get userLoginApi(){return`${this.config.API_URL}/user/login`}get holdingsOverviewApi(){return`${this.config.API_URL}/holdings/overview`}get holdingsOverviewPgApi(){return`${this.config.API_URL}/holdings/pg/overview`}get holdingsOverviewReportApi(){return`${this.config.API_URL}/holdings/overview/report`}get productTypeHistoryApi(){return`${this.config.API_URL}/holdings/overview/product-types-history`}get productTypeHistoryPgApi(){return`${this.config.API_URL}/holdings/pg/overview/product-types-history`}get holdingsTransactionsApi(){return`${this.config.API_URL}/holdings/transactions`}get holdingsTransactionsPgApi(){return`${this.config.API_URL}/holdings/pg/transactions`}get holdingsTransactionsExportApi(){return`${this.config.API_URL}/holdings/transactions/export`}get holdingsTaxinfoApi(){return`${this.config.API_URL}/holdings/taxinfo`}get holdingsTaxinfoPgApi(){return`${this.config.API_URL}/holdings/pg/taxinfo`}get holdingsTaxinfoExportApi(){return`${this.config.API_URL}/holdings/taxinfo/export`}get holdingsPortfolioAnalysisApi(){return`${this.config.API_URL}/holdings/portfolio/analysis`}get holdingsSubscriptionPicMinAmountApi(){return`${this.config.API_URL}/holdings/subscription/pic/minAmount`}get holdingsPortfolioAnalysisPgApi(){return`${this.config.API_URL}/holdings/pg/portfolio/analysis`}get productDetailsApi(){return`${this.config.API_URL}/product/details`}get products(){return`${this.config.API_URL}/products`}get blockedproducts(){return`${this.config.API_URL}/products/blocked`}get productsAutocomplete(){return`${this.config.API_URL}/products/autocomplete`}get configApiUrl(){return`${this.config?.API_URL??null}`}get productsAttributes(){return`${this.config.API_URL}/products/attributes`}get userProfileApi(){return`${this.config.API_URL}/user/profile`}get userPasswordApi(){return`${this.config.API_URL}/user/password`}get userPasswordKeycloakApi(){return`${this.config.API_URL}/user/keycloak/password`}get userInfoApi(){return`${this.config.API_URL}/user/info`}get userIdentityApi(){return`${this.config.API_URL}/user/identity`}get userSurveyMifidApi(){return`${this.config.API_URL}/user/survey/mifid`}get userSurveyMifidCheckKidValueFundsApi(){return`${this.config.API_URL}/user/survey/mifid/checkKidValueFunds`}get userSurveyMifidResponsabilityApi(){return`${this.config.API_URL}/user/survey/notifyResponsabilityMifid`}get userSurveyFatcaApi(){return`${this.config.API_URL}/user/survey/fatca`}get userSurveyDueDiligenceApi(){return`${this.config.API_URL}/user/survey/due-diligence`}get userAccountsApi(){return`${this.config.API_URL}/user/accounts`}get userAccountsEditApi(){return`${this.config.API_URL}/user/account`}get userDelegationsEditApi(){return`${this.config.API_URL}/user/delegation`}get communicateWithUsApi(){return`${this.config.API_URL}/user/communicate`}get communicateWithUsWithdrawalApi(){return`${this.config.API_URL}/user/communicate-withdrawal`}get userRegistrtionApi(){return`${this.config.API_URL}/user`}get verifyUserTokenApi(){return`${this.config.API_URL}/user/verify`}get getRegistrationContractApi(){return`${this.config.API_URL}/user/registration/contract`}get signRegistrationContractApi(){return`${this.config.API_URL}/user/registration/contract/signed`}get uploadExtensions(){return this.config.UPLOAD_EXTENSIONS}get userByTaxCode(){return`${this.config.API_URL}/user`}get otpApi(){return`${this.config.API_URL}/user/otp`}documentsToSignAPI(t){return`${this.config.API_URL}/subscription/${t.toLowerCase()}/contract`}documentsToSignSwitchAPI(t){return`${this.config.API_URL}/switch/contract`}documentsToSignProgramedSwitchAPI(){return`${this.config.API_URL}/switch/scheduled/contract`}get subscriptionDocumentsApi(){return`${this.config.API_URL}/products/documents`}get optionsApi(){return`${this.config.API_URL}/options`}get holdingsRapportsApi(){return`${this.config.API_URL}/holdings/rapports`}get holdingsContractsByRapportApi(){return`${this.config.API_URL}/holdings/contractsByRapport`}get switchAPI(){return`${this.config.API_URL}/switch`}switchRiskNotAcceptedApi(){return`${this.config.API_URL}/switch/riskNotAccepted`}get switchProgApi(){return`${this.config.API_URL}/switch/scheduled`}get redemptionApi(){return`${this.config.API_URL}/reimbursement`}get redemptionProgApi(){return`${this.config.API_URL}/reimbursement/scheduled`}get redemptionEmailApi(){return`${this.config.API_URL}/reimbursement/email`}get subscriptionApi(){return`${this.config.API_URL}/subscription`}subscriptionRiskNotAcceptedApi(){return`${this.config.API_URL}/subscription/riskNotAccepted`}get activeServicesApi(){return`${this.config.API_URL}/holdings/services`}get activeServicesRevokeSwitchApi(){return`${this.config.API_URL}/holdings/services/revoke-switch`}get activeServicesRevokeReimbursementApi(){return`${this.config.API_URL}/holdings/services/revoke-reimbursement`}get movementsInProgressDelete(){return`${this.config.API_URL}/holdings/movement-in-progress`}get homepageBanner(){return`${this.config.API_URL}/page/home`}get mifidDocumentToSign(){return`${this.config.API_URL}/user/survey/mifid/document`}get fatcaDocumentToSign(){return`${this.config.API_URL}/user/survey/fatca/document`}get dueDiligenceDocumentToSign(){return`${this.config.API_URL}/user/survey/due-diligence/document`}get registrationSPIDApi(){return`${this.config.API_URL}
28/user/register/spid`}get registrationCIEApi(){return`${this.config.API_URL}/user/register/cie`}get availableRegistrationVideoSelfApi(){return`${this.config.API_URL}/user/register/video_self/available`}get availableRegistrationSPIDApi(){return`${this.config.API_URL}/user/register/spid/available`}get availableRegistrationCIEApi(){return`${this.config.API_URL}/user/register/cie/available`}get availableRegistrationFullApi(){return`${this.config.API_URL}/user/service/full/available`}get documentsApi(){return`${this.config.API_URL}/documents/search`}get documentsPgApi(){return`${this.config.API_URL}/documents/pg/search`}get pdfSignApi(){return`${this.config.API_URL}/pdf/sign`}get pdfDownloadApi(){return`${this.config.API_URL}/pdf/download`}get riskValueApi(){return`${this.config.API_URL}/user/riskvalue`}get registrationInfoApi(){return`${this.config.API_URL}/user/registration/info`}get registrationAutomaticApi(){return`${this.config.API_URL}/user/registration/automatic`}get registrationPrefillApi(){return`${this.config.API_URL}/user/service/full/prefill`}get registryUpdateApi(){return`${this.config.API_URL}/user/registry/update`}get userContactDetailsApi(){return`${this.config.API_URL}/user/contact-details`}get acceptIdentityCardWarningApi(){return`${this.config.API_URL}/user/identityCardWarning/accept`}get pensionFundsOverviewApi(){return`${this.config.API_URL}/pension-funds/overview`}get pensionFundsListWithdrawalApi(){return`${this.config.API_URL}/pension-funds/withdrawal-list`}get pensionFundsDocumentsListApi(){return`${this.config.API_URL}/pension-funds/documentsList`}get pensionFundsDocumentsApi(){return`${this.config.API_URL}/pension-funds/documents`}pensionFundsDocumentWithBarcodeApi(t){return`${this.config.API_URL}/pension-funds/document/${t}`}pensionFundsContractApi(){return`${this.config.API_URL}/pension-funds/contract`}pensionFundsValidateMembership(){return`${this.config.API_URL}/pension-funds/validate`}pensionFundsSubscriptionApi(){return`${this.config.API_URL}/pension-funds/subscribe`}pensionFundsSurveyScoreApi(){return`${this.config.API_URL}/pension-funds/survey-score`}get pensionFundsInfoApi(){return`${this.config.API_URL}/pension-funds/info`}uploadSignedCostSheetApi(){return`${this.config.API_URL}/pension-funds/uploadSignedCostSheet`}get getLegalPersonApi(){return`${this.config.API_URL}/user/user-subject`}get holdingsOverviewDelegateApi(){return`${this.config.API_URL}/delegates/overview`}get holdingsTransactionsDelegateApi(){return`${this.config.API_URL}/delegates/transactions`}get holdingsTransactionsExportDelegateApi(){return`${this.config.API_URL}/delegates/transactions/export`}get productTypeHistoryDelegateApi(){return`${this.config.API_URL}/delegates/overview/product-types-history`}get holdingsPortfolioAnalysisDelegateApi(){return`${this.config.API_URL}/delegates/portfolio/analysis`}get holdingsTaxinfoDelegateApi(){return`${this.config.API_URL}/delegates/taxinfo`}get holdingsTaxinfoExportDelegateApi(){return`${this.config.API_URL}/delegates/taxinfo/export`}get adviceTaxcodeApi(){return`${this.config.API_URL}/advice`}get retrySearchTaxCodeApi(){return`${this.config.API_URL}/advice/retry`}holdingsRapportDetailsApi(t){return`${this.config.API_URL}/holdings/rapport/${t}`}get holdingsBlocksApi(){return`${this.config.API_URL}/holdings/blocks`}get operationMaxAmountAndQuoteApi(){return`${this.config.API_URL}/holdings/operation/maxAmount`}get operationMinAmountAndQuoteApi(){return`${this.config.API_URL}/holdings/operation/minAmount`}get operationMinAndMaxAmountAndQuoteApi(){return`${this.config.API_URL}/holdings/operation/minAndMaxAmount`}get traceLogout(){return`${this.config.API_URL}/trace/logout`}get traceImpersonification(){return`${this.config.API_URL}/trace/impersonification/login`}get traceGoToWhorizon(){return`${this.config.API_URL}/trace/goToWhorizion`}static{this.\u0275fac=function(i){return new(i||e)(ae(si))}}static{this.\u0275prov=le({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();function $g(e,n){let t=!n?.manualCleanup;t&&!n?.injector&&Bv($g);let i=t?n?.injector?.get(Es)??ge(Es):null,r=BJ(n?.equal),o;n?.requireSync?o=oa({kind:0},{equal:r}):o=oa({kind:1,value:n?.initialValue},{equal:r});let l,p=e.subscribe({next:C=>o.set({kind:1,value:C}),error:C=>{if(n?.rejectErrors)throw C;o.set({kind:2,error:C})},complete:()=>{l?.()}});if(n?.requireSync&&o().kind===0)throw new Ye(601,!1);return l=i?.onDestroy(p.unsubscribe.bind(p)),Ds(()=>{let C=o();switch(C.kind){case 1:return C.value;case 2:throw C.error;case 0:throw new Ye(601,!1)}},{equal:n?.equal})}function BJ(e=Object.is){return(n,t)=>n.kind===1&&t.kind===1&&e(n.value,t.value)}var qD={};function V7(e,n){if(qD[e]=(qD[e]||0)+1,typeof n=="function")return $D(e,(...i)=>U(k({},n(...i)),{type:e}));switch(n?n._as:"empty"){case"empty":return $D(e,()=>({type:e}));case"props":return $D(e,i=>U(k({},i),{type:e}));default:throw new Error("Unexpected config.")}}function $D(e,n){return Object.defineProperty(n,"type",{value:e,writable:!1})}function jJ(e,n){if(e==null)throw new Error(`${n} must be defined.`)}var Md="@ngrx/store/init",Ia=(()=>{class e extends Pn{constructor(){super({type:Md})}next(t){if(typeof t=="function")throw new TypeError(` 29 Dispatch expected an object, instead it received a function. 30 If you're using the createAction function, make sure to invoke the function 31 before dispatching the action. For example, someAction should be someAction().`);if(typeof t>"u")throw new TypeError("Actions must be objects");if(typeof t.type>"u")throw new TypeError("Actions must have a type property");super.next(t)}complete(){}ngOnDestroy(){super.complete()}static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275prov=le({token:e,factory:e.\u0275fac})}}return e})(),zJ=[Ia],U7=new me("@ngrx/store Internal Root Guard"),I7=new me("@ngrx/store Internal Initial State"),qg=new me("@ngrx/store Initial State"),H7=new me("@ngrx/store Reducer Factory"),E7=new me("@ngrx/store Internal Reducer Factory Provider"),B7=new me("@ngrx/store Initial Reducers"),WD=new me("@ngrx/store Internal Initial Reducers"),w7=new me("@ngrx/store Store Features"),x7=new me("@ngrx/store Internal Store Reducers"),YD=new me("@ngrx/store Internal Feature Reducers"),D7=new me("@ngrx/store Internal Feature Configs"),j7=new me("@ngrx/store Internal Store Features"),T7=new me("@ngrx/store Internal Feature Reducers Token"),z7=new me("@ngrx/store Feature Reducers"),M7=new me("@ngrx/store User Provided Meta Reducers"),Py=new me("@ngrx/store Meta Reducers"),A7=new me("@ngrx/store Internal Resolved Meta Reducers"),O7=new me("@ngrx/store User Runtime Checks Config"),R7=new me("@ngrx/store Internal User Runtime Checks Config"),Wg=new me("@ngrx/store Internal Runtime Checks"),XD=new me("@ngrx/store Check if Action types are unique"),Yg=new me("@ngrx/store Root Store Provider"),ky=new me("@ngrx/store Feature State Provider");function JD(e,n={}){let t=Object.keys(e),i={};for(let o=0;o<t.length;o++){let l=t[o];typeof e[l]=="function"&&(i[l]=e[l])}let r=Object.keys(i);return function(l,p){l=l===void 0?n:l;let C=!1,w={};for(let V=0;V<r.length;V++){let j=r[V],$=i[j],W=l[j],se=$(W,p);w[j]=se,C=C||se!==W}return C?w:l}}function GJ(e,n){return Object.keys(e).filter(t=>t!==n).reduce((t,i)=>Object.assign(t,{[i]:e[i]}),{})}function G7(...e){return function(n){if(e.length===0)return n;let t=e[e.length-1];return e.slice(0,-1).reduceRight((r,o)=>o(r),t(n))}}function $7(e,n){return Array.isArray(n)&&n.length>0&&(e=G7.apply(null,[...n,e])),(t,i)=>{let r=e(t);return(o,l)=>(o=o===void 0?i:o,r(o,l))}}function $J(e){let n=Array.isArray(e)&&e.length>0?G7(...e):t=>t;return(t,i)=>(t=n(t),(r,o)=>(r=r===void 0?i:r,t(r,o)))}var Td=class extends Fr{},Oh=class extends Ia{},Ph="@ngrx/store/update-reducers",Ny=(()=>{class e extends Pn{get currentReducers(){return this.reducers}constructor(t,i,r,o){super(o(r,i)),this.dispatcher=t,this.initialState=i,this.reducers=r,this.reducerFactory=o}
31addFeature(t){this.addFeatures([t])}addFeatures(t){let i=t.reduce((r,{reducers:o,reducerFactory:l,metaReducers:p,initialState:C,key:w})=>{let V=typeof o=="function"?$J(p)(o,C):$7(l,p)(o,C);return r[w]=V,r},{});this.addReducers(i)}removeFeature(t){this.removeFeatures([t])}removeFeatures(t){this.removeReducers(t.map(i=>i.key))}addReducer(t,i){this.addReducers({[t]:i})}addReducers(t){this.reducers=k(k({},this.reducers),t),this.updateReducers(Object.keys(t))}removeReducer(t){this.removeReducers([t])}removeReducers(t){t.forEach(i=>{this.reducers=GJ(this.reducers,i)}),this.updateReducers(t)}updateReducers(t){this.next(this.reducerFactory(this.reducers,this.initialState)),this.dispatcher.next({type:Ph,features:t})}ngOnDestroy(){this.complete()}static{this.\u0275fac=function(i){return new(i||e)(ae(Oh),ae(qg),ae(B7),ae(H7))}}static{this.\u0275prov=le({token:e,factory:e.\u0275fac})}}return e})(),WJ=[Ny,{provide:Td,useExisting:Ny},{provide:Oh,useExisting:Ia}],Ad=(()=>{class e extends Qe{ngOnDestroy(){this.complete()}static{this.\u0275fac=(()=>{let t;return function(r){return(t||(t=kn(e)))(r||e)}})()}static{this.\u0275prov=le({token:e,factory:e.\u0275fac})}}return e})(),YJ=[Ad],Rh=class extends Fr{},P7=(()=>{class e extends Pn{static{this.INIT=Md}constructor(t,i,r,o){super(o);let p=t.pipe(Ap(H2)).pipe(Pp(i)),C={state:o},w=p.pipe(Ac(qJ,C));this.stateSubscription=w.subscribe(({state:V,action:j})=>{this.next(V),r.next(j)}),this.state=$g(this,{manualCleanup:!0,requireSync:!0})}ngOnDestroy(){this.stateSubscription.unsubscribe(),this.complete()}static{this.\u0275fac=function(i){return new(i||e)(ae(Ia),ae(Td),ae(Ad),ae(qg))}}static{this.\u0275prov=le({token:e,factory:e.\u0275fac})}}return e})();function qJ(e={state:void 0},[n,t]){let{state:i}=e;return{state:t(i,n),action:n}}var QJ=[P7,{provide:Rh,useExisting:P7}],an=(()=>{class e extends Fr{constructor(t,i,r,o){super(),this.actionsObserver=i,this.reducerManager=r,this.injector=o,this.source=t,this.state=t.state}select(t,...i){return KJ.call(null,t,...i)(this)}selectSignal(t,i){return Ds(()=>t(this.state()),i)}lift(t){let i=new e(this,this.actionsObserver,this.reducerManager);return i.operator=t,i}dispatch(t,i){if(typeof t=="function")return this.processDispatchFn(t,i);this.actionsObserver.next(t)}next(t){this.actionsObserver.next(t)}error(t){this.actionsObserver.error(t)}complete(){this.actionsObserver.complete()}addReducer(t,i){this.reducerManager.addReducer(t,i)}removeReducer(t){this.reducerManager.removeReducer(t)}processDispatchFn(t,i){jJ(this.injector,"Store Injector");let r=i?.injector??XJ()??this.injector;return Cf(()=>{let o=t();zr(()=>this.dispatch(o))},{injector:r})}static{this.\u0275fac=function(i){return new(i||e)(ae(Rh),ae(Ia),ae(Ny),ae(Gt))}}static{this.\u0275prov=le({token:e,factory:e.\u0275fac})}}return e})(),ZJ=[an];function KJ(e,n,...t){return function(r){let o;if(typeof e=="string"){let l=[n,...t].filter(Boolean);o=r.pipe(v3(e,...l))}else if(typeof e=="function")o=r.pipe(fe(l=>e(l,n)));else throw new TypeError(`Unexpected type '${typeof e}' in select operator, expected 'string' or 'function'`);return o.pipe(ys())}}function XJ(){try{return ge(Gt)}catch{return}}var eT="https://ngrx.io/guide/store/configuration/runtime-checks";function k7(e){return e===void 0}function N7(e){return e===null}function W7(e){return Array.isArray(e)}function JJ(e){return typeof e=="string"}function eee(e){return typeof e=="boolean"}function tee(e){return typeof e=="number"}function Y7(e){return typeof e=="object"&&e!==null}function nee(e){return Y7(e)&&!W7(e)}function iee(e){if(!nee(e))return!1;let n=Object.getPrototypeOf(e);return n===Object.prototype||n===null}function QD(e){return typeof e=="function"}function ree(e){return QD(e)&&e.hasOwnProperty("\u0275cmp")}function oee(e,n){return Object.prototype.hasOwnProperty.call(e,n)}var see=!1;function aee(){return see}function L7(e,n){return e===n}function lee(e,n,t){for(let i=0;i<e.length;i++)if(!t(e[i],n[i]))return!0;return!1}function q7(e,n=L7,t=L7){let i=null,r=null,o;function l(){i=null,r=null}function p(V=void 0){o={result:V}}function C(){o=void 0}function w(){if(o!==void 0)return o.result;if(!i)return r=e.apply(null,arguments),i=arguments,r;if(!lee(arguments,i,n))return r;let V=e.apply(null,arguments);return i=arguments,t(r,V)?r:(r=V,V)}return{memoized:w,reset:l,setResult:p,clearResult:C}}function Ce(...e){return dee(q7)(...e)}function cee(e,n,t,i){if(t===void 0){let o=n.map(l=>l(e));return i.memoized.apply(null,o)}let r=n.map(o=>o(e,t));return i.memoized.apply(null,[...r,t])}function dee(e,n={stateFn:cee}){return function(...t){let i=t;if(Array.isArray(i[0])){let[V,...j]=i;i=[...V,...j]}else i.length===1&&uee(i[0])&&(i=hee(i[0]));let r=i.slice(0,i.length-1),o=i[i.length-1],l=r.filter(V=>V.release&&typeof V.release=="function"),p=e(function(...V){return o.apply(null,V)}),C=q7(function(V,j){return n.stateFn.apply(null,[V,r,j,p])});function w(){C.reset(),p.reset(),l.forEach(V=>
31V.release())}return Object.assign(C.memoized,{release:w,projector:p.memoized,setResult:C.setResult,clearResult:C.clearResult})}}function Mi(e){return Ce(n=>{let t=n[e];return!aee()&&vf()&&!(e in n)&&console.warn(`@ngrx/store: The feature name "${e}" does not exist in the state, therefore createFeatureSelector cannot access it. Be sure it is imported in a loaded module using StoreModule.forRoot('${e}', ...) or StoreModule.forFeature('${e}', ...). If the default state is intended to be undefined, as is the case with router state, this development-only warning message can be ignored.`),t},n=>n)}function uee(e){return!!e&&typeof e=="object"&&Object.values(e).every(n=>typeof n=="function")}function hee(e){let n=Object.values(e),t=Object.keys(e),i=(...r)=>t.reduce((o,l,p)=>U(k({},o),{[l]:r[p]}),{});return[...n,i]}function pee(e){return e instanceof me?ge(e):e}function fee(e,n){return n.map((t,i)=>{if(e[i]instanceof me){let r=ge(e[i]);return{key:t.key,reducerFactory:r.reducerFactory?r.reducerFactory:JD,metaReducers:r.metaReducers?r.metaReducers:[],initialState:r.initialState}}return t})}function gee(e){return e.map(n=>n instanceof me?ge(n):n)}function Q7(e){return typeof e=="function"?e():e}function mee(e,n){return e.concat(n)}function vee(){if(ge(an,{optional:!0,skipSelf:!0}))throw new TypeError("The root Store has been provided more than once. Feature modules should provide feature states instead.");return"guarded"}function Cee(e,n){return function(t,i){let r=n.action(i)?ZD(i):i,o=e(t,r);return n.state()?ZD(o):o}}function ZD(e){Object.freeze(e);let n=QD(e);return Object.getOwnPropertyNames(e).forEach(t=>{if(!t.startsWith("\u0275")&&oee(e,t)&&(!n||t!=="caller"&&t!=="callee"&&t!=="arguments")){let i=e[t];(Y7(i)||QD(i))&&!Object.isFrozen(i)&&ZD(i)}}),e}function _ee(e,n){return function(t,i){if(n.action(i)){let o=KD(i);F7(o,"action")}let r=e(t,i);if(n.state()){let o=KD(r);F7(o,"state")}return r}}function KD(e,n=[]){return(k7(e)||N7(e))&&n.length===0?{path:["root"],value:e}:Object.keys(e).reduce((i,r)=>{if(i)return i;let o=e[r];return ree(o)?i:k7(o)||N7(o)||tee(o)||eee(o)||JJ(o)||W7(o)?!1:iee(o)?KD(o,[...n,r]):{path:[...n,r],value:o}},!1)}function F7(e,n){if(e===!1)return;let t=e.path.join("."),i=new Error(`Detected unserializable ${n} at "${t}". ${eT}#strict${n}serializability`);throw i.value=e.value,i.unserializablePath=t,i}function yee(e,n){return function(t,i){if(n.action(i)&&!Rt.isInAngularZone())throw new Error(`Action '${i.type}' running outside NgZone. ${eT}#strictactionwithinngzone`);return e(t,i)}}function bee(e){return vf()?k({strictStateSerializability:!1,strictActionSerializability:!1,strictStateImmutability:!0,strictActionImmutability:!0,strictActionWithinNgZone:!1,strictActionTypeUniqueness:!1},e):{strictStateSerializability:!1,strictActionSerializability:!1,strictStateImmutability:!1,strictActionImmutability:!1,strictActionWithinNgZone:!1,strictActionTypeUniqueness:!1}}function See({strictActionSerializability:e,strictStateSerializability:n}){return t=>e||n?_ee(t,{action:i=>e&&!tT(i),state:()=>n}):t}function Iee({strictActionImmutability:e,strictStateImmutability:n}){return t=>e||n?Cee(t,{action:i=>e&&!tT(i),state:()=>n}):t}function tT(e){return e.type.startsWith("@ngrx")}function Eee({strictActionWithinNgZone:e}){return n=>e?yee(n,{action:t=>e&&!tT(t)}):n}function wee(e){return[{provide:R7,useValue:e},{provide:O7,useFactory:xee,deps:[R7]},{provide:Wg,deps:[O7],useFactory:bee},{provide:Py,multi:!0,deps:[Wg],useFactory:Iee},{provide:Py,multi:!0,deps:[Wg],useFactory:See},{provide:Py,multi:!0,deps:[Wg],useFactory:Eee}]}function Z7(){return[{provide:XD,multi:!0,deps:[Wg],useFactory:Dee}]}function xee(e){return e}function Dee(e){if(!e.strictActionTypeUniqueness)return;let n=Object.entries(qD).filter(([,t])=>t>1).map(([t])=>t);if(n.length)throw new Error(`Action types are registered more than once, ${n.map(t=>`"${t}"`).join(", ")}. ${eT}#strictactiontypeuniqueness`)}function ji(e,n,t={}){return po([...Pee(e,n,t),Ree])}function Tee(e={},n={}){return[{provide:U7,useFactory:vee},{provide:I7,useValue:n.initialState},{provide:qg,useFactory:Q7,deps:[I7]},{provide:WD,useValue:e},{provide:x7,useExisting:e instanceof me?e:WD},{provide:B7,deps:[WD,[new oI(x7)]],useFactory:pee},{provide:M7,useValue:n.metaReducers?n.metaReducers:[]},{provide:A7,deps:[Py,M7],useFactory:mee},{provide:E7,useValue:n.reducerFactory?n.reducerFactory:JD},{provide:H7,deps:[E7,A7],useFactory:$7},zJ,WJ,YJ,QJ,ZJ,wee(n.runtimeChecks),Z7()]}function Mee(){ge(Ia),ge(Td),ge(Ad),ge(an),ge(U7,{optional:!0}),ge(XD,{optional:!0})}var Aee=[{provide:Yg,useFactory:Mee},nf(()=>ge(Yg))];function K7(e,n){return po([...Tee(e,n),Aee])}function Oee(){ge(Yg);let e=ge(j7),n=ge(z7),t=ge(Ny);ge(XD,{optional:!0});let i=e.map((r,o)=>{let p=n.shift()[o];return U(k({},r),{reducers:p,initialState:Q7(r.initialState)})});t.addFeatures(i)}var Ree=[{provide:ky,useFactory:Oee},nf(()=>ge(ky))];function Pee(e,n,t={}){return[{provide:D7,multi:!0,useValue:e instanceof Object?{}:t},{provide:w7,multi:!0,useValue:{key:e instanceof Object?e.name:e,reducerFactory:!(t instanceof me)&&t.reducerFactory?t.reducerFactory:JD,metaReducers:!(t instanceof me)&&t.metaReducers?t.metaReducers:[],initialState:!(t instanceof me)&&t.initialState?t.initialState:void 0}},{provide:j7,deps:[D7,w7],useFactory:fee},{provide:YD,multi:!0,useValue:e instanceof Object?e.reducer:n},{provide:T7,multi:!0,useExisting:n instanceof me?n:YD},{provide:z7,multi:!0,deps:[YD,[new oI(T7)]],useFactory:gee},Z7()]}var ds=(()=>{class e{constructor(t,i,r,o){this.http=t,this.router=i,this.config=r,this.userStore=o}login(t,i){return this.http.get(this.config.userLoginApi)}onLoginSuccess(){this.router.navigate(["/home"])}redirectToHomeAndRefresh(){this.router.navigate(["home"]).then(()=>{window.location.reload()})}goToCourtesyPage(){this.router.navigate(["/courtesy-page"])}editUserIdentity(t){return this.http.put(this.config.userIdentityApi,t)}otpValidate(t){return this.http.post(`${this.config.otpApi}/validate`,{otp:t})}otpSendCode(){return this.http.get(`${this.config.otpApi}`)}editUserInfo(t){return this.http.put(this.config.userInfoApi,t)}editUserProfile(t){let i={email:t.email,telephone:t.userInfo?.telephone,mobilephone:t.userInfo?.mobileNumber};return this.http.put(this.config.userProfileApi,i)}editProfilePassword(t,i){let r={otp:t,password:i};return this.http.post(this.config.userPasswordApi,r)}sendEmailChangePassword(){return this.http.post(this.config.userPasswordKeycloakApi,null)}editUserBankAccount(t){let i=Object.assign({},t),r=new Ct;return r=r.append("uuidAccount",i.id?i.id:""),this.http.put(this.config.userAccountsEditApi,i,{params:r})}deleteUserBankAccount(t){let i=new Ct().append("uuidAccount",new String(t?.id).toString());return this.http.delete(this.config.userAccountsEditApi,{params:i})}deleteUserDelegation(t){let i=new Ct().append("uuidDelegation",new String(t?.id).toString());return this.http.delete(this.config.userDelegationsEditApi,{params:i})}addUserBankAccount(t){let i=Object.assign({},t);return this.http.post(this.config.userAccountsEditApi,i)}addDelegation(t){let i=Object.assign({},t);return this.http.post(this.config.userDelegationsEditApi,i)}sendMessageRequest(t){let i=Object.assign({},t),r=new FormData;t?.uploadedFiles?.forEach(l=>{r.append("files",l,l.name)}),r.append("communicateWithUs",JSON.stringify({id:t.id,message:t.message,typeRequest:t.typeRequest,productType:t.productType}));let o=new jl("POST",this.config.communicateWithUsApi,r,{responseType:"json"});return this.http.post(this.config.communicateWithUsApi,r)}
31sendMessageWithdrawalRequest(t,i){let r=new FormData;return t?.uploadedFiles?.forEach(o=>{r.append("files",o,o.name)}),r.append("communicateWithUs",JSON.stringify({id:t.id,message:t.message,typeRequest:t.typeRequest,productType:t.productType})),i&&r.append("pensionFundId",i),this.http.post(this.config.communicateWithUsWithdrawalApi,r)}getCachedUser(){}getUser(){return this.http.get(this.config.userByTaxCode)}saveUserSurveyMifid(t){return this.http.post(this.config.userSurveyMifidApi,t)}getUserSurveyMifid(){return this.http.get(this.config.userSurveyMifidApi)}checkKidValueFunds(){return this.http.get(this.config.userSurveyMifidCheckKidValueFundsApi)}saveUserSurveyFatca(t){return this.http.post(this.config.userSurveyFatcaApi,t)}notifyResponsabilityMifid(){return this.http.post(this.config.userSurveyMifidResponsabilityApi,{})}getUserSurveyFatca(){return this.http.get(this.config.userSurveyFatcaApi)}saveUserSurveyDueDiligence(t){return this.http.post(this.config.userSurveyDueDiligenceApi,t)}getUserSurveyDueDiligence(){return this.http.get(this.config.userSurveyDueDiligenceApi)}mifidDocumentToSign(t){return this.http.post(this.config.mifidDocumentToSign,t).pipe(fe(i=>i))}dueDiligenceDocumentToSign(t){return this.http.post(this.config.dueDiligenceDocumentToSign,t).pipe(fe(i=>i))}fatcaDocumentToSign(t){return this.http.post(this.config.fatcaDocumentToSign,t).pipe(fe(i=>i))}availableRegistrationVideoSelf(){return this.http.get(this.config.availableRegistrationVideoSelfApi)}availableRegistrationFull(){return this.http.get(this.config.availableRegistrationFullApi)}availableRegistrationSPID(){return this.http.get(this.config.availableRegistrationSPIDApi)}availableRegistrationCIE(){return this.http.get(this.config.availableRegistrationCIEApi)}getUserActiveServices(t){let i=new Ct().append("activeServiceType",t);return this.http.get(this.config.activeServicesApi,{params:i,withCredentials:!0})}postUserActiveServicesRevokeSwitch(t){return this.http.post(this.config.activeServicesRevokeSwitchApi,t)}postUserActiveServicesRevokeReimbursement(t){return this.http.post(this.config.activeServicesRevokeReimbursementApi,t)}getRiskValue(){return this.http.get(this.config.riskValueApi)}getRegistrationInfo(){return this.http.get(this.config.registrationInfoApi)}registrationAutomatic(){return this.http.post(this.config.registrationAutomaticApi,{})}registrationPrefill(){return this.http.get(this.config.registrationPrefillApi)}registryUpdate(){return this.http.put(this.config.registryUpdateApi,{})}getUserContactDetails(t){return this.http.get(this.config.userContactDetailsApi,{params:{fundType:t}})}putUserContactDetails(t,i){return this.http.put(`${this.config.userContactDetailsApi}/${t}`,i)}getLegalEntities(){return this.http.get(this.config.getLegalPersonApi)}acceptIdentityCardWarning(){return this.http.post(this.config.acceptIdentityCardWarningApi,{})}static{this.\u0275fac=function(i){return new(i||e)(ae(si),ae(Qn),ae(Mn),ae(an))}}static{this.\u0275prov=le({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();var yi=(()=>{class e{constructor(t,i,r){this.http=t,this.config=i,this.router=r}getOptions(){return this.http.get(this.config.optionsApi)}goToCourtesyPage(){this.router.navigate(["/courtesy-page"])}isMobileBrowser(){return/Android|webOS|iPhone|iPad|iPod|BlackBerry/i.test(navigator.userAgent)||/Android|webOS|iPhone|iPad|iPod|BlackBerry/i.test(navigator.platform)||!1}static{this.\u0275fac=function(i){return new(i||e)(ae(si),ae(Mn),ae(Qn))}}static{this.\u0275prov=le({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();var X7=e=>({mobile:e});function kee(e,n){e&1&&(F(0,"div",12),q(1),Z(2,"translate"),P()),e&2&&(E(),Ie(X(2,1,"OTP_DIALOG.ERROR")))}var Nee=(()=>{class e{constructor(t,i){this.userService=t,this.appService=i,this.otp=new Ue,this.closeEvent=new Ue,this.otpInput="",this.showError=!1}ngOnInit(){this.sendOTP()}get isMobile(){return this.appService.isMobileBrowser()}sendOTP(){this.userService.otpSendCode().pipe(Hn(1),qt(t=>t===d7)).subscribe(()=>console.log("OTP code sent"))}validateOTP(){this.userService.otpValidate(this.otpInput).pipe(Hn(1)).subscribe(t=>
31{this.closeEvent.emit(!0),this.otp.emit(!0)},()=>{this.showError=!0,this.otp.emit(!1)})}static{this.\u0275fac=function(i){return new(i||e)(A(ds),A(yi))}}static{this.\u0275cmp=Me({type:e,selectors:[["app-otp-dialog"]],outputs:{otp:"otp",closeEvent:"closeEvent"},standalone:!1,decls:17,vars:21,consts:[[1,"modal-info","dt-dialog","simple-card",3,"clrModalOpenChange","clrModalOpen","ngClass"],[1,"modal-title"],[1,"dt-dialog-title",3,"innerHTML"],[1,"modal-body"],[1,"dt-form"],[1,"field","input-text"],["type","password",1,"clr-input",3,"ngModelChange","ngModel"],["class","error",4,"ngIf"],[1,"dt-text",3,"innerHTML"],["tabindex","0",1,"dt-link",3,"click","keydown.enter","innerHTML"],[1,"modal-footer"],["type","button",1,"btn","btn-primary",3,"click","ngClass"],[1,"error"]],template:function(i,r){i&1&&(F(0,"clr-modal",0),oe("clrModalOpenChange",function(l){return r.closeEvent.emit(l)}),F(1,"div",1),ye(2,"h3",2),Z(3,"translate"),P(),F(4,"div",3)(5,"div",4)(6,"div",5)(7,"input",6),bt("ngModelChange",function(l){return It(r.otpInput,l)||(r.otpInput=l),l}),P(),ue(8,kee,3,3,"div",7),P()(),ye(9,"div",8),Z(10,"translate"),F(11,"div",9),Z(12,"translate"),oe("click",function(){return r.sendOTP()})("keydown.enter",function(){return r.sendOTP()}),P(),F(13,"div",10)(14,"button",11),oe("click",function(){return r.validateOTP()}),q(15),Z(16,"translate"),P()()()()),i&2&&(L("clrModalOpen",!0)("ngClass",vr(17,X7,r.isMobile)),E(2),L("innerHTML",X(3,9,"OTP_DIALOG.TITLE"),mr),E(5),yt("ngModel",r.otpInput),E(),L("ngIf",r.showError),E(),L("innerHTML",X(10,11,"OTP_DIALOG.MESSAGE"),mr),E(2),L("innerHTML",X(12,13,"OTP_DIALOG.SEND_AGAIN"),mr),E(3),L("ngClass",vr(19,X7,r.isMobile)),E(),Ie(X(16,15,"OTP_DIALOG.CONFIRM")))},dependencies:[lr,Bi,go,Vi,Wr,Dn,rt,At],styles:["clr-modal[_ngcontent-%COMP%] .modal-content{min-height:409px;border-radius:24px 0 0 24px!important}clr-modal[_ngcontent-%COMP%] .modal-dialog{overflow-y:auto;border-radius:24px 0 0 24px}clr-modal.mobile[_ngcontent-%COMP%] .modal-content{min-width:unset}.modal-content[_ngcontent-%COMP%]{background:#f4f5f6!important;min-height:409px;padding:0 52px 11px 91.5px;border-radius:24px 0 0 24px!important}.modal-content[_ngcontent-%COMP%] .mobile[_ngcontent-%COMP%]{min-width:unset}.modal-info[_ngcontent-%COMP%]{text-align:center}.modal-info[_ngcontent-%COMP%] .modal-title[_ngcontent-%COMP%]{width:100%;padding:0 20px}.modal-info[_ngcontent-%COMP%] .modal-title[_ngcontent-%COMP%] .dt-dialog-title[_ngcontent-%COMP%]{font-size:30px!important;font-weight:500!important;font-stretch:normal;font-style:normal;line-height:normal;letter-spacing:normal;text-align:center!important;color:#222b30;text-transform:uppercase}.modal-info[_ngcontent-%COMP%] .modal-body[_ngcontent-%COMP%]{max-height:none}.modal-info[_ngcontent-%COMP%] .modal-body[_ngcontent-%COMP%] .dt-form[_ngcontent-%COMP%]{padding-left:25px;padding-right:25px;padding-bottom:0;display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center}.modal-info[_ngcontent-%COMP%] .modal-body[_ngcontent-%COMP%] .dt-form[_ngcontent-%COMP%] .field[_ngcontent-%COMP%]{flex:1;width:100%}.modal-info[_ngcontent-%COMP%] .modal-body[_ngcontent-%COMP%] .dt-form[_ngcontent-%COMP%] .field[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{width:100%;height:33px;border-radius:13px 0 0 13px;max-height:unset;border:1px solid rgba(151,151,151,.29)}.modal-info[_ngcontent-%COMP%] .modal-body[_ngcontent-%COMP%] .dt-text[_ngcontent-%COMP%]{margin-top:24px;padding-left:60px;padding-right:60px;font-size:14px!important;font-weight:500!important;font-stretch:normal;font-style:normal;line-height:normal;letter-spacing:normal;text-align:center!important;color:#222b30}.modal-info[_ngcontent-%COMP%] .modal-body[_ngcontent-%COMP%] .dt-link[_ngcontent-%COMP%]{font-size:14px!important;font-weight:500!important;font-stretch:normal;font-style:normal;line-height:normal;letter-spacing:normal;text-align:center!important;color:#903;text-decoration:underline;cursor:pointer}.modal-info[_ngcontent-%COMP%] .modal-body[_ngcontent-%COMP%] .modal
31-footer[_ngcontent-%COMP%]{justify-content:center;text-align:center;padding-top:24px}.modal-info[_ngcontent-%COMP%] .modal-body[_ngcontent-%COMP%] .modal-footer[_ngcontent-%COMP%] .btn.mobile[_ngcontent-%COMP%]{border-radius:8px 0;--border-radius: 8px 0 8px 0}.modal-info[_ngcontent-%COMP%] .error[_ngcontent-%COMP%]{text-align:left;color:#903}[_nghost-%COMP%] .modal-backdrop{opacity:var(--clr-modal-backdrop-opacity, .85)!important;background-color:#333!important;z-index:1040!important;position:fixed!important;inset:0!important;display:flex!important;align-items:center!important;justify-content:center!important;pointer-events:none!important}[_nghost-%COMP%] .modal-content{padding:1.2rem}[_nghost-%COMP%] .modal-body{padding:unset!important} .modal-footer .btn{color:#fff;background-color:#903;border:unset}[_nghost-%COMP%] .modal-footer .btn:hover, [_nghost-%COMP%] .modal-footer .btn:active{background-color:#903!important;border-color:#903!important}[_nghost-%COMP%] .modal-footer .btn:focus-visible{outline:2px solid black;outline-offset:2px;box-shadow:none} .modal-header--accessible{display:flex;justify-content:unset;padding:unset!important;margin-top:24px;padding-bottom:24px!important}[_nghost-%COMP%] .modal-footer .btn:disabled, [_nghost-%COMP%] .modal-footer .btn[disabled], [_nghost-%COMP%] .modal-footer .btn.disabled, [_nghost-%COMP%] .modal-footer .btn[aria-disabled=true]{opacity:.4!important}.modal-dialog[_ngcontent-%COMP%]{overflow-y:auto}"]})}}return e})();var J7='<svg data-name="Raggruppa 240" xmlns="http://www.w3.org/2000/svg" width="12.327" height="12.621" viewBox="0 0 14.327 16.621"><defs><clipPath id="tfthete6xa"><path data-name="Rettangolo 140" style="fill:#903" d="M0 0h14.327v15.621H0z"/></clipPath></defs><g data-name="Raggruppa 239" style="clip-path:url(#tfthete6xa)"><path data-name="Tracciato 358" d="M8.994 0c.163.066.332.12.487.2a1.479 1.479 0 0 1 .7.778c.2.5.417.992.619 1.491a.183.183 0 0 0 .2.131h2.868c.359 0 .46.1.46.463v.442c-.005.283-.119.4-.4.4h-.9v9.581a2.308 2.308 0 0 1-.679 1.737 1.329 1.329 0 0 1-.96.4H2.952a1.546 1.546 0 0 1-1.395-.953 2.3 2.3 0 0 1-.257-1.123V3.9H.462C.1 3.9 0 3.807 0 3.445v-.412C0 2.712.111 2.6.43 2.6h2.868a.219.219 0 0 0 .244-.162c.189-.471.4-.934.584-1.406A1.6 1.6 0 0 1 5.282.027.224.224 0 0 0 5.332 0zM2.608 3.912v9.54a1.306 1.306 0 0 0 .173.715.289.289 0 0 0 .273.152q4.111-.006 8.222 0a.28.28 0 0 0 .263-.142 1.326 1.326 0 0 0 .18-.743V3.912zm6.829-1.319c-.164-.4-.316-.775-.474-1.148A.253.253 0 0 0 8.7 1.3H5.634a.283.283 0 0 0-.29.2c-.075.189-.155.375-.233.563l-.221.528z" transform="translate(0 .001)" style="fill:#903"/><path data-name="Tracciato 359" d="M88.942 134.668v2.806c0 .357-.092.448-.454.448h-.519a.3.3 0 0 1-.324-.3 1.032 1.032 0 0 1-.008-.152v-5.6c0-.361.1-.458.463-.458h.442c.285 0 .4.114.4.4v2.852" transform="translate(-83.732 -125.559)" style="fill:#903"/><path data-name="Tracciato 360" d="M204.5 134.656v-2.822c0-.334.1-.434.44-.434h.5a.323.323 0 0 1 .358.331 1.175 1.175 0 0 1 0 .122v5.6a1.057 1.057 0 0 1-.014.182.286.286 0 0 1-.3.268 8.441 8.441 0 0 1-.656 0 .311.311 0 0 1-.334-.335c-.006-.127 0-.254 0-.381v-2.532" transform="translate(-195.384 -125.543)" style="fill:#903"/><path data-name="Tracciato 361" d="M146.153 134.669v-2.807c0-.348.1-.442.444-.442h.442c.305 0 .41.106.411.415v5.659c0 .339-.095.432-.436.432h-.473c-.278 0-.387-.11-.387-.389v-2.867" transform="translate(-139.639 -125.562)" style="fill:#903"/></g></svg>',ek='<svg data-name="Raggruppa 240" xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 14.327 16.621"><defs><clipPath id="tfthete6xa"><path data-name="Rettangolo 140" style="fill:#903" d="M0 0h14.327v15.621H0z"/></clipPath></defs><g data-name="Raggruppa 239" style="clip-path:url(#tfthete6xa)"><path data-name="Tracciato 358" d="M8.994 0c.163.066.332.12.487.2a1.479 1.479 0 0 1 .7.778c.2.5.417.992.619 1.491a.183.183 0 0 0 .2.131h2.868c.359 0 .46.1.46.463v.442c-.005.283-.119.4-.4.4h-.9v9.581a2.308 2.308 0 0 1-.679 1.737 1.329 1.329 0 0 1-.96.4H2.952a1.546 1.546 0 0 1-1.395-.953 2.3 2.3 0 0 1-.257-1.123V3.9H.462C.1 3.9 0 3.807 0 3.445v-.412C0 2.712.111 2.6.43 2.6h2.868a.219.219 0 0 0 .244-.162c.189-.471.4-.934.584-1.406A1.6 1.6 0 0 1 5.282.027.224.224 0 0 0 5.332 0zM2.608 3.912v9.54a1.306 1.306 0 0 0 .173.715.289.289 0 0 0 .273.152q4.111-.006 8.222 0a.28.28 0 0 0 .263-.142 1.326 1.326 0 0 0 .18-.743V3.912zm6.829-1.319c-.164-.4-.316-.775-.474-1.148A.253.253 0 0 0 8.7 1.3H5.634a.283.283 0 0 0-.29.2c-.075.189-.155.375-.233.563l-.221.528z" transform="translate(0 .001)" style="fill:#903"/><path data-name="Tracciato 359" d="M88.942 134.668v2.806c0 .357-.092.448-.454.448h-.519a.3.3 0 0 1-.324-.3 1.032 1.032 0 0 1-.008-.152v-5.6c0-.361.1-.458.463-.458h.442c.285 0 .4.114.4.4v2.852" transform="translate(-83.732 -125.559)" style="fill:#903"/><path data-name="Tracciato 360" d="M204.5 134.656v-2.822c0-.334.1-.434.44-.434h.5a.323.323 0 0 1 .358.331 1.175 1.175 0 0 1 0 .122v5.6a1.057 1.057 0 0 1-.014.182.286.286 0 0 1-.3.268 8.441 8.441 0 0 1-.656 0 .311.311 0 0 1-.334-.335c-.006-.127 0-.254 0-.381v-2.532" transform="translate(-195.384 -125.543)" style="fill:#903"/><path data-name="Tracciato 361" d="M146.153 134.669v-2.807c0-.348.1-.442.444-.442h.442c.305 0 .41.106.411.415v5.659c0 .339-.095.432-.436.432h-.473c-.278 0-.387-.11-.387-.389v-2.867" transform="translate(-139.639 -125.562)" style="fill:#903"/></g></svg>',D3e='<svg width="22" height="22" viewBox="6 11 32 32" preserveAspectRatio="xMidYMid meet" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><title>angle-line</title><path d="M29.52,22.52,18,10.6,6.48,22.52a1.7,1.7,0,0,0,2.45,2.36L18,15.49l9.08,9.39a1.7,1.7,0,0,0,2.45-2.36Z"/><rect x="0" y="0" width="36" height="36" fill-opacity="0" /></svg>',T3e='<svg width="22" height="22" viewBox="7 4 32 32" preserveAspectRatio="xMidYMid meet" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><title>angle-line</title><path d="M29.52,22.52,18,10.6,6.48,22.52a1.7,1.7,0,0,0,2.45,2.36L18,15.49l9.08,9.39a1.7,1.7,0,0,0,2.45-2.36Z"/><rect x="0" y="0" width="36" height="36" fill-opacity="0" /></svg>';var M3e='<svg xmlns="http://www.w3.org/2000/svg" width="24.962" height="27.883" viewBox="0 0 11.962 35.883"><path data-name="Path 2" d="M0 18.884 17.909 0l17.242 18.884" transform="rotate(90 9.433 9.796)" style="fill:none;stroke:#903;stroke-miterlimit:10;stroke-width:3"/></svg>',A3e='<svg xmlns="http://www.w3.org/2000/svg" width="43.962" height="35.883" viewBox="0 0 19.962 35.883"><path data-name="Path 2" d="m0 0 17.909 18.884L35.151 0" transform="rotate(90 9.627 9.99)" style="fill:none;stroke:#903;stroke-miterlimit:10"/></svg>',O3e='<svg xmlns="http://www.w3.org/2000/svg" width="43.962" height="35.883" viewBox="0 0 19.962 35.883"><path data-name="Path 2" d="M0 18.884 17.909 0l17.242 18.884" transform="rotate(90 9.433 9.796)" style="fill:none;stroke:#903;stroke-miterlimit:10"/></svg>',R3e='<svg data-name="Raggruppa 592" xmlns="http://www.w3.org/2000/svg" width="23.566" height="24.55" viewBox="0 0 24.566 24.55"><defs><clipPath id="4qkto2pdfa"><path data-name="Rettangolo 134" style="fill:#903" d="M0 0h24.566v24.55H0z"/></clipPath></defs><g data-name="Raggruppa 176" style="clip-path:url(#4qkto2pdfa)"><path data-name="Tracciato 352" d="M0 17.416V7.149a.462.462 0 0 0 .031-.087 2.073 2.073 0 0 1 2.16-1.741c.815.018 1.63 0 2.445 0h.274V.262C4.91.175 4.9.087 4.894 0h14.777a1.269 1.269 0 0 0-.016.142V5.13a1.761 1.761 0 0 0 .023.194h2.723A2.059 2.059 0 0 1 24.565 7.5v9.569a2.06 2.06 0 0 1-2.185 2.175h-2.334l.46 5.309H4.06l.46-5.309h-2.4a2.093 2.093 0 0 1-1.5-.585A2.261 2.261 0 0 1 0 17.416m5.742-8.843h13.079V.832H5.742zm13.127 6.591H5.7l-.744 8.57h14.657l-.744-8.57M.831 11.854h22.9V9.426H.831zm20.036.858H3.7v5.7h.89l.356-4.059h14.673l.355 4.058h.893zm-20.019 0c-.013.029-.025.043-.025.
31057 0 1.5-.013 3 .007 4.506a1.135 1.135 0 0 0 .954 1.11 8.6 8.6 0 0 0 1.071.055v-5.732zm20.867 0v5.716h.64a1.254 1.254 0 0 0 1.393-1.393v-4.322zM.822 8.58h4.072V6.152c-1.006 0-2-.027-2.985.01A1.164 1.164 0 0 0 .826 7.31c-.022.414 0 .83 0 1.269m18.846-.005h4.081V7.501a1.246 1.246 0 0 0-1.355-1.36H19.672z" style="fill:#903"/><path data-name="Rettangolo 128" transform="translate(6.153 21.71)" style="fill:#903" d="M0 0h12.258v.786H0z"/><path data-name="Rettangolo 129" transform="translate(6.573 19.677)" style="fill:#903" d="M0 0h11.429v.779H0z"/><path data-name="Rettangolo 130" transform="translate(7.385 18.029)" style="fill:#903" d="M0 0h9.796v.79H0z"/><path data-name="Rettangolo 131" transform="translate(8.213 16.389)" style="fill:#903" d="M0 0h8.149v.787H0z"/><path data-name="Rettangolo 132" transform="translate(21.309 10.245)" style="fill:#903" d="M0 0h.788v.786H0z"/><path data-name="Rettangolo 133" transform="translate(19.676 10.242)" style="fill:#903" d="M0 0h.776v.792H0z"/></g></svg>',P3e='<svg xmlns="http://www.w3.org/2000/svg" width="26.566" height="26.55" viewBox="0 0 31.566 32.55"><path data-name="Tracciato 385" d="M13.022 36.279H1.704c-1.311 0-1.7-.391-1.7-1.711v-8.01c0-1.22.415-1.628 1.636-1.628h22.855c1.168 0 1.587.423 1.589 1.6q.006 4.079 0 8.157c0 1.169-.424 1.59-1.6 1.591q-5.733.006-11.464 0m-.034-.906c3.8 0 7.594-.01 11.39.01.609 0 .817-.2.812-.81q-.034-3.967 0-7.936c.006-.605-.2-.814-.808-.813q-11.317.019-22.634-.007c-.644 0-.846.217-.839.855.028 2.6.031 5.193 0 7.789-.01.7.2.932.914.926 3.724-.031 7.447-.014 11.17-.014" transform="translate(0 -9.659)" style="fill:#222b30"/><path data-name="Tracciato 386" d="M25.54 14.5h-.9V6.939h-4.554c-1.373 0-1.468-.094-1.468-1.452V.957c-.305-.017-.541-.041-.778-.041H4.906c-1.233 0-1.55.325-1.55 1.579V14.5l-.87.038c-.013-.285-.034-.545-.034-.8V2.347A2.033 2.033 0 0 1 4.782 0C9.388 0 13.993-.008 18.6.02a1.713 1.713 0 0 1 1.08.431 374.28 374.28 0 0 1 5.463 5.45 1.159 1.159 0 0 1 .381.666c.026 2.618.017 5.236.017 7.935M19.566 1.83v4.146h4.177L19.566 1.83" transform="translate(-.948)" style="fill:#222b30"/><path data-name="Tracciato 387" d="M24.769 44.679h.71a1.834 1.834 0 0 1-1.765 2.129c-.511.037-1.028.012-1.542.012H4.695a1.91 1.91 0 0 1-2.147-2.128l.8-.045c.075 1.172.868 1.273 1.814 1.27 5.948-.02 11.9-.01 17.844-.01 1.2 0 1.358-.106 1.768-1.224" transform="translate(-.985 -17.298)" style="fill:#222b30"/><path data-name="Rettangolo 158" transform="translate(5.291 12.419)" style="fill:#222b30" d="M0 0h15.477v.832H0z"/><path data-name="Rettangolo 159" transform="translate(5.32 9.468)" style="fill:#222b30" d="M0 0h15.458v.809H0z"/><path data-name="Rettangolo 160" transform="translate(5.303 6.501)" style="fill:#222b30" d="M0 0h9.919v.817H0z"/><path data-name="Tracciato 388" d="m26.2 33.2.764-.086c.486 1.047 1.2 1.447 2.064 1.1a1.018 1.018 0 0 0 .563-.644c.029-.17-.28-.5-.505-.592-.493-.205-1.036-.285-1.547-.455a1.446 1.446 0 0 1-1.177-1.485 1.53 1.53 0 0 1 1.327-1.451 2.006 2.006 0 0 1 2.749 1.759l-.818.07c-.418-.909-1.013-1.225-1.784-.911a.887.887 0 0 0-.477.551c-.027.135.238.418.426.489.526.2 1.085.295 1.62.468a1.515 1.515 0 0 1 1.2 1.482 1.668 1.668 0 0 1-1.267 1.61c-1.653.539-3.126-.333-3.141-1.907" transform="translate(-10.152 -11.427)" style="fill:#222b30"/><path data-name="Tracciato 389" d="M11.934 33.233c-.968.63-.982 2.323-2.69 1.9l2.055-2.8L9.5 29.769c1.6-.5 1.624 1.136 2.413 1.628.82-.515.879-2.061 2.449-1.641-.546.735-1.052 1.443-1.59 2.125a.573.573 0 0 0-.013.826c.586.772 1.136 1.573 1.738 2.415-.722.172-1.249.151-1.613-.527a13.665 13.665 0 0 0-.946-1.361" transform="translate(-3.582 -11.498)" style="fill:#222b30"/><path data-name="Tracciato 390" d="M22.486 34.319v.872h-3.513v-5.412h.944v4.54z" transform="translate(-7.351 -11.538)" style="fill:#222b30"/></svg>';var k3e='<svg xmlns="http://www.w3.org/2000/svg" width="14.753" height="9.093" viewBox="0 0 14.753 9.093"><path data-name="Path 2" d="m0 0 6.843 8L14 0" transform="rotate(180 7.186 4.38)" style="fill:none;stroke:#903;stroke-miterlimit:10"/></svg>',N3e='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="10" viewB
31ox="0 0 20 6"><g data-name="Raggruppa 580" transform="translate(-1270 -1254)"><circle data-name="Ellisse 22" cx="3" cy="3" r="3" transform="translate(1270 1254)" style="fill:#222b30"/><circle data-name="Ellisse 23" cx="3" cy="3" r="3" transform="translate(1277 1254)" style="fill:#222b30"/><circle data-name="Ellisse 24" cx="3" cy="3" r="3" transform="translate(1284 1254)" style="fill:#222b30"/></g></svg>',L3e='<svg data-name="Raggruppa 342" xmlns="http://www.w3.org/2000/svg" width="25.559" height="24.531" viewBox="0 0 20.559 19.531"><defs><clipPath id="xolfq62n7a"><path data-name="Rettangolo 155" style="fill:#903" d="M0 0h20.559v19.531H0z"/></clipPath></defs><g data-name="Raggruppa 341" style="clip-path:url(#xolfq62n7a)"><path data-name="Tracciato 383" d="M0 184.707h1.985v8.244h16.576v-8.244h2v10.26c-.08 0-.16-.011-.24-.011H.24c-.08 0-.16.008-.24.011v-10.26" transform="translate(0 -175.436)" style="fill:#903"/><path data-name="Tracciato 384" d="m114.008 14.033-4.759-4.754h3.79V0h2v9.256h3.75l-4.779 4.778" transform="translate(-103.765 .001)" style="fill:#903"/></g></svg>',tk='<svg xmlns="http://www.w3.org/2000/svg" width="36.799" height="24.883" viewBox="0 0 24.799 12.883"><defs><clipPath id="s4tpnsozua"><path data-name="Rettangolo 143" style="fill:#903" d="M0 0h24.799v12.883H0z"/></clipPath></defs><g data-name="Raggruppa 340"><g data-name="Raggruppa 246"><g data-name="Raggruppa 245" style="clip-path:url(#s4tpnsozua)"><path data-name="Tracciato 362" d="M12.481 12.883A16.226 16.226 0 0 1 .914 8.035C-.3 6.815-.3 6.084.867 4.861A16.127 16.127 0 0 1 24 4.915c1.08 1.155 1.074 1.911-.064 3.07a15.981 15.981 0 0 1-11.454 4.9M7.509 6.4a4.892 4.892 0 1 0 4.836-4.879A4.925 4.925 0 0 0 7.509 6.4" transform="translate(0 .001)" style="fill:#903"/><path data-name="Tracciato 363" d="M10.495 3.132a2.524 2.524 0 1 1-2.569 2.519 2.533 2.533 0 0 1 2.569-2.519" transform="translate(1.949 .771)" style="fill:#903"/></g></g></g></svg>',nk='<svg data-name="Raggruppa 30" xmlns="http://www.w3.org/2000/svg" width="16.412" height="25.126" viewBox="0 0 19.412 27.126"><defs><clipPath id="xtstfoibra"><path data-name="Rettangolo 2" style="fill:#903" d="M0 0h19.412v27.126H0z"/></clipPath></defs><g data-name="Raggruppa 29" style="clip-path:url(#xtstfoibra)"><path data-name="Tracciato 2" d="M134.629 13.592v12.095a1.287 1.287 0 0 1-.936 1.38 2.043 2.043 0 0 1-.531.056q-3.909.005-7.818 0a1.786 1.786 0 0 1-.338-.025.59.59 0 0 1-.459-.543.58.58 0 0 1 .4-.583 1.806 1.806 0 0 1 .448-.047c2.559 0 5.117-.006 7.676 0 .281 0 .366-.064.366-.359q-.013-12.01 0-24.02c0-.3-.09-.358-.368-.357-2.559.01-5.117.007-7.676 0a1.825 1.825 0 0 1-.42-.042.577.577 0 0 1-.431-.59.584.584 0 0 1 .489-.545A2.348 2.348 0 0 1 125.4 0h7.7a1.331 1.331 0 0 1 1.523 1.525v12.067" transform="translate(-115.217)" style="fill:#903"/><path data-name="Tracciato 3" d="M0 76.791h11.622c-.162-.177-.284-.321-.418-.455l-5.045-5.053a2.419 2.419 0 0 1-.419-.5.9.9 0 0 1 1.231-1.227 2.471 2.471 0 0 1 .5.42q3.441 3.434 6.876 6.873c.726.727.731 1.128.015 1.846q-3.474 3.479-6.953 6.952A2.33 2.33 0 0 1 7 86a.857.857 0 0 1-1.149-.141.85.85 0 0 1-.094-1.152 2.875 2.875 0 0 1 .368-.406q2.542-2.546 5.087-5.089c.128-.128.25-.261.445-.465H0" transform="translate(0 -64.221)" style="fill:#903"/</g></svg>',F3e='<svg data-name="Raggruppa 30" xmlns="http://www.w3.org/2000/svg" width="16.412" height="25.126" viewBox="0 0 19.412 27.126"><defs><clipPath id="xtstfoibra"><path data-name="Rettangolo 2" style="fill:#222b30" d="M0 0h19.412v27.126H0z"/></clipPath></defs><g data-name="Raggruppa 29" style="clip-path:url(#xtstfoibra)"><path data-name="Tracciato 2" d="M134.629 13.592v12.095a1.287 1.287 0 0 1-.936 1.38 2.043 2.043 0 0 1-.531.056q-3.909.005-7.818 0a1.786 1.786 0 0 1-.338-.025.59.59 0 0 1-.459-.543.58.58 0 0 1 .4-.583 1.806 1.806 0 0 1 .448-.047c2.559 0 5.117-.006 7.676 0 .281 0 .366-.064.366-.359q-.013-12.01 0-24.02c0-.3-.09-.358-.368-.357-2.559.01-5.117.007-7.676 0a1.825 1.825 0 0 1-.42-.042.577.577 0 0 1-.431-.59.584.584 0 0 1 .489-.545A2.348 2.348 0 0 1 125.4 0h7.7a1.331 1.331 0 0 1 1.523 1.525v12.067" transform="translate(-115.217)" style="fill:#222b30"/><path data-name="Tracciato 3" d="M0 76.791h11.622c-.162-.177-.284-.321-.418-.455l-5.045-5.053a2.419 2.419 0 0 1-.419-.5.9.9 0 0 1 1.231-1.227 2.471 2.471 0 0 1 .5.42q3.441 3.434 6.876 6.873c.726.727.731 1.128.015 1.846q-3.474 3.479-6.953 6.952A2.33 2.33 0 0 1 7 86a.857.857 0 0 1-1.149-.141.85.85 0 0 1-.094-1.152 2.875 2.875 0 0 1 .368-.406q2.542-2.546 5.087-5.089c.128-.128.25-.261.445-.465H0" transform="translate(0 -64.221)" style="fill:#222b30"/</g></svg>',Ly='<svg data-name="Raggruppa 101" xmlns="http://www.w3.org/2000/svg" width="56.202" height="61.79" viewBox="0 0 56.202 61.79"><defs><clipPath id="48y9xz411a"><path data-name="Rettangolo 93" style="fill:#903" d="M0 0h56.202v61.79H0z"/></clipPath></defs><g data-name="Raggruppa 96" style="clip-path:url(#48y9xz411a)"><path data-name="Tracciato 300" d="M28 0a9.853 9.853 0 0 1 1.018.822q6.233 6.519 12.451 13.052a2.192 2.192 0 0 1 .654 1.617c-.015 3.519-.007 7.038-.007 10.558v.61c1.165.408 2.314.715 3.383 1.2 5.711 2.589 9.345 6.963 10.4 13.135 1.177 6.885-1.126 12.636-6.569 17.044a16.848 16.848 0 0 1-9.338 3.671 1.547 1.547 0 0 0-.286.081h-2.652a1.859 1.859 0 0 0-.335-.1 17.434 17.434 0 0 1-13.061-8 1.008 1.008 0 0 0-.975-.5q-7.661.02-15.321 0a9.06 9.06 0 0 1-1.915-.175 6.822 6.822 0 0 1-5.44-6.882Q-.006 32.621 0 19.109c0-4.021-.012-8.043 0-12.064A6.586 6.586 0 0 1 2.97 1.29 16.925 16.925 0 0 1 6.039 0zm-1.586 2.6c-.242-.016-.4-.036-.556-.036q-9.323 0-18.645.006a5.307 5.307 0 0 0-1.369.167 4.332 4.332 0 0 0-3.268 4.5q-.015 19.374.014 38.743a
315.343 5.343 0 0 0 .476 2.207 4.3 4.3 0 0 0 4.288 2.436c4.666-.011 9.333 0 14 0h.675a18.065 18.065 0 0 1-.769-10.683H10.845a3.055 3.055 0 0 1-.832-.1 1.253 1.253 0 0 1 .143-2.418 5.036 5.036 0 0 1 .841-.05c3.52 0 7.04-.009 10.56.007a.745.745 0 0 0 .777-.482c.508-.979 1.077-1.925 1.624-2.884.1-.183.217-.361.385-.64h-13.33a4.954 4.954 0 0 1-.84-.056 1.205 1.205 0 0 1-1.022-1.168 1.188 1.188 0 0 1 .9-1.26 3.633 3.633 0 0 1 .893-.093q7.543-.008 15.085.005a1.927 1.927 0 0 0 1.309-.45 17.278 17.278 0 0 1 8.913-3.8c1.069-.127 2.15-.147 3.25-.218V16.36h-.693c-2.132 0-4.264.014-6.4 0a5.7 5.7 0 0 1-6-6.034V2.6m12.11 56.629a15.133 15.133 0 1 0-15.148-15.1 15.164 15.164 0 0 0 15.148 15.1m-.76-45.462L28.98 4.525c0 2.193-.04 4.2.012 6.208a3.048 3.048 0 0 0 3.108 3.031c1.827.025 3.654.006 5.666.006" style="fill:#903"/><path data-name="Tracciato 301" d="M83.569 201.745c2.13 0 4.26-.014 6.39.006a1.276 1.276 0 0 1 1.283 1.826 1.408 1.408 0 0 1-1.41.733c-1.869-.007-3.738 0-5.607 0h-6.933a1.33 1.33 0 0 1-1.463-.987 1.26 1.26 0 0 1 1.349-1.566c1.688-.021 3.376-.007 5.064-.007h1.326" transform="translate(-66.647 -177.393)" style="fill:#903"/><path data-name="Tracciato 302" d="M235.58 303.346v-15.873c-.242.221-.439.388-.621.57q-3.451 3.445-6.9 6.891a3.309 3.309 0 0 1-.687.573 1.233 1.233 0 0 1-1.676-1.681 3.373 3.373 0 0 1 .573-.685q4.69-4.7 9.388-9.391c.993-.992 1.541-1 2.521-.02q4.751 4.744 9.5 9.5a3.187 3.187 0 0 1 .49.564 1.25 1.25 0 0 1-1.765 1.7 3.938 3.938 0 0 1-.554-.5q-3.477-3.473-6.951-6.948c-.175-.175-.357-.342-.635-.607v15.918" transform="translate(-198.297 -248.846)" style="fill:#903"/></g></svg>',ik='<svg xmlns="http://www.w3.org/2000/svg" width="17.774" height="14.09" viewBox="0 0 17.774 14.09"><defs><clipPath id="hs4n5wo4xa"><path data-name="Rettangolo 118" style="fill:#903" d="M0 0h17.774v14.09H0z"/></clipPath></defs><g data-name="Raggruppa 151"><g data-name="Raggruppa 150" style="clip-path:url(#hs4n5wo4xa)"><path data-name="Tracciato 313" d="M17.774 6.033a1 1 0 0 1-.49.64.917.917 0 0 1-.94-.062l-2.587-1.618Q11.41 3.528 9.065 2.06a.28.28 0 0 0-.352 0Q5.1 4.325 1.479 6.582a.969.969 0 0 1-.856.148.858.858 0 0 1-.609-.712.854.854 0 0 1 .332-.845 1.745 1.745 0 0 1 .186-.128L8.312.183a1 1 0 0 1 1.152 0q3.888 2.435 7.783 4.859a1.153 1.153 0 0 1 .528.678z" style="fill:#903"/><path data-name="Tracciato 314" d="M10.9 16.683H5.607a.9.9 0 0 1-.94-.664 1.453 1.453 0 0 1-.038-.36v-5.328a1.056 1.056 0 0 1 .543-.973q2.579-1.6 5.147-3.214a1 1 0 0 1 1.166 0q2.575 1.619 5.162 3.223a1.043 1.043 0 0 1 .53.963c-.005 1.776 0 3.551 0 5.327a.921.921 0 0 1-1.031 1.026H10.9" transform="translate(-2.013 -2.592)" style="fill:#903"/></g></g></svg>',V3e='<svg xmlns="http://www.w3.org/2000/svg" width="17.774" height="14.09" viewBox="0 0 17.774 14.09"> <defs> <clipPath id="nu7lco6dha"> <path data-name="Rettangolo 118" style="fill:#fff" d="M0 0h17.774v14.09H0z"/> </clipPath> </defs> <g data-name="Raggruppa 571"> <g data-name="Raggruppa 150" style="clip-path:url(#nu7lco6dha)"> <path data-name="Tracciato 313" d="M17.774 6.033a1 1 0 0 1-.49.64.917.917 0 0 1-.94-.062l-2.587-1.618Q11.41 3.528 9.065 2.06a.28.28 0 0 0-.352 0Q5.1 4.325 1.479 6.582a.969.969 0 0 1-.856.148.858.858 0 0 1-.609-.712.854.854 0 0 1 .332-.845 1.745 1.745 0 0 1 .186-.128L8.312.183a1 1 0 0 1 1.152 0q3.888 2.435 7.783 4.859a1.153 1.153 0 0 1 .528.678z" style="fill:#fff"/> <path data-name="Tracciato 314" d="M10.9 16.683H5.607a.9.9 0 0 1-.94-.664 1.453 1.453 0 0 1-.038-.36v-5.328a1.056 1.056 0 0 1 .543-.973q2.579-1.6 5.147-3.214a1 1 0 0 1 1.166 0q2.575 1.619 5.162 3.223a1.043 1.043 0 0 1 .53.963c-.005 1.776 0 3.551 0 5.327a.921.921 0 0 1-1.031 1.026H10.9" transform="translate(-2.013 -2.592)" style="fill:#fff"/> </g> </g> </svg>',rk='<svg xmlns="http://www.w3.org/2000/svg" width="16.117" height="16.113" viewBox="0 0 16.117 16.113"><defs><clipPath id="l4xhk3cf7a"><path data-name="Rettangolo 119" style="fill:#903" d="M0 0h16.117v16.113H0z"/></clipPath></defs><g data-name="Raggruppa 153"><g data-name="Raggruppa 152" style="clip-path:url(#l4xhk3cf7a)"><path data-name="Tracciato 315" d="M0 12.145c.041-.273.078-.547.124-.82.027-.165.068-.327.1-.5h2.681a13.328 13.328 0 0 0 0 3.637H.211l-.179-1.175c-.009-.056-.021-.111-.032-.166v-.976" transform="translate(0 -5.597)" style="fill:#903"/><path data-name="Tracciato 316" d="M10.98 0v4.255H8.389c.079-.263.147-.519.231-.77A7.4 7.4 0 0 1 10.35.548c.19-.192.4-.366.6-.548z" transform="translate(-4.337)" style="fill:#903"/><path data-name="Tracciato 317" d="M21.338 21.017c-.115-.17-.226-.328-.332-.489a38.523 38.523 0 0 1-2.771-4.785 8.143 8.143 0 0 1-.652-1.814 3.457 3.457 0 0 1 .406-2.443 3.81 3.81 0 0 1 6.1-.823 3.764 3.764 0 0 1 1.08 2.578 3.8 3.8 0 0 1-.264 1.382 17.106 17.106 0 0 1-1.495 3.094c-.638 1.071-1.318 2.118-1.98 3.174-.024.039-.054.074-.091.125m0-5.834a1.861 1.861 0 1 0-1.842-1.86 1.858 1.858 0 0 0 1.842 1.86" transform="translate(-9.053 -4.904)" style="fill:#903"/><path data-name="Tracciato 318" d="M10.618 10.823v3.636H7.851a12.028 12.028 0 0 1 0-3.636z" transform="translate(-3.987 -5.595)" style="fill:#903"/><path data-name="Tracciato 319" d="M1.127 4.486A7.232 7.232 0 0 1 5.554.426l.031.029c-.117.15-.239.3-.351.451a9.49 9.49 0 0 0-1.526 3.418c-.029.122-.071.168-.2.166-.729-.008-1.457 0-2.186 0h-.195" transform="translate(-.583 -.22)" style="fill:#903"/><path data-name="Tracciato 320" d="M1.192 20.35H3.7a9.419 9.419 0 0 0 1.91 4.016c-1.453-.14-3.913
31-2.381-4.417-4.016" transform="translate(-.616 -10.52)" style="fill:#903"/><path data-name="Tracciato 321" d="M8.389 20.354h2.576v4.259a7.528 7.528 0 0 1-2.576-4.259" transform="translate(-4.337 -10.522)" style="fill:#903"/><path data-name="Tracciato 322" d="M15.721.032a7.549 7.549 0 0 1 2.551 4.207.894.894 0 0 1-.184.042h-2.282c-.025 0-.051-.006-.085-.01z" transform="translate(-8.127 -.016)" style="fill:#903"/><path data-name="Tracciato 323" d="M23.305 4.077a4.777 4.777 0 0 0-2.453.018A9.188 9.188 0 0 0 19 .446 6.512 6.512 0 0 1 21.525 1.8a7.37 7.37 0 0 1 1.78 2.279" transform="translate(-9.825 -.23)" style="fill:#903"/><path data-name="Tracciato 324" d="M15.72 24.582v-4.229c.168-.06.248 0 .3.159a15.494 15.494 0 0 0 1.072 2.373.208.208 0 0 1-.015.251 6.119 6.119 0 0 1-1.359 1.445" transform="translate(-8.127 -10.51)" style="fill:#903"/><path data-name="Tracciato 325" d="M15.725 10.819h1.222a4.907 4.907 0 0 0-1.222 2.67z" transform="translate(-8.129 -5.593)" style="fill:#903"/><path data-name="Tracciato 326" d="M23.576 16.466a.9.9 0 1 0 1.8-.013.9.9 0 1 0-1.8.013" transform="translate(-12.188 -8.04)" style="fill:#903"/><path data-name="Tracciato 327" d="M23.576 16.466a.9.9 0 1 1 .914.9.9.9 0 0 1-.914-.9" transform="translate(-12.188 -8.04)" style="fill:#903"/></g></g></svg>',U3e='<svg xmlns="http://www.w3.org/2000/svg" width="16.117" height="16.113" viewBox="0 0 16.117 16.113"> <defs> <clipPath id="xva7mgkmya"> <path data-name="Rettangolo 119" style="fill:#fff" d="M0 0h16.117v16.113H0z"/> </clipPath> </defs> <g data-name="Raggruppa 572"> <g data-name="Raggruppa 152" style="clip-path:url(#xva7mgkmya)"> <path data-name="Tracciato 315" d="M0 12.145c.041-.273.078-.547.124-.82.027-.165.068-.327.1-.5h2.681a13.328 13.328 0 0 0 0 3.637H.211l-.179-1.175c-.009-.056-.021-.111-.032-.166v-.976" transform="translate(0 -5.597)" style="fill:#fff"/> <path data-name="Tracciato 316" d="M10.98 0v4.255H8.389c.079-.263.147-.519.231-.77A7.4 7.4 0 0 1 10.35.548c.19-.192.4-.366.6-.548z" transform="translate(-4.337)" style="fill:#fff"/> <path data-name="Tracciato 317" d="M21.338 21.017c-.115-.17-.226-.328-.332-.489a38.523 38.523 0 0 1-2.771-4.785 8.143 8.143 0 0 1-.652-1.814 3.457 3.457 0 0 1 .406-2.443 3.81 3.81 0 0 1 6.1-.823 3.764 3.764 0 0 1 1.08 2.578 3.8 3.8 0 0 1-.264 1.382 17.106 17.106 0 0 1-1.495 3.094c-.638 1.071-1.318 2.118-1.98 3.174-.024.039-.054.074-.091.125m0-5.834a1.861 1.861 0 1 0-1.842-1.86 1.858 1.858 0 0 0 1.842 1.86" transform="translate(-9.053 -4.904)" style="fill:#fff"/> <path data-name="Tracciato 318" d="M10.618 10.823v3.636H7.851a12.028 12.028 0 0 1 0-3.636z" transform="translate(-3.987 -5.595)" style="fill:#fff"/> <path data-name="Tracciato 319" d="M1.127 4.486A7.232 7.232 0 0 1 5.554.426l.031.029c-.117.15-.239.3-.351.451a9.49 9.49 0 0 0-1.526 3.418c-.029.122-.071.168-.2.166-.729-.008-1.457 0-2.186 0h-.195" transform="translate(-.583 -.22)" style="fill:#fff"/> <path data-name="Tracciato 320" d="M1.192 20.35H3.7a9.419 9.419 0 0 0 1.91 4.016c-1.453-.14-3.913-2.381-4.417-4.016" transform="translate(-.616 -10.52)" style="fill:#fff"/> <path data-name="Tracciato 321" d="M8.389 20.354h2.576v4.259a7.528 7.528 0 0 1-2.576-4.259" transform="translate(-4.337 -10.522)" style="fill:#fff"/> <path data-name="Tracciato 322" d="M15.721.032a7.549 7.549 0 0 1 2.551 4.207.894.894 0 0 1-.184.042h-2.282c-.025 0-.051-.006-.085-.01z" transform="translate(-8.127 -.016)" style="fill:#fff"/> <path data-name="Tracciato 323" d="M23.305 4.077a4.777 4.777 0 0 0-2.453.018A9.188 9.188 0 0 0 19 .446 6.512 6.512 0 0 1 21.525 1.8a7.37 7.37 0 0 1 1.78 2.279" transform="translate(-9.825 -.23)" style="fill:#fff"/> <path data-name="Tracciato 324" d="M15.72 24.582v-4.229c.168-.06.248 0 .3.159a15.494 15.494 0 0 0 1.072 2.373.208.208 0 0 1-.015.251 6.119 6.119 0 0 1-1.359 1.445" transform="translate(-8.127 -10.51)" style="fill:#fff"/> <path data-name="Tracciato 325" d="M15.725 10.819h1.222a4.907 4.907 0 0 0-1.222 2.67z" transform="translate(-8.129 -5.593)" style="fill:#fff"/> <path data-name="Tracciato 326" d="M23.576 16.466a.9.9 0 1 0 1.8-.013.9.9 0 1 0-1.8.013" transform="translate(-12.188 -8.04)" style="fill:#fff"/> <path data-name="Tracciato 327" d="M23.576 16.466a.9.9 0 1 1 .914.9.9.9 0 0 1-.914-.9" transform="translate(-12.188 -8.04)" style="fill:#fff"/> </g> </g> </svg>',ok='<svg xmlns="http://www.w3.org/2000/svg" width="22.202" height="21.404" viewBox="0 0 22.202 21.404"> <defs> <clipPath id="onf8ei2ora"> <path data-name="Rettangolo 124" style="fill:#903" d="M0 0h22.202v21.404H0z"/> </clipPath> </defs> <g data-name="Raggruppa 156"> <g data-name="Raggruppa 155"> <g data-name="Raggruppa 154" style="clip-path:url(#onf8ei2ora)"> <path data-name="Tracciato 328" d="M95.455 102.168c0-.666-.016-1.307.007-1.946a.723.723 0 0 1 .677-.629c.037 0 .075-.006.112-.011.26-.038.4-.191.381-.408a.382.382 0 0 0-.44-.328 1.593 1.593 0 0 0-.982.362c-.05.04-.1.084-.159.136a1.653 1.653 0 0 0-.927-.478 1.166 1.166 0 0 0-.312-.016.351.351 0 0 0-.34.333.345.345 0 0 0 .281.378c.014 0 .029.007.044.01.727.151.855.3.855.994v1.585h-1.983c-.024-.125-.045-.261-.076-.394a3.623 3.623 0 0 0-1.614-2.26 6.6 6.6 0 0 1-2.887-3.982 6.673 6.673 0 0 1 5.708-8.026 7.062 7.
31062 0 0 1 8.28 5.405 6.188 6.188 0 0 1-2.752 6.454 4.207 4.207 0 0 0-1.784 2.33c-.007.027-.016.054-.022.081-.092.41-.092.41-.553.41z" transform="translate(-83.951 -83.726)" style="fill:#903"/> <path data-name="Rettangolo 121" transform="translate(8.728 19.2)" style="fill:#903" d="M0 0h4.736v.711H0z"/> <path data-name="Tracciato 329" d="M198.909 493.688a.734.734 0 0 1-.74.72q-1.63.015-3.26 0a.733.733 0 0 1-.737-.72z" transform="translate(-185.441 -473.011)" style="fill:#903"/> <path data-name="Rettangolo 122" transform="translate(0 9.951)" style="fill:#903" d="M0 0h1.553v.721H0z"/> <path data-name="Rettangolo 123" transform="translate(20.641 9.952)" style="fill:#903" d="M0 0h1.561v.715H0z"/> <path data-name="Tracciato 330" d="m67.561 68.433-1.094-1.02.533-.442 1.069 1-.508.465" transform="translate(-63.478 -64.166)" style="fill:#903"/> <path data-name="Tracciato 331" d="m392.874 67-1.074 1-.5-.472 1.078-1 .5.478" transform="translate(-373.705 -63.737)" style="fill:#903"/> <path data-name="Tracciato 332" d="m67.052 392.035-.53-.469 1.1-1.023.5.5-1.064.992" transform="translate(-63.531 -374.186)" style="fill:#903"/> <path data-name="Tracciato 333" d="m391.189 390.813.519-.5 1.088 1.013-.531.492-1.076-1" transform="translate(-373.599 -373.964)" style="fill:#903"/> <path data-name="Tracciato 334" d="M166.711 136.375h.814a4.267 4.267 0 0 1 .393-1.2 3.217 3.217 0 0 1 .677-.907 2.882 2.882 0 0 1 .925-.576 3.126 3.126 0 0 1 1.136-.2 2.938 2.938 0 0 1 1.316.271 2.9 2.9 0 0 1 .94.737l-.382.4a.562.562 0 0 1-.1.09.239.239 0 0 1-.142.037.3.3 0 0 1-.2-.1 2.4 2.4 0 0 0-.276-.215 2.054 2.054 0 0 0-.433-.215 1.958 1.958 0 0 0-.677-.1 1.837 1.837 0 0 0-1.318.5 2.641 2.641 0 0 0-.709 1.472h3.052v.323a.257.257 0 0 1-.086.186.315.315 0 0 1-.233.085H168.6c0 .067-.007.134-.009.2s0 .136 0 .207v.154c0 .049 0 .1.006.148h2.6V138a.257.257 0 0 1-.086.186.317.317 0 0 1-.234.085h-2.22a2.727 2.727 0 0 0 .683 1.562 1.778 1.778 0 0 0 1.309.522 2.271 2.271 0 0 0 .524-.053 1.817 1.817 0 0 0 .387-.135 1.481 1.481 0 0 0 .282-.178l.205-.177a1.92 1.92 0 0 1 .159-.136.24.24 0 0 1 .145-.053.246.246 0 0 1 .094.016.319.319 0 0 1 .082.058l.473.414a2.818 2.818 0 0 1-1 .848 3.075 3.075 0 0 1-1.409.3 3.217 3.217 0 0 1-1.19-.209 2.676 2.676 0 0 1-.92-.6 3.112 3.112 0 0 1-.638-.944 4.6 4.6 0 0 1-.344-1.238h-.786v-.594h.734c0-.05-.006-.1-.006-.148v-.361c0-.068 0-.134.008-.2h-.74z" transform="translate(-159.215 -127.904)" style="fill:#fff"/> </g> </g> </g> </svg>',H3e='<svg xmlns="http://www.w3.org/2000/svg" width="22.202" height="21.404" viewBox="0 0 22.202 21.404"> <defs> <clipPath id="qwemfllo0a"> <path data-name="Rettangolo 124" style="fill:#fff" d="M0 0h22.202v21.404H0z"/> </clipPath> </defs> <g data-name="Raggruppa 573"> <g data-name="Raggruppa 155"> <g data-name="Raggruppa 154" style="clip-path:url(#qwemfllo0a)"> <path data-name="Tracciato 328" d="M95.455 102.168c0-.666-.016-1.307.007-1.946a.723.723 0 0 1 .677-.629c.037 0 .075-.006.112-.011.26-.038.4-.191.381-.408a.382.382 0 0 0-.44-.328 1.593 1.593 0 0 0-.982.362c-.05.04-.1.084-.159.136a1.653 1.653 0 0 0-.927-.478 1.166 1.166 0 0 0-.312-.016.351.351 0 0 0-.34.333.345.345 0 0 0 .281.378c.014 0 .029.007.044.01.727.151.855.3.855.994v1.585h-1.983c-.024-.125-.045-.261-.076-.394a3.623 3.623 0 0 0-1.614-2.26 6.6 6.6 0 0 1-2.887-3.982 6.673 6.673 0 0 1 5.708-8.026 7.062 7.062 0 0 1 8.28 5.405 6.188 6.188 0 0 1-2.752 6.454 4.207 4.207 0 0 0-1.784 2.33c-.007.027-.016.054-.022.081-.092.41-.092.41-.553.41z" transform="translate(-83.951 -83.726)" style="fill:#fff"/> <path data-name="Rettangolo 121" transform="translate(8.728 19.2)" style="fill:#fff" d="M0 0h4.736v.711H0z"/> <path data-name="Tracciato 329" d="M198.909 493.688a.734.734 0 0 1-.74.72q-1.63.015-3.26 0a.733.733 0 0 1-.737-.72z" transform="translate(-185.441 -473.011)" style="fill:#fff"/> <path data-name="Rettangolo 122" transform="translate(0 9.951)" style="fill:#fff" d="M0 0h1.553v.721H0z"/> <path data-name="Rettangolo 123" transform="translate(20.641 9.952)" style="fill:#fff" d="M0 0h1.561v.715H0z"/> <path data-name="Tracciato 330" d="m67.561 68.433-1.094-1.02.533-.442 1.069 1-.508.465" transform="translate(-63.478 -64.166)" style="fill:#fff"/> <path data-name="Tracciato 331" d="m392.874 67-1.074 1-.5-.472 1.078-1 .5.478" transform="translate(-373.705 -63.737)" style="fill:#fff"/> <path data-name="Tracciato 332" d="m67.052 392.035-.53-.469 1.1-1.023.5.5-1.064.992" transform="translate(-63.531 -374.186)" style="fill:#fff"/> <path data-name="Tracciato 333" d="m391.189 390.813.519-.5 1.088 1.013-.531.492-1.076-1" transform="translate(-373.599 -373.964)" style="fill:#fff"/> <path data-name="Tracciato 334" d="M166.711 136.375h.814a4.267 4.267 0 0 1 .393-1.2 3.217 3.217 0 0 1 .677-.907 2.882 2.882 0 0 1 .925-.576 3.126 3.126 0 0 1 1.136-.2 2.938 2.938 0 0 1 1.316.271 2.9 2.9 0 0 1 .94.737l-.382.4a.562.562 0 0 1-.1.09.239.239 0 0 1-.142.037.3.3 0 0 1-.2-.1 2.4 2.4 0 0 0-.276-.215 2.054 2.054 0 0 0-.433-.215 1.958 1.958 0 0 0-.677-.1 1.837 1.837 0 0 0-1.318.5 2.641 2.641 0 0 0-.709 1.472h3.052v.323a.257.257 0 0 1-.086.186.315.315 0 0 1-.233.085H168.6c0 .067-.007.134-.009.2s0 .136 0 .207v.154c0 .049 0 .1.006.148h2.6V138a.257.257 0 0 1-.086.186.317.317 0 0 1-.234.085h-2.22a2.727 2.727 0 0 0 .683 1.562 1.778 1.778 0 0 0 1.309.522 2.271 2.271 0 0 0 .524-.053 1.817 1.817 0 0 0 .387-.135 1.481 1.481 0 0 0 .282-.178l.205-.177a1.92 1.92 0 0 1 .159-.136.24.24 0 0 1 .145-.053.246.246 0 0 1 .094.016.319.319 0 0 1 .082.058l.473.414a2.818 2.818 0 0 1-1 .848 3.075 3.075 0 0 1-1.409.3 3.217 3.217 0 0 1-1.19-.209 2.676 2.676 0 0 1-.92-.6 3.112 3.112 0 0 1-.638-.944 4.6 4.6 0 0 1-.344-1.238h-.786v-.594h.734c0-.05-.006-.1-.006-.148v-.361c0-.
31068 0-.134.008-.2h-.74z" transform="translate(-159.215 -127.904)" style="fill:#903"/> </g> </g> </g> </svg>',sk='<svg data-name="Raggruppa 158" xmlns="http://www.w3.org/2000/svg" width="15.609" height="18.28" viewBox="0 0 15.609 18.28"> <defs> <clipPath id="jo7ppktvqa"> <path data-name="Rettangolo 125" style="fill:#903" d="M0 0h15.609v18.28H0z"/> </clipPath> </defs> <g data-name="Raggruppa 157" style="clip-path:url(#jo7ppktvqa)"> <path data-name="Tracciato 335" d="M20.648 101.844a14.7 14.7 0 0 0 1.405.7 5.408 5.408 0 0 0 7.136-3.586A2.182 2.182 0 0 1 30.7 97.42a5.314 5.314 0 0 1 .8-.185.389.389 0 0 1 .422.181.4.4 0 0 1 .007.455 2.1 2.1 0 0 0-.36.959 4.914 4.914 0 0 0 .052.766.275.275 0 0 0 .106.147 5.782 5.782 0 0 1 1.789 2.5.154.154 0 0 0 .178.119 4.452 4.452 0 0 1 .454 0 .675.675 0 0 1 .641.655q.011.9 0 1.809a.7.7 0 0 1-.687.672c-.173.01-.387-.043-.508.039s-.127.3-.192.449a5.671 5.671 0 0 1-1.543 2.1 2.4 2.4 0 0 0-.9 2c.022.579-.068.651-.661.651h-2.005c-.339 0-.476-.136-.478-.47v-.421c-.327 0-.634.006-.941 0s-.6-.031-.933-.049v.489c0 .315-.142.454-.457.454h-2.22c-.306 0-.442-.141-.451-.443a3.234 3.234 0 0 0-.864-2.178 6.611 6.611 0 0 1-1.7-3.32 5.062 5.062 0 0 1 .4-2.964m10.482.639a.573.573 0 1 0-.587-.559.572.572 0 0 0 .587.559" transform="translate(-19.176 -92.47)" style="fill:#903"/> <path data-name="Tracciato 336" d="M9.679 4.769a4.8 4.8 0 0 1-4.84 4.77A4.8 4.8 0 0 1 0 4.769 4.8 4.8 0 0 1 4.839 0a4.8 4.8 0 0 1 4.84 4.769" style="fill:#903"/> <path data-name="Tracciato 337" d="M47 32.054h.578a3.734 3.734 0 0 1 .279-.958 2.578 2.578 0 0 1 .481-.726 2.026 2.026 0 0 1 .657-.461 2 2 0 0 1 .806-.161 1.887 1.887 0 0 1 .934.217 2.116 2.116 0 0 1 .667.591l-.271.319a.421.421 0 0 1-.069.072.155.155 0 0 1-.1.03.207.207 0 0 1-.143-.079 1.758 1.758 0 0 0-.2-.172 1.4 1.4 0 0 0-.307-.172 1.245 1.245 0 0 0-.481-.078 1.225 1.225 0 0 0-.936.4 2.232 2.232 0 0 0-.5 1.179h2.167v.259a.219.219 0 0 1-.061.149.21.21 0 0 1-.165.068h-1.994c0 .054 0 .108-.006.161s0 .109 0 .166v.242h1.843v.259a.219.219 0 0 1-.061.149.211.211 0 0 1-.166.068h-1.574a2.324 2.324 0 0 0 .485 1.251 1.191 1.191 0 0 0 .93.418 1.435 1.435 0 0 0 .372-.043 1.2 1.2 0 0 0 .275-.108 1.047 1.047 0 0 0 .2-.142q.083-.076.146-.142a1.415 1.415 0 0 1 .114-.11.159.159 0 0 1 .1-.043.157.157 0 0 1 .067.013.228.228 0 0 1 .059.047l.335.332a2.085 2.085 0 0 1-.709.68 1.977 1.977 0 0 1-1 .242 2.054 2.054 0 0 1-.845-.168 1.9 1.9 0 0 1-.653-.48 2.531 2.531 0 0 1-.453-.756 4.06 4.06 0 0 1-.244-.992H47V33.1h.521V32.692c0-.054 0-.108.006-.161H47z" transform="translate(-44.667 -28.292)" style="fill:#fff"/> </g> </svg>',B3e='<svg data-name="Raggruppa 574" xmlns="http://www.w3.org/2000/svg" width="15.609" height="18.28" viewBox="0 0 15.609 18.28"> <defs> <clipPath id="nx9czdawya"> <path data-name="Rettangolo 125" style="fill:#fff" d="M0 0h15.609v18.28H0z"/> </clipPath> </defs> <g data-name="Raggruppa 157" style="clip-path:url(#nx9czdawya)"> <path data-name="Tracciato 335" d="M20.648 101.844a14.7 14.7 0 0 0 1.405.7 5.408 5.408 0 0 0 7.136-3.586A2.182 2.182 0 0 1 30.7 97.42a5.314 5.314 0 0 1 .8-.185.389.389 0 0 1 .422.181.4.4 0 0 1 .007.455 2.1 2.1 0 0 0-.36.959 4.914 4.914 0 0 0 .052.766.275.275 0 0 0 .106.147 5.782 5.782 0 0 1 1.789 2.5.154.154 0 0 0 .178.119 4.452 4.452 0 0 1 .454 0 .675.675 0 0 1 .641.655q.011.9 0 1.809a.7.7 0 0 1-.687.672c-.173.01-.387-.043-.508.039s-.127.3-.192.449a5.671 5.671 0 0 1-1.543 2.1 2.4 2.4 0 0 0-.9 2c.022.579-.068.651-.661.651h-2.005c-.339 0-.476-.136-.478-.47v-.421c-.327 0-.634.006-.941 0s-.6-.031-.933-.049v.489c0 .315-.142.454-.457.454h-2.22c-.306 0-.442-.141-.451-.443a3.234 3.234 0 0 0-.864-2.178 6.611 6.611 0 0 1-1.7-3.32 5.062 5.062 0 0 1 .4-2.964m10.482.639a.573.573 0 1 0-.587-.559.572.572 0 0 0 .587.559" transform="translate(-19.176 -92.47)" style="fill:#fff"/> <path data-name="Tracciato 336" d="M9.679 4.769a4.8 4.8 0 0 1-4.84 4.77A4.8 4.8 0 0 1 0 4.769 4.8 4.8 0 0 1 4.839 0a4.8 4.8 0 0 1 4.84 4.769" style="fill:#fff"/> <path data-name="Tracciato 337" d="M47 32.054h.578a3.734 3.734 0 0 1 .279-.958 2.578 2.578 0 0 1 .481-.726 2.026 2.026 0 0 1 .657-.461 2 2 0 0 1 .806-.161 1.887 1.887 0 0 1 .934.217 2.116 2.116 0 0 1 .667.591l-.271.319a.421.421 0 0 1-.069.072.155.155 0 0 1-.1.03.207.207 0 0 1-.143-.079 1.758 1.758 0 0 0-.2-.172 1.4 1.4 0 0 0-.307-.172 1.245 1.245 0 0 0-.481-.078 1.225 1.225 0 0 0-.936.4 2.232 2.232 0 0 0-.5 1.179h2.167v.259a.219.219 0 0 1-.061.149.21.21 0 0 1-.165.068h-1.994c0 .054 0 .108-.006.161s0 .109 0 .166v.242h1.843v.259a.219.219 0 0 1-.061.149.211.211 0 0 1-.166.068h-1.574a2.324 2.324 0 0 0 .485 1.251 1.191 1.191 0 0 0 .93.418 1.435 1.435 0 0 0 .372-.043 1.2 1.2 0 0 0 .275-.108 1.047 1.047 0 0 0 .2-.142q.083-.076.146-.142a1.415 1.415 0 0 1 .114-.11.159.159 0 0 1 .1-.043.157.157 0 0 1 .067.013.228.228 0 0 1 .059.047l.335.332a2.085 2.085 0 0 1-.709.68 1.977 1.977 0 0 1-1 .242 2.054 2.054 0 0 1-.845-.168 1.9 1.9 0 0 1-.653-.48 2.531 2.531 0 0 1-.453-.756 4.06 4.06 0 0 1-.244-.992H47V33.1h.521V32.692c0-.054 0-.108.006-.161H47z" transform="translate(-44.667 -28.292)" style="fill:#903"/> </g> </svg>',ak='<svg data-name="Raggruppa 160" xmlns="http://www.w3.org/2000/svg" width="26.748" height="19" viewBox="0 0 26.748 19"> <defs> <clipPath id="4x282sk21a">
31 <path data-name="Rettangolo 126" style="fill:#903" d="M0 0h26.748v19H0z"/> </clipPath> </defs> <g data-name="Raggruppa 159" style="clip-path:url(#4x282sk21a)"> <path data-name="Tracciato 338" d="M164.6 5.707c-.495 0-.95.015-1.4-.009a.691.691 0 0 1-.421-.188c-.135-.138-.034-.308.056-.453q1.5-2.4 2.991-4.8c.216-.345.5-.347.711 0q1.5 2.407 3 4.819c.214.345.055.622-.357.627-.462.006-.923 0-1.421 0v.309c0 1.133 0 2.267-.006 3.4a.613.613 0 0 1-.125.354 5.727 5.727 0 0 0-.04 7.22c.092.117.233.242.111.387a.686.686 0 0 1-.4.268 41.52 41.52 0 0 1-2.232.009.452.452 0 0 1-.461-.483V5.707z" transform="translate(-151.244 -.001)" style="fill:#903"/> <path data-name="Tracciato 339" d="M126.378 121.307v-4.044c0-.5.151-.654.648-.655h1.886c.466 0 .621.16.621.632v8.187c0 .455-.156.611-.611.612h-1.96c-.422 0-.582-.162-.583-.589v-4.143" transform="translate(-117.471 -108.389)" style="fill:#903"/> <path data-name="Tracciato 340" d="M63.273 157.394v-2.8c0-.424.158-.581.587-.583h1.985c.41 0 .569.166.569.575v5.657c0 .4-.165.57-.575.573q-.992.007-1.985 0c-.424 0-.58-.165-.581-.59v-2.829" transform="translate(-58.814 -143.152)" style="fill:#903"/> <path data-name="Tracciato 341" d="M0 200.982v-1.264c0-.362.168-.539.527-.542q1.054-.01 2.107 0a.453.453 0 0 1 .509.506q.01 1.3 0 2.6a.451.451 0 0 1-.486.506q-1.078.018-2.157 0a.464.464 0 0 1-.5-.52v-1.289" transform="translate(0 -185.134)" style="fill:#903"/> <path data-name="Tracciato 342" d="M234.222 118.763a5.509 5.509 0 1 1-5.509-5.509 5.509 5.509 0 0 1 5.509 5.509" transform="translate(-207.474 -105.273)" style="fill:#903"/> <path data-name="Tracciato 343" d="M260.888 139.769h.658a4.365 4.365 0 0 1 .317-1.107 2.984 2.984 0 0 1 .547-.839 2.308 2.308 0 0 1 .748-.533 2.242 2.242 0 0 1 .918-.187 2.122 2.122 0 0 1 1.063.25 2.422 2.422 0 0 1 .759.682l-.309.368a.489.489 0 0 1-.078.084.175.175 0 0 1-.115.034.234.234 0 0 1-.163-.091 2.022 2.022 0 0 0-.223-.2 1.584 1.584 0 0 0-.35-.2 1.522 1.522 0 0 0-1.613.373 2.6 2.6 0 0 0-.573 1.362h2.466v.3a.254.254 0 0 1-.069.172.237.237 0 0 1-.188.079h-2.268c0 .062-.005.124-.007.186s0 .126 0 .191v.28h2.1v.3a.255.255 0 0 1-.069.172.239.239 0 0 1-.189.079h-1.794a2.706 2.706 0 0 0 .552 1.445 1.347 1.347 0 0 0 1.058.483 1.614 1.614 0 0 0 .423-.049 1.358 1.358 0 0 0 .313-.125 1.2 1.2 0 0 0 .228-.165q.094-.088.166-.164a1.614 1.614 0 0 1 .129-.125.179.179 0 0 1 .117-.049.176.176 0 0 1 .076.015.261.261 0 0 1 .067.054l.382.383a2.39 2.39 0 0 1-.808.785 2.224 2.224 0 0 1-1.139.28 2.309 2.309 0 0 1-.962-.194 2.161 2.161 0 0 1-.743-.555 2.932 2.932 0 0 1-.515-.874 4.75 4.75 0 0 1-.278-1.146h-.635v-.55h.593v-.464c0-.062 0-.124.007-.186h-.6z" transform="translate(-242.502 -127.442)" style="fill:#fff"/> </g> </svg>',j3e='<svg data-name="Raggruppa 575" xmlns="http://www.w3.org/2000/svg" width="26.748" height="19" viewBox="0 0 26.748 19"> <defs> <clipPath id="ucign9371a"> <path data-name="Rettangolo 126" style="fill:#fff" d="M0 0h26.748v19H0z"/> </clipPath> </defs> <g data-name="Raggruppa 159" style="clip-path:url(#ucign9371a)"> <path data-name="Tracciato 338" d="M164.6 5.707c-.495 0-.95.015-1.4-.009a.691.691 0 0 1-.421-.188c-.135-.138-.034-.308.056-.453q1.5-2.4 2.991-4.8c.216-.345.5-.347.711 0q1.5 2.407 3 4.819c.214.345.055.622-.357.627-.462.006-.923 0-1.421 0v.309c0 1.133 0 2.267-.006 3.4a.613.613 0 0 1-.125.354 5.727 5.727 0 0 0-.04 7.22c.092.117.233.242.111.387a.686.686 0 0 1-.4.268 41.52 41.52 0 0 1-2.232.009.452.452 0 0 1-.461-.483V5.707z" transform="translate(-151.244 -.001)" style="fill:#fff"/> <path data-name="Tracciato 339" d="M126.378 121.307v-4.044c0-.5.151-.654.648-.655h1.886c.466 0 .621.16.621.632v8.187c0 .455-.156.611-.611.612h-1.96c-.422 0-.582-.162-.583-.589v-4.143" transform="translate(-117.471 -108.389)" style="fill:#fff"/> <path data-name="Tracciato 340" d="M63.273 157.394v-2.8c0-.424.158-.581.587-.583h1.985c.41 0 .569.166.569.575v5.657c0 .4-.165.57-.575.573q-.992.007-1.985 0c-.424 0-.58-.165-.581-.59v-2.829" transform="translate(-58.814 -143.152)" style="fill:#fff"/> <path data-name="Tracciato 341" d="M0 200.982v-1.264c0-.362.168-.539.527-.542q1.054-.01 2.107 0a.453.453 0 0 1 .509.506q.01 1.3 0 2.6a.451.451 0 0 1-.486.506q-1.078.018-2.157 0a.464.464 0 0 1-.5-.52v-1.289" transform="translate(0 -185.134)" style="fill:#fff"/> <path data-name="Tracciato 342" d="M234.222 118.763a5.509 5.509 0 1 1-5.509-5.509 5.509 5.509 0 0 1 5.509 5.509" transform="translate(-207.474 -105.273)" style="fill:#fff"/> <path data-name="Tracciato 343" d="M260.888 139.769h.658a4.365 4.365 0 0 1 .317-1.107 2.984 2.984 0 0 1 .547-.839 2.308 2.308 0 0 1 .748-.533 2.242 2.242 0 0 1 .918-.187 2.122 2.122 0 0 1 1.063.25 2.422 2.422 0 0 1 .759.682l-.309.368a.489.489 0 0 1-.078.084.175.175 0 0 1-.115.034.234.234 0 0 1-.163-.091 2.022 2.022 0 0 0-.223-.2 1.584 1.584 0 0 0-.35-.2 1.522 1.522 0 0 0-1.613.373 2.6 2.6 0 0 0-.573 1.362h2.466v.3a.254.254 0 0 1-.069.172.237.237 0 0 1-.188.079h-2.268c0 .062-.005.124-.007.186s0 .126 0 .191v.28h2.1v.3a.255.255 0 0 1-.069.172.239.239 0 0 1-.189.079h-1.794a2.706 2.706 0 0 0 .552 1.445 1.347 1.347 0 0 0 1.058.483 1.614 1.614 0 0 0 .423-.049 1.358 1.358 0 0 0 .313-.125 1.2 1.2 0 0 0 .228-.165q.094-.088.166-.164a1.614 1.614 0 0 1 .129-.125.179.179 0 0 1 .117-.049.176.176 0 0 1 .076.015.261.261 0 0 1 .067.054l.382.383a2.39 2.39 0 0 1-.808.785 2.224 2.224 0 0 1-1.139.28 2.309 2.309 0 0 1-.962-.194 2.161 2.161 0 0 1-.743-.555 2.932 2.932 0 0 1-.515-.874 4.75 4.75 0 0 1-.278-1.146h-.635v-.55h.593v-.464c0-.062 0-.124.007-.186h-.6z" transform="translate(-242.502 -127.442)" style="fill:#903"/> </g> </svg>',lk='<svg xmlns="http://www.w3.org/2000/svg" width="17.678" height="16.817" viewBox="0 0 17.678 16.817"> <defs> <clipPath id="49rnreq8na"> <path data-name="Tracciato 345" d="M0 0h17.678v16.817H0z" style="fill:#903"/> </clipPath> </defs> <g data-name="Raggruppa 162"> <g data-name="Gruppo di maschere 27" style="clip-path:url(#49rnreq8na)"> <path data-name="Tracciato 344" d="M17.678 2.253v14.116c-.144.443-.148.446-.547.446H2.13a.684.684 0 0 1-.626-.661q-.243-1.53-.492-3.058l-1-6.113c-.061-.375.1-.618.422-.626.2-.005.4 0 .6 0h.769V2.54c0-.518.18-.78.6-.867a.459.459 0 0 0 .342-.31 2.027 2.027 0 0 0 .132-.5C2.937.257 3.169 0 3.681 0h4.056c.5 0 .752.273.791.869.035.543.258.788.715.788 2.537 0 5.075.005 7.612-.005a.758.758 0 0 1 .822.6m-.8 1.11H2.6v3H14.861a.611.611 0 0 1 .6.582l1.079 7.143q.158 1.046.319 2.09h.022zM14.9 12.821h-3.75V14.5h3.75z" style="fill:#903"/> </g> </g> </svg>',z3e='<svg xmlns="http://www.w3.org/2000/svg" width="17.678" height="16.817" viewBox="0 0 17.678 16.817"> <defs> <clipPath id="2kfd28qiza"> <path data-name="Tracciato 345" d="M0 0h17.678v16.817H0z" style="fill:#fff"/> </clipPath> </defs> <g data-name="Raggruppa 576"> <g data-name="Gruppo di maschere 27" style="clip-path:url(#2kfd28qiza)"> <path data-name="Tracciato 344" d="M17.678 2.253v14.116c-.144.443-.148.446-.547.446H2.13a.684.684 0 0 1-.626-.661q-.243-1.53-.492-3.058l-1-6.113c-.061-.375.1-.618.422-.626.2-.005.4 0 .6 0h.769V2.54c0-.518.18-.78.6-.867a.459.459 0 0 0 .342-.31 2.027 2.027 0 0 0 .132-.5C2.937.257 3.169 0 3.681 0h4.056c.5 0 .752.273.791.869.035.543.258.788.715.788 2.537 0 5.075.005 7.612-.005a.758.758 0 0 1 .822.6m-.8 1.11H2.6v3H14.861a.611.611 0 0 1 .6.582l1.079 7.143q.158 1.046.319 2.09h.022zM14.9 12.821h-3.75V14.5h3.75z" style="fill:#fff"/> </g> </g> </svg>',ck='<svg xmlns="http://www.w3.org/2000/svg" width="24.333" height="24.333" viewBox="0 0 28 28"><path data-name="Path 4" d="M1 15.167S-2.5 14-3.667 12.833s2.333-1.167 2.333-7S-6 0-6 0" transform="translate(20 7)" style="stroke:#903;stroke-linecap:round;fill:none;stroke-miterlimit:10"/><path data-name="Path 4" d="M0 15.167S3.5 14 4.667 12.833s-2.333-1.167-2.333-7S7 0 7 0" transform="translate(7 7)" style="stroke:#903;stroke-linecap:round;fill:none;stroke-miterlimit:10"/><circle cx="11.667" cy="11.667" r="11.667" transform="translate(2.333 2.333)" style="stroke:#000;fill:none;stroke-miterlimit:10"/></svg>',dk='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24.333 24.333"><g transform="translate(.5 .5)"><circle cx="11.667" cy="11.667" r="11.667" style="stroke:#000;stroke-miterlimit:10;fill:none"/><path data-name="Linea 1" transform="translate(5.167 8.167)" style="stroke:#903;stroke-linecap:round;fill:none" d="M0 0h13"/><path data-name="Linea 2" transform="translate(5.167 16.167)" style="stroke:#903;stroke-linecap:round;fill:none" d="M0 0h13"/><path data-name="Linea 3" transform="translate(5.167 12.167)" style="stroke:#903;stroke-linecap:round;fill:none" d="M0 0h13"/></g></svg>',uk='<svg data-name="Raggruppa 28" xmlns="http://www.w3.org/2000/svg" width="18.656" height="24" viewBox="0 0 18.656 18.052"><defs><clipPath id="6guzfmfoxa"><path data-name="Rettangolo 1" style="stroke:#903;fill:none" d="M0 0h18.656v18.052H0z"/></clipPath></defs><g data-name="Raggruppa 27" style="clip-path:url(#6guzfmfoxa)"><path data-name="Tracciato 1" d="M1.362 0a2.167 2.167 0 0 0 .25.028h11.013a.929.929 0 0 1 1.015.665 1.489 1.489 0 0 1 .035.384V8.67h3.884c-.054-.057-.1-.1-.14-.146l-1.686-1.622a.786.786 0 0 1-.14-.161.264.264 0 0 1 .044-.341.289.289 0 0 1 .367-.053.82.82
310 0 1 .168.135q1.15 1.1 2.3 2.206c.243.233.244.362.005.592q-1.161 1.116-2.324 2.231a.77.77 0 0 1-.138.115.3.3 0 0 1-.384-.045.265.265 0 0 1-.031-.37.937.937 0 0 1 .123-.13l1.7-1.633c.043-.041.084-.084.149-.149h-3.9v5.855a.89.89 0 0 1-.536.9 1.244 1.244 0 0 1-.479.09c-.936.008-1.872 0-2.809 0h-.214v.945a.888.888 0 0 1-.505.854 1 1 0 0 1-.748.054q-3.815-1.003-7.63-2.015A.9.9 0 0 1 0 15.03V1.244C0 .577.287.234 1.031 0h.33m7.653 10V3c0-.313-.052-.379-.359-.46L1.464.642C.943.5.622.737.622 1.252v13.734c0 .292.05.356.343.433l5.3 1.4c.765.2 1.531.406 2.3.606.276.072.439-.048.452-.321V9.999M3.9.627v.036l.152.043L8.8 1.967a.935.935 0 0 1 .837 1.049V8.67h3.422V1.078c0-.377-.079-.452-.475-.452H3.9zm5.748 8.664v6.263h2.984c.326 0 .424-.093.425-.412V9.468c0-.143-.038-.19-.193-.189-1.015.006-2.031 0-3.046 0-.054 0-.107.005-.173.009" style="stroke:#903"/></g></svg>',hk='<svg data-name="Raggruppa 218" xmlns="http://www.w3.org/2000/svg" width="15.6" height="15.6" viewBox="0 0 20.621 20.619"> <defs> <clipPath id="jrf698zz7a"> <path data-name="Rettangolo 139" style="fill:#222b30" d="M0 0h15.621v15.619H0z"/> </clipPath> </defs> <g data-name="Raggruppa 200" style="clip-path:url(#jrf698zz7a)"> <path data-name="Tracciato 355" d="M0 16.358v-5.986A1.571 1.571 0 0 1 1.184 8.76a1.918 1.918 0 0 1 .459-.054h8.931c.369 0 .583.231.5.536a.4.4 0 0 1-.342.3 1.224 1.224 0 0 1-.213.008H1.664a.745.745 0 0 0-.826.825v11.933a.753.753 0 0 0 .834.841h11.953a.741.741 0 0 0 .813-.819V13.341a.423.423 0 1 1 .844-.012v9.008a1.571 1.571 0 0 1-1.221 1.6 1.761 1.761 0 0 1-.4.043H1.689a1.573 1.573 0 0 1-1.648-1.232 2.453 2.453 0 0 1-.04-.52v-5.87" transform="translate(0 -8.366)" style="fill:#222b30"/> <path data-name="Tracciato 356" d="m136.183 21.609 1.867 1.872c-.33.324-.672.656-1.009.993q-2.951 2.948-5.9 5.9a1.525 1.525 0 0 1-.651.395c-.658.2-1.31.427-1.968.634a.32.32 0 0 1-.261-.016.309.309 0 0 1-.022-.259 88.15 88.15 0 0 1 .689-2.112 1.092 1.092 0 0 1 .246-.407q3.458-3.47 6.927-6.93c.027-.027.057-.051.081-.072" transform="translate(-123.255 -20.7
3172)" style="fill:#222b30"/> <path data-name="Tracciato 357" d="M344.906.372a2.776 2.776 0 0 1 .376-.3.63.63 0 0 1 .746.132q.442.434.877.875a.66.66 0 0 1 0 1.046c-.045.045-.092.088-.129.124l-1.87-1.877" transform="translate(-331.54)" style="fill:#222b30"/> </g> </svg>',pk='<svg data-name="Raggruppa 218" xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="-2 -2 20.621 20.619"> <defs> <clipPath id="jrf698zz7a"> <path data-name="Rettangolo 139" style="fill:#222b30" d="M0 0h15.621v15.619H0z"/> </clipPath> </defs> <g data-name="Raggruppa 200" style="clip-path:url(#jrf698zz7a)"> <path data-name="Tracciato 355" d="M0 16.358v-5.986A1.571 1.571 0 0 1 1.184 8.76a1.918 1.918 0 0 1 .459-.054h8.931c.369 0 .583.231.5.536a.4.4 0 0 1-.342.3 1.224 1.224 0 0 1-.213.008H1.664a.745.745 0 0 0-.826.825v11.933a.753.753 0 0 0 .834.841h11.953a.741.741 0 0 0 .813-.819V13.341a.423.423 0 1 1 .844-.012v9.008a1.571 1.571 0 0 1-1.221 1.6 1.761 1.761 0 0 1-.4.043H1.689a1.573 1.573 0 0 1-1.648-1.232 2.453 2.453 0 0 1-.04-.52v-5.87" transform="translate(0 -8.366)" style="fill:#222b30"/> <path data-name="Tracciato 356" d="m136.183 21.609 1.867 1.872c-.33.324-.672.656-1.009.993q-2.951 2.948-5.9 5.9a1.525 1.525 0 0 1-.651.395c-.658.2-1.31.427-1.968.634a.32.32 0 0 1-.261-.016.309.309 0 0 1-.022-.259 88.15 88.15 0 0 1 .689-2.112 1.092 1.092 0 0 1 .246-.407q3.458-3.47 6.927-6.93c.027-.027.057-.051.081-.072" transform="translate(-123.255 -20.7
3172)" style="fill:#222b30"/> <path data-name="Tracciato 357" d="M344.906.372a2.776 2.776 0 0 1 .376-.3.63.63 0 0 1 .746.132q.442.434.877.875a.66.66 0 0 1 0 1.046c-.045.045-.092.088-.129.124l-1.87-1.877" transform="translate(-331.54)" style="fill:#222b30"/> </g> </svg>',G3e='<svg xmlns="http://www.w3.org/2000/svg" width="25.503" height="24.466" viewBox="0 0 25.503 21.466"> <defs> <clipPath id="vqtva5udva"> <path data-name="Rettangolo 194" style="fill:#903" d="M0 0h25.503v21.466H0z"/> </clipPath> </defs> <g data-name="Raggruppa 461"> <g data-name="Raggruppa 452" transform="translate(0 .001)" style="clip-path:url(#vqtva5udva)"> <path data-name="Tracciato 403" d="M28.645 76.475a2.875 2.875 0 1 1 2.876-2.875 2.878 2.878 0 0 1-2.876 2.875" transform="translate(-20.044 -55.01)" style="fill:#903"/> <path data-name="Tracciato 404" d="M86.734 76.475a2.875 2.875 0 1 1 2.874-2.875 2.879 2.879 0 0 1-2.875 2.875" transform="translate(-65.224 -55.01)" style="fill:#903"/> <path data-name="Tracciato 405" d="M50.067 65.574H37.8a1.083 1.083 0 0 1-1.031-1.413l1.647-4.048a.443.443 0 1 1 .821.335L37.6 64.463a.2.2 0 0 0 .04.144.2.2 0 0 0 .159.08h12.268a.443.443 0 1 1 0 .886" transform="translate(-28.558 -46.54)" style="fill:#903"/> <path data-name="Tracciato 406" d="M25.713 3.707a1.086 1.086 0 0 0-.874-.442l-18.476.006L5.5 1.282a.443.443 0 0 0-.406-.266H.983a.443.443 0 0 0 0 .887H4.8l5.419 12.415a1.08 1.08 0 0 0 .995.655h10.615a1.081 1.081 0 0 0 1.033-.757l3.011-9.542a1.086 1.086 0 0 0-.16-.967m-4.79 8.7h-9.064a.443.443 0 1 1 0-.887h9.064a.443.443 0 0 1 0 .887m.774-2.8H11.085a.443.443 0 1 1 0-.886H21.7a.443.443 0 0 1 0 .886m.635-2.8H10.45a.443.443 0 1 1 0-.886h11.882a.443.443 0 1 1 0 .886" transform="translate(-.42 -.79)" style="fill:#903"/> <path data-name="Tracciato 407" d="M1.4.7A.7.7 0 1 1 .7 0a.7.7 0 0 1 .7.7" transform="translate(0 -.001)" style="fill:#903"/> </g> </g> </svg>',$3e='<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 18"> <g data-name="Raggruppa 577" transform="translate(-282.912 -780.063)"> <circle data-name="Ellisse 47" cx="8" cy="8" r="8" transform="translate(282.912 782.063)" style="fill:#903"/> <text transform="translate(288.912 780.063)" style="fill:#fff;font-size:15px;font-family:Lato-Bold,Lato;font-weight:700"><tspan x="0" y="15">i</tspan></text> </g> </svg>',fk='<svg aria-label="Icona file pdf" data-name="Raggruppa 146" xmlns="http://www.w3.org/2000/svg" width="28.286" height="29.684" viewBox="0 0 28.286 29.684"> <defs> <clipPath id="kozrwua28a"> <path data-name="Rettangolo 117" style="fill:#903" d="M0 0h28.286v29.684H0z"/> </clipPath> </defs> <g data-name="Raggruppa 145" style="clip-path:url(#kozrwua28a)"> <path data-name="Tracciato 309" d="M2.136 29.684a5.364 5.364 0 0 1-.682-.228 2.524 2.524 0 0 1-1.447-2.272c-.007-.1 0-.193-.005-.29C0 21.272-.009 15.65.018 10.028a1.791 1.791 0 0 1 .473-.953q2.926-3.67 5.886-7.313A32.15 32.15 0 0 1 7.709.2.729.729 0 0 1 8.2.01Q14.081 0 19.964.008A2.654 2.654 0 0 1 22.615 2.7c.007 2.589 0 5.178 0 7.767v.376H25.653a2.578 2.578 0 0 1 2.624 2.6q.02 2.115 0 4.231a2.548 2.548 0 0 1-2.491 2.574c-.926.037-1.854.012-2.782.014h-.384v6.565a2.651 2.651 0 0 1-2.263 2.815.274.274 0 0 0-.073.043zm-.7-19.312c-.006.126-.014.211-.014.3v16.319c0 .9.391 1.286 1.29 1.286h17.221a1.33 1.33 0 0 0 1.286-1.358c-.03-2.106-.01-4.212-.01-6.319v-.335h-.378c-1.333 0-2.667.008-4 0a2.584 2.584 0 0 1-2.692-2.708v-4.029a2.587 2.587 0 0 1 2.691-2.679h4.358a.7.7 0 0 0 .022-.1c0-2.725.008-5.449-.01-8.174a1.241 1.241 0 0 0-.278-.675 1.331 1.331 0 0 0-1.129-.483H9.242c-.084 0-.168.011-.274.018V1.8c0 1.816-.052 3.635.015 5.449a3.193 3.193 0 0 1-3.134 3.131c-1.313-.028-2.628-.006-3.942-.006zM21.2 18.845h4.375a1.177 1.177 0 0 0 1.284-1.276q.01-2.028 0-4.056a1.177 1.177 0 0 0-1.272-1.263h-8.749a1.183 1.183 0 0 0-1.284 1.28q-.009 2.014 0 4.027a1.181 1.181 0 0 0 1.3 1.288H21.2M2.591 8.866l.053.072c1.157 0 2.315.031 3.47-.011A1.63 1.63 0 0 0 7.54 7.363v-4.2c0-.088-.01-.177-.016-.265l-.073-.025-4.86 5.993" transform="translate(.001)" style="fill:#903"/> <path data-name="Tracciato 310" d="M313.644 219.5c0-.4-.008-.81 0-1.215.008-.331.113-.429.441-.434s.636 0 .954 0a1.353 1.353 0 0 1 1.458 1.293 2.772 2.772 0 0 1 0 .777A1.355 1.355 0 0 1 315 221.22c-.308 0-.617.006-.925 0s-.417-.094-.428-.415c-.014-.433 0-.867 0-1.3m.695 1.17c.46-.027.95.153 1.289-.31a1.732 1.732 0 0 0 .022-1.634c-.34-.464-.838-.317-1.311-.337z" transform="translate(-293.399 -203.791)" style="fill:#903"/> <path data-name="Tracciato 311" d="M265.578 219.937v.917c0 .222-.072.408-.331.429-.215.018-.351-.144-.353-.433q-.008-1.275 0-2.55c0-.325.114-.433.44-.437.386 0 .773-.006 1.159.008a.908.908 0 0 1 .958.852.923.923 0 0 1-.773 1.134 9.1 9.1 0 0 1-1.1.08m.024-1.545v1.016c.263-.013.5-.01.742-.041a.448.448 0 0 0 .426-.492.44.44 0 0 0-.436-.479c-.237-.022-.478 0-.731 0" transform="translate(-247.793 -203.799)" style="fill:#903"/> <path data-name="Tracciato 312" d="M368.065 218.392v.867c.386 0 .768-.013 1.148.009a.367.367 0 0 1 .26.2c.023.061-.074.206-.154.258a.625.625 0 0 1-.309.041h-.954v1.057c0 .231-.048.433-.325.46-.222.021-.358-.149-.36-.457 0-.839-.006-1.678 0-2.516 0-.343.113-.444.459-.447h1.533c.179 0 .348.034.354.248s-.168.278-.359.278h-1.3" transform="translate(-343.658 -203.805)" style="fill:#903"/> </g> </svg>',gk='<svg xmlns="http://www.w3.org/2000/svg" width="91.544" height="56.08" viewBox="0 0 91.544 56.08"> <defs> <clipPath id="mjikmsqgja"> <path data-name="Rettangolo 103" style="fill:#903" d="M0 0h74.088v42.08H0z"/> </clipPath> <clipPath id="du3np9zd0b"> <path data-name="Rettangolo 105" style="fill:#903" d="M0 0h13.342v11.872H0z"/> </clipPath> </defs> <g data-name="Raggruppa 110"> <g data-name="Raggruppa 106"> <g data-name="Raggruppa 107" style="clip-path:url(#mjikmsqgja)"> <path data-name="Tracciato 303" d="M0 .588A1.972 1.972 0 0 1 1.559 0q35.413.015 70.825.009c1.291 0 1.7.406 1.7 1.681v38.717c0 1.248-.408 1.662-1.641 1.663q-35.485 0-70.969.009A1.8 1.8 0 0 1 0 41.482zm71.561 1.937H2.381v37.057h69.18z" style="fill:#903"/> <path data-name="Tracciato 304" d="M50.122 57.625V44.574c0-1.372.392-1.764 1.768-1.764h21.241c1.374 0 1.756.389 1.756 1.773v26.1c0 1.425-.377 1.806-1.8 1.807H51.919c-1.418 0-1.795-.385-1.8-1.815V57.624m22.254-12.3H52.661v24.639h2.412c0-1.494-.043-2.94.016-4.381a12.528 12.528 0 0 1 .37-2.71 7.141 7.141 0 0 1 3.141-4.109c-3.391-3.242-2.444-7.171-.594-9.07a6.166 6.166 0 0 1 8.452-.543 5.99 5.99 0 0 1 2.176 4.044 6.163 6.163 0 0 1-2.212 5.5c.554.495 1.093.909 1.551 1.4a7.494 7.494 0 0 1 1.972 5.3c.007 1.515 0 3.031 0 4.572h2.432zm-4.99 24.637c0-1.849.1-3.659-.024-5.454a4.777 4.777 0 0 0-4.541-4.371 4.651 4.651 0 0 0-4.945 3.411 50.216 50.216 0 0 0-.446 6.414zM66.2 53.936a3.7 3.7 0 1 0-3.681 3.7 3.7 3.7 0 0 0 3.681-3.7" transform="translate(-42.856 -36.603)" style="fill:#903"/> <path data-name="Rettangolo 98" transform="translate(37.027 16.
31148)" style="fill:#903" d="M0 0h28.358v2.374H0z"/> <path data-name="Rettangolo 99" transform="translate(37.011 26.019)" style="fill:#903" d="M0 0h28.343v2.39H0z"/> <path data-name="Rettangolo 100" transform="translate(37.01 6.248)" style="fill:#903" d="M0 0h22.197v2.379H0z"/> <path data-name="Rettangolo 101" transform="translate(37.012 33.474)" style="fill:#903" d="M0 0h2.373v2.38H0z"/> <path data-name="Rettangolo 102" transform="translate(43.207 33.461)" style="fill:#903" d="M0 0h2.401v2.375H0z"/> <path data-name="Tracciato 305" d="M342.627 230.192v2.4c-.707 0-1.373.022-2.037-.018-.138-.008-.266-.237-.39-.373-.024-.027 0-.093-.006-.141-.106-2.049.092-2.206 2.432-1.864" transform="translate(-290.86 -196.702)" style="fill:#903"/> </g> </g> <g data-name="Ellisse 13" transform="translate(61.544 26.081)" style="fill:#f4f5f6;stroke:#f4f5f6;stroke-width:3px"> <circle cx="14" cy="14" r="14" style="stroke:none"/> <circle cx="14" cy="14" r="12.5" style="fill:none"/> </g> <g data-name="Ellisse 14" transform="translate(63.544 28.081)" style="stroke:#903;stroke-width:2px;fill:none"> <circle cx="14" cy="14" r="14" style="stroke:none"/> <circle cx="14" cy="14" r="13" style="fill:none"/> </g> <g data-name="Raggruppa 109" transform="translate(70.391 36.166)" style="clip-path:url(#du3np9zd0b)"> <path data-name="Tracciato 306" d="M5.874 11.872V2.61c-.141.129-.256.227-.362.333l-4.027 4.02a1.931 1.931 0 0 1-.4.334.674.674 0 0 1-.846-.1.671.671 0 0 1-.132-.876 1.968 1.968 0 0 1 .335-.4Q3.177 3.174 5.918.437c.579-.579.9-.583 1.471-.012q2.772 2.768 5.54 5.541a1.859 1.859 0 0 1 .286.329.73.73 0 0 1-1.03.991 2.3 2.3 0 0 1-.323-.293L7.807 2.938c-.1-.1-.208-.2-.37-.354v9.288" style="fill:#903"/> </g> </g> </svg>',mk='<svg xmlns="http://www.w3.org/2000/svg" width="91.544" height="56.08" viewBox="0 0 91.544 56.08"> <defs> <clipPath id="xdl25wc0ia"> <path data-name="Rettangolo 179" style="fill:#903" d="M0 0h73.03v45.385H0z"/> </clipPath> <clipPath id="wkx9yhsijb"> <path data-name="Rettangolo 105" style="fill:#903" d="M0 0h13.342v11.872H0z"/> </clipPath> </defs> <g data-name="Raggruppa 110"> <g data-name="Raggruppa 372"> <g data-name="Raggruppa 370" style="clip-path:url(#xdl25wc0ia)"> <path data-name="Tracciato 395" d="M0 5.29A6.5 6.5 0 0 1 2.161 1.4 6.03 6.03 0 0 1 5.68.023c.261-.017.52-.017.784-.017Q36.521 0 66.577 0a5.874 5.874 0 0 1 5.793 3.372A6.762 6.762 0 0 1 73 6.183q.063 16.511.021 33.021a5.933 5.933 0 0 1-6.156 6.172q-30.341.019-60.683 0a5.907 5.907 0 0 1-6.07-4.949A3.173 3.173 0 0 0 0 40.1V5.29m2.945 11.3c-.017.272-.042.481-.042.691v21.754c0 2.246 1.246 3.457 3.519 3.457h60.186c2.291 0 3.51-1.227 3.512-3.538q.007-10.805 0-21.611c0-.248-.03-.5-.047-.753zm67.14-7.247H2.956v4.288h67.129zM2.968 6.358h67.093c.181-2.106-1.207-3.464-3.5-3.464H6.453a5.977 5.977 0 0 0-.992.076 2.99 2.99 0 0 0-2.5 3.386" style="fill:#903"/> <path data-name="Tracciato 396" d="M59.665 133.8h12.259c1.183.013 1.89.581 1.865 1.5-.024.9-.694 1.428-1.857 1.429q-8.445.008-16.891 0h-7.77c-1.145-.021-1.832-.568-1.835-1.459s.7-1.465 1.827-1.467q6.2-.01 12.4 0" transform="translate(-37.142 -109.375)" style="fill:#903"/> <path data-name="Tracciato 397" d="M54.974 174.186h-7.338c-.19 0-.38.007-.57 0-.985-.06-1.62-.625-1.
3163-1.443a1.506 1.506 0 0 1 1.676-1.47q7.837-.019 15.673 0a1.47 1.47 0 1 1 .025 2.909c-2.612.023-5.224.008-7.836.009" transform="translate(-37.141 -139.993)" style="fill:#903"/> <path data-name="Tracciato 398" d="M166.8 171.249c.593 0 1.187-.018 1.78 0a1.509 1.509 0 0 1 1.625 1.444 1.477 1.477 0 0 1-1.6 1.463q-1.814.054-3.631 0a1.478 1.478 0 0 1-1.59-1.468 1.506 1.506 0 0 1 1.631-1.438c.593-.022 1.187 0 1.78 0" transform="translate(-133.561 -139.979)" style="fill:#903"/> </g> </g> <g data-name="Ellisse 61" transform="translate(61.544 26.081)" style="fill:#f4f5f6;stroke:#f4f5f6;stroke-width:3px"> <circle cx="14" cy="14" r="14" style="stroke:none"/> <circle cx="14" cy="14" r="12.5" style="fill:none"/> </g> <g data-name="Ellisse 62" transform="translate(63.544 28.081)" style="stroke:#903;stroke-width:2px;fill:none"> <circle cx="14" cy="14" r="14" style="stroke:none"/> <circle cx="14" cy="14" r="13" style="fill:none"/> </g> <g data-name="Raggruppa 373"> <g data-name="Raggruppa 109" transform="translate(70.391 36.166)" style="clip-path:url(#wkx9yhsijb)"> <path data-name="Tracciato 306" d="M5.874 11.872V2.61c-.141.129-.256.227-.362.333l-4.027 4.02a1.931 1.931 0 0 1-.4.334.674.674 0 0 1-.846-.1.671.671 0 0 1-.132-.876 1.968 1.968 0 0 1 .335-.4Q3.177 3.174 5.918.437c.579-.579.9-.583 1.471-.012q2.772 2.768 5.54 5.541a1.859 1.859 0 0 1 .286.329.73.73 0 0 1-1.03.991 2.3 2.3 0 0 1-.323-.293L7.807 2.938c-.1-.1-.208-.2-.37-.354v9.288" style="fill:#903"/> </g> </g> </g> </svg>',vk='<svg xmlns="http://www.w3.org/2000/svg" width="91.544" height="56.08" viewBox="0 0 91.544 56.08"> <defs> <clipPath id="8sktkprswa"> <path data-name="Rettangolo 103" style="fill:#903" d="M0 0h74.088v42.08H0z"/> </clipPath> <clipPath id="6ftyhgk3cb"> <path data-name="Rettangolo 105" style="fill:#903" d="M0 0h13.342v11.872H0z"/> </clipPath> </defs> <g data-name="Raggruppa 292"> <g data-name="Raggruppa 106"> <g data-name="Raggruppa 107" style="clip-path:url(#8sktkprswa)"> <path data-name="Tracciato 303" d="M0 .588A1.972 1.972 0 0 1 1.559 0q35.413.015 70.825.009c1.291 0 1.7.406 1.7 1.681v38.717c0 1.248-.408 1.662-1.641 1.663q-35.485 0-70.969.009A1.8 1.8 0 0 1 0 41.482zm71.561 1.937H2.381v37.057h69.18z" style="fill:#903"/> <path data-name="Rettangolo 98" transform="translate(9.449 16.149)" style="fill:#903" d="M0 0h55.934v2.374H0z"/> <path data-name="Rettangolo 99" transform="translate(9.434 26.02)" style="fill:#903" d="M0 0h55.918v2.39H0z"/> <path data-name="Rettangolo 100" transform="translate(9.434 6.248)" style="fill:#903" d="M0 0h22.197v2.379H0z"/> <path data-name="Rettangolo 101" transform="translate(37.012 33.474)" style="fill:#903" d="M0 0h2.373v2.38H0z"/> <path data-name="Rettangolo 102" transform="translate(43.207 33.461)" style="fill:#903" d="M0 0h2.401v2.375H0z"/> <path data-name="Tracciato 305" d="M342.627 230.192v2.4c-.707 0-1.373.022-2.037-.018-.138-.008-.266-.237-.39-.373-.024-.027 0-.093-.006-.141-.106-2.049.092-2.206 2.432-1.864" transform="translate(-290.86 -196.702)" style="fill:#903"/> </g> </g> <g data-name="Ellisse 13" transform="translate(61.544 26.081)" style="fill:#f4f5f6;stroke:#f4f5f6;stroke-width:3px"> <circle cx="14" cy="14" r="14" style="stroke:none"/> <circle cx="14" cy="14" r="12.5" style="fill:none"/> </g> <g data-name="Ellisse 14" transform="translate(63.544 28.081)" style="stroke:#903;stroke-width:2px;fill:none"> <circle cx="14" cy="14" r="14" style="stroke:none"/> <circle cx="14" cy="14" r="13" style="fill:none"/> </g> <g data-name="Raggruppa 109" transform="translate(70.391 36.166)" style="clip-path:url(#6ftyhgk3cb)"> <path data-name="Tracciato 306" d="M5.874 11.872V2.61c-.141.129-.256.227-.362.333l-4.027 4.02a1.931 1.931 0 0 1-.4.334.674.674 0 0 1-.846-.1.671.671 0 0 1-.132-.876 1.968 1.968 0 0 1 .335-.4Q3.177 3.174 5.918.437c.579-.579.9-.583 1.471-.012q2.772 2.768 5.54 5.541a1.859 1.859 0 0 1 .286.329.73.73 0 0 1-1.03.991 2.3 2.3 0 0 1-.323-.293L7.807 2.938c-.1-.1-.208-.2-.37-.354v9.288" style="fill:#903"/> </g> </g> </svg>',W3e='<svg xmlns="http://www.w3.org/2000/svg" width="18.825" height="12.764" viewBox="0 0 18.825 12.764"> <path data-name="Path 3" d="M0 5.455 5 10 16 0" transform="translate(1.413 1.413)" style="fill:none;stroke:#903;stroke-linecap:round;stroke-miterlimit:10;stroke-width:2px"/> </svg>',Y3e='<svg data-name="Raggruppa 281" xmlns="http://www.w3.org/2000/svg" width="42.5" height="42.491" viewBox="0 0 42.5 42.491"> <defs> <clipPath id="x1xf2jwvia"> <path data-name="Rettangolo 148" style="fill:#903" d="M0 0h42.5v42.491H0z"/> </clipPath> </defs> <g data-name="Raggruppa 280" style="clip-path:url(#x1xf2jwvia)"> <path data-name="Tracciato 364" d="M0 2.739c.032-.1.067-.209.094-.314A3.143 3.143 0 0 1 3.178 0Q13.1-.006 23.013.016a1.
31133 1.133 0 0 1 .746.339q5.29 5.816 10.541 11.671a1.341 1.341 0 0 1 .276.825c.019 3.194.012 6.389.012 9.584v16.6a3.238 3.238 0 0 1-1.89 3.185 6.679 6.679 0 0 1-.82.276H2.656a3.334 3.334 0 0 1-2.043-1.362A10.971 10.971 0 0 1 0 39.753V2.739m22.539-1.447h-.553c-6.169 0-12.337.021-18.506-.016a2.076 2.076 0 0 0-2.2 2.212q.03 17.755 0 35.51a2.049 2.049 0 0 0 2.22 2.217c9.211-.031 18.423-.015 27.634-.016a1.965 1.965 0 0 0 2.224-2.212V13.2H23.5c-.817 0-.957-.141-.957-.97V1.859zm1.3 1.046v9.55H32.5l-8.655-9.55" style="fill:#903"/> <path data-name="Tracciato 365" d="M316.225 118.774a2.839 2.839 0 0 1-.485-.676 828 828 0 0 1-2.521-7.671 2.4 2.4 0 0 1-.123-.727q-.01-10 0-19.994a3.354 3.354 0 1 1 6.7-.406c.008.166.006.332.006.5q0 9.935-.005 19.87a2.675 2.675 0 0 1-.131.808 665.986 665.986 0 0 1-2.469 7.514 3.4 3.4 0 0 1-.549.785zm-1.806-9.569h4.063V92.983h-4.063zm4.068-17.566c0-.808.037-1.593-.009-2.372a1.984 1.984 0 0 0-1.9-1.846 1.913 1.913 0 0 0-2.085 1.514 19.012 19.012 0 0 0-.027 2.7zm-3.835 18.919 1.8 5.509 1.792-5.509z" transform="translate(-277.294 -76.283)" style="fill:#903"/> <path data-name="Tracciato 366" d="M52.447 45.513a4.662 4.662 0 0 1 2.369.349 3.522 3.522 0 0 1 2.02 3.106c.043.813.017 1.631.009 2.446 0 .488-.22.71-.717.711q-4.356.01-8.711 0c-.493 0-.74-.226-.743-.7-.007-.912-.037-1.828.042-2.734a3.515 3.515 0 0 1 3.411-3.178c.3-.011.6 0 .918-.032a3.653 3.653 0 0 1-2.364-2.157 3.107 3.107 0 0 1-.055-2.072 3.281 3.281 0 0 1 6.356.346c.337 1.618-.467 2.893-2.534 3.913m3.1 5.31c0-.64.023-1.234 0-1.827a2.269 2.269 0 0 0-2.25-2.208q-1.534-.034-3.069 0a2.217 2.217 0 0 0-2.2 1.883A15.966 15.966 0 0 0 48 50.823zm-5.774-8.531a2 2 0 0 0 1.978 1.986 1.993 1.993 0 1 0-.024-3.986 1.978 1.978 0 0 0-1.954 2" transform="translate(-41.328 -34.489)" style="fill:#903"/> <path data-name="Tracciato 367" d="M56.446 311.559H45.285c-.574 0-.88-.284-.8-.742a.569.569 0 0 1 .508-.523 3.425 3.425 0 0 1 .455-.021h21.908a2.277 2.277 0 0 1 .494.036.63.63 0 0 1-.074 1.245 3.2 3.2 0 0 1-.373.006H56.446" transform="translate(-39.385 -274.797)" style="fill:#903"/> <path data-name="Tracciato 368" d="M57.648 231.073H46.492c-.566 0-.837-.24-.8-.7a.551.551 0 0 1 .508-.559 3.332 3.332 0 0 1 .455-.019h21.939c.7 0 .991.195.977.659-.014.449-.284.621-.974.621H57.648" transform="translate(-40.465 -203.52)" style="fill:#903"/> <path data-name="Tracciato 369" d="M58.689 271.064H47.61c-.37 0-.7-.047-.8-.482a.6.6 0 0 1 .559-.789c.137-.013.276-.009.415-.009H69.65a3.6 3.6 0 0 1 .456.013.606.606 0 0 1 .556.655.574.574 0 0 1-.562.6 4.01 4.01 0 0 1-.456.009H58.689" transform="translate(-41.438 -238.94)" style="fill:#903"/> <path data-name="Tracciato 370" d="m176.888 143.056 2.95-2.616 2.545-2.258a1.635 1.635 0 0 1 .4-.288.549.549 0 0 1 .759.215 1.293 1.293 0 0 1-.018.723c-.019.1-.16.182-.253.265q-3.023 2.689-6.048 5.375a.693.693 0 0 1-1.226-.239q-.807-1.658-1.6-3.32c-.222-.463-.135-.833.224-1s.688-.009.918.448c.442.875.88 1.751 1.352 2.691" transform="translate(-154.348 -122.07)" style="fill:#903"/> <path data-name="Tracciato 371" d="M49.466 188.247h-4.725c-.514 0-.773-.276-.718-.734a.542.542 0 0 1 .5-.524 3.309 3.309 0 0 1 .454-.023H54.219c.429.029.666.254.669.631a.613.613 0 0 1-.7.645c-1.575.006-3.15 0-4.725 0" transform="translate(-38.983 -165.588)" style="fill:#903"/> </g> </svg>',q3e='<svg data-name="Raggruppa 285" xmlns="http://www.w3.org/2000/svg" width="42.635" height="31.219" viewBox="0 0 42.635 31.219"> <defs> <clipPath id="e09a8q01ra"> <path data-name="Rettangolo 150" style="fill:#903" d="M0 0h42.635v31.219H0z"/> </clipPath> </defs> <g data-name="Raggruppa 284" style="clip-path:url(#e09a8q01ra)"> <path data-name="Tracciato 375" d="M0 28.077V3.143a.8.8 0 0 0 .057-.153A3.535 3.535 0 0 1 3.736 0H38.9a3.718 3.718 0 0 1 2.5.855 3.891 3.891 0 0 1 1.238 2.284v24.938a.813.813 0 0 0-.056.153 3.535 3.535 0 0 1-3.68 2.989H3.74a3.718 3.718 0 0 1-2.5-.855A3.891 3.891 0 0 1 0 28.077m41.216-16.684H1.417v16.02a2.147 2.147 0 0 0 2.4 2.386h35a3.472 3.472 0 0 0 .864-.1 2.1 2.1 0 0 0 1.533-2.243V11.394m-.024-5.678H1.45v4.2h39.741zM1.454 4.222h39.733c.162-1.791-.671-2.8-2.315-2.8Q21.31 1.415 3.747 1.43a2.934 2.934 0 0 0-1.165.24 2.228 2.228 0 0 0-1.128 2.552" transform="translate(.001)" style="fill:#903"/> <path data-name="Tracciato 376" d="M239.168 177.169h6.119c.771 0 .989.219.989.992v6.523c0 .794-.21 1-1.017 1h-12.2c-.806 0-1.009-.207-1.009-1.01v-6.523c0-.77.217-.984 1-.984h6.119m-5.672 7.068h11.333v-5.629H233.5z" transform="translate(-207.898 -158.727)" style="fill:#903"/> <path data-name="Tracciato 377" d="M40.315 170.44h5.162c.637 0 .98.331.827.834a1.231 1.231 0 0 1-.5.528.845.845 0 0 1-.446.053H35.242c-.637 0-.914-.187-.956-.626a.643.643 0 0 1 .654-.778c.415-.026.832-.014 1.248-.015h4.122" transform="translate(-30.717 -152.697)" style="fill:#903"/> <path data-name="Tracciato 378" d="M126.92 144.557c-1.011 0-2.022.009-3.032 0-.619-.007-.9-.293-.836-.814a.6.6 0 0 1 .515-.565 1.5 1.5 0 0 1 .288-.036h6.148c.383 0 .723.1.807.547a.653.653 0 0 1-.65.851c-.607.035-1.218.018-1.827.021h-1.412" transform="translate(-110.235 -128.237)" style="fill:#903"/> <path data-name="Tracciato 379" d="M38.159 144.766h-2.871a2.125 2.125 0 0 1-.536-.051.611.611 0 0 1-.466-.652.636.636 0 0 1 .454-.666.379.379 0 0 1 .123-.021c2.2 0 4.408-.015 6.611.006.435 0 .648.354.582.786a.677.677 0 0 1-.735.592c-.5.018-1 .008-1.5.009h-1.662" transform="translate(-30.718 -128.445)" style="fill:#903"/> <path data-name="Tracciato 380" d="M165.743 171.841c-.36 0-.721.022-1.078-.005a.66.66 0 0 1-.695-.712.645.645 0 0 1 .715-.685q1.057-.026 2.116 0a.633.633 0 0 1 .691.661.647.647 0 0 1-.671.729c-.357.03
31-.718.006-1.078.006" transform="translate(-146.902 -152.687)" style="fill:#903"/> </g> </svg>';var Ck='<svg xmlns="http://www.w3.org/2000/svg" width="14.753" height="9.093" viewBox="0 0 14.753 9.093"> <path data-name="Path 2" d="m0 0 6.843 8L14 0" transform="rotate(180 7.186 4.38)" style="fill:none;stroke:#903;stroke-miterlimit:10"/> </svg>',_k='<svg xmlns="http://www.w3.org/2000/svg" width="14.753" height="9.093" viewBox="0 0 14.753 9.093"> <path data-name="Path 2" d="m0 0 6.843 8L14 0" transform="translate(.38 .333)" style="fill:none;stroke:#903;stroke-miterlimit:10"/> </svg>',Q3e='<svg aria-hidden="true" data-name="Raggruppa 187" xmlns="http://www.w3.org/2000/svg" width="22.816" height="33.25" viewBox="0 0 22.816 33.25"> <defs> <clipPath id="co6fzlrzwa"> <path data-name="Rettangolo 137" style="fill:#903" d="M0 0h22.816v33.25H0z"/> </clipPath> </defs> <g data-name="Raggruppa 186" style="clip-path:url(#co6fzlrzwa)"> <path data-name="Tracciato 353" d="M12.34 24.644h8.247v-6.111h2.022v8.173H12.347v6.544c-1.157-.618-2.216-1.172-3.263-1.746q-4.228-2.319-8.45-4.651A1 1 0 0 1 0 25.874Q.041 13.36.032.847V0h22.59v10.175h-2.006V2.07H4.321c.239.15.384.251.537.337 2.3 1.287 4.591 2.582 6.9 3.847a.976.976 0 0 1 .594.99c-.02 5.548-.012 11.1-.012 16.646z" style="fill:#903"/> <path data-name="Tracciato 354" d="M112.714 85.557h7.564c-.105.115-.185.209-.272.3q-1.641 1.645-3.284 3.289a1.574 1.574 0 0 0-.273.327.587.587 0 0 0 .8.8 1.608 1.608 0 0 0 .327-.273q2.239-2.235 4.475-4.473c.473-.473.476-.734.01-1.2q-2.261-2.264-4.525-4.525a1.523 1.523 0 0 0-.269-.234.6.6 0 0 0-.809.841 1.87 1.87 0 0 0 .24.264l3.311 3.312c.083.083.163.17.289.3h-7.585" transform="translate(-99.594 -70.209)" style="fill:#903"/> </g> </svg>',Z3e='<svg aria-hidden="true" data-name="Raggruppa 187" xmlns="http://www.w3.org/2000/svg" width="22.816" height="33.25" viewBox="0 0 22.816 33.25"> <defs> <clipPath id="d1mxxswtwa"> <path data-name="Rettangolo 137" style="fill:#903" d="M0 0h22.816v33.25H0z"/> </clipPath> </defs> <g data-name="Raggruppa 186" style="clip-path:url(#d1mxxswtwa)"> <path data-name="Tracciato 353" d="M12.34 24.644h8.247v-6.111h2.022v8.173H12.347v6.544c-1.157-.618-2.216-1.172-3.263-1.746q-4.228-2.319-8.45-4.651A1 1 0 0 1 0 25.874Q.041 13.36.032.847V0h22.59v10.175h-2.006V2.07H4.321c.239.15.384.251.537.337 2.3 1.287 4.591 2.582 6.9 3.847a.976.976 0 0 1 .594.99c-.02 5.548-.012 11.1-.012 16.646z" style="fill:#903"/> <path data-name="Tracciato 354" d="M122.409 85.557h-7.564c.105.115.185.209.272.3q1.641 1.645 3.284 3.289a1.574 1.574 0 0 1 .273.327.587.587 0 0 1-.8.8 1.607 1.607 0 0 1-.327-.273q-2.239-2.235-4.475-4.473c-.473-.473-.476-.734-.01-1.2q2.261-2.264 4.525-4.525a1.523 1.523 0 0 1 .269-.234.6.6 0 0 1 .809.841 1.87 1.87 0 0 1-.24.264l-3.311 3.312c-.083.083-.163.17-.289.3h7.585" transform="translate(-99.593 -70.209)" style="fill:#903"/> </g> </svg>',K3e='<svg fill="#990033" id="Capa_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" transform="rotate(270) " fill="#000000" height="25px" width="24px" viewBox="0 0 985.149 985.149" xml:space="preserve"> <g> <path d="M844.9,531.224c-23.4-23.399-61.2-23.399-84.601,0c-23.399,23.4-23.399,61.2,0,84.601l21.5,21.5l-30.6-0.2 c-62.3-2.9-119.4-35-154-87.3l-37.9-57.2l37.9-57.099c34.7-52.3,91.7-84.5,154-87.3l30.6-0.2l-21.5,21.5 c-23.399,23.4-23.399,61.2,0,84.6c23.4,23.4,61.2,23.4,84.601,0c0,0,123.5-123.5,123.6-123.6c22-22.2,22.3-62.3,0-84.6 l-125.6-125.7c-23.4-23.4-61.2-23.4-84.601,0c-23.399,23.4-23.399,61.2,0,84.6l23.5,23.5l-30.6-0.3c-48.9,1.4-97.2,14.3-140.3,37.4 c-45.801,24.6-85.101,60.4-113.801,103.7l-10.1,15.4l-10.1-15.3c-28.7-43.3-68-79.2-113.801-103.7 c-45.8-24.6-97.399-37.6-149.3-37.6H60c-33.1,0-60,26.9-60,60c0,33.1,26.9,60,60,60h153.8c65.8,0,126.7,32.7,163.101,87.601 l37.899,57.099l-37.899,57.1c-36.301,54.801-97.3,87.601-163.101,87.601H60c-33.1,0-60,26.899-60,60c0,33.1,26.9,60,60,60h153.8 c51.9,0,103.601-13,149.3-37.601c45.801-24.6,85.101-60.399,113.801-103.699l10.1-15.301l10.1,15.301 c28.7,43.3,68,79.199,113.801,103.699c43.1,23.101,91.399,36,140.3,37.4l30.6-0.3l-23.5,23.5c-23.399,23.399-23.399,61.2,0,84.6 c23.4,23.4,61.2,23.4,84.601,0l125.6-125.6c22.3-22.3,22.1-62.4,0-84.601C968.4,654.724,844.9,531.224,844.9,531.224z"/> </g> </svg>',X3e='<svg viewBox="0 0 36 36" xmlns="http://www.w3.org/2000/svg" width="24" height="24">
31<path d="M24.89,26h7.86c-.66-8.71-4.41-14.12-9.22-17.32L25.72,3.9a1,1,0,0,0-.91-1.4H11.1a1,1,0,0,0-.91,1.4l1.2,2.6H21.51l-.9,2H18.76A24.9,24.9,0,0,1,20,13.19a24.49,24.49,0,0,1,.32,3l-1.58,1.11a22.54,22.54,0,0,0-.32-3.86A21.74,21.74,0,0,0,17,8.5h-1a28.22,28.22,0,0,0-2.48,3.7,23.91,23.91,0,0,0-1.49,3.46l-1.37-.91a22.78,22.78,0,0,1,1.47-3.34A30.81,30.81,0,0,1,14.05,8.5H12.3l.08.17C7.08,12.2,3.05,18.4,3.05,28.75A1.65,1.65,0,0,0,4.61,30.5h8A2.67,2.67,0,0,1,14.21,26a2.67,2.67,0,0,1-.37-1.34,2.7,2.7,0,0,1,2.7-2.7h6a2.7,2.7,0,0,1,2.7,2.7A2.63,2.63,0,0,1,24.89,26Z"></path><path d="M21.6,28.5a1,1,0,0,0-1-1h-6a1,1,0,0,0,0,2h6A1,1,0,0,0,21.6,28.5Z"></path><path d="M22.54,23.5h-6a1,1,0,0,0,0,2h6a1,1,0,0,0,0-2Z"></path><path d="M22,31.5H16a1,1,0,0,0,0,2h6a1,1,0,0,0,0-2Z"></path><path d="M32.7,31.5h-7a1,1,0,0,0,0,2h7a1,1,0,0,0,0-2Z"></path><path d="M33.7,27.5h-7a1,1,0,0,0,0,2h7a1,1,0,0,0,0-2Z"></path></svg>',J3e='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 320 512" width="24" height="24"><!--!Font Awesome Free 6.7.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2025 Fonticons, Inc.--><path d="M48 64C21.5 64 0 85.5 0 112L0 400c0 26.5 21.5 48 48 48l32 0c26.5 0 48-21.5 48-48l0-288c0-26.5-21.5-48-48-48L48 64zm192 0c-26.5 0-48 21.5-48 48l0 288c0 26.5 21.5 48 48 48l32 0c26.5 0 48-21.5 48-48l0-288c0-26.5-21.5-48-48-48l-32 0z"/></svg>',eSe='<svg height="24px" width="24px" version="1.1" id="Capa_1" xmlns="http://www.w3.org/2000/svg"xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 17.804 17.804" xml:space="preserve"><g><g id="c98_play"><path d="M2.067,0.043C2.21-0.028,2.372-0.008,2.493,0.085l13.312,8.503c0.094,0.078,0.154,0.191,0.154,0.313c0,0.12-0.061,0.237-0.154,0.314L2.492,17.717c-0.07,0.057-0.162,0.087-0.25,0.087l-0.176-0.04c-0.136-0.065-0.222-0.207-0.222-0.361V0.402C1.844,0.25,1.93,0.107,2.067,0.043z"/></g><g id="Capa_1_78_"/></g></svg>';var Lee=["fileInput"],Fee=()=>({"margin-left":"45px"}),Vee=()=>({"margin-left":"20px"});function Uee(e,n){if(e&1&&(F(0,"div",12),q(1),P()),e&2){let t=z();E(),Ie(t.getDragAndDropText())}}function Hee(e,n){if(e&1){let t=ze();F(0,"input",13,0),Z(2,"translate"),oe("change",function(r){ee(t);let o=z();return te(o.selectFiles(r))})("click",function(){ee(t);let r=z();return te(r.onTouch())}),P()}if(e&2){let t=z();L("required",t.required),De("aria-label",X(2,2,t.getText()))}}function Bee(e,n){if(e&1){let t=ze();F(0,"input",14,0),Z(2,"translate"),oe("change",function(r){ee(t);let o=z();return te(o.selectFiles(r))})("click",function(){ee(t);let r=z();return te(r.onTouch())}),P()}if(e&2){let t=z();L("required",t.required),De("aria-label",X(2,2,t.getText()))}}function jee(e,n){e&1&&(F(0,"cds-control-message",15),q(1),Z(2,"translate"),P()),e&2&&(E(),Ae(" ",X(2,1,"INPUT_ERROR_MESSAGES.REQUIRED"),""))}function zee(e,n){if(e&1){let t=ze();F(0,"div",17)(1,"b"),q(2),P(),q(3," | File accettato "),F(4,"cds-icon",18),oe("click",function(){let r=ee(t).index,o=z(2);return te(o.removeFile(r))}),P()()}if(e&2){let t=n.$implicit;E(2),Ie(t),E(2),De("aria-label","Rimuovi file "+t)}}function Gee(e,n){if(e&1&&(F(0,"span"),ue(1,zee,5,2,"div",16),P()),e&2){let t=z();E(),L("ngForOf",t.filesAccepted)}}function $ee(e,n){if(e&1&&(F(0,"div",19)(1,"b"),q(2),P(),q(3," | File non accettato, estensione non consentita "),P()),e&2){let t=n.$implicit;E(2),Ie(t)}}var Wee=(()=>{class e{constructor(t){this.translate=t,this.required=!0,this.showDragAndDropText=!0,this.iconLabel="my-icon-upload",this.acceptMultipleFiles=!1,this.filesNameAccepted=[],this.onFileUpload=new Ue,this.onFileRemoved=new Ue,this.UPLOAD_EXTENSIONS=["doc","docx","pdf","jpg","jpeg","png","PNG","JPG","JPEG","PDF"],this.filesNotAccepted=new Array,this.filesAccepted=new Array,this.acceptedFiles=new Array,this.isTouched=!1,Le.addIcons(["my-icon-upload",Ly]),Le.addIcons(["my-icon-document-identity-upload",gk]),Le.addIcons(["my-icon-taxcode-upload",mk]),Le.addIcons(["my-icon-document-back-identity-upload",vk])}ngOnChanges(t){t.filesNameAccepted&&this.filesNameAccepted&&this.filesNameAccepted.length>0&&(this.filesAccepted=[...this.filesNameAccepted])}getDragAndDropText(){return this.iconLabel!=="my-icon-upload"?this.translate.instant("FILE_LOADER.DRAG_AND_DROP_ITALIAN_VERSION"):this.translate.instant("FILE_LOADER.DRUG_DROP")}ngAfterViewInit(){let t="#drop-zone",i=()=>{document.querySelector(t)?.classList.add("is-dragover")}
31,r=()=>{document.querySelector(t)?.classList.remove("is-dragover")};["dragover","dragenter"].map(o=>document.querySelector(t)?.addEventListener(o,i)),["dragleave","dragend","drop"].map(o=>document.querySelector(t)?.addEventListener(o,r))}ngOnInit(){this.filesNameAccepted&&this.filesNameAccepted.length>0&&(this.filesAccepted=[...this.filesNameAccepted])}selectFiles(t){if(this.selectedFiles=t.target.files,this.selectedFiles&&this.selectedFiles.length>0){let i=Array.from(this.selectedFiles);this.extensionError(i)||this.uploadFiles(i)}}uploadFiles(t){t&&t.length>0&&(this.acceptedFiles=this.acceptMultipleFiles?[...this.acceptedFiles,...t]:[...t],this.filesAccepted=this.acceptedFiles.map(i=>i.name),this.onFileUpload.emit(this.acceptedFiles))}extensionError(t){this.filesNotAccepted=[];let i=!1;return t.forEach(r=>{let o=r.name.substr(r.name.lastIndexOf(".")+1);this.UPLOAD_EXTENSIONS.includes(o)||(this.filesNotAccepted.push(r.name),i=!0)}),i}removeFile(t){this.acceptedFiles.splice(t,1),this.filesAccepted=this.acceptedFiles.map(i=>i.name),this.onFileUpload.emit(this.acceptedFiles),this.acceptedFiles.length===0&&(this.selectedFiles=void 0,this.onFileRemoved.emit()),this.fileInput?.nativeElement&&(this.fileInput.nativeElement.value="")}onTouch(){this.isTouched=!0}getText(){return this.loadFileText??"FILE_LOADER.UPLOAD_FILE"}static{this.\u0275fac=function(i){return new(i||e)(A(Hs))}}static{this.\u0275cmp=Me({type:e,selectors:[["app-upload-files"]],viewQuery:function(i,r){if(i&1&&xn(Lee,5),i&2){let o;gt(o=mt())&&(r.fileInput=o.first)}},inputs:{required:"required",showDragAndDropText:"showDragAndDropText",loadFileText:"loadFileText",iconLabel:"iconLabel",acceptMultipleFiles:"acceptMultipleFiles",filesNameAccepted:"filesNameAccepted"},outputs:{onFileUpload:"onFileUpload",onFileRemoved:"onFileRemoved"},standalone:!1,features:[Xt],decls:14,vars:15,consts:[["fileInput",""],["id","drop-zone",1,"drop-zone"],["id","icon"],["aria-label","Carica",3,"shape","size","ngStyle"],["id","drag","class","drag-label",4,"ngIf"],["id","upload",1,"upload-label"],["id","files"],["type","file","multiple","",3,"required","change","click",4,"ngIf"],["type","file",3,"required","change","click",4,"ngIf"],["class","mt-5","status","error",4,"ngIf"],[4,"ngIf"],["class","p3",4,"ngFor","ngForOf"],["id","drag",1,"drag-label"],["type","file","multiple","",3,"change","click","required"],["type","file",3,"change","click","required"],["status","error",1,"mt-5"],["class","p1",4,"ngFor","ngForOf"],[1,"p1"],["shape","times",1,"remove-file-icon",3,"click"],[1,"p3"]],template:function(i,r){i&1&&(F(0,"div",1)(1,"div",2),ye(2,"cds-icon",3),ue(3,Uee,2,1,"div",4),F(4,"div",5),q(5),Z(6,"translate"),P()(),F(7,"div",6),ue(8,Hee,3,4,"input",7)(9,Bee,3,4,"input",8)(10,jee,3,3,"cds-control-message",9),P()(),F(11,"div"),ue(12,Gee,2,1,"span",10)(13,$ee,4,1,"div",11),P()),i&2&&(E(),De("aria-labelledby",r.showDragAndDropText?"drag upload":"upload"),E(),Li("shape",r.iconLabel),L("size","md")("ngStyle",r.iconLabel=="my-icon-upload"?la(13,Fee):la(14,Vee)),E(),L("ngIf",r.showDragAndDropText),E(2),Ie(X(6,11,r.getText())),E(3),L("ngIf",r.acceptMultipleFiles),E(),L("ngIf",!r.acceptMultipleFiles),E(),L("ngIf",r.isTouched&&r.required&&!r.selectedFiles),E(2),L("ngIf",r.filesAccepted.length>0),E(),L("ngForOf",r.filesNotAccepted))},dependencies:[Zt,rn,rt,Gr,At],styles:[".remove-file-icon[_ngcontent-%COMP%]{cursor:pointer;margin-left:8px;color:#903;width:24px;height:24px}input[_ngcontent-%COMP%]{opacity:0%;padding:6px 12px;height:100%;width:100%}.drop-zone[_ngcontent-%COMP%]{display:inline-block;padding:6px 12px;cursor:pointer;height:186px;width:100%;max-height:100%;outline-color:#c8dadf;border:1px solid #989494;background-color:#eaeced80;outline-offset:-10px;-webkit-transition:outline-offset .15s ease-in-out,background-color .15s linear;transition:outline-offset .15s ease-in-out,background-color .15s linear;position:relative}.drop-zone[_ngcontent-%COMP%] cds-icon[_ngcontent-%COMP%]{width:100px;height:70px}.drop-zone[_ngcontent-%COMP%] #icon[_ngcontent-%COMP%], .drop-zone[_ngcontent-%COMP%] #files[_ngcontent-%COMP%]{width:100%;height:100%;position:absolute;top:0;left:0}.drop-zone[_ngcontent-%COMP%] #files[_ngcontent-%COMP%]{z-index:10}.drop-zone[_ngcontent-%COMP%] #icon[_ngcontent-%COMP%]{justify-content:center;align-items:center;display:flex;flex-wrap:wrap;flex-direction:column}.drop-zone[_ngcontent-%COMP%] #icon[_ngcontent-%COMP%] cds-icon[_ngcontent-%COMP%]{--color: #acb4b7}.drop-zone[_ngcontent-%COMP%] #icon[_ngcontent-%COMP%] .drag-label[_ngcontent-%COMP%]{font-size:14px;font-weight:500;font-stretch:normal;font-style:normal;line-height:1;letter-spacing:normal;text-align:center;color:#903;padding-top:10px;padding-bottom:10px}.drop-zone[_ngcontent-%COMP%] #icon[_ngcontent-%COMP%] .upload-label[_ngcontent-%COMP%]{margin-top:10px;font-size:14px;font-weight:500;font-stretch:normal;font-style:normal;line-height:1;letter-spacing:normal;text-align:center;text-transform:uppercase;color:#903}.drop-zone[_ngcontent-%COMP%]:focus-within{outline:2px solid black;outline-offset:-4px}.drop-zone[_ngcontent-%COMP%]:hover{outline-offset:-20px;background-color:#c8dadf}.drop-zone[_ngcontent-%COMP%]:hover #icon[_ngcontent-%COMP%] cds-icon[_ngcontent-%COMP%]{--color: #92b0b3}.drop-zone[_ngcontent-%COMP%]:hover #icon[_ngcontent-%COMP%] .drag-label[_ngcontent-%COMP%]{color:#903}.is-dragover[_ngcontent-%COMP%]{outline-offset:-20px;background-color:#c8dadf;outline:2px dashed #92b0b3}.mt-5[_ngcontent-%COMP%]{margin-top:5px;color:#903}"]})}}return e})();function Yee(e){let n=e,t=Math.floor(Math.abs(e)),i=e.toString().replace(/^[^.]*\.?/,"").length,r=parseInt(e.toString().replace(/^[^e]*(e([-+]?\d+))?/,"$2"))||0;return t===1&&i===0?1:r===0&&t!==0&&t%1e6===0&&i===0||!(r>=0&&r<=5)?4:5}var Fy=["it",[["m.","p."],["AM","PM"],void 0],void 0,[["D","L","M","M","G","V","S"],["dom","lun","mar","mer","gio","ven","sab"],["domenica","luned\xEC","marted\xEC","mercoled\xEC","gioved\xEC","venerd\xEC","
31sabato"],["dom","lun","mar","mer","gio","ven","sab"]],void 0,[["G","F","M","A","M","G","L","A","S","O","N","D"],["gen","feb","mar","apr","mag","giu","lug","ago","set","ott","nov","dic"],["gennaio","febbraio","marzo","aprile","maggio","giugno","luglio","agosto","settembre","ottobre","novembre","dicembre"]],void 0,[["aC","dC"],["a.C.","d.C."],["avanti Cristo","dopo Cristo"]],1,[6,0],["dd/MM/yy","d MMM y","d MMMM y","EEEE d MMMM y"],["HH:mm","HH:mm:ss","HH:mm:ss z","HH:mm:ss zzzz"],["{1}, {0}",void 0,"{1} {0}",void 0],[",",".",";","%","+","-","E","\xD7","\u2030","\u221E","NaN",":"],["#,##0.###","#,##0%","#,##0.00\xA0\xA4","#E0"],"EUR","\u20AC","euro",{BRL:[void 0,"R$"],BYN:[void 0,"Br"],EGP:[void 0,"\xA3E"],HKD:[void 0,"$"],INR:[void 0,"\u20B9"],JPY:[void 0,"\xA5"],KRW:[void 0,"\u20A9"],MXN:[void 0,"$"],NOK:[void 0,"NKr"],THB:["\u0E3F"],TWD:[void 0,"NT$"],USD:[void 0,"$"],VND:[void 0,"\u20AB"]},"ltr",Yee];function qee(e,n){if(e&1&&(F(0,"div",4),ye(1,"cds-icon",5),P()),e&2){let t=z(2);ku("rectangle-",t.color,""),L("ngClass",t.smallIcon?"rectangle-small":"rectangle"),E(),Li("shape",t.icon),L("size","md")("solid",t.solid)}}function Qee(e,n){if(e&1&&(F(0,"div",2),ue(1,qee,2,7,"div",3),F(2,"div"),q(3),Z(4,"translate"),P()()),e&2){let t=z();De("tabindex",0),E(),L("ngIf",t.icon),E(),ku("button-label button-label-",t.color,""),E(),Ae(" ",X(4,6,t.label)," ")}}function Zee(e,n){if(e&1&&(F(0,"div",4),ye(1,"cds-icon",5),P()),e&2){let t=z(2);ku("rectangle-",t.color,""),L("ngClass",t.smallIcon?"rectangle-small":"rectangle"),E(),Li("shape",t.icon),L("size","md")("solid",t.solid)}}function Kee(e,n){if(e&1&&(F(0,"div",6),ue(1,Zee,2,7,"div",3),F(2,"div",4),q(3),Z(4,"translate"),P()()),e&2){let t=z();De("tabindex",0),E(),L("ngIf",t.icon),E(),L("ngClass",t.isMobile()?"button-label button-label-mobile-black":"button-label button-label-{{color}}"),E(),Ae(" ",X(4,4,t.label)," ")}}Le.addIcons(Yr,br,qr,Ho,Ls,gx,mx);var Ea=(()=>{class e{constructor(t){this.appService=t,this.color="red",this.label="",this.solid=!1,this.smallIcon=!1,this.notAllowed=!1,Le.addIcons(["my-icon-note",hk]),Le.addIcons(["my-icon-note-large",pk]),Le.addIcons(["my-icon-trash",J7]),Le.addIcons(["my-icon-trash-large",ek])}ngOnInit(){if(this.icon)switch(this.icon){case"note":this.icon="my-icon-note";break;case"trash":this.icon="my-icon-trash";break;default:this.icon=this.icon}}isMobile(){return this.appService.isMobileBrowser()}static{this.\u0275fac=function(i){return new(i||e)(A(yi))}}static{this.\u0275cmp=Me({type:e,selectors:[["app-icon-link-button"]],inputs:{color:"color",icon:"icon",label:"label",solid:"solid",smallIcon:"smallIcon",notAllowed:"notAllowed"},decls:2,vars:2,consts:[["class","icon-link-button cursor-not-allowed",4,"ngIf"],["class","icon-link-button cursor-allowed",4,"ngIf"],[1,"icon-link-button","cursor-not-allowed"],[3,"ngClass","class",4,"ngIf"],[3,"ngClass"],[3,"shape","size","solid"],[1,"icon-link-button","cursor-allowed"]],template:function(i,r){i&1&&ue(0,Qee,5,8,"div",0)(1,Kee,5,6,"div",1),i&2&&(L("ngIf",r.notAllowed),E(),L("ngIf",!r.notAllowed))},dependencies:[pt,Dn,rt,Gg,At],styles:[".icon-link-button[_ngcontent-%COMP%]{display:flex;flex-direction:row;flex-flow:row;align-items:center}.icon-link-button[_ngcontent-%COMP%] cds-icon[_ngcontent-%COMP%]{block-size:24px;inline-size:24px}.icon-link-button[_ngcontent-%COMP%] .rectangle[_ngcontent-%COMP%]{width:24px;height:24px;margin:0 10px;border-radius:6px;display:flex;align-items:center}.icon-link-button[_ngcontent-%COMP%] .rectangle-small[_ngcontent-%COMP%]{margin:0 19px 0 0;padding:9px;border-radius:6px;display:flex;align-items:center}.icon-link-button[_ngcontent-%COMP%] .button-label[_ngcontent-%COMP%]{font-weight:700;font-size:18px}.icon-link-button[_ngcontent-%COMP%] .rectangle-red[_ngcontent-%COMP%]{background-color:#903}.icon-link-button[_ngcontent-%COMP%] .rectangle-gray[_ngcontent-%COMP%]{background-color:#f6f6f6}.icon-link-button[_ngcontent-%COMP%] .rectangle-black[_ngcontent-%COMP%]{background-color:#fff}.icon-link-button[_ngcontent-%COMP%] .rectangle-none[_ngcontent-%COMP%]{background-color:unset}.icon-link-button[_ngcontent-%COMP%] .rectangle-red[_ngcontent-%COMP%]{color:#fff}.icon-link-button[_ngcontent-%COMP%] .rectangle-gray[_ngcontent-%COMP%]{color:#9eaeb8}.icon-link-button[_ngcontent-%COMP%] .rectangle-black[_ngcontent-%COMP%]{color:#fff}.icon-link-button[_ngcontent-%COMP%] .rectangle-none[_ngcontent-%COMP%]{color:#9eaeb8}.icon-link-button[_ngcontent-%COMP%] .button-label-red[_ngcontent-%COMP%]{color:#222b30}.icon-link-button[_ngcontent-%COMP%] .button-label-gray[_ngcontent-%COMP%]{color:#617684}.icon-link-button[_ngcontent-%COMP%] .button-label-black[_ngcontent-%COMP%]{color:#fff}.icon-link-button[_ngcontent-%COMP%] .button-label-none[_ngcontent-%COMP%]{color:#617684}.icon-link-button[_ngcontent-%COMP%] .button-label-mobile-black[_ngcontent-%COMP%]{color:#222b30}.cursor-allowed[_ngcontent-%COMP%]{cursor:pointer}.cursor-not-allowed[_ngcontent-%COMP%]{cursor:not-allowed}"]})}}return e})();function Xee(e,n){if(e&1){let t=ze();F(0,"app-icon-link-button",4),oe("click",function(){ee(t);let r=z();return te(r.resetDate())}),P()}e&2&&L("color","red")("icon","my-icon-trash-large")("smallIcon",!0)("solid",!1)}Le.addIcons(Ho);IC(Fy);var Od=(()=>{class e{constructor(t){this.cdr=t,this.isDisabled=!1,this.min="",this.max="",this.showResetButton=!1,this.isReadOnly=!0,this.dateClass="",this.dateId="",this.ariaLabelButtonText="Seleziona data",this.dateChange=new Ue,this.value=null,this.onChange=i=>{},this.onTouched=()=>{},this.pendingValue=null,this.clarityReady=!1}ngAfterViewInit(){if(this.clarityReady=!0,this.pendingValue!==null){let t=this.pendingValue;this.pendingValue=null,this.value=t,this.cdr.detectChanges()}this.removeAttributeAndSetAriaLabel()}ngAfterContentInit(){this.removeAttributeAndSetAriaLabel()}ngAfterContentChecked(){this.removeAttributeAndSetAriaLabel()}writeValue(t){let i=t==null?null:this.parseDate(t);this.clarityReady?(this.value=i,this.cdr.detectChanges()):this.pendingValue=i}registerOnChange(t){this.onChange=t}registerOnTouched(t){this.onTouched=t}ngOnChanges(t){if(t.date!==void 0){let i=t.date.currentValue,r=i==null?null:this.parseDate(i);this.clarityReady?(this.value=r,this.cdr.detectChanges()):this.pendingValue=r}}ngOnInit(){}parseDate(t){if(t instanceof Date)return t;let i=t.split("-");if(i.length===3){let r=new Date(+i[0],+i[1]-1,+i[2]);return isNaN(r.getTime())?null:r}return null}onDateChange(t){this.value=this.dateWithoutTimeZone(t),this.onChange(this.value),this.dateChange.emit(this.dateWithoutTimeZone(t))}resetDate(){this.value=null,this.onChange(""),this.dateChange.emit(void 0)}removeAttributeAndSetAriaLabel(){document.querySelectorAll(".clr-input-group > button").forEach(i=>
31{i!=null&&(i.removeAttribute("title"),i.setAttribute("aria-label",this.ariaLabelButtonText),i.setAttribute("role","button"))})}dateWithoutTimeZone(t){let i=new Date(t),r=i.getTimezoneOffset()*6e4;return new Date(i.getTime()-r)}static{this.\u0275fac=function(i){return new(i||e)(A(Yn))}}static{this.\u0275cmp=Me({type:e,selectors:[["app-datepicker"]],inputs:{date:"date",isDisabled:[0,"disabled","isDisabled"],min:"min",max:"max",showResetButton:"showResetButton",isReadOnly:"isReadOnly",dateClass:"dateClass",dateId:"dateId",ariaLabelButtonText:"ariaLabelButtonText"},outputs:{dateChange:"dateChange"},standalone:!1,features:[Et([{provide:di,useValue:"it"},{provide:Ki,multi:!0,useExisting:e}]),Xt],decls:4,vars:9,consts:[[1,"container"],[1,"datepicker-container"],["clrDate","","size","10","name","date",3,"clrDateChange","id","readonly","disabled","clrDate","min","max"],[3,"color","icon","smallIcon","solid","click",4,"ngIf"],[3,"click","color","icon","smallIcon","solid"]],template:function(i,r){i&1&&(F(0,"div",0)(1,"clr-date-container",1)(2,"input",2),bt("clrDateChange",function(l){return It(r.value,l)||(r.value=l),l}),oe("clrDateChange",function(l){return r.onDateChange(l)}),P()(),ue(3,Xee,1,4,"app-icon-link-button",3),P()),i&2&&(E(2),Pu(r.dateClass),L("id",r.dateId)("readonly",r.isReadOnly)("disabled",r.isDisabled),yt("clrDate",r.value),L("min",r.min)("max",r.max),E(),L("ngIf",r.showResetButton))},dependencies:[bh,Vg,wy,rt,Ea],styles:['.container[_ngcontent-%COMP%]{min-height:45px} .clr-date-container .clr-input-wrapper{max-width:none} .clr-control-container{width:100%}.datepicker-container[_ngcontent-%COMP%]{margin:0;width:100%}.datepicker-container[_ngcontent-%COMP%] .clr-input-group{display:flex;justify-content:space-between;align-items:center;min-height:45px;border-top-left-radius:13px;border-bottom-left-radius:13px;background-color:#fff;border:solid 1px rgba(151,151,151,.29)}.datepicker-container[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{min-width:150px;font-size:18px;padding-left:14px;border:0;background:unset}.datepicker-container[_ngcontent-%COMP%] input[_ngcontent-%COMP%]::placeholder{color:#6e7881;opacity:1}.datepicker-container[_ngcontent-%COMP%] input[_ngcontent-%COMP%]:disabled{color:#866a68;opacity:1}.datepicker-container[_ngcontent-%COMP%] button[_ngcontent-%COMP%]:after{content:""}.datepicker-container[_ngcontent-%COMP%] cds-icon{display:flex;--color: #990033;cursor:pointer;transform:scale(1.5)}.datepicker-container.clr-form-control-disabled[_ngcontent-%COMP%] .clr-input-group{background-color:#f4f5f6;border:solid 1px 0px 1px 0px #f4f5f6}.datepicker-container.clr-form-control-disabled[_ngcontent-%COMP%] .clr-input-group input{border-top:solid 1px rgba(151,151,151,.29);border-bottom:solid 1px rgba(151,151,151,.29)}.error-message[_ngcontent-%COMP%]{color:#903}.reset-button[_ngcontent-%COMP%]{cursor:pointer} .monthpicker-trigger, .yearpicker-trigger, .switcher, .clr-input-group .clr-input-group-icon-action{color:#903} .clr-input-group .clr-input-group-icon-action{padding-right:16px}@media(max-height:400px){ .datepicker{overflow:auto;top:0!important;left:0!important;margin:auto;inset:0;width:90%;height:90%}} .clr-input-group{background:unset}']})}}return e})();var Jee={dispatch:!0,functional:!1,useEffectsErrorHandler:!0},Uy="__@ngrx/effects_create__";function ke(e,n={}){let t=n.functional?e:e(),i=k(k({},Jee),n);return Object.defineProperty(t,Uy,{value:i}),t}function ete(e){return Object.getOwnPropertyNames(e).filter(i=>e[i]&&e[i].hasOwnProperty(Uy)?e[i][Uy].hasOwnProperty("dispatch"):!1).map(i=>{let r=e[i][Uy];return k({propertyName:i},r)})}function tte(e){return ete(e)}function yk(e){return Object.getPrototypeOf(e)}function nte(e){return!!e.constructor&&e.constructor.name!=="Object"&&e.constructor.name!=="Function"}function bk(e){return typeof e=="function"}function ite(e){return e.filter(bk)}function rte(e,n,t){let i=yk(e),o=!!i&&i.constructor.name!=="Object"?i.constructor.name:null,l=tte(e).map(({propertyName:p,dispatch:C,useEffectsErrorHandler:w})=>{let V=typeof e[p]=="function"?e[p]():e[p],j=w?t(V,n):V;return C===!1?j.pipe(h3()):j.pipe(m3()).pipe(fe(W=>({effect:e[p],notification:W,propertyName:p,sourceName:o,sourceInstance:e})))});return Ol(...l)}var ote=10;function Sk(e,n,t=ote){return e.pipe(Pe(i=>
31(n&&n.handleError(i),t<=1?e:Sk(e,n,t-1))))}var zi=(()=>{class e extends Fr{constructor(t){super(),t&&(this.source=t)}lift(t){let i=new e;return i.source=this,i.operator=t,i}static{this.\u0275fac=function(i){return new(i||e)(ae(Ad))}}static{this.\u0275prov=le({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();function Ne(...e){return qt(n=>e.some(t=>typeof t=="string"?t===n.type:t.type===n.type))}var PSe=new me("@ngrx/effects Internal Root Guard"),kSe=new me("@ngrx/effects User Provided Effects"),NSe=new me("@ngrx/effects Internal Root Effects"),LSe=new me("@ngrx/effects Internal Root Effects Instances"),FSe=new me("@ngrx/effects Internal Feature Effects"),VSe=new me("@ngrx/effects Internal Feature Effects Instance Groups"),ste=new me("@ngrx/effects Effects Error Handler",{providedIn:"root",factory:()=>Sk}),ate="@ngrx/effects/init",lte=V7(ate);function cte(e,n){if(e.notification.kind==="N"){let t=e.notification.value;!dte(t)&&n.handleError(new Error(`Effect ${ute(e)} dispatched an invalid action: ${hte(t)}`))}}function dte(e){return typeof e!="function"&&e&&e.type&&typeof e.type=="string"}function ute({propertyName:e,sourceInstance:n,sourceName:t}){let i=typeof n[e]=="function";return!!t?`"${t}.${String(e)}${i?"()":""}"`:`"${String(e)}()"`}function hte(e){try{return JSON.stringify(e)}catch{return e}}var pte="ngrxOnIdentifyEffects";function fte(e){return iT(e,pte)}var gte="ngrxOnRunEffects";function mte(e){return iT(e,gte)}var vte="ngrxOnInitEffects";function Cte(e){return iT(e,vte)}function iT(e,n){return e&&n in e&&typeof e[n]=="function"}var Ik=(()=>{class e extends Qe{constructor(t,i){super(),this.errorHandler=t,this.effectsErrorHandler=i}addEffects(t){this.next(t)}toActions(){return this.pipe(z2(t=>nte(t)?yk(t):t),mi(t=>t.pipe(z2(_te))),mi(t=>{let i=t.pipe(f3(o=>yte(this.errorHandler,this.effectsErrorHandler)(o)),fe(o=>(cte(o,this.errorHandler),o.notification)),qt(o=>o.kind==="N"&&o.value!=null),p3()),r=t.pipe(Hn(1),qt(Cte),fe(o=>o.ngrxOnInitEffects()));return Ol(i,r)}))}static{this.\u0275fac=function(i){return new(i||e)(ae(ho),ae(ste))}}static{this.\u0275prov=le({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();function _te(e){return fte(e)?e.ngrxOnIdentifyEffects():""}function yte(e,n){return t=>{let i=rte(t,e,n);return mte(t)?t.ngrxOnRunEffects(i):i}}var bte=(()=>{class e{get isStarted(){return!!this.effectsSubscription}constructor(t,i){this.effectSources=t,this.store=i,this.effectsSubscription=null}start(){this.effectsSubscription||(this.effectsSubscription=this.effectSources.toActions().subscribe(this.store))}ngOnDestroy(){this.effectsSubscription&&(this.effectsSubscription.unsubscribe(),this.effectsSubscription=null)}static{this.\u0275fac=function(i){return new(i||e)(ae(Ik),ae(an))}}static{this.\u0275prov=le({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();function bi(...e){let n=e.flat(),t=ite(n);return po([t,nf(()=>{ge(Yg),ge(ky,{optional:!0});let i=ge(bte),r=ge(Ik),o=!i.isStarted;o&&i.start();for(let l of n){let p=bk(l)?ge(l):l;r.addEffects(p)}o&&ge(an).dispatch(lte())})])}var Zg="PERFORM_ACTION",Ste="REFRESH",Mk="RESET",Ak="ROLLBACK",Ok="COMMIT",Rk="SWEEP",Pk="TOGGLE_ACTION",Ite="SET_ACTIONS_ACTIVE",kk="JUMP_TO_STATE",Nk="JUMP_TO_ACTION",mT="IMPORT_STATE",Lk="LOCK_CHANGES",Fk="PAUSE_RECORDING",Nh=class{constructor(n,t){if(this.action=n,this.timestamp=t,this.type=Zg,typeof n.type>"u")throw new Error('Actions may not have an undefined "type" property. Have you misspelled a constant?')}},rT=class{constructor(){this.type=Ste}},oT=class{constructor(n){this.timestamp=n,this.type=Mk}},sT=class{constructor(n){this.timestamp=n,this.type=Ak}},aT=class{constructor(n){this.timestamp=n,this.type=Ok}},lT=class{constructor(){this.type=Rk}},cT=class{constructor(n){this.id=n,this.type=Pk}};var dT=class{constructor(n){this.index=n,this.type=kk}},uT=class{constructor(n){this.actionId=n,this.type=Nk}},hT=class{constructor(n){this.nextLiftedState=n,this.type=mT}},pT=class{constructor(n){this.status=n,this.type=Lk}},fT=class{constructor(n){this.status=n,this.type=Fk}};var zy=new me("@ngrx/store-devtools Options"),Ek=new me("@ngrx/store-devtools Initial Config");function Vk(){return null}var Ete="NgRx Store DevTools";function wte(e){let n={maxAge:!1,monitor:Vk,actionSanitizer:void 0,stateSanitizer:void 0,name:Ete,serialize:!1,logOnly:!1,autoPause:!1,trace:!1,traceLimit:75,features:{pause:!0,lock:!0,persist:!0,export:!0,import:"custom",jump:!0,skip:!0,reorder:!0,dispatch:!0,test:!0},connectInZone:!1},t=typeof e=="function"?e():e,i=t.logOnly?{pause:!0,export:!0,test:!0}:!1,r=t.features||i||n.features;r.import===!0&&(r.import="custom");let o=Object.assign({},n,{features:r},t);if(o.maxAge&&o.maxAge<2)throw new Error(`Devtools 'maxAge' cannot be less than 2, got ${o.maxAge}`);return o}function wk(e,n){return e.filter(t=>n.indexOf(t)<0)}
31function Uk(e){let{computedStates:n,currentStateIndex:t}=e;if(t>=n.length){let{state:r}=n[n.length-1];return r}let{state:i}=n[t];return i}function Qg(e){return new Nh(e,+Date.now())}function xte(e,n){return Object.keys(n).reduce((t,i)=>{let r=Number(i);return t[r]=Hk(e,n[r],r),t},{})}function Hk(e,n,t){return U(k({},n),{action:e(n.action,t)})}function Dte(e,n){return n.map((t,i)=>({state:Bk(e,t.state,i),error:t.error}))}function Bk(e,n,t){return e(n,t)}function jk(e){return e.predicate||e.actionsSafelist||e.actionsBlocklist}function Tte(e,n,t,i){let r=[],o={},l=[];return e.stagedActionIds.forEach((p,C)=>{let w=e.actionsById[p];w&&(C&&vT(e.computedStates[C],w,n,t,i)||(o[p]=w,r.push(p),l.push(e.computedStates[C])))}),U(k({},e),{stagedActionIds:r,actionsById:o,computedStates:l})}function vT(e,n,t,i,r){let o=t&&!t(e,n.action),l=i&&!n.action.type.match(i.map(C=>xk(C)).join("|")),p=r&&n.action.type.match(r.map(C=>xk(C)).join("|"));return o||l||p}function xk(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function zk(e){return{ngZone:e?ge(Rt):null,connectInZone:e}}var Gy=(()=>{class e extends Ia{static{this.\u0275fac=(()=>{let t;return function(r){return(t||(t=kn(e)))(r||e)}})()}static{this.\u0275prov=le({token:e,factory:e.\u0275fac})}}return e})(),Hy={START:"START",DISPATCH:"DISPATCH",STOP:"STOP",ACTION:"ACTION"},gT=new me("@ngrx/store-devtools Redux Devtools Extension"),Gk=(()=>{class e{constructor(t,i,r){this.config=i,this.dispatcher=r,this.zoneConfig=zk(this.config.connectInZone),this.devtoolsExtension=t,this.createActionStreams()}notify(t,i){if(this.devtoolsExtension)if(t.type===Zg){if(i.isLocked||i.isPaused)return;let r=Uk(i);if(jk(this.config)&&vT(r,t,this.config.predicate,this.config.actionsSafelist,this.config.actionsBlocklist))return;let o=this.config.stateSanitizer?Bk(this.config.stateSanitizer,r,i.currentStateIndex):r,l=this.config.actionSanitizer?Hk(this.config.actionSanitizer,t,i.nextActionId):t;this.sendToReduxDevtools(()=>this.extensionConnection.send(l,o))}else{let r=U(k({},i),{stagedActionIds:i.stagedActionIds,actionsById:this.config.actionSanitizer?xte(this.config.actionSanitizer,i.actionsById):i.actionsById,computedStates:this.config.stateSanitizer?Dte(this.config.stateSanitizer,i.computedStates):i.computedStates});this.sendToReduxDevtools(()=>this.devtoolsExtension.send(null,r,this.getExtensionConfig(this.config)))}}createChangesObservable(){return this.devtoolsExtension?new Fr(t=>{let i=this.zoneConfig.connectInZone?this.zoneConfig.ngZone.runOutsideAngular(()=>this.devtoolsExtension.connect(this.getExtensionConfig(this.config))):this.devtoolsExtension.connect(this.getExtensionConfig(this.config));return this.extensionConnection=i,i.init(),i.subscribe(r=>t.next(r)),i.unsubscribe}):Vr}createActionStreams(){let t=this.createChangesObservable().pipe(C3()),i=t.pipe(qt(w=>w.type===Hy.START)),r=t.pipe(qt(w=>w.type===Hy.STOP)),o=t.pipe(qt(w=>w.type===Hy.DISPATCH),fe(w=>this.unwrapAction(w.payload)),Ur(w=>w.type===mT?this.dispatcher.pipe(qt(V=>V.type===Ph),u3(1e3),Rl(1e3),fe(()=>w),Pe(()=>pe(w)),Hn(1)):pe(w))),p=t.pipe(qt(w=>w.type===Hy.ACTION),fe(w=>this.unwrapAction(w.payload))).pipe(vi(r)),C=o.pipe(vi(r));this.start$=i.pipe(vi(r)),this.actions$=this.start$.pipe(Te(()=>p)),this.liftedActions$=this.start$.pipe(Te(()=>C))}unwrapAction(t){return typeof t=="string"?(0,eval)(`(${t})`):t}getExtensionConfig(t){let i={name:t.name,features:t.features,serialize:t.serialize,autoPause:t.autoPause??!1,trace:t.trace??!1,traceLimit:t.traceLimit??75};return t.maxAge!==!1&&(i.maxAge=t.maxAge),i}sendToReduxDevtools(t){try{t()}catch(i){console.warn("@ngrx/store-devtools: something went wrong inside the redux devtools",i)}}static{this.\u0275fac=function(i){return new(i||e)(ae(gT),ae(zy),ae(Gy))}}static{this.\u0275prov=le({token:e,factory:e.\u0275fac})}}return e})(),jy={type:Md},Mte="@ngrx/store-devtools/recompute",Ate={type:Mte};function $k(e,n,t,i,r){if(i)return{state:t,error:"Interrupted by an error up the chain"};let o=t,l;try{o=e(t,n)}catch(p){l=p.toString(),r.handleError(p)}return{state:o,error:l}}function By(e,n,t,i,r,o,l,p,C){if(n>=e.length&&e.length===o.length)return e;let w=e.slice(0,n),V=o.length-(C?1:0);for(let j=n;j<V;j++){let $=o[j],W=r[$].action,se=w[j-1],be=se?se.state:i,Ve=se?se.error:void 0,sn=l.indexOf($)>-1?se:$k(t,W,be,Ve,p);w.push(sn)}return C&&w.push(e[e.length-1]),w}function Ote(e,n){return{monitorState:n(void 0,{}),nextActionId:1,actionsById:{0:Qg(jy)},stagedActionIds:[0],skippedActionIds:[],committedState:e,currentStateIndex:0,computedStates:[],isLocked:!1,isPaused:!1}}function Rte(e,n,t,i,r={}){return o=>(l,p)=>{let{monitorState:C,actionsById:w,nextActionId:V,stagedActionIds:j,skippedActionIds:$,committedState:W,currentStateIndex:se,computedStates:be,isLocked:Ve,isPaused:dt}=l||n;l||(w=Object.create(w));function sn(jt){let kt=jt,$i=j.slice(1,kt+1);for(let Tt=0;Tt<$i.length;Tt++)if(be[Tt+1].error){kt=Tt,$i=j.slice(1,kt+1);break}else delete w[$i[Tt]];$=$.filter(Tt=>$i.indexOf(Tt)===-1),j=[0,...j.slice(kt+1)],W=be[kt].state,be=be.slice(kt),se=se>kt?se-kt:0}function Pt(){w={0:Qg(jy)},V=1,j=[0],$=[],W=be[se].state,se=0,be=[]}let Ot=0;switch(p.type){case Lk:{Ve=p.status,Ot=1/0;break}case Fk:{dt=p.status,dt?(j=[...j,V],w[V]=new Nh({type:"@ngrx/devtools/pause"},+Date.now()),V++,Ot=j.length-1,be=be.concat(be[be.length-1]),se===j.length-2&&se++,Ot=1/0):Pt();break}case Mk:{w={0:Qg(jy)},V=1,j=[0],$=[],W=e,se=0,be=[];break}case Ok:{Pt();break}
31case Ak:{w={0:Qg(jy)},V=1,j=[0],$=[],se=0,be=[];break}case Pk:{let{id:jt}=p;$.indexOf(jt)===-1?$=[jt,...$]:$=$.filter($i=>$i!==jt),Ot=j.indexOf(jt);break}case Ite:{let{start:jt,end:kt,active:$i}=p,Tt=[];for(let eo=jt;eo<kt;eo++)Tt.push(eo);$i?$=wk($,Tt):$=[...$,...Tt],Ot=j.indexOf(jt);break}case kk:{se=p.index,Ot=1/0;break}case Nk:{let jt=j.indexOf(p.actionId);jt!==-1&&(se=jt),Ot=1/0;break}case Rk:{j=wk(j,$),$=[],se=Math.min(se,j.length-1);break}case Zg:{if(Ve)return l||n;if(dt||l&&vT(l.computedStates[se],p,r.predicate,r.actionsSafelist,r.actionsBlocklist)){let kt=be[be.length-1];be=[...be.slice(0,-1),$k(o,p.action,kt.state,kt.error,t)],Ot=1/0;break}r.maxAge&&j.length===r.maxAge&&sn(1),se===j.length-1&&se++;let jt=V++;w[jt]=p,j=[...j,jt],Ot=j.length-1;break}case mT:{({monitorState:C,actionsById:w,nextActionId:V,stagedActionIds:j,skippedActionIds:$,committedState:W,currentStateIndex:se,computedStates:be,isLocked:Ve,isPaused:dt}=p.nextLiftedState);break}case Md:{Ot=0,r.maxAge&&j.length>r.maxAge&&(be=By(be,Ot,o,W,w,j,$,t,dt),sn(j.length-r.maxAge),Ot=1/0);break}case Ph:{if(be.filter(kt=>kt.error).length>0)Ot=0,r.maxAge&&j.length>r.maxAge&&(be=By(be,Ot,o,W,w,j,$,t,dt),sn(j.length-r.maxAge),Ot=1/0);else{if(!dt&&!Ve){se===j.length-1&&se++;let kt=V++;w[kt]=new Nh(p,+Date.now()),j=[...j,kt],Ot=j.length-1,be=By(be,Ot,o,W,w,j,$,t,dt)}be=be.map(kt=>U(k({},kt),{state:o(kt.state,Ate)})),se=j.length-1,r.maxAge&&j.length>r.maxAge&&sn(j.length-r.maxAge),Ot=1/0}break}default:{Ot=1/0;break}}return be=By(be,Ot,o,W,w,j,$,t,dt),C=i(C,p),{monitorState:C,actionsById:w,nextActionId:V,stagedActionIds:j,skippedActionIds:$,committedState:W,currentStateIndex:se,computedStates:be,isLocked:Ve,isPaused:dt}}}var Dk=(()=>{class e{constructor(t,i,r,o,l,p,C,w){let V=Ote(C,w.monitor),j=Rte(C,V,p,w.monitor,w),$=Ol(Ol(i.asObservable().pipe(_3(1)),o.actions$).pipe(fe(Qg)),t,o.liftedActions$).pipe(Ap(H2)),W=r.pipe(fe(j)),se=zk(w.connectInZone),be=new Mp(1);this.liftedStateSubscription=$.pipe(Pp(W),Tk(se),Ac(({state:sn},[Pt,Ot])=>{let jt=Ot(sn,Pt);return Pt.type!==Zg&&jk(w)&&(jt=Tte(jt,w.predicate,w.actionsSafelist,w.actionsBlocklist)),o.notify(Pt,jt),{state:jt,action:Pt}},{state:V,action:null})).subscribe(({state:sn,action:Pt})=>{if(be.next(sn),Pt.type===Zg){let Ot=Pt.action;l.next(Ot)}}),this.extensionStartSubscription=o.start$.pipe(Tk(se)).subscribe(()=>{this.refresh()});let Ve=be.asObservable(),dt=Ve.pipe(fe(Uk));Object.defineProperty(dt,"state",{value:$g(dt,{manualCleanup:!0,requireSync:!0})}),this.dispatcher=t,this.liftedState=Ve,this.state=dt}ngOnDestroy(){this.liftedStateSubscription.unsubscribe(),this.extensionStartSubscription.unsubscribe()}dispatch(t){this.dispatcher.next(t)}next(t){this.dispatcher.next(t)}error(t){}complete(){}performAction(t){this.dispatch(new Nh(t,+Date.now()))}refresh(){this.dispatch(new rT)}reset(){this.dispatch(new oT(+Date.now()))}rollback(){this.dispatch(new sT(+Date.now()))}commit(){this.dispatch(new aT(+Date.now()))}sweep(){this.dispatch(new lT)}toggleAction(t){this.dispatch(new cT(t))}jumpToAction(t){this.dispatch(new uT(t))}jumpToState(t){this.dispatch(new dT(t))}importState(t){this.dispatch(new hT(t))}lockChanges(t){this.dispatch(new pT(t))}pauseRecording(t){this.dispatch(new fT(t))}static{this.\u0275fac=function(i){return new(i||e)(ae(Gy),ae(Ia),ae(Td),ae(Gk),ae(Ad),ae(ho),ae(qg),ae(zy))}}static{this.\u0275prov=le({token:e,factory:e.\u0275fac})}}return e})();function Tk({ngZone:e,connectInZone:n}){return t=>n?new Fr(i=>t.subscribe({next:r=>e.run(()=>i.next(r)),error:r=>e.run(()=>i.error(r)),complete:()=>e.run(()=>i.complete())})):t}var Pte=new me("@ngrx/store-devtools Is Devtools Extension or Monitor Present");function kte(e,n){return!!e||n.monitor!==Vk}function Nte(){let e="__REDUX_DEVTOOLS_EXTENSION__";return typeof window=="object"&&typeof window[e]<"u"?window[e]:null}function Lte(e){return e.state}function Wk(e={}){return po([Gk,Gy,Dk,{provide:Ek,useValue:e},{provide:Pte,deps:[gT,zy],useFactory:kte},{provide:gT,useFactory:Nte},{provide:zy,deps:[Ek],useFactory:wte},{provide:Rh,deps:[Dk],useFactory:Lte},{provide:Oh,useExisting:Gy}])}var Pd={};Ni(Pd,{ActionTypes:()=>Y,AddBankAccountFailureAction:()=>p0,AddBankAccountRequestAction:()=>wT,AddBankAccountSuccessAction:()=>f0,AddDelegationFailureAction:()=>g0,AddDelegationRequestAction:()=>xT,AddDelegationSuccessAction:()=>m0,ClearPrivacyRegistration:()=>$T,CommunicateWithUsFailureAction:()=>_0,CommunicateWithUsRequestAction:()=>TT,CommunicateWithUsSuccessAction:()=>y0,DeleteBankAccountFailureAction:()=>c0,DeleteBankAccountRequestAction:()=>IT,DeleteBankAccountSuccessAction:()=>d0,DeleteDelegationFailureAction:()=>u0,DeleteDelegationRequestAction:()=>ET,DeleteDelegationSuccessAction:()=>h0,EditBankAccountFailureAction:()=>a0,EditBankAccountRequestAction:()=>ST,EditBankAccountSuccessAction:()=>l0,EditProfileInfoFailureAction:()=>t0,EditProfileInfoPostRequestAction:()=>_T,EditProfileInfoSuccessAction:()=>n0,EditProfilePasswordFailureAction:()=>o0,EditProfilePasswordRequestAction:()=>bT,EditProfilePasswordSuccessAction:()=>s0,EditUserIdentityFailureAction:()=>v0,EditUserIdentityRequestAction:()=>DT,EditUserIdentitySuccessAction:()=>C0,EditUserInfoFailureAction:()=>i0,EditUserInfoRequestAction:()=>yT,EditUserInfoSuccessAction:()=>r0,GetUserActiveServicesFailure:()=>lc,GetUserActiveServicesPacSuccess:()=>U0,GetUserActiveServicesPassSuccess:()=>H0,GetUserActiveServicesReimbursementSuccess:()=>j0,GetUserActiveServicesRequest:()=>BT,GetUserActiveServicesSwitchSuccess:()=>B0,GetUserContactDetailsFPFailure:()=>em,GetUserContactDetailsFPRequest:()=>X0,GetUserContactDetailsFPSuccess:()=>J0,GetUserContactDetailsFailure:()=>Q0,GetUserContactDetailsRequest:()=>Y0,GetUserContactDetailsSuccess:()=>q0,GetUserSubjectFailure:()=>rm,GetUserSubjectRequest:()=>ZT,GetUserSubjectSuccess:()=>im,GetUserSurveyDueDiligenceFailure:()=>LT,GetUserSurveyDueDiligenceRequest:()=>NT,GetUserSurveyDueDiligenceSuccess:()=>M0,GetUserSurveyFatcaFailure:()=>w0,GetUserSurveyFatcaRequest:()=>OT,GetUserSurveyFatcaSuccess:()=>x0,GetUserSurveyMifidFailure:()=>I0,GetUserSurveyMifidRequest:()=>AT,GetUserSurveyMifidSuccess:()=>E0,GetUserSurveyRiskValueFailure:()=>A0,GetUserSurveyRiskValueRequest:()=>FT,GetUserSurveyRiskValueSuccess:()=>O0,LoginFailureAction:()=>Kg,LoginRequestAction:()=>CT,LoginSuccessAction:()=>Xg,MarkIdentityCardModalShownAction:()=>KT,NoOperationAction:()=>R0,PostUserActiveServiceRevokeReimbursementFailure:()=>G0,PostUserActiveServiceRevokeReimbursementRequest:()=>jT,PostUserActiveServiceRevokeReimbursementSuccess:()=>z0,PostUserActiveServiceRevokeSwitchFailure:()=>V0,PostUserActiveServiceRevokeSwitchRequest:()=>HT,PostUserActiveServiceRevokeSwitchSuccess:()=>F0,PostUserSurveyDueDiligenceFailure:()=>kT,PostUserSurveyDueDiligenceRequest:()=>PT,PostUserSurveyDueDiligenceSuccess:()=>T0,PostUserSurveyFatcaFailure:()=>Rd,PostUserSurveyFatcaRequest:()=>RT,PostUserSurveyFatcaSuccess:()=>D0,ProfileInfoFailureAction:()=>Jg,ProfileInfoRequestAction:()=>Jr,ProfileInfoSuccessAction:()=>e0,PutPrivacyRegistration:()=>WT,PutUserContactDetailsFPFailure:()=>nm,PutUserContactDetailsFPRequest:()=>QT,PutUserContactDetailsFPSuccess:()=>tm,PutUserContactDetailsFailure:()=>K0,PutUserContactDetailsRequest:()=>qT,PutUserContactDetailsSuccess:()=>Z0,RegistrationAutomaticFailure:()=>L0,RegistrationAutomaticRequest:()=>UT,RegistrationAutomaticSuccess:()=>N0,RegistrationInfoFailure:()=>k0,RegistrationInfoRequest:()=>VT,RegistrationInfoSuccess:()=>P0,RegistrationPrefillFailure:()=>GT,RegistrationPrefillRequest:()=>zT,RegistrationPrefillSuccess:()=>Lh,RegistryUpdateFailure:()=>W0,RegistryUpdateRequest:()=>YT,RegistryUpdateSuccess:()=>$0,SaveUserSurveyMifidFailureAction:()=>b0,SaveUserSurveyMifidRequestAction:()=>MT,SaveUserSurveyMifidSuccessAction:()=>S0});var Y=(function(e){return e.LOGIN_REQUEST="[Login Page] Login Request",e.LOGIN_FAILURE="[Login Page] Login Failure",e.LOGIN_SUCCESS="[Login Page] Login Success",e.PROFILE_INFO_REQUEST="[Profile Page] Profile User Request",e.PROFILE_INFO_FAILURE="[Profile Page] Profile User Failure",e.PROFILE_INFO_SUCCESS="[Profile Page] Profile User Success",e.EDIT_PROFILE_INFO_POST_REQUEST="[Profile] Profile Info Post Request",e.EDIT_PROFILE_INFO_POST_FAILURE="[Profile] Profile Info Post Failure",e.EDIT_PROFILE_INFO_POST_SUCCESS="[Profile] Profile Info Post Success",e.EDIT_PROFILE_PASSWORD_POST_REQUEST="[Profile] Profile Password Post Request",e.EDIT_PROFILE_PASSWORD_POST_FAILURE="[Profile] Profile Password Post Failure",e.EDIT_PROFILE_PASSWORD_POST_SUCCESS="[Profile] Profile Password Post Success",e.EDIT_USER_INFO_REQUEST="[User info tab] user info request",e.EDIT_USER_INFO_FAILURE="[User info tab] user info failure",e.EDIT_USER_INFO_SUCCESS="[User info tab] user info success",e.EDIT_BANK_ACCOUNT_REQUEST="[BankAccount] BankAccount Edit Request",e.EDIT_BANK_ACCOUNT_FAILURE="[BankAccount] BankAccount Edit Failure",e.EDIT_BANK_ACCOUNT_SUCCESS="[BankAccount] BankAccount Edit Success",e.DELETE_BANK_ACCOUNT_REQUEST="[BankAccount] BankAccount Delete Request",e.DELETE_BANK_ACCOUNT_FAILURE="[BankAccount] BankAccount Delete Failure",e.DELETE_BANK_ACCOUNT_SUCCESS="[BankAccount] BankAccount Delete Success",e.DELETE_DELEGATION_REQUEST="[Delegation] Delegation Delete Request",e.DELETE_DELEGATION_FAILURE="[Delegation] Delegation Delete Failure",e.DELETE_DELEGATION_SUCCESS="[Delegation] Delegation Delete Success",e.ADD_BANK_ACCOUNT_REQUEST="[BankAccount] BankAccount Add Request",e.ADD_BANK_ACCOUNT_FAILURE="[BankAccount] BankAccount Add Failure",e.ADD_BANK_ACCOUNT_SUCCESS="[BankAccount] BankAccount Add Success",e.ADD_DELEGATION_REQUEST="[Delegation] Delegation Add Request",e.ADD_DELEGATION_FAILURE="[Delegation] Delegation Add Failure",e.ADD_DELEGATION_SUCCESS="[Delegation] Delegation Add Success",e.EDIT_USER_IDENTITY_REQUEST="[UserIdentity] Edit Identity Info Request",e.EDIT_USER_IDENTITY_FAILURE="[UserIdentity] Edit Identity Info Failure",e.EDIT_USER_IDENTITY_SUCCESS="[UserIdentity] Edit Identity Info Success",e.COMMUNICATE_WITH_US_REQUEST="[Profile] Communicate with us Request",e.COMMUNICATE_WITH_US_FAILURE="[Profile] Communicate with us Failure",e.COMMUNICATE_WITH_US_SUCCESS="[Profile] Communicate with us Success",e.SAVE_USER_SURVEY_MIFID_REQUEST="[User Survey] Save user survey Mifid Request",e.SAVE_USER_SURVEY_MIFID_FAILURE="[User Survey] Save user survey Mifid Failure",e.SAVE_USER_SURVEY_MIFID_SUCCESS="[User Survey] Save user survey Mifid Success",e.GET_USER_SURVEY_MIFID_REQUEST="[Get User Survey] get user survey mifid request",e.GET_USER_SURVEY_MIFID_FAILURE="[Get User Survey] get user survey mifid failure",e.GET_USER_SURVEY_MIFID_SUCCESS="[Get User Survey] get user survey mifid success",e.GET_USER_SURVEY_FATCA_REQUEST="[Get User Survey] get user survey fatca request",e.GET_USER_SURVEY_FATCA_FAILURE="[Get User Survey] get user survey fatca failure",e.GET_USER_SURVEY_FATCA_SUCCESS="[Get User Survey] get user survey fatca success",e.POST_USER_SURVEY_FATCA_REQUEST="[Post User Survey] post user survey fatca request",e.POST_USER_SURVEY_FATCA_FAILURE="[Post User Survey] post user survey fatca failure",e.POST_USER_SURVEY_FATCA_SUCCESS="[Post User Survey] post user survey fatca success",e.POST_USER_SURVEY_DUE_DILIGENCE_REQUEST="[Post User Survey] post user survey due-diligence request",e.POST_USER_SURVEY_DUE_DILIGENCE_FAILURE="[Post User Survey] post user survey due-diligence failure",e.POST_USER_SURVEY_DUE_DILIGENCE_SUCCESS="[Post User Survey] post user survey due-diligence success",e.GET_USER_SURVEY_DUE_DILIGENCE_REQUEST="[Get User Survey] get user survey due-diligence request",e.GET_USER_SURVEY_DUE_DILIGENCE_FAILURE="[Get User Survey] get user survey due-diligence failure",e.GET_USER_SURVEY_DUE_DILIGENCE_SUCCESS="[Get User Survey] get user survey due-diligence success",e.NO_OPERATION="[NoOperation] No Operation",e.GET_USER_SURVEY_RISK_VALUE_REQUEST="[Get User RiskValue] get user risk value request",e.GET_USER_SURVEY_RISK_VALUE_FAILURE="[Get User RiskValue] get user risk value failure",e.GET_USER_SURVEY_RISK_VALUE_SUCCESS="[Get User RiskValue] get user risk value success",e.GET_REGISTRATION_INFO_REQUEST="[Get Registration Mode] Registration Info Request",e.GET_REGISTRATION_INFO_SUCCESS="[Get Registration Mode] Registration Info Success",e.GET_REGISTRATION_INFO_FAILURE="[Get Registration Mode] Registration Info Failure",e.GET_USER_ACTIVE_SERVICES_REQUEST="[Get User Active Services] get user active services request",e.GET_USER_ACTIVE_SERVICES_PAC_SUCCESS="[Get User Active Services Pac] get user active services pac success",e.GET_USER_ACTIVE_SERVICES_PASS_SUCCESS="[Get User Active Services Pass] get user active services pass success",e.GET_USER_ACTIVE_SERVICES_SWITCH_SUCCESS="[Get User Active Services Switch] get user active services switch success",e.GET_USER_ACTIVE_SERVICES_REIMBURSEMENT_SUCCESS="[Get User Active Services Reimbursement] get user active services reimbursement success",e.GET_USER_ACTIVE_SERVICES_FAILURE="[Get User Active Services] get user active services failure",e.POST_REGISTRATION_AUTOMATIC_REQUEST="[Post Registration Mode] Registration automatic Request",e.POST_REGISTRATION_AUTOMATIC_SUCCESS="[Post Registration Mode] Registration automatic Success",e.POST_REGISTRATION_AUTOMATIC_FAILURE="[Post Registration Mode] Registration automatic Failure",e.POST_USER_ACTIVE_SERVICE_REVOKE_SWITCH_REQUEST="[Post User Active Service Revoke Switch] post active service revoke switch request",e.POST_USER_ACTIVE_SERVICE_REVOKE_SWITCH_SUCCESS="[Post User Active Service Revoke Switch] post active service revoke switch success",e.POST_USER_ACTIVE_SERVICE_REVOKE_SWITCH_FAILURE="[Post User Active Service Revoke Switch] post active service revoke switch failure",e.POST_USER_ACTIVE_SERVICE_REVOKE_REIMBURSEMENT_REQUEST="[Post User Active Service Revoke Reimbursement] post user active service revoke reimbursement request",e.POST_USER_ACTIVE_SERVICE_REVOKE_REIMBURSEMENT_SUCCESS="[Post User Active Service Revoke Reimbursement] post user active service revoke reimbursement success",e.POST_USER_ACTIVE_SERVICE_REVOKE_REIMBURSEMENT_FAILURE="[Post User Active Service Revoke Reimbursement] post user active service revoke reimbursement failure",e.PUT_PRIVACY_REGISTRATION="[Put Privacy Registration] Put Privacy Registration",e.CLEAR_PRIVACY_REGISTRATION="[Clear Privacy Registration] Clear Privacy Registration",e.GET_REGISTRATION_PREFILL_REQUEST="[Get Registration Prefill] Registration Prefill Request",e.GET_REGISTRATION_PREFILL_SUCCESS="[Get Registration Prefill] Registration Prefill Success",e.GET_REGISTRATION_PREFILL_FAILURE="[Get Registration Prefill] Registration Prefill Failure",e.PUT_REGISTRY_UPDATE_REQUEST="[Put Registry Update] Registry Update Request",e.PUT_REGISTRY_UPDATE_SUCCESS="[Put Registry Update] Registry Update Success",e.PUT_REGISTRY_UPDATE_FAILURE="[Put Registry Update] Registry Update Failure",e.GET_USER_CONTACT_DETAILS_REQUEST="[User Profile] Get User Contact Details Request",e.GET_USER_CONTACT_DETAILS_SUCCESS="[User Profile] Get User Contact Details Success",e.GET_USER_CONTACT_DETAILS_FAILURE="[User Profile] Get User Contact Details Failure",e.PUT_USER_CONTACT_DETAILS_REQUEST="[User Profile] Put User Contact Details Request",e.PUT_USER_CONTACT_DETAILS_SUCCESS="[User Profile] Put User Contact Details Success",e.PUT_USER_CONTACT_DETAILS_FAILURE="[User Profile] Put User Contact Details Failure",e.GET_USER_CONTACT_DETAILS_FP_REQUEST="[User Profile] Get User Contact Details Pension Fund Request",e.GET_USER_CONTACT_DETAILS_FP_SUCCESS="[User Profile] Get User Contact Details Pension Fund Success",e.GET_USER_CONTACT_DETAILS_FP_FAILURE="[User Profile] Get User Contact Details Pension Fund Failure",e.PUT_USER_CONTACT_DETAILS_FP_REQUEST="[User Profile] Put User Contact Details Pension Fund Request",e.PUT_USER_CONTACT_DETAILS_FP_SUCCESS="[User Profile] Put User Contact Details Pension Fund Success",e.PUT_USER_CONTACT_DETAILS_FP_FAILURE="[User Profile] Put User Contact Details Pension Fund Failure",e.GET_USER_LEGAL_ENTITIES_REQUEST="[User Profile] Get User Legal Entities Request",e.GET_USER_LEGAL_ENTITIES_SUCCESS="[User Profile] Get User Legal Entities Success",e.GET_USER_LEGAL_ENTITIES_FAILURE="[User Profile] Get User Legal Entities Fund Failure",e.MARK_IDENTITY_CARD_MODAL_SHOWN="[Identity Card Modal] Mark Identity Card Modal Shown",e})(Y||{}),CT=class{constructor(n){this
31.payload=n,this.type=Y.LOGIN_REQUEST}},Kg=class{constructor(n){this.payload=n,this.type=Y.LOGIN_FAILURE}},Xg=class{constructor(n){this.payload=n,this.type=Y.LOGIN_SUCCESS}},Jr=class{constructor(){this.type=Y.PROFILE_INFO_REQUEST}},Jg=class{constructor(n){this.payload=n,this.type=Y.PROFILE_INFO_FAILURE}},e0=class{constructor(n){this.payload=n,this.type=Y.PROFILE_INFO_SUCCESS}},_T=class{constructor(n){this.payload=n,this.type=Y.EDIT_PROFILE_INFO_POST_REQUEST}},t0=class{constructor(n){this.payload=n,this.type=Y.EDIT_PROFILE_INFO_POST_FAILURE}},n0=class{constructor(n){this.payload=n,this.type=Y.EDIT_PROFILE_INFO_POST_SUCCESS}},yT=class{constructor(n){this.payload=n,this.type=Y.EDIT_USER_INFO_REQUEST}},i0=class{constructor(n){this.payload=n,this.type=Y.EDIT_USER_INFO_FAILURE}},r0=class{constructor(n){this.payload=n,this.type=Y.EDIT_USER_INFO_SUCCESS}},bT=class{constructor(n){this.payload=n,this.type=Y.EDIT_PROFILE_PASSWORD_POST_REQUEST}},o0=class{constructor(n){this.payload=n,this.type=Y.EDIT_PROFILE_PASSWORD_POST_FAILURE}},s0=class{constructor(){this.type=Y.EDIT_PROFILE_PASSWORD_POST_SUCCESS}},ST=class{constructor(n){this.payload=n,this.type=Y.EDIT_BANK_ACCOUNT_REQUEST}},a0=class{constructor(n){this.payload=n,this.type=Y.EDIT_BANK_ACCOUNT_FAILURE}},l0=class{constructor(n){this.payload=n,this.type=Y.EDIT_BANK_ACCOUNT_SUCCESS}},IT=class{constructor(n){this.payload=n,this.type=Y.DELETE_BANK_ACCOUNT_REQUEST}},c0=class{constructor(n){this.payload=n,this.type=Y.DELETE_BANK_ACCOUNT_FAILURE}},d0=class{constructor(n){this.payload=n,this.type=Y.DELETE_BANK_ACCOUNT_SUCCESS}},ET=class{constructor(n){this.payload=n,this.type=Y.DELETE_DELEGATION_REQUEST}},u0=class{constructor(n){this.payload=n,this.type=Y.DELETE_DELEGATION_FAILURE}},h0=class{constructor(n){this.payload=n,this.type=Y.DELETE_DELEGATION_SUCCESS}},wT=class{constructor(n){this.payload=n,this.type=Y.ADD_BANK_ACCOUNT_REQUEST}},p0=class{constructor(n){this.payload=n,this.type=Y.ADD_BANK_ACCOUNT_FAILURE}},f0=class{constructor(n){this.payload=n,this.type=Y.ADD_BANK_ACCOUNT_SUCCESS}},xT=class{constructor(n){this.payload=n,this.type=Y.ADD_DELEGATION_REQUEST}},g0=class{constructor(n){this.payload=n,this.type=Y.ADD_DELEGATION_FAILURE}},m0=class{constructor(n){this.payload=n,this.type=Y.ADD_DELEGATION_SUCCESS}},DT=class{constructor(n){this.payload=n,this.type=Y.EDIT_USER_IDENTITY_REQUEST}},v0=class{constructor(n){this.payload=n,this.type=Y.EDIT_USER_IDENTITY_FAILURE}},C0=class{constructor(n){this.payload=n,this.type=Y.EDIT_USER_IDENTITY_SUCCESS}},TT=class{constructor(n){this.payload=n,this.type=Y.COMMUNICATE_WITH_US_REQUEST}},_0=class{constructor(n){this.payload=n,this.type=Y.COMMUNICATE_WITH_US_FAILURE}},y0=class{constructor(){this.type=Y.COMMUNICATE_WITH_US_SUCCESS}},MT=class{constructor(n){this.payload=n,this.type=Y.SAVE_USER_SURVEY_MIFID_REQUEST}},b0=class{constructor(n){this.payload=n,this.type=Y.SAVE_USER_SURVEY_MIFID_FAILURE}},S0=class{constructor(n){this.payload=n,this.type=Y.SAVE_USER_SURVEY_MIFID_SUCCESS}},AT=class{constructor(){this.type=Y.GET_USER_SURVEY_MIFID_REQUEST}},I0=class{constructor(n){this.payload=n,this.type=Y.GET_USER_SURVEY_MIFID_FAILURE}},E0=class{constructor(n){this.payload=n,this.type=Y.GET_USER_SURVEY_MIFID_SUCCESS}},OT=class{constructor(){this.type=Y.GET_USER_SURVEY_FATCA_REQUEST}},w0=class{constructor(n){this.payload=n,this.type=Y.GET_USER_SURVEY_FATCA_FAILURE}},x0=class{constructor(n){this.payload=n,this.type=Y.GET_USER_SURVEY_FATCA_SUCCESS}},RT=class{constructor(n){this.payload=n,this.type=Y.POST_USER_SURVEY_FATCA_REQUEST}},Rd=class{constructor(n){this.payload=n,this.type=Y.POST_USER_SURVEY_FATCA_FAILURE}},D0=class{constructor(n){this.payload=n,this.type=Y.POST_USER_SURVEY_FATCA_SUCCESS}},PT=class{constructor(n){this.payload=n,this.type=Y.POST_USER_SURVEY_DUE_DILIGENCE_REQUEST}},kT=class{constructor(n){this.payload=n,this.type=Y.POST_USER_SURVEY_DUE_DILIGENCE_FAILURE}},T0=class{constructor(n){this.payload=n,this.type=Y.POST_USER_SURVEY_DUE_DILIGENCE_SUCCESS}},NT=class{constructor(){this.type=Y.GET_USER_SURVEY_DUE_DILIGENCE_REQUEST}},LT=class{constructor(n){this.payload=n,this.type=Y.GET_USER_SURVEY_DUE_DILIGENCE_FAILURE}},M0=class{constructor(n){this.payload=n,this.type=Y.GET_USER_SURVEY_DUE_DILIGENCE_SUCCESS}},FT=class{constructor(){this.type=Y.GET_USER_SURVEY_RISK_VALUE_REQUEST}},A0=class{constructor(n){this.payload=n,this.type=Y.GET_USER_SURVEY_RISK_VALUE_FAILURE}},O0=class{constructor(n){this.payload=n,this.type=Y.GET_USER_SURVEY_RISK_VALUE_SUCCESS}},R0=class{constructor(){this.type=Y.NO_OPERATION}},VT=class{constructor(){this.type=Y.GET_REGISTRATION_INFO_REQUEST}},P0=class{constructor(n){this.payload=n,this.type=Y.GET_REGISTRATION_INFO_SUCCESS}},k0=class{constructor(n){this.payload=n,this.type=Y.GET_REGISTRATION_INFO_FAILURE}},UT=class{constructor(){this.type=Y.POST_REGISTRATION_AUTOMATIC_REQUEST}},N0=class{constructor(n){this.payload=n,this.type=Y.POST_REGISTRATION_AUTOMATIC_SUCCESS}},L0=class{constructor(n){this.payload=n,this.type=Y.POST_REGISTRATION_AUTOMATIC_FAILURE}},HT=class{constructor(n){this.payload=n,this.type=Y.POST_USER_ACTIVE_SERVICE_REVOKE_SWITCH_REQUEST}},F0=class{constructor(n){this.payload=n,this.type=Y.POST_USER_ACTIVE_SERVICE_REVOKE_SWITCH_SUCCESS}},V0=class{constructor(n){this.payload=n,this.type=Y.POST_USER_ACTIVE_SERVICE_REVOKE_SWITCH_FAILURE}},BT=class{constructor(n){this.payload=n,this.type=Y.GET_USER_ACTIVE_SERVICES_REQUEST}},U0=class{constructor(n){this.payload=n,this.type=Y.GET_USER_ACTIVE_SERVICES_PAC_SUCCESS}},H0=class{constructor(n){this.payload=n,this.type=Y.GET_USER_ACTIVE_SERVICES_PASS_SUCCESS}},B0=class{constructor(n){this.payload=n,this.type=Y.GET_USER_ACTIVE_SERVICES_SWITCH_SUCCESS}},j0=class{constructor(n){this.payload=n,this.type=Y.GET_USER_ACTIVE_SERVICES_REIMBURSEMENT_SUCCESS}},lc=class{constructor(n){this.payload=n,this.type=Y.GET_USER_ACTIVE_SERVICES_FAILURE}},jT=class{constructor(n){this.payload=n,this.type=Y.POST_USER_ACTIVE_SERVICE_REVOKE_REIMBURSEMENT_REQUEST}},z0=class{constructor(n){this.payload=n,this.type=Y.POST_USER_ACTIVE_SERVICE_REVOKE_REIMBURSEMENT_SUCCESS}},G0=class{constructor(n){this.payload=n,this.type=Y.POST_USER_ACTIVE_SERVICE_REVOKE_REIMBURSEMENT_FAILURE}},zT=class{constructor(){this.type=Y.GET_REGISTRATION_PREFILL_REQUEST}},Lh=class{constructor(n){this.payload=n,this.type=Y.GET_REGISTRATION_PREFILL_SUCCESS}},GT=class{constructor(n){this.payload=n,this.type=Y.GET_REGISTRATION_PREFILL_FAILURE}},$T=class{constructor(){this.type=Y.CLEAR_PRIVACY_REGISTRATION}},WT=class{constructor(n){this.payload=n,this.type=Y.PUT_PRIVACY_REGISTRATION}},YT=class{constructor(){this.type=Y.PUT_REGISTRY_UPDATE_REQUEST}},$0=class{constructor(n){this.payload=n,this.type=Y.PUT_REGISTRY_UPDATE_SUCCESS}},W0=class{constructor(n){this.payload=n,this.type=Y.PUT_REGISTRY_UPDATE_FAILURE}},Y0=class{constructor(n){this.payload=n,this.type=Y.GET_USER_CONTACT_DETAILS_REQUEST}},q0=class{constructor(n){this.payload=n,this.type=Y.GET_USER_CONTACT_DETAILS_SUCCESS}},Q0=class{constructor(n){this.payload=n,this.type=Y.GET_USER_CONTACT_DETAILS_FAILURE}},qT=class{constructor(n){this.payload=n,this.type=Y.PUT_USER_CONTACT_DETAILS_REQUEST}},Z0=class{constructor(){this.type=Y.PUT_USER_CONTACT_DETAILS_SUCCESS}},K0=class{constructor(n){this.payload=n,this.type=Y.PUT_USER_CONTACT_DETAILS_FAILURE}},X0=class{constructor(n){this.payload=n,this.type=Y.GET_USER_CONTACT_DETAILS_FP_REQUEST}},J0=class{constructor(n){this.payload=n,this.type=Y.GET_USER_CONTACT_DETAILS_FP_SUCCESS}},em=class{constructor(n){this.payload=n,this.type=Y.GET_USER_CONTACT_DETAILS_FP_FAILURE}},QT=class{constructor(n){this.payload=n,this.type=Y.PUT_USER_CONTACT_DETAILS_FP_REQUEST}},tm=class{constructor(){this.type=Y.PUT_USER_CONTACT_DETAILS_FP_SUCCESS}},nm=class{constructor(n){this.payload=n,this.type=Y.PUT_USER_CONTACT_DETAILS_FP_FAILURE}},ZT=class{constructor(){this.type=Y.GET_USER_LEGAL_ENTITIES_REQUEST}},im=class{constructor(n){this.payload=n,this.type=Y.GET_USER_LEGAL_ENTITIES_SUCCESS}},rm=class{constructor(n){this.payload=n,this.type=Y.GET_USER_LEGAL_ENTITIES_FAILURE}},KT=class{constructor(){this.type=Y.MARK_IDENTITY_CARD_MODAL_SHOWN}};var Gi={};Ni(Gi,{getCommunicateWithUsSuccessAndIsLoading:()=>iN,getDueDiligenceCreationAndExpirationDate:()=>nN,getDueDiligenceQuestionsAndAnswers:()=>Xk,getFatcaCreationAndExpirationDate:()=>tN,getFatcaQuestionsAndAnswers:()=>Qk,getMifidCertification:()=>eN,getMifidCreationAndExpirationDate:()=>Jk,getMifidQuestionsAndAnswers:()=>qk,getUserSurveyFatcaResult:()=>Kk,getUserSurveyMifidResult:()=>Zk,selecetUserContractSigned:()=>Dne,selectActiveServiceRevokeReimbursement:()=>Wne,selectActiveServiceRevokeReimbursementError:()=>qne,selectActiveServiceRevokeReimbursementhIsLoading:()=>Yne,selectActiveServiceRevokeSwitch:()=>zne,selectActiveServiceRevokeSwitchError:()=>$ne,selectActiveServiceRevokeSwitchIsLoading:()=>Gne,selectCommunicateWithUsSuccessAndIsLoading:()=>uie,selectDueDiligenceDates:()=>die,selectFatcaDates:()=>cie,selectFatcaQuestionAndAnswersFromUserSurvey:()=>rie,selectIdentityCardModalShown:()=>Die,selectIsUserFull:()=>bie,selectMifidCertification:()=>yie,selectMifidDates:()=>lie,selectMifidQuestionAndAnswersFromUserSurvey:()=>iie,selectQuestionsAndAswersFromDueDiligence:()=>aie,selectRegistrationAutomatic:()=>Ane,selectRegistrationAutomaticError:()=>Jne,selectRegistrationAutomaticIsLoading:()=>oN,selectRegistrationInfo:()=>Mne,selectRegistrationInfoIsLoading:()=>sN,selectRegistrationModeIsReady:()=>Qne,selectRegistrationPrefill:()=>Zne,selectRegistrationPrefillIsLoading:()=>Xne,selectRegistrationPrivacyValue:()=>eie,selectRegistryUpdateResult:()=>Kne,selectUser:()=>Tne,selectUserActiveServicePac:()=>One,selectUserActiveServicePacError:()=>Pne,selectUserActiveServicePacIsLoading:()=>Rne,selectUserActiveServicePass:()=>kne,selectUserActiveServicePassError:()=>Lne,selectUserActiveServicePassIsLoading:()=>Nne,selectUserActiveServiceReimbursement:()=>Hne,selectUserActiveServiceReimbursementError:()=>jne,selectUserActiveServiceReimbursementIsLoading:()=>Bne,selectUserActiveServiceSwitch:()=>Fne,selectUserActiveServiceSwitchError:()=>Une,selectUserActiveServiceSwitchIsLoading:()=>Vne,selectUserBankAccounts:()=>tie,selectUserBirthDate:()=>xie,selectUserContactDetails:()=>Iie,selectUserContactDetailsFP:()=>Eie,selectUserError:()=>xne,selectUserIbanCertificationWarning:()=>_ie,selectUserIdentity:()=>nie,selectUserIsLoading:()=>rN,selectUserPensionFundAdhesionWarning:()=>gie,selectUserProfileWarning:()=>vie,selectUserRegistryWarning:()=>Cie,selectUserRiskValue:()=>Sie,selectUserState:()=>ft,selectUserSubjectResponse:()=>wie,selectUserSubscriptionWarning:()=>fie,selectUserSurveyFatcaResult:()=>sie,selectUserSurveyMifidResult:()=>oie,selectUserSurveyWarning:()=>hie,selectUserSurveyWarningPensionFund:()=>pie,selectUserUserBankAccountsWarning:()=>mie});var Fte=e=>e.error||e.registrationInfoError||e.registrationAutomaticError,Vte=e=>e.isLoading||e.registrationInfoLoading||e.registrationAutomaticLoading,Ute=e=>e.user,Hte=e=>e.user?.userInfo?.birthDate,Bte=e=>e.user?.bankAccounts,jte=e=>e.user?.userIdentity,XT=e=>Fh(e)&&(!e.user?.userInfo||!e.user?.userInfo.sex||!e.user?.userInfo.nationCode||!e.user?.userInfo.birthProvince||!e.user?.userInfo.birthPlace||!e.user?.userInfo.birthDate||!e.user?.userInfo.residenceAddress||!e.user?.userInfo.residenceProvince||!e.user?.userInfo.residencePlace||!e.user?.userInfo.residencePostalCode&&e.user?.userInfo.residenceProvince!="ES-Estero"||!e.user?.userIdentity?.documentType||!e.user?.userIdentity.documentNo||!e.user?.userIdentity.releaseDate||!e.user?.userIdentity.expireDate||new Date(e.user?.userIdentity.expireDate)<new Date||!e.user?.userIdentity.releasedBy),JT=e=>Fh(e)&&(!e.user?.hasValidSurveyDueDiligence||!e.user?.hasValidSurveyFatca||!e.user?.hasValidSurveyMifid),$y=e=>Fh(e)&&(!e.user?.bankAccounts||!e.user?.bankAccounts.length),e4=e=>Fh(e)&&Wte(e)&&!e.user?.hasIbanCertification,Yk=e=>JT(e)||XT(e)||$y(e)||e4(e),zte=e=>JT(e)||$y(e)||Yk(e)||e4(e),Gte=e=>t4(e)||XT(e),t4=e=>Fh(e)&&!e.user?.hasValidSurveyDueDiligence,$te=e=>t4(e)||$y(e)||Gte(e),Fh=e=>e.user?.service==o7||e.user?.service==s7||e.user?.service==a7||e.user?.service==l7,Wte=e=>e.user?.bankAccounts!=null&&e.user?.bankAccounts.length>0,Yte=e=>e.userRiskValue,qte=e=>e.registrationInfo,Qte=e=>e.registrationInfoLoading,Zte=e=>e.registrationAutomatic,Kte=e=>e.registrationAutomaticLoading,Xte=e=>e.registrationAutomaticError,Jte=e=>e.registrationPrefill,ene=e=>e.registrationPrefillLoading,tne=e=>e.privacy,nne=e=>e.registryUpdate,ine=e=>e.userContactDetails,rne=e=>e.userContactDetailsFP,one=e=>e.userSubjectResponse,sne=e=>e.identityCardModalShown,ane=e=>e.user?.contractSigned,lne=e=>e.activeServiceRevokeSwitch,cne=e=>e.activeServiceRevokeSwitchLoading,dne=e=>e.activeServiceRevokeSwitchError,une=e=>e.userActiveServicePac,hne=e=>e.userActiveServicePacLoading,pne=e=>e.userActiveServicePacError,fne=e=>e.userActiveServicePass,gne=e=>e.userActiveServicePassLoading,mne=e=>e.userActiveServicePassError,vne=e=>e.userActiveServiceSwitch,Cne=e=>e.userActiveServiceSwitchLoading,_ne=e=>e.userActiveServiceSwitchError,yne=e=>e.userActiveServiceReimbursement,bne=e=>e.userActiveServiceReimbursementLoading,Sne=e=>e.userActiveServiceReimbursementError,Ine=e=>e.activeServiceRevokeReimbursement,Ene=e=>e.activeServiceRevokeReimbursementLoading,wne=e=>e.activeServiceRevokeReimbursementError,qk=e=>e.userSurveyMifidQuestionsAndAnswers?.answersList,Qk=e=>e.userSurveyFatcaQuestionsAndAnswers?.answersList,Zk=e=>e.userSurveyMifidResult,Kk=e=>e.userSurveyFatcaResult,Xk=e=>e.userSurveyDueDiligenceQuestionsAndAnswers?.answersList,Jk=e=>({creationDate:e.userSurveyMifidQuestionsAndAnswers?.creationDate,expirationDate:e.userSurveyMifidQuestionsAndAnswers?.expirationDate}),eN=e=>({expireDate:e.userSurveyMifidQuestionsAndAnswers?.expirationDate,riskProfile:e.userSurveyMifidQuestionsAndAnswers?.riskProfile?.riskValue,kiid:e.userSurveyMifidQuestionsAndAnswers?.riskProfile?.kiid}),tN=e=>({creationDate:e.userSurveyFatcaQuestionsAndAnswers?.creationDate,expirationDate:e.userSurveyFatcaQuestionsAndAnswers?.expirationDate}),nN=e=>({creationDate:e.userSurveyDueDiligenceQuestionsAndAnswers?.creationDate,expirationDate:e.userSurveyDueDiligenceQuestionsAndAnswers?.expirationDate}),iN=e=>({communicateWithUsSuccess:e.communicateWithUsSuccess,isLoading:e.isLoading}),ft=Mi("user"),xne=Ce(ft,Fte),rN=Ce(ft,Vte),Dne=Ce(ft,ane),Tne=Ce(ft,Ute),Mne=Ce(ft,qte),Ane=Ce(ft,Zte),oN=Ce(ft,Kte),sN=Ce(ft,Qte),One=Ce(ft,une),Rne=Ce(ft,hne),Pne=Ce(ft,pne),kne=Ce(ft,fne),Nne=Ce(ft,gne),Lne=Ce(ft,mne),Fne=Ce(ft,vne),Vne=Ce(ft,Cne),Une=Ce(ft,_ne),Hne=Ce(ft,yne),Bne=Ce(ft,bne),jne=Ce(ft,Sne),zne=Ce(ft,lne),Gne=Ce(ft,cne),$ne=Ce(ft,dne),Wne=Ce(ft,Ine),Yne=Ce(ft,Ene),qne=Ce(ft,wne),Qne=Ce(rN,oN,sN,(e,n,t)=>
31!(e||n||t)),Zne=Ce(ft,Jte),Kne=Ce(ft,nne),Xne=Ce(ft,ene),Jne=Ce(ft,Xte),eie=Ce(ft,tne),tie=Ce(ft,Bte),nie=Ce(ft,jte),iie=Ce(ft,qk),rie=Ce(ft,Qk),oie=Ce(ft,Zk),sie=Ce(ft,Kk),aie=Ce(ft,Xk),lie=Ce(ft,Jk),cie=Ce(ft,tN),die=Ce(ft,nN),uie=Ce(ft,iN),hie=Ce(ft,JT),pie=Ce(ft,t4),fie=Ce(ft,zte),gie=Ce(ft,$te),mie=Ce(ft,$y),vie=Ce(ft,Yk),Cie=Ce(ft,XT),_ie=Ce(ft,e4),yie=Ce(ft,eN),bie=Ce(ft,Fh),Sie=Ce(ft,Yte),Iie=Ce(ft,ine),Eie=Ce(ft,rne),wie=Ce(ft,one),xie=Ce(ft,Hte),Die=Ce(ft,sne);var aN={user:null,userSurveyMifidResult:null,userSurveyFatcaResult:null,userSurveyMifidQuestionsAndAnswers:null,userSurveyFatcaQuestionsAndAnswers:null,userSurveyDueDiligenceQuestionsAndAnswers:null,isLoading:!1,error:"",communicateWithUs:null,communicateWithUsSuccess:!1,userRiskValue:0,registrationInfo:null,registrationInfoError:"",registrationInfoLoading:!1,registrationAutomatic:null,registrationAutomaticError:"",registrationAutomaticLoading:!1,activeServiceRevokeSwitch:null,activeServiceRevokeSwitchError:"",activeServiceRevokeSwitchLoading:!1,activeServiceRevokeReimbursement:null,activeServiceRevokeReimbursementError:"",activeServiceRevokeReimbursementLoading:!1,registrationPrefill:{prefill:!1,user:null},registrationPrefillError:"",registrationPrefillLoading:!1,registryUpdate:null,registryUpdateError:"",registryUpdateLoading:!1,privacy:null,userContactDetails:null,userContactDetailsLoading:!1,userContactDetailsError:"",userContactDetailsFP:null,userContactDetailsFPLoading:!1,userContactDetailsFPError:"",userSubjectResponse:{legalEntities:[],delegatePeople:[]},userSubjectResponseLoading:!1,userSubjectResponseError:"",userActiveServicePac:null,userActiveServicePacError:"",userActiveServicePacLoading:!1,userActiveServicePass:null,userActiveServicePassError:"",userActiveServicePassLoading:!1,userActiveServiceReimbursement:null,userActiveServiceReimbursementError:"",userActiveServiceReimbursementLoading:!1,userActiveServiceSwitch:null,userActiveServiceSwitchError:"",userActiveServiceSwitchLoading:!1,identityCardModalShown:!1};var kd=Tp(Dh());var Bt=e=>e instanceof Xc?`HttpErrorResponse status[${e.status}] message[${e.message}]`:JSON.stringify(e),tIe=(e,n)=>t=>t.parent?e(t)&&n!=null?n(t):sl.nullValidator(t):null,nIe=e=>{let n=(0,kd.default)(e.value,xd).toDate();return!0?null:{birthDate:!0}},iIe=(e,n)=>{let t=(0,kd.default)(e.value,n??xd).toDate();return new Date().getTime()-t.getTime()>568111536e3?null:{birthDate18YearsOld:!0}},rIe=e=>{let n=(0,kd.default)(new Date,xd).toDate();return(0,kd.default)(e.value,xd).toDate()<=n?null:{releaseDate:!0}},oIe=e=>{let n=(0,kd.default)(new Date,xd).toDate();return(0,kd.default)(e.value,xd).toDate()>n?null:{releaseDate:!0}},sIe=e=>{let n=e;return n?.length??n.controls.some(i=>i.value.key==="")?null:{atLeastOneError:!0}},aIe=e=>e?.length===1?null:{multiSelectError:!0},lIe=(e,n)=>e?.length<=n?null:{MaxLengthArray:!0},cIe=e=>!!e&&(e.valid||!e.touched),n4=e=>Array.isArray(e)?new Date(e[0],e[1]-1,e[2]):e,us=(e=6)=>Math.random().toString(36).substring(2,2+e),dIe=(e,n,t,i)=>{let r=`${e}-checkbox${n}-${t}`;return(i||i==0)&&(r+=`-${i}`),r},uIe=(e,n,t)=>{e&&e.nativeElement&&setTimeout(()=>{let i=e.nativeElement?.querySelectorAll(n);i&&i.forEach(r=>r.removeAttribute(t))})},Mie=e=>e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),hIe=(e,n,t)=>e.replace(new RegExp(Mie(n),"g"),t),pIe=e=>{let n=new Date,t=n.getFullYear()-e.getFullYear(),i=n.getMonth()-e.getMonth(),r=n.getDate()-e.getDate();return(i<0||i===0&&r<0)&&t--,t},fIe=e=>e instanceof Date&&!isNaN(e.getTime());var lN=(()=>{class e{constructor(t,i){this.actions$=t,this.userService=i,this.loginRequestEffect$=ke(()=>this.actions$.pipe(Ne(Y.LOGIN_REQUEST),Te(r=>this.userService.login(r.payload.username,r.payload.password).pipe(fe(o=>new Xg({user:o})),Pe(o=>pe(new Kg({error:o}))))))),this.loginSuccessEffect$=ke(()=>this.actions$.pipe(Ne(Y.LOGIN_SUCCESS),pn(()=>this.userService.onLoginSuccess())),{dispatch:!1}),this.userByTaxCodeRequestEffect$=ke(()=>this.actions$.pipe(Ne(Y.PROFILE_INFO_REQUEST),Te(r=>this.userService.getUser().pipe(fe(o=>(o.userIdentity&&(o.userIdentity.expireDate=n4(o.userIdentity.expireDate),o.userIdentity.releaseDate=n4(o.userIdentity.releaseDate)),new e0({user:o}))),Pe(o=>pe(new Jg({error:Bt(o)}
31))))))),this.profileInfoFailureEffect$=ke(()=>this.actions$.pipe(Ne(Y.PROFILE_INFO_FAILURE),pn(()=>this.userService.goToCourtesyPage())),{dispatch:!1}),this.editUserInfoRequestEffect$=ke(()=>this.actions$.pipe(Ne(Y.EDIT_USER_INFO_REQUEST),Te(r=>this.userService.editUserInfo(r.payload.user).pipe(fe(o=>new r0(r.payload)),Pe(o=>pe(new i0({error:o}))))))),this.editProfileInfoPostRequestEffect$=ke(()=>this.actions$.pipe(Ne(Y.EDIT_PROFILE_INFO_POST_REQUEST),Te(r=>this.userService.editUserProfile(r.payload.user).pipe(fe(o=>new n0(r.payload)),Pe(o=>pe(new t0({error:o}))))))),this.editProfilePasswordRequestEffect$=ke(()=>this.actions$.pipe(Ne(Y.EDIT_PROFILE_PASSWORD_POST_REQUEST),Te(r=>this.userService.editProfilePassword(r.payload.otp,r.payload.password).pipe(fe(o=>new s0),Pe(o=>pe(new o0({error:o}))))))),this.editAccountRequestEffect$=ke(()=>this.actions$.pipe(Ne(Y.EDIT_BANK_ACCOUNT_REQUEST),Te(r=>this.userService.editUserBankAccount(r.payload.bankAccount).pipe(fe(o=>new l0(r.payload)),Pe(o=>pe(new a0({error:o}))))))),this.editAccountSuccessEffect=ke(()=>this.actions$.pipe(Ne(Y.EDIT_BANK_ACCOUNT_SUCCESS),Te(r=>pe(new Jr)))),this.editAccountFailureEffect=ke(()=>this.actions$.pipe(Ne(Y.EDIT_BANK_ACCOUNT_FAILURE),Te(r=>pe(new Jr)))),this.deleteAccountRequestEffect$=ke(()=>this.actions$.pipe(Ne(Y.DELETE_BANK_ACCOUNT_REQUEST),Te(r=>this.userService.deleteUserBankAccount(r.payload.bankAccount).pipe(fe(o=>{let l=r.payload.bankAccount.id?r.payload.bankAccount.id:"";return new d0({bankAccountId:l})}),Pe(o=>pe(new c0({error:o}))))))),this.deleteAccountRequestSuccessEffect=ke(()=>this.actions$.pipe(Ne(Y.DELETE_BANK_ACCOUNT_SUCCESS),Te(r=>pe(new Jr)))),this.deleteDelegationRequestEffect$=ke(()=>this.actions$.pipe(Ne(Y.DELETE_DELEGATION_REQUEST),Te(r=>this.userService.deleteUserDelegation(r.payload.delegation).pipe(fe(o=>{let l=r.payload.delegation.id?r.payload.delegation.id:"";return new h0({delegationId:l})}),Pe(o=>pe(new u0({error:o}))))))),this.deleteDelegationRequestSuccessEffect=ke(()=>this.actions$.pipe(Ne(Y.DELETE_DELEGATION_SUCCESS),Te(r=>pe(new Jr)))),this.addBankAccountRequestEffect$=ke(()=>this.actions$.pipe(Ne(Y.ADD_BANK_ACCOUNT_REQUEST),Te(r=>this.userService.addUserBankAccount(r.payload.bankAccount).pipe(fe(o=>new f0({bankAccount:r.payload.bankAccount,id:o})),Pe(o=>pe(new p0({error:o}))))))),this.addDelegationRequestEffect$=ke(()=>this.actions$.pipe(Ne(Y.ADD_DELEGATION_REQUEST),Te(r=>this.userService.addDelegation(r.payload.delegation).pipe(fe(o=>new m0({delegation:r.payload.delegation,id:o})),Pe(o=>pe(new g0({error:o}))))))),this.addAccountSuccessEffect=ke(()=>this.actions$.pipe(Ne(Y.ADD_BANK_ACCOUNT_SUCCESS),Te(r=>pe(new Jr)))),this.addAccountFailureEffect=ke(()=>this.actions$.pipe(Ne(Y.ADD_BANK_ACCOUNT_FAILURE),Te(r=>pe(new Jr)))),this.communicateWithUsRequestEffect$=ke(()=>this.actions$.pipe(Ne(Y.COMMUNICATE_WITH_US_REQUEST),Te(r=>this.userService.sendMessageRequest(r.payload.request).pipe(fe(o=>new y0),Pe(o=>pe(new _0({error:o}))))))),this.editUserIdentityRequestEffect$=ke(()=>this.actions$.pipe(Ne(Y.EDIT_USER_IDENTITY_REQUEST),Te(r=>this.userService.editUserIdentity(r.payload.userIdentity).pipe(fe(o=>new C0(r.payload)),Pe(o=>pe(new v0({error:o}))))))),this.saveUserSurveyMifidRequestEffect$=ke(()=>this.actions$.pipe(Ne(Y.SAVE_USER_SURVEY_MIFID_REQUEST),Te(r=>this.userService.saveUserSurveyMifid(r.payload.userSurveyMifidQuestionsAndAnswers).pipe(fe(o=>new S0({userSurveyMifidResult:o})),Pe(o=>pe(new b0({error:o}))))))),this.getUserSurveyMifidEffect=ke(()=>this.actions$.pipe(Ne(Y.GET_USER_SURVEY_MIFID_REQUEST),Te(r=>this.userService.getUserSurveyMifid().pipe(fe(o=>new E0({answers:o})),Pe(o=>pe(new I0({error:o}))))))),this.getUserSurveyFatcaEffect=ke(()=>this.actions$.pipe(Ne(Y.GET_USER_SURVEY_FATCA_REQUEST),Te(r=>this.userService.getUserSurveyFatca().pipe(fe(o=>new x0({answers:o})),Pe(o=>pe(new w0({error:o}))))))),this.postUserSurveyFatcaEffect=ke(()=>this.actions$.pipe(Ne(Y.POST_USER_SURVEY_FATCA_REQUEST),Te(r=>this.userService.saveUserSurveyFatca(r.payload.answers).pipe(fe(o=>new D0({userSurveyFatcaResult:o})),Pe(o=>pe(new Rd({error:o}))))))),this.postUserSurveyFatcaSuccessEffect=ke(()=>this.actions$.pipe(Ne(Y.POST_USER_SURVEY_FATCA_SUCCESS),Te(r=>pe(new Jr)))),this.postUserSurveyDueDiligenceSuccessEffect=ke(()=>this.actions$.pipe(Ne(Y.POST_USER_SURVEY_DUE_DILIGENCE_SUCCESS),Te(r=>pe(new Jr)))),this.saveUserSurveyMifidSuccessEffect=ke(()=>this.actions$.pipe(Ne(Y.SAVE_USER_SURVEY_MIFID_SUCCESS),Te(r=>pe(new Jr)))),this.postUserSurveyDueDiligenceEffect=ke(()=>this.actions$.pipe(Ne(Y.POST_USER_SURVEY_DUE_DILIGENCE_REQUEST),Te(r=>this.userService.saveUserSurveyDueDiligence(r.payload).pipe(fe(o=>new T0(r.payload)),Pe(o=>pe(new Rd({error:o}))))))),this.getUserActiveServicesEffect=ke(()=>this.actions$.pipe(Ne(Y.GET_USER_ACTIVE_SERVICES_REQUEST),Te(r=>{switch(r.payload){case"PAC":return this.userService.getUserActiveServices(r.payload).pipe(fe(l=>new U0(l)),Pe(l=>pe(new lc({error:l}))));case"PASS":return this.userService.getUserActiveServices(r.payload).pipe(fe(l=>new H0(l)),Pe(l=>pe(new lc({error:l}))));case"SWITCH":return this.userService.getUserActiveServices(r.payload).pipe(fe(l=>new B0(l)),Pe(l=>pe(new lc({error:l}))));case"REIMBURSEMENT":return this.userService.getUserActiveServices(r.payload).pipe(fe(l=>new j0(l)),Pe(l=>pe(new lc({error:l}))))}}))),this.getUserSurveyDueDiligenceEffect=ke(()=>this.actions$.pipe(Ne(Y.GET_USER_SURVEY_DUE_DILIGENCE_REQUEST),Te(r=>this.userService.getUserSurveyDueDiligence().pipe(fe(o=>new M0(o)),Pe(o=>pe(new Rd({error:o}))))))),this.getUserSurveyRiskValueEffect=ke(()=>this.actions$.pipe(Ne(Y.GET_USER_SURVEY_RISK_VALUE_REQUEST),Te(r=>this.userService.getRiskValue().pipe(fe(o=>new O0(o)),Pe(o=>pe(new A0({error:o}))))))),this.getRegistrationInfoEffect=ke(()=>this.actions$.pipe(Ne(Y.GET_REGISTRATION_INFO_REQUEST),Te(r=>this.userService.getRegistrationInfo().pipe(fe(o=>new P0(o)),Pe(o=>pe(new k0({error:o}))))))),this.postRegistratioAutomaticEffect=ke(()=>this.actions$.pipe(Ne(Y.POST_REGISTRATION_AUTOMATIC_REQUEST),Te(r=>this.userService.registrationAutomatic().pipe(fe(o=>new N0(o)),Pe(o=>pe(new L0({error:o}))))))),this.postRegistratioAutomaticSuccessEffect$=ke(()=>this.actions$.pipe(Ne(Y.POST_REGISTRATION_AUTOMATIC_SUCCESS),Te(r=>{let o=r.payload;return o?.success&&o?.id?(this.userService.redirectToHomeAndRefresh(),pe(new Jr)):pe(ne
31w R0)}))),this.postActiveServiceRevokeSwitchEffect=ke(()=>this.actions$.pipe(Ne(Y.POST_USER_ACTIVE_SERVICE_REVOKE_SWITCH_REQUEST),Te(r=>this.userService.postUserActiveServicesRevokeSwitch(r.payload).pipe(fe(o=>new F0(o)),Pe(o=>pe(new V0({error:o}))))))),this.postActiveServiceRevokeReiumbursementEffect=ke(()=>this.actions$.pipe(Ne(Y.POST_USER_ACTIVE_SERVICE_REVOKE_REIMBURSEMENT_REQUEST),Te(r=>this.userService.postUserActiveServicesRevokeReimbursement(r.payload).pipe(fe(o=>new z0(o)),Pe(o=>pe(new G0({error:o}))))))),this.getRegistrationPrefillEffect=ke(()=>this.actions$.pipe(Ne(Y.GET_REGISTRATION_PREFILL_REQUEST),Te(r=>this.userService.registrationPrefill().pipe(fe(o=>new Lh(o)),Pe(o=>pe(new Lh({prefill:!1}))))))),this.putRegistryUpdateEffect=ke(()=>this.actions$.pipe(Ne(Y.PUT_REGISTRY_UPDATE_REQUEST),Te(r=>this.userService.registryUpdate().pipe(fe(o=>new $0(o)),Pe(o=>pe(new W0({error:o}))))))),this.getUserContactDetailsEffect=ke(()=>this.actions$.pipe(Ne(Y.GET_USER_CONTACT_DETAILS_REQUEST),Te(r=>this.userService.getUserContactDetails(r.payload.fundType).pipe(fe(o=>new q0(o)),Pe(o=>pe(new Q0({error:o}))))))),this.putUserContactDetailsEffect=ke(()=>this.actions$.pipe(Ne(Y.PUT_USER_CONTACT_DETAILS_REQUEST),Te(r=>this.userService.putUserContactDetails(r.payload.id,r.payload.body).pipe(fe(()=>new Z0),fe(()=>new Y0({fundType:r.payload.body.fundType})),Pe(o=>pe(new K0({error:o}))))))),this.getUserContactDetailsFPEffect=ke(()=>this.actions$.pipe(Ne(Y.GET_USER_CONTACT_DETAILS_FP_REQUEST),Te(r=>this.userService.getUserContactDetails(r.payload.fundType).pipe(fe(o=>new J0(o)),Pe(o=>pe(new em({error:o}))))))),this.putUserContactDetailsPFEffect=ke(()=>this.actions$.pipe(Ne(Y.PUT_USER_CONTACT_DETAILS_FP_REQUEST),Te(r=>this.userService.putUserContactDetails(r.payload.id,r.payload.body).pipe(Te(o=>pe(new tm,new Jr,new X0({fundType:r.payload.body.fundType}))),Pe(o=>pe(new nm({error:o}))))))),this.getUserSubjectEffect=ke(()=>this.actions$.pipe(Ne(Y.GET_USER_LEGAL_ENTITIES_REQUEST),Te(r=>this.userService.getLegalEntities().pipe(fe(o=>new im(o)),Pe(o=>pe(new rm({error:o})))))))}static{this.\u0275fac=function(i){return new(i||e)(ae(zi),ae(ds))}}static{this.\u0275prov=le({token:e,factory:e.\u0275fac})}}return e})();function cN(e=aN,n){switch(n.type){case Y.LOGIN_REQUEST:return U(k({},e),{user:null,error:"",isLoading:!0});case Y.LOGIN_SUCCESS:return U(k({},e),{user:n.payload.user,error:"",isLoading:!1});case Y.LOGIN_FAILURE:return U(k({},e),{user:null,error:n.payload.error,isLoading:!1});case Y.PROFILE_INFO_REQUEST:return U(k({},e),{isLoading:!0,error:""});case Y.PROFILE_INFO_SUCCESS:return U(k({},e),{user:U(k({},n.payload.user),{bankAccounts:n.payload.user.bankAccounts,userIdentity:n.payload.user.userIdentity,userInfo:n.payload.user.userInfo,userLight:n.payload.user.userLight,id:n.payload.user.id,taxCode:n.payload.user.taxCode,email:n.payload.user.email,pensionFundCommunicationPreference:n.payload.user.pensionFundCommunicationPreference}),isLoading:!1,error:""});case Y.PROFILE_INFO_FAILURE:return U(k({},e),{isLoading:!1,error:n.payload.error});case Y.EDIT_PROFILE_INFO_POST_REQUEST:return U(k({},e),{error:"",isLoading:!0});case Y.EDIT_PROFILE_INFO_POST_SUCCESS:return U(k({},e),{user:U(k({},e.user),{email:n.payload.user.email,userInfo:U(k({},e.user?.userInfo),{telephone:n.payload.user.userInfo?.telephone,mobileNumber:n.payload.user.userInfo?.mobileNumber})}),error:"",isLoading:!1});case Y.EDIT_PROFILE_INFO_POST_FAILURE:return U(k({},e),{user:null,error:n.payload.error,isLoading:!1});case Y.EDIT_USER_INFO_REQUEST:return U(k({},e),{error:"",isLoading:!0});case Y.EDIT_USER_INFO_FAILURE:return U(k({},e),{error:n.payload.error,isLoading:!1});case Y.EDIT_USER_INFO_SUCCESS:return U(k({},e),{error:"",isLoading:!1,user:U(k({},e.user),{email:n.payload.user.email,taxCode:n.payload.user.taxCode,userInfo:n.payload.user.userInfo})});case Y.EDIT_PROFILE_PASSWORD_POST_REQUEST:return U(k({},e),{error:"",isLoading:!0});case Y.EDIT_PROFILE_PASSWORD_POST_SUCCESS:return U(k({},e),{error:"",isLoading:!1});case Y.EDIT_PROFILE_PASSWORD_POST_FAILURE:return U(k({}
31,e),{user:null,error:n.payload.error,isLoading:!1});case Y.EDIT_BANK_ACCOUNT_REQUEST:return U(k({},e),{error:"",isLoading:!0});case Y.EDIT_BANK_ACCOUNT_SUCCESS:let t=e.user?.bankAccounts;return t=t?.map(i=>{if(i.id===n.payload.bankAccount.id)return n.payload.bankAccount;if(n.payload.bankAccount.main){let r=Object.assign({},i);return r.main=!1,r}return i}),U(k({},e),{user:U(k({},e.user),{bankAccounts:t}),error:"",isLoading:!1});case Y.EDIT_BANK_ACCOUNT_FAILURE:return U(k({},e),{user:null,error:n.payload.error,isLoading:!1});case Y.DELETE_BANK_ACCOUNT_REQUEST:return U(k({},e),{error:"",isLoading:!0});case Y.DELETE_BANK_ACCOUNT_SUCCESS:if(e.user?.bankAccounts){let i=e.user.bankAccounts;return i=i.filter((r,o)=>r.id!==n.payload.bankAccountId),U(k({},e),{user:U(k({},e.user),{bankAccounts:i}),error:"",isLoading:!1})}return U(k({},e),{error:"",isLoading:!1});case Y.DELETE_BANK_ACCOUNT_FAILURE:return U(k({},e),{error:n.payload.error,isLoading:!1});case Y.ADD_BANK_ACCOUNT_REQUEST:return U(k({},e),{error:"",isLoading:!0});case Y.ADD_BANK_ACCOUNT_SUCCESS:return U(k({},e),{user:U(k({},e.user),{bankAccounts:e.user?.bankAccounts?[...e.user?.bankAccounts,U(k({},n.payload.bankAccount),{id:n.payload.id})]:[U(k({},n.payload.bankAccount),{id:n.payload.id})]}),error:"",isLoading:!1});case Y.ADD_BANK_ACCOUNT_FAILURE:return U(k({},e),{user:null,error:n.payload.error,isLoading:!1});case Y.ADD_DELEGATION_REQUEST:return U(k({},e),{error:"",isLoading:!0});case Y.ADD_DELEGATION_SUCCESS:return U(k({},e),{user:U(k({},e.user),{delegations:e.user?.delegations?[...e.user?.delegations,U(k({},n.payload.delegation),{id:n.payload.id})]:[U(k({},n.payload.delegation),{id:n.payload.id})]}),error:"",isLoading:!1});case Y.ADD_DELEGATION_FAILURE:return U(k({},e),{user:null,error:n.payload.error,isLoading:!1});case Y.DELETE_DELEGATION_REQUEST:return U(k({},e),{error:"",isLoading:!0});case Y.DELETE_DELEGATION_SUCCESS:if(e.user?.delegations){let i=e.user.delegations;return i=i.filter((r,o)=>r.id!==n.payload.delegationId),U(k({},e),{user:U(k({},e.user),{delegations:i}),error:"",isLoading:!1})}return U(k({},e),{error:"",isLoading:!1});case Y.DELETE_DELEGATION_FAILURE:return U(k({},e),{user:null,error:n.payload.error,isLoading:!1});case Y.EDIT_USER_IDENTITY_REQUEST:return U(k({},e),{error:"",isLoading:!0});case Y.EDIT_USER_IDENTITY_FAILURE:return U(k({},e),{user:null,error:n.payload.error,isLoading:!1});case Y.EDIT_USER_IDENTITY_SUCCESS:return U(k({},e),{user:U(k({},e.user),{hasValidSurveyDueDiligence:!1,userIdentity:n.payload.userIdentity}),error:"",isLoading:!1});case Y.COMMUNICATE_WITH_US_REQUEST:return U(k({},e),{communicateWithUs:k({},e.communicateWithUs),error:"",communicateWithUsSuccess:!1,isLoading:!0});case Y.COMMUNICATE_WITH_US_SUCCESS:return U(k({},e),{communicateWithUs:k({},e.communicateWithUs),error:"",communicateWithUsSuccess:!0,isLoading:!1});case Y.COMMUNICATE_WITH_US_FAILURE:return U(k({},e),{error:n.payload.error,isLoading:!1});case Y.SAVE_USER_SURVEY_MIFID_REQUEST:return U(k({},e),{userSurveyMifidResult:null,error:"",isLoading:!0});case Y.SAVE_USER_SURVEY_MIFID_SUCCESS:return U(k({},e),{userSurveyMifidResult:n.payload.userSurveyMifidResult,error:"",isLoading:!1});case Y.SAVE_USER_SURVEY_MIFID_FAILURE:return U(k({},e),{error:n.payload.error,isLoading:!1});case Y.GET_USER_SURVEY_MIFID_REQUEST:return U(k({},e),{error:"",isLoading:!0});case Y.GET_USER_SURVEY_MIFID_FAILURE:return U(k({},e),{error:n.payload.error,isLoading:!1});case Y.GET_USER_SURVEY_MIFID_SUCCESS:return U(k({},e),{userSurveyMifidQuestionsAndAnswers:n.payload.answers,error:"",isLoading:!1});case Y.GET_USER_SURVEY_FATCA_REQUEST:return U(k({},e),{userSurveyFatcaQuestionsAndAnswers:null,error:"",isLoading:!0});case Y.GET_USER_SURVEY_FATCA_FAILURE:return U(k({},e),{userSurveyFatcaQuestionsAndAnswers:null,error:n.payload.error,isLoading:!1});case Y.GET_USER_SURVEY_FATCA_SUCCESS:return U(k({},e),{userSurveyFatcaQuestionsAndAnswers:n.payload.answers,error:"",isLoading:!1});case Y.POST_USER_SURVEY_FATCA_REQUEST:return U(k({},e),{userSurveyFatcaResult:null,error:"",isLoading:!0});case Y.POST_USER_SURVEY_FATCA_FAILURE:return U(k({}
31,e),{userSurveyFatcaResult:null,error:n.payload.error,isLoading:!1});case Y.POST_USER_SURVEY_FATCA_SUCCESS:return U(k({},e),{userSurveyFatcaResult:n.payload.userSurveyFatcaResult,error:"",isLoading:!1});case Y.POST_USER_SURVEY_DUE_DILIGENCE_REQUEST:return U(k({},e),{error:"",isLoading:!0});case Y.POST_USER_SURVEY_DUE_DILIGENCE_FAILURE:return U(k({},e),{error:n.payload.error,isLoading:!1});case Y.GET_USER_ACTIVE_SERVICES_PAC_SUCCESS:return U(k({},e),{error:"",isLoading:!1,userActiveServicePac:n.payload});case Y.GET_USER_ACTIVE_SERVICES_PASS_SUCCESS:return U(k({},e),{error:"",isLoading:!1,userActiveServicePass:n.payload});case Y.GET_USER_ACTIVE_SERVICES_SWITCH_SUCCESS:return U(k({},e),{error:"",isLoading:!1,userActiveServiceSwitch:n.payload});case Y.GET_USER_ACTIVE_SERVICES_REIMBURSEMENT_SUCCESS:return U(k({},e),{error:"",isLoading:!1,userActiveServiceReimbursement:n.payload});case Y.GET_USER_ACTIVE_SERVICES_REQUEST:return U(k({},e),{error:"",isLoading:!0});case Y.GET_USER_ACTIVE_SERVICES_FAILURE:return U(k({},e),{error:n.payload.error,isLoading:!1});case Y.POST_USER_SURVEY_DUE_DILIGENCE_SUCCESS:return U(k({},e),{error:"",isLoading:!1,userSurveyDueDiligenceQuestionsAndAnswers:n.payload});case Y.GET_USER_SURVEY_DUE_DILIGENCE_REQUEST:return U(k({},e),{error:"",isLoading:!0});case Y.GET_USER_SURVEY_DUE_DILIGENCE_FAILURE:return U(k({},e),{error:n.payload.error,isLoading:!1});case Y.GET_USER_SURVEY_DUE_DILIGENCE_SUCCESS:return U(k({},e),{error:"",isLoading:!1,userSurveyDueDiligenceQuestionsAndAnswers:n.payload});case Y.GET_USER_SURVEY_RISK_VALUE_REQUEST:return U(k({},e),{error:"",isLoading:!0,userRiskValue:0});case Y.GET_USER_SURVEY_RISK_VALUE_FAILURE:return U(k({},e),{error:n.payload.error,isLoading:!1,userRiskValue:0});case Y.GET_USER_SURVEY_RISK_VALUE_SUCCESS:return U(k({},e),{error:"",isLoading:!1,userRiskValue:n.payload});case Y.GET_REGISTRATION_INFO_REQUEST:return U(k({},e),{registrationInfoError:"",registrationInfoLoading:!0,registrationInfo:null});case Y.GET_REGISTRATION_INFO_FAILURE:return U(k({},e),{registrationInfoError:n.payload.error,registrationInfoLoading:!1,registrationInfo:null});case Y.GET_REGISTRATION_INFO_SUCCESS:return U(k({},e),{registrationInfoError:"",registrationInfoLoading:!1,registrationInfo:n.payload});case Y.POST_REGISTRATION_AUTOMATIC_REQUEST:return U(k({},e),{registrationAutomaticError:"",registrationAutomaticLoading:!0,registrationAutomatic:null});case Y.POST_REGISTRATION_AUTOMATIC_FAILURE:return U(k({},e),{registrationAutomaticError:n.payload.error,registrationAutomaticLoading:!1,registrationAutomatic:null});case Y.POST_REGISTRATION_AUTOMATIC_SUCCESS:return U(k({},e),{registrationAutomaticError:"",registrationAutomaticLoading:!1,registrationAutomatic:n.payload});case Y.POST_USER_ACTIVE_SERVICE_REVOKE_SWITCH_REQUEST:return U(k({},e),{activeServiceRevokeSwitchError:"",activeServiceRevokeSwitchLoading:!0,activeServiceRevokeSwitch:null});case Y.POST_USER_ACTIVE_SERVICE_REVOKE_SWITCH_FAILURE:return U(k({},e),{activeServiceRevokeSwitchError:n.payload.error,activeServiceRevokeSwitchLoading:!1,activeServiceRevokeSwitch:null});case Y.POST_USER_ACTIVE_SERVICE_REVOKE_SWITCH_SUCCESS:return U(k({},e),{activeServiceRevokeSwitchError:"",activeServiceRevokeSwitchLoading:!1,activeServiceRevokeSwitch:n.payload});case Y.POST_USER_ACTIVE_SERVICE_REVOKE_REIMBURSEMENT_REQUEST:return U(k({},e),{activeServiceRevokeReimbursementError:"",activeServiceRevokeReimbursementLoading:!0,activeServiceRevokeReimbursement:null});case Y.POST_USER_ACTIVE_SERVICE_REVOKE_REIMBURSEMENT_FAILURE:return U(k({},e),{activeServiceRevokeReimbursementError:n.payload.error,activeServiceRevokeReimbursementLoading:!1,activeServiceRevokeReimbursement:null});case Y.POST_USER_ACTIVE_SERVICE_REVOKE_REIMBURSEMENT_SUCCESS:return U(k({},e),{activeServiceRevokeReimbursementError:"",activeServiceRevokeReimbursementLoading:!1,activeServiceRevokeReimbursement:n.payload});case Y.GET_REGISTRATION_PREFILL_REQUEST:return U(k({},e),{registrationPrefillError:"",registrationPrefillLoading:!0,registrationPrefill:null});case Y.GET_REGISTRATION_PREFILL_FAILURE:return U(k({},e),{registrationPrefillError:n.payload.error,registrationPrefillLoading:!1,registrationPrefill:null});case Y.GET_REGISTRATION_PREFILL_SUCCESS:return U(k({},e),{registrationPrefillError:"",registrationPrefillLoading:!1,registrationPrefill:n.payload});case Y.PUT_REGISTRY_UPDATE_REQUEST:return U(k({},e),{registryUpdate:null,registryUpdateLoading:!0,registryUpdateError:""});case Y.PUT_REGISTRY_UPDATE_FAILURE:return U(k({},e),{registryUpdate:null,registryUpdateLoading:!1,registryUpdateError:n.payload.error});case Y.PUT_REGISTRY_UPDATE_SUCCESS:return U(k({},e),{registryUpdate:n.payload,registryUpdateLoading:!1,registryUpdateError:""});case Y.PUT_PRIVACY_REGISTRATION:return U(k({},e),{error:"",isLoading:!1,privacy:n.payload});case Y.CLEAR_PRIVACY_REGISTRATION:return U(k({},e),{error:"",isLoading:!1,privacy:null});case Y.GET_USER_CONTACT_DETAILS_REQUEST:return U(k({},e),{userContactDetails:null,userContactDetailsLoading:!0,userContactDetailsError:""});case Y.GET_USER_CONTACT_DETAILS_FAILURE:return U(k({},e),{userContactDetails:null,userContactDetailsLoading:!1,userContactDetailsError:n.payload.error});case Y.GET_USER_CONTACT_DETAILS_SUCCESS:return U(k({},e),{userContactDetails:n.payload.details,userContactDetailsLoading:!1,userContactDetailsError:""});case Y.PUT_USER_CONTACT_DETAILS_REQUEST:return U(k({},e),{userContactDetailsLoading:!0,userContactDetailsError:""});case Y.PUT_USER_CONTACT_DETAILS_FAILURE:return U(k({},e),{userContactDetailsLoading:!1,userContactDetailsError:n.payload.error});case Y.PUT_USER_CONTACT_DETAILS_SUCCESS:return U(k({},e),{userContactDetailsLoading:!1,userContactDetailsError:""});case Y.PUT_USER_CONTACT_DETAILS_FP_REQUEST:return U(k({},e),{userContactDetailsFPLoading:!0,userContactDetailsFPError:""});case Y.PUT_USER_CONTACT_DETAILS_FP_FAILURE:return U(k({},e),{userContactDetailsFPLoading:!1,userContactDetailsFPError:n.payload.error});case Y.PUT_USER_CONTACT_DETAILS_FP_SUCCESS:return U(k({},e),{userContactDetailsFPLoading:!1,userContactDetailsFPError:""});case Y.GET_USER_CONTACT_DETAILS_FP_REQUEST:return U(k({},e),{userContactDetailsFP:null,userContactDetailsFPLoading:!0,userContactDetailsFPError:""});case Y.GET_USER_CONTACT_DETAILS_FP_FAILURE:return U(k({},e),{userContactDetailsFP:null,userContactDetailsFPLoading:!1,userContactDetailsFPError:n.payload.error});case Y.GET_USER_CONTACT_DETAILS_FP_SUCCESS:return U(k({},e),{userContactDetailsFP:n.payload.details,userContactDetailsFPLoading:!1,userContactDetailsFPError:""});case Y.GET_USER_LEGAL_ENTITIES_REQUEST:return U(k({},e),{userSubjectResponse:{legalEntities:[],delegatePeople:[]},userSubjectResponseLoading:!0,userSubjectResponseError:""});case Y.GET_USER_LEGAL_ENTITIES_FAILURE:return U(k({},e),{userSubjectResponse:{legalEntities:[],delegatePeople:[]},userSubjectResponseLoading:!1,userSubjectResponseError:n.payload.error});case Y.GET_USER_LEGAL_ENTITIES_SUCCESS:return U(k({},e),{userSubjectResponse:{legalEntities:n.payload.legalEntities,delegatePeople:n.payload.delegatePeople},userSubjectResponseLoading:!1,userSubjectResponseError:""});case Y.MARK_IDENTITY_CARD_MODAL_SHOWN:return U(k({},e),{identityCardModalShown:!0});default:return e}}var i4="user",Aie=new me("USER_FEATURE",{providedIn:"root",factory:()=>i4});function r4(){return[ji(i4,cN),bi(lN)]}var Nd={};Ni(Nd,{ActionTypes:()=>Ge,GetOperationMaxAmountAndQuoteAction:()=>bm,GetOperationMaxAmountAndQuoteFailureAction:()=>Sm,GetOperationMaxAmountAndQuoteSuccessAction:()=>Im,GetOperationMinAmountAndQuoteAction:()=>v4,GetOperationMinAmountAndQuoteFailureAction:()=>Em,GetOperationMinAmountAndQuoteSuccessAction:()=>wm,GetSingleRapportFailureAction:()=>_m,GetSingleRapportRequestAction:()=>f4,GetSingleRapportResetAction:()=>g4,GetSingleRapportSuccessAction:()=>ym,HoldingsDeleteMovementsInProgressFailure:()=>h4,HoldingsDeleteMovementsInProgressRequest:()=>u4,HoldingsDeleteMovementsInProgressSuccess:()=>p4,HoldingsOverviewFailureAction:()=>om,HoldingsOverviewRequestAction:()=>o4,HoldingsOverviewSuccessAction:()=>sm,HoldingsPortfolioAnalysisFailureAction:()=>Vh,HoldingsPortfolioAnalysisRequestAction:()=>l4,HoldingsPortfolioAnalysisSuccessAction:()=>fm,HoldingsRapportsFailureAction:()=>am,HoldingsRapportsRequestAction:()=>s4,HoldingsRapportsSuccessAction:()=>lm,HoldingsSubscriptionPicMinAmountFailureAction:()=>gm,HoldingsSubscriptionPicMinAmountRequestAction:()=>c4,HoldingsSubscriptionPicMinAmountSuccessAction:()=>mm,HoldingsTaxInfoFailureAction:()=>vm,HoldingsTaxInfoRequestAction:()=>d4,HoldingsTaxInfoSuccessAction:()=>Cm,HoldingsTransactionsFailureAction:()=>hm,HoldingsTransactionsRequestAction:()=>um,HoldingsTransactionsSuccessAction:()=>pm,ProductTypesHistoryFailureAction:()=>cm,ProductTypesHistoryRequestAction:()=>a4,ProductTypesHistorySuccessAction:()=>dm,ResetOperationMaxAmountAndQuoteAction:()=>m4});var Ge=(function(e){return e.HOLDINGS_OVERVIEW_REQUEST="[Position Page] Holdings Overview Request",e.HOL
31DINGS_OVERVIEW_FAILURE="[Position Page] Holdings Overview Failure",e.HOLDINGS_OVERVIEW_SUCCESS="[Position Page] Holdings Overview Success",e.HOLDINGS_RAPPORTS_REQUEST="[Position Page] Holdings Rapports Request",e.HOLDINGS_RAPPORTS_FAILURE="[Position Page] Holdings Rapports Failure",e.HOLDINGS_RAPPORTS_SUCCESS="[Position Page] Holdings Rapports Success",e.PRODUCT_TYPES_HISTORY_REQUEST="[Position Page] Product Types History Request",e.PRODUCT_TYPES_HISTORY_FAILURE="[Position Page] Product Types History Failure",e.PRODUCT_TYPES_HISTORY_SUCCESS="[Position Page] Product Types History Success",e.HOLDINGS_TRANSACTIONS_REQUEST="[Position Page] Holdings Transactions Request",e.HOLDINGS_TRANSACTIONS_FAILURE="[Position Page] Holdings Transactions Failure",e.HOLDINGS_TRANSACTIONS_SUCCESS="[Position Page] Holdings Transactions Success",e.HOLDINGS_PORTFOLIO_ANALYSIS_REQUEST="[Position Page] Holdings Portfolio Analysis Request",e.HOLDINGS_PORTFOLIO_ANALYSIS_FAILURE="[Position Page] Holdings Portfolio Analysis Failure",e.HOLDINGS_PORTFOLIO_ANALYSIS_SUCCESS="[Position Page] Holdings Portfolio Analysis Success",e.HOLDINGS_TAX_INFO_REQUEST="[Position Page] Holdings Tax Info Request",e.HOLDINGS_TAX_INFO_FAILURE="[Position Page] Holdings Tax Info Failure",e.HOLDINGS_TAX_INFO_SUCCESS="[Position Page] Holdings Tax Info Success",e.DELETE_MOVEMENTS_IN_PROGRESS_REQUEST="[Position Page] Movements in Progress table delete row Request",e.DELETE_MOVEMENTS_IN_PROGRESS_FAILURE="[Position Page] Movements in Progress table delete row failure",e.DELETE_MOVEMENTS_IN_PROGRESS_SUCCESS="[Position Page] Movements in Progress table delete row success",e.HOLDINGS_SUBSCRIPTION_PIC_MIN_AMOUNT_REQUEST="[Position Page] Holdings Subscription Pic Min Amount Request",e.HOLDINGS_SUBSCRIPTION_PIC_MIN_AMOUNT_FAILURE="[Position Page] Holdings Subscription Pic Min Amount Failure",e.HOLDINGS_SUBSCRIPTION_PIC_MIN_AMOUNT_SUCCESS="[Position Page] Holdings Subscription Pic Min Amount Success",e.GET_SINGLE_RAPPORT_REQUEST="[User Profile Page] Get Single Rapport Request",e.GET_SINGLE_RAPPORT_FAILURE="[User Profile Page] Get Single Rapport Failure",e.GET_SINGLE_RAPPORT_SUCCESS="[User Profile Page] Get Single Rapport Success",e.GET_SINGLE_RAPPORT_RESET="[User Profile Page] Get Single Rapport Reset",e.RESET_OPERATION_MAX_AMOUNT_AND_QUOTE="[Common Fund Page] Reset Operation Max Amount And Quote Request",e.GET_OPERATION_MAX_AMOUNT_AND_QUOTE_REQUEST="[Common Fund Page] Get Operation Max Amount And Quote Request",e.GET_OPERATION_MAX_AMOUNT_AND_QUOTE_FAILURE="[Common Fund Page] Get Operation Max Amount And Quote Failure",e.GET_OPERATION_MAX_AMOUNT_AND_QUOTE_SUCCESS="[Common Fund Page] Get Operation Max Amount And Quote Success",e.GET_OPERATION_MIN_AMOUNT_AND_QUOTE_REQUEST="[Common Fund Page] Get Operation Min Amount And Quote Request",e.GET_OPERATION_MIN_AMOUNT_AND_QUOTE_FAILURE="[Common Fund Page] Get Operation Min Amount And Quote Failure",e.GET_OPERATION_MIN_AMOUNT_AND_QUOTE_SUCCESS="[Common Fund Page] Get Operation Min Amount And Quote Success",e.RESET_OPERATION_MAX_AMOUNT_AND_QUOTE_SUCCESS="RESET_OPERATION_MAX_AMOUNT_AND_QUOTE_SUCCESS",e})(Ge||{}),o4=class{constructor(n){this.payload=n,this.type=Ge.HOLDINGS_OVERVIEW_REQUEST}},om=class{constructor(n){this.payload=n,this.type=Ge.HOLDINGS_OVERVIEW_FAILURE}},sm=class{constructor(n){this.payload=n,this.type=Ge.HOLDINGS_OVERVIEW_SUCCESS}},s4=class{constructor(n){this.payload=n,this.type=Ge.HOLDINGS_RAPPORTS_REQUEST}},am=class{constructor(n){this.payload=n,this.type=Ge.HOLDINGS_RAPPORTS_FAILURE}},lm=class{constructor(n){this.payload=n,this.type=Ge.HOLDINGS_RAPPORTS_SUCCESS}},a4=class{constructor(n){this.payload=n,this.type=Ge.PRODUCT_TYPES_HISTORY_REQUEST}},cm=class{constructor(n){this.payload=n,this.type=Ge.PRODUCT_TYPES_HISTORY_FAILURE}},dm=class{constructor(n){this.payload=n,this.type=Ge.PRODUCT_TYPES_HISTORY_SUCCESS}},um=class{constructor(n){this.payload=n,this.type=Ge.HOLDINGS_TRANSACTIONS_REQUEST}},hm=class{constructor(n){this.payload=n,this.type=Ge.HOLDINGS_TRANSACTIONS_FAILURE}},pm=class{constructor(n){this.payload=n,this.type=Ge.HOLDINGS_TRANSACTIONS_SUCCESS}},l4=class{constructor(n){this.payload=n,this.type=Ge.HOLDINGS_PORTFOLIO_ANALYSIS_REQUEST}},Vh=class{constructor(n){this.payload=n,this.type=Ge.HOLDINGS_PORTFOLIO_ANALYSIS_FAILURE}},fm=class{constructor(n){this.payload=n,this.type=Ge.HOLDINGS_PORTFOLIO_ANALYSIS_SUCCESS}},c4=class{constructor(n){this.payload=n,this.type=Ge.HOLDINGS_SUBSCRIPTION_PIC_MIN_AMOUNT_REQUEST}},gm=class{constructor(n){this.payload=n,this.type=Ge.HOLDINGS_SUBSCRIPTION_PIC_MIN_AMOUNT_FAILURE}},mm=class{constructor(n){this.payload=n,this.type=Ge.HOLDINGS_SUBSCRIPTION_PIC_MIN_AMOUNT_SUCCESS}},d4=class{constructor(){this.type=Ge.HOLDINGS_TAX_INFO_REQUEST}},vm=class{constructor(n){this.payload=n,this.type=Ge.HOLDINGS_TAX_INFO_FAILURE}},Cm=class{constructor(n){this.payload=n,this.type=Ge.HOLDINGS_TAX_INFO_SUCCESS}},u4=class{constructor(n){this.payload=n,this.type=Ge.DELETE_MOVEMENTS_IN_PROGRESS_REQUEST}},h4=class{constructor(n){this.payload=n,this.type=Ge.DELETE_MOVEMENTS_IN_PROGRESS_FAILURE}},p4=class{constructor(n){this.payload=n,this.type=Ge.DELETE_MOVEMENTS_IN_PROGRESS_SUCCESS}},f4=class{constructor(n){this.payload=n,this.type=Ge.GET_SINGLE_RAPPORT_REQUEST}},_m=class{constructor(n){this.payload=n,this.type=Ge.GET_SINGLE_RAPPORT_FAILURE}},ym=class{constructor(n){this.payload=n,this.type=Ge.GET_SINGLE_RAPPORT_SUCCESS}},g4=class{constructor(){this.type=Ge.GET_SINGLE_RAPPORT_RESET}}
31,bm=class{constructor(n){this.payload=n,this.type=Ge.GET_OPERATION_MAX_AMOUNT_AND_QUOTE_REQUEST}},m4=class{constructor(n){this.payload=n,this.type=Ge.RESET_OPERATION_MAX_AMOUNT_AND_QUOTE}},Sm=class{constructor(n){this.payload=n,this.type=Ge.GET_OPERATION_MAX_AMOUNT_AND_QUOTE_FAILURE}},Im=class{constructor(n){this.payload=n,this.type=Ge.GET_OPERATION_MAX_AMOUNT_AND_QUOTE_SUCCESS}},v4=class{constructor(n){this.payload=n,this.type=Ge.GET_OPERATION_MIN_AMOUNT_AND_QUOTE_REQUEST}},Em=class{constructor(n){this.payload=n,this.type=Ge.GET_OPERATION_MIN_AMOUNT_AND_QUOTE_FAILURE}},wm=class{constructor(n){this.payload=n,this.type=Ge.GET_OPERATION_MIN_AMOUNT_AND_QUOTE_SUCCESS}};var Ld={};Ni(Ld,{selectHoldingsError:()=>Bie,selectHoldingsIsLoading:()=>jie,selectHoldingsOverview:()=>zie,selectHoldingsPortfolioAnalysis:()=>qie,selectHoldingsRapportDetails:()=>Xie,selectHoldingsRapports:()=>Kie,selectHoldingsState:()=>Or,selectHoldingsSubscriptionPicMinAmount:()=>Qie,selectHoldingsTaxInfo:()=>Zie,selectHoldingsTransactions:()=>Yie,selectOperationMaxAmountAndQuote:()=>Jie,selectOperationMaxAmountAndQuoteError:()=>ere,selectOperationMinAmountAndQuote:()=>tre,selectProductTypesHistory:()=>Wie,selectProductTypesHistoryError:()=>Gie,selectProductTypesHistoryIsLoading:()=>$ie});var C4=e=>e.holdings.overviewError||e.holdings.productTypesHistoryError||e.holdings.transactionsError||e.holdings.portfolioAnalysisError||e.holdings.taxInfoError||e.holdings.rapportsError||e.holdings.subscriptionPicMinAmountError||e.holdings.maxAmountAndQuoteError,dN=e=>!!e.holdings.overviewLoading||!!e.holdings.productTypesHistoryLoading||!!e.holdings.transactionsLoading||!!e.holdings.portfolioAnalysisLoading||!!e.holdings.taxInfoLoading||!!e.holdings.rapportsLoading||!!e.holdings.subscriptionPicMinAmountLoading,Oie=e=>e.holdings?.overview,Rie=e=>e.holdings?.productTypesHistory,Pie=e=>e.holdings?.transactions,kie=e=>e.holdings?.portfolioAnalysis,Nie=e=>e.holdings?.subscriptionPicMinAmount,Lie=e=>e.holdings?.taxInfo,Fie=e=>e.holdings?.rapports,Vie=e=>e.holdings.rapportDetails,Uie=e=>e.holdings.maxAmountAndQuote,Hie=e=>e.holdings.minAmountAndQuote,Or=Mi("holdings"),Bie=Ce(Or,C4),jie=Ce(Or,dN),zie=Ce(Or,Oie),Gie=Ce(Or,C4),$ie=Ce(Or,dN),Wie=Ce(Or,Rie),Yie=Ce(Or,Pie),qie=Ce(Or,kie),Qie=Ce(Or,Nie),Zie=Ce(Or,Lie),Kie=Ce(Or,Fie),Xie=Ce(Or,Vie),Jie=Ce(Or,Uie),ere=Ce(Or,C4),tre=Ce(Or,Hie);var uN={holdings:{overview:null,overviewError:"",overviewLoading:!1,productTypesHistory:void 0,productTypesHistoryError:"",productTypesHistoryLoading:!1,transactions:null,transactionsError:"",transactionsLoading:!1,portfolioAnalysis:null,portfolioAnalysisError:"",portfolioAnalysisLoading:!1,taxInfo:null,taxInfoError:"",taxInfoLoading:!1,subscriptionPicMinAmount:null,subscriptionPicMinAmountLoading:!1,subscriptionPicMinAmountError:"",rapports:null,rapportsError:"",rapportsLoading:!1,rapportDetails:[],rapportDetailsError:"",rapportDetailsLoading:!1}};var hN=(()=>{class e{constructor(t,i){this.http=t,this.config=i}getHoldingsOverview(t){let i=new Ct().append("referenceDate",t);return this.http.get(this.config.holdingsOverviewApi,{params:i,withCredentials:!0})}getHoldingsTransactions(t,i){let r=new Ct().appendAll({startDate:t,endDate:i,published:"true"});return this.http.get(this.config.holdingsTransactionsApi,{params:r,withCredentials:!0})}getHoldingsTaxInfo(){return this.http.get(this.config.holdingsTaxinfoApi,{withCredentials:!0})}postHoldingsPortfolioAnalysis(t){return t.commonsFunds||t.pensionsFunds?this.http.post(this.config.holdingsPortfolioAnalysisApi,t,{withCredentials:!0}):this.http.post(this.config.holdingsPortfolioAnalysisApi,null,{withCredentials:!0})}postHoldingsSubscriptionPicMinAmount(t){return this.http.post(this.config.holdingsSubscriptionPicMinAmountApi,t,{withCredentials:!0})}getHoldingsPortfolioAnalysis(){return this.http.get(this.config.holdingsPortfolioAnalysisApi,{withCredentials:!0})}getHoldingsRapports(t,i,r,o){let l;return i&&r&&o?l=new Ct().appendAll({commonfund:t,subscriptionTypeIn:i,instrumentCodeSwitchOut:r,rapportCodeSwitchOut:o}):l=new Ct().append("commonfund",t),this.http.get(this.config.holdingsRapportsApi,{params:l})}getContractsByRapport(t,i,r){let o;return o=new Ct().appendAll({commonfund:t,rapport:i,instrumentCode:r}),this.http.get(this.config.holdingsContractsByRapportApi,{params:o})}deleteMovementsInProgressByIdAndCausal(t,i){return this.http.delete(this.config.movementsInProgressDelete,{params:{id:t,causal:i}})}getProductTypeHistory(t){let i=new Ct().append("referenceDate",t);return this.http.get(this.config.productTypeHistoryApi,{params:i,withCredentials:!0})}getHoldingsRapportDetails(t){return this.http.get(this.config.holdingsRapportDetailsApi(t),{withCredentials:!0})}postHoldingsBlocks(t){return this.http.post(this.config.holdingsBlocksApi,t,{withCredentials:!0})}getHoldingsBlocks(){return this.http.get(this.config.holdingsBlocksApi,{withCredentials:!0})}getOperationMaxAmountAndQuoteAction(t){return this.http.post(this.config.operationMaxAmountAndQuoteApi,t,{withCredentials:!0})}getOperationMinAmountAndQuoteAction(t){return this.http.post(this.config.operationMinAmountAndQuoteApi,t,{withCredentials:!0})}getOperationMinAndMaxAmountAndQuoteAction(t){return this.http.post(this.config.operationMinAndMaxAmountAndQuoteApi,t,{withCredentials:!0})}static{this.\u0275fac=function(i){return new(i||e)(ae(si),ae(Mn))}}static{this.\u0275prov=le({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();var pN=(()=>{class e{constructor(t,i,r){this.actions$=t,this.holdingsService=i,this.localeID=r,this.holdingsOverviewRequestEffect$=ke(()=>this.actions$.pipe(Ne(Ge.HOLDINGS_OVERVIEW_REQUEST),Te(o=>this.holdingsService.getHoldingsOverview(Cr(o.payload.referenceDate,"yyyy-MM-dd",this.localeID)).pipe(fe(l=>new sm({holdingsOverview:l})),Pe(l=>pe(new om({error:Bt(l)}))))))),this.holdingsRapportsRequestEffect$=ke(()=>this.actions$.pipe(Ne(Ge.HOLDINGS_RAPPORTS_REQUEST),Te(o=>this.holdingsService.getHoldingsRapports(o.payload.commonFund).pipe(fe(l=>new lm({holdingsRapports:l})),Pe(l=>pe(new am({error:Bt(l)}))))))),this.productTypesHistoryRequestEffect$=ke(()=>this.actions$.pipe(Ne(Ge.PRODUCT_TYPES_HISTORY_REQUEST),Te(o=>this.holdingsService.getProductTypeHistory(Cr(o.payload.referenceDate,"yyyy-MM-dd",this.localeID)).pipe(fe(l=>new dm({productTypesHistory:l.productTypesHistory})),Pe(l=>pe(new cm({error:Bt(l)}))))))),this.holdingsTransactionsRequestEffect$=ke(()=>this.actions$.pipe(Ne(Ge.HOLDINGS_TRANSACTIONS_REQUEST),Te(o=>{let l=Cr(o.payload.init,"yyyy-MM-dd",this.localeID),p=Cr(o.payload.end,"yyyy-MM-dd",this.localeID);return this.holdingsService.getHoldingsTransactions(l,p).pipe(fe(C=>new pm({holdingsTransactions:C})),Pe(C=>pe(new hm({error:Bt(C)}))))}
31))),this.holdingsPortfolioAnalysisRequestEffect$=ke(()=>this.actions$.pipe(Ne(Ge.HOLDINGS_PORTFOLIO_ANALYSIS_REQUEST),Te(o=>this.holdingsService.postHoldingsPortfolioAnalysis(o.payload).pipe(fe(l=>new fm({holdingsPortfolioAnalysis:l})),Pe(l=>pe(new Vh({error:Bt(l)}))))))),this.holdingsSubscriptionPicMinAmountRequestEffect$=ke(()=>this.actions$.pipe(Ne(Ge.HOLDINGS_SUBSCRIPTION_PIC_MIN_AMOUNT_REQUEST),Te(o=>this.holdingsService.postHoldingsSubscriptionPicMinAmount(o.payload).pipe(fe(l=>new mm({holdingsSubscriptionPicMinAmount:l})),Pe(l=>pe(new gm({error:Bt(l)}))))))),this.holdingsTaxInfoRequestEffect$=ke(()=>this.actions$.pipe(Ne(Ge.HOLDINGS_TAX_INFO_REQUEST),Te(o=>this.holdingsService.getHoldingsTaxInfo().pipe(fe(l=>new Cm({holdingsTaxInfo:l})),Pe(l=>pe(new vm({error:Bt(l)}))))))),this.movementInProgressDelete=ke(()=>this.actions$.pipe(Ne(Ge.DELETE_MOVEMENTS_IN_PROGRESS_REQUEST),Te(o=>this.holdingsService.deleteMovementsInProgressByIdAndCausal(o.payload.id,o.payload.causal).pipe(fe(l=>new um({init:o.payload.initDate,end:o.payload.endDate})),Pe(l=>pe(new Vh({error:l}))))))),this.getHoldingsRapportDetailsEffect=ke(()=>this.actions$.pipe(Ne(Ge.GET_SINGLE_RAPPORT_REQUEST),Te(o=>this.holdingsService.getHoldingsRapportDetails(o.payload.rapportCode).pipe(fe(l=>new ym({rapport:l})),Pe(l=>pe(new _m({error:l}))))))),this.getOperationMaxAmountAndQuoteEffect=ke(()=>this.actions$.pipe(Ne(Ge.GET_OPERATION_MAX_AMOUNT_AND_QUOTE_REQUEST),Te(o=>this.holdingsService.getOperationMaxAmountAndQuoteAction(o.payload.maxAmountAndQuoteRequest).pipe(fe(l=>new Im({maxAmountAndQuoteResponse:l})),Pe(l=>pe(new Sm({error:l}))))))),this.resetOperationMaxAmountAndQuoteEffect=ke(()=>this.actions$.pipe(Ne(Ge.RESET_OPERATION_MAX_AMOUNT_AND_QUOTE),Te(o=>pe(new bm(o.payload))))),this.getOperationMinAmountAndQuotActionEffect=ke(()=>this.actions$.pipe(Ne(Ge.GET_OPERATION_MIN_AMOUNT_AND_QUOTE_REQUEST),Te(o=>this.holdingsService.getOperationMinAmountAndQuoteAction(o.payload.minAmountAndQuoteRequest).pipe(fe(l=>new wm({minAmountAndQuoteResponse:l})),Pe(l=>pe(new Em({error:l})))))))}static{this.\u0275fac=function(i){return new(i||e)(ae(zi),ae(hN),ae(di))}}static{this.\u0275prov=le({token:e,factory:e.\u0275fac})}}return e})();function fN(e=uN,n){switch(n.type){case Ge.HOLDINGS_OVERVIEW_REQUEST:return U(k({},e),{holdings:U(k({},e.holdings),{overview:null,overviewLoading:!0,overviewError:""})});case Ge.HOLDINGS_OVERVIEW_SUCCESS:return U(k({},e),{holdings:U(k({},e.holdings),{overview:n.payload.holdingsOverview,overviewError:"",overviewLoading:!1})});case Ge.HOLDINGS_OVERVIEW_FAILURE:return U(k({},e),{holdings:U(k({},e.holdings),{overview:null,overviewError:n.payload.error,overviewLoading:!1})});case Ge.HOLDINGS_RAPPORTS_REQUEST:return U(k({},e),{holdings:U(k({},e.holdings),{rapports:null,rapportsLoading:!0,rapportsError:""})});case Ge.HOLDINGS_RAPPORTS_SUCCESS:return U(k({},e),{holdings:U(k({},e.holdings),{rapports:n.payload.holdingsRapports,rapportsError:"",rapportsLoading:!1})});case Ge.HOLDINGS_RAPPORTS_FAILURE:return U(k({},e),{holdings:U(k({},e.holdings),{rapports:null,rapportsError:n.payload.error,rapportsLoading:!1})});case Ge.PRODUCT_TYPES_HISTORY_REQUEST:return U(k({},e),{holdings:U(k({},e.holdings),{productTypesHistory:void 0,productTypesHistoryLoading:!0,productTypesHistoryError:""})});case Ge.PRODUCT_TYPES_HISTORY_SUCCESS:return U(k({},e),{holdings:U(k({},e.holdings),{productTypesHistory:n.payload.productTypesHistory,productTypesHistoryLoading:!1,productTypesHistoryError:""})});case Ge.PRODUCT_TYPES_HISTORY_FAILURE:return U(k({},e),{holdings:U(k({},e.holdings),{productTypesHistory:void 0,productTypesHistoryLoading:!1,productTypesHistoryError:n.payload.error})});case Ge.HOLDINGS_TRANSACTIONS_REQUEST:return U(k({},e),{holdings:U(k({},e.holdings),{transactions:null,transactionsLoading:!0,transactionsError:""})});case Ge.HOLDINGS_TRANSACTIONS_SUCCESS:return U(k({},e),{holdings:U(k({},e.holdings),{transactions:n.payload.holdingsTransactions,transactionsError:"",transactionsLoading:!1})});case Ge.HOLDINGS_TRANSACTIONS_FAILURE:return U(k({},e),{holdings:U(k({},e.holdings),{transactions:null,transactionsError:n.payload.error,transactionsLoading:!1})});
31case Ge.HOLDINGS_PORTFOLIO_ANALYSIS_REQUEST:return U(k({},e),{holdings:U(k({},e.holdings),{portfolioAnalysis:null,portfolioAnalysisLoading:!0,portfolioAnalysisError:""})});case Ge.HOLDINGS_PORTFOLIO_ANALYSIS_SUCCESS:return U(k({},e),{holdings:U(k({},e.holdings),{portfolioAnalysis:n.payload.holdingsPortfolioAnalysis,portfolioAnalysisError:"",portfolioAnalysisLoading:!1})});case Ge.HOLDINGS_PORTFOLIO_ANALYSIS_FAILURE:return U(k({},e),{holdings:U(k({},e.holdings),{portfolioAnalysis:null,portfolioAnalysisError:n.payload.error,portfolioAnalysisLoading:!1})});case Ge.HOLDINGS_SUBSCRIPTION_PIC_MIN_AMOUNT_REQUEST:return U(k({},e),{holdings:U(k({},e.holdings),{subscriptionPicMinAmount:null,subscriptionPicMinAmountLoading:!0,subscriptionPicMinAmountError:""})});case Ge.HOLDINGS_SUBSCRIPTION_PIC_MIN_AMOUNT_SUCCESS:return U(k({},e),{holdings:U(k({},e.holdings),{subscriptionPicMinAmount:n.payload.holdingsSubscriptionPicMinAmount,subscriptionPicMinAmountError:"",subscriptionPicMinAmountLoading:!1})});case Ge.HOLDINGS_SUBSCRIPTION_PIC_MIN_AMOUNT_FAILURE:return U(k({},e),{holdings:U(k({},e.holdings),{subscriptionPicMinAmount:null,subscriptionPicMinAmountError:n.payload.error,subscriptionPicMinAmountLoading:!1})});case Ge.HOLDINGS_TAX_INFO_REQUEST:return U(k({},e),{holdings:U(k({},e.holdings),{taxInfo:null,taxInfoLoading:!0,taxInfoError:""})});case Ge.HOLDINGS_TAX_INFO_SUCCESS:return U(k({},e),{holdings:U(k({},e.holdings),{taxInfo:n.payload.holdingsTaxInfo,taxInfoError:"",taxInfoLoading:!1})});case Ge.HOLDINGS_TAX_INFO_FAILURE:return U(k({},e),{holdings:U(k({},e.holdings),{taxInfo:null,taxInfoError:n.payload.error,taxInfoLoading:!1})});case Ge.DELETE_MOVEMENTS_IN_PROGRESS_REQUEST:return{holdings:U(k({},e.holdings),{transactionsError:"",transactionsLoading:!0})};case Ge.DELETE_MOVEMENTS_IN_PROGRESS_SUCCESS:let t=n.payload.id,i=e.holdings.transactions?.movementsInProgressList?e.holdings.transactions?.movementsInProgressList:[];return i=i?.filter(r=>r.id!==t),{holdings:U(k({},e.holdings),{transactionsLoading:!1,transactions:U(k({},e.holdings.transactions),{movementsInProgressList:i})})};case Ge.GET_SINGLE_RAPPORT_REQUEST:return U(k({},e),{holdings:U(k({},e.holdings),{rapportDetails:[],rapportDetailsLoading:!0,rapportDetailsError:""})});case Ge.GET_SINGLE_RAPPORT_SUCCESS:return U(k({},e),{holdings:U(k({},e.holdings),{rapportDetails:n.payload.rapport,rapportDetailsError:"",rapportDetailsLoading:!1})});case Ge.GET_SINGLE_RAPPORT_FAILURE:return U(k({},e),{holdings:U(k({},e.holdings),{rapportDetails:[],rapportDetailsError:n.payload.error,rapportDetailsLoading:!1})});case Ge.GET_SINGLE_RAPPORT_RESET:return U(k({},e),{holdings:U(k({},e.holdings),{rapportDetails:[],rapportDetailsError:"",rapportDetailsLoading:!1})});case Ge.GET_OPERATION_MAX_AMOUNT_AND_QUOTE_SUCCESS:return U(k({},e),{holdings:U(k({},e.holdings),{maxAmountAndQuote:n.payload.maxAmountAndQuoteResponse,maxAmountAndQuoteError:"",maxAmountAndQuoteLoading:!1})});case Ge.RESET_OPERATION_MAX_AMOUNT_AND_QUOTE:return U(k({},e),{holdings:U(k({},e.holdings),{maxAmountAndQuote:void 0,maxAmountAndQuoteError:"",maxAmountAndQuoteLoading:!1})});case Ge.GET_OPERATION_MAX_AMOUNT_AND_QUOTE_FAILURE:return U(k({},e),{holdings:U(k({},e.holdings),{maxAmountAndQuote:void 0,maxAmountAndQuoteError:n.payload.error,maxAmountAndQuoteLoading:!1})});case Ge.GET_OPERATION_MAX_AMOUNT_AND_QUOTE_REQUEST:return U(k({},e),{holdings:U(k({},e.holdings),{maxAmountAndQuoteError:"",maxAmountAndQuoteLoading:!0})});case Ge.GET_OPERATION_MIN_AMOUNT_AND_QUOTE_SUCCESS:return U(k({},e),{holdings:U(k({},e.holdings),{minAmountAndQuote:n.payload.minAmountAndQuoteResponse,minAmountAndQuoteError:"",minAmountAndQuoteLoading:!1})});case Ge.GET_OPERATION_MIN_AMOUNT_AND_QUOTE_FAILURE:return U(k({},e),{holdings:U(k({},e.holdings),{minAmountAndQuote:void 0,minAmountAndQuoteError:n.payload.error,minAmountAndQuoteLoading:!1})});case Ge.GET_OPERATION_MIN_AMOUNT_AND_QUOTE_REQUEST:return U(k({},e),{holdings:U(k({},e.holdings),{minAmountAndQuoteError:"",minAmountAndQuoteLoading:!0})});case Ge.DELETE_MOVEMENTS_IN_PROGRESS_FAILURE:default:return e}}var gN="holdings",JIe=new me("HOLDINGS_FEATURE",{providedIn:"root",factory:()=>gN});function _4(){return[ji(gN,fN),bi(pN)]}var w4={};Ni(w4,{ActionTypes:()=>Kt,HoldingsOverviewPgFailureAction:()=>xm,HoldingsOverviewPgRequestAction:()=>y4,HoldingsOverviewPgSuccessAction:()=>Dm,HoldingsPortfolioAnalysisPgFailureAction:()=>Rm,HoldingsPortfolioAnalysisPgRequestAction:()=>I4,HoldingsPortfolioAnalysisPgSuccessAction:()=>Pm,HoldingsTaxInfoPgFailureAction:()=>km,HoldingsTaxInfoPgRequestAction:()=>E4,HoldingsTaxInfoPgSuccessAction:()=>Nm,HoldingsTransactionsPgFailureAction:()=>Am,HoldingsTransactionsPgRequestAction:()=>S4,HoldingsTransactionsPgSuccessAction:()=>Om,ProductTypesHistoryPgFailureAction:()=>Tm,ProductTypesHistoryPgRequestAction:()=>b4,ProductTypesHistoryPgSuccessAction:()=>Mm});var Kt=(function(e){return e.HOLDINGS_OVERVIEW_PG_REQUEST="[Position PG Page] Holdings Overview Request",e.HOL
31DINGS_OVERVIEW_PG_FAILURE="[Position PG Page] Holdings Overview Failure",e.HOLDINGS_OVERVIEW_PG_SUCCESS="[Position PG Page] Holdings Overview Success",e.HOLDINGS_RAPPORTS_PG_REQUEST="[Position PG Page] Holdings Rapports Request",e.HOLDINGS_RAPPORTS_PG_FAILURE="[Position PG Page] Holdings Rapports Failure",e.HOLDINGS_RAPPORTS_PG_SUCCESS="[Position PG Page] Holdings Rapports Success",e.PRODUCT_TYPES_HISTORY_PG_REQUEST="[Position PG Page] Product Types History Request",e.PRODUCT_TYPES_HISTORY_PG_FAILURE="[Position PG Page] Product Types History Failure",e.PRODUCT_TYPES_HISTORY_PG_SUCCESS="[Position PG Page] Product Types History Success",e.HOLDINGS_TRANSACTIONS_PG_REQUEST="[Position PG Page] Holdings Transactions Request",e.HOLDINGS_TRANSACTIONS_PG_FAILURE="[Position PG Page] Holdings Transactions Failure",e.HOLDINGS_TRANSACTIONS_PG_SUCCESS="[Position PG Page] Holdings Transactions Success",e.HOLDINGS_PORTFOLIO_ANALYSIS_PG_REQUEST="[Position PG Page] Holdings Portfolio Analysis Request",e.HOLDINGS_PORTFOLIO_ANALYSIS_PG_FAILURE="[Position PG Page] Holdings Portfolio Analysis Failure",e.HOLDINGS_PORTFOLIO_ANALYSIS_PG_SUCCESS="[Position PG Page] Holdings Portfolio Analysis Success",e.HOLDINGS_TAX_INFO_PG_REQUEST="[Position PG Page] Holdings Tax Info Request",e.HOLDINGS_TAX_INFO_PG_FAILURE="[Position PG Page] Holdings Tax Info Failure",e.HOLDINGS_TAX_INFO_PG_SUCCESS="[Position PG Page] Holdings Tax Info Success",e})(Kt||{}),y4=class{constructor(n){this.payload=n,this.type=Kt.HOLDINGS_OVERVIEW_PG_REQUEST}},xm=class{constructor(n){this.payload=n,this.type=Kt.HOLDINGS_OVERVIEW_PG_FAILURE}},Dm=class{constructor(n){this.payload=n,this.type=Kt.HOLDINGS_OVERVIEW_PG_SUCCESS}},b4=class{constructor(n){this.payload=n,this.type=Kt.PRODUCT_TYPES_HISTORY_PG_REQUEST}},Tm=class{constructor(n){this.payload=n,this.type=Kt.PRODUCT_TYPES_HISTORY_PG_FAILURE}},Mm=class{constructor(n){this.payload=n,this.type=Kt.PRODUCT_TYPES_HISTORY_PG_SUCCESS}},S4=class{constructor(n){this.payload=n,this.type=Kt.HOLDINGS_TRANSACTIONS_PG_REQUEST}},Am=class{constructor(n){this.payload=n,this.type=Kt.HOLDINGS_TRANSACTIONS_PG_FAILURE}},Om=class{constructor(n){this.payload=n,this.type=Kt.HOLDINGS_TRANSACTIONS_PG_SUCCESS}},I4=class{constructor(n){this.payload=n,this.type=Kt.HOLDINGS_PORTFOLIO_ANALYSIS_PG_REQUEST}},Rm=class{constructor(n){this.payload=n,this.type=Kt.HOLDINGS_PORTFOLIO_ANALYSIS_PG_FAILURE}},Pm=class{constructor(n){this.payload=n,this.type=Kt.HOLDINGS_PORTFOLIO_ANALYSIS_PG_SUCCESS}},E4=class{constructor(n){this.payload=n,this.type=Kt.HOLDINGS_TAX_INFO_PG_REQUEST}},km=class{constructor(n){this.payload=n,this.type=Kt.HOLDINGS_TAX_INFO_PG_FAILURE}},Nm=class{constructor(n){this.payload=n,this.type=Kt.HOLDINGS_TAX_INFO_PG_SUCCESS}};var Lm={};Ni(Lm,{selectHoldingsOverviewPg:()=>ure,selectHoldingsPgError:()=>cre,selectHoldingsPgIsLoading:()=>dre,selectHoldingsPgState:()=>xa,selectHoldingsPortfolioAnalysisPg:()=>mre,selectHoldingsTaxInfoPg:()=>vre,selectHoldingsTransactionsPg:()=>gre,selectProductTypesHistoryPg:()=>fre,selectProductTypesHistoryPgError:()=>hre,selectProductTypesHistoryPgIsLoading:()=>pre});var mN=e=>e?e.holdingsPg.overviewError||e.holdingsPg.productTypesHistoryError||e.holdingsPg.transactionsError||e.holdingsPg.portfolioAnalysisError||e.holdingsPg.taxInfoError:!1,vN=e=>e?!!e.holdingsPg.overviewLoading||!!e.holdingsPg.productTypesHistoryLoading||!!e.holdingsPg.transactionsLoading||e.holdingsPg.portfolioAnalysisLoading||!!e.holdingsPg.taxInfoLoading:!1,rre=e=>e.holdingsPg?.overview,ore=e=>e.holdingsPg?.productTypesHistory,sre=e=>e.holdingsPg?.transactions,are=e=>e.holdingsPg?.portfolioAnalysis,lre=e=>e.holdingsPg?.taxInfo,xa=Mi("holdingsPg"),cre=Ce(xa,mN),dre=Ce(xa,vN),ure=Ce(xa,rre),hre=Ce(xa,mN),pre=Ce(xa,vN),fre=Ce(xa,ore),gre=Ce(xa,sre),mre=Ce(xa,are),vre=Ce(xa,lre);var CN={holdingsPg:{overview:null,overviewError:"",overviewLoading:!1,productTypesHistory:void 0,productTypesHistoryError:"",productTypesHistoryLoading:!1,transactions:null,transactionsError:"",transactionsLoading:!1,portfolioAnalysis:null,portfolioAnalysisError:"",portfolioAnalysisLoading:!1,taxInfo:null,taxInfoError:"",taxInfoLoading:!1}};var _N=(()=>{class e{constructor(t,i){this.http=t,this.config=i}
31getHoldingsOverview(t,i){let r=new Ct().append("referenceDate",t).append("vatNumber",i);return this.http.get(this.config.holdingsOverviewPgApi,{params:r})}getHoldingsTransactions(t,i,r){let o=new Ct().appendAll({startDate:t,endDate:i,vatNumber:r});return this.http.get(this.config.holdingsTransactionsPgApi,{params:o})}getHoldingsTaxInfo(t){let i=new Ct().append("vatNumber",t);return this.http.get(this.config.holdingsTaxinfoPgApi,{params:i})}postHoldingsPortfolioAnalysis(t,i){let r=new Ct().append("vatNumber",i);return t.commonsFunds||t.pensionsFunds?this.http.post(this.config.holdingsPortfolioAnalysisPgApi,t,{params:r}):this.http.post(this.config.holdingsPortfolioAnalysisPgApi,null,{params:r})}getHoldingsPortfolioAnalysis(t){let i=new Ct().append("vatNumber",t);return this.http.get(this.config.holdingsPortfolioAnalysisPgApi,{params:i})}getProductTypeHistory(t,i){let r=new Ct().append("referenceDate",t).append("vatNumber",i);return this.http.get(this.config.productTypeHistoryPgApi,{params:r})}static{this.\u0275fac=function(i){return new(i||e)(ae(si),ae(Mn))}}static{this.\u0275prov=le({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();var yN=(()=>{class e{constructor(t,i,r){this.actions$=t,this.holdingsService=i,this.localeID=r,this.holdingsOverviewPgRequestEffect$=ke(()=>this.actions$.pipe(Ne(Kt.HOLDINGS_OVERVIEW_PG_REQUEST),Te(o=>this.holdingsService.getHoldingsOverview(Cr(o.payload.referenceDate,"yyyy-MM-dd",this.localeID),o.payload.vatNumber).pipe(fe(l=>new Dm({holdingsOverview:l})),Pe(l=>pe(new xm({error:Bt(l)}))))))),this.productTypesHistoryPgRequestEffect$=ke(()=>this.actions$.pipe(Ne(Kt.PRODUCT_TYPES_HISTORY_PG_REQUEST),Te(o=>this.holdingsService.getProductTypeHistory(Cr(o.payload.referenceDate,"yyyy-MM-dd",this.localeID),o.payload.vatNumber).pipe(fe(l=>new Mm({productTypesHistory:l.productTypesHistory})),Pe(l=>pe(new Tm({error:Bt(l)}))))))),this.holdingsTransactionsPgRequestEffect$=ke(()=>this.actions$.pipe(Ne(Kt.HOLDINGS_TRANSACTIONS_PG_REQUEST),Te(o=>{let l=Cr(o.payload.init,"yyyy-MM-dd",this.localeID),p=Cr(o.payload.end,"yyyy-MM-dd",this.localeID);return this.holdingsService.getHoldingsTransactions(l,p,o.payload.vatNumber).pipe(fe(C=>new Om({holdingsTransactions:C})),Pe(C=>pe(new Am({error:Bt(C)}))))}))),this.holdingsPortfolioAnalysisPgRequestEffect$=ke(()=>this.actions$.pipe(Ne(Kt.HOLDINGS_PORTFOLIO_ANALYSIS_PG_REQUEST),Te(o=>this.holdingsService.postHoldingsPortfolioAnalysis(o.payload,o.payload.vatNumber).pipe(fe(l=>new Pm({holdingsPortfolioAnalysis:l})),Pe(l=>pe(new Rm({error:Bt(l)}))))))),this.holdingsTaxInfoRequestPgEffect$=ke(()=>this.actions$.pipe(Ne(Kt.HOLDINGS_TAX_INFO_PG_REQUEST),Te(o=>this.holdingsService.getHoldingsTaxInfo(o.payload.vatNumber).pipe(fe(l=>new Nm({holdingsTaxInfo:l})),Pe(l=>pe(new km({error:Bt(l)})))))))}static{this.\u0275fac=function(i){return new(i||e)(ae(zi),ae(_N),ae(di))}}static{this.\u0275prov=le({token:e,factory:e.\u0275fac})}}return e})();function bN(e=CN,n){switch(n.type){case Kt.HOLDINGS_OVERVIEW_PG_REQUEST:return U(k({},e),{holdingsPg:U(k({},e.holdingsPg),{overview:null,overviewLoading:!0,overviewError:""})});case Kt.HOLDINGS_OVERVIEW_PG_SUCCESS:return U(k({},e),{holdingsPg:U(k({},e.holdingsPg),{overview:n.payload.holdingsOverview,overviewError:"",overviewLoading:!1})});case Kt.HOLDINGS_OVERVIEW_PG_FAILURE:return U(k({},e),{holdingsPg:U(k({},e.holdingsPg),{overview:null,overviewError:n.payload.error,overviewLoading:!1})});case Kt.PRODUCT_TYPES_HISTORY_PG_REQUEST:return U(k({},e),{holdingsPg:U(k({},e.holdingsPg),{productTypesHistory:void 0,productTypesHistoryLoading:!0,productTypesHistoryError:""})});case Kt.PRODUCT_TYPES_HISTORY_PG_SUCCESS:return U(k({},e),{holdingsPg:U(k({},e.holdingsPg),{productTypesHistory:n.payload.productTypesHistory,productTypesHistoryLoading:!1,productTypesHistoryError:""})});case Kt.PRODUCT_TYPES_HISTORY_PG_FAILURE:return U(k({},e),{holdingsPg:U(k({},e.holdingsPg),{productTypesHistory:void 0,productTypesHistoryLoading:!1,productTypesHistoryError:n.payload.error})});case Kt.HOLDINGS_TRANSACTIONS_PG_REQUEST:return U(k({},e),{holdingsPg:U(k({},e.holdingsPg),{transactions:null,transactionsLoading:!0,transactionsError:""})});case Kt.HOLDINGS_TRANSACTIONS_PG_SUCCESS:return U(k({},e),{holdingsPg:U(k({},e.holdingsPg),{transactions:n.payload.holdingsTransactions,transactionsError:"",transactionsLoading:!1})});case Kt.HOLDINGS_TRANSACTIONS_PG_FAILURE:return U(k({},e),{holdingsPg:U(k({},e.holdingsPg),{transactions:null,transactionsError:n.payload.error,transactionsLoading:!1})});case Kt.HOLDINGS_PORTFOLIO_ANALYSIS_PG_REQUEST:return U(k({},e),{holdingsPg:U(k({},e.holdingsPg),{portfolioAnalysis:null,portfolioAnalysisLoading:!0,portfolioAnalysisError:""})});case Kt.HOLDINGS_PORTFOLIO_ANALYSIS_PG_SUCCESS:return U(k({},e),{holdingsPg:U(k({},e.holdingsPg),{portfolioAnalysis:n.payload.holdingsPortfolioAnalysis,portfolioAnalysisError:"",portfolioAnalysisLoading:!1})});case Kt.HOLDINGS_PORTFOLIO_ANALYSIS_PG_FAILURE:return U(k({},e),{holdingsPg:U(k({},e.holdingsPg),{portfolioAnalysis:null,portfolioAnalysisError:n.payload.error,portfolioAnalysisLoading:!1})});case Kt.HOLDINGS_TAX_INFO_PG_REQUEST:return U(k({},e),{holdingsPg:U(k({},e.holdingsPg),{taxInfo:null,taxInfoLoading:!0,taxInfoError:""})});case Kt.HOLDINGS_TAX_INFO_PG_SUCCESS:return U(k({},e),{holdingsPg:U(k({},e.holdingsPg),{taxInfo:n.payload.holdingsTaxInfo,taxInfoError:"",taxInfoLoading:!1})});case Kt.HOLDINGS_TAX_INFO_PG_FAILURE:return U(k({},e),{holdingsPg:U(k({},e.holdingsPg),{taxInfo:null,taxInfoError:n.payload.error,taxInfoLoading:!1})});default:return e}}var SN="holdingsPg",IEe=new me("HOLDINGS_PG_FEATURE",{providedIn:"root",factory:()=>SN});function x4(){return[ji(SN,bN),bi(yN)]}var N4={};Ni(N4,{ActionTypes:()=>Ft,ProductDetailsClearAction:()=>T4,ProductDetailsFailureAction:()=>Fm,ProductDetailsRequestAction:()=>D4,ProductDetailsSuccessAction:()=>Vm,ProductsAttributesClearAction:()=>A4,ProductsAttributesFailureAction:()=>Um,ProductsAttributesRequestAction:()=>M4,ProductsAttributesSuccessAction:()=>Hm,ProductsAutocompleteFailureAction:()=>zm,ProductsAutocompleteRequestAction:()=>R4,ProductsAutocompleteSuccessAction:()=>Gm,ProductsBlockedFailureAction:()=>$m,ProductsBlockedRequestAction:()=>k4,ProductsBlockedSuccessAction:()=>Wm,ProductsClearAction:()=>P4,ProductsFailureAction:()=>Bm,ProductsRequestAction:()=>O4,ProductsSuccessAction:()=>jm});var Ft=(function(e){return e.PRODUCT_DETAILS_REQUEST="[Position Page] Product Details Request",e.PRODUCT_DETAILS_FAILURE="[Position Page] Product Details Failure",e.PRODUCT_DETAILS_SUCCESS="[Position Page] Product Details Success",e.PRODUCT_DETAILS_CLEAR="[Position Page] Product Details Request",e.PRODUCTS_ATTRIBUTES_REQUEST="[Subscription Page] Products Attributes Request",e.PRODUCTS_ATTRIBUTES_FAILURE="[Subscription Page] Products Attributes Failure",e.PRODUCTS_ATTRIBUTES_SUCCESS="[Subscription Page] Products Attributes Success",e.PRODUCTS_ATTRIBUTES_CLEAR="[Subscription Page] Products Attributes Clear",e.PRODUCTS_REQUEST="[Subscription Page] Products Request",e.PRODUCTS_FAILURE="[Subscription Page] Products Failure",e.PRODUCTS_SUCCESS="[Subscription Page] Products Success",e.PRODUCTS_AUTOCOMPLETE_REQUEST="[Search Products Page] Products Autocomplete Request",e.PRODUCTS_AUTOCOMPLETE_FAILURE="[Search Products Page] Products Autocomplete Failure",e.PRODUCTS_AUTOCOMPLETE_SUCCESS="[Search Products Page] Products Autocomplete Success",e.PRODUCTS_CLEAR="[Subscription Page] Products Clear",e.PRODUCTS_BLOCKED_REQUEST="[Reimbursement and Switch Page] Products Blocked Request",e.PRODUCTS_BLOCKED_FAILURE="[Reimbursement and Switch Page] Products Blocked Failure",e.PRODUCTS_BLOCKED_SUCCESS="[Reimbursement and Switch Page] Products Blocked Success",e})(Ft||{}),D4=class{constructor(n){this.payload=n,this.type=Ft.PRODUCT_DETAILS_REQUEST}},Fm=class{constructor(n){this.payload=n,this.type=Ft.PRODUCT_DETAILS_FAILURE}},Vm=class{constructor(n){this.payload=n,this.type=Ft.PRODUCT_DETAILS_SUCCESS}},T4=class{constructor(){this.type=Ft.PRODUCT_DETAILS_CLEAR}},M4=class{constructor(n){this.payload=n,this.type=Ft.PRODUCTS_ATTRIBUTES_REQUEST}},Um=class{constructor(n){this.payload=n,this.type=Ft.PRODUCTS_ATTRIBUTES_FAILURE}},Hm=class{constructor(n){this.payload=n,this.type=Ft.PRODUCTS_ATTRIBUTES_SUCCESS}},A4=class{constructor(){this.type=Ft.PRODUCTS_ATTRIBUTES_CLEAR}},O4=class{constructor(n){this.payload=n,this.type=Ft.PRODUCTS_REQUEST}},Bm=class{constructor(n){this.payload=n,this.type=Ft.PRODUCTS_FAILURE}},jm=class{constructor(n){this.payload=n,this.type=Ft.PRODUCTS_SUCCESS}},R4=class{constructor(n){this.payload=n,this.type=Ft.PRODUCTS_AUTOCOMPLETE_REQUEST}},zm=class{constructor(n){this.payload=n,this.type=Ft.PRODUCTS_AUTOCOMPLETE_FAILURE}},Gm=class{constructor(n){this.payload=n,this.type=Ft.PRODUCTS_AUTOCOMPLETE_SUCCESS}},P4=class{constructor(){this.type=Ft.PRODUCTS_CLEAR}},k4=class{constructor(){this.type=Ft.PRODUCTS_BLOCKED_REQUEST}},$m=class{constructor(n){this.payload=n,this.type=Ft.PRODUCTS_BLOCKED_FAILURE}},Wm=class{constructor(n){this.payload=n,this.type=Ft.PRODUCTS_BLOCKED_SUCCESS}};var Ym={};Ni(Ym,{selectBLockedProducts:()=>Nre,selectCountTotalProducts:()=>kre,selectProductDetails:()=>Are,selectProductDetailsError:()=>Tre,selectProductDetailsIsLoading:()=>Mre,selectProductState:()=>gl,selectProducts:()=>Rre,selectProductsAttributes:()=>Ore,selectProductsForAutocomplete:()=>Pre});var yre=e=>e.error,bre=e=>e.isLoading,Sre=e=>e.details,Ire=e=>e.productsAttributes,Ere=e=>e.products,wre=e=>e.productsBlocked,xre=e=>e.productsAutocomplete,Dre=e=>e.recordsTotal,gl=Mi("product"),Tre=Ce(gl,yre),Mre=Ce(gl,bre),Are=Ce(gl,Sre),Ore=Ce(gl,Ire),Rre=Ce(gl,Ere),Pre=Ce(gl,xre),kre=Ce(gl,Dre),Nre=Ce(gl,wre);var IN={details:null,isLoading:!1,error:"",productsAutocomplete:[],productsAutocompleteLoading:!1,productsAutocompleteError:""};var Wy=(()=>{class e{constructor(t,i){this.http=t,this.config=i}getDetailsByInstrumentCode(t,i){if(!t)return Vr;let r=new Ct;return r=r.set("instrumentCode",t),i&&(r=r.set("addPriceInfo","true")),this.http.get(this.config.productDetailsApi,{params:r})}getProductsAttributes(t){let i=new Ct;for(let[r,o]of Object.entries(t))o===!0&&(i=i.set(r,o));return t.switchFund!==void 0&&t.switchFund!==""&&(i=i.set("switchFund",t.switchFund),i=i.set("multipleBond",""+t.multipleBond)),t.switchImportValue?i=i.set("switchImportValue",""+t.switchImportValue):i=i.set("switchImportValue","-1"),this.http.get(this.config.productsAttributes,{params:i})}getProducts(t){return this.http.post(this.config.products,t)}getProductsForAutocomplete(t){return this.http.post(this.config.productsAutocomplete,t)}getSubscriptionDocuments(t){let i=new Ct;return i=i.set("products",t),this.http.get(this.config.subscriptionDocumentsApi,{params:i}).pipe(fe(r=>r?.documents))}getProductsBlocked(){return this.http.get(this.config.blockedproducts)}static{this.\u0275fac=function(i){return new(i||e)(ae(si),ae(Mn))}}static{this.\u0275prov=le({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();var wN=(()=>{class e{constructor(t,i){this.actions$=t,this.productService=i,this.productDetailsRequestEffect$=ke(()=>this.actions$.pipe(Ne(Ft.PRODUCT_DETAILS_REQUEST),Te(r=>this.productService.getDetailsByInstrumentCode(r.payload?.instrumentCode,r.payload?.addPriceInfo??!1).pipe(fe(o=>new Vm({details:o})),Pe(o=>pe(new Fm({error:Bt(o)}
31))))))),this.productsAttributesRequestEffect$=ke(()=>this.actions$.pipe(Ne(Ft.PRODUCTS_ATTRIBUTES_REQUEST),Te(r=>this.productService.getProductsAttributes(r.payload).pipe(fe(o=>new Hm({productsAttributes:o})),Pe(o=>pe(new Um({error:Bt(o)}))))))),this.productsRequestEffect$=ke(()=>this.actions$.pipe(Ne(Ft.PRODUCTS_REQUEST),Te(r=>this.productService.getProducts(r.payload).pipe(fe(o=>new jm({products:o.products,recordsTotal:o.recordsTotal})),Pe(o=>pe(new Bm({error:Bt(o)}))))))),this.productsAutocompleteRequestEffect$=ke(()=>this.actions$.pipe(Ne(Ft.PRODUCTS_AUTOCOMPLETE_REQUEST),Te(r=>this.productService.getProductsForAutocomplete(r.payload).pipe(fe(o=>new Gm({productsAutocomplete:o.products})),Pe(o=>pe(new zm({error:Bt(o)}))))))),this.productsBlockedRequestEffect$=ke(()=>this.actions$.pipe(Ne(Ft.PRODUCTS_BLOCKED_REQUEST),Te(r=>this.productService.getProductsBlocked().pipe(fe(o=>new Wm({productsBlocked:o})),Pe(o=>pe(new $m({error:Bt(o)})))))))}static{this.\u0275fac=function(i){return new(i||e)(ae(zi),ae(Wy))}}static{this.\u0275prov=le({token:e,factory:e.\u0275fac})}}return e})();function xN(e=IN,n){switch(n.type){case Ft.PRODUCT_DETAILS_REQUEST:return U(k({},e),{details:null,error:"",isLoading:!0});case Ft.PRODUCT_DETAILS_SUCCESS:return U(k({},e),{details:n.payload.details,error:"",isLoading:!1});case Ft.PRODUCT_DETAILS_FAILURE:return U(k({},e),{details:null,error:n.payload.error,isLoading:!1});case Ft.PRODUCT_DETAILS_CLEAR:return U(k({},e),{details:null});case Ft.PRODUCTS_ATTRIBUTES_REQUEST:return U(k({},e),{productsAttributes:void 0,error:"",isLoading:!0});case Ft.PRODUCTS_ATTRIBUTES_SUCCESS:return U(k({},e),{productsAttributes:n.payload.productsAttributes,error:"",isLoading:!1});case Ft.PRODUCTS_ATTRIBUTES_FAILURE:return U(k({},e),{productsAttributes:void 0,error:n.payload.error,isLoading:!1});case Ft.PRODUCTS_ATTRIBUTES_CLEAR:return U(k({},e),{productsAttributes:void 0});case Ft.PRODUCTS_REQUEST:return U(k({},e),{products:void 0,recordsTotal:0,error:"",isLoading:!0});case Ft.PRODUCTS_SUCCESS:return U(k({},e),{products:n.payload.products,recordsTotal:n.payload.recordsTotal,error:"",isLoading:!1});case Ft.PRODUCTS_FAILURE:return U(k({},e),{products:void 0,recordsTotal:0,error:n.payload.error,isLoading:!1});case Ft.PRODUCTS_CLEAR:return U(k({},e),{products:null,recordsTotal:0});case Ft.PRODUCTS_AUTOCOMPLETE_REQUEST:return U(k({},e),{productsAutocomplete:[],productsAutocompleteError:"",productsAutocompleteLoading:!0});case Ft.PRODUCTS_AUTOCOMPLETE_SUCCESS:return U(k({},e),{productsAutocomplete:n.payload.productsAutocomplete,productsAutocompleteError:"",productsAutocompleteLoading:!1});case Ft.PRODUCTS_AUTOCOMPLETE_FAILURE:return U(k({},e),{productsAutocomplete:[],productsAutocompleteError:n.payload.error,productsAutocompleteLoading:!1});case Ft.PRODUCTS_BLOCKED_REQUEST:return U(k({},e),{productsBlocked:[],productsBlockedError:"",productsBlockedLoading:!0});case Ft.PRODUCTS_BLOCKED_SUCCESS:return U(k({},e),{productsBlocked:n.payload.productsBlocked,productsBlockedError:"",productsBlockedLoading:!1});case Ft.PRODUCTS_BLOCKED_FAILURE:return U(k({},e),{productsAutocomplete:[],productsAutocompleteError:n.payload.error,productsAutocompleteLoading:!1});default:return e}}var DN="product",$Ee=new me("PRODUCT_FEATURE",{providedIn:"root",factory:()=>DN});function L4(){return[ji(DN,xN),bi(wN)]}var z4={};Ni(z4,{ActionTypes:()=>mn,CreateUserAction:()=>F4,CreateUserPasswordAction:()=>U4,CreateUserPasswordSuccessAction:()=>Zm,CreateUserSuccessAction:()=>qm,GetRegistrationContractAction:()=>H4,GetRegistrationContractSuccessAction:()=>Km,HttpRequestErrorAction:()=>Da,UpdateUserDataFullAction:()=>j4,UpdateUserDataFullSuccessAction:()=>Jm,UpdateUserDataLightAction:()=>B4,UpdateUserDataLightSuccessAction:()=>Xm,VerifyUserToken:()=>V4,VerifyUserTokenSuccessAction:()=>Qm});var mn=(function(e){return e.CREATE_USER="[USER] Create user account",e.CREATE_USER_SUCCESS="[USER] Create user account success",e.VERIFY_TOKEN="[USER] Verify received token",e.VERIFY_TOKEN_SUCCESS="[User] Token verified success",e.CREATE_USER_PASSWORD="[USER] Create user account password",e.CREATE_USER_PASSWORD_SUCCESS="[User] Create user account password success",e.GET_REGISTRATION_CONTRACT="[User] Get registration contract",e.GET_REGISTRATION_CONTRACT_SUCCESS="[User] Get registration contract success",e.UPDATE_USER_DATA_LIGHT="[User] Update user data in light mode step 1",e.UPDATE_USER_DATA_LIGHT_SUCCESS="[User] Update user data in light mode step 1 success",e.UPDATE_USER_DATA_FULL="[User] Update user data in full mode",e.UPDATE_USER_DATA_FULL_SUCCESS="[User] Update user data in full mode success",e.HTTP_REQUEST_ERROR="[USER] HTTP error",e})(mn||{}),F4=class{constructor(n){this.payload=n,this.type=mn.CREATE_USER}},qm=class{constructor(n){this.payload=n,this.type=mn.CREATE_USER_SUCCESS}},V4=class{constructor(n){this.payload=n,this.type=mn.VERIFY_TOKEN}},Qm=class{constructor(n){this.payload=n,this.type=mn.VERIFY_TOKEN_SUCCESS}},U4=class{constructor(n){this.payload=n,this.type=mn.CREATE_USER_PASSWORD}},Zm=class{constructor(){this.type=mn.CREATE_USER_PASSWORD_SUCCESS}},H4=class{constructor(n){this.title=n,this.type=mn.GET_REGISTRATION_CONTRACT}},Km=class{constructor(n){this.payload=n,this.type=mn.GET_REGISTRATION_CONTRACT_SUCCESS}},B4=class{constructor(n){this.payload=n,this.type=mn.UPDATE_USER_DATA_LIGHT}},Xm=class{constructor(){this.type=mn.UPDATE_USER_DATA_LIGHT_SUCCESS}},j4=class{constructor(n){this.payload=n,this.type=mn.UPDATE_USER_DATA_FULL}},Jm=class{constructor(){this.type=mn.UPDATE_USER_DATA_FULL_SUCCESS}},Da=class{constructor(n){this.payload=n,this.type=mn.HTTP_REQUEST_ERROR}};var Yy=(()=>{class e{constructor(t,i){this.http=t,this.config=i}createUser(t){return this.http.post(this.config.userRegistrtionApi,t.userData)}verifyToken(t){let i=new Ct;return i=i.set("token",t),this.http.get(this.config.verifyUserTokenApi,{params:i})}createUserPassword(t){return this.http.put(this.config.userRegistrtionApi,t)}getRegistrationContract(t){return this.http.post(this.config.getRegistrationContractApi,{title:t}).pipe(fe(i=>i))}signUserContract(){return this.http.post(this.config.signRegistrationContractApi,{})}updateUserDataLight(t){return this.http.post(`${this.config.userRegistrtionApi}/service/light`,t)}updateUserDataFull(t){let i=new Ct;return i=i.set("type",t.type?t.type:"CLASSIC"),this.http.post(`${this.config.userRegistrtionApi}/service/full`,t.data,{params:i})}getSpidIframeURL(t){let i=new Ct;return i=i.set("callbackUrl",t),this.http.get(this.config.registrationSPIDApi,{params:i}).pipe(fe(r=>r))}getCieIframeURL(t){let i=new Ct;return i=i.set("callbackUrl",t),this.http.get(this.config.registrationCIEApi,{params:i}).pipe(fe(r=>r))}completeSPIDRegistration(){return this.http.post(`${this.config.registrationSPIDApi}/done`,null)}forceNewSPIDRegistration(){return this.http.post(`${this.config.registrationSPIDApi}/forceNew`,null)}forceNewCIERegistration(){return this.http.post(`${this.config.registrationCIEApi}/forceNew`,null)}completeCIERegistration(){return this.http.post(`${this.config.registrationCIEApi}/done`,null)}static{this.\u0275fac=function(i){return new(i||e)(ae(si),ae(Mn))}}static{this.\u0275prov=le({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();var MN=(()=>{class e{constructor(t,i,r,o){this.actions$=t,this.userService=i,this.registrationService=r,this.router=o,this.createUserEffect$=ke(()=>this.actions$.pipe(Ne(mn.CREATE_USER),Te(l=>this.registrationService.createUser(l.payload).pipe(fe(p=>new qm({response:p,emailSend:!0})),Pe(p=>pe(new Da(Bt(p)))))))),this.verifyUserTokenEffect$=ke(()=>this.actions$.pipe(Ne(mn.VERIFY_TOKEN),Te(l=>this.registrationService.verifyToken(l.payload).pipe(fe(p=>new Qm({response:p,tokenVerified:!0})),Pe(p=>pe(new Da(Bt(p)))))))),this.createUserPasswordEffect$=ke(()=>this.actions$.pipe(Ne(mn.CREATE_USER_PASSWORD),Te(l=>this.registrationService.createUserPassword(l.payload).pipe(fe(p=>new Zm),Pe(p=>pe(new Da(Bt(p)))))))),this.createUserPasswordSuccessEffect$=ke(()=>this.actions$.pipe(Ne(mn.CREATE_USER_PASSWORD_SUCCESS),pn(()=>this.router.navigate(["registration","mode"]))),{dispatch:!1}
31),this.getRegistrationContractEffect$=ke(()=>this.actions$.pipe(Ne(mn.GET_REGISTRATION_CONTRACT),Te(l=>this.registrationService.getRegistrationContract(l.title).pipe(fe(p=>new Km(p)),Pe(p=>pe(new Da(Bt(p)))))))),this.updateUserDataLightEffect$=ke(()=>this.actions$.pipe(Ne(mn.UPDATE_USER_DATA_LIGHT),Te(l=>this.registrationService.updateUserDataLight(l.payload).pipe(fe(p=>new Xm),Pe(p=>pe(new Da(Bt(p)))))))),this.updateUserDataFullEffect$=ke(()=>this.actions$.pipe(Ne(mn.UPDATE_USER_DATA_FULL),Te(l=>this.registrationService.updateUserDataFull(l.payload).pipe(fe(p=>new Jm),Pe(p=>pe(new Da(Bt(p))))))))}static{this.\u0275fac=function(i){return new(i||e)(ae(zi),ae(ds),ae(Yy),ae(Qn))}}static{this.\u0275prov=le({token:e,factory:e.\u0275fac})}}return e})();var AN={user:{userData:{firstName:"",lastName:"",email:""},additionalData:void 0,registrationLightData:void 0,registrationFullData:void 0,emailSend:!1},tokenVerified:!1,isLoading:!1,error:""};var ON=(e=AN,n)=>{switch(n.type){case mn.CREATE_USER:return U(k({},e),{user:k({},n.payload),isLoading:!0,error:""});case mn.CREATE_USER_SUCCESS:return U(k({},e),{user:U(k({},e.user),{emailSend:n.payload.emailSend}),isLoading:!1});case mn.VERIFY_TOKEN:return U(k({},e),{error:"",isLoading:!0});case mn.VERIFY_TOKEN_SUCCESS:return U(k({},e),{tokenVerified:n.payload.tokenVerified,error:"",isLoading:!1});case mn.UPDATE_USER_DATA_LIGHT:case mn.UPDATE_USER_DATA_FULL:return U(k({},e),{error:"",isLoading:!0});case mn.UPDATE_USER_DATA_LIGHT_SUCCESS:case mn.UPDATE_USER_DATA_FULL_SUCCESS:return U(k({},e),{error:"",isLoading:!1});case mn.HTTP_REQUEST_ERROR:return U(k({},e),{error:n.payload,isLoading:!1});default:return e}};var RN="registration",uwe=new me("REGISTRATION_FEATURE",{providedIn:"root",factory:()=>RN});function G4(){return[ji(RN,ON),bi(MN)]}var W4={};Ni(W4,{ActionTypes:()=>hs,OptionsFailureAction:()=>e1,OptionsRequestAction:()=>$4,OptionsSuccessAction:()=>t1});var hs=(function(e){return e.OPTIONS_REQUEST="[App Options] Options Request",e.OPTIONS_FAILURE="[App Options] Options Failure",e.OPTIONS_SUCCESS="[App Options] Options Success",e})(hs||{}),$4=class{constructor(){this.type=hs.OPTIONS_REQUEST}},e1=class{constructor(n){this.payload=n,this.type=hs.OPTIONS_FAILURE}},t1=class{constructor(n){this.payload=n,this.type=hs.OPTIONS_SUCCESS}};var zs={};Ni(zs,{selectCovipUrl:()=>loe,selectDocumentTypes:()=>ioe,selectMunicipality:()=>noe,selectNations:()=>eoe,selectOptions:()=>Jre,selectOptionsError:()=>Kre,selectOptionsIsLoading:()=>Xre,selectOptionsState:()=>bo,selectPdfMode:()=>aoe,selectProvincies:()=>toe,selectSelectBelongAndProfessionsDesc:()=>coe,selectSocietyAmimaList:()=>roe,selectTaxCodeAnimaCompany:()=>ooe,selectWhorizonUrl:()=>soe});var Vre=e=>e.error,Ure=e=>e.loading,Hre=e=>e.data,Bre=e=>e&&e.data&&e.data.countries?e.data.countries.map(n=>({code:n.code,nationName:n.nameIt})):[],jre=e=>e&&e.data&&e.data.provincies?e.data.provincies.map(n=>({code:n.code,provinceName:n.nameIt})):[],zre=e=>e&&e.data&&e.data.municipalities?e.data.municipalities.map(n=>({code:n.provinceCode,municipalityName:n.nameIt})):[],Gre=e=>e&&e.data&&e.data.documentTypes?e.data.documentTypes:[],$re=e=>({sectorBelong:e.data.sectorBelongList,professionsDesc:e.data.professionDescList}),Wre=e=>e&&e.data&&e.data.societyAmimaList?e.data.societyAmimaList:[],Yre=e=>e&&e.data&&e.data.taxCodeAnimaCompany?e.data.taxCodeAnimaCompany:[],qre=e=>e&&e.data&&e.data.whorizonUrl?e.data.whorizonUrl:"",Qre=e=>e&&e.data&&e.data.pdfMode?e.data.pdfMode:"",Zre=e=>e&&e.data&&e.data.covipUrl?e.data.covipUrl:"",bo=Mi("options"),Kre=Ce(bo,Vre),Xre=Ce(bo,Ure),Jre=Ce(bo,Hre),eoe=Ce(bo,Bre),toe=Ce(bo,jre),noe=Ce(bo,zre),ioe=Ce(bo,Gre),roe=Ce(bo,Wre),ooe=Ce(bo,Yre),soe=Ce(bo,qre),aoe=Ce(bo,Qre),loe=Ce(bo,Zre),coe=Ce(bo,$re);var qy={data:{countries:[],documentTypes:[],provincies:[],municipalities:[],professionDescList:[],sectorBelongList:[],whorizonUrl:"",covipUrl:"",pdfMode:""},error:"",loading:!1};var PN=(()=>{class e{constructor(t,i,r){this.actions$=t,this.appOptionsService=i,this.localeID=r,this.optionsRequestEffect$=ke(()=>this.actions$.pipe(Ne(hs.OPTIONS_REQUEST),Te(o=>this.appOptionsService.getOptions().pipe(fe(l=>new t1({options:l})),Pe(l=>pe(new e1({error:Bt(l)}))))))),this.optionsRequestFailure$=ke(()=>this.actions$.pipe(Ne(hs.OPTIONS_FAILURE),pn(()=>this.appOptionsService.goToCourtesyPage())),{dispatch:!1})}static{this.\u0275fac=function(i){return new(i||e)(ae(zi),ae(yi),ae(di))}}static{this.\u0275prov=le({token:e,factory:e.\u0275fac})}}return e})();function kN(e=qy,n){switch(n.type){case hs.OPTIONS_REQUEST:return U(k({},e),{data:qy.data,loading:!0,error:""});case hs.OPTIONS_SUCCESS:return U(k({},e),{data:n.payload.options,error:"",loading:!1});case hs.OPTIONS_FAILURE:return U(k({},e),{data:qy.data,loading:!1,error:n.payload.error});default:return e}}var Y4="options",NN=e=>(n,t)=>{if(t.type===Md||t.type===Ph){let r=localStorage.getItem(Y4);if(r)try{return JSON.parse(r)}catch{localStorage.removeItem(Y4)}}let i=e(n,t);return i&&localStorage.setItem(Y4,JSON.stringify(i)),i};var LN="options",kwe=new me("OPTIONS_FEATURE",{providedIn:"root",factory:()=>LN});function q4(){return[ji(LN,kN,{metaReducers:[NN]}),bi(PN)]}var Z4={};Ni(Z4,{ActionTypes:()=>Gs,GetBannerFailure:()=>n1,GetBannerRequest:()=>Q4,GetBannerSuccess:()=>i1});var Gs=(function(e){return e.GET_BANNER_REQUEST="[GET Banner] get banner request",e.GET_BANNNER_FAILURE="[GET Banner] get banner failure",e.GET_BANNER_SUCCESS="[GET Banner] get banner success",e})(Gs||{}),Q4=class{constructor(){this.type=Gs.GET_BANNER_REQUEST}},n1=class{constructor(n){this.payload=n,this.type=Gs.GET_BANNNER_FAILURE}},i1=class{constructor(n){this.payload=n,this.type=Gs.GET_BANNER_SUCCESS}};var UN={};Ni(UN,{getShortcuts:()=>VN,getSliders:()=>FN,selectHomepage:()=>K4,selectShortcuts:()=>hoe,selectSliders:()=>uoe});var K4=Mi("homepage"),FN=e=>e.banner?.slider,VN=e=>e.banner?.shortcuts,uoe=Ce(K4,FN),hoe=Ce(K4,VN);var HN={banner:null,error:"",isLoading:!1};var BN=(()=>{class e{constructor(t,i){this.http=t,this.config=i}getBanner(){return this.http.get(this.config.homepageBanner)}static{this.\u0275fac=function(i){return new(i||e)(ae(si),ae(Mn))}}static{this.\u0275prov=le({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();var jN=(()=>{class e{constructor(t,i){this.actions$=t,this.homepageService=i,this.bannerRequestEffect$=ke(()=>this.actions$.pipe(Ne(Gs.GET_BANNER_REQUEST),Te(r=>this.homepageService.getBanner().pipe(fe(o=>new i1({banner:o})),Pe(o=>pe(new n1({error:o})))))))}static{this.\u0275fac=function(i){return new(i||e)(ae(zi),ae(BN))}}static{this.\u0275prov=le({token:e,factory:e.\u0275fac})}}return e})();function zN(e=HN,n){switch(n.type){case Gs.GET_BANNER_REQUEST:return U(k({},e),{error:"",isLoading:!0});case Gs.GET_BANNNER_FAILURE:return U(k({},e),{isLoading:!1,error:n.payload.error,banner:null});case Gs.GET_BANNER_SUCCESS:return U(k({},e),{error:"",isLoading:!1,banner:n.payload.banner});default:return e}}var GN="homepage",Xwe=new me("HOMEPAGE_FEATURE",{providedIn:"root",factory:()=>GN});function X4(){return[ji(GN,zN),bi(jN)]}var Fd={};Ni(Fd,{ActionTypes:()=>ti,PensionFundsInfoFailureAction:()=>s1,PensionFundsInfoRequestAction:()=>eM,PensionFundsInfoSuccessAction:()=>a1,PensionFundsOverviewFailureAction:()=>r1,PensionFundsOverviewRequestAction:()=>J4,PensionFundsOverviewSuccessAction:()=>o1,PensionFundsWithdrawalFailureAction:()=>l1,PensionFundsWithdrawalRequestAction:()=>tM,PensionFundsWithdrawalSuccessAction:()=>c1});var ti=(function(e){return e.PENSION_FUNDS_OVERVIEW_REQUEST="[Pension Funds Page] Pension Funds Overview Request",e.PENSION_FUNDS_OVERVIEW_FAILURE="[Pension Funds Page] Pension Funds Overview Failure",e.PENSION_FUNDS_OVERVIEW_SUCCESS="[Pension Funds Page] Pension Funds Overview Success",e.PENSION_FUNDS_INFO_REQUEST="[Pension Funds Page] Pension Funds Info Request",e.PENSION_FUNDS_INFO_FAILURE="[Pension Funds Page] Pension Funds Info Failure",e.PENSION_FUNDS_INFO_SUCCESS="[Pension Funds Page] Pension Funds Info Success",e.PENSION_FUNDS_WITHDRAWAL_REQUEST="[Pension Funds Page] Pension Funds Withdrawal Request",e.PENSION_FUNDS_WITHDRAWAL_FAILURE="[Pension Funds Page] Pension Funds Withdrawal Failure",e.PENSION_FUNDS_WITHDRAWAL_SUCCESS="[Pension Funds Page] Pension Funds Withdrawal Success",e})(ti||{}),J4=class{constructor(n){this.payload=n,this.type=ti.PENSION_FUNDS_OVERVIEW_REQUEST}},r1=class{constructor(n){this.payload=n,this.type=ti.PENSION_FUNDS_OVERVIEW_FAILURE}},o1=class{constructor(n){this.payload=n,this.type=ti.PENSION_FUNDS_OVERVIEW_SUCCESS}},eM=class{constructor(n){this.payload=n,this.type=ti.PENSION_FUNDS_INFO_REQUEST}},s1=class{constructor(n){this.payload=n,this.type=ti.PENSION_FUNDS_INFO_FAILURE}},a1=class{constructor(n){this.payload=n,this.type=ti.PENSION_FUNDS_INFO_SUCCESS}},tM=class{constructor(n){this.payload=n,this.type=ti.PENSION_FUNDS_WITHDRAWAL_REQUEST}},l1=class{constructor(n){this.payload=n,this.type=ti.PENSION_FUNDS_WITHDRAWAL_FAILURE}},c1=class{constructor(n){this.payload=n,this.type=ti.PENSION_FUNDS_WITHDRAWAL_SUCCESS}};var Vd={};Ni(Vd,{selectPensioFundsInfo:()=>Toe,selectPensionFundsError:()=>Ioe,selectPensionFundsIsLoading:()=>woe,selectPensionFundsOverview:()=>Doe,selectPensionFundsState:()=>cc,selectPensionFundsWhithdrawal:()=>Moe,selectPensionFundsWhithdrawalError:()=>Eoe,selectPensionFundsWhithdrawalIsLoading:()=>xoe,selectPensionFundsWhithdrawalState:()=>Soe});var goe=e=>e.pensionFunds.overviewError,moe=e=>e.pensionFundsWithdrawal.withdrawalError,voe=e=>!!e.pensionFunds.overviewLoading,Coe=e=>
31!!e.pensionFundsWithdrawal.withdrawalLoading,_oe=e=>e.pensionFunds?.overview,yoe=e=>({hasMembership:e.pensionFundsInfo?.hasMembership,animaEmployee:e.pensionFundsInfo?.animaEmployee,italianFiscalResidence:e.pensionFundsInfo?.italianFiscalResidence}),boe=e=>e.pensionFundsWithdrawal?.withdrawal,cc=Mi("pensionFunds"),Soe=Mi("pensionFundsWithdrawal"),Ioe=Ce(cc,goe),Eoe=Ce(cc,moe),woe=Ce(cc,voe),xoe=Ce(cc,Coe),Doe=Ce(cc,_oe),Toe=Ce(cc,yoe),Moe=Ce(cc,boe);var $N={pensionFundsInfo:null,pensionFundsInfoLoaded:!1,pensionFundsInfoLoading:!1,pensionFundsInfoError:"",pensionFundsInfoTaxCode:null,pensionFunds:{overview:null,overviewError:"",overviewLoading:!1},pensionFundsWithdrawal:{withdrawal:null,withdrawalError:"",withdrawalLoading:!1}};var Qy=(()=>{class e{constructor(t,i){this.http=t,this.config=i}getPensionFundsOverview(t,i){let r=new Ct().append("taxCode",t).append("referenceDate",i);return this.http.get(this.config.pensionFundsOverviewApi,{params:r,withCredentials:!0})}getPensionFundsDocumentsList(t){let i=new Ct().append("name",t);return this.http.get(this.config.pensionFundsDocumentsListApi,{params:i})}getPensionFundsDocuments(t,i){let r=new Ct().append("name",t).append("pensionFundId",i);return this.http.get(this.config.pensionFundsDocumentsApi,{params:r})}getPensionFundsListWithdrawal(t){let i=new Ct().append("taxCode",t);return this.http.get(this.config.pensionFundsListWithdrawalApi,{params:i})}getPensionFundsDocumentWithBarcode(t,i){let r=new Ct().append("name",t);return this.http.get(this.config.pensionFundsDocumentWithBarcodeApi(i),{params:r})}postPensionFundsContractDocumentSign(t,i){let r=new Ct().append("name",t);return this.http.post(this.config.pensionFundsContractApi(),i,{params:r})}postValidateMembership(t){return this.http.post(this.config.pensionFundsValidateMembership(),t)}postPensionFundsSubscriptionRequest(t,i){let r=new Ct().append("name",t);return this.http.post(this.config.pensionFundsSubscriptionApi(),i,{params:r})}getSurveyScore(t,i){let r=new Ct().append("name",t);return this.http.post(this.config.pensionFundsSurveyScoreApi(),i,{params:r})}getPensionFundsInfo(t){let i=new Ct().append("taxCode",t);return this.http.get(this.config.pensionFundsInfoApi,{params:i})}uploadSignedCostSheet(t,i){let r=new Ct().append("name",t);return this.http.post(this.config.uploadSignedCostSheetApi(),i,{params:r})}static{this.\u0275fac=function(i){return new(i||e)(ae(si),ae(Mn))}}static{this.\u0275prov=le({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();var YN=(()=>{class e{constructor(t,i,r,o){this.actions$=t,this.pensionFundsService=i,this.store=r,this.localeID=o,this.selectPensionFundsInfo=l=>l.feature.pensionFundsInfo,this.selectPensionFundsInfoTaxCode=l=>l.feature.pensionFundsInfoTaxCode,this.pensionFundsOverviewRequestEffect$=ke(()=>this.actions$.pipe(Ne(ti.PENSION_FUNDS_OVERVIEW_REQUEST),Te(l=>this.pensionFundsService.getPensionFundsOverview(l.payload.taxCode,l.payload.referenceDate).pipe(fe(p=>new o1({pensionFundsOverview:p})),Pe(p=>pe(new r1({error:Bt(p)}))))))),this.pensionFundsInfoRequestEffect$=ke(()=>this.actions$.pipe(Ne(ti.PENSION_FUNDS_INFO_REQUEST),Te(l=>this.pensionFundsService.getPensionFundsInfo(l.payload.taxCode).pipe(fe(p=>new a1({pensionFundsInfo:p})),Pe(p=>pe(new s1({error:Bt(p)}))))))),this.pensionFundsWithdrawalRequestEffect$=ke(()=>this.actions$.pipe(Ne(ti.PENSION_FUNDS_WITHDRAWAL_REQUEST),Te(l=>this.pensionFundsService.getPensionFundsListWithdrawal(l.payload.taxCode).pipe(fe(p=>new c1({pensionFundsWithdrawal:p})),Pe(p=>pe(new l1({error:Bt(p)})))))))}static{this.\u0275fac=function(i){return new(i||e)(ae(zi),ae(Qy),ae(an),ae(di))}}static{this.\u0275prov=le({token:e,factory:e.\u0275fac})}}return e})();function qN(e=$N,n){switch(n.type){case ti.PENSION_FUNDS_OVERVIEW_REQUEST:return U(k({},e),{pensionFunds:U(k({},e.pensionFunds),{overview:null,overviewLoading:!0,overviewError:""})});case ti.PENSION_FUNDS_OVERVIEW_SUCCESS:return U(k({},e),{pensionFunds:U(k({},e.pensionFunds),{overview:n.payload.pensionFundsOverview,overviewError:"",overviewLoading:!1})});case ti.PENSION_FUNDS_OVERVIEW_FAILURE:return U(k({},e),{pensionFunds:U(k({},e.pensionFunds),{overview:null,overviewError:n.payload.error,overviewLoading:!1})});case ti.PENSION_FUNDS_INFO_REQUEST:return U(k({},e),{pensionFundsInfoLoading:!0,pensionFundsInfoError:"",pensionFundsInfoTaxCode:n.payload.taxCode});case ti.PENSION_FUNDS_INFO_SUCCESS:return U(k({},e),{pensionFundsInfo:n.payload.pensionFundsInfo,pensionFundsInfoLoaded:!0,pensionFundsInfoLoading:!1,pensionFundsInfoError:""});case ti.PENSION_FUNDS_INFO_FAILURE:return U(k({},e),{pensionFundsInfo:null,pensionFundsInfoLoaded:!1,pensionFundsInfoLoading:!1,pensionFundsInfoError:n.payload.error});case ti.PENSION_FUNDS_WITHDRAWAL_REQUEST:return U(k({},e),{pensionFundsWithdrawal:U(k({}
31,e.pensionFundsWithdrawal),{withdrawal:null,withdrawalLoading:!0,withdrawalError:""})});case ti.PENSION_FUNDS_WITHDRAWAL_SUCCESS:return U(k({},e),{pensionFundsWithdrawal:U(k({},e.pensionFundsWithdrawal),{withdrawal:n.payload.pensionFundsWithdrawal,withdrawalError:"",withdrawalLoading:!1})});case ti.PENSION_FUNDS_WITHDRAWAL_FAILURE:return U(k({},e),{pensionFundsWithdrawal:U(k({},e.pensionFundsWithdrawal),{withdrawal:null,withdrawalError:n.payload.error,withdrawalLoading:!1})});default:return e}}var QN="pensionFunds",bxe=new me("PENSION_FUNDS_FEATURE",{providedIn:"root",factory:()=>QN});function nM(){return[ji(QN,qN),bi(YN)]}var oM={};Ni(oM,{ActionTypes:()=>cr,AdviceTaxcodeFailureAction:()=>d1,AdviceTaxcodeRequestAction:()=>iM,AdviceTaxcodeResetAction:()=>rM,AdviceTaxcodeResetFailureAction:()=>p1,AdviceTaxcodeResetSuccessAction:()=>h1,AdviceTaxcodeSuccessAction:()=>u1});var cr=(function(e){return e.ADVICE_TAXCODE_REQUEST="[Advice Taxcode Page] Advice Taxcode Request",e.ADVICE_TAXCODE_FAILURE="[Advice Taxcode Page] Advice Taxcode Failure",e.ADVICE_TAXCODE_SUCCESS="[Advice Taxcode Page] Advice Taxcode Success",e.ADVICE_TAXCODE_RESET="[Advice Taxcode Page] Advice Taxcode Reset",e.ADVICE_TAXCODE_RESET_SUCCESS="[Advice Taxcode Page] Advice Taxcode Reset Success",e.ADVICE_TAXCODE_RESET_FAILURE="[Advice Taxcode Page] Advice Taxcode Reset Failure",e})(cr||{}),iM=class{constructor(){this.type=cr.ADVICE_TAXCODE_REQUEST}},d1=class{constructor(n){this.payload=n,this.type=cr.ADVICE_TAXCODE_FAILURE}},u1=class{constructor(n){this.payload=n,this.type=cr.ADVICE_TAXCODE_SUCCESS}},rM=class{constructor(){this.type=cr.ADVICE_TAXCODE_RESET}},h1=class{constructor(){this.type=cr.ADVICE_TAXCODE_RESET_SUCCESS}},p1=class{constructor(n){this.payload=n,this.type=cr.ADVICE_TAXCODE_RESET_FAILURE}};var ZN={};Ni(ZN,{selectAdviceTaxcode:()=>Loe,selectAdviceTaxcodeError:()=>koe,selectAdviceTaxcodeIsLoading:()=>Noe,selectAdviceTaxcodeState:()=>Zy});var Ooe=e=>e.error,Roe=e=>e.isLoading,Poe=e=>e.adviceUser,Zy=Mi("adviceTaxcode"),koe=Ce(Zy,Ooe),Noe=Ce(Zy,Roe),Loe=Ce(Zy,Poe);var KN={adviceUser:null,error:"",isLoading:!1};var XN=(()=>{class e{constructor(t,i,r,o){this.http=t,this.router=i,this.config=r,this.adviceStore=o}getAdviceTaxcode(){return this.http.get(this.config.adviceTaxcodeApi,{withCredentials:!0})}retrySearchTaxCode(){return this.http.get(this.config.retrySearchTaxCodeApi,{withCredentials:!0})}traceLogout(){return this.http.post(this.config.traceLogout,{})}traceImpersonification(t){return this.http.post(this.config.traceImpersonification,{impersonatorUsername:t})}traceGoToWhorizon(){return this.http.post(this.config.traceGoToWhorizon,{})}static{this.\u0275fac=function(i){return new(i||e)(ae(si),ae(Qn),ae(Mn),ae(an))}}static{this.\u0275prov=le({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();var JN=(()=>{class e{constructor(t,i){this.actions$=t,this.adviceService=i,this.getAdviceTaxcodeEffetcs$=ke(()=>this.actions$.pipe(Ne(cr.ADVICE_TAXCODE_REQUEST),Te(r=>this.adviceService.getAdviceTaxcode().pipe(fe(o=>new u1({adviceUser:o})),Pe(o=>pe(new d1({error:o}))))))),this.retrySearchTaxcodeEffetcs$=ke(()=>this.actions$.pipe(Ne(cr.ADVICE_TAXCODE_RESET),Te(r=>this.adviceService.retrySearchTaxCode().pipe(fe(o=>new h1),Pe(o=>pe(new p1({error:o})))))))}static{this.\u0275fac=function(i){return new(i||e)(ae(zi),ae(XN))}}static{this.\u0275prov=le({token:e,factory:e.\u0275fac})}}return e})();function eL(e=KN,n){switch(n.type){case cr.ADVICE_TAXCODE_REQUEST:return U(k({},e),{adviceUser:null,error:"",isLoading:!0});case cr.ADVICE_TAXCODE_SUCCESS:return U(k({},e),{adviceUser:n.payload.adviceUser,error:"",isLoading:!1});case cr.ADVICE_TAXCODE_FAILURE:return U(k({},e),{adviceUser:null,error:n.payload.error,isLoading:!1});case cr.ADVICE_TAXCODE_RESET:return U(k({},e),{adviceUser:null,error:"",isLoading:!1});case cr.ADVICE_TAXCODE_RESET_SUCCESS:return U(k({},e),{adviceUser:null,error:"",isLoading:!1});case cr.ADVICE_TAXCODE_RESET_FAILURE:return U(k({},e),{adviceUser:null,error:n.payload.error,isLoading:!1});default:return e}}var tL="adviceTaxcode",Uxe=new me("ADVICE_FEATURE",{providedIn:"root",factory:()=>tL});function sM(){return[ji(tL,eL),bi(JN)]}var CM={};Ni(CM,{ActionTypes:()=>vt,GetSingleRapportFailureAction:()=>x1,GetSingleRapportRequestAction:()=>mM,GetSingleRapportResetAction:()=>vM,GetSingleRapportSuccessAction:()=>D1,HoldingsDeleteMovementsInProgressFailure:()=>fM,HoldingsDeleteMovementsInProgressRequest:()=>pM,HoldingsDeleteMovementsInProgressSuccess:()=>gM,HoldingsOverviewDelegateFailureAction:()=>f1,HoldingsOverviewDelegateRequestAction:()=>aM,HoldingsOverviewDelegateSuccessAction:()=>g1,HoldingsPortfolioAnalysisFailureAction:()=>S1,HoldingsPortfolioAnalysisRequestAction:()=>uM,HoldingsPortfolioAnalysisSuccessAction:()=>I1,HoldingsRapportsFailureAction:()=>m1,HoldingsRapportsRequestAction:()=>lM,HoldingsRapportsSuccessAction:()=>v1,HoldingsTaxInfoFailureAction:()=>E1,HoldingsTaxInfoRequestAction:()=>hM,HoldingsTaxInfoSuccessAction:()=>w1,HoldingsTransactionsDelegateRequestAction:()=>dM,HoldingsTransactionsFailureAction:()=>y1,HoldingsTransactionsSuccessAction:()=>b1,ProductTypesHistoryFailureAction:()=>C1,ProductTypesHistoryRequestAction:()=>cM,ProductTypesHistorySuccessAction:()=>_1});var vt=(function(e){return e.HOLDINGS_OVERVIEW_DELEGATE_REQUEST="[Position Delegate Page] Holdings Overview Request",e.HOL
31DINGS_OVERVIEW_DELEGATE_FAILURE="[Position Delegate Page] Holdings Overview Failure",e.HOLDINGS_OVERVIEW_DELEGATE_SUCCESS="[Position Delegate Page] Holdings Overview Success",e.HOLDINGS_RAPPORTS_DELEGATE_REQUEST="[Position Delegate Page] Holdings Rapports Request",e.HOLDINGS_RAPPORTS_DELEGATE_FAILURE="[Position Delegate Page] Holdings Rapports Failure",e.HOLDINGS_RAPPORTS_DELEGATE_SUCCESS="[Position Delegate Page] Holdings Rapports Success",e.PRODUCT_TYPES_HISTORY_DELEGATE_REQUEST="[Position Delegate Page] Product Types History Request",e.PRODUCT_TYPES_HISTORY_DELEGATE_FAILURE="[Position Delegate Page] Product Types History Failure",e.PRODUCT_TYPES_HISTORY_DELEGATE_SUCCESS="[Position Delegate Page] Product Types History Success",e.HOLDINGS_TRANSACTIONS_DELEGATE_REQUEST="[Position Delegate Page] Holdings Transactions Request",e.HOLDINGS_TRANSACTIONS_DELEGATE_FAILURE="[Position Delegate Page] Holdings Transactions Failure",e.HOLDINGS_TRANSACTIONS_DELEGATE_SUCCESS="[Position Delegate Page] Holdings Transactions Success",e.HOLDINGS_PORTFOLIO_ANALYSIS_DELEGATE_REQUEST="[Position Delegate Page] Holdings Portfolio Analysis Request",e.HOLDINGS_PORTFOLIO_ANALYSIS_DELEGATE_FAILURE="[Position Delegate Page] Holdings Portfolio Analysis Failure",e.HOLDINGS_PORTFOLIO_ANALYSIS_DELEGATE_SUCCESS="[Position Delegate Page] Holdings Portfolio Analysis Success",e.HOLDINGS_TAX_INFO_DELEGATE_REQUEST="[Position Delegate Page] Holdings Tax Info Request",e.HOLDINGS_TAX_INFO_DELEGATE_FAILURE="[Position Delegate Page] Holdings Tax Info Failure",e.HOLDINGS_TAX_INFO_DELEGATE_SUCCESS="[Position Delegate Page] Holdings Tax Info Success",e.DELETE_MOVEMENTS_IN_PROGRESS_DELEGATE_REQUEST="[Position Delegate Page] Movements in Progress table delete row Request",e.DELETE_MOVEMENTS_IN_PROGRESS_DELEGATE_FAILURE="[Position Delegate Page] Movements in Progress table delete row failure",e.DELETE_MOVEMENTS_IN_PROGRESS_DELEGATE_SUCCESS="[Position Delegate Page] Movements in Progress table delete row success",e.GET_SINGLE_RAPPORT_DELEGATE_REQUEST="[User Profile Delegate Page] Get Single Rapport Request",e.GET_SINGLE_RAPPORT_DELEGATE_FAILURE="[User Profile Delegate Page] Get Single Rapport Failure",e.GET_SINGLE_RAPPORT_DELEGATE_SUCCESS="[User Profile Delegate Page] Get Single Rapport Success",e.GET_SINGLE_RAPPORT_DELEGATE_RESET="[User Profile Delegate Page] Get Single Rapport Reset",e})(vt||{}),aM=class{constructor(n){this.payload=n,this.type=vt.HOLDINGS_OVERVIEW_DELEGATE_REQUEST}},f1=class{constructor(n){this.payload=n,this.type=vt.HOLDINGS_OVERVIEW_DELEGATE_FAILURE}},g1=class{constructor(n){this.payload=n,this.type=vt.HOLDINGS_OVERVIEW_DELEGATE_SUCCESS}},lM=class{constructor(n){this.payload=n,this.type=vt.HOLDINGS_RAPPORTS_DELEGATE_REQUEST}},m1=class{constructor(n){this.payload=n,this.type=vt.HOLDINGS_RAPPORTS_DELEGATE_FAILURE}},v1=class{constructor(n){this.payload=n,this.type=vt.HOLDINGS_RAPPORTS_DELEGATE_SUCCESS}},cM=class{constructor(n){this.payload=n,this.type=vt.PRODUCT_TYPES_HISTORY_DELEGATE_REQUEST}},C1=class{constructor(n){this.payload=n,this.type=vt.PRODUCT_TYPES_HISTORY_DELEGATE_FAILURE}},_1=class{constructor(n){this.payload=n,this.type=vt.PRODUCT_TYPES_HISTORY_DELEGATE_SUCCESS}},dM=class{constructor(n){this.payload=n,this.type=vt.HOLDINGS_TRANSACTIONS_DELEGATE_REQUEST}},y1=class{constructor(n){this.payload=n,this.type=vt.HOLDINGS_TRANSACTIONS_DELEGATE_FAILURE}},b1=class{constructor(n){this.payload=n,this.type=vt.HOLDINGS_TRANSACTIONS_DELEGATE_SUCCESS}},uM=class{constructor(n){this.payload=n,this.type=vt.HOLDINGS_PORTFOLIO_ANALYSIS_DELEGATE_REQUEST}},S1=class{constructor(n){this.payload=n,this.type=vt.HOLDINGS_PORTFOLIO_ANALYSIS_DELEGATE_FAILURE}},I1=class{constructor(n){this.payload=n,this.type=vt.HOLDINGS_PORTFOLIO_ANALYSIS_DELEGATE_SUCCESS}},hM=class{constructor(n){this.payload=n,this.type=vt.HOLDINGS_TAX_INFO_DELEGATE_REQUEST}},E1=class{constructor(n){this.payload=n,this.type=vt.HOLDINGS_TAX_INFO_DELEGATE_FAILURE}},w1=class{constructor(n){this.payload=n,this.type=vt.HOLDINGS_TAX_INFO_DELEGATE_SUCCESS}}
31,pM=class{constructor(n){this.payload=n,this.type=vt.DELETE_MOVEMENTS_IN_PROGRESS_DELEGATE_REQUEST}},fM=class{constructor(n){this.payload=n,this.type=vt.DELETE_MOVEMENTS_IN_PROGRESS_DELEGATE_FAILURE}},gM=class{constructor(n){this.payload=n,this.type=vt.DELETE_MOVEMENTS_IN_PROGRESS_DELEGATE_SUCCESS}},mM=class{constructor(n){this.payload=n,this.type=vt.GET_SINGLE_RAPPORT_DELEGATE_REQUEST}},x1=class{constructor(n){this.payload=n,this.type=vt.GET_SINGLE_RAPPORT_DELEGATE_FAILURE}},D1=class{constructor(n){this.payload=n,this.type=vt.GET_SINGLE_RAPPORT_DELEGATE_SUCCESS}},vM=class{constructor(){this.type=vt.GET_SINGLE_RAPPORT_DELEGATE_RESET}};var rL={};Ni(rL,{selectHoldingsDelegateError:()=>Woe,selectHoldingsDelegateIsLoading:()=>Yoe,selectHoldingsDelegateState:()=>ps,selectHoldingsOverviewDelegate:()=>qoe,selectHoldingsPortfolioAnalysis:()=>Joe,selectHoldingsRapportDetails:()=>nse,selectHoldingsRapports:()=>tse,selectHoldingsTaxInfo:()=>ese,selectHoldingsTransactions:()=>Xoe,selectProductTypesHistory:()=>Koe,selectProductTypesHistoryError:()=>Qoe,selectProductTypesHistoryIsLoading:()=>Zoe});var nL=e=>e?e.holdingsDelegate.overviewError:!1,iL=e=>e?!!e.holdingsDelegate.overviewLoading:!1,Uoe=e=>e.holdingsDelegate?.overview,Hoe=e=>e.holdingsDelegate?.productTypesHistory,Boe=e=>e.holdingsDelegate?.transactions,joe=e=>e.holdingsDelegate?.portfolioAnalysis,zoe=e=>e.holdingsDelegate?.taxInfo,Goe=e=>e.holdingsDelegate?.rapports,$oe=e=>e.holdingsDelegate.rapportDetails,ps=Mi("holdingsDelegate"),Woe=Ce(ps,nL),Yoe=Ce(ps,iL),qoe=Ce(ps,Uoe),Qoe=Ce(ps,nL),Zoe=Ce(ps,iL),Koe=Ce(ps,Hoe),Xoe=Ce(ps,Boe),Joe=Ce(ps,joe),ese=Ce(ps,zoe),tse=Ce(ps,Goe),nse=Ce(ps,$oe);var oL={holdingsDelegate:{overview:null,overviewError:"",overviewLoading:!1}};var sL=(()=>{class e{constructor(t,i){this.http=t,this.config=i}getHoldingsDelegateOverview(t,i,r){let o=new Ct().append("referenceDate",t).append("rapportCodeDelegate",i).append("userSubjectId",r);return this.http.get(this.config.holdingsOverviewDelegateApi,{params:o})}getHoldingsTransactions(t,i,r,o){let l=new Ct().appendAll({startDate:t,endDate:i,userSubjectId:r,rapportCodeDelegate:o,published:"true"});return this.http.get(this.config.holdingsTransactionsDelegateApi,{params:l,withCredentials:!0})}getHoldingsTaxInfo(t,i){let r=new Ct().appendAll({userSubjectId:t,rapportCodeDelegate:i});return this.http.get(this.config.holdingsTaxinfoDelegateApi,{params:r,withCredentials:!0})}postHoldingsSubscriptionPicMinAmount(t){return this.http.post(this.config.holdingsSubscriptionPicMinAmountApi,t,{withCredentials:!0})}getHoldingsPortfolioAnalysis(t,i){let r=new Ct().append("rapportCodeDelegate",i).append("userSubjectId",t);return this.http.get(this.config.holdingsPortfolioAnalysisDelegateApi,{params:r,withCredentials:!0})}getHoldingsRapports(t,i,r,o){let l;return i&&r&&o?l=new Ct().appendAll({commonfund:t,subscriptionTypeIn:i,instrumentCodeSwitchOut:r,rapportCodeSwitchOut:o}):l=new Ct().append("commonfund",t),this.http.get(this.config.holdingsRapportsApi,{params:l})}deleteMovementsInProgressByIdAndCausal(t,i){return this.http.delete(this.config.movementsInProgressDelete,{params:{id:t,causal:i}})}getProductTypeHistory(t,i,r){let o=new Ct().appendAll({referenceDate:t,userSubjectId:i,rapportCodeDelegate:r,published:"true"});return this.http.get(this.config.productTypeHistoryDelegateApi,{params:o,withCredentials:!0})}getHoldingsRapportDetails(t){return this.http.get(this.config.holdingsRapportDetailsApi(t),{withCredentials:!0})}postHoldingsBlocks(t){return this.http.post(this.config.holdingsBlocksApi,t,{withCredentials:!0})}static{this.\u0275fac=function(i){return new(i||e)(ae(si),ae(Mn))}}static{this.\u0275prov=le({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();var aL=(()=>{class e{constructor(t,i,r){this.actions$=t,this.holdingsService=i,this.localeID=r,this.holdingsOverviewDelegateRequestEffect$=ke(()=>this.actions$.pipe(Ne(vt.HOLDINGS_OVERVIEW_DELEGATE_REQUEST),Te(o=>this.holdingsService.getHoldingsDelegateOverview(Cr(o.payload.referenceDate,"yyyy-MM-dd",this.localeID),o.payload.rapportCodeDelegate,o.payload.userSubjectId).pipe(fe(l=>new g1({holdingsOverview:l})),Pe(l=>pe(new f1({error:Bt(l)}))))))),this.holdingsRapportsRequestEffect$=ke(()=>this.actions$.pipe(Ne(vt.HOLDINGS_RAPPORTS_DELEGATE_REQUEST),Te(o=>this.holdingsService.getHoldingsRapports(o.payload.commonFund).pipe(fe(l=>new v1({holdingsRapports:l})),Pe(l=>pe(new m1({error:Bt(l)}))))))),this.productTypesHistoryRequestEffect$=ke(()=>this.actions$.pipe(Ne(vt.PRODUCT_TYPES_HISTORY_DELEGATE_REQUEST),Te(o=>this.holdingsService.getProductTypeHistory(Cr(o.payload.referenceDate,"yyyy-MM-dd",this.localeID),o.payload.userSubjectId,o.payload.rapportCodeDelegate).pipe(fe(l=>new _1({productTypesHistory:l.productTypesHistory})),Pe(l=>pe(new C1({error:Bt(l)}))))))),this.holdingsTransactionsRequestEffect$=ke(()=>this.actions$.pipe(Ne(vt.HOLDINGS_TRANSACTIONS_DELEGATE_REQUEST),Te(o=>{let l=Cr(o.payload.init,"yyyy-MM-dd",this.localeID),p=Cr(o.payload.end,"yyyy-MM-dd",this.localeID);return this.holdingsService.getHoldingsTransactions(l,p,o.payload.userSubjectId,o.payload.rapportCodeDelegate).pipe(fe(C=>new b1({holdingsTransactions:C})),Pe(C=>pe(new y1({error:Bt(C)}))))}
31))),this.holdingsPortfolioAnalysisRequestEffect$=ke(()=>this.actions$.pipe(Ne(vt.HOLDINGS_PORTFOLIO_ANALYSIS_DELEGATE_REQUEST),Te(o=>this.holdingsService.getHoldingsPortfolioAnalysis(o.payload.userSubjectId,o.payload.rapportCodeDelegate).pipe(fe(l=>new I1({holdingsPortfolioAnalysis:l})),Pe(l=>pe(new S1({error:Bt(l)}))))))),this.holdingsTaxInfoRequestEffect$=ke(()=>this.actions$.pipe(Ne(vt.HOLDINGS_TAX_INFO_DELEGATE_REQUEST),Te(o=>this.holdingsService.getHoldingsTaxInfo(o.payload.userSubjectId,o.payload.rapportCodeDelegate).pipe(fe(l=>new w1({holdingsTaxInfo:l})),Pe(l=>pe(new E1({error:Bt(l)}))))))),this.getHoldingsRapportDetailsEffect=ke(()=>this.actions$.pipe(Ne(vt.GET_SINGLE_RAPPORT_DELEGATE_REQUEST),Te(o=>this.holdingsService.getHoldingsRapportDetails(o.payload.rapportCode).pipe(fe(l=>new D1({rapport:l})),Pe(l=>pe(new x1({error:l})))))))}static{this.\u0275fac=function(i){return new(i||e)(ae(zi),ae(sL),ae(di))}}static{this.\u0275prov=le({token:e,factory:e.\u0275fac})}}return e})();function lL(e=oL,n){switch(n.type){case vt.HOLDINGS_OVERVIEW_DELEGATE_REQUEST:return U(k({},e),{holdingsDelegate:U(k({},e.holdingsDelegate),{overview:null,overviewLoading:!0,overviewError:""})});case vt.HOLDINGS_OVERVIEW_DELEGATE_SUCCESS:return U(k({},e),{holdingsDelegate:U(k({},e.holdingsDelegate),{overview:n.payload.holdingsOverview,overviewError:"",overviewLoading:!1})});case vt.HOLDINGS_OVERVIEW_DELEGATE_FAILURE:return U(k({},e),{holdingsDelegate:U(k({},e.holdingsDelegate),{overview:null,overviewError:n.payload.error,overviewLoading:!1})});case vt.HOLDINGS_RAPPORTS_DELEGATE_REQUEST:return U(k({},e),{holdingsDelegate:U(k({},e.holdingsDelegate),{rapports:null,rapportsLoading:!0,rapportsError:""})});case vt.HOLDINGS_RAPPORTS_DELEGATE_SUCCESS:return U(k({},e),{holdingsDelegate:U(k({},e.holdingsDelegate),{rapports:n.payload.holdingsRapports,rapportsError:"",rapportsLoading:!1})});case vt.HOLDINGS_RAPPORTS_DELEGATE_FAILURE:return U(k({},e),{holdingsDelegate:U(k({},e.holdingsDelegate),{rapports:null,rapportsError:n.payload.error,rapportsLoading:!1})});case vt.PRODUCT_TYPES_HISTORY_DELEGATE_REQUEST:return U(k({},e),{holdingsDelegate:U(k({},e.holdingsDelegate),{productTypesHistory:void 0,productTypesHistoryLoading:!0,productTypesHistoryError:""})});case vt.PRODUCT_TYPES_HISTORY_DELEGATE_SUCCESS:return U(k({},e),{holdingsDelegate:U(k({},e.holdingsDelegate),{productTypesHistory:n.payload.productTypesHistory,productTypesHistoryLoading:!1,productTypesHistoryError:""})});case vt.PRODUCT_TYPES_HISTORY_DELEGATE_FAILURE:return U(k({},e),{holdingsDelegate:U(k({},e.holdingsDelegate),{productTypesHistory:void 0,productTypesHistoryLoading:!1,productTypesHistoryError:n.payload.error})});case vt.HOLDINGS_TRANSACTIONS_DELEGATE_REQUEST:return U(k({},e),{holdingsDelegate:U(k({},e.holdingsDelegate),{transactions:null,transactionsLoading:!0,transactionsError:""})});case vt.HOLDINGS_TRANSACTIONS_DELEGATE_SUCCESS:return U(k({},e),{holdingsDelegate:U(k({},e.holdingsDelegate),{transactions:n.payload.holdingsTransactions,transactionsError:"",transactionsLoading:!1})});case vt.HOLDINGS_TRANSACTIONS_DELEGATE_FAILURE:return U(k({},e),{holdingsDelegate:U(k({},e.holdingsDelegate),{transactions:null,transactionsError:n.payload.error,transactionsLoading:!1})});case vt.HOLDINGS_PORTFOLIO_ANALYSIS_DELEGATE_REQUEST:return U(k({},e),{holdingsDelegate:U(k({},e.holdingsDelegate),{portfolioAnalysis:null,portfolioAnalysisLoading:!0,portfolioAnalysisError:""})});case vt.HOLDINGS_PORTFOLIO_ANALYSIS_DELEGATE_SUCCESS:return U(k({},e),{holdingsDelegate:U(k({},e.holdingsDelegate),{portfolioAnalysis:n.payload.holdingsPortfolioAnalysis,portfolioAnalysisError:"",portfolioAnalysisLoading:!1})});case vt.HOLDINGS_PORTFOLIO_ANALYSIS_DELEGATE_FAILURE:return U(k({},e),{holdingsDelegate:U(k({},e.holdingsDelegate),{portfolioAnalysis:null,portfolioAnalysisError:n.payload.error,portfolioAnalysisLoading:!1})});case vt.HOLDINGS_TAX_INFO_DELEGATE_REQUEST:return U(k({},e),{holdingsDelegate:U(k({},e.holdingsDelegate),{taxInfo:null,taxInfoLoading:!0,taxInfoError:""})});case vt.HOLDINGS_TAX_INFO_DELEGATE_SUCCESS:return U(k({},e),{holdingsDelegate:U(k({},e.holdingsDelegate),{taxInfo:n.payload.holdingsTaxInfo,taxInfoError:"",taxInfoLoading:!1})});case vt.HOLDINGS_TAX_INFO_DELEGATE_FAILURE:return U(k({},e),{holdingsDelegate:U(k({},e.holdingsDelegate),{taxInfo:null,taxInfoError:n.payload.error,taxInfoLoading:!1})});case vt.GET_SINGLE_RAPPORT_DELEGATE_REQUEST:return U(k({},e),{holdingsDelegate:U(k({},e.holdingsDelegate),{rapportDetails:[],rapportDetailsLoading:!0,ra
31pportDetailsError:""})});case vt.GET_SINGLE_RAPPORT_DELEGATE_SUCCESS:return U(k({},e),{holdingsDelegate:U(k({},e.holdingsDelegate),{rapportDetails:n.payload.rapport,rapportDetailsError:"",rapportDetailsLoading:!1})});case vt.GET_SINGLE_RAPPORT_DELEGATE_FAILURE:return U(k({},e),{holdingsDelegate:U(k({},e.holdingsDelegate),{rapportDetails:[],rapportDetailsError:n.payload.error,rapportDetailsLoading:!1})});case vt.GET_SINGLE_RAPPORT_DELEGATE_RESET:return U(k({},e),{holdingsDelegate:U(k({},e.holdingsDelegate),{rapportDetails:[],rapportDetailsError:"",rapportDetailsLoading:!1})});default:return e}}var cL="holdingsDelegate",cDe=new me("HOLDINGS_DELEGATE_FEATURE",{providedIn:"root",factory:()=>cL});function _M(){return[ji(cL,lL),bi(aL)]}var ose=[K7({}),bi([]),...r4(),..._4(),...sM(),...x4(),..._M(),...L4(),...G4(),...q4(),...X4(),...nM(),vf()?Wk():[]];var kDe=Ce(Gi.selectUserError,Ld.selectHoldingsError,Lm.selectHoldingsPgError,Ym.selectProductDetailsError,zs.selectOptionsError,(e,n,t,i,r)=>e||n||t||i||r),NDe=Ce(Gi.selectUserIsLoading,Ld.selectHoldingsIsLoading,Lm.selectHoldingsPgIsLoading,Ym.selectProductDetailsIsLoading,zs.selectOptionsIsLoading,(e,n,t,i,r)=>e||n||t||i||r);var dL={};Ni(dL,{selectIsUserTokenVerified:()=>dse,selectRegistrationHttpError:()=>cse,selectRegistrationState:()=>T1,selectUserRegistrationData:()=>ase,selectUserRegistrationIsLoading:()=>lse});var T1=Mi("registration"),ase=Ce(T1,e=>e.user),lse=Ce(T1,e=>e.isLoading),cse=Ce(T1,e=>e.error),dse=Ce(T1,e=>e.tokenVerified);function use(e,n){if(e&1&&(F(0,"option",5),q(1),P()),e&2){let t=n.$implicit;L("value",t.code),E(),Ae("",t.nationName," ")}}var dc="086",yM=(()=>{class e{constructor(t,i,r){this.store$=t,this.renderer=i,this.elementRef=r,this.showItalyCountry=!0,this.value="",this.label="PROFILE.USER_INFO.NATION",this.dynamicCssClass="clr-col",this.disabled=!1,this.placeHolder=null,this.onChange=o=>{},this.onTouched=()=>{}}writeValue(t){this.value=t}registerOnChange(t){this.onChange=t}registerOnTouched(t){this.onTouched=t}setDisabledState(t){this.disabled=t,this.renderer.setProperty(this.elementRef.nativeElement,"disabled",t)}ngOnInit(){this.store$.select(zs.selectNations).pipe(qt(t=>!!t),fe(t=>{let i=dc;return t.sort((r,o)=>r.code===i?-1:o.code===i?1:0),t})).subscribe(t=>{this.nations=t,(this.value==null||this.value==="")&&(this.value=dc,this.onChangeNationCode(this.value))}),this.nations&&(this.value==null||this.value==="")&&(this.value=dc,this.onChangeNationCode(this.value)),this.nations?.sort((t,i)=>t.code===dc?-1:i.code===dc||t.nationName>i.nationName?1:t.nationName<i.nationName?-1:0),this.showItalyCountry||(this.nations=this.nations.filter(t=>t.code!=="086"))}onChangeNationCode(t){this.onTouched(),this.value=t,this.value&&this.onChange(this.value)}static{this.\u0275fac=function(i){return new(i||e)(A(an),A(Lt),A(et))}}static{this.\u0275cmp=Me({type:e,selectors:[["app-select-nation"]],inputs:{showItalyCountry:"showItalyCountry",value:"value",label:"label",dynamicCssClass:"dynamicCssClass",disabled:"disabled",placeHolder:"placeHolder"},standalone:!1,features:[Et([{provide:Ki,multi:!0,useExisting:jn(()=>e)}])],decls:9,vars:10,consts:[[1,"margin-zero",3,"ngClass"],[1,"dt-label"],["clrSelect","","required","true",1,"select",3,"ngModelChange","ngModel","disabled"],["ngFor","",3,"ngForOf"],[1,"mt-10"],[3,"value"]],template:function(i,r){i&1&&(F(0,"clr-select-container",0)(1,"label",1),q(2),Z(3,"translate"),P(),F(4,"select",2),oe("ngModelChange",function(l){return r.onChangeNationCode(l)}),ue(5,use,2,2,"ng-template",3),P(),F(6,"clr-control-error",4),q(7),Z(8,"translate"),P()()),i&2&&(L("ngClass",r.dynamicCssClass),E(2),Ie(X(3,6,r.label)),E(2),L("ngModel",r.value)("disabled",r.disabled),E(),L("ngForOf",r.nations),E(2),Ie(X(8,8,"INPUT_ERROR_MESSAGES.REQUIRED")))},dependencies:[Tn,Sd,wh,Ed,al,ll,Rs,Vi,Ps,Wr,Dn,rn,At],styles:["label[_ngcontent-%COMP%]{margin-bottom:14px}.select[_ngcontent-%COMP%]{width:100%}.margin-zero[_ngcontent-%COMP%]{margin:0}.mt-10[_ngcontent-%COMP%]{margin-top:10px}.clrSelect[_ngcontent-%COMP%]{width:100%}"]})}}return e})();function pse(e,n){if(e&1&&(F(0,"option",6),q(1),P()),e&2){let t=n.$implicit;L("value",t.code),E(),Ae(" ",t.provinceName," ")}}function fse(e,n){if(e&1){let t=ze();F(0,"clr-select-container",1)(1,"label",2),q(2),Z(3,"translate"),P(),F(4,"select",3),oe("ngModelChange",function(r){ee(t);let o=z();return te(o.onValueChange(r))}),ue(5,pse,2,2,"ng-template",4),P(),F(6,"clr-control-error",5),q(7),Z(8,"translate"),P()()}if(e&2){let t=z();E(),L("for",t.provinceId),E(),Ie(X(3,8,t.label)),E(2),L("id",t.provinceId)("required",t.required)("ngModel",t.value)("disabled",t.disabled),E(),L("ngForOf",t.provinces),E(2),Ae(" ",X(8,10,"INPUT_ERROR_MESSAGES.REQUIRED")," ")}}function gse(e,n){if(e&1&&(F(0,"option",6),q(1),P()),e&2){let t=n.$implicit;L("value",t.code),E(),Ae(" ",t.provinceName," ")}}function mse(e,n){if(e&1){let t=ze();F(0,"div",1)(1,"label",2),q(2),Z(3,"translate"),P(),F(4,"div",7)(5,"select",8),oe("ngModelChange",function(r){ee(t);let o=z();return te(o.onValueChange(r))}),ue(6,gse,2,2,"option",9),P()()()}if(e&2){let t=z();E(),L("for",t.provinceId),E(),Ie(X(3,7,t.label)),E(3),L("id",t.provinceId)("required",t.required)("ngModel",t.value)("disabled",t.disabled),E(),L("ngForOf",t.provinces)}}var vse={provide:Ki,useExisting:jn(()=>Ky),multi:!0},Ky=(()=>{class e{constructor(t,i,r){this.store$=t,this.rendered=i,this.elementRef=r,this.value="",this.provinces=[],this.label="Provincia",this.disabled=!1,this.fullWidth=!1,this.required=!0,this.componentId=us(6),this.provinceId=`${this.componentId}-province`,this.onChange=o=>{},this.onTouched=()=>{}}writeValue(t){this.value=t}registerOnChange(t){this.onChange=t}registerOnTouched(t){this.onTouched=t}ngOnInit(){this.setProvinces()}setProvinces(){this.store$.select(zs.selectProvincies).subscribe(t=>this.provinces=t)}setDisabledState(t){this.disabled=t,this.rendered.setProperty(this.elementRef.nativeElement,"disabled",t)}onValueChange(t){this.onTouched(),this.value=t,this.onChange(t)}
31static{this.\u0275fac=function(i){return new(i||e)(A(an),A(Lt),A(et))}}static{this.\u0275cmp=Me({type:e,selectors:[["app-select-province"]],inputs:{value:"value",label:"label",disabled:"disabled",fullWidth:"fullWidth",required:"required"},standalone:!1,features:[Et([vse])],decls:2,vars:2,consts:[["class","margin-zero",4,"ngIf"],[1,"margin-zero"],[1,"dt-label",3,"for"],["clrSelect","",1,"select",3,"ngModelChange","id","required","ngModel","disabled"],["ngFor","",3,"ngForOf"],[1,"mt-15","ml-20"],[3,"value"],["id","select-Form"],[1,"select",3,"ngModelChange","id","required","ngModel","disabled"],[3,"value",4,"ngFor","ngForOf"]],template:function(i,r){i&1&&ue(0,fse,9,12,"clr-select-container",0)(1,mse,7,9,"div",0),i&2&&(L("ngIf",!r.fullWidth),E(),L("ngIf",r.fullWidth))},dependencies:[Tn,Sd,wh,Ed,al,ll,Rs,Vi,Ps,Wr,rn,rt,At],styles:["label[_ngcontent-%COMP%]{margin-bottom:14px}.select[_ngcontent-%COMP%]{border-top-left-radius:9px;border-bottom-left-radius:9px;border:solid 1px rgba(151,151,151,.29);font-size:18px;width:100%}.select[_ngcontent-%COMP%]:focus-visible{outline:2px solid black}.margin-zero[_ngcontent-%COMP%]{margin:0}.mt-15[_ngcontent-%COMP%]{margin-top:15px}.ml-20[_ngcontent-%COMP%]{margin-left:20px}.clrSelect[_ngcontent-%COMP%]{width:100%}#select-Form[_ngcontent-%COMP%] select[_ngcontent-%COMP%]{width:100%;margin-top:12px}"]})}}return e})();var M1=(()=>{class e{constructor(t){this.sanitizer=t}transform(t,i){switch(i){case"html":return this.sanitizer.bypassSecurityTrustHtml(t);case"style":return this.sanitizer.bypassSecurityTrustStyle(t);case"script":return this.sanitizer.bypassSecurityTrustScript(t);case"url":return this.sanitizer.bypassSecurityTrustUrl(t);case"resourceUrl":return this.sanitizer.bypassSecurityTrustResourceUrl(t);default:return this.sanitizer.bypassSecurityTrustHtml(t)}}static{this.\u0275fac=function(i){return new(i||e)(A(Nf,16))}}static{this.\u0275pipe=ns({name:"safe",type:e,pure:!0,standalone:!1})}}return e})();var _se="application/json",Xy=class{#n=[];#t;#i=!0;#c;#s=this.#y(console.info);#h=this.#y(console.warn);#e={enable:!0,callbackList:[],interval:5};#o;didInitialize=!1;authenticated=!1;loginRequired=!1;responseMode="fragment";responseType="code";flow="standard";timeSkew=null;redirectUri;silentCheckSsoRedirectUri;silentCheckSsoFallback=!0;pkceMethod="S256";enableLogging=!1;logoutMethod="GET";scope;messageReceiveTimeout=1e4;idToken;idTokenParsed;token;tokenParsed;refreshToken;refreshTokenParsed;clientId;sessionId;subject;authServerUrl;realm;realmAccess;resourceAccess;profile;userInfo;endpoints;tokenTimeoutHandle;onAuthSuccess;onAuthError;onAuthRefreshSuccess;onAuthRefreshError;onTokenExpired;onAuthLogout;onReady;onActionUpdate;constructor(n){if(typeof n!="string"&&!EM(n))throw new Error("The 'Keycloak' constructor must be provided with a configuration object, or a URL to a JSON configuration file.");if(EM(n)){let t="oidcProvider"in n?["clientId"]:["url","realm","clientId"];for(let i of t)if(!(i in n))throw new Error(`The configuration object is missing the required '${i}' property.`)}globalThis.isSecureContext||this.#h(`[KEYCLOAK] Keycloak JS must be used in a 'secure context' to function properly as it relies on browser APIs that are otherwise not available. 32Continuing to run your application insecurely will lead to unexpected behavior and breakage. 33 34For more information see: https://developer.mozilla.org/en-US/docs/Web/Security/Secure_Contexts`),this.#o=n}init=(...t)=>ct(this,[...t],function*(n={}){if(this.didInitialize)throw new Error("A 'Keycloak' instance can only be initialized once.");this.didInitialize=!0,this.#c=xse();let i=["default","cordova","cordova-native"];if(typeof n.adapter=="string"&&i.includes(n.adapter)?this.#t=this.#p(n.adapter):typeof n.adapter=="object"?this.#t=n.adapter:"Cordova"in window||"cordova"in window?this.#t=this.#p("cordova"):this.#t=this.#p("default"),typeof n.useNonce<"u"&&(this.#i=n.useNonce),typeof n.checkLoginIframe<"u"&&(this.#e.enable=n.checkLoginIframe),n.checkLoginIframeInterval&&(this.#e.interval=n.checkLoginIframeInterval),n.onLoad==="login-required"&&(this.loginRequired=!0),n.responseMode)if(n.responseMode==="query"||n.responseMode==="fragment")this.responseMode=n.responseMode;else throw new Error("Invalid value for responseMode");if(n.flow){switch(n.flow){case"standard":this.responseType="code";break;case"implicit":this.responseType="id_token token";break;case"hybrid":this.responseType="code id_token token";break;default:throw new Error("Invalid value for flow")}this.flow=n.flow}if(typeof n.timeSkew=="number"&&(this.timeSkew=n.timeSkew),n.redirectUri&&(this.redirectUri=n.redirectUri),n.silentCheckSsoRedirectUri&&(this.silentCheckSsoRedirectUri=n.silentCheckSsoRedirectUri),typeof n.silentCheckSsoFallback=="boolean"&&(this.silentCheckSsoFallback=n.silentCheckSsoFallback),typeof n.pkceMethod<"u"){if(n.pkceMethod!=="S256"&&n.pkceMethod!==!1)throw new TypeError(`Invalid value for pkceMethod', expected 'S256' or false but got ${n.pkceMethod}.`);this.pkceMethod=n.pkceMethod}return typeof n.enableLogging=="boolean"&&(this.enableLogging=n.enableLogging),n.logoutMethod==="POST"&&(this.logoutMethod="POST"),typeof n.scope=="string"&&(this.scope=n.scope),typeof n.messageReceiveTimeout=="number"&&n.messageReceiveTimeout>0&&(this.messageReceiveTimeout=n.messageReceiveTimeout),yield this.#
34E(),yield this.#x(),yield this.#D(n),this.onReady?.(this.authenticated),this.authenticated});#p(n){if(n==="default")return this.#b();if(n==="cordova")return this.#e.enable=!1,this.#S();if(n==="cordova-native")return this.#e.enable=!1,this.#I();throw new Error("invalid adapter type: "+n)}#b(){let n=t=>t?.redirectUri||this.redirectUri||globalThis.location.href;return{login:t=>ct(this,null,function*(){return window.location.assign(yield this.createLoginUrl(t)),yield new Promise(()=>{})}),logout:t=>ct(this,null,function*(){if((t?.logoutMethod??this.logoutMethod)==="GET"){window.location.replace(this.createLogoutUrl(t));return}let r=document.createElement("form");r.setAttribute("method","POST"),r.setAttribute("action",this.createLogoutUrl(t)),r.style.display="none";let o={id_token_hint:this.idToken,client_id:this.clientId,post_logout_redirect_uri:n(t)};for(let[l,p]of Object.entries(o)){let C=document.createElement("input");C.setAttribute("type","hidden"),C.setAttribute("name",l),C.setAttribute("value",p),r.appendChild(C)}document.body.appendChild(r),r.submit()}),register:t=>ct(this,null,function*(){return window.location.assign(yield this.createRegisterUrl(t)),yield new Promise(()=>{})}),accountManagement:()=>ct(this,null,function*(){let t=this.createAccountUrl();if(typeof t<"u")window.location.href=t;else throw new Error("Not supported by the OIDC server");return yield new Promise(()=>{})}),redirectUri:n}}#S(){let n=(l,p,C)=>window.cordova&&window.cordova.InAppBrowser?window.cordova.InAppBrowser.open(l,p,C):window.open(l,p,C),t=l=>l&&l.cordovaOptions?Object.keys(l.cordovaOptions).reduce((p,C)=>(p[C]=l.cordovaOptions[C],p),{}):{},i=l=>Object.keys(l).reduce((p,C)=>(p.push(C+"="+l[C]),p),[]).join(","),r=l=>{let p=t(l);return p.location="no",l&&l.prompt==="none"&&(p.hidden="yes"),i(p)},o=()=>this.redirectUri||"http://localhost";return{login:l=>ct(this,null,function*(){let p=r(l),C=yield this.createLoginUrl(l),w=n(C,"_blank",p),V=!1,j=!1;function $(){j=!0,w.close()}return yield new Promise((W,se)=>{w.addEventListener("loadstart",be=>ct(this,null,function*(){if(be.url.indexOf(o())===0){let Ve=this.#a(be.url);V=!0,$();try{yield this.#l(Ve),W()}catch(dt){se(dt)}}})),w.addEventListener("loaderror",be=>ct(this,null,function*(){if(!V)if(be.url.indexOf(o())===0){let Ve=this.#a(be.url);V=!0,$();try{yield this.#l(Ve),W()}catch(dt){se(dt)}}else se(new Error("Unable to process login.")),$()})),w.addEventListener("exit",function(be){j||se(new Error("User closed the login window."))})})}),logout:l=>ct(this,null,function*(){let p=this.createLogoutUrl(l),C=n(p,"_blank","location=no,hidden=yes,clearcache=yes"),w=!1;C.addEventListener("loadstart",V=>{V.url.indexOf(o())===0&&C.close()}),C.addEventListener("loaderror",V=>{V.url.indexOf(o())===0||(w=!0),C.close()}),yield new Promise((V,j)=>{C.addEventListener("exit",()=>{w?j(new Error("User closed the login window.")):(this.clearToken(),V())})})}),register:l=>ct(this,null,function*(){let p=yield this.createRegisterUrl(),C=r(l),w=n(p,"_blank",C);yield new Promise((j,$)=>{w.addEventListener("loadstart",W=>ct(this,null,function*(){if(W.url.indexOf(o())===0){w.close();let se=this.#a(W.url);try{yield this.#l(se),j()}catch(be){$(be)}}}))})}),accountManagement:()=>ct(this,null,function*(){let l=this.createAccountUrl();if(typeof l<"u"){let p=n(l,"_blank","location=no");p.addEventListener("loadstart",function(C){C.url.indexOf(o())===0&&p.close()})}else throw new Error("Not supported by the OIDC server")}),redirectUri:()=>o()}}#I(){return{login:n=>ct(this,null,function*(){let t=yield this.createLoginUrl(n);yield new Promise((i,r)=>{universalLinks.subscribe("keycloak",o=>ct(this,null,function*(){universalLinks.unsubscribe("keycloak"),window.cordova.plugins.browsertab.close();let l=this.#a(o.url);try{yield this.#l(l),i()}catch(p){r(p)}})),window.cordova.plugins.browsertab.openUrl(t)})}),logout:n=>ct(this,null,function*(){let t=this.createLogoutUrl(n);yield new Promise(i=>{universalLinks.subscribe("keycloak",()=>{universalLinks.unsubscribe("keycloak"),window.cordova.plugins.browsertab.close(),this.clearToken(),i()}),window.cordova.plugins.browsertab.openUrl(t)})}),register:n=>ct(this,null,function*(){let t=yield this.createRegisterUrl(n);yield new Promise((i,r)=>{universalLinks.subscribe("keycloak",o=>ct(this,null,function*(){universalLinks.unsubscribe("keycloak"),window.cordova.plugins.browsertab.close();let l=this.#a(o.url);try{yield this.#l(l),i()}catch(p){r(p)}})),window.cordova.plugins.browsertab.openUrl(t)})}),accountManagement:()=>ct(this,null,function*(){let n=this.createAccountUrl();if(typeof n<"u")window.cordova.plugins.browsertab.openUrl(n);else throw new Error("Not supported by the OIDC server")}),redirectUri:n=>n&&n.redirectUri?n.redirectUri:this.redirectUri?this.redirectUri:"http://localhost"}}#E(){return ct(this,null,function*(){if(typeof this.#o=="string"){let n=yield Ose(this.#o);this.authServerUrl=n["auth-server-url"],this.realm=n.realm,this.clientId=n.resource,this.#m()}else this.clientId=this.#o.clientId,"oidcProvider"in this.#o?yield this.#w(this.#o.oidcProvider):(this.authServerUrl=this.#o.url,this.realm=this.#o.realm,this.#m())})}#m(){this.endpoints={authorize:()=>this.#r()+"/protocol/openid-connect/auth",token:()=>this.#r()+"/protocol/openid-connect/token",logout:()=>this.#r()+"/protocol/openid-connect/logout",checkSessionIframe:()=>this.#r()+"/protocol/openid-connect/login-status-iframe.html",thirdPartyCookiesIframe:()=>this.#r()+"/protocol/openid-connect/3p-cookies/step1.html",register:()=>this.#r()+"/protocol/openid-connect/registrations",userinfo:()=>this.#r()+"/protocol/openid-connect/userinfo"}}#w(n){return ct(this,null,function*(){if(typeof n=="string"){let t=`${fL(n)}/.well-known/openid-configuration`,i=yield Rse(t);this.#v(i)}else this.#v(n)})}#v(n){this.endpoints={authorize(){return n.authorization_endpoint},token(){return n.token_endpoint},logout(){if(!n.end_session_endpoint)throw new Error("Not supported by the OIDC server");return n.end_session_endpoint},checkSessionIframe(){if(!n.check_session_iframe)throw new Error("Not supported by the OIDC server");return n.check_session_iframe},register(){throw new Error('Redirection to "Register user" page not supported in standard OIDC mode')},userinfo(){if(!n.userinfo_endpoint)throw new Error("Not supported by the OIDC server");return n.userinfo_endpoint}}}#x(){return ct(this,null,function*(){if(!this.#e.enable&&!this.silentCheckSsoRedirectUri||typeof this.endpoints.thirdPartyCookiesIframe!="function")return;let n=document.createElement("iframe");n.setAttribute("src",this.endpoints.thirdPartyCookiesIframe()),n.setAttribute("sandbox","allow-storage-access-by-user-activation allow-scripts allow-same-origin"),n.setAttribute("title","keycloak-3p-check-iframe"),n.style.display="none",document.body.appendChild(n);let t=new Promise(i=>{let r=o=>{n.contentWindow===o.source&&(o.data!=="supported"&&o.data!=="unsupported"||(o.data==="unsupported"&&(this.#h(`[KEYCLOAK] Your browser is blocking access to 3rd-party cookies, this means: 35 36 - It is not possible to retrieve tokens without redirecting to the Keycloak server (a.k.a. no support for silent authentication). 37 - It is not possible to automatically detect changes to the session status (such as the user logging out in another tab). 38 39For more information see: https://www.keycloak.org/securing-apps/javascript-adapter#_modern_browsers`),this.#e.enable=!1,this.silentCheckSsoFallback&&(this.silentCheckSsoRedirectUri=void 0)),document.body.removeChild(n),window.removeEventListener("message",r),i()))};window.addEventListener("message",r,!1)});return yield wse(t,this.messageReceiveTimeout,"Timeout when waiting for 3rd party check iframe message.")})}#D(n){return ct(this,null,function*(){let t=this.#a(window.location.href);if(t?.newUrl&&window.history.replaceState(window.history.state,"",t.newUrl),t&&t.valid){yield this.#f(),yield this.#l(t);return}let i=o=>ct(this,null,function*(){let l={};o||(l.prompt="none"),n.locale&&(l.locale=n.locale),yield this.login(l)}),r=()=>ct(this,null,function*(){switch(n.onLoad){case"check-sso":this.#e.enable?(yield this.#f(),(yield this.#d())||(this.silentCheckSsoRedirectUri?yield this.#C():yield i(!1))):this.silentCheckSsoRedirectUri?yield this.#C():yield i(!1);break;case"login-required":yield i(!0);break;default:throw new Error("Invalid value for onLoad")}});if(n.token&&n.refreshToken)if(this.#u(n.token,n.refreshToken,n.idToken),this.#e.enable)yield this.#f(),(yield this.#d())&&(this.onAuthSuccess?.(),this.#g());else try{yield this.updateToken(-1),this.onAuthSuccess?.()}catch(o){if(this.onAuthError?.(),n.onLoad)yield r();else throw o}else n.onLoad&&(yield r())})}#f(){return ct(this,null,function*(){if(!this.#e.enable||this.#e.iframe)return;let n=document.createElement("iframe");this.#e.iframe=n,n.setAttribute("src",this.endpoints.checkSessionIframe()),n.setAttribute("sandbox","allow-storage-access-by-user-activation allow-scripts allow-same-origin"),n.setAttribute("title","keycloak-session-iframe"),n.style.display="none",document.body.appendChild(n);let t=r=>{if(r.origin!==this.#e.iframeOrigin||this.#e.iframe?.contentWindow!==r.source||!(r.data==="unchanged"||r.data==="changed"||r.data==="error"))return;r.data!=="unchanged"&&this.clearToken();let o=this.#e.callbackList;this.#e.callbackList=[];for(let l of o.reverse())r.data==="error"?l(new Error("Error while checking login iframe")):l(null,r.data==="unchanged")};window.addEventListener("message",t,!1),yield new Promise(r=>{n.addEventListener("load",()=>{let o=this.endpoints.authorize();o.startsWith("/")?this.#e.iframeOrigin=globalThis.location.origin:this.#e.iframeOrigin=new URL(o).origin,r()})})})}#d(){return ct(this,null,function*(){if(!this.#e.iframe||!this.#e.iframeOrigin)return;let n=`${this.clientId} ${this.sessionId?this.sessionId:""}`,t=this.#e.iframeOrigin;return yield new Promise((r,o)=>{let l=(p,C)=>p?o(p):r(C);this.#e.callbackList.push(l),this.#e.callbackList.length===1&&this.#e.iframe?.contentWindow?.postMessage(n,t)})})}#C(){return ct(this,null,function*(){let n=document.createElement("iframe"),t=yield this.createLoginUrl({prompt:"none",redirectUri:this.silentCheckSsoRedirectUri});return n.setAttribute("src",t),n.setAttribute("sandbox","allow-storage-access-by-user-activation allow-scripts allow-same-origin"),n.setAttribute("title","keycloak-silent-check-sso"),n.style.display="none",document.body.appendChild(n),yield new Promise((i,r)=>{let o=l=>ct(this,null,function*(){if(l.origin!==window.location.origin||n.c
39ontentWindow!==l.source)return;let p=this.#a(l.data);try{yield this.#l(p),i()}catch(C){r(C)}document.body.removeChild(n),window.removeEventListener("message",o)});window.addEventListener("message",o)})})}#a(n){let t=this.#T(n);if(!t)return;let i=this.#c.get(t.state);return i&&(t.valid=!0,t.redirectUri=i.redirectUri,t.storedNonce=i.nonce,t.prompt=i.prompt,t.pkceCodeVerifier=i.pkceCodeVerifier,t.loginOptions=i.loginOptions),t}#T(n){let t=[];switch(this.flow){case"standard":t=["code","state","session_state","kc_action_status","kc_action","iss"];break;case"implicit":t=["access_token","token_type","id_token","state","session_state","expires_in","kc_action_status","kc_action","iss"];break;case"hybrid":t=["access_token","token_type","id_token","code","state","session_state","expires_in","kc_action_status","kc_action","iss"];break}t.push("error"),t.push("error_description"),t.push("error_uri");let i=new URL(n),r="",o;if(this.responseMode==="query"&&i.searchParams.size>0?(o=this.#_(i.search,t),i.search=o.paramsString,r=i.toString()):this.responseMode==="fragment"&&i.hash.length>0&&(o=this.#_(i.hash.substring(1),t),i.hash=o.paramsString,r=i.toString()),o?.oauthParams){if(this.flow==="standard"||this.flow==="hybrid"){if((o.oauthParams.code||o.oauthParams.error)&&o.oauthParams.state)return o.oauthParams.newUrl=r,o.oauthParams}else if(this.flow==="implicit"&&(o.oauthParams.access_token||o.oauthParams.error)&&o.oauthParams.state)return o.oauthParams.newUrl=r,o.oauthParams}}#_(n,t){let i=n.split("&"),r={},o="";for(let l of i.reverse()){let p=new URLSearchParams(l).entries().next().value;if(!p){o="&"+o;continue}let[C,w]=p;t.includes(C)&&!(C in r)?r[C]=w:o=o.length===0?l:l+"&"+o}return{paramsString:o,oauthParams:r}}#l(n){return ct(this,null,function*(){let{code:t,error:i,prompt:r}=n,o=new Date().getTime(),l=(p,C,w)=>{if(o=(o+new Date().getTime())/2,this.#u(p,C,w,o),this.#i&&this.idTokenParsed&&this.idTokenParsed.nonce!==n.storedNonce)throw this.#s("[KEYCLOAK] Invalid nonce, clearing token"),this.clearToken(),new Error("Invalid nonce.")};if(n.kc_action_status&&this.onActionUpdate&&this.onActionUpdate(n.kc_action_status,n.kc_action),i){if(r!=="none")if(n.error_description&&n.error_description==="authentication_expired")yield this.login(n.loginOptions);else{let p={error:i,error_description:n.error_description};throw this.onAuthError?.(p),p}return}else this.flow!=="standard"&&(n.access_token||n.id_token)&&(l(n.access_token,void 0,n.id_token),this.onAuthSuccess?.());if(this.flow!=="implicit"&&t)try{let p=yield Pse(this.endpoints.token(),t,this.clientId,n.redirectUri,n.pkceCodeVerifier);l(p.access_token,p.refresh_token,p.id_token),this.flow==="standard"&&this.onAuthSuccess?.(),this.#g()}catch(p){throw this.onAuthError?.(),p}})}#g(){return ct(this,null,function*(){this.#e.enable&&this.token&&(yield Lse(this.#e.interval*1e3),(yield this.#d())&&(yield this.#g()))})}login=n=>this.#t.login(n);createLoginUrl=n=>ct(this,null,function*(){let t=hL(),i=hL(),r=this.#t.redirectUri(n),o={state:t,nonce:i,redirectUri:r,loginOptions:n};n?.prompt&&(o.prompt=n.prompt);let l=n?.action==="register"?this.endpoints.register():this.endpoints.authorize(),p=n?.scope||this.scope,C=p?p.split(" "):[];C.includes("openid")||C.unshift("openid"),p=C.join(" ");let w=new URLSearchParams([["client_id",this.clientId],["redirect_uri",r],["state",t],["response_mode",this.responseMode],["response_type",this.responseType],["scope",p]]);if(this.#i&&w.append("nonce",i),n?.prompt&&w.append("prompt",n.prompt),typeof n?.maxAge=="number"&&w.append("max_age",n.maxAge.toString()),n?.loginHint&&w.append("login_hint",n.loginHint),n?.idpHint&&w.append("kc_idp_hint",n.idpHint),n?.action&&n.action!=="register"&&w.append("kc_action",n.action),n?.locale&&w.append("ui_locales",n.locale),n?.acr&&w.append("claims",yse(n.acr)),n?.acrValues&&w.append("acr_values",n.acrValues),this.pkceMethod)try{let V=bse(96),j=yield Sse(this.pkceMethod,V);o.pkceCodeVerifier=V,w.append("code_challenge",j),w.append("code_challenge_method",this.pkceMethod)}catch(V){throw new Error("Failed to generate PKCE challenge.",{cause:V})}return this.#c.add(o),`${l}?${w.toString()}`});logout=n=>this.#t.logout(n);createLogoutUrl=n=>{let t=n?.logoutMethod??this.logoutMethod,i=this.endpoints.logout();if(t==="POST")return i;let r=new URLSearchParams([["client_id",this.clientId],["post_logout_redirect_uri",this.#t.redirectUri(n)]]);return this.idToken&&r.append("id_token_hint",this.idToken),`${i}?${r.toString()}`};register=n=>this.#t.register(n);createRegisterUrl=n=>this.createLoginUrl(U(k({},n),{action:"register"}));createAccountUrl=n=>{let t=this.#r();if(!t)throw new Error("Unable to create account URL, make sure the adapter is not configured using a generic OIDC provider.");let i=new URLSearchParams([["referrer",this.clientId],["referrer_uri",this.#t.redirectUri(n)]]);return`${t}/account?${i.toString()}`};accountManagement=()=>this.#t.accountManagement();hasRealmRole=n=>
39{let t=this.realmAccess;return!!t&&t.roles.indexOf(n)>=0};hasResourceRole=(n,t)=>{if(!this.resourceAccess)return!1;let i=this.resourceAccess[t||this.clientId];return!!i&&i.roles.indexOf(n)>=0};loadUserProfile=()=>ct(this,null,function*(){let n=this.#r();if(!n)throw new Error("Unable to load user profile, make sure the adapter is not configured using a generic OIDC provider.");let t=`${n}/account`,i=yield Hh(t,{headers:[pL(this.token)]});return this.profile=i});loadUserInfo=()=>ct(this,null,function*(){let n=this.endpoints.userinfo(),t=yield Hh(n,{headers:[pL(this.token)]});return this.userInfo=t});isTokenExpired=n=>{if(!this.tokenParsed||!this.refreshToken&&this.flow!=="implicit")throw new Error("Not authenticated");if(this.timeSkew==null)return this.#s("[KEYCLOAK] Unable to determine if token is expired as timeskew is not set"),!0;if(typeof this.tokenParsed.exp!="number")return!1;let t=this.tokenParsed.exp-Math.ceil(new Date().getTime()/1e3)+this.timeSkew;if(n){if(isNaN(n))throw new Error("Invalid minValidity");t-=n}return t<0};updateToken=n=>ct(this,null,function*(){if(!this.refreshToken)throw new Error("Unable to update token, no refresh token available.");n=n||5,this.#e.enable&&(yield this.#d());let t=!1;if(n===-1?(t=!0,this.#s("[KEYCLOAK] Refreshing token: forced refresh")):(!this.tokenParsed||this.isTokenExpired(n))&&(t=!0,this.#s("[KEYCLOAK] Refreshing token: token expired")),!t)return!1;let{promise:i,resolve:r,reject:o}=Promise.withResolvers();if(this.#n.push({resolve:r,reject:o}),this.#n.length===1){let l=this.endpoints.token(),p=new Date().getTime();try{let C=yield kse(l,this.refreshToken,this.clientId);this.#s("[KEYCLOAK] Token refreshed"),p=(p+new Date().getTime())/2,this.#u(C.access_token,C.refresh_token,C.id_token,p),this.onAuthRefreshSuccess?.();for(let w=this.#n.pop();w!=null;w=this.#n.pop())w.resolve(!0)}catch(C){this.#h("[KEYCLOAK] Failed to refresh token"),C instanceof Jy&&C.response.status===400&&this.clearToken(),this.onAuthRefreshError?.();for(let w=this.#n.pop();w!=null;w=this.#n.pop())w.reject(C)}}return yield i});clearToken=()=>{this.token&&(this.#u(),this.onAuthLogout?.(),this.loginRequired&&this.login())};#u(n,t,i,r){if(this.tokenTimeoutHandle&&(clearTimeout(this.tokenTimeoutHandle),this.tokenTimeoutHandle=void 0),t?(this.refreshToken=t,this.refreshTokenParsed=bM(t)):(delete this.refreshToken,delete this.refreshTokenParsed),i?(this.idToken=i,this.idTokenParsed=bM(i)):(delete this.idToken,delete this.idTokenParsed),n){if(this.token=n,this.tokenParsed=bM(n),this.sessionId=this.tokenParsed.sid,this.authenticated=!0,this.subject=this.tokenParsed.sub,this.realmAccess=this.tokenParsed.realm_access,this.resourceAccess=this.tokenParsed.resource_access,r&&(this.timeSkew=Math.floor(r/1e3)-this.tokenParsed.iat),this.timeSkew!==null&&(this.#s("[KEYCLOAK] Estimated time difference between browser and server is "+this.timeSkew+" seconds"),this.onTokenExpired)){let o=(this.tokenParsed.exp-new Date().getTime()/1e3+this.timeSkew)*1e3;this.#s("[KEYCLOAK] Token expires in "+Math.round(o/1e3)+" s"),o<=0?this.onTokenExpired():this.tokenTimeoutHandle=window.setTimeout(this.onTokenExpired,o)}}else delete this.token,delete this.tokenParsed,delete this.subject,delete this.realmAccess,delete this.resourceAccess,this.authenticated=!1}#r(){if(!(typeof this.authServerUrl>"u"))return`${fL(this.authServerUrl)}/realms/${encodeURIComponent(this.realm)}`}#y(n){return t=>{this.enableLogging&&n.call(console,t)}}};function hL(){if(typeof crypto>"u"||typeof crypto.randomUUID>"u")throw new Error("Web Crypto API is not available.");return crypto.randomUUID()}function yse(e){return JSON.stringify({id_token:{acr:e}})}function bse(e){return Ise(e,"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789")}function Sse(e,n){return ct(this,null,function*(){if(e!=="S256")throw new TypeError(`Invalid value for 'pkceMethod', expected 'S256' but got '${e}'.`);let t=new Uint8Array(yield Tse(n));return Dse(t).replace(/\+/g,"-").replace(/\//g,"_").replace(/=/g,"")})}function Ise(e,n){let t=Ese(e),i=new Array(e);for(let r=0;r<e;r++)i[r]=n.charCodeAt(t[r]%n.length);return String.fromCharCode.apply(null,i)}function Ese(e){if(typeof crypto>"u"||typeof crypto.getRandomValues>"u")throw new Error("Web Crypto API is not available.");return crypto.getRandomValues(new Uint8Array(e))}function wse(e,n,t){let i,r=new Promise(function(o,l){i=window.setTimeout(function(){l(new Error(t||"Promise is not settled within timeout of "+n+"ms"))},n)});return Promise.race([e,r]).finally(function(){clearTimeout(i)})}function xse(){try{return new SM}catch{return new IM}}var Uh="kc-callback-",SM=class{constructor(){globalThis.localStorage.setItem("kc-test","test"),globalThis.localStorage.removeItem("kc-test")}get(n){if(!n)return null;this.#n();let t=Uh+n,i=globalThis.localStorage.getItem(t);return i?(globalThis.localStorage.removeItem(t),JSON.parse(i)):null}add(n){this.#n();let t=Uh+n.state,i=JSON.stringify(U(k({},n),{expires:Date.now()+3600*1e3}));try{globalThis.localStorage.setItem(t,i)}catch{this.#t(),globalThis.localStorage.setItem(t,i)}}#n(){let n=Date.now();for(let[t,i]of this.#i()){let r=this.#c(i);(r===null||r<n)&&globalThis.localStorage.removeItem(t)}}#t(){for(let[n]of this.#i())globalThis.localStorage.removeItem(n)}#i(){return Object.entries(globalThis.localStorage).filter(([n])=>n.startsWith(Uh))}#c(n){let t;try{t=JSON.parse(n)}catch{return null}return EM(t)&&"expires"in t&&typeof t.expires=="number"?t.expires:null}},IM=class{get(n){if(!n)return null;let t=this.#n(Uh+n);return this.#t(Uh+n,"",this.#i(-100)),t?JSON.parse(t):null}add(n){this.#t(Uh+n.state,JSON.stringify(n),this.#i(60))}#n(n){let t=n+"=",i=document.cookie.split(";");for(let r=0;r<i.length;r++){let o=i[r];for(;o.charAt(0)===" ";)o=o.substring(1);if(o.indexOf(t)===0)return o.substring(t.length,o.length)}return""}
39#t(n,t,i){let r=n+"="+t+"; expires="+i.toUTCString()+"; ";document.cookie=r}#i(n){let t=new Date;return t.setTime(t.getTime()+n*60*1e3),t}};function Dse(e){let n=String.fromCodePoint(...e);return btoa(n)}function Tse(e){return ct(this,null,function*(){let t=new TextEncoder().encode(e);if(typeof crypto>"u"||typeof crypto.subtle>"u")throw new Error("Web Crypto API is not available.");return yield crypto.subtle.digest("SHA-256",t)})}function bM(e){let[,n]=e.split(".");if(typeof n!="string")throw new Error("Unable to decode token, payload not found.");let t;try{t=Mse(n)}catch(i){throw new Error("Unable to decode token, payload is not a valid Base64URL value.",{cause:i})}try{return JSON.parse(t)}catch(i){throw new Error("Unable to decode token, payload is not a valid JSON value.",{cause:i})}}function Mse(e){let n=e.replaceAll("-","+").replaceAll("_","/");switch(n.length%4){case 0:break;case 2:n+="==";break;case 3:n+="=";break;default:throw new Error("Input is not of the correct length.")}try{return Ase(n)}catch{return atob(n)}}function Ase(e){return decodeURIComponent(atob(e).replace(/(.)/g,(n,t)=>{let i=t.charCodeAt(0).toString(16).toUpperCase();return i.length<2&&(i="0"+i),"%"+i}))}function EM(e){return typeof e=="object"&&e!==null}function Ose(e){return ct(this,null,function*(){return yield Hh(e)})}function Rse(e){return ct(this,null,function*(){return yield Hh(e)})}function Pse(e,n,t,i,r){return ct(this,null,function*(){let o=new URLSearchParams([["code",n],["grant_type","authorization_code"],["client_id",t],["redirect_uri",i]]);return r&&o.append("code_verifier",r),yield Hh(e,{method:"POST",credentials:"include",body:o})})}function kse(e,n,t){return ct(this,null,function*(){let i=new URLSearchParams([["grant_type","refresh_token"],["refresh_token",n],["client_id",t]]);return yield Hh(e,{method:"POST",credentials:"include",body:i})})}function Hh(t){return ct(this,arguments,function*(e,n={}){let i=new Headers(n.headers);return i.set("Accept",_se),yield(yield Nse(e,U(k({},n),{headers:i}))).json()})}function Nse(e,n){return ct(this,null,function*(){let t=yield fetch(e,n);if(!t.ok)throw new Jy("Server responded with an invalid status.",{response:t});return t})}function pL(e){if(!e)throw new Error("Unable to build authorization header, token is not set, make sure the user is authenticated.");return["Authorization",`bearer ${e}`]}function fL(e){return e.endsWith("/")?e.slice(0,-1):e}var Jy=class extends Error{response;constructor(n,t){super(n,t),this.response=t.response}},Lse=e=>new Promise(n=>setTimeout(n,e));var ml=(function(e){return e[e.OnAuthError=0]="OnAuthError",e[e.OnAuthLogout=1]="OnAuthLogout",e[e.OnAuthRefreshError=2]="OnAuthRefreshError",e[e.OnAuthRefreshSuccess=3]="OnAuthRefreshSuccess",e[e.OnAuthSuccess=4]="OnAuthSuccess",e[e.OnReady=5]="OnReady",e[e.OnTokenExpired=6]="OnTokenExpired",e[e.OnActionUpdate=7]="OnActionUpdate",e})(ml||{});var fs=(()=>{class e{constructor(){this._keycloakEvents$=new Qe}bindsKeycloakEvents(){this._instance.onAuthError=t=>{this._keycloakEvents$.next({args:t,type:ml.OnAuthError})},this._instance.onAuthLogout=()=>{this._keycloakEvents$.next({type:ml.OnAuthLogout})},this._instance.onAuthRefreshSuccess=()=>{this._keycloakEvents$.next({type:ml.OnAuthRefreshSuccess})},this._instance.onAuthRefreshError=()=>{this._keycloakEvents$.next({type:ml.OnAuthRefreshError})},this._instance.onAuthSuccess=()=>{this._keycloakEvents$.next({type:ml.OnAuthSuccess})},this._instance.onTokenExpired=()=>{this._keycloakEvents$.next({type:ml.OnTokenExpired})},this._instance.onActionUpdate=t=>{this._keycloakEvents$.next({args:t,type:ml.OnActionUpdate})},this._instance.onReady=t=>{this._keycloakEvents$.next({args:t,type:ml.OnReady})}}loadExcludedUrls(t){let i=[];for(let r of t){let o;typeof r=="string"?o={urlPattern:new RegExp(r,"i"),httpMethods:[]}:o={urlPattern:new RegExp(r.url,"i"),httpMethods:r.httpMethods},i.push(o)}return i}initServiceValues({enableBearerInterceptor:t=!0,loadUserProfileAtStartUp:i=!1,bearerExcludedUrls:r=[],authorizationHeaderName:o="Authorization",bearerPrefix:l="Bearer",initOptions:p,updateMinValidity:C=20,shouldAddToken:w=()=>!0,shouldUpdateToken:V=()=>!0}){this._enableBearerInterceptor=t,this._loadUserProfileAtStartUp=i,this._authorizationHeaderName=o,this._bearerPrefix=l.trim().concat(" "),this._excludedUrls=this.loadExcludedUrls(r),this._silentRefresh=p?p.flow==="implicit":!1,this._updateMinValidity=C,this.shouldAddToken=w,this.shouldUpdateToken=V}init(){return ct(this,arguments,function*(t={}){this.initServiceValues(t);let{config:i,initOptions:r}=t;this._instance=new Xy(i),this.bindsKeycloakEvents();let o=yield this._instance.init(r);return o&&this._loadUserProfileAtStartUp&&(yield this.loadUserProfile()),o})}login(){return ct(this,arguments,function*(t={}){yield this._instance.login(t),this._loadUserProfileAtStartUp&&(yield this.loadUserProfile())})}logout(t){return ct(this,null,function*(){let i={redirectUri:t};yield this._instance.logout(i),this._userProfile=void 0})}register(){return ct(this,arguments,function*(t={action:"register"}){yield this._instance.register(t)})}isUserInRole(t,i){let r;return r=this._instance.hasResourceRole(t,i),r||(r=this._instance.hasRealmRole(t)),r}getUserRoles(t=!0,i){let r=[];if(this._instance.resourceAccess&&Object.keys(this._instance.resourceAccess).forEac
39h(o=>{if(i&&i!==o)return;let p=this._instance.resourceAccess[o].roles||[];r=r.concat(p)}),t&&this._instance.realmAccess){let o=this._instance.realmAccess.roles||[];r.push(...o)}return r}isLoggedIn(){return this._instance?this._instance.authenticated:!1}isTokenExpired(t=0){return this._instance.isTokenExpired(t)}updateToken(){return ct(this,arguments,function*(t=this._updateMinValidity){if(this._silentRefresh){if(this.isTokenExpired())throw new Error("Failed to refresh the token, or the session is expired");return!0}if(!this._instance)throw new Error("Keycloak Angular library is not initialized.");try{return yield this._instance.updateToken(t)}catch{return!1}})}loadUserProfile(t=!1){return ct(this,null,function*(){if(this._userProfile&&!t)return this._userProfile;if(!this._instance.authenticated)throw new Error("The user profile was not loaded as the user is not logged in.");return this._userProfile=yield this._instance.loadUserProfile()})}getToken(){return ct(this,null,function*(){return this._instance.token})}getUsername(){if(!this._userProfile)throw new Error("User not logged in or user profile was not loaded.");return this._userProfile.username}clearToken(){this._instance.clearToken()}addTokenToHeader(t=new ca){return gi(this.getToken()).pipe(fe(i=>i?t.set(this._authorizationHeaderName,this._bearerPrefix+i):t))}getKeycloakInstance(){return this._instance}get excludedUrls(){return this._excludedUrls}get enableBearerInterceptor(){return this._enableBearerInterceptor}get keycloakEvents$(){return this._keycloakEvents$}static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275prov=le({token:e,factory:e.\u0275fac})}}return e})();var Fse=(()=>{class e{constructor(t){this.keycloak=t}conditionallyUpdateToken(t){return ct(this,null,function*(){return this.keycloak.shouldUpdateToken(t)?yield this.keycloak.updateToken():!0})}isUrlExcluded({method:t,url:i},{urlPattern:r,httpMethods:o}){let l=o.length===0||o.join().indexOf(t.toUpperCase())>-1,p=r.test(i);return l&&p}intercept(t,i){let{enableBearerInterceptor:r,excludedUrls:o}=this.keycloak;return!r||!this.keycloak.shouldAddToken(t)||o.findIndex(p=>this.isUrlExcluded(t,p))>-1?i.handle(t):_s([gi(this.conditionallyUpdateToken(t)),pe(this.keycloak.isLoggedIn())]).pipe(mi(([p,C])=>C?this.handleRequestWithTokenHeader(t,i):i.handle(t)))}handleRequestWithTokenHeader(t,i){return this.keycloak.addTokenToHeader(t.headers).pipe(mi(r=>{let o=t.clone({headers:r});return i.handle(o)}))}static{this.\u0275fac=function(i){return new(i||e)(ae(fs))}}static{this.\u0275prov=le({token:e,factory:e.\u0275fac})}}return e})();var Vse=(()=>{class e{static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275mod=We({type:e})}static{this.\u0275inj=$e({providers:[fs,{provide:kC,useClass:Fse,multi:!0}],imports:[pt]})}}return e})();var _Te=(()=>{class e{static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275mod=We({type:e})}static{this.\u0275inj=$e({imports:[Vse]})}}return e})();var yTe=new me("Keycloak Events Signal");var bTe=new me("Include the bearer token as implemented by the provided function");var STe=new me("Include the bearer token when explicitly defined int the URL pattern condition");var Use=["*"],O1=(()=>{class e{constructor(t){this.appService=t,this.label="",this.small=!1,this.iconPosition="right",this.style="standard",this.ngStyle={},this.disabled=!1,this.version="v1",this.onClick=new Ue}get btnClasses(){let t=this.version==="v2"?`btn btn-primary dt-btn-ok ${this.style}`:this.style,i=t+" mobile";return this.appService.isMobileBrowser()?i:t}get contentClasses(){return[this.iconPosition==="left"?" reversed-icon":""]}get btnSize(){return this.small?"sm":"md"}emitClickEvent(t){this.disabled||this.onClick.emit(t)}static{this.\u0275fac=function(i){return new(i||e)(A(yi))}}static{this.\u0275cmp=Me({type:e,selectors:[["app-button"]],inputs:{label:"label",small:"small",iconPosition:"iconPosition",title:"title",style:"style",ngStyle:"ngStyle",disabled:"disabled",version:"version"},outputs:{onClick:"onClick"},standalone:!1,ngContentSelectors:Use,decls:9,vars:12,consts:[["type","button",3,"disabled","ngClass","ngStyle"],[1,"btn-overlay",3,"click"],[3,"ngClass"]],template:function(i,r){i&1&&(tn(),F(0,"button",0),Z(1,"translate"),F(2,"div",1),oe("click",function(l){return r.emitClickEvent(l)}),P(),F(3,"div",2)(4,"span"),q(5),Z(6,"translate"),P(),F(7,"span"),Ze(8,0,["#content",""]),P()()()),i&2&&(Be("disabled",r.disabled),L("disabled",r.disabled)("ngClass",r.btnClasses)("ngStyle",r.ngStyle),De("aria-label",X(1,8,r.label)),E(3),L("ngClass",r.contentClasses),E(2),Ie(X(6,10,r.label)))},dependencies:[Dn,Gr,At],styles:['@charset "UTF-8";[_nghost-%COMP%]{display:inline-flex;cursor:pointer}.btn-overlay[_ngcontent-%COMP%]{position:absolute;inset:0;z-index:2;cursor:pointer}cds-button[_ngcontent-%COMP%], button[_ngcontent-%COMP%]{-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none;display:inline-flex;cursor:pointer!important;position:relative;align-items:center;justify-content:center;min-width:180px;min-height:40px;max-height:45px;--border-width: 1px;--border-radius: 9px 0px 0px 9px;--letter-spacing: normal;border-radius:9px 0 0 9px;border-width:1px;border-style:solid;letter-spacing:normal;text-transform:unset}cds-button[_ngcontent-%COMP%] > div[_ngcontent-%COMP%], button[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{font-family:Lato;display:flex;align-items:center;justify-content:center}cds-button[_ngcontent-%COMP%] > div.reversed-icon[_ngcontent-%COMP%], button[_ngcontent-%COMP%] > div.reversed-icon[_ngcontent-%COMP%]{flex-direction:row-reverse}cds-button[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] > span[_ngcontent-%COMP%], button[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] > span[_ngcontent-%COMP%]{text-transform:uppercase;font-size:18px;font-weight:500}cds-button[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] > span[_ngcontent-%COMP%] cds-icon, button[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] > span[_ngcontent-%COMP%] cds-icon{margin-left:15px}cds-button.standard[_ngcontent-%COMP%], button.standard[_ngcontent-%COMP%]{--background: #990033;--color: white;background:#903;color:#fff;border-color:#903}cds-button.red[_ngcontent-%COMP%], cds-button.red.disabled[_ngcontent-%COMP%], cds-button.red[_ngcontent-%COMP%]:disabled, button.red[_ngcontent-%COMP%], button.red.disabled[_ngcontent-%COMP%], button.red[_ngcontent-%COMP%]:disabled{--background: #990033;--color: white;background:#903;color:#fff;border-color:#903}cds-button.white-red[_ngcontent-%COMP%], button.white-red[_ngcontent-%COMP%]{border:1px solid;border-color:#6e7881;border-radius:9px 0 0 9px!important;--background: white;--color: #990033;background:#fff;color:#903;cursor:pointer;padding:10px}cds-button.white-black[_ngcontent-%COMP%], button.white-black[_ngcontent-%COMP%]{border:1px solid;border-color:#6e7881;border-radius:9px 0 0 9px!important;--background: white;--color: #222b30;background:#fff;color:#222b30;cursor:pointer;padding:10px}cds-button.white-pink[_ngcontent-%COMP%], button.white-pink[_ngcontent-%COMP%]{border:1px solid;border-color:#d596aa;border-radius:9px 0 0 9px!important;--background: #D596AA;--color: white;background:#d596aa;color:#fff;cursor:pointer}cds-button.black[_ngcontent-%COMP%], button.black[_ngcontent-%COMP%]{border:1px solid;border-color:#222b30;border-radius:9px 0 0 9px!important;--background: #222b30;--color: white;background:#222b30;color:#fff;cursor:pointer}cds-button.white-gray[_ngcontent-%COMP%], button.white-gray[_ngcontent-%COMP%]{border:1px solid;border-color:#6e7881;border-radius:9px 0 0 9px!important;--background: white;--color: #6e7881;background:#fff;color:#6e7881;cursor:pointer}cds-button.outline[_ngcontent-%COMP%], button.outline[_ngcontent-%COMP%]{--background: #fcedf0;--color: #990033;--letter-spacing: normal;--font-weight: bold;background:#fcedf0;color:#903;letter-spacing:normal;font-weight:700}cds-button.gray[_ngcontent-%COMP%], button.gray[_ngcontent-%COMP%]{--background: #6e7881;--color: white;background:#6e7881;color:#fff;box-shadow:0 0 #4d5e6c26;border-color:#6e7881;cursor:pointer}cds-button.md[_ngcontent-%COMP%], button.md[_ngcontent-%COMP%]{width:207px;height:55px}cds-button.disabled[_ngcontent-%COMP%], cds-button.btn.btn-primary.disabled[_ngcontent-%COMP%], cds-button.btn.btn-primary[_ngcontent-%COMP%]:disabled, cds-button.btn-primary[_ngcontent-%COMP%] .btn.disabled[_ngcontent-%COMP%], cds-button.btn-primary[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%]:disabled, button.disabled[_ngcontent-%COMP%], button.btn.btn-primary.disabled[_ngcontent-%COMP%], button.btn.btn-primary[_ngcontent-%COMP%]:disabled, button.btn-primary[_ngcontent-%COMP%] .btn.disabled[_ngcontent-%COMP%], button.btn-primary[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%]:disabled{opacity:.25}cds-button.mobile[_ngcontent-%COMP%], button.mobile[_ngcontent-%COMP%]{border-radius:8px 0;--border-radius: 8px 0 8px 0;min-width:125px;border-color:unset}cds-button.standard[_ngcontent-%COMP%]:hover:not(:disabled):not(.disabled), button.standard[_ngcontent-%COMP%]:hover:not(:disabled):not(.disabled){--background: #660022;--background-hover: #660022;background:#602}cds-button.red[_ngcontent-%COMP%]:hover:not(:disabled):not(.disabled), button.red[_ngcontent-%COMP%]:hover:not(:disabled):not(.disabled){--background: #990033;--background-hover: #990033;background:#903}cds-button.white-red[_ngcontent-%COMP%]:hover:not(:disabled):not(.disabled), button.white-red[_ngcontent-%COMP%]:hover:not(:disabled):not(.disabled){--background: #f0f0f0;
39--background-hover: #f0f0f0;background:#f0f0f0}cds-button.white-black[_ngcontent-%COMP%]:hover:not(:disabled):not(.disabled), button.white-black[_ngcontent-%COMP%]:hover:not(:disabled):not(.disabled){--background: #f0f0f0;--background-hover: #f0f0f0;background:#f0f0f0}cds-button.white-pink[_ngcontent-%COMP%]:hover:not(:disabled):not(.disabled), button.white-pink[_ngcontent-%COMP%]:hover:not(:disabled):not(.disabled){--background: rgb(198.4285714286, 113.5714285714, 140.5102040816);--background-hover: rgb(198.4285714286, 113.5714285714, 140.5102040816);background:#c6728d}cds-button.black[_ngcontent-%COMP%]:hover:not(:disabled):not(.disabled), button.black[_ngcontent-%COMP%]:hover:not(:disabled):not(.disabled){--background: rgb(55.1463414634, 69.743902439, 77.8536585366);--background-hover: rgb(55.1463414634, 69.743902439, 77.8536585366);background:#37464e}cds-button.white-gray[_ngcontent-%COMP%]:hover:not(:disabled):not(.disabled), button.white-gray[_ngcontent-%COMP%]:hover:not(:disabled):not(.disabled){--background: $primary-gray-color-button;--background-hover: $primary-gray-color-button;background:#6e7881}cds-button.outline[_ngcontent-%COMP%]:hover:not(:disabled):not(.disabled), button.outline[_ngcontent-%COMP%]:hover:not(:disabled):not(.disabled){--background: rgb(244.7142857143, 193.2857142857, 203.5714285714);--background-hover: rgb(244.7142857143, 193.2857142857, 203.5714285714);background:#f5c1cc}cds-button.gray[_ngcontent-%COMP%]:hover:not(:disabled):not(.disabled), button.gray[_ngcontent-%COMP%]:hover:not(:disabled):not(.disabled){--background: rgb(86.5271966527, 94.3933054393, 101.4728033473);--background-hover: rgb(86.5271966527, 94.3933054393, 101.4728033473);background:#575e65}']})}}return e})();function Hse(e,n){e&1&&(F(0,"h3",7),q(1),Z(2,"translate"),P()),e&2&&(E(),Ae(" ",X(2,1,"CONFIRM_MOBILE_PHONE_DIALOG.TITLE_TO_CONFIRM"),""))}function Bse(e,n){if(e&1){let t=ze();F(0,"app-button",8),Z(1,"translate"),oe("onClick",function(){ee(t);let r=z();return te(r.sendEmail())}),P()}e&2&&(mf("standard"),L("label",X(1,3,"CONFIRM_MOBILE_PHONE_DIALOG.CONFIRM")))}Le.addIcons(Yr,br);var jse=(()=>{class e{constructor(t,i){this.userService=t,this.keycloak=i,this.mobileNumberConfirm=new Ue,this.closeEvent=new Ue,this.dialogOpened=!1,this.showError=!1,this.confirmed=!1}ngOnInit(){}onClick(t){this.dialogOpened=!0}close(){this.dialogOpened=!1,this.confirmed=!1}sendEmail(){let t=`${window.location.origin}`;this.keycloak.login({redirectUri:t,action:"UPDATE_MOBILE_NUMBER"})}static{this.\u0275fac=function(i){return new(i||e)(A(ds),A(fs))}}static{this.\u0275cmp=Me({type:e,selectors:[["app-edit-mobile-phone-confirm-dialog"]],inputs:{userInfo:"userInfo",buttonLabel:"buttonLabel"},outputs:{mobileNumberConfirm:"mobileNumberConfirm",closeEvent:"closeEvent"},standalone:!1,decls:8,vars:8,consts:[[3,"click","keydown.enter","icon","color","label"],[1,"modal-info","dt-dialog",3,"clrModalOpenChange","clrModalOpen"],[1,"modal-title"],["class","dt-dialog-title",4,"ngIf"],[1,"modal-body"],[1,"modal-footer"],[3,"style","label","onClick",4,"ngIf"],[1,"dt-dialog-title"],[3,"onClick","label"]],template:function(i,r){i&1&&(F(0,"app-icon-link-button",0),Z(1,"translate"),oe("click",function(l){return r.onClick(l)})("keydown.enter",function(l){return r.onClick(l)}),P(),F(2,"clr-modal",1),oe("clrModalOpenChange",function(l){return r.closeEvent.emit(l)}),bt("clrModalOpenChange",function(l){return It(r.dialogOpened,l)||(r.dialogOpened=l),l}),F(3,"div",2),ue(4,Hse,3,3,"h3",3),P(),F(5,"div",4)(6,"div",5),ue(7,Bse,2,5,"app-button",6),P()()()),i&2&&(L("icon","my-icon-note-large")("color","gray")("label",r.buttonLabel?X(1,6,r.buttonLabel):""),E(2),yt("clrModalOpen",r.dialogOpened),E(2),L("ngIf",!r.confirmed),E(3),L("ngIf",!r.confirmed))},dependencies:[lr,Bi,rt,Ea,O1,At],styles:[".modal-info[_ngcontent-%COMP%]{text-align:center}.modal-info[_ngcontent-%COMP%] .modal-title[_ngcontent-%COMP%]{width:100%;text-align:center}.modal-info[_ngcontent-%COMP%] .modal-title[_ngcontent-%COMP%] .dt-dialog-title[_ngcontent-%COMP%]{font-weight:700;font-stretch:normal;font-style:normal;line-height:1.27;letter-spacing:normal;font-size:24px!important;text-align:center}
39.modal-info[_ngcontent-%COMP%] .modal-body[_ngcontent-%COMP%] .modal-footer[_ngcontent-%COMP%]{justify-content:center!important}.modal-info[_ngcontent-%COMP%] .modal-body[_ngcontent-%COMP%] .dt-form[_ngcontent-%COMP%]{padding-bottom:16px;display:flex;flex-direction:column;justify-content:center;align-items:center}.modal-info[_ngcontent-%COMP%] .modal-body[_ngcontent-%COMP%] .dt-form[_ngcontent-%COMP%] .field[_ngcontent-%COMP%]{max-width:240px}.modal-info[_ngcontent-%COMP%] .modal-body[_ngcontent-%COMP%] .dt-form[_ngcontent-%COMP%] .field[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{padding:0;width:100%}.modal-info[_ngcontent-%COMP%] .error[_ngcontent-%COMP%]{text-align:center;color:#903}[_nghost-%COMP%] .modal-backdrop{opacity:var(--clr-modal-backdrop-opacity, .85)!important;background-color:#333!important;z-index:1040!important;position:fixed!important;inset:0!important;display:flex!important;align-items:center!important;justify-content:center!important;pointer-events:none!important}[_nghost-%COMP%] .modal-content{padding:1.2rem}[_nghost-%COMP%] .modal-body{padding:unset!important} .modal-footer .btn{color:#fff;background-color:#903;border:unset}[_nghost-%COMP%] .modal-footer .btn:hover, [_nghost-%COMP%] .modal-footer .btn:active{background-color:#903!important;border-color:#903!important}[_nghost-%COMP%] .modal-footer .btn:focus-visible{outline:2px solid black;outline-offset:2px;box-shadow:none}"]})}}return e})();function zse(e,n){e&1&&(F(0,"h3",7),q(1),Z(2,"translate"),P()),e&2&&(E(),Ae(" ",X(2,1,"CONFIRM_PASSWORD_DIALOG.TITLE_TO_CONFIRM"),""))}function Gse(e,n){e&1&&(F(0,"h3",7),q(1),Z(2,"translate"),P()),e&2&&(E(),Ae(" ",X(2,1,"CONFIRM_PASSWORD_DIALOG.TITLE_CONFIRMED"),""))}function $se(e,n){if(e&1){let t=ze();F(0,"app-button",8),Z(1,"translate"),oe("onClick",function(){ee(t);let r=z();return te(r.sendEmail())}),P()}e&2&&(mf("standard"),L("label",X(1,3,"CONFIRM_PASSWORD_DIALOG.CONFIRM")))}function Wse(e,n){if(e&1){let t=ze();F(0,"app-button",8),Z(1,"translate"),oe("onClick",function(){ee(t);let r=z();return te(r.close())}),P()}e&2&&(mf("standard"),L("label",X(1,3,"CONFIRM_PASSWORD_DIALOG.CLOSE")))}Le.addIcons(Yr,br);var Yse=(()=>{class e{constructor(t,i,r){this.userService=t,this.keycloak=i,this.appService=r,this.hideLabel=!1,this.passwordConfirm=new Ue,this.closeEvent=new Ue,this.dialogOpened=!1,this.showError=!1,this.confirmed=!1}ngOnInit(){}isMobile(){return this.appService.isMobileBrowser()}onClick(t){this.dialogOpened=!0}close(){this.dialogOpened=!1,this.confirmed=!1}sendEmail(){let t=`${window.location.origin}`;this.keycloak.login({redirectUri:t,action:"UPDATE_PASSWORD"})}static{this.\u0275fac=function(i){return new(i||e)(A(ds),A(fs),A(yi))}}static{this.\u0275cmp=Me({type:e,selectors:[["app-edit-profile-password-confirm-dialog"]],inputs:{userInfo:"userInfo",hideLabel:"hideLabel"},outputs:{passwordConfirm:"passwordConfirm",closeEvent:"closeEvent"},standalone:!1,decls:10,vars:10,consts:[[3,"click","keydown.enter","icon","color","label"],[1,"modal-info","dt-dialog",3,"clrModalOpenChange","clrModalOpen"],[1,"modal-title"],["class","dt-dialog-title",4,"ngIf"],[1,"modal-body"],[1,"modal-footer"],[3,"style","label","onClick",4,"ngIf"],[1,"dt-dialog-title"],[3,"onClick","label"]],template:function(i,r){i&1&&(F(0,"app-icon-link-button",0),Z(1,"translate"),oe("click",function(l){return r.onClick(l)})("keydown.enter",function(l){return r.onClick(l)}),P(),F(2,"clr-modal",1),oe("clrModalOpenChange",function(l){return r.closeEvent.emit(l)}),bt("clrModalOpenChange",function(l){return It(r.dialogOpened,l)||(r.dialogOpened=l),l}),F(3,"div",2),ue(4,zse,3,3,"h3",3)(5,Gse,3,3,"h3",3),P(),F(6,"div",4)(7,"div",5),ue(8,$se,2,5,"app-button",6)(9,Wse,2,5,"app-button",6),P()()()),i&2&&(L("icon","my-icon-note-large")("color","gray")("label",r.hideLabel?null:X(1,8,"PROFILE.INFO.BUTTONS.EDIT_PASSWORD")),E(2),yt("clrModalOpen",r.dialogOpened),E(2),L("ngIf",!r.confirmed),E(),L("ngIf",r.confirmed),E(3),L("ngIf",!r.confirmed),E(),L("ngIf",r.confirmed))},dependencies:[lr,Bi,rt,Ea,O1,At],styles:[".modal-info[_ngcontent-%COMP%]{text-align:center}
39.modal-info[_ngcontent-%COMP%] .modal-title[_ngcontent-%COMP%]{width:100%;text-align:center}.modal-info[_ngcontent-%COMP%] .modal-title[_ngcontent-%COMP%] .dt-dialog-title[_ngcontent-%COMP%]{font-weight:700;font-stretch:normal;font-style:normal;line-height:1.27;letter-spacing:normal;font-size:24px;text-align:center}.modal-info[_ngcontent-%COMP%] .modal-body[_ngcontent-%COMP%] .modal-footer[_ngcontent-%COMP%]{justify-content:center!important}.modal-info[_ngcontent-%COMP%] .modal-body[_ngcontent-%COMP%] .dt-form[_ngcontent-%COMP%]{padding-bottom:16px;display:flex;flex-direction:column;justify-content:center;align-items:center}.modal-info[_ngcontent-%COMP%] .modal-body[_ngcontent-%COMP%] .dt-form[_ngcontent-%COMP%] .field[_ngcontent-%COMP%]{max-width:240px}.modal-info[_ngcontent-%COMP%] .modal-body[_ngcontent-%COMP%] .dt-form[_ngcontent-%COMP%] .field[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{padding:0;width:100%}.modal-info[_ngcontent-%COMP%] .modal-body[_ngcontent-%COMP%] .btn.mobile[_ngcontent-%COMP%]{border-radius:8px 0;--border-radius: 8px 0 8px 0}.modal-info[_ngcontent-%COMP%] .error[_ngcontent-%COMP%]{text-align:center;color:#903}[_nghost-%COMP%] .modal-backdrop{opacity:var(--clr-modal-backdrop-opacity, .85)!important;background-color:#333!important;z-index:1040!important;position:fixed!important;inset:0!important;display:flex!important;align-items:center!important;justify-content:center!important;pointer-events:none!important}[_nghost-%COMP%] .modal-content{padding:1.5rem}[_nghost-%COMP%] .modal-body{padding:unset!important} .modal-footer .btn{color:#fff} .modal-footer .btn .btn-primary .dt-btn-ok{color:#fff!important}[_nghost-%COMP%] .modal-footer .btn:disabled, [_nghost-%COMP%] .modal-footer .btn[disabled], [_nghost-%COMP%] .modal-footer .btn.disabled, [_nghost-%COMP%] .modal-footer .btn[aria-disabled=true]{opacity:.4!important}[_nghost-%COMP%] .modal-body cds-icon{block-size:24px;inline-size:24px}[_nghost-%COMP%] .modal-dialog{border-radius:24px 0;overflow-x:clip;overflow-y:hidden}"]})}}return e})();function qse(e,n){if(e&1){let t=ze();F(0,"app-icon-link-button",58),oe("click",function(r){ee(t);let o=z();return te(o.onClick(r))})("keydown.enter",function(r){ee(t);let o=z();return te(o.onClick(r))}),P()}if(e&2){let t=z();L("notAllowed",t.notAllowed)("icon","my-icon-note-large")("color","gray")}}function Qse(e,n){if(e&1){let t=ze();F(0,"app-icon-link-button",59),oe("click",function(r){ee(t);let o=z();return te(o.onClick(r))})("keydown.enter",function(r){ee(t);let o=z();return te(o.onClick(r))}),P()}e&2&&L("icon","my-icon-note-large")("color","gray")}function Zse(e,n){e&1&&(F(0,"div")(1,"span",60),q(2),Z(3,"translate"),P()()),e&2&&(E(2),Ae(" ",X(3,1,"PROFILE.USER_INFO.ERRORS.FIRSTNAME")," "))}function Kse(e,n){e&1&&(F(0,"div")(1,"span",60),q(2),Z(3,"translate"),P()()),e&2&&(E(2),Ae(" ",X(3,1,"PROFILE.USER_INFO.ERRORS.LASTNAME")," "))}function Xse(e,n){e&1&&(F(0,"div")(1,"span",60),q(2),Z(3,"translate"),P()()),e&2&&(E(2),Ae(" ",X(3,1,"PROFILE.USER_INFO.ERRORS.CITIZENSHIP")," "))}function Jse(e,n){e&1&&(F(0,"div")(1,"span",60),q(2),Z(3,"translate"),P()()),e&2&&(E(2),Ae(" ",X(3,1,"PROFILE.USER_INFO.ERRORS.BIRTH_PLACE")," "))}function eae(e,n){e&1&&(F(0,"div")(1,"span",60),q(2),Z(3,"translate"),P()()),e&2&&(E(2),Ae(" ",X(3,1,"PROFILE.USER_INFO.ERRORS.TAX_CODE")," "))}function tae(e,n){if(e&1){let t=ze();F(0,"clr-radio-wrapper")(1,"input",61,8),bt("ngModelChange",function(r){ee(t);let o=z();return It(o.residenceType,r)||(o.residenceType=r),te(r)}),oe("change",function(){ee(t);let r=z();return te(r.onChangeCheckboxResidence())}),P(),F(3,"label"),q(4),Z(5,"translate"),P()()}if(e&2){let t=z();E(),yt("ngModel",t.residenceType),L("checked",t.residenceType==="Estero"),E(3),Ie(X(5,3,"PROFILE.USER_INFO.ABROAD_RESIDENCE"))}}function nae(e,n){if(e&1){let t=ze();F(0,"div",27)(1,"div",62)(2,"div")(3,"app-select-nation",63,12),Z(5,"translate"),bt("ngModelChange",function(r){ee(t);let o=z();return It(o.internalUserInfo.nationResidenceCode,r)||(o.internalUserInfo.nationResidenceCode=r),te(r)}),P()()()()}if(e&2){let t=z();E(3),Li("label",X(5,3,"PROFILE.USER_INFO.COUNTRY")),L("showItalyCountry",!1),yt("ngModel",t.internalUserInfo.nationResidenceCode)}}function iae(e,n){e&1&&(F(0,"span",60),q(1),Z(2,"translate"),P()),e&2&&(E(),Ae(" ",X(2,1,"PROFILE.USER_INFO.ERRORS.RESIDENCE_ADDRESS")," "))}function rae(e,n){e&1&&(F(0,"span",60),q(1),Z(2,"translate"),P()),e&2&&(E(),Ae(" ",X(2,1,"INPUT_ERROR_MESSAGES.ADDRESS_NOT_VALID")," "))}function oae(e,n){e&1&&(F(0,"span",60),q(1),Z(2,"translate"),P()),e&2&&(E(),Ae(" ",X(2,1,"PROFILE.USER_INFO.ERRORS.LOCATION_ADDRESS")," "))}function sae(e,n){e&1&&(F(0,"span",60),q(1),Z(2,"translate"),P()),e&2&&(E(),Ae(" ",X(2,1,"INPUT_ERROR_MESSAGES.ADDRESS_NOT_VALID")," "))}function aae(e,n){if(e&1){let t=ze();F(0,"div",27)(1,"div",64)(2,"span",39),q(3),Z(4,"translate"),P(),F(5,"input",65,13),bt("ngModelChange",function(r){ee(t);let o=z();return It(o.internalUserInfo.residencePlace,r)||(o.internalUserInfo.residencePlace=r),te(r)}),oe("change",function(){ee(t);let r=z();return te(r.validateAboardResidencePlace(r.internalUserInfo.residencePlace))}),P(),ue(7,oae,3,3,"ng-template",50)(8,sae,3,3,"ng-template",50),P()()}if(e&2){let t=fn(6),i=z();E(3),Ae(" ",X(4,4,"PROFILE.USER_INFO.LOCATION")," "),E(2),yt("ngModel",i.internalUserInfo.residencePlace),E(2),L("ngIf",t.errors==null?null:t.errors.required),E(),L("ngIf",!i.isValidAboardResidencePlace)}}function lae(e,n){e&1&&(F(0,"span",60),q(1),Z(2,"translate"),P()),e&2&&(E(),Ae(" ",X(2,1,"PROFILE.USER_INFO.ERRORS.PROVINCE")," "))}function cae(e,n){if(e&1&&(F(0,"option",73),q(1),P()),e&2){let t=n.$implicit,i=z(2);L("value",t.municipalityName)("selected",i.internalUserInfo.residencePlace===t.code),E(),Ae(" ",t.municipalityName," ")}}function dae(e,n){e&1&&(F(0,"span",60),q(1),Z(2,"translate"),P()),e&2&&(E(),Ae(" ",X(2,1,"PROFILE.USER_INFO.ERRORS.RESIDENCE_POSTAL_CODE")," "))}function uae(e,n){e&1&&(F(0,"span",60),q(1),Z(2,"translate"),P()),e&2&&(E(),Ae(" ",X(2,1,"PROFILE.USER_INFO.ERRORS.RESIDENCE_POSTAL_CODE_PATTERN")," "))}function hae(e,n){if(e&1){let t=ze();F(0,"div",27)(1,"div",66)(2,"app-select-province",67,14),bt("ngModelChange",function(r){ee(t);let o=z();return It(o.internalUserInfo.residenceProvince,r)||(o.internalUserInfo.residenceProvince=r),te(r)}),oe("change",function(r){ee(t);let o=z();return te(o.onProvinceChange(r))}),P(),ue(4,lae,3,3,"ng-template",50),P(),F(5,"clr-select-container",68)(6,"label",39),q(7),Z(8,"translate"),P(),F(9,"select",69,13),bt("ngModelChange",function(r){ee(t);let o=z();return It(o.internalUserInfo.residencePlace,r)||(o.internalUserInfo.residencePlace=r),te(r)}),ue(11,cae,2,3,"option",70),P(),F(12,"clr-control-error"),q(13),Z(14,"translate"),P()(),F(15,"div",71)(16,"label",29),q(17),Z(18,"translate"),P(),F(19,"input",72,15),bt("ngModelChange",function(r){ee(t);let o=z();return It(o.internalUserInfo.residencePostalCode,r)||(o.internalUserInfo.residencePostalCode=r),te(r)}
39),P(),ue(21,dae,3,3,"ng-template",50)(22,uae,3,3,"ng-template",50),P()()}if(e&2){let t=fn(3),i=fn(20),r=z();E(2),L("haveError",t.errors==null?null:t.errors.required),yt("ngModel",r.internalUserInfo.residenceProvince),E(2),L("ngIf",t.errors==null?null:t.errors.required),E(3),Ie(X(8,13,"PROFILE.USER_INFO.RESIDENCE_PLACE")),E(2),yt("ngModel",r.internalUserInfo.residencePlace),E(2),L("ngForOf",r.filteredResidenceMunicipalities),E(2),Ae(" ",X(14,15,"PROFILE.USER_INFO.ERRORS.RESIDENCE_PLACE")," "),E(3),L("for",r.residencePostalCodeLabelId),E(),Ie(X(18,17,"PROFILE.USER_INFO.RESIDENCE_POSTAL_CODE")),E(2),yt("ngModel",r.internalUserInfo.residencePostalCode),L("id",r.residencePostalCodeId),E(2),L("ngIf",i.errors==null?null:i.errors.required),E(),L("ngIf",i.errors==null?null:i.errors.pattern)}}function pae(e,n){e&1&&(F(0,"span",60),q(1),Z(2,"translate"),P()),e&2&&(E(),Ae(" ",X(2,1,"PROFILE.USER_INFO.ERRORS.MOBILE_NUMBER")," "))}function fae(e,n){e&1&&(F(0,"span",60),q(1),Z(2,"translate"),P()),e&2&&(E(),Ae(" ",X(2,1,"PROFILE.USER_INFO.ERRORS.EMAIL")," "))}Le.addIcons(Yr,br,qr,Ho,Ls);var gae=(()=>{class e{constructor(t,i){this.store$=t,this.config=i,this.notAllowed=!1,this.editUserInfo=new Ue,this.dialogOpened=!1,this.internalUser={},this.internalUserInfo={},this.internalUserLight={},this.isUserFull=!1,this.isNationCodeDisabled=!1,this.isCitizenshipDisabled=!1,this.isBirthPlaceDisabled=!1,this.isBirthDateDisabled=!1,this.residenceType="",this.isValidResidenceAddress=!1,this.isValidAboardResidencePlace=!1,this.componentId=us(6),this.firstnameId=`${this.componentId}-firstname`,this.lastnameId=`${this.componentId}-lastname`,this.citizenshipId=`${this.componentId}-citizenship`,this.birthPlaceId=`${this.componentId}-birthPlace`,this.taxCodeId=`${this.componentId}-taxCode`,this.residenceAddressId=`${this.componentId}-residenceAddress`,this.residencePostalCodeLabelId=`${this.componentId}-residencePostalCodeLabel`,this.residencePostalCodeId=`${this.componentId}-residencePostalCode`,this.mobileNumberId=`${this.componentId}-mobileNumber`,this.emailId=`${this.componentId}-email`,this.depoCodeId=`${this.componentId}-depoCode`,this.previnetCodeId=`${this.componentId}-previnetCode`,this.dateId=`${this.componentId}-date`}ngOnInit(){this.store$.select(Gi.selectIsUserFull).subscribe(t=>this.isUserFull=t),this.store$.select(zs.selectMunicipality).subscribe(t=>{this.municipalities=t.map(i=>U(k({},i),{municipalityName:i.municipalityName?.replace("'","'")})),this.filteredResidenceMunicipalities=this.municipalities?.filter(i=>i.code===this.internalUserInfo.residenceProvince)}),this.residenceType=this.user?.userInfo?.nationResidenceCode==="086"?"Italia":"Estero"}ngOnChanges(t){t.user&&t.user.currentValue&&(this.internalUser=Object.assign({},t.user.currentValue),this.internalUserInfo=Object.assign({},this.internalUser.userInfo),this.internalUserLight=Object.assign({},this.internalUser.userLight),this.isNationCodeDisabled=!!this.internalUserInfo.nationCode,this.isCitizenshipDisabled=!!this.internalUserInfo.citizenship,this.isBirthPlaceDisabled=!!this.internalUserInfo.birthPlace,this.isBirthDateDisabled=!!this.internalUserInfo.birthDate,this.internalUserInfo.residenceAddress&&this.validateResidenceAddress(this.internalUserInfo.residenceAddress),this.internalUserInfo.residencePlace&&this.validateAboardResidencePlace(this.internalUserInfo.residencePlace))}onClick(t){this.notAllowed||(this.dialogOpened=!0)}onChangeCheckboxResidence(){this.residenceType==="Estero"?(this.internalUserInfo.residenceProvince=c7,this.internalUserInfo.residencePlace="",this.internalUserInfo.residenceAddress="",this.internalUserInfo.nationResidenceCode="",this.internalUserInfo.residencePostalCode=""):(this.internalUserInfo.residencePostalCode="",this.internalUserInfo.residenceProvince="",this.internalUserInfo.residencePlace="",this.internalUserInfo.residenceAddress="",this.internalUserInfo.nationCode=dc,this.internalUserInfo.nationResidenceCode=dc)}apply(){(this.residenceType==="Italia"&&this.isValidResidenceAddress||this.residenceType==="Estero"&&this.isValidResidenceAddress&&this.isValidAboardResidencePlace)&&(this.dialogOpened=!1,this.internalUser.userInfo=this.internalUserInfo,this.editUserInfo.emit(this.internalUser))}discard(){this.dialogOpened=!1}modalOpenChange(t){}onProvinceChange(t){let i=t.target.value;this.filteredResidenceMunicipalities=this.municipalities?.filter(r=>r.code===i),this.filteredResidenceMunicipalities&&(this.internalUserInfo.residencePlace=this.filteredResidenceMunicipalities[0].municipalityName)}validateResidenceAddress(t){if(t){var i=t.match(Ug);return this.isValidResidenceAddress=!(i==null||i[0]!=t),this.isValidResidenceAddress}return!0}validateAboardResidencePlace(t){if(t){var i=t.match(Ug);return this.isValidAboardResidencePlace=!(i==null||i[0]!=t),this.isValidAboardResidencePlace}return!0}static{this.\u0275fac=function(i){return new(i||e)(A(an),A(Mn))}}static{this.\u0275cmp=Me({type:e,selectors:[["app-edit-user-info-dialog"]],inputs:{user:"user",notAllowed:"notAllowed"},outputs:{editUserInfo:"editUserInfo"},standalone:!1,features:[Xt],decls:135,vars:127,consts:[["f","ngForm"],["firstname","ngModel"],["lastname","ngModel"],["nation","ngModel"],["citizenship","ngModel"],["birthPlace","ngModel"],["taxCode","ngModel"],["sex","ngModel"],["residence","ngModel"],["residenceAddress","ngModel"],["mobileNumber","ngModel"],["email","ngModel"],["nationResidenceAbroad","ngModel"],["residencePlace","ngModel"],["residenceProvince","ngModel"],["residencePostalCode","ngModel"],["label","PROFILE.INFO.BUTTONS.EDIT_USER",3,"notAllowed","icon","color","click","keydown.enter",4,"ngIf"],["label","PROFILE.INFO.BUTTONS.EDIT_USER",3,"icon","color","click","keydown.enter",4,"ngIf"],[1,"modal-info","dt-dialog","text-left",3,"clrModalOpenChange","clrModalOpen","clrModalClosable","clrModalSize"],[1,"modal-title"],[1,"account-title-container"],[1,"title"],[1,"dt-dialog-title"],[1,"dt-dialog-subtitle"],[1,"modal-body"],["id","editUserForm",3,"ngSubmit"],[1,"dt-form"],[1,"clr-row"],[1,"clr-col-12","clr-col-md-6","info-col"],[1,"dt-label",3,"for"],["type","text","required","","name","firstname",1,"clr-input",3,"ngModelChange","ngModel","id","disabled"],[4,"ngIf"],["type","text","name","lastname","required","",1,"clr-input",3,"ngModelChange","ngModel","id","disabled"],[1,"clr-col-12","clr-col-md-6","padding-address-choise"],["name","nation","required","",3,"ngModelChange","ngModel","disabled"],["type","text","name","citizenship","required","",1,"clr-input",3,"ngModelChange","id","ngModel","disabled"],["type","text","name","birthPlace","required","",1,"clr-input",3,"ngModelChange","id","ngModel","disabled"],[3,"dateChange","date","disabled","dateId"],["type","text","required","","name","taxCode",1,"clr-input",3,"ngModelChange","ngModel","id","disabled"],[1,"dt-label"],[1,"checkboxes"],["type","radio","clrRadio","","value","M","name","sex","disabled","",3,"ngModelChange","ngModel","checked"],["type","radio","clrRadio","","value","F","name","sex","disabled","",3,"ngModelChange","ngModel","checked"],[1,"clr-col-12","info-col","address-choise","margin-address-choise"],[1,"clr-col-2","dt-label","padding-address-choise"],[1,"clr-col-2","checkboxes","address-choise","checkboxes-style"],["type","radio","clrRadio","","value","Italia","name","residence",3,"ngModelChange","change","ngModel","checked"],["class","clr-row",4,"ngIf"],[1,"clr-col","info-col"],["type","text","name","residenceAddress","required","",1,"clr-input",3,"ngModelChange","change","ngModel","id"],[3,"ngIf"],["type","text","name","mobileNumber","required","",1,"clr-input",3,"ngModelChange","id","ngModel","disabled"],["type","text","name","email","required","",1,"clr-input",3,"ngModelChange","id","ngModel","disabled"],["type","text","name","depoCode",1,"clr-input",3,"ngModelChange","id","ngModel","disabled"],["type","text","name","previnetCode",1,"clr-input",3,"ngModelChange","id","ngModel","disabled"],[1,"modal-footer"],["type","button",1,"btn","btn-link","dt-btn-undo",3,"click"],["type","submit","form","editUserForm",1,"btn","btn-primary","dt-btn-ok",3,"disabled"],["label","PROFILE.INFO.BUTTONS.EDIT_USER",3,"click","keydown.enter","notAllowed","icon","color"],["label","PROFILE.INFO.BUTTONS.EDIT_USER",3,"click","keydown.enter","icon","color"],[1,"error-message"],["type","radio","clrRadio","","value","Estero","name","residence",3,"ngModelChange","change","ngModel","checked"],[1,"clr-col-12","clr-col-md-6","info-col","padding-left"],["name","nationResidenceAbroad","required","",3,"ngModelChange","label","showItalyCountry","ngModel"],[1,"clr-col-12","info-col"],["type","text","name","residencePlace","required","",1,"clr-input",3,"ngModelChange","change","ngModel"],[1,"clr-col-12","clr-col-md-4","info-col"],["label","PROFILE.USER_INFO.PROVINCE","name","residenceProvince",3,"ngModelChange","change","haveError","ngModel"],[1,"clr-col-12","clr-col-md-5","input-text"],["id","residencePlace","clrSelect","","name","residencePlace","required","",1,"select",3,"ngModelChange","ngModel"],[3,"value","selected",4,"ngFor","ngForOf"],[1,"clr-col-12","clr-col-md-3","info-col"],["type","text","pattern","^[0-9]*$","name","residencePostalCode","required","",1,"clr-input",3,"ngModelChange","ngModel","id"],[3,"value","selected"]],template:function(i,r){if(i&1){let o=ze();ue(0,qse,1,3,"app-icon-link-button",16)(1,Qse,1,2,"app-icon-link-button",17),F(2,"clr-modal",18),bt("clrModalOpenChange",function(p){return ee(o),It(r.dialogOpened,p)||(r.dialogOpened=p),te(p)}),oe("clrModalOpenChange",function(p){return ee(o),te(r.modalOpenChange(p))}),F(3,"div",19)(4,"div",20)(5,"div",21)(6,"h3",22),q(7),Z(8,"translate"),P(),ye(9,"h5",23),P()()(),F(10,"div",24)(11,"form",25,0),oe("ngSubmit",function(){return ee(o),te(r.apply())}),F(13,"div",26)(14,"div",27)(15,"div",28)(16,"label",29),q(17),Z(18,"translate"),P(),F(19,"input",30,1),bt("ngModelChange",function(p){return ee(o),It(r.internalUserInfo.firstname,p)||(r.internalUserInfo.firstname=p),te(p)}
39),P(),ue(21,Zse,4,3,"div",31),P(),F(22,"div",28)(23,"label",29),q(24),Z(25,"translate"),P(),F(26,"input",32,2),bt("ngModelChange",function(p){return ee(o),It(r.internalUserInfo.lastname,p)||(r.internalUserInfo.lastname=p),te(p)}),P(),ue(28,Kse,4,3,"div",31),P()(),F(29,"div",27)(30,"div",33)(31,"app-select-nation",34,3),bt("ngModelChange",function(p){return ee(o),It(r.internalUserInfo.nationCode,p)||(r.internalUserInfo.nationCode=p),te(p)}),P()(),F(33,"div",28)(34,"label",29),q(35),Z(36,"translate"),P(),F(37,"input",35,4),bt("ngModelChange",function(p){return ee(o),It(r.internalUserInfo.citizenship,p)||(r.internalUserInfo.citizenship=p),te(p)}),P(),ue(39,Xse,4,3,"div",31),P()(),F(40,"div",27)(41,"div",28)(42,"label",29),q(43),Z(44,"translate"),P(),F(45,"input",36,5),bt("ngModelChange",function(p){return ee(o),It(r.internalUserInfo.birthPlace,p)||(r.internalUserInfo.birthPlace=p),te(p)}),P(),ue(47,Jse,4,3,"div",31),P(),F(48,"div",28)(49,"label",29),q(50),Z(51,"translate"),P(),F(52,"app-datepicker",37),bt("dateChange",function(p){return ee(o),It(r.internalUserInfo.birthDate,p)||(r.internalUserInfo.birthDate=p),te(p)}),P()()(),F(53,"div",27)(54,"div",28)(55,"label",29),q(56),Z(57,"translate"),P(),F(58,"input",38,6),bt("ngModelChange",function(p){return ee(o),It(r.internalUser.taxCode,p)||(r.internalUser.taxCode=p),te(p)}),P(),ue(60,eae,4,3,"div",31),P(),F(61,"div",28)(62,"span",39),q(63),Z(64,"translate"),P(),F(65,"div",40)(66,"clr-radio-wrapper")(67,"input",41,7),bt("ngModelChange",function(p){return ee(o),It(r.internalUserInfo.sex,p)||(r.internalUserInfo.sex=p),te(p)}),P(),F(69,"label"),q(70),Z(71,"translate"),P()(),F(72,"clr-radio-wrapper")(73,"input",42,7),bt("ngModelChange",function(p){return ee(o),It(r.internalUserInfo.sex,p)||(r.internalUserInfo.sex=p),te(p)}),P(),F(75,"label"),q(76),Z(77,"translate"),P()()()()(),F(78,"div",43)(79,"span",44),q(80),Z(81,"translate"),P(),F(82,"div",45)(83,"clr-radio-wrapper")(84,"input",46,8),bt("ngModelChange",function(p){return ee(o),It(r.residenceType,p)||(r.residenceType=p),te(p)}),oe("change",function(){return ee(o),te(r.onChangeCheckboxResidence())}),P(),F(86,"label"),q(87),Z(88,"translate"),P()(),ue(89,tae,6,5,"clr-radio-wrapper",31),P()(),ue(90,nae,6,5,"div",47),F(91,"div",27)(92,"div",48)(93,"label",29),q(94),Z(95,"translate"),P(),F(96,"input",49,9),bt("ngModelChange",function(p){return ee(o),It(r.internalUserInfo.residenceAddress,p)||(r.internalUserInfo.residenceAddress=p),te(p)}),oe("change",function(){return ee(o),te(r.validateResidenceAddress(r.internalUserInfo.residenceAddress))}),P(),ue(98,iae,3,3,"ng-template",50)(99,rae,3,3,"ng-template",50),P()(),ue(100,aae,9,6,"div",47)(101,hae,23,19,"div",47),F(102,"div",27)(103,"div",28)(104,"label",29),q(105),Z(106,"translate"),P(),F(107,"input",51,10),bt("ngModelChange",function(p){return ee(o),It(r.internalUserInfo.mobileNumber,p)||(r.internalUserInfo.mobileNumber=p),te(p)}),P(),ue(109,pae,3,3,"ng-template",50),P(),F(110,"div",28)(111,"label",29),q(112),Z(113,"translate"),P(),F(114,"input",52,11),bt("ngModelChange",function(p){return ee(o),It(r.internalUser.email,p)||(r.internalUser.email=p),te(p)}),P(),ue(116,fae,3,3,"ng-template",50),P()(),F(117,"div",27)(118,"div",28)(119,"label",29),q(120),Z(121,"translate"),P(),F(122,"input",53),bt("ngModelChange",function(p){return ee(o),It(r.internalUserLight.depoCode,p)||(r.internalUserLight.depoCode=p),te(p)}),P()(),F(123,"div",28)(124,"label",29),q(125),Z(126,"translate"),P(),F(127,"input",54),bt("ngModelChange",function(p){return ee(o),It(r.internalUserLight.previnetCode,p)||(r.internalUserLight.previnetCode=p),te(p)}),P()()()()()(),F(128,"div",55)(129,"button",56),oe("click",function(){return ee(o),te(r.discard())}),q(130),Z(131,"translate"),P(),F(132,"button",57),q(133),Z(134,"translate"),P()()()}if(i&2){let o=fn(12),l=fn(20),p=fn(27),C=fn(38),w=fn(46),V=fn(59),j=fn(97),$=fn(108),W=fn(115);L("ngIf",r.isUserFull&&r.notAllowed),E(),L("ngIf",r.isUserFull&&!r.notAllowed),E(),yt("clrModalOpen",r.dialogOpened),L("clrModalClosable",!1)("clrModalSize","lg"),E(5),Ie(X(8,89,"PROFILE.USER_INFO.EDIT_USER_INFO_HEADER")),E(9),L("for",r.firstnameId),E(),Ae(" ",X(18,91,"PROFILE.USER_INFO.FIRSTNAME")," "),E(2),yt("ngModel",r.internalUserInfo.firstname),L("id",r.firstnameId)("disabled",!0),E(2),L("ngIf",l.errors==null?null:l.errors.required),E(2),L("for",r.lastnameId),E(),Ie(X(25,93,"PROFILE.USER_INFO.LASTNAME")),E(2),yt("ngModel",r.internalUserInfo.lastname),L("id",r.lastnameId)("disabled",!0),E(2),L("ngIf",p.errors==null?null:p.errors.required),E(3),yt("ngModel",r.internalUserInfo.nationCode),L("disabled",r.isNationCodeDisabled),E(3),L("for",r.citizenshipId),E(),Ae(" ",X(36,95,"PROFILE.USER_INFO.CITIZENSHIP")," "),E(2),L("id",r.citizenshipId),yt("ngModel",r.internalUserInfo.citizenship),L("disabled",r.isCitizenshipDisabled),E(2),L("ngIf",C.errors==null?null:C.errors.required),E(3),L("for",r.birthPlaceId),E(),Ie(X(44,97,"PROFILE.USER_INFO.BIRTH_PLACE")),E(2),L("id",r.birthPlaceId),yt("ngModel",r.internalUserInfo.birthPlace),L("disabled",r.isBirthPlaceDisabled),E(2),L("ngIf",w.errors==null?null:w.errors.required),E(2),L("for",r.dateId),E(),Ae(" ",X(51,99,"PROFILE.USER_INFO.BIRTH_DATE")," "),E(2),yt("date",r.internalUserInfo.birthDate),L("disabled",r.isBirthDateDisabled)("dateId",r.dateId),E(3),L("for",r.taxCodeId),E(),Ie(X(57,101,"PROFILE.USER_INFO.TAX_CODE")),E(2),yt("ngModel",r.internalUser.taxCode),L("id",r.taxCodeId)("disabled",!0),E(2),L("ngIf",V.errors==null?null:V.errors.required),E(3),Ie(X(64,103,"PROFILE.USER_INFO.SEX")),E(4),yt("ngModel",r.internalUserInfo.sex),L("checked",r.internalUserInfo.sex==="M"),E(3),Ie(X(71,105,"PROFILE.USER_INFO.M")),E(3),yt("ngModel",r.internalUserInfo.sex),L("checked",r.internalUserInfo.sex==="F"),E(3),Ie(X(77,107,"PROFILE.USER_INFO.F")),E(4),Ae(" ",X(81,109,"PROFILE.USER_INFO.ADDRESS_TYPE")," "),E(4),yt("ngModel",r.residenceType),L("checked",r.residenceType==="Ital
39ia"),E(3),Ie(X(88,111,"PROFILE.USER_INFO.ITALIAN_RESIDENCE")),E(2),L("ngIf",r.config.isEnableAbroadResidence),E(),L("ngIf",r.residenceType==="Estero"),E(3),L("for",r.residenceAddressId),E(),Ae(" ",X(95,113,"PROFILE.USER_INFO.RESIDENCE_ADDRESS")," "),E(2),yt("ngModel",r.internalUserInfo.residenceAddress),L("id",r.residenceAddressId),E(2),L("ngIf",j.errors==null?null:j.errors.required),E(),L("ngIf",!r.isValidResidenceAddress),E(),L("ngIf",r.residenceType==="Estero"),E(),L("ngIf",r.residenceType==="Italia"),E(3),L("for",r.mobileNumberId),E(),Ae(" ",X(106,115,"PROFILE.USER_INFO.MOBILE_NUMBER")," "),E(2),L("id",r.mobileNumberId),yt("ngModel",r.internalUserInfo.mobileNumber),L("disabled",!0),E(2),L("ngIf",$.errors==null?null:$.errors.required),E(2),L("for",r.emailId),E(),Ie(X(113,117,"PROFILE.USER_INFO.EMAIL")),E(2),L("id",r.emailId),yt("ngModel",r.internalUser.email),L("disabled",!0),E(2),L("ngIf",W.errors==null?null:W.errors.required),E(3),L("for",r.depoCodeId),E(),Ie(X(121,119,"PROFILE.USER_INFO.DEPO_CODE")),E(2),L("id",r.depoCodeId),yt("ngModel",r.internalUserLight.depoCode),L("disabled",!0),E(2),L("for",r.previnetCodeId),E(),Ae(" ",X(126,121,"PROFILE.USER_INFO.PREVINET_CODE")," "),E(2),L("id",r.previnetCodeId),yt("ngModel",r.internalUserLight.previnetCode),L("disabled",!0),E(3),Ae(" ",X(131,123,"BUTTONS.AVOID")," "),E(2),L("disabled",!o.valid),E(),Ae(" ",X(134,125,"BUTTONS.SAVE_EDIT")," ")}},dependencies:[lr,Bi,Tn,Sd,YP,kD,wh,Ed,Wl,al,ll,go,Rs,KC,Vi,da,Ps,tw,Wr,Gl,rn,rt,Ea,Od,yM,Ky,At],styles:[".error-message[_ngcontent-%COMP%]{color:#903}.modal-info[_ngcontent-%COMP%]{margin-top:24px}.modal-info[_ngcontent-%COMP%] .modal-title[_ngcontent-%COMP%]{text-align:left}.modal-info[_ngcontent-%COMP%] .modal-title[_ngcontent-%COMP%] .account-title-container[_ngcontent-%COMP%]{display:flex;flex-direction:row;flex-flow:row;align-items:center}.modal-info[_ngcontent-%COMP%] .modal-title[_ngcontent-%COMP%] .account-title-container[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]{flex:0 0 100%}.modal-info[_ngcontent-%COMP%] .clr-row[_ngcontent-%COMP%] .info-col[_ngcontent-%COMP%]{text-align:left;display:flex;flex-flow:column}.modal-info[_ngcontent-%COMP%] .clr-row[_ngcontent-%COMP%] .info-col[_ngcontent-%COMP%] .checkboxes[_ngcontent-%COMP%]{display:flex}.modal-info[_ngcontent-%COMP%] .clr-row[_ngcontent-%COMP%] .info-col[_ngcontent-%COMP%] .checkboxes[_ngcontent-%COMP%] .clr-radio-wrapper[_ngcontent-%COMP%]:first-child{padding-right:19px}.modal-info[_ngcontent-%COMP%] .padding-left[_ngcontent-%COMP%]{padding-left:0}.modal-info[_ngcontent-%COMP%] .address-choise[_ngcontent-%COMP%]{display:flex;padding:unset}.modal-info[_ngcontent-%COMP%] .margin-address-choise[_ngcontent-%COMP%]{margin-top:30px;margin-bottom:20px}.modal-info[_ngcontent-%COMP%] .padding-address-choise[_ngcontent-%COMP%]{padding:unset}.modal-info[_ngcontent-%COMP%] .checkboxes-style[_ngcontent-%COMP%] clr-radio-wrapper[_ngcontent-%COMP%]{margin-right:20px;margin-top:-3px}.modal-body[_ngcontent-%COMP%] clr-control-error{color:#903;font-size:14px;line-height:24px}.modal-body[_ngcontent-%COMP%] .clr-control-container{margin-top:0}.modal-body[_ngcontent-%COMP%] .input-text[_ngcontent-%COMP%] cds-icon{display:none}.modal-body[_ngcontent-%COMP%] .input-text[_ngcontent-%COMP%] .select[_ngcontent-%COMP%]{border-top-left-radius:9px;border-bottom-left-radius:9px;background-color:#fff;border:solid 1px rgba(151,151,151,.29);font-size:18px;min-height:45px;width:100%}@media(max-width:767px){.clr-col-md-3[_ngcontent-%COMP%], .clr-col-md-4[_ngcontent-%COMP%], .clr-col-md-5[_ngcontent-%COMP%], .clr-col-md-6[_ngcontent-%COMP%], .padding-address-choise[_ngcontent-%COMP%]{padding-bottom:14px!important}.dt-btn-undo[_ngcontent-%COMP%]{margin:0 10px 0 auto}.dt-btn-ok[_ngcontent-%COMP%]{margin:0 auto 0 10px}}[_nghost-%COMP%] .modal-backdrop{opacity:var(--clr-modal-backdrop-opacity, .85)!important;background-color:#333!important;z-index:1040!important;position:fixed!important;inset:0!important;display:flex!important;align-items:center!important;justify-content:center!important;pointer-events:none!important}
39[_nghost-%COMP%] .modal-content{padding:1.2rem}[_nghost-%COMP%] .modal-body{padding:unset!important} .modal-header--accessible{display:flex;justify-content:unset;padding:unset!important;margin-top:24px;padding-bottom:24px!important} .modal-footer .btn{color:#fff;background-color:#903;border:unset}"]})}}return e})();var _L=Tp(Dh());var Bh="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",mae=typeof Uint8Array>"u"?[]:new Uint8Array(256);for(R1=0;R1<Bh.length;R1++)mae[Bh.charCodeAt(R1)]=R1;var R1,mL=function(e){var n=new Uint8Array(e),t,i=n.length,r="";for(t=0;t<i;t+=3)r+=Bh[n[t]>>2],r+=Bh[(n[t]&3)<<4|n[t+1]>>4],r+=Bh[(n[t+1]&15)<<2|n[t+2]>>6],r+=Bh[n[t+2]&63];return i%3===2?r=r.substring(0,r.length-1)+"=":i%3===1&&(r=r.substring(0,r.length-2)+"=="),r};var jh=(()=>{class e{constructor(){}getBase64EncodedFileData(t){return new Fr(i=>{let r=new FileReader;r.onload=()=>{let{result:o}=r,p=mL(o);i.next(p),i.complete()},r.onerror=()=>{i.error(r.error)},r.readAsArrayBuffer(t)})}urltoFile(t,i,r){return fetch(t).then(function(o){return o.arrayBuffer()}).then(function(o){return new File([o],i,{type:r})})}static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275prov=le({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();var vL=(()=>{class e{constructor(){this.nationalHolidays=[],this.createNationalHolidaysArray()}createNationalHolidaysArray(){let t=new Date().getFullYear(),i=new Date(""+t+"-01-01");this.nationalHolidays.push(i);let r=new Date(""+t+"-01-06");this.nationalHolidays.push(r);let o=new Date(""+t+"-04-25");this.nationalHolidays.push(o);let l=new Date(""+t+"-05-01");this.nationalHolidays.push(l);let p=new Date(""+t+"-06-02");this.nationalHolidays.push(p);let C=new Date(""+t+"-08-15");this.nationalHolidays.push(C);let w=new Date(""+t+"-11-01");this.nationalHolidays.push(w);let V=new Date(""+t+"-12-08");this.nationalHolidays.push(V);let j=new Date(""+t+"-12-25");this.nationalHolidays.push(j);let $=new Date(""+t+"-12-26");this.nationalHolidays.push($)}getEffectiveDate(){let i=1,r=new Date;for(;i<=6;){r.setDate(r.getDate()+1);let o=r.getDay();o!==0&&o!==6&&!this.isNationalHoliday(r)&&(i=i+1)}return r}getEndDateFromInitialDateAndFrequency(t,i){switch(i){case"1M":default:return new Date(new Date(t).setMonth(t.getMonth()+1));case"3M":return new Date(new Date(t).setMonth(t.getMonth()+3));case"6M":return new Date(new Date(t).setMonth(t.getMonth()+6));case"12M":case"1Y":return new Date(new Date(t).setMonth(t.getMonth()+12))}}isNationalHoliday(t){for(var i=0;i<this.nationalHolidays.length;i++)if(this.equalsDate(this.nationalHolidays[i],t))return!0;return!1}equalsDate(t,i){return t.getFullYear()===i.getFullYear()&&t.getDate()===i.getDate()&&t.getMonth()===i.getMonth()}isMajor(t,i){return t>i}static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275prov=le({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();var Cae=["fileInput"];function _ae(e,n){if(e&1&&(F(0,"div",9),q(1),Z(2,"translate"),P()),e&2){let t=z();aa("id","drag_",t.labelId,""),E(),Ie(X(2,3,"UPLOAD_FILE.DRAG_DROP_AND"))}}function yae(e,n){e&1&&(F(0,"cds-control-message",10),q(1),Z(2,"translate"),P()),e&2&&(E(),Ie(X(2,1,"INPUT_ERROR_MESSAGES.REQUIRED")))}function bae(e,n){if(e&1){let t=ze();F(0,"div",11)(1,"b"),q(2),P(),q(3),Z(4,"translate"),F(5,"cds-icon",12),oe("click",function(){ee(t);let r=z();return te(r.removeFile())}),P()()}if(e&2){let t=z();E(2),Ie(t.fileAccepted),E(),Ae(" | ",X(4,3,"UPLOAD_FILE.ACCEPTED")," "),E(2),De("aria-label","Rimuovi file "+t.fileAccepted)}}function Sae(e,n){if(e&1&&(F(0,"div",11)(1,"b"),q(2),P(),q(3),Z(4,"translate"),P()),e&2){let t=z();E(2),Ie(t.fileNotAccepted),E(),Ae(" | ",X(4,2,"UPLOAD_FILE.NOT_ACCEPTED")," ")}}var P1=(()=>{class e{constructor(t){this.fileUploadService=t,this.editMode=!1,this.showDragAndDropText=!0,this.onFileUpload=new Ue,this.onFileRemoved=new Ue,this.UPLOAD_EXTENSIONS=["doc","docx","pdf","jpg","jpeg","png","PNG","JPG","JPEG","PDF"],this.fileNotAccepted="",this.fileAccepted="",this.isTouched=!1,Le.addIcons(["my-icon-upload",Ly])}ngAfterViewInit(){let t="#drop-zone_"+this.labelId,i=()=>{document.querySelector(t)?.classList.add("is-dragover")}
39,r=()=>{document.querySelector(t)?.classList.remove("is-dragover")};["dragover","dragenter"].map(o=>document.querySelector(t)?.addEventListener(o,i)),["dragleave","dragend","drop"].map(o=>document.querySelector(t)?.addEventListener(o,r))}ngOnInit(){}ngOnChanges(t){this.editMode?this.fileBase64&&this.filename&&this.fileUploadService.urltoFile("data:image/jpg;base64,"+this.fileBase64,this.filename,"image/jpg").then(i=>{this.file=i,this.fileAccepted=this.file.name,this.fileNotAccepted=""}):this.fileAccepted=this.filename?this.filename:""}selectFiles(t){if(t.target.files.length>0?this.file=t.target.files[0]:this.file=t.target.files,this.extensionErrorFile())this.onFileUpload.emit(!1);else return this.uploadFiles()}uploadFiles(){this.file&&this.onFileUpload.emit(this.file)}extensionErrorFile(){let t=!1;if(this.file===void 0)return t;let i=this.file.name.substr(this.file.name.lastIndexOf(".")+1);return this.UPLOAD_EXTENSIONS.includes(i)?(this.fileAccepted=this.file.name,this.fileNotAccepted=""):(this.fileNotAccepted=this.file.name,this.fileAccepted="",t=!0),t}onTouch(){this.isTouched=!0}removeFile(){this.file=void 0,this.fileAccepted="",this.onFileRemoved.emit(),this.fileInput?.nativeElement&&(this.fileInput.nativeElement.value="")}reset(){this.file=void 0,this.fileAccepted="",this.fileNotAccepted="",this.isTouched=!1,this.fileInput?.nativeElement&&(this.fileInput.nativeElement.value="")}getText(){return this.loadFileText??"UPLOAD_FILE.LOAD_FILE"}static{this.\u0275fac=function(i){return new(i||e)(A(jh))}}static{this.\u0275cmp=Me({type:e,selectors:[["app-upload-files-form"]],viewQuery:function(i,r){if(i&1&&xn(Cae,5),i&2){let o;gt(o=mt())&&(r.fileInput=o.first)}},inputs:{editMode:"editMode",fileBase64:"fileBase64",filename:"filename",showDragAndDropText:"showDragAndDropText",loadFileText:"loadFileText",labelId:"labelId"},outputs:{onFileUpload:"onFileUpload",onFileRemoved:"onFileRemoved"},standalone:!1,features:[Xt],decls:15,vars:20,consts:[["fileInput",""],[1,"drop-zone",3,"id"],[3,"id"],["shape","my-icon-upload",3,"size"],["class","drag-label",3,"id",4,"ngIf"],[1,"upload-label",3,"id"],["type","file",3,"change","click"],["class","mt-5","status","error",4,"ngIf"],["class","p1",4,"ngIf"],[1,"drag-label",3,"id"],["status","error",1,"mt-5"],[1,"p1"],["shape","times",1,"remove-file-icon",3,"click"]],template:function(i,r){if(i&1){let o=ze();F(0,"div",1)(1,"div",2),ye(2,"cds-icon",3),ue(3,_ae,3,5,"div",4),F(4,"div",5),q(5),Z(6,"translate"),P()(),F(7,"div",2)(8,"input",6,0),oe("change",function(p){return ee(o),te(r.selectFiles(p))})("click",function(){return ee(o),te(r.onTouch())}),P(),ue(10,yae,3,3,"cds-control-message",7),P()(),F(11,"div")(12,"span"),ue(13,bae,6,5,"div",8)(14,Sae,5,4,"div",8),P()()}i&2&&(aa("id","drop-zone_",r.labelId,""),De("aria-label","File drop zone"),E(),aa("id","icon_",r.labelId,""),De("aria-labelledby",r.showDragAndDropText?"drag_"+r.labelId+" upload_"+r.labelId:"upload_"+r.labelId),E(),L("size","md"),E(),L("ngIf",r.showDragAndDropText),E(),aa("id","upload_",r.labelId,""),E(),Ie(X(6,18,r.getText())),E(2),aa("id","files_",r.labelId,""),E(),De("id",r.labelId?r.labelId:null)("aria-label","Input file zone"),E(2),L("ngIf",r.isTouched&&!r.file),E(3),L("ngIf",r.fileAccepted!==""),E(),L("ngIf",r.fileNotAccepted!==""))},dependencies:[Zt,rt,At],styles:[".remove-file-icon[_ngcontent-%COMP%]{cursor:pointer;margin-left:8px;color:#903;width:24px;height:24px}input[_ngcontent-%COMP%]{opacity:0%;padding:6px 12px;height:100%;width:100%}.drop-zone[_ngcontent-%COMP%]{display:inline-block;padding:6px 12px;cursor:pointer;height:186px;width:100%;max-height:100%;outline-color:#c8dadf;background-color:#eaeced80;outline-offset:-10px;-webkit-transition:outline-offset .15s ease-in-out,background-color .15s linear;transition:outline-offset .15s ease-in-out,background-color .15s linear;position:relative}.drop-zone[_ngcontent-%COMP%] cds-icon[_ngcontent-%COMP%]{width:60px;height:70px}.drop-zone[_ngcontent-%COMP%] [id^=icon_][_ngcontent-%COMP%], .drop-zone[_ngcontent-%COMP%] [id^=files_][_ngcontent-%COMP%]{width:100%;height:100%;position:absolute;top:0;left:0}
39.drop-zone[_ngcontent-%COMP%] [id^=files_][_ngcontent-%COMP%]{z-index:10}.drop-zone[_ngcontent-%COMP%] [id^=icon_][_ngcontent-%COMP%]{justify-content:center;align-items:center;display:flex;flex-wrap:wrap;flex-direction:column}.drop-zone[_ngcontent-%COMP%] [id^=icon_][_ngcontent-%COMP%] cds-icon[_ngcontent-%COMP%]{--color: #acb4b7}.drop-zone[_ngcontent-%COMP%] [id^=icon_][_ngcontent-%COMP%] .drag-label[_ngcontent-%COMP%]{font-size:12px;font-weight:500;font-stretch:normal;font-style:normal;line-height:1;letter-spacing:normal;text-align:center;color:#903;padding-top:10px;padding-bottom:10px}.drop-zone[_ngcontent-%COMP%] [id^=icon_][_ngcontent-%COMP%] .upload-label[_ngcontent-%COMP%]{margin-top:10px;font-size:12px;font-weight:500;font-stretch:normal;font-style:normal;line-height:1;letter-spacing:normal;text-align:center;text-transform:uppercase;color:#903}.drop-zone[_ngcontent-%COMP%]:focus-within{outline:2px solid black;outline-offset:-4px}.drop-zone[_ngcontent-%COMP%]:hover{outline-offset:-20px;background-color:#c8dadf}.drop-zone[_ngcontent-%COMP%]:hover [id^=icon_][_ngcontent-%COMP%] cds-icon[_ngcontent-%COMP%]{--color: #92b0b3}.drop-zone[_ngcontent-%COMP%]:hover [id^=icon_][_ngcontent-%COMP%] .drag-label[_ngcontent-%COMP%]{color:#903}.is-dragover[_ngcontent-%COMP%]{outline-offset:-20px;background-color:#c8dadf;outline:2px dashed #92b0b3}.mt-5[_ngcontent-%COMP%]{margin-top:5px;color:#903}"]})}}return e})();function Iae(e,n){e&1&&(F(0,"button",8),q(1),Z(2,"translate"),P()),e&2&&(E(),Ae(" ",X(2,1,"PROFILE.IDENTITY_INFO.EDIT_BUTTON")," "))}function Eae(e,n){if(e&1){let t=ze();F(0,"button",9),oe("click",function(r){ee(t);let o=z();return te(o.onClick(r))}),q(1),Z(2,"translate"),P()}e&2&&(E(),Ae(" ",X(2,1,"PROFILE.IDENTITY_INFO.EDIT_BUTTON")," "))}function wae(e,n){e&1&&ye(0,"cds-icon",10),e&2&&L("solid",!0)}function xae(e,n){if(e&1&&(F(0,"option",37),q(1),Z(2,"translate"),P()),e&2){let t=z().$implicit;L("value",t),E(),Ae(" ",X(2,2,"DOCUMENT_TYPE."+t)," ")}}function Dae(e,n){if(e&1&&ue(0,xae,3,4,"option",36),e&2){let t=n.$implicit;L("ngIf",t!=="OTHER_DOCUMENT")}}function Tae(e,n){e&1&&(F(0,"span",39),q(1),Z(2,"translate"),P()),e&2&&(E(),Ae(" ",X(2,1,"INPUT_ERROR_MESSAGES.REQUIRED_DOCUMENT_NO_CIE")," "))}function Mae(e,n){e&1&&(F(0,"span",39),q(1),Z(2,"translate"),P()),e&2&&(E(),Ae(" ",X(2,1,"INPUT_ERROR_MESSAGES.REQUIRED_DOCUMENT_NO")," "))}function Aae(e,n){if(e&1&&ue(0,Tae,3,3,"span",38)(1,Mae,3,3,"span",38),e&2){let t=z(2);L("ngIf",t.internalUserIdentity.documentType==="IDENTITY_CARD"),E(),L("ngIf",t.internalUserIdentity.documentType!=="IDENTITY_CARD")}}function Oae(e,n){e&1&&(F(0,"span",39),q(1),Z(2,"translate"),P()),e&2&&(E(),Ae(" ",X(2,1,"PROFILE.IDENTITY_INFO.ERRORS.RELEASED_BY")," "))}function Rae(e,n){if(e&1){let t=ze();F(0,"div")(1,"clr-modal",11),bt("clrModalOpenChange",function(r){ee(t);let o=z();return It(o.dialogOpened,r)||(o.dialogOpened=r),te(r)}),oe("clrModalOpenChange",function(r){ee(t);let o=z();return te(o.modalOpenChange(r))}),F(2,"div",12)(3,"div",13)(4,"div",14)(5,"h3",15),q(6),Z(7,"translate"),P()()()(),F(8,"div",16)(9,"form",17,0),oe("submit",function(){ee(t);let r=z();return te(r.apply())}),F(11,"div",18)(12,"div",19)(13,"div",20)(14,"label",21),q(15),Z(16,"translate"),P(),F(17,"div",22)(18,"div",23)(19,"select",24),bt("ngModelChange",function(r){ee(t);let o=z();return It(o.internalUserIdentity.documentType,r)||(o.internalUserIdentity.documentType=r),te(r)}),ue(20,Dae,1,1,"ng-template",25),P()()()(),F(21,"div",20)(22,"label",21),q(23),Z(24,"translate"),P(),F(25,"input",26,1),bt("ngModelChange",function(r){ee(t);let o=z();return It(o.internalUserIdentity.documentNo,r)||(o.internalUserIdentity.documentNo=r),te(r)}),P(),ue(27,Aae,2,2,"ng-template",6),P()(),F(28,"div",19)(29,"div",27)(30,"label",21),q(31),Z(32,"translate"),P(),F(33,"app-datepicker",28),oe("dateChange",function(r){ee(t);let o=z();return te(o.onReleaseDateChange(r))}),P()(),F(34,"div",27)(35,"label",21),q(36),Z(37,"translate"),P(),F(38,"app-datepicker",29),oe("dateChange",function(r){ee(t);let o=z();return te(o.onExpireDateChange(r))}),P()(),F(39,"div",27)(40,"label",21),q(41),Z(42,"translate"),P(),F(43,"input",30,2),bt("ngModelChange",function(r){ee(t);let o=z();return It(o.internalUserIdentity.releasedBy,r)||(o.internalUserIdentity.releasedBy=r),te(r)}),P(),ue(45,Oae,3,3,"ng-template",6),P()(),F(46,"div",31)(47,"div",20)(48,"label",21),q(49),Z(50,"translate"),P(),F(51,"app-upload-files-form",32),oe("onFileUpload",function(r){ee(t);let o=z();return te(o.fileUploadDocumentFront(r))})("onFileRemoved",function(){ee(t);let r=z();return te(r.fileUploadDocumentFront(!1))}),P()(),F(52,"div",20)(53,"label",21),q(54),Z(55,"translate"),P(),F(56,"app-upload-files-form",32),oe("onFileUpload",function(r){ee(t);let o=z();return te(o.fileUploadDocumentBack(r))})("onFileRemoved",function(){ee(t);let r=z();return te(r.fileUploadDocumentBack(!1))}),P()()()(),F(57,"div",33)(58,"button",34),oe("click",function(){ee(t);let r=z();return te(r.discard())}),q(59),Z(60,"translate"),P(),F(61,"button",35),q(62),Z(63,"translate"),P()()()()()()}if(e&2){let t=fn(10),i=fn(26),r=fn(44),o=z();E(),yt("clrModalOpen",o.dialogOpened),L("clrModalClosable",!1)("clrModalSize","lg"),E(5),Ie(X(7,43,"PROFILE.IDENTITY_INFO.
39EDIT_HEADER")),E(8),L("for",o.documentTypeId),E(),Ie(X(16,45,"PROFILE.IDENTITY_INFO.DOCUMENT_TYPE")),E(4),L("id",o.documentTypeId),yt("ngModel",o.internalUserIdentity.documentType),E(),L("ngForOf",o.documentTypes),E(2),L("for",o.documentNumberId),E(),Ae(" ",X(24,47,"PROFILE.IDENTITY_INFO.DOCUMENT_NO")," "),E(2),yt("ngModel",o.internalUserIdentity.documentNo),L("id",o.documentNumberId)("minlength",o.internalUserIdentity.documentType==="IDENTITY_CARD"?9:null)("maxlength",o.internalUserIdentity.documentType==="IDENTITY_CARD"?9:null),De("length",o.internalUserIdentity.documentType==="IDENTITY_CARD"?9:null),E(2),L("ngIf",(i.errors==null?null:i.errors.required)||!o.isValidateDocumentNumber()),E(3),L("for",o.releaseDateId),E(),Ie(X(32,49,"PROFILE.IDENTITY_INFO.RELEASE_DATE")),E(2),L("max",o.releaseDateMax)("isReadOnly",!1)("date",o.internalUserIdentity.releaseDate)("dateId",o.releaseDateId),E(2),L("for",o.expireDateMinId),E(),Ie(X(37,51,"PROFILE.IDENTITY_INFO.EXPIRE_DATE")),E(2),L("min",o.expireDateMin)("isReadOnly",!1)("date",o.internalUserIdentity.expireDate)("dateId",o.expireDateMinId),E(2),L("for",o.releasedById),E(),Ie(X(42,53,"PROFILE.IDENTITY_INFO.RELEASED_BY")),E(2),yt("ngModel",o.internalUserIdentity.releasedBy),L("id",o.releasedById),E(2),L("ngIf",r.errors==null?null:r.errors.required),E(3),L("for",o.frontId),E(),Ae(" ",X(50,55,"REGISTRATION.FULL.FRONT")," "),E(2),L("labelId",o.frontId),E(2),L("for",o.backId),E(),Ae(" ",X(55,57,"REGISTRATION.FULL.BACK")," "),E(2),L("labelId",o.backId),E(3),Ae(" ",X(60,59,"BUTTONS.AVOID")," "),E(2),L("disabled",t.invalid||!o.isDocFrontPresent||!o.isDocBackPresent||!o.isPresentTypeDocument()||!o.isValideDates()||!o.isValidateDocumentNumber()),E(),Ae(" ",X(63,61,"BUTTONS.SAVE_EDIT")," ")}}Le.addIcons(Yr,br,qr,Ho,Ls);var Pae=(()=>{class e{constructor(t,i){this.fileUploadService=t,this.dateLogicService=i,this.documentTypes=[],this.notAllowed=!1,this.editUserIdentity=new Ue,this.dialogOpened=!1,this.internalUserIdentity={},this.exclamationCircleVisible=!1,this.releaseDateMax=new Date().toJSON(),this.expireDateMin=new Date(new Date().getTime()+1440*60*1e3).toJSON(),this.isDocFrontPresent=!1,this.isDocBackPresent=!1,this.componentId=us(6),this.documentTypeId=`${this.componentId}-documentType`,this.documentNumberId=`${this.componentId}-documentNumber`,this.releaseDateId=`${this.componentId}-releaseDate`,this.expireDateMinId=`${this.componentId}-expireDateMin`,this.releasedById=`${this.componentId}-releasedBy`,this.frontId=`${this.componentId}-front`,this.backId=`${this.componentId}-back`}ngOnInit(){}ngOnChanges(t){this.internalUserIdentity=Object.assign({},this.userIdentity),this.isExclamationCircleVisible()}onClick(t){this.internalUserIdentity={},this.isDocFrontPresent=!1,this.isDocBackPresent=!1,this.dialogOpened=!0}apply(){this.dialogOpened=!1,this.editUserIdentity.emit(this.internalUserIdentity)}discard(){this.dialogOpened=!1}modalOpenChange(t){this.internalUserIdentity=Object.assign({},this.internalUserIdentity)}isExclamationCircleVisible(){if(!this.internalUserIdentity?.expireDate)return;let t=new Date(this.internalUserIdentity?.expireDate);this.exclamationCircleVisible=t.getTime()<new Date().getTime()}fileUploadDocumentFront(t){if(typeof t=="boolean")this.isDocFrontPresent=!1,this.internalUserIdentity.identityDocumentFront=void 0;else{let i={};this.fileUploadService.getBase64EncodedFileData(t).subscribe(r=>{i.fileBase64=r}),i.fileName=t.name,this.internalUserIdentity.identityDocumentFront=i,this.isDocFrontPresent=!0}}fileUploadDocumentBack(t){if(typeof t=="boolean")this.isDocBackPresent=!1,this.internalUserIdentity.identityDocumentBack=void 0;else{let i={};this.fileUploadService.getBase64EncodedFileData(t).subscribe(r=>{i.fileBase64=r}),i.fileName=t.name,this.internalUserIdentity.identityDocumentBack=i,this.isDocBackPresent=!0}}getDateString(t){return t=t,t&&t instanceof Date?(0,_L.default)(t).format("YYYY-MM-DD"):t}isPresentTypeDocument(){return this.internalUserIdentity.documentType!=null}isValidateDocumentNumber(){return this.internalUserIdentity.documentNo?(this.internalUserIdentity.documentType==="IDENTITY_CARD"?n7:t7).test(this.internalUserIdentity.documentNo):!1}onReleaseDateChange(t){this.internalUserIdentity.releaseDate=new Date(this.getDateString(t))}onExpireDateChange(t){this.internalUserIdentity.expireDate=new Date(this.getDateString(t))}isValideDates(){return this.internalUserIdentity.releaseDate!==void 0&&this.internalUserIdentity.expireDate!==void 0?this.dateLogicService.isMajor(new Date,this.internalUserIdentity.releaseDate)&&this.dateLogicService.isMajor(this.internalUserIdentity.expireDate,new Date)&&this.dateLogicService.isMajor(this.internalUserIdentity.expireDate,this.internalUserIdentity.releaseDate):!1}static{this.\u0275fac=function(i){return new(i||e)(A(jh),A(vL))}}static{this.\u0275cmp=Me({type:e,selectors:[["app-edit-user-identity-dialog"]],inputs:{userIdentity:"userIdentity",documentTypes:"documentTypes",notAllowed:"notAllowed"},outputs:{editUserIdentity:"editUserIdentity"},standalone:!1,features:[Xt],decls:5,vars:4,consts:[["f","ngForm"],["documentNumber","ngModel"],["releasedBy","ngModel"],[1,"edit-button"],["type","button","class","btn btn-primary dt-btn-ok","disabled","true",4,"ngIf"],["type","button","class","btn btn-primary dt-btn-ok",3,"click",4,"ngIf"],[3,"ngIf"],[4,"ngIf"],["type","button","disabled","true",1,"btn","btn-primary","dt-btn-ok"],["type","button",1,"btn","btn-primary","dt-btn-ok",3,"click"],["shape","exclamation-circle","status","danger","size","xl",3,"solid"],[1,"modal-info","dt-dialog",3,"clrModalOpenChange","clrModalOpen","clrModalClosable","clrModalSize"],[1,"modal-title"],[1,"account-title-container"],[1,"title"],[1,"dt-dialog-title"],[1,"modal-body"],[3,"submit"],[1,"dt-form"],[1,"clr-row"],[1,"clr-col-12","clr-col-md-6","info-col"],[1,"dt-label",3,"for"],[1,"clr-control-container"],[1,"clr-select-wrapper"],["name","documentType",3,"ngModelChange","id","ngModel"],["ngFor","",3,"ngForOf"],["type","text","required","","name","documentNumber",1,"clr-input",3,"ngModelChange","ngModel","id","minlength","maxlength"],[1,"clr-col-12","clr-col-md-4","info-col"],[3,"dateChange","max","isReadOnly","date","dateId"],[3,"dateChange","min","isReadOnly","date","dateId"],["type","text","required","","name","releasedBy",1,"clr-input",3,"ngModelChange","ngModel","id"],[1,"clr-row","info-col"],[3,"onFileUpload","onFileRemoved","labelId"],[1,"modal-footer"],["type","button",1,"btn","btn-link","dt-btn-undo",3,"click"],["type","submit",1,"btn","btn-primary","dt-btn-ok",3,"disabled"],[3,"value",4,"ngIf"],[3,"value"],["class","error-message",4,"ngIf"],[1,"error-message"]],template:function(i,r){i&1&&(F(0,"div",3),ue(1,Iae,3,3,"button",4)(2,Eae,3,3,"button",5)(3,wae,1,1,"ng-template",6),P(),ue(4,Rae,64,63,"div",7)),i&2&&(E(),L("ngIf",r.notAllowed),E(),L("ngIf",!r.notAllowed),E(),L("ngIf",r.exclamationCircleVisible),E(),L("ngIf",r.dialogOpened))},dependencies:[Zt,lr,Bi,Tn,Wl,al,ll,go,Rs,Vi,da,Ps,Yf,qf,Wr,Gl,rn,rt,Od,P1,At],styles:[".error-message[_ngcontent-%COMP%]{color:#903}button[_ngcontent-%COMP%]{text-transform:unset}.modal-info[_ngcontent-%COMP%]{margin-top:24px}
39.modal-info[_ngcontent-%COMP%] .modal-title[_ngcontent-%COMP%]{text-align:left}.modal-info[_ngcontent-%COMP%] .modal-title[_ngcontent-%COMP%] .account-title-container[_ngcontent-%COMP%]{display:flex;flex-direction:row;flex-flow:row;align-items:center}.modal-info[_ngcontent-%COMP%] .modal-title[_ngcontent-%COMP%] .account-title-container[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]{flex:0 0 100%}.modal-info[_ngcontent-%COMP%] .modal-body[_ngcontent-%COMP%] select[_ngcontent-%COMP%]{width:100%}.modal-info[_ngcontent-%COMP%] .modal-body[_ngcontent-%COMP%] .modal-footer[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;gap:.5rem;flex-direction:row}.modal-info[_ngcontent-%COMP%] .clr-row[_ngcontent-%COMP%] .info-col[_ngcontent-%COMP%]{text-align:left;display:flex;flex-flow:column}.modal-info[_ngcontent-%COMP%] .clr-row[_ngcontent-%COMP%] .info-col[_ngcontent-%COMP%] .checkboxes[_ngcontent-%COMP%]{display:flex}.modal-info[_ngcontent-%COMP%] .clr-row[_ngcontent-%COMP%] .info-col[_ngcontent-%COMP%] .checkboxes[_ngcontent-%COMP%] .clr-radio-wrapper[_ngcontent-%COMP%]:first-child{padding-right:19px}.edit-button[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{font-size:18px;box-shadow:none;letter-spacing:normal;background-color:#903;border:unset;text-transform:uppercase;font-weight:700;border-radius:9px 0 0 9px;min-width:180px;min-height:40px;max-height:45px;margin-left:0}.edit-button[_ngcontent-%COMP%] cds-icon[_ngcontent-%COMP%]{--color: #990033;margin-left:5px}.clr-select-wrapper[_ngcontent-%COMP%] select[_ngcontent-%COMP%]:focus, .clr-input[_ngcontent-%COMP%]:focus{outline:revert}@media(max-width:767px){.clr-col-md-4[_ngcontent-%COMP%], .clr-col-md-6[_ngcontent-%COMP%]{padding-bottom:14px!important}.dt-btn-undo[_ngcontent-%COMP%], .dt-btn-ok[_ngcontent-%COMP%]{margin:0 auto}.modal-footer[_ngcontent-%COMP%]{padding-bottom:24px}}[_nghost-%COMP%] .modal-backdrop{opacity:var(--clr-modal-backdrop-opacity, .85)!important;background-color:#333!important;z-index:1040!important;position:fixed!important;inset:0!important;display:flex!important;align-items:center!important;justify-content:center!important;pointer-events:none!important}[_nghost-%COMP%] .modal-content{padding:1.2rem}[_nghost-%COMP%] .modal-body{padding:unset!important} .modal-footer .btn{color:#fff;background-color:#903;border:unset}[_nghost-%COMP%] .modal-footer .btn:focus-visible{outline:2px solid black;outline-offset:2px;box-shadow:none} .modal-header--accessible{display:flex;justify-content:unset;padding:unset!important;margin-top:24px;padding-bottom:24px!important}[_nghost-%COMP%] .modal-footer .btn:disabled, [_nghost-%COMP%] .modal-footer .btn[disabled], [_nghost-%COMP%] .modal-footer .btn.disabled, [_nghost-%COMP%] .modal-footer .btn[aria-disabled=true]{opacity:.4!important}"]})}}return e})();Le.addIcons(Yr,br);var xM=(()=>{class e{constructor(){this.onCloseDialog=new Ue,this.dialogOpened=!1,this.message="REGISTRATION.LIGHT.MODAL.TERMS_CONDITIONS",this.modalTitle="REGISTRATION.LIGHT.MODAL.DIALOG_TITLE",this.currentUrl="../../assets/doc/Termini e condizioni Anima servizio base_lightonline_rev legale_ .pdf"}ngOnInit(){}openDialog(){this.dialogOpened=!0}approve(){this.dialogOpened=!1,this.onCloseDialog.emit(!0)}static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275cmp=Me({type:e,selectors:[["app-terms-condition-dialog"]],inputs:{message:"message",modalTitle:"modalTitle",currentUrl:"currentUrl"},outputs:{onCloseDialog:"onCloseDialog"},standalone:!1,decls:16,vars:17,consts:[["frame",""],[1,"terms-text",3,"click"],[1,"modal-info","dt-dialog",3,"clrModalOpenChange","clrModalOpen","clrModalSize","clrModalClosable"],[1,"modal-title"],[1,"dt-dialog-title"],[1,"modal-body"],["id","frame",1,"no-border",3,"hidden","src"],[1,"modal-footer"],["type","button",1,"btn","btn-primary","dt-btn-ok",3,"click"]],template:function(i,r){if(i&1){let o=ze();F(0,"span",1),oe("click",function(){return ee(o),te(r.openDialog())}),q(1),Z(2,"translate"),P(),F(3,"clr-modal",2),bt("clrModalOpenChange",function(p){return ee(o),It(r.dialogOpened,p)||(r.dialogOpened=p),te(p)}),F(4,"div",3)(5,"h3",4),q(6),Z(7,"translate"),P()(),F(8,"div",5),ye(9,"iframe",6,0),Z(11,"safe"),P(),F(12,"div",7)(13,"button",8),oe("click",function(){return ee(o),te(r.approve())}),q(14),Z(15,"translate"),P()()()}i&2&&(E(),Ie(X(2,8,r.message)),E(2),yt("clrModalOpen",r.dialogOpened),L("clrModalSize","xl")("clrModalClosable",!1),E(3),Ie(X(7,10,r.modalTitle)),E(3),L("hidden",!r.currentUrl)("src",sC(11,12,r.currentUrl,"resourceUrl"),Ru),E(5),Ae(" ",X(15,15,"REGISTRATION.LIGHT.MODAL.BUTTON")," "))},dependencies:[lr,Bi,At,M1],styles:[".mobile[_nghost-%COMP%] .terms-text[_ngcontent-%COMP%], .mobile [_nghost-%COMP%] .terms-text[_ngcontent-%COMP%]{font-size:14px}.terms-text[_ngcontent-%COMP%]{cursor:pointer;font-size:16px;color:#903}.modal-info[_ngcontent-%COMP%]{margin-top:24px}
39.modal-info[_ngcontent-%COMP%] .modal-body[_ngcontent-%COMP%]{overflow:unset}.modal-info[_ngcontent-%COMP%] .modal-body[_ngcontent-%COMP%] iframe[_ngcontent-%COMP%]{min-height:70vh;width:100%;height:100%}.modal-info[_ngcontent-%COMP%] .modal-body[_ngcontent-%COMP%] .no-border[_ngcontent-%COMP%]{border:none}.modal-info[_ngcontent-%COMP%] .modal-footer[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center}[_nghost-%COMP%] .modal-backdrop{opacity:var(--clr-modal-backdrop-opacity, .85)!important;background-color:#333!important;z-index:1040!important;position:fixed!important;inset:0!important;display:flex!important;align-items:center!important;justify-content:center!important;pointer-events:none!important}[_nghost-%COMP%] .modal-content{padding:1.2rem}[_nghost-%COMP%] .modal-body{padding:unset!important} .modal-footer .btn{color:#fff} .modal-footer .btn .btn-primary .dt-btn-ok{color:#fff!important}[_nghost-%COMP%] .modal-footer .btn:disabled, [_nghost-%COMP%] .modal-footer .btn[disabled], [_nghost-%COMP%] .modal-footer .btn.disabled, [_nghost-%COMP%] .modal-footer .btn[aria-disabled=true]{opacity:.4!important}[_nghost-%COMP%] .modal-body cds-icon{block-size:24px;inline-size:24px}"]})}}return e})();var Nae=()=>({"margin-top":"-10px"}),Lae=()=>({"margin-top":"2px"});function Fae(e,n){if(e&1&&(F(0,"div",17),ye(1,"span",18),Z(2,"translate"),ye(3,"app-terms-condition-dialog",4)(4,"span",18),Z(5,"translate"),P()),e&2){let t=z(2);E(),L("innerHTML",X(2,5,"REGISTRATION.FULL.SELECTION_CARD.VISUALISE"),mr),E(2),L("currentUrl",t.docUrl)("modalTitle","REGISTRATION.STEP_1.MODAL.TERMS_TITLE")("message","REGISTRATION.FULL.SELECTION_CARD.LINK"),E(),L("innerHTML",X(5,7,"REGISTRATION.FULL.SELECTION_CARD.VISUALISE_"),mr)}}function Vae(e,n){if(e&1){let t=ze();F(0,"div",6)(1,"clr-checkbox-wrapper")(2,"input",10),oe("change",function(){ee(t);let r=z();return te(r.changeValue("gdpr"))}),P(),ye(3,"label",11),Z(4,"translate"),P(),F(5,"clr-checkbox-wrapper")(6,"input",12),oe("change",function(){ee(t);let r=z();return te(r.changeValue("siteCondition"))}),P(),ye(7,"label",11),Z(8,"translate"),P(),F(9,"clr-checkbox-wrapper")(10,"input",13),oe("change",function(){ee(t);let r=z();return te(r.changeValue("marketing"))}),P(),F(11,"label",14),q(12),Z(13,"translate"),P()(),ue(14,Fae,6,9,"div",15),F(15,"div",16)(16,"label"),q(17),Z(18,"translate"),P()()()}if(e&2){let t=z();E(2),L("id",t.inputCheckbox2Id),E(),L("for",t.inputCheckbox2Id)("innerHTML",X(4,11,"REGISTRATION.STEP_1.CONDITION_1"),mr),E(3),L("id",t.inputCheckbox3Id),E(),L("for",t.inputCheckbox3Id)("innerHTML",X(8,13,"REGISTRATION.STEP_1.CONDITION_2"),mr),E(3),L("id",t.inputCheckbox4Id),E(),L("for",t.inputCheckbox4Id),E(),Ie(X(13,15,"REGISTRATION.STEP_1.CONDITION_3")),E(2),L("ngIf",t.showRegistrationPdf),E(3),Ie(X(18,17,"REGISTRATION.STEP_1.CONDITION_ALERT"))}}var Uae=(()=>{class e{constructor(){this.destroyed$=new Qe,this.showRegistrationPdf=!0,this.dialogOpened=new Ue,this.componentId=us(6),this.inputCheckbox1Id=`${this.componentId}-inputCheckbox1Id`,this.inputCheckbox2Id=`${this.componentId}-inputCheckbox2Id`,this.inputCheckbox3Id=`${this.componentId}-inputCheckbox3Id`,this.inputCheckbox4Id=`${this.componentId}-inputCheckbox4Id`,this.allCheckFlag=!0,this.docPrivacyUrl="../../../../assets/doc/informativa_privacy _lightI_full.pdf",this.docUrl="../../../../assets/doc/contratto_servizio_online_full.pdf",this.arrowPositions=["up","down"],this.arrowPosition="down",this.isTextClicked=!1,Le.addIcons(["my-icon-click-up-consens",Ck]),Le.addIcons(["my-icon-click-down-consens",_k])}ngOnInit(){this.buildForm(),this.form.valueChanges.pipe(vi(this.destroyed$)).subscribe(t=>Object.keys(this.form.controls).forEach(i=>this.form?.get(i)?.updateValueAndValidity({emitEvent:!1})))}buildForm(){Object.keys(this.form.controls).some(t=>!!t)||(this.form.addControl("gdpr",new $l(null,sl.requiredTrue)),this.form.addControl("siteCondition",new $l(null,sl.requiredTrue)),this.form.addControl("marketing",new $l(null)),this.form.addControl("allCheck",new $l(null)))}onTextClick(){this.dialogOpened.emit(this.isTextClicked),this.isTextClicked=!this.isTextClicked,this.isTextClicked?this.arrowPosition=this.arrowPositions[0]:this.arrowPosition=this.arrowPositions[1],this.form.updateValueAndValidity({onlySelf:!0})}openPrivacyList(){this.isTextClicked=!0,this.arrowPosition=this.arrowPositions[1],this.form.updateValueAndValidity({onlySelf:!0})}changeValue(t){let i=["gdpr","siteCondition","marketing"];if(t==="allCheck")this.allCheckFlag=!this.allCheckFlag,this.allCheckFlag||this.dialogOpened.emit(this.allCheckFlag),this.form.setValue({allCheck:!!this.form.get(t)?.value,gdpr:!!this.form.get(t)?.value,siteCondition:!!this.form.get(t)?.value,marketing:!!this.form.get(t)?.value}),this.openPrivacyList();else{let r=i.map(o=>this.form.controls[o].value).filter(o=>o).length;this.form.controls.allCheck.setValue(r===i.length),this.form.controls[t].setValue(!!this.form.get(t)?.value)}}ngOnDestroy(){this.destroyed$.next(!0),this.destroyed$.complete()}static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275cmp=Me({type:e,selectors:[["app-checkbox-privacy-module"]],inputs:{form:"form",showRegistrationPdf:"showRegistrationPdf"},outputs:{dialogOpened:"dialogOpened"},standalone:!1,decls:17,vars:20,consts:[[1,"padding-checkbox","checkbox-privacy-form",3,"formGroup"],[1,"clr-row","clr-align-items-center","terms-condition-container","expansion-container"],["type","checkbox","formControlName","allCheck","clrCheckbox","",3,"change","id"],[1,"deep-class","font-size",3,"for"],[3,"currentUrl","modalTitle","message"],[1,"clr-row","clr-align-items-center","expansion-container"],[1,"text-primary-color"],[1,"curs
39or-pointer",3,"click"],["shape","my-icon-click-up-consens",3,"ngStyle"],["class","text-primary-color",4,"ngIf"],["type","checkbox","formControlName","gdpr","clrCheckbox","",3,"change","id"],[1,"deep-class",3,"for","innerHTML"],["type","checkbox","formControlName","siteCondition","clrCheckbox","",3,"change","id"],["type","checkbox","formControlName","marketing","clrCheckbox","",3,"change","id"],[3,"for"],["class","contract-section",4,"ngIf"],[1,"obbligatory-text"],[1,"contract-section"],[1,"contract-text",3,"innerHTML"]],template:function(i,r){i&1&&(F(0,"form",0)(1,"div",1)(2,"clr-checkbox-wrapper")(3,"input",2),oe("change",function(){return r.changeValue("allCheck")}),P(),F(4,"label",3),q(5),Z(6,"translate"),ye(7,"app-terms-condition-dialog",4),q(8),Z(9,"translate"),P()()(),F(10,"div",5)(11,"div",6)(12,"span",7),oe("click",function(){return r.onTextClick()}),q(13),Z(14,"translate"),P(),ye(15,"cds-icon",8),ue(16,Vae,19,19,"div",9),P()()()),i&2&&(L("formGroup",r.form),E(3),L("id",r.inputCheckbox1Id),E(),L("for",r.inputCheckbox1Id),E(),Ae(" ",X(6,12,"REGISTRATION.STEP_1.CONDITION_MAIN_ACCEPTED")," "),E(2),L("currentUrl",r.docPrivacyUrl)("modalTitle","REGISTRATION.STEP_1.MODAL.TERMS_PRIVACY_TITLE")("message","REGISTRATION.STEP_1.CONDITION_MAIN_PRIVACY"),E(),Ae(" ",X(9,14,"REGISTRATION.STEP_1.CONDITION_MAIN")," "),E(5),Ie(X(14,16,"REGISTRATION.STEP_1.CONDITIONS_AND_TERMS")),E(2),L("ngStyle",r.arrowPosition==="down"?la(18,Nae):la(19,Lae)),De("direction",r.arrowPosition),E(),L("ngIf",r.isTextClicked))},dependencies:[Zt,Tn,Eh,xD,Wl,Gu,Vi,da,td,ew,rt,Gr,xM,At],styles:[".justify-content-center[_ngcontent-%COMP%]{display:flex;justify-content:space-around}.width-inherit[_ngcontent-%COMP%]{width:inherit}.text-primary-color[_ngcontent-%COMP%]{color:#903;font-size:16px}.text-primary-color[_ngcontent-%COMP%] clr-checkbox-wrapper[_ngcontent-%COMP%]:first-child{padding-top:20px}.text-primary-color[_ngcontent-%COMP%] cds-icon[_ngcontent-%COMP%]{margin-left:5px}.expansion-container[_ngcontent-%COMP%]{width:110%;border-bottom:unset!important}.mobile[_nghost-%COMP%] .expansion-container[_ngcontent-%COMP%], .mobile [_nghost-%COMP%] .expansion-container[_ngcontent-%COMP%]{width:100%}.contract-section[_ngcontent-%COMP%]{margin-top:20px;z-index:10;position:relative}.contract-section[_ngcontent-%COMP%] .contract-text[_ngcontent-%COMP%]{color:#222b30;font-size:16px;line-height:1.5}.contract-section .mobile[_nghost-%COMP%] .contract-text[_ngcontent-%COMP%], .mobile [_nghost-%COMP%] .contract-text[_ngcontent-%COMP%]{font-size:14px}.obbligatory-text[_ngcontent-%COMP%]{font-size:14px;font-weight:500;font-stretch:normal;font-style:normal;line-height:normal;letter-spacing:normal;text-align:left;color:#222b30;padding-top:30px;margin-left:-4px}.mobile[_nghost-%COMP%] .obbligatory-text[_ngcontent-%COMP%], .mobile [_nghost-%COMP%] .obbligatory-text[_ngcontent-%COMP%]{font-size:12px}.my-5[_ngcontent-%COMP%]{margin-top:5px;margin-bottom:5px}.mt-5[_ngcontent-%COMP%]{margin-top:5px}.font-size[_ngcontent-%COMP%]{font-size:16px}.padding-checkbox[_ngcontent-%COMP%]{padding-bottom:20px;padding-left:20px}.checkbox-container[_ngcontent-%COMP%]{margin-top:-20px}.terms-condition-container[_ngcontent-%COMP%]{border:none;border-top:unset!important;border-bottom:unset!important;padding-bottom:20px;padding-top:unset!important}.mobile[_nghost-%COMP%] .deep-class[_ngcontent-%COMP%], .mobile [_nghost-%COMP%] .deep-class[_ngcontent-%COMP%]{font-size:14px!important;color:#222b30}.deep-class[_ngcontent-%COMP%] .text-primary-color{color:#903}.checkbox-privacy-form[_ngcontent-%COMP%] .clr-control-label{font-size:16px!important;padding-right:unset;margin-bottom:8px;line-height:1.5;padding-top:0}.checkbox-privacy-dt-form[_ngcontent-%COMP%] .dt-form{padding-bottom:20px}.p-0[_ngcontent-%COMP%]{padding:0}.cursor-pointer[_ngcontent-%COMP%]{cursor:pointer}.deep-class[_ngcontent-%COMP%] > .text-primary-color.onClickEvent1:hover, .text-primary-color.onClickEvent2:hover{text-decoration:underline}[_nghost-%COMP%] .clr-checkbox-wrapper input[type=checkbox]:checked:after{border-left-color:#903!important;border-bottom-color:#903!important;display:inline-block!important}"]})}}return e})();Le.addIcons(Ho);IC(Fy);var Hae=(()=>{class e{constructor(){this.isDisabled=!1,this.min="",this.max="",this.showResetButton=!1,this.isReadOnly=!0,this.dateClass="",this.resetDateClass="",this.ariaLabelButtonText="Seleziona data",this.dateChange=new Ue,this.value=null,this.onChange=t=>{},this.onTouched=()=>{}}ngAfterViewInit(){this.removeAttributeAndSetAriaLabel()}ngAfterContentInit(){this.removeAttributeAndSetAriaLabel()}ngAfterContentChecked(){this.removeAttributeAndSetAriaLabel()}writeValue(t){this.value=t}registerOnChange(t){this.onChange=t}registerOnTouched(t){this.onTouched=t}ngOnInit(){this.date&&(this.value=new Date(this.date))}onDateChange(t){this.value=this.dateWithoutTimeZone(t),this.onChange(this.value),this.dateChange.emit(this.dateWithoutTimeZone(t))}resetDate(){this.value=null,this.onChange(""),this.dateChange.emit(void 0)}removeAttributeAndSetAriaLabel(){document.querySelectorAll(".clr-input-group > button").forEach(i=>
39{i!=null&&(i.removeAttribute("title"),i.setAttribute("aria-label",this.ariaLabelButtonText))})}dateWithoutTimeZone(t){let i=new Date(t),r=i.getTimezoneOffset()*6e4;return new Date(i.getTime()-r)}static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275cmp=Me({type:e,selectors:[["app-datepicker-v2"]],inputs:{date:"date",isDisabled:[0,"disabled","isDisabled"],min:"min",max:"max",showResetButton:"showResetButton",isReadOnly:"isReadOnly",dateClass:"dateClass",ariaLabel:"ariaLabel",resetDateClass:"resetDateClass",ariaLabelButtonText:"ariaLabelButtonText"},outputs:{dateChange:"dateChange"},standalone:!1,features:[Et([{provide:di,useValue:"it"},{provide:Ki,multi:!0,useExisting:e}])],decls:4,vars:10,consts:[[1,"container"],[1,"datepicker-container"],["clrDate","","size","10","name","date",3,"clrDateChange","readonly","disabled","clrDate","min","max"],[2,"display","none",3,"click"]],template:function(i,r){i&1&&(F(0,"div",0)(1,"clr-date-container",1)(2,"input",2),bt("clrDateChange",function(l){return It(r.value,l)||(r.value=l),l}),oe("clrDateChange",function(l){return r.onDateChange(l)}),P()(),F(3,"button",3),oe("click",function(){return r.resetDate()}),P()()),i&2&&(E(2),Pu(r.dateClass),L("readonly",r.isReadOnly)("disabled",r.isDisabled),yt("clrDate",r.value),L("min",r.min)("max",r.max),De("aria-label",r.ariaLabel),E(),Pu(r.resetDateClass))},dependencies:[bh,Vg,wy],styles:['.container[_ngcontent-%COMP%]{min-height:45px} .clr-date-container .clr-input-wrapper{max-width:none} .clr-control-container{width:100%}.datepicker-container[_ngcontent-%COMP%]{margin:0;width:100%}.datepicker-container[_ngcontent-%COMP%] .clr-input-group{display:flex;justify-content:space-between;align-items:center;min-height:45px;border-top-left-radius:9px;border-bottom-left-radius:9px;background-color:#fff;border:solid 1px rgba(151,151,151,.29)}.datepicker-container[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{min-width:150px;font-size:18px;padding-left:14px;border:0;background:unset}.datepicker-container[_ngcontent-%COMP%] input[_ngcontent-%COMP%]::placeholder{color:#6e7881;opacity:1}.datepicker-container[_ngcontent-%COMP%] input[_ngcontent-%COMP%]:disabled{color:#866a68;opacity:1}.datepicker-container[_ngcontent-%COMP%] button[_ngcontent-%COMP%]:after{content:""}.datepicker-container[_ngcontent-%COMP%] cds-icon{display:flex;--color: #990033;cursor:pointer;transform:scale(1.5)}.error-message[_ngcontent-%COMP%]{color:#903}.reset-button[_ngcontent-%COMP%]{cursor:pointer} .monthpicker-trigger, .yearpicker-trigger, .switcher, .clr-input-group .clr-input-group-icon-action{color:#903} .clr-input-group .clr-input-group-icon-action{padding-right:16px}.clr-input[_ngcontent-%COMP%]:focus-visible{outline:revert}@media(max-height:400px){ .datepicker{overflow:auto;top:0!important;left:0!important;margin:auto;inset:0;width:90%;height:90%}}']})}}return e})();function Bae(e,n){if(e&1&&ye(0,"cds-icon",3),e&2){let t=z();aa("shape","my-icon",t.label,"")}}function jae(e,n){e&1&&(ye(0,"cds-icon",4),Z(1,"translate")),e&2&&(L("solid",!0),De("alt",X(1,2,"HEADER.USER_PROFILE_WARNING")))}var zae=(()=>{class e{constructor(){this.label=""}ngOnInit(){Le.addIcons(["my-icon"+this.label,this.icon])}static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275cmp=Me({type:e,selectors:[["app-link-button"]],inputs:{icon:"icon",label:"label",title:"title",hasWarning:"hasWarning"},standalone:!1,decls:6,vars:9,consts:[["type","button",1,"btn","btn-icon","btn-link"],["class","cds-icon","size","md",3,"shape",4,"ngIf"],["class","exclamation","shape","exclamation-circle","status","danger","size","md",3,"solid",4,"ngIf"],["size","md",1,"cds-icon",3,"shape"],["shape","exclamation-circle","status","danger","size","md",1,"exclamation",3,"solid"]],template:function(i,r){i&1&&(F(0,"button",0),Z(1,"translate"),ue(2,Bae,1,2,"cds-icon",1),q(3),Z(4,"translate"),ue(5,jae,2,4,"cds-icon",2),P()),i&2&&(De("aria-label",X(1,5,r.label))("title",r.title),E(2),L("ngIf",r.icon),E(),Ae(" ",X(4,7,r.label)," "),E(2),L("ngIf",r.hasWarning))},dependencies:[Zt,rt,At],styles:["button.btn[_ngcontent-%COMP%]{color:#222b30;font-weight:500;font-stretch:normal;font-style:normal;line-height:1.16;text-transform:unset;font-size:15px;letter-spacing:.12px}button.btn[_ngcontent-%COMP%]:hover{color:#617684}.cds-icon[_ngcontent-%COMP%]{fill:gray;margin-right:8px;block-size:24px;inline-size:24px}.exclamation[_ngcontent-%COMP%]{position:relative;top:-7px;--color: #990033}"]})}}return e})();var Gae=e=>({mobile:e});function $ae(e,n){e&1&&(F(0,"div",10)(1,"p"),q(2),Z(3,"translate"),P()()),e&2&&(E(2),Ae(" ",X(3,1,"USER_CONTACT_DETAILS.MODAL_USER_CONTACT_RAPPORT_DETAILS_ERROR")," "))}function Wae(e,n){if(e&1&&(F(0,"th",14),q(1),P()),e&2){let t=n.$implicit;L("ngClass","left"),E(),Ie(t)}}function Yae(e,n){if(e&1&&(F(0,"tr")(1,"td",15)(2,"span"),q(3),P()(),F(4,"td")(5,"span"),q(6),P()(),F(7,"td")(8,"span"),q(9),P()()()),e&2){let t=n.$implicit;E(3),Ie(t.clientCode),E(3),Ie(t.description),E(3),Ie(t.relationshipType)}}function qae(e,n){if(e&1&&(F(0,"div",10)(1,"table",11)(2,"thead")(3,"tr"),ue(4,Wae,2,2,"ng-template",12),P()(),F(5,"tbody"),ue(6,Yae,10,3,"tr",13),P()()()),e&2){let t=z();E(),Be("striped",!0),E(3),L("ngForOf",t.header),E(2),L("ngForOf",t.rows)}}var Qae=(()=>{class e{constructor(t,i){this.store$=t,this.appService=i,this.header=["Codice Cliente","Nominativo","Tipo legame"],this.dialogOpened=!1}ngOnInit(){Le.addIcons(["my-icon-eye",tk]),this.store$.select(Ld.selectHoldingsRapportDetails).subscribe(t=>{this.rows=t})}isMobile(){return this.appService.isMobileBrowser()}
39onClick(){this.dialogOpened=!0,this.store$.dispatch(new Nd.GetSingleRapportRequestAction({rapportCode:this.data.rapportCode}))}discard(){this.dialogOpened=!1}hasData(){return this.rows&&this.rows.length>0}static{this.\u0275fac=function(i){return new(i||e)(A(an),A(yi))}}static{this.\u0275cmp=Me({type:e,selectors:[["app-user-contact-rapport-details-dialog"]],inputs:{data:"data"},standalone:!1,decls:14,vars:12,consts:[["size","37","shape","my-icon-eye","tabindex","0",3,"click","keydown.enter","solid"],[1,"modal-info","dt-dialog",3,"clrModalOpenChange","clrModalOpen","clrModalClosable","clrModalSize"],[1,"modal-title"],[1,"account-title-container"],[1,"title"],[1,"dt-dialog-title"],[1,"modal-body"],["class","dt-form",4,"ngIf"],[1,"modal-footer"],["type","button",1,"btn","btn-primary",3,"click","ngClass"],[1,"dt-form"],[1,"table"],["ngFor","",3,"ngForOf"],[4,"ngFor","ngForOf"],[3,"ngClass"],[1,"label-with-color-container"]],template:function(i,r){i&1&&(F(0,"cds-icon",0),oe("click",function(){return r.onClick()})("keydown.enter",function(){return r.onClick()}),P(),F(1,"clr-modal",1),bt("clrModalOpenChange",function(l){return It(r.dialogOpened,l)||(r.dialogOpened=l),l}),F(2,"div",2)(3,"div",3)(4,"div",4)(5,"h3",5),q(6),Z(7,"translate"),P()()()(),F(8,"div",6),ue(9,$ae,4,3,"div",7)(10,qae,7,4,"div",7),P(),F(11,"div",8)(12,"button",9),oe("click",function(){return r.discard()}),q(13,"Chiudi"),P()()()),i&2&&(L("solid",!0),E(),yt("clrModalOpen",r.dialogOpened),L("clrModalClosable",!0)("clrModalSize","lg"),E(5),Ie(X(7,8,"USER_CONTACT_DETAILS.MODAL_USER_CONTACT_RAPPORT_DETAILS_TITLE")),E(3),L("ngIf",!r.hasData()),E(),L("ngIf",r.hasData()),E(2),L("ngClass",vr(10,Gae,r.isMobile())))},dependencies:[Zt,lr,Bi,Dn,rn,rt,At],styles:["table[_ngcontent-%COMP%]{background:unset}table[_ngcontent-%COMP%] th{border-bottom:1px solid #dde0e2!important}@media(max-width:767px){.modal-info[_ngcontent-%COMP%] .modal-footer[_ngcontent-%COMP%]{padding-top:unset}}.modal-body[_ngcontent-%COMP%]{overflow-x:auto}[_nghost-%COMP%] .modal-backdrop{opacity:var(--clr-modal-backdrop-opacity, .85)!important;background-color:#333!important;z-index:1040!important;position:fixed!important;inset:0!important;display:flex!important;align-items:center!important;justify-content:center!important;pointer-events:none!important}[_nghost-%COMP%] .modal-content{padding:1.2rem}[_nghost-%COMP%] .modal-body{padding:unset!important} .modal-footer .btn{color:#fff;background-color:#903;border:unset}[_nghost-%COMP%] .modal-footer .btn:hover, [_nghost-%COMP%] .modal-footer .btn:active{background-color:#903!important;border-color:#903!important}[_nghost-%COMP%] .modal-footer .btn:focus-visible{outline:2px solid black;outline-offset:2px;box-shadow:none} .modal-header--accessible{display:flex;justify-content:unset;padding:unset!important;margin-top:24px;padding-bottom:24px!important}[_nghost-%COMP%] .modal-footer .btn:disabled, [_nghost-%COMP%] .modal-footer .btn[disabled], [_nghost-%COMP%] .modal-footer .btn.disabled, [_nghost-%COMP%] .modal-footer .btn[aria-disabled=true]{opacity:.4!important} .modal-footer{display:flex;margin-top:10px;flex-direction:row}.mobile[_nghost-%COMP%] .modal-footer, .mobile [_nghost-%COMP%] .modal-footer{display:flex;margin-top:10px;flex-direction:column} .modal-footer .btn{width:100%}"]})}}return e})();var Zae=(()=>{class e{constructor(t,i,r){this.route=t,this.keaycloakService=i,this.config=r,t.params.subscribe(o=>{this.documentId=this.route.snapshot.params.documentId,this.secureId=this.route.snapshot.params.secureId})}ngOnInit(){let t="/document/download/"+this.secureId+"/"+this.documentId;this.downloadPdf(t,"iban")}downloadPdf(t,i){return ct(this,null,function*(){let r=`${i}.pdf`,o=yield this.keaycloakService.getToken(),l=this.config.configApiUrl+t+"?preview=false&access_token="+o;var p=document.createElement("a");p.download=r,p.href=l,p.click()})}static{this.\u0275fac=function(i){return new(i||e)(A(Qr),A(fs),A(Mn))}}static{this.\u0275cmp=Me({type:e,selectors:[["app-download-document"]],standalone:!1,decls:3,vars:3,template:function(i,r){i&1&&(F(0,"h3"),q(1),Z(2,"translate"),P()),i&2&&(E(),Ie(X(2,1,"DOWNLOAD_DOCUMENT_MESSAGE")))},dependencies:[At],encapsulation:2})}}return e})();var Kae=e=>({mobile:e}),Xae=(()=>{class e{constructor(t){this.store$=t,this.mobile=!1,this.opened=!1,this.dialogOpened=!1,this.isUserFull=!1,this.LOCAL_STORAGE_KEY_POSITION_OVERVIEW="PORTALE_UNICO_POSITION_OVERVIEW_WELCOME_MODAL_SHOWN",this.LOCAL_STORAGE_KEY_COMMON_FUNDS="PORTALE_UNICO_COMMON_FUNDS_WELCOME_MODAL_SHOWN",this.LOCAL_STORAGE_KEY_PENSION_FUNDS="PORTALE_UNICO_PENSION_FUNDS_WELCOME_MODAL_SHOWN",this.LOCAL_STORAGE_KEY_CATALOGUE="PORTALE_UNICO_CATALOGUE_WELCOME_MODAL_SHOWN",this.LOCAL_STORAGE_KEY_DOCUMENTS="PORTALE_UNICO_DOCUMENTS_WELCOME_MODAL_SHOWN"}ngOnInit(){this.store$.select(Gi.selectIsUserFull).subscribe(t=>{this.isUserFull=t,this.isUserFull&&this.showModal()}),this.dialogOpened=this.opened||!1}ngOnChanges(t){t.opened&&!t.opened.firstChange&&(this.dialogOpened=t.opened.currentValue)}discard(){this.dialogOpened=!1,this.hideModal()}showModal(){setTimeout(()=>{let t=this.getLocalStorageKey();this.hasValue(t,"true")||(this.dialogOpened=!0)},0)}hideModal(){let t=this.getLocalStorageKey();this.saveValue(t,"true")}saveValue(t,i){window&&window.localStorage&&window.localStorage.setItem(t,i)}hasValue(t,i){return window&&window.localStorage?i===window.localStorage.getItem(t):!1}getLocalStorageKey(){switch(this.page){case"POSITION_OVERVIEW":return this.LOCAL_STORAGE_KEY_POSITION_OVERVIEW;case"COMMON_FUNDS":return this.LOCAL_STORAGE_KEY_COMMON_FUNDS;case"PENSION_FUNDS":return this.LOCAL_STORAGE_KEY_PENSION_FUNDS;case"CATALOGUE":return this.LOCAL_STORAGE_KEY_CATALOGUE;case"DOCUMENTS":return this.LOCAL_STORAGE_KEY_DOCUMENTS}}isDialogOpened(){return this.dialogOpened}static{this.\u0275fac=function(i){return new(i||e)(A(an))}}static{this.\u0275cmp=Me({type:e,selectors:[["app-welcome-infomation-dialog"]],inputs:{page:"page",mobile:"mobile",opened:"opened"},standalone:!1,features:[Xt],decls:23,vars:20,consts:[[3,"clrModalOpenChange","clrModalOpen","clrModalClosable","clrModalSize"],[1,"modal-title"],[1,"account-title-container"],[1,"title"],[1,"dt-dialog-title"],[1,"modal-body"],[1,"dt-form","advancedDataGrid"],[1,"table"],[1,"PageText"],[1,"PageDescr"],[1,"modal-footer"],["type","button",1,"btn","btn-primary",3,"click","ngClass"]],template:function(i,r){i&1&&(F(0,"clr-modal",0),bt("clrModalOpenChange",function(l){return It(r.dialogOpened,l)||(r.dialogOpened=l),l}),F(1,"div",1)(2,"div",2)(3,"div",3)(4,"h3",4),q(5),Z(6,"translate"),P()()()(),F(7,"div",5)(8,"div",6)(9,"table",7)(10,"tbody")(11,"tr")(12,"td")(13,"span",8),q(14),Z(15,"translate"),P()(),F(16,"td")(17,"span",9),q(18),Z(19,"translate"),P()()()()()()(),F(20,"div",10)(21,"button",11),oe("click",function(){return r.discard()}),q(22,"Chiudi"),P()()()),i&2&&(ku("modal-info dt-dialog desk ",r.mobile?"mobile":"desktop",""),yt("clrModalOpen",r.dialogOpened),L("clrModalClosable",!1)("clrModalSize","lg"),E(5),Ie(X(6,12,"WELCOME_DIALOG.TITLE")),E(4),Be("striped",!0),E(5),Ae(" ",X(15,14,"WELCOME_DIALOG."+r.page+".TEXT_1")," "),E(4),Ae(" ",X(19,16,"WELCOME_DIALOG."+r.page+".TEXT_2")," "),E(3),L("ngClass",vr(18,Kae,r.mobile)))},dependencies:[lr,Bi,Dn,At],styles:[".desktop[_ngcontent-%COMP%] .PageText[_ngcontent-%COMP%]{font-size:18px!important;font-weight:500!important;font-stretch:normal;font-style:normal;line-height:normal;letter-spacing:normal;text-align:left;color:#222b30;text-transform:uppercase}.desktop[_ngcontent-%COMP%] .PageDescr[_ngcontent-%COMP%]{font-size:14px!important;font-weight:500!important;font-stretch:normal;font-style:normal;line-height:normal;letter-spacing:normal;text-align:left;color:#222b30}.mobile[_ngcontent-%COMP%] .PageText[_ngcontent-%COMP%]{font-size:14px}.mobile[_ngcontent-%COMP%] .PageDescr[_ngcontent-%COMP%]{font-size:12px}h3[_ngcontent-%COMP%]{font-size:25px!important;font-weight:500!important;font-stretch:normal;font-style:normal;line-height:normal;letter-spacing:normal;text-align:center!important;color:#222b30;text-transform:uppercase}p[_ngcontent-%COMP%]{font-size:18px!important;font-weight:500!important;font-stretch:normal;font-style:normal;line-height:normal;letter-spacing:normal;text-align:left;color:#222b30}.table[_ngcontent-%COMP%]{background-image:none;background-color:#f8f9f8;color:#222b30;margin-top:12px}.table[_ngcontent-%COMP%] tr.red[_ngcontent-%COMP%] td[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{color:#903;font-weight:700}.table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{vertical-align:middle;font-size:16px;padding-top:20px;padding-bottom:20px;padding-left:16px}.table[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:first-child{width:40%}.table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:first-child, .table[_ngcontent-%COMP%] th[_ngcontent-%COMP%]:first-child{border-radius:13px 0 0 13px/13px 0px 0px 13px!important}.table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:last-child, .table[_ngcontent-%COMP%] th[_ngcontent-%COMP%]:last-child{border-top-right-radius:0!important;border-bottom-right-radius:0!important}.modal-footer[_ngcontent-%COMP%]{display:flex;justify-content:center}.modal-footer[_ngcontent-%COMP%] .btn.mobile[_ngcontent-%COMP%]{border-radius:8px 0;--border-radius: 8px 0 8px 0;background-color:#903;border-color:#903;font-weight:100;font-size:20px!important}
39[_nghost-%COMP%] .modal-backdrop{opacity:var(--clr-modal-backdrop-opacity, .85)!important;background-color:#333!important;z-index:1040!important;position:fixed!important;inset:0!important;display:flex!important;align-items:center!important;justify-content:center!important;pointer-events:none!important}[_nghost-%COMP%] .modal-content{padding:1.2rem}[_nghost-%COMP%] .modal-body{padding:unset!important} .modal-footer .btn{color:#fff} .modal-footer .btn .btn-primary .dt-btn-ok{color:#fff!important}[_nghost-%COMP%] .modal-footer .btn:disabled, [_nghost-%COMP%] .modal-footer .btn[disabled], [_nghost-%COMP%] .modal-footer .btn.disabled, [_nghost-%COMP%] .modal-footer .btn[aria-disabled=true]{opacity:.4!important}[_nghost-%COMP%] .modal-body cds-icon{block-size:24px;inline-size:24px}"]})}}return e})();var K4e=Bo("showHide",[dl("false",Jt({opacity:0,display:"none"})),dl("true",Jt({opacity:1,display:"block"})),pi("false => true",ai("500ms ease-in")),pi("true => false",ai("500ms ease-out"))]),X4e=Bo("toggleVisibility",[dl("false",Jt({visibility:"hidden"})),dl("true",Jt({visibility:"visible"})),pi("* <=> *",ai("100ms ease"))]),yL=Bo("dropDownMenu",[pi(":enter",[Jt({height:0,overflow:"hidden"}),Ju(".menu-item",[Jt({opacity:0,transform:"translateY(-50px)"})]),T_([ai("200ms",Jt({height:"*"})),Ju(".menu-item",[M_(-50,[ai("400ms ease",Jt({opacity:1,transform:"none"}))])])])]),pi(":leave",[Jt({height:"*",overflow:"hidden"}),Ju(".menu-item",[Jt({opacity:1,transform:"none"})]),T_([Ju(".menu-item",[M_(50,[ai("100ms ease",Jt({opacity:0,transform:"translateY(-50px)"}))])]),ai("100ms",Jt({height:0}))])])]);function Jae(e,n){if(e&1){let t=ze();ri(0),F(1,"cds-icon",7),oe("click",function(){ee(t);let r=z();return te(r.onMenuClick())}),P(),oi()}}function ele(e,n){if(e&1){let t=ze();F(0,"div",8),oe("click",function(){ee(t);let r=z();return te(r.onMenuClick())}),ye(1,"cds-icon",9),P()}}function tle(e,n){if(e&1&&ye(0,"cds-icon",18),e&2){let t=z(2).$implicit;Li("shape",t.iconName)}}function nle(e,n){e&1&&(F(0,"div",19),ye(1,"cds-icon",20),P()),e&2&&(E(),De("direction","right"))}function ile(e,n){if(e&1){let t=ze();ri(0),F(1,"div",14),oe("click",function(){ee(t);let r=z().$implicit,o=z(4);return te(o.selectSubMenu(r))}),F(2,"div",15),ue(3,tle,1,1,"cds-icon",16),F(4,"h5"),q(5),Z(6,"translate"),P()(),ue(7,nle,2,1,"div",17),P(),oi()}if(e&2){let t=z().$implicit,i=z(4);E(),L("ngStyle",i.getBorderStyle(t)),E(2),L("ngIf",t.iconName),E(2),Ie(X(6,4,t.name)),E(2),L("ngIf",!!t.submenu&&i.isArray(t.submenu))}}function rle(e,n){if(e&1&&(ri(0),ue(1,ile,8,6,"ng-container",12),oi()),e&2){let t=n.$implicit;E(),L("ngIf",!t.disabled)}}function ole(e,n){if(e&1&&(F(0,"div"),ue(1,rle,2,1,"ng-container",13),P()),e&2){let t=z(3);E(),L("ngForOf",t.menus)}}function sle(e,n){if(e&1){let t=ze();F(0,"div",23),oe("click",function(){ee(t);let r=z().$implicit,o=z(4);return te(o.navigateTo(r.path))}),F(1,"h5"),q(2),Z(3,"translate"),P()()}if(e&2){let t=z().$implicit;E(2),Ie(X(3,1,t.name))}}function ale(e,n){if(e&1&&(ri(0),ue(1,sle,4,3,"div",22),oi()),e&2){let t=n.$implicit;E(),L("ngIf",!t.disabled)}}function lle(e,n){if(e&1){let t=ze();ri(0),F(1,"div",21),oe("click",function(){ee(t);let r=z(3);return te(r.goBack())}),ye(2,"cds-icon",20),F(3,"h5"),q(4),Z(5,"translate"),P()(),ue(6,ale,2,1,"ng-container",13),oi()}if(e&2){let t=z(3);E(2),De("direction","left"),E(2),Ie(X(5,3,"SHARED.BACK")),E(2),L("ngForOf",t.subMenus)}}function cle(e,n){if(e&1&&(F(0,"div",11),ue(1,ole,2,1,"div",12)(2,lle,7,5,"ng-container",12),P()),e&2){let t=z(2);L("@dropDownMenu",void 0),E(),L("ngIf",!t.showSubMenu),E(),L("ngIf",t.showSubMenu)}}function dle(e,n){if(e&1&&ue(0,cle,3,3,"div",10),e&2){let t=z();L("ngIf",t.showMenu)}}Le.addIcons(Xw,og,ma,qr);var ule=(()=>{class e{constructor(t,i,r,o,l,p){this.config=t,this.router=i,this.store$=r,this.keycloakService=o,this.pensionFundsService=l,this.appService=p,this.logoUrl="",this.showMenu=!1,this.subMenus=[],this.showSubMenu=!1,this.isUserLight=!1,this.isUserServiceNone=!1,this.previnetCode=void 0,this.isDisablePensionFund=!1,this.enableCommunicateWithUs=!0,this.subscription=new Xo,this.menus=[],this.menuItems=null,!this.menuItems&&this.callStoreSelect()}ngOnInit(){if(this.importIcons(),this.logoUrl=this.config.animaURL,this.menuItems){this.menus=this.menuItems.map(t=>({name:t.label,path:t.link.join("/")})),this.menus.push({name:"HEADER.BTN_USER_PROFILE",path:"/profile",disabled:!1},{name:"COMMUNICATE_WITH_US.TITLE",path:"/communicate-with-us",disabled:!this.enableCommunicateWithUs},{name:"HEADER.BTN_LOGOUT",disabled:!1,click:()=>{let t=window.location.origin;this.keycloakService.logout(t)}});return}this.subscription.add(this.store$.select(Gi.selectUser).subscribe(t=>{this.user=t})),this.subscription.add(this.store$.select(Gi.selectUser).pipe(Oo(t=>!t)).subscribe(t=>
39this.store$.dispatch(new Pd.ProfileInfoRequestAction))),this.subscription.add(this.store$.dispatch(new Nd.HoldingsOverviewRequestAction({referenceDate:new Date})))}importIcons(){Le.addIcons(["my-icon-home",ik]),Le.addIcons(["my-icon-position",rk]),Le.addIcons(["my-icon-common-funds",ok]),Le.addIcons(["my-icon-pension-funds",sk]),Le.addIcons(["my-icon-catalogue",ak]),Le.addIcons(["my-icon-documents",lk]),Le.addIcons(["my-icon-profile",ck]),Le.addIcons(["my-icon-communicate-with-us",dk]),Le.addIcons(["my-icon-logout",uk]),Le.addIcons(vx)}getBorderStyle(t){return{"border-top":t.name==="PAGE_PROFILE"?"1px solid #707070":"unset"}}callStoreSelect(){this.store$.select(Gi.selectUser).subscribe(t=>{this.user=t,this.isUserLight=this.user.service==xy,this.isUserServiceNone=this.user.service==Hg,this.previnetCode=this.user?.userLight?.previnetCode,this.store$.dispatch(new Fd.PensionFundsInfoRequestAction({taxCode:t?.taxCode})),this.checkIsDisablePensionFund(t),this.enableCommunicateWithUs=!this.isUserServiceNone})}initializeMenus(){this.menus=[{name:"HOME_PAGE",path:"/home",disabled:!1,iconName:"my-icon-home"},{name:"PAGE_POSITION",iconName:"my-icon-position",submenu:[{name:"GLOBAL_POSITION.TABS.OVERVIEW_MOBILE",path:"/position",icon:""},{name:"GLOBAL_POSITION.TABS.TRANSACTIONS",path:"/position/transactions-page"},{name:"GLOBAL_POSITION.TABS.PTF_ANALYSIS",path:"/position/ptf-analysis-page"},{name:"GLOBAL_POSITION.TABS.FISCAL_INFO",path:"/position/fiscal-info-page"}],disabled:this.isUserServiceNone},{name:"PAGE_COMMON_FUNDS",iconName:"my-icon-common-funds",submenu:[{name:"COMMON_FUNDS.MOBILE_TABS.SUBSCRIPTION",path:"/common-funds"},{name:"COMMON_FUNDS.MOBILE_TABS.SWITCH",path:"/common-funds/switch-page"},{name:"COMMON_FUNDS.MOBILE_TABS.REDEMPTION",path:"/common-funds/redemption-page"},{name:"COMMON_FUNDS.MOBILE_TABS.ACTIVE_SERVICES",path:"/common-funds/active-services-page"}],disabled:this.isUserLight||this.isUserServiceNone},{name:"PAGE_PENSION_FUNDS",path:"/pension-funds",disabled:this.isDisablePensionFund,iconName:"my-icon-pension-funds"},{name:"PAGE_DOCUMENTS",path:"/documents",iconName:"my-icon-documents",disabled:this.isUserServiceNone},{name:"PAGE_CATALOGUE",path:"/catalogue",iconName:"my-icon-catalogue",disabled:this.isUserServiceNone},{name:"PAGE_SITE_MAP",path:"/sitemap",iconName:"bullet-list"},{name:"PAGE_PROFILE",iconName:"my-icon-profile",submenu:[{name:"PROFILE.TABS.INFO",path:"/profile?tab=1"},{name:"PROFILE.TABS.DATA",path:"/profile?tab=2"},{name:"PROFILE.TABS.ACCOUNT",path:"/profile?tab=3",disabled:this.isUserLight||this.isUserServiceNone},{name:"PROFILE.TABS.SURVEY",path:"/profile?tab=4",disabled:this.isUserLight||this.isUserServiceNone}],disabled:!1},{name:"COMMUNICATE_WITH_US.TITLE",iconName:"my-icon-communicate-with-us",path:"/communicate-with-us",disabled:!this.enableCommunicateWithUs},{name:"HEADER.BTN_LOGOUT",iconName:"my-icon-logout",disabled:!1,click:()=>{let t=window.location.origin;this.keycloakService.logout(t)}}]}onMenuClick(){this.showMenu=!this.showMenu}selectSubMenu(t){let i=[];t.submenu&&this.isArray(t.submenu)?(i=t.submenu.map(r=>r),this.showSubMenu=!0,this.subMenus=i):t.click?t.click():this.navigateTo(t.path)}isArray(t){return Array.isArray(t)}goBack(){this.showSubMenu=!1}navigateTo(t){this.router.navigateByUrl(t).then(()=>{this.showSubMenu=!1,this.showMenu=!1})}isMobile(){return this.appService.isMobileBrowser()}ngOnDestroy(){this.subscription?.unsubscribe()}checkIsDisablePensionFund(t){this.store$.select(Vd.selectPensioFundsInfo).subscribe({next:i=>{this.isDisablePensionFund=!i.hasMembership&&this.isMobile()||this.isUserServiceNone,this.initializeMenus()},error:()=>{this.isDisablePensionFund=this.isUserServiceNone,this.initializeMenus()}})}static{this.\u0275fac=function(i){return new(i||e)(A(Mn),A(Qn),A(an),A(fs),A(Qy),A(yi))}}static{this.\u0275cmp=Me({type:e,selectors:[["app-mobile-header"]],inputs:{menuItems:"menuItems"},standalone:!1,decls:9,vars:4,consts:[["close",""],[1,"header-container"],[1,"header"],[4,"ngIf","ngIfElse"],["target","_blank",3,"href"],["src","../../../../assets/logo.png","alt","Logo Anima",1,"logo"],[3,"ngIf"],["shape","bars",3,"click"],[3,"click"],["shape","times",1,"soft-red"],["class","menu-items",4,"ngIf"],[1,"menu-items"],[4,"ngIf"],[4,"ngFor","ngForOf"],[1,"menu-item","clr-row",3,"click","ngStyle"],[1,"clr-col-11"],["class","icon-menu",3,"shape",4,"ngIf"],["class","clr-col-1",4,"ngIf"],[1,"icon-menu",3,"shape"],[1,"clr-col-1"],["shape","angle"],[1,"menu-item","menu-back","bg-light-grey","clr-row","clr-col-12",3,"click"],["class","menu-item submenu-item clr-row clr-col-12",3,"click",4,"ngIf"],[1,"menu-item","submenu-item","clr-row","clr-col-12",3,"click"]],template:function(i,r){if(i&1&&(F(0,"div",1)(1,"header",2)(2,"div"),ue(3,Jae,2,0,"ng-container",3)(4,ele,2,0,"ng-template",null,0,Nu),P(),F(6,"a",4),ye(7,"img",5),P()(),ue(8,dle,1,1,"ng-template",6),P()),i&2){let o=fn(5);E(3),L("ngIf",!r.showMenu)("ngIfElse",o),E(3),L("href",r.logoUrl,Vl),E(2),L("ngIf",r.showMenu)}},dependencies:[Zt,rn,rt,Gr,At],styles:[".header-container[_ngcontent-%COMP%] header[_ngcontent-%COMP%]{background-color:#fff;height:15%;margin-top:15px;margin-bottom:15px;
39display:flex;justify-content:space-between;padding:20px 20px 0}.header-container[_ngcontent-%COMP%] header[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{margin-left:1rem;margin-top:auto;margin-bottom:auto}.header-container[_ngcontent-%COMP%] header[_ngcontent-%COMP%] a[_ngcontent-%COMP%] .logo[_ngcontent-%COMP%]{width:164px}.header-container[_ngcontent-%COMP%] header[_ngcontent-%COMP%] cds-icon[_ngcontent-%COMP%]{width:35px;height:35px;margin-right:2rem;margin-top:auto;margin-bottom:auto;color:#222b30}.header-container[_ngcontent-%COMP%] h5[_ngcontent-%COMP%]{display:inline;font-weight:700;margin-right:.5rem}.header-container[_ngcontent-%COMP%] .menu-items[_ngcontent-%COMP%]{width:100%;background-color:#fff;max-height:75vh;overflow-y:auto;opacity:1;overflow-x:hidden;border-top:1px solid #707070}.header-container[_ngcontent-%COMP%] .menu-items[_ngcontent-%COMP%] .menu-back[_ngcontent-%COMP%]{background-color:#fff;border-bottom:1px solid #707070}.header-container[_ngcontent-%COMP%] .menu-items[_ngcontent-%COMP%] .menu-item[_ngcontent-%COMP%]{padding-left:.5rem;padding:20px}.header-container[_ngcontent-%COMP%] .menu-items[_ngcontent-%COMP%] .menu-item[_ngcontent-%COMP%] cds-icon[_ngcontent-%COMP%]{margin-top:auto;margin-bottom:auto;color:#222b30}.header-container[_ngcontent-%COMP%] .menu-items[_ngcontent-%COMP%] .menu-item[_ngcontent-%COMP%]:last-child{border-bottom:1px solid #707070}.header-container[_ngcontent-%COMP%] .menu-items[_ngcontent-%COMP%] .submenu-item[_ngcontent-%COMP%]{padding-left:35px!important}.header-container[_ngcontent-%COMP%] .clr-row[_ngcontent-%COMP%]{border-radius:2px;padding-top:14px;padding-bottom:14px;background-color:#f7f7f7;text-transform:uppercase;font-size:18px;font-weight:500;margin-right:unset;margin-left:unset}.header-container[_ngcontent-%COMP%] .clr-row[_ngcontent-%COMP%] cds-icon[_ngcontent-%COMP%]{color:#903!important}.header-container[_ngcontent-%COMP%] .clr-row[_ngcontent-%COMP%] .icon-menu[_ngcontent-%COMP%]{margin-right:10px;width:24px;height:24px}.header-container[_ngcontent-%COMP%] .clr-row[_ngcontent-%COMP%] h5[_ngcontent-%COMP%]{margin-top:auto;font-weight:unset}@media(max-width:767px)and (orientation:portrait){.header-container[_ngcontent-%COMP%] .menu-items[_ngcontent-%COMP%]{max-height:84vh}}@media(max-width:575px){.header-container[_ngcontent-%COMP%] .menu-items[_ngcontent-%COMP%]{max-height:80vh}}"],data:{animation:[yL]}})}}return e})();var hle=()=>({backgroundColor:"#F6F7F8","border-radius":"unset"}),ple=e=>({color:e}),fle=(()=>{class e{constructor(t,i){this.router=t,this.store=i,this.buttonLabel="",this.url="",this.buttonBackgroundColor="#990033",this.buttonTextColor="white",this.openModal=new Ue,this.subscriptionCheck=!1,this.destroyed$=new Qe}ngOnDestroy(){this.destroyed$.next(!0),this.destroyed$.complete()}ngOnInit(){this.store.select(Gi.selectUserSubscriptionWarning).pipe(vi(this.destroyed$)).subscribe(t=>{this.subscriptionCheck=!t})}onButtonClick(){if(this.url.startsWith("http")){window.location.href=this.url;return}this.router.navigateByUrl(this.url)}static{this.\u0275fac=function(i){return new(i||e)(A(Qn),A(an))}}static{this.\u0275cmp=Me({type:e,selectors:[["app-homepage-shortcut"]],inputs:{description:"description",buttonLabel:"buttonLabel",imgSrc:"imgSrc",url:"url",backgroundColor:"backgroundColor",descriptionTextColor:"descriptionTextColor",buttonBackgroundColor:"buttonBackgroundColor",buttonTextColor:"buttonTextColor"},outputs:{openModal:"openModal"},standalone:!1,decls:15,vars:12,consts:[[1,"card",3,"ngStyle"],[1,"card-block"],[1,"shortcut-wrapper"],[1,"content-wrapper"],[1,"clr-row","clr-justify-content-start"],[1,"clr-col","title-wrapper"],[3,"ngStyle"],[1,"icon-button"],[1,"image-wrapper"],["alt","",3,"src"],[1,"red-button"],[1,"btn","btn-primary","custom-btn",3,"click"]],template:function(i,r){if(i&1&&(F(0,"div",0)(1,"div",1)(2,"div",2)(3,"div",3)(4,"div",4)(5,"div",5)(6,"h5",6),q(7),P()()()()(),F(8,"div",2)(9,"div",7)(10,"div",8),ye(11,"img",9),P(),F(12,"div",10)(13,"button",11),oe("click",function(){return r.onButtonClick()}),q(14),P()()()()()()),i&2){let o,l;L("ngStyle",la(9,hle)),E(6),L("ngStyle",vr(10,ple,r.descriptionTextColor)),E(),Ie(r.description),E(4),L("src",r.imgSrc,Vl),E(2),is("--btn-bg",(o=r.buttonBackgroun
39dColor)!==null&&o!==void 0?o:"#990033")("--btn-fg",(l=r.buttonTextColor)!==null&&l!==void 0?l:"#FFFFFF"),E(),Ie(r.buttonLabel)}},dependencies:[Gr],styles:["[_nghost-%COMP%]{height:200px;min-width:190px;--btn-bg-hover: #7d0029;--btn-fg-hover: #ffffff;--btn-bg-active: #64001c;--btn-fg-active: #ffffff}.card[_ngcontent-%COMP%]{border:none;box-shadow:none;min-height:237px}.card[_ngcontent-%COMP%] .card-block[_ngcontent-%COMP%]{padding:unset;height:100%;display:flex;justify-content:space-between;flex-direction:column}.card[_ngcontent-%COMP%] .shortcut-wrapper[_ngcontent-%COMP%] .icon-button[_ngcontent-%COMP%]{display:flex;justify-content:space-between}@media(max-width:350px){.card[_ngcontent-%COMP%] .shortcut-wrapper[_ngcontent-%COMP%] .icon-button[_ngcontent-%COMP%]{flex-direction:column}}.card[_ngcontent-%COMP%] .shortcut-wrapper[_ngcontent-%COMP%] .icon-button[_ngcontent-%COMP%] .image-wrapper[_ngcontent-%COMP%]{display:flex;min-width:170px;padding-left:15px}.card[_ngcontent-%COMP%] .shortcut-wrapper[_ngcontent-%COMP%] .icon-button[_ngcontent-%COMP%] .image-wrapper[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{max-height:100px;max-width:100%;align-self:center}.card[_ngcontent-%COMP%] .shortcut-wrapper[_ngcontent-%COMP%] .icon-button[_ngcontent-%COMP%] .red-button[_ngcontent-%COMP%]{display:flex;align-items:center}.card[_ngcontent-%COMP%] .shortcut-wrapper[_ngcontent-%COMP%] .icon-button[_ngcontent-%COMP%] .red-button[_ngcontent-%COMP%] .btn.btn-primary.custom-btn[_ngcontent-%COMP%]{background-color:var(--btn-bg, #990033)!important;border-color:var(--btn-bg, #990033)!important;color:var(--btn-fg, #ffffff)!important;transition:background-color .2s ease,border-color .2s ease,color .2s ease,box-shadow .2s ease}.card[_ngcontent-%COMP%] .shortcut-wrapper[_ngcontent-%COMP%] .icon-button[_ngcontent-%COMP%] .red-button[_ngcontent-%COMP%] .btn.btn-primary.custom-btn[_ngcontent-%COMP%]:hover, .card[_ngcontent-%COMP%] .shortcut-wrapper[_ngcontent-%COMP%] .icon-button[_ngcontent-%COMP%] .red-button[_ngcontent-%COMP%] .btn.btn-primary.custom-btn[_ngcontent-%COMP%]:focus, .card[_ngcontent-%COMP%] .shortcut-wrapper[_ngcontent-%COMP%] .icon-button[_ngcontent-%COMP%] .red-button[_ngcontent-%COMP%] .btn.btn-primary.custom-btn[_ngcontent-%COMP%]:focus-visible{background-color:var(--btn-bg-hover, #7d0029)!important;border-color:var(--btn-bg-hover, #7d0029)!important;color:var(--btn-fg-hover, #ffffff)!important;box-shadow:none!important;outline:none!important}.card[_ngcontent-%COMP%] .shortcut-wrapper[_ngcontent-%COMP%] .icon-button[_ngcontent-%COMP%] .red-button[_ngcontent-%COMP%] .btn.btn-primary.custom-btn[_ngcontent-%COMP%]:active{background-color:var(--btn-bg-active, #64001c)!important;border-color:var(--btn-bg-active, #64001c)!important;color:var(--btn-fg-active, #ffffff)!important;box-shadow:none!important;outline:none!important}.card[_ngcontent-%COMP%] .shortcut-wrapper[_ngcontent-%COMP%] .icon-button[_ngcontent-%COMP%] .red-button[_ngcontent-%COMP%] .btn.btn-primary.custom-btn[_ngcontent-%COMP%]:disabled, .card[_ngcontent-%COMP%] .shortcut-wrapper[_ngcontent-%COMP%] .icon-button[_ngcontent-%COMP%] .red-button[_ngcontent-%COMP%] .btn.btn-primary.custom-btn[disabled][_ngcontent-%COMP%]{opacity:.6;cursor:not-allowed;box-shadow:none!important}.card[_ngcontent-%COMP%] .shortcut-wrapper[_ngcontent-%COMP%] .icon-button[_ngcontent-%COMP%] .red-button[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{font-size:18px;display:block;margin:auto;border-radius:8px 0 0 8px;border-width:1px;letter-spacing:normal;-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none;text-transform:uppercase}@media(min-width:401px)and (max-width:480px){.card[_ngcontent-%COMP%] .shortcut-wrapper[_ngcontent-%COMP%] .icon-button[_ngcontent-%COMP%] .red-button[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{max-width:200px}}@media(min-width:351px)and (max-width:400px){.card[_ngcontent-%COMP%] .shortcut-wrapper[_ngcontent-%COMP%] .icon-button[_ngcontent-%COMP%] .red-button[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{max-width:150px}}.card[_ngcontent-%COMP%] .shortcut-wrapper[_ngcontent-%COMP%] .content-wrapper[_ngcontent-%COMP%]{min-width:160px}.card[_ngcontent-%COMP%] .shortcut-wrapper[_ngcontent-%COMP%] .content-wrapper[_ngcontent-%COMP%] .clr-row[_ngcontent-%COMP%]{height:50%}.card[_ngcontent-%COMP%] .shortcut-wrapper[_ngcontent-%COMP%] .content-wrapper[_ngcontent-%COMP%] .clr-row[_ngcontent-%COMP%] .clr-col-6[_ngcontent-%COMP%]:last-child{background-color:red}.card[_ngcontent-%COMP%] .shortcut-wrapper[_ngcontent-%COMP%] .content-wrapper[_ngcontent-%COMP%] .clr-row[_ngcontent-%COMP%] .title-wrapper[_ngcontent-%COMP%]{margin-top:-6px;display:flex;height:100%}.card[_ngcontent-%COMP%] .shortcut-wrapper[_ngcontent-%COMP%] .content-wrapper[_ngcontent-%COMP%] .clr-row[_ngcontent-%COMP%] .title-wrapper[_ngcontent-%COMP%] h5[_ngcontent-%COMP%]{font-size:24px;font-weight:700;font-stretch:normal;font-style:normal;line-height:normal;letter-spacing:normal;text-align:left;color:#222b30;padding:14px;align-self:center;margin:8.5px 0 0 10.5px}"]})}}return e})();
39var gle=(e,n)=>["radio","btn","btn-link",e,n];function mle(e,n){if(e&1&&ye(0,"div",7),e&2){let t=z().$implicit;is("background-color",t.color)}}function vle(e,n){if(e&1){let t=ze();F(0,"div",2)(1,"input",3),oe("click",function(r){let o=ee(t).$implicit,l=z();return te(l.onBtnClick(r,o.value))}),P(),F(2,"label",4),ue(3,mle,1,2,"div",5),ye(4,"div",6),P()()}if(e&2){let t=n.$implicit,i=n.index,r=z();is("width",r.minWidth),L("ngClass",lE(11,gle,r.btnSize,r.isMobile)),E(),L("checked",t.value===r.value)("name",r.name)("id",r.getOptionId(i))("value",t.value)("disabled",t.isDisabled),E(),L("for",r.getOptionId(i)),E(),L("ngIf",t.color),E(),L("innerText",r.getText(t.label))}}var Cle=(()=>{class e{set enableFullWidthEqualSize(t){t&&(this.minWidth=(document.body.offsetWidth/this.options.length-10).toString()+"px")}constructor(t,i){this.translate=t,this.appService=i,this.name="",this.options=[],this.btnClick=new Ue,this.size="small",this.wrapText=!1,this.minWidth="inherit"}ngOnInit(){}getOptionId(t){return`btn-radio-${t}`}onBtnClick(t,i){this.btnClick.emit({event:t,value:i})}get btnSize(){switch(this.size){case"small":return"btn-small";case"normal":return"btn-normal"}}getText(t){return this.wrapText?this.translate.instant(t).split(" ").join(` 40`):this.translate.instant(t)}get isMobile(){return this.appService.isMobileBrowser()?"mobile":""}static{this.\u0275fac=function(i){return new(i||e)(A(Hs),A(yi))}}static{this.\u0275cmp=Me({type:e,selectors:[["app-radio-button-bar-2"]],inputs:{name:"name",options:"options",value:"value",size:"size",wrapText:"wrapText",enableFullWidthEqualSize:"enableFullWidthEqualSize"},outputs:{btnClick:"btnClick"},standalone:!1,decls:2,vars:1,consts:[[1,"btn-group"],[3,"ngClass","width",4,"ngFor","ngForOf"],[3,"ngClass"],["type","radio",3,"click","checked","name","id","value","disabled"],[3,"for"],["class","legend-circle",3,"backgroundColor",4,"ngIf"],[3,"innerText"],[1,"legend-circle"]],template:function(i,r){i&1&&(F(0,"div",0),ue(1,vle,5,14,"div",1),P()),i&2&&(E(),L("ngForOf",r.options))},dependencies:[Tn,Dn,rn,rt],styles:["[_nghost-%COMP%]{height:56px;display:block}.btn-group[_ngcontent-%COMP%]{display:unset}.btn-group[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%]{height:50px;margin:0 12.5px;min-width:150px;font-weight:700;font-size:16px;letter-spacing:normal}.btn-group[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%] input[type=radio][_ngcontent-%COMP%]:focus{opacity:0}
40.btn-group[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%] input[type=radio][_ngcontent-%COMP%]{opacity:0;position:absolute}.btn-group[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%] input[type=radio][_ngcontent-%COMP%] + label[_ngcontent-%COMP%]{background-color:#fff;font-size:20px;font-weight:700;font-stretch:normal;font-style:normal;line-height:normal;letter-spacing:normal;text-align:center;color:#222b30;text-transform:uppercase;border-radius:8px 0 0 8px;border:1px solid #990033;height:45px;display:flex;flex-direction:row;align-items:center}.btn-group[_ngcontent-%COMP%] .btn.mobile[_ngcontent-%COMP%]{border-radius:8px 0 0 8px!important;--border-radius: 8px 0px 0px 8px !important}.btn-group[_ngcontent-%COMP%] .btn.mobile[_ngcontent-%COMP%] input[type=radio][_ngcontent-%COMP%] + label[_ngcontent-%COMP%]{border-radius:8px 0 0 8px!important;border:1px solid #990033}.btn-group[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%] input[type=radio][_ngcontent-%COMP%]:checked + label[_ngcontent-%COMP%]{background-color:#9900330d;color:#222b30;border:1px solid #990033}.btn-group[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%] input[type=radio][_ngcontent-%COMP%]:focus-visible + label[_ngcontent-%COMP%]{border:2px solid black}.btn-group[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%] .legend-circle[_ngcontent-%COMP%]{border:1px solid #cecece;background-color:transparent;border-radius:8px;width:14px;height:14px;margin-right:5px}.btn-group[_ngcontent-%COMP%] .btn.btn-normal[_ngcontent-%COMP%]{height:50px;min-width:150px}.btn-group[_ngcontent-%COMP%] .btn.btn-normal[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{padding:17px 47px 17px 48px}"]})}}return e})();function _le(e,n){e&1&&(F(0,"span",31),q(1),Z(2,"translate"),P()),e&2&&(E(),Ae(" ",X(2,1,"PROFILE.ACCOUNT.ERRORS.DESCRIPTION")," "))}function yle(e,n){e&1&&(F(0,"span",31),q(1),Z(2,"translate"),P()),e&2&&(E(),Ae(" ",X(2,1,"PROFILE.ACCOUNT.ERRORS.DESC_EXISTS")," "))}function ble(e,n){e&1&&(F(0,"span",31),q(1),Z(2,"translate"),P()),e&2&&(E(),Ae(" ",X(2,1,"PROFILE.ACCOUNT.ERRORS.BANK")," "))}function Sle(e,n){e&1&&(F(0,"span",31),q(1),Z(2,"translate"),P()),e&2&&(E(),Ae(" ",X(2,1,"PROFILE.ACCOUNT.ERRORS.IBAN")," "))}function Ile(e,n){e&1&&(F(0,"span",31),q(1),Z(2,"translate"),P()),e&2&&(E(),Ae(" ",X(2,1,"PROFILE.ACCOUNT.ERRORS.IBAN_EXISTS")," "))}function Ele(e,n){e&1&&(F(0,"span",31),q(1),Z(2,"translate"),P()),e&2&&(E(),Ae(" ",X(2,1,"PROFILE.ACCOUNT.ERRORS.IBAN_LETTER_NUMBER")," "))}function wle(e,n){e&1&&(F(0,"span",31),q(1),Z(2,"translate"),P()),e&2&&(E(),Ae(" ",X(2,1,"PROFILE.ACCOUNT.ERRORS.IBAN_SPECIAL_CHARS")," "))}function xle(e,n){e&1&&(F(0,"span",31),q(1),Z(2,"translate"),P()),e&2&&(E(),Ae(" ",X(2,1,"PROFILE.ACCOUNT.ERRORS.IBAN_CHARS")," "))}function Dle(e,n){e&1&&(F(0,"span",31),q(1),Z(2,"translate"),P()),e&2&&(E(),Ae(" ",X(2,1,"PROFILE.ACCOUNT.ERRORS.HOLDER_NAME")," "))}function Tle(e,n){e&1&&(F(0,"span",31),q(1),Z(2,"translate"),P()),e&2&&(E(),Ae(" ",X(2,1,"PROFILE.ACCOUNT.ERRORS.IBAN_CERTIFICATION")," "))}function Mle(e,n){if(e&1){let t=ze();F(0,"div",16)(1,"div",17)(2,"span",18),q(3),Z(4,"translate"),P(),F(5,"app-toggle-button",32),Z(6,"translate"),oe("onChange",function(r){ee(t);let o=z(2);return te(o.onChangeMain(r))}),P()()()}if(e&2){let t=z(2);E(3),Ae(" ",X(4,3,"PROFILE.ACCOUNT.MAIN_FLAG")," "),E(2),L("value",t.internalBankAccount.main)("ariaLabel",X(6,5,"PROFILE.ACCOUNT.MAIN_FLAG"))}}function Ale(e,n){if(e&1){let t=ze();F(0,"div",13)(1,"form",14,0),oe("submit",function(){ee(t);let r=z();return te(r.apply())}),F(3,"div",15)(4,"div",16)(5,"div",17)(6,"span",18),q(7),Z(8,"translate"),P(),F(9,"input",19,1),Z(11,"translate"),bt("ngModelChange",function(r){ee(t);let o=z();return It(o.internalBankAccount.description,r)||(o.internalBankAccount.description=r),te(r)}),P(),ue(12,_le,3,3,"ng-template",20)(13,yle,3,3,"ng-template",20),P()(),F(14,"div",16)(15,"div",17)(16,"span",18),q(17),Z(18,"translate"),P(),F(19,"input",21,2),Z(21,"translate"),bt("ngModelChange",function(r){ee(t);let o=z();return It(o.internalBankAccount.bank,r)||(o.internalBankAccount.bank=r),te(r)}),P(),ue(22,ble,3,3,"ng-template",20),P()(),F(23,"div",16)(24,"div",17)(25,"span",18),q(26),Z(27,"translate"),P(),F(28,"input",22,3),Z(30,"translate"),bt("ngModelChange",function(r){ee(t);let o=z();return It(o.internalBankAccount.iban,r)||(o.internalBankAccount.iban=r),te(r)}),oe("paste",function(r){ee(t);let o=z();return te(o.onPasteText(r))}),P(),ue(31,Sle,3,3,"ng-template",20)(32,Ile,3,3,"ng-template",20)(33,Ele,3,3,"ng-template",20)(34,wle,3,3,"ng-template",20)(35,xle,3,3,"ng-template",20),P()(),F(36,"div",16)(37,"div",17)(38,"span",18),q(39),Z(40,"translate"),P(),F(41,"input",23,4),Z(43,"translate"),bt("ngModelChange",function(r){ee(t);let o=z();return It(o.internalBankAccount.holderName,r)||(o.internalBankAccount.holderName=r),te(r)}),P(),ue(44,Dle,3,3,"ng-template",20),P()(),F(45,"div",16)(46,"div",17)(47,"span",18),q(48),Z(49,"translate"),P(),F(50,"span",24),q(51),Z(52,"translate"),P(),F(53,"app-upload-files-form",25),oe("onFileUpload",function(r){ee(t);let o=z();return te(o.fileUploadDocument(r))})("onFileRemoved",function(){ee(t);let r=z();return te(r.fileUploadDocument(!1))}),P(),F(54,"input",26,5),bt("ngModelChange",function(r){ee(t);let o=z();return It(o.internalBankAccount.document,r)||(o.internalBankAccount.document=r),te(r)}),P()(),ue(56,Tle,3,3,"ng-template",20),P(),ue(57,Mle,7,7,"div",27),P(),F(58,"div",28)(59,"button",29),oe("click",function(){ee(t);let r=fn(2),o=z();return te(o.discard(r))}),q(60),Z(61,"translate"),P(),F(62,"button",30),q(63),Z(64,"translate"),P()()()()}if(e&2){let t=fn(2),i=fn(10),r=fn(20),o=fn(29),l=fn(42),p=fn(55),C=z();E(7),Ae(" ",X(8,34,"PROFILE.ACCOUNT.DESCRIPTION")," "),E(2),yt("ngModel",C.internalBankAccount.de
40scription),L("placeholder",C.descriptionPlaceholder),De("aria-label",X(11,36,"PROFILE.ACCOUNT.DESCRIPTION")),E(3),L("ngIf",(i.errors==null?null:i.errors.required)&&i.touched),E(),L("ngIf",C.descriptionError),E(4),Ie(X(18,38,"PROFILE.ACCOUNT.BANK")),E(2),yt("ngModel",C.internalBankAccount.bank),L("placeholder",C.bankPlaceholder),De("aria-label",X(21,40,"PROFILE.ACCOUNT.BANK")),E(3),L("ngIf",(r.errors==null?null:r.errors.required)&&r.touched),E(4),Ae(" ",X(27,42,"PROFILE.ACCOUNT.IBAN")," "),E(2),yt("ngModel",C.internalBankAccount.iban),L("placeholder",C.ibanPlaceholder),De("aria-label",X(30,44,"PROFILE.ACCOUNT.IBAN")),E(3),L("ngIf",(o.errors==null?null:o.errors.required)&&o.touched),E(),L("ngIf",C.ibanError),E(),L("ngIf",!C.ibanContainLetterAndNumber()),E(),L("ngIf",!C.isValidIbanText()||!C.ibanContainBackSpace()),E(),L("ngIf",(o.errors==null?null:o.errors.minlength)&&o.touched),E(4),Ae(" ",X(40,46,"PROFILE.ACCOUNT.HOLDER_NAME")," "),E(2),yt("ngModel",C.internalBankAccount.holderName),L("disabled",!0),De("aria-label",X(43,48,"PROFILE.ACCOUNT.HOLDER_NAME")),E(3),L("ngIf",(l.errors==null?null:l.errors.required)&&l.touched),E(4),Ae(" ",X(49,50,"PROFILE.ACCOUNT.MESSAGE_WARNING")," "),E(3),Ae(" ",X(52,52,"PROFILE.ACCOUNT.MESSAGE_NOTE")," "),E(2),L("labelId",C.documentIbanId),E(),yt("ngModel",C.internalBankAccount.document),E(2),L("ngIf",(p.errors==null?null:p.errors.required)&&p.touched),E(),L("ngIf",C.editMode),E(3),Ae(" ",X(61,54,"BUTTONS.AVOID")," "),E(2),L("disabled",!t.valid||!C.ibanContainBackSpace()||!C.isValidIbanText()||!C.ibanContainLetterAndNumber()),E(),Ae(" ",X(64,56,"BUTTONS.SAVE_EDIT")," ")}}Le.addIcons(Yr,br,qr,Ho,Ls);var Ole=(()=>{class e{constructor(t,i,r){this.translateService=t,this.store$=i,this.fileUploadService=r,this.editMode=!0,this.editBankAccount=new Ue,this.deleteBankAccount=new Ue,this.addBankAccount=new Ue,this.dialogOpened=!1,this.internalBankAccount={},this.descriptionPlaceholder="",this.bankPlaceholder="",this.ibanPlaceholder="",this.boxVisible=!1,this.isValidIban=!1,this.descriptionError=!1,this.ibanError=!1,this.isDocPresent=!1,this.componentId=us(6),this.documentIbanId=`${this.componentId}-documentIban`}ngOnChanges(t){this.internalBankAccount=Object.assign({},this.bankAccount),this.userBankAccountSubscribe=this.store$.select(Gi.selectUserBankAccounts).subscribe(i=>{this.editMode&&i?this.bankAccounts=i.filter(r=>r.description?.toUpperCase()!==this.internalBankAccount.description?.toUpperCase()&&r.iban?.toUpperCase()!==this.internalBankAccount.iban?.toUpperCase()):this.bankAccounts=i})}ngOnInit(){this.translateService.get("PROFILE.ACCOUNT.DESC_PLACEHOLDER").subscribe(t=>this.descriptionPlaceholder=t),this.translateService.get("PROFILE.ACCOUNT.BANK_PLACEHOLDER").subscribe(t=>this.bankPlaceholder=t),this.translateService.get("PROFILE.ACCOUNT.IBAN_PLACEHOLDER").subscribe(t=>this.ibanPlaceholder=t)}ngOnDestroy(){this.userBankAccountSubscribe?.unsubscribe()}toggleBox(){this.boxVisible=!this.boxVisible,this.boxVisible&&(this.internalBankAccount=Object.assign({},this.bankAccount))}getShape(){return this.boxVisible?"minus":"plus"}onPasteText(t){t.preventDefault();let i=t.clipboardData.getData("text");this.internalBankAccount.iban=i.replace(/\s/g,"")}onInputText(t){let r=t.target.value;this.internalBankAccount.iban=r.replace(/\s/g,"")}isValidIbanText(){if(this.internalBankAccount.iban){var t=this.internalBankAccount.iban.match(Ug);return!(t==null||t[0]!=this.internalBankAccount.iban)}return!0}ibanContainLetterAndNumber(){return this.internalBankAccount.iban?i7.test(this.internalBankAccount.iban):!0}ibanContainBackSpace(){return this.internalBankAccount.iban?r7.test(this.internalBankAccount.iban):!0}onClick(t){this.dialogOpened=!0}onChangeMain(t){this.internalBankAccount.main=t}apply(){this.editMode?this.submitNewAccount(this.editBankAccount):this.submitNewAccount(this.addBankAccount)}submitNewAccount(t){this.checksOnDescriptionAndIban(),!(this.ibanError||this.descriptionError||!this.internalBankAccount.document)&&(this.dialogOpened=!1,this.boxVisible=!1,t.emit(this.internalBankAccount))}fileUploadDocument(t){if(typeof t=="boolean")this.isDocPresent=!1,this.internalBankAccount.document=void 0;else{let i={};this.fileUploadService.getBase64EncodedFileData(t).subscribe(r=>{i.fileBase64=r}),i.fileName=t.name,this.internalBankAccount.document=i,this.isDocPresent=!0}}checksOnDescriptionAndIban(){if(this.ibanError=!1,this.descriptionError=!1,!!this.bankAccounts)for(let t of this.bankAccounts)t.description?.toUpperCase()===this.internalBankAccount?.description?.toUpperCase()&&(this.descriptionError=!0),t.iban?.toUpperCase()===this.internalBankAccount?.iban?.toUpperCase()&&(this.ibanError=!0)}discard(t){this.dialogOpened=!1,this.ibanError=!1,this.descriptionError=!1,!this.editMode&&this.resetInput(t)}resetInput(t){let i=t.form;i.get("iban")?.reset(),i.get("description")?.reset(),i.get("bank")?.reset()}modalOpenChange(t){this.internalBankAccount=Object.assign({},this.bankAccount)}static{this.\u0275fac=function(i){return new(i||e)(A(Hs),A(an),A(jh
vendor: 6,675 bytes, line 40
40))}}static{this.\u0275cmp=Me({type:e,selectors:[["app-new-bank-account"]],inputs:{editMode:"editMode",bankAccount:"bankAccount",bankAccounts:"bankAccounts",onChange:"onChange"},outputs:{editBankAccount:"editBankAccount",deleteBankAccount:"deleteBankAccount",addBankAccount:"addBankAccount"},standalone:!1,features:[Xt],decls:10,vars:7,consts:[["f","ngForm"],["description","ngModel"],["bank","ngModel"],["iban","ngModel"],["holderName","ngModel"],["document","ngModel"],[1,"new-account-frame"],[1,"title-button"],[1,"title"],[1,"icon",3,"click","keydown.enter"],[1,"plus"],["size","md","tabindex","0",3,"shape"],["class","new-account-info",4,"ngIf"],[1,"new-account-info"],[3,"submit"],[1,"dt-form"],[1,"clr-row"],[1,"clr-col-12","info-col"],[1,"dt-label"],["type","text","required","","name","description",1,"clr-input",3,"ngModelChange","ngModel","placeholder"],[3,"ngIf"],["type","text","name","bank","required","",1,"clr-input",3,"ngModelChange","ngModel","placeholder"],["type","text","name","iban","required","","maxlength","27","minlength","27","min","",1,"clr-input",3,"ngModelChange","paste","ngModel","placeholder"],["name","holderName","type","text","required","",1,"clr-input",3,"ngModelChange","ngModel","disabled"],[1,"note-label"],[3,"onFileUpload","onFileRemoved","labelId"],["type","hidden","required","","name","ibanCertification",3,"ngModelChange","ngModel"],["class","clr-row",4,"ngIf"],[1,"clr-row","new-account-footer"],["type","button",1,"clr-col-5","btn","btn-link","dt-btn-undo",3,"click"],["type","submit",1,"clr-col-5","btn","btn-primary","dt-btn-ok",3,"disabled"],[1,"error-message"],[3,"onChange","value","ariaLabel"]],template:function(i,r){i&1&&(F(0,"div",6)(1,"div",7)(2,"div",8)(3,"span"),q(4),Z(5,"translate"),P()(),F(6,"div",9),oe("click",function(){return r.toggleBox()})("keydown.enter",function(){return r.toggleBox()}),F(7,"span",10),ye(8,"cds-icon",11),P()()(),ue(9,Ale,65,58,"div",12),P()),i&2&&(E(4),Ie(X(5,5,"PROFILE.ACCOUNT.BUTTONS.ADD_ACCOUNT")),E(4),Be("plusred",r.boxVisible),L("shape",r.getShape()),E(),L("ngIf",r.boxVisible))},dependencies:[Zt,Wl,go,Vi,da,Ps,Yf,qf,Wr,Gl,rt,P1,At],styles:[".new-account-frame[_ngcontent-%COMP%]{border-bottom:1px solid #990033;padding-bottom:5px}.new-account-frame[_ngcontent-%COMP%] .title-button[_ngcontent-%COMP%]{display:flex;justify-content:space-between}.new-account-frame[_ngcontent-%COMP%] .title-button[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]{font-size:18px;font-weight:100;font-stretch:normal;font-style:normal;line-height:1.5;letter-spacing:normal;text-align:left;color:#222b30}.new-account-frame[_ngcontent-%COMP%] .title-button[_ngcontent-%COMP%] .icon[_ngcontent-%COMP%]{color:#903}.new-account-frame[_ngcontent-%COMP%] body[_ngcontent-%COMP%] .dt-dialog[_ngcontent-%COMP%] .new-account-content[_ngcontent-%COMP%]{background-image:unset!important}.new-account-frame[_ngcontent-%COMP%] .new-account-footer[_ngcontent-%COMP%]{padding:unset;padding-top:unset!important;display:flex;justify-content:space-around;padding-bottom:55px}.new-account-frame[_ngcontent-%COMP%] .new-account-footer[_ngcontent-%COMP%] button[_ngcontent-%COMP%]:first-child{font-size:20px;font-weight:500;font-stretch:normal;font-style:normal;line-height:normal;letter-spacing:normal;text-align:center;background:#6e7881;color:#fff;border-radius:8px 0 0 8px}.new-account-frame[_ngcontent-%COMP%] .new-account-footer[_ngcontent-%COMP%] button[_ngcontent-%COMP%]:last-child{font-size:20px;font-weight:500;font-stretch:normal;font-style:normal;line-height:normal;letter-spacing:normal;text-align:center;background:#903;color:#fff;border-radius:8px 0 0 8px}.new-account-frame[_ngcontent-%COMP%] .new-account-footer[_ngcontent-%COMP%] button[_ngcontent-%COMP%]:last-child:disabled, .new-account-frame[_ngcontent-%COMP%] .new-account-footer[_ngcontent-%COMP%] button[_ngcontent-%COMP%]:last-child[disabled]{opacity:.4}.new-account-frame[_ngcontent-%COMP%] .error-message[_ngcontent-%COMP%]{color:#903;font-size:small}.new-account-frame[_ngcontent-%COMP%] .button-right[_ngcontent-%COMP%]{float:right}.new-account-frame[_ngcontent-%COMP%] .new-account-info[_ngcontent-%COMP%]{margin-top:24px}.new-account-frame[_ngcontent-%COMP%] .new-account-info[_ngcontent-%COMP%] .clr-row[_ngcontent-%COMP%]{border-bottom:unset;border-top:unset}.new-account-frame[_ngcontent-%COMP%] .new-account-info[_ngcontent-%COMP%] .new-account-title[_ngcontent-%COMP%]{width:100%}.new-account-frame[_ngcontent-%COMP%] .new-account-info[_ngcontent-%COMP%] .new-account-title[_ngcontent-%COMP%] .dt-dialog-title[_ngcontent-%COMP%]{font-size:15px;font-weight:500;font-stretch:normal;font-style:normal;line-height:normal;letter-spacing:.23px;text-align:left;color:#222b30}.new-account-frame[_ngcontent-%COMP%] .new-account-info[_ngcontent-%COMP%] .new-account-title[_ngcontent-%COMP%] .account-title-container[_ngcontent-%COMP%]{display:flex;flex-direction:row;align-items:center}.new-account-frame[_ngcontent-%COMP%] .new-account-info[_ngcontent-%COMP%] .new-account-title[_ngcontent-%COMP%] .account-title-container[_ngcontent-%COMP%] .title-container[_ngcontent-%COMP%]{flex:0 2 100%}.new-account-frame[_ngcontent-%COMP%] .new-account-info[_ngcontent-%COMP%] .new-account-title[_ngcontent-%COMP%] .account-title-container[_ngcontent-%COMP%] .button-container[_ngcontent-%COMP%]{margin-right:auto}.new-account-frame[_ngcontent-%COMP%] .new-account-info[_ngcontent-%COMP%] h5[_ngcontent-%COMP%]{margin-top:12px}.new-account-frame[_ngcontent-%COMP%] .new-account-info[_ngcontent-%COMP%] .clr-row[_ngcontent-%COMP%] .info-col[_ngcontent-%COMP%]{text-align:left;display:flex;flex-flow:column;min-height:80px}.new-account-frame[_ngcontent-%COMP%] .new-account-info[_ngcontent-%COMP%] .clr-row[_ngcontent-%COMP%] .info-col[_ngcontent-%COMP%] input[_ngcontent-%COMP%]::placeholder{color:#6e7881;opacity:1}.new-account-frame[_ngcontent-%COMP%] .new-account-info[_ngcontent-%COMP%] .clr-row[_ngcontent-%COMP%] .info-col[_ngcontent-%COMP%] .dt-label[_ngcontent-%COMP%]{font-size:18px;font-weight:500;font-stretch:normal;font-style:normal;line-height:normal;letter-spacing:normal;text-align:left;color:#903}.new-account-frame[_ngcontent-%COMP%] .new-account-info[_ngcontent-%COMP%] .delete-account[_ngcontent-%COMP%] cds-button{width:207px;height:55px;box-shadow:unset}.new-account-frame[_ngcontent-%COMP%] .new-account-info[_ngcontent-%COMP%] .delete-account[_ngcontent-%COMP%] cds-button span{color:#903;font-size:16px}.new-account-frame[_ngcontent-%COMP%] .new-account-header--accessible{display:block;justify-content:unset;
40align-items:unset}@media only screen and (max-width:450px){.new-account-frame[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%]{padding:0 5px!important}.new-account-frame[_ngcontent-%COMP%] cds-icon[_ngcontent-%COMP%]{margin-left:0!important}}.clr-input[_ngcontent-%COMP%]:focus{outline:revert}"]})}}return e})();var Rle=(()=>{class e{constructor(){this.onClick=new Ue,Le.addIcons(["my-icon-survey-card",nk])}ngOnInit(){}emitClick(t){this.onClick.emit(t)}static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275cmp=Me({type:e,selectors:[["app-documents-card-disposition"]],inputs:{title:"title",text:"text",ariaLabel:"ariaLabel",imageUrl:"imageUrl"},outputs:{onClick:"onClick"},standalone:!1,decls:9,vars:4,consts:[["role","button",1,"documents-card-disposition",3,"click"],[1,"clr-row"],["alt","",3,"src"],[1,"clr-col","title-container"],[1,"btn","btn-icon","btn-primary"],["size","md","shape","my-icon-survey-card"]],template:function(i,r){i&1&&(F(0,"div")(1,"div",0),oe("click",function(l){return r.emitClick(l)}),F(2,"div",1),ye(3,"img",2),F(4,"div",3)(5,"span"),q(6),P()(),F(7,"button",4),ye(8,"cds-icon",5),P()()()()),i&2&&(E(),De("aria-label",r.ariaLabel),E(2),Li("src",r.imageUrl,Vl),E(3),Ie(r.title),E(),De("aria-label",r.ariaLabel))},dependencies:[Zt],styles:["app-simple-colored-card[_ngcontent-%COMP%] .simple-colored-card{height:100%}.documents-card-disposition[_ngcontent-%COMP%]{cursor:pointer}.documents-card-disposition[_ngcontent-%COMP%] .simple-colored-card{height:100%}.documents-card-disposition[_ngcontent-%COMP%] .clr-row[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{padding-top:10px;height:30%;width:8%}.documents-card-disposition[_ngcontent-%COMP%] .title-container[_ngcontent-%COMP%]{padding:10px 0 0 30px;margin-bottom:50px}.documents-card-disposition[_ngcontent-%COMP%] .title-container[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{font-size:18px;font-weight:500;font-stretch:normal;font-style:normal;line-height:normal;letter-spacing:normal;text-align:left;color:#222b30}.documents-card-disposition[_ngcontent-%COMP%] .text-container[_ngcontent-%COMP%]{margin-bottom:15px;min-height:53.44px}.documents-card-disposition[_ngcontent-%COMP%] .text-container[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{font-size:16px;line-height:1.44;letter-spacing:.21px;color:#222b30}.documents-card-disposition[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{background-color:#fff;border:unset;margin-left:5px}.documents-card-disposition[_ngcontent-%COMP%] button[_ngcontent-%COMP%] cds-icon[_ngcontent-%COMP%]{color:#903;block-size:24px;inline-size:24px}.documents-card-disposition[_ngcontent-%COMP%] button[_ngcontent-%COMP%]:hover{opacity:.7}"]})}}return e})();var bL=e=>({"mobile-input":e}),Ple=e=>({"mobile-div":e});function kle(e,n){if(e&1){let t=ze();F(0,"input",9),oe("change",function(){ee(t);let r=z();return te(r.roundUpImport())}),P()}if(e&2){let t=z();Be("with-suffix",!!t.suffix),Li("type",t.type),Li("step",t.inputStep),Li("min",t.getInputMinLenght()),Li("max",t.inputMaxlength),L("ngClass",vr(9,bL,t.isMobile()))("formControl",t.control),De("aria-label",t.ariaLabel)}}function Nle(e,n){if(e&1&&ye(0,"input",10),e&2){let t=z();Li("value",t.value),L("ngClass",vr(3,bL,t.isMobile())),De("aria-label",t.ariaLabel)}}function Lle(e,n){if(e&1&&(F(0,"div",11),Z(1,"translate"),q(2),P()),e&2){let t=z();L("ngClass",vr(5,Ple,t.isMobile())),De("aria-label",X(1,3,"ARIA_LABELS.EURO")),E(2),Ie(t.suffix)}}function Fle(e,n){if(e&1&&(F(0,"div"),Z(1,"translate"),q(2),P()),e&2){let t=z();Be("danger",!!t.isMessageCustomDanger),De("aria-label",t.isMessageCustomDanger?X(1,4,"ARIA_LABELS.VALUE_INVALID"):null),E(2),Ie(t.getLabelText(t.minLengthCustom))}}function Vle(e,n){if(e&1&&(F(0,"div"),q(1),Z(2,"translate"),P()),e&2){let t=n.$implicit,i=z(2);Be("danger-custom",i.messageErrorListCustom.length>0),E(),Ae(" ",X(2,3,t)," ")}}function Ule(e,n){if(e&1&&(F(0,"div"),ue(1,Vle,3,5,"div",12),P()),e&2){let t=z();E(),L("ngForOf",t.messageErrorListCustom)}}function Hle(e,n){if(e&1&&(ye(0,"div",13),Z(1,"translate"),Z(2,"translate")),e&2){let t=z();L("innerHTML",X(1,2,t.errorMessage),mr),De("aria-label",X(2,4,"ARIA_LABELS.VALUE_INVALID"))}}var Ble=(()=>{class e{getInputMinLenght(){return this.minLengthCustom==="minLength-custom"?this.inputMinLength===0?1:this.inputMinLength:this.inputMinLength}constructor(t,i){this.translate=t,this.appService=i,this.type="text",this.labelMessageDataType="empty",this.inputMinLength=1,this.inputMaxlength=1e9,this.inputStep=1,this.suffix="",this.customError="",this.isMessageDanger=!1,this.isMessageCustomDanger=!1,this.hideError=!1,this.disabled=!1,this.showInputMinLengthAdvice=!1,this.minLengthCustom="minLength-amount",this.messageErrorListCustom=[],this.value="",this.roundImportValue=!1,this.roundValue=2,this.translations=new Map([["minLength-text","INPUT_WITH_LABEL.MIN_LENGTH"],["maxLength-text","INPUT_WITH_LABEL.MAX_LENGTH"],["minLength-number","INPUT_WITH_LABEL.MIN_NUMBER"],["maxLength-number","INPUT_WITH_LABEL.MAX_NUMBER"],["maxLength-number-quote","INPUT_WITH_LABEL.MAX_NUMBER"],["minLength-number-quote","INPUT_WITH_LABEL.MIN_NUMBER"],["minLength-amount","INPUT_WITH_LABEL.MIN_AMOUNT"],["minLength-custom","INPUT_WITH_LABEL.MIN_LENGTH_GREATER_CUSTOM"],["maxLength-amount","INPUT_WITH_LABEL.MAX_AMOUNT"],["minLengthGreaterZero-amount","INPUT_WITH_LABEL.MIN_LENGTH_GREATER_ZERO"],["minNumberGreaterZero-amount","INPUT_WITH_LABEL.MIN_NUMBER_GREATER_ZERO"],["minLengthGreater500","INPUT_WITH_LABEL.MIN_LENGTH_GREATER_500"],["empty",""],["error","INPUT_WITH_LABEL.INVALID"]]),this.subscription=new Xo,this.inputLength=0,this.errorMessage=""}isMobile(){return this.appService.isMobileBrowser()}roundUpImport(){if(this.roundImportValue){let t=Number(this.control.value);this.control.setValue(t.toFixed(this.roundValue))}}ngOnInit(){this.control!=null&&this.subscription.add(this.control.valueChanges.subscribe(t=>{t!==null&&(typeof t=="number"?this.inputLength=`${t}`.length:this.inputLength=t.length),this.checkValidity()}))}checkValidity(){if(this.control.enabled)if(this.control.invalid)if(this.customError)this.errorMessage=this.customError;else{let t=this.translate.instant(this.translations.get("error"));this.errorMessage=t}else this.errorMessage=""}getLabelText(t){let i=t||this.labelMessageDataType;if(i==="empty")return"";{let r=this.translations.get(i);if(r){let o=this.translate.instant(r);switch(i){case"minLength-custom":this.inputMinLength==0?o+="0 \u20AC":o+=rl(this.inputMinLength,"it","1.1-2")+" \u20AC";break;case"maxLength-amount":o+=rl(this.inputMaxlength,"it","1.1-2")+" \u20AC";break;case"maxLength-number-quote":o+=rl(this.inputMaxlength,"it","1.1-3");break;case"minLength-number-quote":this.inputMinLength==0?o=this.translate.instant(this.translations.get("minNumberGreaterZero-amount")):o+=rl(this.inputMinLength,"it","1.1-3");break;case"maxLength-text":case"maxLength-number":o+=this.inputMaxlength;break;case"minLength-amount":this.inputMinLength==0?o=this.translate.instant(this.translations.get("minLengthGreaterZero-amount")):this.inputMinLength==VD?o=this.translate.instant(this.translations.get("minLengthGreater500")):o+=rl(this.inputMinLength,"it","1.1-2")+" \u20AC";break;case"minLength-text":case"minLength-number":this.inputMinLength==0?o=this.translate.instant(this.translations.get("minLengthGreaterZero-amount")):this.inputMinLength==VD?o+=rl(this.inputMinLength,"it","1.1-2")+" \u20AC":o+=this.inputMinLength;break}return o}else return""}}ngOnDestroy(){this.subscription.unsubscribe()}static{this.\u0275fac=function(i){return new(i||e)(A(Hs),A(yi))}}static{this.\u0275cmp=Me({type:e,selectors:[["app-input-with-label"]],inputs:{type:"type",control:"control",labelMessageDataType:"labelMessageDataType",inputMinLength:"inputMinLength",inputMa
40xlength:"inputMaxlength",inputStep:"inputStep",suffix:"suffix",customError:"customError",isMessageDanger:"isMessageDanger",isMessageCustomDanger:"isMessageCustomDanger",hideError:"hideError",disabled:"disabled",showInputMinLengthAdvice:"showInputMinLengthAdvice",minLengthCustom:"minLengthCustom",messageErrorListCustom:"messageErrorListCustom",value:"value",roundImportValue:"roundImportValue",roundValue:"roundValue",ariaLabel:"ariaLabel"},standalone:!1,decls:12,vars:14,consts:[[1,"input-wrapper"],[1,"input-text-wrapper"],["clrInput","",3,"ngClass","formControl","with-suffix","type","step","min","max","change",4,"ngIf"],["type","text","disabled","",3,"ngClass","value",4,"ngIf"],["class","suffix",3,"ngClass",4,"ngIf"],[1,"labels"],[3,"danger",4,"ngIf"],[4,"ngIf"],["class","error",3,"innerHTML",4,"ngIf"],["clrInput","",3,"change","ngClass","formControl","type","step","min","max"],["type","text","disabled","",3,"ngClass","value"],[1,"suffix",3,"ngClass"],[3,"danger-custom",4,"ngFor","ngForOf"],[1,"error",3,"innerHTML"]],template:function(i,r){i&1&&(F(0,"div",0)(1,"div",1),ue(2,kle,1,11,"input",2)(3,Nle,1,5,"input",3)(4,Lle,3,7,"div",4),P(),F(5,"div",5),ue(6,Fle,3,6,"div",6),F(7,"div"),Z(8,"translate"),q(9),P(),ue(10,Ule,2,1,"div",7)(11,Hle,3,6,"div",8),P()()),i&2&&(Be("wrapper-with-suffix",!!r.suffix),E(2),L("ngIf",!r.disabled),E(),L("ngIf",r.disabled),E(),L("ngIf",!!r.suffix),E(2),L("ngIf",r.showInputMinLengthAdvice),E(),Be("danger",!!r.isMessageDanger),De("aria-label",r.isMessageDanger?X(8,12,"ARIA_LABELS.VALUE_INVALID"):null),E(2),Ie(r.getLabelText()),E(),L("ngIf",r.messageErrorListCustom.length>0),E(),L("ngIf",!r.hideError))},dependencies:[BP,go,Vi,$f,Dn,rn,rt,At],styles:["[_nghost-%COMP%]{width:100%}input[type=number][_ngcontent-%COMP%]::-webkit-inner-spin-button{margin-right:20px}.input-wrapper[_ngcontent-%COMP%]{display:flex;flex-direction:column}.input-wrapper[_ngcontent-%COMP%] .clr-form-control{flex:1;margin-top:0}.input-wrapper[_ngcontent-%COMP%] .clr-form-control .clr-control-container{width:100%}.input-wrapper[_ngcontent-%COMP%] .clr-form-control .clr-control-container .clr-input-wrapper{width:100%}.input-wrapper[_ngcontent-%COMP%] .clr-form-control .clr-control-container .clr-input-wrapper .clr-input-group{width:100%;max-height:unset!important;border:none}.input-wrapper[_ngcontent-%COMP%] .clr-form-control .clr-control-container .clr-input-wrapper input{width:100%;max-height:unset!important;font-size:14px;min-width:85px}.input-wrapper[_ngcontent-%COMP%] .clr-form-control .clr-control-container .clr-input-wrapper input:focus-visible{outline:2px solid black}.input-wrapper[_ngcontent-%COMP%] .input-text-wrapper{min-height:45px;display:flex;flex-direction:row;width:100%}.input-wrapper[_ngcontent-%COMP%] .labels div{font-size:14px!important;font-family:Lato}.input-wrapper[_ngcontent-%COMP%] .error{color:var(--cds-alias-status-danger, var(--cds-global-color-red-700, #e02200))}.input-wrapper[_ngcontent-%COMP%] .danger{color:var(--cds-alias-status-danger, var(--cds-global-color-red-700, #e02200))}.input-wrapper[_ngcontent-%COMP%] .danger-custom{color:var(--cds-alias-status-danger, var(--cds-global-color-red-700, #e02200))}.with-suffix.mobile-input[_ngcontent-%COMP%]{border-radius:13px 0!important}.suffix[_ngcontent-%COMP%]{background-color:#6e7881;padding:13px 10px 10px;height:45px;right:0;top:0;font-size:15px;font-weight:100;color:#fff;border:solid 1px rgba(151,151,151,.29);line-height:1!important;border-radius:13px 0 0 13px;border-width:1px 1px 1px 0px;margin-left:-30px;position:relative;z-index:1}.suffix.mobile-div[_ngcontent-%COMP%]{border-radius:13px 0}"]})}}return e})();function jle(e,n){if(e&1&&ye(0,"app-datepicker",10),e&2){let t=z();L("dateId",t.dateId)("disabled",!0)("date",t.birthDate)}}function zle(e,n){if(e&1&&ye(0,"input",11),e&2){let t=z();L("value",t.birthDate)}}var Gle=(()=>{class e{constructor(t){this.appService=t,this.firstname="",this.lastname="",this.birthPlace="",this.birthDate=new Date,this.componentId=us(6),this.undersignedId=`${this.componentId}-undersigned`,this.birthPlaceId=`${this.componentId}-birthPlace`,this.dateId=`${this.componentId}-date`}ngOnChanges(t){this.userInput?.userInfo?.birthDate&&(this.birthDate=this.userInput?.userInfo?.birthDate)}isMobile(){return this.appService.isMobileBrowser()}ngOnInit(){}static{this.\u0275fac=function(i){return new(i||e)(A(yi))}}static{this.\u0275cmp=Me({type:e,selectors:[["app-fatca-declaration"]],inputs:{userInput:[0,"user","userIn
40put"]},standalone:!1,features:[Xt],decls:30,vars:31,consts:[[3,"ngClass"],[1,"clr-row"],[1,"clr-col-12","clr-col-lg-6","left-element"],[3,"for"],["type","text","disabled","",3,"id","value"],[1,"clr-col-12","clr-col-lg-6","right-element"],["class","date-style",3,"dateId","disabled","date",4,"ngIf"],["type","date","disabled","",3,"value",4,"ngIf"],[1,"clr-col-12","clr-col-lg-6","right-element","declaration-label"],[1,"declaration-label"],[1,"date-style",3,"dateId","disabled","date"],["type","date","disabled","",3,"value"]],template:function(i,r){i&1&&(F(0,"div",0)(1,"span"),q(2),Z(3,"translate"),P()(),F(4,"div",0)(5,"span"),q(6),Z(7,"translate"),P()(),F(8,"div",1)(9,"div",2)(10,"label",3),q(11),Z(12,"translate"),P(),ye(13,"input",4),P(),F(14,"div",5)(15,"label",3),q(16),Z(17,"translate"),P(),ye(18,"input",4),P()(),F(19,"div",1)(20,"div",2)(21,"label",3),q(22),Z(23,"translate"),P(),ue(24,jle,1,3,"app-datepicker",6)(25,zle,1,1,"input",7),P(),F(26,"div",8)(27,"p",9),q(28),Z(29,"translate"),P()()()),i&2&&(L("ngClass",r.isMobile()?"header-fatca-mobile":"header-fatca"),E(2),Ie(X(3,19,"SURVEY.FATCA.DECLARATION.DECLARATION_HEADER_LINE_ONE")),E(2),L("ngClass",r.isMobile()?"header-fatca-mobile":"header-fatca"),E(2),Ie(X(7,21,"SURVEY.FATCA.DECLARATION.DECLARATION_HEADER_LINE_TWO")),E(4),L("for",r.undersignedId),E(),Ie(X(12,23,"SURVEY.FATCA.DECLARATION.UNDERSIGNED")),E(2),sE("value","",r.userInput==null||r.userInput.userInfo==null?null:r.userInput.userInfo.firstname," ",r.userInput==null||r.userInput.userInfo==null?null:r.userInput.userInfo.lastname,""),L("id",r.undersignedId),E(2),L("for",r.birthPlaceId),E(),Ie(X(17,25,"SURVEY.FATCA.DECLARATION.BIRTH_PLACE")),E(2),Li("value",r.userInput==null||r.userInput.userInfo==null?null:r.userInput.userInfo.birthPlace),L("id",r.birthPlaceId),E(3),L("for",r.dateId),E(),Ie(X(23,27,"SURVEY.FATCA.DECLARATION.THE")),E(2),L("ngIf",!r.isMobile()),E(),L("ngIf",r.isMobile()),E(3),Ie(X(29,29,"SURVEY.FATCA.DECLARATION.DECLARE")))},dependencies:[Tn,Dn,rt,Od,At],styles:["input[_ngcontent-%COMP%]{font-size:18px;padding-left:14px}app-datepicker[_ngcontent-%COMP%]{min-height:45px}.title[_ngcontent-%COMP%]{font-size:large;font-weight:600;margin-bottom:20px}.btn-container[_ngcontent-%COMP%]{margin-top:30px;text-align:center}.clr-row[_ngcontent-%COMP%]{margin-bottom:24px;margin-right:0;margin-left:0}.clr-row[_ngcontent-%COMP%] .left-element[_ngcontent-%COMP%]{padding-left:0}.clr-row[_ngcontent-%COMP%] .right-element[_ngcontent-%COMP%]{padding-right:0}.clr-row[_ngcontent-%COMP%] .clr-col[_ngcontent-%COMP%], .clr-row[_ngcontent-%COMP%] .clr-col-lg-6[_ngcontent-%COMP%], .clr-row[_ngcontent-%COMP%] .clr-col-4[_ngcontent-%COMP%]{display:flex;flex-flow:column}.clr-row[_ngcontent-%COMP%] input[type=text][_ngcontent-%COMP%], .clr-row[_ngcontent-%COMP%] input[type=date][_ngcontent-%COMP%]{margin-top:10px;border:1px solid #ededed;border-radius:8px 0 0 8px;background:#fff;min-height:45px}.clr-row[_ngcontent-%COMP%] input[type=radio][_ngcontent-%COMP%]{margin-right:10px}.clr-row[_ngcontent-%COMP%] select[_ngcontent-%COMP%]{height:28px;border:1px solid #ededed;border-radius:8px;min-height:45px}.clr-row[_ngcontent-%COMP%] .checkbox-container[_ngcontent-%COMP%]{flex-flow:row;flex-direction:row}.clr-row[_ngcontent-%COMP%] .checkbox-container[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{margin-right:5px}.clr-row[_ngcontent-%COMP%] .checkbox-container[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{line-height:.8rem;margin-right:20px}.header-fatca[_ngcontent-%COMP%]{font-size:24px;font-weight:100;margin-bottom:20px}.header-fatca-mobile[_ngcontent-%COMP%]{font-size:18px;font-weight:300;margin-bottom:20px}.date-style[_ngcontent-%COMP%]{margin-top:10px;background:#f4f5f6;border-radius:8px 0 0 8px}.declaration-label[_ngcontent-%COMP%]{margin-top:15px;font-size:18px}label[_ngcontent-%COMP%]{font-size:18px}@media(max-width:991px){.right-element[_ngcontent-%COMP%]{padding-left:0}.left-element[_ngcontent-%COMP%]{padding-right:0;padding-bottom:31px}.declaration-label[_ngcontent-%COMP%]{margin-top:0}}"]})}}return e})();var SL=(()=>{class e{constructor(){this.nextStepSource=new Qe,this.jumpToStepSource=new Qe,this.finalStepSource=new Qe,this.errorStepSource=new Qe,this.nextStepRequested$=this.nextStepSource.asObservable(),this.jumpToStepRequested$=this.jumpToStepSource.asObservable(),this.finalStepRequested$=this.finalStepSource.asObservable(),this.errorStepRequestes$=this.errorStepSource.asObservable()}next(t){this.nextStepSource.next({next:!0,skipOTPCheck:t})}complete(t){this.finalStepSource.next(t)}error(){this.errorStepSource.next(!0)}goToStep(t){this.jumpToStepSource.next(t)}static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275prov=le({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();var Wle=()=>
40({color:"#990033",cursor:"pointer"});function Yle(e,n){if(e&1&&(F(0,"span",28),q(1),P()),e&2){let t=z().$implicit;E(),Ie(t.subDescription)}}function qle(e,n){if(e&1){let t=ze();F(0,"tr",20)(1,"td")(2,"a",21),oe("click",function(){let r=ee(t),o=r.$implicit,l=r.index,p=z(3);return te(p.getDocumentAndOpenIframe(o,l))})("keydown.enter",function(){let r=ee(t),o=r.$implicit,l=r.index,p=z(3);return te(p.getDocumentAndOpenIframe(o,l))}),ye(3,"cds-icon",22),Z(4,"translate"),P()(),F(5,"td",23),oe("click",function(){let r=ee(t),o=r.$implicit,l=r.index,p=z(3);return te(p.getDocumentAndOpenIframe(o,l))}),F(6,"label",24),q(7),ue(8,Yle,2,1,"span",25),P()(),F(9,"td",26),oe("click",function(){let r=ee(t),o=r.$implicit,l=r.index,p=z(3);return te(p.getDocumentAndOpenIframe(o,l))}),F(10,"input",27),Z(11,"translate"),oe("keydown.enter",function(){let r=ee(t),o=r.$implicit,l=r.index,p=z(3);return te(p.getDocumentAndOpenIframe(o,l))}),P()()()}if(e&2){let t=n.$implicit,i=n.index,r=n.odd,o=z(3);Be("odd",r)("even",!r),L("formArrayName",o.documentFormControlName),E(2),L("ngStyle",la(16,Wle)),De("aria-label","Visualizza e accetta il seguente documento: "+t.description),E(),De("aria-label",X(4,12,"ARIA_LABELS.OPEN_DOCUMENT")),E(4),Ae(" ",t.description," "),E(),L("ngIf",t.subDescription),E(2),L("formControl",o.getFormControlAt(i,"checked")),De("aria-label",X(11,14,"ARIA_LABELS.ACKNOWLEDGMENT"))}}function Qle(e,n){if(e&1&&(F(0,"table",16)(1,"caption",17),q(2),Z(3,"translate"),P(),F(4,"thead")(5,"tr")(6,"th",18)(7,"h4"),q(8),Z(9,"translate"),P()()()(),F(10,"tbody"),ue(11,qle,12,17,"tr",19),P()()),e&2){let t=z(2);E(2),Ae(" ",X(3,3,"COMMON_FUNDS.NEW_SUBSCRIPTION.DOCUMENTS.TITLE")," "),E(6),Ie(X(9,5,"COMMON_FUNDS.NEW_SUBSCRIPTION.DOCUMENTS.DOC_NAME")),E(3),L("ngForOf",t.documents)}}function Zle(e,n){if(e&1&&(F(0,"div")(1,"div",14)(2,"h3"),q(3),Z(4,"translate"),P(),ue(5,Qle,12,7,"table",15),P()()),e&2){let t=z();E(),L("formGroup",t.form),E(2),Ie(X(4,3,"COMMON_FUNDS.NEW_SUBSCRIPTION.DOCUMENTS.TITLE")),E(2),L("ngIf",!!(t.documents!=null&&t.documents.length))}}function Kle(e,n){if(e&1&&ye(0,"iframe",29),e&2){let t=z();L("src",t.getCurrentDocumentAnima(),Ru)}}function Xle(e,n){if(e&1&&(ye(0,"iframe",30,0),Z(2,"safe")),e&2){let t=z();L("hidden",!t.selectedDocument)("src",sC(2,2,t.selectedDocument,"resourceUrl"),Ru)}}var Jle=(()=>{class e{constructor(t,i,r,o,l,p,C,w){this.store=t,this.service=i,this.appConfigService=r,this.keaycloakService=o,this.alertService=l,this.wizardService=p,this.sanitizer=C,this.zone=w,this.isDisabled=!0,this.documents=[],this.selectedDocument="",this.selectedDocumentOwner="ANIMA",this.currentDocumentDescription="",this.selectedChecbox=0,this.showIframe=!1,this.documentsCalled=!1,this.destroyed$=new Qe,Le.addIcons(["my-pdf-file-icon",fk])}ngOnInit(){this.buildForm(this.documents)}get documentsFormArray(){return this.documentFormControlName?this.form.get(this.documentFormControlName):new nw([])}buildForm(t){this.form!=null&&this.documentFormControlName&&(this.form.contains(this.documentFormControlName)&&this.form.removeControl(this.documentFormControlName),this.form.addControl(this.documentFormControlName,new nw([])),t.forEach(i=>{this.documentsFormArray.push(new X8({id:new $l(i.description),checked:new $l(null,sl.requiredTrue)}))}))}getFormControlAt(t,i){return this.documentsFormArray.at(t).controls[i]}createParamFromData(t){return t.map(i=>i?.instrumentCode).join(",")}downloadDocument(t){return ct(this,null,function*(){let i=yield this.keaycloakService.getToken(),r=this.appConfigService.configApiUrl+t.url+"?access_token="+i,o=document.createElement("a");o.href=r,o.target="_blank",o.click()})}getDocumentAndOpenIframe(t,i){return ct(this,null,function*(){let r=yield this.keaycloakService.getToken();this.selectedDocumentOwner=t.documentOwner;let o="";this.selectedDocumentOwner=="ANIMA"?o=this.appConfigService.configApiUrl+t.url+"?access_token="+r:o=t.pdfUrl,this.selectedDocument=o,this.currentDocumentDescription=t.description,this.selectedChecbox=i,this.showIframe=!0,document.body.scrollTop=0,document.documentElement.scrollTop=0,window.scrollTo(0,0)})}discard(){this.showIframe=!1}confirmDocument(){this.checkDocument(this.selectedChecbox,this.currentDocumentDescription),document.body.scrollTop=0,document.documentElement.scrollTop=0,window.scrollTo(0,0),this.showIframe=!1}checkDocument(t,i){this.documentsFormArray.at(t).setValue({id:i,checked:!0})}ngOnDestroy(){this.destroyed$.next(!0),this.destroyed$.complete()}openPDF(t){window.open(t,"_blank")}getCurrentDocumentAnima(){return this.sanitizer.bypassSecurityTrustResourceUrl(this.selectedDocument)}modalOpenChange(t){}static{this.\u0275fac=function(i){return new(i||e)(A(an),A(Wy),A(Mn),A(fs),A(Ry),A(SL),A(Nf),A(Rt))}}static{this.\u0275cmp=Me({type:e,selectors:[["app-generic-documents"]],inputs:{form:"form",documentFormControlName:"documentFormControlName",documents:"documents"},standalone:!1,decls:18,vars:13,consts:[["frame",""],[4,"ngIf"],[1,"modal-info","dt-dialog","text-left",3,"clrModalOpenChange","clrModalOpen","clrModalClosable","clrModalSize"],[1,"modal-body"],[1,"modal-title"],[1,"account-title-container"],[1,"title"],[1,"dt-dialog-title"],[1,"dt-dialog-subtitle"],["id","iframeid","scrolling","no","height","100%","width","100%",3,"src",4,"ngIf"],["class","no-border","id","frame","height","100%","width","100%",3,"hidden","src",4,"ngIf"],[1,"modal-footer"],["type","button",1,"btn","btn-link","dt-btn-undo",3,"click"],["type","submit",1,"btn","btn-primary","dt-btn-ok",3,"click"],[1,"dataGrid",3,"formGroup"],["class","table table-noborder striped",4,"ngIf"],[1,"table","table-noborder","striped"],[1,"sr-only"],["colspan","3"],[3,"odd","even","formArrayName",4,"ngFor","ngForOf"],[3,"formArrayName"],["tabindex","0",3,"click","keydown.enter","ngStyle"],["shape","my-pdf-file-icon","size","xxl"],["colspan","2",1,"left",3,"click"],[1,"checkbox-label"],["class","sub-description-label",4,"ngIf"],[3,"click"],["type","checkbox","clrCheckbox","",3,"keydown.enter","formControl"],[1,"sub-description-label"],["id","iframeid","scrolling","no","height","100%","width","100%",3,"src"],["id","frame","height","100%","width","100%",1,"no-border",3,"hidden","src"]],template:function(i,r){i&1&&(ue(0,Zle,6,5,"div",1),F(1,"clr-modal",2),bt("clrModalOpenChange",function(l){return It(r.showIframe,l)||(r.showIframe=l),l}),oe("clrModalOpenChange",function(l){return r.modalOpenChange(l)}),F(2,"div",3)(3,"div",4)(4,"div",5)(5,"div",6)(6,"h3",7),q(7),P(),ye(8,"h5",8),P()()(),ue(9,Kle,1,1,"iframe",9)(10,Xle,3,5,"iframe",10),F(11,"div",11)(12,"button",12),oe("click",function(){return r.discard()}),q(13),Z(14,"translate"),P(),F(15,"button",13),oe("click",function(){return r.confirmDocument()}),q(16),Z(17,"translate"),P()()()()),i&2&&(L("ngIf",!r.showIframe),E(),yt("clrModalOpen",r.showIframe),L("clrModalClosable",!1)("clrModalSize","lg"),E(6),Ie(r.currentDocumentDescription),E(2),L("ngIf",r.selectedDocumentOwner=="ANIMA"),E(),L("ngIf",r.selectedDocumentOwner=="INTERNAL"),E(3),Ae(" ",X(14,9,"BUTTONS.AVOID")," "),E(3),Ae(" ",X(17,11,"COMMON_FUNDS.NEW_SUBSCRIPTION.DOCUMENTS.ACCEPT_DOCUMENT")," "))},dependencies:[Zt,lr,Bi,Tn,Eh,Gu,Vi,da,$f,td,XC,rn,rt,Gr,At,M1],styles:[".dataGrid[_ngcontent-%COMP%]{color:#222b30}.dataGrid[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{color:#903;font-size:22px!important;font-weight:500}
40.dataGrid[_ngcontent-%COMP%] h4[_ngcontent-%COMP%]{color:#222b30;font-size:18px;font-weight:400}.dataGrid[_ngcontent-%COMP%] table[_ngcontent-%COMP%]{color:#222b30;border-collapse:collapse;margin-bottom:70px}.dataGrid[_ngcontent-%COMP%] table[_ngcontent-%COMP%] th[_ngcontent-%COMP%]:first-child{width:40px}.dataGrid[_ngcontent-%COMP%] table[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{font-weight:700;text-align:left;border:0px}.dataGrid[_ngcontent-%COMP%] table[_ngcontent-%COMP%] th[_ngcontent-%COMP%], .dataGrid[_ngcontent-%COMP%] table[_ngcontent-%COMP%] h4[_ngcontent-%COMP%]{padding-top:unset}.dataGrid[_ngcontent-%COMP%] table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding:6px;vertical-align:middle;text-align:left;font-size:18px}.dataGrid[_ngcontent-%COMP%] table[_ngcontent-%COMP%] td[_ngcontent-%COMP%] .sub-description-label[_ngcontent-%COMP%]{display:flex;margin-top:10px;font-size:12px}.dataGrid[_ngcontent-%COMP%] table[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] > tr[_ngcontent-%COMP%] > td[_ngcontent-%COMP%]:first-child{padding-left:10px;width:1%}.dataGrid[_ngcontent-%COMP%] table[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] > tr[_ngcontent-%COMP%] > td[_ngcontent-%COMP%]:nth-child(2){width:100%}.dataGrid[_ngcontent-%COMP%] table[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] > tr[_ngcontent-%COMP%] > td[_ngcontent-%COMP%]:last-child{padding-left:10px}.dataGrid[_ngcontent-%COMP%] table[_ngcontent-%COMP%] th[_ngcontent-%COMP%]:last-child{padding-left:10px}.dataGrid[_ngcontent-%COMP%] table[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]{border-top:2px solid rgba(221,224,226,.28);border-radius:1px;height:50px}.dataGrid[_ngcontent-%COMP%] table[_ngcontent-%COMP%] .noData[_ngcontent-%COMP%]{text-align:center}.dataGrid[_ngcontent-%COMP%] table[_ngcontent-%COMP%] .odd[_ngcontent-%COMP%]{background-color:#eaeced}.dataGrid[_ngcontent-%COMP%] table[_ngcontent-%COMP%] .even[_ngcontent-%COMP%]{background-color:#fff}.dataGrid[_ngcontent-%COMP%] table[_ngcontent-%COMP%] .hidden[_ngcontent-%COMP%]{display:none}.dataGrid[_ngcontent-%COMP%] .note-text[_ngcontent-%COMP%]{text-align:center;font-size:14px}.dataGrid[_ngcontent-%COMP%] cds-icon[_ngcontent-%COMP%]{margin-right:20px;min-height:unset!important;min-width:unset!important}.dataGrid[_ngcontent-%COMP%] clr-checkbox-container[_ngcontent-%COMP%]{margin:0}.dataGrid[_ngcontent-%COMP%] clr-checkbox-container[_ngcontent-%COMP%] .clr-control-container{width:100%}.dataGrid[_ngcontent-%COMP%] clr-checkbox-container[_ngcontent-%COMP%] .clr-control-container .clr-checkbox-wrapper .clr-control-label.checkbox-label{font-size:18px;color:#222b30;padding:0 30px 0 0;line-height:14px}.dataGrid[_ngcontent-%COMP%] clr-checkbox-container[_ngcontent-%COMP%] .clr-control-container .clr-checkbox-wrapper .clr-control-label.checkbox-label .sub-description-label{display:flex;margin-top:10px;font-size:12px}.dataGrid[_ngcontent-%COMP%] clr-checkbox-container[_ngcontent-%COMP%] .clr-checkbox-wrapper[_ngcontent-%COMP%] input[type=checkbox][_ngcontent-%COMP%], .dataGrid[_ngcontent-%COMP%] clr-checkbox-container[_ngcontent-%COMP%] .clr-checkbox-wrapper[_ngcontent-%COMP%] input[type=checkbox][_ngcontent-%COMP%] + label[_ngcontent-%COMP%]:before{left:auto;right:0;top:50%;margin-top:-12px}.dataGrid[_ngcontent-%COMP%] clr-checkbox-container[_ngcontent-%COMP%] .clr-checkbox-wrapper[_ngcontent-%COMP%] input[type=checkbox][_ngcontent-%COMP%] + label[_ngcontent-%COMP%]:after{right:.25rem;left:auto;top:50%;margin-top:-10px}.dataGrid[_ngcontent-%COMP%] clr-checkbox-container[_ngcontent-%COMP%] .clr-checkbox-wrapper[_ngcontent-%COMP%] input[type=checkbox][_ngcontent-%COMP%]:focus-visible + label[_ngcontent-%COMP%]:before{outline:2px solid black}.dataGrid[_ngcontent-%COMP%] .pdf_icon[_ngcontent-%COMP%]{cursor:pointer;color:#5f9ea0}.button[_ngcontent-%COMP%]{margin:0 auto;display:flex;justify-content:center}.modal-info[_ngcontent-%COMP%]{margin-top:24px}.modal-info[_ngcontent-%COMP%] .modal-title[_ngcontent-%COMP%]{text-align:left}
40.modal-info[_ngcontent-%COMP%] .modal-title[_ngcontent-%COMP%] .account-title-container[_ngcontent-%COMP%]{display:flex;flex-direction:row;flex-flow:row;align-items:center}.modal-info[_ngcontent-%COMP%] .modal-title[_ngcontent-%COMP%] .account-title-container[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]{flex:0 0 100%}.modal-info[_ngcontent-%COMP%] .clr-row[_ngcontent-%COMP%] .info-col[_ngcontent-%COMP%]{text-align:left;display:flex;flex-flow:column}.modal-info[_ngcontent-%COMP%] .clr-row[_ngcontent-%COMP%] .info-col[_ngcontent-%COMP%] .checkboxes[_ngcontent-%COMP%]{display:flex}.modal-info[_ngcontent-%COMP%] .clr-row[_ngcontent-%COMP%] .info-col[_ngcontent-%COMP%] .checkboxes[_ngcontent-%COMP%] .clr-radio-wrapper[_ngcontent-%COMP%]:first-child{padding-right:19px}@media(max-width:767px){ .modal-content{padding:.6rem!important}}.modal-body[_ngcontent-%COMP%]{height:1000px}.modal-body[_ngcontent-%COMP%] .no-border[_ngcontent-%COMP%]{border:none}.modal-body[_ngcontent-%COMP%] clr-control-error{color:#903;font-size:14px;line-height:24px}.modal-body[_ngcontent-%COMP%] .clr-control-container{margin-top:0}.modal-body[_ngcontent-%COMP%] .input-text[_ngcontent-%COMP%] .clr-select-wrapper{margin-top:9px}.modal-body[_ngcontent-%COMP%] .input-text[_ngcontent-%COMP%] cds-icon{display:none}.modal-body[_ngcontent-%COMP%] .input-text[_ngcontent-%COMP%] .select[_ngcontent-%COMP%]{border-radius:6px;background-color:#fff;border:solid 1px rgba(151,151,151,.29);font-size:18px;min-height:45px;width:100%}.modal-footer[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;gap:.5rem}@media(max-width:767px){.modal-footer[_ngcontent-%COMP%]{padding-top:25px;justify-content:center;flex-wrap:wrap;gap:.6rem}}.sr-only[_ngcontent-%COMP%]{position:absolute;top:0;left:0;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}[_nghost-%COMP%] .modal-backdrop{opacity:var(--clr-modal-backdrop-opacity, .85)!important;background-color:#333!important;z-index:1040!important;position:fixed!important;inset:0!important;display:flex!important;align-items:center!important;justify-content:center!important;pointer-events:none!important}[_nghost-%COMP%] .modal-content{padding:1.2rem}[_nghost-%COMP%] .modal-body{padding:unset!important} .modal-footer .btn{color:#fff;background-color:#903;border:unset}[_nghost-%COMP%] .modal-footer .btn:focus-visible{outline:2px solid black;outline-offset:2px;box-shadow:none} .modal-header--accessible{display:flex;justify-content:unset;padding:unset!important;margin-top:24px;padding-bottom:24px!important}[_nghost-%COMP%] .modal-footer .btn:disabled, [_nghost-%COMP%] .modal-footer .btn[disabled], [_nghost-%COMP%] .modal-footer .btn.disabled, [_nghost-%COMP%] .modal-footer .btn[aria-disabled=true]{opacity:.4!important}[_nghost-%COMP%] .table .clr-checkbox-wrapper{display:flex;align-items:center}[_nghost-%COMP%] .table .clr-checkbox-wrapper .clr-control-label{flex:1 1 auto;position:relative;padding-inline-start:0!important;padding-inline-end:1.5rem!important;margin:0;display:inline-block;min-height:1.25rem}[_nghost-%COMP%] .table .clr-checkbox-wrapper .clr-control-label:before, [_nghost-%COMP%] .table .clr-checkbox-wrapper .clr-control-label:after{left:auto!important;right:0!important;margin:0!important}[_nghost-%COMP%] .table .clr-checkbox-wrapper, [_nghost-%COMP%] .table .clr-checkbox-wrapper .clr-control-label{cursor:pointer}[_nghost-%COMP%] .clr-checkbox-wrapper input[type=checkbox]:checked:after{border-left-color:#903!important;border-bottom-color:#903!important;display:inline-block!important}"]})}}return e})();var ece=(()=>{class e{constructor(){}ngOnInit(){}static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275cmp=Me({type:e,selectors:[["app-common-funds-print-cover"]],standalone:!1,decls:22,vars:0,consts:[[1,"print-cover","printElementCover"],[1,"cover-image"],["src","../../../assets/pic.png",1,"service-image"],[1,"cover-info"],[1,"info-card"],[1,"simple-card-style"],[1,"report-info"],["id","coverReportName"],["id","coverUserName"],["id","coverUserSurname"],["id","coverUserTaxCode"],[1,"logo-hq"],["src","../../../assets/logoHQ.png",1,"logoHQ"]],template:function(i,r){i&1&&(F(0,"div",0)(1,"div",1)(2,"div"),ye(3,"img",2),P()(),F(4,"div",3)(5,"div",4)(6,"div",5)(7,"div",6)(8,"h1"),q(9,"Anima Digital Platform"),P(),F(10,"h1"),q(11,"Fondi Comuni"),P(),ye(12,"h1",7),F(13,"h2"),ye(14,"span",8),q(15,"\xA0"),ye(16,"span",9),P(),F(17,"h2"),ye(18,"span",10),P()()()(),F(19,"div",11)(20,"span"),ye(21,"img",12),P()()()())},styles:["@media print{ .printElementCover_1{display:flex;align-items:center;justify-content:center;page-break-inside:avoid;flex-direction:row}}@media print and (orientation:landscape){ .printElementCover_1{height:210mm}}@media print and (orientation:portrait){ .printElementCover_1{height:371mm;page-break-after:always}}@media print{ .printElementCover_1 .background-image{position:absolute;margin-left:150px}}@media print and (orientation:landscape){ .printElementCover_1 .background-image{height:200mm}}@media print and (orientation:portrait){ .printElementCover_1 .background-image{height:371mm}}@media print{ .printElementCover_1 .cover-image{width:150mm} .printElementCover_1 .cover-image .service-image{width:500px} .printElementCover_1 .cover-info{display:flex;flex-direction:column}}@media print and (orientation:landscape){ .printElementCover_1 .cover-info{width:135mm}}@media print and (orientation:portrait){ .printElementCover_1 .cover-info{width:125mm}}@media print{ .printElementCover_1 .cover-info h1:first-child{font-weight:700;margin-top:unset} .printElementCover_1 .cover-info .info-card .simple-card-style{padding:50px;border:1px solid #222b30;border-radius:30px 0 0 30px} .printElementCover_1 .cover-info .logo-hq{padding-top:50px;justify-content:center;display:flex} .printElementCover_1 .cover-info .logoHQ{margin-top:30px;width:173px;margin-left:42px;margin-bottom:26px}}@media screen{.print-cover[_ngcontent-%COMP%]{display:none}}"]})}}return e})();function tce(e,n){if(e&1){let t=ze();F(0,"li")(1,"a",8),oe("click",function(){ee(t);let r=z(2);return te(r.link("/position"))})("keydown.enter",function(){ee(t);let r=z(2);return te(r.link("/position"))}),q(2),Z(3,"translate"),P(),F(4,"ul")(5,"li")(6,"a",7),oe("keydown.enter",function(){ee(t);let r=z(2);return te(r.link("/position"))})("click",function(){ee(t);let r=z(2);return te(r.link("/position"))}),q(7),Z(8,"translate"),P()(),F(9,"li")(10,"a",7),oe("keydown.enter",function(){ee(t);let r=z(2);return te(r.link("/position/transactions-page"))})("click",function(){ee(t);let r=z(2);return te(r.link("/position/transactions-page"))}),q(11),Z(12,"translate"),P()(),F(13,"li")(14,"a",7),oe("keydown.enter",function(){ee(t);let r=z(2);return te(r.link("/position/ptf-analysis-page"))})("click",function(){ee(t);let r=z(2);return te(r.link("/position/ptf-analysis-page"))}),q(15),Z(16,"translate"),P()(),F(17,"li")(18,"a",7),oe("keydown.enter",function(){ee(t);let r=z(2);return te(r.link("/position/fiscal-info-page"))})("click",function(){ee(t);let r=z(2);return te(r.link("/position/fiscal-info-page"))}),q(19),Z(20,"translate"),P()()()()}e&2&&(E(2),Ie(X(3,5,"PAGE_POSITION")),E(5),Ie(X(8,7,"GLOBAL_POSITION.TABS.OVERVIEW")),E(4),Ie(X(12,9,"GLOBAL_POSITION.TABS.TRANSACTIONS")),E(4),Ie(X(16,11,"GLOBAL_POSITION.TABS.PTF_ANALYSIS")),E(4),Ie(X(20,13,"GLOBAL_POSITION.TABS.FISCAL_INFO")))}function nce(e,n){if(e&1){let t=ze();F(0,"li")(1,"a",9),oe("click",function(){ee(t);let r=z(2);return te(r.link("/common-funds"))}),q(2),Z(3,"translate"),P(),F(4,"ul")(5,"li")(6,"a",7),oe("keydown.enter",function(){ee(t);let r=z(2);return te(r.link("/common-funds"))})("click",function(){ee(t);let r=z(2);return te(r.link("/common-funds"))}),q(7),Z(8,"translate"),P()(),F(9,"li")(10,"a",7),oe("keydown.enter",function(){ee(t);let r=z(2);return te(r.link("/common-funds/switch-page"))})("click",function(){ee(t);let r=z(2);return te(r.link("/common-funds/switch-page"))}),q(11),Z(12,"translate"),P()(),F(13,"li")(14,"a",7),oe("keydown.enter",function(){ee(t);let r=z(2);return te(r.link("/common-funds/redemption-page"))})("click",function(){ee(t);let r=z(2);return te(r.link("/common-funds/redemption-page"))}),q(15),Z(16,"translate"),P()(),F(17,"li")(18,"a",7),oe("keydown.enter",function(){ee(t);let r=z(2);return te(r.link("/common-funds/active-services-page"))})("click",function(){ee(t);let r=z(2);return te(r.link("/common-funds/active-services-page"))}),q(19),Z(20,"translate"),P()()()()}e&2&&(E(2),Ie(X(3,5,"PAGE_COMMON_FUNDS")),E(5),Ie(X(8,7,"COMMON_FUNDS.TABS.SUBSCRIPTION")),E(4),Ie(X(12,9,"COMMON_FUNDS.TABS.SWITCH")),E(4),Ie(X(16,11,"COMMON_FUNDS.TABS.REDEMPTION")),E(4),Ie(X(20,13,"COMMON_FUNDS.TABS.ACTIVE_SERVICES")))}function ice(e,n){if(e&1){let t=ze();F(0,"li")(1,"a",7),oe("keydown.enter",function(){ee(t);let r=z(3);return te(r.link("/pension-funds"))})("click",function(){ee(t);let r=z(3);return te(r.link("/pension-funds"))}),q(2),Z(3,"translate"),P()()}e&2&&(E(2),Ie(X(3,1,"PENSION_FUNDS.TABS.OVERVIEW")))}function rce(e,n){if(e&1){let t=ze();F(0,"li")(1,"a",7),oe("keydown.enter",function(){ee(t);let r=z(3);return te(r.link("/pension-funds"))})("click",function(){ee(t);let r=z(3);return te(r.link("/pension-funds"))}),q(2),Z(3,"translate"),P()()}e&2&&(E(2),Ie(X(3,1,"PENSION_FUNDS.TABS.MEMBERSHIP")))}function oce(e,n){if(e&1){let t=ze();F(0,"li")(1,"a",7),oe("keydown.enter",function(){ee(t);let r=z(3);return te(r.link("/pension-funds?tab=withdrawal"))})("click",function(){ee(t);let r=z(3);return te(r.link("/pension-funds?tab=withdrawal"))}),q(2),Z(3,"translate"),P()()}e&2&&(E(2),Ie(X(3,1,"PENSION_FUNDS.TABS.WITHDRAWAL")))}function sce(e,n){if(e&1){let t=ze();F(0,"li")(1,"a",7),oe("keydown.enter",function(){ee(t);let r=z(2);return te(r.link("/pension-funds"))})("click",function(){ee(t);let r=z(2);return te(r.link("/pension-funds"))}),q(2),Z(3,"translate"),P(),F(4,"ul"),ue(5,ice,4,3,"li",6)(6,rce,4,3,"li",6)(7,oce,4,3,"li",6),P()()}if(e&2){let t=z(2);E(2),Ie(X(3,4,"DOCUMENTS.TABS.PENSION_FUND")),E(3),L("ngIf",t.isUserLight||!t.isUserLight&&t.hasPensionFundMembership),E(),L("ngIf",!t.isUserLight&&!t.isMobile()),E(),L("ngIf",!t.isMobile()&&(t.isUserLight||!t.isUserLight&&t.isWithdrawalEnabled))}}function ace(e,n){if(e&1){let t=ze();F(0,"li")(1,"a",7),oe("keydown.enter",function(){ee(t);let r=z(2);return te(r.link("/catalogue"))})("click",function(){ee(t);let r=z(2);return te(r.link("/catalogue"))}),q(2),Z(3,"translate"),P()()}e&2&&(E(2),Ie(X(3,1,"PAGE_CATALOGUE")))}function lce(e,n){if(e&1){let t=ze();F(0,"li")(1,"a",7),oe("keydown.enter",function(){ee(t);let r=z(2);return te(r.link("/documents"))})("click",function(){ee(t);let r=z(2);return te(r.link("/documents"))}),q(2),Z(3,"translate"),P()()}e&2&&(E(2),Ie(X(3,1,"PAGE_DOCUMENTS")))}function cce(e,n){if(e&1){let t=ze();F(0,"li")(1,"a",7),oe("keydown.enter",function(){ee(t);let r=z(2);return te(r.link("/profile?tab=3"))})("click",function(){ee(t);let r=z(2);return te(r.link("/profile?tab=3"))}),q(2),Z(3,"translate"),P()()}e&2&&(E(2),Ie(X(3,1,"PROFILE.TABS.ACCOUNT")))}function dce(e,n){if(e&1){let t=ze();F(0,"li")(1,"a",7),oe("keydown.enter",function(){ee(t);let r=z(2);return te(r.link("/profile?tab=4"))})("click",function(){ee(t);let r=z(2);return te(r.link("/profile?tab=4"))}),q(2),Z(3,"translate"),P()()}e&2&&(E(2),Ie(X(3,1,"PROFILE.TABS.SURVEY")))}function uce(e,n){if(e&1){let t=ze();F(0,"li")(1,"a",7),oe("keydown.enter",function(){ee(t);let r=z(2);return te(r.link("/profile?tab=5"))})("click",function(){ee(t);let r=z(2);return te(r.link("/profile?tab=5"))}),q(2),Z(3,"translate"),P()()}e&2&&(E(2),Ie(X(3,1,"PROFILE.TABS.DELEGATIONS")))}function hce(e,n){if(e&1){let t=ze();F(0,"ul",4)(1,"li")(2,"a",5),oe("keydown.enter",function(){ee(t);let r=z();return te(r.link("/home"))})("click",function(){ee(t);let r=z();return te(r.link("/home"))}),q(3),Z(4,"translate"),P()(),ue(5,tce,21,15,"li",6)(6,nce,21,15,"li",6)(7,sce,8,6,"li",6)(8,ace,4,3,"li",6)(9,lce,4,3,"li",6),F(10,"li")(11,"a",7),oe("keydown.enter",function(){ee(t);let r=z();return te(r.link("/profile"))})("click",function(){ee(t);let r=z();return te(r.link("/profile"))}),q(12),Z(13,"translate"),P(),F(14,"ul")(15,"li")(16,"a",7),oe("keydown.enter",function(){ee(t);let r=z();return te(r.link("/profile"))})("click",function(){ee(t);let r=z();return te(r.link("/profile"))}),q(17),Z(18,"translate"),P()(),F(19,"li")(20,"a",7),oe("keydown.enter",function(){ee(t);let r=z();return te(r.link("/profile?tab=2"))})("click",function(){ee(t);let r=z();return te(r.link("/profile?tab=2"))}),q(21),Z(22,"translate"),P()(),ue(23,cce,4,3,"li",6)(24,dce,4,3,"li",6)(25,uce,4,3,"li",6),P()(),F(26,"li")(27,"a",7),oe("keydown.enter",function(){ee(t);let r=z();return te(r.link("/communicate-with-us"))})("click",function(){ee(t);let r=z();return te(r.link("/communicate-with-us"))}),q(28),Z(29,"translate"),P()()()}if(e&2){let t=z();E(3),Ie(X(4,13,"HOME_PAGE_SITEMAP")),E(2),L("ngIf",!t.isUserServiceNone),E(),L("ngIf",!t.isUserLight&&!t.isUserServiceNone),E(),L("ngIf",!t.isDisablePensionFund),E(),L("ngIf",!t.isUserServiceNone),E(),L("ngIf",!t.isUserServiceNone),E(3),Ie(X(13,15,"PAGE_PROFILE")),E(5),Ie(X(18,17,"PROFILE.TABS.INFO")),E(4),Ie(X(22,19,"PROFILE.TABS.DATA")),E(2),L("ngIf",t.isUserFull),E(),L("ngIf",t.isUserFull),E(),L("ngIf",!t.isMobile()),E(3),Ie(X(29,21,"PAGE_COMMUNICATE_WITH_US"))}}function pce(e,n){if(e&1){let t=ze();F(0,"li")(1,"a",7),oe("keydown.enter",function(){ee(t);let r=z(2);return te(r.linkLegalOrDelegate("/legal-person/:userSubjectId/position"))})("click",function(){ee(t);let r=z(2);return te(r.linkLegalOrDelegate("/legal-person/:userSubjectId/position"))}),q(2),Z(3,"translate"),P(),F(4,"ul")(5,"li")(6,"a",7),oe("keydown.enter",function(){ee(t);let r=z(2);return te(r.linkLegalOrDelegate("/legal-person/:userSubjectId/position"))})("click",function(){ee(t);let r=z(2);return te(r.linkLegalOrDelegate("/legal-person/:userSubjectId/position"))}),q(7),Z(8,"translate"),P()(),F(9,"li")(10,"a",7),oe("keydown.enter",function(){ee(t);let r=z(2);return te(r.linkLegalOrDelegate("/legal-person/:userSubjectId/position/transactions-page"))})("click",function(){ee(t);let r=z(2);return te(r.linkLegalOrDelegate("/legal-person/:userSubjectId/position/transactions-page"))}),q(11),Z(12,"translate"),P()(),F(13,"li")(14,"a",7),oe("keydown.enter",function(){ee(t);let r=z(2);return te(r.linkLegalOrDelegate("/legal-person/:userSubjectId/position/ptf-analysis-page"))})("click",function(){ee(t);let r=z(2);return te(r.linkLegalOrDelegate("/legal-person/:userSubjectId/position/ptf-analysis-page"))}),q(15),Z(16,"translate"),P()(),F(17,"li")(18,"a",7),oe("keydown.enter",function(){ee(t);let r=z(2);return te(r.linkLegalOrDelegate("/legal-person/:userSubjectId/position/fiscal-info-page"))})("click",function(){ee(t);let r=z(2);return te(r.linkLegalOrDelegate("/legal-person/:userSubjectId/position/fiscal-info-page"))}),q(19),Z(20,"translate"),P()()()()}e&2&&(E(2),Ie(X(3,5,"PAGE_POSITION")),E(5),Ie(X(8,7,"GLOBAL_POSITION.TABS.OVERVIEW")),E(4),Ie(X(12,9,"GLOBAL_POSITION.TABS.TRANSACTIONS")),E(4),Ie(X(16,11,"GLOBAL_POSITION.TABS.PTF_ANALYSIS")),E(4),Ie(X(20,13,"GLOBAL_POSITION.TABS.FISCAL_INFO")))}function fce(e,n){if(e&1){let t=ze();F(0,"li")(1,"a",7),oe("keydown.enter",function(){ee(t);let r=z(2);return te(r.linkLegalOrDelegate("/legal-person/:userSubjectId/documents"))})("click",function(){ee(t);let r=z(2);return te(r.linkLegalOrDelegate("/legal-person/:userSubjectId/documents"))}),q(2),Z(3,"translate"),P()()}e&2&&(E(2),Ie(X(3,1,"PAGE_DOCUMENTS")))}function gce(e,n){if(e&1&&(F(0,"ul",4),ue(1,pce,21,15,"li",6)(2,fce,4,3,"li",6),P()),e&2){let t=z();E(),L("ngIf",!t.isUserServiceNone),E(),L("ngIf",!t.isUserServiceNone)}}function mce(e,n){if(e&1){let t=ze();F(0,"li")(1,"a",7),oe("keydown.enter",function(){ee(t);let r=z(2);return te(r.linkLegalOrDelegate("/delegates/:userSubjectId/position"))})("click",function(){ee(t);let r=z(2);return te(r.linkLegalOrDelegate("/delegates/:userSubjectId/position"))}),q(2),Z(3,"translate"),P(),F(4,"ul")(5,"li")(6,"a",7),oe("keydown.enter",function(){ee(t);let r=z(2);return te(r.linkLegalOrDelegate("/delegates/:userSubjectId/position"))})("click",function(){ee(t);let r=z(2);return te(r.linkLegalOrDelegate("/delegates/:userSu
40bjectId/position"))}),q(7),Z(8,"translate"),P()(),F(9,"li")(10,"a",7),oe("keydown.enter",function(){ee(t);let r=z(2);return te(r.linkLegalOrDelegate("/delegates/:userSubjectId/position/transactions-page"))})("click",function(){ee(t);let r=z(2);return te(r.linkLegalOrDelegate("/delegates/:userSubjectId/position/transactions-page"))}),q(11),Z(12,"translate"),P()(),F(13,"li")(14,"a",7),oe("keydown.enter",function(){ee(t);let r=z(2);return te(r.linkLegalOrDelegate("/delegates/:userSubjectId/position/ptf-analysis-page"))})("click",function(){ee(t);let r=z(2);return te(r.linkLegalOrDelegate("/delegates/:userSubjectId/position/ptf-analysis-page"))}),q(15),Z(16,"translate"),P()(),F(17,"li")(18,"a",7),oe("keydown.enter",function(){ee(t);let r=z(2);return te(r.linkLegalOrDelegate("/delegates/:userSubjectId/position/fiscal-info-page"))})("click",function(){ee(t);let r=z(2);return te(r.linkLegalOrDelegate("/delegates/:userSubjectId/position/fiscal-info-page"))}),q(19),Z(20,"translate"),P()()()()}e&2&&(E(2),Ie(X(3,5,"PAGE_POSITION")),E(5),Ie(X(8,7,"GLOBAL_POSITION.TABS.OVERVIEW")),E(4),Ie(X(12,9,"GLOBAL_POSITION.TABS.TRANSACTIONS")),E(4),Ie(X(16,11,"GLOBAL_POSITION.TABS.PTF_ANALYSIS")),E(4),Ie(X(20,13,"GLOBAL_POSITION.TABS.FISCAL_INFO")))}function vce(e,n){if(e&1&&(F(0,"ul",4),ue(1,mce,21,15,"li",6),P()),e&2){let t=z();E(),L("ngIf",!t.isUserServiceNone)}}Le.addIcons(cg);var Cce=(()=>{class e{constructor(t,i,r,o,l,p){this.router=t,this.store$=i,this.titleService=r,this.activatedRouter=o,this.appService=l,this.config=p,this.isUserLight=!1,this.isUserFull=!1,this.isUserServiceNone=!1,this.previnetCode=void 0,this.isDisablePensionFund=!1,this.hasPensionFundMembership=!1,this.isWithdrawalEnabled=!1,this.isLegalPerson=!1,this.isDelegates=!1,this.userSubjectId=void 0,this.destroyed$=new Qe}ngOnInit(){this.initRouteFlags(),this.initStoreBindings()}ngOnDestroy(){this.destroyed$.next(),this.destroyed$.complete()}link(t){t&&t.length>0?this.router.navigateByUrl(t):this.router.navigate(["/home"])}linkLegalOrDelegate(t){t&&t.length>0?this.router.navigate([t.replace(":userSubjectId",this.userSubjectId),{userSubjectId:this.userSubjectId}]):this.router.navigate(["/home"])}isMobile(){return this.appService.isMobileBrowser()}initRouteFlags(){this.activatedRouter.data.pipe(vi(this.destroyed$)).subscribe(t=>{this.isLegalPerson=!!t.legalPerson,this.isDelegates=!!t.delegates}),this.activatedRouter.params.pipe(vi(this.destroyed$)).subscribe(t=>{this.userSubjectId=t.userSubjectId})}initStoreBindings(){let t=this.store$.select(Gi.selectUser).pipe(vi(this.destroyed$),qt(o=>!!o));t.pipe(pn(o=>{this.isUserLight=o?.service===xy,this.isUserServiceNone=o?.service===Hg,this.previnetCode=o?.userLight?.previnetCode})).subscribe(),t.pipe(fe(o=>o?.taxCode),pn(o=>{o&&this.isDisablePensionFund==null&&this.store$.dispatch(new Fd.PensionFundsInfoRequestAction({taxCode:o}))})).subscribe(),this.store$.select(Gi.selectIsUserFull).pipe(vi(this.destroyed$)).subscribe(o=>this.isUserFull=o);let i=this.store$.select(Vd.selectPensioFundsInfo).pipe(vi(this.destroyed$),qt(o=>!!o));i.pipe(fe(o=>!!o.hasMembership)).subscribe(o=>{this.hasPensionFundMembership=o,this.isDisablePensionFund=!o||this.isUserServiceNone}),this.store$.select(Vd.selectPensionFundsWhithdrawal).pipe(qt(o=>o!=null),vi(this.destroyed$)).subscribe(o=>{this.isWithdrawalEnabled=Array.isArray(o)&&o.length>0&&this.config.isEnableWithdrawal});let r=t.pipe(fe(o=>o?.service===Hg),ys());_s([i.pipe(fe(o=>!!o.hasMembership)),r]).pipe(vi(this.destroyed$)).subscribe(([o,l])=>{this.isUserServiceNone=l,this.hasPensionFundMembership=o,this.isDisablePensionFund=!o&&this.isMobile()||l})}static{this.\u0275fac=function(i){return new(i||e)(A(Qn),A(an),A(NC),A(Qr),A(yi),A(Mn))}}static{this.\u0275cmp=Me({type:e,selectors:[["app-site-map"]],standalone:!1,decls:9,vars:6,consts:[["aria-label","Mappa del sito",1,"site-map"],[1,"header"],[1,"header-title"],["class","elements",4,"ngIf"],[1,"elements"],["autofocus","","role","link","tabindex","0",3,"keydown.enter","click"],[4,"ngIf"],["role","link","tabindex","0",3,"keydown.enter","click"],["role","link","tabindex","0",3,"click","keydown.enter"],["role","link","tabindex","0",3,"click"]],template:function(i,r){i&1&&(F(0,"nav",0)(1,"div",1)(2,"div",2)(3,"h1"),q(4),Z(5,"translate"),P()()(),ue(6,hce,30,23,"ul",3)(7,gce,3,2,"ul",3)(8,vce,2,1,"ul",3),P()),i&2&&(E(4),Ie(X(5,4,"PAGE_SITE_MAP")),E(2),L("ngIf",!r.isLegalPerson&&!r.isDelegates),E(),L("ngIf",r.isLegalPerson),E(),L("ngIf",r.isDelegates))},dependencies:[rt,At],styles:[".site-map[_ngcontent-%COMP%]{margin:auto}.site-map[_ngcontent-%COMP%] h1[_ngcontent-%COMP%], .site-map[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font-weight:700;margin-top:unset;margin-bottom:50px}.site-map[_ngcontent-%COMP%] .header[_ngcontent-%COMP%]{display:flex;flex-direction:row;flex-wrap:nowrap;align-content:center;align-items:center;justify-content:space-between;background-color:#fff}.site-map[_ngcontent-%COMP%] .header[_ngcontent-%COMP%] .header-title[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{font-size:30px!important;font-weight:500;font-stretch:normal;font-style:normal;line-height:normal;letter-spacing:.23px;text-transform:uppercase;text-align:left;color:#000}.site-map[_ngcontent-%COMP%] .header[_ngcontent-%COMP%] .header-title[_ngcontent-%COMP%] h1[_ngcontent-%COMP%] .tile[_ng
40content-%COMP%]{background-color:#903;width:48px;height:48px;font-size:1.5em;color:#fff;border-radius:5px;text-align:center;display:table;margin-right:20px}.site-map[_ngcontent-%COMP%] .header[_ngcontent-%COMP%] .header-title[_ngcontent-%COMP%] h1[_ngcontent-%COMP%] .tile[_ngcontent-%COMP%] cds-icon[_ngcontent-%COMP%]{display:table-cell;padding:15%}.site-map[_ngcontent-%COMP%] .elements[_ngcontent-%COMP%]{font-size:18px;cursor:pointer}.site-map[_ngcontent-%COMP%] .elements[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{font-weight:700;margin-top:20px}.site-map[_ngcontent-%COMP%] .elements[_ngcontent-%COMP%] *[_ngcontent-%COMP%]{margin-bottom:10px;margin-top:10px}.site-map[_ngcontent-%COMP%] .elements[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{margin-left:25px}.mobile[_nghost-%COMP%] .site-map[_ngcontent-%COMP%], .mobile [_nghost-%COMP%] .site-map[_ngcontent-%COMP%]{margin:10px}.mobile[_nghost-%COMP%] .header-title[_ngcontent-%COMP%] h1[_ngcontent-%COMP%], .mobile [_nghost-%COMP%] .header-title[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{margin:0}"]})}}return e})();var _ce=(()=>{class e{constructor(t,i,r){this.route=t,this.router=i,this.registrationService=r}ngOnInit(){(this.route.snapshot.queryParams.type==="SPID"||this.route.snapshot.queryParams.type==="CIE")&&this.route.snapshot.queryParams.status.toLowerCase()!=="success"?(this.route.snapshot.queryParams.type==="SPID"?this.registrationService.forceNewSPIDRegistration().pipe(Hn(1)).subscribe(t=>console.log("Force new SPID Registration")):this.route.snapshot.queryParams.type==="CIE"&&this.registrationService.forceNewCIERegistration().pipe(Hn(1)).subscribe(t=>console.log("Force new CIE Registration")),this.router.navigate(["registered","mode","full"],{queryParams:{type:this.route.snapshot.queryParams.type}})):this.route.snapshot.queryParams.type==="SPID"?this.registrationService.completeSPIDRegistration().pipe(Hn(1)).subscribe(t=>this.router.navigate(["registered","mode","full","document"],{queryParams:{type:"SPID"}})):this.route.snapshot.queryParams.type==="CIE"&&this.registrationService.completeCIERegistration().pipe(Hn(1)).subscribe(t=>this.router.navigate(["registered","mode","full","document"],{queryParams:{type:"CIE"}}))}static{this.\u0275fac=function(i){return new(i||e)(A(Qr),A(Qn),A(Yy))}}static{this.\u0275cmp=Me({type:e,selectors:[["app-redirect-page"]],standalone:!1,decls:3,vars:0,consts:[[2,"height","60vh","min-height","500px","position","relative"],[1,"clr-row","clr-justify-content-center","clr-align-items-center",2,"position","absolute","left","50%","top","50%","transform","translate(-50%, -50%)"]],template:function(i,r){i&1&&(F(0,"div",0)(1,"div",1),ye(2,"clr-spinner"),P()())},dependencies:[Sy],encapsulation:2})}}return e})();function yce(e,n){if(e&1){let t=ze();F(0,"div",1)(1,"div",2)(2,"div",3)(3,"div",4)(4,"h3",5),q(5),Z(6,"translate"),P()(),ye(7,"div",6),Z(8,"translate"),F(9,"div",7)(10,"div",8)(11,"input",9),oe("change",function(r){ee(t);let o=z();return te(o.doNotShowAgain=r.target.checked)}),P(),F(12,"label",10),q(13),Z(14,"translate"),P()()(),F(15,"div",11)(16,"button",12),oe("click",function(){ee(t);let r=z();return te(r.confirm())}),q(17),Z(18,"translate"),P()()()()()}if(e&2){let t=z();E(5),Ae(" ",X(6,5,"HOME.MODAL.IDENTITYCARD.TITLE"),""),E(2),L("innerHTML",X(8,7,"HOME.MODAL.IDENTITYCARD.MESSAGE"),mr),E(4),L("checked",t.doNotShowAgain),E(2),Ie(X(14,9,"HOME.MODAL.IDENTITYCARD.DO_NOT_SHOW_AGAIN")),E(4),Ae(" ",X(18,11,"HOME.MODAL.IDENTITYCARD.CONFIRM"),"")}}var bce=(()=>{class e{constructor(t,i){this.store$=t,this.userService=i,this.doNotShowAgain=!1,this.isOpen=!1}ngOnInit(){}confirm(){this.isOpen=!1,this.store$.dispatch(new Pd.MarkIdentityCardModalShownAction),this.doNotShowAgain&&this.userService.acceptIdentityCardWarning().subscribe()}static{this.\u0275fac=function(i){return new(i||e)(A(an),A(ds))}}static{this.\u0275cmp=Me({type:e,selectors:[["app-identitycard-simple-modal"]],inputs:{isOpen:"isOpen"},standalone:!1,decls:1,vars:1,consts:[["class","modal simple-modal-z-index",4,"ngIf"],[1,"modal","simple-modal-z-index"],["role","dialog",1,"modal-dialog"],[1,"modal-content"],[1,"modal-header","justify-content-center"],[1,"modal-title"],[1,"modal-body","modal-body--left",3,"innerHTML"],[1,"modal-body","modal-body--left"],[1,"form-check","d-inline-flex","align-items-center"],["type","checkbox","id","doNotShowAgain",1,"form-check-input",3,"change","checked"],["for","doNotShowAgain",1,"form-check-label","do-not-show-label","ms-2"],[1,"modal-footer","modal
40-footer--center","clr-justify-content-center"],["type","button",1,"btn","btn-primary","responsive-button",3,"click"]],template:function(i,r){i&1&&ue(0,yce,19,13,"div",0),i&2&&L("ngIf",r.isOpen)},dependencies:[Bi,Tn,rt,At],styles:['img[_ngcontent-%COMP%]{height:100%;width:100%}.modal-title[_ngcontent-%COMP%]{font-size:22px!important;font-weight:500!important;font-stretch:normal;font-style:normal;line-height:normal;letter-spacing:normal;text-align:center!important;color:#903!important;margin-top:30px}.justify-content-center[_ngcontent-%COMP%]{display:flex;flex-direction:column;justify-content:center;padding:unset}.justify-content-center[_ngcontent-%COMP%] h4[_ngcontent-%COMP%]{font-size:22px!important;font-weight:500!important;font-stretch:normal;font-style:normal;line-height:normal;letter-spacing:normal;text-align:left!important;color:#222b30!important}.modal-dialog[_ngcontent-%COMP%]{overflow-y:auto;border-radius:24px 0 0 24px}.modal-dialog[_ngcontent-%COMP%] .modal-content[_ngcontent-%COMP%]{box-shadow:none!important;border-radius:24px 0 0 24px}.cancel-button[_ngcontent-%COMP%]{margin-right:4%}.simple-modal-z-index[_ngcontent-%COMP%]{z-index:2000;display:flex;align-items:center;justify-content:center;background-color:#00000080}.modal-dialog[_ngcontent-%COMP%] .modal-content[_ngcontent-%COMP%]{background-color:#fff}.modal-body--center[_ngcontent-%COMP%]{text-align:center}.modal-footer--center[_ngcontent-%COMP%]{display:flex;justify-content:center}.modal-footer[_ngcontent-%COMP%]{padding:0;margin:0 auto;width:fit-content}.modal-footer[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{font-size:clamp(14px,2.8vw,16px);margin-left:0;min-width:auto}.modal-body--left[_ngcontent-%COMP%]{text-align:left;margin-top:16px}.do-not-show-label[_ngcontent-%COMP%]{font-weight:700}.confirm-button[_ngcontent-%COMP%]{font-size:18px;margin:0}.modal-alert[_ngcontent-%COMP%]{margin-bottom:10px}.responsability-text[_ngcontent-%COMP%]{text-align:center}.responsability-text[_ngcontent-%COMP%] .responsability-text-display[_ngcontent-%COMP%]{display:inline-block}.responsability-text[_ngcontent-%COMP%] .responsability-text-display[_ngcontent-%COMP%] .radio-option[_ngcontent-%COMP%]{display:flex;align-items:center;gap:8px;margin-bottom:10px}.responsability-text[_ngcontent-%COMP%] .responsability-text-display[_ngcontent-%COMP%] .radio-option[_ngcontent-%COMP%] .radio-inline[_ngcontent-%COMP%]{display:inline-block;vertical-align:middle;margin-right:10px}.responsive-button[_ngcontent-%COMP%]{font-family:Lato;border-radius:9px 0 0 9px;margin-top:30px;padding:0 50px}.responsive-button.btn.btn-primary[_ngcontent-%COMP%]{background-color:#903!important;border-color:#903!important;color:#fff!important}input[type=radio][_ngcontent-%COMP%]{appearance:none;background-color:#fff;width:24px;height:24px;border:1px solid #979797;border-radius:5px;display:inline-grid;place-content:center}input[type=radio][_ngcontent-%COMP%]:before{content:"";width:10px;height:10px;transform:scale(0);transform-origin:bottom left;background-color:#903;clip-path:polygon(13% 50%,34% 66%,81% 2%,100% 18%,39% 100%,0 71%)}input[type=radio][_ngcontent-%COMP%]:checked:before{transform:scale(1)}input[type=radio][_ngcontent-%COMP%]:checked{background-color:#fff;border:1px solid #979797}.margin-bottom-style[_ngcontent-%COMP%]{margin-bottom:30px}.modal-body[_ngcontent-%COMP%]{max-height:none}[_nghost-%COMP%] .modal-backdrop{opacity:var(--clr-modal-backdrop-opacity, .85)!important;background-color:#333!important;z-index:1040!important;position:fixed!important;inset:0!important;display:flex!important;align-items:center!important;justify-content:center!important;pointer-events:none!important}[_nghost-%COMP%] .modal-content{padding:1.2rem}[_nghost-%COMP%] .modal-body{padding:unset!important;line-height:1.8} .modal-footer .btn{color:#fff} .modal-footer .btn .btn-primary .dt-btn-ok{color:#fff!important}[_nghost-%COMP%] .modal-footer .btn:disabled, [_nghost-%COMP%] .modal-footer .btn[disabled], [_nghost-%COMP%] .modal-footer .btn.disabled, [_nghost-%COMP%] .modal
40-footer .btn[aria-disabled=true]{opacity:.4!important}[_nghost-%COMP%] .modal-body cds-icon{block-size:24px;inline-size:24px}']})}}return e})();var n5e=(()=>{class e{static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275mod=We({type:e})}static{this.\u0275inj=$e({imports:[ND,LD,os,iw,HD,lw,hh,pt,Gg,Ea,ND,LD,os,iw,HD,lw,hh,pt,Gg]})}}return e})();export{Ye as a,jn as b,le as c,$e as d,me as e,ae as f,ge as g,Xt as h,ee as i,te as j,bde as k,Sde as l,kn as m,Gt as n,Ue as o,Rt as p,et as q,Ide as r,mr as s,Vl as t,Ru as u,PI as v,kI as w,E as x,Ll as y,Lt as z,A,Me as B,We as C,He as D,ns as E,xt as F,ue as G,t6 as H,De as I,L as J,is as K,Be as L,mf as M,Pu as N,ku as O,Pde as P,F as Q,P as R,ye as S,ri as T,oi as U,sa as V,ze as W,oe as X,z as Y,tn as Z,Ze as _,Li as $,aa,wn as ba,xn as ca,gt as da,mt as ea,fn as fa,q as ga,Ie as ha,Ae as ia,aE as ja,m6 as ka,Ij as la,yt as ma,It as na,bt as oa,Et as pa,la as qa,vr as ra,lE as sa,Z as ta,X as ua,sC as va,Aj as wa,kde as xa,Nu as ya,di as za,Yn as Aa,_n as Ba,cC as Ca,Bl as Da,Cr as Ea,rl as Fa,Dn as Ga,Ez as Ha,rn as Ia,rt as Ja,Gr as Ka,ol as La,n8 as Ma,Dz as Na,Mz as Oa,Oz as Pa,Rz as Qa,Pz as Ra,kz as Sa,pt as Ta,IC as Ua,NE as Va,tG as Wa,rG as Xa,Rf as Ya,Ct as Za,si as _a,kC as $a,TG as ab,MG as bb,NC as cb,Nf as db,Mh as eb,Hs as fb,At as gb,Gg as hb,Fs as ib,NW as jb,T_ as kb,Jt as lb,Cx as mb,_x as nb,LW as ob,fs as pb,_Te as qb,Qr as rb,Hx as sb,Qn as tb,oy as ub,hq as vb,hh as wb,Ia as xb,an as yb,Ce as zb,Ne as Ab,Jr as Bb,WT as Cb,Pd as Db,Ug as Eb,t7 as Fb,n7 as Gb,i7 as Hb,r7 as Ib,o7 as Jb,xy as Kb,Hg as Lb,Uye as Mb,Hye as Nb,Bye as Ob,jye as Pb,zye as Qb,wd as Rb,xd as Sb,Gye as Tb,$ye as Ub,c7 as Vb,xJ as Wb,Wye as Xb,d7 as Yb,Yye as Zb,qye as _b,Qye as $b,Zye as ac,Kye as bc,Xye as cc,Jye as dc,Gi as ec,Ki as fc,Gu as gc,go as hc,sl as ic,Vi as jc,da as kc,X8 as lc,Gl as mc,$l as nc,Wr as oc,Wl as pc,KC as qc,$f as rc,td as sc,JE as tc,XC as uc,ew as vc,Rs as wc,al as xc,ll as yc,Ps as zc,Yf as Ac,qf as Bc,tw as Cc,nw as Dc,Dh as Ec,Bt as Fc,tIe as Gc,nIe as Hc,iIe as Ic,rIe as Jc,oIe as Kc,sIe as Lc,aIe as Mc,lIe as Nc,cIe as Oc,us as Pc,dIe as Qc,uIe as Rc,hIe as Sc,pIe as Tc,fIe as Uc,Mn as Vc,ds as Wc,Nd as Xc,Ld as Yc,hN as Zc,w4 as _c,Lm as $c,M4 as ad,O4 as bd,R4 as cd,P4 as dd,N4 as ed,Ym as fd,Wy as gd,z4 as hd,Yy as id,W4 as jd,zs as kd,yi as ld,Z4 as md,UN as nd,Fd as od,Vd as pd,Qy as qd,oM as rd,ZN as sd,XN as td,CM as ud,rL as vd,ose as wd,dL as xd,Le as yd,ma as zd,og as Ad,Xw as Bd,Jw as Cd,Yr as Dd,_r as Ed,D_ as Fd,yr as Gd,ix as Hd,lx as Id,yW as Jd,qr as Kd,bW as Ld,ux as Md,SW as Nd,IW as Od,cg as Pd,EW as Qd,fx as Rd,br as Sd,Ls as Td,k1e as Ud,wW as Vd,xW as Wd,DW as Xd,Ho as Yd,TW as Zd,MW as _d,AW as $d,OW as ae,RW as be,PW as ce,Y1e as de,gx as ee,Z1e as fe,kW as ge,vx as he,VJ as ie,b7 as je,Bs as ke,ek as le,D3e as me,T3e as ne,M3e as oe,A3e as pe,O3e as qe,R3e as re,P3e as se,k3e as te,N3e as ue,L3e as ve,tk as we,nk as xe,F3e as ye,ik as ze,V3e as Ae,rk as Be,U3e as Ce,ok as De,H3e as Ee,sk as Fe,B3e as Ge,ak as He,j3e as Ie,lk as Je,z3e as Ke,G3e as Le,$3e as Me,fk as Ne,W3e as Oe,Y3e as Pe,q3e as Qe,Q3e as Re,Z3e as Se,K3e as Te,X3e as Ue,J3e as Ve,eSe as We,Ry as Xe,SL as Ye,Zt as Ze,aye as _e,lye as $e,Sd as af,NK as bf,uye as cf,hye as df,pye as ef,fye as ff,Tn as gf,xD as hf,Eh as if,gye as jf,Sy as kf,XK as lf,JK as mf,tX as nf,iX as of,mye as pf,vye as qf,oX as rf,BP as sf,Cye as tf,aX as uf,_ye as vf,gX as wf,yye as xf,vX as yf,SX as zf,IX as Af,bye as Bf,Vg as Cf,bh as Df,wy as Ef,kD as Ff,YP as Gf,Ed as Hf,wh as If,rJ as Jf,Eye as Kf,Ui as Lf,gJ as Mf,Dye as Nf,lr as Of,Bi as Pf,M1 as Qf,zae as Rf,HJ as Sf,K4e as Tf,X4e as Uf,ule as Vf,O1 as Wf,fle as Xf,bce as Yf,ibe as Zf,Sce as _f,kye as $f,Fy as ag,Ea as bg,Od as cg,Xae as dg,xM as eg,Uae as fg,Lye as gg,Nee as hg,$$ as ig,lw as jg,Ble as kg,ece as lg,dc as mg,yM as ng,jh as og,Wee as pg,_ce as qg,Cle as rg,vL as sg,Hae as tg,Yse as ug,jse as vg,Ky as wg,gae as xg,P1 as yg,Pae as zg,Qae as Ag,Ole as Bg,Gle as Cg,Rle as Dg,Zae as Eg,Cce as Fg,Jle as Gg,n5e as Hg};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.