@smals-belgium-shared/vidis-delivered-medication-detail 2.0.0 → 2.0.1-snapshot.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,37 @@
1
+ var rz=Object.defineProperty;var nh=e=>{throw TypeError(e)};var az=(e,t,r)=>t in e?rz(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;var s=(e,t,r)=>az(e,typeof t!="symbol"?t+"":t,r),rh=(e,t,r)=>t.has(e)||nh("Cannot "+r);var Xn=(e,t,r)=>(rh(e,t,"read from private field"),r?r.call(e):t.get(e)),ah=(e,t,r)=>t.has(e)?nh("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,r),ih=(e,t,r,n)=>(rh(e,t,"write to private field"),n?n.call(e,r):t.set(e,r),r);var iz=Object.create,Ps=Object.defineProperty,oz=Object.defineProperties,sz=Object.getOwnPropertyDescriptor,lz=Object.getOwnPropertyDescriptors,uz=Object.getOwnPropertyNames,ns=Object.getOwnPropertySymbols,cz=Object.getPrototypeOf,hc=Object.prototype.hasOwnProperty,vm=Object.prototype.propertyIsEnumerable,oh=(e,t,r)=>t in e?Ps(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,ge=(e,t)=>{for(var r in t||(t={}))hc.call(t,r)&&oh(e,r,t[r]);if(ns)for(var r of ns(t))vm.call(t,r)&&oh(e,r,t[r]);return e},Kt=(e,t)=>oz(e,lz(t)),dz=(e,t)=>{var r={};for(var n in e)hc.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&ns)for(var n of ns(e))t.indexOf(n)<0&&vm.call(e,n)&&(r[n]=e[n]);return r},te=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),re=(e,t)=>{for(var r in t)Ps(e,r,{get:t[r],enumerable:!0})},hz=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of uz(t))!hc.call(e,a)&&a!==r&&Ps(e,a,{get:()=>t[a],enumerable:!(n=sz(t,a))||n.enumerable});return e},bm=(e,t,r)=>(r=e!=null?iz(cz(e)):{},hz(t||!e||!e.__esModule?Ps(r,"default",{value:e,enumerable:!0}):r,e)),nr=(e,t,r)=>new Promise((n,a)=>{var i=h=>{try{l(r.next(h))}catch(u){a(u)}},o=h=>{try{l(r.throw(h))}catch(u){a(u)}},l=h=>h.done?n(h.value):Promise.resolve(h.value).then(i,o);l((r=r.apply(e,t)).next())}),pz=te((e,t)=>{(function(r,n){typeof e=="object"&&typeof t<"u"?t.exports=n():typeof define=="function"&&define.amd?define(n):(r=typeof globalThis<"u"?globalThis:r||self,r.MessageFormat=n())})(e,function(){var r=function(){return r=Object.assign||function(p){for(var f,v=1,y=arguments.length;v<y;v++){f=arguments[v];for(var _ in f)Object.prototype.hasOwnProperty.call(f,_)&&(p[_]=f[_])}return p},r.apply(this,arguments)};function n(p){var f=typeof Symbol=="function"&&Symbol.iterator,v=f&&p[f],y=0;if(v)return v.call(p);if(p&&typeof p.length=="number")return{next:function(){return p&&y>=p.length&&(p=void 0),{value:p&&p[y++],done:!p}}};throw new TypeError(f?"Object is not iterable.":"Symbol.iterator is not defined.")}function a(p,f){var v=typeof Symbol=="function"&&p[Symbol.iterator];if(!v)return p;var y=v.call(p),_,E=[],k;try{for(;(f===void 0||f-- >0)&&!(_=y.next()).done;)E.push(_.value)}catch(C){k={error:C}}finally{try{_&&!_.done&&(v=y.return)&&v.call(y)}finally{if(k)throw k.error}}return E}function i(p,f,v){if(arguments.length===2)for(var y=0,_=f.length,E;y<_;y++)(E||!(y in f))&&(E||(E=Array.prototype.slice.call(f,0,y)),E[y]=f[y]);return p.concat(E||Array.prototype.slice.call(f))}typeof SuppressedError=="function"&&SuppressedError;class o extends Error{constructor(f,v,y){super(f),this.token=v,this.type=y||"error"}}let l=p=>p<4?"short":p===4?"long":"narrow",h=p=>p%2===0?"2-digit":"numeric";function u(p,f){switch(p.char){case"y":return{year:h(p.width)};case"r":return{calendar:"gregory",year:"numeric"};case"u":case"U":case"Y":default:return f(`${p.desc} is not supported; falling back to year:numeric`,o.WARNING),{year:"numeric"}}}function c(p,f){switch(p.width){case 1:return"numeric";case 2:return"2-digit";case 3:return"short";case 4:return"long";case 5:return"narrow";default:f(`${p.desc} is not supported with width ${p.width}`);return}}function m(p,f){let{char:v,desc:y,width:_}=p;if(v==="d")return h(_);f(`${y} is not supported`)}function b(p,f){let{char:v,desc:y,width:_}=p;if((v==="c"||v==="e")&&_<3){let E=`Numeric value is not supported for ${y}; falling back to weekday:short`;f(E,o.WARNING)}return l(_)}function g(p){let f=h(p.width),v;switch(p.char){case"h":v="h12";break;case"H":v="h23";break;case"k":v="h24";break;case"K":v="h11";break}return v?{hour:f,hourCycle:v}:{hour:f}}function w(p,f){let{char:v,desc:y,width:_}=p;switch(v){case"v":case"z":return _===4?"long":"short";case"V":if(_===4)return"long";f(`${y} is not supported with width ${_}`);return;case"X":f(`${y} is not supported`);return}return"short"}function x(p,f){switch(p.field){case"era":return{era:l(p.width)};case"year":return u(p,f);case"month":return{month:c(p,f)};case"day":return{day:m(p,f)};case"weekday":return{weekday:b(p,f)};case"period":return;case"hour":return g(p);case"min":return{minute:h(p.width)};case"sec":return{second:h(p.width)};case"tz":return{timeZoneName:w(p,f)};case"quarter":case"week":case"sec-frac":case"ms":f(`${p.desc} is not supported`)}}function S(p,f){let v=arguments.length>2&&arguments[2]!==void 0?arguments[2]:E=>{throw E},y={timeZone:f},_=[];for(let E of p){let{error:k,field:C,str:T}=E;if(k){let J=new o(k.message,E);J.stack=k.stack,v(J)}if(T){let J=`Ignoring string part: ${T}`;v(new o(J,E,o.WARNING))}C&&(_.indexOf(C)===-1?_.push(C):v(new o(`Duplicate ${C} token`,E)));let F=x(E,(J,ie)=>v(new o(J,E,ie)));F&&Object.assign(y,F)}return y}let N={G:{field:"era",desc:"Era"},y:{field:"year",desc:"Year"},Y:{field:"year",desc:'Year of "Week of Year"'},u:{field:"year",desc:"Extended year"},U:{field:"year",desc:"Cyclic year name"},r:{field:"year",desc:"Related Gregorian year"},Q:{field:"quarter",desc:"Quarter"},q:{field:"quarter",desc:"Stand-alone quarter"},M:{field:"month",desc:"Month in year"},L:{field:"month",desc:"Stand-alone month in year"},w:{field:"week",desc:"Week of year"},W:{field:"week",desc:"Week of month"},d:{field:"day",desc:"Day in month"},D:{field:"day",desc:"Day of year"},F:{field:"day",desc:"Day of week in month"},g:{field:"day",desc:"Modified julian day"},E:{field:"weekday",desc:"Day of week"},e:{field:"weekday",desc:"Local day of week"},c:{field:"weekday",desc:"Stand-alone local day of week"},a:{field:"period",desc:"AM/PM marker"},b:{field:"period",desc:"AM/PM/noon/midnight marker"},B:{field:"period",desc:"Flexible day period"},h:{field:"hour",desc:"Hour in AM/PM (1~12)"},H:{field:"hour",desc:"Hour in day (0~23)"},k:{field:"hour",desc:"Hour in day (1~24)"},K:{field:"hour",desc:"Hour in AM/PM (0~11)"},j:{field:"hour",desc:"Hour in preferred cycle"},J:{field:"hour",desc:"Hour in preferred cycle without marker"},C:{field:"hour",desc:"Hour in preferred cycle with flexible marker"},m:{field:"min",desc:"Minute in hour"},s:{field:"sec",desc:"Second in minute"},S:{field:"sec-frac",desc:"Fractional second"},A:{field:"ms",desc:"Milliseconds in day"},z:{field:"tz",desc:"Time Zone: specific non-location"},Z:{field:"tz",desc:"Time Zone"},O:{field:"tz",desc:"Time Zone: localized"},v:{field:"tz",desc:"Time Zone: generic non-location"},V:{field:"tz",desc:"Time Zone: ID"},X:{field:"tz",desc:"Time Zone: ISO8601 with Z"},x:{field:"tz",desc:"Time Zone: ISO8601"}},L=p=>p>="A"&&p<="Z"||p>="a"&&p<="z";function A(p,f){let v=p[f],y=1;for(;p[++f]===v;)++y;let _=N[v];if(!_){let E=`The letter ${v} is not a valid field identifier`;return{char:v,error:new Error(E),width:y}}return{char:v,field:_.field,desc:_.desc,width:y}}function Y(p,f){let v=p[++f],y=2;if(v==="'")return{char:"'",str:v,width:y};for(;;){let _=p[++f];if(++y,_===void 0){let E=`Unterminated quoted literal in pattern: ${v||p}`;return{char:"'",error:new Error(E),str:v,width:y}}else if(_==="'"){if(p[++f]!=="'")return{char:"'",str:v,width:y};++y}v+=_}}function ne(p,f){let v=p[f];if(!v)return null;if(L(v))return A(p,f);if(v==="'")return Y(p,f);let y=v,_=1;for(;;){let E=p[++f];if(!E||L(E)||E==="'")return{char:v,str:y,width:_};y+=E,_+=1}}function ue(p){let f=[],v=0;for(;;){let y=ne(p,v);if(!y)return f;f.push(y),v+=y.width}}function dt(p,f,v,y){typeof f=="string"&&(f=ue(f)),typeof v=="function"&&(y=v,v=void 0);let _=S(f,v,y),E=new Intl.DateTimeFormat(p,_);return k=>E.format(k)}function et(p,f,v,y){typeof f=="string"&&(f=ue(f)),typeof v=="function"&&(y=v,v=void 0);let _=S(f,v,y);return["(function() {",`var opt = ${JSON.stringify(_)};`,`var dtf = new Intl.DateTimeFormat(${JSON.stringify(p)}, opt);`,"return function(value) { return dtf.format(value); }"].join(`
2
+ `)+`
3
+ })()`}class ze extends Error{constructor(f,v){super(v),this.code=f}}class ot extends ze{constructor(f,v){super("BAD_OPTION",`Unknown ${f} option: ${v}`),this.stem=f,this.option=v}}class Z extends ze{constructor(f){super("BAD_STEM",`Unknown stem: ${f}`),this.stem=f}}class z extends ze{constructor(f,v){super("MASKED_VALUE",`Value for ${f} is set multiple times`),this.type=f,this.prev=v}}class de extends ze{constructor(f){super("MISSING_OPTION",`Required option missing for ${f}`),this.stem=f}}class P extends ze{constructor(f,v){super("BAD_PATTERN",v),this.char=f}}class j extends ze{constructor(f,v,y){let _=y>1?`${y} options`:"one option";super("TOO_MANY_OPTIONS",`Token ${f} only supports ${_} (got ${v.length})`),this.stem=f,this.options=v}}function G(p,f){let{numberingSystem:v}=f;return Array.isArray(p)||(p=[p]),v?p.map(y=>{let _=y.indexOf("-u-")===-1?"u-nu":"nu";return`${y}-${_}-${v}`}).concat(p):p}function ve(p,f){let v=+p+f/2;return v-v%+f}function Ve(p){let{scale:f,unit:v}=p,y=typeof f=="number"&&f>=0?f:1;return v&&v.style==="percent"&&(y*=.01),y}function It(p){let f=Ve(p),{precision:v}=p;return v&&v.style==="precision-increment"?y=>ve(y,v.increment)*f:y=>y*f}function Ee(p){let f=Ve(p),{precision:v}=p;if(v&&v.style==="precision-increment"){let y=`+n + ${v.increment/2}`,_=`x - (x % +${v.increment})`;return f!==1&&(_=`(${_}) * ${f}`),`function(n) { var x = ${y}; return ${_}; }`}return f!==1?`function(n) { return n * ${f}; }`:null}function De(p,f){let{decimal:v,group:y,integerWidth:_,notation:E,precision:k,roundingMode:C,sign:T,unit:F,unitPer:J,unitWidth:ie}=p,ye=(qe,tt)=>{},W={};if(F)switch(F.style){case"base-unit":W.style="decimal";break;case"currency":W.style="currency",W.currency=F.currency;break;case"measure-unit":W.style="unit",W.unit=F.unit.replace(/.*-/,""),J&&(W.unit+="-per-"+J.replace(/.*-/,""));break;case"percent":W.style="percent";break}switch(ie){case"unit-width-full-name":W.currencyDisplay="name",W.unitDisplay="long";break;case"unit-width-hidden":break;case"unit-width-iso-code":W.currencyDisplay="code";break;case"unit-width-narrow":W.currencyDisplay="narrowSymbol",W.unitDisplay="narrow";break;case"unit-width-short":W.currencyDisplay="symbol",W.unitDisplay="short";break}switch(y){case"group-off":W.useGrouping=!1;break;case"group-auto":W.useGrouping=!0;break;case"group-min2":case"group-on-aligned":case"group-thousands":W.useGrouping=!0;break}if(k)switch(k.style){case"precision-fraction":{let{minFraction:qe,maxFraction:tt,minSignificant:pt,maxSignificant:Pt,source:mn}=k;typeof qe=="number"&&(W.minimumFractionDigits=qe,typeof pt=="number"&&ye()),typeof tt=="number"&&(W.maximumFractionDigits=tt),typeof pt=="number"&&(W.minimumSignificantDigits=pt),typeof Pt=="number"&&(W.maximumSignificantDigits=Pt);break}case"precision-integer":W.maximumFractionDigits=0;break;case"precision-unlimited":W.maximumFractionDigits=20;break;case"precision-increment":break;case"precision-currency-standard":W.trailingZeroDisplay=k.trailingZero;break;case"precision-currency-cash":ye(k.style);break}if(E)switch(E.style){case"compact-short":W.notation="compact",W.compactDisplay="short";break;case"compact-long":W.notation="compact",W.compactDisplay="long";break;case"notation-simple":W.notation="standard";break;case"scientific":case"engineering":{let{expDigits:qe,expSign:tt,source:pt,style:Pt}=E;W.notation=Pt;break}}if(_){let{min:qe,max:tt,source:pt}=_;if(qe>0&&(W.minimumIntegerDigits=qe),Number(tt)>0){let Pt=W.notation==="engineering"||W.notation==="scientific";tt===3&&Pt?W.notation="engineering":ye()}}switch(T){case"sign-auto":W.signDisplay="auto";break;case"sign-always":W.signDisplay="always";break;case"sign-except-zero":W.signDisplay="exceptZero";break;case"sign-never":W.signDisplay="never";break;case"sign-accounting":W.currencySign="accounting";break;case"sign-accounting-always":W.currencySign="accounting",W.signDisplay="always";break;case"sign-accounting-except-zero":W.currencySign="accounting",W.signDisplay="exceptZero";break}return W}function Ze(p,f,v){let y=p[f];switch(y){case"%":return{char:"%",style:"percent",width:1};case"‰":return{char:"%",style:"permille",width:1};case"¤":{let _=1;for(;p[++f]==="¤";)++_;switch(_){case 1:return{char:y,currency:"default",width:_};case 2:return{char:y,currency:"iso-code",width:_};case 3:return{char:y,currency:"full-name",width:_};case 5:return{char:y,currency:"narrow",width:_};default:{let E=`Invalid number (${_}) of ¤ chars in pattern`;return v(new P("¤",E)),null}}}case"*":{let _=p[f+1];if(_)return{char:y,pad:_,width:2};break}case"+":case"-":return{char:y,width:1};case"'":{let _=p[++f],E=2;if(_==="'")return{char:y,str:_,width:E};for(;;){let k=p[++f];if(++E,k===void 0){let C=`Unterminated quoted literal in pattern: ${_}`;return v(new P("'",C)),{char:y,str:_,width:E}}else if(k==="'"){if(p[++f]!=="'")return{char:y,str:_,width:E};++E}_+=k}}}return null}let pn=p=>p>="0"&&p<="9";function He(p,f){let v=p[f];if(pn(v)){let y=v;for(;;){let _=p[++f];if(pn(_))y+=_;else return{char:"0",digits:y,width:y.length}}}switch(v){case"#":{let y=1;for(;p[++f]==="#";)++y;return{char:v,width:y}}case"@":{let y=1;for(;p[++f]==="@";)++y;let _=y;for(f-=1;p[++f]==="#";)++_;return{char:v,min:y,width:_}}case"E":{let y=p[f+1]==="+";y&&++f;let _=0;for(;p[++f]==="0";)++_;let E=(y?2:1)+_;if(_)return{char:v,expDigits:_,plus:y,width:E};break}case".":case",":return{char:v,width:1}}return null}function Dt(p,f,v){let y;(function(F){F[F.Prefix=0]="Prefix",F[F.Number=1]="Number",F[F.Suffix=2]="Suffix"})(y||(y={}));let _=[],E=[],k=[],C=y.Prefix,T="";for(;f<p.length;){let F=p[f];if(F===";"){f+=1;break}switch(C){case y.Prefix:{let J=Ze(p,f,v);if(J)T&&(_.push({char:"'",str:T,width:T.length}),T=""),_.push(J),f+=J.width;else{let ie=He(p,f);ie?(T&&(_.push({char:"'",str:T,width:T.length}),T=""),C=y.Number,E.push(ie),f+=ie.width):(T+=F,f+=1)}break}case y.Number:{let J=He(p,f);J?(E.push(J),f+=J.width):C=y.Suffix;break}case y.Suffix:{let J=Ze(p,f,v);J?(T&&(k.push({char:"'",str:T,width:T.length}),T=""),k.push(J),f+=J.width):(T+=F,f+=1);break}}}return T&&k.push({char:"'",str:T,width:T.length}),{pattern:{prefix:_,number:E,suffix:k},pos:f}}function ht(p,f){let{pattern:v,pos:y}=Dt(p,0,f);if(y<p.length){let{pattern:_}=Dt(p,y,f);return{tokens:v,negative:_}}return{tokens:v}}function Cn(p,f){let v={},y=!1,_=!1,E=0,k="",C=-1,T="",F=0;for(let ie=0;ie<p.length;++ie){let ye=p[ie];switch(ye.char){case"#":{if(C===-1){if(k){let W="Pattern has # after integer digits";f(new P("#",W))}E+=ye.width}else F+=ye.width;break}case"0":{if(C===-1)k+=ye.digits;else{if(F){let W="Pattern has digits after # in fraction";f(new P("0",W))}T+=ye.digits}break}case"@":{v.precision&&f(new z("precision",v.precision)),v.precision={style:"precision-fraction",minSignificant:ye.min,maxSignificant:ye.width};break}case",":y=!0;break;case".":if(C===1){let W="Pattern has more than one decimal separator";f(new P(".",W))}C=ie;break;case"E":{if(_&&f(new z("exponent",v.notation)),y){let W="Exponential patterns may not contain grouping separators";f(new P("E",W))}v.notation={style:"scientific"},ye.expDigits>1&&(v.notation.expDigits=ye.expDigits),ye.plus&&(v.notation.expSign="sign-always"),_=!0}}}y?v.group="group-auto":E+k.length>3&&(v.group="group-off");let J=+`${k||"0"}.${T}`;if(J&&(v.precision={style:"precision-increment",increment:J}),!_)k.length>1&&(v.integerWidth={min:k.length}),!v.precision&&(T.length||F)&&(v.precision={style:"precision-fraction",minFraction:T.length,maxFraction:T.length+F});else if((!v.precision||J)&&(v.integerWidth=E?{min:1,max:E+k.length}:{min:Math.max(1,k.length)}),v.precision)J||(v.integerWidth={min:1,max:1});else{let ie=k.length+T.length;C===-1?ie>0&&(v.precision={style:"precision-fraction",maxSignificant:ie}):(v.precision={style:"precision-fraction",maxSignificant:Math.max(1,ie)+F},ie>1&&(v.precision.minSignificant=ie))}return v}function pr(p,f,v,y,_){let E=!1,k="";for(let C of p)switch(C.char){case"%":f.unit={style:C.style},_?E=!0:k="";break;case"¤":if(!v){let T="The ¤ pattern requires a currency";y(new P("¤",T));break}switch(f.unit={style:"currency",currency:v},C.currency){case"iso-code":f.unitWidth="unit-width-iso-code";break;case"full-name":f.unitWidth="unit-width-full-name";break;case"narrow":f.unitWidth="unit-width-narrow";break}_?E=!0:k="";break;case"*":break;case"+":E||(k+="+");break;case"'":E||(k+=C.str);break}return k}function oo(p,f){let v=!1,y="";for(let _ of p)switch(_.char){case"%":case"¤":f?v=!0:y="";break;case"-":v||(y+="-");break;case"'":v||(y+=_.str);break}return y}function so(p,f){let v=arguments.length>2&&arguments[2]!==void 0?arguments[2]:T=>{throw T},{tokens:y,negative:_}=ht(p,v),E=Cn(y.number,v),k=pr(y.prefix,E,f,v,!0),C=pr(y.suffix,E,f,v,!1);if(_){let T=oo(_.prefix,!0),F=oo(_.suffix,!1);E.affix={pos:[k,C],neg:[T,F]},E.sign="sign-never"}else(k||C)&&(E.affix={pos:[k,C]});return E}function f3(p){return["arab","arabext","bali","beng","deva","fullwide","gujr","guru","hanidec","khmr","knda","laoo","latn","limb","mlym","mong","mymr","orya","tamldec","telu","thai","tibt"].indexOf(p)!==-1}function Gd(p){let f=["acceleration","angle","area","concentr","consumption","digital","duration","electric","energy","force","frequency","graphics","length","light","mass","power","pressure","speed","temperature","torque","volume"],[v]=p.split("-",1);return f.indexOf(v)!==-1}let $d={"compact-short":0,"compact-long":0,"notation-simple":0,scientific:2,engineering:2,percent:0,permille:0,"base-unit":0,currency:1,"measure-unit":1,"per-measure-unit":1,"unit-width-narrow":0,"unit-width-short":0,"unit-width-full-name":0,"unit-width-iso-code":0,"unit-width-hidden":0,"precision-integer":0,"precision-unlimited":0,"precision-currency-standard":1,"precision-currency-cash":0,"precision-increment":1,"rounding-mode-ceiling":0,"rounding-mode-floor":0,"rounding-mode-down":0,"rounding-mode-up":0,"rounding-mode-half-even":0,"rounding-mode-half-down":0,"rounding-mode-half-up":0,"rounding-mode-unnecessary":0,"integer-width":1,scale:1,"group-off":0,"group-min2":0,"group-auto":0,"group-on-aligned":0,"group-thousands":0,latin:0,"numbering-system":1,"sign-auto":0,"sign-always":0,"sign-never":0,"sign-accounting":0,"sign-accounting-always":0,"sign-except-zero":0,"sign-accounting-except-zero":0,"decimal-auto":0,"decimal-always":0},Ud={currency:1,"integer-width":1,"measure-unit":1,"numbering-system":1,"per-measure-unit":1,"precision-increment":1,scale:1};function g3(p){return p in $d}function v3(p){return p in Ud}function b3(p,f,v){if(g3(p)){let y=$d[p];if(f.length>y){if(y===0)for(let _ of f)v(new ot(p,_));else v(new j(p,f,y));return!1}else if(v3(p)&&f.length<Ud[p])return v(new de(p)),!1}return!0}function ll(p,f){let v=f==="fraction"?/^\.(0*)(\+|#*)$/:/^(@+)(\+|#*)$/,y=p&&p.match(v);if(y){let _=y[1].length;switch(y[2].charAt(0)){case"":return{min:_,max:_};case"+":return{min:_,max:null};case"#":return{min:_,max:_+y[2].length}}}return null}function y3(p,f,v){let y=ll(p,"fraction");if(y){f.length>1&&v(new j(p,f,1));let E={style:"precision-fraction",source:p,minFraction:y.min};y.max!=null&&(E.maxFraction=y.max);let k=f[0],C=ll(k,"significant");return C?(E.source=`${p}/${k}`,E.minSignificant=C.min,C.max!=null&&(E.maxSignificant=C.max)):k&&v(new ot(p,k)),E}let _=ll(p,"significant");if(_){for(let k of f)v(new ot(p,k));let E={style:"precision-fraction",source:p,minSignificant:_.min};return _.max!=null&&(E.maxSignificant=_.max),E}return null}class _3{constructor(f){this.skeleton={},this.onError=f}badOption(f,v){this.onError(new ot(f,v))}assertEmpty(f){let v=this.skeleton[f];v&&this.onError(new z(f,v))}parseToken(f,v){if(!b3(f,v,this.onError))return;let y=v[0],_=this.skeleton;switch(f){case"compact-short":case"compact-long":case"notation-simple":this.assertEmpty("notation"),_.notation={style:f};break;case"scientific":case"engineering":{let E=null,k;for(let T of v)switch(T){case"sign-auto":case"sign-always":case"sign-never":case"sign-accounting":case"sign-accounting-always":case"sign-except-zero":case"sign-accounting-except-zero":k=T;break;default:/^\+e+$/.test(T)?E=T.length-1:this.badOption(f,T)}this.assertEmpty("notation");let C=v.join("/");_.notation=E&&k?{style:f,source:C,expDigits:E,expSign:k}:E?{style:f,source:C,expDigits:E}:k?{style:f,source:C,expSign:k}:{style:f,source:C};break}case"percent":case"permille":case"base-unit":this.assertEmpty("unit"),_.unit={style:f};break;case"currency":/^[A-Z]{3}$/.test(y)?(this.assertEmpty("unit"),_.unit={style:f,currency:y}):this.badOption(f,y);break;case"measure-unit":{Gd(y)?(this.assertEmpty("unit"),_.unit={style:f,unit:y}):this.badOption(f,y);break}case"per-measure-unit":{Gd(y)?(this.assertEmpty("unitPer"),_.unitPer=y):this.badOption(f,y);break}case"unit-width-narrow":case"unit-width-short":case"unit-width-full-name":case"unit-width-iso-code":case"unit-width-hidden":this.assertEmpty("unitWidth"),_.unitWidth=f;break;case"precision-integer":case"precision-unlimited":case"precision-currency-cash":this.assertEmpty("precision"),_.precision={style:f};break;case"precision-currency-standard":this.assertEmpty("precision"),y==="w"?_.precision={style:f,trailingZero:"stripIfInteger"}:_.precision={style:f};break;case"precision-increment":{let E=Number(y);E>0?(this.assertEmpty("precision"),_.precision={style:f,increment:E}):this.badOption(f,y);break}case"rounding-mode-ceiling":case"rounding-mode-floor":case"rounding-mode-down":case"rounding-mode-up":case"rounding-mode-half-even":case"rounding-mode-half-odd":case"rounding-mode-half-ceiling":case"rounding-mode-half-floor":case"rounding-mode-half-down":case"rounding-mode-half-up":case"rounding-mode-unnecessary":this.assertEmpty("roundingMode"),_.roundingMode=f;break;case"integer-width":{if(/^\+0*$/.test(y))this.assertEmpty("integerWidth"),_.integerWidth={source:y,min:y.length-1};else{let E=y.match(/^#*(0*)$/);E?(this.assertEmpty("integerWidth"),_.integerWidth={source:y,min:E[1].length,max:E[0].length}):this.badOption(f,y)}break}case"scale":{let E=Number(y);E>0?(this.assertEmpty("scale"),_.scale=E):this.badOption(f,y);break}case"group-off":case"group-min2":case"group-auto":case"group-on-aligned":case"group-thousands":this.assertEmpty("group"),_.group=f;break;case"latin":this.assertEmpty("numberingSystem"),_.numberingSystem="latn";break;case"numbering-system":{f3(y)?(this.assertEmpty("numberingSystem"),_.numberingSystem=y):this.badOption(f,y);break}case"sign-auto":case"sign-always":case"sign-never":case"sign-accounting":case"sign-accounting-always":case"sign-except-zero":case"sign-accounting-except-zero":this.assertEmpty("sign"),_.sign=f;break;case"decimal-auto":case"decimal-always":this.assertEmpty("decimal"),_.decimal=f;break;default:{let E=y3(f,v,this.onError);E?(this.assertEmpty("precision"),_.precision=E):this.onError(new Z(f))}}}}function Wd(p){let f=arguments.length>1&&arguments[1]!==void 0?arguments[1]:_=>{throw _},v=[];for(let _ of p.split(" "))if(_){let E=_.split("/"),k=E.shift()||"";v.push({stem:k,options:E})}let y=new _3(f);for(let{stem:_,options:E}of v)y.parseToken(_,E);return y.skeleton}function w3(p,f,v,y){typeof f=="string"&&(f=f.indexOf("::")===0?Wd(f.slice(2),y):so(f,v,y));let _=G(p,f),E=De(f),k=It(f),C=new Intl.NumberFormat(_,E);if(f.affix){let[T,F]=f.affix.pos,[J,ie]=f.affix.neg||["",""];return ye=>{let W=C.format(k(ye));return ye<0?`${J}${W}${ie}`:`${T}${W}${F}`}}return T=>C.format(k(T))}function x3(p,f,v,y){typeof f=="string"&&(f=f.indexOf("::")===0?Wd(f.slice(2),y):so(f,v,y));let _=G(p,f),E=De(f),k=Ee(f),C=["(function() {",`var opt = ${JSON.stringify(E)};`,`var nf = new Intl.NumberFormat(${JSON.stringify(_)}, opt);`],T="nf.format(value)";if(k&&(C.push(`var mod = ${k};`),T="nf.format(mod(value))"),f.affix){let[F,J]=f.affix.pos.map(ie=>JSON.stringify(ie));if(f.affix.neg){let[ie,ye]=f.affix.neg.map(W=>JSON.stringify(W));T=`value < 0 ? ${ie} + ${T} + ${ye} : ${F} + ${T} + ${J}`}else T=`${F} + ${T} + ${J}`}return C.push(`return function(value) { return ${T}; }`),C.join(`
4
+ `)+`
5
+ })()`}var ul=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function E3(p){return p&&p.__esModule&&Object.prototype.hasOwnProperty.call(p,"default")?p.default:p}var Ua={},Zd={},Yd={exports:{}};(function(p){(function(f,v){p.exports?p.exports=v():f.moo=v()})(ul,function(){var f=Object.prototype.hasOwnProperty,v=Object.prototype.toString,y=typeof new RegExp().sticky=="boolean";function _(M){return M&&v.call(M)==="[object RegExp]"}function E(M){return M&&typeof M=="object"&&!_(M)&&!Array.isArray(M)}function k(M){return M.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function C(M){var B=new RegExp("|"+M);return B.exec("").length-1}function T(M){return"("+M+")"}function F(M){if(!M.length)return"(?!)";var B=M.map(function(K){return"(?:"+K+")"}).join("|");return"(?:"+B+")"}function J(M){if(typeof M=="string")return"(?:"+k(M)+")";if(_(M)){if(M.ignoreCase)throw new Error("RegExp /i flag not allowed");if(M.global)throw new Error("RegExp /g flag is implied");if(M.sticky)throw new Error("RegExp /y flag is implied");if(M.multiline)throw new Error("RegExp /m flag is implied");return M.source}else throw new Error("Not a pattern: "+M)}function ie(M,B){return M.length>B?M:Array(B-M.length+1).join(" ")+M}function ye(M,B){for(var K=M.length,X=0;;){var ce=M.lastIndexOf(`
6
+ `,K-1);if(ce===-1||(X++,K=ce,X===B)||K===0)break}var ae=X<B?0:K+1;return M.substring(ae).split(`
7
+ `)}function W(M){for(var B=Object.getOwnPropertyNames(M),K=[],X=0;X<B.length;X++){var ce=B[X],ae=M[ce],Se=[].concat(ae);if(ce==="include"){for(var We=0;We<Se.length;We++)K.push({include:Se[We]});continue}var Re=[];Se.forEach(function(se){E(se)?(Re.length&&K.push(tt(ce,Re)),K.push(tt(ce,se)),Re=[]):Re.push(se)}),Re.length&&K.push(tt(ce,Re))}return K}function qe(M){for(var B=[],K=0;K<M.length;K++){var X=M[K];if(X.include){for(var ce=[].concat(X.include),ae=0;ae<ce.length;ae++)B.push({include:ce[ae]});continue}if(!X.type)throw new Error("Rule has no type: "+JSON.stringify(X));B.push(tt(X.type,X))}return B}function tt(M,B){if(E(B)||(B={match:B}),B.include)throw new Error("Matching rules cannot also include states");var K={defaultType:M,lineBreaks:!!B.error||!!B.fallback,pop:!1,next:null,push:null,error:!1,fallback:!1,value:null,type:null,shouldThrow:!1};for(var X in B)f.call(B,X)&&(K[X]=B[X]);if(typeof K.type=="string"&&M!==K.type)throw new Error("Type transform cannot be a string (type '"+K.type+"' for token '"+M+"')");var ce=K.match;return K.match=Array.isArray(ce)?ce:ce?[ce]:[],K.match.sort(function(ae,Se){return _(ae)&&_(Se)?0:_(Se)?-1:_(ae)?1:Se.length-ae.length}),K}function pt(M){return Array.isArray(M)?qe(M):W(M)}var Pt=tt("error",{lineBreaks:!0,shouldThrow:!0});function mn(M,B){for(var K=null,X=Object.create(null),ce=!0,ae=null,Se=[],We=[],Re=0;Re<M.length;Re++)M[Re].fallback&&(ce=!1);for(var Re=0;Re<M.length;Re++){var se=M[Re];if(se.include)throw new Error("Inheritance is not allowed in stateless lexers");if(se.error||se.fallback){if(K)throw!se.fallback==!K.fallback?new Error("Multiple "+(se.fallback?"fallback":"error")+" rules not allowed (for token '"+se.defaultType+"')"):new Error("fallback and error are mutually exclusive (for token '"+se.defaultType+"')");K=se}var st=se.match.slice();if(ce)for(;st.length&&typeof st[0]=="string"&&st[0].length===1;){var aa=st.shift();X[aa.charCodeAt(0)]=se}if(se.pop||se.push||se.next){if(!B)throw new Error("State-switching options are not allowed in stateless lexers (for token '"+se.defaultType+"')");if(se.fallback)throw new Error("State-switching options are not allowed on fallback tokens (for token '"+se.defaultType+"')")}if(st.length!==0){ce=!1,Se.push(se);for(var Nn=0;Nn<st.length;Nn++){var Rr=st[Nn];if(_(Rr)){if(ae===null)ae=Rr.unicode;else if(ae!==Rr.unicode&&se.fallback===!1)throw new Error("If one rule is /u then all must be")}}var ia=F(st.map(J)),fn=new RegExp(ia);if(fn.test(""))throw new Error("RegExp matches empty string: "+fn);var Za=C(ia);if(Za>0)throw new Error("RegExp has capture groups: "+fn+`
8
+ Use (?: … ) instead`);if(!se.lineBreaks&&fn.test(`
9
+ `))throw new Error("Rule should declare lineBreaks: "+fn);We.push(T(ia))}}var oa=K&&K.fallback,Ya=y&&!oa?"ym":"gm",fo=y||oa?"":"|";ae===!0&&(Ya+="u");var nz=new RegExp(F(We)+fo,Ya);return{regexp:nz,groups:Se,fast:X,error:K||Pt}}function fr(M){var B=mn(pt(M));return new Je({start:B},"start")}function Yn(M,B,K){var X=M&&(M.push||M.next);if(X&&!K[X])throw new Error("Missing state '"+X+"' (in token '"+M.defaultType+"' of state '"+B+"')");if(M&&M.pop&&+M.pop!=1)throw new Error("pop must be 1 (in token '"+M.defaultType+"' of state '"+B+"')")}function Kn(M,B){var K=M.$all?pt(M.$all):[];delete M.$all;var X=Object.getOwnPropertyNames(M);B||(B=X[0]);for(var ce=Object.create(null),ae=0;ae<X.length;ae++){var Se=X[ae];ce[Se]=pt(M[Se]).concat(K)}for(var ae=0;ae<X.length;ae++)for(var Se=X[ae],We=ce[Se],Re=Object.create(null),se=0;se<We.length;se++){var st=We[se];if(st.include){var aa=[se,1];if(st.include!==Se&&!Re[st.include]){Re[st.include]=!0;var Nn=ce[st.include];if(!Nn)throw new Error("Cannot include nonexistent state '"+st.include+"' (in state '"+Se+"')");for(var Rr=0;Rr<Nn.length;Rr++){var ia=Nn[Rr];We.indexOf(ia)===-1&&aa.push(ia)}}We.splice.apply(We,aa),se--}}for(var fn=Object.create(null),ae=0;ae<X.length;ae++){var Se=X[ae];fn[Se]=mn(ce[Se],!0)}for(var ae=0;ae<X.length;ae++){for(var Za=X[ae],oa=fn[Za],Ya=oa.groups,se=0;se<Ya.length;se++)Yn(Ya[se],Za,fn);for(var fo=Object.getOwnPropertyNames(oa.fast),se=0;se<fo.length;se++)Yn(oa.fast[fo[se]],Za,fn)}return new Je(fn,B)}function Qn(M){for(var B=typeof Map<"u",K=B?new Map:Object.create(null),X=Object.getOwnPropertyNames(M),ce=0;ce<X.length;ce++){var ae=X[ce],Se=M[ae],We=Array.isArray(Se)?Se:[Se];We.forEach(function(Re){if(typeof Re!="string")throw new Error("keyword must be string (in keyword '"+ae+"')");B?K.set(Re,ae):K[Re]=ae})}return function(Re){return B?K.get(Re):K[Re]}}var Je=function(M,B){this.startState=B,this.states=M,this.buffer="",this.stack=[],this.reset()};Je.prototype.reset=function(M,B){return this.buffer=M||"",this.index=0,this.line=B?B.line:1,this.col=B?B.col:1,this.queuedToken=B?B.queuedToken:null,this.queuedText=B?B.queuedText:"",this.queuedThrow=B?B.queuedThrow:null,this.setState(B?B.state:this.startState),this.stack=B&&B.stack?B.stack.slice():[],this},Je.prototype.save=function(){return{line:this.line,col:this.col,state:this.state,stack:this.stack.slice(),queuedToken:this.queuedToken,queuedText:this.queuedText,queuedThrow:this.queuedThrow}},Je.prototype.setState=function(M){if(!(!M||this.state===M)){this.state=M;var B=this.states[M];this.groups=B.groups,this.error=B.error,this.re=B.regexp,this.fast=B.fast}},Je.prototype.popState=function(){this.setState(this.stack.pop())},Je.prototype.pushState=function(M){this.stack.push(this.state),this.setState(M)};var po=y?function(M,B){return M.exec(B)}:function(M,B){var K=M.exec(B);return K[0].length===0?null:K};Je.prototype._getGroup=function(M){for(var B=this.groups.length,K=0;K<B;K++)if(M[K+1]!==void 0)return this.groups[K];throw new Error("Cannot find token type for matched text")};function mo(){return this.value}if(Je.prototype.next=function(){var M=this.index;if(this.queuedGroup){var B=this._token(this.queuedGroup,this.queuedText,M);return this.queuedGroup=null,this.queuedText="",B}var K=this.buffer;if(M!==K.length){var Se=this.fast[K.charCodeAt(M)];if(Se)return this._token(Se,K.charAt(M),M);var X=this.re;X.lastIndex=M;var ce=po(X,K),ae=this.error;if(ce==null)return this._token(ae,K.slice(M,K.length),M);var Se=this._getGroup(ce),We=ce[0];return ae.fallback&&ce.index!==M?(this.queuedGroup=Se,this.queuedText=We,this._token(ae,K.slice(M,ce.index),M)):this._token(Se,We,M)}},Je.prototype._token=function(M,B,K){var X=0;if(M.lineBreaks){var ce=/\n/g,ae=1;if(B===`
10
+ `)X=1;else for(;ce.exec(B);)X++,ae=ce.lastIndex}var Se={type:typeof M.type=="function"&&M.type(B)||M.defaultType,value:typeof M.value=="function"?M.value(B):B,text:B,toString:mo,offset:K,lineBreaks:X,line:this.line,col:this.col},We=B.length;if(this.index+=We,this.line+=X,X!==0?this.col=We-ae+1:this.col+=We,M.shouldThrow){var Re=new Error(this.formatError(Se,"invalid syntax"));throw Re}return M.pop?this.popState():M.push?this.pushState(M.push):M.next&&this.setState(M.next),Se},typeof Symbol<"u"&&Symbol.iterator){var Jn=function(M){this.lexer=M};Jn.prototype.next=function(){var M=this.lexer.next();return{value:M,done:!M}},Jn.prototype[Symbol.iterator]=function(){return this},Je.prototype[Symbol.iterator]=function(){return new Jn(this)}}return Je.prototype.formatError=function(X,B){if(X==null)var K=this.buffer.slice(this.index),X={text:K,offset:this.index,lineBreaks:K.indexOf(`
11
+ `)===-1?0:1,line:this.line,col:this.col};var ce=2,ae=Math.max(X.line-ce,1),Se=X.line+ce,We=String(Se).length,Re=ye(this.buffer,this.line-X.line+ce+1).slice(0,5),se=[];se.push(B+" at line "+X.line+" col "+X.col+":"),se.push("");for(var st=0;st<Re.length;st++){var aa=Re[st],Nn=ae+st;se.push(ie(String(Nn),We)+" "+aa),Nn===X.line&&se.push(ie("",We+X.col+1)+"^")}return se.join(`
12
+ `)},Je.prototype.clone=function(){return new Je(this.states,this.state)},Je.prototype.has=function(M){return!0},{compile:fr,states:Kn,error:Object.freeze({error:!0}),fallback:Object.freeze({fallback:!0}),keywords:Qn}})})(Yd);var S3=Yd.exports;(function(p){var f=ul&&ul.__importDefault||function(y){return y&&y.__esModule?y:{default:y}};Object.defineProperty(p,"__esModule",{value:!0}),p.lexer=p.states=void 0;let v=f(S3);p.states={body:{doubleapos:{match:"''",value:()=>"'"},quoted:{lineBreaks:!0,match:/'[{}#](?:[^]*?[^'])?'(?!')/u,value:y=>y.slice(1,-1).replace(/''/g,"'")},argument:{lineBreaks:!0,match:/\{\s*[^\p{Pat_Syn}\p{Pat_WS}]+\s*/u,push:"arg",value:y=>y.substring(1).trim()},octothorpe:"#",end:{match:"}",pop:1},content:{lineBreaks:!0,match:/[^][^{}#']*/u}},arg:{select:{lineBreaks:!0,match:/,\s*(?:plural|select|selectordinal)\s*,\s*/u,next:"select",value:y=>y.split(",")[1].trim()},"func-args":{lineBreaks:!0,match:/,\s*[^\p{Pat_Syn}\p{Pat_WS}]+\s*,/u,next:"body",value:y=>y.split(",")[1].trim()},"func-simple":{lineBreaks:!0,match:/,\s*[^\p{Pat_Syn}\p{Pat_WS}]+\s*/u,value:y=>y.substring(1).trim()},end:{match:"}",pop:1}},select:{offset:{lineBreaks:!0,match:/\s*offset\s*:\s*\d+\s*/u,value:y=>y.split(":")[1].trim()},case:{lineBreaks:!0,match:/\s*(?:=\d+|[^\p{Pat_Syn}\p{Pat_WS}]+)\s*\{/u,push:"body",value:y=>y.substring(0,y.indexOf("{")).trim()},end:{match:/\s*\}/u,pop:1}}},p.lexer=v.default.states(p.states)})(Zd),Object.defineProperty(Ua,"__esModule",{value:!0});var Kd=Ua.parse=Ua.ParseError=void 0;let Qd=Zd,lo=p=>({offset:p.offset,line:p.line,col:p.col,text:p.text,lineBreaks:p.lineBreaks}),cl=p=>p==="plural"||p==="select"||p==="selectordinal";function k3(p,f){let v="",y="";for(let _ of f){let E=_.ctx.text;switch(y+=E,_.type){case"content":v+=_.value;break;case"argument":case"function":case"octothorpe":v+=E;break;default:throw new yt(p,`Unsupported part in strict mode function arg style: ${E}`)}}return[{type:"content",value:v.trim(),ctx:Object.assign({},f[0].ctx,{text:y})}]}let C3=["number","date","time","spellout","ordinal","duration"],Jd=["zero","one","two","few","many","other"];class yt extends Error{constructor(f,v){super(Qd.lexer.formatError(f,v))}}Ua.ParseError=yt;class I3{constructor(f,v){var y,_,E,k;this.lexer=Qd.lexer.reset(f),this.cardinalKeys=(y=v==null?void 0:v.cardinal)!==null&&y!==void 0?y:Jd,this.ordinalKeys=(_=v==null?void 0:v.ordinal)!==null&&_!==void 0?_:Jd,this.strict=(E=v==null?void 0:v.strict)!==null&&E!==void 0?E:!1,this.strictPluralKeys=(k=v==null?void 0:v.strictPluralKeys)!==null&&k!==void 0?k:!0}parse(){return this.parseBody(!1,!0)}checkSelectKey(f,v,y){if(y[0]==="="){if(v==="select")throw new yt(f,`The case ${y} is not valid with select`)}else if(v!=="select"){let _=v==="plural"?this.cardinalKeys:this.ordinalKeys;if(this.strictPluralKeys&&_.length>0&&!_.includes(y)){let E=`The ${v} case ${y} is not valid in this locale`;throw new yt(f,E)}}}parseSelect(f,v,y,_){let{value:E}=f,k={type:_,arg:E,cases:[],ctx:y};_==="plural"||_==="selectordinal"?v=!0:this.strict&&(v=!1);for(let C of this.lexer)switch(C.type){case"offset":if(_==="select")throw new yt(C,"Unexpected plural offset for select");if(k.cases.length>0)throw new yt(C,"Plural offset must be set before cases");k.pluralOffset=Number(C.value),y.text+=C.text,y.lineBreaks+=C.lineBreaks;break;case"case":{this.checkSelectKey(C,_,C.value),k.cases.push({key:C.value,tokens:this.parseBody(v),ctx:lo(C)});break}case"end":return k;default:throw new yt(C,`Unexpected lexer token: ${C.type}`)}throw new yt(null,"Unexpected message end")}parseArgToken(f,v){let y=lo(f),_=this.lexer.next();if(!_)throw new yt(null,"Unexpected message end");if(y.text+=_.text,y.lineBreaks+=_.lineBreaks,this.strict&&(_.type==="func-simple"||_.type==="func-args")&&!C3.includes(_.value)){let E=`Invalid strict mode function arg type: ${_.value}`;throw new yt(f,E)}switch(_.type){case"end":return{type:"argument",arg:f.value,ctx:y};case"func-simple":{let E=this.lexer.next();if(!E)throw new yt(null,"Unexpected message end");if(E.type!=="end")throw new yt(E,`Unexpected lexer token: ${E.type}`);if(y.text+=E.text,cl(_.value.toLowerCase()))throw new yt(_,`Invalid type identifier: ${_.value}`);return{type:"function",arg:f.value,key:_.value,ctx:y}}case"func-args":{if(cl(_.value.toLowerCase())){let k=`Invalid type identifier: ${_.value}`;throw new yt(_,k)}let E=this.parseBody(this.strict?!1:v);return this.strict&&E.length>0&&(E=k3(f,E)),{type:"function",arg:f.value,key:_.value,param:E,ctx:y}}case"select":if(cl(_.value))return this.parseSelect(f,v,y,_.value);throw new yt(_,`Unexpected select type ${_.value}`);default:throw new yt(_,`Unexpected lexer token: ${_.type}`)}}parseBody(f,v){let y=[],_=null;for(let E of this.lexer)if(E.type==="argument")_&&(_=null),y.push(this.parseArgToken(E,f));else if(E.type==="octothorpe"&&f)_&&(_=null),y.push({type:"octothorpe",ctx:lo(E)});else{if(E.type==="end"&&!v)return y;{let k=E.value;if(!f&&E.type==="quoted"&&k[0]==="#"){if(k.includes("{")){let C=`Unsupported escape pattern: ${k}`;throw new yt(E,C)}k=E.text}_?(_.value+=k,_.ctx.text+=E.text,_.ctx.lineBreaks+=E.lineBreaks):(_={type:"content",value:k,ctx:lo(E)},y.push(_))}}if(v)return y;throw new yt(null,"Unexpected message end")}}function D3(p){let f=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return new I3(p,f).parse()}Kd=Ua.parse=D3;function Wa(p){return Wa[p]||(Wa[p]=new Intl.NumberFormat(p))}function N3(p,f,v){return Wa(p).format(f-v)}function T3(p,f,v,y){var _=f-v;if(isNaN(_))throw new Error("`"+y+"` or its offset is not a number");return Wa(p).format(_)}function M3(p,f,v,y,_){if({}.hasOwnProperty.call(y,p))return y[p];f&&(p-=f);var E=v(p,_);return E in y?y[E]:y.other}function R3(p,f){return{}.hasOwnProperty.call(f,p)?f[p]:f.other}function O3(p,f){for(var v=0;v<p.length;++v)if(!f||f[p[v]]===void 0)throw new Error("Message requires argument '".concat(p[v],"'"))}var P3=Object.freeze({__proto__:null,_nf:Wa,number:N3,plural:M3,reqArgs:O3,select:R3,strictNumber:T3});function A3(p,f,v){var y={day:"numeric",month:"short",year:"numeric"};switch(v){case"full":y.weekday="long";case"long":y.month="long";break;case"short":y.month="numeric"}return new Date(p).toLocaleDateString(f,y)}function L3(p){if(typeof p!="number"&&(p=Number(p)),!isFinite(p))return String(p);var f="";p<0?(f="-",p=Math.abs(p)):p=Number(p);var v=p%60,y=[Math.round(v)===v?v:v.toFixed(3)];p<60?y.unshift(0):(p=Math.round((p-Number(y[0]))/60),y.unshift(p%60),p>=60&&(p=Math.round((p-Number(y[0]))/60),y.unshift(p)));var _=y.shift();return f+_+":"+y.map(function(E){return Number(E)<10?"0"+String(E):String(E)}).join(":")}var dl={};function uo(p,f){var v=String(p)+JSON.stringify(f);return dl[v]||(dl[v]=new Intl.NumberFormat(p,f)),dl[v]}function F3(p,f,v,y){var _=v&&v.split(":")||[],E=_[0],k=_[1],C={integer:{maximumFractionDigits:0},percent:{style:"percent"},currency:{style:"currency",currency:k&&k.trim()||y,minimumFractionDigits:2,maximumFractionDigits:2}};return uo(f,C[E]||{}).format(p)}var j3=function(p,f,v){return uo(f,{style:"currency",currency:v,minimumFractionDigits:2,maximumFractionDigits:2}).format(p)},V3=function(p,f){return uo(f,{maximumFractionDigits:0}).format(p)},B3=function(p,f){return uo(f,{style:"percent"}).format(p)};function z3(p,f,v){var y={second:"numeric",minute:"numeric",hour:"numeric"};switch(v){case"full":case"long":y.timeZoneName="short";break;case"short":delete y.second}return new Date(p).toLocaleTimeString(f,y)}var hl=Object.freeze({__proto__:null,date:A3,duration:L3,numberCurrency:j3,numberFmt:F3,numberInteger:V3,numberPercent:B3,time:z3}),H3={ES3:{break:!0,continue:!0,delete:!0,else:!0,for:!0,function:!0,if:!0,in:!0,new:!0,return:!0,this:!0,typeof:!0,var:!0,void:!0,while:!0,with:!0,case:!0,catch:!0,default:!0,do:!0,finally:!0,instanceof:!0,switch:!0,throw:!0,try:!0},ESnext:{await:!0,debugger:!0,class:!0,enum:!0,extends:!0,super:!0,const:!0,export:!0,import:!0,null:!0,true:!0,false:!0,implements:!0,let:!0,private:!0,public:!0,yield:!0,interface:!0,package:!0,protected:!0,static:!0}},pl=E3(H3);function q3(p){let f=0;for(let v=0;v<p.length;++v){let y=p.charCodeAt(v);f=(f<<5)-f+y,f|=0}return f}function mr(p,f){f&&(p+=" "+q3(p).toString(36));let v=p.trim().replace(/\W+/g,"_");return pl.ES3[v]||pl.ESnext[v]||/^\d/.test(v)?"_"+v:v}function ml(p,f){if(/^[A-Z_$][0-9A-Z_$]*$/i.test(f)&&!pl.ES3[f])return p?p+"."+f:f;{let v=JSON.stringify(f);return p?p+"["+v+"]":v}}var G3=["ar","ckb","fa","he","ks($|[^bfh])","lrc","mzn","pa-Arab","ps","ug","ur","uz-Arab","yi"],$3=new RegExp("^"+G3.join("|^"));function U3(p,f){var v=$3.test(f),y=JSON.stringify(v?"‏":"‎");return"".concat(y," + ").concat(p," + ").concat(y)}var W3="@messageformat/runtime",Z3="@messageformat/runtime/lib/cardinals",Xd="@messageformat/runtime/lib/plurals",Y3="@messageformat/runtime/lib/formatters",K3=function(){function p(f){this.arguments=[],this.runtime={},this.options=f}return p.prototype.compile=function(f,v,y){var _,E,k=this,C=this.options,T=C.localeCodeFromKey,F=C.requireAllArguments,J=C.strict,ie=C.strictPluralKeys;if(typeof f=="object"){var ye={};try{for(var W=n(Object.keys(f)),qe=W.next();!qe.done;qe=W.next()){var tt=qe.value,pt=T?T(tt):tt,Pt=y&&pt&&y[pt]||v;ye[tt]=this.compile(f[tt],Pt,y)}}catch(Je){_={error:Je}}finally{try{qe&&!qe.done&&(E=W.return)&&E.call(W)}finally{if(_)throw _.error}}return ye}this.plural=v;var mn={cardinal:v.cardinals,ordinal:v.ordinals,strict:J,strictPluralKeys:ie};this.arguments=[];var fr=Kd(f,mn).map(function(Je){return k.token(Je,null)}),Yn=this.arguments.length>0,Kn=this.concatenate(fr,!0);if(F&&Yn){this.setRuntimeFn("reqArgs");var Qn=JSON.stringify(this.arguments);return"(d) => { reqArgs(".concat(Qn,", d); return ").concat(Kn,"; }")}return"(".concat(Yn?"d":"",") => ").concat(Kn)},p.prototype.cases=function(f,v){var y=this,_=!0,E=f.cases.map(function(J){var ie=J.key,ye=J.tokens;ie==="other"&&(_=!1);var W=ye.map(function(qe){return y.token(qe,v)});return"".concat(ml(null,ie.replace(/^=/,"")),": ").concat(y.concatenate(W,!1))});if(_){var k=f.type,C=this.plural,T=C.cardinals,F=C.ordinals;if(k==="select"||k==="plural"&&T.includes("other")||k==="selectordinal"&&F.includes("other"))throw new Error("No 'other' form found in ".concat(JSON.stringify(f)))}return"{ ".concat(E.join(", ")," }")},p.prototype.concatenate=function(f,v){var y=this.options.returnType==="values";return y&&(v||f.length>1)?"["+f.join(", ")+"]":f.join(" + ")||'""'},p.prototype.token=function(f,v){if(f.type==="content")return JSON.stringify(f.value);var y=this.plural,_=y.id,E=y.lc,k,C;switch("arg"in f?(this.arguments.push(f.arg),k=[ml("d",f.arg)]):k=[],f.type){case"argument":return this.options.biDiSupport?U3(String(k[0]),E):String(k[0]);case"select":C="select",v&&this.options.strict&&(v=null),k.push(this.cases(f,v)),this.setRuntimeFn("select");break;case"selectordinal":C="plural",k.push(f.pluralOffset||0,_,this.cases(f,f),1),this.setLocale(_,!0),this.setRuntimeFn("plural");break;case"plural":C="plural",k.push(f.pluralOffset||0,_,this.cases(f,f)),this.setLocale(_,!1),this.setRuntimeFn("plural");break;case"function":{var T=this.options.customFormatters[f.key],F=T&&"module"in T&&typeof T.module=="function";if(!T){if(f.key==="date"){C=this.setDateFormatter(f,k,v);break}else if(f.key==="number"){C=this.setNumberFormatter(f,k,v);break}}if(k.push(JSON.stringify(this.plural.locale)),f.param){v&&this.options.strict&&(v=null);var J=this.getFormatterArg(f,v);J&&k.push(J)}C=F?mr("".concat(f.key,"__").concat(this.plural.locale)):f.key,this.setFormatter(C,f.key);break}case"octothorpe":if(!v)return'"#"';k=[JSON.stringify(this.plural.locale),ml("d",v.arg),v.pluralOffset||0],this.options.strict?(C="strictNumber",k.push(JSON.stringify(v.arg)),this.setRuntimeFn("strictNumber")):(C="number",this.setRuntimeFn("number"));break}if(!C)throw new Error("Parser error for token "+JSON.stringify(f));return"".concat(C,"(").concat(k.join(", "),")")},p.prototype.runtimeIncludes=function(f,v){if(mr(f)!==f)throw new SyntaxError("Reserved word used as ".concat(v," identifier: ").concat(f));var y=this.runtime[f];if(!y||y.type===v)return y;throw new TypeError("Cannot override ".concat(y.type," runtime function as ").concat(v,": ").concat(f))},p.prototype.setLocale=function(f,v){var y=this.runtimeIncludes(f,"locale"),_=this.plural,E=_.getCardinal,k=_.getPlural,C=_.isDefault,T,F,J;if(!v&&C&&E){if(y)return;T=function(ie){return E(ie)},F=Z3,J=function(){return String(E)}}else{if(y&&(!C||y.module===Xd))return;T=function(ie,ye){return k(ie,ye)},F=C?Xd:k.module||null,J=function(){return String(k)}}this.runtime[f]=Object.assign(T,{id:f,module:F,toString:J,type:"locale"})},p.prototype.setRuntimeFn=function(f){this.runtimeIncludes(f,"runtime")||(this.runtime[f]=Object.assign(P3[f],{id:f,module:W3,type:"runtime"}))},p.prototype.getFormatterArg=function(f,v){var y,_,E,k,C=this,T=f.key,F=f.param,J=this.options.customFormatters[T]||eh(T)&&hl[T];if(!J||!F)return null;var ie="arg"in J&&J.arg||"string";if(ie==="options"){var ye="";try{for(var W=n(F),qe=W.next();!qe.done;qe=W.next()){var tt=qe.value;if(tt.type==="content")ye+=tt.value;else throw new SyntaxError("Expected literal options for ".concat(T," formatter"))}}catch(Jn){y={error:Jn}}finally{try{qe&&!qe.done&&(_=W.return)&&_.call(W)}finally{if(y)throw y.error}}var pt={};try{for(var Pt=n(ye.split(",")),mn=Pt.next();!mn.done;mn=Pt.next()){var fr=mn.value,Yn=fr.indexOf(":");if(Yn===-1)pt[fr.trim()]=null;else{var Kn=fr.substring(0,Yn).trim(),Qn=fr.substring(Yn+1).trim();if(Qn==="true")pt[Kn]=!0;else if(Qn==="false")pt[Kn]=!1;else if(Qn==="null")pt[Kn]=null;else{var Je=Number(Qn);pt[Kn]=Number.isFinite(Je)?Je:Qn}}}}catch(Jn){E={error:Jn}}finally{try{mn&&!mn.done&&(k=Pt.return)&&k.call(Pt)}finally{if(E)throw E.error}}return JSON.stringify(pt)}else{var po=F.map(function(Jn){return C.token(Jn,v)});if(ie==="raw")return"[".concat(po.join(", "),"]");var mo=po.join(" + ");return mo?"(".concat(mo,").trim()"):'""'}},p.prototype.setFormatter=function(f,v){if(!this.runtimeIncludes(f,"formatter")){var y=this.options.customFormatters[v||f];if(y){var _=typeof y=="function"?{formatter:y}:y;this.runtime[f]=Object.assign(_.formatter.bind({}),r(r({},_.formatter.prototype),{toString:function(){return String(_.formatter)}}),{type:"formatter"},"module"in y&&y.module&&y.id?{id:mr(y.id),module:typeof y.module=="function"?y.module(this.plural.locale):y.module}:{id:null,module:null})}else if(eh(f))this.runtime[f]=Object.assign(hl[f],{type:"formatter"},{id:f,module:Y3});else throw new Error("Formatting function not found: ".concat(f))}},p.prototype.setDateFormatter=function(f,v,y){var _=this,E=f.param,k=this.plural.locale,C=E&&E.length===1&&E[0];if(C&&C.type==="content"&&/^\s*::/.test(C.value)){var T=C.value.trim().substr(2),F=mr("date_".concat(k,"_").concat(T),!0);if(!this.runtimeIncludes(F,"formatter")){var J=dt(k,T,this.options.timeZone);this.runtime[F]=Object.assign(J,{id:F,module:null,toString:function(){return et(k,T,_.options.timeZone)},type:"formatter"})}return F}if(v.push(JSON.stringify(k)),E&&E.length>0){y&&this.options.strict&&(y=null);var ie=E.map(function(ye){return _.token(ye,y)});v.push("("+(ie.join(" + ")||'""')+").trim()")}return this.setFormatter("date"),"date"},p.prototype.setNumberFormatter=function(f,v,y){var _=this,E=f.param,k=this.plural.locale;if(!E||E.length===0)return v.unshift(JSON.stringify(k)),v.push("0"),this.setRuntimeFn("number"),"number";if(v.push(JSON.stringify(k)),E.length===1&&E[0].type==="content"){var C=E[0].value.trim();switch(C){case"currency":return v.push(JSON.stringify(this.options.currency)),this.setFormatter("numberCurrency"),"numberCurrency";case"integer":return this.setFormatter("numberInteger"),"numberInteger";case"percent":return this.setFormatter("numberPercent"),"numberPercent"}var T=C.match(/^currency:([A-Z]+)$/);if(T)return v.push(JSON.stringify(T[1])),this.setFormatter("numberCurrency"),"numberCurrency";var F=mr("number_".concat(k,"_").concat(C),!0);if(!this.runtimeIncludes(F,"formatter")){var J=this.options.currency,ie=w3(k,C,J);this.runtime[F]=Object.assign(ie,{id:null,module:null,toString:function(){return x3(k,C,J)},type:"formatter"})}return F}y&&this.options.strict&&(y=null);var ye=E.map(function(W){return _.token(W,y)});return v.push("("+(ye.join(" + ")||'""')+").trim()"),v.push(JSON.stringify(this.options.currency)),this.setFormatter("numberFmt"),"numberFmt"},p}();function eh(p){return p in hl}let V=p=>p==1?"one":"other",Gn=p=>p==0||p==1?"one":"other",In=p=>p>=0&&p<=1?"one":"other",St=p=>{let f=String(p).split("."),v=!f[1];return p==1&&v?"one":"other"},Ie=p=>"other",$n=p=>p==1?"one":p==2?"two":"other";var Q3=Object.freeze({__proto__:null,af:V,ak:Gn,am:In,an:V,ar:p=>{let f=String(p).split("."),v=Number(f[0])==p,y=v&&f[0].slice(-2);return p==0?"zero":p==1?"one":p==2?"two":y>=3&&y<=10?"few":y>=11&&y<=99?"many":"other"},ars:p=>{let f=String(p).split("."),v=Number(f[0])==p,y=v&&f[0].slice(-2);return p==0?"zero":p==1?"one":p==2?"two":y>=3&&y<=10?"few":y>=11&&y<=99?"many":"other"},as:In,asa:V,ast:St,az:V,bal:V,be:p=>{let f=String(p).split("."),v=Number(f[0])==p,y=v&&f[0].slice(-1),_=v&&f[0].slice(-2);return y==1&&_!=11?"one":y>=2&&y<=4&&(_<12||_>14)?"few":v&&y==0||y>=5&&y<=9||_>=11&&_<=14?"many":"other"},bem:V,bez:V,bg:V,bho:Gn,bm:Ie,bn:In,bo:Ie,br:p=>{let f=String(p).split("."),v=Number(f[0])==p,y=v&&f[0].slice(-1),_=v&&f[0].slice(-2),E=v&&f[0].slice(-6);return y==1&&_!=11&&_!=71&&_!=91?"one":y==2&&_!=12&&_!=72&&_!=92?"two":(y==3||y==4||y==9)&&(_<10||_>19)&&(_<70||_>79)&&(_<90||_>99)?"few":p!=0&&v&&E==0?"many":"other"},brx:V,bs:p=>{let f=String(p).split("."),v=f[0],y=f[1]||"",_=!f[1],E=v.slice(-1),k=v.slice(-2),C=y.slice(-1),T=y.slice(-2);return _&&E==1&&k!=11||C==1&&T!=11?"one":_&&E>=2&&E<=4&&(k<12||k>14)||C>=2&&C<=4&&(T<12||T>14)?"few":"other"},ca:p=>{let f=String(p).split("."),v=f[0],y=!f[1],_=v.slice(-6);return p==1&&y?"one":v!=0&&_==0&&y?"many":"other"},ce:V,ceb:p=>{let f=String(p).split("."),v=f[0],y=f[1]||"",_=!f[1],E=v.slice(-1),k=y.slice(-1);return _&&(v==1||v==2||v==3)||_&&E!=4&&E!=6&&E!=9||!_&&k!=4&&k!=6&&k!=9?"one":"other"},cgg:V,chr:V,ckb:V,cs:p=>{let f=String(p).split("."),v=f[0],y=!f[1];return p==1&&y?"one":v>=2&&v<=4&&y?"few":y?"other":"many"},cy:p=>p==0?"zero":p==1?"one":p==2?"two":p==3?"few":p==6?"many":"other",da:p=>{let f=String(p).split("."),v=f[0],y=Number(f[0])==p;return p==1||!y&&(v==0||v==1)?"one":"other"},de:St,doi:In,dsb:p=>{let f=String(p).split("."),v=f[0],y=f[1]||"",_=!f[1],E=v.slice(-2),k=y.slice(-2);return _&&E==1||k==1?"one":_&&E==2||k==2?"two":_&&(E==3||E==4)||k==3||k==4?"few":"other"},dv:V,dz:Ie,ee:V,el:V,en:St,eo:V,es:p=>{let f=String(p).split("."),v=f[0],y=!f[1],_=v.slice(-6);return p==1?"one":v!=0&&_==0&&y?"many":"other"},et:St,eu:V,fa:In,ff:p=>p>=0&&p<2?"one":"other",fi:St,fil:p=>{let f=String(p).split("."),v=f[0],y=f[1]||"",_=!f[1],E=v.slice(-1),k=y.slice(-1);return _&&(v==1||v==2||v==3)||_&&E!=4&&E!=6&&E!=9||!_&&k!=4&&k!=6&&k!=9?"one":"other"},fo:V,fr:p=>{let f=String(p).split("."),v=f[0],y=!f[1],_=v.slice(-6);return p>=0&&p<2?"one":v!=0&&_==0&&y?"many":"other"},fur:V,fy:St,ga:p=>{let f=String(p).split("."),v=Number(f[0])==p;return p==1?"one":p==2?"two":v&&p>=3&&p<=6?"few":v&&p>=7&&p<=10?"many":"other"},gd:p=>{let f=String(p).split("."),v=Number(f[0])==p;return p==1||p==11?"one":p==2||p==12?"two":v&&p>=3&&p<=10||v&&p>=13&&p<=19?"few":"other"},gl:St,gsw:V,gu:In,guw:Gn,gv:p=>{let f=String(p).split("."),v=f[0],y=!f[1],_=v.slice(-1),E=v.slice(-2);return y&&_==1?"one":y&&_==2?"two":y&&(E==0||E==20||E==40||E==60||E==80)?"few":y?"other":"many"},ha:V,haw:V,he:p=>{let f=String(p).split("."),v=f[0],y=!f[1];return v==1&&y||v==0&&!y?"one":v==2&&y?"two":"other"},hi:In,hnj:Ie,hr:p=>{let f=String(p).split("."),v=f[0],y=f[1]||"",_=!f[1],E=v.slice(-1),k=v.slice(-2),C=y.slice(-1),T=y.slice(-2);return _&&E==1&&k!=11||C==1&&T!=11?"one":_&&E>=2&&E<=4&&(k<12||k>14)||C>=2&&C<=4&&(T<12||T>14)?"few":"other"},hsb:p=>{let f=String(p).split("."),v=f[0],y=f[1]||"",_=!f[1],E=v.slice(-2),k=y.slice(-2);return _&&E==1||k==1?"one":_&&E==2||k==2?"two":_&&(E==3||E==4)||k==3||k==4?"few":"other"},hu:V,hy:p=>p>=0&&p<2?"one":"other",ia:St,id:Ie,ig:Ie,ii:Ie,io:St,is:p=>{let f=String(p).split("."),v=f[0],y=(f[1]||"").replace(/0+$/,""),_=Number(f[0])==p,E=v.slice(-1),k=v.slice(-2);return _&&E==1&&k!=11||y%10==1&&y%100!=11?"one":"other"},it:p=>{let f=String(p).split("."),v=f[0],y=!f[1],_=v.slice(-6);return p==1&&y?"one":v!=0&&_==0&&y?"many":"other"},iu:$n,ja:Ie,jbo:Ie,jgo:V,jmc:V,jv:Ie,jw:Ie,ka:V,kab:p=>p>=0&&p<2?"one":"other",kaj:V,kcg:V,kde:Ie,kea:Ie,kk:V,kkj:V,kl:V,km:Ie,kn:In,ko:Ie,ks:V,ksb:V,ksh:p=>p==0?"zero":p==1?"one":"other",ku:V,kw:p=>{let f=String(p).split("."),v=Number(f[0])==p,y=v&&f[0].slice(-2),_=v&&f[0].slice(-3),E=v&&f[0].slice(-5),k=v&&f[0].slice(-6);return p==0?"zero":p==1?"one":y==2||y==22||y==42||y==62||y==82||v&&_==0&&(E>=1e3&&E<=2e4||E==4e4||E==6e4||E==8e4)||p!=0&&k==1e5?"two":y==3||y==23||y==43||y==63||y==83?"few":p!=1&&(y==1||y==21||y==41||y==61||y==81)?"many":"other"},ky:V,lag:p=>{let f=String(p).split("."),v=f[0];return p==0?"zero":(v==0||v==1)&&p!=0?"one":"other"},lb:V,lg:V,lij:St,lkt:Ie,ln:Gn,lo:Ie,lt:p=>{let f=String(p).split("."),v=f[1]||"",y=Number(f[0])==p,_=y&&f[0].slice(-1),E=y&&f[0].slice(-2);return _==1&&(E<11||E>19)?"one":_>=2&&_<=9&&(E<11||E>19)?"few":v!=0?"many":"other"},lv:p=>{let f=String(p).split("."),v=f[1]||"",y=v.length,_=Number(f[0])==p,E=_&&f[0].slice(-1),k=_&&f[0].slice(-2),C=v.slice(-2),T=v.slice(-1);return _&&E==0||k>=11&&k<=19||y==2&&C>=11&&C<=19?"zero":E==1&&k!=11||y==2&&T==1&&C!=11||y!=2&&T==1?"one":"other"},mas:V,mg:Gn,mgo:V,mk:p=>{let f=String(p).split("."),v=f[0],y=f[1]||"",_=!f[1],E=v.slice(-1),k=v.slice(-2),C=y.slice(-1),T=y.slice(-2);return _&&E==1&&k!=11||C==1&&T!=11?"one":"other"},ml:V,mn:V,mo:p=>{let f=String(p).split("."),v=!f[1],y=Number(f[0])==p,_=y&&f[0].slice(-2);return p==1&&v?"one":!v||p==0||p!=1&&_>=1&&_<=19?"few":"other"},mr:V,ms:Ie,mt:p=>{let f=String(p).split("."),v=Number(f[0])==p,y=v&&f[0].slice(-2);return p==1?"one":p==2?"two":p==0||y>=3&&y<=10?"few":y>=11&&y<=19?"many":"other"},my:Ie,nah:V,naq:$n,nb:V,nd:V,ne:V,nl:St,nn:V,nnh:V,no:V,nqo:Ie,nr:V,nso:Gn,ny:V,nyn:V,om:V,or:V,os:V,osa:Ie,pa:Gn,pap:V,pcm:In,pl:p=>{let f=String(p).split("."),v=f[0],y=!f[1],_=v.slice(-1),E=v.slice(-2);return p==1&&y?"one":y&&_>=2&&_<=4&&(E<12||E>14)?"few":y&&v!=1&&(_==0||_==1)||y&&_>=5&&_<=9||y&&E>=12&&E<=14?"many":"other"},prg:p=>{let f=String(p).split("."),v=f[1]||"",y=v.length,_=Number(f[0])==p,E=_&&f[0].slice(-1),k=_&&f[0].slice(-2),C=v.slice(-2),T=v.slice(-1);return _&&E==0||k>=11&&k<=19||y==2&&C>=11&&C<=19?"zero":E==1&&k!=11||y==2&&T==1&&C!=11||y!=2&&T==1?"one":"other"},ps:V,pt:p=>{let f=String(p).split("."),v=f[0],y=!f[1],_=v.slice(-6);return v==0||v==1?"one":v!=0&&_==0&&y?"many":"other"},pt_PT:p=>{let f=String(p).split("."),v=f[0],y=!f[1],_=v.slice(-6);return p==1&&y?"one":v!=0&&_==0&&y?"many":"other"},rm:V,ro:p=>{let f=String(p).split("."),v=!f[1],y=Number(f[0])==p,_=y&&f[0].slice(-2);return p==1&&v?"one":!v||p==0||p!=1&&_>=1&&_<=19?"few":"other"},rof:V,ru:p=>{let f=String(p).split("."),v=f[0],y=!f[1],_=v.slice(-1),E=v.slice(-2);return y&&_==1&&E!=11?"one":y&&_>=2&&_<=4&&(E<12||E>14)?"few":y&&_==0||y&&_>=5&&_<=9||y&&E>=11&&E<=14?"many":"other"},rwk:V,sah:Ie,saq:V,sat:$n,sc:St,scn:St,sd:V,sdh:V,se:$n,seh:V,ses:Ie,sg:Ie,sh:p=>{let f=String(p).split("."),v=f[0],y=f[1]||"",_=!f[1],E=v.slice(-1),k=v.slice(-2),C=y.slice(-1),T=y.slice(-2);return _&&E==1&&k!=11||C==1&&T!=11?"one":_&&E>=2&&E<=4&&(k<12||k>14)||C>=2&&C<=4&&(T<12||T>14)?"few":"other"},shi:p=>{let f=String(p).split("."),v=Number(f[0])==p;return p>=0&&p<=1?"one":v&&p>=2&&p<=10?"few":"other"},si:p=>{let f=String(p).split("."),v=f[0],y=f[1]||"";return p==0||p==1||v==0&&y==1?"one":"other"},sk:p=>{let f=String(p).split("."),v=f[0],y=!f[1];return p==1&&y?"one":v>=2&&v<=4&&y?"few":y?"other":"many"},sl:p=>{let f=String(p).split("."),v=f[0],y=!f[1],_=v.slice(-2);return y&&_==1?"one":y&&_==2?"two":y&&(_==3||_==4)||!y?"few":"other"},sma:$n,smi:$n,smj:$n,smn:$n,sms:$n,sn:V,so:V,sq:V,sr:p=>{let f=String(p).split("."),v=f[0],y=f[1]||"",_=!f[1],E=v.slice(-1),k=v.slice(-2),C=y.slice(-1),T=y.slice(-2);return _&&E==1&&k!=11||C==1&&T!=11?"one":_&&E>=2&&E<=4&&(k<12||k>14)||C>=2&&C<=4&&(T<12||T>14)?"few":"other"},ss:V,ssy:V,st:V,su:Ie,sv:St,sw:St,syr:V,ta:V,te:V,teo:V,th:Ie,ti:Gn,tig:V,tk:V,tl:p=>{let f=String(p).split("."),v=f[0],y=f[1]||"",_=!f[1],E=v.slice(-1),k=y.slice(-1);return _&&(v==1||v==2||v==3)||_&&E!=4&&E!=6&&E!=9||!_&&k!=4&&k!=6&&k!=9?"one":"other"},tn:V,to:Ie,tpi:Ie,tr:V,ts:V,tzm:p=>{let f=String(p).split("."),v=Number(f[0])==p;return p==0||p==1||v&&p>=11&&p<=99?"one":"other"},ug:V,uk:p=>{let f=String(p).split("."),v=f[0],y=!f[1],_=v.slice(-1),E=v.slice(-2);return y&&_==1&&E!=11?"one":y&&_>=2&&_<=4&&(E<12||E>14)?"few":y&&_==0||y&&_>=5&&_<=9||y&&E>=11&&E<=14?"many":"other"},und:Ie,ur:St,uz:V,ve:V,vec:p=>{let f=String(p).split("."),v=f[0],y=!f[1],_=v.slice(-6);return p==1&&y?"one":v!=0&&_==0&&y?"many":"other"},vi:Ie,vo:V,vun:V,wa:Gn,wae:V,wo:Ie,xh:V,xog:V,yi:St,yo:Ie,yue:Ie,zh:Ie,zu:In});let Un="zero",H="one",Ue="two",pe="few",fe="many",R="other",O={cardinal:[H,R],ordinal:[R]},Mr={cardinal:[H,R],ordinal:[H,R]},Ne={cardinal:[R],ordinal:[R]},Dn={cardinal:[H,Ue,R],ordinal:[R]};var th=Object.freeze({__proto__:null,af:O,ak:O,am:O,an:O,ar:{cardinal:[Un,H,Ue,pe,fe,R],ordinal:[R]},ars:{cardinal:[Un,H,Ue,pe,fe,R],ordinal:[R]},as:{cardinal:[H,R],ordinal:[H,Ue,pe,fe,R]},asa:O,ast:O,az:{cardinal:[H,R],ordinal:[H,pe,fe,R]},bal:Mr,be:{cardinal:[H,pe,fe,R],ordinal:[pe,R]},bem:O,bez:O,bg:O,bho:O,bm:Ne,bn:{cardinal:[H,R],ordinal:[H,Ue,pe,fe,R]},bo:Ne,br:{cardinal:[H,Ue,pe,fe,R],ordinal:[R]},brx:O,bs:{cardinal:[H,pe,R],ordinal:[R]},ca:{cardinal:[H,fe,R],ordinal:[H,Ue,pe,R]},ce:O,ceb:O,cgg:O,chr:O,ckb:O,cs:{cardinal:[H,pe,fe,R],ordinal:[R]},cy:{cardinal:[Un,H,Ue,pe,fe,R],ordinal:[Un,H,Ue,pe,fe,R]},da:O,de:O,doi:O,dsb:{cardinal:[H,Ue,pe,R],ordinal:[R]},dv:O,dz:Ne,ee:O,el:O,en:{cardinal:[H,R],ordinal:[H,Ue,pe,R]},eo:O,es:{cardinal:[H,fe,R],ordinal:[R]},et:O,eu:O,fa:O,ff:O,fi:O,fil:Mr,fo:O,fr:{cardinal:[H,fe,R],ordinal:[H,R]},fur:O,fy:O,ga:{cardinal:[H,Ue,pe,fe,R],ordinal:[H,R]},gd:{cardinal:[H,Ue,pe,R],ordinal:[H,Ue,pe,R]},gl:O,gsw:O,gu:{cardinal:[H,R],ordinal:[H,Ue,pe,fe,R]},guw:O,gv:{cardinal:[H,Ue,pe,fe,R],ordinal:[R]},ha:O,haw:O,he:Dn,hi:{cardinal:[H,R],ordinal:[H,Ue,pe,fe,R]},hnj:Ne,hr:{cardinal:[H,pe,R],ordinal:[R]},hsb:{cardinal:[H,Ue,pe,R],ordinal:[R]},hu:Mr,hy:Mr,ia:O,id:Ne,ig:Ne,ii:Ne,io:O,is:O,it:{cardinal:[H,fe,R],ordinal:[fe,R]},iu:Dn,ja:Ne,jbo:Ne,jgo:O,jmc:O,jv:Ne,jw:Ne,ka:{cardinal:[H,R],ordinal:[H,fe,R]},kab:O,kaj:O,kcg:O,kde:Ne,kea:Ne,kk:{cardinal:[H,R],ordinal:[fe,R]},kkj:O,kl:O,km:Ne,kn:O,ko:Ne,ks:O,ksb:O,ksh:{cardinal:[Un,H,R],ordinal:[R]},ku:O,kw:{cardinal:[Un,H,Ue,pe,fe,R],ordinal:[H,fe,R]},ky:O,lag:{cardinal:[Un,H,R],ordinal:[R]},lb:O,lg:O,lij:{cardinal:[H,R],ordinal:[fe,R]},lkt:Ne,ln:O,lo:{cardinal:[R],ordinal:[H,R]},lt:{cardinal:[H,pe,fe,R],ordinal:[R]},lv:{cardinal:[Un,H,R],ordinal:[R]},mas:O,mg:O,mgo:O,mk:{cardinal:[H,R],ordinal:[H,Ue,fe,R]},ml:O,mn:O,mo:{cardinal:[H,pe,R],ordinal:[H,R]},mr:{cardinal:[H,R],ordinal:[H,Ue,pe,R]},ms:{cardinal:[R],ordinal:[H,R]},mt:{cardinal:[H,Ue,pe,fe,R],ordinal:[R]},my:Ne,nah:O,naq:Dn,nb:O,nd:O,ne:Mr,nl:O,nn:O,nnh:O,no:O,nqo:Ne,nr:O,nso:O,ny:O,nyn:O,om:O,or:{cardinal:[H,R],ordinal:[H,Ue,pe,fe,R]},os:O,osa:Ne,pa:O,pap:O,pcm:O,pl:{cardinal:[H,pe,fe,R],ordinal:[R]},prg:{cardinal:[Un,H,R],ordinal:[R]},ps:O,pt:{cardinal:[H,fe,R],ordinal:[R]},pt_PT:{cardinal:[H,fe,R],ordinal:[R]},rm:O,ro:{cardinal:[H,pe,R],ordinal:[H,R]},rof:O,ru:{cardinal:[H,pe,fe,R],ordinal:[R]},rwk:O,sah:Ne,saq:O,sat:Dn,sc:{cardinal:[H,R],ordinal:[fe,R]},scn:{cardinal:[H,R],ordinal:[fe,R]},sd:O,sdh:O,se:Dn,seh:O,ses:Ne,sg:Ne,sh:{cardinal:[H,pe,R],ordinal:[R]},shi:{cardinal:[H,pe,R],ordinal:[R]},si:O,sk:{cardinal:[H,pe,fe,R],ordinal:[R]},sl:{cardinal:[H,Ue,pe,R],ordinal:[R]},sma:Dn,smi:Dn,smj:Dn,smn:Dn,sms:Dn,sn:O,so:O,sq:{cardinal:[H,R],ordinal:[H,fe,R]},sr:{cardinal:[H,pe,R],ordinal:[R]},ss:O,ssy:O,st:O,su:Ne,sv:Mr,sw:O,syr:O,ta:O,te:O,teo:O,th:Ne,ti:O,tig:O,tk:{cardinal:[H,R],ordinal:[pe,R]},tl:Mr,tn:O,to:Ne,tpi:Ne,tr:O,ts:O,tzm:O,ug:O,uk:{cardinal:[H,pe,fe,R],ordinal:[pe,R]},und:Ne,ur:O,uz:O,ve:O,vec:{cardinal:[H,fe,R],ordinal:[fe,R]},vi:{cardinal:[R],ordinal:[H,R]},vo:O,vun:O,wa:O,wae:O,wo:Ne,xh:O,xog:O,yi:O,yo:Ne,yue:Ne,zh:Ne,zu:O});let q=(p,f)=>f?"other":p==1?"one":"other",Wn=(p,f)=>f?"other":p==0||p==1?"one":"other",ra=(p,f)=>f?"other":p>=0&&p<=1?"one":"other",tn=(p,f)=>{let v=String(p).split("."),y=!v[1];return f?"other":p==1&&y?"one":"other"},Te=(p,f)=>"other",Zn=(p,f)=>f?"other":p==1?"one":p==2?"two":"other";var co=Object.freeze({__proto__:null,af:q,ak:Wn,am:ra,an:q,ar:(p,f)=>{let v=String(p).split("."),y=Number(v[0])==p,_=y&&v[0].slice(-2);return f?"other":p==0?"zero":p==1?"one":p==2?"two":_>=3&&_<=10?"few":_>=11&&_<=99?"many":"other"},ars:(p,f)=>{let v=String(p).split("."),y=Number(v[0])==p,_=y&&v[0].slice(-2);return f?"other":p==0?"zero":p==1?"one":p==2?"two":_>=3&&_<=10?"few":_>=11&&_<=99?"many":"other"},as:(p,f)=>f?p==1||p==5||p==7||p==8||p==9||p==10?"one":p==2||p==3?"two":p==4?"few":p==6?"many":"other":p>=0&&p<=1?"one":"other",asa:q,ast:tn,az:(p,f)=>{let v=String(p).split("."),y=v[0],_=y.slice(-1),E=y.slice(-2),k=y.slice(-3);return f?_==1||_==2||_==5||_==7||_==8||E==20||E==50||E==70||E==80?"one":_==3||_==4||k==100||k==200||k==300||k==400||k==500||k==600||k==700||k==800||k==900?"few":y==0||_==6||E==40||E==60||E==90?"many":"other":p==1?"one":"other"},bal:(p,f)=>p==1?"one":"other",be:(p,f)=>{let v=String(p).split("."),y=Number(v[0])==p,_=y&&v[0].slice(-1),E=y&&v[0].slice(-2);return f?(_==2||_==3)&&E!=12&&E!=13?"few":"other":_==1&&E!=11?"one":_>=2&&_<=4&&(E<12||E>14)?"few":y&&_==0||_>=5&&_<=9||E>=11&&E<=14?"many":"other"},bem:q,bez:q,bg:q,bho:Wn,bm:Te,bn:(p,f)=>f?p==1||p==5||p==7||p==8||p==9||p==10?"one":p==2||p==3?"two":p==4?"few":p==6?"many":"other":p>=0&&p<=1?"one":"other",bo:Te,br:(p,f)=>{let v=String(p).split("."),y=Number(v[0])==p,_=y&&v[0].slice(-1),E=y&&v[0].slice(-2),k=y&&v[0].slice(-6);return f?"other":_==1&&E!=11&&E!=71&&E!=91?"one":_==2&&E!=12&&E!=72&&E!=92?"two":(_==3||_==4||_==9)&&(E<10||E>19)&&(E<70||E>79)&&(E<90||E>99)?"few":p!=0&&y&&k==0?"many":"other"},brx:q,bs:(p,f)=>{let v=String(p).split("."),y=v[0],_=v[1]||"",E=!v[1],k=y.slice(-1),C=y.slice(-2),T=_.slice(-1),F=_.slice(-2);return f?"other":E&&k==1&&C!=11||T==1&&F!=11?"one":E&&k>=2&&k<=4&&(C<12||C>14)||T>=2&&T<=4&&(F<12||F>14)?"few":"other"},ca:(p,f)=>{let v=String(p).split("."),y=v[0],_=!v[1],E=y.slice(-6);return f?p==1||p==3?"one":p==2?"two":p==4?"few":"other":p==1&&_?"one":y!=0&&E==0&&_?"many":"other"},ce:q,ceb:(p,f)=>{let v=String(p).split("."),y=v[0],_=v[1]||"",E=!v[1],k=y.slice(-1),C=_.slice(-1);return f?"other":E&&(y==1||y==2||y==3)||E&&k!=4&&k!=6&&k!=9||!E&&C!=4&&C!=6&&C!=9?"one":"other"},cgg:q,chr:q,ckb:q,cs:(p,f)=>{let v=String(p).split("."),y=v[0],_=!v[1];return f?"other":p==1&&_?"one":y>=2&&y<=4&&_?"few":_?"other":"many"},cy:(p,f)=>f?p==0||p==7||p==8||p==9?"zero":p==1?"one":p==2?"two":p==3||p==4?"few":p==5||p==6?"many":"other":p==0?"zero":p==1?"one":p==2?"two":p==3?"few":p==6?"many":"other",da:(p,f)=>{let v=String(p).split("."),y=v[0],_=Number(v[0])==p;return f?"other":p==1||!_&&(y==0||y==1)?"one":"other"},de:tn,doi:ra,dsb:(p,f)=>{let v=String(p).split("."),y=v[0],_=v[1]||"",E=!v[1],k=y.slice(-2),C=_.slice(-2);return f?"other":E&&k==1||C==1?"one":E&&k==2||C==2?"two":E&&(k==3||k==4)||C==3||C==4?"few":"other"},dv:q,dz:Te,ee:q,el:q,en:(p,f)=>{let v=String(p).split("."),y=!v[1],_=Number(v[0])==p,E=_&&v[0].slice(-1),k=_&&v[0].slice(-2);return f?E==1&&k!=11?"one":E==2&&k!=12?"two":E==3&&k!=13?"few":"other":p==1&&y?"one":"other"},eo:q,es:(p,f)=>{let v=String(p).split("."),y=v[0],_=!v[1],E=y.slice(-6);return f?"other":p==1?"one":y!=0&&E==0&&_?"many":"other"},et:tn,eu:q,fa:ra,ff:(p,f)=>f?"other":p>=0&&p<2?"one":"other",fi:tn,fil:(p,f)=>{let v=String(p).split("."),y=v[0],_=v[1]||"",E=!v[1],k=y.slice(-1),C=_.slice(-1);return f?p==1?"one":"other":E&&(y==1||y==2||y==3)||E&&k!=4&&k!=6&&k!=9||!E&&C!=4&&C!=6&&C!=9?"one":"other"},fo:q,fr:(p,f)=>{let v=String(p).split("."),y=v[0],_=!v[1],E=y.slice(-6);return f?p==1?"one":"other":p>=0&&p<2?"one":y!=0&&E==0&&_?"many":"other"},fur:q,fy:tn,ga:(p,f)=>{let v=String(p).split("."),y=Number(v[0])==p;return f?p==1?"one":"other":p==1?"one":p==2?"two":y&&p>=3&&p<=6?"few":y&&p>=7&&p<=10?"many":"other"},gd:(p,f)=>{let v=String(p).split("."),y=Number(v[0])==p;return f?p==1||p==11?"one":p==2||p==12?"two":p==3||p==13?"few":"other":p==1||p==11?"one":p==2||p==12?"two":y&&p>=3&&p<=10||y&&p>=13&&p<=19?"few":"other"},gl:tn,gsw:q,gu:(p,f)=>f?p==1?"one":p==2||p==3?"two":p==4?"few":p==6?"many":"other":p>=0&&p<=1?"one":"other",guw:Wn,gv:(p,f)=>{let v=String(p).split("."),y=v[0],_=!v[1],E=y.slice(-1),k=y.slice(-2);return f?"other":_&&E==1?"one":_&&E==2?"two":_&&(k==0||k==20||k==40||k==60||k==80)?"few":_?"other":"many"},ha:q,haw:q,he:(p,f)=>{let v=String(p).split("."),y=v[0],_=!v[1];return f?"other":y==1&&_||y==0&&!_?"one":y==2&&_?"two":"other"},hi:(p,f)=>f?p==1?"one":p==2||p==3?"two":p==4?"few":p==6?"many":"other":p>=0&&p<=1?"one":"other",hnj:Te,hr:(p,f)=>{let v=String(p).split("."),y=v[0],_=v[1]||"",E=!v[1],k=y.slice(-1),C=y.slice(-2),T=_.slice(-1),F=_.slice(-2);return f?"other":E&&k==1&&C!=11||T==1&&F!=11?"one":E&&k>=2&&k<=4&&(C<12||C>14)||T>=2&&T<=4&&(F<12||F>14)?"few":"other"},hsb:(p,f)=>{let v=String(p).split("."),y=v[0],_=v[1]||"",E=!v[1],k=y.slice(-2),C=_.slice(-2);return f?"other":E&&k==1||C==1?"one":E&&k==2||C==2?"two":E&&(k==3||k==4)||C==3||C==4?"few":"other"},hu:(p,f)=>f?p==1||p==5?"one":"other":p==1?"one":"other",hy:(p,f)=>f?p==1?"one":"other":p>=0&&p<2?"one":"other",ia:tn,id:Te,ig:Te,ii:Te,io:tn,is:(p,f)=>{let v=String(p).split("."),y=v[0],_=(v[1]||"").replace(/0+$/,""),E=Number(v[0])==p,k=y.slice(-1),C=y.slice(-2);return f?"other":E&&k==1&&C!=11||_%10==1&&_%100!=11?"one":"other"},it:(p,f)=>{let v=String(p).split("."),y=v[0],_=!v[1],E=y.slice(-6);return f?p==11||p==8||p==80||p==800?"many":"other":p==1&&_?"one":y!=0&&E==0&&_?"many":"other"},iu:Zn,ja:Te,jbo:Te,jgo:q,jmc:q,jv:Te,jw:Te,ka:(p,f)=>{let v=String(p).split("."),y=v[0],_=y.slice(-2);return f?y==1?"one":y==0||_>=2&&_<=20||_==40||_==60||_==80?"many":"other":p==1?"one":"other"},kab:(p,f)=>f?"other":p>=0&&p<2?"one":"other",kaj:q,kcg:q,kde:Te,kea:Te,kk:(p,f)=>{let v=String(p).split("."),y=Number(v[0])==p,_=y&&v[0].slice(-1);return f?_==6||_==9||y&&_==0&&p!=0?"many":"other":p==1?"one":"other"},kkj:q,kl:q,km:Te,kn:ra,ko:Te,ks:q,ksb:q,ksh:(p,f)=>f?"other":p==0?"zero":p==1?"one":"other",ku:q,kw:(p,f)=>{let v=String(p).split("."),y=Number(v[0])==p,_=y&&v[0].slice(-2),E=y&&v[0].slice(-3),k=y&&v[0].slice(-5),C=y&&v[0].slice(-6);return f?y&&p>=1&&p<=4||_>=1&&_<=4||_>=21&&_<=24||_>=41&&_<=44||_>=61&&_<=64||_>=81&&_<=84?"one":p==5||_==5?"many":"other":p==0?"zero":p==1?"one":_==2||_==22||_==42||_==62||_==82||y&&E==0&&(k>=1e3&&k<=2e4||k==4e4||k==6e4||k==8e4)||p!=0&&C==1e5?"two":_==3||_==23||_==43||_==63||_==83?"few":p!=1&&(_==1||_==21||_==41||_==61||_==81)?"many":"other"},ky:q,lag:(p,f)=>{let v=String(p).split("."),y=v[0];return f?"other":p==0?"zero":(y==0||y==1)&&p!=0?"one":"other"},lb:q,lg:q,lij:(p,f)=>{let v=String(p).split("."),y=!v[1],_=Number(v[0])==p;return f?p==11||p==8||_&&p>=80&&p<=89||_&&p>=800&&p<=899?"many":"other":p==1&&y?"one":"other"},lkt:Te,ln:Wn,lo:(p,f)=>f&&p==1?"one":"other",lt:(p,f)=>{let v=String(p).split("."),y=v[1]||"",_=Number(v[0])==p,E=_&&v[0].slice(-1),k=_&&v[0].slice(-2);return f?"other":E==1&&(k<11||k>19)?"one":E>=2&&E<=9&&(k<11||k>19)?"few":y!=0?"many":"other"},lv:(p,f)=>{let v=String(p).split("."),y=v[1]||"",_=y.length,E=Number(v[0])==p,k=E&&v[0].slice(-1),C=E&&v[0].slice(-2),T=y.slice(-2),F=y.slice(-1);return f?"other":E&&k==0||C>=11&&C<=19||_==2&&T>=11&&T<=19?"zero":k==1&&C!=11||_==2&&F==1&&T!=11||_!=2&&F==1?"one":"other"},mas:q,mg:Wn,mgo:q,mk:(p,f)=>{let v=String(p).split("."),y=v[0],_=v[1]||"",E=!v[1],k=y.slice(-1),C=y.slice(-2),T=_.slice(-1),F=_.slice(-2);return f?k==1&&C!=11?"one":k==2&&C!=12?"two":(k==7||k==8)&&C!=17&&C!=18?"many":"other":E&&k==1&&C!=11||T==1&&F!=11?"one":"other"},ml:q,mn:q,mo:(p,f)=>{let v=String(p).split("."),y=!v[1],_=Number(v[0])==p,E=_&&v[0].slice(-2);return f?p==1?"one":"other":p==1&&y?"one":!y||p==0||p!=1&&E>=1&&E<=19?"few":"other"},mr:(p,f)=>f?p==1?"one":p==2||p==3?"two":p==4?"few":"other":p==1?"one":"other",ms:(p,f)=>f&&p==1?"one":"other",mt:(p,f)=>{let v=String(p).split("."),y=Number(v[0])==p,_=y&&v[0].slice(-2);return f?"other":p==1?"one":p==2?"two":p==0||_>=3&&_<=10?"few":_>=11&&_<=19?"many":"other"},my:Te,nah:q,naq:Zn,nb:q,nd:q,ne:(p,f)=>{let v=String(p).split("."),y=Number(v[0])==p;return f?y&&p>=1&&p<=4?"one":"other":p==1?"one":"other"},nl:tn,nn:q,nnh:q,no:q,nqo:Te,nr:q,nso:Wn,ny:q,nyn:q,om:q,or:(p,f)=>{let v=String(p).split("."),y=Number(v[0])==p;return f?p==1||p==5||y&&p>=7&&p<=9?"one":p==2||p==3?"two":p==4?"few":p==6?"many":"other":p==1?"one":"other"},os:q,osa:Te,pa:Wn,pap:q,pcm:ra,pl:(p,f)=>{let v=String(p).split("."),y=v[0],_=!v[1],E=y.slice(-1),k=y.slice(-2);return f?"other":p==1&&_?"one":_&&E>=2&&E<=4&&(k<12||k>14)?"few":_&&y!=1&&(E==0||E==1)||_&&E>=5&&E<=9||_&&k>=12&&k<=14?"many":"other"},prg:(p,f)=>{let v=String(p).split("."),y=v[1]||"",_=y.length,E=Number(v[0])==p,k=E&&v[0].slice(-1),C=E&&v[0].slice(-2),T=y.slice(-2),F=y.slice(-1);return f?"other":E&&k==0||C>=11&&C<=19||_==2&&T>=11&&T<=19?"zero":k==1&&C!=11||_==2&&F==1&&T!=11||_!=2&&F==1?"one":"other"},ps:q,pt:(p,f)=>{let v=String(p).split("."),y=v[0],_=!v[1],E=y.slice(-6);return f?"other":y==0||y==1?"one":y!=0&&E==0&&_?"many":"other"},pt_PT:(p,f)=>{let v=String(p).split("."),y=v[0],_=!v[1],E=y.slice(-6);return f?"other":p==1&&_?"one":y!=0&&E==0&&_?"many":"other"},rm:q,ro:(p,f)=>{let v=String(p).split("."),y=!v[1],_=Number(v[0])==p,E=_&&v[0].slice(-2);return f?p==1?"one":"other":p==1&&y?"one":!y||p==0||p!=1&&E>=1&&E<=19?"few":"other"},rof:q,ru:(p,f)=>{let v=String(p).split("."),y=v[0],_=!v[1],E=y.slice(-1),k=y.slice(-2);return f?"other":_&&E==1&&k!=11?"one":_&&E>=2&&E<=4&&(k<12||k>14)?"few":_&&E==0||_&&E>=5&&E<=9||_&&k>=11&&k<=14?"many":"other"},rwk:q,sah:Te,saq:q,sat:Zn,sc:(p,f)=>{let v=String(p).split("."),y=!v[1];return f?p==11||p==8||p==80||p==800?"many":"other":p==1&&y?"one":"other"},scn:(p,f)=>{let v=String(p).split("."),y=!v[1];return f?p==11||p==8||p==80||p==800?"many":"other":p==1&&y?"one":"other"},sd:q,sdh:q,se:Zn,seh:q,ses:Te,sg:Te,sh:(p,f)=>{let v=String(p).split("."),y=v[0],_=v[1]||"",E=!v[1],k=y.slice(-1),C=y.slice(-2),T=_.slice(-1),F=_.slice(-2);return f?"other":E&&k==1&&C!=11||T==1&&F!=11?"one":E&&k>=2&&k<=4&&(C<12||C>14)||T>=2&&T<=4&&(F<12||F>14)?"few":"other"},shi:(p,f)=>{let v=String(p).split("."),y=Number(v[0])==p;return f?"other":p>=0&&p<=1?"one":y&&p>=2&&p<=10?"few":"other"},si:(p,f)=>{let v=String(p).split("."),y=v[0],_=v[1]||"";return f?"other":p==0||p==1||y==0&&_==1?"one":"other"},sk:(p,f)=>{let v=String(p).split("."),y=v[0],_=!v[1];return f?"other":p==1&&_?"one":y>=2&&y<=4&&_?"few":_?"other":"many"},sl:(p,f)=>{let v=String(p).split("."),y=v[0],_=!v[1],E=y.slice(-2);return f?"other":_&&E==1?"one":_&&E==2?"two":_&&(E==3||E==4)||!_?"few":"other"},sma:Zn,smi:Zn,smj:Zn,smn:Zn,sms:Zn,sn:q,so:q,sq:(p,f)=>{let v=String(p).split("."),y=Number(v[0])==p,_=y&&v[0].slice(-1),E=y&&v[0].slice(-2);return f?p==1?"one":_==4&&E!=14?"many":"other":p==1?"one":"other"},sr:(p,f)=>{let v=String(p).split("."),y=v[0],_=v[1]||"",E=!v[1],k=y.slice(-1),C=y.slice(-2),T=_.slice(-1),F=_.slice(-2);return f?"other":E&&k==1&&C!=11||T==1&&F!=11?"one":E&&k>=2&&k<=4&&(C<12||C>14)||T>=2&&T<=4&&(F<12||F>14)?"few":"other"},ss:q,ssy:q,st:q,su:Te,sv:(p,f)=>{let v=String(p).split("."),y=!v[1],_=Number(v[0])==p,E=_&&v[0].slice(-1),k=_&&v[0].slice(-2);return f?(E==1||E==2)&&k!=11&&k!=12?"one":"other":p==1&&y?"one":"other"},sw:tn,syr:q,ta:q,te:q,teo:q,th:Te,ti:Wn,tig:q,tk:(p,f)=>{let v=String(p).split("."),y=Number(v[0])==p,_=y&&v[0].slice(-1);return f?_==6||_==9||p==10?"few":"other":p==1?"one":"other"},tl:(p,f)=>{let v=String(p).split("."),y=v[0],_=v[1]||"",E=!v[1],k=y.slice(-1),C=_.slice(-1);return f?p==1?"one":"other":E&&(y==1||y==2||y==3)||E&&k!=4&&k!=6&&k!=9||!E&&C!=4&&C!=6&&C!=9?"one":"other"},tn:q,to:Te,tpi:Te,tr:q,ts:q,tzm:(p,f)=>{let v=String(p).split("."),y=Number(v[0])==p;return f?"other":p==0||p==1||y&&p>=11&&p<=99?"one":"other"},ug:q,uk:(p,f)=>{let v=String(p).split("."),y=v[0],_=!v[1],E=Number(v[0])==p,k=E&&v[0].slice(-1),C=E&&v[0].slice(-2),T=y.slice(-1),F=y.slice(-2);return f?k==3&&C!=13?"few":"other":_&&T==1&&F!=11?"one":_&&T>=2&&T<=4&&(F<12||F>14)?"few":_&&T==0||_&&T>=5&&T<=9||_&&F>=11&&F<=14?"many":"other"},und:Te,ur:tn,uz:q,ve:q,vec:(p,f)=>{let v=String(p).split("."),y=v[0],_=!v[1],E=y.slice(-6);return f?p==11||p==8||p==80||p==800?"many":"other":p==1&&_?"one":y!=0&&E==0&&_?"many":"other"},vi:(p,f)=>f&&p==1?"one":"other",vo:q,vun:q,wa:Wn,wae:q,wo:Te,xh:q,xog:q,yi:tn,yo:Te,yue:Te,zh:Te,zu:ra});function fl(p){if(typeof p!="string"||p.length<2)throw new RangeError("Invalid language tag: ".concat(p));if(p.startsWith("pt-PT"))return"pt-PT";var f=p.match(/.+?(?=[-_])/);return f?f[0]:p}function ho(p){if(typeof p=="function"){var f=fl(p.name);return{isDefault:!1,id:mr(f),lc:f,locale:p.name,getPlural:p,cardinals:p.cardinals||[],ordinals:p.ordinals||[]}}var v=fl(p),y=mr(v);return ez(y)?{isDefault:!0,id:y,lc:v,locale:p,getCardinal:Q3[y],getPlural:co[y],cardinals:th[y].cardinal,ordinals:th[y].ordinal}:null}function J3(p){var f=Object.keys(co).filter(function(v){return v!==p});return f.unshift(p),f.map(ho)}function X3(p){var f=fl(p);return mr(f)in co}function ez(p){return p in co}var tz=function(){function p(f,v){if(this.plurals=[],this.options=Object.assign({biDiSupport:!1,currency:"USD",customFormatters:{},localeCodeFromKey:null,requireAllArguments:!1,returnType:"string",strict:v&&v.strictNumberSign||!1,strictPluralKeys:!0},v),f==="*")this.plurals=J3(p.defaultLocale);else if(Array.isArray(f))this.plurals=f.map(ho).filter(Boolean);else if(f){var y=ho(f);y&&(this.plurals=[y])}if(this.plurals.length===0){var y=ho(p.defaultLocale);this.plurals=[y]}}return p.escape=function(f,v){var y=v?/[#{}]/g:/[{}]/g;return String(f).replace(y,"'$&'")},p.supportedLocalesOf=function(f){var v=Array.isArray(f)?f:[f];return v.filter(X3)},p.prototype.resolvedOptions=function(){return r(r({},this.options),{locale:this.plurals[0].locale,plurals:this.plurals})},p.prototype.compile=function(f){var v,y,_=new K3(this.options),E="return "+_.compile(f,this.plurals[0]),k=[],C=[];try{for(var T=n(Object.entries(_.runtime)),F=T.next();!F.done;F=T.next()){var J=a(F.value,2),ie=J[0],ye=J[1];k.push(ie),C.push(ye)}}catch(qe){v={error:qe}}finally{try{F&&!F.done&&(y=T.return)&&y.call(T)}finally{if(v)throw v.error}}var W=new(Function.bind.apply(Function,i(i([void 0],a(k),!1),[E],!1)));return W.apply(void 0,i([],a(C),!1))},p.defaultLocale="en",p}();return tz})}),Qt=te(e=>{Object.defineProperty(e,"__esModule",{value:!0});function t(n,a){if(!(n instanceof a))throw new TypeError("Cannot call a class as a function")}var r=function n(a,i){t(this,n),this.data=a,this.text=i.text||a,this.options=i};e.default=r}),mz=te(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.CODE39=void 0;var t=function(){function S(N,L){for(var A=0;A<L.length;A++){var Y=L[A];Y.enumerable=Y.enumerable||!1,Y.configurable=!0,"value"in Y&&(Y.writable=!0),Object.defineProperty(N,Y.key,Y)}}return function(N,L,A){return L&&S(N.prototype,L),A&&S(N,A),N}}(),r=Qt(),n=a(r);function a(S){return S&&S.__esModule?S:{default:S}}function i(S,N){if(!(S instanceof N))throw new TypeError("Cannot call a class as a function")}function o(S,N){if(!S)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return N&&(typeof N=="object"||typeof N=="function")?N:S}function l(S,N){if(typeof N!="function"&&N!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof N);S.prototype=Object.create(N&&N.prototype,{constructor:{value:S,enumerable:!1,writable:!0,configurable:!0}}),N&&(Object.setPrototypeOf?Object.setPrototypeOf(S,N):S.__proto__=N)}var h=function(S){l(N,S);function N(L,A){return i(this,N),L=L.toUpperCase(),A.mod43&&(L+=g(x(L))),o(this,(N.__proto__||Object.getPrototypeOf(N)).call(this,L,A))}return t(N,[{key:"encode",value:function(){for(var L=m("*"),A=0;A<this.data.length;A++)L+=m(this.data[A])+"0";return L+=m("*"),{data:L,text:this.text}}},{key:"valid",value:function(){return this.data.search(/^[0-9A-Z\-\.\ \$\/\+\%]+$/)!==-1}}]),N}(n.default),u=["0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","-","."," ","$","/","+","%","*"],c=[20957,29783,23639,30485,20951,29813,23669,20855,29789,23645,29975,23831,30533,22295,30149,24005,21623,29981,23837,22301,30023,23879,30545,22343,30161,24017,21959,30065,23921,22385,29015,18263,29141,17879,29045,18293,17783,29021,18269,17477,17489,17681,20753,35770];function m(S){return b(w(S))}function b(S){return c[S].toString(2)}function g(S){return u[S]}function w(S){return u.indexOf(S)}function x(S){for(var N=0,L=0;L<S.length;L++)N+=w(S[L]);return N=N%43,N}e.CODE39=h}),Ri=te(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t;function r(u,c,m){return c in u?Object.defineProperty(u,c,{value:m,enumerable:!0,configurable:!0,writable:!0}):u[c]=m,u}var n=e.SET_A=0,a=e.SET_B=1,i=e.SET_C=2;e.SHIFT=98;var o=e.START_A=103,l=e.START_B=104,h=e.START_C=105;e.MODULO=103,e.STOP=106,e.FNC1=207,e.SET_BY_CODE=(t={},r(t,o,n),r(t,l,a),r(t,h,i),t),e.SWAP={101:n,100:a,99:i},e.A_START_CHAR="Ð",e.B_START_CHAR="Ñ",e.C_START_CHAR="Ò",e.A_CHARS="[\0-_È-Ï]",e.B_CHARS="[ -È-Ï]",e.C_CHARS="(Ï*[0-9]{2}Ï*)",e.BARS=[11011001100,11001101100,11001100110,10010011e3,10010001100,10001001100,10011001e3,10011000100,10001100100,11001001e3,11001000100,11000100100,10110011100,10011011100,10011001110,10111001100,10011101100,10011100110,11001110010,11001011100,11001001110,11011100100,11001110100,11101101110,11101001100,11100101100,11100100110,11101100100,11100110100,11100110010,11011011e3,11011000110,11000110110,10100011e3,10001011e3,10001000110,10110001e3,10001101e3,10001100010,11010001e3,11000101e3,11000100010,10110111e3,10110001110,10001101110,10111011e3,10111000110,10001110110,11101110110,11010001110,11000101110,11011101e3,11011100010,11011101110,11101011e3,11101000110,11100010110,11101101e3,11101100010,11100011010,11101111010,11001000010,11110001010,1010011e4,10100001100,1001011e4,10010000110,10000101100,10000100110,1011001e4,10110000100,1001101e4,10011000010,10000110100,10000110010,11000010010,1100101e4,11110111010,11000010100,10001111010,10100111100,10010111100,10010011110,10111100100,10011110100,10011110010,11110100100,11110010100,11110010010,11011011110,11011110110,11110110110,10101111e3,10100011110,10001011110,10111101e3,10111100010,11110101e3,11110100010,10111011110,10111101110,11101011110,11110101110,11010000100,1101001e4,11010011100,1100011101011]}),As=te(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function c(m,b){for(var g=0;g<b.length;g++){var w=b[g];w.enumerable=w.enumerable||!1,w.configurable=!0,"value"in w&&(w.writable=!0),Object.defineProperty(m,w.key,w)}}return function(m,b,g){return b&&c(m.prototype,b),g&&c(m,g),m}}(),r=Qt(),n=i(r),a=Ri();function i(c){return c&&c.__esModule?c:{default:c}}function o(c,m){if(!(c instanceof m))throw new TypeError("Cannot call a class as a function")}function l(c,m){if(!c)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return m&&(typeof m=="object"||typeof m=="function")?m:c}function h(c,m){if(typeof m!="function"&&m!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof m);c.prototype=Object.create(m&&m.prototype,{constructor:{value:c,enumerable:!1,writable:!0,configurable:!0}}),m&&(Object.setPrototypeOf?Object.setPrototypeOf(c,m):c.__proto__=m)}var u=function(c){h(m,c);function m(b,g){o(this,m);var w=l(this,(m.__proto__||Object.getPrototypeOf(m)).call(this,b.substring(1),g));return w.bytes=b.split("").map(function(x){return x.charCodeAt(0)}),w}return t(m,[{key:"valid",value:function(){return/^[\x00-\x7F\xC8-\xD3]+$/.test(this.data)}},{key:"encode",value:function(){var b=this.bytes,g=b.shift()-105,w=a.SET_BY_CODE[g];if(w===void 0)throw new RangeError("The encoding does not start with a start character.");this.shouldEncodeAsEan128()===!0&&b.unshift(a.FNC1);var x=m.next(b,1,w);return{text:this.text===this.data?this.text.replace(/[^\x20-\x7E]/g,""):this.text,data:m.getBar(g)+x.result+m.getBar((x.checksum+g)%a.MODULO)+m.getBar(a.STOP)}}},{key:"shouldEncodeAsEan128",value:function(){var b=this.options.ean128||!1;return typeof b=="string"&&(b=b.toLowerCase()==="true"),b}}],[{key:"getBar",value:function(b){return a.BARS[b]?a.BARS[b].toString():""}},{key:"correctIndex",value:function(b,g){if(g===a.SET_A){var w=b.shift();return w<32?w+64:w-32}else return g===a.SET_B?b.shift()-32:(b.shift()-48)*10+b.shift()-48}},{key:"next",value:function(b,g,w){if(!b.length)return{result:"",checksum:0};var x=void 0,S=void 0;if(b[0]>=200){S=b.shift()-105;var N=a.SWAP[S];N!==void 0?x=m.next(b,g+1,N):((w===a.SET_A||w===a.SET_B)&&S===a.SHIFT&&(b[0]=w===a.SET_A?b[0]>95?b[0]-96:b[0]:b[0]<32?b[0]+96:b[0]),x=m.next(b,g+1,w))}else S=m.correctIndex(b,w),x=m.next(b,g+1,w);var L=m.getBar(S),A=S*g;return{result:L+x.result,checksum:A+x.checksum}}}]),m}(n.default);e.default=u}),fz=te(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=Ri(),r=function(l){return l.match(new RegExp("^"+t.A_CHARS+"*"))[0].length},n=function(l){return l.match(new RegExp("^"+t.B_CHARS+"*"))[0].length},a=function(l){return l.match(new RegExp("^"+t.C_CHARS+"*"))[0]};function i(l,h){var u=h?t.A_CHARS:t.B_CHARS,c=l.match(new RegExp("^("+u+"+?)(([0-9]{2}){2,})([^0-9]|$)"));if(c)return c[1]+"Ì"+o(l.substring(c[1].length));var m=l.match(new RegExp("^"+u+"+"))[0];return m.length===l.length?l:m+String.fromCharCode(h?205:206)+i(l.substring(m.length),!h)}function o(l){var h=a(l),u=h.length;if(u===l.length)return l;l=l.substring(u);var c=r(l)>=n(l);return h+String.fromCharCode(c?206:205)+i(l,c)}e.default=function(l){var h=void 0,u=a(l).length;if(u>=2)h=t.C_START_CHAR+o(l);else{var c=r(l)>n(l);h=(c?t.A_START_CHAR:t.B_START_CHAR)+i(l,c)}return h.replace(/[\xCD\xCE]([^])[\xCD\xCE]/,function(m,b){return"Ë"+b})}}),gz=te(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=As(),r=i(t),n=fz(),a=i(n);function i(c){return c&&c.__esModule?c:{default:c}}function o(c,m){if(!(c instanceof m))throw new TypeError("Cannot call a class as a function")}function l(c,m){if(!c)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return m&&(typeof m=="object"||typeof m=="function")?m:c}function h(c,m){if(typeof m!="function"&&m!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof m);c.prototype=Object.create(m&&m.prototype,{constructor:{value:c,enumerable:!1,writable:!0,configurable:!0}}),m&&(Object.setPrototypeOf?Object.setPrototypeOf(c,m):c.__proto__=m)}var u=function(c){h(m,c);function m(b,g){if(o(this,m),/^[\x00-\x7F\xC8-\xD3]+$/.test(b))var w=l(this,(m.__proto__||Object.getPrototypeOf(m)).call(this,(0,a.default)(b),g));else var w=l(this,(m.__proto__||Object.getPrototypeOf(m)).call(this,b,g));return l(w)}return m}(r.default);e.default=u}),vz=te(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function c(m,b){for(var g=0;g<b.length;g++){var w=b[g];w.enumerable=w.enumerable||!1,w.configurable=!0,"value"in w&&(w.writable=!0),Object.defineProperty(m,w.key,w)}}return function(m,b,g){return b&&c(m.prototype,b),g&&c(m,g),m}}(),r=As(),n=i(r),a=Ri();function i(c){return c&&c.__esModule?c:{default:c}}function o(c,m){if(!(c instanceof m))throw new TypeError("Cannot call a class as a function")}function l(c,m){if(!c)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return m&&(typeof m=="object"||typeof m=="function")?m:c}function h(c,m){if(typeof m!="function"&&m!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof m);c.prototype=Object.create(m&&m.prototype,{constructor:{value:c,enumerable:!1,writable:!0,configurable:!0}}),m&&(Object.setPrototypeOf?Object.setPrototypeOf(c,m):c.__proto__=m)}var u=function(c){h(m,c);function m(b,g){return o(this,m),l(this,(m.__proto__||Object.getPrototypeOf(m)).call(this,a.A_START_CHAR+b,g))}return t(m,[{key:"valid",value:function(){return new RegExp("^"+a.A_CHARS+"+$").test(this.data)}}]),m}(n.default);e.default=u}),bz=te(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function c(m,b){for(var g=0;g<b.length;g++){var w=b[g];w.enumerable=w.enumerable||!1,w.configurable=!0,"value"in w&&(w.writable=!0),Object.defineProperty(m,w.key,w)}}return function(m,b,g){return b&&c(m.prototype,b),g&&c(m,g),m}}(),r=As(),n=i(r),a=Ri();function i(c){return c&&c.__esModule?c:{default:c}}function o(c,m){if(!(c instanceof m))throw new TypeError("Cannot call a class as a function")}function l(c,m){if(!c)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return m&&(typeof m=="object"||typeof m=="function")?m:c}function h(c,m){if(typeof m!="function"&&m!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof m);c.prototype=Object.create(m&&m.prototype,{constructor:{value:c,enumerable:!1,writable:!0,configurable:!0}}),m&&(Object.setPrototypeOf?Object.setPrototypeOf(c,m):c.__proto__=m)}var u=function(c){h(m,c);function m(b,g){return o(this,m),l(this,(m.__proto__||Object.getPrototypeOf(m)).call(this,a.B_START_CHAR+b,g))}return t(m,[{key:"valid",value:function(){return new RegExp("^"+a.B_CHARS+"+$").test(this.data)}}]),m}(n.default);e.default=u}),yz=te(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function c(m,b){for(var g=0;g<b.length;g++){var w=b[g];w.enumerable=w.enumerable||!1,w.configurable=!0,"value"in w&&(w.writable=!0),Object.defineProperty(m,w.key,w)}}return function(m,b,g){return b&&c(m.prototype,b),g&&c(m,g),m}}(),r=As(),n=i(r),a=Ri();function i(c){return c&&c.__esModule?c:{default:c}}function o(c,m){if(!(c instanceof m))throw new TypeError("Cannot call a class as a function")}function l(c,m){if(!c)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return m&&(typeof m=="object"||typeof m=="function")?m:c}function h(c,m){if(typeof m!="function"&&m!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof m);c.prototype=Object.create(m&&m.prototype,{constructor:{value:c,enumerable:!1,writable:!0,configurable:!0}}),m&&(Object.setPrototypeOf?Object.setPrototypeOf(c,m):c.__proto__=m)}var u=function(c){h(m,c);function m(b,g){return o(this,m),l(this,(m.__proto__||Object.getPrototypeOf(m)).call(this,a.C_START_CHAR+b,g))}return t(m,[{key:"valid",value:function(){return new RegExp("^"+a.C_CHARS+"+$").test(this.data)}}]),m}(n.default);e.default=u}),_z=te(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.CODE128C=e.CODE128B=e.CODE128A=e.CODE128=void 0;var t=gz(),r=u(t),n=vz(),a=u(n),i=bz(),o=u(i),l=yz(),h=u(l);function u(c){return c&&c.__esModule?c:{default:c}}e.CODE128=r.default,e.CODE128A=a.default,e.CODE128B=o.default,e.CODE128C=h.default}),Oi=te(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.SIDE_BIN="101",e.MIDDLE_BIN="01010",e.BINARIES={L:["0001101","0011001","0010011","0111101","0100011","0110001","0101111","0111011","0110111","0001011"],G:["0100111","0110011","0011011","0100001","0011101","0111001","0000101","0010001","0001001","0010111"],R:["1110010","1100110","1101100","1000010","1011100","1001110","1010000","1000100","1001000","1110100"],O:["0001101","0011001","0010011","0111101","0100011","0110001","0101111","0111011","0110111","0001011"],E:["0100111","0110011","0011011","0100001","0011101","0111001","0000101","0010001","0001001","0010111"]},e.EAN2_STRUCTURE=["LL","LG","GL","GG"],e.EAN5_STRUCTURE=["GGLLL","GLGLL","GLLGL","GLLLG","LGGLL","LLGGL","LLLGG","LGLGL","LGLLG","LLGLG"],e.EAN13_STRUCTURE=["LLLLLL","LLGLGG","LLGGLG","LLGGGL","LGLLGG","LGGLLG","LGGGLL","LGLGLG","LGLGGL","LGGLGL"]}),Pi=te(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=Oi(),r=function(n,a,i){var o=n.split("").map(function(h,u){return t.BINARIES[a[u]]}).map(function(h,u){return h?h[n[u]]:""});if(i){var l=n.length-1;o=o.map(function(h,u){return u<l?h+i:h})}return o.join("")};e.default=r}),ym=te(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function b(g,w){for(var x=0;x<w.length;x++){var S=w[x];S.enumerable=S.enumerable||!1,S.configurable=!0,"value"in S&&(S.writable=!0),Object.defineProperty(g,S.key,S)}}return function(g,w,x){return w&&b(g.prototype,w),x&&b(g,x),g}}(),r=Oi(),n=Pi(),a=l(n),i=Qt(),o=l(i);function l(b){return b&&b.__esModule?b:{default:b}}function h(b,g){if(!(b instanceof g))throw new TypeError("Cannot call a class as a function")}function u(b,g){if(!b)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return g&&(typeof g=="object"||typeof g=="function")?g:b}function c(b,g){if(typeof g!="function"&&g!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof g);b.prototype=Object.create(g&&g.prototype,{constructor:{value:b,enumerable:!1,writable:!0,configurable:!0}}),g&&(Object.setPrototypeOf?Object.setPrototypeOf(b,g):b.__proto__=g)}var m=function(b){c(g,b);function g(w,x){h(this,g);var S=u(this,(g.__proto__||Object.getPrototypeOf(g)).call(this,w,x));return S.fontSize=!x.flat&&x.fontSize>x.width*10?x.width*10:x.fontSize,S.guardHeight=x.height+S.fontSize/2+x.textMargin,S}return t(g,[{key:"encode",value:function(){return this.options.flat?this.encodeFlat():this.encodeGuarded()}},{key:"leftText",value:function(w,x){return this.text.substr(w,x)}},{key:"leftEncode",value:function(w,x){return(0,a.default)(w,x)}},{key:"rightText",value:function(w,x){return this.text.substr(w,x)}},{key:"rightEncode",value:function(w,x){return(0,a.default)(w,x)}},{key:"encodeGuarded",value:function(){var w={fontSize:this.fontSize},x={height:this.guardHeight};return[{data:r.SIDE_BIN,options:x},{data:this.leftEncode(),text:this.leftText(),options:w},{data:r.MIDDLE_BIN,options:x},{data:this.rightEncode(),text:this.rightText(),options:w},{data:r.SIDE_BIN,options:x}]}},{key:"encodeFlat",value:function(){var w=[r.SIDE_BIN,this.leftEncode(),r.MIDDLE_BIN,this.rightEncode(),r.SIDE_BIN];return{data:w.join(""),text:this.text}}}]),g}(o.default);e.default=m}),wz=te(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function b(g,w){for(var x=0;x<w.length;x++){var S=w[x];S.enumerable=S.enumerable||!1,S.configurable=!0,"value"in S&&(S.writable=!0),Object.defineProperty(g,S.key,S)}}return function(g,w,x){return w&&b(g.prototype,w),x&&b(g,x),g}}(),r=function b(g,w,x){g===null&&(g=Function.prototype);var S=Object.getOwnPropertyDescriptor(g,w);if(S===void 0){var N=Object.getPrototypeOf(g);return N===null?void 0:b(N,w,x)}else{if("value"in S)return S.value;var L=S.get;return L===void 0?void 0:L.call(x)}},n=Oi(),a=ym(),i=o(a);function o(b){return b&&b.__esModule?b:{default:b}}function l(b,g){if(!(b instanceof g))throw new TypeError("Cannot call a class as a function")}function h(b,g){if(!b)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return g&&(typeof g=="object"||typeof g=="function")?g:b}function u(b,g){if(typeof g!="function"&&g!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof g);b.prototype=Object.create(g&&g.prototype,{constructor:{value:b,enumerable:!1,writable:!0,configurable:!0}}),g&&(Object.setPrototypeOf?Object.setPrototypeOf(b,g):b.__proto__=g)}var c=function(b){var g=b.substr(0,12).split("").map(function(w){return+w}).reduce(function(w,x,S){return S%2?w+x*3:w+x},0);return(10-g%10)%10},m=function(b){u(g,b);function g(w,x){l(this,g),w.search(/^[0-9]{12}$/)!==-1&&(w+=c(w));var S=h(this,(g.__proto__||Object.getPrototypeOf(g)).call(this,w,x));return S.lastChar=x.lastChar,S}return t(g,[{key:"valid",value:function(){return this.data.search(/^[0-9]{13}$/)!==-1&&+this.data[12]===c(this.data)}},{key:"leftText",value:function(){return r(g.prototype.__proto__||Object.getPrototypeOf(g.prototype),"leftText",this).call(this,1,6)}},{key:"leftEncode",value:function(){var w=this.data.substr(1,6),x=n.EAN13_STRUCTURE[this.data[0]];return r(g.prototype.__proto__||Object.getPrototypeOf(g.prototype),"leftEncode",this).call(this,w,x)}},{key:"rightText",value:function(){return r(g.prototype.__proto__||Object.getPrototypeOf(g.prototype),"rightText",this).call(this,7,6)}},{key:"rightEncode",value:function(){var w=this.data.substr(7,6);return r(g.prototype.__proto__||Object.getPrototypeOf(g.prototype),"rightEncode",this).call(this,w,"RRRRRR")}},{key:"encodeGuarded",value:function(){var w=r(g.prototype.__proto__||Object.getPrototypeOf(g.prototype),"encodeGuarded",this).call(this);return this.options.displayValue&&(w.unshift({data:"000000000000",text:this.text.substr(0,1),options:{textAlign:"left",fontSize:this.fontSize}}),this.options.lastChar&&(w.push({data:"00"}),w.push({data:"00000",text:this.options.lastChar,options:{fontSize:this.fontSize}}))),w}}]),g}(i.default);e.default=m}),xz=te(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function m(b,g){for(var w=0;w<g.length;w++){var x=g[w];x.enumerable=x.enumerable||!1,x.configurable=!0,"value"in x&&(x.writable=!0),Object.defineProperty(b,x.key,x)}}return function(b,g,w){return g&&m(b.prototype,g),w&&m(b,w),b}}(),r=function m(b,g,w){b===null&&(b=Function.prototype);var x=Object.getOwnPropertyDescriptor(b,g);if(x===void 0){var S=Object.getPrototypeOf(b);return S===null?void 0:m(S,g,w)}else{if("value"in x)return x.value;var N=x.get;return N===void 0?void 0:N.call(w)}},n=ym(),a=i(n);function i(m){return m&&m.__esModule?m:{default:m}}function o(m,b){if(!(m instanceof b))throw new TypeError("Cannot call a class as a function")}function l(m,b){if(!m)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return b&&(typeof b=="object"||typeof b=="function")?b:m}function h(m,b){if(typeof b!="function"&&b!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof b);m.prototype=Object.create(b&&b.prototype,{constructor:{value:m,enumerable:!1,writable:!0,configurable:!0}}),b&&(Object.setPrototypeOf?Object.setPrototypeOf(m,b):m.__proto__=b)}var u=function(m){var b=m.substr(0,7).split("").map(function(g){return+g}).reduce(function(g,w,x){return x%2?g+w:g+w*3},0);return(10-b%10)%10},c=function(m){h(b,m);function b(g,w){return o(this,b),g.search(/^[0-9]{7}$/)!==-1&&(g+=u(g)),l(this,(b.__proto__||Object.getPrototypeOf(b)).call(this,g,w))}return t(b,[{key:"valid",value:function(){return this.data.search(/^[0-9]{8}$/)!==-1&&+this.data[7]===u(this.data)}},{key:"leftText",value:function(){return r(b.prototype.__proto__||Object.getPrototypeOf(b.prototype),"leftText",this).call(this,0,4)}},{key:"leftEncode",value:function(){var g=this.data.substr(0,4);return r(b.prototype.__proto__||Object.getPrototypeOf(b.prototype),"leftEncode",this).call(this,g,"LLLL")}},{key:"rightText",value:function(){return r(b.prototype.__proto__||Object.getPrototypeOf(b.prototype),"rightText",this).call(this,4,4)}},{key:"rightEncode",value:function(){var g=this.data.substr(4,4);return r(b.prototype.__proto__||Object.getPrototypeOf(b.prototype),"rightEncode",this).call(this,g,"RRRR")}}]),b}(a.default);e.default=c}),Ez=te(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function g(w,x){for(var S=0;S<x.length;S++){var N=x[S];N.enumerable=N.enumerable||!1,N.configurable=!0,"value"in N&&(N.writable=!0),Object.defineProperty(w,N.key,N)}}return function(w,x,S){return x&&g(w.prototype,x),S&&g(w,S),w}}(),r=Oi(),n=Pi(),a=l(n),i=Qt(),o=l(i);function l(g){return g&&g.__esModule?g:{default:g}}function h(g,w){if(!(g instanceof w))throw new TypeError("Cannot call a class as a function")}function u(g,w){if(!g)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return w&&(typeof w=="object"||typeof w=="function")?w:g}function c(g,w){if(typeof w!="function"&&w!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof w);g.prototype=Object.create(w&&w.prototype,{constructor:{value:g,enumerable:!1,writable:!0,configurable:!0}}),w&&(Object.setPrototypeOf?Object.setPrototypeOf(g,w):g.__proto__=w)}var m=function(g){var w=g.split("").map(function(x){return+x}).reduce(function(x,S,N){return N%2?x+S*9:x+S*3},0);return w%10},b=function(g){c(w,g);function w(x,S){return h(this,w),u(this,(w.__proto__||Object.getPrototypeOf(w)).call(this,x,S))}return t(w,[{key:"valid",value:function(){return this.data.search(/^[0-9]{5}$/)!==-1}},{key:"encode",value:function(){var x=r.EAN5_STRUCTURE[m(this.data)];return{data:"1011"+(0,a.default)(this.data,x,"01"),text:this.text}}}]),w}(o.default);e.default=b}),Sz=te(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function b(g,w){for(var x=0;x<w.length;x++){var S=w[x];S.enumerable=S.enumerable||!1,S.configurable=!0,"value"in S&&(S.writable=!0),Object.defineProperty(g,S.key,S)}}return function(g,w,x){return w&&b(g.prototype,w),x&&b(g,x),g}}(),r=Oi(),n=Pi(),a=l(n),i=Qt(),o=l(i);function l(b){return b&&b.__esModule?b:{default:b}}function h(b,g){if(!(b instanceof g))throw new TypeError("Cannot call a class as a function")}function u(b,g){if(!b)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return g&&(typeof g=="object"||typeof g=="function")?g:b}function c(b,g){if(typeof g!="function"&&g!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof g);b.prototype=Object.create(g&&g.prototype,{constructor:{value:b,enumerable:!1,writable:!0,configurable:!0}}),g&&(Object.setPrototypeOf?Object.setPrototypeOf(b,g):b.__proto__=g)}var m=function(b){c(g,b);function g(w,x){return h(this,g),u(this,(g.__proto__||Object.getPrototypeOf(g)).call(this,w,x))}return t(g,[{key:"valid",value:function(){return this.data.search(/^[0-9]{2}$/)!==-1}},{key:"encode",value:function(){var w=r.EAN2_STRUCTURE[parseInt(this.data)%4];return{data:"1011"+(0,a.default)(this.data,w,"01"),text:this.text}}}]),g}(o.default);e.default=m}),_m=te(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function b(g,w){for(var x=0;x<w.length;x++){var S=w[x];S.enumerable=S.enumerable||!1,S.configurable=!0,"value"in S&&(S.writable=!0),Object.defineProperty(g,S.key,S)}}return function(g,w,x){return w&&b(g.prototype,w),x&&b(g,x),g}}();e.checksum=m;var r=Pi(),n=o(r),a=Qt(),i=o(a);function o(b){return b&&b.__esModule?b:{default:b}}function l(b,g){if(!(b instanceof g))throw new TypeError("Cannot call a class as a function")}function h(b,g){if(!b)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return g&&(typeof g=="object"||typeof g=="function")?g:b}function u(b,g){if(typeof g!="function"&&g!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof g);b.prototype=Object.create(g&&g.prototype,{constructor:{value:b,enumerable:!1,writable:!0,configurable:!0}}),g&&(Object.setPrototypeOf?Object.setPrototypeOf(b,g):b.__proto__=g)}var c=function(b){u(g,b);function g(w,x){l(this,g),w.search(/^[0-9]{11}$/)!==-1&&(w+=m(w));var S=h(this,(g.__proto__||Object.getPrototypeOf(g)).call(this,w,x));return S.displayValue=x.displayValue,x.fontSize>x.width*10?S.fontSize=x.width*10:S.fontSize=x.fontSize,S.guardHeight=x.height+S.fontSize/2+x.textMargin,S}return t(g,[{key:"valid",value:function(){return this.data.search(/^[0-9]{12}$/)!==-1&&this.data[11]==m(this.data)}},{key:"encode",value:function(){return this.options.flat?this.flatEncoding():this.guardedEncoding()}},{key:"flatEncoding",value:function(){var w="";return w+="101",w+=(0,n.default)(this.data.substr(0,6),"LLLLLL"),w+="01010",w+=(0,n.default)(this.data.substr(6,6),"RRRRRR"),w+="101",{data:w,text:this.text}}},{key:"guardedEncoding",value:function(){var w=[];return this.displayValue&&w.push({data:"00000000",text:this.text.substr(0,1),options:{textAlign:"left",fontSize:this.fontSize}}),w.push({data:"101"+(0,n.default)(this.data[0],"L"),options:{height:this.guardHeight}}),w.push({data:(0,n.default)(this.data.substr(1,5),"LLLLL"),text:this.text.substr(1,5),options:{fontSize:this.fontSize}}),w.push({data:"01010",options:{height:this.guardHeight}}),w.push({data:(0,n.default)(this.data.substr(6,5),"RRRRR"),text:this.text.substr(6,5),options:{fontSize:this.fontSize}}),w.push({data:(0,n.default)(this.data[11],"R")+"101",options:{height:this.guardHeight}}),this.displayValue&&w.push({data:"00000000",text:this.text.substr(11,1),options:{textAlign:"right",fontSize:this.fontSize}}),w}}]),g}(i.default);function m(b){var g=0,w;for(w=1;w<11;w+=2)g+=parseInt(b[w]);for(w=0;w<11;w+=2)g+=parseInt(b[w])*3;return(10-g%10)%10}e.default=c}),kz=te(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function x(S,N){for(var L=0;L<N.length;L++){var A=N[L];A.enumerable=A.enumerable||!1,A.configurable=!0,"value"in A&&(A.writable=!0),Object.defineProperty(S,A.key,A)}}return function(S,N,L){return N&&x(S.prototype,N),L&&x(S,L),S}}(),r=Pi(),n=l(r),a=Qt(),i=l(a),o=_m();function l(x){return x&&x.__esModule?x:{default:x}}function h(x,S){if(!(x instanceof S))throw new TypeError("Cannot call a class as a function")}function u(x,S){if(!x)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return S&&(typeof S=="object"||typeof S=="function")?S:x}function c(x,S){if(typeof S!="function"&&S!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof S);x.prototype=Object.create(S&&S.prototype,{constructor:{value:x,enumerable:!1,writable:!0,configurable:!0}}),S&&(Object.setPrototypeOf?Object.setPrototypeOf(x,S):x.__proto__=S)}var m=["XX00000XXX","XX10000XXX","XX20000XXX","XXX00000XX","XXXX00000X","XXXXX00005","XXXXX00006","XXXXX00007","XXXXX00008","XXXXX00009"],b=[["EEEOOO","OOOEEE"],["EEOEOO","OOEOEE"],["EEOOEO","OOEEOE"],["EEOOOE","OOEEEO"],["EOEEOO","OEOOEE"],["EOOEEO","OEEOOE"],["EOOOEE","OEEEOO"],["EOEOEO","OEOEOE"],["EOEOOE","OEOEEO"],["EOOEOE","OEEOEO"]],g=function(x){c(S,x);function S(N,L){h(this,S);var A=u(this,(S.__proto__||Object.getPrototypeOf(S)).call(this,N,L));if(A.isValid=!1,N.search(/^[0-9]{6}$/)!==-1)A.middleDigits=N,A.upcA=w(N,"0"),A.text=L.text||""+A.upcA[0]+N+A.upcA[A.upcA.length-1],A.isValid=!0;else if(N.search(/^[01][0-9]{7}$/)!==-1)if(A.middleDigits=N.substring(1,N.length-1),A.upcA=w(A.middleDigits,N[0]),A.upcA[A.upcA.length-1]===N[N.length-1])A.isValid=!0;else return u(A);else return u(A);return A.displayValue=L.displayValue,L.fontSize>L.width*10?A.fontSize=L.width*10:A.fontSize=L.fontSize,A.guardHeight=L.height+A.fontSize/2+L.textMargin,A}return t(S,[{key:"valid",value:function(){return this.isValid}},{key:"encode",value:function(){return this.options.flat?this.flatEncoding():this.guardedEncoding()}},{key:"flatEncoding",value:function(){var N="";return N+="101",N+=this.encodeMiddleDigits(),N+="010101",{data:N,text:this.text}}},{key:"guardedEncoding",value:function(){var N=[];return this.displayValue&&N.push({data:"00000000",text:this.text[0],options:{textAlign:"left",fontSize:this.fontSize}}),N.push({data:"101",options:{height:this.guardHeight}}),N.push({data:this.encodeMiddleDigits(),text:this.text.substring(1,7),options:{fontSize:this.fontSize}}),N.push({data:"010101",options:{height:this.guardHeight}}),this.displayValue&&N.push({data:"00000000",text:this.text[7],options:{textAlign:"right",fontSize:this.fontSize}}),N}},{key:"encodeMiddleDigits",value:function(){var N=this.upcA[0],L=this.upcA[this.upcA.length-1],A=b[parseInt(L)][parseInt(N)];return(0,n.default)(this.middleDigits,A)}}]),S}(i.default);function w(x,S){for(var N=parseInt(x[x.length-1]),L=m[N],A="",Y=0,ne=0;ne<L.length;ne++){var ue=L[ne];ue==="X"?A+=x[Y++]:A+=ue}return A=""+S+A,""+A+(0,o.checksum)(A)}e.default=g}),Cz=te(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.UPCE=e.UPC=e.EAN2=e.EAN5=e.EAN8=e.EAN13=void 0;var t=wz(),r=g(t),n=xz(),a=g(n),i=Ez(),o=g(i),l=Sz(),h=g(l),u=_m(),c=g(u),m=kz(),b=g(m);function g(w){return w&&w.__esModule?w:{default:w}}e.EAN13=r.default,e.EAN8=a.default,e.EAN5=o.default,e.EAN2=h.default,e.UPC=c.default,e.UPCE=b.default}),Iz=te(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.START_BIN="1010",e.END_BIN="11101",e.BINARIES=["00110","10001","01001","11000","00101","10100","01100","00011","10010","01010"]}),wm=te(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function c(m,b){for(var g=0;g<b.length;g++){var w=b[g];w.enumerable=w.enumerable||!1,w.configurable=!0,"value"in w&&(w.writable=!0),Object.defineProperty(m,w.key,w)}}return function(m,b,g){return b&&c(m.prototype,b),g&&c(m,g),m}}(),r=Iz(),n=Qt(),a=i(n);function i(c){return c&&c.__esModule?c:{default:c}}function o(c,m){if(!(c instanceof m))throw new TypeError("Cannot call a class as a function")}function l(c,m){if(!c)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return m&&(typeof m=="object"||typeof m=="function")?m:c}function h(c,m){if(typeof m!="function"&&m!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof m);c.prototype=Object.create(m&&m.prototype,{constructor:{value:c,enumerable:!1,writable:!0,configurable:!0}}),m&&(Object.setPrototypeOf?Object.setPrototypeOf(c,m):c.__proto__=m)}var u=function(c){h(m,c);function m(){return o(this,m),l(this,(m.__proto__||Object.getPrototypeOf(m)).apply(this,arguments))}return t(m,[{key:"valid",value:function(){return this.data.search(/^([0-9]{2})+$/)!==-1}},{key:"encode",value:function(){var b=this,g=this.data.match(/.{2}/g).map(function(w){return b.encodePair(w)}).join("");return{data:r.START_BIN+g+r.END_BIN,text:this.text}}},{key:"encodePair",value:function(b){var g=r.BINARIES[b[1]];return r.BINARIES[b[0]].split("").map(function(w,x){return(w==="1"?"111":"1")+(g[x]==="1"?"000":"0")}).join("")}}]),m}(a.default);e.default=u}),Dz=te(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function c(m,b){for(var g=0;g<b.length;g++){var w=b[g];w.enumerable=w.enumerable||!1,w.configurable=!0,"value"in w&&(w.writable=!0),Object.defineProperty(m,w.key,w)}}return function(m,b,g){return b&&c(m.prototype,b),g&&c(m,g),m}}(),r=wm(),n=a(r);function a(c){return c&&c.__esModule?c:{default:c}}function i(c,m){if(!(c instanceof m))throw new TypeError("Cannot call a class as a function")}function o(c,m){if(!c)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return m&&(typeof m=="object"||typeof m=="function")?m:c}function l(c,m){if(typeof m!="function"&&m!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof m);c.prototype=Object.create(m&&m.prototype,{constructor:{value:c,enumerable:!1,writable:!0,configurable:!0}}),m&&(Object.setPrototypeOf?Object.setPrototypeOf(c,m):c.__proto__=m)}var h=function(c){var m=c.substr(0,13).split("").map(function(b){return parseInt(b,10)}).reduce(function(b,g,w){return b+g*(3-w%2*2)},0);return Math.ceil(m/10)*10-m},u=function(c){l(m,c);function m(b,g){return i(this,m),b.search(/^[0-9]{13}$/)!==-1&&(b+=h(b)),o(this,(m.__proto__||Object.getPrototypeOf(m)).call(this,b,g))}return t(m,[{key:"valid",value:function(){return this.data.search(/^[0-9]{14}$/)!==-1&&+this.data[13]===h(this.data)}}]),m}(n.default);e.default=u}),Nz=te(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.ITF14=e.ITF=void 0;var t=wm(),r=i(t),n=Dz(),a=i(n);function i(o){return o&&o.__esModule?o:{default:o}}e.ITF=r.default,e.ITF14=a.default}),Ai=te(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function c(m,b){for(var g=0;g<b.length;g++){var w=b[g];w.enumerable=w.enumerable||!1,w.configurable=!0,"value"in w&&(w.writable=!0),Object.defineProperty(m,w.key,w)}}return function(m,b,g){return b&&c(m.prototype,b),g&&c(m,g),m}}(),r=Qt(),n=a(r);function a(c){return c&&c.__esModule?c:{default:c}}function i(c,m){if(!(c instanceof m))throw new TypeError("Cannot call a class as a function")}function o(c,m){if(!c)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return m&&(typeof m=="object"||typeof m=="function")?m:c}function l(c,m){if(typeof m!="function"&&m!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof m);c.prototype=Object.create(m&&m.prototype,{constructor:{value:c,enumerable:!1,writable:!0,configurable:!0}}),m&&(Object.setPrototypeOf?Object.setPrototypeOf(c,m):c.__proto__=m)}var h=function(c){l(m,c);function m(b,g){return i(this,m),o(this,(m.__proto__||Object.getPrototypeOf(m)).call(this,b,g))}return t(m,[{key:"encode",value:function(){for(var b="110",g=0;g<this.data.length;g++){var w=parseInt(this.data[g]),x=w.toString(2);x=u(x,4-x.length);for(var S=0;S<x.length;S++)b+=x[S]=="0"?"100":"110"}return b+="1001",{data:b,text:this.text}}},{key:"valid",value:function(){return this.data.search(/^[0-9]+$/)!==-1}}]),m}(n.default);function u(c,m){for(var b=0;b<m;b++)c="0"+c;return c}e.default=h}),Ls=te(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.mod10=t,e.mod11=r;function t(n){for(var a=0,i=0;i<n.length;i++){var o=parseInt(n[i]);(i+n.length)%2===0?a+=o:a+=o*2%10+Math.floor(o*2/10)}return(10-a%10)%10}function r(n){for(var a=0,i=[2,3,4,5,6,7],o=0;o<n.length;o++){var l=parseInt(n[n.length-1-o]);a+=i[o%i.length]*l}return(11-a%11)%11}}),Tz=te(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=Ai(),r=a(t),n=Ls();function a(u){return u&&u.__esModule?u:{default:u}}function i(u,c){if(!(u instanceof c))throw new TypeError("Cannot call a class as a function")}function o(u,c){if(!u)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return c&&(typeof c=="object"||typeof c=="function")?c:u}function l(u,c){if(typeof c!="function"&&c!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof c);u.prototype=Object.create(c&&c.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),c&&(Object.setPrototypeOf?Object.setPrototypeOf(u,c):u.__proto__=c)}var h=function(u){l(c,u);function c(m,b){return i(this,c),o(this,(c.__proto__||Object.getPrototypeOf(c)).call(this,m+(0,n.mod10)(m),b))}return c}(r.default);e.default=h}),Mz=te(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=Ai(),r=a(t),n=Ls();function a(u){return u&&u.__esModule?u:{default:u}}function i(u,c){if(!(u instanceof c))throw new TypeError("Cannot call a class as a function")}function o(u,c){if(!u)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return c&&(typeof c=="object"||typeof c=="function")?c:u}function l(u,c){if(typeof c!="function"&&c!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof c);u.prototype=Object.create(c&&c.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),c&&(Object.setPrototypeOf?Object.setPrototypeOf(u,c):u.__proto__=c)}var h=function(u){l(c,u);function c(m,b){return i(this,c),o(this,(c.__proto__||Object.getPrototypeOf(c)).call(this,m+(0,n.mod11)(m),b))}return c}(r.default);e.default=h}),Rz=te(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=Ai(),r=a(t),n=Ls();function a(u){return u&&u.__esModule?u:{default:u}}function i(u,c){if(!(u instanceof c))throw new TypeError("Cannot call a class as a function")}function o(u,c){if(!u)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return c&&(typeof c=="object"||typeof c=="function")?c:u}function l(u,c){if(typeof c!="function"&&c!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof c);u.prototype=Object.create(c&&c.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),c&&(Object.setPrototypeOf?Object.setPrototypeOf(u,c):u.__proto__=c)}var h=function(u){l(c,u);function c(m,b){return i(this,c),m+=(0,n.mod10)(m),m+=(0,n.mod10)(m),o(this,(c.__proto__||Object.getPrototypeOf(c)).call(this,m,b))}return c}(r.default);e.default=h}),Oz=te(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=Ai(),r=a(t),n=Ls();function a(u){return u&&u.__esModule?u:{default:u}}function i(u,c){if(!(u instanceof c))throw new TypeError("Cannot call a class as a function")}function o(u,c){if(!u)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return c&&(typeof c=="object"||typeof c=="function")?c:u}function l(u,c){if(typeof c!="function"&&c!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof c);u.prototype=Object.create(c&&c.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),c&&(Object.setPrototypeOf?Object.setPrototypeOf(u,c):u.__proto__=c)}var h=function(u){l(c,u);function c(m,b){return i(this,c),m+=(0,n.mod11)(m),m+=(0,n.mod10)(m),o(this,(c.__proto__||Object.getPrototypeOf(c)).call(this,m,b))}return c}(r.default);e.default=h}),Pz=te(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.MSI1110=e.MSI1010=e.MSI11=e.MSI10=e.MSI=void 0;var t=Ai(),r=m(t),n=Tz(),a=m(n),i=Mz(),o=m(i),l=Rz(),h=m(l),u=Oz(),c=m(u);function m(b){return b&&b.__esModule?b:{default:b}}e.MSI=r.default,e.MSI10=a.default,e.MSI11=o.default,e.MSI1010=h.default,e.MSI1110=c.default}),Az=te(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.pharmacode=void 0;var t=function(){function u(c,m){for(var b=0;b<m.length;b++){var g=m[b];g.enumerable=g.enumerable||!1,g.configurable=!0,"value"in g&&(g.writable=!0),Object.defineProperty(c,g.key,g)}}return function(c,m,b){return m&&u(c.prototype,m),b&&u(c,b),c}}(),r=Qt(),n=a(r);function a(u){return u&&u.__esModule?u:{default:u}}function i(u,c){if(!(u instanceof c))throw new TypeError("Cannot call a class as a function")}function o(u,c){if(!u)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return c&&(typeof c=="object"||typeof c=="function")?c:u}function l(u,c){if(typeof c!="function"&&c!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof c);u.prototype=Object.create(c&&c.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),c&&(Object.setPrototypeOf?Object.setPrototypeOf(u,c):u.__proto__=c)}var h=function(u){l(c,u);function c(m,b){i(this,c);var g=o(this,(c.__proto__||Object.getPrototypeOf(c)).call(this,m,b));return g.number=parseInt(m,10),g}return t(c,[{key:"encode",value:function(){for(var m=this.number,b="";!isNaN(m)&&m!=0;)m%2===0?(b="11100"+b,m=(m-2)/2):(b="100"+b,m=(m-1)/2);return b=b.slice(0,-2),{data:b,text:this.text}}},{key:"valid",value:function(){return this.number>=3&&this.number<=131070}}]),c}(n.default);e.pharmacode=h}),Lz=te(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.codabar=void 0;var t=function(){function u(c,m){for(var b=0;b<m.length;b++){var g=m[b];g.enumerable=g.enumerable||!1,g.configurable=!0,"value"in g&&(g.writable=!0),Object.defineProperty(c,g.key,g)}}return function(c,m,b){return m&&u(c.prototype,m),b&&u(c,b),c}}(),r=Qt(),n=a(r);function a(u){return u&&u.__esModule?u:{default:u}}function i(u,c){if(!(u instanceof c))throw new TypeError("Cannot call a class as a function")}function o(u,c){if(!u)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return c&&(typeof c=="object"||typeof c=="function")?c:u}function l(u,c){if(typeof c!="function"&&c!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof c);u.prototype=Object.create(c&&c.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),c&&(Object.setPrototypeOf?Object.setPrototypeOf(u,c):u.__proto__=c)}var h=function(u){l(c,u);function c(m,b){i(this,c),m.search(/^[0-9\-\$\:\.\+\/]+$/)===0&&(m="A"+m+"A");var g=o(this,(c.__proto__||Object.getPrototypeOf(c)).call(this,m.toUpperCase(),b));return g.text=g.options.text||g.text.replace(/[A-D]/g,""),g}return t(c,[{key:"valid",value:function(){return this.data.search(/^[A-D][0-9\-\$\:\.\+\/]+[A-D]$/)!==-1}},{key:"encode",value:function(){for(var m=[],b=this.getEncodings(),g=0;g<this.data.length;g++)m.push(b[this.data.charAt(g)]),g!==this.data.length-1&&m.push("0");return{text:this.text,data:m.join("")}}},{key:"getEncodings",value:function(){return{0:"101010011",1:"101011001",2:"101001011",3:"110010101",4:"101101001",5:"110101001",6:"100101011",7:"100101101",8:"100110101",9:"110100101","-":"101001101",$:"101100101",":":"1101011011","/":"1101101011",".":"1101101101","+":"1011011011",A:"1011001001",B:"1001001011",C:"1010010011",D:"1010011001"}}}]),c}(n.default);e.codabar=h}),Fz=te(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.SYMBOLS=["0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","-","."," ","$","/","+","%","($)","(%)","(/)","(+)","ÿ"],e.BINARIES=["100010100","101001000","101000100","101000010","100101000","100100100","100100010","101010000","100010010","100001010","110101000","110100100","110100010","110010100","110010010","110001010","101101000","101100100","101100010","100110100","100011010","101011000","101001100","101000110","100101100","100010110","110110100","110110010","110101100","110100110","110010110","110011010","101101100","101100110","100110110","100111010","100101110","111010100","111010010","111001010","101101110","101110110","110101110","100100110","111011010","111010110","100110010","101011110"],e.MULTI_SYMBOLS={"\0":["(%)","U"],"":["($)","A"],"":["($)","B"],"":["($)","C"],"":["($)","D"],"":["($)","E"],"":["($)","F"],"\x07":["($)","G"],"\b":["($)","H"]," ":["($)","I"],"\n":["($)","J"],"\v":["($)","K"],"\f":["($)","L"],"\r":["($)","M"],"":["($)","N"],"":["($)","O"],"":["($)","P"],"":["($)","Q"],"":["($)","R"],"":["($)","S"],"":["($)","T"],"":["($)","U"],"":["($)","V"],"":["($)","W"],"":["($)","X"],"":["($)","Y"],"":["($)","Z"],"\x1B":["(%)","A"],"":["(%)","B"],"":["(%)","C"],"":["(%)","D"],"":["(%)","E"],"!":["(/)","A"],'"':["(/)","B"],"#":["(/)","C"],"&":["(/)","F"],"'":["(/)","G"],"(":["(/)","H"],")":["(/)","I"],"*":["(/)","J"],",":["(/)","L"],":":["(/)","Z"],";":["(%)","F"],"<":["(%)","G"],"=":["(%)","H"],">":["(%)","I"],"?":["(%)","J"],"@":["(%)","V"],"[":["(%)","K"],"\\":["(%)","L"],"]":["(%)","M"],"^":["(%)","N"],_:["(%)","O"],"`":["(%)","W"],a:["(+)","A"],b:["(+)","B"],c:["(+)","C"],d:["(+)","D"],e:["(+)","E"],f:["(+)","F"],g:["(+)","G"],h:["(+)","H"],i:["(+)","I"],j:["(+)","J"],k:["(+)","K"],l:["(+)","L"],m:["(+)","M"],n:["(+)","N"],o:["(+)","O"],p:["(+)","P"],q:["(+)","Q"],r:["(+)","R"],s:["(+)","S"],t:["(+)","T"],u:["(+)","U"],v:["(+)","V"],w:["(+)","W"],x:["(+)","X"],y:["(+)","Y"],z:["(+)","Z"],"{":["(%)","P"],"|":["(%)","Q"],"}":["(%)","R"],"~":["(%)","S"],"":["(%)","T"]}}),xm=te(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function c(m,b){for(var g=0;g<b.length;g++){var w=b[g];w.enumerable=w.enumerable||!1,w.configurable=!0,"value"in w&&(w.writable=!0),Object.defineProperty(m,w.key,w)}}return function(m,b,g){return b&&c(m.prototype,b),g&&c(m,g),m}}(),r=Fz(),n=Qt(),a=i(n);function i(c){return c&&c.__esModule?c:{default:c}}function o(c,m){if(!(c instanceof m))throw new TypeError("Cannot call a class as a function")}function l(c,m){if(!c)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return m&&(typeof m=="object"||typeof m=="function")?m:c}function h(c,m){if(typeof m!="function"&&m!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof m);c.prototype=Object.create(m&&m.prototype,{constructor:{value:c,enumerable:!1,writable:!0,configurable:!0}}),m&&(Object.setPrototypeOf?Object.setPrototypeOf(c,m):c.__proto__=m)}var u=function(c){h(m,c);function m(b,g){return o(this,m),l(this,(m.__proto__||Object.getPrototypeOf(m)).call(this,b,g))}return t(m,[{key:"valid",value:function(){return/^[0-9A-Z\-. $/+%]+$/.test(this.data)}},{key:"encode",value:function(){var b=this.data.split("").flatMap(function(S){return r.MULTI_SYMBOLS[S]||S}),g=b.map(function(S){return m.getEncoding(S)}).join(""),w=m.checksum(b,20),x=m.checksum(b.concat(w),15);return{text:this.text,data:m.getEncoding("ÿ")+g+m.getEncoding(w)+m.getEncoding(x)+m.getEncoding("ÿ")+"1"}}}],[{key:"getEncoding",value:function(b){return r.BINARIES[m.symbolValue(b)]}},{key:"getSymbol",value:function(b){return r.SYMBOLS[b]}},{key:"symbolValue",value:function(b){return r.SYMBOLS.indexOf(b)}},{key:"checksum",value:function(b,g){var w=b.slice().reverse().reduce(function(x,S,N){var L=N%g+1;return x+m.symbolValue(S)*L},0);return m.getSymbol(w%47)}}]),m}(a.default);e.default=u}),jz=te(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function u(c,m){for(var b=0;b<m.length;b++){var g=m[b];g.enumerable=g.enumerable||!1,g.configurable=!0,"value"in g&&(g.writable=!0),Object.defineProperty(c,g.key,g)}}return function(c,m,b){return m&&u(c.prototype,m),b&&u(c,b),c}}(),r=xm(),n=a(r);function a(u){return u&&u.__esModule?u:{default:u}}function i(u,c){if(!(u instanceof c))throw new TypeError("Cannot call a class as a function")}function o(u,c){if(!u)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return c&&(typeof c=="object"||typeof c=="function")?c:u}function l(u,c){if(typeof c!="function"&&c!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof c);u.prototype=Object.create(c&&c.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),c&&(Object.setPrototypeOf?Object.setPrototypeOf(u,c):u.__proto__=c)}var h=function(u){l(c,u);function c(m,b){return i(this,c),o(this,(c.__proto__||Object.getPrototypeOf(c)).call(this,m,b))}return t(c,[{key:"valid",value:function(){return/^[\x00-\x7f]+$/.test(this.data)}}]),c}(n.default);e.default=h}),Vz=te(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.CODE93FullASCII=e.CODE93=void 0;var t=xm(),r=i(t),n=jz(),a=i(n);function i(o){return o&&o.__esModule?o:{default:o}}e.CODE93=r.default,e.CODE93FullASCII=a.default}),Bz=te(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.GenericBarcode=void 0;var t=function(){function u(c,m){for(var b=0;b<m.length;b++){var g=m[b];g.enumerable=g.enumerable||!1,g.configurable=!0,"value"in g&&(g.writable=!0),Object.defineProperty(c,g.key,g)}}return function(c,m,b){return m&&u(c.prototype,m),b&&u(c,b),c}}(),r=Qt(),n=a(r);function a(u){return u&&u.__esModule?u:{default:u}}function i(u,c){if(!(u instanceof c))throw new TypeError("Cannot call a class as a function")}function o(u,c){if(!u)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return c&&(typeof c=="object"||typeof c=="function")?c:u}function l(u,c){if(typeof c!="function"&&c!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof c);u.prototype=Object.create(c&&c.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),c&&(Object.setPrototypeOf?Object.setPrototypeOf(u,c):u.__proto__=c)}var h=function(u){l(c,u);function c(m,b){return i(this,c),o(this,(c.__proto__||Object.getPrototypeOf(c)).call(this,m,b))}return t(c,[{key:"encode",value:function(){return{data:"10101010101010101010101010101010101010101",text:this.text}}},{key:"valid",value:function(){return!0}}]),c}(n.default);e.GenericBarcode=h}),zz=te(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=mz(),r=_z(),n=Cz(),a=Nz(),i=Pz(),o=Az(),l=Lz(),h=Vz(),u=Bz();e.default={CODE39:t.CODE39,CODE128:r.CODE128,CODE128A:r.CODE128A,CODE128B:r.CODE128B,CODE128C:r.CODE128C,EAN13:n.EAN13,EAN8:n.EAN8,EAN5:n.EAN5,EAN2:n.EAN2,UPC:n.UPC,UPCE:n.UPCE,ITF14:a.ITF14,ITF:a.ITF,MSI:i.MSI,MSI10:i.MSI10,MSI11:i.MSI11,MSI1010:i.MSI1010,MSI1110:i.MSI1110,pharmacode:o.pharmacode,codabar:l.codabar,CODE93:h.CODE93,CODE93FullASCII:h.CODE93FullASCII,GenericBarcode:u.GenericBarcode}}),Fs=te(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=Object.assign||function(r){for(var n=1;n<arguments.length;n++){var a=arguments[n];for(var i in a)Object.prototype.hasOwnProperty.call(a,i)&&(r[i]=a[i])}return r};e.default=function(r,n){return t({},r,n)}}),Hz=te(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=t;function t(r){var n=[];function a(i){if(Array.isArray(i))for(var o=0;o<i.length;o++)a(i[o]);else i.text=i.text||"",i.data=i.data||"",n.push(i)}return a(r),n}}),qz=te(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=t;function t(r){return r.marginTop=r.marginTop||r.margin,r.marginBottom=r.marginBottom||r.margin,r.marginRight=r.marginRight||r.margin,r.marginLeft=r.marginLeft||r.margin,r}}),Em=te(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=t;function t(r){var n=["width","height","textMargin","fontSize","margin","marginTop","marginBottom","marginLeft","marginRight"];for(var a in n)n.hasOwnProperty(a)&&(a=n[a],typeof r[a]=="string"&&(r[a]=parseInt(r[a],10)));return typeof r.displayValue=="string"&&(r.displayValue=r.displayValue!="false"),r}}),Sm=te(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t={width:2,height:100,format:"auto",displayValue:!0,fontOptions:"",font:"monospace",text:void 0,textAlign:"center",textPosition:"bottom",textMargin:2,fontSize:20,background:"#ffffff",lineColor:"#000000",margin:10,marginTop:void 0,marginBottom:void 0,marginLeft:void 0,marginRight:void 0,valid:function(){}};e.default=t}),Gz=te(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=Em(),r=i(t),n=Sm(),a=i(n);function i(l){return l&&l.__esModule?l:{default:l}}function o(l){var h={};for(var u in a.default)a.default.hasOwnProperty(u)&&(l.hasAttribute("jsbarcode-"+u.toLowerCase())&&(h[u]=l.getAttribute("jsbarcode-"+u.toLowerCase())),l.hasAttribute("data-"+u.toLowerCase())&&(h[u]=l.getAttribute("data-"+u.toLowerCase())));return h.value=l.getAttribute("jsbarcode-value")||l.getAttribute("data-value"),h=(0,r.default)(h),h}e.default=o}),km=te(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.getTotalWidthOfEncodings=e.calculateEncodingAttributes=e.getBarcodePadding=e.getEncodingHeight=e.getMaximumHeightOfEncodings=void 0;var t=Fs(),r=n(t);function n(c){return c&&c.__esModule?c:{default:c}}function a(c,m){return m.height+(m.displayValue&&c.text.length>0?m.fontSize+m.textMargin:0)+m.marginTop+m.marginBottom}function i(c,m,b){if(b.displayValue&&m<c){if(b.textAlign=="center")return Math.floor((c-m)/2);if(b.textAlign=="left")return 0;if(b.textAlign=="right")return Math.floor(c-m)}return 0}function o(c,m,b){for(var g=0;g<c.length;g++){var w=c[g],x=(0,r.default)(m,w.options),S;x.displayValue?S=u(w.text,x,b):S=0;var N=w.data.length*x.width;w.width=Math.ceil(Math.max(S,N)),w.height=a(w,x),w.barcodePadding=i(S,N,x)}}function l(c){for(var m=0,b=0;b<c.length;b++)m+=c[b].width;return m}function h(c){for(var m=0,b=0;b<c.length;b++)c[b].height>m&&(m=c[b].height);return m}function u(c,m,b){var g;if(b)g=b;else if(typeof document<"u")g=document.createElement("canvas").getContext("2d");else return 0;g.font=m.fontOptions+" "+m.fontSize+"px "+m.font;var w=g.measureText(c);if(!w)return 0;var x=w.width;return x}e.getMaximumHeightOfEncodings=h,e.getEncodingHeight=a,e.getBarcodePadding=i,e.calculateEncodingAttributes=o,e.getTotalWidthOfEncodings=l}),$z=te(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function h(u,c){for(var m=0;m<c.length;m++){var b=c[m];b.enumerable=b.enumerable||!1,b.configurable=!0,"value"in b&&(b.writable=!0),Object.defineProperty(u,b.key,b)}}return function(u,c,m){return c&&h(u.prototype,c),m&&h(u,m),u}}(),r=Fs(),n=i(r),a=km();function i(h){return h&&h.__esModule?h:{default:h}}function o(h,u){if(!(h instanceof u))throw new TypeError("Cannot call a class as a function")}var l=function(){function h(u,c,m){o(this,h),this.canvas=u,this.encodings=c,this.options=m}return t(h,[{key:"render",value:function(){if(!this.canvas.getContext)throw new Error("The browser does not support canvas.");this.prepareCanvas();for(var u=0;u<this.encodings.length;u++){var c=(0,n.default)(this.options,this.encodings[u].options);this.drawCanvasBarcode(c,this.encodings[u]),this.drawCanvasText(c,this.encodings[u]),this.moveCanvasDrawing(this.encodings[u])}this.restoreCanvas()}},{key:"prepareCanvas",value:function(){var u=this.canvas.getContext("2d");u.save(),(0,a.calculateEncodingAttributes)(this.encodings,this.options,u);var c=(0,a.getTotalWidthOfEncodings)(this.encodings),m=(0,a.getMaximumHeightOfEncodings)(this.encodings);this.canvas.width=c+this.options.marginLeft+this.options.marginRight,this.canvas.height=m,u.clearRect(0,0,this.canvas.width,this.canvas.height),this.options.background&&(u.fillStyle=this.options.background,u.fillRect(0,0,this.canvas.width,this.canvas.height)),u.translate(this.options.marginLeft,0)}},{key:"drawCanvasBarcode",value:function(u,c){var m=this.canvas.getContext("2d"),b=c.data,g;u.textPosition=="top"?g=u.marginTop+u.fontSize+u.textMargin:g=u.marginTop,m.fillStyle=u.lineColor;for(var w=0;w<b.length;w++){var x=w*u.width+c.barcodePadding;b[w]==="1"?m.fillRect(x,g,u.width,u.height):b[w]&&m.fillRect(x,g,u.width,u.height*b[w])}}},{key:"drawCanvasText",value:function(u,c){var m=this.canvas.getContext("2d"),b=u.fontOptions+" "+u.fontSize+"px "+u.font;if(u.displayValue){var g,w;u.textPosition=="top"?w=u.marginTop+u.fontSize-u.textMargin:w=u.height+u.textMargin+u.marginTop+u.fontSize,m.font=b,u.textAlign=="left"||c.barcodePadding>0?(g=0,m.textAlign="left"):u.textAlign=="right"?(g=c.width-1,m.textAlign="right"):(g=c.width/2,m.textAlign="center"),m.fillText(c.text,g,w)}}},{key:"moveCanvasDrawing",value:function(u){var c=this.canvas.getContext("2d");c.translate(u.width,0)}},{key:"restoreCanvas",value:function(){var u=this.canvas.getContext("2d");u.restore()}}]),h}();e.default=l}),Uz=te(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function u(c,m){for(var b=0;b<m.length;b++){var g=m[b];g.enumerable=g.enumerable||!1,g.configurable=!0,"value"in g&&(g.writable=!0),Object.defineProperty(c,g.key,g)}}return function(c,m,b){return m&&u(c.prototype,m),b&&u(c,b),c}}(),r=Fs(),n=i(r),a=km();function i(u){return u&&u.__esModule?u:{default:u}}function o(u,c){if(!(u instanceof c))throw new TypeError("Cannot call a class as a function")}var l="http://www.w3.org/2000/svg",h=function(){function u(c,m,b){o(this,u),this.svg=c,this.encodings=m,this.options=b,this.document=b.xmlDocument||document}return t(u,[{key:"render",value:function(){var c=this.options.marginLeft;this.prepareSVG();for(var m=0;m<this.encodings.length;m++){var b=this.encodings[m],g=(0,n.default)(this.options,b.options),w=this.createGroup(c,g.marginTop,this.svg);this.setGroupOptions(w,g),this.drawSvgBarcode(w,g,b),this.drawSVGText(w,g,b),c+=b.width}}},{key:"prepareSVG",value:function(){for(;this.svg.firstChild;)this.svg.removeChild(this.svg.firstChild);(0,a.calculateEncodingAttributes)(this.encodings,this.options);var c=(0,a.getTotalWidthOfEncodings)(this.encodings),m=(0,a.getMaximumHeightOfEncodings)(this.encodings),b=c+this.options.marginLeft+this.options.marginRight;this.setSvgAttributes(b,m),this.options.background&&this.drawRect(0,0,b,m,this.svg).setAttribute("style","fill:"+this.options.background+";")}},{key:"drawSvgBarcode",value:function(c,m,b){var g=b.data,w;m.textPosition=="top"?w=m.fontSize+m.textMargin:w=0;for(var x=0,S=0,N=0;N<g.length;N++)S=N*m.width+b.barcodePadding,g[N]==="1"?x++:x>0&&(this.drawRect(S-m.width*x,w,m.width*x,m.height,c),x=0);x>0&&this.drawRect(S-m.width*(x-1),w,m.width*x,m.height,c)}},{key:"drawSVGText",value:function(c,m,b){var g=this.document.createElementNS(l,"text");if(m.displayValue){var w,x;g.setAttribute("style","font:"+m.fontOptions+" "+m.fontSize+"px "+m.font),m.textPosition=="top"?x=m.fontSize-m.textMargin:x=m.height+m.textMargin+m.fontSize,m.textAlign=="left"||b.barcodePadding>0?(w=0,g.setAttribute("text-anchor","start")):m.textAlign=="right"?(w=b.width-1,g.setAttribute("text-anchor","end")):(w=b.width/2,g.setAttribute("text-anchor","middle")),g.setAttribute("x",w),g.setAttribute("y",x),g.appendChild(this.document.createTextNode(b.text)),c.appendChild(g)}}},{key:"setSvgAttributes",value:function(c,m){var b=this.svg;b.setAttribute("width",c+"px"),b.setAttribute("height",m+"px"),b.setAttribute("x","0px"),b.setAttribute("y","0px"),b.setAttribute("viewBox","0 0 "+c+" "+m),b.setAttribute("xmlns",l),b.setAttribute("version","1.1"),b.setAttribute("style","transform: translate(0,0)")}},{key:"createGroup",value:function(c,m,b){var g=this.document.createElementNS(l,"g");return g.setAttribute("transform","translate("+c+", "+m+")"),b.appendChild(g),g}},{key:"setGroupOptions",value:function(c,m){c.setAttribute("style","fill:"+m.lineColor+";")}},{key:"drawRect",value:function(c,m,b,g,w){var x=this.document.createElementNS(l,"rect");return x.setAttribute("x",c),x.setAttribute("y",m),x.setAttribute("width",b),x.setAttribute("height",g),w.appendChild(x),x}}]),u}();e.default=h}),Wz=te(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function a(i,o){for(var l=0;l<o.length;l++){var h=o[l];h.enumerable=h.enumerable||!1,h.configurable=!0,"value"in h&&(h.writable=!0),Object.defineProperty(i,h.key,h)}}return function(i,o,l){return o&&a(i.prototype,o),l&&a(i,l),i}}();function r(a,i){if(!(a instanceof i))throw new TypeError("Cannot call a class as a function")}var n=function(){function a(i,o,l){r(this,a),this.object=i,this.encodings=o,this.options=l}return t(a,[{key:"render",value:function(){this.object.encodings=this.encodings}}]),a}();e.default=n}),Zz=te(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=$z(),r=l(t),n=Uz(),a=l(n),i=Wz(),o=l(i);function l(h){return h&&h.__esModule?h:{default:h}}e.default={CanvasRenderer:r.default,SVGRenderer:a.default,ObjectRenderer:o.default}}),Cm=te(e=>{Object.defineProperty(e,"__esModule",{value:!0});function t(l,h){if(!(l instanceof h))throw new TypeError("Cannot call a class as a function")}function r(l,h){if(!l)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return h&&(typeof h=="object"||typeof h=="function")?h:l}function n(l,h){if(typeof h!="function"&&h!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof h);l.prototype=Object.create(h&&h.prototype,{constructor:{value:l,enumerable:!1,writable:!0,configurable:!0}}),h&&(Object.setPrototypeOf?Object.setPrototypeOf(l,h):l.__proto__=h)}var a=function(l){n(h,l);function h(u,c){t(this,h);var m=r(this,(h.__proto__||Object.getPrototypeOf(h)).call(this));return m.name="InvalidInputException",m.symbology=u,m.input=c,m.message='"'+m.input+'" is not a valid input for '+m.symbology,m}return h}(Error),i=function(l){n(h,l);function h(){t(this,h);var u=r(this,(h.__proto__||Object.getPrototypeOf(h)).call(this));return u.name="InvalidElementException",u.message="Not supported type to render on",u}return h}(Error),o=function(l){n(h,l);function h(){t(this,h);var u=r(this,(h.__proto__||Object.getPrototypeOf(h)).call(this));return u.name="NoElementException",u.message="No element to render on.",u}return h}(Error);e.InvalidInputException=a,e.InvalidElementException=i,e.NoElementException=o}),Yz=te(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(m){return typeof m}:function(m){return m&&typeof Symbol=="function"&&m.constructor===Symbol&&m!==Symbol.prototype?"symbol":typeof m},r=Gz(),n=l(r),a=Zz(),i=l(a),o=Cm();function l(m){return m&&m.__esModule?m:{default:m}}function h(m){if(typeof m=="string")return u(m);if(Array.isArray(m)){for(var b=[],g=0;g<m.length;g++)b.push(h(m[g]));return b}else{if(typeof HTMLCanvasElement<"u"&&m instanceof HTMLImageElement)return c(m);if(m&&m.nodeName&&m.nodeName.toLowerCase()==="svg"||typeof SVGElement<"u"&&m instanceof SVGElement)return{element:m,options:(0,n.default)(m),renderer:i.default.SVGRenderer};if(typeof HTMLCanvasElement<"u"&&m instanceof HTMLCanvasElement)return{element:m,options:(0,n.default)(m),renderer:i.default.CanvasRenderer};if(m&&m.getContext)return{element:m,renderer:i.default.CanvasRenderer};if(m&&(typeof m>"u"?"undefined":t(m))==="object"&&!m.nodeName)return{element:m,renderer:i.default.ObjectRenderer};throw new o.InvalidElementException}}function u(m){var b=document.querySelectorAll(m);if(b.length!==0){for(var g=[],w=0;w<b.length;w++)g.push(h(b[w]));return g}}function c(m){var b=document.createElement("canvas");return{element:b,options:(0,n.default)(m),renderer:i.default.CanvasRenderer,afterRender:function(){m.setAttribute("src",b.toDataURL())}}}e.default=h}),Kz=te(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function a(i,o){for(var l=0;l<o.length;l++){var h=o[l];h.enumerable=h.enumerable||!1,h.configurable=!0,"value"in h&&(h.writable=!0),Object.defineProperty(i,h.key,h)}}return function(i,o,l){return o&&a(i.prototype,o),l&&a(i,l),i}}();function r(a,i){if(!(a instanceof i))throw new TypeError("Cannot call a class as a function")}var n=function(){function a(i){r(this,a),this.api=i}return t(a,[{key:"handleCatch",value:function(i){if(i.name==="InvalidInputException")if(this.api._options.valid!==this.api._defaults.valid)this.api._options.valid(!1);else throw i.message;else throw i;this.api.render=function(){}}},{key:"wrapBarcodeCall",value:function(i){try{var o=i.apply(void 0,arguments);return this.api._options.valid(!0),o}catch(l){return this.handleCatch(l),this.api}}}]),a}();e.default=n}),Qz=te((e,t)=>{var r=zz(),n=A(r),a=Fs(),i=A(a),o=Hz(),l=A(o),h=qz(),u=A(h),c=Yz(),m=A(c),b=Em(),g=A(b),w=Kz(),x=A(w),S=Cm(),N=Sm(),L=A(N);function A(Z){return Z&&Z.__esModule?Z:{default:Z}}var Y=function(){},ne=function(Z,z,de){var P=new Y;if(typeof Z>"u")throw Error("No element to render on was provided.");return P._renderProperties=(0,m.default)(Z),P._encodings=[],P._options=L.default,P._errorHandler=new x.default(P),typeof z<"u"&&(de=de||{},de.format||(de.format=ze()),P.options(de)[de.format](z,de).render()),P};ne.getModule=function(Z){return n.default[Z]};for(ue in n.default)n.default.hasOwnProperty(ue)&&dt(n.default,ue);var ue;function dt(Z,z){Y.prototype[z]=Y.prototype[z.toUpperCase()]=Y.prototype[z.toLowerCase()]=function(de,P){var j=this;return j._errorHandler.wrapBarcodeCall(function(){P.text=typeof P.text>"u"?void 0:""+P.text;var G=(0,i.default)(j._options,P);G=(0,g.default)(G);var ve=Z[z],Ve=et(de,ve,G);return j._encodings.push(Ve),j})}}function et(Z,z,de){Z=""+Z;var P=new z(Z,de);if(!P.valid())throw new S.InvalidInputException(P.constructor.name,Z);var j=P.encode();j=(0,l.default)(j);for(var G=0;G<j.length;G++)j[G].options=(0,i.default)(de,j[G].options);return j}function ze(){return n.default.CODE128?"CODE128":Object.keys(n.default)[0]}Y.prototype.options=function(Z){return this._options=(0,i.default)(this._options,Z),this},Y.prototype.blank=function(Z){var z=new Array(Z+1).join("0");return this._encodings.push({data:z}),this},Y.prototype.init=function(){if(this._renderProperties){Array.isArray(this._renderProperties)||(this._renderProperties=[this._renderProperties]);var Z;for(var z in this._renderProperties){Z=this._renderProperties[z];var de=(0,i.default)(this._options,Z.options);de.format=="auto"&&(de.format=ze()),this._errorHandler.wrapBarcodeCall(function(){var P=de.value,j=n.default[de.format.toUpperCase()],G=et(P,j,de);ot(Z,G,de)})}}},Y.prototype.render=function(){if(!this._renderProperties)throw new S.NoElementException;if(Array.isArray(this._renderProperties))for(var Z=0;Z<this._renderProperties.length;Z++)ot(this._renderProperties[Z],this._encodings,this._options);else ot(this._renderProperties,this._encodings,this._options);return this},Y.prototype._defaults=L.default;function ot(Z,z,de){z=(0,l.default)(z);for(var P=0;P<z.length;P++)z[P].options=(0,i.default)(de,z[P].options),(0,u.default)(z[P].options);(0,u.default)(de);var j=Z.renderer,G=new j(Z.element,z,de);G.render(),Z.afterRender&&Z.afterRender()}typeof window<"u"&&(window.JsBarcode=ne),typeof jQuery<"u"&&(jQuery.fn.JsBarcode=function(Z,z){var de=[];return jQuery(this).each(function(){de.push(this)}),ne(de,Z,z)}),t.exports=ne});function Im(e,t){return Object.is(e,t)}var nt=null,jo=!1,pc=1,mc=Symbol("SIGNAL");function xe(e){let t=nt;return nt=e,t}function Jz(){return nt}var js={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 Dm(e){if(jo)throw new Error("");if(nt===null)return;nt.consumerOnSignalRead(e);let t=nt.nextProducerIndex++;if(Bs(nt),t<nt.producerNode.length&&nt.producerNode[t]!==e&&gi(nt)){let r=nt.producerNode[t];Vs(r,nt.producerIndexOfThis[t])}nt.producerNode[t]!==e&&(nt.producerNode[t]=e,nt.producerIndexOfThis[t]=gi(nt)?Pm(e,nt,t):0),nt.producerLastReadVersion[t]=e.version}function Xz(){pc++}function Nm(e){if(!(gi(e)&&!e.dirty)&&!(!e.dirty&&e.lastCleanEpoch===pc)){if(!e.producerMustRecompute(e)&&!Rm(e)){sh(e);return}e.producerRecomputeValue(e),sh(e)}}function Tm(e){if(e.liveConsumerNode===void 0)return;let t=jo;jo=!0;try{for(let r of e.liveConsumerNode)r.dirty||t4(r)}finally{jo=t}}function e4(){return(nt==null?void 0:nt.consumerAllowSignalWrites)!==!1}function t4(e){var t;e.dirty=!0,Tm(e),(t=e.consumerMarkedDirty)==null||t.call(e,e)}function sh(e){e.dirty=!1,e.lastCleanEpoch=pc}function ou(e){return e&&(e.nextProducerIndex=0),xe(e)}function Mm(e,t){if(xe(t),!(!e||e.producerNode===void 0||e.producerIndexOfThis===void 0||e.producerLastReadVersion===void 0)){if(gi(e))for(let r=e.nextProducerIndex;r<e.producerNode.length;r++)Vs(e.producerNode[r],e.producerIndexOfThis[r]);for(;e.producerNode.length>e.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}function Rm(e){Bs(e);for(let t=0;t<e.producerNode.length;t++){let r=e.producerNode[t],n=e.producerLastReadVersion[t];if(n!==r.version||(Nm(r),n!==r.version))return!0}return!1}function Om(e){if(Bs(e),gi(e))for(let t=0;t<e.producerNode.length;t++)Vs(e.producerNode[t],e.producerIndexOfThis[t]);e.producerNode.length=e.producerLastReadVersion.length=e.producerIndexOfThis.length=0,e.liveConsumerNode&&(e.liveConsumerNode.length=e.liveConsumerIndexOfThis.length=0)}function Pm(e,t,r){if(Am(e),e.liveConsumerNode.length===0&&Lm(e))for(let n=0;n<e.producerNode.length;n++)e.producerIndexOfThis[n]=Pm(e.producerNode[n],e,n);return e.liveConsumerIndexOfThis.push(r),e.liveConsumerNode.push(t)-1}function Vs(e,t){if(Am(e),e.liveConsumerNode.length===1&&Lm(e))for(let n=0;n<e.producerNode.length;n++)Vs(e.producerNode[n],e.producerIndexOfThis[n]);let r=e.liveConsumerNode.length-1;if(e.liveConsumerNode[t]=e.liveConsumerNode[r],e.liveConsumerIndexOfThis[t]=e.liveConsumerIndexOfThis[r],e.liveConsumerNode.length--,e.liveConsumerIndexOfThis.length--,t<e.liveConsumerNode.length){let n=e.liveConsumerIndexOfThis[t],a=e.liveConsumerNode[t];Bs(a),a.producerIndexOfThis[n]=t}}function gi(e){var t;return e.consumerIsAlwaysLive||(((t=e==null?void 0:e.liveConsumerNode)==null?void 0:t.length)??0)>0}function Bs(e){e.producerNode??(e.producerNode=[]),e.producerIndexOfThis??(e.producerIndexOfThis=[]),e.producerLastReadVersion??(e.producerLastReadVersion=[])}function Am(e){e.liveConsumerNode??(e.liveConsumerNode=[]),e.liveConsumerIndexOfThis??(e.liveConsumerIndexOfThis=[])}function Lm(e){return e.producerNode!==void 0}function n4(e,t){let r=Object.create(r4);r.computation=e;let n=()=>{if(Nm(r),Dm(r),r.value===Vo)throw r.error;return r.value};return n[mc]=r,n}var gl=Symbol("UNSET"),vl=Symbol("COMPUTING"),Vo=Symbol("ERRORED"),r4=Kt(ge({},js),{value:gl,dirty:!0,error:null,equal:Im,kind:"computed",producerMustRecompute(e){return e.value===gl||e.value===vl},producerRecomputeValue(e){if(e.value===vl)throw new Error("Detected cycle in computations.");let t=e.value;e.value=vl;let r=ou(e),n,a=!1;try{n=e.computation(),xe(null),a=t!==gl&&t!==Vo&&n!==Vo&&e.equal(t,n)}catch(i){n=Vo,e.error=i}finally{Mm(e,r)}if(a){e.value=t;return}e.value=n,e.version++}});function a4(){throw new Error}var Fm=a4;function i4(e){Fm(e)}function o4(e){Fm=e}function s4(e,t){e4()||i4(e),e.equal(e.value,t)||(e.value=t,u4(e))}var l4=Kt(ge({},js),{equal:Im,value:void 0,kind:"signal"});function u4(e){e.version++,Xz(),Tm(e)}function c4(e){let t=xe(null);try{return e()}finally{xe(t)}}var su;function Bo(){return su}function vr(e){let t=su;return su=e,t}var jm=Symbol("NotFound");function Ge(e){return typeof e=="function"}function Vm(e){let t=e(r=>{Error.call(r),r.stack=new Error().stack});return t.prototype=Object.create(Error.prototype),t.prototype.constructor=t,t}var bl=Vm(e=>function(t){e(this),this.message=t?`${t.length} errors occurred during unsubscription:
13
+ ${t.map((r,n)=>`${n+1}) ${r.toString()}`).join(`
14
+ `)}`:"",this.name="UnsubscriptionError",this.errors=t});function rs(e,t){if(e){let r=e.indexOf(t);0<=r&&e.splice(r,1)}}var Zt=class lu{constructor(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let t;if(!this.closed){this.closed=!0;let{_parentage:r}=this;if(r)if(this._parentage=null,Array.isArray(r))for(let i of r)i.remove(this);else r.remove(this);let{initialTeardown:n}=this;if(Ge(n))try{n()}catch(i){t=i instanceof bl?i.errors:[i]}let{_finalizers:a}=this;if(a){this._finalizers=null;for(let i of a)try{lh(i)}catch(o){t=t??[],o instanceof bl?t=[...t,...o.errors]:t.push(o)}}if(t)throw new bl(t)}}add(t){var r;if(t&&t!==this)if(this.closed)lh(t);else{if(t instanceof lu){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=(r=this._finalizers)!==null&&r!==void 0?r:[]).push(t)}}_hasParent(t){let{_parentage:r}=this;return r===t||Array.isArray(r)&&r.includes(t)}_addParent(t){let{_parentage:r}=this;this._parentage=Array.isArray(r)?(r.push(t),r):r?[r,t]:t}_removeParent(t){let{_parentage:r}=this;r===t?this._parentage=null:Array.isArray(r)&&rs(r,t)}remove(t){let{_finalizers:r}=this;r&&rs(r,t),t instanceof lu&&t._removeParent(this)}};Zt.EMPTY=(()=>{let e=new Zt;return e.closed=!0,e})();var Bm=Zt.EMPTY;function zm(e){return e instanceof Zt||e&&"closed"in e&&Ge(e.remove)&&Ge(e.add)&&Ge(e.unsubscribe)}function lh(e){Ge(e)?e():e.unsubscribe()}var d4={Promise:void 0},h4={setTimeout(e,t,...r){return setTimeout(e,t,...r)},clearTimeout(e){return clearTimeout(e)},delegate:void 0};function Hm(e){h4.setTimeout(()=>{throw e})}function uu(){}function zo(e){e()}var fc=class extends Zt{constructor(e){super(),this.isStopped=!1,e?(this.destination=e,zm(e)&&e.add(this)):this.destination=f4}static create(e,t,r){return new vi(e,t,r)}next(e){this.isStopped?void 0:this._next(e)}error(e){this.isStopped?void 0:(this.isStopped=!0,this._error(e))}complete(){this.isStopped?void 0:(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(e){this.destination.next(e)}_error(e){try{this.destination.error(e)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}},p4=class{constructor(e){this.partialObserver=e}next(e){let{partialObserver:t}=this;if(t.next)try{t.next(e)}catch(r){go(r)}}error(e){let{partialObserver:t}=this;if(t.error)try{t.error(e)}catch(r){go(r)}else go(e)}complete(){let{partialObserver:e}=this;if(e.complete)try{e.complete()}catch(t){go(t)}}},vi=class extends fc{constructor(e,t,r){super();let n;Ge(e)||!e?n={next:e??void 0,error:t??void 0,complete:r??void 0}:n=e,this.destination=new p4(n)}};function go(e){Hm(e)}function m4(e){throw e}var f4={closed:!0,next:uu,error:m4,complete:uu},gc=typeof Symbol=="function"&&Symbol.observable||"@@observable";function Aa(e){return e}function g4(e){return e.length===0?Aa:e.length===1?e[0]:function(t){return e.reduce((r,n)=>n(r),t)}}var Qe=(()=>{class e{constructor(r){r&&(this._subscribe=r)}lift(r){let n=new e;return n.source=this,n.operator=r,n}subscribe(r,n,a){let i=b4(r)?r:new vi(r,n,a);return zo(()=>{let{operator:o,source:l}=this;i.add(o?o.call(i,l):l?this._subscribe(i):this._trySubscribe(i))}),i}_trySubscribe(r){try{return this._subscribe(r)}catch(n){r.error(n)}}forEach(r,n){return n=uh(n),new n((a,i)=>{let o=new vi({next:l=>{try{r(l)}catch(h){i(h),o.unsubscribe()}},error:i,complete:a});this.subscribe(o)})}_subscribe(r){var n;return(n=this.source)===null||n===void 0?void 0:n.subscribe(r)}[gc](){return this}pipe(...r){return g4(r)(this)}toPromise(r){return r=uh(r),new r((n,a)=>{let i;this.subscribe(o=>i=o,o=>a(o),()=>n(i))})}}return e.create=t=>new e(t),e})();function uh(e){var t;return(t=e??d4.Promise)!==null&&t!==void 0?t:Promise}function v4(e){return e&&Ge(e.next)&&Ge(e.error)&&Ge(e.complete)}function b4(e){return e&&e instanceof fc||v4(e)&&zm(e)}function y4(e){return Ge(e==null?void 0:e.lift)}function Ot(e){return t=>{if(y4(t))return t.lift(function(r){try{return e(r,this)}catch(n){this.error(n)}});throw new TypeError("Unable to lift unknown Observable type")}}function kt(e,t,r,n,a){return new _4(e,t,r,n,a)}var _4=class extends fc{constructor(e,t,r,n,a,i){super(e),this.onFinalize=a,this.shouldUnsubscribe=i,this._next=t?function(o){try{t(o)}catch(l){e.error(l)}}:super._next,this._error=n?function(o){try{n(o)}catch(l){e.error(l)}finally{this.unsubscribe()}}:super._error,this._complete=r?function(){try{r()}catch(o){e.error(o)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var e;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){let{closed:t}=this;super.unsubscribe(),!t&&((e=this.onFinalize)===null||e===void 0||e.call(this))}}},w4=Vm(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}),Pe=(()=>{class e extends Qe{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(r){let n=new ch(this,this);return n.operator=r,n}_throwIfClosed(){if(this.closed)throw new w4}next(r){zo(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let n of this.currentObservers)n.next(r)}})}error(r){zo(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=r;let{observers:n}=this;for(;n.length;)n.shift().error(r)}})}complete(){zo(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;let{observers:r}=this;for(;r.length;)r.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var r;return((r=this.observers)===null||r===void 0?void 0:r.length)>0}_trySubscribe(r){return this._throwIfClosed(),super._trySubscribe(r)}_subscribe(r){return this._throwIfClosed(),this._checkFinalizedStatuses(r),this._innerSubscribe(r)}_innerSubscribe(r){let{hasError:n,isStopped:a,observers:i}=this;return n||a?Bm:(this.currentObservers=null,i.push(r),new Zt(()=>{this.currentObservers=null,rs(i,r)}))}_checkFinalizedStatuses(r){let{hasError:n,thrownError:a,isStopped:i}=this;n?r.error(a):i&&r.complete()}asObservable(){let r=new Qe;return r.source=this,r}}return e.create=(t,r)=>new ch(t,r),e})(),ch=class extends Pe{constructor(e,t){super(),this.destination=e,this.source=t}next(e){var t,r;(r=(t=this.destination)===null||t===void 0?void 0:t.next)===null||r===void 0||r.call(t,e)}error(e){var t,r;(r=(t=this.destination)===null||t===void 0?void 0:t.error)===null||r===void 0||r.call(t,e)}complete(){var e,t;(t=(e=this.destination)===null||e===void 0?void 0:e.complete)===null||t===void 0||t.call(e)}_subscribe(e){var t,r;return(r=(t=this.source)===null||t===void 0?void 0:t.subscribe(e))!==null&&r!==void 0?r:Bm}},vc=class extends Pe{constructor(e){super(),this._value=e}get value(){return this.getValue()}_subscribe(e){let t=super._subscribe(e);return!t.closed&&e.next(this._value),t}getValue(){let{hasError:e,thrownError:t,_value:r}=this;if(e)throw t;return this._throwIfClosed(),r}next(e){super.next(this._value=e)}},bc={now(){return(bc.delegate||Date).now()},delegate:void 0},yc=class extends Pe{constructor(e=1/0,t=1/0,r=bc){super(),this._bufferSize=e,this._windowTime=t,this._timestampProvider=r,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=t===1/0,this._bufferSize=Math.max(1,e),this._windowTime=Math.max(1,t)}next(e){let{isStopped:t,_buffer:r,_infiniteTimeWindow:n,_timestampProvider:a,_windowTime:i}=this;t||(r.push(e),!n&&r.push(a.now()+i)),this._trimBuffer(),super.next(e)}_subscribe(e){this._throwIfClosed(),this._trimBuffer();let t=this._innerSubscribe(e),{_infiniteTimeWindow:r,_buffer:n}=this,a=n.slice();for(let i=0;i<a.length&&!e.closed;i+=r?1:2)e.next(a[i]);return this._checkFinalizedStatuses(e),t}_trimBuffer(){let{_bufferSize:e,_timestampProvider:t,_buffer:r,_infiniteTimeWindow:n}=this,a=(n?1:2)*e;if(e<1/0&&a<r.length&&r.splice(0,r.length-a),!n){let i=t.now(),o=0;for(let l=1;l<r.length&&r[l]<=i;l+=2)o=l;o&&r.splice(0,o+1)}}},x4=class extends Zt{constructor(e,t){super()}schedule(e,t=0){return this}},cu={setInterval(e,t,...r){let{delegate:n}=cu;return n!=null&&n.setInterval?n.setInterval(e,t,...r):setInterval(e,t,...r)},clearInterval(e){return clearInterval(e)},delegate:void 0},E4=class extends x4{constructor(e,t){super(e,t),this.scheduler=e,this.work=t,this.pending=!1}schedule(e,t=0){var r;if(this.closed)return this;this.state=e;let n=this.id,a=this.scheduler;return n!=null&&(this.id=this.recycleAsyncId(a,n,t)),this.pending=!0,this.delay=t,this.id=(r=this.id)!==null&&r!==void 0?r:this.requestAsyncId(a,this.id,t),this}requestAsyncId(e,t,r=0){return cu.setInterval(e.flush.bind(e,this),r)}recycleAsyncId(e,t,r=0){if(r!=null&&this.delay===r&&this.pending===!1)return t;t!=null&&cu.clearInterval(t)}execute(e,t){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;let r=this._execute(e,t);if(r)return r;this.pending===!1&&this.id!=null&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(e,t){let r=!1,n;try{this.work(e)}catch(a){r=!0,n=a||new Error("Scheduled action threw falsy error")}if(r)return this.unsubscribe(),n}unsubscribe(){if(!this.closed){let{id:e,scheduler:t}=this,{actions:r}=t;this.work=this.state=this.scheduler=null,this.pending=!1,rs(r,this),e!=null&&(this.id=this.recycleAsyncId(t,e,null)),this.delay=null,super.unsubscribe()}}},du=class qm{constructor(t,r=qm.now){this.schedulerActionCtor=t,this.now=r}schedule(t,r=0,n){return new this.schedulerActionCtor(this,t).schedule(n,r)}};du.now=bc.now;var S4=class extends du{constructor(e,t=du.now){super(e,t),this.actions=[],this._active=!1}flush(e){let{actions:t}=this;if(this._active){t.push(e);return}let r;this._active=!0;do if(r=e.execute(e.state,e.delay))break;while(e=t.shift());if(this._active=!1,r){for(;e=t.shift();)e.unsubscribe();throw r}}},_c=new S4(E4),k4=_c,Gm=new Qe(e=>e.complete());function $m(e){return e&&Ge(e.schedule)}function wc(e){return e[e.length-1]}function Um(e){return Ge(wc(e))?e.pop():void 0}function Li(e){return $m(wc(e))?e.pop():void 0}function C4(e,t){return typeof wc(e)=="number"?e.pop():t}function I4(e,t,r,n){function a(i){return i instanceof r?i:new r(function(o){o(i)})}return new(r||(r=Promise))(function(i,o){function l(c){try{u(n.next(c))}catch(m){o(m)}}function h(c){try{u(n.throw(c))}catch(m){o(m)}}function u(c){c.done?i(c.value):a(c.value).then(l,h)}u((n=n.apply(e,[])).next())})}function dh(e){var t=typeof Symbol=="function"&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function ba(e){return this instanceof ba?(this.v=e,this):new ba(e)}function D4(e,t,r){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n=r.apply(e,t||[]),a,i=[];return a=Object.create((typeof AsyncIterator=="function"?AsyncIterator:Object).prototype),l("next"),l("throw"),l("return",o),a[Symbol.asyncIterator]=function(){return this},a;function o(g){return function(w){return Promise.resolve(w).then(g,m)}}function l(g,w){n[g]&&(a[g]=function(x){return new Promise(function(S,N){i.push([g,x,S,N])>1||h(g,x)})},w&&(a[g]=w(a[g])))}function h(g,w){try{u(n[g](w))}catch(x){b(i[0][3],x)}}function u(g){g.value instanceof ba?Promise.resolve(g.value.v).then(c,m):b(i[0][2],g)}function c(g){h("next",g)}function m(g){h("throw",g)}function b(g,w){g(w),i.shift(),i.length&&h(i[0][0],i[0][1])}}function N4(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t=e[Symbol.asyncIterator],r;return t?t.call(e):(e=typeof dh=="function"?dh(e):e[Symbol.iterator](),r={},n("next"),n("throw"),n("return"),r[Symbol.asyncIterator]=function(){return this},r);function n(i){r[i]=e[i]&&function(o){return new Promise(function(l,h){o=e[i](o),a(l,h,o.done,o.value)})}}function a(i,o,l,h){Promise.resolve(h).then(function(u){i({value:u,done:l})},o)}}var Wm=e=>e&&typeof e.length=="number"&&typeof e!="function";function Zm(e){return Ge(e==null?void 0:e.then)}function Ym(e){return Ge(e[gc])}function Km(e){return Symbol.asyncIterator&&Ge(e==null?void 0:e[Symbol.asyncIterator])}function Qm(e){return new TypeError(`You provided ${e!==null&&typeof e=="object"?"an invalid object":`'${e}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}function T4(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var Jm=T4();function Xm(e){return Ge(e==null?void 0:e[Jm])}function ef(e){return D4(this,arguments,function*(){let t=e.getReader();try{for(;;){let{value:r,done:n}=yield ba(t.read());if(n)return yield ba(void 0);yield yield ba(r)}}finally{t.releaseLock()}})}function tf(e){return Ge(e==null?void 0:e.getReader)}function zt(e){if(e instanceof Qe)return e;if(e!=null){if(Ym(e))return M4(e);if(Wm(e))return R4(e);if(Zm(e))return O4(e);if(Km(e))return nf(e);if(Xm(e))return P4(e);if(tf(e))return A4(e)}throw Qm(e)}function M4(e){return new Qe(t=>{let r=e[gc]();if(Ge(r.subscribe))return r.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function R4(e){return new Qe(t=>{for(let r=0;r<e.length&&!t.closed;r++)t.next(e[r]);t.complete()})}function O4(e){return new Qe(t=>{e.then(r=>{t.closed||(t.next(r),t.complete())},r=>t.error(r)).then(null,Hm)})}function P4(e){return new Qe(t=>{for(let r of e)if(t.next(r),t.closed)return;t.complete()})}function nf(e){return new Qe(t=>{L4(e,t).catch(r=>t.error(r))})}function A4(e){return nf(ef(e))}function L4(e,t){var r,n,a,i;return I4(this,void 0,void 0,function*(){try{for(r=N4(e);n=yield r.next(),!n.done;){let o=n.value;if(t.next(o),t.closed)return}}catch(o){a={error:o}}finally{try{n&&!n.done&&(i=r.return)&&(yield i.call(r))}finally{if(a)throw a.error}}t.complete()})}function or(e,t,r,n=0,a=!1){let i=t.schedule(function(){r(),a?e.add(this.schedule(null,n)):this.unsubscribe()},n);if(e.add(i),!a)return i}function rf(e,t=0){return Ot((r,n)=>{r.subscribe(kt(n,a=>or(n,e,()=>n.next(a),t),()=>or(n,e,()=>n.complete(),t),a=>or(n,e,()=>n.error(a),t)))})}function af(e,t=0){return Ot((r,n)=>{n.add(e.schedule(()=>r.subscribe(n),t))})}function F4(e,t){return zt(e).pipe(af(t),rf(t))}function j4(e,t){return zt(e).pipe(af(t),rf(t))}function V4(e,t){return new Qe(r=>{let n=0;return t.schedule(function(){n===e.length?r.complete():(r.next(e[n++]),r.closed||this.schedule())})})}function B4(e,t){return new Qe(r=>{let n;return or(r,t,()=>{n=e[Jm](),or(r,t,()=>{let a,i;try{({value:a,done:i}=n.next())}catch(o){r.error(o);return}i?r.complete():r.next(a)},0,!0)}),()=>Ge(n==null?void 0:n.return)&&n.return()})}function of(e,t){if(!e)throw new Error("Iterable cannot be null");return new Qe(r=>{or(r,t,()=>{let n=e[Symbol.asyncIterator]();or(r,t,()=>{n.next().then(a=>{a.done?r.complete():r.next(a.value)})},0,!0)})})}function z4(e,t){return of(ef(e),t)}function H4(e,t){if(e!=null){if(Ym(e))return F4(e,t);if(Wm(e))return V4(e,t);if(Zm(e))return j4(e,t);if(Km(e))return of(e,t);if(Xm(e))return B4(e,t);if(tf(e))return z4(e,t)}throw Qm(e)}function ea(e,t){return t?H4(e,t):zt(e)}function _t(...e){let t=Li(e);return ea(e,t)}function sf(e,t){let r=Ge(e)?e:()=>e,n=a=>a.error(r());return new Qe(n)}function ci(e){return!!e&&(e instanceof Qe||Ge(e.lift)&&Ge(e.subscribe))}function q4(e){return e instanceof Date&&!isNaN(e)}function wt(e,t){return Ot((r,n)=>{let a=0;r.subscribe(kt(n,i=>{n.next(e.call(t,i,a++))}))})}var{isArray:G4}=Array;function $4(e,t){return G4(t)?e(...t):e(t)}function lf(e){return wt(t=>$4(e,t))}var{isArray:U4}=Array,{getPrototypeOf:W4,prototype:Z4,keys:Y4}=Object;function uf(e){if(e.length===1){let t=e[0];if(U4(t))return{args:t,keys:null};if(K4(t)){let r=Y4(t);return{args:r.map(n=>t[n]),keys:r}}}return{args:e,keys:null}}function K4(e){return e&&typeof e=="object"&&W4(e)===Z4}function cf(e,t){return e.reduce((r,n,a)=>(r[n]=t[a],r),{})}function Q4(...e){let t=Li(e),r=Um(e),{args:n,keys:a}=uf(e);if(n.length===0)return ea([],t);let i=new Qe(J4(n,t,a?o=>cf(a,o):Aa));return r?i.pipe(lf(r)):i}function J4(e,t,r=Aa){return n=>{hh(t,()=>{let{length:a}=e,i=new Array(a),o=a,l=a;for(let h=0;h<a;h++)hh(t,()=>{let u=ea(e[h],t),c=!1;u.subscribe(kt(n,m=>{i[h]=m,c||(c=!0,l--),l||n.next(r(i.slice()))},()=>{--o||n.complete()}))},n)},n)}}function hh(e,t,r){e?or(r,e,t):t()}function X4(e,t,r,n,a,i,o,l){let h=[],u=0,c=0,m=!1,b=()=>{m&&!h.length&&!u&&t.complete()},g=x=>u<n?w(x):h.push(x),w=x=>{u++;let S=!1;zt(r(x,c++)).subscribe(kt(t,N=>{t.next(N)},()=>{S=!0},void 0,()=>{if(S)try{for(u--;h.length&&u<n;){let N=h.shift();o?or(t,o,()=>w(N)):w(N)}b()}catch(N){t.error(N)}}))};return e.subscribe(kt(t,g,()=>{m=!0,b()})),()=>{}}function bi(e,t,r=1/0){return Ge(t)?bi((n,a)=>wt((i,o)=>t(n,i,a,o))(zt(e(n,a))),r):(typeof t=="number"&&(r=t),Ot((n,a)=>X4(n,a,e,r)))}function df(e=1/0){return bi(Aa,e)}function e5(){return df(1)}function yi(...e){return e5()(ea(e,Li(e)))}function ph(e){return new Qe(t=>{zt(e()).subscribe(t)})}function hf(...e){let t=Um(e),{args:r,keys:n}=uf(e),a=new Qe(i=>{let{length:o}=r;if(!o){i.complete();return}let l=new Array(o),h=o,u=o;for(let c=0;c<o;c++){let m=!1;zt(r[c]).subscribe(kt(i,b=>{m||(m=!0,u--),l[c]=b},()=>h--,void 0,()=>{(!h||!m)&&(u||i.next(n?cf(n,l):l),i.complete())}))}});return t?a.pipe(lf(t)):a}function t5(e=0,t,r=k4){let n=-1;return t!=null&&($m(t)?r=t:n=t),new Qe(a=>{let i=q4(e)?+e-r.now():e;i<0&&(i=0);let o=0;return r.schedule(function(){a.closed||(a.next(o++),0<=n?this.schedule(void 0,n):a.complete())},i)})}function pf(...e){let t=Li(e),r=C4(e,1/0),n=e;return n.length?n.length===1?zt(n[0]):df(r)(ea(n,t)):Gm}function zs(e,t){return Ot((r,n)=>{let a=0;r.subscribe(kt(n,i=>e.call(t,i,a++)&&n.next(i)))})}function n5(e){return Ot((t,r)=>{let n=!1,a=null,i=null,o=!1,l=()=>{if(i==null||i.unsubscribe(),i=null,n){n=!1;let u=a;a=null,r.next(u)}o&&r.complete()},h=()=>{i=null,o&&r.complete()};t.subscribe(kt(r,u=>{n=!0,a=u,i||zt(e(u)).subscribe(i=kt(r,l,h))},()=>{o=!0,(!n||!i||i.closed)&&r.complete()}))})}function mf(e,t=_c){return n5(()=>t5(e,t))}function Hs(e){return Ot((t,r)=>{let n=null,a=!1,i;n=t.subscribe(kt(r,void 0,void 0,o=>{i=zt(e(o,Hs(e)(t))),n?(n.unsubscribe(),n=null,i.subscribe(r)):a=!0})),a&&(n.unsubscribe(),n=null,i.subscribe(r))})}function ff(e,t){return Ge(t)?bi(e,t,1):bi(e,1)}function r5(e,t=_c){return Ot((r,n)=>{let a=null,i=null,o=null,l=()=>{if(a){a.unsubscribe(),a=null;let u=i;i=null,n.next(u)}};function h(){let u=o+e,c=t.now();if(c<u){a=this.schedule(void 0,u-c),n.add(a);return}l()}r.subscribe(kt(n,u=>{i=u,o=t.now(),a||(a=t.schedule(h,e),n.add(a))},()=>{l(),n.complete()},void 0,()=>{i=a=null}))})}function rr(e){return e<=0?()=>Gm:Ot((t,r)=>{let n=0;t.subscribe(kt(r,a=>{++n<=e&&(r.next(a),e<=n&&r.complete())}))})}function a5(e,t=Aa){return e=e??i5,Ot((r,n)=>{let a,i=!0;r.subscribe(kt(n,o=>{let l=t(o);(i||!e(a,l))&&(i=!1,a=l,n.next(o))}))})}function i5(e,t){return e===t}function gf(e){return Ot((t,r)=>{try{t.subscribe(r)}finally{r.add(e)}})}function vf(e={}){let{connector:t=()=>new Pe,resetOnError:r=!0,resetOnComplete:n=!0,resetOnRefCountZero:a=!0}=e;return i=>{let o,l,h,u=0,c=!1,m=!1,b=()=>{l==null||l.unsubscribe(),l=void 0},g=()=>{b(),o=h=void 0,c=m=!1},w=()=>{let x=o;g(),x==null||x.unsubscribe()};return Ot((x,S)=>{u++,!m&&!c&&b();let N=h=h??t();S.add(()=>{u--,u===0&&!m&&!c&&(l=yl(w,a))}),N.subscribe(S),!o&&u>0&&(o=new vi({next:L=>N.next(L),error:L=>{m=!0,b(),l=yl(g,r,L),N.error(L)},complete:()=>{c=!0,b(),l=yl(g,n),N.complete()}}),zt(x).subscribe(o))})(i)}}function yl(e,t,...r){if(t===!0){e();return}if(t===!1)return;let n=new vi({next:()=>{n.unsubscribe(),e()}});return zt(t(...r)).subscribe(n)}function mh(e,t,r){let n;return n=e,vf({connector:()=>new yc(n,t,r),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:!1})}function bf(e){return zs((t,r)=>e<=r)}function yf(...e){let t=Li(e);return Ot((r,n)=>{(t?yi(e,r,t):yi(e,r)).subscribe(n)})}function as(e,t){return Ot((r,n)=>{let a=null,i=0,o=!1,l=()=>o&&!a&&n.complete();r.subscribe(kt(n,h=>{a==null||a.unsubscribe();let u=0,c=i++;zt(e(h,c)).subscribe(a=kt(n,m=>n.next(t?t(h,m,c,u++):m),()=>{a=null,l()}))},()=>{o=!0,l()}))})}function Fi(e){return Ot((t,r)=>{zt(e).subscribe(kt(r,()=>r.complete(),uu)),!r.closed&&t.subscribe(r)})}function Ho(e,t,r){let n=Ge(e)||t||r?{next:e,error:t,complete:r}:e;return n?Ot((a,i)=>{var o;(o=n.subscribe)===null||o===void 0||o.call(n);let l=!0;a.subscribe(kt(i,h=>{var u;(u=n.next)===null||u===void 0||u.call(n,h),i.next(h)},()=>{var h;l=!1,(h=n.complete)===null||h===void 0||h.call(n),i.complete()},h=>{var u;l=!1,(u=n.error)===null||u===void 0||u.call(n,h),i.error(h)},()=>{var h,u;l&&((h=n.unsubscribe)===null||h===void 0||h.call(n)),(u=n.finalize)===null||u===void 0||u.call(n)}))}):Aa}var _f="https://angular.dev/best-practices/security#preventing-cross-site-scripting-xss",$=class extends Error{constructor(t,r){super(s5(t,r));s(this,"code");this.code=t}};function o5(e){return`NG0${Math.abs(e)}`}function s5(e,t){return`${o5(e)}${t?": "+t:""}`}var wf=Symbol("InputSignalNode#UNSET"),l5=Kt(ge({},l4),{transformFn:void 0,applyValueToInputSignal(e,t){s4(e,t)}});function xf(e,t){let r=Object.create(l5);r.value=e,r.transformFn=t==null?void 0:t.transform;function n(){if(Dm(r),r.value===wf){let a=null;throw new $(-950,a)}return r.value}return n[mc]=r,n}function ji(e){return{toString:e}.toString()}var vo="__parameters__";function u5(e){return function(...t){}}function Ef(e,t,r){return ji(()=>{let n=u5();function a(...i){if(this instanceof a)return n.apply(this,i),this;let o=new a(...i);return l.annotation=o,l;function l(h,u,c){let m=h.hasOwnProperty(vo)?h[vo]:Object.defineProperty(h,vo,{value:[]})[vo];for(;m.length<=c;)m.push(null);return(m[c]=m[c]||[]).push(o),h}}return a.prototype.ngMetadataName=e,a.annotationCls=a,a})}var ha=globalThis;function $e(e){for(let t in e)if(e[t]===$e)return t;throw Error("Could not find renamed property on target object.")}function c5(e,t){for(let r in t)t.hasOwnProperty(r)&&!e.hasOwnProperty(r)&&(e[r]=t[r])}function ln(e){if(typeof e=="string")return e;if(Array.isArray(e))return`[${e.map(ln).join(", ")}]`;if(e==null)return""+e;let t=e.overriddenName||e.name;if(t)return`${t}`;let r=e.toString();if(r==null)return""+r;let n=r.indexOf(`
15
+ `);return n>=0?r.slice(0,n):r}function hu(e,t){return e?t?`${e} ${t}`:e:t||""}var d5=$e({__forward_ref__:$e});function Sf(e){return e.__forward_ref__=Sf,e.toString=function(){return ln(this())},e}function Lt(e){return kf(e)?e():e}function kf(e){return typeof e=="function"&&e.hasOwnProperty(d5)&&e.__forward_ref__===Sf}function U(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function Cf(e){return{providers:e.providers||[],imports:e.imports||[]}}function xc(e){return fh(e,If)||fh(e,Df)}function fh(e,t){return e.hasOwnProperty(t)?e[t]:null}function h5(e){return e&&(e[If]||e[Df])||null}function gh(e){return e&&(e.hasOwnProperty(vh)||e.hasOwnProperty(p5))?e[vh]:null}var If=$e({ɵprov:$e}),vh=$e({ɵinj:$e}),Df=$e({ngInjectableDef:$e}),p5=$e({ngInjectorDef:$e}),Q=class{constructor(e,t){s(this,"_desc");s(this,"ngMetadataName","InjectionToken");s(this,"ɵprov");this._desc=e,this.ɵprov=void 0,typeof t=="number"?this.__NG_ELEMENT_ID__=t:t!==void 0&&(this.ɵprov=U({token:this,providedIn:t.providedIn||"root",factory:t.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function Nf(e){return e&&!!e.ɵproviders}var m5=$e({ɵcmp:$e}),f5=$e({ɵdir:$e}),g5=$e({ɵpipe:$e}),is=$e({ɵfac:$e}),di=$e({__NG_ELEMENT_ID__:$e}),bh=$e({__NG_ENV_ID__:$e});function _i(e){return typeof e=="string"?e:e==null?"":String(e)}function v5(e){return typeof e=="function"?e.name||e.toString():typeof e=="object"&&e!=null&&typeof e.type=="function"?e.type.name||e.type.toString():_i(e)}function Tf(e,t){throw new $(-200,e)}function Ec(e,t){throw new $(-201,!1)}var be=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}(be||{}),pu;function Mf(){return pu}function Vt(e){let t=pu;return pu=e,t}function Rf(e,t,r){let n=xc(e);if(n&&n.providedIn=="root")return n.value===void 0?n.value=n.factory():n.value;if(r&be.Optional)return null;if(t!==void 0)return t;Ec()}var b5={},$r=b5,mu="__NG_DI_FLAG__",Of=class{constructor(e){s(this,"injector");this.injector=e}retrieve(e,t){let r=t;return this.injector.get(e,r.optional?jm:$r,r)}},os="ngTempTokenPath",y5="ngTokenPath",_5=/\n/gm,w5="ɵ",yh="__source";function x5(e,t=be.Default){if(Bo()===void 0)throw new $(-203,!1);if(Bo()===null)return Rf(e,void 0,t);{let r=Bo(),n;return r instanceof Of?n=r.injector:n=r,n.get(e,t&be.Optional?null:void 0,t)}}function ee(e,t=be.Default){return(Mf()||x5)(Lt(e),t)}function D(e,t=be.Default){return ee(e,qs(t))}function qs(e){return typeof e>"u"||typeof e=="number"?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function fu(e){let t=[];for(let r=0;r<e.length;r++){let n=Lt(e[r]);if(Array.isArray(n)){if(n.length===0)throw new $(900,!1);let a,i=be.Default;for(let o=0;o<n.length;o++){let l=n[o],h=E5(l);typeof h=="number"?h===-1?a=l.token:i|=h:a=l}t.push(ee(a,i))}else t.push(ee(n))}return t}function Pf(e,t){return e[mu]=t,e.prototype[mu]=t,e}function E5(e){return e[mu]}function S5(e,t,r,n){let a=e[os];throw t[yh]&&a.unshift(t[yh]),e.message=k5(`
16
+ `+e.message,a,r,n),e[y5]=a,e[os]=null,e}function k5(e,t,r,n=null){e=e&&e.charAt(0)===`
17
+ `&&e.charAt(1)==w5?e.slice(2):e;let a=ln(t);if(Array.isArray(t))a=t.map(ln).join(" -> ");else if(typeof t=="object"){let i=[];for(let o in t)if(t.hasOwnProperty(o)){let l=t[o];i.push(o+":"+(typeof l=="string"?JSON.stringify(l):ln(l)))}a=`{${i.join(", ")}}`}return`${r}${n?"("+n+")":""}[${a}]: ${e.replace(_5,`
18
+ `)}`}var C5=Pf(Ef("Optional"),8),I5=Pf(Ef("SkipSelf"),4);function Ur(e,t){return e.hasOwnProperty(is)?e[is]:null}function D5(e,t,r){if(e.length!==t.length)return!1;for(let n=0;n<e.length;n++){let a=e[n],i=t[n];if(r&&(a=r(a),i=r(i)),i!==a)return!1}return!0}function N5(e){return e.flat(Number.POSITIVE_INFINITY)}function Sc(e,t){e.forEach(r=>Array.isArray(r)?Sc(r,t):t(r))}function Af(e,t,r){t>=e.length?e.push(r):e.splice(t,0,r)}function ss(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function T5(e,t){let r=[];for(let n=0;n<e;n++)r.push(t);return r}function M5(e,t,r,n){let a=e.length;if(a==t)e.push(r,n);else if(a===1)e.push(n,e[0]),e[0]=r;else{for(a--,e.push(e[a-1],e[a]);a>t;){let i=a-2;e[a]=e[i],a--}e[t]=r,e[t+1]=n}}function kc(e,t,r){let n=Vi(e,t);return n>=0?e[n|1]=r:(n=~n,M5(e,n,t,r)),n}function _l(e,t){let r=Vi(e,t);if(r>=0)return e[r|1]}function Vi(e,t){return R5(e,t,1)}function R5(e,t,r){let n=0,a=e.length>>r;for(;a!==n;){let i=n+(a-n>>1),o=e[i<<r];if(t===o)return i<<r;o>t?a=i:n=i+1}return~(a<<r)}var Wr={},Bt=[],ls=new Q(""),Lf=new Q("",-1),Ff=new Q(""),jf=class{get(e,t=$r){if(t===$r){let r=new Error(`NullInjectorError: No provider for ${ln(e)}!`);throw r.name="NullInjectorError",r}return t}};function ka(e){return e[m5]||null}function O5(e){return e[f5]||null}function P5(e){return e[g5]||null}function Cc(e){return{ɵproviders:e}}function A5(...e){return{ɵproviders:Vf(!0,e),ɵfromNgModule:!0}}function Vf(e,...t){let r=[],n=new Set,a,i=o=>{r.push(o)};return Sc(t,o=>{let l=o;gu(l,i,[],n)&&(a||(a=[]),a.push(l))}),a!==void 0&&Bf(a,i),r}function Bf(e,t){for(let r=0;r<e.length;r++){let{ngModule:n,providers:a}=e[r];Ic(a,i=>{t(i,n)})}}function gu(e,t,r,n){if(e=Lt(e),!e)return!1;let a=null,i=gh(e),o=!i&&ka(e);if(!i&&!o){let h=e.ngModule;if(i=gh(h),i)a=h;else return!1}else{if(o&&!o.standalone)return!1;a=e}let l=n.has(a);if(o){if(l)return!1;if(n.add(a),o.dependencies){let h=typeof o.dependencies=="function"?o.dependencies():o.dependencies;for(let u of h)gu(u,t,r,n)}}else if(i){if(i.imports!=null&&!l){n.add(a);let u;try{Sc(i.imports,c=>{gu(c,t,r,n)&&(u||(u=[]),u.push(c))})}finally{}u!==void 0&&Bf(u,t)}if(!l){let u=Ur(a)||(()=>new a);t({provide:a,useFactory:u,deps:Bt},a),t({provide:Ff,useValue:a,multi:!0},a),t({provide:ls,useValue:()=>ee(a),multi:!0},a)}let h=i.providers;if(h!=null&&!l){let u=e;Ic(h,c=>{t(c,u)})}}else return!1;return a!==e&&e.providers!==void 0}function Ic(e,t){for(let r of e)Nf(r)&&(r=r.ɵproviders),Array.isArray(r)?Ic(r,t):t(r)}var L5=$e({provide:String,useValue:$e});function zf(e){return e!==null&&typeof e=="object"&&L5 in e}function F5(e){return!!(e&&e.useExisting)}function j5(e){return!!(e&&e.useFactory)}function Ca(e){return typeof e=="function"}function V5(e){return!!e.useClass}var Dc=new Q(""),qo={},_h={},wl;function Gs(){return wl===void 0&&(wl=new jf),wl}var An=class{},Nc=class extends An{constructor(t,r,n,a){super();s(this,"parent");s(this,"source");s(this,"scopes");s(this,"records",new Map);s(this,"_ngOnDestroyHooks",new Set);s(this,"_onDestroyHooks",[]);s(this,"_destroyed",!1);s(this,"injectorDefTypes");this.parent=r,this.source=n,this.scopes=a,bu(t,o=>this.processProvider(o)),this.records.set(Lf,pa(void 0,this)),a.has("environment")&&this.records.set(An,pa(void 0,this));let i=this.records.get(Dc);i!=null&&typeof i.value=="string"&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(Ff,Bt,be.Self))}get destroyed(){return this._destroyed}retrieve(t,r){let n=r;return this.get(t,n.optional?jm:$r,n)}destroy(){ai(this),this._destroyed=!0;let t=xe(null);try{for(let n of this._ngOnDestroyHooks)n.ngOnDestroy();let r=this._onDestroyHooks;this._onDestroyHooks=[];for(let n of r)n()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),xe(t)}}onDestroy(t){return ai(this),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){ai(this);let r=vr(this),n=Vt(void 0);try{return t()}finally{vr(r),Vt(n)}}get(t,r=$r,n=be.Default){if(ai(this),t.hasOwnProperty(bh))return t[bh](this);n=qs(n);let a=vr(this),i=Vt(void 0);try{if(!(n&be.SkipSelf)){let l=this.records.get(t);if(l===void 0){let h=G5(t)&&xc(t);h&&this.injectableDefInScope(h)?l=pa(vu(t),qo):l=null,this.records.set(t,l)}if(l!=null)return this.hydrate(t,l,n)}let o=n&be.Self?Gs():this.parent;return r=n&be.Optional&&r===$r?null:r,o.get(t,r)}catch(o){if(o.name==="NullInjectorError"){if((o[os]=o[os]||[]).unshift(ln(t)),a)throw o;return S5(o,t,"R3InjectorError",this.source)}else throw o}finally{Vt(i),vr(a)}}resolveInjectorInitializers(){let t=xe(null),r=vr(this),n=Vt(void 0);try{let a=this.get(ls,Bt,be.Self);for(let i of a)i()}finally{vr(r),Vt(n),xe(t)}}toString(){let t=[],r=this.records;for(let n of r.keys())t.push(ln(n));return`R3Injector[${t.join(", ")}]`}processProvider(t){t=Lt(t);let r=Ca(t)?t:Lt(t&&t.provide),n=z5(t);if(!Ca(t)&&t.multi===!0){let a=this.records.get(r);a||(a=pa(void 0,qo,!0),a.factory=()=>fu(a.multi),this.records.set(r,a)),r=t,a.multi.push(t)}this.records.set(r,n)}hydrate(t,r,n){let a=xe(null);try{return r.value===_h?Tf(ln(t)):r.value===qo&&(r.value=_h,r.value=r.factory(void 0,n)),typeof r.value=="object"&&r.value&&q5(r.value)&&this._ngOnDestroyHooks.add(r.value),r.value}finally{xe(a)}}injectableDefInScope(t){if(!t.providedIn)return!1;let r=Lt(t.providedIn);return typeof r=="string"?r==="any"||this.scopes.has(r):this.injectorDefTypes.has(r)}removeOnDestroy(t){let r=this._onDestroyHooks.indexOf(t);r!==-1&&this._onDestroyHooks.splice(r,1)}};function vu(e){let t=xc(e),r=t!==null?t.factory:Ur(e);if(r!==null)return r;if(e instanceof Q)throw new $(204,!1);if(e instanceof Function)return B5(e);throw new $(204,!1)}function B5(e){if(e.length>0)throw new $(204,!1);let t=h5(e);return t!==null?()=>t.factory(e):()=>new e}function z5(e){if(zf(e))return pa(void 0,e.useValue);{let t=Hf(e);return pa(t,qo)}}function Hf(e,t,r){let n;if(Ca(e)){let a=Lt(e);return Ur(a)||vu(a)}else if(zf(e))n=()=>Lt(e.useValue);else if(j5(e))n=()=>e.useFactory(...fu(e.deps||[]));else if(F5(e))n=(a,i)=>ee(Lt(e.useExisting),i!==void 0&&i&be.Optional?be.Optional:void 0);else{let a=Lt(e&&(e.useClass||e.provide));if(H5(e))n=()=>new a(...fu(e.deps));else return Ur(a)||vu(a)}return n}function ai(e){if(e.destroyed)throw new $(205,!1)}function pa(e,t,r=!1){return{factory:e,value:t,multi:r?[]:void 0}}function H5(e){return!!e.deps}function q5(e){return e!==null&&typeof e=="object"&&typeof e.ngOnDestroy=="function"}function G5(e){return typeof e=="function"||typeof e=="object"&&e instanceof Q}function bu(e,t){for(let r of e)Array.isArray(r)?bu(r,t):r&&Nf(r)?bu(r.ɵproviders,t):t(r)}function Tc(e,t){let r;e instanceof Nc?(ai(e),r=e):r=new Of(e);let n=vr(r),a=Vt(void 0);try{return t()}finally{vr(n),Vt(a)}}function qf(){return Mf()!==void 0||Bo()!=null}function Mc(e){if(!qf())throw new $(-203,!1)}function $5(e){return typeof e=="function"}var ur=0,le=1,oe=2,Mt=3,_n=4,Ht=5,Ia=6,ya=7,xt=8,Da=9,Cr=10,ft=11,wi=12,wh=13,La=14,dn=15,Zr=16,ma=17,wn=18,$s=19,Gf=20,Er=21,xl=22,us=23,un=24,Sr=25,gt=26,$f=1,Yr=7,cs=8,Na=9,Nt=10;function kr(e){return Array.isArray(e)&&typeof e[$f]=="object"}function cr(e){return Array.isArray(e)&&e[$f]===!0}function Uf(e){return(e.flags&4)!==0}function Fa(e){return e.componentOffset>-1}function Rc(e){return(e.flags&1)===1}function Ln(e){return!!e.template}function ds(e){return(e[oe]&512)!==0}function ja(e){return(e[oe]&256)===256}var U5=class{constructor(e,t,r){s(this,"previousValue");s(this,"currentValue");s(this,"firstChange");this.previousValue=e,this.currentValue=t,this.firstChange=r}isFirstChange(){return this.firstChange}};function Wf(e,t,r,n){t!==null?t.applyValueToInputSignal(t,n):e[r]=n}var W5=(()=>{let e=()=>Zf;return e.ngInherit=!0,e})();function Zf(e){return e.type.prototype.ngOnChanges&&(e.setInput=Y5),Z5}function Z5(){let e=Kf(this),t=e==null?void 0:e.current;if(t){let r=e.previous;if(r===Wr)e.previous=t;else for(let n in t)r[n]=t[n];e.current=null,this.ngOnChanges(t)}}function Y5(e,t,r,n,a){let i=this.declaredInputs[n],o=Kf(e)||K5(e,{previous:Wr,current:null}),l=o.current||(o.current={}),h=o.previous,u=h[i];l[i]=new U5(u&&u.currentValue,r,h===Wr),Wf(e,t,a,r)}var Yf="__ngSimpleChanges__";function Kf(e){return e[Yf]||null}function K5(e,t){return e[Yf]=t}var Kr=function(e,t=null,r){},Q5="svg",J5="math";function Fn(e){for(;Array.isArray(e);)e=e[ur];return e}function Qf(e,t){return Fn(t[e])}function Vn(e,t){return Fn(t[e.index])}function Oc(e,t){return e.data[t]}function Pc(e,t){return e[t]}function Ac(e,t,r,n){r>=e.data.length&&(e.data[r]=null,e.blueprint[r]=null),t[r]=n}function jn(e,t){let r=t[e];return kr(r)?r:r[ur]}function X5(e){return(e[oe]&4)===4}function Lc(e){return(e[oe]&128)===128}function e9(e){return cr(e[Mt])}function xi(e,t){return t==null?null:e[t]}function Jf(e){e[ma]=0}function Fc(e){e[oe]&1024||(e[oe]|=1024,Lc(e)&&zi(e))}function t9(e,t){for(;e>0;)t=t[La],e--;return t}function Bi(e){var t;return!!(e[oe]&9216||(t=e[un])!=null&&t.dirty)}function yu(e){var t;(t=e[Cr].changeDetectionScheduler)==null||t.notify(8),e[oe]&64&&(e[oe]|=1024),Bi(e)&&zi(e)}function zi(e){var r;(r=e[Cr].changeDetectionScheduler)==null||r.notify(0);let t=Qr(e);for(;t!==null&&!(t[oe]&8192||(t[oe]|=8192,!Lc(t)));)t=Qr(t)}function Xf(e,t){if(ja(e))throw new $(911,!1);e[Er]===null&&(e[Er]=[]),e[Er].push(t)}function n9(e,t){if(e[Er]===null)return;let r=e[Er].indexOf(t);r!==-1&&e[Er].splice(r,1)}function Qr(e){let t=e[Mt];return cr(t)?t[Mt]:t}function jc(e){return e[ya]??(e[ya]=[])}function Vc(e){return e.cleanup??(e.cleanup=[])}function r9(e,t,r,n){let a=jc(t);a.push(r),e.firstCreatePass&&Vc(e).push(n,a.length-1)}var me={lFrame:cg(null),bindingsEnabled:!0,skipHydrationRootTNode:null},_u=!1;function a9(){return me.lFrame.elementDepthCount}function i9(){me.lFrame.elementDepthCount++}function o9(){me.lFrame.elementDepthCount--}function s9(){return me.bindingsEnabled}function eg(){return me.skipHydrationRootTNode!==null}function l9(e){return me.skipHydrationRootTNode===e}function u9(){me.skipHydrationRootTNode=null}function he(){return me.lFrame.lView}function bt(){return me.lFrame.tView}function tg(e){return me.lFrame.contextLView=e,e[xt]}function ng(e){return me.lFrame.contextLView=null,e}function Jt(){let e=rg();for(;e!==null&&e.type===64;)e=e.parent;return e}function rg(){return me.lFrame.currentTNode}function c9(){let e=me.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function Va(e,t){let r=me.lFrame;r.currentTNode=e,r.isParent=t}function ag(){return me.lFrame.isParent}function ig(){me.lFrame.isParent=!1}function d9(){return me.lFrame.contextLView}function og(){return _u}function xh(e){let t=_u;return _u=e,t}function Hi(){let e=me.lFrame,t=e.bindingRootIndex;return t===-1&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function h9(){return me.lFrame.bindingIndex}function p9(e){return me.lFrame.bindingIndex=e}function qi(){return me.lFrame.bindingIndex++}function Bc(e){let t=me.lFrame,r=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,r}function m9(){return me.lFrame.inI18n}function f9(e,t){let r=me.lFrame;r.bindingIndex=r.bindingRootIndex=e,wu(t)}function g9(){return me.lFrame.currentDirectiveIndex}function wu(e){me.lFrame.currentDirectiveIndex=e}function v9(e){let t=me.lFrame.currentDirectiveIndex;return t===-1?null:e[t]}function sg(){return me.lFrame.currentQueryIndex}function zc(e){me.lFrame.currentQueryIndex=e}function b9(e){let t=e[le];return t.type===2?t.declTNode:t.type===1?e[Ht]:null}function lg(e,t,r){if(r&be.SkipSelf){let a=t,i=e;for(;(a=a.parent,a===null&&!(r&be.Host))&&(a=b9(i),!(a===null||(i=i[La],a.type&10))););if(a===null)return!1;t=a,e=i}let n=me.lFrame=ug();return n.currentTNode=t,n.lView=e,!0}function Hc(e){let t=ug(),r=e[le];me.lFrame=t,t.currentTNode=r.firstChild,t.lView=e,t.tView=r,t.contextLView=e,t.bindingIndex=r.bindingStartIndex,t.inI18n=!1}function ug(){let e=me.lFrame,t=e===null?null:e.child;return t===null?cg(e):t}function cg(e){let t={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:e,child:null,inI18n:!1};return e!==null&&(e.child=t),t}function dg(){let e=me.lFrame;return me.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var hg=dg;function qc(){let e=dg();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 y9(e){return(me.lFrame.contextLView=t9(e,me.lFrame.contextLView))[xt]}function Bn(){return me.lFrame.selectedIndex}function Jr(e){me.lFrame.selectedIndex=e}function pg(){let e=me.lFrame;return Oc(e.tView,e.selectedIndex)}function _9(){return me.lFrame.currentNamespace}var mg=!0;function Gc(){return mg}function $c(e){mg=e}function w9(e,t,r){let{ngOnChanges:n,ngOnInit:a,ngDoCheck:i}=t.type.prototype;if(n){let o=Zf(t);(r.preOrderHooks??(r.preOrderHooks=[])).push(e,o),(r.preOrderCheckHooks??(r.preOrderCheckHooks=[])).push(e,o)}a&&(r.preOrderHooks??(r.preOrderHooks=[])).push(0-e,a),i&&((r.preOrderHooks??(r.preOrderHooks=[])).push(e,i),(r.preOrderCheckHooks??(r.preOrderCheckHooks=[])).push(e,i))}function fg(e,t){for(let r=t.directiveStart,n=t.directiveEnd;r<n;r++){let a=e.data[r].type.prototype,{ngAfterContentInit:i,ngAfterContentChecked:o,ngAfterViewInit:l,ngAfterViewChecked:h,ngOnDestroy:u}=a;i&&(e.contentHooks??(e.contentHooks=[])).push(-r,i),o&&((e.contentHooks??(e.contentHooks=[])).push(r,o),(e.contentCheckHooks??(e.contentCheckHooks=[])).push(r,o)),l&&(e.viewHooks??(e.viewHooks=[])).push(-r,l),h&&((e.viewHooks??(e.viewHooks=[])).push(r,h),(e.viewCheckHooks??(e.viewCheckHooks=[])).push(r,h)),u!=null&&(e.destroyHooks??(e.destroyHooks=[])).push(r,u)}}function Go(e,t,r){gg(e,t,3,r)}function $o(e,t,r,n){(e[oe]&3)===r&&gg(e,t,r,n)}function El(e,t){let r=e[oe];(r&3)===t&&(r&=16383,r+=1,e[oe]=r)}function gg(e,t,r,n){let a=n!==void 0?e[ma]&65535:0,i=n??-1,o=t.length-1,l=0;for(let h=a;h<o;h++)if(typeof t[h+1]=="number"){if(l=t[h],n!=null&&l>=n)break}else t[h]<0&&(e[ma]+=65536),(l<i||i==-1)&&(x9(e,r,t,h),e[ma]=(e[ma]&4294901760)+h+2),h++}function Eh(e,t){let r=xe(null);try{t.call(e)}finally{xe(r)}}function x9(e,t,r,n){let a=r[n]<0,i=r[n+1],o=a?-r[n]:r[n],l=e[o];a?e[oe]>>14<e[ma]>>16&&(e[oe]&3)===t&&(e[oe]+=16384,Eh(l,i)):Eh(l,i)}var _a=-1,Gi=class{constructor(e,t,r){s(this,"factory");s(this,"injectImpl");s(this,"resolving",!1);s(this,"canSeeViewProviders");s(this,"multi");s(this,"componentProviders");s(this,"index");s(this,"providerFactory");this.factory=e,this.canSeeViewProviders=t,this.injectImpl=r}};function E9(e){return(e.flags&8)!==0}function S9(e){return(e.flags&16)!==0}function k9(e,t,r){let n=0;for(;n<r.length;){let a=r[n];if(typeof a=="number"){if(a!==0)break;n++;let i=r[n++],o=r[n++],l=r[n++];e.setAttribute(t,o,l,i)}else{let i=a,o=r[++n];C9(i)?e.setProperty(t,i,o):e.setAttribute(t,i,o),n++}}return n}function vg(e){return e===3||e===4||e===6}function C9(e){return e.charCodeAt(0)===64}function Ei(e,t){if(!(t===null||t.length===0))if(e===null||e.length===0)e=t.slice();else{let r=-1;for(let n=0;n<t.length;n++){let a=t[n];typeof a=="number"?r=a:r===0||(r===-1||r===2?Sh(e,r,a,null,t[++n]):Sh(e,r,a,null,null))}}return e}function Sh(e,t,r,n,a){let i=0,o=e.length;if(t===-1)o=-1;else for(;i<e.length;){let l=e[i++];if(typeof l=="number"){if(l===t){o=-1;break}else if(l>t){o=i-1;break}}}for(;i<e.length;){let l=e[i];if(typeof l=="number")break;if(l===r){a!==null&&(e[i+1]=a);return}i++,a!==null&&i++}o!==-1&&(e.splice(o,0,t),i=o+1),e.splice(i++,0,r),a!==null&&e.splice(i++,0,a)}function bg(e){return e!==_a}function hs(e){return e&32767}function I9(e){return e>>16}function ps(e,t){let r=I9(e),n=t;for(;r>0;)n=n[La],r--;return n}var xu=!0;function ms(e){let t=xu;return xu=e,t}var D9=256,yg=D9-1,_g=5,N9=0,Pn={};function T9(e,t,r){let n;typeof r=="string"?n=r.charCodeAt(0)||0:r.hasOwnProperty(di)&&(n=r[di]),n==null&&(n=r[di]=N9++);let a=n&yg,i=1<<a;t.data[e+(a>>_g)]|=i}function fs(e,t){let r=wg(e,t);if(r!==-1)return r;let n=t[le];n.firstCreatePass&&(e.injectorIndex=t.length,Sl(n.data,e),Sl(t,null),Sl(n.blueprint,null));let a=Uc(e,t),i=e.injectorIndex;if(bg(a)){let o=hs(a),l=ps(a,t),h=l[le].data;for(let u=0;u<8;u++)t[i+u]=l[o+u]|h[o+u]}return t[i+8]=a,i}function Sl(e,t){e.push(0,0,0,0,0,0,0,0,t)}function wg(e,t){return e.injectorIndex===-1||e.parent&&e.parent.injectorIndex===e.injectorIndex||t[e.injectorIndex+8]===null?-1:e.injectorIndex}function Uc(e,t){if(e.parent&&e.parent.injectorIndex!==-1)return e.parent.injectorIndex;let r=0,n=null,a=t;for(;a!==null;){if(n=Cg(a),n===null)return _a;if(r++,a=a[La],n.injectorIndex!==-1)return n.injectorIndex|r<<16}return _a}function Eu(e,t,r){T9(e,t,r)}function M9(e,t){if(t==="class")return e.classes;if(t==="style")return e.styles;let r=e.attrs;if(r){let n=r.length,a=0;for(;a<n;){let i=r[a];if(vg(i))break;if(i===0)a=a+2;else if(typeof i=="number")for(a++;a<n&&typeof r[a]=="string";)a++;else{if(i===t)return r[a+1];a=a+2}}}return null}function xg(e,t,r){if(r&be.Optional||e!==void 0)return e;Ec()}function Eg(e,t,r,n){if(r&be.Optional&&n===void 0&&(n=null),(r&(be.Self|be.Host))===0){let a=e[Da],i=Vt(void 0);try{return a?a.get(t,n,r&be.Optional):Rf(t,n,r&be.Optional)}finally{Vt(i)}}return xg(n,t,r)}function Sg(e,t,r,n=be.Default,a){if(e!==null){if(t[oe]&2048&&!(n&be.Self)){let o=A9(e,t,r,n,Pn);if(o!==Pn)return o}let i=kg(e,t,r,n,Pn);if(i!==Pn)return i}return Eg(t,r,n,a)}function kg(e,t,r,n,a){let i=O9(r);if(typeof i=="function"){if(!lg(t,e,n))return n&be.Host?xg(a,r,n):Eg(t,r,n,a);try{let o;if(o=i(n),o==null&&!(n&be.Optional))Ec(r);else return o}finally{hg()}}else if(typeof i=="number"){let o=null,l=wg(e,t),h=_a,u=n&be.Host?t[dn][Ht]:null;for((l===-1||n&be.SkipSelf)&&(h=l===-1?Uc(e,t):t[l+8],h===_a||!Ch(n,!1)?l=-1:(o=t[le],l=hs(h),t=ps(h,t)));l!==-1;){let c=t[le];if(kh(i,l,c.data)){let m=R9(l,t,r,o,n,u);if(m!==Pn)return m}h=t[l+8],h!==_a&&Ch(n,t[le].data[l+8]===u)&&kh(i,l,t)?(o=c,l=hs(h),t=ps(h,t)):l=-1}}return a}function R9(e,t,r,n,a,i){let o=t[le],l=o.data[e+8],h=n==null?Fa(l)&&xu:n!=o&&(l.type&3)!==0,u=a&be.Host&&i===l,c=Uo(l,o,r,h,u);return c!==null?Si(t,o,c,l,a):Pn}function Uo(e,t,r,n,a){let i=e.providerIndexes,o=t.data,l=i&1048575,h=e.directiveStart,u=e.directiveEnd,c=i>>20,m=n?l:l+c,b=a?l+c:u;for(let g=m;g<b;g++){let w=o[g];if(g<h&&r===w||g>=h&&w.type===r)return g}if(a){let g=o[h];if(g&&Ln(g)&&g.type===r)return h}return null}function Si(e,t,r,n,a){let i=e[r],o=t.data;if(i instanceof Gi){let l=i;l.resolving&&Tf(v5(o[r]));let h=ms(l.canSeeViewProviders);l.resolving=!0;let u=l.injectImpl?Vt(l.injectImpl):null;lg(e,n,be.Default);try{i=e[r]=l.factory(void 0,a,o,e,n),t.firstCreatePass&&r>=n.directiveStart&&w9(r,o[r],t)}finally{u!==null&&Vt(u),ms(h),l.resolving=!1,hg()}}return i}function O9(e){if(typeof e=="string")return e.charCodeAt(0)||0;let t=e.hasOwnProperty(di)?e[di]:void 0;return typeof t=="number"?t>=0?t&yg:P9:t}function kh(e,t,r){let n=1<<e;return!!(r[t+(e>>_g)]&n)}function Ch(e,t){return!(e&be.Self)&&!(e&be.Host&&t)}var hi=class{constructor(e,t){s(this,"_tNode");s(this,"_lView");this._tNode=e,this._lView=t}get(e,t,r){return Sg(this._tNode,this._lView,e,qs(r),t)}};function P9(){return new hi(Jt(),he())}function En(e){return ji(()=>{let t=e.prototype.constructor,r=t[is]||Su(t),n=Object.prototype,a=Object.getPrototypeOf(e.prototype).constructor;for(;a&&a!==n;){let i=a[is]||Su(a);if(i&&i!==r)return i;a=Object.getPrototypeOf(a)}return i=>new i})}function Su(e){return kf(e)?()=>{let t=Su(Lt(e));return t&&t()}:Ur(e)}function A9(e,t,r,n,a){let i=e,o=t;for(;i!==null&&o!==null&&o[oe]&2048&&!ds(o);){let l=kg(i,o,r,n|be.Self,Pn);if(l!==Pn)return l;let h=i.parent;if(!h){let u=o[Gf];if(u){let c=u.get(r,Pn,n);if(c!==Pn)return c}h=Cg(o),o=o[La]}i=h}return a}function Cg(e){let t=e[le],r=t.type;return r===2?t.declTNode:r===1?e[Ht]:null}function L9(e){return M9(Jt(),e)}function Ih(e,t=null,r=null,n){let a=F9(e,t,r,n);return a.resolveInjectorInitializers(),a}function F9(e,t=null,r=null,n,a=new Set){let i=[r||Bt,A5(e)];return n=n||(typeof e=="object"?void 0:ln(e)),new Nc(i,t||Gs(),n||null,a)}var Tn,Tt=(Tn=class{static create(t,r){if(Array.isArray(t))return Ih({name:""},r,t,"");{let n=t.name??"";return Ih({name:n},t.parent,t.providers,n)}}},s(Tn,"THROW_IF_NOT_FOUND",$r),s(Tn,"NULL",new jf),s(Tn,"ɵprov",U({token:Tn,providedIn:"any",factory:()=>ee(Lf)})),s(Tn,"__NG_ELEMENT_ID__",-1),Tn),j9=class{constructor(e){s(this,"attributeName");s(this,"__NG_ELEMENT_ID__",()=>L9(this.attributeName));this.attributeName=e}toString(){return`HostAttributeToken ${this.attributeName}`}},V9=new Q("");V9.__NG_ELEMENT_ID__=e=>{let t=Jt();if(t===null)throw new $(204,!1);if(t.type&2)return t.value;if(e&be.Optional)return null;throw new $(204,!1)};var Ig=!1,$i=(()=>{class e{}return s(e,"__NG_ELEMENT_ID__",z9),s(e,"__NG_ENV_ID__",r=>r),e})(),B9=class extends $i{constructor(t){super();s(this,"_lView");this._lView=t}onDestroy(t){let r=this._lView;return ja(r)?(t(),()=>{}):(Xf(r,t),()=>n9(r,t))}};function z9(){return new B9(he())}var Ui=class{},Dg=new Q("",{providedIn:"root",factory:()=>!1}),Ng=new Q(""),Tg=new Q(""),Wi=(()=>{const t=class t{constructor(){s(this,"taskId",0);s(this,"pendingTasks",new Set);s(this,"hasPendingTasks",new vc(!1))}get _hasPendingTasks(){return this.hasPendingTasks.value}add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);let n=this.taskId++;return this.pendingTasks.add(n),n}has(n){return this.pendingTasks.has(n)}remove(n){this.pendingTasks.delete(n),this.pendingTasks.size===0&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}};s(t,"ɵprov",U({token:t,providedIn:"root",factory:()=>new t}));let e=t;return e})(),H9=class extends Pe{constructor(t=!1){super();s(this,"__isAsync");s(this,"destroyRef");s(this,"pendingTasks");this.__isAsync=t,qf()&&(this.destroyRef=D($i,{optional:!0})??void 0,this.pendingTasks=D(Wi,{optional:!0})??void 0)}emit(t){let r=xe(null);try{super.next(t)}finally{xe(r)}}subscribe(t,r,n){var h,u,c;let a=t,i=r||(()=>null),o=n;if(t&&typeof t=="object"){let m=t;a=(h=m.next)==null?void 0:h.bind(m),i=(u=m.error)==null?void 0:u.bind(m),o=(c=m.complete)==null?void 0:c.bind(m)}this.__isAsync&&(i=this.wrapInTimeout(i),a&&(a=this.wrapInTimeout(a)),o&&(o=this.wrapInTimeout(o)));let l=super.subscribe({next:a,error:i,complete:o});return t instanceof Zt&&t.add(l),l}wrapInTimeout(t){return r=>{var a;let n=(a=this.pendingTasks)==null?void 0:a.add();setTimeout(()=>{var i;try{t(r)}finally{n!==void 0&&((i=this.pendingTasks)==null||i.remove(n))}})}}},Ft=H9;function gs(...e){}function Mg(e){let t,r;function n(){e=gs;try{r!==void 0&&typeof cancelAnimationFrame=="function"&&cancelAnimationFrame(r),t!==void 0&&clearTimeout(t)}catch{}}return t=setTimeout(()=>{e(),n()}),typeof requestAnimationFrame=="function"&&(r=requestAnimationFrame(()=>{e(),n()})),()=>n()}function Dh(e){return queueMicrotask(()=>e()),()=>{e=gs}}var Wc="isAngularZone",vs=Wc+"_ID",q9=0,je=class ku{constructor(t){s(this,"hasPendingMacrotasks",!1);s(this,"hasPendingMicrotasks",!1);s(this,"isStable",!0);s(this,"onUnstable",new Ft(!1));s(this,"onMicrotaskEmpty",new Ft(!1));s(this,"onStable",new Ft(!1));s(this,"onError",new Ft(!1));let{enableLongStackTrace:r=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:a=!1,scheduleInRootZone:i=Ig}=t;if(typeof Zone>"u")throw new $(908,!1);Zone.assertZonePatched();let o=this;o._nesting=0,o._outer=o._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(o._inner=o._inner.fork(new Zone.TaskTrackingZoneSpec)),r&&Zone.longStackTraceZoneSpec&&(o._inner=o._inner.fork(Zone.longStackTraceZoneSpec)),o.shouldCoalesceEventChangeDetection=!a&&n,o.shouldCoalesceRunChangeDetection=a,o.callbackScheduled=!1,o.scheduleInRootZone=i,U9(o)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(Wc)===!0}static assertInAngularZone(){if(!ku.isInAngularZone())throw new $(909,!1)}static assertNotInAngularZone(){if(ku.isInAngularZone())throw new $(909,!1)}run(t,r,n){return this._inner.run(t,r,n)}runTask(t,r,n,a){let i=this._inner,o=i.scheduleEventTask("NgZoneEvent: "+a,t,G9,gs,gs);try{return i.runTask(o,r,n)}finally{i.cancelTask(o)}}runGuarded(t,r,n){return this._inner.runGuarded(t,r,n)}runOutsideAngular(t){return this._outer.run(t)}},G9={};function Zc(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 $9(e){if(e.isCheckStableRunning||e.callbackScheduled)return;e.callbackScheduled=!0;function t(){Mg(()=>{e.callbackScheduled=!1,Cu(e),e.isCheckStableRunning=!0,Zc(e),e.isCheckStableRunning=!1})}e.scheduleInRootZone?Zone.root.run(()=>{t()}):e._outer.run(()=>{t()}),Cu(e)}function U9(e){let t=()=>{$9(e)},r=q9++;e._inner=e._inner.fork({name:"angular",properties:{[Wc]:!0,[vs]:r,[vs+r]:!0},onInvokeTask:(n,a,i,o,l,h)=>{if(Z9(h))return n.invokeTask(i,o,l,h);try{return Nh(e),n.invokeTask(i,o,l,h)}finally{(e.shouldCoalesceEventChangeDetection&&o.type==="eventTask"||e.shouldCoalesceRunChangeDetection)&&t(),Th(e)}},onInvoke:(n,a,i,o,l,h,u)=>{try{return Nh(e),n.invoke(i,o,l,h,u)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!Y9(h)&&t(),Th(e)}},onHasTask:(n,a,i,o)=>{n.hasTask(i,o),a===i&&(o.change=="microTask"?(e._hasPendingMicrotasks=o.microTask,Cu(e),Zc(e)):o.change=="macroTask"&&(e.hasPendingMacrotasks=o.macroTask))},onHandleError:(n,a,i,o)=>(n.handleError(i,o),e.runOutsideAngular(()=>e.onError.emit(o)),!1)})}function Cu(e){e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&e.callbackScheduled===!0?e.hasPendingMicrotasks=!0:e.hasPendingMicrotasks=!1}function Nh(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Th(e){e._nesting--,Zc(e)}var W9=class{constructor(){s(this,"hasPendingMicrotasks",!1);s(this,"hasPendingMacrotasks",!1);s(this,"isStable",!0);s(this,"onUnstable",new Ft);s(this,"onMicrotaskEmpty",new Ft);s(this,"onStable",new Ft);s(this,"onError",new Ft)}run(e,t,r){return e.apply(t,r)}runGuarded(e,t,r){return e.apply(t,r)}runOutsideAngular(e){return e()}runTask(e,t,r,n){return e.apply(t,r)}};function Z9(e){return Rg(e,"__ignore_ng_zone__")}function Y9(e){return Rg(e,"__scheduler_tick__")}function Rg(e,t){var r,n;return!Array.isArray(e)||e.length!==1?!1:((n=(r=e[0])==null?void 0:r.data)==null?void 0:n[t])===!0}var zn=class{constructor(){s(this,"_console",console)}handleError(e){this._console.error("ERROR",e)}},K9=new Q("",{providedIn:"root",factory:()=>{let e=D(je),t=D(zn);return r=>e.runOutsideAngular(()=>t.handleError(r))}});function Mh(e,t){return xf(e,t)}function Q9(e){return xf(wf,e)}var $t=(Mh.required=Q9,Mh);function J9(){return Ba(Jt(),he())}function Ba(e,t){return new Xt(Vn(e,t))}var Xt=(()=>{class e{constructor(r){s(this,"nativeElement");this.nativeElement=r}}return s(e,"__NG_ELEMENT_ID__",J9),e})();function X9(e){return e instanceof Xt?e.nativeElement:e}function eH(){return this._results[Symbol.iterator]()}var gm,tH=(gm=Symbol.iterator,class{constructor(e=!1){s(this,"_emitDistinctChangesOnly");s(this,"dirty",!0);s(this,"_onDirty");s(this,"_results",[]);s(this,"_changesDetected",!1);s(this,"_changes");s(this,"length",0);s(this,"first");s(this,"last");s(this,gm,eH);this._emitDistinctChangesOnly=e}get changes(){return this._changes??(this._changes=new Pe)}get(e){return this._results[e]}map(e){return this._results.map(e)}filter(e){return this._results.filter(e)}find(e){return this._results.find(e)}reduce(e,t){return this._results.reduce(e,t)}forEach(e){this._results.forEach(e)}some(e){return this._results.some(e)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(e,t){this.dirty=!1;let r=N5(e);(this._changesDetected=!D5(this._results,r,t))&&(this._results=r,this.length=r.length,this.last=r[this.length-1],this.first=r[0])}notifyOnChanges(){this._changes!==void 0&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.next(this)}onDirty(e){this._onDirty=e}setDirty(){var e;this.dirty=!0,(e=this._onDirty)==null||e.call(this)}destroy(){this._changes!==void 0&&(this._changes.complete(),this._changes.unsubscribe())}});function Og(e){return(e.flags&128)===128}var Pg=function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e}(Pg||{}),Ag=new Map,nH=0;function rH(){return nH++}function aH(e){Ag.set(e[$s],e)}function Iu(e){Ag.delete(e[$s])}var Rh="__ngContext__";function Zi(e,t){kr(t)?(e[Rh]=t[$s],aH(t)):e[Rh]=t}function Lg(e){return jg(e[wi])}function Fg(e){return jg(e[_n])}function jg(e){for(;e!==null&&!cr(e);)e=e[_n];return e}var Du;function iH(e){Du=e}function oH(){if(Du!==void 0)return Du;if(typeof document<"u")return document;throw new $(210,!1)}var Yc=new Q("",{providedIn:"root",factory:()=>sH}),sH="ng",Vg=new Q(""),Us=new Q("",{providedIn:"platform",factory:()=>"unknown"}),Yi=new Q(""),Kc=new Q("",{providedIn:"root",factory:()=>{var e,t;return((t=(e=oH().body)==null?void 0:e.querySelector("[ngCspNonce]"))==null?void 0:t.getAttribute("ngCspNonce"))||null}}),Bg=!1,lH=new Q("",{providedIn:"root",factory:()=>Bg}),Qc=function(e){return e[e.CHANGE_DETECTION=0]="CHANGE_DETECTION",e[e.AFTER_NEXT_RENDER=1]="AFTER_NEXT_RENDER",e}(Qc||{}),Ki=new Q(""),Oh=new Set;function ta(e){var t;Oh.has(e)||(Oh.add(e),(t=performance==null?void 0:performance.mark)==null||t.call(performance,"mark_feature_usage",{detail:{feature:e}}))}var zg=(()=>{class e{constructor(r,n){s(this,"view");s(this,"node");this.view=r,this.node=n}}return s(e,"__NG_ELEMENT_ID__",uH),e})();function uH(){return new zg(he(),Jt())}var fa=function(e){return e[e.EarlyRead=0]="EarlyRead",e[e.Write=1]="Write",e[e.MixedReadWrite=2]="MixedReadWrite",e[e.Read=3]="Read",e}(fa||{}),Hg=(()=>{const t=class t{constructor(){s(this,"impl",null)}execute(){var n;(n=this.impl)==null||n.execute()}};s(t,"ɵprov",U({token:t,providedIn:"root",factory:()=>new t}));let e=t;return e})(),cH=[fa.EarlyRead,fa.Write,fa.MixedReadWrite,fa.Read],dH=(()=>{const t=class t{constructor(){s(this,"ngZone",D(je));s(this,"scheduler",D(Ui));s(this,"errorHandler",D(zn,{optional:!0}));s(this,"sequences",new Set);s(this,"deferredRegistrations",new Set);s(this,"executing",!1);D(Ki,{optional:!0})}execute(){var n;this.sequences.size>0,this.executing=!0;for(let a of cH)for(let i of this.sequences)if(!(i.erroredOrDestroyed||!i.hooks[a]))try{i.pipelinedValue=this.ngZone.runOutsideAngular(()=>this.maybeTrace(()=>{let o=i.hooks[a];return o(i.pipelinedValue)},i.snapshot))}catch(o){i.erroredOrDestroyed=!0,(n=this.errorHandler)==null||n.handleError(o)}this.executing=!1;for(let a of this.sequences)a.afterRun(),a.once&&(this.sequences.delete(a),a.destroy());for(let a of this.deferredRegistrations)this.sequences.add(a);this.deferredRegistrations.size>0&&this.scheduler.notify(7),this.deferredRegistrations.clear()}register(n){let{view:a}=n;a!==void 0?((a[Sr]??(a[Sr]=[])).push(n),zi(a),a[oe]|=8192):this.executing?this.deferredRegistrations.add(n):this.addSequence(n)}addSequence(n){this.sequences.add(n),this.scheduler.notify(7)}unregister(n){this.executing&&this.sequences.has(n)?(n.erroredOrDestroyed=!0,n.pipelinedValue=void 0,n.once=!0):(this.sequences.delete(n),this.deferredRegistrations.delete(n))}maybeTrace(n,a){return a?a.run(Qc.AFTER_NEXT_RENDER,n):n()}};s(t,"ɵprov",U({token:t,providedIn:"root",factory:()=>new t}));let e=t;return e})(),hH=class{constructor(e,t,r,n,a,i=null){s(this,"impl");s(this,"hooks");s(this,"view");s(this,"once");s(this,"snapshot");s(this,"erroredOrDestroyed",!1);s(this,"pipelinedValue");s(this,"unregisterOnDestroy");this.impl=e,this.hooks=t,this.view=r,this.once=n,this.snapshot=i,this.unregisterOnDestroy=a==null?void 0:a.onDestroy(()=>this.destroy())}afterRun(){var e;this.erroredOrDestroyed=!1,this.pipelinedValue=void 0,(e=this.snapshot)==null||e.dispose(),this.snapshot=null}destroy(){var t,r;this.impl.unregister(this),(t=this.unregisterOnDestroy)==null||t.call(this);let e=(r=this.view)==null?void 0:r[Sr];e&&(this.view[Sr]=e.filter(n=>n!==this))}};function qg(e,t){!(t!=null&&t.injector)&&Mc();let r=(t==null?void 0:t.injector)??D(Tt);return ta("NgAfterRender"),Gg(e,r,t,!1)}function pH(e,t){!(t!=null&&t.injector)&&Mc();let r=(t==null?void 0:t.injector)??D(Tt);return ta("NgAfterNextRender"),Gg(e,r,t,!0)}function mH(e,t){if(e instanceof Function){let r=[void 0,void 0,void 0,void 0];return r[t]=e,r}else return[e.earlyRead,e.write,e.mixedReadWrite,e.read]}function Gg(e,t,r,n){let a=t.get(Hg);a.impl??(a.impl=t.get(dH));let i=t.get(Ki,null,{optional:!0}),o=(r==null?void 0:r.phase)??fa.MixedReadWrite,l=(r==null?void 0:r.manualCleanup)!==!0?t.get($i):null,h=t.get(zg,null,{optional:!0}),u=new hH(a.impl,mH(e,o),h==null?void 0:h.view,n,l,i==null?void 0:i.snapshot(null));return a.impl.register(u),u}var fH=()=>null;function $g(e,t,r=!1){return fH()}function Ug(e,t){let r=e.contentQueries;if(r!==null){let n=xe(null);try{for(let a=0;a<r.length;a+=2){let i=r[a],o=r[a+1];if(o!==-1){let l=e.data[o];zc(i),l.contentQueries(2,t[o],o)}}}finally{xe(n)}}}function Nu(e,t,r){zc(0);let n=xe(null);try{t(e,r)}finally{xe(n)}}function Wg(e,t,r){if(Uf(t)){let n=xe(null);try{let a=t.directiveStart,i=t.directiveEnd;for(let o=a;o<i;o++){let l=e.data[o];if(l.contentQueries){let h=r[o];l.contentQueries(1,h,o)}}}finally{xe(n)}}}var ar=function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e}(ar||{}),bo;function gH(){if(bo===void 0&&(bo=null,ha.trustedTypes))try{bo=ha.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return bo}function Ws(e){var t;return((t=gH())==null?void 0:t.createHTML(e))||e}var na=class{constructor(e){s(this,"changingThisBreaksApplicationSecurity");this.changingThisBreaksApplicationSecurity=e}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${_f})`}},vH=class extends na{getTypeName(){return"HTML"}},bH=class extends na{getTypeName(){return"Style"}},yH=class extends na{getTypeName(){return"Script"}},_H=class extends na{getTypeName(){return"URL"}},wH=class extends na{getTypeName(){return"ResourceURL"}};function Hr(e){return e instanceof na?e.changingThisBreaksApplicationSecurity:e}function Ka(e,t){let r=xH(e);if(r!=null&&r!==t){if(r==="ResourceURL"&&t==="URL")return!0;throw new Error(`Required a safe ${t}, got a ${r} (see ${_f})`)}return r===t}function xH(e){return e instanceof na&&e.getTypeName()||null}function EH(e){return new vH(e)}function SH(e){return new bH(e)}function kH(e){return new yH(e)}function CH(e){return new _H(e)}function IH(e){return new wH(e)}function DH(e){let t=new TH(e);return MH()?new NH(t):t}var NH=class{constructor(e){s(this,"inertDocumentHelper");this.inertDocumentHelper=e}getInertBodyElement(e){var t;e="<body><remove></remove>"+e;try{let r=new window.DOMParser().parseFromString(Ws(e),"text/html").body;return r===null?this.inertDocumentHelper.getInertBodyElement(e):((t=r.firstChild)==null||t.remove(),r)}catch{return null}}},TH=class{constructor(e){s(this,"defaultDoc");s(this,"inertDocument");this.defaultDoc=e,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(e){let t=this.inertDocument.createElement("template");return t.innerHTML=Ws(e),t}};function MH(){try{return!!new window.DOMParser().parseFromString(Ws(""),"text/html")}catch{return!1}}var RH=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Zg(e){return e=String(e),e.match(RH)?e:"unsafe:"+e}function dr(e){let t={};for(let r of e.split(","))t[r]=!0;return t}function Qi(...e){let t={};for(let r of e)for(let n in r)r.hasOwnProperty(n)&&(t[n]=!0);return t}var Yg=dr("area,br,col,hr,img,wbr"),Kg=dr("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Qg=dr("rp,rt"),OH=Qi(Qg,Kg),PH=Qi(Kg,dr("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")),AH=Qi(Qg,dr("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")),Ph=Qi(Yg,PH,AH,OH),Jg=dr("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),LH=dr("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"),FH=dr("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"),jH=Qi(Jg,LH,FH),VH=dr("script,style,template"),BH=class{constructor(){s(this,"sanitizedSomething",!1);s(this,"buf",[])}sanitizeChildren(e){let t=e.firstChild,r=!0,n=[];for(;t;){if(t.nodeType===Node.ELEMENT_NODE?r=this.startElement(t):t.nodeType===Node.TEXT_NODE?this.chars(t.nodeValue):this.sanitizedSomething=!0,r&&t.firstChild){n.push(t),t=qH(t);continue}for(;t;){t.nodeType===Node.ELEMENT_NODE&&this.endElement(t);let a=HH(t);if(a){t=a;break}t=n.pop()}}return this.buf.join("")}startElement(e){let t=Ah(e).toLowerCase();if(!Ph.hasOwnProperty(t))return this.sanitizedSomething=!0,!VH.hasOwnProperty(t);this.buf.push("<"),this.buf.push(t);let r=e.attributes;for(let n=0;n<r.length;n++){let a=r.item(n),i=a.name,o=i.toLowerCase();if(!jH.hasOwnProperty(o)){this.sanitizedSomething=!0;continue}let l=a.value;Jg[o]&&(l=Zg(l)),this.buf.push(" ",i,'="',Lh(l),'"')}return this.buf.push(">"),!0}endElement(e){let t=Ah(e).toLowerCase();Ph.hasOwnProperty(t)&&!Yg.hasOwnProperty(t)&&(this.buf.push("</"),this.buf.push(t),this.buf.push(">"))}chars(e){this.buf.push(Lh(e))}};function zH(e,t){return(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function HH(e){let t=e.nextSibling;if(t&&e!==t.previousSibling)throw Xg(t);return t}function qH(e){let t=e.firstChild;if(t&&zH(e,t))throw Xg(t);return t}function Ah(e){let t=e.nodeName;return typeof t=="string"?t:"FORM"}function Xg(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}var GH=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,$H=/([^\#-~ |!])/g;function Lh(e){return e.replace(/&/g,"&amp;").replace(GH,function(t){let r=t.charCodeAt(0),n=t.charCodeAt(1);return"&#"+((r-55296)*1024+(n-56320)+65536)+";"}).replace($H,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")}var yo;function UH(e,t){let r=null;try{yo=yo||DH(e);let n=t?String(t):"";r=yo.getInertBodyElement(n);let a=5,i=n;do{if(a===0)throw new Error("Failed to sanitize html because the input is unstable");a--,n=i,i=r.innerHTML,r=yo.getInertBodyElement(n)}while(n!==i);let o=new BH().sanitizeChildren(Fh(r)||r);return Ws(o)}finally{if(r){let n=Fh(r)||r;for(;n.firstChild;)n.firstChild.remove()}}}function Fh(e){return"content"in e&&WH(e)?e.content:null}function WH(e){return e.nodeType===Node.ELEMENT_NODE&&e.nodeName==="TEMPLATE"}var on=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}(on||{});function ZH(e,t,r){let n=e.length;for(;;){let a=e.indexOf(t,r);if(a===-1)return a;if(a===0||e.charCodeAt(a-1)<=32){let i=t.length;if(a+i===n||e.charCodeAt(a+i)<=32)return a}r=a+1}}var ev="ng-template";function YH(e,t,r,n){let a=0;if(n){for(;a<t.length&&typeof t[a]=="string";a+=2)if(t[a]==="class"&&ZH(t[a+1].toLowerCase(),r,0)!==-1)return!0}else if(Jc(e))return!1;if(a=t.indexOf(1,a),a>-1){let i;for(;++a<t.length&&typeof(i=t[a])=="string";)if(i.toLowerCase()===r)return!0}return!1}function Jc(e){return e.type===4&&e.value!==ev}function KH(e,t,r){let n=e.type===4&&!r?ev:e.value;return t===n}function QH(e,t,r){let n=4,a=e.attrs,i=a!==null?eq(a):0,o=!1;for(let l=0;l<t.length;l++){let h=t[l];if(typeof h=="number"){if(!o&&!gn(n)&&!gn(h))return!1;if(o&&gn(h))continue;o=!1,n=h|n&1;continue}if(!o)if(n&4){if(n=2|n&1,h!==""&&!KH(e,h,r)||h===""&&t.length===1){if(gn(n))return!1;o=!0}}else if(n&8){if(a===null||!YH(e,a,h,r)){if(gn(n))return!1;o=!0}}else{let u=t[++l],c=JH(h,a,Jc(e),r);if(c===-1){if(gn(n))return!1;o=!0;continue}if(u!==""){let m;if(c>i?m="":m=a[c+1].toLowerCase(),n&2&&u!==m){if(gn(n))return!1;o=!0}}}}return gn(n)||o}function gn(e){return(e&1)===0}function JH(e,t,r,n){if(t===null)return-1;let a=0;if(n||!r){let i=!1;for(;a<t.length;){let o=t[a];if(o===e)return a;if(o===3||o===6)i=!0;else if(o===1||o===2){let l=t[++a];for(;typeof l=="string";)l=t[++a];continue}else{if(o===4)break;if(o===0){a+=4;continue}}a+=i?1:2}return-1}else return tq(t,e)}function tv(e,t,r=!1){for(let n=0;n<t.length;n++)if(QH(e,t[n],r))return!0;return!1}function XH(e){let t=e.attrs;if(t!=null){let r=t.indexOf(5);if(!(r&1))return t[r+1]}return null}function eq(e){for(let t=0;t<e.length;t++){let r=e[t];if(vg(r))return t}return e.length}function tq(e,t){let r=e.indexOf(4);if(r>-1)for(r++;r<e.length;){let n=e[r];if(typeof n=="number")return-1;if(n===t)return r;r++}return-1}function nq(e,t){e:for(let r=0;r<t.length;r++){let n=t[r];if(e.length===n.length){for(let a=0;a<e.length;a++)if(e[a]!==n[a])continue e;return!0}}return!1}function jh(e,t){return e?":not("+t.trim()+")":t}function rq(e){let t=e[0],r=1,n=2,a="",i=!1;for(;r<e.length;){let o=e[r];if(typeof o=="string")if(n&2){let l=e[++r];a+="["+o+(l.length>0?'="'+l+'"':"")+"]"}else n&8?a+="."+o:n&4&&(a+=" "+o);else a!==""&&!gn(o)&&(t+=jh(i,a),a=""),n=o,i=i||!gn(n);r++}return a!==""&&(t+=jh(i,a)),t}function aq(e){return e.map(rq).join(",")}function iq(e){let t=[],r=[],n=1,a=2;for(;n<e.length;){let i=e[n];if(typeof i=="string")a===2?i!==""&&t.push(i,e[++n]):a===8&&r.push(i);else{if(!gn(a))break;a=i}n++}return r.length&&t.push(1,...r),t}var en={};function oq(e,t){return e.createText(t)}function sq(e,t,r){e.setValue(t,r)}function nv(e,t,r){return e.createElement(t,r)}function bs(e,t,r,n,a){e.insertBefore(t,r,n,a)}function rv(e,t,r){e.appendChild(t,r)}function Vh(e,t,r,n,a){n!==null?bs(e,t,r,n,a):rv(e,t,r)}function lq(e,t,r){e.removeChild(null,t,r)}function uq(e,t,r){e.setAttribute(t,"style",r)}function cq(e,t,r){r===""?e.removeAttribute(t,"class"):e.setAttribute(t,"class",r)}function av(e,t,r){let{mergedAttrs:n,classes:a,styles:i}=r;n!==null&&k9(e,t,n),a!==null&&cq(e,t,a),i!==null&&uq(e,t,i)}function Xc(e,t,r,n,a,i,o,l,h,u,c){let m=gt+n,b=m+a,g=dq(m,b),w=typeof u=="function"?u():u;return g[le]={type:e,blueprint:g,template:r,queries:null,viewQuery:l,declTNode:t,data:g.slice().fill(null,m),bindingStartIndex:m,expandoStartIndex:b,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 i=="function"?i():i,pipeRegistry:typeof o=="function"?o():o,firstChild:null,schemas:h,consts:w,incompleteFirstPass:!1,ssrId:c}}function dq(e,t){let r=[];for(let n=0;n<t;n++)r.push(n<e?null:en);return r}function hq(e){let t=e.tView;return t===null||t.incompleteFirstPass?e.tView=Xc(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):t}function ed(e,t,r,n,a,i,o,l,h,u,c){let m=t.blueprint.slice();return m[ur]=a,m[oe]=n|4|128|8|64|1024,(u!==null||e&&e[oe]&2048)&&(m[oe]|=2048),Jf(m),m[Mt]=m[La]=e,m[xt]=r,m[Cr]=o||e&&e[Cr],m[ft]=l||e&&e[ft],m[Da]=h||e&&e[Da]||null,m[Ht]=i,m[$s]=rH(),m[Ia]=c,m[Gf]=u,m[dn]=t.type==2?e[dn]:m,m}function pq(e,t,r){let n=Vn(t,e),a=hq(r),i=e[Cr].rendererFactory,o=td(e,ed(e,a,null,iv(r),n,t,null,i.createRenderer(n,r),null,null,null));return e[t.index]=o}function iv(e){let t=16;return e.signals?t=4096:e.onPush&&(t=64),t}function ov(e,t,r,n){if(r===0)return-1;let a=t.length;for(let i=0;i<r;i++)t.push(n),e.blueprint.push(n),e.data.push(null);return a}function td(e,t){return e[wi]?e[wh][_n]=t:e[wi]=t,e[wh]=t,t}function we(e=1){sv(bt(),he(),Bn()+e)}function sv(e,t,r,n){if((t[oe]&3)===3){let a=e.preOrderCheckHooks;a!==null&&Go(t,a,r)}else{let a=e.preOrderHooks;a!==null&&$o(t,a,0,r)}Jr(r)}var Zs=function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e}(Zs||{});function Tu(e,t,r,n){let a=xe(null);try{let[i,o,l]=e.inputs[r],h=null;o&Zs.SignalBased&&(h=t[i][mc]),h!==null&&h.transformFn!==void 0?n=h.transformFn(n):l!==null&&(n=l.call(t,n)),e.setInput!==null?e.setInput(t,h,n,r,i):Wf(t,h,i,n)}finally{xe(a)}}function lv(e,t,r,n,a){let i=Bn(),o=n&2;try{Jr(-1),o&&t.length>gt&&sv(e,t,gt,!1),Kr(o?2:0,a),r(n,a)}finally{Jr(i)}}function nd(e,t,r){bq(e,t,r),(r.flags&64)===64&&yq(e,t,r)}function uv(e,t,r=Vn){let n=t.localNames;if(n!==null){let a=t.index+1;for(let i=0;i<n.length;i+=2){let o=n[i+1],l=o===-1?r(t,e):e[o];e[a++]=l}}}function mq(e,t,r,n){let a=n.get(lH,Bg)||r===ar.ShadowDom;return e.selectRootElement(t,a)}function fq(e){return e==="class"?"className":e==="for"?"htmlFor":e==="formaction"?"formAction":e==="innerHtml"?"innerHTML":e==="readonly"?"readOnly":e==="tabindex"?"tabIndex":e}function gq(e,t,r,n,a,i,o,l){if(rd(t,e,r,n,a)){Fa(t)&&vq(r,t.index);return}if(t.type&3){let h=Vn(t,r);n=fq(n),a=o!=null?o(a,t.value||"",n):a,i.setProperty(h,n,a)}else t.type&12}function vq(e,t){let r=jn(t,e);r[oe]&16||(r[oe]|=64)}function bq(e,t,r){let n=r.directiveStart,a=r.directiveEnd;Fa(r)&&pq(t,r,e.data[n+r.componentOffset]),e.firstCreatePass||fs(r,t);let i=r.initialInputs;for(let o=n;o<a;o++){let l=e.data[o],h=Si(t,e,o,r);if(Zi(h,t),i!==null&&Eq(t,o-n,h,l,r,i),Ln(l)){let u=jn(r.index,t);u[xt]=Si(t,e,o,r)}}}function yq(e,t,r){let n=r.directiveStart,a=r.directiveEnd,i=r.index,o=g9();try{Jr(i);for(let l=n;l<a;l++){let h=e.data[l],u=t[l];wu(l),(h.hostBindings!==null||h.hostVars!==0||h.hostAttrs!==null)&&_q(h,u)}}finally{Jr(-1),wu(o)}}function _q(e,t){e.hostBindings!==null&&e.hostBindings(1,t)}function cv(e,t){let r=e.directiveRegistry,n=null;if(r)for(let a=0;a<r.length;a++){let i=r[a];tv(t,i.selectors,!1)&&(n??(n=[]),Ln(i)?n.unshift(i):n.push(i))}return n}function wq(e,t,r,n,a,i){let o=Vn(e,t);xq(t[ft],o,i,e.value,r,n,a)}function xq(e,t,r,n,a,i,o){if(i==null)e.removeAttribute(t,a,r);else{let l=o==null?_i(i):o(i,n||"",a);e.setAttribute(t,a,l,r)}}function Eq(e,t,r,n,a,i){let o=i[t];if(o!==null)for(let l=0;l<o.length;l+=2){let h=o[l],u=o[l+1];Tu(n,r,h,u)}}function Sq(e,t){let r=e[Da],n=r?r.get(zn,null):null;n&&n.handleError(t)}function rd(e,t,r,n,a){var h,u;let i=(h=e.inputs)==null?void 0:h[n],o=(u=e.hostDirectiveInputs)==null?void 0:u[n],l=!1;if(o)for(let c=0;c<o.length;c+=2){let m=o[c],b=o[c+1],g=t.data[m];Tu(g,r[m],b,a),l=!0}if(i)for(let c of i){let m=r[c],b=t.data[c];Tu(b,m,n,a),l=!0}return l}function kq(e,t){let r=jn(t,e),n=r[le];Cq(n,r);let a=r[ur];a!==null&&r[Ia]===null&&(r[Ia]=$g(a,r[Da])),ad(n,r,r[xt]),Kr(19,r[xt])}function Cq(e,t){for(let r=t.length;r<e.blueprint.length;r++)t.push(e.blueprint[r])}function ad(e,t,r){var n;Hc(t);try{let a=e.viewQuery;a!==null&&Nu(1,a,r);let i=e.template;i!==null&&lv(e,t,i,1,r),e.firstCreatePass&&(e.firstCreatePass=!1),(n=t[wn])==null||n.finishViewCreation(e),e.staticContentQueries&&Ug(e,t),e.staticViewQueries&&Nu(2,e.viewQuery,r);let o=e.components;o!==null&&Iq(t,o)}catch(a){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),a}finally{t[oe]&=-5,qc()}}function Iq(e,t){for(let r=0;r<t.length;r++)kq(e,t[r])}function Ji(e,t,r,n){let a=xe(null);try{let i=t.tView,o=e[oe]&4096?4096:16,l=ed(e,i,r,o,null,t,null,null,(n==null?void 0:n.injector)??null,(n==null?void 0:n.embeddedViewInjector)??null,(n==null?void 0:n.dehydratedView)??null),h=e[t.index];l[Zr]=h;let u=e[wn];return u!==null&&(l[wn]=u.createEmbeddedView(i)),ad(i,l,r),l}finally{xe(a)}}function Ta(e,t){return!t||t.firstChild===null||Og(e)}var Dq;function id(e,t){return Dq(e,t)}var ga=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(ga||{});function od(e){return(e.flags&32)===32}function va(e,t,r,n,a){if(n!=null){let i,o=!1;cr(n)?i=n:kr(n)&&(o=!0,n=n[ur]);let l=Fn(n);e===0&&r!==null?a==null?rv(t,r,l):bs(t,r,l,a||null,!0):e===1&&r!==null?bs(t,r,l,a||null,!0):e===2?lq(t,l,o):e===3&&t.destroyNode(l),i!=null&&jq(t,e,i,r,a)}}function Nq(e,t){dv(e,t),t[ur]=null,t[Ht]=null}function Tq(e,t,r,n,a,i){n[ur]=a,n[Ht]=t,Ks(e,n,r,1,a,i)}function dv(e,t){var r;(r=t[Cr].changeDetectionScheduler)==null||r.notify(9),Ks(e,t,t[ft],2,null,null)}function Mq(e){let t=e[wi];if(!t)return kl(e[le],e);for(;t;){let r=null;if(kr(t))r=t[wi];else{let n=t[Nt];n&&(r=n)}if(!r){for(;t&&!t[_n]&&t!==e;)kr(t)&&kl(t[le],t),t=t[Mt];t===null&&(t=e),kr(t)&&kl(t[le],t),r=t&&t[_n]}t=r}}function sd(e,t){let r=e[Na],n=r.indexOf(t);r.splice(n,1)}function Ys(e,t){if(ja(t))return;let r=t[ft];r.destroyNode&&Ks(e,t,r,3,null,null),Mq(t)}function kl(e,t){if(ja(t))return;let r=xe(null);try{t[oe]&=-129,t[oe]|=256,t[un]&&Om(t[un]),Oq(e,t),Rq(e,t),t[le].type===1&&t[ft].destroy();let n=t[Zr];if(n!==null&&cr(t[Mt])){n!==t[Mt]&&sd(n,t);let a=t[wn];a!==null&&a.detachView(e)}Iu(t)}finally{xe(r)}}function Rq(e,t){let r=e.cleanup,n=t[ya];if(r!==null)for(let o=0;o<r.length-1;o+=2)if(typeof r[o]=="string"){let l=r[o+3];l>=0?n[l]():n[-l].unsubscribe(),o+=2}else{let l=n[r[o+1]];r[o].call(l)}n!==null&&(t[ya]=null);let a=t[Er];if(a!==null){t[Er]=null;for(let o=0;o<a.length;o++){let l=a[o];l()}}let i=t[us];if(i!==null){t[us]=null;for(let o of i)o.destroy()}}function Oq(e,t){let r;if(e!=null&&(r=e.destroyHooks)!=null)for(let n=0;n<r.length;n+=2){let a=t[r[n]];if(!(a instanceof Gi)){let i=r[n+1];if(Array.isArray(i))for(let o=0;o<i.length;o+=2){let l=a[i[o]],h=i[o+1];try{h.call(l)}finally{}}else try{i.call(a)}finally{}}}}function hv(e,t,r){return Pq(e,t.parent,r)}function Pq(e,t,r){let n=t;for(;n!==null&&n.type&168;)t=n,n=t.parent;if(n===null)return r[ur];if(Fa(n)){let{encapsulation:a}=e.data[n.directiveStart+n.componentOffset];if(a===ar.None||a===ar.Emulated)return null}return Vn(n,r)}function pv(e,t,r){return Lq(e,t,r)}function Aq(e,t,r){return e.type&40?Vn(e,r):null}var Lq=Aq;function ld(e,t,r,n){let a=hv(e,n,t),i=t[ft],o=n.parent||t[Ht],l=pv(o,n,t);if(a!=null)if(Array.isArray(r))for(let h=0;h<r.length;h++)Vh(i,a,r[h],l,!1);else Vh(i,a,r,l,!1)}function ii(e,t){if(t!==null){let r=t.type;if(r&3)return Vn(t,e);if(r&4)return Mu(-1,e[t.index]);if(r&8){let n=t.child;if(n!==null)return ii(e,n);{let a=e[t.index];return cr(a)?Mu(-1,a):Fn(a)}}else{if(r&128)return ii(e,t.next);if(r&32)return id(t,e)()||Fn(e[t.index]);{let n=mv(e,t);if(n!==null){if(Array.isArray(n))return n[0];let a=Qr(e[dn]);return ii(a,n)}else return ii(e,t.next)}}}return null}function mv(e,t){if(t!==null){let r=e[dn][Ht],n=t.projection;return r.projection[n]}return null}function Mu(e,t){let r=Nt+e+1;if(r<t.length){let n=t[r],a=n[le].firstChild;if(a!==null)return ii(n,a)}return t[Yr]}function ud(e,t,r,n,a,i,o){for(;r!=null;){if(r.type===128){r=r.next;continue}let l=n[r.index],h=r.type;if(o&&t===0&&(l&&Zi(Fn(l),n),r.flags|=2),!od(r))if(h&8)ud(e,t,r.child,n,a,i,!1),va(t,e,a,l,i);else if(h&32){let u=id(r,n),c;for(;c=u();)va(t,e,a,c,i);va(t,e,a,l,i)}else h&16?fv(e,t,n,r,a,i):va(t,e,a,l,i);r=o?r.projectionNext:r.next}}function Ks(e,t,r,n,a,i){ud(r,n,e.firstChild,t,a,i,!1)}function Fq(e,t,r){let n=t[ft],a=hv(e,r,t),i=r.parent||t[Ht],o=pv(i,r,t);fv(n,0,t,r,a,o)}function fv(e,t,r,n,a,i){let o=r[dn],l=o[Ht].projection[n.projection];if(Array.isArray(l))for(let h=0;h<l.length;h++){let u=l[h];va(t,e,a,u,i)}else{let h=l,u=o[Mt];Og(n)&&(h.flags|=128),ud(e,t,h,u,a,i,!0)}}function jq(e,t,r,n,a){let i=r[Yr],o=Fn(r);i!==o&&va(t,e,n,i,a);for(let l=Nt;l<r.length;l++){let h=r[l];Ks(h[le],h,e,t,n,i)}}function Vq(e,t,r,n,a){a?e.addClass(r,n):e.removeClass(r,n)}function ys(e,t,r,n,a=!1){for(;r!==null;){if(r.type===128){r=a?r.projectionNext:r.next;continue}let i=t[r.index];i!==null&&n.push(Fn(i)),cr(i)&&Bq(i,n);let o=r.type;if(o&8)ys(e,t,r.child,n);else if(o&32){let l=id(r,t),h;for(;h=l();)n.push(h)}else if(o&16){let l=mv(t,r);if(Array.isArray(l))n.push(...l);else{let h=Qr(t[dn]);ys(h[le],h,l,n,!0)}}r=a?r.projectionNext:r.next}return n}function Bq(e,t){for(let r=Nt;r<e.length;r++){let n=e[r],a=n[le].firstChild;a!==null&&ys(n[le],n,a,t)}e[Yr]!==e[ur]&&t.push(e[Yr])}function gv(e){if(e[Sr]!==null){for(let t of e[Sr])t.impl.addSequence(t);e[Sr].length=0}}var vv=[];function zq(e){return e[un]??Hq(e)}function Hq(e){let t=vv.pop()??Object.create(Gq);return t.lView=e,t}function qq(e){e.lView[un]!==e&&(e.lView=null,vv.push(e))}var Gq=Kt(ge({},js),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{zi(e.lView)},consumerOnSignalRead(){this.lView[un]=this}});function $q(e){let t=e[un]??Object.create(Uq);return t.lView=e,t}var Uq=Kt(ge({},js),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{let t=Qr(e.lView);for(;t&&!bv(t[le]);)t=Qr(t);t&&Fc(t)},consumerOnSignalRead(){this.lView[un]=this}});function bv(e){return e.type!==2}function yv(e){if(e[us]===null)return;let t=!0;for(;t;){let r=!1;for(let n of e[us])n.dirty&&(r=!0,n.zone===null||Zone.current===n.zone?n.run():n.zone.run(()=>n.run()));t=r&&!!(e[oe]&8192)}}var Wq=100;function _v(e,t=!0,r=0){var a,i;let n=e[Cr].rendererFactory;(a=n.begin)==null||a.call(n);try{Zq(e,r)}catch(o){throw t&&Sq(e,o),o}finally{(i=n.end)==null||i.call(n)}}function Zq(e,t){let r=og();try{xh(!0),Ru(e,t);let n=0;for(;Bi(e);){if(n===Wq)throw new $(103,!1);n++,Ru(e,1)}}finally{xh(r)}}function Yq(e,t,r,n){if(ja(t))return;let a=t[oe],i=!1,o=!1;Hc(t);let l=!0,h=null,u=null;bv(e)?(u=zq(t),h=ou(u)):Jz()===null?(l=!1,u=$q(t),h=ou(u)):t[un]&&(Om(t[un]),t[un]=null);try{Jf(t),p9(e.bindingStartIndex),r!==null&&lv(e,t,r,2,n);let c=(a&3)===3;if(!i)if(c){let g=e.preOrderCheckHooks;g!==null&&Go(t,g,null)}else{let g=e.preOrderHooks;g!==null&&$o(t,g,0,null),El(t,0)}if(o||Kq(t),yv(t),wv(t,0),e.contentQueries!==null&&Ug(e,t),!i)if(c){let g=e.contentCheckHooks;g!==null&&Go(t,g)}else{let g=e.contentHooks;g!==null&&$o(t,g,1),El(t,1)}Jq(e,t);let m=e.components;m!==null&&Ev(t,m,0);let b=e.viewQuery;if(b!==null&&Nu(2,b,n),!i)if(c){let g=e.viewCheckHooks;g!==null&&Go(t,g)}else{let g=e.viewHooks;g!==null&&$o(t,g,2),El(t,2)}if(e.firstUpdatePass===!0&&(e.firstUpdatePass=!1),t[xl]){for(let g of t[xl])g();t[xl]=null}i||(gv(t),t[oe]&=-73)}catch(c){throw zi(t),c}finally{u!==null&&(Mm(u,h),l&&qq(u)),qc()}}function wv(e,t){for(let r=Lg(e);r!==null;r=Fg(r))for(let n=Nt;n<r.length;n++){let a=r[n];xv(a,t)}}function Kq(e){for(let t=Lg(e);t!==null;t=Fg(t)){if(!(t[oe]&2))continue;let r=t[Na];for(let n=0;n<r.length;n++){let a=r[n];Fc(a)}}}function Qq(e,t,r){let n=jn(t,e);xv(n,r),Kr(19,n[xt])}function xv(e,t){Lc(e)&&Ru(e,t)}function Ru(e,t){let r=e[le],n=e[oe],a=e[un],i=!!(t===0&&n&16);if(i||(i=!!(n&64&&t===0)),i||(i=!!(n&1024)),i||(i=!!(a!=null&&a.dirty&&Rm(a))),i||(i=!1),a&&(a.dirty=!1),e[oe]&=-9217,i)Yq(r,e,r.template,e[xt]);else if(n&8192){yv(e),wv(e,1);let o=r.components;o!==null&&Ev(e,o,1),gv(e)}}function Ev(e,t,r){for(let n=0;n<t.length;n++)Qq(e,t[n],r)}function Jq(e,t){let r=e.hostBindingOpCodes;if(r!==null)try{for(let n=0;n<r.length;n++){let a=r[n];if(a<0)Jr(~a);else{let i=a,o=r[++n],l=r[++n];f9(o,i);let h=t[i];Kr(24,h),l(2,h),Kr(25,h)}}}finally{Jr(-1)}}function cd(e,t){var n;let r=og()?64:1088;for((n=e[Cr].changeDetectionScheduler)==null?void 0:n.notify(t);e;){e[oe]|=r;let a=Qr(e);if(ds(e)&&!a)return e;e=a}return null}function Sv(e,t,r,n){return[e,!0,0,t,null,n,null,r,null,null]}function kv(e,t){let r=Nt+t;if(r<e.length)return e[r]}function Xi(e,t,r,n=!0){let a=t[le];if(Xq(a,t,e,r),n){let o=Mu(r,e),l=t[ft],h=l.parentNode(e[Yr]);h!==null&&Tq(a,e[Ht],l,t,h,o)}let i=t[Ia];i!==null&&i.firstChild!==null&&(i.firstChild=null)}function Cv(e,t){let r=ki(e,t);return r!==void 0&&Ys(r[le],r),r}function ki(e,t){if(e.length<=Nt)return;let r=Nt+t,n=e[r];if(n){let a=n[Zr];a!==null&&a!==e&&sd(a,n),t>0&&(e[r-1][_n]=n[_n]);let i=ss(e,Nt+t);Nq(n[le],n);let o=i[wn];o!==null&&o.detachView(i[le]),n[Mt]=null,n[_n]=null,n[oe]&=-129}return n}function Xq(e,t,r,n){let a=Nt+n,i=r.length;n>0&&(r[a-1][_n]=t),n<i-Nt?(t[_n]=r[a],Af(r,Nt+n,t)):(r.push(t),t[_n]=null),t[Mt]=r;let o=t[Zr];o!==null&&r!==o&&Iv(o,t);let l=t[wn];l!==null&&l.insertView(e),yu(t),t[oe]|=128}function Iv(e,t){let r=e[Na],n=t[Mt];if(kr(n))e[oe]|=2;else{let a=n[Mt][dn];t[dn]!==a&&(e[oe]|=2)}r===null?e[Na]=[t]:r.push(t)}var Ci=class{constructor(e,t,r=!0){s(this,"_lView");s(this,"_cdRefInjectingView");s(this,"notifyErrorHandler");s(this,"_appRef",null);s(this,"_attachedToViewContainer",!1);this._lView=e,this._cdRefInjectingView=t,this.notifyErrorHandler=r}get rootNodes(){let e=this._lView,t=e[le];return ys(t,e,t.firstChild,[])}get context(){return this._lView[xt]}set context(e){this._lView[xt]=e}get destroyed(){return ja(this._lView)}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){let e=this._lView[Mt];if(cr(e)){let t=e[cs],r=t?t.indexOf(this):-1;r>-1&&(ki(e,r),ss(t,r))}this._attachedToViewContainer=!1}Ys(this._lView[le],this._lView)}onDestroy(e){Xf(this._lView,e)}markForCheck(){cd(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[oe]&=-129}reattach(){yu(this._lView),this._lView[oe]|=128}detectChanges(){this._lView[oe]|=1024,_v(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new $(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let e=ds(this._lView),t=this._lView[Zr];t!==null&&!e&&sd(t,this._lView),dv(this._lView[le],this._lView)}attachToAppRef(e){if(this._attachedToViewContainer)throw new $(902,!1);this._appRef=e;let t=ds(this._lView),r=this._lView[Zr];r!==null&&!t&&Iv(r,this._lView),yu(this._lView)}};function e7(e){return Bi(e._lView)||!!(e._lView[oe]&64)}function t7(e){Fc(e._cdRefInjectingView||e._lView)}var Ii=(()=>{class e{}return s(e,"__NG_ELEMENT_ID__",a7),e})(),n7=Ii,r7=class extends n7{constructor(t,r,n){super();s(this,"_declarationLView");s(this,"_declarationTContainer");s(this,"elementRef");this._declarationLView=t,this._declarationTContainer=r,this.elementRef=n}get ssrId(){var t;return((t=this._declarationTContainer.tView)==null?void 0:t.ssrId)||null}createEmbeddedView(t,r){return this.createEmbeddedViewImpl(t,r)}createEmbeddedViewImpl(t,r,n){let a=Ji(this._declarationLView,this._declarationTContainer,t,{embeddedViewInjector:r,dehydratedView:n});return new Ci(a)}};function a7(){return dd(Jt(),he())}function dd(e,t){return e.type&4?new r7(t,e,Ba(e,t)):null}function eo(e,t,r,n,a){let i=e.data[t];if(i===null)i=i7(e,t,r,n,a),m9()&&(i.flags|=32);else if(i.type&64){i.type=r,i.value=n,i.attrs=a;let o=c9();i.injectorIndex=o===null?-1:o.injectorIndex}return Va(i,!0),i}function i7(e,t,r,n,a){let i=rg(),o=ag(),l=o?i:i&&i.parent,h=e.data[t]=s7(e,l,r,t,n,a);return o7(e,h,i,o),h}function o7(e,t,r,n){e.firstChild===null&&(e.firstChild=t),r!==null&&(n?r.child==null&&t.parent!==null&&(r.child=t):r.next===null&&(r.next=t,t.prev=r))}function s7(e,t,r,n,a,i){let o=t?t.injectorIndex:-1,l=0;return eg()&&(l|=128),{type:r,index:n,insertBeforeIndex:null,injectorIndex:o,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:l,providerIndexes:0,value:a,attrs:i,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:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}var l7=()=>null;function Ma(e,t){return l7()}var u7=class{},Dv=class{},c7=class{resolveComponentFactory(e){throw Error(`No component factory found for ${ln(e)}.`)}},au,to=(au=class{},s(au,"NULL",new c7),au),Sn=class{},Qs=(()=>{class e{constructor(){s(this,"destroyNode",null)}}return s(e,"__NG_ELEMENT_ID__",()=>d7()),e})();function d7(){let e=he(),t=Jt(),r=jn(t.index,e);return(kr(r)?r:e)[ft]}var h7=(()=>{const t=class t{};s(t,"ɵprov",U({token:t,providedIn:"root",factory:()=>null}));let e=t;return e})(),Cl={},p7=class{constructor(e,t){s(this,"injector");s(this,"parentInjector");this.injector=e,this.parentInjector=t}get(e,t,r){r=qs(r);let n=this.injector.get(e,Cl,r);return n!==Cl||t===Cl?n:this.parentInjector.get(e,t,r)}};function Bh(e,t,r){let n=r?e.styles:null,a=r?e.classes:null,i=0;if(t!==null)for(let o=0;o<t.length;o++){let l=t[o];if(typeof l=="number")i=l;else if(i==1)a=hu(a,l);else if(i==2){let h=l,u=t[++o];n=hu(n,h+": "+u+";")}}r?e.styles=n:e.stylesWithoutHost=n,r?e.classes=a:e.classesWithoutHost=a}function jt(e,t=be.Default){let r=he();if(r===null)return ee(e,t);let n=Jt();return Sg(n,r,Lt(e),t)}function Nv(e,t,r,n,a){let i=n===null?null:{"":-1},o=a(e,r);if(o!==null){let l,h=null,u=null,c=f7(o);c===null?l=o:[l,h,u]=c,b7(e,t,r,l,i,h,u)}i!==null&&n!==null&&m7(r,n,i)}function m7(e,t,r){let n=e.localNames=[];for(let a=0;a<t.length;a+=2){let i=r[t[a+1]];if(i==null)throw new $(-301,!1);n.push(t[a],i)}}function f7(e){let t=null,r=!1;for(let o=0;o<e.length;o++){let l=e[o];if(o===0&&Ln(l)&&(t=l),l.findHostDirectiveDefs!==null){r=!0;break}}if(!r)return null;let n=null,a=null,i=null;for(let o of e)o.findHostDirectiveDefs!==null&&(n??(n=[]),a??(a=new Map),i??(i=new Map),g7(o,n,i,a)),o===t&&(n??(n=[]),n.push(o));return n!==null?(n.push(...t===null?e:e.slice(1)),[n,a,i]):null}function g7(e,t,r,n){let a=t.length;e.findHostDirectiveDefs(e,t,n),r.set(e,[a,t.length-1])}function v7(e,t,r){t.componentOffset=r,(e.components??(e.components=[])).push(t.index)}function b7(e,t,r,n,a,i,o){let l=n.length,h=!1;for(let b=0;b<l;b++){let g=n[b];!h&&Ln(g)&&(h=!0,v7(e,r,b)),Eu(fs(r,t),e,g.type)}S7(r,e.data.length,l);for(let b=0;b<l;b++){let g=n[b];g.providersResolver&&g.providersResolver(g)}let u=!1,c=!1,m=ov(e,t,l,null);l>0&&(r.directiveToIndex=new Map);for(let b=0;b<l;b++){let g=n[b];if(r.mergedAttrs=Ei(r.mergedAttrs,g.hostAttrs),_7(e,r,t,m,g),E7(m,g,a),o!==null&&o.has(g)){let[x,S]=o.get(g);r.directiveToIndex.set(g.type,[m,x+r.directiveStart,S+r.directiveStart])}else(i===null||!i.has(g))&&r.directiveToIndex.set(g.type,m);g.contentQueries!==null&&(r.flags|=4),(g.hostBindings!==null||g.hostAttrs!==null||g.hostVars!==0)&&(r.flags|=64);let w=g.type.prototype;!u&&(w.ngOnChanges||w.ngOnInit||w.ngDoCheck)&&((e.preOrderHooks??(e.preOrderHooks=[])).push(r.index),u=!0),!c&&(w.ngOnChanges||w.ngDoCheck)&&((e.preOrderCheckHooks??(e.preOrderCheckHooks=[])).push(r.index),c=!0),m++}y7(e,r,i)}function y7(e,t,r){for(let n=t.directiveStart;n<t.directiveEnd;n++){let a=e.data[n];if(r===null||!r.has(a))zh(0,t,a,n),zh(1,t,a,n),qh(t,n,!1);else{let i=r.get(a);Hh(0,t,i,n),Hh(1,t,i,n),qh(t,n,!0)}}}function zh(e,t,r,n){let a=e===0?r.inputs:r.outputs;for(let i in a)if(a.hasOwnProperty(i)){let o;e===0?o=t.inputs??(t.inputs={}):o=t.outputs??(t.outputs={}),o[i]??(o[i]=[]),o[i].push(n),Tv(t,i)}}function Hh(e,t,r,n){let a=e===0?r.inputs:r.outputs;for(let i in a)if(a.hasOwnProperty(i)){let o=a[i],l;e===0?l=t.hostDirectiveInputs??(t.hostDirectiveInputs={}):l=t.hostDirectiveOutputs??(t.hostDirectiveOutputs={}),l[o]??(l[o]=[]),l[o].push(n,i),Tv(t,o)}}function Tv(e,t){t==="class"?e.flags|=8:t==="style"&&(e.flags|=16)}function qh(e,t,r){let{attrs:n,inputs:a,hostDirectiveInputs:i}=e;if(n===null||!r&&a===null||r&&i===null||Jc(e)){e.initialInputs??(e.initialInputs=[]),e.initialInputs.push(null);return}let o=null,l=0;for(;l<n.length;){let h=n[l];if(h===0){l+=4;continue}else if(h===5){l+=2;continue}else if(typeof h=="number")break;if(!r&&a.hasOwnProperty(h)){let u=a[h];for(let c of u)if(c===t){o??(o=[]),o.push(h,n[l+1]);break}}else if(r&&i.hasOwnProperty(h)){let u=i[h];for(let c=0;c<u.length;c+=2)if(u[c]===t){o??(o=[]),o.push(u[c+1],n[l+1]);break}}l+=2}e.initialInputs??(e.initialInputs=[]),e.initialInputs.push(o)}function _7(e,t,r,n,a){e.data[n]=a;let i=a.factory||(a.factory=Ur(a.type)),o=new Gi(i,Ln(a),jt);e.blueprint[n]=o,r[n]=o,w7(e,t,n,ov(e,r,a.hostVars,en),a)}function w7(e,t,r,n,a){let i=a.hostBindings;if(i){let o=e.hostBindingOpCodes;o===null&&(o=e.hostBindingOpCodes=[]);let l=~t.index;x7(o)!=l&&o.push(l),o.push(r,n,i)}}function x7(e){let t=e.length;for(;t>0;){let r=e[--t];if(typeof r=="number"&&r<0)return r}return 0}function E7(e,t,r){if(r){if(t.exportAs)for(let n=0;n<t.exportAs.length;n++)r[t.exportAs[n]]=e;Ln(t)&&(r[""]=e)}}function S7(e,t,r){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+r,e.providerIndexes=t}function Mv(e,t,r,n,a,i,o,l){let h=t.consts,u=xi(h,o),c=eo(t,e,2,n,u);return Nv(t,r,c,xi(h,l),a),c.mergedAttrs=Ei(c.mergedAttrs,c.attrs),c.attrs!==null&&Bh(c,c.attrs,!1),c.mergedAttrs!==null&&Bh(c,c.mergedAttrs,!0),t.queries!==null&&t.queries.elementStart(t,c),c}function Rv(e,t){fg(e,t),Uf(t)&&e.queries.elementEnd(t)}var k7=class extends to{constructor(t){super();s(this,"ngModule");this.ngModule=t}resolveComponentFactory(t){let r=ka(t);return new hd(r,this.ngModule)}};function C7(e){return Object.keys(e).map(t=>{let[r,n,a]=e[t],i={propName:r,templateName:t,isSignal:(n&Zs.SignalBased)!==0};return a&&(i.transform=a),i})}function I7(e){return Object.keys(e).map(t=>({propName:e[t],templateName:t}))}function D7(e,t,r){let n=t instanceof An?t:t==null?void 0:t.injector;return n&&e.getStandaloneInjector!==null&&(n=e.getStandaloneInjector(n)||n),n?new p7(r,n):r}function N7(e){let t=e.get(Sn,null);if(t===null)throw new $(407,!1);let r=e.get(h7,null),n=e.get(Ui,null);return{rendererFactory:t,sanitizer:r,changeDetectionScheduler:n}}function T7(e,t){let r=(e.selectors[0][0]||"div").toLowerCase();return nv(t,r,r==="svg"?Q5:r==="math"?J5:null)}var hd=class extends Dv{constructor(t,r){super();s(this,"componentDef");s(this,"ngModule");s(this,"selector");s(this,"componentType");s(this,"ngContentSelectors");s(this,"isBoundToModule");s(this,"cachedInputs",null);s(this,"cachedOutputs",null);this.componentDef=t,this.ngModule=r,this.componentType=t.type,this.selector=aq(t.selectors),this.ngContentSelectors=t.ngContentSelectors??[],this.isBoundToModule=!!r}get inputs(){return this.cachedInputs??(this.cachedInputs=C7(this.componentDef.inputs)),this.cachedInputs}get outputs(){return this.cachedOutputs??(this.cachedOutputs=I7(this.componentDef.outputs)),this.cachedOutputs}create(t,r,n,a){let i=xe(null);try{let o=this.componentDef,l=n?["ng-version","19.2.14"]:iq(this.componentDef.selectors[0]),h=Xc(0,null,null,1,0,null,null,null,null,[l],null),u=D7(o,a||this.ngModule,t),c=N7(u),m=c.rendererFactory.createRenderer(null,o),b=n?mq(m,n,o.encapsulation,u):T7(o,m),g=ed(null,h,null,512|iv(o),null,null,c,m,u,null,$g(b,u,!0));g[gt]=b,Hc(g);let w=null;try{let x=Mv(gt,h,g,"#host",()=>[this.componentDef],!0,0);b&&(av(m,b,x),Zi(b,g)),nd(h,g,x),Wg(h,x,g),Rv(h,x),r!==void 0&&R7(x,this.ngContentSelectors,r),w=jn(x.index,g),g[xt]=w[xt],ad(h,g,null)}catch(x){throw w!==null&&Iu(w),Iu(g),x}finally{Kr(23),qc()}return new M7(this.componentType,g)}finally{xe(i)}}},M7=class extends u7{constructor(t,r){super();s(this,"_rootLView");s(this,"instance");s(this,"hostView");s(this,"changeDetectorRef");s(this,"componentType");s(this,"location");s(this,"previousInputValues",null);s(this,"_tNode");this._rootLView=r,this._tNode=Oc(r[le],gt),this.location=Ba(this._tNode,r),this.instance=jn(this._tNode.index,r)[xt],this.hostView=this.changeDetectorRef=new Ci(r,void 0,!1),this.componentType=t}setInput(t,r){let n=this._tNode;if(this.previousInputValues??(this.previousInputValues=new Map),this.previousInputValues.has(t)&&Object.is(this.previousInputValues.get(t),r))return;let a=this._rootLView;rd(n,a[le],a,t,r),this.previousInputValues.set(t,r);let i=jn(n.index,a);cd(i,1)}get injector(){return new hi(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}};function R7(e,t,r){let n=e.projection=[];for(let a=0;a<t.length;a++){let i=r[a];n.push(i!=null&&i.length?Array.from(i):null)}}var Js=(()=>{class e{}return s(e,"__NG_ELEMENT_ID__",O7),e})();function O7(){let e=Jt();return Pv(e,he())}var P7=Js,Ov=class extends P7{constructor(t,r,n){super();s(this,"_lContainer");s(this,"_hostTNode");s(this,"_hostLView");this._lContainer=t,this._hostTNode=r,this._hostLView=n}get element(){return Ba(this._hostTNode,this._hostLView)}get injector(){return new hi(this._hostTNode,this._hostLView)}get parentInjector(){let t=Uc(this._hostTNode,this._hostLView);if(bg(t)){let r=ps(t,this._hostLView),n=hs(t),a=r[le].data[n+8];return new hi(a,r)}else return new hi(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){let r=Gh(this._lContainer);return r!==null&&r[t]||null}get length(){return this._lContainer.length-Nt}createEmbeddedView(t,r,n){let a,i;typeof n=="number"?a=n:n!=null&&(a=n.index,i=n.injector);let o=Ma(this._lContainer,t.ssrId),l=t.createEmbeddedViewImpl(r||{},i,o);return this.insertImpl(l,a,Ta(this._hostTNode,o)),l}createComponent(t,r,n,a,i){let o=t&&!$5(t),l;if(o)l=r;else{let w=r||{};l=w.index,n=w.injector,a=w.projectableNodes,i=w.environmentInjector||w.ngModuleRef}let h=o?t:new hd(ka(t)),u=n||this.parentInjector;if(!i&&h.ngModule==null){let w=(o?u:this.parentInjector).get(An,null);w&&(i=w)}let c=ka(h.componentType??{}),m=Ma(this._lContainer,(c==null?void 0:c.id)??null),b=null,g=h.create(u,a,b,i);return this.insertImpl(g.hostView,l,Ta(this._hostTNode,m)),g}insert(t,r){return this.insertImpl(t,r,!0)}insertImpl(t,r,n){let a=t._lView;if(e9(a)){let l=this.indexOf(t);if(l!==-1)this.detach(l);else{let h=a[Mt],u=new Ov(h,h[Ht],h[Mt]);u.detach(u.indexOf(t))}}let i=this._adjustIndex(r),o=this._lContainer;return Xi(o,a,i,n),t.attachToViewContainerRef(),Af(Il(o),i,t),t}move(t,r){return this.insert(t,r)}indexOf(t){let r=Gh(this._lContainer);return r!==null?r.indexOf(t):-1}remove(t){let r=this._adjustIndex(t,-1),n=ki(this._lContainer,r);n&&(ss(Il(this._lContainer),r),Ys(n[le],n))}detach(t){let r=this._adjustIndex(t,-1),n=ki(this._lContainer,r);return n&&ss(Il(this._lContainer),r)!=null?new Ci(n):null}_adjustIndex(t,r=0){return t??this.length+r}};function Gh(e){return e[cs]}function Il(e){return e[cs]||(e[cs]=[])}function Pv(e,t){let r,n=t[e.index];return cr(n)?r=n:(r=Sv(n,t,null,e),t[e.index]=r,td(t,r)),L7(r,t,e,n),new Ov(r,e,t)}function A7(e,t){let r=e[ft],n=r.createComment(""),a=Vn(t,e),i=r.parentNode(a);return bs(r,i,n,r.nextSibling(a),!1),n}var L7=F7;function F7(e,t,r,n){if(e[Yr])return;let a;r.type&8?a=Fn(n):a=A7(t,r),e[Yr]=a}var j7=class Av{constructor(t){s(this,"queryList");s(this,"matches",null);this.queryList=t}clone(){return new Av(this.queryList)}setDirty(){this.queryList.setDirty()}},V7=class Lv{constructor(t=[]){s(this,"queries");this.queries=t}createEmbeddedView(t){let r=t.queries;if(r!==null){let n=t.contentQueries!==null?t.contentQueries[0]:r.length,a=[];for(let i=0;i<n;i++){let o=r.getByIndex(i),l=this.queries[o.indexInDeclarationView];a.push(l.clone())}return new Lv(a)}return null}insertView(t){this.dirtyQueriesWithMatches(t)}detachView(t){this.dirtyQueriesWithMatches(t)}finishViewCreation(t){this.dirtyQueriesWithMatches(t)}dirtyQueriesWithMatches(t){for(let r=0;r<this.queries.length;r++)pd(t,r).matches!==null&&this.queries[r].setDirty()}},B7=class{constructor(e,t,r=null){s(this,"flags");s(this,"read");s(this,"predicate");this.flags=t,this.read=r,typeof e=="string"?this.predicate=K7(e):this.predicate=e}},z7=class Fv{constructor(t=[]){s(this,"queries");this.queries=t}elementStart(t,r){for(let n=0;n<this.queries.length;n++)this.queries[n].elementStart(t,r)}elementEnd(t){for(let r=0;r<this.queries.length;r++)this.queries[r].elementEnd(t)}embeddedTView(t){let r=null;for(let n=0;n<this.length;n++){let a=r!==null?r.length:0,i=this.getByIndex(n).embeddedTView(t,a);i&&(i.indexInDeclarationView=n,r!==null?r.push(i):r=[i])}return r!==null?new Fv(r):null}template(t,r){for(let n=0;n<this.queries.length;n++)this.queries[n].template(t,r)}getByIndex(t){return this.queries[t]}get length(){return this.queries.length}track(t){this.queries.push(t)}},H7=class jv{constructor(t,r=-1){s(this,"metadata");s(this,"matches",null);s(this,"indexInDeclarationView",-1);s(this,"crossesNgTemplate",!1);s(this,"_declarationNodeIndex");s(this,"_appliesToNextNode",!0);this.metadata=t,this._declarationNodeIndex=r}elementStart(t,r){this.isApplyingToNode(r)&&this.matchTNode(t,r)}elementEnd(t){this._declarationNodeIndex===t.index&&(this._appliesToNextNode=!1)}template(t,r){this.elementStart(t,r)}embeddedTView(t,r){return this.isApplyingToNode(t)?(this.crossesNgTemplate=!0,this.addMatch(-t.index,r),new jv(this.metadata)):null}isApplyingToNode(t){if(this._appliesToNextNode&&(this.metadata.flags&1)!==1){let r=this._declarationNodeIndex,n=t.parent;for(;n!==null&&n.type&8&&n.index!==r;)n=n.parent;return r===(n!==null?n.index:-1)}return this._appliesToNextNode}matchTNode(t,r){let n=this.metadata.predicate;if(Array.isArray(n))for(let a=0;a<n.length;a++){let i=n[a];this.matchTNodeWithReadOption(t,r,q7(r,i)),this.matchTNodeWithReadOption(t,r,Uo(r,t,i,!1,!1))}else n===Ii?r.type&4&&this.matchTNodeWithReadOption(t,r,-1):this.matchTNodeWithReadOption(t,r,Uo(r,t,n,!1,!1))}matchTNodeWithReadOption(t,r,n){if(n!==null){let a=this.metadata.read;if(a!==null)if(a===Xt||a===Js||a===Ii&&r.type&4)this.addMatch(r.index,-2);else{let i=Uo(r,t,a,!1,!1);i!==null&&this.addMatch(r.index,i)}else this.addMatch(r.index,n)}}addMatch(t,r){this.matches===null?this.matches=[t,r]:this.matches.push(t,r)}};function q7(e,t){let r=e.localNames;if(r!==null){for(let n=0;n<r.length;n+=2)if(r[n]===t)return r[n+1]}return null}function G7(e,t){return e.type&11?Ba(e,t):e.type&4?dd(e,t):null}function $7(e,t,r,n){return r===-1?G7(t,e):r===-2?U7(e,t,n):Si(e,e[le],r,t)}function U7(e,t,r){if(r===Xt)return Ba(t,e);if(r===Ii)return dd(t,e);if(r===Js)return Pv(t,e)}function Vv(e,t,r,n){let a=t[wn].queries[n];if(a.matches===null){let i=e.data,o=r.matches,l=[];for(let h=0;o!==null&&h<o.length;h+=2){let u=o[h];if(u<0)l.push(null);else{let c=i[u];l.push($7(t,c,o[h+1],r.metadata.read))}}a.matches=l}return a.matches}function Ou(e,t,r,n){let a=e.queries.getByIndex(r),i=a.matches;if(i!==null){let o=Vv(e,t,a,r);for(let l=0;l<i.length;l+=2){let h=i[l];if(h>0)n.push(o[l/2]);else{let u=i[l+1],c=t[-h];for(let m=Nt;m<c.length;m++){let b=c[m];b[Zr]===b[Mt]&&Ou(b[le],b,u,n)}if(c[Na]!==null){let m=c[Na];for(let b=0;b<m.length;b++){let g=m[b];Ou(g[le],g,u,n)}}}}}return n}function W7(e,t){return e[wn].queries[t].queryList}function Z7(e,t,r){let n=new tH((r&4)===4);return r9(e,t,n,n.destroy),(t[wn]??(t[wn]=new V7)).queries.push(new j7(n))-1}function Y7(e,t,r){let n=bt();return n.firstCreatePass&&(Q7(n,new B7(e,t,r),-1),n.staticViewQueries=!0),Z7(n,he(),t)}function K7(e){return e.split(",").map(t=>t.trim())}function Q7(e,t,r){e.queries===null&&(e.queries=new z7),e.queries.track(new H7(t,r))}function pd(e,t){return e.queries.getByIndex(t)}function J7(e,t){let r=e[le],n=pd(r,t);return n.crossesNgTemplate?Ou(r,e,t,[]):Vv(r,e,n,t)}var Di=class{},Bv=class extends Di{constructor(t){super();s(this,"injector");s(this,"componentFactoryResolver",new k7(this));s(this,"instance",null);let r=new Nc([...t.providers,{provide:Di,useValue:this},{provide:to,useValue:this.componentFactoryResolver}],t.parent||Gs(),t.debugName,new Set(["environment"]));this.injector=r,t.runEnvironmentInitializers&&r.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}};function X7(e,t,r=null){return new Bv({providers:e,parent:t,debugName:r,runEnvironmentInitializers:!0}).injector}var eG=(()=>{const t=class t{constructor(n){s(this,"_injector");s(this,"cachedInjectors",new Map);this._injector=n}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n)){let a=Vf(!1,n.type),i=a.length>0?X7([a],this._injector,`Standalone[${n.type.name}]`):null;this.cachedInjectors.set(n,i)}return this.cachedInjectors.get(n)}ngOnDestroy(){try{for(let n of this.cachedInjectors.values())n!==null&&n.destroy()}finally{this.cachedInjectors.clear()}}};s(t,"ɵprov",U({token:t,providedIn:"environment",factory:()=>new t(ee(An))}));let e=t;return e})();function Ct(e){return ji(()=>{let t=Hv(e),r=Kt(ge({},t),{decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===Pg.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:t.standalone?a=>a.get(eG).getOrCreateStandaloneInjector(r):null,getExternalStyles:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||ar.Emulated,styles:e.styles||Bt,_:null,schemas:e.schemas||null,tView:null,id:""});t.standalone&&ta("NgStandalone"),qv(r);let n=e.dependencies;return r.directiveDefs=$h(n,!1),r.pipeDefs=$h(n,!0),r.id=iG(r),r})}function tG(e){return ka(e)||O5(e)}function nG(e){return e!==null}function zv(e){return ji(()=>({type:e.type,bootstrap:e.bootstrap||Bt,declarations:e.declarations||Bt,imports:e.imports||Bt,exports:e.exports||Bt,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function rG(e,t){if(e==null)return Wr;let r={};for(let n in e)if(e.hasOwnProperty(n)){let a=e[n],i,o,l,h;Array.isArray(a)?(l=a[0],i=a[1],o=a[2]??i,h=a[3]||null):(i=a,o=a,l=Zs.None,h=null),r[i]=[n,l,h],t[i]=o}return r}function aG(e){if(e==null)return Wr;let t={};for(let r in e)e.hasOwnProperty(r)&&(t[e[r]]=r);return t}function hr(e){return ji(()=>{let t=Hv(e);return qv(t),t})}function za(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 Hv(e){let t={};return{type:e.type,providersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:t,inputConfig:e.inputs||Wr,exportAs:e.exportAs||null,standalone:e.standalone??!0,signals:e.signals===!0,selectors:e.selectors||Bt,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:rG(e.inputs,t),outputs:aG(e.outputs),debugInfo:null}}function qv(e){var t;(t=e.features)==null||t.forEach(r=>r(e))}function $h(e,t){if(!e)return null;let r=t?P5:tG;return()=>(typeof e=="function"?e():e).map(n=>r(n)).filter(nG)}function iG(e){let t=0,r=typeof e.consts=="function"?"":e.consts,n=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,r,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 a of n.join("|"))t=Math.imul(31,t)+a.charCodeAt(0)<<0;return t+=2147483648,"c"+t}function oG(e){return Object.getPrototypeOf(e.prototype).constructor}function Tr(e){let t=oG(e.type),r=!0,n=[e];for(;t;){let a;if(Ln(e))a=t.ɵcmp||t.ɵdir;else{if(t.ɵcmp)throw new $(903,!1);a=t.ɵdir}if(a){if(r){n.push(a);let o=e;o.inputs=Dl(e.inputs),o.declaredInputs=Dl(e.declaredInputs),o.outputs=Dl(e.outputs);let l=a.hostBindings;l&&dG(e,l);let h=a.viewQuery,u=a.contentQueries;if(h&&uG(e,h),u&&cG(e,u),sG(e,a),c5(e.outputs,a.outputs),Ln(a)&&a.data.animation){let c=e.data;c.animation=(c.animation||[]).concat(a.data.animation)}}let i=a.features;if(i)for(let o=0;o<i.length;o++){let l=i[o];l&&l.ngInherit&&l(e),l===Tr&&(r=!1)}}t=Object.getPrototypeOf(t)}lG(n)}function sG(e,t){for(let r in t.inputs){if(!t.inputs.hasOwnProperty(r)||e.inputs.hasOwnProperty(r))continue;let n=t.inputs[r];n!==void 0&&(e.inputs[r]=n,e.declaredInputs[r]=t.declaredInputs[r])}}function lG(e){let t=0,r=null;for(let n=e.length-1;n>=0;n--){let a=e[n];a.hostVars=t+=a.hostVars,a.hostAttrs=Ei(a.hostAttrs,r=Ei(r,a.hostAttrs))}}function Dl(e){return e===Wr?{}:e===Bt?[]:e}function uG(e,t){let r=e.viewQuery;r?e.viewQuery=(n,a)=>{t(n,a),r(n,a)}:e.viewQuery=t}function cG(e,t){let r=e.contentQueries;r?e.contentQueries=(n,a,i)=>{t(n,a,i),r(n,a,i)}:e.contentQueries=t}function dG(e,t){let r=e.hostBindings;r?e.hostBindings=(n,a)=>{t(n,a),r(n,a)}:e.hostBindings=t}function Gv(e){return e!==null&&(typeof e=="function"||typeof e=="object")}function Xs(e,t,r){return e[t]=r}function $v(e,t){return e[t]}function xn(e,t,r){let n=e[t];return Object.is(n,r)?!1:(e[t]=r,!0)}function _s(e,t,r,n){let a=xn(e,t,r);return xn(e,t+1,n)||a}function hG(e,t,r,n,a,i){let o=_s(e,t,r,n);return _s(e,t+2,a,i)||o}function pG(e,t,r,n,a,i,o,l,h){let u=t.consts,c=eo(t,e,4,o||null,l||null);Nv(t,r,c,xi(u,h),cv),c.mergedAttrs=Ei(c.mergedAttrs,c.attrs),fg(t,c);let m=c.tView=Xc(2,c,n,a,i,t.directiveRegistry,t.pipeRegistry,null,t.schemas,u,null);return t.queries!==null&&(t.queries.template(t,c),m.queries=t.queries.embeddedTView(c)),c}function Uv(e,t,r,n,a,i,o,l,h,u){let c=r+gt,m=t.firstCreatePass?pG(c,t,e,n,a,i,o,l,h):t.data[c];Va(m,!1);let b=mG(t,e);Gc()&&ld(t,e,b,m),Zi(b,e);let g=Sv(b,e,b,m);return e[c]=g,td(e,g),Rc(m)&&nd(t,e,m),h!=null&&uv(e,m,u),m}function Wt(e,t,r,n,a,i,o,l){let h=he(),u=bt(),c=xi(u.consts,i);return Uv(h,u,e,t,r,n,a,c,o,l),Wt}var mG=fG;function fG(e,t,r,n){return $c(!0),t[ft].createComment("")}var gG=new Q(""),vG=(()=>{const t=class t{};s(t,"ɵprov",U({token:t,providedIn:"root",factory:()=>new bG}));let e=t;return e})(),bG=class{constructor(){s(this,"queuedEffectCount",0);s(this,"queues",new Map)}schedule(e){this.enqueue(e)}remove(e){let t=e.zone,r=this.queues.get(t);r.has(e)&&(r.delete(e),this.queuedEffectCount--)}enqueue(e){let t=e.zone;this.queues.has(t)||this.queues.set(t,new Set);let r=this.queues.get(t);r.has(e)||(this.queuedEffectCount++,r.add(e))}flush(){for(;this.queuedEffectCount>0;)for(let[e,t]of this.queues)e===null?this.flushQueue(t):e.run(()=>this.flushQueue(t))}flushQueue(e){for(let t of e)e.delete(t),this.queuedEffectCount--,t.run()}};function md(e){return!!e&&typeof e.then=="function"}function Wv(e){return!!e&&typeof e.subscribe=="function"}var yG=new Q(""),Zv=(()=>{const t=class t{constructor(){s(this,"resolve");s(this,"reject");s(this,"initialized",!1);s(this,"done",!1);s(this,"donePromise",new Promise((n,a)=>{this.resolve=n,this.reject=a}));s(this,"appInits",D(yG,{optional:!0})??[]);s(this,"injector",D(Tt))}runInitializers(){if(this.initialized)return;let n=[];for(let i of this.appInits){let o=Tc(this.injector,i);if(md(o))n.push(o);else if(Wv(o)){let l=new Promise((h,u)=>{o.subscribe({complete:h,error:u})});n.push(l)}}let a=()=>{this.done=!0,this.resolve()};Promise.all(n).then(()=>{a()}).catch(i=>{this.reject(i)}),n.length===0&&a(),this.initialized=!0}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",U({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),_G=new Q("");function wG(){o4(()=>{throw new $(600,!1)})}function xG(e){return e.isBoundToModule}var EG=10,Ir=(()=>{const t=class t{constructor(){s(this,"_runningTick",!1);s(this,"_destroyed",!1);s(this,"_destroyListeners",[]);s(this,"_views",[]);s(this,"internalErrorHandler",D(K9));s(this,"afterRenderManager",D(Hg));s(this,"zonelessEnabled",D(Dg));s(this,"rootEffectScheduler",D(vG));s(this,"dirtyFlags",0);s(this,"tracingSnapshot",null);s(this,"externalTestViews",new Set);s(this,"afterTick",new Pe);s(this,"componentTypes",[]);s(this,"components",[]);s(this,"isStable",D(Wi).hasPendingTasks.pipe(wt(n=>!n)));s(this,"_injector",D(An));s(this,"_rendererFactory",null);s(this,"tickImpl",()=>{var a;if(this._runningTick)throw new $(101,!1);let n=xe(null);try{this._runningTick=!0,this.synchronize()}catch(i){this.internalErrorHandler(i)}finally{this._runningTick=!1,(a=this.tracingSnapshot)==null||a.dispose(),this.tracingSnapshot=null,xe(n),this.afterTick.next()}});D(Ki,{optional:!0})}get allViews(){return[...this.externalTestViews.keys(),...this._views]}get destroyed(){return this._destroyed}whenStable(){let n;return new Promise(a=>{n=this.isStable.subscribe({next:i=>{i&&a()}})}).finally(()=>{n.unsubscribe()})}get injector(){return this._injector}bootstrap(n,a){return this.bootstrapImpl(n,a)}bootstrapImpl(n,a,i=Tt.NULL){let o=n instanceof Dv;if(!this._injector.get(Zv).done){let g="";throw new $(405,g)}let l;o?l=n:l=this._injector.get(to).resolveComponentFactory(n),this.componentTypes.push(l.componentType);let h=xG(l)?void 0:this._injector.get(Di),u=a||l.selector,c=l.create(i,[],u,h),m=c.location.nativeElement,b=c.injector.get(gG,null);return b==null||b.registerApplication(m),c.onDestroy(()=>{this.detachView(c.hostView),Wo(this.components,c),b==null||b.unregisterApplication(m)}),this._loadComponent(c),c}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){this.tracingSnapshot!==null?this.tracingSnapshot.run(Qc.CHANGE_DETECTION,this.tickImpl):this.tickImpl()}synchronize(){this._rendererFactory===null&&!this._injector.destroyed&&(this._rendererFactory=this._injector.get(Sn,null,{optional:!0}));let n=0;for(;this.dirtyFlags!==0&&n++<EG;)this.synchronizeOnce()}synchronizeOnce(){var n,a,i,o;if(this.dirtyFlags&16&&(this.dirtyFlags&=-17,this.rootEffectScheduler.flush()),this.dirtyFlags&7){let l=!!(this.dirtyFlags&1);this.dirtyFlags&=-8,this.dirtyFlags|=8;for(let{_lView:h,notifyErrorHandler:u}of this.allViews)SG(h,u,l,this.zonelessEnabled);if(this.dirtyFlags&=-5,this.syncDirtyFlagsWithViews(),this.dirtyFlags&23)return}else(a=(n=this._rendererFactory)==null?void 0:n.begin)==null||a.call(n),(o=(i=this._rendererFactory)==null?void 0:i.end)==null||o.call(i);this.dirtyFlags&8&&(this.dirtyFlags&=-9,this.afterRenderManager.execute()),this.syncDirtyFlagsWithViews()}syncDirtyFlagsWithViews(){if(this.allViews.some(({_lView:n})=>Bi(n))){this.dirtyFlags|=2;return}else this.dirtyFlags&=-8}attachView(n){let a=n;this._views.push(a),a.attachToAppRef(this)}detachView(n){let a=n;Wo(this._views,a),a.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n),this._injector.get(_G,[]).forEach(a=>a(n))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(n=>n()),this._views.slice().forEach(n=>n.destroy())}finally{this._destroyed=!0,this._views=[],this._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>Wo(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new $(406,!1);let n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",U({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})();function Wo(e,t){let r=e.indexOf(t);r>-1&&e.splice(r,1)}function SG(e,t,r,n){!r&&!Bi(e)||_v(e,t,r&&!n?0:1)}function Ha(e,t,r,n){let a=he(),i=qi();if(xn(a,i,t)){bt();let o=pg();wq(o,a,e,t,r,n)}return Ha}function kG(e,t,r,n){return xn(e,qi(),r)?t+_i(r)+n:en}function CG(e,t,r,n,a,i){let o=h9(),l=_s(e,o,r,a);return Bc(2),l?t+_i(r)+n+_i(a)+i:en}function _o(e,t){return e<<17|t<<2}function Xr(e){return e>>17&32767}function IG(e){return(e&2)==2}function DG(e,t){return e&131071|t<<17}function Pu(e){return e|2}function Ra(e){return(e&131068)>>2}function Nl(e,t){return e&-131069|t<<2}function NG(e){return(e&1)===1}function Au(e){return e|1}function TG(e,t,r,n,a,i){let o=t.classBindings,l=Xr(o),h=Ra(o);e[n]=r;let u=!1,c;if(Array.isArray(r)){let m=r;c=m[1],(c===null||Vi(m,c)>0)&&(u=!0)}else c=r;if(a)if(h!==0){let m=Xr(e[l+1]);e[n+1]=_o(m,l),m!==0&&(e[m+1]=Nl(e[m+1],n)),e[l+1]=DG(e[l+1],n)}else e[n+1]=_o(l,0),l!==0&&(e[l+1]=Nl(e[l+1],n)),l=n;else e[n+1]=_o(h,0),l===0?l=n:e[h+1]=Nl(e[h+1],n),h=n;u&&(e[n+1]=Pu(e[n+1])),Uh(e,c,n,!0),Uh(e,c,n,!1),MG(t,c,e,n),o=_o(l,h),t.classBindings=o}function MG(e,t,r,n,a){let i=e.residualClasses;i!=null&&typeof t=="string"&&Vi(i,t)>=0&&(r[n+1]=Au(r[n+1]))}function Uh(e,t,r,n){let a=e[r+1],i=t===null,o=n?Xr(a):Ra(a),l=!1;for(;o!==0&&(l===!1||i);){let h=e[o],u=e[o+1];RG(h,t)&&(l=!0,e[o+1]=n?Au(u):Pu(u)),o=n?Xr(u):Ra(u)}l&&(e[r+1]=n?Pu(a):Au(a))}function RG(e,t){return e===null||t==null||(Array.isArray(e)?e[1]:e)===t?!0:Array.isArray(e)&&typeof t=="string"?Vi(e,t)>=0:!1}var yn={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function OG(e){return e.substring(yn.key,yn.keyEnd)}function PG(e){return AG(e),Yv(e,Kv(e,0,yn.textEnd))}function Yv(e,t){let r=yn.textEnd;return r===t?-1:(t=yn.keyEnd=LG(e,yn.key=t,r),Kv(e,t,r))}function AG(e){yn.key=0,yn.keyEnd=0,yn.value=0,yn.valueEnd=0,yn.textEnd=e.length}function Kv(e,t,r){for(;t<r&&e.charCodeAt(t)<=32;)t++;return t}function LG(e,t,r){for(;t<r&&e.charCodeAt(t)>32;)t++;return t}function qa(e,t,r){let n=he(),a=qi();if(xn(n,a,t)){let i=bt(),o=pg();gq(i,o,n,e,t,n[ft],r)}return qa}function Lu(e,t,r,n,a){rd(t,e,r,a?"class":"style",n)}function Dr(e,t){return jG(e,t,null,!0),Dr}function fd(e){VG($G,FG,e,!0)}function FG(e,t){for(let r=PG(t);r>=0;r=Yv(t,r))kc(e,OG(t),!0)}function jG(e,t,r,n){let a=he(),i=bt(),o=Bc(2);if(i.firstUpdatePass&&Jv(i,e,o,n),t!==en&&xn(a,o,t)){let l=i.data[Bn()];Xv(i,l,a,a[ft],e,a[o+1]=WG(t),n,o)}}function VG(e,t,r,n){let a=bt(),i=Bc(2);a.firstUpdatePass&&Jv(a,null,i,n);let o=he();if(r!==en&&xn(o,i,r)){let l=a.data[Bn()];if(e0(l)&&!Qv(a,i)){let h=l.classesWithoutHost;h!==null&&(r=hu(h,r||"")),Lu(a,l,o,r,n)}else UG(a,l,o,o[ft],o[i+1],o[i+1]=GG(e,t,r),n,i)}}function Qv(e,t){return t>=e.expandoStartIndex}function Jv(e,t,r,n){let a=e.data;if(a[r+1]===null){let i=a[Bn()],o=Qv(e,r);e0(i)&&t===null&&!o&&(t=!1),t=BG(a,i,t,n),TG(a,i,t,r,o)}}function BG(e,t,r,n){let a=v9(e),i=t.residualClasses;if(a===null)t.classBindings===0&&(r=Tl(null,e,t,r),r=Ni(r,t.attrs),i=null);else{let o=t.directiveStylingLast;if(o===-1||e[o]!==a)if(r=Tl(a,e,t,r),i===null){let l=zG(e,t);l!==void 0&&Array.isArray(l)&&(l=Tl(null,e,t,l[1]),l=Ni(l,t.attrs),HG(e,t,n,l))}else i=qG(e,t)}return i!==void 0&&(t.residualClasses=i),r}function zG(e,t,r){let n=t.classBindings;if(Ra(n)!==0)return e[Xr(n)]}function HG(e,t,r,n){let a=t.classBindings;e[Xr(a)]=n}function qG(e,t,r){let n,a=t.directiveEnd;for(let i=1+t.directiveStylingLast;i<a;i++){let o=e[i].hostAttrs;n=Ni(n,o)}return Ni(n,t.attrs)}function Tl(e,t,r,n,a){let i=null,o=r.directiveEnd,l=r.directiveStylingLast;for(l===-1?l=r.directiveStart:l++;l<o&&(i=t[l],n=Ni(n,i.hostAttrs),i!==e);)l++;return e!==null&&(r.directiveStylingLast=l),n}function Ni(e,t,r){let n=1,a=-1;if(t!==null)for(let i=0;i<t.length;i++){let o=t[i];typeof o=="number"?a=o:a===n&&(Array.isArray(e)||(e=e===void 0?[]:["",e]),kc(e,o,!0))}return e===void 0?null:e}function GG(e,t,r){if(r==null||r==="")return Bt;let n=[],a=Hr(r);if(Array.isArray(a))for(let i=0;i<a.length;i++)e(n,a[i],!0);else if(typeof a=="object")for(let i in a)a.hasOwnProperty(i)&&e(n,i,a[i]);else typeof a=="string"&&t(n,a);return n}function $G(e,t,r){let n=String(t);n!==""&&!n.includes(" ")&&kc(e,n,r)}function UG(e,t,r,n,a,i,o,l){a===en&&(a=Bt);let h=0,u=0,c=0<a.length?a[0]:null,m=0<i.length?i[0]:null;for(;c!==null||m!==null;){let b=h<a.length?a[h+1]:void 0,g=u<i.length?i[u+1]:void 0,w=null,x;c===m?(h+=2,u+=2,b!==g&&(w=m,x=g)):m===null||c!==null&&c<m?(h+=2,w=c):(u+=2,w=m,x=g),w!==null&&Xv(e,t,r,n,w,x,o,l),c=h<a.length?a[h]:null,m=u<i.length?i[u]:null}}function Xv(e,t,r,n,a,i,o,l){if(!(t.type&3))return;let h=e.data,u=h[l+1],c=NG(u)?Wh(h,t,r,a,Ra(u)):void 0;if(!ws(c)){ws(i)||IG(u)&&(i=Wh(h,null,r,a,l));let m=Qf(Bn(),r);Vq(n,o,m,a,i)}}function Wh(e,t,r,n,a,i){let o=t===null,l;for(;a>0;){let h=e[a],u=Array.isArray(h),c=u?h[1]:h,m=c===null,b=r[a+1];b===en&&(b=m?Bt:void 0);let g=m?_l(b,n):c===n?b:void 0;if(u&&!ws(g)&&(g=_l(h,n)),ws(g)&&(l=g,o))return l;let w=e[a+1];a=o?Xr(w):Ra(w)}if(t!==null){let h=t.residualClasses;h!=null&&(l=_l(h,n))}return l}function ws(e){return e!==void 0}function WG(e,t){return e==null||e===""||typeof e=="object"&&(e=ln(Hr(e))),e}function e0(e,t){return(e.flags&8)!==0}var ZG=class{destroy(e){}updateValue(e,t){}swap(e,t){let r=Math.min(e,t),n=Math.max(e,t),a=this.detach(n);if(n-r>1){let i=this.detach(r);this.attach(r,a),this.attach(n,i)}else this.attach(r,a)}move(e,t){this.attach(t,this.detach(e))}};function Ml(e,t,r,n,a){return e===r&&Object.is(t,n)?1:Object.is(a(e,t),a(r,n))?-1:0}function YG(e,t,r){let n,a,i=0,o=e.length-1;if(Array.isArray(t)){let l=t.length-1;for(;i<=o&&i<=l;){let h=e.at(i),u=t[i],c=Ml(i,h,i,u,r);if(c!==0){c<0&&e.updateValue(i,u),i++;continue}let m=e.at(o),b=t[l],g=Ml(o,m,l,b,r);if(g!==0){g<0&&e.updateValue(o,b),o--,l--;continue}let w=r(i,h),x=r(o,m),S=r(i,u);if(Object.is(S,x)){let N=r(l,b);Object.is(N,w)?(e.swap(i,o),e.updateValue(o,b),l--,o--):e.move(o,i),e.updateValue(i,u),i++;continue}if(n??(n=new Kh),a??(a=Yh(e,i,o,r)),Fu(e,n,i,S))e.updateValue(i,u),i++,o++;else if(a.has(S))n.set(w,e.detach(i)),o--;else{let N=e.create(i,t[i]);e.attach(i,N),i++,o++}}for(;i<=l;)Zh(e,n,r,i,t[i]),i++}else if(t!=null){let l=t[Symbol.iterator](),h=l.next();for(;!h.done&&i<=o;){let u=e.at(i),c=h.value,m=Ml(i,u,i,c,r);if(m!==0)m<0&&e.updateValue(i,c),i++,h=l.next();else{n??(n=new Kh),a??(a=Yh(e,i,o,r));let b=r(i,c);if(Fu(e,n,i,b))e.updateValue(i,c),i++,o++,h=l.next();else if(!a.has(b))e.attach(i,e.create(i,c)),i++,o++,h=l.next();else{let g=r(i,u);n.set(g,e.detach(i)),o--}}}for(;!h.done;)Zh(e,n,r,e.length,h.value),h=l.next()}for(;i<=o;)e.destroy(e.detach(o--));n==null||n.forEach(l=>{e.destroy(l)})}function Fu(e,t,r,n){return t!==void 0&&t.has(n)?(e.attach(r,t.get(n)),t.delete(n),!0):!1}function Zh(e,t,r,n,a){if(Fu(e,t,n,r(n,a)))e.updateValue(n,a);else{let i=e.create(n,a);e.attach(n,i)}}function Yh(e,t,r,n){let a=new Set;for(let i=t;i<=r;i++)a.add(n(i,e.at(i)));return a}var Kh=class{constructor(){s(this,"kvMap",new Map);s(this,"_vMap")}has(e){return this.kvMap.has(e)}delete(e){if(!this.has(e))return!1;let t=this.kvMap.get(e);return this._vMap!==void 0&&this._vMap.has(t)?(this.kvMap.set(e,this._vMap.get(t)),this._vMap.delete(t)):this.kvMap.delete(e),!0}get(e){return this.kvMap.get(e)}set(e,t){if(this.kvMap.has(e)){let r=this.kvMap.get(e);this._vMap===void 0&&(this._vMap=new Map);let n=this._vMap;for(;n.has(r);)r=n.get(r);n.set(r,t)}else this.kvMap.set(e,t)}forEach(e){for(let[t,r]of this.kvMap)if(e(r,t),this._vMap!==void 0){let n=this._vMap;for(;n.has(r);)r=n.get(r),e(r,t)}}};function sn(e,t){ta("NgControlFlow");let r=he(),n=qi(),a=r[n]!==en?r[n]:-1,i=a!==-1?xs(r,gt+a):void 0,o=0;if(xn(r,n,e)){let l=xe(null);try{if(i!==void 0&&Cv(i,o),e!==-1){let h=gt+e,u=xs(r,h),c=ju(r[le],h),m=Ma(u,c.tView.ssrId),b=Ji(r,c,t,{dehydratedView:m});Xi(u,b,o,Ta(c,m))}}finally{xe(l)}}else if(i!==void 0){let l=kv(i,o);l!==void 0&&(l[xt]=t)}}var KG=class{constructor(e,t,r){s(this,"lContainer");s(this,"$implicit");s(this,"$index");this.lContainer=e,this.$implicit=t,this.$index=r}get $count(){return this.lContainer.length-Nt}};function QG(e){return e}function JG(e,t){return t}var XG=class{constructor(e,t,r){s(this,"hasEmptyBlock");s(this,"trackByFn");s(this,"liveCollection");this.hasEmptyBlock=e,this.trackByFn=t,this.liveCollection=r}};function t0(e,t,r,n,a,i,o,l,h,u,c,m,b){ta("NgControlFlow");let g=he(),w=bt(),x=h!==void 0,S=he(),N=o,L=new XG(x,N);S[gt+e]=L,Uv(g,w,e+1,t,r,n,a,xi(w.consts,i))}var e$=class extends ZG{constructor(t,r,n){super();s(this,"lContainer");s(this,"hostLView");s(this,"templateTNode");s(this,"operationsCounter");s(this,"needsIndexUpdate",!1);this.lContainer=t,this.hostLView=r,this.templateTNode=n}get length(){return this.lContainer.length-Nt}at(t){return this.getLView(t)[xt].$implicit}attach(t,r){let n=r[Ia];this.needsIndexUpdate||(this.needsIndexUpdate=t!==this.length),Xi(this.lContainer,r,t,Ta(this.templateTNode,n))}detach(t){return this.needsIndexUpdate||(this.needsIndexUpdate=t!==this.length-1),t$(this.lContainer,t)}create(t,r){var i;let n=Ma(this.lContainer,this.templateTNode.tView.ssrId),a=Ji(this.hostLView,this.templateTNode,new KG(this.lContainer,r,t),{dehydratedView:n});return(i=this.operationsCounter)==null||i.recordCreate(),a}destroy(t){var r;Ys(t[le],t),(r=this.operationsCounter)==null||r.recordDestroy()}updateValue(t,r){this.getLView(t)[xt].$implicit=r}reset(){var t;this.needsIndexUpdate=!1,(t=this.operationsCounter)==null||t.reset()}updateIndexes(){if(this.needsIndexUpdate)for(let t=0;t<this.length;t++)this.getLView(t)[xt].$index=t}getLView(t){return n$(this.lContainer,t)}};function n0(e){let t=xe(null),r=Bn();try{let n=he(),a=n[le],i=n[r],o=r+1,l=xs(n,o);if(i.liveCollection===void 0){let u=ju(a,o);i.liveCollection=new e$(l,n,u)}else i.liveCollection.reset();let h=i.liveCollection;if(YG(h,e,i.trackByFn),h.updateIndexes(),i.hasEmptyBlock){let u=qi(),c=h.length===0;if(xn(n,u,c)){let m=r+2,b=xs(n,m);if(c){let g=ju(a,m),w=Ma(b,g.tView.ssrId),x=Ji(n,g,void 0,{dehydratedView:w});Xi(b,x,0,Ta(g,w))}else Cv(b,0)}}}finally{xe(t)}}function xs(e,t){return e[t]}function t$(e,t){return ki(e,t)}function n$(e,t){return kv(e,t)}function ju(e,t){return Oc(e,t)}function ke(e,t,r,n){let a=he(),i=bt(),o=gt+e,l=a[ft],h=i.firstCreatePass?Mv(o,i,a,t,cv,s9(),r,n):i.data[o],u=r$(i,a,h,l,t);a[o]=u;let c=Rc(h);return Va(h,!0),av(l,u,h),!od(h)&&Gc()&&ld(i,a,u,h),(a9()===0||c)&&Zi(u,a),i9(),c&&(nd(i,a,h),Wg(i,h,a)),n!==null&&uv(a,h),ke}function Ce(){let e=Jt();ag()?ig():(e=e.parent,Va(e,!1));let t=e;l9(t)&&u9(),o9();let r=bt();return r.firstCreatePass&&Rv(r,t),t.classesWithoutHost!=null&&E9(t)&&Lu(r,t,he(),t.classesWithoutHost,!0),t.stylesWithoutHost!=null&&S9(t)&&Lu(r,t,he(),t.stylesWithoutHost,!1),Ce}function Yt(e,t,r,n){return ke(e,t,r,n),Ce(),Yt}var r$=(e,t,r,n,a,i)=>($c(!0),nv(n,a,_9()));function r0(){return he()}var Or=void 0;function a$(e){let t=Math.floor(Math.abs(e)),r=e.toString().replace(/^[^.]*\.?/,"").length;return t===1&&r===0?1:5}var i$=["en",[["a","p"],["AM","PM"],Or],[["AM","PM"],Or,Or],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],Or,[["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"]],Or,[["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}",Or,"{1} 'at' {0}",Or],[".",",",";","%","+","-","E","×","‰","∞","NaN",":"],["#,##0.###","#,##0%","¤#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",a$],pi={};function o$(e,t,r){typeof t!="string"&&(r=t,t=e[ct.LocaleId]),t=t.toLowerCase().replace(/_/g,"-"),pi[t]=e,r&&(pi[t][ct.ExtraData]=r)}function kn(e){let t=s$(e),r=Qh(t);if(r)return r;let n=t.split("-")[0];if(r=Qh(n),r)return r;if(n==="en")return i$;throw new $(701,!1)}function Qh(e){return e in pi||(pi[e]=ha.ng&&ha.ng.common&&ha.ng.common.locales&&ha.ng.common.locales[e]),pi[e]}var ct=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}(ct||{});function s$(e){return e.toLowerCase().replace(/_/g,"-")}var Vu="en-US";function l$(e){typeof e=="string"&&e.toLowerCase().replace(/_/g,"-")}function Jh(e,t,r){return function n(a){if(a===Function)return r;let i=Fa(e)?jn(e.index,t):t;cd(i,5);let o=t[xt],l=Xh(t,o,r,a),h=n.__ngNextListenerFn__;for(;h;)l=Xh(t,o,h,a)&&l,h=h.__ngNextListenerFn__;return l}}function Xh(e,t,r,n){let a=xe(null);try{return Kr(6,t,r),r(n)!==!1}catch(i){return u$(e,i),!1}finally{xe(a)}}function u$(e,t){let r=e[Da],n=r?r.get(zn,null):null;n&&n.handleError(t)}function ep(e,t,r,n,a,i){let o=t[r],l=t[le],h=l.data[r].outputs[n],u=o[h],c=l.firstCreatePass?Vc(l):null,m=jc(t),b=u.subscribe(i),g=m.length;m.push(i,b),c&&c.push(a,e.index,g,-(g+1))}function el(e,t,r,n){let a=he(),i=bt(),o=Jt();return d$(i,a,a[ft],o,e,t,n),el}function c$(e,t,r,n){let a=e.cleanup;if(a!=null)for(let i=0;i<a.length-1;i+=2){let o=a[i];if(o===r&&a[i+1]===n){let l=t[ya],h=a[i+2];return l.length>h?l[h]:null}typeof o=="string"&&(i+=2)}return null}function d$(e,t,r,n,a,i,o){var m,b;let l=Rc(n),h=e.firstCreatePass?Vc(e):null,u=jc(t),c=!0;if(n.type&3||o){let g=Vn(n,t),w=o?o(g):g,x=u.length,S=o?L=>o(Fn(L[n.index])):n.index,N=null;if(!o&&l&&(N=c$(e,t,a,n.index)),N!==null){let L=N.__ngLastListenerFn__||N;L.__ngNextListenerFn__=i,N.__ngLastListenerFn__=i,c=!1}else{i=Jh(n,t,i);let L=r.listen(w,a,i);u.push(i,L),h&&h.push(a,S,x,x+1)}}else i=Jh(n,t,i);if(c){let g=(m=n.outputs)==null?void 0:m[a],w=(b=n.hostDirectiveOutputs)==null?void 0:b[a];if(w&&w.length)for(let x=0;x<w.length;x+=2){let S=w[x],N=w[x+1];ep(n,t,S,N,a,i)}if(g&&g.length)for(let x of g)ep(n,t,x,a,a,i)}}function Rt(e=1){return y9(e)}function h$(e,t){let r=null,n=XH(e);for(let a=0;a<t.length;a++){let i=t[a];if(i==="*"){r=a;continue}if(n===null?tv(e,i,!0):nq(n,i))return a}return r}function Ga(e){let t=he()[dn][Ht];if(!t.projection){let r=e?e.length:1,n=t.projection=T5(r,null),a=n.slice(),i=t.child;for(;i!==null;){if(i.type!==128){let o=e?h$(i,e):0;o!==null&&(a[o]?a[o].projectionNext=i:n[o]=i,a[o]=i)}i=i.next}}}function cn(e,t=0,r,n,a,i){let o=he(),l=bt(),h=null,u=eo(l,gt+e,16,null,null);u.projection===null&&(u.projection=t),ig();let c=!o[Ia]||eg();o[dn][Ht].projection[u.projection]===null&&h!==null?p$(o,l,h):c&&!od(u)&&Fq(l,o,u)}function p$(e,t,r){let n=gt+r,a=t.data[n],i=e[n],o=Ma(i,a.tView.ssrId),l=Ji(e,a,void 0,{dehydratedView:o});Xi(i,l,0,Ta(a,o))}function tp(e,t,r){Y7(e,t,r)}function np(e){let t=he(),r=bt(),n=sg();zc(n+1);let a=pd(r,n);if(e.dirty&&X5(t)===((a.metadata.flags&2)===2)){if(a.matches===null)e.reset([]);else{let i=J7(t,n);e.reset(i,X9),e.notifyOnChanges()}return!0}return!1}function rp(){return W7(he(),sg())}function Ae(e,t=""){let r=he(),n=bt(),a=e+gt,i=n.firstCreatePass?eo(n,a,1,t,null):n.data[a],o=m$(n,r,i,t);r[a]=o,Gc()&&ld(n,r,o,i),Va(i,!1)}var m$=(e,t,r,n,a)=>($c(!0),oq(t[ft],n));function mt(e){return lr("",e,""),mt}function lr(e,t,r){let n=he(),a=kG(n,e,t,r);return a!==en&&a0(n,Bn(),a),lr}function gd(e,t,r,n,a){let i=he(),o=CG(i,e,t,r,n,a);return o!==en&&a0(i,Bn(),o),gd}function a0(e,t,r){let n=Qf(t,e);sq(e[ft],n,r)}var i0={};function o0(e){let t=bt(),r=he(),n=e+gt,a=eo(t,n,128,null,null);return Va(a,!1),Ac(t,r,n,i0),o0}function ap(e){ta("NgLet");let t=bt(),r=he(),n=Bn();return Ac(t,r,n,e),e}function ip(e){let t=d9(),r=Pc(t,gt+e);if(r===i0)throw new $(314,!1);return r}function f$(e,t,r){let n=bt();if(n.firstCreatePass){let a=Ln(e);Bu(r,n.data,n.blueprint,a,!0),Bu(t,n.data,n.blueprint,a,!1)}}function Bu(e,t,r,n,a){if(e=Lt(e),Array.isArray(e))for(let i=0;i<e.length;i++)Bu(e[i],t,r,n,a);else{let i=bt(),o=he(),l=Jt(),h=Ca(e)?e:Lt(e.provide),u=Hf(e),c=l.providerIndexes&1048575,m=l.directiveStart,b=l.providerIndexes>>20;if(Ca(e)||!e.multi){let g=new Gi(u,a,jt),w=Ol(h,t,a?c:c+b,m);w===-1?(Eu(fs(l,o),i,h),Rl(i,e,t.length),t.push(h),l.directiveStart++,l.directiveEnd++,a&&(l.providerIndexes+=1048576),r.push(g),o.push(g)):(r[w]=g,o[w]=g)}else{let g=Ol(h,t,c+b,m),w=Ol(h,t,c,c+b),x=g>=0&&r[g],S=w>=0&&r[w];if(a&&!S||!a&&!x){Eu(fs(l,o),i,h);let N=b$(a?v$:g$,r.length,a,n,u);!a&&S&&(r[w].providerFactory=N),Rl(i,e,t.length,0),t.push(h),l.directiveStart++,l.directiveEnd++,a&&(l.providerIndexes+=1048576),r.push(N),o.push(N)}else{let N=s0(r[a?w:g],u,!a&&n);Rl(i,e,g>-1?g:w,N)}!a&&n&&S&&r[w].componentProviders++}}}function Rl(e,t,r,n){let a=Ca(t),i=V5(t);if(a||i){let o=(i?Lt(t.useClass):t).prototype.ngOnDestroy;if(o){let l=e.destroyHooks||(e.destroyHooks=[]);if(!a&&t.multi){let h=l.indexOf(r);h===-1?l.push(r,[n,o]):l[h+1].push(n,o)}else l.push(r,o)}}}function s0(e,t,r){return r&&e.componentProviders++,e.multi.push(t)-1}function Ol(e,t,r,n){for(let a=r;a<n;a++)if(t[a]===e)return a;return-1}function g$(e,t,r,n,a){return zu(this.multi,[])}function v$(e,t,r,n,a){let i=this.multi,o;if(this.providerFactory){let l=this.providerFactory.componentProviders,h=Si(n,n[le],this.providerFactory.index,a);o=h.slice(0,l),zu(i,o);for(let u=l;u<h.length;u++)o.push(h[u])}else o=[],zu(i,o);return o}function zu(e,t){for(let r=0;r<e.length;r++){let n=e[r];t.push(n())}return t}function b$(e,t,r,n,a){let i=new Gi(e,r,jt);return i.multi=[],i.index=t,i.componentProviders=0,s0(i,a,n&&!r),i}function y$(e,t=[]){return r=>{r.providersResolver=(n,a)=>f$(n,a?a(e):e,t)}}function _$(e,t,r){let n=Hi()+e,a=he();return a[n]===en?Xs(a,n,t()):$v(a,n)}function w$(e,t,r,n){return u0(he(),Hi(),e,t,r,n)}function x$(e,t,r,n,a,i,o,l){let h=Hi()+e,u=he(),c=hG(u,h,r,n,a,i);return xn(u,h+4,o)||c?Xs(u,h+5,t(r,n,a,i,o)):$v(u,h+5)}function l0(e,t){let r=e[t];return r===en?void 0:r}function u0(e,t,r,n,a,i){let o=t+r;return xn(e,o,a)?Xs(e,o+1,i?n.call(i,a):n(a)):l0(e,o+1)}function E$(e,t,r,n,a,i,o){let l=t+r;return _s(e,l,a,i)?Xs(e,l+2,o?n.call(o,a,i):n(a,i)):l0(e,l+2)}function Ye(e,t){let r=bt(),n,a=e+gt;r.firstCreatePass?(n=S$(t,r.pipeRegistry),r.data[a]=n,n.onDestroy&&(r.destroyHooks??(r.destroyHooks=[])).push(a,n.onDestroy)):n=r.data[a];let i=n.factory||(n.factory=Ur(n.type)),o=Vt(jt);try{let l=ms(!1),h=i();return ms(l),Ac(r,he(),a,h),h}finally{Vt(o)}}function S$(e,t){if(t)for(let r=t.length-1;r>=0;r--){let n=t[r];if(e===n.name)return n}}function rt(e,t,r){let n=e+gt,a=he(),i=Pc(a,n);return d0(a,n)?u0(a,Hi(),t,i.transform,r,i):i.transform(r)}function c0(e,t,r,n){let a=e+gt,i=he(),o=Pc(i,a);return d0(i,a)?E$(i,Hi(),t,o.transform,r,n,o):o.transform(r,n)}function d0(e,t){return e[le].data[t].pure}var k$=class{constructor(e){s(this,"full");s(this,"major");s(this,"minor");s(this,"patch");this.full=e;let t=e.split(".");this.major=t[0],this.minor=t[1],this.patch=t.slice(2).join(".")}},op=new k$("19.2.14"),C$=(()=>{const t=class t{constructor(){s(this,"zone",D(je));s(this,"changeDetectionScheduler",D(Ui));s(this,"applicationRef",D(Ir));s(this,"_onMicrotaskEmptySubscription")}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){var n;(n=this._onMicrotaskEmptySubscription)==null||n.unsubscribe()}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",U({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})();function I$({ngZoneFactory:e,ignoreChangesOutsideZone:t,scheduleInRootZone:r}){return e??(e=()=>new je(Kt(ge({},D$()),{scheduleInRootZone:r}))),[{provide:je,useFactory:e},{provide:ls,multi:!0,useFactory:()=>{let n=D(C$,{optional:!0});return()=>n.initialize()}},{provide:ls,multi:!0,useFactory:()=>{let n=D(N$);return()=>{n.initialize()}}},t===!0?{provide:Ng,useValue:!0}:[],{provide:Tg,useValue:r??Ig}]}function D$(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:(e==null?void 0:e.eventCoalescing)??!1,shouldCoalesceRunChangeDetection:(e==null?void 0:e.runCoalescing)??!1}}var N$=(()=>{const t=class t{constructor(){s(this,"subscription",new Zt);s(this,"initialized",!1);s(this,"zone",D(je));s(this,"pendingTasks",D(Wi))}initialize(){if(this.initialized)return;this.initialized=!0;let n=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(n=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{je.assertNotInAngularZone(),queueMicrotask(()=>{n!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(n),n=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{je.assertInAngularZone(),n??(n=this.pendingTasks.add())}))}ngOnDestroy(){this.subscription.unsubscribe()}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",U({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),T$=(()=>{var t;const r=class r{constructor(){s(this,"appRef",D(Ir));s(this,"taskService",D(Wi));s(this,"ngZone",D(je));s(this,"zonelessEnabled",D(Dg));s(this,"tracing",D(Ki,{optional:!0}));s(this,"disableScheduling",D(Ng,{optional:!0})??!1);s(this,"zoneIsDefined",typeof Zone<"u"&&!!Zone.root.run);s(this,"schedulerTickApplyArgs",[{data:{__scheduler_tick__:!0}}]);s(this,"subscriptions",new Zt);s(this,"angularZoneId",this.zoneIsDefined?(t=this.ngZone._inner)==null?void 0:t.get(vs):null);s(this,"scheduleInRootZone",!this.zonelessEnabled&&this.zoneIsDefined&&(D(Tg,{optional:!0})??!1));s(this,"cancelScheduledCallback",null);s(this,"useMicrotaskScheduler",!1);s(this,"runningTick",!1);s(this,"pendingRenderTaskId",null);this.subscriptions.add(this.appRef.afterTick.subscribe(()=>{this.runningTick||this.cleanup()})),this.subscriptions.add(this.ngZone.onUnstable.subscribe(()=>{this.runningTick||this.cleanup()})),this.disableScheduling||(this.disableScheduling=!this.zonelessEnabled&&(this.ngZone instanceof W9||!this.zoneIsDefined))}notify(a){var l;if(!this.zonelessEnabled&&a===5)return;let i=!1;switch(a){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}case 9:case 8:case 7:case 10:default:this.appRef.dirtyFlags|=8}if(this.appRef.tracingSnapshot=((l=this.tracing)==null?void 0:l.snapshot(this.appRef.tracingSnapshot))??null,!this.shouldScheduleTick(i))return;let o=this.useMicrotaskScheduler?Dh:Mg;this.pendingRenderTaskId=this.taskService.add(),this.scheduleInRootZone?this.cancelScheduledCallback=Zone.root.run(()=>o(()=>this.tick())):this.cancelScheduledCallback=this.ngZone.runOutsideAngular(()=>o(()=>this.tick()))}shouldScheduleTick(a){return!(this.disableScheduling&&!a||this.appRef.destroyed||this.pendingRenderTaskId!==null||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(vs+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 a=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick()},void 0,this.schedulerTickApplyArgs)}catch(i){throw this.taskService.remove(a),i}finally{this.cleanup()}this.useMicrotaskScheduler=!0,Dh(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(a)})}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){var a;if(this.runningTick=!1,(a=this.cancelScheduledCallback)==null||a.call(this),this.cancelScheduledCallback=null,this.pendingRenderTaskId!==null){let i=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(i)}}};s(r,"ɵfac",function(a){return new(a||r)}),s(r,"ɵprov",U({token:r,factory:r.ɵfac,providedIn:"root"}));let e=r;return e})();function M$(){return typeof $localize<"u"&&$localize.locale||Vu}var tl=new Q("",{providedIn:"root",factory:()=>D(tl,be.Optional|be.SkipSelf)||M$()}),Hu=new Q(""),R$=new Q("");function Qa(e){return!e.moduleRef}function O$(e){let t=Qa(e)?e.r3Injector:e.moduleRef.injector,r=t.get(je);return r.run(()=>{Qa(e)?e.r3Injector.resolveInjectorInitializers():e.moduleRef.resolveInjectorInitializers();let n=t.get(zn,null),a;if(r.runOutsideAngular(()=>{a=r.onError.subscribe({next:i=>{n.handleError(i)}})}),Qa(e)){let i=()=>t.destroy(),o=e.platformInjector.get(Hu);o.add(i),t.onDestroy(()=>{a.unsubscribe(),o.delete(i)})}else{let i=()=>e.moduleRef.destroy(),o=e.platformInjector.get(Hu);o.add(i),e.moduleRef.onDestroy(()=>{Wo(e.allPlatformModules,e.moduleRef),a.unsubscribe(),o.delete(i)})}return A$(n,r,()=>{let i=t.get(Zv);return i.runInitializers(),i.donePromise.then(()=>{let o=t.get(tl,Vu);if(l$(o||Vu),!t.get(R$,!0))return Qa(e)?t.get(Ir):(e.allPlatformModules.push(e.moduleRef),e.moduleRef);if(Qa(e)){let l=t.get(Ir);return e.rootComponent!==void 0&&l.bootstrap(e.rootComponent),l}else return P$(e.moduleRef,e.allPlatformModules),e.moduleRef})})})}function P$(e,t){let r=e.injector.get(Ir);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(n=>r.bootstrap(n));else if(e.instance.ngDoBootstrap)e.instance.ngDoBootstrap(r);else throw new $(-403,!1);t.push(e)}function A$(e,t,r){try{let n=r();return md(n)?n.catch(a=>{throw t.runOutsideAngular(()=>e.handleError(a)),a}):n}catch(n){throw t.runOutsideAngular(()=>e.handleError(n)),n}}var Zo=null;function L$(e=[],t){return Tt.create({name:t,providers:[{provide:Dc,useValue:"platform"},{provide:Hu,useValue:new Set([()=>Zo=null])},...e]})}function F$(e=[]){if(Zo)return Zo;let t=L$(e);return Zo=t,wG(),j$(t),t}function j$(e){let t=e.get(Vg,null);Tc(e,()=>{t==null||t.forEach(r=>r())})}function V$(){return!1}var nl=(()=>{class e{}return s(e,"__NG_ELEMENT_ID__",B$),e})();function B$(e){return z$(Jt(),he(),(e&16)===16)}function z$(e,t,r){if(Fa(e)&&!r){let n=jn(e.index,t);return new Ci(n,n)}else if(e.type&175){let n=t[dn];return new Ci(n,t)}return null}var H$=class{constructor(){}supports(e){return e instanceof Map||Gv(e)}create(){return new q$}},q$=class{constructor(){s(this,"_records",new Map);s(this,"_mapHead",null);s(this,"_appendAfter",null);s(this,"_previousMapHead",null);s(this,"_changesHead",null);s(this,"_changesTail",null);s(this,"_additionsHead",null);s(this,"_additionsTail",null);s(this,"_removalsHead",null);s(this,"_removalsTail",null)}get isDirty(){return this._additionsHead!==null||this._changesHead!==null||this._removalsHead!==null}forEachItem(e){let t;for(t=this._mapHead;t!==null;t=t._next)e(t)}forEachPreviousItem(e){let t;for(t=this._previousMapHead;t!==null;t=t._nextPrevious)e(t)}forEachChangedItem(e){let t;for(t=this._changesHead;t!==null;t=t._nextChanged)e(t)}forEachAddedItem(e){let t;for(t=this._additionsHead;t!==null;t=t._nextAdded)e(t)}forEachRemovedItem(e){let t;for(t=this._removalsHead;t!==null;t=t._nextRemoved)e(t)}diff(e){if(!e)e=new Map;else if(!(e instanceof Map||Gv(e)))throw new $(900,!1);return this.check(e)?this:null}onDestroy(){}check(e){this._reset();let t=this._mapHead;if(this._appendAfter=null,this._forEach(e,(r,n)=>{if(t&&t.key===n)this._maybeAddToChanges(t,r),this._appendAfter=t,t=t._next;else{let a=this._getOrCreateRecordForKey(n,r);t=this._insertBeforeOrAppend(t,a)}}),t){t._prev&&(t._prev._next=null),this._removalsHead=t;for(let r=t;r!==null;r=r._nextRemoved)r===this._mapHead&&(this._mapHead=null),this._records.delete(r.key),r._nextRemoved=r._next,r.previousValue=r.currentValue,r.currentValue=null,r._prev=null,r._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(e,t){if(e){let r=e._prev;return t._next=e,t._prev=r,e._prev=t,r&&(r._next=t),e===this._mapHead&&(this._mapHead=t),this._appendAfter=e,e}return this._appendAfter?(this._appendAfter._next=t,t._prev=this._appendAfter):this._mapHead=t,this._appendAfter=t,null}_getOrCreateRecordForKey(e,t){if(this._records.has(e)){let n=this._records.get(e);this._maybeAddToChanges(n,t);let a=n._prev,i=n._next;return a&&(a._next=i),i&&(i._prev=a),n._next=null,n._prev=null,n}let r=new G$(e);return this._records.set(e,r),r.currentValue=t,this._addToAdditions(r),r}_reset(){if(this.isDirty){let e;for(this._previousMapHead=this._mapHead,e=this._previousMapHead;e!==null;e=e._next)e._nextPrevious=e._next;for(e=this._changesHead;e!==null;e=e._nextChanged)e.previousValue=e.currentValue;for(e=this._additionsHead;e!=null;e=e._nextAdded)e.previousValue=e.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(e,t){Object.is(t,e.currentValue)||(e.previousValue=e.currentValue,e.currentValue=t,this._addToChanges(e))}_addToAdditions(e){this._additionsHead===null?this._additionsHead=this._additionsTail=e:(this._additionsTail._nextAdded=e,this._additionsTail=e)}_addToChanges(e){this._changesHead===null?this._changesHead=this._changesTail=e:(this._changesTail._nextChanged=e,this._changesTail=e)}_forEach(e,t){e instanceof Map?e.forEach(t):Object.keys(e).forEach(r=>t(e[r],r))}},G$=class{constructor(e){s(this,"key");s(this,"previousValue",null);s(this,"currentValue",null);s(this,"_nextPrevious",null);s(this,"_next",null);s(this,"_prev",null);s(this,"_nextAdded",null);s(this,"_nextRemoved",null);s(this,"_nextChanged",null);this.key=e}};function sp(){return new h0([new H$])}var h0=(()=>{const t=class t{constructor(n){s(this,"factories");this.factories=n}static create(n,a){if(a){let i=a.factories.slice();n=n.concat(i)}return new t(n)}static extend(n){return{provide:t,useFactory:a=>t.create(n,a||sp()),deps:[[t,new I5,new C5]]}}find(n){let a=this.factories.find(i=>i.supports(n));if(a)return a;throw new $(901,!1)}};s(t,"ɵprov",U({token:t,providedIn:"root",factory:sp}));let e=t;return e})();function $$(e){try{let{rootComponent:t,appProviders:r,platformProviders:n}=e,a=F$(n),i=[I$({}),{provide:Ui,useExisting:T$},...r||[]],o=new Bv({providers:i,parent:a,debugName:"",runEnvironmentInitializers:!1});return O$({r3Injector:o.injector,platformInjector:a,rootComponent:t})}catch(t){return Promise.reject(t)}finally{}}function oi(e){return typeof e=="boolean"?e:e!=null&&e!=="false"}function p0(e,t=NaN){return!isNaN(parseFloat(e))&&!isNaN(Number(e))?Number(e):t}function qu(e){return c4(e)}function lp(e,t){return n4(e)}function m0(e,t){let r=ka(e),n=t.elementInjector||Gs();return new hd(r).create(n,t.projectableNodes,t.hostElement,t.environmentInjector)}var U$={schedule(e,t){let r=setTimeout(e,t);return()=>clearTimeout(r)}};function W$(e){return e.replace(/[A-Z]/g,t=>`-${t.toLowerCase()}`)}function Z$(e){return!!e&&e.nodeType===Node.ELEMENT_NODE}var Pl;function Y$(e,t){if(!Pl){let r=Element.prototype;Pl=r.matches||r.matchesSelector||r.mozMatchesSelector||r.msMatchesSelector||r.oMatchesSelector||r.webkitMatchesSelector}return e.nodeType===Node.ELEMENT_NODE?Pl.call(e,t):!1}function K$(e){let t={};return e.forEach(({propName:r,templateName:n,transform:a})=>{t[W$(n)]=[r,a]}),t}function Q$(e,t){return t.get(to).resolveComponentFactory(e).inputs}function J$(e,t){let r=e.childNodes,n=t.map(()=>[]),a=-1;t.some((i,o)=>i==="*"?(a=o,!0):!1);for(let i=0,o=r.length;i<o;++i){let l=r[i],h=X$(l,t,a);h!==-1&&n[h].push(l)}return n}function X$(e,t,r){let n=r;return Z$(e)&&t.some((a,i)=>a!=="*"&&Y$(e,a)?(n=i,!0):!1),n}var eU=10,tU=class{constructor(e,t){s(this,"componentFactory");s(this,"inputMap",new Map);this.componentFactory=t.get(to).resolveComponentFactory(e);for(let r of this.componentFactory.inputs)this.inputMap.set(r.propName,r.templateName)}create(e){return new nU(this.componentFactory,e,this.inputMap)}},nU=class{constructor(e,t,r){s(this,"componentFactory");s(this,"injector");s(this,"inputMap");s(this,"eventEmitters",new yc(1));s(this,"events",this.eventEmitters.pipe(as(e=>pf(...e))));s(this,"componentRef",null);s(this,"scheduledDestroyFn",null);s(this,"initialInputValues",new Map);s(this,"ngZone");s(this,"elementZone");s(this,"appRef");s(this,"cdScheduler");this.componentFactory=e,this.injector=t,this.inputMap=r,this.ngZone=this.injector.get(je),this.appRef=this.injector.get(Ir),this.cdScheduler=t.get(Ui),this.elementZone=typeof Zone>"u"?null:this.ngZone.run(()=>Zone.current)}connect(e){this.runInZone(()=>{if(this.scheduledDestroyFn!==null){this.scheduledDestroyFn(),this.scheduledDestroyFn=null;return}this.componentRef===null&&this.initializeComponent(e)})}disconnect(){this.runInZone(()=>{this.componentRef===null||this.scheduledDestroyFn!==null||(this.scheduledDestroyFn=U$.schedule(()=>{this.componentRef!==null&&(this.componentRef.destroy(),this.componentRef=null)},eU))})}getInputValue(e){return this.runInZone(()=>this.componentRef===null?this.initialInputValues.get(e):this.componentRef.instance[e])}setInputValue(e,t){if(this.componentRef===null){this.initialInputValues.set(e,t);return}this.runInZone(()=>{this.componentRef.setInput(this.inputMap.get(e)??e,t),e7(this.componentRef.hostView)&&(t7(this.componentRef.changeDetectorRef),this.cdScheduler.notify(6))})}initializeComponent(e){let t=Tt.create({providers:[],parent:this.injector}),r=J$(e,this.componentFactory.ngContentSelectors);this.componentRef=this.componentFactory.create(t,r,e),this.initializeInputs(),this.initializeOutputs(this.componentRef),this.appRef.attachView(this.componentRef.hostView),this.componentRef.hostView.detectChanges()}initializeInputs(){for(let[e,t]of this.initialInputValues)this.setInputValue(e,t);this.initialInputValues.clear()}initializeOutputs(e){let t=this.componentFactory.outputs.map(({propName:r,templateName:n})=>{let a=e.instance[r];return new Qe(i=>{let o=a.subscribe(l=>i.next({name:n,value:l}));return()=>o.unsubscribe()})});this.eventEmitters.next(t)}runInZone(e){return this.elementZone&&Zone.current!==this.elementZone?this.ngZone.run(e):e()}},rU=class extends HTMLElement{constructor(){super(...arguments);s(this,"ngElementEventsSubscription",null)}};function aU(e,t){let r=Q$(e,t.injector),n=t.strategyFactory||new tU(e,t.injector),a=K$(r);class i extends rU{constructor(h){super();s(this,"injector");s(this,"_ngElementStrategy");this.injector=h}get ngElementStrategy(){if(!this._ngElementStrategy){let h=this._ngElementStrategy=n.create(this.injector||t.injector);r.forEach(({propName:u,transform:c})=>{if(!this.hasOwnProperty(u))return;let m=this[u];delete this[u],h.setInputValue(u,m,c)})}return this._ngElementStrategy}attributeChangedCallback(h,u,c,m){let[b,g]=a[h];this.ngElementStrategy.setInputValue(b,c,g)}connectedCallback(){let h=!1;this.ngElementStrategy.events&&(this.subscribeToEvents(),h=!0),this.ngElementStrategy.connect(this),h||this.subscribeToEvents()}disconnectedCallback(){this._ngElementStrategy&&this._ngElementStrategy.disconnect(),this.ngElementEventsSubscription&&(this.ngElementEventsSubscription.unsubscribe(),this.ngElementEventsSubscription=null)}subscribeToEvents(){this.ngElementEventsSubscription=this.ngElementStrategy.events.subscribe(h=>{let u=new CustomEvent(h.name,{detail:h.value});this.dispatchEvent(u)})}}return s(i,"observedAttributes",Object.keys(a)),r.forEach(({propName:o,transform:l})=>{Object.defineProperty(i.prototype,o,{get(){return this.ngElementStrategy.getInputValue(o)},set(h){this.ngElementStrategy.setInputValue(o,h,l)},configurable:!0,enumerable:!0})}),i}var Le=new Q(""),f0=null;function mi(){return f0}function iU(e){f0??(f0=e)}var oU=class{},g0=(()=>{const t=class t{historyGo(n){throw new Error("")}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",U({token:t,factory:()=>D(sU),providedIn:"platform"}));let e=t;return e})(),sU=(()=>{const t=class t extends g0{constructor(){super();s(this,"_location");s(this,"_history");s(this,"_doc",D(Le));this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return mi().getBaseHref(this._doc)}onPopState(a){let i=mi().getGlobalEventTarget(this._doc,"window");return i.addEventListener("popstate",a,!1),()=>i.removeEventListener("popstate",a)}onHashChange(a){let i=mi().getGlobalEventTarget(this._doc,"window");return i.addEventListener("hashchange",a,!1),()=>i.removeEventListener("hashchange",a)}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(a){this._location.pathname=a}pushState(a,i,o){this._history.pushState(a,i,o)}replaceState(a,i,o){this._history.replaceState(a,i,o)}forward(){this._history.forward()}back(){this._history.back()}historyGo(a=0){this._history.go(a)}getState(){return this._history.state}};s(t,"ɵfac",function(a){return new(a||t)}),s(t,"ɵprov",U({token:t,factory:()=>new t,providedIn:"platform"}));let e=t;return e})();function v0(e,t){return e?t?e.endsWith("/")?t.startsWith("/")?e+t.slice(1):e+t:t.startsWith("/")?e+t:`${e}/${t}`:e:t}function up(e){let t=e.search(/#|\?|$/);return e[t-1]==="/"?e.slice(0,t-1)+e.slice(t):e}function qr(e){return e&&e[0]!=="?"?`?${e}`:e}var vd=(()=>{const t=class t{historyGo(n){throw new Error("")}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",U({token:t,factory:()=>D(uU),providedIn:"root"}));let e=t;return e})(),lU=new Q(""),uU=(()=>{const t=class t extends vd{constructor(a,i){var o;super();s(this,"_platformLocation");s(this,"_baseHref");s(this,"_removeListenerFns",[]);this._platformLocation=a,this._baseHref=i??this._platformLocation.getBaseHrefFromDOM()??((o=D(Le).location)==null?void 0:o.origin)??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(a){this._removeListenerFns.push(this._platformLocation.onPopState(a),this._platformLocation.onHashChange(a))}getBaseHref(){return this._baseHref}prepareExternalUrl(a){return v0(this._baseHref,a)}path(a=!1){let i=this._platformLocation.pathname+qr(this._platformLocation.search),o=this._platformLocation.hash;return o&&a?`${i}${o}`:i}pushState(a,i,o,l){let h=this.prepareExternalUrl(o+qr(l));this._platformLocation.pushState(a,i,h)}replaceState(a,i,o,l){let h=this.prepareExternalUrl(o+qr(l));this._platformLocation.replaceState(a,i,h)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(a=0){var i,o;(o=(i=this._platformLocation).historyGo)==null||o.call(i,a)}};s(t,"ɵfac",function(a){return new(a||t)(ee(g0),ee(lU,8))}),s(t,"ɵprov",U({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),b0=(()=>{const t=class t{constructor(n){s(this,"_subject",new Pe);s(this,"_basePath");s(this,"_locationStrategy");s(this,"_urlChangeListeners",[]);s(this,"_urlChangeSubscription",null);this._locationStrategy=n;let a=this._locationStrategy.getBaseHref();this._basePath=hU(up(cp(a))),this._locationStrategy.onPopState(i=>{this._subject.next({url:this.path(!0),pop:!0,state:i.state,type:i.type})})}ngOnDestroy(){var n;(n=this._urlChangeSubscription)==null||n.unsubscribe(),this._urlChangeListeners=[]}path(n=!1){return this.normalize(this._locationStrategy.path(n))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(n,a=""){return this.path()==this.normalize(n+qr(a))}normalize(n){return t.stripTrailingSlash(dU(this._basePath,cp(n)))}prepareExternalUrl(n){return n&&n[0]!=="/"&&(n="/"+n),this._locationStrategy.prepareExternalUrl(n)}go(n,a="",i=null){this._locationStrategy.pushState(i,"",n,a),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+qr(a)),i)}replaceState(n,a="",i=null){this._locationStrategy.replaceState(i,"",n,a),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+qr(a)),i)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(n=0){var a,i;(i=(a=this._locationStrategy).historyGo)==null||i.call(a,n)}onUrlChange(n){return this._urlChangeListeners.push(n),this._urlChangeSubscription??(this._urlChangeSubscription=this.subscribe(a=>{this._notifyUrlChangeListeners(a.url,a.state)})),()=>{var i;let a=this._urlChangeListeners.indexOf(n);this._urlChangeListeners.splice(a,1),this._urlChangeListeners.length===0&&((i=this._urlChangeSubscription)==null||i.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(n="",a){this._urlChangeListeners.forEach(i=>i(n,a))}subscribe(n,a,i){return this._subject.subscribe({next:n,error:a??void 0,complete:i??void 0})}};s(t,"normalizeQueryParams",qr),s(t,"joinWithSlash",v0),s(t,"stripTrailingSlash",up),s(t,"ɵfac",function(n){return new(n||t)(ee(vd))}),s(t,"ɵprov",U({token:t,factory:()=>cU(),providedIn:"root"}));let e=t;return e})();function cU(){return new b0(ee(vd))}function dU(e,t){if(!e||!t.startsWith(e))return t;let r=t.substring(e.length);return r===""||["/",";","?","#"].includes(r[0])?r:t}function cp(e){return e.replace(/\/index.html$/,"")}function hU(e){if(new RegExp("^(https?:)?//").test(e)){let[,t]=e.split(/\/\/[^\/]+/);return t}return e}var At=function(e){return e[e.Format=0]="Format",e[e.Standalone=1]="Standalone",e}(At||{}),Fe=function(e){return e[e.Narrow=0]="Narrow",e[e.Abbreviated=1]="Abbreviated",e[e.Wide=2]="Wide",e[e.Short=3]="Short",e}(Fe||{}),qt=function(e){return e[e.Short=0]="Short",e[e.Medium=1]="Medium",e[e.Long=2]="Long",e[e.Full=3]="Full",e}(qt||{}),rl={MinusSign:5};function pU(e){return kn(e)[ct.LocaleId]}function mU(e,t,r){let n=kn(e),a=[n[ct.DayPeriodsFormat],n[ct.DayPeriodsStandalone]],i=hn(a,t);return hn(i,r)}function fU(e,t,r){let n=kn(e),a=[n[ct.DaysFormat],n[ct.DaysStandalone]],i=hn(a,t);return hn(i,r)}function gU(e,t,r){let n=kn(e),a=[n[ct.MonthsFormat],n[ct.MonthsStandalone]],i=hn(a,t);return hn(i,r)}function vU(e,t){let r=kn(e)[ct.Eras];return hn(r,t)}function wo(e,t){let r=kn(e);return hn(r[ct.DateFormat],t)}function xo(e,t){let r=kn(e);return hn(r[ct.TimeFormat],t)}function Eo(e,t){let r=kn(e)[ct.DateTimeFormat];return hn(r,t)}function al(e,t){return kn(e)[ct.NumberSymbols][t]}function y0(e){if(!e[ct.ExtraData])throw new Error(`Missing extra locale data for the locale "${e[ct.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function bU(e){let t=kn(e);return y0(t),(t[ct.ExtraData][2]||[]).map(r=>typeof r=="string"?Al(r):[Al(r[0]),Al(r[1])])}function yU(e,t,r){let n=kn(e);y0(n);let a=[n[ct.ExtraData][0],n[ct.ExtraData][1]],i=hn(a,t)||[];return hn(i,r)||[]}function hn(e,t){for(let r=t;r>-1;r--)if(typeof e[r]<"u")return e[r];throw new Error("Locale data API: locale data undefined")}function Al(e){let[t,r]=e.split(":");return{hours:+t,minutes:+r}}var _U=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,sa={},wU=/((?:[^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 xU(e,t,r,n){let a=MU(e);t=er(r,t)||t;let i=[],o;for(;t;)if(o=wU.exec(t),o){i=i.concat(o.slice(1));let u=i.pop();if(!u)break;t=u}else{i.push(t);break}let l=a.getTimezoneOffset();n&&(l=w0(n,l),a=TU(a,n));let h="";return i.forEach(u=>{let c=DU(u);h+=c?c(a,r,l):u==="''"?"'":u.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),h}function Es(e,t,r){let n=new Date(0);return n.setFullYear(e,t,r),n.setHours(0,0,0),n}function er(e,t){let r=pU(e);if(sa[r]??(sa[r]={}),sa[r][t])return sa[r][t];let n="";switch(t){case"shortDate":n=wo(e,qt.Short);break;case"mediumDate":n=wo(e,qt.Medium);break;case"longDate":n=wo(e,qt.Long);break;case"fullDate":n=wo(e,qt.Full);break;case"shortTime":n=xo(e,qt.Short);break;case"mediumTime":n=xo(e,qt.Medium);break;case"longTime":n=xo(e,qt.Long);break;case"fullTime":n=xo(e,qt.Full);break;case"short":let a=er(e,"shortTime"),i=er(e,"shortDate");n=So(Eo(e,qt.Short),[a,i]);break;case"medium":let o=er(e,"mediumTime"),l=er(e,"mediumDate");n=So(Eo(e,qt.Medium),[o,l]);break;case"long":let h=er(e,"longTime"),u=er(e,"longDate");n=So(Eo(e,qt.Long),[h,u]);break;case"full":let c=er(e,"fullTime"),m=er(e,"fullDate");n=So(Eo(e,qt.Full),[c,m]);break}return n&&(sa[r][t]=n),n}function So(e,t){return t&&(e=e.replace(/\{([^}]+)}/g,function(r,n){return t!=null&&n in t?t[n]:r})),e}function bn(e,t,r="-",n,a){let i="";(e<0||a&&e<=0)&&(a?e=-e+1:(e=-e,i=r));let o=String(e);for(;o.length<t;)o="0"+o;return n&&(o=o.slice(o.length-t)),i+o}function EU(e,t){return bn(e,3).substring(0,t)}function lt(e,t,r=0,n=!1,a=!1){return function(i,o){let l=SU(e,i);if((r>0||l>-r)&&(l+=r),e===3)l===0&&r===-12&&(l=12);else if(e===6)return EU(l,t);let h=al(o,rl.MinusSign);return bn(l,t,h,n,a)}}function SU(e,t){switch(e){case 0:return t.getFullYear();case 1:return t.getMonth();case 2:return t.getDate();case 3:return t.getHours();case 4:return t.getMinutes();case 5:return t.getSeconds();case 6:return t.getMilliseconds();case 7:return t.getDay();default:throw new Error(`Unknown DateType value "${e}".`)}}function Be(e,t,r=At.Format,n=!1){return function(a,i){return kU(a,i,e,t,r,n)}}function kU(e,t,r,n,a,i){switch(r){case 2:return gU(t,a,n)[e.getMonth()];case 1:return fU(t,a,n)[e.getDay()];case 0:let o=e.getHours(),l=e.getMinutes();if(i){let u=bU(t),c=yU(t,a,n),m=u.findIndex(b=>{if(Array.isArray(b)){let[g,w]=b,x=o>=g.hours&&l>=g.minutes,S=o<w.hours||o===w.hours&&l<w.minutes;if(g.hours<w.hours){if(x&&S)return!0}else if(x||S)return!0}else if(b.hours===o&&b.minutes===l)return!0;return!1});if(m!==-1)return c[m]}return mU(t,a,n)[o<12?0:1];case 3:return vU(t,n)[e.getFullYear()<=0?0:1];default:let h=r;throw new Error(`unexpected translation type ${h}`)}}function ko(e){return function(t,r,n){let a=-1*n,i=al(r,rl.MinusSign),o=a>0?Math.floor(a/60):Math.ceil(a/60);switch(e){case 0:return(a>=0?"+":"")+bn(o,2,i)+bn(Math.abs(a%60),2,i);case 1:return"GMT"+(a>=0?"+":"")+bn(o,1,i);case 2:return"GMT"+(a>=0?"+":"")+bn(o,2,i)+":"+bn(Math.abs(a%60),2,i);case 3:return n===0?"Z":(a>=0?"+":"")+bn(o,2,i)+":"+bn(Math.abs(a%60),2,i);default:throw new Error(`Unknown zone width "${e}"`)}}}var CU=0,Yo=4;function IU(e){let t=Es(e,CU,1).getDay();return Es(e,0,1+(t<=Yo?Yo:Yo+7)-t)}function _0(e){let t=e.getDay(),r=t===0?-3:Yo-t;return Es(e.getFullYear(),e.getMonth(),e.getDate()+r)}function Ll(e,t=!1){return function(r,n){let a;if(t){let i=new Date(r.getFullYear(),r.getMonth(),1).getDay()-1,o=r.getDate();a=1+Math.floor((o+i)/7)}else{let i=_0(r),o=IU(i.getFullYear()),l=i.getTime()-o.getTime();a=1+Math.round(l/6048e5)}return bn(a,e,al(n,rl.MinusSign))}}function Co(e,t=!1){return function(r,n){let a=_0(r).getFullYear();return bn(a,e,al(n,rl.MinusSign),t)}}var Fl={};function DU(e){if(Fl[e])return Fl[e];let t;switch(e){case"G":case"GG":case"GGG":t=Be(3,Fe.Abbreviated);break;case"GGGG":t=Be(3,Fe.Wide);break;case"GGGGG":t=Be(3,Fe.Narrow);break;case"y":t=lt(0,1,0,!1,!0);break;case"yy":t=lt(0,2,0,!0,!0);break;case"yyy":t=lt(0,3,0,!1,!0);break;case"yyyy":t=lt(0,4,0,!1,!0);break;case"Y":t=Co(1);break;case"YY":t=Co(2,!0);break;case"YYY":t=Co(3);break;case"YYYY":t=Co(4);break;case"M":case"L":t=lt(1,1,1);break;case"MM":case"LL":t=lt(1,2,1);break;case"MMM":t=Be(2,Fe.Abbreviated);break;case"MMMM":t=Be(2,Fe.Wide);break;case"MMMMM":t=Be(2,Fe.Narrow);break;case"LLL":t=Be(2,Fe.Abbreviated,At.Standalone);break;case"LLLL":t=Be(2,Fe.Wide,At.Standalone);break;case"LLLLL":t=Be(2,Fe.Narrow,At.Standalone);break;case"w":t=Ll(1);break;case"ww":t=Ll(2);break;case"W":t=Ll(1,!0);break;case"d":t=lt(2,1);break;case"dd":t=lt(2,2);break;case"c":case"cc":t=lt(7,1);break;case"ccc":t=Be(1,Fe.Abbreviated,At.Standalone);break;case"cccc":t=Be(1,Fe.Wide,At.Standalone);break;case"ccccc":t=Be(1,Fe.Narrow,At.Standalone);break;case"cccccc":t=Be(1,Fe.Short,At.Standalone);break;case"E":case"EE":case"EEE":t=Be(1,Fe.Abbreviated);break;case"EEEE":t=Be(1,Fe.Wide);break;case"EEEEE":t=Be(1,Fe.Narrow);break;case"EEEEEE":t=Be(1,Fe.Short);break;case"a":case"aa":case"aaa":t=Be(0,Fe.Abbreviated);break;case"aaaa":t=Be(0,Fe.Wide);break;case"aaaaa":t=Be(0,Fe.Narrow);break;case"b":case"bb":case"bbb":t=Be(0,Fe.Abbreviated,At.Standalone,!0);break;case"bbbb":t=Be(0,Fe.Wide,At.Standalone,!0);break;case"bbbbb":t=Be(0,Fe.Narrow,At.Standalone,!0);break;case"B":case"BB":case"BBB":t=Be(0,Fe.Abbreviated,At.Format,!0);break;case"BBBB":t=Be(0,Fe.Wide,At.Format,!0);break;case"BBBBB":t=Be(0,Fe.Narrow,At.Format,!0);break;case"h":t=lt(3,1,-12);break;case"hh":t=lt(3,2,-12);break;case"H":t=lt(3,1);break;case"HH":t=lt(3,2);break;case"m":t=lt(4,1);break;case"mm":t=lt(4,2);break;case"s":t=lt(5,1);break;case"ss":t=lt(5,2);break;case"S":t=lt(6,1);break;case"SS":t=lt(6,2);break;case"SSS":t=lt(6,3);break;case"Z":case"ZZ":case"ZZZ":t=ko(0);break;case"ZZZZZ":t=ko(3);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":t=ko(1);break;case"OOOO":case"ZZZZ":case"zzzz":t=ko(2);break;default:return null}return Fl[e]=t,t}function w0(e,t){e=e.replace(/:/g,"");let r=Date.parse("Jan 01, 1970 00:00:00 "+e)/6e4;return isNaN(r)?t:r}function NU(e,t){return e=new Date(e.getTime()),e.setMinutes(e.getMinutes()+t),e}function TU(e,t,r){let n=e.getTimezoneOffset(),a=w0(t,n);return NU(e,-1*(a-n))}function MU(e){if(dp(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[a,i=1,o=1]=e.split("-").map(l=>+l);return Es(a,i-1,o)}let r=parseFloat(e);if(!isNaN(e-r))return new Date(r);let n;if(n=e.match(_U))return RU(n)}let t=new Date(e);if(!dp(t))throw new Error(`Unable to convert "${e}" into a date`);return t}function RU(e){let t=new Date(0),r=0,n=0,a=e[8]?t.setUTCFullYear:t.setFullYear,i=e[8]?t.setUTCHours:t.setHours;e[9]&&(r=Number(e[9]+e[10]),n=Number(e[9]+e[11])),a.call(t,Number(e[1]),Number(e[2])-1,Number(e[3]));let o=Number(e[4]||0)-r,l=Number(e[5]||0)-n,h=Number(e[6]||0),u=Math.floor(parseFloat("0."+(e[7]||0))*1e3);return i.call(t,o,l,h,u),t}function dp(e){return e instanceof Date&&!isNaN(e.valueOf())}var jl=/\s+/,hp=[],OU=(()=>{const t=class t{constructor(n,a){s(this,"_ngEl");s(this,"_renderer");s(this,"initialClasses",hp);s(this,"rawClass");s(this,"stateMap",new Map);this._ngEl=n,this._renderer=a}set klass(n){this.initialClasses=n!=null?n.trim().split(jl):hp}set ngClass(n){this.rawClass=typeof n=="string"?n.trim().split(jl):n}ngDoCheck(){for(let a of this.initialClasses)this._updateState(a,!0);let n=this.rawClass;if(Array.isArray(n)||n instanceof Set)for(let a of n)this._updateState(a,!0);else if(n!=null)for(let a of Object.keys(n))this._updateState(a,!!n[a]);this._applyStateDiff()}_updateState(n,a){let i=this.stateMap.get(n);i!==void 0?(i.enabled!==a&&(i.changed=!0,i.enabled=a),i.touched=!0):this.stateMap.set(n,{enabled:a,changed:!0,touched:!0})}_applyStateDiff(){for(let n of this.stateMap){let a=n[0],i=n[1];i.changed?(this._toggleClass(a,i.enabled),i.changed=!1):i.touched||(i.enabled&&this._toggleClass(a,!1),this.stateMap.delete(a)),i.touched=!1}}_toggleClass(n,a){n=n.trim(),n.length>0&&n.split(jl).forEach(i=>{a?this._renderer.addClass(this._ngEl.nativeElement,i):this._renderer.removeClass(this._ngEl.nativeElement,i)})}};s(t,"ɵfac",function(n){return new(n||t)(jt(Xt),jt(Qs))}),s(t,"ɵdir",hr({type:t,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"}}));let e=t;return e})(),PU=(()=>{const t=class t{constructor(n,a,i){s(this,"_ngEl");s(this,"_differs");s(this,"_renderer");s(this,"_ngStyle",null);s(this,"_differ",null);this._ngEl=n,this._differs=a,this._renderer=i}set ngStyle(n){this._ngStyle=n,!this._differ&&n&&(this._differ=this._differs.find(n).create())}ngDoCheck(){if(this._differ){let n=this._differ.diff(this._ngStyle);n&&this._applyChanges(n)}}_setStyle(n,a){let[i,o]=n.split("."),l=i.indexOf("-")===-1?void 0:ga.DashCase;a!=null?this._renderer.setStyle(this._ngEl.nativeElement,i,o?`${a}${o}`:a,l):this._renderer.removeStyle(this._ngEl.nativeElement,i,l)}_applyChanges(n){n.forEachRemovedItem(a=>this._setStyle(a.key,null)),n.forEachAddedItem(a=>this._setStyle(a.key,a.currentValue)),n.forEachChangedItem(a=>this._setStyle(a.key,a.currentValue))}};s(t,"ɵfac",function(n){return new(n||t)(jt(Xt),jt(h0),jt(Qs))}),s(t,"ɵdir",hr({type:t,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"}}));let e=t;return e})();function x0(e,t){return new $(2100,!1)}var AU=class{createSubscription(e,t){return qu(()=>e.subscribe({next:t,error:r=>{throw r}}))}dispose(e){qu(()=>e.unsubscribe())}},LU=class{createSubscription(e,t){return e.then(r=>t==null?void 0:t(r),r=>{throw r}),{unsubscribe:()=>{t=null}}}dispose(e){e.unsubscribe()}},FU=new LU,jU=new AU,VU=(()=>{const t=class t{constructor(n){s(this,"_ref");s(this,"_latestValue",null);s(this,"markForCheckOnValueUpdate",!0);s(this,"_subscription",null);s(this,"_obj",null);s(this,"_strategy",null);this._ref=n}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(n){if(!this._obj){if(n)try{this.markForCheckOnValueUpdate=!1,this._subscribe(n)}finally{this.markForCheckOnValueUpdate=!0}return this._latestValue}return n!==this._obj?(this._dispose(),this.transform(n)):this._latestValue}_subscribe(n){this._obj=n,this._strategy=this._selectStrategy(n),this._subscription=this._strategy.createSubscription(n,a=>this._updateLatestValue(n,a))}_selectStrategy(n){if(md(n))return FU;if(Wv(n))return jU;throw x0()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(n,a){var i;n===this._obj&&(this._latestValue=a,this.markForCheckOnValueUpdate&&((i=this._ref)==null||i.markForCheck()))}};s(t,"ɵfac",function(n){return new(n||t)(jt(nl,16))}),s(t,"ɵpipe",za({name:"async",type:t,pure:!1}));let e=t;return e})(),BU="mediumDate",zU=new Q(""),HU=new Q(""),qU=(()=>{const t=class t{constructor(n,a,i){s(this,"locale");s(this,"defaultTimezone");s(this,"defaultOptions");this.locale=n,this.defaultTimezone=a,this.defaultOptions=i}transform(n,a,i,o){var l,h;if(n==null||n===""||n!==n)return null;try{let u=a??((l=this.defaultOptions)==null?void 0:l.dateFormat)??BU,c=i??((h=this.defaultOptions)==null?void 0:h.timezone)??this.defaultTimezone??void 0;return xU(n,u,o||this.locale,c)}catch(u){throw x0(t,u.message)}}};s(t,"ɵfac",function(n){return new(n||t)(jt(tl,16),jt(zU,24),jt(HU,24))}),s(t,"ɵpipe",za({name:"date",type:t,pure:!0}));let e=t;return e})(),GU=(()=>{const t=class t{};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵmod",zv({type:t})),s(t,"ɵinj",Cf({}));let e=t;return e})();function E0(e,t){t=encodeURIComponent(t);for(let r of e.split(";")){let n=r.indexOf("="),[a,i]=n==-1?[r,""]:[r.slice(0,n),r.slice(n+1)];if(a.trim()===t)return decodeURIComponent(i)}return null}var S0="browser",$U="server";function UU(e){return e===S0}function k0(e){return e===$U}var C0=class{};function il(e,t,r){return o$(e,t,r)}var Gu=new Q(""),I0=(()=>{const t=class t{constructor(n,a){s(this,"_zone");s(this,"_plugins");s(this,"_eventNameToPlugin",new Map);this._zone=a,n.forEach(i=>{i.manager=this}),this._plugins=n.slice().reverse()}addEventListener(n,a,i,o){return this._findPluginFor(a).addEventListener(n,a,i,o)}getZone(){return this._zone}_findPluginFor(n){let a=this._eventNameToPlugin.get(n);if(a)return a;if(a=this._plugins.find(i=>i.supports(n)),!a)throw new $(5101,!1);return this._eventNameToPlugin.set(n,a),a}};s(t,"ɵfac",function(n){return new(n||t)(ee(Gu),ee(je))}),s(t,"ɵprov",U({token:t,factory:t.ɵfac}));let e=t;return e})(),D0=class{constructor(e){s(this,"_doc");s(this,"manager");this._doc=e}},Ko="ng-app-id";function pp(e){for(let t of e)t.remove()}function mp(e,t){let r=t.createElement("style");return r.textContent=e,r}function WU(e,t,r,n){var i;let a=(i=e.head)==null?void 0:i.querySelectorAll(`style[${Ko}="${t}"],link[${Ko}="${t}"]`);if(a)for(let o of a)o.removeAttribute(Ko),o instanceof HTMLLinkElement?n.set(o.href.slice(o.href.lastIndexOf("/")+1),{usage:0,elements:[o]}):o.textContent&&r.set(o.textContent,{usage:0,elements:[o]})}function $u(e,t){let r=t.createElement("link");return r.setAttribute("rel","stylesheet"),r.setAttribute("href",e),r}var N0=(()=>{const t=class t{constructor(n,a,i,o={}){s(this,"doc");s(this,"appId");s(this,"nonce");s(this,"inline",new Map);s(this,"external",new Map);s(this,"hosts",new Set);s(this,"isServer");this.doc=n,this.appId=a,this.nonce=i,this.isServer=k0(o),WU(n,a,this.inline,this.external),this.hosts.add(n.head)}addStyles(n,a){for(let i of n)this.addUsage(i,this.inline,mp);a==null||a.forEach(i=>this.addUsage(i,this.external,$u))}removeStyles(n,a){for(let i of n)this.removeUsage(i,this.inline);a==null||a.forEach(i=>this.removeUsage(i,this.external))}addUsage(n,a,i){let o=a.get(n);o?o.usage++:a.set(n,{usage:1,elements:[...this.hosts].map(l=>this.addElement(l,i(n,this.doc)))})}removeUsage(n,a){let i=a.get(n);i&&(i.usage--,i.usage<=0&&(pp(i.elements),a.delete(n)))}ngOnDestroy(){for(let[,{elements:n}]of[...this.inline,...this.external])pp(n);this.hosts.clear()}addHost(n){this.hosts.add(n);for(let[a,{elements:i}]of this.inline)i.push(this.addElement(n,mp(a,this.doc)));for(let[a,{elements:i}]of this.external)i.push(this.addElement(n,$u(a,this.doc)))}removeHost(n){this.hosts.delete(n)}addElement(n,a){return this.nonce&&a.setAttribute("nonce",this.nonce),this.isServer&&a.setAttribute(Ko,this.appId),n.appendChild(a)}};s(t,"ɵfac",function(n){return new(n||t)(ee(Le),ee(Yc),ee(Kc,8),ee(Us))}),s(t,"ɵprov",U({token:t,factory:t.ɵfac}));let e=t;return e})(),Vl={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"},bd=/%COMP%/g,T0="%COMP%",ZU=`_nghost-${T0}`,YU=`_ngcontent-${T0}`,KU=!0,QU=new Q("",{providedIn:"root",factory:()=>KU});function JU(e){return YU.replace(bd,e)}function XU(e){return ZU.replace(bd,e)}function M0(e,t){return t.map(r=>r.replace(bd,e))}var Uu=(()=>{const t=class t{constructor(n,a,i,o,l,h,u,c=null,m=null){s(this,"eventManager");s(this,"sharedStylesHost");s(this,"appId");s(this,"removeStylesOnCompDestroy");s(this,"doc");s(this,"platformId");s(this,"ngZone");s(this,"nonce");s(this,"tracingService");s(this,"rendererByCompId",new Map);s(this,"defaultRenderer");s(this,"platformIsServer");this.eventManager=n,this.sharedStylesHost=a,this.appId=i,this.removeStylesOnCompDestroy=o,this.doc=l,this.platformId=h,this.ngZone=u,this.nonce=c,this.tracingService=m,this.platformIsServer=k0(h),this.defaultRenderer=new yd(n,l,u,this.platformIsServer,this.tracingService)}createRenderer(n,a){if(!n||!a)return this.defaultRenderer;this.platformIsServer&&a.encapsulation===ar.ShadowDom&&(a=Kt(ge({},a),{encapsulation:ar.Emulated}));let i=this.getOrCreateRenderer(n,a);return i instanceof gp?i.applyToHost(n):i instanceof Wu&&i.applyStyles(),i}getOrCreateRenderer(n,a){let i=this.rendererByCompId,o=i.get(a.id);if(!o){let l=this.doc,h=this.ngZone,u=this.eventManager,c=this.sharedStylesHost,m=this.removeStylesOnCompDestroy,b=this.platformIsServer,g=this.tracingService;switch(a.encapsulation){case ar.Emulated:o=new gp(u,c,a,this.appId,m,l,h,b,g);break;case ar.ShadowDom:return new e8(u,c,n,a,l,h,this.nonce,b,g);default:o=new Wu(u,c,a,m,l,h,b,g);break}i.set(a.id,o)}return o}ngOnDestroy(){this.rendererByCompId.clear()}componentReplaced(n){this.rendererByCompId.delete(n)}};s(t,"ɵfac",function(n){return new(n||t)(ee(I0),ee(N0),ee(Yc),ee(QU),ee(Le),ee(Us),ee(je),ee(Kc),ee(Ki,8))}),s(t,"ɵprov",U({token:t,factory:t.ɵfac}));let e=t;return e})(),yd=class{constructor(e,t,r,n,a){s(this,"eventManager");s(this,"doc");s(this,"ngZone");s(this,"platformIsServer");s(this,"tracingService");s(this,"data",Object.create(null));s(this,"throwOnSyntheticProps",!0);s(this,"destroyNode",null);this.eventManager=e,this.doc=t,this.ngZone=r,this.platformIsServer=n,this.tracingService=a}destroy(){}createElement(e,t){return t?this.doc.createElementNS(Vl[t]||t,e):this.doc.createElement(e)}createComment(e){return this.doc.createComment(e)}createText(e){return this.doc.createTextNode(e)}appendChild(e,t){(fp(e)?e.content:e).appendChild(t)}insertBefore(e,t,r){e&&(fp(e)?e.content:e).insertBefore(t,r)}removeChild(e,t){t.remove()}selectRootElement(e,t){let r=typeof e=="string"?this.doc.querySelector(e):e;if(!r)throw new $(-5104,!1);return t||(r.textContent=""),r}parentNode(e){return e.parentNode}nextSibling(e){return e.nextSibling}setAttribute(e,t,r,n){if(n){t=n+":"+t;let a=Vl[n];a?e.setAttributeNS(a,t,r):e.setAttribute(t,r)}else e.setAttribute(t,r)}removeAttribute(e,t,r){if(r){let n=Vl[r];n?e.removeAttributeNS(n,t):e.removeAttribute(`${r}:${t}`)}else e.removeAttribute(t)}addClass(e,t){e.classList.add(t)}removeClass(e,t){e.classList.remove(t)}setStyle(e,t,r,n){n&(ga.DashCase|ga.Important)?e.style.setProperty(t,r,n&ga.Important?"important":""):e.style[t]=r}removeStyle(e,t,r){r&ga.DashCase?e.style.removeProperty(t):e.style[t]=""}setProperty(e,t,r){e!=null&&(e[t]=r)}setValue(e,t){e.nodeValue=t}listen(e,t,r,n){var i;if(typeof e=="string"&&(e=mi().getGlobalEventTarget(this.doc,e),!e))throw new $(5102,!1);let a=this.decoratePreventDefault(r);return(i=this.tracingService)!=null&&i.wrapEventListener&&(a=this.tracingService.wrapEventListener(e,t,a)),this.eventManager.addEventListener(e,t,a,n)}decoratePreventDefault(e){return t=>{if(t==="__ngUnwrap__")return e;(this.platformIsServer?this.ngZone.runGuarded(()=>e(t)):e(t))===!1&&t.preventDefault()}}};function fp(e){return e.tagName==="TEMPLATE"&&e.content!==void 0}var e8=class extends yd{constructor(t,r,n,a,i,o,l,h,u){var b;super(t,i,o,h,u);s(this,"sharedStylesHost");s(this,"hostEl");s(this,"shadowRoot");this.sharedStylesHost=r,this.hostEl=n,this.shadowRoot=n.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let c=a.styles;c=M0(a.id,c);for(let g of c){let w=document.createElement("style");l&&w.setAttribute("nonce",l),w.textContent=g,this.shadowRoot.appendChild(w)}let m=(b=a.getExternalStyles)==null?void 0:b.call(a);if(m)for(let g of m){let w=$u(g,i);l&&w.setAttribute("nonce",l),this.shadowRoot.appendChild(w)}}nodeOrShadowRoot(t){return t===this.hostEl?this.shadowRoot:t}appendChild(t,r){return super.appendChild(this.nodeOrShadowRoot(t),r)}insertBefore(t,r,n){return super.insertBefore(this.nodeOrShadowRoot(t),r,n)}removeChild(t,r){return super.removeChild(null,r)}parentNode(t){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(t)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}},Wu=class extends yd{constructor(t,r,n,a,i,o,l,h,u){var m;super(t,i,o,l,h);s(this,"sharedStylesHost");s(this,"removeStylesOnCompDestroy");s(this,"styles");s(this,"styleUrls");this.sharedStylesHost=r,this.removeStylesOnCompDestroy=a;let c=n.styles;this.styles=u?M0(u,c):c,this.styleUrls=(m=n.getExternalStyles)==null?void 0:m.call(n,u)}applyStyles(){this.sharedStylesHost.addStyles(this.styles,this.styleUrls)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles,this.styleUrls)}},gp=class extends Wu{constructor(t,r,n,a,i,o,l,h,u){let c=a+"-"+n.id;super(t,r,n,i,o,l,h,u,c);s(this,"contentAttr");s(this,"hostAttr");this.contentAttr=JU(c),this.hostAttr=XU(c)}applyToHost(t){this.applyStyles(),this.setAttribute(t,this.hostAttr,"")}createElement(t,r){let n=super.createElement(t,r);return super.setAttribute(n,this.contentAttr,""),n}},t8=class R0 extends oU{constructor(){super(...arguments);s(this,"supportsDOMEvents",!0)}static makeCurrent(){iU(new R0)}onAndCancel(r,n,a,i){return r.addEventListener(n,a,i),()=>{r.removeEventListener(n,a,i)}}dispatchEvent(r,n){r.dispatchEvent(n)}remove(r){r.remove()}createElement(r,n){return n=n||this.getDefaultDocument(),n.createElement(r)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(r){return r.nodeType===Node.ELEMENT_NODE}isShadowRoot(r){return r instanceof DocumentFragment}getGlobalEventTarget(r,n){return n==="window"?window:n==="document"?r:n==="body"?r.body:null}getBaseHref(r){let n=n8();return n==null?null:r8(n)}resetBaseElement(){si=null}getUserAgent(){return window.navigator.userAgent}getCookie(r){return E0(document.cookie,r)}},si=null;function n8(){return si=si||document.head.querySelector("base"),si?si.getAttribute("href"):null}function r8(e){return new URL(e,document.baseURI).pathname}var a8=(()=>{const t=class t{build(){return new XMLHttpRequest}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",U({token:t,factory:t.ɵfac}));let e=t;return e})(),i8=(()=>{const t=class t extends D0{constructor(n){super(n)}supports(n){return!0}addEventListener(n,a,i,o){return n.addEventListener(a,i,o),()=>this.removeEventListener(n,a,i,o)}removeEventListener(n,a,i,o){return n.removeEventListener(a,i,o)}};s(t,"ɵfac",function(n){return new(n||t)(ee(Le))}),s(t,"ɵprov",U({token:t,factory:t.ɵfac}));let e=t;return e})(),vp=["alt","control","meta","shift"],o8={"\b":"Backspace"," ":"Tab","":"Delete","\x1B":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},s8={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey},l8=(()=>{const t=class t extends D0{constructor(n){super(n)}supports(n){return t.parseEventName(n)!=null}addEventListener(n,a,i,o){let l=t.parseEventName(a),h=t.eventCallback(l.fullKey,i,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>mi().onAndCancel(n,l.domEventName,h,o))}static parseEventName(n){let a=n.toLowerCase().split("."),i=a.shift();if(a.length===0||!(i==="keydown"||i==="keyup"))return null;let o=t._normalizeKey(a.pop()),l="",h=a.indexOf("code");if(h>-1&&(a.splice(h,1),l="code."),vp.forEach(c=>{let m=a.indexOf(c);m>-1&&(a.splice(m,1),l+=c+".")}),l+=o,a.length!=0||o.length===0)return null;let u={};return u.domEventName=i,u.fullKey=l,u}static matchEventFullKeyCode(n,a){let i=o8[n.key]||n.key,o="";return a.indexOf("code.")>-1&&(i=n.code,o="code."),i==null||!i?!1:(i=i.toLowerCase(),i===" "?i="space":i==="."&&(i="dot"),vp.forEach(l=>{if(l!==i){let h=s8[l];h(n)&&(o+=l+".")}}),o+=i,o===a)}static eventCallback(n,a,i){return o=>{t.matchEventFullKeyCode(o,n)&&i.runGuarded(()=>a(o))}}static _normalizeKey(n){return n==="esc"?"escape":n}};s(t,"ɵfac",function(n){return new(n||t)(ee(Le))}),s(t,"ɵprov",U({token:t,factory:t.ɵfac}));let e=t;return e})();function u8(e){return $$(c8(e))}function c8(e){return{appProviders:[...f8,...(e==null?void 0:e.providers)??[]],platformProviders:m8}}function d8(){t8.makeCurrent()}function h8(){return new zn}function p8(){return iH(document),document}var m8=[{provide:Us,useValue:S0},{provide:Vg,useValue:d8,multi:!0},{provide:Le,useFactory:p8}],f8=[{provide:Dc,useValue:"root"},{provide:zn,useFactory:h8},{provide:Gu,useClass:i8,multi:!0,deps:[Le]},{provide:Gu,useClass:l8,multi:!0,deps:[Le]},Uu,N0,I0,{provide:Sn,useExisting:Uu},{provide:C0,useClass:a8},[]],_d=class{},O0=class{},Oa=class Qo{constructor(t){s(this,"headers");s(this,"normalizedNames",new Map);s(this,"lazyInit");s(this,"lazyUpdate",null);t?typeof t=="string"?this.lazyInit=()=>{this.headers=new Map,t.split(`
19
+ `).forEach(r=>{let n=r.indexOf(":");if(n>0){let a=r.slice(0,n),i=r.slice(n+1).trim();this.addHeaderEntry(a,i)}})}:typeof Headers<"u"&&t instanceof Headers?(this.headers=new Map,t.forEach((r,n)=>{this.addHeaderEntry(n,r)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(t).forEach(([r,n])=>{this.setHeaderEntries(r,n)})}:this.headers=new Map}has(t){return this.init(),this.headers.has(t.toLowerCase())}get(t){this.init();let r=this.headers.get(t.toLowerCase());return r&&r.length>0?r[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(t){return this.init(),this.headers.get(t.toLowerCase())||null}append(t,r){return this.clone({name:t,value:r,op:"a"})}set(t,r){return this.clone({name:t,value:r,op:"s"})}delete(t,r){return this.clone({name:t,value:r,op:"d"})}maybeSetNormalizedName(t,r){this.normalizedNames.has(r)||this.normalizedNames.set(r,t)}init(){this.lazyInit&&(this.lazyInit instanceof Qo?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(t=>this.applyUpdate(t)),this.lazyUpdate=null))}copyFrom(t){t.init(),Array.from(t.headers.keys()).forEach(r=>{this.headers.set(r,t.headers.get(r)),this.normalizedNames.set(r,t.normalizedNames.get(r))})}clone(t){let r=new Qo;return r.lazyInit=this.lazyInit&&this.lazyInit instanceof Qo?this.lazyInit:this,r.lazyUpdate=(this.lazyUpdate||[]).concat([t]),r}applyUpdate(t){let r=t.name.toLowerCase();switch(t.op){case"a":case"s":let n=t.value;if(typeof n=="string"&&(n=[n]),n.length===0)return;this.maybeSetNormalizedName(t.name,r);let a=(t.op==="a"?this.headers.get(r):void 0)||[];a.push(...n),this.headers.set(r,a);break;case"d":let i=t.value;if(!i)this.headers.delete(r),this.normalizedNames.delete(r);else{let o=this.headers.get(r);if(!o)return;o=o.filter(l=>i.indexOf(l)===-1),o.length===0?(this.headers.delete(r),this.normalizedNames.delete(r)):this.headers.set(r,o)}break}}addHeaderEntry(t,r){let n=t.toLowerCase();this.maybeSetNormalizedName(t,n),this.headers.has(n)?this.headers.get(n).push(r):this.headers.set(n,[r])}setHeaderEntries(t,r){let n=(Array.isArray(r)?r:[r]).map(i=>i.toString()),a=t.toLowerCase();this.headers.set(a,n),this.maybeSetNormalizedName(t,a)}forEach(t){this.init(),Array.from(this.normalizedNames.keys()).forEach(r=>t(this.normalizedNames.get(r),this.headers.get(r)))}},g8=class{encodeKey(e){return bp(e)}encodeValue(e){return bp(e)}decodeKey(e){return decodeURIComponent(e)}decodeValue(e){return decodeURIComponent(e)}};function v8(e,t){let r=new Map;return e.length>0&&e.replace(/^\?/,"").split("&").forEach(n=>{let a=n.indexOf("="),[i,o]=a==-1?[t.decodeKey(n),""]:[t.decodeKey(n.slice(0,a)),t.decodeValue(n.slice(a+1))],l=r.get(i)||[];l.push(o),r.set(i,l)}),r}var b8=/%(\d[a-f0-9])/gi,y8={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function bp(e){return encodeURIComponent(e).replace(b8,(t,r)=>y8[r]??t)}function Io(e){return`${e}`}var wa=class P0{constructor(t={}){s(this,"map");s(this,"encoder");s(this,"updates",null);s(this,"cloneFrom",null);if(this.encoder=t.encoder||new g8,t.fromString){if(t.fromObject)throw new $(2805,!1);this.map=v8(t.fromString,this.encoder)}else t.fromObject?(this.map=new Map,Object.keys(t.fromObject).forEach(r=>{let n=t.fromObject[r],a=Array.isArray(n)?n.map(Io):[Io(n)];this.map.set(r,a)})):this.map=null}has(t){return this.init(),this.map.has(t)}get(t){this.init();let r=this.map.get(t);return r?r[0]:null}getAll(t){return this.init(),this.map.get(t)||null}keys(){return this.init(),Array.from(this.map.keys())}append(t,r){return this.clone({param:t,value:r,op:"a"})}appendAll(t){let r=[];return Object.keys(t).forEach(n=>{let a=t[n];Array.isArray(a)?a.forEach(i=>{r.push({param:n,value:i,op:"a"})}):r.push({param:n,value:a,op:"a"})}),this.clone(r)}set(t,r){return this.clone({param:t,value:r,op:"s"})}delete(t,r){return this.clone({param:t,value:r,op:"d"})}toString(){return this.init(),this.keys().map(t=>{let r=this.encoder.encodeKey(t);return this.map.get(t).map(n=>r+"="+this.encoder.encodeValue(n)).join("&")}).filter(t=>t!=="").join("&")}clone(t){let r=new P0({encoder:this.encoder});return r.cloneFrom=this.cloneFrom||this,r.updates=(this.updates||[]).concat(t),r}init(){this.map===null&&(this.map=new Map),this.cloneFrom!==null&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(t=>this.map.set(t,this.cloneFrom.map.get(t))),this.updates.forEach(t=>{switch(t.op){case"a":case"s":let r=(t.op==="a"?this.map.get(t.param):void 0)||[];r.push(Io(t.value)),this.map.set(t.param,r);break;case"d":if(t.value!==void 0){let n=this.map.get(t.param)||[],a=n.indexOf(Io(t.value));a!==-1&&n.splice(a,1),n.length>0?this.map.set(t.param,n):this.map.delete(t.param)}else{this.map.delete(t.param);break}}}),this.cloneFrom=this.updates=null)}},_8=class{constructor(){s(this,"map",new Map)}set(e,t){return this.map.set(e,t),this}get(e){return this.map.has(e)||this.map.set(e,e.defaultValue()),this.map.get(e)}delete(e){return this.map.delete(e),this}has(e){return this.map.has(e)}keys(){return this.map.keys()}};function w8(e){switch(e){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}function yp(e){return typeof ArrayBuffer<"u"&&e instanceof ArrayBuffer}function _p(e){return typeof Blob<"u"&&e instanceof Blob}function wp(e){return typeof FormData<"u"&&e instanceof FormData}function x8(e){return typeof URLSearchParams<"u"&&e instanceof URLSearchParams}var xp="Content-Type",Ep="Accept",A0="X-Request-URL",L0="text/plain",F0="application/json",E8=`${F0}, ${L0}, */*`,Bl=class j0{constructor(t,r,n,a){s(this,"url");s(this,"body",null);s(this,"headers");s(this,"context");s(this,"reportProgress",!1);s(this,"withCredentials",!1);s(this,"responseType","json");s(this,"method");s(this,"params");s(this,"urlWithParams");s(this,"transferCache");this.url=r,this.method=t.toUpperCase();let i;if(w8(this.method)||a?(this.body=n!==void 0?n:null,i=a):i=n,i&&(this.reportProgress=!!i.reportProgress,this.withCredentials=!!i.withCredentials,i.responseType&&(this.responseType=i.responseType),i.headers&&(this.headers=i.headers),i.context&&(this.context=i.context),i.params&&(this.params=i.params),this.transferCache=i.transferCache),this.headers??(this.headers=new Oa),this.context??(this.context=new _8),!this.params)this.params=new wa,this.urlWithParams=r;else{let o=this.params.toString();if(o.length===0)this.urlWithParams=r;else{let l=r.indexOf("?"),h=l===-1?"?":l<r.length-1?"&":"";this.urlWithParams=r+h+o}}}serializeBody(){return this.body===null?null:typeof this.body=="string"||yp(this.body)||_p(this.body)||wp(this.body)||x8(this.body)?this.body:this.body instanceof wa?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||wp(this.body)?null:_p(this.body)?this.body.type||null:yp(this.body)?null:typeof this.body=="string"?L0:this.body instanceof wa?"application/x-www-form-urlencoded;charset=UTF-8":typeof this.body=="object"||typeof this.body=="number"||typeof this.body=="boolean"?F0:null}clone(t={}){let r=t.method||this.method,n=t.url||this.url,a=t.responseType||this.responseType,i=t.transferCache??this.transferCache,o=t.body!==void 0?t.body:this.body,l=t.withCredentials??this.withCredentials,h=t.reportProgress??this.reportProgress,u=t.headers||this.headers,c=t.params||this.params,m=t.context??this.context;return t.setHeaders!==void 0&&(u=Object.keys(t.setHeaders).reduce((b,g)=>b.set(g,t.setHeaders[g]),u)),t.setParams&&(c=Object.keys(t.setParams).reduce((b,g)=>b.set(g,t.setParams[g]),c)),new j0(r,n,o,{params:c,headers:u,context:m,reportProgress:h,responseType:a,withCredentials:l,transferCache:i})}},xa=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}(xa||{}),wd=class{constructor(e,t=200,r="OK"){s(this,"headers");s(this,"status");s(this,"statusText");s(this,"url");s(this,"ok");s(this,"type");this.headers=e.headers||new Oa,this.status=e.status!==void 0?e.status:t,this.statusText=e.statusText||r,this.url=e.url||null,this.ok=this.status>=200&&this.status<300}},S8=class V0 extends wd{constructor(r={}){super(r);s(this,"type",xa.ResponseHeader)}clone(r={}){return new V0({headers:r.headers||this.headers,status:r.status!==void 0?r.status:this.status,statusText:r.statusText||this.statusText,url:r.url||this.url||void 0})}},B0=class z0 extends wd{constructor(r={}){super(r);s(this,"body");s(this,"type",xa.Response);this.body=r.body!==void 0?r.body:null}clone(r={}){return new z0({body:r.body!==void 0?r.body:this.body,headers:r.headers||this.headers,status:r.status!==void 0?r.status:this.status,statusText:r.statusText||this.statusText,url:r.url||this.url||void 0})}},Sp=class extends wd{constructor(t){super(t,0,"Unknown Error");s(this,"name","HttpErrorResponse");s(this,"message");s(this,"error");s(this,"ok",!1);this.status>=200&&this.status<300?this.message=`Http failure during parsing for ${t.url||"(unknown url)"}`:this.message=`Http failure response for ${t.url||"(unknown url)"}: ${t.status} ${t.statusText}`,this.error=t.error||null}},k8=200,C8=204;function zl(e,t){return{body:t,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 no=(()=>{const t=class t{constructor(n){s(this,"handler");this.handler=n}request(n,a,i={}){let o;if(n instanceof Bl)o=n;else{let u;i.headers instanceof Oa?u=i.headers:u=new Oa(i.headers);let c;i.params&&(i.params instanceof wa?c=i.params:c=new wa({fromObject:i.params})),o=new Bl(n,a,i.body!==void 0?i.body:null,{headers:u,context:i.context,params:c,reportProgress:i.reportProgress,responseType:i.responseType||"json",withCredentials:i.withCredentials,transferCache:i.transferCache})}let l=_t(o).pipe(ff(u=>this.handler.handle(u)));if(n instanceof Bl||i.observe==="events")return l;let h=l.pipe(zs(u=>u instanceof B0));switch(i.observe||"body"){case"body":switch(o.responseType){case"arraybuffer":return h.pipe(wt(u=>{if(u.body!==null&&!(u.body instanceof ArrayBuffer))throw new $(2806,!1);return u.body}));case"blob":return h.pipe(wt(u=>{if(u.body!==null&&!(u.body instanceof Blob))throw new $(2807,!1);return u.body}));case"text":return h.pipe(wt(u=>{if(u.body!==null&&typeof u.body!="string")throw new $(2808,!1);return u.body}));case"json":default:return h.pipe(wt(u=>u.body))}case"response":return h;default:throw new $(2809,!1)}}delete(n,a={}){return this.request("DELETE",n,a)}get(n,a={}){return this.request("GET",n,a)}head(n,a={}){return this.request("HEAD",n,a)}jsonp(n,a){return this.request("JSONP",n,{params:new wa().append(a,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(n,a={}){return this.request("OPTIONS",n,a)}patch(n,a,i={}){return this.request("PATCH",n,zl(i,a))}post(n,a,i={}){return this.request("POST",n,zl(i,a))}put(n,a,i={}){return this.request("PUT",n,zl(i,a))}};s(t,"ɵfac",function(n){return new(n||t)(ee(_d))}),s(t,"ɵprov",U({token:t,factory:t.ɵfac}));let e=t;return e})(),I8=new Q("");function D8(e,t){return t(e)}function N8(e,t,r){return(n,a)=>Tc(r,()=>t(n,i=>e(i,a)))}var xd=new Q(""),T8=new Q(""),M8=new Q("",{providedIn:"root",factory:()=>!0}),kp=(()=>{const t=class t extends _d{constructor(a,i){super();s(this,"backend");s(this,"injector");s(this,"chain",null);s(this,"pendingTasks",D(Wi));s(this,"contributeToStability",D(M8));this.backend=a,this.injector=i}handle(a){if(this.chain===null){let i=Array.from(new Set([...this.injector.get(xd),...this.injector.get(T8,[])]));this.chain=i.reduceRight((o,l)=>N8(o,l,this.injector),D8)}if(this.contributeToStability){let i=this.pendingTasks.add();return this.chain(a,o=>this.backend.handle(o)).pipe(gf(()=>this.pendingTasks.remove(i)))}else return this.chain(a,i=>this.backend.handle(i))}};s(t,"ɵfac",function(a){return new(a||t)(ee(O0),ee(An))}),s(t,"ɵprov",U({token:t,factory:t.ɵfac}));let e=t;return e})(),R8=/^\)\]\}',?\n/,O8=RegExp(`^${A0}:`,"m");function P8(e){return"responseURL"in e&&e.responseURL?e.responseURL:O8.test(e.getAllResponseHeaders())?e.getResponseHeader(A0):null}var Cp=(()=>{const t=class t{constructor(n){s(this,"xhrFactory");this.xhrFactory=n}handle(n){if(n.method==="JSONP")throw new $(-2800,!1);let a=this.xhrFactory;return(a.ɵloadImpl?ea(a.ɵloadImpl()):_t(null)).pipe(as(()=>new Qe(i=>{let o=a.build();if(o.open(n.method,n.urlWithParams),n.withCredentials&&(o.withCredentials=!0),n.headers.forEach((x,S)=>o.setRequestHeader(x,S.join(","))),n.headers.has(Ep)||o.setRequestHeader(Ep,E8),!n.headers.has(xp)){let x=n.detectContentTypeHeader();x!==null&&o.setRequestHeader(xp,x)}if(n.responseType){let x=n.responseType.toLowerCase();o.responseType=x!=="json"?x:"text"}let l=n.serializeBody(),h=null,u=()=>{if(h!==null)return h;let x=o.statusText||"OK",S=new Oa(o.getAllResponseHeaders()),N=P8(o)||n.url;return h=new S8({headers:S,status:o.status,statusText:x,url:N}),h},c=()=>{let{headers:x,status:S,statusText:N,url:L}=u(),A=null;S!==C8&&(A=typeof o.response>"u"?o.responseText:o.response),S===0&&(S=A?k8:0);let Y=S>=200&&S<300;if(n.responseType==="json"&&typeof A=="string"){let ne=A;A=A.replace(R8,"");try{A=A!==""?JSON.parse(A):null}catch(ue){A=ne,Y&&(Y=!1,A={error:ue,text:A})}}Y?(i.next(new B0({body:A,headers:x,status:S,statusText:N,url:L||void 0})),i.complete()):i.error(new Sp({error:A,headers:x,status:S,statusText:N,url:L||void 0}))},m=x=>{let{url:S}=u(),N=new Sp({error:x,status:o.status||0,statusText:o.statusText||"Unknown Error",url:S||void 0});i.error(N)},b=!1,g=x=>{b||(i.next(u()),b=!0);let S={type:xa.DownloadProgress,loaded:x.loaded};x.lengthComputable&&(S.total=x.total),n.responseType==="text"&&o.responseText&&(S.partialText=o.responseText),i.next(S)},w=x=>{let S={type:xa.UploadProgress,loaded:x.loaded};x.lengthComputable&&(S.total=x.total),i.next(S)};return o.addEventListener("load",c),o.addEventListener("error",m),o.addEventListener("timeout",m),o.addEventListener("abort",m),n.reportProgress&&(o.addEventListener("progress",g),l!==null&&o.upload&&o.upload.addEventListener("progress",w)),o.send(l),i.next({type:xa.Sent}),()=>{o.removeEventListener("error",m),o.removeEventListener("abort",m),o.removeEventListener("load",c),o.removeEventListener("timeout",m),n.reportProgress&&(o.removeEventListener("progress",g),l!==null&&o.upload&&o.upload.removeEventListener("progress",w)),o.readyState!==o.DONE&&o.abort()}})))}};s(t,"ɵfac",function(n){return new(n||t)(ee(C0))}),s(t,"ɵprov",U({token:t,factory:t.ɵfac}));let e=t;return e})(),H0=new Q(""),A8="XSRF-TOKEN",L8=new Q("",{providedIn:"root",factory:()=>A8}),F8="X-XSRF-TOKEN",j8=new Q("",{providedIn:"root",factory:()=>F8}),q0=class{},V8=(()=>{const t=class t{constructor(n,a){s(this,"doc");s(this,"cookieName");s(this,"lastCookieString","");s(this,"lastToken",null);s(this,"parseCount",0);this.doc=n,this.cookieName=a}getToken(){let n=this.doc.cookie||"";return n!==this.lastCookieString&&(this.parseCount++,this.lastToken=E0(n,this.cookieName),this.lastCookieString=n),this.lastToken}};s(t,"ɵfac",function(n){return new(n||t)(ee(Le),ee(L8))}),s(t,"ɵprov",U({token:t,factory:t.ɵfac}));let e=t;return e})();function B8(e,t){let r=e.url.toLowerCase();if(!D(H0)||e.method==="GET"||e.method==="HEAD"||r.startsWith("http://")||r.startsWith("https://"))return t(e);let n=D(q0).getToken(),a=D(j8);return n!=null&&!e.headers.has(a)&&(e=e.clone({headers:e.headers.set(a,n)})),t(e)}var G0=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}(G0||{});function z8(e,t){return{ɵkind:e,ɵproviders:t}}function H8(...e){let t=[no,Cp,kp,{provide:_d,useExisting:kp},{provide:O0,useFactory:()=>D(I8,{optional:!0})??D(Cp)},{provide:xd,useValue:B8,multi:!0},{provide:H0,useValue:!0},{provide:q0,useClass:V8}];for(let r of e)t.push(...r.ɵproviders);return Cc(t)}function q8(e){return z8(G0.Interceptors,e.map(t=>({provide:xd,useValue:t,multi:!0})))}var $0=(()=>{const t=class t{};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",U({token:t,factory:function(n){let a=null;return n?a=new(n||t):a=ee(G8),a},providedIn:"root"}));let e=t;return e})(),G8=(()=>{const t=class t extends $0{constructor(a){super();s(this,"_doc");this._doc=a}sanitize(a,i){if(i==null)return null;switch(a){case on.NONE:return i;case on.HTML:return Ka(i,"HTML")?Hr(i):UH(this._doc,String(i)).toString();case on.STYLE:return Ka(i,"Style")?Hr(i):i;case on.SCRIPT:if(Ka(i,"Script"))return Hr(i);throw new $(5200,!1);case on.URL:return Ka(i,"URL")?Hr(i):Zg(String(i));case on.RESOURCE_URL:if(Ka(i,"ResourceURL"))return Hr(i);throw new $(5201,!1);default:throw new $(5202,!1)}}bypassSecurityTrustHtml(a){return EH(a)}bypassSecurityTrustStyle(a){return SH(a)}bypassSecurityTrustScript(a){return kH(a)}bypassSecurityTrustUrl(a){return CH(a)}bypassSecurityTrustResourceUrl(a){return IH(a)}};s(t,"ɵfac",function(a){return new(a||t)(ee(Le))}),s(t,"ɵprov",U({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),ro=class{},$8=(()=>{const t=class t extends ro{getTranslation(n){return _t({})}};s(t,"ɵfac",(()=>{let n;return function(a){return(n||(n=En(t)))(a||t)}})()),s(t,"ɵprov",U({token:t,factory:t.ɵfac}));let e=t;return e})(),U0=class{},U8=(()=>{const t=class t{handle(n){return n.key}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",U({token:t,factory:t.ɵfac}));let e=t;return e})();function Ss(e,t){if(e===t)return!0;if(e===null||t===null)return!1;if(e!==e&&t!==t)return!0;let r=typeof e,n=typeof t,a,i,o;if(r==n&&r=="object")if(Array.isArray(e)){if(!Array.isArray(t))return!1;if((a=e.length)==t.length){for(i=0;i<a;i++)if(!Ss(e[i],t[i]))return!1;return!0}}else{if(Array.isArray(t))return!1;o=Object.create(null);for(i in e){if(!Ss(e[i],t[i]))return!1;o[i]=!0}for(i in t)if(!(i in o)&&typeof t[i]<"u")return!1;return!0}return!1}function _r(e){return typeof e<"u"&&e!==null}function ao(e){return Jo(e)&&!Ed(e)&&e!==null}function Jo(e){return typeof e=="object"}function Ed(e){return Array.isArray(e)}function Sd(e){return typeof e=="string"}function W8(e){return typeof e=="function"}function Zu(e,t){let r=Object.assign({},e);return Jo(e)?(Jo(e)&&Jo(t)&&Object.keys(t).forEach(n=>{ao(t[n])?n in e?r[n]=Zu(e[n],t[n]):Object.assign(r,{[n]:t[n]}):Object.assign(r,{[n]:t[n]})}),r):Zu({},t)}function Yu(e,t){let r=t.split(".");t="";do t+=r.shift(),_r(e)&&_r(e[t])&&(ao(e[t])||Ed(e[t])||!r.length)?(e=e[t],t=""):r.length?t+=".":e=void 0;while(r.length);return e}function Z8(e,t,r){let n=t.split("."),a=e;for(let i=0;i<n.length;i++){let o=n[i];i===n.length-1?a[o]=r:((!a[o]||!ao(a[o]))&&(a[o]={}),a=a[o])}}var kd=class{},Y8=(()=>{const t=class t extends kd{constructor(){super(...arguments);s(this,"templateMatcher",/{{\s?([^{}\s]*)\s?}}/g)}interpolate(a,i){if(Sd(a))return this.interpolateString(a,i);if(W8(a))return this.interpolateFunction(a,i)}interpolateFunction(a,i){return a(i)}interpolateString(a,i){return i?a.replace(this.templateMatcher,(o,l)=>{let h=Yu(i,l);return _r(h)?h:o}):a}};s(t,"ɵfac",(()=>{let a;return function(i){return(a||(a=En(t)))(i||t)}})()),s(t,"ɵprov",U({token:t,factory:t.ɵfac}));let e=t;return e})(),io=class{},K8=(()=>{const t=class t extends io{compile(n,a){return n}compileTranslations(n,a){return n}};s(t,"ɵfac",(()=>{let n;return function(a){return(n||(n=En(t)))(a||t)}})()),s(t,"ɵprov",U({token:t,factory:t.ɵfac}));let e=t;return e})(),Ku=class{constructor(){s(this,"defaultLang");s(this,"currentLang",this.defaultLang);s(this,"translations",{});s(this,"langs",[]);s(this,"onTranslationChange",new Ft);s(this,"onLangChange",new Ft);s(this,"onDefaultLangChange",new Ft)}},W0=new Q("ISOLATE_TRANSLATE_SERVICE"),Z0=new Q("USE_DEFAULT_LANG"),Y0=new Q("DEFAULT_LANGUAGE"),K0=new Q("USE_EXTEND"),Ja=e=>ci(e)?e:_t(e),Hn=(()=>{const t=class t{constructor(n,a,i,o,l,h=!0,u=!1,c=!1,m){s(this,"store");s(this,"currentLoader");s(this,"compiler");s(this,"parser");s(this,"missingTranslationHandler");s(this,"useDefaultLang");s(this,"extend");s(this,"loadingTranslations");s(this,"pending",!1);s(this,"_translationRequests",{});s(this,"lastUseLanguage",null);this.store=n,this.currentLoader=a,this.compiler=i,this.parser=o,this.missingTranslationHandler=l,this.useDefaultLang=h,this.extend=c,u&&(this.store=new Ku),m&&this.setDefaultLang(m)}get onTranslationChange(){return this.store.onTranslationChange}get onLangChange(){return this.store.onLangChange}get onDefaultLangChange(){return this.store.onDefaultLangChange}get defaultLang(){return this.store.defaultLang}set defaultLang(n){this.store.defaultLang=n}get currentLang(){return this.store.currentLang}set currentLang(n){this.store.currentLang=n}get langs(){return this.store.langs}set langs(n){this.store.langs=n}get translations(){return this.store.translations}set translations(n){this.store.translations=n}setDefaultLang(n){if(n===this.defaultLang)return;let a=this.retrieveTranslations(n);typeof a<"u"?(this.defaultLang==null&&(this.defaultLang=n),a.pipe(rr(1)).subscribe(()=>{this.changeDefaultLang(n)})):this.changeDefaultLang(n)}getDefaultLang(){return this.defaultLang}use(n){if(this.lastUseLanguage=n,n===this.currentLang)return _t(this.translations[n]);this.currentLang||(this.currentLang=n);let a=this.retrieveTranslations(n);return ci(a)?(a.pipe(rr(1)).subscribe(()=>{this.changeLang(n)}),a):(this.changeLang(n),_t(this.translations[n]))}changeLang(n){n===this.lastUseLanguage&&(this.currentLang=n,this.onLangChange.emit({lang:n,translations:this.translations[n]}),this.defaultLang==null&&this.changeDefaultLang(n))}retrieveTranslations(n){if(typeof this.translations[n]>"u"||this.extend)return this._translationRequests[n]=this._translationRequests[n]||this.loadAndCompileTranslations(n),this._translationRequests[n]}getTranslation(n){return this.loadAndCompileTranslations(n)}loadAndCompileTranslations(n){this.pending=!0;let a=this.currentLoader.getTranslation(n).pipe(mh(1),rr(1));return this.loadingTranslations=a.pipe(wt(i=>this.compiler.compileTranslations(i,n)),mh(1),rr(1)),this.loadingTranslations.subscribe({next:i=>{this.translations[n]=this.extend&&this.translations[n]?ge(ge({},i),this.translations[n]):i,this.updateLangs(),this.pending=!1},error:i=>{this.pending=!1}}),a}setTranslation(n,a,i=!1){let o=this.compiler.compileTranslations(a,n);(i||this.extend)&&this.translations[n]?this.translations[n]=Zu(this.translations[n],o):this.translations[n]=o,this.updateLangs(),this.onTranslationChange.emit({lang:n,translations:this.translations[n]})}getLangs(){return this.langs}addLangs(n){let a=n.filter(i=>!this.langs.includes(i));a.length>0&&(this.langs=[...this.langs,...a])}updateLangs(){this.addLangs(Object.keys(this.translations))}getParsedResultForKey(n,a,i){let o;if(n&&(o=this.runInterpolation(Yu(n,a),i)),o===void 0&&this.defaultLang!=null&&this.defaultLang!==this.currentLang&&this.useDefaultLang&&(o=this.runInterpolation(Yu(this.translations[this.defaultLang],a),i)),o===void 0){let l={key:a,translateService:this};typeof i<"u"&&(l.interpolateParams=i),o=this.missingTranslationHandler.handle(l)}return o!==void 0?o:a}runInterpolation(n,a){if(Ed(n))return n.map(i=>this.runInterpolation(i,a));if(ao(n)){let i={};for(let o in n){let l=this.runInterpolation(n[o],a);l!==void 0&&(i[o]=l)}return i}else return this.parser.interpolate(n,a)}getParsedResult(n,a,i){if(a instanceof Array){let o={},l=!1;for(let u of a)o[u]=this.getParsedResultForKey(n,u,i),l=l||ci(o[u]);if(!l)return o;let h=a.map(u=>Ja(o[u]));return hf(h).pipe(wt(u=>{let c={};return u.forEach((m,b)=>{c[a[b]]=m}),c}))}return this.getParsedResultForKey(n,a,i)}get(n,a){if(!_r(n)||!n.length)throw new Error('Parameter "key" is required and cannot be empty');return this.pending?this.loadingTranslations.pipe(ff(i=>Ja(this.getParsedResult(i,n,a)))):Ja(this.getParsedResult(this.translations[this.currentLang],n,a))}getStreamOnTranslationChange(n,a){if(!_r(n)||!n.length)throw new Error('Parameter "key" is required and cannot be empty');return yi(ph(()=>this.get(n,a)),this.onTranslationChange.pipe(as(i=>{let o=this.getParsedResult(i.translations,n,a);return Ja(o)})))}stream(n,a){if(!_r(n)||!n.length)throw new Error('Parameter "key" required');return yi(ph(()=>this.get(n,a)),this.onLangChange.pipe(as(i=>{let o=this.getParsedResult(i.translations,n,a);return Ja(o)})))}instant(n,a){if(!_r(n)||n.length===0)throw new Error('Parameter "key" is required and cannot be empty');let i=this.getParsedResult(this.translations[this.currentLang],n,a);return ci(i)?Array.isArray(n)?n.reduce((o,l)=>(o[l]=l,o),{}):n:i}set(n,a,i=this.currentLang){Z8(this.translations[i],n,Sd(a)?this.compiler.compile(a,i):this.compiler.compileTranslations(a,i)),this.updateLangs(),this.onTranslationChange.emit({lang:i,translations:this.translations[i]})}changeDefaultLang(n){this.defaultLang=n,this.onDefaultLangChange.emit({lang:n,translations:this.translations[n]})}reloadLang(n){return this.resetLang(n),this.loadAndCompileTranslations(n)}resetLang(n){delete this._translationRequests[n],delete this.translations[n]}getBrowserLang(){if(typeof window>"u"||!window.navigator)return;let n=this.getBrowserCultureLang();return n?n.split(/[-_]/)[0]:void 0}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}};s(t,"ɵfac",function(n){return new(n||t)(ee(Ku),ee(ro),ee(io),ee(kd),ee(U0),ee(Z0),ee(W0),ee(K0),ee(Y0))}),s(t,"ɵprov",U({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),Cd=(()=>{const t=class t{constructor(n,a){s(this,"translate");s(this,"_ref");s(this,"value","");s(this,"lastKey",null);s(this,"lastParams",[]);s(this,"onTranslationChange");s(this,"onLangChange");s(this,"onDefaultLangChange");this.translate=n,this._ref=a}updateValue(n,a,i){let o=l=>{this.value=l!==void 0?l:n,this.lastKey=n,this._ref.markForCheck()};if(i){let l=this.translate.getParsedResult(i,n,a);ci(l)?l.subscribe(o):o(l)}this.translate.get(n,a).subscribe(o)}transform(n,...a){if(!n||!n.length)return n;if(Ss(n,this.lastKey)&&Ss(a,this.lastParams))return this.value;let i;if(_r(a[0])&&a.length)if(Sd(a[0])&&a[0].length){let o=a[0].replace(/(')?([a-zA-Z0-9_]+)(')?(\s)?:/g,'"$2":').replace(/:(\s)?(')(.*?)(')/g,':"$3"');try{i=JSON.parse(o)}catch{throw new SyntaxError(`Wrong parameter in TranslatePipe. Expected a valid Object, received: ${a[0]}`)}}else ao(a[0])&&(i=a[0]);return this.lastKey=n,this.lastParams=a,this.updateValue(n,i),this._dispose(),this.onTranslationChange||(this.onTranslationChange=this.translate.onTranslationChange.subscribe(o=>{this.lastKey&&o.lang===this.translate.currentLang&&(this.lastKey=null,this.updateValue(n,i,o.translations))})),this.onLangChange||(this.onLangChange=this.translate.onLangChange.subscribe(o=>{this.lastKey&&(this.lastKey=null,this.updateValue(n,i,o.translations))})),this.onDefaultLangChange||(this.onDefaultLangChange=this.translate.onDefaultLangChange.subscribe(()=>{this.lastKey&&(this.lastKey=null,this.updateValue(n,i))})),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.onDefaultLangChange<"u"&&(this.onDefaultLangChange.unsubscribe(),this.onDefaultLangChange=void 0)}ngOnDestroy(){this._dispose()}};s(t,"ɵfac",function(n){return new(n||t)(jt(Hn,16),jt(nl,16))}),s(t,"ɵpipe",za({name:"translate",type:t,pure:!1})),s(t,"ɵprov",U({token:t,factory:t.ɵfac}));let e=t;return e})(),Q8=(e={})=>Cc([e.loader||{provide:ro,useClass:$8},e.compiler||{provide:io,useClass:K8},e.parser||{provide:kd,useClass:Y8},e.missingTranslationHandler||{provide:U0,useClass:U8},Ku,{provide:W0,useValue:e.isolate},{provide:Z0,useValue:e.useDefaultLang},{provide:K0,useValue:e.extend},{provide:Y0,useValue:e.defaultLanguage},Hn]);function Q0(e){return e.buttons===0||e.detail===0}function J0(e){let t=e.touches&&e.touches[0]||e.changedTouches&&e.changedTouches[0];return!!t&&t.identifier===-1&&(t.radiusX==null||t.radiusX===1)&&(t.radiusY==null||t.radiusY===1)}var Hl;function J8(){if(Hl==null){let e=typeof document<"u"?document.head:null;Hl=!!(e&&(e.createShadowRoot||e.attachShadow))}return Hl}function X8(e){if(J8()){let t=e.getRootNode?e.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&t instanceof ShadowRoot)return t}return null}function sr(e){return e.composedPath?e.composedPath()[0]:e.target}function wr(e,t,r,n,a){let i=parseInt(op.major),o=parseInt(op.minor);return i>19||i===19&&o>0||i===0&&o===0?e.listen(t,r,n,a):(t.addEventListener(r,n,a),()=>{t.removeEventListener(r,n,a)})}var Qu;try{Qu=typeof Intl<"u"&&Intl.v8BreakIterator}catch{Qu=!1}var qn=(()=>{const t=class t{constructor(){s(this,"_platformId",D(Us));s(this,"isBrowser",this._platformId?UU(this._platformId):typeof document=="object"&&!!document);s(this,"EDGE",this.isBrowser&&/(edge)/i.test(navigator.userAgent));s(this,"TRIDENT",this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent));s(this,"BLINK",this.isBrowser&&!!(window.chrome||Qu)&&typeof CSS<"u"&&!this.EDGE&&!this.TRIDENT);s(this,"WEBKIT",this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT);s(this,"IOS",this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window));s(this,"FIREFOX",this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent));s(this,"ANDROID",this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT);s(this,"SAFARI",this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT)}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",U({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),Xa;function e6(){if(Xa==null&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>Xa=!0}))}finally{Xa=Xa||!1}return Xa}function Id(e){return e6()?e:!!e.capture}function Ea(e){return e instanceof Xt?e.nativeElement:e}var t6=new Q("cdk-input-modality-detector-options"),n6={ignoreKeys:[18,17,224,91,16]},X0=650,ql={passive:!0,capture:!0},r6=(()=>{const t=class t{constructor(){s(this,"_platform",D(qn));s(this,"_listenerCleanups");s(this,"modalityDetected");s(this,"modalityChanged");s(this,"_mostRecentTarget",null);s(this,"_modality",new vc(null));s(this,"_options");s(this,"_lastTouchMs",0);s(this,"_onKeydown",n=>{var a,i;(i=(a=this._options)==null?void 0:a.ignoreKeys)!=null&&i.some(o=>o===n.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=sr(n))});s(this,"_onMousedown",n=>{Date.now()-this._lastTouchMs<X0||(this._modality.next(Q0(n)?"keyboard":"mouse"),this._mostRecentTarget=sr(n))});s(this,"_onTouchstart",n=>{if(J0(n)){this._modality.next("keyboard");return}this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=sr(n)});let n=D(je),a=D(Le),i=D(t6,{optional:!0});if(this._options=ge(ge({},n6),i),this.modalityDetected=this._modality.pipe(bf(1)),this.modalityChanged=this.modalityDetected.pipe(a5()),this._platform.isBrowser){let o=D(Sn).createRenderer(null,null);this._listenerCleanups=n.runOutsideAngular(()=>[wr(o,a,"keydown",this._onKeydown,ql),wr(o,a,"mousedown",this._onMousedown,ql),wr(o,a,"touchstart",this._onTouchstart,ql)])}}get mostRecentModality(){return this._modality.value}ngOnDestroy(){var n;this._modality.complete(),(n=this._listenerCleanups)==null||n.forEach(a=>a())}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",U({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),Xo=function(e){return e[e.IMMEDIATE=0]="IMMEDIATE",e[e.EVENTUAL=1]="EVENTUAL",e}(Xo||{}),a6=new Q("cdk-focus-monitor-default-options"),Do=Id({passive:!0,capture:!0}),i6=(()=>{const t=class t{constructor(){s(this,"_ngZone",D(je));s(this,"_platform",D(qn));s(this,"_inputModalityDetector",D(r6));s(this,"_origin",null);s(this,"_lastFocusOrigin");s(this,"_windowFocused",!1);s(this,"_windowFocusTimeoutId");s(this,"_originTimeoutId");s(this,"_originFromTouchInteraction",!1);s(this,"_elementInfo",new Map);s(this,"_monitoredElementCount",0);s(this,"_rootNodeFocusListenerCount",new Map);s(this,"_detectionMode");s(this,"_windowFocusListener",()=>{this._windowFocused=!0,this._windowFocusTimeoutId=setTimeout(()=>this._windowFocused=!1)});s(this,"_document",D(Le,{optional:!0}));s(this,"_stopInputModalityDetector",new Pe);s(this,"_rootNodeFocusAndBlurListener",n=>{let a=sr(n);for(let i=a;i;i=i.parentElement)n.type==="focus"?this._onFocus(n,i):this._onBlur(n,i)});let n=D(a6,{optional:!0});this._detectionMode=(n==null?void 0:n.detectionMode)||Xo.IMMEDIATE}monitor(n,a=!1){let i=Ea(n);if(!this._platform.isBrowser||i.nodeType!==1)return _t();let o=X8(i)||this._getDocument(),l=this._elementInfo.get(i);if(l)return a&&(l.checkChildren=!0),l.subject;let h={checkChildren:a,subject:new Pe,rootNode:o};return this._elementInfo.set(i,h),this._registerGlobalListeners(h),h.subject}stopMonitoring(n){let a=Ea(n),i=this._elementInfo.get(a);i&&(i.subject.complete(),this._setClasses(a),this._elementInfo.delete(a),this._removeGlobalListeners(i))}focusVia(n,a,i){let o=Ea(n),l=this._getDocument().activeElement;o===l?this._getClosestElementsInfo(o).forEach(([h,u])=>this._originChanged(h,a,u)):(this._setOrigin(a),typeof o.focus=="function"&&o.focus(i))}ngOnDestroy(){this._elementInfo.forEach((n,a)=>this.stopMonitoring(a))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_getFocusOrigin(n){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(n)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:n&&this._isLastInteractionFromInputLabel(n)?"mouse":"program"}_shouldBeAttributedToTouch(n){return this._detectionMode===Xo.EVENTUAL||!!(n!=null&&n.contains(this._inputModalityDetector._mostRecentTarget))}_setClasses(n,a){n.classList.toggle("cdk-focused",!!a),n.classList.toggle("cdk-touch-focused",a==="touch"),n.classList.toggle("cdk-keyboard-focused",a==="keyboard"),n.classList.toggle("cdk-mouse-focused",a==="mouse"),n.classList.toggle("cdk-program-focused",a==="program")}_setOrigin(n,a=!1){this._ngZone.runOutsideAngular(()=>{if(this._origin=n,this._originFromTouchInteraction=n==="touch"&&a,this._detectionMode===Xo.IMMEDIATE){clearTimeout(this._originTimeoutId);let i=this._originFromTouchInteraction?X0:1;this._originTimeoutId=setTimeout(()=>this._origin=null,i)}})}_onFocus(n,a){let i=this._elementInfo.get(a),o=sr(n);!i||!i.checkChildren&&a!==o||this._originChanged(a,this._getFocusOrigin(o),i)}_onBlur(n,a){let i=this._elementInfo.get(a);!i||i.checkChildren&&n.relatedTarget instanceof Node&&a.contains(n.relatedTarget)||(this._setClasses(a),this._emitOrigin(i,null))}_emitOrigin(n,a){n.subject.observers.length&&this._ngZone.run(()=>n.subject.next(a))}_registerGlobalListeners(n){if(!this._platform.isBrowser)return;let a=n.rootNode,i=this._rootNodeFocusListenerCount.get(a)||0;i||this._ngZone.runOutsideAngular(()=>{a.addEventListener("focus",this._rootNodeFocusAndBlurListener,Do),a.addEventListener("blur",this._rootNodeFocusAndBlurListener,Do)}),this._rootNodeFocusListenerCount.set(a,i+1),++this._monitoredElementCount===1&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe(Fi(this._stopInputModalityDetector)).subscribe(o=>{this._setOrigin(o,!0)}))}_removeGlobalListeners(n){let a=n.rootNode;if(this._rootNodeFocusListenerCount.has(a)){let i=this._rootNodeFocusListenerCount.get(a);i>1?this._rootNodeFocusListenerCount.set(a,i-1):(a.removeEventListener("focus",this._rootNodeFocusAndBlurListener,Do),a.removeEventListener("blur",this._rootNodeFocusAndBlurListener,Do),this._rootNodeFocusListenerCount.delete(a))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(n,a,i){this._setClasses(n,a),this._emitOrigin(i,a),this._lastFocusOrigin=a}_getClosestElementsInfo(n){let a=[];return this._elementInfo.forEach((i,o)=>{(o===n||i.checkChildren&&o.contains(n))&&a.push([o,i])}),a}_isLastInteractionFromInputLabel(n){let{_mostRecentTarget:a,mostRecentModality:i}=this._inputModalityDetector;if(i!=="mouse"||!a||a===n||n.nodeName!=="INPUT"&&n.nodeName!=="TEXTAREA"||n.disabled)return!1;let o=n.labels;if(o){for(let l=0;l<o.length;l++)if(o[l].contains(a))return!0}return!1}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",U({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),No=new WeakMap,ol=(()=>{const t=class t{constructor(){s(this,"_appRef");s(this,"_injector",D(Tt));s(this,"_environmentInjector",D(An))}load(n){let a=this._appRef=this._appRef||this._injector.get(Ir),i=No.get(a);i||(i={loaders:new Set,refs:[]},No.set(a,i),a.onDestroy(()=>{var o;(o=No.get(a))==null||o.refs.forEach(l=>l.destroy()),No.delete(a)})),i.loaders.has(n)||(i.loaders.add(n),i.refs.push(m0(n,{environmentInjector:this._environmentInjector})))}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",U({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})();function ks(e){return Array.isArray(e)?e:[e]}var Ip=new Set,Pr,o6=(()=>{const t=class t{constructor(){s(this,"_platform",D(qn));s(this,"_nonce",D(Kc,{optional:!0}));s(this,"_matchMedia");this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):l6}matchMedia(n){return(this._platform.WEBKIT||this._platform.BLINK)&&s6(n,this._nonce),this._matchMedia(n)}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",U({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})();function s6(e,t){if(!Ip.has(e))try{Pr||(Pr=document.createElement("style"),t&&Pr.setAttribute("nonce",t),Pr.setAttribute("type","text/css"),document.head.appendChild(Pr)),Pr.sheet&&(Pr.sheet.insertRule(`@media ${e} {body{ }}`,0),Ip.add(e))}catch(r){console.error(r)}}function l6(e){return{matches:e==="all"||e==="",media:e,addListener:()=>{},removeListener:()=>{}}}var u6=(()=>{const t=class t{constructor(){s(this,"_mediaMatcher",D(o6));s(this,"_zone",D(je));s(this,"_queries",new Map);s(this,"_destroySubject",new Pe)}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(n){return Dp(ks(n)).some(a=>this._registerQuery(a).mql.matches)}observe(n){let a=Dp(ks(n)).map(o=>this._registerQuery(o).observable),i=Q4(a);return i=yi(i.pipe(rr(1)),i.pipe(bf(1),r5(0))),i.pipe(wt(o=>{let l={matches:!1,breakpoints:{}};return o.forEach(({matches:h,query:u})=>{l.matches=l.matches||h,l.breakpoints[u]=h}),l}))}_registerQuery(n){if(this._queries.has(n))return this._queries.get(n);let a=this._mediaMatcher.matchMedia(n),i={observable:new Qe(o=>{let l=h=>this._zone.run(()=>o.next(h));return a.addListener(l),()=>{a.removeListener(l)}}).pipe(yf(a),wt(({matches:o})=>({query:n,matches:o})),Fi(this._destroySubject)),mql:a};return this._queries.set(n,i),i}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",U({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})();function Dp(e){return e.map(t=>t.split(",")).reduce((t,r)=>t.concat(r)).map(t=>t.trim())}var c6=new Q("liveAnnouncerElement",{providedIn:"root",factory:d6});function d6(){return null}var h6=new Q("LIVE_ANNOUNCER_DEFAULT_OPTIONS"),p6=0,m6=(()=>{const t=class t{constructor(){s(this,"_ngZone",D(je));s(this,"_defaultOptions",D(h6,{optional:!0}));s(this,"_liveElement");s(this,"_document",D(Le));s(this,"_previousTimeout");s(this,"_currentPromise");s(this,"_currentResolve");let n=D(c6,{optional:!0});this._liveElement=n||this._createLiveElement()}announce(n,...a){let i=this._defaultOptions,o,l;return a.length===1&&typeof a[0]=="number"?l=a[0]:[o,l]=a,this.clear(),clearTimeout(this._previousTimeout),o||(o=i&&i.politeness?i.politeness:"polite"),l==null&&i&&(l=i.duration),this._liveElement.setAttribute("aria-live",o),this._liveElement.id&&this._exposeAnnouncerToModals(this._liveElement.id),this._ngZone.runOutsideAngular(()=>(this._currentPromise||(this._currentPromise=new Promise(h=>this._currentResolve=h)),clearTimeout(this._previousTimeout),this._previousTimeout=setTimeout(()=>{var h;this._liveElement.textContent=n,typeof l=="number"&&(this._previousTimeout=setTimeout(()=>this.clear(),l)),(h=this._currentResolve)==null||h.call(this),this._currentPromise=this._currentResolve=void 0},100),this._currentPromise))}clear(){this._liveElement&&(this._liveElement.textContent="")}ngOnDestroy(){var n,a;clearTimeout(this._previousTimeout),(n=this._liveElement)==null||n.remove(),this._liveElement=null,(a=this._currentResolve)==null||a.call(this),this._currentPromise=this._currentResolve=void 0}_createLiveElement(){let n="cdk-live-announcer-element",a=this._document.getElementsByClassName(n),i=this._document.createElement("div");for(let o=0;o<a.length;o++)a[o].remove();return i.classList.add(n),i.classList.add("cdk-visually-hidden"),i.setAttribute("aria-atomic","true"),i.setAttribute("aria-live","polite"),i.id=`cdk-live-announcer-${p6++}`,this._document.body.appendChild(i),i}_exposeAnnouncerToModals(n){let a=this._document.querySelectorAll('body > .cdk-overlay-container [aria-modal="true"]');for(let i=0;i<a.length;i++){let o=a[i],l=o.getAttribute("aria-owns");l?l.indexOf(n)===-1&&o.setAttribute("aria-owns",l+" "+n):o.setAttribute("aria-owns",n)}}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",U({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),Gl={},eb=(()=>{const t=class t{constructor(){s(this,"_appId",D(Yc))}getId(n){return this._appId!=="ng"&&(n+=this._appId),Gl.hasOwnProperty(n)||(Gl[n]=0),`${n}${Gl[n]++}`}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",U({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),f6=new Q("cdk-dir-doc",{providedIn:"root",factory:g6});function g6(){return D(Le)}var v6=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;function b6(e){let t=(e==null?void 0:e.toLowerCase())||"";return t==="auto"&&typeof navigator<"u"&&(navigator!=null&&navigator.language)?v6.test(navigator.language)?"rtl":"ltr":t==="rtl"?"rtl":"ltr"}var y6=(()=>{const t=class t{constructor(){s(this,"value","ltr");s(this,"change",new Ft);let n=D(f6,{optional:!0});if(n){let a=n.body?n.body.dir:null,i=n.documentElement?n.documentElement.dir:null;this.value=b6(a||i||"ltr")}}ngOnDestroy(){this.change.complete()}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",U({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),Ju=new Q("MAT_DATE_LOCALE",{providedIn:"root",factory:_6});function _6(){return D(tl)}var la="Method not implemented",tb=class{constructor(){s(this,"locale");s(this,"_localeChanges",new Pe);s(this,"localeChanges",this._localeChanges)}setTime(e,t,r,n){throw new Error(la)}getHours(e){throw new Error(la)}getMinutes(e){throw new Error(la)}getSeconds(e){throw new Error(la)}parseTime(e,t){throw new Error(la)}addSeconds(e,t){throw new Error(la)}getValidDateOrNull(e){return this.isDateInstance(e)&&this.isValid(e)?e:null}deserialize(e){return e==null||this.isDateInstance(e)&&this.isValid(e)?e:this.invalid()}setLocale(e){this.locale=e,this._localeChanges.next()}compareDate(e,t){return this.getYear(e)-this.getYear(t)||this.getMonth(e)-this.getMonth(t)||this.getDate(e)-this.getDate(t)}compareTime(e,t){return this.getHours(e)-this.getHours(t)||this.getMinutes(e)-this.getMinutes(t)||this.getSeconds(e)-this.getSeconds(t)}sameDate(e,t){if(e&&t){let r=this.isValid(e),n=this.isValid(t);return r&&n?!this.compareDate(e,t):r==n}return e==t}sameTime(e,t){if(e&&t){let r=this.isValid(e),n=this.isValid(t);return r&&n?!this.compareTime(e,t):r==n}return e==t}clampDate(e,t,r){return t&&this.compareDate(e,t)<0?t:r&&this.compareDate(e,r)>0?r:e}},w6=new Q("mat-date-formats"),x6=(()=>{const t=class t{};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵcmp",Ct({type:t,selectors:[["structural-styles"]],decls:0,vars:0,template:function(n,a){},styles:[`.mat-focus-indicator{position:relative}.mat-focus-indicator::before{top:0;left:0;right:0;bottom:0;position:absolute;box-sizing:border-box;pointer-events:none;display:var(--mat-focus-indicator-display, none);border-width:var(--mat-focus-indicator-border-width, 3px);border-style:var(--mat-focus-indicator-border-style, solid);border-color:var(--mat-focus-indicator-border-color, transparent);border-radius:var(--mat-focus-indicator-border-radius, 4px)}.mat-focus-indicator:focus::before{content:""}@media(forced-colors: active){html{--mat-focus-indicator-display: block}}
20
+ `],encapsulation:2,changeDetection:0}));let e=t;return e})(),Ar;function E6(){if(Ar==null){if(typeof document!="object"||!document||typeof Element!="function"||!Element)return Ar=!1,Ar;if("scrollBehavior"in document.documentElement.style)Ar=!0;else{let e=Element.prototype.scrollTo;e?Ar=!/\{\s*\[native code\]\s*\}/.test(e.toString()):Ar=!1}}return Ar}function Np(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}function ut(e){return e==null?"":typeof e=="string"?e:`${e}px`}var rn=function(e){return e[e.FADING_IN=0]="FADING_IN",e[e.VISIBLE=1]="VISIBLE",e[e.FADING_OUT=2]="FADING_OUT",e[e.HIDDEN=3]="HIDDEN",e}(rn||{}),S6=class{constructor(e,t,r,n=!1){s(this,"_renderer");s(this,"element");s(this,"config");s(this,"_animationForciblyDisabledThroughCss");s(this,"state",rn.HIDDEN);this._renderer=e,this.element=t,this.config=r,this._animationForciblyDisabledThroughCss=n}fadeOut(){this._renderer.fadeOutRipple(this)}},Tp=Id({passive:!0,capture:!0}),k6=class{constructor(){s(this,"_events",new Map);s(this,"_delegateEventHandler",e=>{var r;let t=sr(e);t&&((r=this._events.get(e.type))==null||r.forEach((n,a)=>{(a===t||a.contains(t))&&n.forEach(i=>i.handleEvent(e))}))})}addHandler(e,t,r,n){let a=this._events.get(t);if(a){let i=a.get(r);i?i.add(n):a.set(r,new Set([n]))}else this._events.set(t,new Map([[r,new Set([n])]])),e.runOutsideAngular(()=>{document.addEventListener(t,this._delegateEventHandler,Tp)})}removeHandler(e,t,r){let n=this._events.get(e);if(!n)return;let a=n.get(t);a&&(a.delete(r),a.size===0&&n.delete(t),n.size===0&&(this._events.delete(e),document.removeEventListener(e,this._delegateEventHandler,Tp)))}},Cs={enterDuration:225,exitDuration:150},C6=800,Mp=Id({passive:!0,capture:!0}),Rp=["mousedown","touchstart"],Op=["mouseup","mouseleave","touchend","touchcancel"],I6=(()=>{const t=class t{};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵcmp",Ct({type:t,selectors:[["ng-component"]],hostAttrs:["mat-ripple-style-loader",""],decls:0,vars:0,template:function(n,a){},styles:[`.mat-ripple{overflow:hidden;position:relative}.mat-ripple:not(:empty){transform:translateZ(0)}.mat-ripple.mat-ripple-unbounded{overflow:visible}.mat-ripple-element{position:absolute;border-radius:50%;pointer-events:none;transition:opacity,transform 0ms cubic-bezier(0, 0, 0.2, 1);transform:scale3d(0, 0, 0);background-color:var(--mat-ripple-color, color-mix(in srgb, var(--mat-sys-on-surface) 10%, transparent))}@media(forced-colors: active){.mat-ripple-element{display:none}}.cdk-drag-preview .mat-ripple-element,.cdk-drag-placeholder .mat-ripple-element{display:none}
21
+ `],encapsulation:2,changeDetection:0}));let e=t;return e})(),xr,D6=(xr=class{constructor(t,r,n,a,i){s(this,"_target");s(this,"_ngZone");s(this,"_platform");s(this,"_containerElement");s(this,"_triggerElement");s(this,"_isPointerDown",!1);s(this,"_activeRipples",new Map);s(this,"_mostRecentTransientRipple");s(this,"_lastTouchStartEvent");s(this,"_pointerUpEventsRegistered",!1);s(this,"_containerRect");this._target=t,this._ngZone=r,this._platform=a,a.isBrowser&&(this._containerElement=Ea(n)),i&&i.get(ol).load(I6)}fadeInRipple(t,r,n={}){let a=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),i=ge(ge({},Cs),n.animation);n.centered&&(t=a.left+a.width/2,r=a.top+a.height/2);let o=n.radius||N6(t,r,a),l=t-a.left,h=r-a.top,u=i.enterDuration,c=document.createElement("div");c.classList.add("mat-ripple-element"),c.style.left=`${l-o}px`,c.style.top=`${h-o}px`,c.style.height=`${o*2}px`,c.style.width=`${o*2}px`,n.color!=null&&(c.style.backgroundColor=n.color),c.style.transitionDuration=`${u}ms`,this._containerElement.appendChild(c);let m=window.getComputedStyle(c),b=m.transitionProperty,g=m.transitionDuration,w=b==="none"||g==="0s"||g==="0s, 0s"||a.width===0&&a.height===0,x=new S6(this,c,n,w);c.style.transform="scale3d(1, 1, 1)",x.state=rn.FADING_IN,n.persistent||(this._mostRecentTransientRipple=x);let S=null;return!w&&(u||i.exitDuration)&&this._ngZone.runOutsideAngular(()=>{let N=()=>{S&&(S.fallbackTimer=null),clearTimeout(A),this._finishRippleTransition(x)},L=()=>this._destroyRipple(x),A=setTimeout(L,u+100);c.addEventListener("transitionend",N),c.addEventListener("transitioncancel",L),S={onTransitionEnd:N,onTransitionCancel:L,fallbackTimer:A}}),this._activeRipples.set(x,S),(w||!u)&&this._finishRippleTransition(x),x}fadeOutRipple(t){if(t.state===rn.FADING_OUT||t.state===rn.HIDDEN)return;let r=t.element,n=ge(ge({},Cs),t.config.animation);r.style.transitionDuration=`${n.exitDuration}ms`,r.style.opacity="0",t.state=rn.FADING_OUT,(t._animationForciblyDisabledThroughCss||!n.exitDuration)&&this._finishRippleTransition(t)}fadeOutAll(){this._getActiveRipples().forEach(t=>t.fadeOut())}fadeOutAllNonPersistent(){this._getActiveRipples().forEach(t=>{t.config.persistent||t.fadeOut()})}setupTriggerEvents(t){let r=Ea(t);!this._platform.isBrowser||!r||r===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=r,Rp.forEach(n=>{xr._eventManager.addHandler(this._ngZone,n,r,this)}))}handleEvent(t){t.type==="mousedown"?this._onMousedown(t):t.type==="touchstart"?this._onTouchStart(t):this._onPointerUp(),this._pointerUpEventsRegistered||(this._ngZone.runOutsideAngular(()=>{Op.forEach(r=>{this._triggerElement.addEventListener(r,this,Mp)})}),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(t){t.state===rn.FADING_IN?this._startFadeOutTransition(t):t.state===rn.FADING_OUT&&this._destroyRipple(t)}_startFadeOutTransition(t){let r=t===this._mostRecentTransientRipple,{persistent:n}=t.config;t.state=rn.VISIBLE,!n&&(!r||!this._isPointerDown)&&t.fadeOut()}_destroyRipple(t){let r=this._activeRipples.get(t)??null;this._activeRipples.delete(t),this._activeRipples.size||(this._containerRect=null),t===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),t.state=rn.HIDDEN,r!==null&&(t.element.removeEventListener("transitionend",r.onTransitionEnd),t.element.removeEventListener("transitioncancel",r.onTransitionCancel),r.fallbackTimer!==null&&clearTimeout(r.fallbackTimer)),t.element.remove()}_onMousedown(t){let r=Q0(t),n=this._lastTouchStartEvent&&Date.now()<this._lastTouchStartEvent+C6;!this._target.rippleDisabled&&!r&&!n&&(this._isPointerDown=!0,this.fadeInRipple(t.clientX,t.clientY,this._target.rippleConfig))}_onTouchStart(t){if(!this._target.rippleDisabled&&!J0(t)){this._lastTouchStartEvent=Date.now(),this._isPointerDown=!0;let r=t.changedTouches;if(r)for(let n=0;n<r.length;n++)this.fadeInRipple(r[n].clientX,r[n].clientY,this._target.rippleConfig)}}_onPointerUp(){this._isPointerDown&&(this._isPointerDown=!1,this._getActiveRipples().forEach(t=>{let r=t.state===rn.VISIBLE||t.config.terminateOnPointerUp&&t.state===rn.FADING_IN;!t.config.persistent&&r&&t.fadeOut()}))}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){let t=this._triggerElement;t&&(Rp.forEach(r=>xr._eventManager.removeHandler(r,t,this)),this._pointerUpEventsRegistered&&(Op.forEach(r=>t.removeEventListener(r,this,Mp)),this._pointerUpEventsRegistered=!1))}},s(xr,"_eventManager",new k6),xr);function N6(e,t,r){let n=Math.max(Math.abs(e-r.left),Math.abs(e-r.right)),a=Math.max(Math.abs(t-r.top),Math.abs(t-r.bottom));return Math.sqrt(n*n+a*a)}var T6=new Q("mat-ripple-global-options"),M6={capture:!0},R6=["focus","mousedown","mouseenter","touchstart"],$l="mat-ripple-loader-uninitialized",Ul="mat-ripple-loader-class-name",Pp="mat-ripple-loader-centered",To="mat-ripple-loader-disabled",O6=(()=>{const t=class t{constructor(){s(this,"_document",D(Le));s(this,"_animationMode",D(Yi,{optional:!0}));s(this,"_globalRippleOptions",D(T6,{optional:!0}));s(this,"_platform",D(qn));s(this,"_ngZone",D(je));s(this,"_injector",D(Tt));s(this,"_eventCleanups");s(this,"_hosts",new Map);s(this,"_onInteraction",n=>{var i;let a=sr(n);if(a instanceof HTMLElement){let o=a.closest(`[${$l}="${((i=this._globalRippleOptions)==null?void 0:i.namespace)??""}"]`);o&&this._createRipple(o)}});let n=D(Sn).createRenderer(null,null);this._eventCleanups=this._ngZone.runOutsideAngular(()=>R6.map(a=>wr(n,this._document,a,this._onInteraction,M6)))}ngOnDestroy(){let n=this._hosts.keys();for(let a of n)this.destroyRipple(a);this._eventCleanups.forEach(a=>a())}configureRipple(n,a){var i;n.setAttribute($l,((i=this._globalRippleOptions)==null?void 0:i.namespace)??""),(a.className||!n.hasAttribute(Ul))&&n.setAttribute(Ul,a.className||""),a.centered&&n.setAttribute(Pp,""),a.disabled&&n.setAttribute(To,"")}setDisabled(n,a){let i=this._hosts.get(n);i?(i.target.rippleDisabled=a,!a&&!i.hasSetUpEvents&&(i.hasSetUpEvents=!0,i.renderer.setupTriggerEvents(n))):a?n.setAttribute(To,""):n.removeAttribute(To)}_createRipple(n){var b,g,w;if(!this._document||this._hosts.has(n))return;(b=n.querySelector(".mat-ripple"))==null||b.remove();let a=this._document.createElement("span");a.classList.add("mat-ripple",n.getAttribute(Ul)),n.append(a);let i=this._animationMode==="NoopAnimations",o=this._globalRippleOptions,l=i?0:((g=o==null?void 0:o.animation)==null?void 0:g.enterDuration)??Cs.enterDuration,h=i?0:((w=o==null?void 0:o.animation)==null?void 0:w.exitDuration)??Cs.exitDuration,u={rippleDisabled:i||(o==null?void 0:o.disabled)||n.hasAttribute(To),rippleConfig:{centered:n.hasAttribute(Pp),terminateOnPointerUp:o==null?void 0:o.terminateOnPointerUp,animation:{enterDuration:l,exitDuration:h}}},c=new D6(u,this._ngZone,a,this._platform,this._injector),m=!u.rippleDisabled;m&&c.setupTriggerEvents(n),this._hosts.set(n,{target:u,renderer:c,hasSetUpEvents:m}),n.removeAttribute($l)}destroyRipple(n){let a=this._hosts.get(n);a&&(a.renderer._removeTriggerEvents(),this._hosts.delete(n))}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",U({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),P6=/^\d{4}-\d{2}-\d{2}(?:T\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|(?:(?:\+|-)\d{2}:\d{2}))?)?$/,A6=/^(\d?\d)[:.](\d?\d)(?:[:.](\d?\d))?\s*(AM|PM)?$/i;function Wl(e,t){let r=Array(e);for(let n=0;n<e;n++)r[n]=t(n);return r}var L6=(()=>{const t=class t extends tb{constructor(){super();s(this,"useUtcForDisplay",!1);s(this,"_matDateLocale",D(Ju,{optional:!0}));let a=D(Ju,{optional:!0});a!==void 0&&(this._matDateLocale=a),super.setLocale(this._matDateLocale)}getYear(a){return a.getFullYear()}getMonth(a){return a.getMonth()}getDate(a){return a.getDate()}getDayOfWeek(a){return a.getDay()}getMonthNames(a){let i=new Intl.DateTimeFormat(this.locale,{month:a,timeZone:"utc"});return Wl(12,o=>this._format(i,new Date(2017,o,1)))}getDateNames(){let a=new Intl.DateTimeFormat(this.locale,{day:"numeric",timeZone:"utc"});return Wl(31,i=>this._format(a,new Date(2017,0,i+1)))}getDayOfWeekNames(a){let i=new Intl.DateTimeFormat(this.locale,{weekday:a,timeZone:"utc"});return Wl(7,o=>this._format(i,new Date(2017,0,o+1)))}getYearName(a){let i=new Intl.DateTimeFormat(this.locale,{year:"numeric",timeZone:"utc"});return this._format(i,a)}getFirstDayOfWeek(){var a,i;if(typeof Intl<"u"&&Intl.Locale){let o=new Intl.Locale(this.locale),l=((i=((a=o.getWeekInfo)==null?void 0:a.call(o))||o.weekInfo)==null?void 0:i.firstDay)??0;return l===7?0:l}return 0}getNumDaysInMonth(a){return this.getDate(this._createDateWithOverflow(this.getYear(a),this.getMonth(a)+1,0))}clone(a){return new Date(a.getTime())}createDate(a,i,o){let l=this._createDateWithOverflow(a,i,o);return l.getMonth()!=i,l}today(){return new Date}parse(a,i){return typeof a=="number"?new Date(a):a?new Date(Date.parse(a)):null}format(a,i){if(!this.isValid(a))throw Error("NativeDateAdapter: Cannot format invalid date.");let o=new Intl.DateTimeFormat(this.locale,Kt(ge({},i),{timeZone:"utc"}));return this._format(o,a)}addCalendarYears(a,i){return this.addCalendarMonths(a,i*12)}addCalendarMonths(a,i){let o=this._createDateWithOverflow(this.getYear(a),this.getMonth(a)+i,this.getDate(a));return this.getMonth(o)!=((this.getMonth(a)+i)%12+12)%12&&(o=this._createDateWithOverflow(this.getYear(o),this.getMonth(o),0)),o}addCalendarDays(a,i){return this._createDateWithOverflow(this.getYear(a),this.getMonth(a),this.getDate(a)+i)}toIso8601(a){return[a.getUTCFullYear(),this._2digit(a.getUTCMonth()+1),this._2digit(a.getUTCDate())].join("-")}deserialize(a){if(typeof a=="string"){if(!a)return null;if(P6.test(a)){let i=new Date(a);if(this.isValid(i))return i}}return super.deserialize(a)}isDateInstance(a){return a instanceof Date}isValid(a){return!isNaN(a.getTime())}invalid(){return new Date(NaN)}setTime(a,i,o,l){let h=this.clone(a);return h.setHours(i,o,l,0),h}getHours(a){return a.getHours()}getMinutes(a){return a.getMinutes()}getSeconds(a){return a.getSeconds()}parseTime(a,i){if(typeof a!="string")return a instanceof Date?new Date(a.getTime()):null;let o=a.trim();if(o.length===0)return null;let l=this._parseTimeString(o);if(l===null){let h=o.replace(/[^0-9:(AM|PM)]/gi,"").trim();h.length>0&&(l=this._parseTimeString(h))}return l||this.invalid()}addSeconds(a,i){return new Date(a.getTime()+i*1e3)}_createDateWithOverflow(a,i,o){let l=new Date;return l.setFullYear(a,i,o),l.setHours(0,0,0,0),l}_2digit(a){return("00"+a).slice(-2)}_format(a,i){let o=new Date;return o.setUTCFullYear(i.getFullYear(),i.getMonth(),i.getDate()),o.setUTCHours(i.getHours(),i.getMinutes(),i.getSeconds(),i.getMilliseconds()),a.format(o)}_parseTimeString(a){let i=a.toUpperCase().match(A6);if(i){let o=parseInt(i[1]),l=parseInt(i[2]),h=i[3]==null?void 0:parseInt(i[3]),u=i[4];if(o===12?o=u==="AM"?0:o:u==="PM"&&(o+=12),Zl(o,0,23)&&Zl(l,0,59)&&(h==null||Zl(h,0,59)))return this.setTime(this.today(),o,l,h||0)}return null}};s(t,"ɵfac",function(a){return new(a||t)}),s(t,"ɵprov",U({token:t,factory:t.ɵfac}));let e=t;return e})();function Zl(e,t,r){return!isNaN(e)&&e>=t&&e<=r}var Dd=class{constructor(){s(this,"_attachedHost")}attach(e){return this._attachedHost=e,e.attach(this)}detach(){let e=this._attachedHost;e!=null&&(this._attachedHost=null,e.detach())}get isAttached(){return this._attachedHost!=null}setAttachedHost(e){this._attachedHost=e}},Xu=class extends Dd{constructor(t,r,n,a,i){super();s(this,"component");s(this,"viewContainerRef");s(this,"injector");s(this,"componentFactoryResolver");s(this,"projectableNodes");this.component=t,this.viewContainerRef=r,this.injector=n,this.projectableNodes=i}},nb=class extends Dd{constructor(t,r,n,a){super();s(this,"templateRef");s(this,"viewContainerRef");s(this,"context");s(this,"injector");this.templateRef=t,this.viewContainerRef=r,this.context=n,this.injector=a}get origin(){return this.templateRef.elementRef}attach(t,r=this.context){return this.context=r,super.attach(t)}detach(){return this.context=void 0,super.detach()}},F6=class extends Dd{constructor(t){super();s(this,"element");this.element=t instanceof Xt?t.nativeElement:t}},Nd=class{constructor(){s(this,"_attachedPortal");s(this,"_disposeFn");s(this,"_isDisposed",!1);s(this,"attachDomPortal",null)}hasAttached(){return!!this._attachedPortal}attach(e){if(e instanceof Xu)return this._attachedPortal=e,this.attachComponentPortal(e);if(e instanceof nb)return this._attachedPortal=e,this.attachTemplatePortal(e);if(this.attachDomPortal&&e instanceof F6)return this._attachedPortal=e,this.attachDomPortal(e)}detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}setDisposeFn(e){this._disposeFn=e}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}},j6=class extends Nd{constructor(t,r,n,a,i){super();s(this,"outletElement");s(this,"_appRef");s(this,"_defaultInjector");s(this,"_document");s(this,"attachDomPortal",t=>{let r=t.element;r.parentNode;let n=this._document.createComment("dom-portal");r.parentNode.insertBefore(n,r),this.outletElement.appendChild(r),this._attachedPortal=t,super.setDisposeFn(()=>{n.parentNode&&n.parentNode.replaceChild(r,n)})});this.outletElement=t,this._appRef=n,this._defaultInjector=a,this._document=i}attachComponentPortal(t){let r;if(t.viewContainerRef){let n=t.injector||t.viewContainerRef.injector,a=n.get(Di,null,{optional:!0})||void 0;r=t.viewContainerRef.createComponent(t.component,{index:t.viewContainerRef.length,injector:n,ngModuleRef:a,projectableNodes:t.projectableNodes||void 0}),this.setDisposeFn(()=>r.destroy())}else{let n=this._appRef,a=t.injector||this._defaultInjector||Tt.NULL,i=a.get(An,n.injector);r=m0(t.component,{elementInjector:a,environmentInjector:i,projectableNodes:t.projectableNodes||void 0}),n.attachView(r.hostView),this.setDisposeFn(()=>{n.viewCount>0&&n.detachView(r.hostView),r.destroy()})}return this.outletElement.appendChild(this._getComponentRootNode(r)),this._attachedPortal=t,r}attachTemplatePortal(t){let r=t.viewContainerRef,n=r.createEmbeddedView(t.templateRef,t.context,{injector:t.injector});return n.rootNodes.forEach(a=>this.outletElement.appendChild(a)),n.detectChanges(),this.setDisposeFn(()=>{let a=r.indexOf(n);a!==-1&&r.remove(a)}),this._attachedPortal=t,n}dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(t){return t.hostView.rootNodes[0]}},Ap=(()=>{const t=class t extends Nd{constructor(){super();s(this,"_moduleRef",D(Di,{optional:!0}));s(this,"_document",D(Le));s(this,"_viewContainerRef",D(Js));s(this,"_isInitialized",!1);s(this,"_attachedRef");s(this,"attached",new Ft);s(this,"attachDomPortal",a=>{let i=a.element;i.parentNode;let o=this._document.createComment("dom-portal");a.setAttachedHost(this),i.parentNode.insertBefore(o,i),this._getRootNode().appendChild(i),this._attachedPortal=a,super.setDisposeFn(()=>{o.parentNode&&o.parentNode.replaceChild(i,o)})})}get portal(){return this._attachedPortal}set portal(a){this.hasAttached()&&!a&&!this._isInitialized||(this.hasAttached()&&super.detach(),a&&super.attach(a),this._attachedPortal=a||null)}get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedRef=this._attachedPortal=null}attachComponentPortal(a){a.setAttachedHost(this);let i=a.viewContainerRef!=null?a.viewContainerRef:this._viewContainerRef,o=i.createComponent(a.component,{index:i.length,injector:a.injector||i.injector,projectableNodes:a.projectableNodes||void 0,ngModuleRef:this._moduleRef||void 0});return i!==this._viewContainerRef&&this._getRootNode().appendChild(o.hostView.rootNodes[0]),super.setDisposeFn(()=>o.destroy()),this._attachedPortal=a,this._attachedRef=o,this.attached.emit(o),o}attachTemplatePortal(a){a.setAttachedHost(this);let i=this._viewContainerRef.createEmbeddedView(a.templateRef,a.context,{injector:a.injector});return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=a,this._attachedRef=i,this.attached.emit(i),i}_getRootNode(){let a=this._viewContainerRef.element.nativeElement;return a.nodeType===a.ELEMENT_NODE?a:a.parentNode}};s(t,"ɵfac",function(a){return new(a||t)}),s(t,"ɵdir",hr({type:t,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:[0,"cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[Tr]}));let e=t;return e})(),V6=20,B6=(()=>{const t=class t{constructor(){s(this,"_ngZone",D(je));s(this,"_platform",D(qn));s(this,"_renderer",D(Sn).createRenderer(null,null));s(this,"_cleanupGlobalListener");s(this,"_scrolled",new Pe);s(this,"_scrolledCount",0);s(this,"scrollContainers",new Map)}register(n){this.scrollContainers.has(n)||this.scrollContainers.set(n,n.elementScrolled().subscribe(()=>this._scrolled.next(n)))}deregister(n){let a=this.scrollContainers.get(n);a&&(a.unsubscribe(),this.scrollContainers.delete(n))}scrolled(n=V6){return this._platform.isBrowser?new Qe(a=>{this._cleanupGlobalListener||(this._cleanupGlobalListener=this._ngZone.runOutsideAngular(()=>this._renderer.listen("document","scroll",()=>this._scrolled.next())));let i=n>0?this._scrolled.pipe(mf(n)).subscribe(a):this._scrolled.subscribe(a);return this._scrolledCount++,()=>{var o;i.unsubscribe(),this._scrolledCount--,this._scrolledCount||((o=this._cleanupGlobalListener)==null||o.call(this),this._cleanupGlobalListener=void 0)}}):_t()}ngOnDestroy(){var n;(n=this._cleanupGlobalListener)==null||n.call(this),this._cleanupGlobalListener=void 0,this.scrollContainers.forEach((a,i)=>this.deregister(i)),this._scrolled.complete()}ancestorScrolled(n,a){let i=this.getAncestorScrollContainers(n);return this.scrolled(a).pipe(zs(o=>!o||i.indexOf(o)>-1))}getAncestorScrollContainers(n){let a=[];return this.scrollContainers.forEach((i,o)=>{this._scrollableContainsElement(o,n)&&a.push(o)}),a}_scrollableContainsElement(n,a){let i=Ea(a),o=n.getElementRef().nativeElement;do if(i==o)return!0;while(i=i.parentElement);return!1}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",U({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),z6=20,rb=(()=>{const t=class t{constructor(){s(this,"_platform",D(qn));s(this,"_listeners");s(this,"_viewportSize");s(this,"_change",new Pe);s(this,"_document",D(Le,{optional:!0}));let n=D(je),a=D(Sn).createRenderer(null,null);n.runOutsideAngular(()=>{if(this._platform.isBrowser){let i=o=>this._change.next(o);this._listeners=[a.listen("window","resize",i),a.listen("window","orientationchange",i)]}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){var n;(n=this._listeners)==null||n.forEach(a=>a()),this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();let n={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),n}getViewportRect(){let n=this.getViewportScrollPosition(),{width:a,height:i}=this.getViewportSize();return{top:n.top,left:n.left,bottom:n.top+i,right:n.left+a,height:i,width:a}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};let n=this._document,a=this._getWindow(),i=n.documentElement,o=i.getBoundingClientRect(),l=-o.top||n.body.scrollTop||a.scrollY||i.scrollTop||0,h=-o.left||n.body.scrollLeft||a.scrollX||i.scrollLeft||0;return{top:l,left:h}}change(n=z6){return n>0?this._change.pipe(mf(n)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){let n=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:n.innerWidth,height:n.innerHeight}:{width:0,height:0}}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",U({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),Lp=E6(),H6=class{constructor(e,t){s(this,"_viewportRuler");s(this,"_previousHTMLStyles",{top:"",left:""});s(this,"_previousScrollPosition");s(this,"_isEnabled",!1);s(this,"_document");this._viewportRuler=e,this._document=t}attach(){}enable(){if(this._canBeEnabled()){let e=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=e.style.left||"",this._previousHTMLStyles.top=e.style.top||"",e.style.left=ut(-this._previousScrollPosition.left),e.style.top=ut(-this._previousScrollPosition.top),e.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){let e=this._document.documentElement,t=this._document.body,r=e.style,n=t.style,a=r.scrollBehavior||"",i=n.scrollBehavior||"";this._isEnabled=!1,r.left=this._previousHTMLStyles.left,r.top=this._previousHTMLStyles.top,e.classList.remove("cdk-global-scrollblock"),Lp&&(r.scrollBehavior=n.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),Lp&&(r.scrollBehavior=a,n.scrollBehavior=i)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;let e=this._document.documentElement,t=this._viewportRuler.getViewportSize();return e.scrollHeight>t.height||e.scrollWidth>t.width}},q6=class{constructor(e,t,r,n){s(this,"_scrollDispatcher");s(this,"_ngZone");s(this,"_viewportRuler");s(this,"_config");s(this,"_scrollSubscription",null);s(this,"_overlayRef");s(this,"_initialScrollPosition");s(this,"_detach",()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())});this._scrollDispatcher=e,this._ngZone=t,this._viewportRuler=r,this._config=n}attach(e){this._overlayRef,this._overlayRef=e}enable(){if(this._scrollSubscription)return;let e=this._scrollDispatcher.scrolled(0).pipe(zs(t=>!t||!this._overlayRef.overlayElement.contains(t.getElementRef().nativeElement)));this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=e.subscribe(()=>{let t=this._viewportRuler.getViewportScrollPosition().top;Math.abs(t-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=e.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}},ab=class{enable(){}disable(){}attach(){}};function ec(e,t){return t.some(r=>{let n=e.bottom<r.top,a=e.top>r.bottom,i=e.right<r.left,o=e.left>r.right;return n||a||i||o})}function Fp(e,t){return t.some(r=>{let n=e.top<r.top,a=e.bottom>r.bottom,i=e.left<r.left,o=e.right>r.right;return n||a||i||o})}var G6=class{constructor(e,t,r,n){s(this,"_scrollDispatcher");s(this,"_viewportRuler");s(this,"_ngZone");s(this,"_config");s(this,"_scrollSubscription",null);s(this,"_overlayRef");this._scrollDispatcher=e,this._viewportRuler=t,this._ngZone=r,this._config=n}attach(e){this._overlayRef,this._overlayRef=e}enable(){if(!this._scrollSubscription){let e=this._config?this._config.scrollThrottle:0;this._scrollSubscription=this._scrollDispatcher.scrolled(e).subscribe(()=>{if(this._overlayRef.updatePosition(),this._config&&this._config.autoClose){let t=this._overlayRef.overlayElement.getBoundingClientRect(),{width:r,height:n}=this._viewportRuler.getViewportSize();ec(t,[{width:r,height:n,bottom:n,right:r,top:0,left:0}])&&(this.disable(),this._ngZone.run(()=>this._overlayRef.detach()))}})}}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}},$6=(()=>{const t=class t{constructor(){s(this,"_scrollDispatcher",D(B6));s(this,"_viewportRuler",D(rb));s(this,"_ngZone",D(je));s(this,"_document",D(Le));s(this,"noop",()=>new ab);s(this,"close",n=>new q6(this._scrollDispatcher,this._ngZone,this._viewportRuler,n));s(this,"block",()=>new H6(this._viewportRuler,this._document));s(this,"reposition",n=>new G6(this._scrollDispatcher,this._viewportRuler,this._ngZone,n))}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",U({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),ib=class{constructor(e){s(this,"positionStrategy");s(this,"scrollStrategy",new ab);s(this,"panelClass","");s(this,"hasBackdrop",!1);s(this,"backdropClass","cdk-overlay-dark-backdrop");s(this,"width");s(this,"height");s(this,"minWidth");s(this,"minHeight");s(this,"maxWidth");s(this,"maxHeight");s(this,"direction");s(this,"disposeOnNavigation",!1);if(e){let t=Object.keys(e);for(let r of t)e[r]!==void 0&&(this[r]=e[r])}}},U6=class{constructor(e,t){s(this,"connectionPair");s(this,"scrollableViewProperties");this.connectionPair=e,this.scrollableViewProperties=t}},ob=(()=>{const t=class t{constructor(){s(this,"_attachedOverlays",[]);s(this,"_document",D(Le));s(this,"_isAttached")}ngOnDestroy(){this.detach()}add(n){this.remove(n),this._attachedOverlays.push(n)}remove(n){let a=this._attachedOverlays.indexOf(n);a>-1&&this._attachedOverlays.splice(a,1),this._attachedOverlays.length===0&&this.detach()}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",U({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),W6=(()=>{const t=class t extends ob{constructor(){super(...arguments);s(this,"_ngZone",D(je));s(this,"_renderer",D(Sn).createRenderer(null,null));s(this,"_cleanupKeydown");s(this,"_keydownListener",a=>{let i=this._attachedOverlays;for(let o=i.length-1;o>-1;o--)if(i[o]._keydownEvents.observers.length>0){this._ngZone.run(()=>i[o]._keydownEvents.next(a));break}})}add(a){super.add(a),this._isAttached||(this._ngZone.runOutsideAngular(()=>{this._cleanupKeydown=this._renderer.listen("body","keydown",this._keydownListener)}),this._isAttached=!0)}detach(){var a;this._isAttached&&((a=this._cleanupKeydown)==null||a.call(this),this._isAttached=!1)}};s(t,"ɵfac",(()=>{let a;return function(i){return(a||(a=En(t)))(i||t)}})()),s(t,"ɵprov",U({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),Z6=(()=>{const t=class t extends ob{constructor(){super(...arguments);s(this,"_platform",D(qn));s(this,"_ngZone",D(je));s(this,"_renderer",D(Sn).createRenderer(null,null));s(this,"_cursorOriginalValue");s(this,"_cursorStyleIsSet",!1);s(this,"_pointerDownEventTarget");s(this,"_cleanups");s(this,"_pointerDownListener",a=>{this._pointerDownEventTarget=sr(a)});s(this,"_clickListener",a=>{let i=sr(a),o=a.type==="click"&&this._pointerDownEventTarget?this._pointerDownEventTarget:i;this._pointerDownEventTarget=null;let l=this._attachedOverlays.slice();for(let h=l.length-1;h>-1;h--){let u=l[h];if(u._outsidePointerEvents.observers.length<1||!u.hasAttached())continue;if(jp(u.overlayElement,i)||jp(u.overlayElement,o))break;let c=u._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>c.next(a)):c.next(a)}})}add(a){if(super.add(a),!this._isAttached){let i=this._document.body,o={capture:!0};this._cleanups=this._ngZone.runOutsideAngular(()=>[wr(this._renderer,i,"pointerdown",this._pointerDownListener,o),wr(this._renderer,i,"click",this._clickListener,o),wr(this._renderer,i,"auxclick",this._clickListener,o),wr(this._renderer,i,"contextmenu",this._clickListener,o)]),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=i.style.cursor,i.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){var a;this._isAttached&&((a=this._cleanups)==null||a.forEach(i=>i()),this._cleanups=void 0,this._platform.IOS&&this._cursorStyleIsSet&&(this._document.body.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1)}};s(t,"ɵfac",(()=>{let a;return function(i){return(a||(a=En(t)))(i||t)}})()),s(t,"ɵprov",U({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})();function jp(e,t){let r=typeof ShadowRoot<"u"&&ShadowRoot,n=t;for(;n;){if(n===e)return!0;n=r&&n instanceof ShadowRoot?n.host:n.parentNode}return!1}var sb=(()=>{const t=class t{};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵcmp",Ct({type:t,selectors:[["ng-component"]],hostAttrs:["cdk-overlay-style-loader",""],decls:0,vars:0,template:function(n,a){},styles:[`.cdk-overlay-container,.cdk-global-overlay-wrapper{pointer-events:none;top:0;left:0;height:100%;width:100%}.cdk-overlay-container{position:fixed}@layer cdk-overlay{.cdk-overlay-container{z-index:1000}}.cdk-overlay-container:empty{display:none}.cdk-global-overlay-wrapper{display:flex;position:absolute}@layer cdk-overlay{.cdk-global-overlay-wrapper{z-index:1000}}.cdk-overlay-pane{position:absolute;pointer-events:auto;box-sizing:border-box;display:flex;max-width:100%;max-height:100%}@layer cdk-overlay{.cdk-overlay-pane{z-index:1000}}.cdk-overlay-backdrop{position:absolute;top:0;bottom:0;left:0;right:0;pointer-events:auto;-webkit-tap-highlight-color:rgba(0,0,0,0);opacity:0;touch-action:manipulation}@layer cdk-overlay{.cdk-overlay-backdrop{z-index:1000;transition:opacity 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}}@media(prefers-reduced-motion){.cdk-overlay-backdrop{transition-duration:1ms}}.cdk-overlay-backdrop-showing{opacity:1}@media(forced-colors: active){.cdk-overlay-backdrop-showing{opacity:.6}}@layer cdk-overlay{.cdk-overlay-dark-backdrop{background:rgba(0,0,0,.32)}}.cdk-overlay-transparent-backdrop{transition:visibility 1ms linear,opacity 1ms linear;visibility:hidden;opacity:1}.cdk-overlay-transparent-backdrop.cdk-overlay-backdrop-showing,.cdk-high-contrast-active .cdk-overlay-transparent-backdrop{opacity:0;visibility:visible}.cdk-overlay-backdrop-noop-animation{transition:none}.cdk-overlay-connected-position-bounding-box{position:absolute;display:flex;flex-direction:column;min-width:1px;min-height:1px}@layer cdk-overlay{.cdk-overlay-connected-position-bounding-box{z-index:1000}}.cdk-global-scrollblock{position:fixed;width:100%;overflow-y:scroll}
22
+ `],encapsulation:2,changeDetection:0}));let e=t;return e})(),lb=(()=>{const t=class t{constructor(){s(this,"_platform",D(qn));s(this,"_containerElement");s(this,"_document",D(Le));s(this,"_styleLoader",D(ol))}ngOnDestroy(){var n;(n=this._containerElement)==null||n.remove()}getContainerElement(){return this._loadStyles(),this._containerElement||this._createContainer(),this._containerElement}_createContainer(){let n="cdk-overlay-container";if(this._platform.isBrowser||Np()){let i=this._document.querySelectorAll(`.${n}[platform="server"], .${n}[platform="test"]`);for(let o=0;o<i.length;o++)i[o].remove()}let a=this._document.createElement("div");a.classList.add(n),Np()?a.setAttribute("platform","test"):this._platform.isBrowser||a.setAttribute("platform","server"),this._document.body.appendChild(a),this._containerElement=a}_loadStyles(){this._styleLoader.load(sb)}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",U({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),Y6=class{constructor(e,t,r,n){s(this,"_renderer");s(this,"_ngZone");s(this,"element");s(this,"_cleanupClick");s(this,"_cleanupTransitionEnd");s(this,"_fallbackTimeout");s(this,"dispose",()=>{var e,t;clearTimeout(this._fallbackTimeout),(e=this._cleanupClick)==null||e.call(this),(t=this._cleanupTransitionEnd)==null||t.call(this),this._cleanupClick=this._cleanupTransitionEnd=this._fallbackTimeout=void 0,this.element.remove()});this._renderer=t,this._ngZone=r,this.element=e.createElement("div"),this.element.classList.add("cdk-overlay-backdrop"),this._cleanupClick=t.listen(this.element,"click",n)}detach(){this._ngZone.runOutsideAngular(()=>{var t;let e=this.element;clearTimeout(this._fallbackTimeout),(t=this._cleanupTransitionEnd)==null||t.call(this),this._cleanupTransitionEnd=this._renderer.listen(e,"transitionend",this.dispose),this._fallbackTimeout=setTimeout(this.dispose,500),e.style.pointerEvents="none",e.classList.remove("cdk-overlay-backdrop-showing")})}},K6=class{constructor(e,t,r,n,a,i,o,l,h,u=!1,c,m){s(this,"_portalOutlet");s(this,"_host");s(this,"_pane");s(this,"_config");s(this,"_ngZone");s(this,"_keyboardDispatcher");s(this,"_document");s(this,"_location");s(this,"_outsideClickDispatcher");s(this,"_animationsDisabled");s(this,"_injector");s(this,"_renderer");s(this,"_backdropClick",new Pe);s(this,"_attachments",new Pe);s(this,"_detachments",new Pe);s(this,"_positionStrategy");s(this,"_scrollStrategy");s(this,"_locationChanges",Zt.EMPTY);s(this,"_backdropRef",null);s(this,"_previousHostParent");s(this,"_keydownEvents",new Pe);s(this,"_outsidePointerEvents",new Pe);s(this,"_renders",new Pe);s(this,"_afterRenderRef");s(this,"_afterNextRenderRef");this._portalOutlet=e,this._host=t,this._pane=r,this._config=n,this._ngZone=a,this._keyboardDispatcher=i,this._document=o,this._location=l,this._outsideClickDispatcher=h,this._animationsDisabled=u,this._injector=c,this._renderer=m,n.scrollStrategy&&(this._scrollStrategy=n.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=n.positionStrategy,this._afterRenderRef=qu(()=>qg(()=>{this._renders.next()},{injector:this._injector}))}get overlayElement(){return this._pane}get backdropElement(){var e;return((e=this._backdropRef)==null?void 0:e.element)||null}get hostElement(){return this._host}attach(e){var r;!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host);let t=this._portalOutlet.attach(e);return this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),(r=this._afterNextRenderRef)==null||r.destroy(),this._afterNextRenderRef=pH(()=>{this.hasAttached()&&this.updatePosition()},{injector:this._injector}),this._togglePointerEvents(!0),this._config.hasBackdrop&&this._attachBackdrop(),this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!0),this._attachments.next(),this._keyboardDispatcher.add(this),this._config.disposeOnNavigation&&(this._locationChanges=this._location.subscribe(()=>this.dispose())),this._outsideClickDispatcher.add(this),typeof(t==null?void 0:t.onDestroy)=="function"&&t.onDestroy(()=>{this.hasAttached()&&this._ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>this.detach()))}),t}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();let e=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenEmpty(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),e}dispose(){var t,r,n;let e=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),(t=this._backdropRef)==null||t.dispose(),this._locationChanges.unsubscribe(),this._keyboardDispatcher.remove(this),this._portalOutlet.dispose(),this._attachments.complete(),this._backdropClick.complete(),this._keydownEvents.complete(),this._outsidePointerEvents.complete(),this._outsideClickDispatcher.remove(this),(r=this._host)==null||r.remove(),(n=this._afterNextRenderRef)==null||n.destroy(),this._previousHostParent=this._pane=this._host=this._backdropRef=null,e&&this._detachments.next(),this._detachments.complete(),this._afterRenderRef.destroy(),this._renders.complete()}hasAttached(){return this._portalOutlet.hasAttached()}backdropClick(){return this._backdropClick}attachments(){return this._attachments}detachments(){return this._detachments}keydownEvents(){return this._keydownEvents}outsidePointerEvents(){return this._outsidePointerEvents}getConfig(){return this._config}updatePosition(){this._positionStrategy&&this._positionStrategy.apply()}updatePositionStrategy(e){e!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=e,this.hasAttached()&&(e.attach(this),this.updatePosition()))}updateSize(e){this._config=ge(ge({},this._config),e),this._updateElementSize()}setDirection(e){this._config=Kt(ge({},this._config),{direction:e}),this._updateElementDirection()}addPanelClass(e){this._pane&&this._toggleClasses(this._pane,e,!0)}removePanelClass(e){this._pane&&this._toggleClasses(this._pane,e,!1)}getDirection(){let e=this._config.direction;return e?typeof e=="string"?e:e.value:"ltr"}updateScrollStrategy(e){e!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=e,this.hasAttached()&&(e.attach(this),e.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;let e=this._pane.style;e.width=ut(this._config.width),e.height=ut(this._config.height),e.minWidth=ut(this._config.minWidth),e.minHeight=ut(this._config.minHeight),e.maxWidth=ut(this._config.maxWidth),e.maxHeight=ut(this._config.maxHeight)}_togglePointerEvents(e){this._pane.style.pointerEvents=e?"":"none"}_attachBackdrop(){var t;let e="cdk-overlay-backdrop-showing";(t=this._backdropRef)==null||t.dispose(),this._backdropRef=new Y6(this._document,this._renderer,this._ngZone,r=>{this._backdropClick.next(r)}),this._animationsDisabled&&this._backdropRef.element.classList.add("cdk-overlay-backdrop-noop-animation"),this._config.backdropClass&&this._toggleClasses(this._backdropRef.element,this._config.backdropClass,!0),this._host.parentElement.insertBefore(this._backdropRef.element,this._host),!this._animationsDisabled&&typeof requestAnimationFrame<"u"?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>{var r;return(r=this._backdropRef)==null?void 0:r.element.classList.add(e)})}):this._backdropRef.element.classList.add(e)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){var e,t;this._animationsDisabled?((e=this._backdropRef)==null||e.dispose(),this._backdropRef=null):(t=this._backdropRef)==null||t.detach()}_toggleClasses(e,t,r){let n=ks(t||[]).filter(a=>!!a);n.length&&(r?e.classList.add(...n):e.classList.remove(...n))}_detachContentWhenEmpty(){this._ngZone.runOutsideAngular(()=>{let e=this._renders.pipe(Fi(pf(this._attachments,this._detachments))).subscribe(()=>{(!this._pane||!this._host||this._pane.children.length===0)&&(this._pane&&this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!1),this._host&&this._host.parentElement&&(this._previousHostParent=this._host.parentElement,this._host.remove()),e.unsubscribe())})})}_disposeScrollStrategy(){var t;let e=this._scrollStrategy;e==null||e.disable(),(t=e==null?void 0:e.detach)==null||t.call(e)}},Vp="cdk-overlay-connected-position-bounding-box",Q6=/([A-Za-z%]+)$/,J6=class{constructor(e,t,r,n,a){s(this,"_viewportRuler");s(this,"_document");s(this,"_platform");s(this,"_overlayContainer");s(this,"_overlayRef");s(this,"_isInitialRender");s(this,"_lastBoundingBoxSize",{width:0,height:0});s(this,"_isPushed",!1);s(this,"_canPush",!0);s(this,"_growAfterOpen",!1);s(this,"_hasFlexibleDimensions",!0);s(this,"_positionLocked",!1);s(this,"_originRect");s(this,"_overlayRect");s(this,"_viewportRect");s(this,"_containerRect");s(this,"_viewportMargin",0);s(this,"_scrollables",[]);s(this,"_preferredPositions",[]);s(this,"_origin");s(this,"_pane");s(this,"_isDisposed");s(this,"_boundingBox");s(this,"_lastPosition");s(this,"_lastScrollVisibility");s(this,"_positionChanges",new Pe);s(this,"_resizeSubscription",Zt.EMPTY);s(this,"_offsetX",0);s(this,"_offsetY",0);s(this,"_transformOriginSelector");s(this,"_appliedPanelClasses",[]);s(this,"_previousPushAmount");s(this,"positionChanges",this._positionChanges);this._viewportRuler=t,this._document=r,this._platform=n,this._overlayContainer=a,this.setOrigin(e)}get positions(){return this._preferredPositions}attach(e){this._overlayRef&&this._overlayRef,this._validatePositions(),e.hostElement.classList.add(Vp),this._overlayRef=e,this._boundingBox=e.hostElement,this._pane=e.overlayElement,this._isDisposed=!1,this._isInitialRender=!0,this._lastPosition=null,this._resizeSubscription.unsubscribe(),this._resizeSubscription=this._viewportRuler.change().subscribe(()=>{this._isInitialRender=!0,this.apply()})}apply(){if(this._isDisposed||!this._platform.isBrowser)return;if(!this._isInitialRender&&this._positionLocked&&this._lastPosition){this.reapplyLastPosition();return}this._clearPanelClasses(),this._resetOverlayElementStyles(),this._resetBoundingBoxStyles(),this._viewportRect=this._getNarrowedViewportRect(),this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();let e=this._originRect,t=this._overlayRect,r=this._viewportRect,n=this._containerRect,a=[],i;for(let o of this._preferredPositions){let l=this._getOriginPoint(e,n,o),h=this._getOverlayPoint(l,t,o),u=this._getOverlayFit(h,t,r,o);if(u.isCompletelyWithinViewport){this._isPushed=!1,this._applyPosition(o,l);return}if(this._canFitWithFlexibleDimensions(u,h,r)){a.push({position:o,origin:l,overlayRect:t,boundingBoxRect:this._calculateBoundingBoxRect(l,o)});continue}(!i||i.overlayFit.visibleArea<u.visibleArea)&&(i={overlayFit:u,overlayPoint:h,originPoint:l,position:o,overlayRect:t})}if(a.length){let o=null,l=-1;for(let h of a){let u=h.boundingBoxRect.width*h.boundingBoxRect.height*(h.position.weight||1);u>l&&(l=u,o=h)}this._isPushed=!1,this._applyPosition(o.position,o.origin);return}if(this._canPush){this._isPushed=!0,this._applyPosition(i.position,i.originPoint);return}this._applyPosition(i.position,i.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&Lr(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(Vp),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;let e=this._lastPosition;if(e){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();let t=this._getOriginPoint(this._originRect,this._containerRect,e);this._applyPosition(e,t)}else this.apply()}withScrollableContainers(e){return this._scrollables=e,this}withPositions(e){return this._preferredPositions=e,e.indexOf(this._lastPosition)===-1&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(e){return this._viewportMargin=e,this}withFlexibleDimensions(e=!0){return this._hasFlexibleDimensions=e,this}withGrowAfterOpen(e=!0){return this._growAfterOpen=e,this}withPush(e=!0){return this._canPush=e,this}withLockedPosition(e=!0){return this._positionLocked=e,this}setOrigin(e){return this._origin=e,this}withDefaultOffsetX(e){return this._offsetX=e,this}withDefaultOffsetY(e){return this._offsetY=e,this}withTransformOriginOn(e){return this._transformOriginSelector=e,this}_getOriginPoint(e,t,r){let n;if(r.originX=="center")n=e.left+e.width/2;else{let i=this._isRtl()?e.right:e.left,o=this._isRtl()?e.left:e.right;n=r.originX=="start"?i:o}t.left<0&&(n-=t.left);let a;return r.originY=="center"?a=e.top+e.height/2:a=r.originY=="top"?e.top:e.bottom,t.top<0&&(a-=t.top),{x:n,y:a}}_getOverlayPoint(e,t,r){let n;r.overlayX=="center"?n=-t.width/2:r.overlayX==="start"?n=this._isRtl()?-t.width:0:n=this._isRtl()?0:-t.width;let a;return r.overlayY=="center"?a=-t.height/2:a=r.overlayY=="top"?0:-t.height,{x:e.x+n,y:e.y+a}}_getOverlayFit(e,t,r,n){let a=zp(t),{x:i,y:o}=e,l=this._getOffset(n,"x"),h=this._getOffset(n,"y");l&&(i+=l),h&&(o+=h);let u=0-i,c=i+a.width-r.width,m=0-o,b=o+a.height-r.height,g=this._subtractOverflows(a.width,u,c),w=this._subtractOverflows(a.height,m,b),x=g*w;return{visibleArea:x,isCompletelyWithinViewport:a.width*a.height===x,fitsInViewportVertically:w===a.height,fitsInViewportHorizontally:g==a.width}}_canFitWithFlexibleDimensions(e,t,r){if(this._hasFlexibleDimensions){let n=r.bottom-t.y,a=r.right-t.x,i=Bp(this._overlayRef.getConfig().minHeight),o=Bp(this._overlayRef.getConfig().minWidth),l=e.fitsInViewportVertically||i!=null&&i<=n,h=e.fitsInViewportHorizontally||o!=null&&o<=a;return l&&h}return!1}_pushOverlayOnScreen(e,t,r){if(this._previousPushAmount&&this._positionLocked)return{x:e.x+this._previousPushAmount.x,y:e.y+this._previousPushAmount.y};let n=zp(t),a=this._viewportRect,i=Math.max(e.x+n.width-a.width,0),o=Math.max(e.y+n.height-a.height,0),l=Math.max(a.top-r.top-e.y,0),h=Math.max(a.left-r.left-e.x,0),u=0,c=0;return n.width<=a.width?u=h||-i:u=e.x<this._viewportMargin?a.left-r.left-e.x:0,n.height<=a.height?c=l||-o:c=e.y<this._viewportMargin?a.top-r.top-e.y:0,this._previousPushAmount={x:u,y:c},{x:e.x+u,y:e.y+c}}_applyPosition(e,t){if(this._setTransformOrigin(e),this._setOverlayElementStyles(t,e),this._setBoundingBoxStyles(t,e),e.panelClass&&this._addPanelClasses(e.panelClass),this._positionChanges.observers.length){let r=this._getScrollVisibility();if(e!==this._lastPosition||!this._lastScrollVisibility||!X6(this._lastScrollVisibility,r)){let n=new U6(e,r);this._positionChanges.next(n)}this._lastScrollVisibility=r}this._lastPosition=e,this._isInitialRender=!1}_setTransformOrigin(e){if(!this._transformOriginSelector)return;let t=this._boundingBox.querySelectorAll(this._transformOriginSelector),r,n=e.overlayY;e.overlayX==="center"?r="center":this._isRtl()?r=e.overlayX==="start"?"right":"left":r=e.overlayX==="start"?"left":"right";for(let a=0;a<t.length;a++)t[a].style.transformOrigin=`${r} ${n}`}_calculateBoundingBoxRect(e,t){let r=this._viewportRect,n=this._isRtl(),a,i,o;if(t.overlayY==="top")i=e.y,a=r.height-i+this._viewportMargin;else if(t.overlayY==="bottom")o=r.height-e.y+this._viewportMargin*2,a=r.height-o+this._viewportMargin;else{let b=Math.min(r.bottom-e.y+r.top,e.y),g=this._lastBoundingBoxSize.height;a=b*2,i=e.y-b,a>g&&!this._isInitialRender&&!this._growAfterOpen&&(i=e.y-g/2)}let l=t.overlayX==="start"&&!n||t.overlayX==="end"&&n,h=t.overlayX==="end"&&!n||t.overlayX==="start"&&n,u,c,m;if(h)m=r.width-e.x+this._viewportMargin*2,u=e.x-this._viewportMargin;else if(l)c=e.x,u=r.right-e.x;else{let b=Math.min(r.right-e.x+r.left,e.x),g=this._lastBoundingBoxSize.width;u=b*2,c=e.x-b,u>g&&!this._isInitialRender&&!this._growAfterOpen&&(c=e.x-g/2)}return{top:i,left:c,bottom:o,right:m,width:u,height:a}}_setBoundingBoxStyles(e,t){let r=this._calculateBoundingBoxRect(e,t);!this._isInitialRender&&!this._growAfterOpen&&(r.height=Math.min(r.height,this._lastBoundingBoxSize.height),r.width=Math.min(r.width,this._lastBoundingBoxSize.width));let n={};if(this._hasExactPosition())n.top=n.left="0",n.bottom=n.right=n.maxHeight=n.maxWidth="",n.width=n.height="100%";else{let a=this._overlayRef.getConfig().maxHeight,i=this._overlayRef.getConfig().maxWidth;n.height=ut(r.height),n.top=ut(r.top),n.bottom=ut(r.bottom),n.width=ut(r.width),n.left=ut(r.left),n.right=ut(r.right),t.overlayX==="center"?n.alignItems="center":n.alignItems=t.overlayX==="end"?"flex-end":"flex-start",t.overlayY==="center"?n.justifyContent="center":n.justifyContent=t.overlayY==="bottom"?"flex-end":"flex-start",a&&(n.maxHeight=ut(a)),i&&(n.maxWidth=ut(i))}this._lastBoundingBoxSize=r,Lr(this._boundingBox.style,n)}_resetBoundingBoxStyles(){Lr(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){Lr(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(e,t){let r={},n=this._hasExactPosition(),a=this._hasFlexibleDimensions,i=this._overlayRef.getConfig();if(n){let u=this._viewportRuler.getViewportScrollPosition();Lr(r,this._getExactOverlayY(t,e,u)),Lr(r,this._getExactOverlayX(t,e,u))}else r.position="static";let o="",l=this._getOffset(t,"x"),h=this._getOffset(t,"y");l&&(o+=`translateX(${l}px) `),h&&(o+=`translateY(${h}px)`),r.transform=o.trim(),i.maxHeight&&(n?r.maxHeight=ut(i.maxHeight):a&&(r.maxHeight="")),i.maxWidth&&(n?r.maxWidth=ut(i.maxWidth):a&&(r.maxWidth="")),Lr(this._pane.style,r)}_getExactOverlayY(e,t,r){let n={top:"",bottom:""},a=this._getOverlayPoint(t,this._overlayRect,e);if(this._isPushed&&(a=this._pushOverlayOnScreen(a,this._overlayRect,r)),e.overlayY==="bottom"){let i=this._document.documentElement.clientHeight;n.bottom=`${i-(a.y+this._overlayRect.height)}px`}else n.top=ut(a.y);return n}_getExactOverlayX(e,t,r){let n={left:"",right:""},a=this._getOverlayPoint(t,this._overlayRect,e);this._isPushed&&(a=this._pushOverlayOnScreen(a,this._overlayRect,r));let i;if(this._isRtl()?i=e.overlayX==="end"?"left":"right":i=e.overlayX==="end"?"right":"left",i==="right"){let o=this._document.documentElement.clientWidth;n.right=`${o-(a.x+this._overlayRect.width)}px`}else n.left=ut(a.x);return n}_getScrollVisibility(){let e=this._getOriginRect(),t=this._pane.getBoundingClientRect(),r=this._scrollables.map(n=>n.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:Fp(e,r),isOriginOutsideView:ec(e,r),isOverlayClipped:Fp(t,r),isOverlayOutsideView:ec(t,r)}}_subtractOverflows(e,...t){return t.reduce((r,n)=>r-Math.max(n,0),e)}_getNarrowedViewportRect(){let e=this._document.documentElement.clientWidth,t=this._document.documentElement.clientHeight,r=this._viewportRuler.getViewportScrollPosition();return{top:r.top+this._viewportMargin,left:r.left+this._viewportMargin,right:r.left+e-this._viewportMargin,bottom:r.top+t-this._viewportMargin,width:e-2*this._viewportMargin,height:t-2*this._viewportMargin}}_isRtl(){return this._overlayRef.getDirection()==="rtl"}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(e,t){return t==="x"?e.offsetX==null?this._offsetX:e.offsetX:e.offsetY==null?this._offsetY:e.offsetY}_validatePositions(){}_addPanelClasses(e){this._pane&&ks(e).forEach(t=>{t!==""&&this._appliedPanelClasses.indexOf(t)===-1&&(this._appliedPanelClasses.push(t),this._pane.classList.add(t))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(e=>{this._pane.classList.remove(e)}),this._appliedPanelClasses=[])}_getOriginRect(){let e=this._origin;if(e instanceof Xt)return e.nativeElement.getBoundingClientRect();if(e instanceof Element)return e.getBoundingClientRect();let t=e.width||0,r=e.height||0;return{top:e.y,bottom:e.y+r,left:e.x,right:e.x+t,height:r,width:t}}};function Lr(e,t){for(let r in t)t.hasOwnProperty(r)&&(e[r]=t[r]);return e}function Bp(e){if(typeof e!="number"&&e!=null){let[t,r]=e.split(Q6);return!r||r==="px"?parseFloat(t):null}return e||null}function zp(e){return{top:Math.floor(e.top),right:Math.floor(e.right),bottom:Math.floor(e.bottom),left:Math.floor(e.left),width:Math.floor(e.width),height:Math.floor(e.height)}}function X6(e,t){return e===t?!0:e.isOriginClipped===t.isOriginClipped&&e.isOriginOutsideView===t.isOriginOutsideView&&e.isOverlayClipped===t.isOverlayClipped&&e.isOverlayOutsideView===t.isOverlayOutsideView}var Hp="cdk-global-overlay-wrapper",eW=class{constructor(){s(this,"_overlayRef");s(this,"_cssPosition","static");s(this,"_topOffset","");s(this,"_bottomOffset","");s(this,"_alignItems","");s(this,"_xPosition","");s(this,"_xOffset","");s(this,"_width","");s(this,"_height","");s(this,"_isDisposed",!1)}attach(e){let t=e.getConfig();this._overlayRef=e,this._width&&!t.width&&e.updateSize({width:this._width}),this._height&&!t.height&&e.updateSize({height:this._height}),e.hostElement.classList.add(Hp),this._isDisposed=!1}top(e=""){return this._bottomOffset="",this._topOffset=e,this._alignItems="flex-start",this}left(e=""){return this._xOffset=e,this._xPosition="left",this}bottom(e=""){return this._topOffset="",this._bottomOffset=e,this._alignItems="flex-end",this}right(e=""){return this._xOffset=e,this._xPosition="right",this}start(e=""){return this._xOffset=e,this._xPosition="start",this}end(e=""){return this._xOffset=e,this._xPosition="end",this}width(e=""){return this._overlayRef?this._overlayRef.updateSize({width:e}):this._width=e,this}height(e=""){return this._overlayRef?this._overlayRef.updateSize({height:e}):this._height=e,this}centerHorizontally(e=""){return this.left(e),this._xPosition="center",this}centerVertically(e=""){return this.top(e),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;let e=this._overlayRef.overlayElement.style,t=this._overlayRef.hostElement.style,r=this._overlayRef.getConfig(),{width:n,height:a,maxWidth:i,maxHeight:o}=r,l=(n==="100%"||n==="100vw")&&(!i||i==="100%"||i==="100vw"),h=(a==="100%"||a==="100vh")&&(!o||o==="100%"||o==="100vh"),u=this._xPosition,c=this._xOffset,m=this._overlayRef.getConfig().direction==="rtl",b="",g="",w="";l?w="flex-start":u==="center"?(w="center",m?g=c:b=c):m?u==="left"||u==="end"?(w="flex-end",b=c):(u==="right"||u==="start")&&(w="flex-start",g=c):u==="left"||u==="start"?(w="flex-start",b=c):(u==="right"||u==="end")&&(w="flex-end",g=c),e.position=this._cssPosition,e.marginLeft=l?"0":b,e.marginTop=h?"0":this._topOffset,e.marginBottom=this._bottomOffset,e.marginRight=l?"0":g,t.justifyContent=w,t.alignItems=h?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;let e=this._overlayRef.overlayElement.style,t=this._overlayRef.hostElement,r=t.style;t.classList.remove(Hp),r.justifyContent=r.alignItems=e.marginTop=e.marginBottom=e.marginLeft=e.marginRight=e.position="",this._overlayRef=null,this._isDisposed=!0}},tW=(()=>{const t=class t{constructor(){s(this,"_viewportRuler",D(rb));s(this,"_document",D(Le));s(this,"_platform",D(qn));s(this,"_overlayContainer",D(lb))}global(){return new eW}flexibleConnectedTo(n){return new J6(n,this._viewportRuler,this._document,this._platform,this._overlayContainer)}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",U({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),nW=(()=>{const t=class t{constructor(){s(this,"scrollStrategies",D($6));s(this,"_overlayContainer",D(lb));s(this,"_positionBuilder",D(tW));s(this,"_keyboardDispatcher",D(W6));s(this,"_injector",D(Tt));s(this,"_ngZone",D(je));s(this,"_document",D(Le));s(this,"_directionality",D(y6));s(this,"_location",D(b0));s(this,"_outsideClickDispatcher",D(Z6));s(this,"_animationsModuleType",D(Yi,{optional:!0}));s(this,"_idGenerator",D(eb));s(this,"_renderer",D(Sn).createRenderer(null,null));s(this,"_appRef");s(this,"_styleLoader",D(ol))}create(n){this._styleLoader.load(sb);let a=this._createHostElement(),i=this._createPaneElement(a),o=this._createPortalOutlet(i),l=new ib(n);return l.direction=l.direction||this._directionality.value,new K6(o,a,i,l,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher,this._animationsModuleType==="NoopAnimations",this._injector.get(An),this._renderer)}position(){return this._positionBuilder}_createPaneElement(n){let a=this._document.createElement("div");return a.id=this._idGenerator.getId("cdk-overlay-"),a.classList.add("cdk-overlay-pane"),n.appendChild(a),a}_createHostElement(){let n=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(n),n}_createPortalOutlet(n){return this._appRef||(this._appRef=this._injector.get(Ir)),new j6(n,null,this._appRef,this._injector,this._document)}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",U({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),rW=new Q("mat-mdc-dialog-default-options"),aW=new Q("MAT_BUTTON_CONFIG"),iW=[{attribute:"mat-button",mdcClasses:["mdc-button","mat-mdc-button"]},{attribute:"mat-flat-button",mdcClasses:["mdc-button","mdc-button--unelevated","mat-mdc-unelevated-button"]},{attribute:"mat-raised-button",mdcClasses:["mdc-button","mdc-button--raised","mat-mdc-raised-button"]},{attribute:"mat-stroked-button",mdcClasses:["mdc-button","mdc-button--outlined","mat-mdc-outlined-button"]},{attribute:"mat-fab",mdcClasses:["mdc-fab","mat-mdc-fab-base","mat-mdc-fab"]},{attribute:"mat-mini-fab",mdcClasses:["mdc-fab","mat-mdc-fab-base","mdc-fab--mini","mat-mdc-mini-fab"]},{attribute:"mat-icon-button",mdcClasses:["mdc-icon-button","mat-mdc-icon-button"]}],ub=(()=>{const t=class t{constructor(){s(this,"_elementRef",D(Xt));s(this,"_ngZone",D(je));s(this,"_animationMode",D(Yi,{optional:!0}));s(this,"_focusMonitor",D(i6));s(this,"_rippleLoader",D(O6));s(this,"_isFab",!1);s(this,"color");s(this,"_disableRipple",!1);s(this,"_disabled",!1);s(this,"ariaDisabled");s(this,"disabledInteractive");var o;D(ol).load(x6);let n=D(aW,{optional:!0}),a=this._elementRef.nativeElement,i=a.classList;this.disabledInteractive=(n==null?void 0:n.disabledInteractive)??!1,this.color=(n==null?void 0:n.color)??null,(o=this._rippleLoader)==null||o.configureRipple(a,{className:"mat-mdc-button-ripple"});for(let{attribute:l,mdcClasses:h}of iW)a.hasAttribute(l)&&i.add(...h)}get disableRipple(){return this._disableRipple}set disableRipple(n){this._disableRipple=n,this._updateRippleDisabled()}get disabled(){return this._disabled}set disabled(n){this._disabled=n,this._updateRippleDisabled()}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){var n;this._focusMonitor.stopMonitoring(this._elementRef),(n=this._rippleLoader)==null||n.destroyRipple(this._elementRef.nativeElement)}focus(n="program",a){n?this._focusMonitor.focusVia(this._elementRef.nativeElement,n,a):this._elementRef.nativeElement.focus(a)}_getAriaDisabled(){return this.ariaDisabled!=null?this.ariaDisabled:this.disabled&&this.disabledInteractive?!0:null}_getDisabledAttribute(){return this.disabledInteractive||!this.disabled?null:!0}_updateRippleDisabled(){var n;(n=this._rippleLoader)==null||n.setDisabled(this._elementRef.nativeElement,this.disableRipple||this.disabled)}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵdir",hr({type:t,inputs:{color:"color",disableRipple:[2,"disableRipple","disableRipple",oi],disabled:[2,"disabled","disabled",oi],ariaDisabled:[2,"aria-disabled","ariaDisabled",oi],disabledInteractive:[2,"disabledInteractive","disabledInteractive",oi]}}));let e=t;return e})(),oW=(()=>{const t=class t extends ub{constructor(){super(...arguments);s(this,"_renderer",D(Qs));s(this,"_cleanupClick");s(this,"tabIndex");s(this,"_haltDisabledEvents",a=>{this.disabled&&(a.preventDefault(),a.stopImmediatePropagation())})}ngOnInit(){this._ngZone.runOutsideAngular(()=>{this._cleanupClick=this._renderer.listen(this._elementRef.nativeElement,"click",this._haltDisabledEvents)})}ngOnDestroy(){var a;super.ngOnDestroy(),(a=this._cleanupClick)==null||a.call(this)}_getAriaDisabled(){return this.ariaDisabled!=null?this.ariaDisabled:this.disabled||null}};s(t,"ɵfac",(()=>{let a;return function(i){return(a||(a=En(t)))(i||t)}})()),s(t,"ɵdir",hr({type:t,inputs:{tabIndex:[2,"tabIndex","tabIndex",a=>a==null?void 0:p0(a)]},features:[Tr]}));let e=t;return e})(),cb=[[["",8,"material-icons",3,"iconPositionEnd",""],["mat-icon",3,"iconPositionEnd",""],["","matButtonIcon","",3,"iconPositionEnd",""]],"*",[["","iconPositionEnd","",8,"material-icons"],["mat-icon","iconPositionEnd",""],["","matButtonIcon","","iconPositionEnd",""]]],db=[".material-icons:not([iconPositionEnd]), mat-icon:not([iconPositionEnd]), [matButtonIcon]:not([iconPositionEnd])","*",".material-icons[iconPositionEnd], mat-icon[iconPositionEnd], [matButtonIcon][iconPositionEnd]"],sW=`.mat-mdc-button-base{text-decoration:none}.mdc-button{-webkit-user-select:none;user-select:none;position:relative;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-width:64px;border:none;outline:none;line-height:inherit;-webkit-appearance:none;overflow:visible;vertical-align:middle;background:rgba(0,0,0,0);padding:0 8px}.mdc-button::-moz-focus-inner{padding:0;border:0}.mdc-button:active{outline:none}.mdc-button:hover{cursor:pointer}.mdc-button:disabled{cursor:default;pointer-events:none}.mdc-button[hidden]{display:none}.mdc-button .mdc-button__label{position:relative}.mat-mdc-button{padding:0 var(--mat-text-button-horizontal-padding, 12px);height:var(--mdc-text-button-container-height, 40px);font-family:var(--mdc-text-button-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mdc-text-button-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mdc-text-button-label-text-tracking, var(--mat-sys-label-large-tracking));text-transform:var(--mdc-text-button-label-text-transform);font-weight:var(--mdc-text-button-label-text-weight, var(--mat-sys-label-large-weight))}.mat-mdc-button,.mat-mdc-button .mdc-button__ripple{border-radius:var(--mdc-text-button-container-shape, var(--mat-sys-corner-full))}.mat-mdc-button:not(:disabled){color:var(--mdc-text-button-label-text-color, var(--mat-sys-primary))}.mat-mdc-button[disabled],.mat-mdc-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-text-button-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-button:has(.material-icons,mat-icon,[matButtonIcon]){padding:0 var(--mat-text-button-with-icon-horizontal-padding, 16px)}.mat-mdc-button>.mat-icon{margin-right:var(--mat-text-button-icon-spacing, 8px);margin-left:var(--mat-text-button-icon-offset, -4px)}[dir=rtl] .mat-mdc-button>.mat-icon{margin-right:var(--mat-text-button-icon-offset, -4px);margin-left:var(--mat-text-button-icon-spacing, 8px)}.mat-mdc-button .mdc-button__label+.mat-icon{margin-right:var(--mat-text-button-icon-offset, -4px);margin-left:var(--mat-text-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-button .mdc-button__label+.mat-icon{margin-right:var(--mat-text-button-icon-spacing, 8px);margin-left:var(--mat-text-button-icon-offset, -4px)}.mat-mdc-button .mat-ripple-element{background-color:var(--mat-text-button-ripple-color, color-mix(in srgb, var(--mat-sys-primary) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-text-button-state-layer-color, var(--mat-sys-primary))}.mat-mdc-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-text-button-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-button:hover>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-button.cdk-program-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-button.cdk-keyboard-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-button.mat-mdc-button-disabled-interactive:focus>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-button:active>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-text-button-touch-target-display, block)}.mat-mdc-unelevated-button{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);height:var(--mdc-filled-button-container-height, 40px);font-family:var(--mdc-filled-button-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mdc-filled-button-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mdc-filled-button-label-text-tracking, var(--mat-sys-label-large-tracking));text-transform:var(--mdc-filled-button-label-text-transform);font-weight:var(--mdc-filled-button-label-text-weight, var(--mat-sys-label-large-weight));padding:0 var(--mat-filled-button-horizontal-padding, 24px)}.mat-mdc-unelevated-button>.mat-icon{margin-right:var(--mat-filled-button-icon-spacing, 8px);margin-left:var(--mat-filled-button-icon-offset, -8px)}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon{margin-right:var(--mat-filled-button-icon-offset, -8px);margin-left:var(--mat-filled-button-icon-spacing, 8px)}.mat-mdc-unelevated-button .mdc-button__label+.mat-icon{margin-right:var(--mat-filled-button-icon-offset, -8px);margin-left:var(--mat-filled-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-unelevated-button .mdc-button__label+.mat-icon{margin-right:var(--mat-filled-button-icon-spacing, 8px);margin-left:var(--mat-filled-button-icon-offset, -8px)}.mat-mdc-unelevated-button .mat-ripple-element{background-color:var(--mat-filled-button-ripple-color, color-mix(in srgb, var(--mat-sys-on-primary) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-filled-button-state-layer-color, var(--mat-sys-on-primary))}.mat-mdc-unelevated-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-filled-button-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-unelevated-button:hover>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-unelevated-button.cdk-program-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button.cdk-keyboard-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button.mat-mdc-button-disabled-interactive:focus>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-unelevated-button:active>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-unelevated-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-filled-button-touch-target-display, block)}.mat-mdc-unelevated-button:not(:disabled){color:var(--mdc-filled-button-label-text-color, var(--mat-sys-on-primary));background-color:var(--mdc-filled-button-container-color, var(--mat-sys-primary))}.mat-mdc-unelevated-button,.mat-mdc-unelevated-button .mdc-button__ripple{border-radius:var(--mdc-filled-button-container-shape, var(--mat-sys-corner-full))}.mat-mdc-unelevated-button[disabled],.mat-mdc-unelevated-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-filled-button-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));background-color:var(--mdc-filled-button-disabled-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mat-mdc-unelevated-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-raised-button{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);box-shadow:var(--mdc-protected-button-container-elevation-shadow, var(--mat-sys-level1));height:var(--mdc-protected-button-container-height, 40px);font-family:var(--mdc-protected-button-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mdc-protected-button-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mdc-protected-button-label-text-tracking, var(--mat-sys-label-large-tracking));text-transform:var(--mdc-protected-button-label-text-transform);font-weight:var(--mdc-protected-button-label-text-weight, var(--mat-sys-label-large-weight));padding:0 var(--mat-protected-button-horizontal-padding, 24px)}.mat-mdc-raised-button>.mat-icon{margin-right:var(--mat-protected-button-icon-spacing, 8px);margin-left:var(--mat-protected-button-icon-offset, -8px)}[dir=rtl] .mat-mdc-raised-button>.mat-icon{margin-right:var(--mat-protected-button-icon-offset, -8px);margin-left:var(--mat-protected-button-icon-spacing, 8px)}.mat-mdc-raised-button .mdc-button__label+.mat-icon{margin-right:var(--mat-protected-button-icon-offset, -8px);margin-left:var(--mat-protected-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-raised-button .mdc-button__label+.mat-icon{margin-right:var(--mat-protected-button-icon-spacing, 8px);margin-left:var(--mat-protected-button-icon-offset, -8px)}.mat-mdc-raised-button .mat-ripple-element{background-color:var(--mat-protected-button-ripple-color, color-mix(in srgb, var(--mat-sys-primary) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-protected-button-state-layer-color, var(--mat-sys-primary))}.mat-mdc-raised-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-protected-button-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-raised-button:hover>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-raised-button.cdk-program-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button.cdk-keyboard-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button.mat-mdc-button-disabled-interactive:focus>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-raised-button:active>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-raised-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-protected-button-touch-target-display, block)}.mat-mdc-raised-button:not(:disabled){color:var(--mdc-protected-button-label-text-color, var(--mat-sys-primary));background-color:var(--mdc-protected-button-container-color, var(--mat-sys-surface))}.mat-mdc-raised-button,.mat-mdc-raised-button .mdc-button__ripple{border-radius:var(--mdc-protected-button-container-shape, var(--mat-sys-corner-full))}.mat-mdc-raised-button:hover{box-shadow:var(--mdc-protected-button-hover-container-elevation-shadow, var(--mat-sys-level2))}.mat-mdc-raised-button:focus{box-shadow:var(--mdc-protected-button-focus-container-elevation-shadow, var(--mat-sys-level1))}.mat-mdc-raised-button:active,.mat-mdc-raised-button:focus:active{box-shadow:var(--mdc-protected-button-pressed-container-elevation-shadow, var(--mat-sys-level1))}.mat-mdc-raised-button[disabled],.mat-mdc-raised-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-protected-button-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));background-color:var(--mdc-protected-button-disabled-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mat-mdc-raised-button[disabled].mat-mdc-button-disabled,.mat-mdc-raised-button.mat-mdc-button-disabled.mat-mdc-button-disabled{box-shadow:var(--mdc-protected-button-disabled-container-elevation-shadow, var(--mat-sys-level0))}.mat-mdc-raised-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-outlined-button{border-style:solid;transition:border 280ms cubic-bezier(0.4, 0, 0.2, 1);height:var(--mdc-outlined-button-container-height, 40px);font-family:var(--mdc-outlined-button-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mdc-outlined-button-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mdc-outlined-button-label-text-tracking, var(--mat-sys-label-large-tracking));text-transform:var(--mdc-outlined-button-label-text-transform);font-weight:var(--mdc-outlined-button-label-text-weight, var(--mat-sys-label-large-weight));border-radius:var(--mdc-outlined-button-container-shape, var(--mat-sys-corner-full));border-width:var(--mdc-outlined-button-outline-width, 1px);padding:0 var(--mat-outlined-button-horizontal-padding, 24px)}.mat-mdc-outlined-button>.mat-icon{margin-right:var(--mat-outlined-button-icon-spacing, 8px);margin-left:var(--mat-outlined-button-icon-offset, -8px)}[dir=rtl] .mat-mdc-outlined-button>.mat-icon{margin-right:var(--mat-outlined-button-icon-offset, -8px);margin-left:var(--mat-outlined-button-icon-spacing, 8px)}.mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-right:var(--mat-outlined-button-icon-offset, -8px);margin-left:var(--mat-outlined-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-right:var(--mat-outlined-button-icon-spacing, 8px);margin-left:var(--mat-outlined-button-icon-offset, -8px)}.mat-mdc-outlined-button .mat-ripple-element{background-color:var(--mat-outlined-button-ripple-color, color-mix(in srgb, var(--mat-sys-primary) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-outlined-button-state-layer-color, var(--mat-sys-primary))}.mat-mdc-outlined-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-outlined-button-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-outlined-button:hover>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-outlined-button.cdk-program-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button.cdk-keyboard-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button.mat-mdc-button-disabled-interactive:focus>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-outlined-button:active>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-outlined-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-outlined-button-touch-target-display, block)}.mat-mdc-outlined-button:not(:disabled){color:var(--mdc-outlined-button-label-text-color, var(--mat-sys-primary));border-color:var(--mdc-outlined-button-outline-color, var(--mat-sys-outline))}.mat-mdc-outlined-button[disabled],.mat-mdc-outlined-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-outlined-button-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));border-color:var(--mdc-outlined-button-disabled-outline-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mat-mdc-outlined-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-button,.mat-mdc-unelevated-button,.mat-mdc-raised-button,.mat-mdc-outlined-button{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0}.mat-mdc-button .mdc-button__label,.mat-mdc-button .mat-icon,.mat-mdc-unelevated-button .mdc-button__label,.mat-mdc-unelevated-button .mat-icon,.mat-mdc-raised-button .mdc-button__label,.mat-mdc-raised-button .mat-icon,.mat-mdc-outlined-button .mdc-button__label,.mat-mdc-outlined-button .mat-icon{z-index:1;position:relative}.mat-mdc-button .mat-focus-indicator,.mat-mdc-unelevated-button .mat-focus-indicator,.mat-mdc-raised-button .mat-focus-indicator,.mat-mdc-outlined-button .mat-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:inherit}.mat-mdc-button:focus>.mat-focus-indicator::before,.mat-mdc-unelevated-button:focus>.mat-focus-indicator::before,.mat-mdc-raised-button:focus>.mat-focus-indicator::before,.mat-mdc-outlined-button:focus>.mat-focus-indicator::before{content:"";border-radius:inherit}.mat-mdc-button._mat-animation-noopable,.mat-mdc-unelevated-button._mat-animation-noopable,.mat-mdc-raised-button._mat-animation-noopable,.mat-mdc-outlined-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon,.mat-mdc-raised-button>.mat-icon,.mat-mdc-outlined-button>.mat-icon{display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem}.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px}.mat-mdc-unelevated-button .mat-focus-indicator::before,.mat-mdc-raised-button .mat-focus-indicator::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-mdc-outlined-button .mat-focus-indicator::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 3px)*-1)}
23
+ `,lW=`@media(forced-colors: active){.mat-mdc-button:not(.mdc-button--outlined),.mat-mdc-unelevated-button:not(.mdc-button--outlined),.mat-mdc-raised-button:not(.mdc-button--outlined),.mat-mdc-outlined-button:not(.mdc-button--outlined),.mat-mdc-icon-button.mat-mdc-icon-button,.mat-mdc-outlined-button .mdc-button__ripple{outline:solid 1px}}
24
+ `,uW=(()=>{const t=class t extends ub{};s(t,"ɵfac",(()=>{let n;return function(a){return(n||(n=En(t)))(a||t)}})()),s(t,"ɵcmp",Ct({type:t,selectors:[["button","mat-button",""],["button","mat-raised-button",""],["button","mat-flat-button",""],["button","mat-stroked-button",""]],hostVars:14,hostBindings:function(n,a){n&2&&(Ha("disabled",a._getDisabledAttribute())("aria-disabled",a._getAriaDisabled()),fd(a.color?"mat-"+a.color:""),Dr("mat-mdc-button-disabled",a.disabled)("mat-mdc-button-disabled-interactive",a.disabledInteractive)("_mat-animation-noopable",a._animationMode==="NoopAnimations")("mat-unthemed",!a.color)("mat-mdc-button-base",!0))},exportAs:["matButton"],features:[Tr],ngContentSelectors:db,decls:7,vars:4,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(n,a){n&1&&(Ga(cb),Yt(0,"span",0),cn(1),ke(2,"span",1),cn(3,1),Ce(),cn(4,2),Yt(5,"span",2)(6,"span",3)),n&2&&Dr("mdc-button__ripple",!a._isFab)("mdc-fab__ripple",a._isFab)},styles:[`.mat-mdc-button-base{text-decoration:none}.mdc-button{-webkit-user-select:none;user-select:none;position:relative;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-width:64px;border:none;outline:none;line-height:inherit;-webkit-appearance:none;overflow:visible;vertical-align:middle;background:rgba(0,0,0,0);padding:0 8px}.mdc-button::-moz-focus-inner{padding:0;border:0}.mdc-button:active{outline:none}.mdc-button:hover{cursor:pointer}.mdc-button:disabled{cursor:default;pointer-events:none}.mdc-button[hidden]{display:none}.mdc-button .mdc-button__label{position:relative}.mat-mdc-button{padding:0 var(--mat-text-button-horizontal-padding, 12px);height:var(--mdc-text-button-container-height, 40px);font-family:var(--mdc-text-button-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mdc-text-button-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mdc-text-button-label-text-tracking, var(--mat-sys-label-large-tracking));text-transform:var(--mdc-text-button-label-text-transform);font-weight:var(--mdc-text-button-label-text-weight, var(--mat-sys-label-large-weight))}.mat-mdc-button,.mat-mdc-button .mdc-button__ripple{border-radius:var(--mdc-text-button-container-shape, var(--mat-sys-corner-full))}.mat-mdc-button:not(:disabled){color:var(--mdc-text-button-label-text-color, var(--mat-sys-primary))}.mat-mdc-button[disabled],.mat-mdc-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-text-button-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-button:has(.material-icons,mat-icon,[matButtonIcon]){padding:0 var(--mat-text-button-with-icon-horizontal-padding, 16px)}.mat-mdc-button>.mat-icon{margin-right:var(--mat-text-button-icon-spacing, 8px);margin-left:var(--mat-text-button-icon-offset, -4px)}[dir=rtl] .mat-mdc-button>.mat-icon{margin-right:var(--mat-text-button-icon-offset, -4px);margin-left:var(--mat-text-button-icon-spacing, 8px)}.mat-mdc-button .mdc-button__label+.mat-icon{margin-right:var(--mat-text-button-icon-offset, -4px);margin-left:var(--mat-text-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-button .mdc-button__label+.mat-icon{margin-right:var(--mat-text-button-icon-spacing, 8px);margin-left:var(--mat-text-button-icon-offset, -4px)}.mat-mdc-button .mat-ripple-element{background-color:var(--mat-text-button-ripple-color, color-mix(in srgb, var(--mat-sys-primary) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-text-button-state-layer-color, var(--mat-sys-primary))}.mat-mdc-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-text-button-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-button:hover>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-button.cdk-program-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-button.cdk-keyboard-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-button.mat-mdc-button-disabled-interactive:focus>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-button:active>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-text-button-touch-target-display, block)}.mat-mdc-unelevated-button{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);height:var(--mdc-filled-button-container-height, 40px);font-family:var(--mdc-filled-button-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mdc-filled-button-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mdc-filled-button-label-text-tracking, var(--mat-sys-label-large-tracking));text-transform:var(--mdc-filled-button-label-text-transform);font-weight:var(--mdc-filled-button-label-text-weight, var(--mat-sys-label-large-weight));padding:0 var(--mat-filled-button-horizontal-padding, 24px)}.mat-mdc-unelevated-button>.mat-icon{margin-right:var(--mat-filled-button-icon-spacing, 8px);margin-left:var(--mat-filled-button-icon-offset, -8px)}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon{margin-right:var(--mat-filled-button-icon-offset, -8px);margin-left:var(--mat-filled-button-icon-spacing, 8px)}.mat-mdc-unelevated-button .mdc-button__label+.mat-icon{margin-right:var(--mat-filled-button-icon-offset, -8px);margin-left:var(--mat-filled-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-unelevated-button .mdc-button__label+.mat-icon{margin-right:var(--mat-filled-button-icon-spacing, 8px);margin-left:var(--mat-filled-button-icon-offset, -8px)}.mat-mdc-unelevated-button .mat-ripple-element{background-color:var(--mat-filled-button-ripple-color, color-mix(in srgb, var(--mat-sys-on-primary) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-filled-button-state-layer-color, var(--mat-sys-on-primary))}.mat-mdc-unelevated-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-filled-button-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-unelevated-button:hover>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-unelevated-button.cdk-program-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button.cdk-keyboard-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button.mat-mdc-button-disabled-interactive:focus>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-unelevated-button:active>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-unelevated-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-filled-button-touch-target-display, block)}.mat-mdc-unelevated-button:not(:disabled){color:var(--mdc-filled-button-label-text-color, var(--mat-sys-on-primary));background-color:var(--mdc-filled-button-container-color, var(--mat-sys-primary))}.mat-mdc-unelevated-button,.mat-mdc-unelevated-button .mdc-button__ripple{border-radius:var(--mdc-filled-button-container-shape, var(--mat-sys-corner-full))}.mat-mdc-unelevated-button[disabled],.mat-mdc-unelevated-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-filled-button-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));background-color:var(--mdc-filled-button-disabled-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mat-mdc-unelevated-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-raised-button{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);box-shadow:var(--mdc-protected-button-container-elevation-shadow, var(--mat-sys-level1));height:var(--mdc-protected-button-container-height, 40px);font-family:var(--mdc-protected-button-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mdc-protected-button-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mdc-protected-button-label-text-tracking, var(--mat-sys-label-large-tracking));text-transform:var(--mdc-protected-button-label-text-transform);font-weight:var(--mdc-protected-button-label-text-weight, var(--mat-sys-label-large-weight));padding:0 var(--mat-protected-button-horizontal-padding, 24px)}.mat-mdc-raised-button>.mat-icon{margin-right:var(--mat-protected-button-icon-spacing, 8px);margin-left:var(--mat-protected-button-icon-offset, -8px)}[dir=rtl] .mat-mdc-raised-button>.mat-icon{margin-right:var(--mat-protected-button-icon-offset, -8px);margin-left:var(--mat-protected-button-icon-spacing, 8px)}.mat-mdc-raised-button .mdc-button__label+.mat-icon{margin-right:var(--mat-protected-button-icon-offset, -8px);margin-left:var(--mat-protected-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-raised-button .mdc-button__label+.mat-icon{margin-right:var(--mat-protected-button-icon-spacing, 8px);margin-left:var(--mat-protected-button-icon-offset, -8px)}.mat-mdc-raised-button .mat-ripple-element{background-color:var(--mat-protected-button-ripple-color, color-mix(in srgb, var(--mat-sys-primary) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-protected-button-state-layer-color, var(--mat-sys-primary))}.mat-mdc-raised-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-protected-button-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-raised-button:hover>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-raised-button.cdk-program-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button.cdk-keyboard-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button.mat-mdc-button-disabled-interactive:focus>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-raised-button:active>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-raised-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-protected-button-touch-target-display, block)}.mat-mdc-raised-button:not(:disabled){color:var(--mdc-protected-button-label-text-color, var(--mat-sys-primary));background-color:var(--mdc-protected-button-container-color, var(--mat-sys-surface))}.mat-mdc-raised-button,.mat-mdc-raised-button .mdc-button__ripple{border-radius:var(--mdc-protected-button-container-shape, var(--mat-sys-corner-full))}.mat-mdc-raised-button:hover{box-shadow:var(--mdc-protected-button-hover-container-elevation-shadow, var(--mat-sys-level2))}.mat-mdc-raised-button:focus{box-shadow:var(--mdc-protected-button-focus-container-elevation-shadow, var(--mat-sys-level1))}.mat-mdc-raised-button:active,.mat-mdc-raised-button:focus:active{box-shadow:var(--mdc-protected-button-pressed-container-elevation-shadow, var(--mat-sys-level1))}.mat-mdc-raised-button[disabled],.mat-mdc-raised-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-protected-button-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));background-color:var(--mdc-protected-button-disabled-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mat-mdc-raised-button[disabled].mat-mdc-button-disabled,.mat-mdc-raised-button.mat-mdc-button-disabled.mat-mdc-button-disabled{box-shadow:var(--mdc-protected-button-disabled-container-elevation-shadow, var(--mat-sys-level0))}.mat-mdc-raised-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-outlined-button{border-style:solid;transition:border 280ms cubic-bezier(0.4, 0, 0.2, 1);height:var(--mdc-outlined-button-container-height, 40px);font-family:var(--mdc-outlined-button-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mdc-outlined-button-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mdc-outlined-button-label-text-tracking, var(--mat-sys-label-large-tracking));text-transform:var(--mdc-outlined-button-label-text-transform);font-weight:var(--mdc-outlined-button-label-text-weight, var(--mat-sys-label-large-weight));border-radius:var(--mdc-outlined-button-container-shape, var(--mat-sys-corner-full));border-width:var(--mdc-outlined-button-outline-width, 1px);padding:0 var(--mat-outlined-button-horizontal-padding, 24px)}.mat-mdc-outlined-button>.mat-icon{margin-right:var(--mat-outlined-button-icon-spacing, 8px);margin-left:var(--mat-outlined-button-icon-offset, -8px)}[dir=rtl] .mat-mdc-outlined-button>.mat-icon{margin-right:var(--mat-outlined-button-icon-offset, -8px);margin-left:var(--mat-outlined-button-icon-spacing, 8px)}.mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-right:var(--mat-outlined-button-icon-offset, -8px);margin-left:var(--mat-outlined-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-right:var(--mat-outlined-button-icon-spacing, 8px);margin-left:var(--mat-outlined-button-icon-offset, -8px)}.mat-mdc-outlined-button .mat-ripple-element{background-color:var(--mat-outlined-button-ripple-color, color-mix(in srgb, var(--mat-sys-primary) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-outlined-button-state-layer-color, var(--mat-sys-primary))}.mat-mdc-outlined-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-outlined-button-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-outlined-button:hover>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-outlined-button.cdk-program-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button.cdk-keyboard-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button.mat-mdc-button-disabled-interactive:focus>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-outlined-button:active>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-outlined-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-outlined-button-touch-target-display, block)}.mat-mdc-outlined-button:not(:disabled){color:var(--mdc-outlined-button-label-text-color, var(--mat-sys-primary));border-color:var(--mdc-outlined-button-outline-color, var(--mat-sys-outline))}.mat-mdc-outlined-button[disabled],.mat-mdc-outlined-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-outlined-button-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));border-color:var(--mdc-outlined-button-disabled-outline-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mat-mdc-outlined-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-button,.mat-mdc-unelevated-button,.mat-mdc-raised-button,.mat-mdc-outlined-button{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0}.mat-mdc-button .mdc-button__label,.mat-mdc-button .mat-icon,.mat-mdc-unelevated-button .mdc-button__label,.mat-mdc-unelevated-button .mat-icon,.mat-mdc-raised-button .mdc-button__label,.mat-mdc-raised-button .mat-icon,.mat-mdc-outlined-button .mdc-button__label,.mat-mdc-outlined-button .mat-icon{z-index:1;position:relative}.mat-mdc-button .mat-focus-indicator,.mat-mdc-unelevated-button .mat-focus-indicator,.mat-mdc-raised-button .mat-focus-indicator,.mat-mdc-outlined-button .mat-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:inherit}.mat-mdc-button:focus>.mat-focus-indicator::before,.mat-mdc-unelevated-button:focus>.mat-focus-indicator::before,.mat-mdc-raised-button:focus>.mat-focus-indicator::before,.mat-mdc-outlined-button:focus>.mat-focus-indicator::before{content:"";border-radius:inherit}.mat-mdc-button._mat-animation-noopable,.mat-mdc-unelevated-button._mat-animation-noopable,.mat-mdc-raised-button._mat-animation-noopable,.mat-mdc-outlined-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon,.mat-mdc-raised-button>.mat-icon,.mat-mdc-outlined-button>.mat-icon{display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem}.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px}.mat-mdc-unelevated-button .mat-focus-indicator::before,.mat-mdc-raised-button .mat-focus-indicator::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-mdc-outlined-button .mat-focus-indicator::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 3px)*-1)}
25
+ `,`@media(forced-colors: active){.mat-mdc-button:not(.mdc-button--outlined),.mat-mdc-unelevated-button:not(.mdc-button--outlined),.mat-mdc-raised-button:not(.mdc-button--outlined),.mat-mdc-outlined-button:not(.mdc-button--outlined),.mat-mdc-icon-button.mat-mdc-icon-button,.mat-mdc-outlined-button .mdc-button__ripple{outline:solid 1px}}
26
+ `],encapsulation:2,changeDetection:0}));let e=t;return e})(),cW=(()=>{const t=class t extends oW{};s(t,"ɵfac",(()=>{let n;return function(a){return(n||(n=En(t)))(a||t)}})()),s(t,"ɵcmp",Ct({type:t,selectors:[["a","mat-button",""],["a","mat-raised-button",""],["a","mat-flat-button",""],["a","mat-stroked-button",""]],hostVars:15,hostBindings:function(n,a){n&2&&(Ha("disabled",a._getDisabledAttribute())("tabindex",a.disabled&&!a.disabledInteractive?-1:a.tabIndex)("aria-disabled",a._getAriaDisabled()),fd(a.color?"mat-"+a.color:""),Dr("mat-mdc-button-disabled",a.disabled)("mat-mdc-button-disabled-interactive",a.disabledInteractive)("_mat-animation-noopable",a._animationMode==="NoopAnimations")("mat-unthemed",!a.color)("mat-mdc-button-base",!0))},exportAs:["matButton","matAnchor"],features:[Tr],ngContentSelectors:db,decls:7,vars:4,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(n,a){n&1&&(Ga(cb),Yt(0,"span",0),cn(1),ke(2,"span",1),cn(3,1),Ce(),cn(4,2),Yt(5,"span",2)(6,"span",3)),n&2&&Dr("mdc-button__ripple",!a._isFab)("mdc-fab__ripple",a._isFab)},styles:[sW,lW],encapsulation:2,changeDetection:0}));let e=t;return e})(),hb=(()=>{const t=class t{constructor(){s(this,"changes",new Pe);s(this,"itemsPerPageLabel","Items per page:");s(this,"nextPageLabel","Next page");s(this,"previousPageLabel","Previous page");s(this,"firstPageLabel","First page");s(this,"lastPageLabel","Last page");s(this,"getRangeLabel",(n,a,i)=>{if(i==0||a==0)return`0 of ${i}`;i=Math.max(i,0);let o=n*a,l=o<i?Math.min(o+a,i):o+a;return`${o+1} – ${l} of ${i}`})}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",U({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),_e=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}(_e||{}),ir="*";function dW(e,t=null){return{type:_e.Sequence,steps:e,options:t}}function qp(e){return{type:_e.Style,styles:e,offset:null}}var Ti=class{constructor(e=0,t=0){s(this,"_onDoneFns",[]);s(this,"_onStartFns",[]);s(this,"_onDestroyFns",[]);s(this,"_originalOnDoneFns",[]);s(this,"_originalOnStartFns",[]);s(this,"_started",!1);s(this,"_destroyed",!1);s(this,"_finished",!1);s(this,"_position",0);s(this,"parentPlayer",null);s(this,"totalTime");this.totalTime=e+t}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}onStart(e){this._originalOnStartFns.push(e),this._onStartFns.push(e)}onDone(e){this._originalOnDoneFns.push(e),this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){queueMicrotask(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(e=>e()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(e){this._position=this.totalTime?e*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(e){let t=e=="start"?this._onStartFns:this._onDoneFns;t.forEach(r=>r()),t.length=0}},pb=class{constructor(e){s(this,"_onDoneFns",[]);s(this,"_onStartFns",[]);s(this,"_finished",!1);s(this,"_started",!1);s(this,"_destroyed",!1);s(this,"_onDestroyFns",[]);s(this,"parentPlayer",null);s(this,"totalTime",0);s(this,"players");this.players=e;let t=0,r=0,n=0,a=this.players.length;a==0?queueMicrotask(()=>this._onFinish()):this.players.forEach(i=>{i.onDone(()=>{++t==a&&this._onFinish()}),i.onDestroy(()=>{++r==a&&this._onDestroy()}),i.onStart(()=>{++n==a&&this._onStart()})}),this.totalTime=this.players.reduce((i,o)=>Math.max(i,o.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}init(){this.players.forEach(e=>e.init())}onStart(e){this._onStartFns.push(e)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(e=>e()),this._onStartFns=[])}onDone(e){this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(e=>e.play())}pause(){this.players.forEach(e=>e.pause())}restart(){this.players.forEach(e=>e.restart())}finish(){this._onFinish(),this.players.forEach(e=>e.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(e=>e.destroy()),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}reset(){this.players.forEach(e=>e.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(e){let t=e*this.totalTime;this.players.forEach(r=>{let n=r.totalTime?Math.min(1,t/r.totalTime):1;r.setPosition(n)})}getPosition(){let e=this.players.reduce((t,r)=>t===null||r.totalTime>t.totalTime?r:t,null);return e!=null?e.getPosition():0}beforeDestroy(){this.players.forEach(e=>{e.beforeDestroy&&e.beforeDestroy()})}triggerCallback(e){let t=e=="start"?this._onStartFns:this._onDoneFns;t.forEach(r=>r()),t.length=0}},Td="!";function Gp(e){return new $(3e3,!1)}function hW(){return new $(3100,!1)}function pW(){return new $(3101,!1)}function mW(e){return new $(3001,!1)}function fW(e){return new $(3003,!1)}function gW(e){return new $(3004,!1)}function vW(e,t){return new $(3005,!1)}function bW(){return new $(3006,!1)}function yW(){return new $(3007,!1)}function _W(e,t){return new $(3008,!1)}function wW(e){return new $(3002,!1)}function xW(e,t,r,n,a){return new $(3010,!1)}function EW(){return new $(3011,!1)}function SW(){return new $(3012,!1)}function kW(){return new $(3200,!1)}function CW(){return new $(3202,!1)}function IW(){return new $(3013,!1)}function DW(e){return new $(3014,!1)}function NW(e){return new $(3015,!1)}function TW(e){return new $(3016,!1)}function MW(e,t){return new $(3404,!1)}function RW(e){return new $(3502,!1)}function OW(e){return new $(3503,!1)}function PW(){return new $(3300,!1)}function AW(e){return new $(3504,!1)}function LW(e){return new $(3301,!1)}function FW(e,t){return new $(3302,!1)}function jW(e){return new $(3303,!1)}function VW(e,t){return new $(3400,!1)}function BW(e){return new $(3401,!1)}function zW(e){return new $(3402,!1)}function HW(e,t){return new $(3505,!1)}function br(e){switch(e.length){case 0:return new Ti;case 1:return e[0];default:return new pb(e)}}function mb(e,t,r=new Map,n=new Map){let a=[],i=[],o=-1,l=null;if(t.forEach(h=>{let u=h.get("offset"),c=u==o,m=c&&l||new Map;h.forEach((b,g)=>{let w=g,x=b;if(g!=="offset")switch(w=e.normalizePropertyName(w,a),x){case Td:x=r.get(g);break;case ir:x=n.get(g);break;default:x=e.normalizeStyleValue(g,w,x,a);break}m.set(w,x)}),c||i.push(m),l=m,o=u}),a.length)throw RW();return i}function Md(e,t,r,n){switch(t){case"start":e.onStart(()=>n(r&&Yl(r,"start",e)));break;case"done":e.onDone(()=>n(r&&Yl(r,"done",e)));break;case"destroy":e.onDestroy(()=>n(r&&Yl(r,"destroy",e)));break}}function Yl(e,t,r){let n=r.totalTime,a=!!r.disabled,i=Rd(e.element,e.triggerName,e.fromState,e.toState,t||e.phaseName,n??e.totalTime,a),o=e._data;return o!=null&&(i._data=o),i}function Rd(e,t,r,n,a="",i=0,o){return{element:e,triggerName:t,fromState:r,toState:n,phaseName:a,totalTime:i,disabled:!!o}}function Ut(e,t,r){let n=e.get(t);return n||e.set(t,n=r),n}function $p(e){let t=e.indexOf(":"),r=e.substring(1,t),n=e.slice(t+1);return[r,n]}var qW=typeof document>"u"?null:document.documentElement;function Od(e){let t=e.parentNode||e.host||null;return t===qW?null:t}function GW(e){return e.substring(1,6)=="ebkit"}var Fr=null,Up=!1;function $W(e){Fr||(Fr=UW()||{},Up=Fr.style?"WebkitAppearance"in Fr.style:!1);let t=!0;return Fr.style&&!GW(e)&&(t=e in Fr.style,!t&&Up&&(t="Webkit"+e.charAt(0).toUpperCase()+e.slice(1)in Fr.style)),t}function UW(){return typeof document<"u"?document.body:null}function fb(e,t){for(;t;){if(t===e)return!0;t=Od(t)}return!1}function gb(e,t,r){if(r)return Array.from(e.querySelectorAll(t));let n=e.querySelector(t);return n?[n]:[]}var WW=1e3,vb="{{",ZW="}}",bb="ng-enter",tc="ng-leave",Mo="ng-trigger",Is=".ng-trigger",Wp="ng-animating",nc=".ng-animating";function tr(e){if(typeof e=="number")return e;let t=e.match(/^(-?[\.\d]+)(m?s)/);return!t||t.length<2?0:rc(parseFloat(t[1]),t[2])}function rc(e,t){switch(t){case"s":return e*WW;default:return e}}function Ds(e,t,r){return e.hasOwnProperty("duration")?e:YW(e,t,r)}function YW(e,t,r){let n=/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i,a,i=0,o="";if(typeof e=="string"){let l=e.match(n);if(l===null)return t.push(Gp()),{duration:0,delay:0,easing:""};a=rc(parseFloat(l[1]),l[2]);let h=l[3];h!=null&&(i=rc(parseFloat(h),l[4]));let u=l[5];u&&(o=u)}else a=e;if(!r){let l=!1,h=t.length;a<0&&(t.push(hW()),l=!0),i<0&&(t.push(pW()),l=!0),l&&t.splice(h,0,Gp())}return{duration:a,delay:i,easing:o}}function KW(e){return e.length?e[0]instanceof Map?e:e.map(t=>new Map(Object.entries(t))):[]}function Mn(e,t,r){t.forEach((n,a)=>{let i=Pd(a);r&&!r.has(a)&&r.set(a,e.style[i]),e.style[i]=n})}function Gr(e,t){t.forEach((r,n)=>{let a=Pd(n);e.style[a]=""})}function ei(e){return Array.isArray(e)?e.length==1?e[0]:dW(e):e}function QW(e,t,r){let n=t.params||{},a=yb(e);a.length&&a.forEach(i=>{n.hasOwnProperty(i)||r.push(mW())})}var ac=new RegExp(`${vb}\\s*(.+?)\\s*${ZW}`,"g");function yb(e){let t=[];if(typeof e=="string"){let r;for(;r=ac.exec(e);)t.push(r[1]);ac.lastIndex=0}return t}function Mi(e,t,r){let n=`${e}`,a=n.replace(ac,(i,o)=>{let l=t[o];return l==null&&(r.push(fW()),l=""),l.toString()});return a==n?e:a}var JW=/-+([a-z0-9])/g;function Pd(e){return e.replace(JW,(...t)=>t[1].toUpperCase())}function XW(e,t){return e===0||t===0}function eZ(e,t,r){if(r.size&&t.length){let n=t[0],a=[];if(r.forEach((i,o)=>{n.has(o)||a.push(o),n.set(o,i)}),a.length)for(let i=1;i<t.length;i++){let o=t[i];a.forEach(l=>o.set(l,Ad(e,l)))}}return t}function Gt(e,t,r){switch(t.type){case _e.Trigger:return e.visitTrigger(t,r);case _e.State:return e.visitState(t,r);case _e.Transition:return e.visitTransition(t,r);case _e.Sequence:return e.visitSequence(t,r);case _e.Group:return e.visitGroup(t,r);case _e.Animate:return e.visitAnimate(t,r);case _e.Keyframes:return e.visitKeyframes(t,r);case _e.Style:return e.visitStyle(t,r);case _e.Reference:return e.visitReference(t,r);case _e.AnimateChild:return e.visitAnimateChild(t,r);case _e.AnimateRef:return e.visitAnimateRef(t,r);case _e.Query:return e.visitQuery(t,r);case _e.Stagger:return e.visitStagger(t,r);default:throw gW(t.type)}}function Ad(e,t){return window.getComputedStyle(e)[t]}var tZ=(()=>{const t=class t{validateStyleProperty(n){return $W(n)}containsElement(n,a){return fb(n,a)}getParentElement(n){return Od(n)}query(n,a,i){return gb(n,a,i)}computeStyle(n,a,i){return i||""}animate(n,a,i,o,l,h=[],u){return new Ti(i,o)}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",U({token:t,factory:t.ɵfac}));let e=t;return e})(),iu,_b=(iu=class{},s(iu,"NOOP",new tZ),iu),Ld=class{},nZ=new Set(["width","height","minWidth","minHeight","maxWidth","maxHeight","left","top","bottom","right","fontSize","outlineWidth","outlineOffset","paddingTop","paddingLeft","paddingBottom","paddingRight","marginTop","marginLeft","marginBottom","marginRight","borderRadius","borderWidth","borderTopWidth","borderLeftWidth","borderRightWidth","borderBottomWidth","textIndent","perspective"]),rZ=class extends Ld{normalizePropertyName(e,t){return Pd(e)}normalizeStyleValue(e,t,r,n){let a="",i=r.toString().trim();if(nZ.has(t)&&r!==0&&r!=="0")if(typeof r=="number")a="px";else{let o=r.match(/^[+-]?[\d\.]+([a-z]*)$/);o&&o[1].length==0&&n.push(vW())}return i+a}},Ns="*";function aZ(e,t){let r=[];return typeof e=="string"?e.split(/\s*,\s*/).forEach(n=>iZ(n,r,t)):r.push(e),r}function iZ(e,t,r){if(e[0]==":"){let h=oZ(e,r);if(typeof h=="function"){t.push(h);return}e=h}let n=e.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(n==null||n.length<4)return r.push(NW()),t;let a=n[1],i=n[2],o=n[3];t.push(Zp(a,o));let l=a==Ns&&o==Ns;i[0]=="<"&&!l&&t.push(Zp(o,a))}function oZ(e,t){switch(e){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(r,n)=>parseFloat(n)>parseFloat(r);case":decrement":return(r,n)=>parseFloat(n)<parseFloat(r);default:return t.push(TW()),"* => *"}}var Ro=new Set(["true","1"]),Oo=new Set(["false","0"]);function Zp(e,t){let r=Ro.has(e)||Oo.has(e),n=Ro.has(t)||Oo.has(t);return(a,i)=>{let o=e==Ns||e==a,l=t==Ns||t==i;return!o&&r&&typeof a=="boolean"&&(o=a?Ro.has(e):Oo.has(e)),!l&&n&&typeof i=="boolean"&&(l=i?Ro.has(t):Oo.has(t)),o&&l}}var wb=":self",sZ=new RegExp(`s*${wb}s*,?`,"g");function xb(e,t,r,n){return new lZ(e).build(t,r,n)}var Yp="",lZ=class{constructor(e){s(this,"_driver");this._driver=e}build(e,t,r){let n=new dZ(t);return this._resetContextStyleTimingState(n),Gt(this,ei(e),n)}_resetContextStyleTimingState(e){e.currentQuerySelector=Yp,e.collectedStyles=new Map,e.collectedStyles.set(Yp,new Map),e.currentTime=0}visitTrigger(e,t){let r=t.queryCount=0,n=t.depCount=0,a=[],i=[];return e.name.charAt(0)=="@"&&t.errors.push(bW()),e.definitions.forEach(o=>{if(this._resetContextStyleTimingState(t),o.type==_e.State){let l=o,h=l.name;h.toString().split(/\s*,\s*/).forEach(u=>{l.name=u,a.push(this.visitState(l,t))}),l.name=h}else if(o.type==_e.Transition){let l=this.visitTransition(o,t);r+=l.queryCount,n+=l.depCount,i.push(l)}else t.errors.push(yW())}),{type:_e.Trigger,name:e.name,states:a,transitions:i,queryCount:r,depCount:n,options:null}}visitState(e,t){let r=this.visitStyle(e.styles,t),n=e.options&&e.options.params||null;if(r.containsDynamicStyles){let a=new Set,i=n||{};r.styles.forEach(o=>{o instanceof Map&&o.forEach(l=>{yb(l).forEach(h=>{i.hasOwnProperty(h)||a.add(h)})})}),a.size&&t.errors.push(_W(e.name,[...a.values()]))}return{type:_e.State,name:e.name,style:r,options:n?{params:n}:null}}visitTransition(e,t){t.queryCount=0,t.depCount=0;let r=Gt(this,ei(e.animation),t),n=aZ(e.expr,t.errors);return{type:_e.Transition,matchers:n,animation:r,queryCount:t.queryCount,depCount:t.depCount,options:jr(e.options)}}visitSequence(e,t){return{type:_e.Sequence,steps:e.steps.map(r=>Gt(this,r,t)),options:jr(e.options)}}visitGroup(e,t){let r=t.currentTime,n=0,a=e.steps.map(i=>{t.currentTime=r;let o=Gt(this,i,t);return n=Math.max(n,t.currentTime),o});return t.currentTime=n,{type:_e.Group,steps:a,options:jr(e.options)}}visitAnimate(e,t){let r=pZ(e.timings,t.errors);t.currentAnimateTimings=r;let n,a=e.styles?e.styles:qp({});if(a.type==_e.Keyframes)n=this.visitKeyframes(a,t);else{let i=e.styles,o=!1;if(!i){o=!0;let h={};r.easing&&(h.easing=r.easing),i=qp(h)}t.currentTime+=r.duration+r.delay;let l=this.visitStyle(i,t);l.isEmptyStep=o,n=l}return t.currentAnimateTimings=null,{type:_e.Animate,timings:r,style:n,options:null}}visitStyle(e,t){let r=this._makeStyleAst(e,t);return this._validateStyleAst(r,t),r}_makeStyleAst(e,t){let r=[],n=Array.isArray(e.styles)?e.styles:[e.styles];for(let o of n)typeof o=="string"?o===ir?r.push(o):t.errors.push(wW()):r.push(new Map(Object.entries(o)));let a=!1,i=null;return r.forEach(o=>{if(o instanceof Map&&(o.has("easing")&&(i=o.get("easing"),o.delete("easing")),!a)){for(let l of o.values())if(l.toString().indexOf(vb)>=0){a=!0;break}}}),{type:_e.Style,styles:r,easing:i,offset:e.offset,containsDynamicStyles:a,options:null}}_validateStyleAst(e,t){let r=t.currentAnimateTimings,n=t.currentTime,a=t.currentTime;r&&a>0&&(a-=r.duration+r.delay),e.styles.forEach(i=>{typeof i!="string"&&i.forEach((o,l)=>{let h=t.collectedStyles.get(t.currentQuerySelector),u=h.get(l),c=!0;u&&(a!=n&&a>=u.startTime&&n<=u.endTime&&(t.errors.push(xW(l,u.startTime,u.endTime)),c=!1),a=u.startTime),c&&h.set(l,{startTime:a,endTime:n}),t.options&&QW(o,t.options,t.errors)})})}visitKeyframes(e,t){let r={type:_e.Keyframes,styles:[],options:null};if(!t.currentAnimateTimings)return t.errors.push(EW()),r;let n=1,a=0,i=[],o=!1,l=!1,h=0,u=e.steps.map(S=>{let N=this._makeStyleAst(S,t),L=N.offset!=null?N.offset:hZ(N.styles),A=0;return L!=null&&(a++,A=N.offset=L),l=l||A<0||A>1,o=o||A<h,h=A,i.push(A),N});l&&t.errors.push(SW()),o&&t.errors.push(kW());let c=e.steps.length,m=0;a>0&&a<c?t.errors.push(CW()):a==0&&(m=n/(c-1));let b=c-1,g=t.currentTime,w=t.currentAnimateTimings,x=w.duration;return u.forEach((S,N)=>{let L=m>0?N==b?1:m*N:i[N],A=L*x;t.currentTime=g+w.delay+A,w.duration=A,this._validateStyleAst(S,t),S.offset=L,r.styles.push(S)}),r}visitReference(e,t){return{type:_e.Reference,animation:Gt(this,ei(e.animation),t),options:jr(e.options)}}visitAnimateChild(e,t){return t.depCount++,{type:_e.AnimateChild,options:jr(e.options)}}visitAnimateRef(e,t){return{type:_e.AnimateRef,animation:this.visitReference(e.animation,t),options:jr(e.options)}}visitQuery(e,t){let r=t.currentQuerySelector,n=e.options||{};t.queryCount++,t.currentQuery=e;let[a,i]=uZ(e.selector);t.currentQuerySelector=r.length?r+" "+a:a,Ut(t.collectedStyles,t.currentQuerySelector,new Map);let o=Gt(this,ei(e.animation),t);return t.currentQuery=null,t.currentQuerySelector=r,{type:_e.Query,selector:a,limit:n.limit||0,optional:!!n.optional,includeSelf:i,animation:o,originalSelector:e.selector,options:jr(e.options)}}visitStagger(e,t){t.currentQuery||t.errors.push(IW());let r=e.timings==="full"?{duration:0,delay:0,easing:"full"}:Ds(e.timings,t.errors,!0);return{type:_e.Stagger,animation:Gt(this,ei(e.animation),t),timings:r,options:null}}};function uZ(e){let t=!!e.split(/\s*,\s*/).find(r=>r==wb);return t&&(e=e.replace(sZ,"")),e=e.replace(/@\*/g,Is).replace(/@\w+/g,r=>Is+"-"+r.slice(1)).replace(/:animating/g,nc),[e,t]}function cZ(e){return e?ge({},e):null}var dZ=class{constructor(e){s(this,"errors");s(this,"queryCount",0);s(this,"depCount",0);s(this,"currentTransition",null);s(this,"currentQuery",null);s(this,"currentQuerySelector",null);s(this,"currentAnimateTimings",null);s(this,"currentTime",0);s(this,"collectedStyles",new Map);s(this,"options",null);s(this,"unsupportedCSSPropertiesFound",new Set);this.errors=e}};function hZ(e){if(typeof e=="string")return null;let t=null;if(Array.isArray(e))e.forEach(r=>{if(r instanceof Map&&r.has("offset")){let n=r;t=parseFloat(n.get("offset")),n.delete("offset")}});else if(e instanceof Map&&e.has("offset")){let r=e;t=parseFloat(r.get("offset")),r.delete("offset")}return t}function pZ(e,t){if(e.hasOwnProperty("duration"))return e;if(typeof e=="number"){let a=Ds(e,t).duration;return Kl(a,0,"")}let r=e;if(r.split(/\s+/).some(a=>a.charAt(0)=="{"&&a.charAt(1)=="{")){let a=Kl(0,0,"");return a.dynamic=!0,a.strValue=r,a}let n=Ds(r,t);return Kl(n.duration,n.delay,n.easing)}function jr(e){return e?(e=ge({},e),e.params&&(e.params=cZ(e.params))):e={},e}function Kl(e,t,r){return{duration:e,delay:t,easing:r}}function Fd(e,t,r,n,a,i,o=null,l=!1){return{type:1,element:e,keyframes:t,preStyleProps:r,postStyleProps:n,duration:a,delay:i,totalTime:a+i,easing:o,subTimeline:l}}var jd=class{constructor(){s(this,"_map",new Map)}get(e){return this._map.get(e)||[]}append(e,t){let r=this._map.get(e);r||this._map.set(e,r=[]),r.push(...t)}has(e){return this._map.has(e)}clear(){this._map.clear()}},mZ=1,fZ=":enter",gZ=new RegExp(fZ,"g"),vZ=":leave",bZ=new RegExp(vZ,"g");function Eb(e,t,r,n,a,i=new Map,o=new Map,l,h,u=[]){return new yZ().buildKeyframes(e,t,r,n,a,i,o,l,h,u)}var yZ=class{buildKeyframes(e,t,r,n,a,i,o,l,h,u=[]){h=h||new jd;let c=new _Z(e,t,h,n,a,u,[]);c.options=l;let m=l.delay?tr(l.delay):0;c.currentTimeline.delayNextStep(m),c.currentTimeline.setStyles([i],null,c.errors,l),Gt(this,r,c);let b=c.timelines.filter(g=>g.containsAnimation());if(b.length&&o.size){let g;for(let w=b.length-1;w>=0;w--){let x=b[w];if(x.element===t){g=x;break}}g&&!g.allowOnlyTimelineStyles()&&g.setStyles([o],null,c.errors,l)}return b.length?b.map(g=>g.buildKeyframes()):[Fd(t,[],[],[],0,m,"",!1)]}visitTrigger(e,t){}visitState(e,t){}visitTransition(e,t){}visitAnimateChild(e,t){let r=t.subInstructions.get(t.element);if(r){let n=t.createSubContext(e.options),a=t.currentTimeline.currentTime,i=this._visitSubInstructions(r,n,n.options);a!=i&&t.transformIntoNewTimeline(i)}t.previousNode=e}visitAnimateRef(e,t){let r=t.createSubContext(e.options);r.transformIntoNewTimeline(),this._applyAnimationRefDelays([e.options,e.animation.options],t,r),this.visitReference(e.animation,r),t.transformIntoNewTimeline(r.currentTimeline.currentTime),t.previousNode=e}_applyAnimationRefDelays(e,t,r){for(let n of e){let a=n==null?void 0:n.delay;if(a){let i=typeof a=="number"?a:tr(Mi(a,(n==null?void 0:n.params)??{},t.errors));r.delayNextStep(i)}}}_visitSubInstructions(e,t,r){let n=t.currentTimeline.currentTime,a=r.duration!=null?tr(r.duration):null,i=r.delay!=null?tr(r.delay):null;return a!==0&&e.forEach(o=>{let l=t.appendInstructionToTimeline(o,a,i);n=Math.max(n,l.duration+l.delay)}),n}visitReference(e,t){t.updateOptions(e.options,!0),Gt(this,e.animation,t),t.previousNode=e}visitSequence(e,t){let r=t.subContextCount,n=t,a=e.options;if(a&&(a.params||a.delay)&&(n=t.createSubContext(a),n.transformIntoNewTimeline(),a.delay!=null)){n.previousNode.type==_e.Style&&(n.currentTimeline.snapshotCurrentStyles(),n.previousNode=Ts);let i=tr(a.delay);n.delayNextStep(i)}e.steps.length&&(e.steps.forEach(i=>Gt(this,i,n)),n.currentTimeline.applyStylesToKeyframe(),n.subContextCount>r&&n.transformIntoNewTimeline()),t.previousNode=e}visitGroup(e,t){let r=[],n=t.currentTimeline.currentTime,a=e.options&&e.options.delay?tr(e.options.delay):0;e.steps.forEach(i=>{let o=t.createSubContext(e.options);a&&o.delayNextStep(a),Gt(this,i,o),n=Math.max(n,o.currentTimeline.currentTime),r.push(o.currentTimeline)}),r.forEach(i=>t.currentTimeline.mergeTimelineCollectedStyles(i)),t.transformIntoNewTimeline(n),t.previousNode=e}_visitTiming(e,t){if(e.dynamic){let r=e.strValue,n=t.params?Mi(r,t.params,t.errors):r;return Ds(n,t.errors)}else return{duration:e.duration,delay:e.delay,easing:e.easing}}visitAnimate(e,t){let r=t.currentAnimateTimings=this._visitTiming(e.timings,t),n=t.currentTimeline;r.delay&&(t.incrementTime(r.delay),n.snapshotCurrentStyles());let a=e.style;a.type==_e.Keyframes?this.visitKeyframes(a,t):(t.incrementTime(r.duration),this.visitStyle(a,t),n.applyStylesToKeyframe()),t.currentAnimateTimings=null,t.previousNode=e}visitStyle(e,t){let r=t.currentTimeline,n=t.currentAnimateTimings;!n&&r.hasCurrentStyleProperties()&&r.forwardFrame();let a=n&&n.easing||e.easing;e.isEmptyStep?r.applyEmptyStep(a):r.setStyles(e.styles,a,t.errors,t.options),t.previousNode=e}visitKeyframes(e,t){let r=t.currentAnimateTimings,n=t.currentTimeline.duration,a=r.duration,i=t.createSubContext().currentTimeline;i.easing=r.easing,e.styles.forEach(o=>{let l=o.offset||0;i.forwardTime(l*a),i.setStyles(o.styles,o.easing,t.errors,t.options),i.applyStylesToKeyframe()}),t.currentTimeline.mergeTimelineCollectedStyles(i),t.transformIntoNewTimeline(n+a),t.previousNode=e}visitQuery(e,t){let r=t.currentTimeline.currentTime,n=e.options||{},a=n.delay?tr(n.delay):0;a&&(t.previousNode.type===_e.Style||r==0&&t.currentTimeline.hasCurrentStyleProperties())&&(t.currentTimeline.snapshotCurrentStyles(),t.previousNode=Ts);let i=r,o=t.invokeQuery(e.selector,e.originalSelector,e.limit,e.includeSelf,!!n.optional,t.errors);t.currentQueryTotal=o.length;let l=null;o.forEach((h,u)=>{t.currentQueryIndex=u;let c=t.createSubContext(e.options,h);a&&c.delayNextStep(a),h===t.element&&(l=c.currentTimeline),Gt(this,e.animation,c),c.currentTimeline.applyStylesToKeyframe();let m=c.currentTimeline.currentTime;i=Math.max(i,m)}),t.currentQueryIndex=0,t.currentQueryTotal=0,t.transformIntoNewTimeline(i),l&&(t.currentTimeline.mergeTimelineCollectedStyles(l),t.currentTimeline.snapshotCurrentStyles()),t.previousNode=e}visitStagger(e,t){let r=t.parentContext,n=t.currentTimeline,a=e.timings,i=Math.abs(a.duration),o=i*(t.currentQueryTotal-1),l=i*t.currentQueryIndex;switch(a.duration<0?"reverse":a.easing){case"reverse":l=o-l;break;case"full":l=r.currentStaggerTime;break}let h=t.currentTimeline;l&&h.delayNextStep(l);let u=h.currentTime;Gt(this,e.animation,t),t.previousNode=e,r.currentStaggerTime=n.currentTime-u+(n.startTime-r.currentTimeline.startTime)}},Ts={},_Z=class Sb{constructor(t,r,n,a,i,o,l,h){s(this,"_driver");s(this,"element");s(this,"subInstructions");s(this,"_enterClassName");s(this,"_leaveClassName");s(this,"errors");s(this,"timelines");s(this,"parentContext",null);s(this,"currentTimeline");s(this,"currentAnimateTimings",null);s(this,"previousNode",Ts);s(this,"subContextCount",0);s(this,"options",{});s(this,"currentQueryIndex",0);s(this,"currentQueryTotal",0);s(this,"currentStaggerTime",0);this._driver=t,this.element=r,this.subInstructions=n,this._enterClassName=a,this._leaveClassName=i,this.errors=o,this.timelines=l,this.currentTimeline=h||new kb(this._driver,r,0),l.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(t,r){if(!t)return;let n=t,a=this.options;n.duration!=null&&(a.duration=tr(n.duration)),n.delay!=null&&(a.delay=tr(n.delay));let i=n.params;if(i){let o=a.params;o||(o=this.options.params={}),Object.keys(i).forEach(l=>{(!r||!o.hasOwnProperty(l))&&(o[l]=Mi(i[l],o,this.errors))})}}_copyOptions(){let t={};if(this.options){let r=this.options.params;if(r){let n=t.params={};Object.keys(r).forEach(a=>{n[a]=r[a]})}}return t}createSubContext(t=null,r,n){let a=r||this.element,i=new Sb(this._driver,a,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(a,n||0));return i.previousNode=this.previousNode,i.currentAnimateTimings=this.currentAnimateTimings,i.options=this._copyOptions(),i.updateOptions(t),i.currentQueryIndex=this.currentQueryIndex,i.currentQueryTotal=this.currentQueryTotal,i.parentContext=this,this.subContextCount++,i}transformIntoNewTimeline(t){return this.previousNode=Ts,this.currentTimeline=this.currentTimeline.fork(this.element,t),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(t,r,n){let a={duration:r??t.duration,delay:this.currentTimeline.currentTime+(n??0)+t.delay,easing:""},i=new wZ(this._driver,t.element,t.keyframes,t.preStyleProps,t.postStyleProps,a,t.stretchStartingKeyframe);return this.timelines.push(i),a}incrementTime(t){this.currentTimeline.forwardTime(this.currentTimeline.duration+t)}delayNextStep(t){t>0&&this.currentTimeline.delayNextStep(t)}invokeQuery(t,r,n,a,i,o){let l=[];if(a&&l.push(this.element),t.length>0){t=t.replace(gZ,"."+this._enterClassName),t=t.replace(bZ,"."+this._leaveClassName);let h=n!=1,u=this._driver.query(this.element,t,h);n!==0&&(u=n<0?u.slice(u.length+n,u.length):u.slice(0,n)),l.push(...u)}return!i&&l.length==0&&o.push(DW()),l}},kb=class Cb{constructor(t,r,n,a){s(this,"_driver");s(this,"element");s(this,"startTime");s(this,"_elementTimelineStylesLookup");s(this,"duration",0);s(this,"easing",null);s(this,"_previousKeyframe",new Map);s(this,"_currentKeyframe",new Map);s(this,"_keyframes",new Map);s(this,"_styleSummary",new Map);s(this,"_localTimelineStyles",new Map);s(this,"_globalTimelineStyles");s(this,"_pendingStyles",new Map);s(this,"_backFill",new Map);s(this,"_currentEmptyStepKeyframe",null);this._driver=t,this.element=r,this.startTime=n,this._elementTimelineStylesLookup=a,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(r),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(r,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.hasCurrentStyleProperties();default:return!0}}hasCurrentStyleProperties(){return this._currentKeyframe.size>0}get currentTime(){return this.startTime+this.duration}delayNextStep(t){let r=this._keyframes.size===1&&this._pendingStyles.size;this.duration||r?(this.forwardTime(this.currentTime+t),r&&this.snapshotCurrentStyles()):this.startTime+=t}fork(t,r){return this.applyStylesToKeyframe(),new Cb(this._driver,t,r||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=new Map,this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=mZ,this._loadKeyframe()}forwardTime(t){this.applyStylesToKeyframe(),this.duration=t,this._loadKeyframe()}_updateStyle(t,r){this._localTimelineStyles.set(t,r),this._globalTimelineStyles.set(t,r),this._styleSummary.set(t,{time:this.currentTime,value:r})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(t){t&&this._previousKeyframe.set("easing",t);for(let[r,n]of this._globalTimelineStyles)this._backFill.set(r,n||ir),this._currentKeyframe.set(r,ir);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(t,r,n,a){r&&this._previousKeyframe.set("easing",r);let i=a&&a.params||{},o=xZ(t,this._globalTimelineStyles);for(let[l,h]of o){let u=Mi(h,i,n);this._pendingStyles.set(l,u),this._localTimelineStyles.has(l)||this._backFill.set(l,this._globalTimelineStyles.get(l)??ir),this._updateStyle(l,u)}}applyStylesToKeyframe(){this._pendingStyles.size!=0&&(this._pendingStyles.forEach((t,r)=>{this._currentKeyframe.set(r,t)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((t,r)=>{this._currentKeyframe.has(r)||this._currentKeyframe.set(r,t)}))}snapshotCurrentStyles(){for(let[t,r]of this._localTimelineStyles)this._pendingStyles.set(t,r),this._updateStyle(t,r)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){let t=[];for(let r in this._currentKeyframe)t.push(r);return t}mergeTimelineCollectedStyles(t){t._styleSummary.forEach((r,n)=>{let a=this._styleSummary.get(n);(!a||r.time>a.time)&&this._updateStyle(n,r.value)})}buildKeyframes(){this.applyStylesToKeyframe();let t=new Set,r=new Set,n=this._keyframes.size===1&&this.duration===0,a=[];this._keyframes.forEach((l,h)=>{let u=new Map([...this._backFill,...l]);u.forEach((c,m)=>{c===Td?t.add(m):c===ir&&r.add(m)}),n||u.set("offset",h/this.duration),a.push(u)});let i=[...t.values()],o=[...r.values()];if(n){let l=a[0],h=new Map(l);l.set("offset",0),h.set("offset",1),a=[l,h]}return Fd(this.element,a,i,o,this.duration,this.startTime,this.easing,!1)}},wZ=class extends kb{constructor(t,r,n,a,i,o,l=!1){super(t,r,o.delay);s(this,"keyframes");s(this,"preStyleProps");s(this,"postStyleProps");s(this,"_stretchStartingKeyframe");s(this,"timings");this.keyframes=n,this.preStyleProps=a,this.postStyleProps=i,this._stretchStartingKeyframe=l,this.timings={duration:o.duration,delay:o.delay,easing:o.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let t=this.keyframes,{delay:r,duration:n,easing:a}=this.timings;if(this._stretchStartingKeyframe&&r){let i=[],o=n+r,l=r/o,h=new Map(t[0]);h.set("offset",0),i.push(h);let u=new Map(t[0]);u.set("offset",Kp(l)),i.push(u);let c=t.length-1;for(let m=1;m<=c;m++){let b=new Map(t[m]),g=b.get("offset"),w=r+g*n;b.set("offset",Kp(w/o)),i.push(b)}n=o,r=0,a="",t=i}return Fd(this.element,t,this.preStyleProps,this.postStyleProps,n,r,a,!0)}};function Kp(e,t=3){let r=Math.pow(10,t-1);return Math.round(e*r)/r}function xZ(e,t){let r=new Map,n;return e.forEach(a=>{if(a==="*"){n??(n=t.keys());for(let i of n)r.set(i,ir)}else for(let[i,o]of a)r.set(i,o)}),r}function Qp(e,t,r,n,a,i,o,l,h,u,c,m,b){return{type:0,element:e,triggerName:t,isRemovalTransition:a,fromState:r,fromStyles:i,toState:n,toStyles:o,timelines:l,queriedElements:h,preStyleProps:u,postStyleProps:c,totalTime:m,errors:b}}var Ql={},Ib=class{constructor(e,t,r){s(this,"_triggerName");s(this,"ast");s(this,"_stateStyles");this._triggerName=e,this.ast=t,this._stateStyles=r}match(e,t,r,n){return EZ(this.ast.matchers,e,t,r,n)}buildStyles(e,t,r){let n=this._stateStyles.get("*");return e!==void 0&&(n=this._stateStyles.get(e==null?void 0:e.toString())||n),n?n.buildStyles(t,r):new Map}build(e,t,r,n,a,i,o,l,h,u){var dt;let c=[],m=this.ast.options&&this.ast.options.params||Ql,b=o&&o.params||Ql,g=this.buildStyles(r,b,c),w=l&&l.params||Ql,x=this.buildStyles(n,w,c),S=new Set,N=new Map,L=new Map,A=n==="void",Y={params:Db(w,m),delay:(dt=this.ast.options)==null?void 0:dt.delay},ne=u?[]:Eb(e,t,this.ast.animation,a,i,g,x,Y,h,c),ue=0;return ne.forEach(et=>{ue=Math.max(et.duration+et.delay,ue)}),c.length?Qp(t,this._triggerName,r,n,A,g,x,[],[],N,L,ue,c):(ne.forEach(et=>{let ze=et.element,ot=Ut(N,ze,new Set);et.preStyleProps.forEach(z=>ot.add(z));let Z=Ut(L,ze,new Set);et.postStyleProps.forEach(z=>Z.add(z)),ze!==t&&S.add(ze)}),Qp(t,this._triggerName,r,n,A,g,x,ne,[...S.values()],N,L,ue))}};function EZ(e,t,r,n,a){return e.some(i=>i(t,r,n,a))}function Db(e,t){let r=ge({},t);return Object.entries(e).forEach(([n,a])=>{a!=null&&(r[n]=a)}),r}var SZ=class{constructor(e,t,r){s(this,"styles");s(this,"defaultParams");s(this,"normalizer");this.styles=e,this.defaultParams=t,this.normalizer=r}buildStyles(e,t){let r=new Map,n=Db(e,this.defaultParams);return this.styles.styles.forEach(a=>{typeof a!="string"&&a.forEach((i,o)=>{i&&(i=Mi(i,n,t));let l=this.normalizer.normalizePropertyName(o,t);i=this.normalizer.normalizeStyleValue(o,l,i,t),r.set(o,i)})}),r}};function kZ(e,t,r){return new CZ(e,t,r)}var CZ=class{constructor(e,t,r){s(this,"name");s(this,"ast");s(this,"_normalizer");s(this,"transitionFactories",[]);s(this,"fallbackTransition");s(this,"states",new Map);this.name=e,this.ast=t,this._normalizer=r,t.states.forEach(n=>{let a=n.options&&n.options.params||{};this.states.set(n.name,new SZ(n.style,a,r))}),Jp(this.states,"true","1"),Jp(this.states,"false","0"),t.transitions.forEach(n=>{this.transitionFactories.push(new Ib(e,n,this.states))}),this.fallbackTransition=IZ(e,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(e,t,r,n){return this.transitionFactories.find(a=>a.match(e,t,r,n))||null}matchStyles(e,t,r){return this.fallbackTransition.buildStyles(e,t,r)}};function IZ(e,t,r){let n=[(o,l)=>!0],a={type:_e.Sequence,steps:[],options:null},i={type:_e.Transition,animation:a,matchers:n,options:null,queryCount:0,depCount:0};return new Ib(e,i,t)}function Jp(e,t,r){e.has(t)?e.has(r)||e.set(r,e.get(t)):e.has(r)&&e.set(t,e.get(r))}var DZ=new jd,NZ=class{constructor(e,t,r){s(this,"bodyNode");s(this,"_driver");s(this,"_normalizer");s(this,"_animations",new Map);s(this,"_playersById",new Map);s(this,"players",[]);this.bodyNode=e,this._driver=t,this._normalizer=r}register(e,t){let r=[],n=[],a=xb(this._driver,t,r,n);if(r.length)throw OW();this._animations.set(e,a)}_buildPlayer(e,t,r){let n=e.element,a=mb(this._normalizer,e.keyframes,t,r);return this._driver.animate(n,a,e.duration,e.delay,e.easing,[],!0)}create(e,t,r={}){let n=[],a=this._animations.get(e),i,o=new Map;if(a?(i=Eb(this._driver,t,a,bb,tc,new Map,new Map,r,DZ,n),i.forEach(u=>{let c=Ut(o,u.element,new Map);u.postStyleProps.forEach(m=>c.set(m,null))})):(n.push(PW()),i=[]),n.length)throw AW();o.forEach((u,c)=>{u.forEach((m,b)=>{u.set(b,this._driver.computeStyle(c,b,ir))})});let l=i.map(u=>{let c=o.get(u.element);return this._buildPlayer(u,new Map,c)}),h=br(l);return this._playersById.set(e,h),h.onDestroy(()=>this.destroy(e)),this.players.push(h),h}destroy(e){let t=this._getPlayer(e);t.destroy(),this._playersById.delete(e);let r=this.players.indexOf(t);r>=0&&this.players.splice(r,1)}_getPlayer(e){let t=this._playersById.get(e);if(!t)throw LW();return t}listen(e,t,r,n){let a=Rd(t,"","","");return Md(this._getPlayer(e),r,a,n),()=>{}}command(e,t,r,n){if(r=="register"){this.register(e,n[0]);return}if(r=="create"){let i=n[0]||{};this.create(e,t,i);return}let a=this._getPlayer(e);switch(r){case"play":a.play();break;case"pause":a.pause();break;case"reset":a.reset();break;case"restart":a.restart();break;case"finish":a.finish();break;case"init":a.init();break;case"setPosition":a.setPosition(parseFloat(n[0]));break;case"destroy":this.destroy(e);break}}},Xp="ng-animate-queued",TZ=".ng-animate-queued",Jl="ng-animate-disabled",MZ=".ng-animate-disabled",RZ="ng-star-inserted",OZ=".ng-star-inserted",PZ=[],Nb={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},AZ={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},vn="__ng_removed",ic=class{constructor(e,t=""){s(this,"namespaceId");s(this,"value");s(this,"options");this.namespaceId=t;let r=e&&e.hasOwnProperty("value"),n=r?e.value:e;if(this.value=VZ(n),r){let a=e,{value:i}=a,o=dz(a,["value"]);this.options=o}else this.options={};this.options.params||(this.options.params={})}get params(){return this.options.params}absorbOptions(e){let t=e.params;if(t){let r=this.options.params;Object.keys(t).forEach(n=>{r[n]==null&&(r[n]=t[n])})}}},fi="void",Xl=new ic(fi),LZ=class{constructor(e,t,r){s(this,"id");s(this,"hostElement");s(this,"_engine");s(this,"players",[]);s(this,"_triggers",new Map);s(this,"_queue",[]);s(this,"_elementListeners",new Map);s(this,"_hostClassName");this.id=e,this.hostElement=t,this._engine=r,this._hostClassName="ng-tns-"+e,an(t,this._hostClassName)}listen(e,t,r,n){if(!this._triggers.has(t))throw FW();if(r==null||r.length==0)throw jW();if(!BZ(r))throw VW();let a=Ut(this._elementListeners,e,[]),i={name:t,phase:r,callback:n};a.push(i);let o=Ut(this._engine.statesByElement,e,new Map);return o.has(t)||(an(e,Mo),an(e,Mo+"-"+t),o.set(t,Xl)),()=>{this._engine.afterFlush(()=>{let l=a.indexOf(i);l>=0&&a.splice(l,1),this._triggers.has(t)||o.delete(t)})}}register(e,t){return this._triggers.has(e)?!1:(this._triggers.set(e,t),!0)}_getTrigger(e){let t=this._triggers.get(e);if(!t)throw BW();return t}trigger(e,t,r,n=!0){let a=this._getTrigger(t),i=new oc(this.id,t,e),o=this._engine.statesByElement.get(e);o||(an(e,Mo),an(e,Mo+"-"+t),this._engine.statesByElement.set(e,o=new Map));let l=o.get(t),h=new ic(r,this.id);if(!(r&&r.hasOwnProperty("value"))&&l&&h.absorbOptions(l.options),o.set(t,h),l||(l=Xl),h.value!==fi&&l.value===h.value){if(!qZ(l.params,h.params)){let b=[],g=a.matchStyles(l.value,l.params,b),w=a.matchStyles(h.value,h.params,b);b.length?this._engine.reportError(b):this._engine.afterFlush(()=>{Gr(e,g),Mn(e,w)})}return}let u=Ut(this._engine.playersByElement,e,[]);u.forEach(b=>{b.namespaceId==this.id&&b.triggerName==t&&b.queued&&b.destroy()});let c=a.matchTransition(l.value,h.value,e,h.params),m=!1;if(!c){if(!n)return;c=a.fallbackTransition,m=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:t,transition:c,fromState:l,toState:h,player:i,isFallbackTransition:m}),m||(an(e,Xp),i.onStart(()=>{ca(e,Xp)})),i.onDone(()=>{let b=this.players.indexOf(i);b>=0&&this.players.splice(b,1);let g=this._engine.playersByElement.get(e);if(g){let w=g.indexOf(i);w>=0&&g.splice(w,1)}}),this.players.push(i),u.push(i),i}deregister(e){this._triggers.delete(e),this._engine.statesByElement.forEach(t=>t.delete(e)),this._elementListeners.forEach((t,r)=>{this._elementListeners.set(r,t.filter(n=>n.name!=e))})}clearElementCache(e){this._engine.statesByElement.delete(e),this._elementListeners.delete(e);let t=this._engine.playersByElement.get(e);t&&(t.forEach(r=>r.destroy()),this._engine.playersByElement.delete(e))}_signalRemovalForInnerTriggers(e,t){let r=this._engine.driver.query(e,Is,!0);r.forEach(n=>{if(n[vn])return;let a=this._engine.fetchNamespacesByElement(n);a.size?a.forEach(i=>i.triggerLeaveAnimation(n,t,!1,!0)):this.clearElementCache(n)}),this._engine.afterFlushAnimationsDone(()=>r.forEach(n=>this.clearElementCache(n)))}triggerLeaveAnimation(e,t,r,n){let a=this._engine.statesByElement.get(e),i=new Map;if(a){let o=[];if(a.forEach((l,h)=>{if(i.set(h,l.value),this._triggers.has(h)){let u=this.trigger(e,h,fi,n);u&&o.push(u)}}),o.length)return this._engine.markElementAsRemoved(this.id,e,!0,t,i),r&&br(o).onDone(()=>this._engine.processLeaveNode(e)),!0}return!1}prepareLeaveAnimationListeners(e){let t=this._elementListeners.get(e),r=this._engine.statesByElement.get(e);if(t&&r){let n=new Set;t.forEach(a=>{let i=a.name;if(n.has(i))return;n.add(i);let o=this._triggers.get(i).fallbackTransition,l=r.get(i)||Xl,h=new ic(fi),u=new oc(this.id,i,e);this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:i,transition:o,fromState:l,toState:h,player:u,isFallbackTransition:!0})})}}removeNode(e,t){let r=this._engine;if(e.childElementCount&&this._signalRemovalForInnerTriggers(e,t),this.triggerLeaveAnimation(e,t,!0))return;let n=!1;if(r.totalAnimations){let a=r.players.length?r.playersByQueriedElement.get(e):[];if(a&&a.length)n=!0;else{let i=e;for(;i=i.parentNode;)if(r.statesByElement.get(i)){n=!0;break}}}if(this.prepareLeaveAnimationListeners(e),n)r.markElementAsRemoved(this.id,e,!1,t);else{let a=e[vn];(!a||a===Nb)&&(r.afterFlush(()=>this.clearElementCache(e)),r.destroyInnerAnimations(e),r._onRemovalComplete(e,t))}}insertNode(e,t){an(e,this._hostClassName)}drainQueuedTransitions(e){let t=[];return this._queue.forEach(r=>{let n=r.player;if(n.destroyed)return;let a=r.element,i=this._elementListeners.get(a);i&&i.forEach(o=>{if(o.name==r.triggerName){let l=Rd(a,r.triggerName,r.fromState.value,r.toState.value);l._data=e,Md(r.player,o.phase,l,o.callback)}}),n.markedForDestroy?this._engine.afterFlush(()=>{n.destroy()}):t.push(r)}),this._queue=[],t.sort((r,n)=>{let a=r.transition.ast.depCount,i=n.transition.ast.depCount;return a==0||i==0?a-i:this._engine.driver.containsElement(r.element,n.element)?1:-1})}destroy(e){this.players.forEach(t=>t.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,e)}},FZ=class{constructor(e,t,r){s(this,"bodyNode");s(this,"driver");s(this,"_normalizer");s(this,"players",[]);s(this,"newHostElements",new Map);s(this,"playersByElement",new Map);s(this,"playersByQueriedElement",new Map);s(this,"statesByElement",new Map);s(this,"disabledNodes",new Set);s(this,"totalAnimations",0);s(this,"totalQueuedPlayers",0);s(this,"_namespaceLookup",{});s(this,"_namespaceList",[]);s(this,"_flushFns",[]);s(this,"_whenQuietFns",[]);s(this,"namespacesByHostElement",new Map);s(this,"collectedEnterElements",[]);s(this,"collectedLeaveElements",[]);s(this,"onRemovalComplete",(e,t)=>{});this.bodyNode=e,this.driver=t,this._normalizer=r}_onRemovalComplete(e,t){this.onRemovalComplete(e,t)}get queuedPlayers(){let e=[];return this._namespaceList.forEach(t=>{t.players.forEach(r=>{r.queued&&e.push(r)})}),e}createNamespace(e,t){let r=new LZ(e,t,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,t)?this._balanceNamespaceList(r,t):(this.newHostElements.set(t,r),this.collectEnterElement(t)),this._namespaceLookup[e]=r}_balanceNamespaceList(e,t){let r=this._namespaceList,n=this.namespacesByHostElement;if(r.length-1>=0){let a=!1,i=this.driver.getParentElement(t);for(;i;){let o=n.get(i);if(o){let l=r.indexOf(o);r.splice(l+1,0,e),a=!0;break}i=this.driver.getParentElement(i)}a||r.unshift(e)}else r.push(e);return n.set(t,e),e}register(e,t){let r=this._namespaceLookup[e];return r||(r=this.createNamespace(e,t)),r}registerTrigger(e,t,r){let n=this._namespaceLookup[e];n&&n.register(t,r)&&this.totalAnimations++}destroy(e,t){e&&(this.afterFlush(()=>{}),this.afterFlushAnimationsDone(()=>{let r=this._fetchNamespace(e);this.namespacesByHostElement.delete(r.hostElement);let n=this._namespaceList.indexOf(r);n>=0&&this._namespaceList.splice(n,1),r.destroy(t),delete this._namespaceLookup[e]}))}_fetchNamespace(e){return this._namespaceLookup[e]}fetchNamespacesByElement(e){let t=new Set,r=this.statesByElement.get(e);if(r){for(let n of r.values())if(n.namespaceId){let a=this._fetchNamespace(n.namespaceId);a&&t.add(a)}}return t}trigger(e,t,r,n){if(Po(t)){let a=this._fetchNamespace(e);if(a)return a.trigger(t,r,n),!0}return!1}insertNode(e,t,r,n){if(!Po(t))return;let a=t[vn];if(a&&a.setForRemoval){a.setForRemoval=!1,a.setForMove=!0;let i=this.collectedLeaveElements.indexOf(t);i>=0&&this.collectedLeaveElements.splice(i,1)}if(e){let i=this._fetchNamespace(e);i&&i.insertNode(t,r)}n&&this.collectEnterElement(t)}collectEnterElement(e){this.collectedEnterElements.push(e)}markElementAsDisabled(e,t){t?this.disabledNodes.has(e)||(this.disabledNodes.add(e),an(e,Jl)):this.disabledNodes.has(e)&&(this.disabledNodes.delete(e),ca(e,Jl))}removeNode(e,t,r){if(Po(t)){let n=e?this._fetchNamespace(e):null;n?n.removeNode(t,r):this.markElementAsRemoved(e,t,!1,r);let a=this.namespacesByHostElement.get(t);a&&a.id!==e&&a.removeNode(t,r)}else this._onRemovalComplete(t,r)}markElementAsRemoved(e,t,r,n,a){this.collectedLeaveElements.push(t),t[vn]={namespaceId:e,setForRemoval:n,hasAnimation:r,removedBeforeQueried:!1,previousTriggersValues:a}}listen(e,t,r,n,a){return Po(t)?this._fetchNamespace(e).listen(t,r,n,a):()=>{}}_buildInstruction(e,t,r,n,a){return e.transition.build(this.driver,e.element,e.fromState.value,e.toState.value,r,n,e.fromState.options,e.toState.options,t,a)}destroyInnerAnimations(e){let t=this.driver.query(e,Is,!0);t.forEach(r=>this.destroyActiveAnimationsForElement(r)),this.playersByQueriedElement.size!=0&&(t=this.driver.query(e,nc,!0),t.forEach(r=>this.finishActiveQueriedAnimationOnElement(r)))}destroyActiveAnimationsForElement(e){let t=this.playersByElement.get(e);t&&t.forEach(r=>{r.queued?r.markedForDestroy=!0:r.destroy()})}finishActiveQueriedAnimationOnElement(e){let t=this.playersByQueriedElement.get(e);t&&t.forEach(r=>r.finish())}whenRenderingDone(){return new Promise(e=>{if(this.players.length)return br(this.players).onDone(()=>e());e()})}processLeaveNode(e){var r;let t=e[vn];if(t&&t.setForRemoval){if(e[vn]=Nb,t.namespaceId){this.destroyInnerAnimations(e);let n=this._fetchNamespace(t.namespaceId);n&&n.clearElementCache(e)}this._onRemovalComplete(e,t.setForRemoval)}(r=e.classList)!=null&&r.contains(Jl)&&this.markElementAsDisabled(e,!1),this.driver.query(e,MZ,!0).forEach(n=>{this.markElementAsDisabled(n,!1)})}flush(e=-1){let t=[];if(this.newHostElements.size&&(this.newHostElements.forEach((r,n)=>this._balanceNamespaceList(r,n)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let r=0;r<this.collectedEnterElements.length;r++){let n=this.collectedEnterElements[r];an(n,RZ)}if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){let r=[];try{t=this._flushAnimations(r,e)}finally{for(let n=0;n<r.length;n++)r[n]()}}else for(let r=0;r<this.collectedLeaveElements.length;r++){let n=this.collectedLeaveElements[r];this.processLeaveNode(n)}if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(r=>r()),this._flushFns=[],this._whenQuietFns.length){let r=this._whenQuietFns;this._whenQuietFns=[],t.length?br(t).onDone(()=>{r.forEach(n=>n())}):r.forEach(n=>n())}}reportError(e){throw zW()}_flushAnimations(e,t){let r=new jd,n=[],a=new Map,i=[],o=new Map,l=new Map,h=new Map,u=new Set;this.disabledNodes.forEach(P=>{u.add(P);let j=this.driver.query(P,TZ,!0);for(let G=0;G<j.length;G++)u.add(j[G])});let c=this.bodyNode,m=Array.from(this.statesByElement.keys()),b=nm(m,this.collectedEnterElements),g=new Map,w=0;b.forEach((P,j)=>{let G=bb+w++;g.set(j,G),P.forEach(ve=>an(ve,G))});let x=[],S=new Set,N=new Set;for(let P=0;P<this.collectedLeaveElements.length;P++){let j=this.collectedLeaveElements[P],G=j[vn];G&&G.setForRemoval&&(x.push(j),S.add(j),G.hasAnimation?this.driver.query(j,OZ,!0).forEach(ve=>S.add(ve)):N.add(j))}let L=new Map,A=nm(m,Array.from(S));A.forEach((P,j)=>{let G=tc+w++;L.set(j,G),P.forEach(ve=>an(ve,G))}),e.push(()=>{b.forEach((P,j)=>{let G=g.get(j);P.forEach(ve=>ca(ve,G))}),A.forEach((P,j)=>{let G=L.get(j);P.forEach(ve=>ca(ve,G))}),x.forEach(P=>{this.processLeaveNode(P)})});let Y=[],ne=[];for(let P=this._namespaceList.length-1;P>=0;P--)this._namespaceList[P].drainQueuedTransitions(t).forEach(j=>{let G=j.player,ve=j.element;if(Y.push(G),this.collectedEnterElements.length){let He=ve[vn];if(He&&He.setForMove){if(He.previousTriggersValues&&He.previousTriggersValues.has(j.triggerName)){let Dt=He.previousTriggersValues.get(j.triggerName),ht=this.statesByElement.get(j.element);if(ht&&ht.has(j.triggerName)){let Cn=ht.get(j.triggerName);Cn.value=Dt,ht.set(j.triggerName,Cn)}}G.destroy();return}}let Ve=!c||!this.driver.containsElement(c,ve),It=L.get(ve),Ee=g.get(ve),De=this._buildInstruction(j,r,Ee,It,Ve);if(De.errors&&De.errors.length){ne.push(De);return}if(Ve){G.onStart(()=>Gr(ve,De.fromStyles)),G.onDestroy(()=>Mn(ve,De.toStyles)),n.push(G);return}if(j.isFallbackTransition){G.onStart(()=>Gr(ve,De.fromStyles)),G.onDestroy(()=>Mn(ve,De.toStyles)),n.push(G);return}let Ze=[];De.timelines.forEach(He=>{He.stretchStartingKeyframe=!0,this.disabledNodes.has(He.element)||Ze.push(He)}),De.timelines=Ze,r.append(ve,De.timelines);let pn={instruction:De,player:G,element:ve};i.push(pn),De.queriedElements.forEach(He=>Ut(o,He,[]).push(G)),De.preStyleProps.forEach((He,Dt)=>{if(He.size){let ht=l.get(Dt);ht||l.set(Dt,ht=new Set),He.forEach((Cn,pr)=>ht.add(pr))}}),De.postStyleProps.forEach((He,Dt)=>{let ht=h.get(Dt);ht||h.set(Dt,ht=new Set),He.forEach((Cn,pr)=>ht.add(pr))})});if(ne.length){let P=[];ne.forEach(j=>{P.push(HW(j.triggerName,j.errors))}),Y.forEach(j=>j.destroy()),this.reportError(P)}let ue=new Map,dt=new Map;i.forEach(P=>{let j=P.element;r.has(j)&&(dt.set(j,j),this._beforeAnimationBuild(P.player.namespaceId,P.instruction,ue))}),n.forEach(P=>{let j=P.element;this._getPreviousPlayers(j,!1,P.namespaceId,P.triggerName,null).forEach(G=>{Ut(ue,j,[]).push(G),G.destroy()})});let et=x.filter(P=>rm(P,l,h)),ze=new Map;tm(ze,this.driver,N,h,ir).forEach(P=>{rm(P,l,h)&&et.push(P)});let ot=new Map;b.forEach((P,j)=>{tm(ot,this.driver,new Set(P),l,Td)}),et.forEach(P=>{let j=ze.get(P),G=ot.get(P);ze.set(P,new Map([...(j==null?void 0:j.entries())??[],...(G==null?void 0:G.entries())??[]]))});let Z=[],z=[],de={};i.forEach(P=>{let{element:j,player:G,instruction:ve}=P;if(r.has(j)){if(u.has(j)){G.onDestroy(()=>Mn(j,ve.toStyles)),G.disabled=!0,G.overrideTotalTime(ve.totalTime),n.push(G);return}let Ve=de;if(dt.size>1){let Ee=j,De=[];for(;Ee=Ee.parentNode;){let Ze=dt.get(Ee);if(Ze){Ve=Ze;break}De.push(Ee)}De.forEach(Ze=>dt.set(Ze,Ve))}let It=this._buildAnimation(G.namespaceId,ve,ue,a,ot,ze);if(G.setRealPlayer(It),Ve===de)Z.push(G);else{let Ee=this.playersByElement.get(Ve);Ee&&Ee.length&&(G.parentPlayer=br(Ee)),n.push(G)}}else Gr(j,ve.fromStyles),G.onDestroy(()=>Mn(j,ve.toStyles)),z.push(G),u.has(j)&&n.push(G)}),z.forEach(P=>{let j=a.get(P.element);if(j&&j.length){let G=br(j);P.setRealPlayer(G)}}),n.forEach(P=>{P.parentPlayer?P.syncPlayerEvents(P.parentPlayer):P.destroy()});for(let P=0;P<x.length;P++){let j=x[P],G=j[vn];if(ca(j,tc),G&&G.hasAnimation)continue;let ve=[];if(o.size){let It=o.get(j);It&&It.length&&ve.push(...It);let Ee=this.driver.query(j,nc,!0);for(let De=0;De<Ee.length;De++){let Ze=o.get(Ee[De]);Ze&&Ze.length&&ve.push(...Ze)}}let Ve=ve.filter(It=>!It.destroyed);Ve.length?zZ(this,j,Ve):this.processLeaveNode(j)}return x.length=0,Z.forEach(P=>{this.players.push(P),P.onDone(()=>{P.destroy();let j=this.players.indexOf(P);this.players.splice(j,1)}),P.play()}),Z}afterFlush(e){this._flushFns.push(e)}afterFlushAnimationsDone(e){this._whenQuietFns.push(e)}_getPreviousPlayers(e,t,r,n,a){let i=[];if(t){let o=this.playersByQueriedElement.get(e);o&&(i=o)}else{let o=this.playersByElement.get(e);if(o){let l=!a||a==fi;o.forEach(h=>{h.queued||!l&&h.triggerName!=n||i.push(h)})}}return(r||n)&&(i=i.filter(o=>!(r&&r!=o.namespaceId||n&&n!=o.triggerName))),i}_beforeAnimationBuild(e,t,r){let n=t.triggerName,a=t.element,i=t.isRemovalTransition?void 0:e,o=t.isRemovalTransition?void 0:n;for(let l of t.timelines){let h=l.element,u=h!==a,c=Ut(r,h,[]);this._getPreviousPlayers(h,u,i,o,t.toState).forEach(m=>{let b=m.getRealPlayer();b.beforeDestroy&&b.beforeDestroy(),m.destroy(),c.push(m)})}Gr(a,t.fromStyles)}_buildAnimation(e,t,r,n,a,i){let o=t.triggerName,l=t.element,h=[],u=new Set,c=new Set,m=t.timelines.map(g=>{let w=g.element;u.add(w);let x=w[vn];if(x&&x.removedBeforeQueried)return new Ti(g.duration,g.delay);let S=w!==l,N=HZ((r.get(w)||PZ).map(ue=>ue.getRealPlayer())).filter(ue=>{let dt=ue;return dt.element?dt.element===w:!1}),L=a.get(w),A=i.get(w),Y=mb(this._normalizer,g.keyframes,L,A),ne=this._buildPlayer(g,Y,N);if(g.subTimeline&&n&&c.add(w),S){let ue=new oc(e,o,w);ue.setRealPlayer(ne),h.push(ue)}return ne});h.forEach(g=>{Ut(this.playersByQueriedElement,g.element,[]).push(g),g.onDone(()=>jZ(this.playersByQueriedElement,g.element,g))}),u.forEach(g=>an(g,Wp));let b=br(m);return b.onDestroy(()=>{u.forEach(g=>ca(g,Wp)),Mn(l,t.toStyles)}),c.forEach(g=>{Ut(n,g,[]).push(b)}),b}_buildPlayer(e,t,r){return t.length>0?this.driver.animate(e.element,t,e.duration,e.delay,e.easing,r):new Ti(e.duration,e.delay)}},oc=class{constructor(e,t,r){s(this,"namespaceId");s(this,"triggerName");s(this,"element");s(this,"_player",new Ti);s(this,"_containsRealPlayer",!1);s(this,"_queuedCallbacks",new Map);s(this,"destroyed",!1);s(this,"parentPlayer",null);s(this,"markedForDestroy",!1);s(this,"disabled",!1);s(this,"queued",!0);s(this,"totalTime",0);this.namespaceId=e,this.triggerName=t,this.element=r}setRealPlayer(e){this._containsRealPlayer||(this._player=e,this._queuedCallbacks.forEach((t,r)=>{t.forEach(n=>Md(e,r,void 0,n))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(e.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(e){this.totalTime=e}syncPlayerEvents(e){let t=this._player;t.triggerCallback&&e.onStart(()=>t.triggerCallback("start")),e.onDone(()=>this.finish()),e.onDestroy(()=>this.destroy())}_queueEvent(e,t){Ut(this._queuedCallbacks,e,[]).push(t)}onDone(e){this.queued&&this._queueEvent("done",e),this._player.onDone(e)}onStart(e){this.queued&&this._queueEvent("start",e),this._player.onStart(e)}onDestroy(e){this.queued&&this._queueEvent("destroy",e),this._player.onDestroy(e)}init(){this._player.init()}hasStarted(){return this.queued?!1:this._player.hasStarted()}play(){!this.queued&&this._player.play()}pause(){!this.queued&&this._player.pause()}restart(){!this.queued&&this._player.restart()}finish(){this._player.finish()}destroy(){this.destroyed=!0,this._player.destroy()}reset(){!this.queued&&this._player.reset()}setPosition(e){this.queued||this._player.setPosition(e)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(e){let t=this._player;t.triggerCallback&&t.triggerCallback(e)}};function jZ(e,t,r){let n=e.get(t);if(n){if(n.length){let a=n.indexOf(r);n.splice(a,1)}n.length==0&&e.delete(t)}return n}function VZ(e){return e??null}function Po(e){return e&&e.nodeType===1}function BZ(e){return e=="start"||e=="done"}function em(e,t){let r=e.style.display;return e.style.display=t??"none",r}function tm(e,t,r,n,a){let i=[];r.forEach(h=>i.push(em(h)));let o=[];n.forEach((h,u)=>{let c=new Map;h.forEach(m=>{let b=t.computeStyle(u,m,a);c.set(m,b),(!b||b.length==0)&&(u[vn]=AZ,o.push(u))}),e.set(u,c)});let l=0;return r.forEach(h=>em(h,i[l++])),o}function nm(e,t){let r=new Map;if(e.forEach(l=>r.set(l,[])),t.length==0)return r;let n=1,a=new Set(t),i=new Map;function o(l){if(!l)return n;let h=i.get(l);if(h)return h;let u=l.parentNode;return r.has(u)?h=u:a.has(u)?h=n:h=o(u),i.set(l,h),h}return t.forEach(l=>{let h=o(l);h!==n&&r.get(h).push(l)}),r}function an(e,t){var r;(r=e.classList)==null||r.add(t)}function ca(e,t){var r;(r=e.classList)==null||r.remove(t)}function zZ(e,t,r){br(r).onDone(()=>e.processLeaveNode(t))}function HZ(e){let t=[];return Tb(e,t),t}function Tb(e,t){for(let r=0;r<e.length;r++){let n=e[r];n instanceof pb?Tb(n.players,t):t.push(n)}}function qZ(e,t){let r=Object.keys(e),n=Object.keys(t);if(r.length!=n.length)return!1;for(let a=0;a<r.length;a++){let i=r[a];if(!t.hasOwnProperty(i)||e[i]!==t[i])return!1}return!0}function rm(e,t,r){let n=r.get(e);if(!n)return!1;let a=t.get(e);return a?n.forEach(i=>a.add(i)):t.set(e,n),r.delete(e),!0}var sc=class{constructor(e,t,r){s(this,"_driver");s(this,"_normalizer");s(this,"_transitionEngine");s(this,"_timelineEngine");s(this,"_triggerCache",{});s(this,"onRemovalComplete",(e,t)=>{});this._driver=t,this._normalizer=r,this._transitionEngine=new FZ(e.body,t,r),this._timelineEngine=new NZ(e.body,t,r),this._transitionEngine.onRemovalComplete=(n,a)=>this.onRemovalComplete(n,a)}registerTrigger(e,t,r,n,a){let i=e+"-"+n,o=this._triggerCache[i];if(!o){let l=[],h=[],u=xb(this._driver,a,l,h);if(l.length)throw MW();o=kZ(n,u,this._normalizer),this._triggerCache[i]=o}this._transitionEngine.registerTrigger(t,n,o)}register(e,t){this._transitionEngine.register(e,t)}destroy(e,t){this._transitionEngine.destroy(e,t)}onInsert(e,t,r,n){this._transitionEngine.insertNode(e,t,r,n)}onRemove(e,t,r){this._transitionEngine.removeNode(e,t,r)}disableAnimations(e,t){this._transitionEngine.markElementAsDisabled(e,t)}process(e,t,r,n){if(r.charAt(0)=="@"){let[a,i]=$p(r),o=n;this._timelineEngine.command(a,t,i,o)}else this._transitionEngine.trigger(e,t,r,n)}listen(e,t,r,n,a){if(r.charAt(0)=="@"){let[i,o]=$p(r);return this._timelineEngine.listen(i,t,o,a)}return this._transitionEngine.listen(e,t,r,n,a)}flush(e=-1){this._transitionEngine.flush(e)}get players(){return[...this._transitionEngine.players,...this._timelineEngine.players]}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}afterFlushAnimationsDone(e){this._transitionEngine.afterFlushAnimationsDone(e)}};function GZ(e,t){let r=null,n=null;return Array.isArray(t)&&t.length?(r=eu(t[0]),t.length>1&&(n=eu(t[t.length-1]))):t instanceof Map&&(r=eu(t)),r||n?new $Z(e,r,n):null}var $Z=(()=>{const t=class t{constructor(n,a,i){s(this,"_element");s(this,"_startStyles");s(this,"_endStyles");s(this,"_state",0);s(this,"_initialStyles");this._element=n,this._startStyles=a,this._endStyles=i;let o=t.initialStylesByElement.get(n);o||t.initialStylesByElement.set(n,o=new Map),this._initialStyles=o}start(){this._state<1&&(this._startStyles&&Mn(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(Mn(this._element,this._initialStyles),this._endStyles&&(Mn(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(t.initialStylesByElement.delete(this._element),this._startStyles&&(Gr(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(Gr(this._element,this._endStyles),this._endStyles=null),Mn(this._element,this._initialStyles),this._state=3)}};s(t,"initialStylesByElement",new WeakMap);let e=t;return e})();function eu(e){let t=null;return e.forEach((r,n)=>{UZ(n)&&(t=t||new Map,t.set(n,r))}),t}function UZ(e){return e==="display"||e==="position"}var am=class{constructor(e,t,r,n){s(this,"element");s(this,"keyframes");s(this,"options");s(this,"_specialStyles");s(this,"_onDoneFns",[]);s(this,"_onStartFns",[]);s(this,"_onDestroyFns",[]);s(this,"_duration");s(this,"_delay");s(this,"_initialized",!1);s(this,"_finished",!1);s(this,"_started",!1);s(this,"_destroyed",!1);s(this,"_finalKeyframe");s(this,"_originalOnDoneFns",[]);s(this,"_originalOnStartFns",[]);s(this,"domPlayer");s(this,"time",0);s(this,"parentPlayer",null);s(this,"currentSnapshot",new Map);this.element=e,this.keyframes=t,this.options=r,this._specialStyles=n,this._duration=r.duration,this._delay=r.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;let e=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,e,this.options),this._finalKeyframe=e.length?e[e.length-1]:new Map;let t=()=>this._onFinish();this.domPlayer.addEventListener("finish",t),this.onDestroy(()=>{this.domPlayer.removeEventListener("finish",t)})}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(e){let t=[];return e.forEach(r=>{t.push(Object.fromEntries(r))}),t}_triggerWebAnimation(e,t,r){return e.animate(this._convertKeyframesToObject(t),r)}onStart(e){this._originalOnStartFns.push(e),this._onStartFns.push(e)}onDone(e){this._originalOnDoneFns.push(e),this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(e=>e()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}pause(){this.init(),this.domPlayer.pause()}finish(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}reset(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}_resetDomPlayerState(){this.domPlayer&&this.domPlayer.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}setPosition(e){this.domPlayer===void 0&&this.init(),this.domPlayer.currentTime=e*this.time}getPosition(){return+(this.domPlayer.currentTime??0)/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){let e=new Map;this.hasStarted()&&this._finalKeyframe.forEach((t,r)=>{r!=="offset"&&e.set(r,this._finished?t:Ad(this.element,r))}),this.currentSnapshot=e}triggerCallback(e){let t=e==="start"?this._onStartFns:this._onDoneFns;t.forEach(r=>r()),t.length=0}},WZ=class{validateStyleProperty(e){return!0}validateAnimatableStyleProperty(e){return!0}containsElement(e,t){return fb(e,t)}getParentElement(e){return Od(e)}query(e,t,r){return gb(e,t,r)}computeStyle(e,t,r){return Ad(e,t)}animate(e,t,r,n,a,i=[]){let o=n==0?"both":"forwards",l={duration:r,delay:n,fill:o};a&&(l.easing=a);let h=new Map,u=i.filter(b=>b instanceof am);XW(r,n)&&u.forEach(b=>{b.currentSnapshot.forEach((g,w)=>h.set(w,g))});let c=KW(t).map(b=>new Map(b));c=eZ(e,c,h);let m=GZ(e,c);return new am(e,c,l,m)}},es="@",Mb="@.disabled",Rb=class{constructor(e,t,r,n){s(this,"namespaceId");s(this,"delegate");s(this,"engine");s(this,"_onDestroy");s(this,"ɵtype",0);this.namespaceId=e,this.delegate=t,this.engine=r,this._onDestroy=n}get data(){return this.delegate.data}destroyNode(e){var t,r;(r=(t=this.delegate).destroyNode)==null||r.call(t,e)}destroy(){var e;this.engine.destroy(this.namespaceId,this.delegate),this.engine.afterFlushAnimationsDone(()=>{queueMicrotask(()=>{this.delegate.destroy()})}),(e=this._onDestroy)==null||e.call(this)}createElement(e,t){return this.delegate.createElement(e,t)}createComment(e){return this.delegate.createComment(e)}createText(e){return this.delegate.createText(e)}appendChild(e,t){this.delegate.appendChild(e,t),this.engine.onInsert(this.namespaceId,t,e,!1)}insertBefore(e,t,r,n=!0){this.delegate.insertBefore(e,t,r),this.engine.onInsert(this.namespaceId,t,e,n)}removeChild(e,t,r){this.parentNode(t)&&this.engine.onRemove(this.namespaceId,t,this.delegate)}selectRootElement(e,t){return this.delegate.selectRootElement(e,t)}parentNode(e){return this.delegate.parentNode(e)}nextSibling(e){return this.delegate.nextSibling(e)}setAttribute(e,t,r,n){this.delegate.setAttribute(e,t,r,n)}removeAttribute(e,t,r){this.delegate.removeAttribute(e,t,r)}addClass(e,t){this.delegate.addClass(e,t)}removeClass(e,t){this.delegate.removeClass(e,t)}setStyle(e,t,r,n){this.delegate.setStyle(e,t,r,n)}removeStyle(e,t,r){this.delegate.removeStyle(e,t,r)}setProperty(e,t,r){t.charAt(0)==es&&t==Mb?this.disableAnimations(e,!!r):this.delegate.setProperty(e,t,r)}setValue(e,t){this.delegate.setValue(e,t)}listen(e,t,r,n){return this.delegate.listen(e,t,r,n)}disableAnimations(e,t){this.engine.disableAnimations(e,t)}},ZZ=class extends Rb{constructor(t,r,n,a,i){super(r,n,a,i);s(this,"factory");this.factory=t,this.namespaceId=r}setProperty(t,r,n){r.charAt(0)==es?r.charAt(1)=="."&&r==Mb?(n=n===void 0?!0:!!n,this.disableAnimations(t,n)):this.engine.process(this.namespaceId,t,r.slice(1),n):this.delegate.setProperty(t,r,n)}listen(t,r,n,a){if(r.charAt(0)==es){let i=YZ(t),o=r.slice(1),l="";return o.charAt(0)!=es&&([o,l]=KZ(o)),this.engine.listen(this.namespaceId,i,o,l,h=>{let u=h._data||-1;this.factory.scheduleListenerCallback(u,n,h)})}return this.delegate.listen(t,r,n,a)}};function YZ(e){switch(e){case"body":return document.body;case"document":return document;case"window":return window;default:return e}}function KZ(e){let t=e.indexOf("."),r=e.substring(0,t),n=e.slice(t+1);return[r,n]}var QZ=class{constructor(e,t,r){s(this,"delegate");s(this,"engine");s(this,"_zone");s(this,"_currentId",0);s(this,"_microtaskId",1);s(this,"_animationCallbacksBuffer",[]);s(this,"_rendererCache",new Map);s(this,"_cdRecurDepth",0);this.delegate=e,this.engine=t,this._zone=r,t.onRemovalComplete=(n,a)=>{a==null||a.removeChild(null,n)}}createRenderer(e,t){var l;let r="",n=this.delegate.createRenderer(e,t);if(!e||!((l=t==null?void 0:t.data)!=null&&l.animation)){let h=this._rendererCache,u=h.get(n);if(!u){let c=()=>h.delete(n);u=new Rb(r,n,this.engine,c),h.set(n,u)}return u}let a=t.id,i=t.id+"-"+this._currentId;this._currentId++,this.engine.register(i,e);let o=h=>{Array.isArray(h)?h.forEach(o):this.engine.registerTrigger(a,i,e,h.name,h)};return t.data.animation.forEach(o),new ZZ(this,i,n,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask(()=>{this._microtaskId++})}scheduleListenerCallback(e,t,r){if(e>=0&&e<this._microtaskId){this._zone.run(()=>t(r));return}let n=this._animationCallbacksBuffer;n.length==0&&queueMicrotask(()=>{this._zone.run(()=>{n.forEach(a=>{let[i,o]=a;i(o)}),this._animationCallbacksBuffer=[]})}),n.push([t,r])}end(){this._cdRecurDepth--,this._cdRecurDepth==0&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}componentReplaced(e){var t,r;this.engine.flush(),(r=(t=this.delegate).componentReplaced)==null||r.call(t,e)}},JZ=(()=>{const t=class t extends sc{constructor(n,a,i){super(n,a,i)}ngOnDestroy(){this.flush()}};s(t,"ɵfac",function(n){return new(n||t)(ee(Le),ee(_b),ee(Ld))}),s(t,"ɵprov",U({token:t,factory:t.ɵfac}));let e=t;return e})();function XZ(){return new rZ}function eY(e,t,r){return new QZ(e,t,r)}var tY=[{provide:Ld,useFactory:XZ},{provide:sc,useClass:JZ},{provide:Sn,useFactory:eY,deps:[Uu,sc,je]}],nY=[{provide:_b,useFactory:()=>new WZ},{provide:Yi,useFactory:()=>"BrowserAnimations"},...tY];function rY(){return ta("NgEagerAnimations"),[...nY]}var aY=(()=>{const t=class t extends hb{constructor(n){super(),this.translate=n,this.getRangeLabel=(a,i,o)=>{if(o===0||i===0)return`0 / ${o}`;o=Math.max(o,0);let l=a*i,h=l<o?Math.min(l+i,o):l+i;return`${l+1} - ${h} / ${o}`},this.getAndInitTranslations=()=>{this.nextPageLabel=this.translate.instant("commons.matPaginator.nextPage"),this.previousPageLabel=this.translate.instant("commons.matPaginator.prevPage"),this.firstPageLabel=this.translate.instant("commons.matPaginator.firstPage"),this.lastPageLabel=this.translate.instant("commons.matPaginator.lastPage"),this.itemsPerPageLabel=this.translate.instant("commons.matPaginator.itemsPerPage"),this.getRangeLabel=this.getRangeLabel.bind(this),this.changes.next()},this.translate.onLangChange.subscribe(()=>{this.getAndInitTranslations()}),this.getAndInitTranslations()}};t.ɵfac=function(n){return new(n||t)(ee(Hn))},t.ɵprov=U({token:t,factory:t.ɵfac});let e=t;return e})(),Ob=6048e5,iY=864e5,oY=6e4,sY=36e5,lY=1e3,im=Symbol.for("constructDateFrom");function Et(e,t){return typeof e=="function"?e(t):e&&typeof e=="object"&&im in e?e[im](t):e instanceof Date?new e.constructor(t):new Date(t)}function vt(e,t){return Et(t||e,e)}function Pb(e,t,r){let n=vt(e,r==null?void 0:r.in);return isNaN(t)?Et((r==null?void 0:r.in)||e,NaN):(t&&n.setDate(n.getDate()+t),n)}var uY={};function $a(){return uY}function Nr(e,t){var l,h,u,c;let r=$a(),n=(t==null?void 0:t.weekStartsOn)??((h=(l=t==null?void 0:t.locale)==null?void 0:l.options)==null?void 0:h.weekStartsOn)??r.weekStartsOn??((c=(u=r.locale)==null?void 0:u.options)==null?void 0:c.weekStartsOn)??0,a=vt(e,t==null?void 0:t.in),i=a.getDay(),o=(i<n?7:0)+i-n;return a.setDate(a.getDate()-o),a.setHours(0,0,0,0),a}function Pa(e,t){return Nr(e,Kt(ge({},t),{weekStartsOn:1}))}function Ab(e,t){let r=vt(e,t==null?void 0:t.in),n=r.getFullYear(),a=Et(r,0);a.setFullYear(n+1,0,4),a.setHours(0,0,0,0);let i=Pa(a),o=Et(r,0);o.setFullYear(n,0,4),o.setHours(0,0,0,0);let l=Pa(o);return r.getTime()>=i.getTime()?n+1:r.getTime()>=l.getTime()?n:n-1}function Ms(e){let t=vt(e),r=new Date(Date.UTC(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()));return r.setUTCFullYear(t.getFullYear()),+e-+r}function cY(e,...t){let r=Et.bind(null,t.find(n=>typeof n=="object"));return t.map(r)}function om(e,t){let r=vt(e,t==null?void 0:t.in);return r.setHours(0,0,0,0),r}function dY(e,t,r){let[n,a]=cY(r==null?void 0:r.in,e,t),i=om(n),o=om(a),l=+i-Ms(i),h=+o-Ms(o);return Math.round((l-h)/iY)}function hY(e,t){let r=Ab(e,t),n=Et(e,0);return n.setFullYear(r,0,4),n.setHours(0,0,0,0),Pa(n)}function pY(e){return e instanceof Date||typeof e=="object"&&Object.prototype.toString.call(e)==="[object Date]"}function mY(e){return!(!pY(e)&&typeof e!="number"||isNaN(+vt(e)))}function fY(e,t){let r=vt(e,t==null?void 0:t.in);return r.setFullYear(r.getFullYear(),0,1),r.setHours(0,0,0,0),r}var gY={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},vY=(e,t,r)=>{let n,a=gY[e];return typeof a=="string"?n=a:t===1?n=a.one:n=a.other.replace("{{count}}",t.toString()),r!=null&&r.addSuffix?r.comparison&&r.comparison>0?"in "+n:n+" ago":n};function tu(e){return(t={})=>{let r=t.width?String(t.width):e.defaultWidth;return e.formats[r]||e.formats[e.defaultWidth]}}var bY={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},yY={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},_Y={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},wY={date:tu({formats:bY,defaultWidth:"full"}),time:tu({formats:yY,defaultWidth:"full"}),dateTime:tu({formats:_Y,defaultWidth:"full"})},xY={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},EY=(e,t,r,n)=>xY[e];function ti(e){return(t,r)=>{let n=r!=null&&r.context?String(r.context):"standalone",a;if(n==="formatting"&&e.formattingValues){let o=e.defaultFormattingWidth||e.defaultWidth,l=r!=null&&r.width?String(r.width):o;a=e.formattingValues[l]||e.formattingValues[o]}else{let o=e.defaultWidth,l=r!=null&&r.width?String(r.width):e.defaultWidth;a=e.values[l]||e.values[o]}let i=e.argumentCallback?e.argumentCallback(t):t;return a[i]}}var SY={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},kY={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},CY={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},IY={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},DY={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},NY={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},TY=(e,t)=>{let r=Number(e),n=r%100;if(n>20||n<10)switch(n%10){case 1:return r+"st";case 2:return r+"nd";case 3:return r+"rd"}return r+"th"},MY={ordinalNumber:TY,era:ti({values:SY,defaultWidth:"wide"}),quarter:ti({values:kY,defaultWidth:"wide",argumentCallback:e=>e-1}),month:ti({values:CY,defaultWidth:"wide"}),day:ti({values:IY,defaultWidth:"wide"}),dayPeriod:ti({values:DY,defaultWidth:"wide",formattingValues:NY,defaultFormattingWidth:"wide"})};function ni(e){return(t,r={})=>{let n=r.width,a=n&&e.matchPatterns[n]||e.matchPatterns[e.defaultMatchWidth],i=t.match(a);if(!i)return null;let o=i[0],l=n&&e.parsePatterns[n]||e.parsePatterns[e.defaultParseWidth],h=Array.isArray(l)?OY(l,m=>m.test(o)):RY(l,m=>m.test(o)),u;u=e.valueCallback?e.valueCallback(h):h,u=r.valueCallback?r.valueCallback(u):u;let c=t.slice(o.length);return{value:u,rest:c}}}function RY(e,t){for(let r in e)if(Object.prototype.hasOwnProperty.call(e,r)&&t(e[r]))return r}function OY(e,t){for(let r=0;r<e.length;r++)if(t(e[r]))return r}function PY(e){return(t,r={})=>{let n=t.match(e.matchPattern);if(!n)return null;let a=n[0],i=t.match(e.parsePattern);if(!i)return null;let o=e.valueCallback?e.valueCallback(i[0]):i[0];o=r.valueCallback?r.valueCallback(o):o;let l=t.slice(a.length);return{value:o,rest:l}}}var AY=/^(\d+)(th|st|nd|rd)?/i,LY=/\d+/i,FY={narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},jY={any:[/^b/i,/^(a|c)/i]},VY={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},BY={any:[/1/i,/2/i,/3/i,/4/i]},zY={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},HY={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},qY={narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},GY={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},$Y={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},UY={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},WY={ordinalNumber:PY({matchPattern:AY,parsePattern:LY,valueCallback:e=>parseInt(e,10)}),era:ni({matchPatterns:FY,defaultMatchWidth:"wide",parsePatterns:jY,defaultParseWidth:"any"}),quarter:ni({matchPatterns:VY,defaultMatchWidth:"wide",parsePatterns:BY,defaultParseWidth:"any",valueCallback:e=>e+1}),month:ni({matchPatterns:zY,defaultMatchWidth:"wide",parsePatterns:HY,defaultParseWidth:"any"}),day:ni({matchPatterns:qY,defaultMatchWidth:"wide",parsePatterns:GY,defaultParseWidth:"any"}),dayPeriod:ni({matchPatterns:$Y,defaultMatchWidth:"any",parsePatterns:UY,defaultParseWidth:"any"})},Lb={code:"en-US",formatDistance:vY,formatLong:wY,formatRelative:EY,localize:MY,match:WY,options:{weekStartsOn:0,firstWeekContainsDate:1}};function ZY(e,t){let r=vt(e,t==null?void 0:t.in);return dY(r,fY(r))+1}function Fb(e,t){let r=vt(e,t==null?void 0:t.in),n=+Pa(r)-+hY(r);return Math.round(n/Ob)+1}function Vd(e,t){var c,m,b,g;let r=vt(e,t==null?void 0:t.in),n=r.getFullYear(),a=$a(),i=(t==null?void 0:t.firstWeekContainsDate)??((m=(c=t==null?void 0:t.locale)==null?void 0:c.options)==null?void 0:m.firstWeekContainsDate)??a.firstWeekContainsDate??((g=(b=a.locale)==null?void 0:b.options)==null?void 0:g.firstWeekContainsDate)??1,o=Et((t==null?void 0:t.in)||e,0);o.setFullYear(n+1,0,i),o.setHours(0,0,0,0);let l=Nr(o,t),h=Et((t==null?void 0:t.in)||e,0);h.setFullYear(n,0,i),h.setHours(0,0,0,0);let u=Nr(h,t);return+r>=+l?n+1:+r>=+u?n:n-1}function YY(e,t){var o,l,h,u;let r=$a(),n=(t==null?void 0:t.firstWeekContainsDate)??((l=(o=t==null?void 0:t.locale)==null?void 0:o.options)==null?void 0:l.firstWeekContainsDate)??r.firstWeekContainsDate??((u=(h=r.locale)==null?void 0:h.options)==null?void 0:u.firstWeekContainsDate)??1,a=Vd(e,t),i=Et((t==null?void 0:t.in)||e,0);return i.setFullYear(a,0,n),i.setHours(0,0,0,0),Nr(i,t)}function jb(e,t){let r=vt(e,t==null?void 0:t.in),n=+Nr(r,t)-+YY(r,t);return Math.round(n/Ob)+1}function Oe(e,t){let r=e<0?"-":"",n=Math.abs(e).toString().padStart(t,"0");return r+n}var gr={y(e,t){let r=e.getFullYear(),n=r>0?r:1-r;return Oe(t==="yy"?n%100:n,t.length)},M(e,t){let r=e.getMonth();return t==="M"?String(r+1):Oe(r+1,2)},d(e,t){return Oe(e.getDate(),t.length)},a(e,t){let r=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return r.toUpperCase();case"aaa":return r;case"aaaaa":return r[0];case"aaaa":default:return r==="am"?"a.m.":"p.m."}},h(e,t){return Oe(e.getHours()%12||12,t.length)},H(e,t){return Oe(e.getHours(),t.length)},m(e,t){return Oe(e.getMinutes(),t.length)},s(e,t){return Oe(e.getSeconds(),t.length)},S(e,t){let r=t.length,n=e.getMilliseconds(),a=Math.trunc(n*Math.pow(10,r-3));return Oe(a,t.length)}},ua={midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},sm={G:function(e,t,r){let n=e.getFullYear()>0?1:0;switch(t){case"G":case"GG":case"GGG":return r.era(n,{width:"abbreviated"});case"GGGGG":return r.era(n,{width:"narrow"});case"GGGG":default:return r.era(n,{width:"wide"})}},y:function(e,t,r){if(t==="yo"){let n=e.getFullYear(),a=n>0?n:1-n;return r.ordinalNumber(a,{unit:"year"})}return gr.y(e,t)},Y:function(e,t,r,n){let a=Vd(e,n),i=a>0?a:1-a;if(t==="YY"){let o=i%100;return Oe(o,2)}return t==="Yo"?r.ordinalNumber(i,{unit:"year"}):Oe(i,t.length)},R:function(e,t){let r=Ab(e);return Oe(r,t.length)},u:function(e,t){let r=e.getFullYear();return Oe(r,t.length)},Q:function(e,t,r){let n=Math.ceil((e.getMonth()+1)/3);switch(t){case"Q":return String(n);case"QQ":return Oe(n,2);case"Qo":return r.ordinalNumber(n,{unit:"quarter"});case"QQQ":return r.quarter(n,{width:"abbreviated",context:"formatting"});case"QQQQQ":return r.quarter(n,{width:"narrow",context:"formatting"});case"QQQQ":default:return r.quarter(n,{width:"wide",context:"formatting"})}},q:function(e,t,r){let n=Math.ceil((e.getMonth()+1)/3);switch(t){case"q":return String(n);case"qq":return Oe(n,2);case"qo":return r.ordinalNumber(n,{unit:"quarter"});case"qqq":return r.quarter(n,{width:"abbreviated",context:"standalone"});case"qqqqq":return r.quarter(n,{width:"narrow",context:"standalone"});case"qqqq":default:return r.quarter(n,{width:"wide",context:"standalone"})}},M:function(e,t,r){let n=e.getMonth();switch(t){case"M":case"MM":return gr.M(e,t);case"Mo":return r.ordinalNumber(n+1,{unit:"month"});case"MMM":return r.month(n,{width:"abbreviated",context:"formatting"});case"MMMMM":return r.month(n,{width:"narrow",context:"formatting"});case"MMMM":default:return r.month(n,{width:"wide",context:"formatting"})}},L:function(e,t,r){let n=e.getMonth();switch(t){case"L":return String(n+1);case"LL":return Oe(n+1,2);case"Lo":return r.ordinalNumber(n+1,{unit:"month"});case"LLL":return r.month(n,{width:"abbreviated",context:"standalone"});case"LLLLL":return r.month(n,{width:"narrow",context:"standalone"});case"LLLL":default:return r.month(n,{width:"wide",context:"standalone"})}},w:function(e,t,r,n){let a=jb(e,n);return t==="wo"?r.ordinalNumber(a,{unit:"week"}):Oe(a,t.length)},I:function(e,t,r){let n=Fb(e);return t==="Io"?r.ordinalNumber(n,{unit:"week"}):Oe(n,t.length)},d:function(e,t,r){return t==="do"?r.ordinalNumber(e.getDate(),{unit:"date"}):gr.d(e,t)},D:function(e,t,r){let n=ZY(e);return t==="Do"?r.ordinalNumber(n,{unit:"dayOfYear"}):Oe(n,t.length)},E:function(e,t,r){let n=e.getDay();switch(t){case"E":case"EE":case"EEE":return r.day(n,{width:"abbreviated",context:"formatting"});case"EEEEE":return r.day(n,{width:"narrow",context:"formatting"});case"EEEEEE":return r.day(n,{width:"short",context:"formatting"});case"EEEE":default:return r.day(n,{width:"wide",context:"formatting"})}},e:function(e,t,r,n){let a=e.getDay(),i=(a-n.weekStartsOn+8)%7||7;switch(t){case"e":return String(i);case"ee":return Oe(i,2);case"eo":return r.ordinalNumber(i,{unit:"day"});case"eee":return r.day(a,{width:"abbreviated",context:"formatting"});case"eeeee":return r.day(a,{width:"narrow",context:"formatting"});case"eeeeee":return r.day(a,{width:"short",context:"formatting"});case"eeee":default:return r.day(a,{width:"wide",context:"formatting"})}},c:function(e,t,r,n){let a=e.getDay(),i=(a-n.weekStartsOn+8)%7||7;switch(t){case"c":return String(i);case"cc":return Oe(i,t.length);case"co":return r.ordinalNumber(i,{unit:"day"});case"ccc":return r.day(a,{width:"abbreviated",context:"standalone"});case"ccccc":return r.day(a,{width:"narrow",context:"standalone"});case"cccccc":return r.day(a,{width:"short",context:"standalone"});case"cccc":default:return r.day(a,{width:"wide",context:"standalone"})}},i:function(e,t,r){let n=e.getDay(),a=n===0?7:n;switch(t){case"i":return String(a);case"ii":return Oe(a,t.length);case"io":return r.ordinalNumber(a,{unit:"day"});case"iii":return r.day(n,{width:"abbreviated",context:"formatting"});case"iiiii":return r.day(n,{width:"narrow",context:"formatting"});case"iiiiii":return r.day(n,{width:"short",context:"formatting"});case"iiii":default:return r.day(n,{width:"wide",context:"formatting"})}},a:function(e,t,r){let n=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return r.dayPeriod(n,{width:"abbreviated",context:"formatting"});case"aaa":return r.dayPeriod(n,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return r.dayPeriod(n,{width:"narrow",context:"formatting"});case"aaaa":default:return r.dayPeriod(n,{width:"wide",context:"formatting"})}},b:function(e,t,r){let n=e.getHours(),a;switch(n===12?a=ua.noon:n===0?a=ua.midnight:a=n/12>=1?"pm":"am",t){case"b":case"bb":return r.dayPeriod(a,{width:"abbreviated",context:"formatting"});case"bbb":return r.dayPeriod(a,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return r.dayPeriod(a,{width:"narrow",context:"formatting"});case"bbbb":default:return r.dayPeriod(a,{width:"wide",context:"formatting"})}},B:function(e,t,r){let n=e.getHours(),a;switch(n>=17?a=ua.evening:n>=12?a=ua.afternoon:n>=4?a=ua.morning:a=ua.night,t){case"B":case"BB":case"BBB":return r.dayPeriod(a,{width:"abbreviated",context:"formatting"});case"BBBBB":return r.dayPeriod(a,{width:"narrow",context:"formatting"});case"BBBB":default:return r.dayPeriod(a,{width:"wide",context:"formatting"})}},h:function(e,t,r){if(t==="ho"){let n=e.getHours()%12;return n===0&&(n=12),r.ordinalNumber(n,{unit:"hour"})}return gr.h(e,t)},H:function(e,t,r){return t==="Ho"?r.ordinalNumber(e.getHours(),{unit:"hour"}):gr.H(e,t)},K:function(e,t,r){let n=e.getHours()%12;return t==="Ko"?r.ordinalNumber(n,{unit:"hour"}):Oe(n,t.length)},k:function(e,t,r){let n=e.getHours();return n===0&&(n=24),t==="ko"?r.ordinalNumber(n,{unit:"hour"}):Oe(n,t.length)},m:function(e,t,r){return t==="mo"?r.ordinalNumber(e.getMinutes(),{unit:"minute"}):gr.m(e,t)},s:function(e,t,r){return t==="so"?r.ordinalNumber(e.getSeconds(),{unit:"second"}):gr.s(e,t)},S:function(e,t){return gr.S(e,t)},X:function(e,t,r){let n=e.getTimezoneOffset();if(n===0)return"Z";switch(t){case"X":return um(n);case"XXXX":case"XX":return Br(n);case"XXXXX":case"XXX":default:return Br(n,":")}},x:function(e,t,r){let n=e.getTimezoneOffset();switch(t){case"x":return um(n);case"xxxx":case"xx":return Br(n);case"xxxxx":case"xxx":default:return Br(n,":")}},O:function(e,t,r){let n=e.getTimezoneOffset();switch(t){case"O":case"OO":case"OOO":return"GMT"+lm(n,":");case"OOOO":default:return"GMT"+Br(n,":")}},z:function(e,t,r){let n=e.getTimezoneOffset();switch(t){case"z":case"zz":case"zzz":return"GMT"+lm(n,":");case"zzzz":default:return"GMT"+Br(n,":")}},t:function(e,t,r){let n=Math.trunc(+e/1e3);return Oe(n,t.length)},T:function(e,t,r){return Oe(+e,t.length)}};function lm(e,t=""){let r=e>0?"-":"+",n=Math.abs(e),a=Math.trunc(n/60),i=n%60;return i===0?r+String(a):r+String(a)+t+Oe(i,2)}function um(e,t){return e%60===0?(e>0?"-":"+")+Oe(Math.abs(e)/60,2):Br(e,t)}function Br(e,t=""){let r=e>0?"-":"+",n=Math.abs(e),a=Oe(Math.trunc(n/60),2),i=Oe(n%60,2);return r+a+t+i}var cm=(e,t)=>{switch(e){case"P":return t.date({width:"short"});case"PP":return t.date({width:"medium"});case"PPP":return t.date({width:"long"});case"PPPP":default:return t.date({width:"full"})}},Vb=(e,t)=>{switch(e){case"p":return t.time({width:"short"});case"pp":return t.time({width:"medium"});case"ppp":return t.time({width:"long"});case"pppp":default:return t.time({width:"full"})}},KY=(e,t)=>{let r=e.match(/(P+)(p+)?/)||[],n=r[1],a=r[2];if(!a)return cm(e,t);let i;switch(n){case"P":i=t.dateTime({width:"short"});break;case"PP":i=t.dateTime({width:"medium"});break;case"PPP":i=t.dateTime({width:"long"});break;case"PPPP":default:i=t.dateTime({width:"full"});break}return i.replace("{{date}}",cm(n,t)).replace("{{time}}",Vb(a,t))},lc={p:Vb,P:KY},QY=/^D+$/,JY=/^Y+$/,XY=["D","DD","YY","YYYY"];function Bb(e){return QY.test(e)}function zb(e){return JY.test(e)}function uc(e,t,r){let n=eK(e,t,r);if(console.warn(n),XY.includes(e))throw new RangeError(n)}function eK(e,t,r){let n=e[0]==="Y"?"years":"days of the month";return`Use \`${e.toLowerCase()}\` instead of \`${e}\` (in \`${t}\`) for formatting ${n} to the input \`${r}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`}var tK=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,nK=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,rK=/^'([^]*?)'?$/,aK=/''/g,iK=/[a-zA-Z]/;function oK(e,t,r){var c,m,b,g;let n=$a(),a=n.locale??Lb,i=n.firstWeekContainsDate??((m=(c=n.locale)==null?void 0:c.options)==null?void 0:m.firstWeekContainsDate)??1,o=n.weekStartsOn??((g=(b=n.locale)==null?void 0:b.options)==null?void 0:g.weekStartsOn)??0,l=vt(e,r==null?void 0:r.in);if(!mY(l))throw new RangeError("Invalid time value");let h=t.match(nK).map(w=>{let x=w[0];if(x==="p"||x==="P"){let S=lc[x];return S(w,a.formatLong)}return w}).join("").match(tK).map(w=>{if(w==="''")return{isToken:!1,value:"'"};let x=w[0];if(x==="'")return{isToken:!1,value:sK(w)};if(sm[x])return{isToken:!0,value:w};if(x.match(iK))throw new RangeError("Format string contains an unescaped latin alphabet character `"+x+"`");return{isToken:!1,value:w}});a.localize.preprocessor&&(h=a.localize.preprocessor(l,h));let u={firstWeekContainsDate:i,weekStartsOn:o,locale:a};return h.map(w=>{if(!w.isToken)return w.value;let x=w.value;(zb(x)||Bb(x))&&uc(x,t,String(e));let S=sm[x[0]];return S(l,x,a.localize,u)}).join("")}function sK(e){let t=e.match(rK);return t?t[1].replace(aK,"'"):e}function lK(){return Object.assign({},$a())}function uK(e,t){let r=vt(e,t==null?void 0:t.in).getDay();return r===0?7:r}function cK(e,t){let r=dK(t)?new t(0):Et(t,0);return r.setFullYear(e.getFullYear(),e.getMonth(),e.getDate()),r.setHours(e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()),r}function dK(e){var t;return typeof e=="function"&&((t=e.prototype)==null?void 0:t.constructor)===e}var hK=10,Hb=class{constructor(){s(this,"subPriority",0)}validate(e,t){return!0}},pK=class extends Hb{constructor(e,t,r,n,a){super(),this.value=e,this.validateValue=t,this.setValue=r,this.priority=n,a&&(this.subPriority=a)}validate(e,t){return this.validateValue(e,this.value,t)}set(e,t,r){return this.setValue(e,t,this.value,r)}},mK=class extends Hb{constructor(t,r){super();s(this,"priority",hK);s(this,"subPriority",-1);this.context=t||(n=>Et(r,n))}set(t,r){return r.timestampIsSet?t:Et(t,cK(t,this.context))}},Me=class{run(e,t,r,n){let a=this.parse(e,t,r,n);return a?{setter:new pK(a.value,this.validate,this.set,this.priority,this.subPriority),rest:a.rest}:null}validate(e,t,r){return!0}},fK=class extends Me{constructor(){super(...arguments);s(this,"priority",140);s(this,"incompatibleTokens",["R","u","t","T"])}parse(t,r,n){switch(r){case"G":case"GG":case"GGG":return n.era(t,{width:"abbreviated"})||n.era(t,{width:"narrow"});case"GGGGG":return n.era(t,{width:"narrow"});case"GGGG":default:return n.era(t,{width:"wide"})||n.era(t,{width:"abbreviated"})||n.era(t,{width:"narrow"})}}set(t,r,n){return r.era=n,t.setFullYear(n,0,1),t.setHours(0,0,0,0),t}},at={month:/^(1[0-2]|0?\d)/,date:/^(3[0-1]|[0-2]?\d)/,dayOfYear:/^(36[0-6]|3[0-5]\d|[0-2]?\d?\d)/,week:/^(5[0-3]|[0-4]?\d)/,hour23h:/^(2[0-3]|[0-1]?\d)/,hour24h:/^(2[0-4]|[0-1]?\d)/,hour11h:/^(1[0-1]|0?\d)/,hour12h:/^(1[0-2]|0?\d)/,minute:/^[0-5]?\d/,second:/^[0-5]?\d/,singleDigit:/^\d/,twoDigits:/^\d{1,2}/,threeDigits:/^\d{1,3}/,fourDigits:/^\d{1,4}/,anyDigitsSigned:/^-?\d+/,singleDigitSigned:/^-?\d/,twoDigitsSigned:/^-?\d{1,2}/,threeDigitsSigned:/^-?\d{1,3}/,fourDigitsSigned:/^-?\d{1,4}/},Rn={basicOptionalMinutes:/^([+-])(\d{2})(\d{2})?|Z/,basic:/^([+-])(\d{2})(\d{2})|Z/,basicOptionalSeconds:/^([+-])(\d{2})(\d{2})((\d{2}))?|Z/,extended:/^([+-])(\d{2}):(\d{2})|Z/,extendedOptionalSeconds:/^([+-])(\d{2}):(\d{2})(:(\d{2}))?|Z/};function it(e,t){return e&&{value:t(e.value),rest:e.rest}}function Ke(e,t){let r=t.match(e);return r?{value:parseInt(r[0],10),rest:t.slice(r[0].length)}:null}function On(e,t){let r=t.match(e);if(!r)return null;if(r[0]==="Z")return{value:0,rest:t.slice(1)};let n=r[1]==="+"?1:-1,a=r[2]?parseInt(r[2],10):0,i=r[3]?parseInt(r[3],10):0,o=r[5]?parseInt(r[5],10):0;return{value:n*(a*sY+i*oY+o*lY),rest:t.slice(r[0].length)}}function qb(e){return Ke(at.anyDigitsSigned,e)}function Xe(e,t){switch(e){case 1:return Ke(at.singleDigit,t);case 2:return Ke(at.twoDigits,t);case 3:return Ke(at.threeDigits,t);case 4:return Ke(at.fourDigits,t);default:return Ke(new RegExp("^\\d{1,"+e+"}"),t)}}function Rs(e,t){switch(e){case 1:return Ke(at.singleDigitSigned,t);case 2:return Ke(at.twoDigitsSigned,t);case 3:return Ke(at.threeDigitsSigned,t);case 4:return Ke(at.fourDigitsSigned,t);default:return Ke(new RegExp("^-?\\d{1,"+e+"}"),t)}}function Bd(e){switch(e){case"morning":return 4;case"evening":return 17;case"pm":case"noon":case"afternoon":return 12;case"am":case"midnight":case"night":default:return 0}}function Gb(e,t){let r=t>0,n=r?t:1-t,a;if(n<=50)a=e||100;else{let i=n+50,o=Math.trunc(i/100)*100,l=e>=i%100;a=e+o-(l?100:0)}return r?a:1-a}function $b(e){return e%400===0||e%4===0&&e%100!==0}var gK=class extends Me{constructor(){super(...arguments);s(this,"priority",130);s(this,"incompatibleTokens",["Y","R","u","w","I","i","e","c","t","T"])}parse(t,r,n){let a=i=>({year:i,isTwoDigitYear:r==="yy"});switch(r){case"y":return it(Xe(4,t),a);case"yo":return it(n.ordinalNumber(t,{unit:"year"}),a);default:return it(Xe(r.length,t),a)}}validate(t,r){return r.isTwoDigitYear||r.year>0}set(t,r,n){let a=t.getFullYear();if(n.isTwoDigitYear){let o=Gb(n.year,a);return t.setFullYear(o,0,1),t.setHours(0,0,0,0),t}let i=!("era"in r)||r.era===1?n.year:1-n.year;return t.setFullYear(i,0,1),t.setHours(0,0,0,0),t}},vK=class extends Me{constructor(){super(...arguments);s(this,"priority",130);s(this,"incompatibleTokens",["y","R","u","Q","q","M","L","I","d","D","i","t","T"])}parse(t,r,n){let a=i=>({year:i,isTwoDigitYear:r==="YY"});switch(r){case"Y":return it(Xe(4,t),a);case"Yo":return it(n.ordinalNumber(t,{unit:"year"}),a);default:return it(Xe(r.length,t),a)}}validate(t,r){return r.isTwoDigitYear||r.year>0}set(t,r,n,a){let i=Vd(t,a);if(n.isTwoDigitYear){let l=Gb(n.year,i);return t.setFullYear(l,0,a.firstWeekContainsDate),t.setHours(0,0,0,0),Nr(t,a)}let o=!("era"in r)||r.era===1?n.year:1-n.year;return t.setFullYear(o,0,a.firstWeekContainsDate),t.setHours(0,0,0,0),Nr(t,a)}},bK=class extends Me{constructor(){super(...arguments);s(this,"priority",130);s(this,"incompatibleTokens",["G","y","Y","u","Q","q","M","L","w","d","D","e","c","t","T"])}parse(t,r){return Rs(r==="R"?4:r.length,t)}set(t,r,n){let a=Et(t,0);return a.setFullYear(n,0,4),a.setHours(0,0,0,0),Pa(a)}},yK=class extends Me{constructor(){super(...arguments);s(this,"priority",130);s(this,"incompatibleTokens",["G","y","Y","R","w","I","i","e","c","t","T"])}parse(t,r){return Rs(r==="u"?4:r.length,t)}set(t,r,n){return t.setFullYear(n,0,1),t.setHours(0,0,0,0),t}},_K=class extends Me{constructor(){super(...arguments);s(this,"priority",120);s(this,"incompatibleTokens",["Y","R","q","M","L","w","I","d","D","i","e","c","t","T"])}parse(t,r,n){switch(r){case"Q":case"QQ":return Xe(r.length,t);case"Qo":return n.ordinalNumber(t,{unit:"quarter"});case"QQQ":return n.quarter(t,{width:"abbreviated",context:"formatting"})||n.quarter(t,{width:"narrow",context:"formatting"});case"QQQQQ":return n.quarter(t,{width:"narrow",context:"formatting"});case"QQQQ":default:return n.quarter(t,{width:"wide",context:"formatting"})||n.quarter(t,{width:"abbreviated",context:"formatting"})||n.quarter(t,{width:"narrow",context:"formatting"})}}validate(t,r){return r>=1&&r<=4}set(t,r,n){return t.setMonth((n-1)*3,1),t.setHours(0,0,0,0),t}},wK=class extends Me{constructor(){super(...arguments);s(this,"priority",120);s(this,"incompatibleTokens",["Y","R","Q","M","L","w","I","d","D","i","e","c","t","T"])}parse(t,r,n){switch(r){case"q":case"qq":return Xe(r.length,t);case"qo":return n.ordinalNumber(t,{unit:"quarter"});case"qqq":return n.quarter(t,{width:"abbreviated",context:"standalone"})||n.quarter(t,{width:"narrow",context:"standalone"});case"qqqqq":return n.quarter(t,{width:"narrow",context:"standalone"});case"qqqq":default:return n.quarter(t,{width:"wide",context:"standalone"})||n.quarter(t,{width:"abbreviated",context:"standalone"})||n.quarter(t,{width:"narrow",context:"standalone"})}}validate(t,r){return r>=1&&r<=4}set(t,r,n){return t.setMonth((n-1)*3,1),t.setHours(0,0,0,0),t}},xK=class extends Me{constructor(){super(...arguments);s(this,"incompatibleTokens",["Y","R","q","Q","L","w","I","D","i","e","c","t","T"]);s(this,"priority",110)}parse(t,r,n){let a=i=>i-1;switch(r){case"M":return it(Ke(at.month,t),a);case"MM":return it(Xe(2,t),a);case"Mo":return it(n.ordinalNumber(t,{unit:"month"}),a);case"MMM":return n.month(t,{width:"abbreviated",context:"formatting"})||n.month(t,{width:"narrow",context:"formatting"});case"MMMMM":return n.month(t,{width:"narrow",context:"formatting"});case"MMMM":default:return n.month(t,{width:"wide",context:"formatting"})||n.month(t,{width:"abbreviated",context:"formatting"})||n.month(t,{width:"narrow",context:"formatting"})}}validate(t,r){return r>=0&&r<=11}set(t,r,n){return t.setMonth(n,1),t.setHours(0,0,0,0),t}},EK=class extends Me{constructor(){super(...arguments);s(this,"priority",110);s(this,"incompatibleTokens",["Y","R","q","Q","M","w","I","D","i","e","c","t","T"])}parse(t,r,n){let a=i=>i-1;switch(r){case"L":return it(Ke(at.month,t),a);case"LL":return it(Xe(2,t),a);case"Lo":return it(n.ordinalNumber(t,{unit:"month"}),a);case"LLL":return n.month(t,{width:"abbreviated",context:"standalone"})||n.month(t,{width:"narrow",context:"standalone"});case"LLLLL":return n.month(t,{width:"narrow",context:"standalone"});case"LLLL":default:return n.month(t,{width:"wide",context:"standalone"})||n.month(t,{width:"abbreviated",context:"standalone"})||n.month(t,{width:"narrow",context:"standalone"})}}validate(t,r){return r>=0&&r<=11}set(t,r,n){return t.setMonth(n,1),t.setHours(0,0,0,0),t}};function SK(e,t,r){let n=vt(e,r==null?void 0:r.in),a=jb(n,r)-t;return n.setDate(n.getDate()-a*7),vt(n,r==null?void 0:r.in)}var kK=class extends Me{constructor(){super(...arguments);s(this,"priority",100);s(this,"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","i","t","T"])}parse(t,r,n){switch(r){case"w":return Ke(at.week,t);case"wo":return n.ordinalNumber(t,{unit:"week"});default:return Xe(r.length,t)}}validate(t,r){return r>=1&&r<=53}set(t,r,n,a){return Nr(SK(t,n,a),a)}};function CK(e,t,r){let n=vt(e,r==null?void 0:r.in),a=Fb(n,r)-t;return n.setDate(n.getDate()-a*7),n}var IK=class extends Me{constructor(){super(...arguments);s(this,"priority",100);s(this,"incompatibleTokens",["y","Y","u","q","Q","M","L","w","d","D","e","c","t","T"])}parse(t,r,n){switch(r){case"I":return Ke(at.week,t);case"Io":return n.ordinalNumber(t,{unit:"week"});default:return Xe(r.length,t)}}validate(t,r){return r>=1&&r<=53}set(t,r,n){return Pa(CK(t,n))}},DK=[31,28,31,30,31,30,31,31,30,31,30,31],NK=[31,29,31,30,31,30,31,31,30,31,30,31],TK=class extends Me{constructor(){super(...arguments);s(this,"priority",90);s(this,"subPriority",1);s(this,"incompatibleTokens",["Y","R","q","Q","w","I","D","i","e","c","t","T"])}parse(t,r,n){switch(r){case"d":return Ke(at.date,t);case"do":return n.ordinalNumber(t,{unit:"date"});default:return Xe(r.length,t)}}validate(t,r){let n=t.getFullYear(),a=$b(n),i=t.getMonth();return a?r>=1&&r<=NK[i]:r>=1&&r<=DK[i]}set(t,r,n){return t.setDate(n),t.setHours(0,0,0,0),t}},MK=class extends Me{constructor(){super(...arguments);s(this,"priority",90);s(this,"subpriority",1);s(this,"incompatibleTokens",["Y","R","q","Q","M","L","w","I","d","E","i","e","c","t","T"])}parse(t,r,n){switch(r){case"D":case"DD":return Ke(at.dayOfYear,t);case"Do":return n.ordinalNumber(t,{unit:"date"});default:return Xe(r.length,t)}}validate(t,r){let n=t.getFullYear();return $b(n)?r>=1&&r<=366:r>=1&&r<=365}set(t,r,n){return t.setMonth(0,n),t.setHours(0,0,0,0),t}};function zd(e,t,r){var c,m,b,g;let n=$a(),a=(r==null?void 0:r.weekStartsOn)??((m=(c=r==null?void 0:r.locale)==null?void 0:c.options)==null?void 0:m.weekStartsOn)??n.weekStartsOn??((g=(b=n.locale)==null?void 0:b.options)==null?void 0:g.weekStartsOn)??0,i=vt(e,r==null?void 0:r.in),o=i.getDay(),l=(t%7+7)%7,h=7-a,u=t<0||t>6?t-(o+h)%7:(l+h)%7-(o+h)%7;return Pb(i,u,r)}var RK=class extends Me{constructor(){super(...arguments);s(this,"priority",90);s(this,"incompatibleTokens",["D","i","e","c","t","T"])}parse(t,r,n){switch(r){case"E":case"EE":case"EEE":return n.day(t,{width:"abbreviated",context:"formatting"})||n.day(t,{width:"short",context:"formatting"})||n.day(t,{width:"narrow",context:"formatting"});case"EEEEE":return n.day(t,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(t,{width:"short",context:"formatting"})||n.day(t,{width:"narrow",context:"formatting"});case"EEEE":default:return n.day(t,{width:"wide",context:"formatting"})||n.day(t,{width:"abbreviated",context:"formatting"})||n.day(t,{width:"short",context:"formatting"})||n.day(t,{width:"narrow",context:"formatting"})}}validate(t,r){return r>=0&&r<=6}set(t,r,n,a){return t=zd(t,n,a),t.setHours(0,0,0,0),t}},OK=class extends Me{constructor(){super(...arguments);s(this,"priority",90);s(this,"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","E","i","c","t","T"])}parse(t,r,n,a){let i=o=>{let l=Math.floor((o-1)/7)*7;return(o+a.weekStartsOn+6)%7+l};switch(r){case"e":case"ee":return it(Xe(r.length,t),i);case"eo":return it(n.ordinalNumber(t,{unit:"day"}),i);case"eee":return n.day(t,{width:"abbreviated",context:"formatting"})||n.day(t,{width:"short",context:"formatting"})||n.day(t,{width:"narrow",context:"formatting"});case"eeeee":return n.day(t,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(t,{width:"short",context:"formatting"})||n.day(t,{width:"narrow",context:"formatting"});case"eeee":default:return n.day(t,{width:"wide",context:"formatting"})||n.day(t,{width:"abbreviated",context:"formatting"})||n.day(t,{width:"short",context:"formatting"})||n.day(t,{width:"narrow",context:"formatting"})}}validate(t,r){return r>=0&&r<=6}set(t,r,n,a){return t=zd(t,n,a),t.setHours(0,0,0,0),t}},PK=class extends Me{constructor(){super(...arguments);s(this,"priority",90);s(this,"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","E","i","e","t","T"])}parse(t,r,n,a){let i=o=>{let l=Math.floor((o-1)/7)*7;return(o+a.weekStartsOn+6)%7+l};switch(r){case"c":case"cc":return it(Xe(r.length,t),i);case"co":return it(n.ordinalNumber(t,{unit:"day"}),i);case"ccc":return n.day(t,{width:"abbreviated",context:"standalone"})||n.day(t,{width:"short",context:"standalone"})||n.day(t,{width:"narrow",context:"standalone"});case"ccccc":return n.day(t,{width:"narrow",context:"standalone"});case"cccccc":return n.day(t,{width:"short",context:"standalone"})||n.day(t,{width:"narrow",context:"standalone"});case"cccc":default:return n.day(t,{width:"wide",context:"standalone"})||n.day(t,{width:"abbreviated",context:"standalone"})||n.day(t,{width:"short",context:"standalone"})||n.day(t,{width:"narrow",context:"standalone"})}}validate(t,r){return r>=0&&r<=6}set(t,r,n,a){return t=zd(t,n,a),t.setHours(0,0,0,0),t}};function AK(e,t,r){let n=vt(e,r==null?void 0:r.in),a=uK(n,r),i=t-a;return Pb(n,i,r)}var LK=class extends Me{constructor(){super(...arguments);s(this,"priority",90);s(this,"incompatibleTokens",["y","Y","u","q","Q","M","L","w","d","D","E","e","c","t","T"])}parse(t,r,n){let a=i=>i===0?7:i;switch(r){case"i":case"ii":return Xe(r.length,t);case"io":return n.ordinalNumber(t,{unit:"day"});case"iii":return it(n.day(t,{width:"abbreviated",context:"formatting"})||n.day(t,{width:"short",context:"formatting"})||n.day(t,{width:"narrow",context:"formatting"}),a);case"iiiii":return it(n.day(t,{width:"narrow",context:"formatting"}),a);case"iiiiii":return it(n.day(t,{width:"short",context:"formatting"})||n.day(t,{width:"narrow",context:"formatting"}),a);case"iiii":default:return it(n.day(t,{width:"wide",context:"formatting"})||n.day(t,{width:"abbreviated",context:"formatting"})||n.day(t,{width:"short",context:"formatting"})||n.day(t,{width:"narrow",context:"formatting"}),a)}}validate(t,r){return r>=1&&r<=7}set(t,r,n){return t=AK(t,n),t.setHours(0,0,0,0),t}},FK=class extends Me{constructor(){super(...arguments);s(this,"priority",80);s(this,"incompatibleTokens",["b","B","H","k","t","T"])}parse(t,r,n){switch(r){case"a":case"aa":case"aaa":return n.dayPeriod(t,{width:"abbreviated",context:"formatting"})||n.dayPeriod(t,{width:"narrow",context:"formatting"});case"aaaaa":return n.dayPeriod(t,{width:"narrow",context:"formatting"});case"aaaa":default:return n.dayPeriod(t,{width:"wide",context:"formatting"})||n.dayPeriod(t,{width:"abbreviated",context:"formatting"})||n.dayPeriod(t,{width:"narrow",context:"formatting"})}}set(t,r,n){return t.setHours(Bd(n),0,0,0),t}},jK=class extends Me{constructor(){super(...arguments);s(this,"priority",80);s(this,"incompatibleTokens",["a","B","H","k","t","T"])}parse(t,r,n){switch(r){case"b":case"bb":case"bbb":return n.dayPeriod(t,{width:"abbreviated",context:"formatting"})||n.dayPeriod(t,{width:"narrow",context:"formatting"});case"bbbbb":return n.dayPeriod(t,{width:"narrow",context:"formatting"});case"bbbb":default:return n.dayPeriod(t,{width:"wide",context:"formatting"})||n.dayPeriod(t,{width:"abbreviated",context:"formatting"})||n.dayPeriod(t,{width:"narrow",context:"formatting"})}}set(t,r,n){return t.setHours(Bd(n),0,0,0),t}},VK=class extends Me{constructor(){super(...arguments);s(this,"priority",80);s(this,"incompatibleTokens",["a","b","t","T"])}parse(t,r,n){switch(r){case"B":case"BB":case"BBB":return n.dayPeriod(t,{width:"abbreviated",context:"formatting"})||n.dayPeriod(t,{width:"narrow",context:"formatting"});case"BBBBB":return n.dayPeriod(t,{width:"narrow",context:"formatting"});case"BBBB":default:return n.dayPeriod(t,{width:"wide",context:"formatting"})||n.dayPeriod(t,{width:"abbreviated",context:"formatting"})||n.dayPeriod(t,{width:"narrow",context:"formatting"})}}set(t,r,n){return t.setHours(Bd(n),0,0,0),t}},BK=class extends Me{constructor(){super(...arguments);s(this,"priority",70);s(this,"incompatibleTokens",["H","K","k","t","T"])}parse(t,r,n){switch(r){case"h":return Ke(at.hour12h,t);case"ho":return n.ordinalNumber(t,{unit:"hour"});default:return Xe(r.length,t)}}validate(t,r){return r>=1&&r<=12}set(t,r,n){let a=t.getHours()>=12;return a&&n<12?t.setHours(n+12,0,0,0):!a&&n===12?t.setHours(0,0,0,0):t.setHours(n,0,0,0),t}},zK=class extends Me{constructor(){super(...arguments);s(this,"priority",70);s(this,"incompatibleTokens",["a","b","h","K","k","t","T"])}parse(t,r,n){switch(r){case"H":return Ke(at.hour23h,t);case"Ho":return n.ordinalNumber(t,{unit:"hour"});default:return Xe(r.length,t)}}validate(t,r){return r>=0&&r<=23}set(t,r,n){return t.setHours(n,0,0,0),t}},HK=class extends Me{constructor(){super(...arguments);s(this,"priority",70);s(this,"incompatibleTokens",["h","H","k","t","T"])}parse(t,r,n){switch(r){case"K":return Ke(at.hour11h,t);case"Ko":return n.ordinalNumber(t,{unit:"hour"});default:return Xe(r.length,t)}}validate(t,r){return r>=0&&r<=11}set(t,r,n){return t.getHours()>=12&&n<12?t.setHours(n+12,0,0,0):t.setHours(n,0,0,0),t}},qK=class extends Me{constructor(){super(...arguments);s(this,"priority",70);s(this,"incompatibleTokens",["a","b","h","H","K","t","T"])}parse(t,r,n){switch(r){case"k":return Ke(at.hour24h,t);case"ko":return n.ordinalNumber(t,{unit:"hour"});default:return Xe(r.length,t)}}validate(t,r){return r>=1&&r<=24}set(t,r,n){let a=n<=24?n%24:n;return t.setHours(a,0,0,0),t}},GK=class extends Me{constructor(){super(...arguments);s(this,"priority",60);s(this,"incompatibleTokens",["t","T"])}parse(t,r,n){switch(r){case"m":return Ke(at.minute,t);case"mo":return n.ordinalNumber(t,{unit:"minute"});default:return Xe(r.length,t)}}validate(t,r){return r>=0&&r<=59}set(t,r,n){return t.setMinutes(n,0,0),t}},$K=class extends Me{constructor(){super(...arguments);s(this,"priority",50);s(this,"incompatibleTokens",["t","T"])}parse(t,r,n){switch(r){case"s":return Ke(at.second,t);case"so":return n.ordinalNumber(t,{unit:"second"});default:return Xe(r.length,t)}}validate(t,r){return r>=0&&r<=59}set(t,r,n){return t.setSeconds(n,0),t}},UK=class extends Me{constructor(){super(...arguments);s(this,"priority",30);s(this,"incompatibleTokens",["t","T"])}parse(t,r){let n=a=>Math.trunc(a*Math.pow(10,-r.length+3));return it(Xe(r.length,t),n)}set(t,r,n){return t.setMilliseconds(n),t}},WK=class extends Me{constructor(){super(...arguments);s(this,"priority",10);s(this,"incompatibleTokens",["t","T","x"])}parse(t,r){switch(r){case"X":return On(Rn.basicOptionalMinutes,t);case"XX":return On(Rn.basic,t);case"XXXX":return On(Rn.basicOptionalSeconds,t);case"XXXXX":return On(Rn.extendedOptionalSeconds,t);case"XXX":default:return On(Rn.extended,t)}}set(t,r,n){return r.timestampIsSet?t:Et(t,t.getTime()-Ms(t)-n)}},ZK=class extends Me{constructor(){super(...arguments);s(this,"priority",10);s(this,"incompatibleTokens",["t","T","X"])}parse(t,r){switch(r){case"x":return On(Rn.basicOptionalMinutes,t);case"xx":return On(Rn.basic,t);case"xxxx":return On(Rn.basicOptionalSeconds,t);case"xxxxx":return On(Rn.extendedOptionalSeconds,t);case"xxx":default:return On(Rn.extended,t)}}set(t,r,n){return r.timestampIsSet?t:Et(t,t.getTime()-Ms(t)-n)}},YK=class extends Me{constructor(){super(...arguments);s(this,"priority",40);s(this,"incompatibleTokens","*")}parse(t){return qb(t)}set(t,r,n){return[Et(t,n*1e3),{timestampIsSet:!0}]}},KK=class extends Me{constructor(){super(...arguments);s(this,"priority",20);s(this,"incompatibleTokens","*")}parse(t){return qb(t)}set(t,r,n){return[Et(t,n),{timestampIsSet:!0}]}},QK={G:new fK,y:new gK,Y:new vK,R:new bK,u:new yK,Q:new _K,q:new wK,M:new xK,L:new EK,w:new kK,I:new IK,d:new TK,D:new MK,E:new RK,e:new OK,c:new PK,i:new LK,a:new FK,b:new jK,B:new VK,h:new BK,H:new zK,K:new HK,k:new qK,m:new GK,s:new $K,S:new UK,X:new WK,x:new ZK,t:new YK,T:new KK},JK=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,XK=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,eQ=/^'([^]*?)'?$/,tQ=/''/g,nQ=/\S/,rQ=/[a-zA-Z]/;function aQ(e,t,r,n){var S,N,L,A;let a=()=>Et(r,NaN),i=lK(),o=i.locale??Lb,l=i.firstWeekContainsDate??((N=(S=i.locale)==null?void 0:S.options)==null?void 0:N.firstWeekContainsDate)??1,h=i.weekStartsOn??((A=(L=i.locale)==null?void 0:L.options)==null?void 0:A.weekStartsOn)??0,u={firstWeekContainsDate:l,weekStartsOn:h,locale:o},c=[new mK(n==null?void 0:n.in,r)],m=t.match(XK).map(Y=>{let ne=Y[0];if(ne in lc){let ue=lc[ne];return ue(Y,o.formatLong)}return Y}).join("").match(JK),b=[];for(let Y of m){zb(Y)&&uc(Y,t,e),Bb(Y)&&uc(Y,t,e);let ne=Y[0],ue=QK[ne];if(ue){let{incompatibleTokens:dt}=ue;if(Array.isArray(dt)){let ze=b.find(ot=>dt.includes(ot.token)||ot.token===ne);if(ze)throw new RangeError(`The format string mustn't contain \`${ze.fullToken}\` and \`${Y}\` at the same time`)}else if(ue.incompatibleTokens==="*"&&b.length>0)throw new RangeError(`The format string mustn't contain \`${Y}\` and any other token at the same time`);b.push({token:ne,fullToken:Y});let et=ue.run(e,Y,o.match,u);if(!et)return a();c.push(et.setter),e=et.rest}else{if(ne.match(rQ))throw new RangeError("Format string contains an unescaped latin alphabet character `"+ne+"`");if(Y==="''"?Y="'":ne==="'"&&(Y=iQ(Y)),e.indexOf(Y)===0)e=e.slice(Y.length);else return a()}}if(e.length>0&&nQ.test(e))return a();let g=c.map(Y=>Y.priority).sort((Y,ne)=>ne-Y).filter((Y,ne,ue)=>ue.indexOf(Y)===ne).map(Y=>c.filter(ne=>ne.priority===Y).sort((ne,ue)=>ue.subPriority-ne.subPriority)).map(Y=>Y[0]),w=vt(r,n==null?void 0:n.in);if(isNaN(+w))return a();let x={};for(let Y of g){if(!Y.validate(w,u))return a();let ne=Y.set(w,x,u);Array.isArray(ne)?(w=ne[0],Object.assign(x,ne[1])):w=ne}return w}function iQ(e){return e.match(eQ)[1].replace(tQ,"'")}var I=function(e){return e.SEPARATOR="separator",e.PERCENT="percent",e.IP="IP",e.CPF_CNPJ="CPF_CNPJ",e.MONTH="M",e.MONTHS="M0",e.MINUTE="m",e.HOUR="h",e.HOURS="H",e.MINUTES="m0",e.HOURS_HOUR="Hh",e.SECONDS="s0",e.HOURS_MINUTES_SECONDS="Hh:m0:s0",e.EMAIL_MASK="A*@A*.A*",e.HOURS_MINUTES="Hh:m0",e.MINUTES_SECONDS="m0:s0",e.DAYS_MONTHS_YEARS="d0/M0/0000",e.DAYS_MONTHS="d0/M0",e.DAYS="d0",e.DAY="d",e.SECOND="s",e.LETTER_S="S",e.DOT=".",e.COMMA=",",e.CURLY_BRACKETS_LEFT="{",e.CURLY_BRACKETS_RIGHT="}",e.MINUS="-",e.OR="||",e.HASH="#",e.EMPTY_STRING="",e.SYMBOL_STAR="*",e.SYMBOL_QUESTION="?",e.SLASH="/",e.WHITE_SPACE=" ",e.NUMBER_ZERO="0",e.NUMBER_NINE="9",e.BACKSPACE="Backspace",e.DELETE="Delete",e.ARROW_LEFT="ArrowLeft",e.ARROW_UP="ArrowUp",e.DOUBLE_ZERO="00",e}(I||{}),Hd=new Q("ngx-mask config"),Ub=new Q("new ngx-mask config"),Wb=new Q("initial ngx-mask config"),oQ={suffix:"",prefix:"",thousandSeparator:" ",decimalMarker:[".",","],clearIfNotMatch:!1,showTemplate:!1,showMaskTyped:!1,placeHolderCharacter:"_",dropSpecialCharacters:!0,hiddenInput:null,shownMaskExpression:"",separatorLimit:"",allowNegativeNumbers:!1,validation:!0,specialCharacters:["-","/","(",")",".",":"," ","+",",","@","[","]",'"',"'"],leadZeroDateTime:!1,apm:!1,leadZero:!1,keepCharacterPositions:!1,triggerOnMaskChange:!1,inputTransformFn:e=>e,outputTransformFn:e=>e,maskFilled:new Ft,patterns:{0:{pattern:new RegExp("\\d")},9:{pattern:new RegExp("\\d"),optional:!0},X:{pattern:new RegExp("\\d"),symbol:"*"},A:{pattern:new RegExp("[a-zA-Z0-9]")},S:{pattern:new RegExp("[a-zA-Z]")},U:{pattern:new RegExp("[A-Z]")},L:{pattern:new RegExp("[a-z]")},d:{pattern:new RegExp("\\d")},m:{pattern:new RegExp("\\d")},M:{pattern:new RegExp("\\d")},H:{pattern:new RegExp("\\d")},h:{pattern:new RegExp("\\d")},s:{pattern:new RegExp("\\d")}}};I.HOURS_MINUTES_SECONDS,I.HOURS_MINUTES,I.MINUTES_SECONDS;I.PERCENT,I.HOURS_HOUR,I.SECONDS,I.MINUTES,I.SEPARATOR,I.DAYS_MONTHS_YEARS,I.DAYS_MONTHS,I.DAYS,I.MONTHS;var sQ=(()=>{const t=class t{constructor(){s(this,"_config",D(Hd));s(this,"dropSpecialCharacters",this._config.dropSpecialCharacters);s(this,"hiddenInput",this._config.hiddenInput);s(this,"showTemplate");s(this,"clearIfNotMatch",this._config.clearIfNotMatch);s(this,"specialCharacters",this._config.specialCharacters);s(this,"patterns",this._config.patterns);s(this,"prefix",this._config.prefix);s(this,"suffix",this._config.suffix);s(this,"thousandSeparator",this._config.thousandSeparator);s(this,"decimalMarker",this._config.decimalMarker);s(this,"customPattern");s(this,"showMaskTyped",this._config.showMaskTyped);s(this,"placeHolderCharacter",this._config.placeHolderCharacter);s(this,"validation",this._config.validation);s(this,"separatorLimit",this._config.separatorLimit);s(this,"allowNegativeNumbers",this._config.allowNegativeNumbers);s(this,"leadZeroDateTime",this._config.leadZeroDateTime);s(this,"leadZero",this._config.leadZero);s(this,"apm",this._config.apm);s(this,"inputTransformFn",this._config.inputTransformFn);s(this,"outputTransformFn",this._config.outputTransformFn);s(this,"keepCharacterPositions",this._config.keepCharacterPositions);s(this,"_shift",new Set);s(this,"plusOnePosition",!1);s(this,"maskExpression","");s(this,"actualValue","");s(this,"showKeepCharacterExp","");s(this,"shownMaskExpression","");s(this,"deletedSpecialCharacter",!1);s(this,"ipError");s(this,"cpfCnpjError");s(this,"_formatWithSeparators",(n,a,i,o)=>{var g;let l=[],h="";if(Array.isArray(i)){let w=new RegExp(i.map(x=>"[\\^$.|?*+()".indexOf(x)>=0?`\\${x}`:x).join("|"));l=n.split(w),h=((g=n.match(w))==null?void 0:g[0])??I.EMPTY_STRING}else l=n.split(i),h=i;let u=l.length>1?`${h}${l[1]}`:I.EMPTY_STRING,c=l[0]??I.EMPTY_STRING,m=this.separatorLimit.replace(/\s/g,I.EMPTY_STRING);m&&+m&&(c[0]===I.MINUS?c=`-${c.slice(1,c.length).slice(0,m.length)}`:c=c.slice(0,m.length));let b=/(\d+)(\d{3})/;for(;a&&b.test(c);)c=c.replace(b,"$1"+a+"$2");return typeof o>"u"?c+u:o===0?c:c+u.substring(0,o+1)});s(this,"percentage",n=>{let a=n.replace(",","."),i=Number(this.allowNegativeNumbers&&n.includes(I.MINUS)?a.slice(1,n.length):a);return!isNaN(i)&&i>=0&&i<=100});s(this,"getPrecision",n=>{let a=n.split(I.DOT);return a.length>1?Number(a[a.length-1]):1/0});s(this,"checkAndRemoveSuffix",n=>{var a,i,o,l;for(let h=((a=this.suffix)==null?void 0:a.length)-1;h>=0;h--){let u=this.suffix.substring(h,(i=this.suffix)==null?void 0:i.length);if(n.includes(u)&&h!==((o=this.suffix)==null?void 0:o.length)-1&&(h-1<0||!n.includes(this.suffix.substring(h-1,(l=this.suffix)==null?void 0:l.length))))return n.replace(u,I.EMPTY_STRING)}return n});s(this,"checkInputPrecision",(n,a,i)=>{var h;let o=n,l=i;if(a<1/0){Array.isArray(l)&&(l=l.find(g=>g!==this.thousandSeparator)||l[0]);let u=new RegExp(this._charToRegExpExpression(l)+`\\d{${a}}.*$`),c=o.match(u),m=(c&&((h=c[0])==null?void 0:h.length))??0;if(m-1>a){let b=m-1-a;o=o.substring(0,o.length-b)}a===0&&this._compareOrIncludes(o[o.length-1],l,this.thousandSeparator)&&(o=o.substring(0,o.length-1))}return o})}applyMaskWithPattern(n,a){let[i,o]=a;return this.customPattern=o,this.applyMask(n,i)}applyMask(n,a,i=0,o=!1,l=!1,h=()=>{}){var et,ze,ot;if(!a||typeof n!="string")return I.EMPTY_STRING;let u=0,c="",m=!1,b=!1,g=1,w=!1,x=n,S=i;x.slice(0,this.prefix.length)===this.prefix&&(x=x.slice(this.prefix.length,x.length)),this.suffix&&x.length>0&&(x=this.checkAndRemoveSuffix(x)),x==="("&&this.prefix&&(x="");let N=x.toString().split(I.EMPTY_STRING);if(this.allowNegativeNumbers&&x.slice(u,u+1)===I.MINUS&&(c+=x.slice(u,u+1)),a===I.IP){let Z=x.split(I.DOT);this.ipError=this._validIP(Z),a="099.099.099.099"}let L=[];for(let Z=0;Z<x.length;Z++)(et=x[Z])!=null&&et.match("\\d")&&L.push(x[Z]??I.EMPTY_STRING);if(a===I.CPF_CNPJ&&(this.cpfCnpjError=L.length!==11&&L.length!==14,L.length>11?a="00.000.000/0000-00":a="000.000.000-00"),a.startsWith(I.PERCENT)){if(x.match("[a-z]|[A-Z]")||x.match(/[-!$%^&*()_+|~=`{}\[\]:";'<>?,\/.]/)&&!l){x=this._stripToDecimal(x);let de=this.getPrecision(a);x=this.checkInputPrecision(x,de,this.decimalMarker)}let Z=typeof this.decimalMarker=="string"?this.decimalMarker:I.DOT;if(x.indexOf(Z)>0&&!this.percentage(x.substring(0,x.indexOf(Z)))){let de=x.substring(0,x.indexOf(Z)-1);this.allowNegativeNumbers&&x.slice(u,u+1)===I.MINUS&&!l&&(de=x.substring(0,x.indexOf(Z))),x=`${de}${x.substring(x.indexOf(Z),x.length)}`}let z="";this.allowNegativeNumbers&&x.slice(u,u+1)===I.MINUS?z=`${I.MINUS}${x.slice(u+1,u+x.length)}`:z=x,this.percentage(z)?c=this._splitPercentZero(x):c=this._splitPercentZero(x.substring(0,x.length-1))}else if(a.startsWith(I.SEPARATOR)){(x.match("[wа-яА-Я]")||x.match("[ЁёА-я]")||x.match("[a-z]|[A-Z]")||x.match(/[-@#!$%\\^&*()_£¬'+|~=`{}\]:";<>.?/]/)||x.match("[^A-Za-z0-9,]"))&&(x=this._stripToDecimal(x));let Z=this.getPrecision(a),z=Array.isArray(this.decimalMarker)?this.thousandSeparator===I.DOT?I.COMMA:I.DOT:this.decimalMarker;if(Z===0?x=this.allowNegativeNumbers?x.length>2&&x[0]===I.MINUS&&x[1]===I.NUMBER_ZERO&&x[2]!==this.thousandSeparator&&x[2]!==I.COMMA&&x[2]!==I.DOT?"-"+x.slice(2,x.length):x[0]===I.NUMBER_ZERO&&x.length>1&&x[1]!==this.thousandSeparator&&x[1]!==I.COMMA&&x[1]!==I.DOT?x.slice(1,x.length):x:x.length>1&&x[0]===I.NUMBER_ZERO&&x[1]!==this.thousandSeparator&&x[1]!==I.COMMA&&x[1]!==I.DOT?x.slice(1,x.length):x:(x[0]===z&&x.length>1&&(x=I.NUMBER_ZERO+x.slice(0,x.length+1),this.plusOnePosition=!0),x[0]===I.NUMBER_ZERO&&x[1]!==z&&x[1]!==this.thousandSeparator&&(x=x.length>1?x.slice(0,1)+z+x.slice(1,x.length+1):x,this.plusOnePosition=!0),this.allowNegativeNumbers&&x[0]===I.MINUS&&(x[1]===z||x[1]===I.NUMBER_ZERO)&&(x=x[1]===z&&x.length>2?x.slice(0,1)+I.NUMBER_ZERO+x.slice(1,x.length):x[1]===I.NUMBER_ZERO&&x.length>2&&x[2]!==z?x.slice(0,2)+z+x.slice(2,x.length):x,this.plusOnePosition=!0)),l){let Ee=x.slice(this._findFirstNonZeroDigitIndex(x),x.length),De=x[S]===I.NUMBER_ZERO||x[S]===z,Ze=x[0]===I.NUMBER_ZERO,pn=x[0]===I.MINUS,He=x[0]===this.thousandSeparator,Dt=x[1]===z,ht=x[1]===I.NUMBER_ZERO,Cn=x[2]===z;Ze&&Dt&&De&&S<2&&(x=Ee),pn&&ht&&Cn&&De&&S<3&&(x=I.MINUS+Ee),Ee!==I.MINUS&&(S===0&&(Ze||He)||this.allowNegativeNumbers&&S===1&&pn&&!ht)&&(x=pn?I.MINUS+Ee:Ee)}let de=this._charToRegExpExpression(this.thousandSeparator),P='@#!$%^&*()_+|~=`{}\\[\\]:\\s,\\.";<>?\\/'.replace(de,"");if(Array.isArray(this.decimalMarker))for(let Ee of this.decimalMarker)P=P.replace(this._charToRegExpExpression(Ee),I.EMPTY_STRING);else P=P.replace(this._charToRegExpExpression(this.decimalMarker),"");let j=new RegExp("["+P+"]");x.match(j)&&(x=x.substring(0,x.length-1)),x=this.checkInputPrecision(x,Z,this.decimalMarker);let G=x.replace(new RegExp(de,"g"),"");c=this._formatWithSeparators(G,this.thousandSeparator,this.decimalMarker,Z);let ve=c.indexOf(I.COMMA)-x.indexOf(I.COMMA),Ve=c.length-x.length,It=l&&c.length<n.length&&this.separatorLimit;if((c[S-1]===this.thousandSeparator||c[S-this.prefix.length])&&this.prefix&&l)S=S-1;else if(Ve>0&&c[S]!==this.thousandSeparator||It){b=!0;let Ee=0;do this._shift.add(S+Ee),Ee++;while(Ee<Ve)}else c[S-1]===this.thousandSeparator||Ve===-4||Ve===-3||c[S]===this.thousandSeparator?(this._shift.clear(),this._shift.add(S-1)):ve!==0&&S>0&&!(c.indexOf(I.COMMA)>=S&&S>3)||!(c.indexOf(I.DOT)>=S&&S>3)&&Ve<=0?(this._shift.clear(),b=!0,g=Ve,S+=Ve,this._shift.add(S)):this._shift.clear()}else for(let Z=0,z=N[0];Z<N.length&&u!==a.length;Z++,z=N[Z]??I.EMPTY_STRING){let de=I.SYMBOL_STAR in this.patterns;if(this._checkSymbolMask(z,a[u]??I.EMPTY_STRING)&&a[u+1]===I.SYMBOL_QUESTION)c+=z,u+=2;else if(a[u+1]===I.SYMBOL_STAR&&m&&this._checkSymbolMask(z,a[u+2]??I.EMPTY_STRING))c+=z,u+=3,m=!1;else if(this._checkSymbolMask(z,a[u]??I.EMPTY_STRING)&&a[u+1]===I.SYMBOL_STAR&&!de)c+=z,m=!0;else if(a[u+1]===I.SYMBOL_QUESTION&&this._checkSymbolMask(z,a[u+2]??I.EMPTY_STRING))c+=z,u+=3;else if(this._checkSymbolMask(z,a[u]??I.EMPTY_STRING)){if(a[u]===I.HOURS&&(this.apm?Number(z)>9:Number(z)>2)){S=this.leadZeroDateTime?S:S+1,u+=1,this._shiftStep(a,u,N.length),Z--,this.leadZeroDateTime&&(c+="0");continue}if(a[u]===I.HOUR&&(this.apm?c.length===1&&Number(c)>1||c==="1"&&Number(z)>2||x.slice(u-1,u).length===1&&Number(x.slice(u-1,u))>2||x.slice(u-1,u)==="1"&&Number(z)>2:c==="2"&&Number(z)>3||(c.slice(u-2,u)==="2"||c.slice(u-3,u)==="2"||c.slice(u-4,u)==="2"||c.slice(u-1,u)==="2")&&Number(z)>3&&u>10)){S=S+1,u+=1,Z--;continue}if((a[u]===I.MINUTE||a[u]===I.SECOND)&&Number(z)>5){S=this.leadZeroDateTime?S:S+1,u+=1,this._shiftStep(a,u,N.length),Z--,this.leadZeroDateTime&&(c+="0");continue}let P=31,j=x[u],G=x[u+1],ve=x[u+2],Ve=x[u-1],It=x[u-2],Ee=x.slice(u-3,u-1),De=x.slice(u-1,u+1),Ze=x.slice(u,u+2),pn=x.slice(u-2,u);if(a[u]===I.DAY){let He=a.slice(0,2)===I.MONTHS,Dt=a.slice(0,2)===I.MONTHS&&this.specialCharacters.includes(It);if(Number(z)>3&&this.leadZeroDateTime||!He&&(Number(Ze)>P||Number(De)>P||this.specialCharacters.includes(G))||(Dt?Number(De)>P||!this.specialCharacters.includes(j)&&this.specialCharacters.includes(ve)||this.specialCharacters.includes(j):Number(Ze)>P||this.specialCharacters.includes(G)&&!l)){S=this.leadZeroDateTime?S:S+1,u+=1,this._shiftStep(a,u,N.length),Z--,this.leadZeroDateTime&&(c+="0");continue}}if(a[u]===I.MONTH){let He=u===0&&(Number(z)>2||Number(Ze)>12||this.specialCharacters.includes(G)&&!l),Dt=a.slice(u+2,u+3),ht=Ee.includes(Dt)&&a.includes("d0")&&(this.specialCharacters.includes(It)&&Number(De)>12&&!this.specialCharacters.includes(j)||this.specialCharacters.includes(j)),Cn=Number(Ee)<=P&&!this.specialCharacters.includes(Ee)&&this.specialCharacters.includes(Ve)&&(Number(Ze)>12||this.specialCharacters.includes(G)),pr=Number(Ze)>12&&u===5||this.specialCharacters.includes(G)&&u===5,oo=Number(Ee)>P&&!this.specialCharacters.includes(Ee)&&!this.specialCharacters.includes(pn)&&Number(pn)>12&&a.includes("d0"),so=Number(Ee)<=P&&!this.specialCharacters.includes(Ee)&&!this.specialCharacters.includes(Ve)&&Number(De)>12;if(Number(z)>1&&this.leadZeroDateTime||He||ht||so||oo||Cn||pr&&!this.leadZeroDateTime){S=this.leadZeroDateTime?S:S+1,u+=1,this._shiftStep(a,u,N.length),Z--,this.leadZeroDateTime&&(c+="0");continue}}c+=z,u++}else this.specialCharacters.includes(z)&&a[u]===z?(c+=z,u++):this.specialCharacters.indexOf(a[u]??I.EMPTY_STRING)!==-1?(c+=a[u],u++,this._shiftStep(a,u,N.length),Z--):a[u]===I.NUMBER_NINE&&this.showMaskTyped?this._shiftStep(a,u,N.length):this.patterns[a[u]??I.EMPTY_STRING]&&((ze=this.patterns[a[u]??I.EMPTY_STRING])!=null&&ze.optional)?(N[u]&&a!=="099.099.099.099"&&a!=="000.000.000-00"&&a!=="00.000.000/0000-00"&&!a.match(/^9+\.0+$/)&&!((ot=this.patterns[a[u]??I.EMPTY_STRING])!=null&&ot.optional)&&(c+=N[u]),a.includes(I.NUMBER_NINE+I.SYMBOL_STAR)&&a.includes(I.NUMBER_ZERO+I.SYMBOL_STAR)&&u++,u++,Z--):this.maskExpression[u+1]===I.SYMBOL_STAR&&this._findSpecialChar(this.maskExpression[u+2]??I.EMPTY_STRING)&&this._findSpecialChar(z)===this.maskExpression[u+2]&&m||this.maskExpression[u+1]===I.SYMBOL_QUESTION&&this._findSpecialChar(this.maskExpression[u+2]??I.EMPTY_STRING)&&this._findSpecialChar(z)===this.maskExpression[u+2]&&m?(u+=3,c+=z):this.showMaskTyped&&this.specialCharacters.indexOf(z)<0&&z!==this.placeHolderCharacter&&this.placeHolderCharacter.length===1&&(w=!0)}c.length+1===a.length&&this.specialCharacters.indexOf(a[a.length-1]??I.EMPTY_STRING)!==-1&&(c+=a[a.length-1]);let A=S+1;for(;this._shift.has(A);)g++,A++;let Y=o&&!a.startsWith(I.SEPARATOR)?u:this._shift.has(S)?g:0;w&&Y--,h(Y,b),g<0&&this._shift.clear();let ne=!1;l&&(ne=N.every(Z=>this.specialCharacters.includes(Z)));let ue=`${this.prefix}${ne?I.EMPTY_STRING:c}${this.showMaskTyped?"":this.suffix}`;c.length===0&&(ue=this.dropSpecialCharacters?`${c}`:`${this.prefix}${c}`);let dt=x.length===1&&this.specialCharacters.includes(a[0])&&x!==a[0];if(!this._checkSymbolMask(x,a[1])&&dt)return"";if(c.includes(I.MINUS)&&this.prefix&&this.allowNegativeNumbers){if(l&&c===I.MINUS)return"";ue=`${I.MINUS}${this.prefix}${c.split(I.MINUS).join(I.EMPTY_STRING)}${this.suffix}`}return ue}_findDropSpecialChar(n){return Array.isArray(this.dropSpecialCharacters)?this.dropSpecialCharacters.find(a=>a===n):this._findSpecialChar(n)}_findSpecialChar(n){return this.specialCharacters.find(a=>a===n)}_checkSymbolMask(n,a){var i,o;return this.patterns=this.customPattern?this.customPattern:this.patterns,(((i=this.patterns[a])==null?void 0:i.pattern)&&((o=this.patterns[a])==null?void 0:o.pattern.test(n)))??!1}_stripToDecimal(n){return n.split(I.EMPTY_STRING).filter((a,i)=>{let o=typeof this.decimalMarker=="string"?a===this.decimalMarker:this.decimalMarker.includes(a);return a.match("^-?\\d")||a===this.thousandSeparator||o||a===I.MINUS&&i===0&&this.allowNegativeNumbers}).join(I.EMPTY_STRING)}_charToRegExpExpression(n){return n&&(n===" "?"\\s":"[\\^$.|?*+()".indexOf(n)>=0?`\\${n}`:n)}_shiftStep(n,a,i){let o=/[*?]/g.test(n.slice(0,a))?i:a;this._shift.add(o+this.prefix.length||0)}_compareOrIncludes(n,a,i){return Array.isArray(a)?a.filter(o=>o!==i).includes(n):n===a}_validIP(n){return!(n.length===4&&!n.some((a,i)=>n.length!==i+1?a===I.EMPTY_STRING||Number(a)>255:a===I.EMPTY_STRING||Number(a.substring(0,3))>255))}_splitPercentZero(n){if(n===I.MINUS&&this.allowNegativeNumbers)return n;let a=typeof this.decimalMarker=="string"?n.indexOf(this.decimalMarker):n.indexOf(I.DOT),i=this.allowNegativeNumbers&&n.includes(I.MINUS)?"-":"";if(a===-1){let o=parseInt(i?n.slice(1,n.length):n,10);return isNaN(o)?I.EMPTY_STRING:`${i}${o}`}else{let o=parseInt(n.replace("-","").substring(0,a),10),l=n.substring(a+1),h=isNaN(o)?"":o.toString(),u=typeof this.decimalMarker=="string"?this.decimalMarker:I.DOT;return h===I.EMPTY_STRING?I.EMPTY_STRING:`${i}${h}${u}${l}`}}_findFirstNonZeroDigitIndex(n){for(let a=0;a<n.length;a++){let i=n[a];if(i&&i>="1"&&i<="9")return a}return-1}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",U({token:t,factory:t.ɵfac}));let e=t;return e})(),lQ=(()=>{const t=class t extends sQ{constructor(){super(...arguments);s(this,"isNumberValue",!1);s(this,"maskIsShown","");s(this,"selStart",null);s(this,"selEnd",null);s(this,"writingValue",!1);s(this,"maskChanged",!1);s(this,"_maskExpressionArray",[]);s(this,"triggerOnMaskChange",!1);s(this,"_previousValue","");s(this,"_currentValue","");s(this,"_emitValue",!1);s(this,"_start");s(this,"_end");s(this,"onChange",a=>{});s(this,"_elementRef",D(Xt,{optional:!0}));s(this,"document",D(Le));s(this,"_config",D(Hd));s(this,"_renderer",D(Qs,{optional:!0}))}applyMask(a,i,o=0,l=!1,h=!1,u=()=>{}){if(!i)return a!==this.actualValue?this.actualValue:a;if(this.maskIsShown=this.showMaskTyped?this.showMaskInInput():I.EMPTY_STRING,this.maskExpression===I.IP&&this.showMaskTyped&&(this.maskIsShown=this.showMaskInInput(a||I.HASH)),this.maskExpression===I.CPF_CNPJ&&this.showMaskTyped&&(this.maskIsShown=this.showMaskInInput(a||I.HASH)),!a&&this.showMaskTyped)return this.formControlResult(this.prefix),`${this.prefix}${this.maskIsShown}${this.suffix}`;let c=a&&typeof this.selStart=="number"?a[this.selStart]??I.EMPTY_STRING:I.EMPTY_STRING,m="",b=o;if(this.hiddenInput!==null&&!this.writingValue){let S=a&&a.length===1?a.split(I.EMPTY_STRING):this.actualValue.split(I.EMPTY_STRING);typeof this.selStart=="object"&&typeof this.selEnd=="object"?(this.selStart=Number(this.selStart),this.selEnd=Number(this.selEnd)):a!==I.EMPTY_STRING&&S.length?typeof this.selStart=="number"&&typeof this.selEnd=="number"&&(a.length>S.length?S.splice(this.selStart,0,c):a.length<S.length&&(S.length-a.length===1?h?S.splice(this.selStart-1,1):S.splice(a.length-1,1):S.splice(this.selStart,this.selEnd-this.selStart))):S=[],this.showMaskTyped&&!this.hiddenInput&&(m=this.removeMask(a)),m=this.actualValue.length&&S.length<=a.length?this.shiftTypedSymbols(S.join(I.EMPTY_STRING)):a}if(l&&(this.hiddenInput||!this.hiddenInput)&&(m=a),h&&this.specialCharacters.indexOf(this.maskExpression[b]??I.EMPTY_STRING)!==-1&&this.showMaskTyped&&!this.prefix&&(m=this._currentValue),this.deletedSpecialCharacter&&b&&(this.specialCharacters.includes(this.actualValue.slice(b,b+1))?b=b+1:i.slice(b-1,b+1)!==I.MONTHS&&(b=b-2),this.deletedSpecialCharacter=!1),this.showMaskTyped&&this.placeHolderCharacter.length===1&&!this.leadZeroDateTime&&(m=this.removeMask(a)),this.maskChanged?m=a:m=m&&m.length?m:a,this.showMaskTyped&&this.keepCharacterPositions&&this.actualValue&&!l&&!this.writingValue){let S=this.dropSpecialCharacters?this.removeMask(this.actualValue):this.actualValue;return this.formControlResult(S),this.actualValue?this.actualValue:`${this.prefix}${this.maskIsShown}${this.suffix}`}let g=super.applyMask(m,i,b,l,h,u);if(this.actualValue=this.getActualValue(g),this.thousandSeparator===I.DOT&&this.decimalMarker===I.DOT&&(this.decimalMarker=I.COMMA),this.maskExpression.startsWith(I.SEPARATOR)&&this.dropSpecialCharacters===!0&&(this.specialCharacters=this.specialCharacters.filter(S=>!this._compareOrIncludes(S,this.decimalMarker,this.thousandSeparator))),(g||g==="")&&(this._previousValue=this._currentValue,this._currentValue=g,this._emitValue=this._previousValue!==this._currentValue||this.maskChanged||this.writingValue||this._previousValue===this._currentValue&&l),this._emitValue&&(this.writingValue&&this.triggerOnMaskChange?requestAnimationFrame(()=>this.formControlResult(g)):this.formControlResult(g)),!this.showMaskTyped||this.showMaskTyped&&this.hiddenInput)return this.hiddenInput?h?this.hideInput(g,this.maskExpression):`${this.hideInput(g,this.maskExpression)}${this.maskIsShown.slice(g.length)}`:g;let w=g.length,x=`${this.prefix}${this.maskIsShown}${this.suffix}`;if(this.maskExpression.includes(I.HOURS)){let S=this._numberSkipedSymbols(g);return`${g}${x.slice(w+S)}`}else if(this.maskExpression===I.IP||this.maskExpression===I.CPF_CNPJ)return`${g}${x}`;return`${g}${x.slice(w)}`}_numberSkipedSymbols(a){let i=/(^|\D)(\d\D)/g,o=i.exec(a),l=0;for(;o!=null;)l+=1,o=i.exec(a);return l}applyValueChanges(a,i,o,l=()=>{}){var u;let h=(u=this._elementRef)==null?void 0:u.nativeElement;h&&(h.value=this.applyMask(h.value,this.maskExpression,a,i,o,l),h!==this._getActiveElement()&&this.clearIfNotMatchFn())}hideInput(a,i){return a.split(I.EMPTY_STRING).map((o,l)=>{var h,u;return this.patterns&&this.patterns[i[l]??I.EMPTY_STRING]&&((h=this.patterns[i[l]??I.EMPTY_STRING])!=null&&h.symbol)?(u=this.patterns[i[l]??I.EMPTY_STRING])==null?void 0:u.symbol:o}).join(I.EMPTY_STRING)}getActualValue(a){let i=a.split(I.EMPTY_STRING).filter((o,l)=>{let h=this.maskExpression[l]??I.EMPTY_STRING;return this._checkSymbolMask(o,h)||this.specialCharacters.includes(h)&&o===h});return i.join(I.EMPTY_STRING)===a?i.join(I.EMPTY_STRING):a}shiftTypedSymbols(a){let i="";return(a&&a.split(I.EMPTY_STRING).map((o,l)=>{if(this.specialCharacters.includes(a[l+1]??I.EMPTY_STRING)&&a[l+1]!==this.maskExpression[l+1])return i=o,a[l+1];if(i.length){let h=i;return i=I.EMPTY_STRING,h}return o})||[]).join(I.EMPTY_STRING)}numberToString(a){return!a&&a!==0||this.maskExpression.startsWith(I.SEPARATOR)&&(this.leadZero||!this.dropSpecialCharacters)||this.maskExpression.startsWith(I.SEPARATOR)&&this.separatorLimit.length>14&&String(a).length>14?String(a):Number(a).toLocaleString("fullwide",{useGrouping:!1,maximumFractionDigits:20}).replace(`/${I.MINUS}/`,I.MINUS)}showMaskInInput(a){if(this.showMaskTyped&&this.shownMaskExpression){if(this.maskExpression.length!==this.shownMaskExpression.length)throw new Error("Mask expression must match mask placeholder length");return this.shownMaskExpression}else if(this.showMaskTyped){if(a){if(this.maskExpression===I.IP)return this._checkForIp(a);if(this.maskExpression===I.CPF_CNPJ)return this._checkForCpfCnpj(a)}return this.placeHolderCharacter.length===this.maskExpression.length?this.placeHolderCharacter:this.maskExpression.replace(/\w/g,this.placeHolderCharacter)}return""}clearIfNotMatchFn(){var i;let a=(i=this._elementRef)==null?void 0:i.nativeElement;a&&this.clearIfNotMatch&&this.prefix.length+this.maskExpression.length+this.suffix.length!==a.value.replace(this.placeHolderCharacter,I.EMPTY_STRING).length&&(this.formElementProperty=["value",I.EMPTY_STRING],this.applyMask("",this.maskExpression))}set formElementProperty([a,i]){!this._renderer||!this._elementRef||Promise.resolve().then(()=>{var o,l;return(l=this._renderer)==null?void 0:l.setProperty((o=this._elementRef)==null?void 0:o.nativeElement,a,i)})}checkDropSpecialCharAmount(a){return a.split(I.EMPTY_STRING).filter(i=>this._findDropSpecialChar(i)).length}removeMask(a){return this._removeMask(this._removeSuffix(this._removePrefix(a)),this.specialCharacters.concat("_").concat(this.placeHolderCharacter))}_checkForIp(a){if(a===I.HASH)return`${this.placeHolderCharacter}.${this.placeHolderCharacter}.${this.placeHolderCharacter}.${this.placeHolderCharacter}`;let i=[];for(let o=0;o<a.length;o++){let l=a[o]??I.EMPTY_STRING;l&&l.match("\\d")&&i.push(l)}return i.length<=3?`${this.placeHolderCharacter}.${this.placeHolderCharacter}.${this.placeHolderCharacter}`:i.length>3&&i.length<=6?`${this.placeHolderCharacter}.${this.placeHolderCharacter}`:i.length>6&&i.length<=9?this.placeHolderCharacter:""}_checkForCpfCnpj(a){let i=`${this.placeHolderCharacter}${this.placeHolderCharacter}${this.placeHolderCharacter}.${this.placeHolderCharacter}${this.placeHolderCharacter}${this.placeHolderCharacter}.${this.placeHolderCharacter}${this.placeHolderCharacter}${this.placeHolderCharacter}-${this.placeHolderCharacter}${this.placeHolderCharacter}`,o=`${this.placeHolderCharacter}${this.placeHolderCharacter}.${this.placeHolderCharacter}${this.placeHolderCharacter}${this.placeHolderCharacter}.${this.placeHolderCharacter}${this.placeHolderCharacter}${this.placeHolderCharacter}/${this.placeHolderCharacter}${this.placeHolderCharacter}${this.placeHolderCharacter}${this.placeHolderCharacter}-${this.placeHolderCharacter}${this.placeHolderCharacter}`;if(a===I.HASH)return i;let l=[];for(let h=0;h<a.length;h++){let u=a[h]??I.EMPTY_STRING;u&&u.match("\\d")&&l.push(u)}return l.length<=3?i.slice(l.length,i.length):l.length>3&&l.length<=6?i.slice(l.length+1,i.length):l.length>6&&l.length<=9?i.slice(l.length+2,i.length):l.length>9&&l.length<11?i.slice(l.length+3,i.length):l.length===11?"":l.length===12?a.length===17?o.slice(16,o.length):o.slice(15,o.length):l.length>12&&l.length<=14?o.slice(l.length+4,o.length):""}_getActiveElement(a=this.document){var o;let i=(o=a==null?void 0:a.activeElement)==null?void 0:o.shadowRoot;return i!=null&&i.activeElement?this._getActiveElement(i):a.activeElement}formControlResult(a){if(this.writingValue&&!a){this.onChange("");return}if(this.writingValue||!this.triggerOnMaskChange&&this.maskChanged){this.triggerOnMaskChange&&this.maskChanged&&this.onChange(this.outputTransformFn(this._toNumber(this._checkSymbols(this._removeSuffix(this._removePrefix(a)))))),this.maskChanged=!1;return}Array.isArray(this.dropSpecialCharacters)?this.onChange(this.outputTransformFn(this._toNumber(this._checkSymbols(this._removeMask(this._removeSuffix(this._removePrefix(a)),this.dropSpecialCharacters))))):this.dropSpecialCharacters||!this.dropSpecialCharacters&&this.prefix===a?this.onChange(this.outputTransformFn(this._toNumber(this._checkSymbols(this._removeSuffix(this._removePrefix(a)))))):this.onChange(this.outputTransformFn(this._toNumber(a)))}_toNumber(a){if(!this.isNumberValue||a===I.EMPTY_STRING||this.maskExpression.startsWith(I.SEPARATOR)&&(this.leadZero||!this.dropSpecialCharacters))return a;if(String(a).length>14&&this.maskExpression.startsWith(I.SEPARATOR))return String(a);let i=Number(a);if(this.maskExpression.startsWith(I.SEPARATOR)&&Number.isNaN(i)){let o=String(a).replace(",",".");return Number(o)}return Number.isNaN(i)?a:i}_removeMask(a,i){return this.maskExpression.startsWith(I.PERCENT)&&a.includes(I.DOT)?a:a&&a.replace(this._regExpForRemove(i),I.EMPTY_STRING)}_removePrefix(a){return this.prefix?a&&a.replace(this.prefix,I.EMPTY_STRING):a}_removeSuffix(a){return this.suffix?a&&a.replace(this.suffix,I.EMPTY_STRING):a}_retrieveSeparatorValue(a){let i=Array.isArray(this.dropSpecialCharacters)?this.specialCharacters.filter(o=>this.dropSpecialCharacters.includes(o)):this.specialCharacters;return!this.deletedSpecialCharacter&&this._checkPatternForSpace()&&a.includes(I.WHITE_SPACE)&&this.maskExpression.includes(I.SYMBOL_STAR)&&(i=i.filter(o=>o!==I.WHITE_SPACE)),this._removeMask(a,i)}_regExpForRemove(a){return new RegExp(a.map(i=>`\\${i}`).join("|"),"gi")}_replaceDecimalMarkerToDot(a){let i=Array.isArray(this.decimalMarker)?this.decimalMarker:[this.decimalMarker];return a.replace(this._regExpForRemove(i),I.DOT)}_checkSymbols(a){let i=a;if(i===I.EMPTY_STRING)return i;this.maskExpression.startsWith(I.PERCENT)&&this.decimalMarker===I.COMMA&&(i=i.replace(I.COMMA,I.DOT));let o=this._retrieveSeparatorPrecision(this.maskExpression),l=this._replaceDecimalMarkerToDot(this._retrieveSeparatorValue(i));return this.isNumberValue&&o?i===this.decimalMarker?null:l.length>14?String(l):this._checkPrecision(this.maskExpression,l):l}_checkPatternForSpace(){var a,i,o;for(let l in this.patterns)if(this.patterns[l]&&((a=this.patterns[l])!=null&&a.hasOwnProperty("pattern"))){let h=(i=this.patterns[l])==null?void 0:i.pattern.toString(),u=(o=this.patterns[l])==null?void 0:o.pattern;if(h!=null&&h.includes(I.WHITE_SPACE)&&(u!=null&&u.test(this.maskExpression)))return!0}return!1}_retrieveSeparatorPrecision(a){let i=a.match(new RegExp("^separator\\.([^d]*)"));return i?Number(i[1]):null}_checkPrecision(a,i){let o=this.getPrecision(a),l=i;return a.indexOf("2")>0||this.leadZero&&Number(o)>0?(this.decimalMarker===I.COMMA&&this.leadZero&&(l=l.replace(",",".")),this.leadZero?Number(l).toFixed(Number(o)):Number(l).toFixed(2)):this.numberToString(l)}_repeatPatternSymbols(a){return a.match(/{[0-9]+}/)&&a.split(I.EMPTY_STRING).reduce((i,o,l)=>{if(this._start=o===I.CURLY_BRACKETS_LEFT?l:this._start,o!==I.CURLY_BRACKETS_RIGHT)return this._findSpecialChar(o)?i+o:i;this._end=l;let h=Number(a.slice(this._start+1,this._end)),u=new Array(h+1).join(a[this._start-1]);if(a.slice(0,this._start).length>1&&a.includes(I.LETTER_S)){let c=a.slice(0,this._start-1);return c.includes(I.CURLY_BRACKETS_LEFT)?i+u:c+i+u}else return i+u},"")||a}currentLocaleDecimalMarker(){return 1.1.toLocaleString().substring(1,2)}};s(t,"ɵfac",(()=>{let a;return function(i){return(a||(a=En(t)))(i||t)}})()),s(t,"ɵprov",U({token:t,factory:t.ɵfac}));let e=t;return e})();function uQ(){let e=D(Wb),t=D(Ub);return t instanceof Function?ge(ge({},e),t()):ge(ge({},e),t)}function cQ(e){return[{provide:Ub,useValue:e},{provide:Wb,useValue:oQ},{provide:Hd,useFactory:uQ},lQ]}function dQ(e){return Cc(cQ(e))}var li=class extends Error{};li.prototype.name="InvalidTokenError";function hQ(e){return decodeURIComponent(atob(e).replace(/(.)/g,(t,r)=>{let n=r.charCodeAt(0).toString(16).toUpperCase();return n.length<2&&(n="0"+n),"%"+n}))}function pQ(e){let t=e.replace(/-/g,"+").replace(/_/g,"/");switch(t.length%4){case 0:break;case 2:t+="==";break;case 3:t+="=";break;default:throw new Error("base64 string is not of the correct length")}try{return hQ(t)}catch{return atob(t)}}function mQ(e,t){if(typeof e!="string")throw new li("Invalid token specified: must be a string");t||(t={});let r=t.header===!0?0:1,n=e.split(".")[r];if(typeof n!="string")throw new li(`Invalid token specified: missing part #${r+1}`);let a;try{a=pQ(n)}catch(i){throw new li(`Invalid token specified: invalid base64 for part #${r+1} (${i.message})`)}try{return JSON.parse(a)}catch(i){throw new li(`Invalid token specified: invalid json for part #${r+1} (${i.message})`)}}function fQ(e){var t,r,n,a;return((r=(t=e.userProfile)==null?void 0:t.children)==null?void 0:r.length)>0?e.userProfile.children[0].ssin:((a=(n=e.userProfile)==null?void 0:n.mandators)==null?void 0:a.length)>0?e.userProfile.mandators[0].ssin:e.userProfile.ssin}var gQ=(()=>{const t=class t{registerAccessToken(n){this.getLocalAccessToken=n}getAccessToken(){return ea(this.getLocalAccessToken("nihii-vidis"))}getSsin(){return nr(this,null,function*(){if(this._isProfessional===!0)return this._patientSsin;let n=yield this.decodedToken();return fQ(n)})}getPatientInfo(){return nr(this,null,function*(){return(yield this.decodedToken()).userProfile})}isMandator(){return nr(this,null,function*(){var n,a;return((a=(n=(yield this.decodedToken()).userProfile)==null?void 0:n.mandators)==null?void 0:a.length)>0})}decodedToken(){return nr(this,null,function*(){return mQ(yield this.getLocalAccessToken("nihii-vidis"))})}get isProfessional(){return this._isProfessional}set isProfessional(n){this._isProfessional=n}get patientSsin(){return this._patientSsin}set patientSsin(n){this._patientSsin=n}};t.ɵfac=function(n){return new(n||t)},t.ɵprov=U({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),vQ=(()=>{const t=class t{constructor(){this._isProfessional=!1,this._patientSsin=""}getAccessToken(){return _t("demo token")}getSsin(){return nr(this,null,function*(){return Promise.resolve("00000000097")})}getPatientInfo(){return Promise.resolve({firstName:"John",lastName:"Doe",ssin:"00000000097"})}isMandator(){return nr(this,null,function*(){return Promise.resolve(!1)})}registerAccessToken(n){}get isProfessional(){return this._isProfessional}set isProfessional(n){this._isProfessional=n}get patientSsin(){return this._patientSsin}set patientSsin(n){this._patientSsin=n}};t.ɵfac=function(n){return new(n||t)},t.ɵprov=U({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})();function bQ(e){return e.firstName&&e.lastName?e.firstName+" "+e.lastName:e.name}var yQ={fr:["fr","nl","de","en"],nl:["nl","fr","de","en"],de:["de","fr","nl","en"],en:["en","nl","fr","de"]};function Zb(e,t){if(e){t=t==null?void 0:t.substring(0,2);for(let r of yQ[t]){let n=e.find(a=>a.lang===r);if(n)return n.value}return e.length>0?e[0].value:"Missing translation"}}var _Q=(()=>{const t=class t{constructor(){this.translate=D(Hn)}transform(n){return this.findTranslation(n.name)+" "+(n.prefix?n.prefix+" ":"")+(n.value?n.value+" ":"")+(n.unit?this.translate.instant("commons.units."+n.unit,{count:n.value||1}):"")}findTranslation(n){return Zb(n,this.translate.currentLang)}};t.ɵfac=function(n){return new(n||t)},t.ɵprov=U({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),wQ={HandsetPortrait:"(max-width: 599.98px) and (orientation: portrait)"};function xQ(e,t){if(e&1){let r=r0();ke(0,"div",1)(1,"button",2),el("click",function(){tg(r);let n=Rt();return ng(n.action())}),Ae(2),Ce()()}if(e&2){let r=Rt();we(2),lr(" ",r.data.action," ")}}var EQ=["label"];function SQ(e,t){}var kQ=Math.pow(2,31)-1,cc=class{constructor(e,t){s(this,"_overlayRef");s(this,"instance");s(this,"containerInstance");s(this,"_afterDismissed",new Pe);s(this,"_afterOpened",new Pe);s(this,"_onAction",new Pe);s(this,"_durationTimeoutId");s(this,"_dismissedByAction",!1);this._overlayRef=t,this.containerInstance=e,e._onExit.subscribe(()=>this._finishDismiss())}dismiss(){this._afterDismissed.closed||this.containerInstance.exit(),clearTimeout(this._durationTimeoutId)}dismissWithAction(){this._onAction.closed||(this._dismissedByAction=!0,this._onAction.next(),this._onAction.complete(),this.dismiss()),clearTimeout(this._durationTimeoutId)}closeWithAction(){this.dismissWithAction()}_dismissAfter(e){this._durationTimeoutId=setTimeout(()=>this.dismiss(),Math.min(e,kQ))}_open(){this._afterOpened.closed||(this._afterOpened.next(),this._afterOpened.complete())}_finishDismiss(){this._overlayRef.dispose(),this._onAction.closed||this._onAction.complete(),this._afterDismissed.next({dismissedByAction:this._dismissedByAction}),this._afterDismissed.complete(),this._dismissedByAction=!1}afterDismissed(){return this._afterDismissed}afterOpened(){return this.containerInstance._onEnter}onAction(){return this._onAction}},Yb=new Q("MatSnackBarData"),Os=class{constructor(){s(this,"politeness","assertive");s(this,"announcementMessage","");s(this,"viewContainerRef");s(this,"duration",0);s(this,"panelClass");s(this,"direction");s(this,"data",null);s(this,"horizontalPosition","center");s(this,"verticalPosition","bottom")}},CQ=(()=>{const t=class t{};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵdir",hr({type:t,selectors:[["","matSnackBarLabel",""]],hostAttrs:[1,"mat-mdc-snack-bar-label","mdc-snackbar__label"]}));let e=t;return e})(),IQ=(()=>{const t=class t{};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵdir",hr({type:t,selectors:[["","matSnackBarActions",""]],hostAttrs:[1,"mat-mdc-snack-bar-actions","mdc-snackbar__actions"]}));let e=t;return e})(),DQ=(()=>{const t=class t{};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵdir",hr({type:t,selectors:[["","matSnackBarAction",""]],hostAttrs:[1,"mat-mdc-snack-bar-action","mdc-snackbar__action"]}));let e=t;return e})(),NQ=(()=>{const t=class t{constructor(){s(this,"snackBarRef",D(cc));s(this,"data",D(Yb))}action(){this.snackBarRef.dismissWithAction()}get hasAction(){return!!this.data.action}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵcmp",Ct({type:t,selectors:[["simple-snack-bar"]],hostAttrs:[1,"mat-mdc-simple-snack-bar"],exportAs:["matSnackBar"],decls:3,vars:2,consts:[["matSnackBarLabel",""],["matSnackBarActions",""],["mat-button","","matSnackBarAction","",3,"click"]],template:function(n,a){n&1&&(ke(0,"div",0),Ae(1),Ce(),Wt(2,xQ,3,1,"div",1)),n&2&&(we(),lr(" ",a.data.message,`
27
+ `),we(),sn(a.hasAction?2:-1))},dependencies:[uW,CQ,IQ,DQ],styles:[`.mat-mdc-simple-snack-bar{display:flex}
28
+ `],encapsulation:2,changeDetection:0}));let e=t;return e})(),nu="_mat-snack-bar-enter",ru="_mat-snack-bar-exit",TQ=(()=>{const t=class t extends Nd{constructor(){super();s(this,"_ngZone",D(je));s(this,"_elementRef",D(Xt));s(this,"_changeDetectorRef",D(nl));s(this,"_platform",D(qn));s(this,"_rendersRef");s(this,"_animationsDisabled",D(Yi,{optional:!0})==="NoopAnimations");s(this,"snackBarConfig",D(Os));s(this,"_document",D(Le));s(this,"_trackedModals",new Set);s(this,"_enterFallback");s(this,"_exitFallback");s(this,"_renders",new Pe);s(this,"_announceDelay",150);s(this,"_announceTimeoutId");s(this,"_destroyed",!1);s(this,"_portalOutlet");s(this,"_onAnnounce",new Pe);s(this,"_onExit",new Pe);s(this,"_onEnter",new Pe);s(this,"_animationState","void");s(this,"_live");s(this,"_label");s(this,"_role");s(this,"_liveElementId",D(eb).getId("mat-snack-bar-container-live-"));s(this,"attachDomPortal",a=>{this._assertNotAttached();let i=this._portalOutlet.attachDomPortal(a);return this._afterPortalAttached(),i});let a=this.snackBarConfig;a.politeness==="assertive"&&!a.announcementMessage?this._live="assertive":a.politeness==="off"?this._live="off":this._live="polite",this._platform.FIREFOX&&(this._live==="polite"&&(this._role="status"),this._live==="assertive"&&(this._role="alert")),this._rendersRef=qg(()=>this._renders.next(),{manualCleanup:!0})}attachComponentPortal(a){this._assertNotAttached();let i=this._portalOutlet.attachComponentPortal(a);return this._afterPortalAttached(),i}attachTemplatePortal(a){this._assertNotAttached();let i=this._portalOutlet.attachTemplatePortal(a);return this._afterPortalAttached(),i}onAnimationEnd(a){a===ru?this._completeExit():a===nu&&(clearTimeout(this._enterFallback),this._ngZone.run(()=>{this._onEnter.next(),this._onEnter.complete()}))}enter(){this._destroyed||(this._animationState="visible",this._changeDetectorRef.markForCheck(),this._changeDetectorRef.detectChanges(),this._screenReaderAnnounce(),this._animationsDisabled?this._renders.pipe(rr(1)).subscribe(()=>{this._ngZone.run(()=>queueMicrotask(()=>this.onAnimationEnd(nu)))}):(clearTimeout(this._enterFallback),this._enterFallback=setTimeout(()=>{this._elementRef.nativeElement.classList.add("mat-snack-bar-fallback-visible"),this.onAnimationEnd(nu)},200)))}exit(){return this._destroyed?_t(void 0):(this._ngZone.run(()=>{this._animationState="hidden",this._changeDetectorRef.markForCheck(),this._elementRef.nativeElement.setAttribute("mat-exit",""),clearTimeout(this._announceTimeoutId),this._animationsDisabled?this._renders.pipe(rr(1)).subscribe(()=>{this._ngZone.run(()=>queueMicrotask(()=>this.onAnimationEnd(ru)))}):(clearTimeout(this._exitFallback),this._exitFallback=setTimeout(()=>this.onAnimationEnd(ru),200))}),this._onExit)}ngOnDestroy(){this._destroyed=!0,this._clearFromModals(),this._completeExit(),this._renders.complete(),this._rendersRef.destroy()}_completeExit(){clearTimeout(this._exitFallback),queueMicrotask(()=>{this._onExit.next(),this._onExit.complete()})}_afterPortalAttached(){let a=this._elementRef.nativeElement,i=this.snackBarConfig.panelClass;i&&(Array.isArray(i)?i.forEach(h=>a.classList.add(h)):a.classList.add(i)),this._exposeToModals();let o=this._label.nativeElement,l="mdc-snackbar__label";o.classList.toggle(l,!o.querySelector(`.${l}`))}_exposeToModals(){let a=this._liveElementId,i=this._document.querySelectorAll('body > .cdk-overlay-container [aria-modal="true"]');for(let o=0;o<i.length;o++){let l=i[o],h=l.getAttribute("aria-owns");this._trackedModals.add(l),h?h.indexOf(a)===-1&&l.setAttribute("aria-owns",h+" "+a):l.setAttribute("aria-owns",a)}}_clearFromModals(){this._trackedModals.forEach(a=>{let i=a.getAttribute("aria-owns");if(i){let o=i.replace(this._liveElementId,"").trim();o.length>0?a.setAttribute("aria-owns",o):a.removeAttribute("aria-owns")}}),this._trackedModals.clear()}_assertNotAttached(){this._portalOutlet.hasAttached()}_screenReaderAnnounce(){this._announceTimeoutId||this._ngZone.runOutsideAngular(()=>{this._announceTimeoutId=setTimeout(()=>{if(this._destroyed)return;let a=this._elementRef.nativeElement,i=a.querySelector("[aria-hidden]"),o=a.querySelector("[aria-live]");if(i&&o){let l=null;this._platform.isBrowser&&document.activeElement instanceof HTMLElement&&i.contains(document.activeElement)&&(l=document.activeElement),i.removeAttribute("aria-hidden"),o.appendChild(i),l==null||l.focus(),this._onAnnounce.next(),this._onAnnounce.complete()}},this._announceDelay)})}};s(t,"ɵfac",function(a){return new(a||t)}),s(t,"ɵcmp",Ct({type:t,selectors:[["mat-snack-bar-container"]],viewQuery:function(a,i){if(a&1&&(tp(Ap,7),tp(EQ,7)),a&2){let o;np(o=rp())&&(i._portalOutlet=o.first),np(o=rp())&&(i._label=o.first)}},hostAttrs:[1,"mdc-snackbar","mat-mdc-snack-bar-container"],hostVars:6,hostBindings:function(a,i){a&1&&el("animationend",function(o){return i.onAnimationEnd(o.animationName)})("animationcancel",function(o){return i.onAnimationEnd(o.animationName)}),a&2&&Dr("mat-snack-bar-container-enter",i._animationState==="visible")("mat-snack-bar-container-exit",i._animationState==="hidden")("mat-snack-bar-container-animations-enabled",!i._animationsDisabled)},features:[Tr],decls:6,vars:3,consts:[["label",""],[1,"mdc-snackbar__surface","mat-mdc-snackbar-surface"],[1,"mat-mdc-snack-bar-label"],["aria-hidden","true"],["cdkPortalOutlet",""]],template:function(a,i){a&1&&(ke(0,"div",1)(1,"div",2,0)(3,"div",3),Wt(4,SQ,0,0,"ng-template",4),Ce(),Yt(5,"div"),Ce()()),a&2&&(we(5),Ha("aria-live",i._live)("role",i._role)("id",i._liveElementId))},dependencies:[Ap],styles:[`@keyframes _mat-snack-bar-enter{from{transform:scale(0.8);opacity:0}to{transform:scale(1);opacity:1}}@keyframes _mat-snack-bar-exit{from{opacity:1}to{opacity:0}}.mat-mdc-snack-bar-container{display:flex;align-items:center;justify-content:center;box-sizing:border-box;-webkit-tap-highlight-color:rgba(0,0,0,0);margin:8px}.mat-mdc-snack-bar-handset .mat-mdc-snack-bar-container{width:100vw}.mat-snack-bar-container-animations-enabled{opacity:0}.mat-snack-bar-container-animations-enabled.mat-snack-bar-fallback-visible{opacity:1}.mat-snack-bar-container-animations-enabled.mat-snack-bar-container-enter{animation:_mat-snack-bar-enter 150ms cubic-bezier(0, 0, 0.2, 1) forwards}.mat-snack-bar-container-animations-enabled.mat-snack-bar-container-exit{animation:_mat-snack-bar-exit 75ms cubic-bezier(0.4, 0, 1, 1) forwards}.mat-mdc-snackbar-surface{box-shadow:0px 3px 5px -1px rgba(0, 0, 0, 0.2), 0px 6px 10px 0px rgba(0, 0, 0, 0.14), 0px 1px 18px 0px rgba(0, 0, 0, 0.12);display:flex;align-items:center;justify-content:flex-start;box-sizing:border-box;padding-left:0;padding-right:8px}[dir=rtl] .mat-mdc-snackbar-surface{padding-right:0;padding-left:8px}.mat-mdc-snack-bar-container .mat-mdc-snackbar-surface{min-width:344px;max-width:672px}.mat-mdc-snack-bar-handset .mat-mdc-snackbar-surface{width:100%;min-width:0}@media(forced-colors: active){.mat-mdc-snackbar-surface{outline:solid 1px}}.mat-mdc-snack-bar-container .mat-mdc-snackbar-surface{color:var(--mdc-snackbar-supporting-text-color, var(--mat-sys-inverse-on-surface));border-radius:var(--mdc-snackbar-container-shape, var(--mat-sys-corner-extra-small));background-color:var(--mdc-snackbar-container-color, var(--mat-sys-inverse-surface))}.mdc-snackbar__label{width:100%;flex-grow:1;box-sizing:border-box;margin:0;padding:14px 8px 14px 16px}[dir=rtl] .mdc-snackbar__label{padding-left:8px;padding-right:16px}.mat-mdc-snack-bar-container .mdc-snackbar__label{font-family:var(--mdc-snackbar-supporting-text-font, var(--mat-sys-body-medium-font));font-size:var(--mdc-snackbar-supporting-text-size, var(--mat-sys-body-medium-size));font-weight:var(--mdc-snackbar-supporting-text-weight, var(--mat-sys-body-medium-weight));line-height:var(--mdc-snackbar-supporting-text-line-height, var(--mat-sys-body-medium-line-height))}.mat-mdc-snack-bar-actions{display:flex;flex-shrink:0;align-items:center;box-sizing:border-box}.mat-mdc-snack-bar-handset,.mat-mdc-snack-bar-container,.mat-mdc-snack-bar-label{flex:1 1 auto}.mat-mdc-snack-bar-container .mat-mdc-button.mat-mdc-snack-bar-action:not(:disabled).mat-unthemed{color:var(--mat-snack-bar-button-color, var(--mat-sys-inverse-primary))}.mat-mdc-snack-bar-container .mat-mdc-button.mat-mdc-snack-bar-action:not(:disabled){--mat-text-button-state-layer-color:currentColor;--mat-text-button-ripple-color:currentColor}.mat-mdc-snack-bar-container .mat-mdc-button.mat-mdc-snack-bar-action:not(:disabled) .mat-ripple-element{opacity:.1}
29
+ `],encapsulation:2}));let e=t;return e})();function MQ(){return new Os}var RQ=new Q("mat-snack-bar-default-options",{providedIn:"root",factory:MQ}),OQ=(()=>{const t=class t{constructor(){s(this,"_overlay",D(nW));s(this,"_live",D(m6));s(this,"_injector",D(Tt));s(this,"_breakpointObserver",D(u6));s(this,"_parentSnackBar",D(t,{optional:!0,skipSelf:!0}));s(this,"_defaultConfig",D(RQ));s(this,"_snackBarRefAtThisLevel",null);s(this,"simpleSnackBarComponent",NQ);s(this,"snackBarContainerComponent",TQ);s(this,"handsetCssClass","mat-mdc-snack-bar-handset")}get _openedSnackBarRef(){let n=this._parentSnackBar;return n?n._openedSnackBarRef:this._snackBarRefAtThisLevel}set _openedSnackBarRef(n){this._parentSnackBar?this._parentSnackBar._openedSnackBarRef=n:this._snackBarRefAtThisLevel=n}openFromComponent(n,a){return this._attach(n,a)}openFromTemplate(n,a){return this._attach(n,a)}open(n,a="",i){let o=ge(ge({},this._defaultConfig),i);return o.data={message:n,action:a},o.announcementMessage===n&&(o.announcementMessage=void 0),this.openFromComponent(this.simpleSnackBarComponent,o)}dismiss(){this._openedSnackBarRef&&this._openedSnackBarRef.dismiss()}ngOnDestroy(){this._snackBarRefAtThisLevel&&this._snackBarRefAtThisLevel.dismiss()}_attachSnackBarContainer(n,a){let i=a&&a.viewContainerRef&&a.viewContainerRef.injector,o=Tt.create({parent:i||this._injector,providers:[{provide:Os,useValue:a}]}),l=new Xu(this.snackBarContainerComponent,a.viewContainerRef,o),h=n.attach(l);return h.instance.snackBarConfig=a,h.instance}_attach(n,a){let i=ge(ge(ge({},new Os),this._defaultConfig),a),o=this._createOverlay(i),l=this._attachSnackBarContainer(o,i),h=new cc(l,o);if(n instanceof Ii){let u=new nb(n,null,{$implicit:i.data,snackBarRef:h});h.instance=l.attachTemplatePortal(u)}else{let u=this._createInjector(i,h),c=new Xu(n,void 0,u),m=l.attachComponentPortal(c);h.instance=m.instance}return this._breakpointObserver.observe(wQ.HandsetPortrait).pipe(Fi(o.detachments())).subscribe(u=>{o.overlayElement.classList.toggle(this.handsetCssClass,u.matches)}),i.announcementMessage&&l._onAnnounce.subscribe(()=>{this._live.announce(i.announcementMessage,i.politeness)}),this._animateSnackBar(h,i),this._openedSnackBarRef=h,this._openedSnackBarRef}_animateSnackBar(n,a){n.afterDismissed().subscribe(()=>{this._openedSnackBarRef==n&&(this._openedSnackBarRef=null),a.announcementMessage&&this._live.clear()}),a.duration&&a.duration>0&&n.afterOpened().subscribe(()=>n._dismissAfter(a.duration)),this._openedSnackBarRef?(this._openedSnackBarRef.afterDismissed().subscribe(()=>{n.containerInstance.enter()}),this._openedSnackBarRef.dismiss()):n.containerInstance.enter()}_createOverlay(n){let a=new ib;a.direction=n.direction;let i=this._overlay.position().global(),o=n.direction==="rtl",l=n.horizontalPosition==="left"||n.horizontalPosition==="start"&&!o||n.horizontalPosition==="end"&&o,h=!l&&n.horizontalPosition!=="center";return l?i.left("0"):h?i.right("0"):i.centerHorizontally(),n.verticalPosition==="top"?i.top("0"):i.bottom("0"),a.positionStrategy=i,this._overlay.create(a)}_createInjector(n,a){let i=n&&n.viewContainerRef&&n.viewContainerRef.injector;return Tt.create({parent:i||this._injector,providers:[{provide:cc,useValue:a},{provide:Yb,useValue:n.data}]})}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",U({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),PQ=(()=>{const t=class t{constructor(){this.snackbar=D(OQ),this.translate=D(Hn)}showSuccess(n,a="commons.close",i=5e3){return this.snackbar.open(this.translate.instant(n),this.translate.instant(a),{duration:i,panelClass:"mh-snackbar--success"})}showError(n,a="commons.close",i=5e3){return this.snackbar.open(this.translate.instant(n),this.translate.instant(a),{duration:i,panelClass:"mh-snackbar--error"})}};t.ɵfac=function(n){return new(n||t)},t.ɵprov=U({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),AQ="2.0",dc=AQ,yr=(e=>(e.DEV="dev",e.DEMO="demo",e.INT="int",e.ACC="acc",e.PROD="prod",e))(yr||{}),LQ={demo:{env:yr.DEMO},dev:{apiUrl:"http://vidis-fake-api.test.paas.vasdc.be",env:yr.DEV},int:{apiUrl:"https://vidis-api.int.pub.vascloud.be/REST/vidis",env:yr.INT},acc:{apiUrl:"https://vidis-api.acc.vasha.be/REST/vidis",env:yr.ACC},prod:{apiUrl:"https://vidis-api.vasha.be/REST/vidis",env:yr.PROD}},sl=(()=>{const t=class t{setEnvironment(n){this.configVariables=LQ[yr[n.toUpperCase()]]||{}}getEnvironmentVariable(n){return this.configVariables[n]}};t.ɵfac=function(n){return new(n||t)},t.ɵprov=U({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),FQ=(()=>{const t=class t{constructor(){this.http=D(no),this.snackbarService=D(PQ)}getLeaflet(n,a){this.http.get(`/v2/leaflet/${n}/${a}`,{responseType:"text"}).pipe(rr(1),Hs(i=>(this.snackbarService.showError(i.status===404?"error.no-leaflet":"error.fetch-leaflet"),sf(()=>i)))).subscribe(i=>{window.open(i,"_blank")})}};t.ɵfac=function(n){return new(n||t)},t.ɵprov=U({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),qd=(()=>{const t=class t{constructor(){this.config=D(sl),this.injector=D(Tt),this._instance=null}getInstance(){if(!this._instance){let n=this.config.getEnvironmentVariable("env")==="demo";this._instance=n?this.injector.get(vQ):this.injector.get(gQ)}return this._instance}};t.ɵfac=function(n){return new(n||t)},t.ɵprov=U({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),ts=function(e){return e.DIARY_NOTES="diarynotes",e.PRESCRIPTIONS="prescriptions",e.MEDICATION_SCHEME="medicationScheme",e.MEDICATION_SCHEME_PAGE_STATE="medicationSchemePageState",e.DELIVERED_MEDICATIONS="deliveredMedications",e}(ts||{}),Kb=function(e){return e.CNK="cnk",e.INN="inn",e.VMP="vmp",e.EAN="ean",e.COMPOUND="compound",e}(Kb||{}),d=function(e){return e.NL="nl",e.FR="fr",e.DE="de",e.EN="en",e}(d||{});d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE;var Ao={getAuthorizationHeader:e=>`Bearer ${e}`,getUserType:e=>e.isProfessional?"professional":"patient",clientType:{webApp:"webapp",mobileApp:"mobapp"}},jQ=(()=>{const t=class t{constructor(){s(this,"version");s(this,"language");s(this,"configName");s(this,"services");s(this,"onPrint",new Ft);s(this,"_ngInitDone",!1);s(this,"correctlySetup",!1);s(this,"extraRequiredFields",[])}validateVersion(){let n=dc.split(".").map(i=>parseInt(i)),a=(this.version||"").split(".").map(i=>parseInt(i));return a.length!==2?(console.error(`[BaseWebComponent] The given version (${this.version}) has the wrong format <major>.<minor>!`),!1):a[0]!==n[0]?(console.error(`[BaseWebComponent] The given version (${this.version})'s major is not compatible with this component's major version (${dc})!`),!1):!0}validateInputs(){let n=this,a=["language","configName","services","version",...this.extraRequiredFields],{missingFields:i,presentFields:o}=a.reduce((l,h)=>(n[h]===void 0?l.missingFields.push(h):l.presentFields.push(h),l),{missingFields:[],presentFields:[]});return i.length?(console.log(`[BaseWebComponent] Waiting for missing inputs: ${i.join(", ")}; Present inputs: ${o.join(", ")}`),!1):(console.log("[BaseWebComponent] All required inputs are present"),this.validateVersion()?this.services.cache==null?(console.error("[BaseWebComponent] The given services input does not contain a cache service!"),!1):this.services.getAccessToken==null?(console.error("[BaseWebComponent] The given services input does not contain a getAccessToken() function!"),!1):this.services.registerRefreshCallback==null?(console.error("[BaseWebComponent] The given services input does not contain a registerRefreshCallback() function!"),!1):!0:!1)}ngOnChanges(n){this.correctlySetup=this.validateInputs(),this.correctlySetup&&(this._ngInitDone?this.onPropsChanged(n):(this.onInitialized(),this._ngInitDone=!0))}isCorrectlySetup(){return this.correctlySetup}onInitialized(){}onPropsChanged(n){}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵcmp",Ct({type:t,selectors:[["ng-component"]],inputs:{version:"version",language:"language",configName:"configName",services:"services"},outputs:{onPrint:"onPrint"},features:[W5],decls:0,vars:0,template:function(n,a){},encapsulation:2}));let e=t;return e})(),VQ=()=>{let e=["WebView","(iPhone|iPod|iPad)(?!.*Safari)","Android.*(;\\s+wv|Version/\\d.\\d\\s+Chrome/\\d+(\\.0){3})","Linux; U; Android"],t=new RegExp("("+e.join("|")+")","ig");return!!navigator.userAgent.match(t)},BQ=(e,t)=>{let r=D(qd),n=D(sl).getEnvironmentVariable("apiUrl");if(e.url.includes("assets/")||e.url.startsWith("http"))return t(e);let a=e.headers||new Oa,i=r.getInstance().isProfessional;return r.getInstance().getAccessToken().pipe(bi(o=>t(e.clone({url:`${n}${e.url}`,headers:a.set("Authorization",Ao.getAuthorizationHeader(o)).set("user-type",Ao.getUserType({isProfessional:i})).set("client-type",VQ()?Ao.clientType.mobileApp:Ao.clientType.webApp)}))))};function zQ(e){let t=Math.floor(Math.abs(e)),r=e.toString().replace(/^[^.]*\.?/,"").length;return t===1&&r===0?1:5}var HQ=["de",[["AM","PM"],void 0,void 0],void 0,[["S","M","D","M","D","F","S"],["So.","Mo.","Di.","Mi.","Do.","Fr.","Sa."],["Sonntag","Montag","Dienstag","Mittwoch","Donnerstag","Freitag","Samstag"],["So.","Mo.","Di.","Mi.","Do.","Fr.","Sa."]],[["S","M","D","M","D","F","S"],["So","Mo","Di","Mi","Do","Fr","Sa"],["Sonntag","Montag","Dienstag","Mittwoch","Donnerstag","Freitag","Samstag"],["So.","Mo.","Di.","Mi.","Do.","Fr.","Sa."]],[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan.","Feb.","März","Apr.","Mai","Juni","Juli","Aug.","Sept.","Okt.","Nov.","Dez."],["Januar","Februar","März","April","Mai","Juni","Juli","August","September","Oktober","November","Dezember"]],[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mär","Apr","Mai","Jun","Jul","Aug","Sep","Okt","Nov","Dez"],["Januar","Februar","März","April","Mai","Juni","Juli","August","September","Oktober","November","Dezember"]],[["v. Chr.","n. Chr."],void 0,void 0],1,[6,0],["dd.MM.yy","dd.MM.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} 'um' {0}",void 0],[",",".",";","%","+","-","E","·","‰","∞","NaN",":"],["#,##0.###","#,##0 %","#,##0.00 ¤","#E0"],"EUR","€","Euro",{ATS:["öS"],AUD:["AU$","$"],BGM:["BGK"],BGO:["BGJ"],BYN:[void 0,"р."],CUC:[void 0,"Cub$"],DEM:["DM"],FKP:[void 0,"Fl£"],GHS:[void 0,"₵"],GNF:[void 0,"F.G."],KMF:[void 0,"FC"],PHP:[void 0,"₱"],RON:[void 0,"L"],RUR:[void 0,"р."],RWF:[void 0,"F.Rw"],SYP:[],THB:["฿"],TWD:["NT$"],XXX:[],ZMW:[void 0,"K"]},"ltr",zQ];function qQ(e){let t=Math.floor(Math.abs(e)),r=e.toString().replace(/^[^.]*\.?/,"").length;return t===1&&r===0?1:5}var GQ=["en",[["a","p"],["AM","PM"],void 0],[["AM","PM"],void 0,void 0],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],void 0,[["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"]],void 0,[["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}",void 0,"{1} 'at' {0}",void 0],[".",",",";","%","+","-","E","×","‰","∞","NaN",":"],["#,##0.###","#,##0%","¤#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",qQ];function $Q(e){let t=Math.floor(Math.abs(e)),r=e.toString().replace(/^[^.]*\.?/,"").length,n=parseInt(e.toString().replace(/^[^e]*(e([-+]?\d+))?/,"$2"))||0;return t===0||t===1?1:n===0&&t!==0&&t%1e6===0&&r===0||!(n>=0&&n<=5)?4:5}var UQ=["fr",[["AM","PM"],void 0,void 0],void 0,[["D","L","M","M","J","V","S"],["dim.","lun.","mar.","mer.","jeu.","ven.","sam."],["dimanche","lundi","mardi","mercredi","jeudi","vendredi","samedi"],["di","lu","ma","me","je","ve","sa"]],void 0,[["J","F","M","A","M","J","J","A","S","O","N","D"],["janv.","févr.","mars","avr.","mai","juin","juil.","août","sept.","oct.","nov.","déc."],["janvier","février","mars","avril","mai","juin","juillet","août","septembre","octobre","novembre","décembre"]],void 0,[["av. J.-C.","ap. J.-C."],void 0,["avant Jésus-Christ","après Jésus-Christ"]],1,[6,0],["dd/MM/y","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}","{1}, {0}","{1} 'à' {0}",void 0],[","," ",";","%","+","-","E","×","‰","∞","NaN",":"],["#,##0.###","#,##0 %","#,##0.00 ¤","#E0"],"EUR","€","euro",{ARS:["$AR","$"],AUD:["$AU","$"],BEF:["FB"],BMD:["$BM","$"],BND:["$BN","$"],BYN:[void 0,"р."],BZD:["$BZ","$"],CAD:["$CA","$"],CLP:["$CL","$"],CNY:[void 0,"¥"],COP:["$CO","$"],CYP:["£CY"],EGP:[void 0,"£E"],FJD:["$FJ","$"],FKP:["£FK","£"],FRF:["F"],GBP:["£GB","£"],GIP:["£GI","£"],HKD:[void 0,"$"],IEP:["£IE"],ILP:["£IL"],ITL:["₤IT"],JPY:[void 0,"¥"],KMF:[void 0,"FC"],LBP:["£LB","£L"],MTP:["£MT"],MXN:["$MX","$"],NAD:["$NA","$"],NIO:[void 0,"$C"],NZD:["$NZ","$"],PHP:[void 0,"₱"],RHD:["$RH"],RON:[void 0,"L"],RWF:[void 0,"FR"],SBD:["$SB","$"],SGD:["$SG","$"],SRD:["$SR","$"],TOP:[void 0,"$T"],TTD:["$TT","$"],TWD:[void 0,"NT$"],USD:["$US","$"],UYU:["$UY","$"],WST:["$WS"],XCD:[void 0,"$"],XPF:["FCFP"],ZMW:[void 0,"Kw"]},"ltr",$Q];function WQ(e){let t=Math.floor(Math.abs(e)),r=e.toString().replace(/^[^.]*\.?/,"").length;return t===1&&r===0?1:5}var ZQ=["nl",[["a.m.","p.m."],void 0,void 0],void 0,[["Z","M","D","W","D","V","Z"],["zo","ma","di","wo","do","vr","za"],["zondag","maandag","dinsdag","woensdag","donderdag","vrijdag","zaterdag"],["zo","ma","di","wo","do","vr","za"]],void 0,[["J","F","M","A","M","J","J","A","S","O","N","D"],["jan.","feb.","mrt.","apr.","mei","jun.","jul.","aug.","sep.","okt.","nov.","dec."],["januari","februari","maart","april","mei","juni","juli","augustus","september","oktober","november","december"]],void 0,[["v.C.","n.C."],["v.Chr.","n.Chr."],["voor Christus","na Christus"]],1,[6,0],["dd-MM-y","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} 'om' {0}",void 0],[",",".",";","%","+","-","E","×","‰","∞","NaN",":"],["#,##0.###","#,##0%","¤ #,##0.00;¤ -#,##0.00","#E0"],"EUR","€","Euro",{AUD:["AU$","$"],BYN:[void 0,"р."],CAD:["C$","$"],FJD:["FJ$","$"],JPY:["JP¥","¥"],PHP:[void 0,"₱"],RUR:[void 0,"р."],SBD:["SI$","$"],THB:["฿"],TWD:["NT$"],USD:["US$","$"],XPF:[],XXX:[]},"ltr",WQ];il(HQ,"de");il(ZQ,"nl");il(UQ,"fr");il(GQ,"en");var YQ=class{handleError(e){throw new Error(e)}},KQ=class extends L6{getFirstDayOfWeek(){return 1}format(e){return oK(e,"dd/MM/yyyy")}parse(e){return aQ(e,"dd/MM/yyyy",new Date)}},QQ={parse:{dateInput:"DD/MM/YYYY"},display:{dateInput:"DD/MM/YYYY",monthYearLabel:{year:"numeric",month:"long"},dateA11yLabel:{year:"numeric",month:"long",day:"numeric"},monthYearA11yLabel:{year:"numeric",month:"long"}}},JQ=[rY(),H8(q8([BQ])),dQ(),{provide:zn,useClass:YQ},{provide:tb,useClass:KQ,deps:[Ju]},{provide:w6,useValue:QQ},{provide:hb,useClass:aY},{provide:rW,useValue:{panelClass:"mh-dialog-container"}}],XQ=bm(pz(),1),eJ=new Q("MESSAGE_FORMAT_CONFIG"),tJ={biDiSupport:!1,formatters:{},strictNumberSign:!1,currency:"USD",strictPluralKeys:!0,throwOnError:!1,fallbackPrefix:void 0},nJ=(()=>{const t=class t extends io{constructor(n){super(),this.mfCache=new Map;let{formatters:a,biDiSupport:i,strictNumberSign:o,currency:l,strictPluralKeys:h,throwOnError:u,fallbackPrefix:c}=ge(ge({},tJ),n);this.messageFormatOptions={customFormatters:a,biDiSupport:i,strict:o,currency:l,strictPluralKeys:h},this.throwOnError=!!u,this.fallbackPrefix=c}compile(n,a){if(this.fallbackPrefix&&n.startsWith(this.fallbackPrefix))return n.slice(this.fallbackPrefix.length);let i;try{i=this.getMessageFormatInstance(a).compile(n)}catch(o){if(this.throwOnError)throw o;console.error(o),console.error(`[ngx-translate-messageformat-compiler] Could not compile message for lang '${a}': '${n}'`),i=aJ(n,a)}return this.throwOnError||(i=rJ(i,n)),i}compileTranslations(n,a){return typeof n=="string"?this.compile(n,a):Object.keys(n).reduce((i,o)=>{let l=n[o];return i[o]=this.compileTranslations(l,a),i},{})}getMessageFormatInstance(n){return this.mfCache.has(n)||this.mfCache.set(n,new XQ.default(n,this.messageFormatOptions)),this.mfCache.get(n)}};t.ɵfac=function(n){return new(n||t)(ee(eJ,8))},t.ɵprov=U({token:t,factory:t.ɵfac});let e=t;return e})();function rJ(e,t){return r=>{let n=t;try{n=e(r)}catch(a){console.error(a),console.error(`[ngx-translate-messageformat-compiler] Could not interpolate '${t}' with params '${r}'`)}return n}}function aJ(e,t){return()=>(console.warn(`[ngx-translate-messageformat-compiler] Falling back to original invalid message: '${e}' ('${t}')`),String(e))}var Qb={};re(Qb,{"00001":()=>Jb,"00002":()=>Xb,"00003":()=>ey,"00004":()=>ty,"00005":()=>ny,"00006":()=>ry,"00007":()=>ay,"00008":()=>iy,"00009":()=>oy,"00010":()=>sy,"00011":()=>ly,"00012":()=>uy,"00013":()=>cy,"00014":()=>dy,"00015":()=>hy,"00016":()=>py,"00017":()=>my,"00018":()=>fy,"00019":()=>gy,"00020":()=>vy,"00021":()=>by,"00022":()=>yy,"00023":()=>_y,"00024":()=>wy,"00025":()=>xy,"00026":()=>Ey,"00027":()=>Sy,"00028":()=>ky,"00029":()=>Cy,"00030":()=>Iy,ampoule:()=>Xy,bandage:()=>Zy,bottle:()=>e1,box:()=>Ky,cm:()=>Dy,default:()=>iJ,dropsperminute:()=>Ny,"effervescent-tablet":()=>Uy,gm:()=>Ty,internationalunits:()=>My,iu:()=>Gy,liter:()=>Qy,"mck/h":()=>Ry,"mck/kg/minute":()=>Oy,measure:()=>Py,meq:()=>Hy,mg:()=>By,"mg/h":()=>Ay,"mg/ml":()=>zy,micrograms:()=>Wy,miu:()=>qy,"ml/h":()=>Ly,mmol:()=>$y,piece:()=>Yy,syringe:()=>Jy,"syringe-ampoule":()=>t1,tbl:()=>Fy,tsp:()=>jy,"unt/h":()=>Vy});var Jb="{count, plural, one{kaffeelöffel (5 ml)} other{kaffeelöffellen (5 ml)}}",Xb="{count, plural, one{Ampulle} other{Ampullen}}",ey="anwenden",ty="{count, plural, one{Kapsel} other{Kapseln}}",ny="{count, plural, one{Tablette} other{Tabletten}}",ry="Dosis",ay="{count, plural, one{Tropf} other{Tropfen}}",iy="{count, plural, one{Fläsche} other{Fläschchen}}",oy="{count, plural, one{Implantat} other{Implantate}}",sy="{count, plural, one{Infusion} other{Infusionen}}",ly="{count, plural, one{Inhalation} other{Inhalationen}}",uy="Einstechen",cy="Kaugummi",dy="{count, plural, one{Kompresse} other{Kompressen}}",hy="{count, plural, one{Einlauf} other{Einläufe}}",py="ml",my="Ov.",fy="{count, plural, one{Perle} other{Perlen}}",gy="{count, plural, one{Pastille} other{Pastillen}}",vy="Pflaster",by="cart",yy="Pen",_y="{count, plural, one{Puff} other{Puffs}}",wy="{count, plural, one{Schwamm} other{Schwämme}}",xy="{count, plural, one{Stift} other{Stifte}}",Ey="Suppo",Sy="Tube",ky="{count, plural, one{Docht} other{Dochte}}",Cy="Beutel",Iy="Beutel",Dy="Zentimeter",Ny="{count, plural, one{Tropf pro Minute} other{Tropfen pro Minute}}",Ty="Gramm",My="{count, plural, one{Internationale Einheit} other{Internationale Einheiten}}",Ry="Mikrogramm pro Stunde",Oy="Mikrogramm pro Kilogramm pro Minute",Py="Maß",Ay="Miligramm pro Stunde",Ly="Milliliter pro Stunde",Fy="Esslöffel",jy="Kaffeelöffel",Vy="{count, plural, one{Einheit pro Stunde} other{Einheiten pro Stunde}}",By="Milligramm",zy="Milligramm pro Millimeter",Hy="meq",qy="miu",Gy="iu",$y="mmol",Uy="effervescent-tablet",Wy="micrograms",Zy="{count, plural, one{bandage} other{bandagen}}",Yy="{count, plural, one{stück} other{stücke}}",Ky="schachteln",Qy="liter",Jy="{count, plural, one{spritze} other{spritzen}}",Xy="{count, plural, one{glühbirn} other{glühbirnen}}",e1="{count, plural, one{Fläsche} other{Fläschchen}}",t1="{count, plural, one{spritze-ampulle} other{spritzen-ampulle}}",iJ={"00001":Jb,"00002":Xb,"00003":ey,"00004":ty,"00005":ny,"00006":ry,"00007":ay,"00008":iy,"00009":oy,"00010":sy,"00011":ly,"00012":uy,"00013":cy,"00014":dy,"00015":hy,"00016":py,"00017":my,"00018":fy,"00019":gy,"00020":vy,"00021":by,"00022":yy,"00023":_y,"00024":wy,"00025":xy,"00026":Ey,"00027":Sy,"00028":ky,"00029":Cy,"00030":Iy,cm:Dy,dropsperminute:Ny,gm:Ty,internationalunits:My,"mck/h":Ry,"mck/kg/minute":Oy,measure:Py,"mg/h":Ay,"ml/h":Ly,tbl:Fy,tsp:jy,"unt/h":Vy,mg:By,"mg/ml":zy,meq:Hy,miu:qy,iu:Gy,mmol:$y,"effervescent-tablet":Uy,micrograms:Wy,bandage:Zy,piece:Yy,box:Ky,liter:Qy,syringe:Jy,ampoule:Xy,bottle:e1,"syringe-ampoule":t1},n1={};re(n1,{"00001":()=>r1,"00002":()=>a1,"00003":()=>i1,"00004":()=>o1,"00005":()=>s1,"00006":()=>l1,"00007":()=>u1,"00008":()=>c1,"00009":()=>d1,"00010":()=>h1,"00011":()=>p1,"00012":()=>m1,"00013":()=>f1,"00014":()=>g1,"00015":()=>v1,"00016":()=>b1,"00017":()=>y1,"00018":()=>_1,"00019":()=>w1,"00020":()=>x1,"00021":()=>E1,"00022":()=>S1,"00023":()=>k1,"00024":()=>C1,"00025":()=>I1,"00026":()=>D1,"00027":()=>N1,"00028":()=>T1,"00029":()=>M1,"00030":()=>R1,ampoule:()=>a_,bandage:()=>X1,bottle:()=>i_,box:()=>t_,cm:()=>O1,default:()=>oJ,dropsperminute:()=>P1,"effervescent-tablet":()=>Q1,gm:()=>A1,internationalunits:()=>L1,iu:()=>Y1,liter:()=>n_,"mck/h":()=>F1,"mck/kg/minute":()=>j1,measure:()=>V1,meq:()=>W1,mg:()=>$1,"mg/h":()=>B1,"mg/ml":()=>U1,micrograms:()=>J1,miu:()=>Z1,"ml/h":()=>z1,mmol:()=>K1,piece:()=>e_,syringe:()=>r_,"syringe-ampoule":()=>o_,tbl:()=>H1,tsp:()=>q1,"unt/h":()=>G1});var r1="{count, plural, one{Teaspoon (5 ml)} other{Teaspoons (5 ml)}}",a1="{count, plural, one{ampoule} other{ampoules}}",i1="applic.",o1="{count, plural, one{capsule} other{capsules}}",s1="{count, plural, one{tablet} other{tablets}}",l1="{count, plural, one{dose} other{doses}}",u1="{count, plural, one{drop} other{drops}}",c1="{count, plural, one{bottle} other{bottles}}",d1="{count, plural, one{implant} other{implants}}",h1="{count, plural, one{perfusion} other{perfusions}}",p1="{count, plural, one{inhalation} other{inhalations}}",m1="insert",f1="{count, plural, one{chewing gum} other{chewing gums}}",g1="{count, plural, one{compress} other{compresses}}",v1="enema",b1="ml",y1="{count, plural, one{ovule} other{ovules}}",_1="{count, plural, one{pearl} other{pearls}}",w1="{count, plural, one{pastille} other{pastilles}}",x1="{count, plural, one{patch} other{patches}}",E1="{count, plural, one{cartridge} other{cartridges}}",S1="{count, plural, one{pen} other{pens}}",k1="{count, plural, one{puff} other{puffs}}",C1="{count, plural, one{sponge} other{sponges}}",I1="{count, plural, one{stylo} other{stylos}}",D1="{count, plural, one{supository} other{supositories}}",N1="{count, plural, one{tube} other{tubes}}",T1="{count, plural, one{wick} other{wicks}}",M1="{count, plural, one{bag} other{bags}}",R1="{count, plural, one{small bag} other{small bags}}",O1="centimeter",P1="{count, plural, one{drop per minute} other{drops per minute}}",A1="gram",L1="international units",F1="microgram per hour",j1="microgram per kilogram per minute",V1="{count, plural, one{measure} other{measures}}",B1="milligram per hour",z1="milliliter per hour",H1="{count, plural, one{tablespoon} other{tablespoons}}",q1="{count, plural, one{teaspoon} other{teaspoons}}",G1="{count, plural, one{unit per hour} other{units per hour}}",$1="milligram",U1="milligram per milliliter",W1="milli-equivalent",Z1="miu",Y1="international units",K1="millimole",Q1="{count, plural, one{effervescent tablet} other{effervescent tablets}}",J1="microgram",X1="{count, plural, one{bandage} other{bandages}}",e_="{count, plural, one{piece} other{pieces}}",t_="{count, plural, one{spray} other{sprays}}",n_="liter",r_="{count, plural, one{syringe} other{syringes}}",a_="{count, plural, one{ampoule} other{ampoules}}",i_="{count, plural, one{bottle} other{bottles}}",o_="{count, plural, one{syringe ampoule} other{syringe ampoules}}",oJ={"00001":r1,"00002":a1,"00003":i1,"00004":o1,"00005":s1,"00006":l1,"00007":u1,"00008":c1,"00009":d1,"00010":h1,"00011":p1,"00012":m1,"00013":f1,"00014":g1,"00015":v1,"00016":b1,"00017":y1,"00018":_1,"00019":w1,"00020":x1,"00021":E1,"00022":S1,"00023":k1,"00024":C1,"00025":I1,"00026":D1,"00027":N1,"00028":T1,"00029":M1,"00030":R1,cm:O1,dropsperminute:P1,gm:A1,internationalunits:L1,"mck/h":F1,"mck/kg/minute":j1,measure:V1,"mg/h":B1,"ml/h":z1,tbl:H1,tsp:q1,"unt/h":G1,mg:$1,"mg/ml":U1,meq:W1,miu:Z1,iu:Y1,mmol:K1,"effervescent-tablet":Q1,micrograms:J1,bandage:X1,piece:e_,box:t_,liter:n_,syringe:r_,ampoule:a_,bottle:i_,"syringe-ampoule":o_},s_={};re(s_,{"00001":()=>l_,"00002":()=>u_,"00003":()=>c_,"00004":()=>d_,"00005":()=>h_,"00006":()=>p_,"00007":()=>m_,"00008":()=>f_,"00009":()=>g_,"00010":()=>v_,"00011":()=>b_,"00012":()=>y_,"00013":()=>__,"00014":()=>w_,"00015":()=>x_,"00016":()=>E_,"00017":()=>S_,"00018":()=>k_,"00019":()=>C_,"00020":()=>I_,"00021":()=>D_,"00022":()=>N_,"00023":()=>T_,"00024":()=>M_,"00025":()=>R_,"00026":()=>O_,"00027":()=>P_,"00028":()=>A_,"00029":()=>L_,"00030":()=>F_,ampoule:()=>uw,bandage:()=>aw,bottle:()=>cw,box:()=>ow,cm:()=>j_,default:()=>sJ,dropsperminute:()=>V_,"effervescent-tablet":()=>nw,gm:()=>B_,internationalunits:()=>z_,iu:()=>ew,liter:()=>sw,"mck/h":()=>H_,"mck/kg/minute":()=>q_,measure:()=>G_,meq:()=>J_,mg:()=>K_,"mg/h":()=>$_,"mg/ml":()=>Q_,micrograms:()=>rw,miu:()=>X_,"ml/h":()=>U_,mmol:()=>tw,piece:()=>iw,syringe:()=>lw,"syringe-ampoule":()=>dw,tbl:()=>W_,tsp:()=>Z_,"unt/h":()=>Y_});var l_="{count, plural, one{cuillère à café (5 ml)} other{cuillères à café (5 ml)}}",u_="amp.",c_="applic.",d_="caps.",h_="compr.",p_="{count, plural, one{dose} other{doses}}",m_="{count, plural, one{goutte} other{gouttes}}",f_="flac.",g_="{count, plural, one{implant} other{implants}}",v_="{count, plural, one{perfusion} other{perfusions}}",b_="{count, plural, one{inhalation} other{inhalations}}",y_="insert",__="{count, plural, one{gomme à mâcher} other{gommes à mâcher}}",w_="{count, plural, one{compres(se)} other{compres(ses)}}",x_="{count, plural, one{lavement} other{lavements}}",E_="ml",S_="ov.",k_="{count, plural, one{perle} other{perles}}",C_="{count, plural, one{pastille} other{pastilles}}",I_="{count, plural, one{patch} other{patchs}}",D_="patr.",N_="{count, plural, one{stylo} other{stylos}}",T_="{count, plural, one{puff} other{puffs}}",M_="{count, plural, one{éponge} other{éponges}}",R_="{count, plural, one{stylo} other{stylos}}",O_="suppo",P_="{count, plural, one{tube} other{tubes}}",A_="{count, plural, one{mèche} other{mèches}}",L_="{count, plural, one{sac} other{sacs}}",F_="{count, plural, one{sachet} other{sachets}}",j_="{count, plural, one{centimètre} other{centimètres}}",V_="{count, plural, one{goute par minute} other{goutes par minute}}",B_="{count, plural, one{gramme} other{grammes}}",z_="{count, plural, one{unité internationales} other{unités internationales}}",H_="{count, plural, one{microgramme par heure} other{microgrammes par heure}}",q_="{count, plural, one{microgramme par kilogramme par minute} other{microgrammes par kilogramme par minute}}",G_="{count, plural, one{mesure} other{mesures}}",$_="{count, plural, one{milligramme par heure} other{milligrammes par heure}}",U_="{count, plural, one{millilitre par heure} other{millilitres par heure}}",W_="{count, plural, one{cuillère à soupe} other{cuillères à soupe}}",Z_="{count, plural, one{cuillère à café} other{cuillères à café}}",Y_="{count, plural, one{unité par heure} other{unités par heure}}",K_="{count, plural, one{miligramme} other{miligrammes}}",Q_="{count, plural, one{milligramme par millimètre} other{milligrammes par millimètre}}",J_="milli-équivalent",X_="miu",ew="{count, plural, one{unité internationales} other{unités internationales}}",tw="millimol",nw="{count, plural, one{comprimé effervescent} other{comprimés effervescents}}",rw="{count, plural, one{microgramme} other{microgrammes}}",aw="{count, plural, one{bandage} other{bandages}}",iw="{count, plural, one{pièce} other{pièces}}",ow="{count, plural, one{vaporisateur} other{vaporisateurs}}",sw="{count, plural, one{litre} other{litres}}",lw="{count, plural, one{seringue} other{seringues}}",uw="{count, plural, one{ampoule} other{ampoules}}",cw="{count, plural, one{fiole} other{fioles}}",dw="{count, plural, one{ampoule de seringue} other{ampoules de seringue}}",sJ={"00001":l_,"00002":u_,"00003":c_,"00004":d_,"00005":h_,"00006":p_,"00007":m_,"00008":f_,"00009":g_,"00010":v_,"00011":b_,"00012":y_,"00013":__,"00014":w_,"00015":x_,"00016":E_,"00017":S_,"00018":k_,"00019":C_,"00020":I_,"00021":D_,"00022":N_,"00023":T_,"00024":M_,"00025":R_,"00026":O_,"00027":P_,"00028":A_,"00029":L_,"00030":F_,cm:j_,dropsperminute:V_,gm:B_,internationalunits:z_,"mck/h":H_,"mck/kg/minute":q_,measure:G_,"mg/h":$_,"ml/h":U_,tbl:W_,tsp:Z_,"unt/h":Y_,mg:K_,"mg/ml":Q_,meq:J_,miu:X_,iu:ew,mmol:tw,"effervescent-tablet":nw,micrograms:rw,bandage:aw,piece:iw,box:ow,liter:sw,syringe:lw,ampoule:uw,bottle:cw,"syringe-ampoule":dw},hw={};re(hw,{"00001":()=>pw,"00002":()=>mw,"00003":()=>fw,"00004":()=>gw,"00005":()=>vw,"00006":()=>bw,"00007":()=>yw,"00008":()=>_w,"00009":()=>ww,"00010":()=>xw,"00011":()=>Ew,"00012":()=>Sw,"00013":()=>kw,"00014":()=>Cw,"00015":()=>Iw,"00016":()=>Dw,"00017":()=>Nw,"00018":()=>Tw,"00019":()=>Mw,"00020":()=>Rw,"00021":()=>Ow,"00022":()=>Pw,"00023":()=>Aw,"00024":()=>Lw,"00025":()=>Fw,"00026":()=>jw,"00027":()=>Vw,"00028":()=>Bw,"00029":()=>zw,"00030":()=>Hw,ampoule:()=>mx,bandage:()=>ux,bottle:()=>fx,box:()=>dx,cm:()=>qw,default:()=>lJ,dropsperminute:()=>Gw,"effervescent-tablet":()=>sx,gm:()=>$w,internationalunits:()=>Uw,iu:()=>ix,liter:()=>hx,"mck/h":()=>Ww,"mck/kg/minute":()=>Zw,measure:()=>Yw,meq:()=>rx,mg:()=>tx,"mg/h":()=>Kw,"mg/ml":()=>nx,micrograms:()=>lx,miu:()=>ax,"ml/h":()=>Qw,mmol:()=>ox,piece:()=>cx,syringe:()=>px,"syringe-ampoule":()=>gx,tbl:()=>Jw,tsp:()=>Xw,"unt/h":()=>ex});var pw="{count, plural, one{Koffielepel (5 ml)} other{Koffielepels (5 ml)}}",mw="{count, plural, one{ampule} other{ampullen}}",fw="aanbrengen",gw="{count, plural, one{capsule} other{capsules}}",vw="{count, plural, one{tablet} other{tabletten}}",bw="{count, plural, one{dose} other{dosissen}}",yw="{count, plural, one{druppel} other{druppels}}",_w="{count, plural, one{flesje} other{flesjes}}",ww="{count, plural, one{implantaat} other{implantaten}}",xw="{count, plural, one{infuus} other{infusen}}",Ew="{count, plural, one{inhalatie} other{inhalaties}}",Sw="inbrengen",kw="{count, plural, one{kauwgom} other{kauwgommen}}",Cw="{count, plural, one{kompres} other{kompressen}}",Iw="lavement",Dw="ml",Nw="{count, plural, one{ovule} other{ovules}}",Tw="{count, plural, one{parel} other{parels}}",Mw="{count, plural, one{pastille} other{pastilles}}",Rw="{count, plural, one{pleister} other{pleisters}}",Ow="{count, plural, one{patroon} other{patronen}}",Pw="{count, plural, one{pen} other{pennen}}",Aw="{count, plural, one{puff} other{puffs}}",Lw="{count, plural, one{spons} other{sponsen}}",Fw="{count, plural, one{stylo} other{stylos}}",jw="{count, plural, one{zetpil} other{zetpillen}}",Vw="{count, plural, one{tube} other{tubes}}",Bw="{count, plural, one{wiek} other{wieken}}",zw="{count, plural, one{zak} other{zakken}}",Hw="{count, plural, one{zakje} other{zakjes}}",qw="centimeter",Gw="{count, plural, one{druppel per minuut} other{druppels per minuut}}",$w="gram",Uw="internationale eenheden",Ww="microgram per uur",Zw="microgram per kilogram per minuut",Yw="{count, plural, one{maat} other{maten}}",Kw="milligram per uur",Qw="milliliter per uur",Jw="{count, plural, one{eetlepel} other{eetlepels}}",Xw="{count, plural, one{koffielepel} other{koffielepels}}",ex="{count, plural, one{eenheid per uur} other{eenheden per uur}}",tx="miligram",nx="miligram per milimeter",rx="milli-equivalent",ax="miu",ix="internationale eenheden",ox="millimol",sx="{count, plural, one{bruistablet} other{bruistabletten}}",lx="microgram",ux="{count, plural, one{verband} other{verbanden}}",cx="{count, plural, one{stuk} other{stuks}}",dx="{count, plural, one{verstuiving} other{verstuivingen}}",hx="liter",px="{count, plural, one{spuit} other{spuiten}}",mx="{count, plural, one{ampul} other{ampullen}}",fx="{count, plural, one{fles} other{flessen}}",gx="{count, plural, one{spuitampul} other{spuitampullen}}",lJ={"00001":pw,"00002":mw,"00003":fw,"00004":gw,"00005":vw,"00006":bw,"00007":yw,"00008":_w,"00009":ww,"00010":xw,"00011":Ew,"00012":Sw,"00013":kw,"00014":Cw,"00015":Iw,"00016":Dw,"00017":Nw,"00018":Tw,"00019":Mw,"00020":Rw,"00021":Ow,"00022":Pw,"00023":Aw,"00024":Lw,"00025":Fw,"00026":jw,"00027":Vw,"00028":Bw,"00029":zw,"00030":Hw,cm:qw,dropsperminute:Gw,gm:$w,internationalunits:Uw,"mck/h":Ww,"mck/kg/minute":Zw,measure:Yw,"mg/h":Kw,"ml/h":Qw,tbl:Jw,tsp:Xw,"unt/h":ex,mg:tx,"mg/ml":nx,meq:rx,miu:ax,iu:ix,mmol:ox,"effervescent-tablet":sx,micrograms:lx,bandage:ux,piece:cx,box:dx,liter:hx,syringe:px,ampoule:mx,bottle:fx,"syringe-ampoule":gx},uJ={nl:hw,fr:s_,de:Qb,en:n1},vx={};re(vx,{default:()=>cJ,friday:()=>xx,monday:()=>bx,saturday:()=>Ex,sunday:()=>Sx,thursday:()=>wx,tuesday:()=>yx,wednesday:()=>_x});var bx="Montag",yx="Dienstag",_x="Mittwoch",wx="Donnerstag",xx="Freitag",Ex="Samstag",Sx="Sonntag",cJ={monday:bx,tuesday:yx,wednesday:_x,thursday:wx,friday:xx,saturday:Ex,sunday:Sx},kx={};re(kx,{default:()=>dJ,friday:()=>Tx,monday:()=>Cx,saturday:()=>Mx,sunday:()=>Rx,thursday:()=>Nx,tuesday:()=>Ix,wednesday:()=>Dx});var Cx="Monday",Ix="Tuesday",Dx="Wednesday",Nx="Thursday",Tx="Friday",Mx="Saturday",Rx="Sunday",dJ={monday:Cx,tuesday:Ix,wednesday:Dx,thursday:Nx,friday:Tx,saturday:Mx,sunday:Rx},Ox={};re(Ox,{default:()=>hJ,friday:()=>jx,monday:()=>Px,saturday:()=>Vx,sunday:()=>Bx,thursday:()=>Fx,tuesday:()=>Ax,wednesday:()=>Lx});var Px="Lundi",Ax="Mardi",Lx="Mercredi",Fx="Jeudi",jx="Vendredi",Vx="Samedi",Bx="Dimanche",hJ={monday:Px,tuesday:Ax,wednesday:Lx,thursday:Fx,friday:jx,saturday:Vx,sunday:Bx},zx={};re(zx,{default:()=>pJ,friday:()=>Ux,monday:()=>Hx,saturday:()=>Wx,sunday:()=>Zx,thursday:()=>$x,tuesday:()=>qx,wednesday:()=>Gx});var Hx="Maandag",qx="Dinsdag",Gx="Woensdag",$x="Donderdag",Ux="Vrijdag",Wx="Zaterdag",Zx="Zondag",pJ={monday:Hx,tuesday:qx,wednesday:Gx,thursday:$x,friday:Ux,saturday:Wx,sunday:Zx},mJ={nl:zx,fr:Ox,de:vx,en:kx},Yx={};re(Yx,{VIDIS_0035:()=>Kx,VIDIS_0050:()=>Qx,VIDIS_0090:()=>Jx,VIDIS_0100:()=>Xx,VIDIS_0110:()=>eE,VIDIS_0120:()=>tE,VIDIS_0121:()=>nE,VIDIS_0122:()=>rE,VIDIS_0123:()=>aE,VIDIS_0124:()=>iE,VIDIS_0125:()=>oE,VIDIS_0126:()=>sE,VIDIS_0190:()=>lE,VIDIS_0200:()=>uE,VIDIS_0210:()=>cE,VIDIS_0211:()=>dE,VIDIS_0230:()=>hE,VIDIS_0290:()=>pE,VIDIS_0330:()=>mE,VIDIS_0340:()=>fE,VIDIS_0341:()=>gE,VIDIS_0400:()=>vE,VIDIS_0435:()=>bE,VIDIS_0440:()=>yE,VIDIS_5000:()=>_E,VIDIS_7000:()=>wE,default:()=>fJ,general:()=>EE,invalid_date_format:()=>DE,myHealth:()=>kE,myHealthUrl:()=>CE,network_error:()=>IE,"no-access":()=>SE,prescriptionList:()=>xE,"status-message-content":()=>TE,"status-message-title":()=>NE});var Kx="Leider ging dies nicht gut. Versuchen Sie es bitte noch einmal? (VIDIS_0035)",Qx="Die Patienten-INSS fehlt. (VIDIS_0050)",Jx="Die angegebenen persönlichen Daten wurden nicht erkannt. (VIDIS_0090)",Xx="Der Benutzer ist für diesen Vorgang nicht autorisiert. (VIDIS_0100)",eE="Der Patient hat keine informierte Einwilligung für den Austausch von Gesundheitsdaten erteilt. (VIDIS_0110)",tE="Es besteht keine therapeutische Beziehung zwischen der Bezugsperson und dem Patienten. (VIDIS_0120)",nE="Die Einsichtnahme in die Daten eines Brüsseler Patienten ist derzeit nicht erlaubt.",rE="Die Einsichtnahme in die Daten eines wallonischen Patienten ist derzeit nicht erlaubt.",aE="Die Einsichtnahme in die Daten eines Brüsseler Kinder von einem Elternteil ist derzeit nicht erlaubt.",iE="Die Einsichtnahme in die Daten eines wallonischen Kinder von einem Elternteil ist derzeit nicht erlaubt.",oE="Die Einsichtnahme in die Daten eines Brüsseler Patienten von einem Bevollmächtigter ist derzeit nicht erlaubt.",sE="Die Einsichtnahme in die Daten eines wallonischen Patienten von einem Bevollmächtigter ist derzeit nicht erlaubt.",lE="Ungültige INSS-Patientennummer. (VIDIS_0190)",uE="Der Benutzer darf die Bearbeitung nicht vornehmen, da Antragsteller und Patient sich ausschließen. (VIDIS_0200)",cE="Die Anmeldung war nicht erfolgreich. Versuchen Sie es erneut? (VIDIS_0210)",dE="Die Anmeldung war nicht erfolgreich. Versuchen Sie es erneut? (VIDIS_0211)",hE="Der Vorgang ist ungültig (VIDIS_0230)",pE='Die Benutzerrolle muss "Bürger" sein. (VIDIS_0290)',mE="Ihre Authentifizierungsstufe erlaubt keinen Zugriff auf diese Seite. Bitte melden Sie sich mit einem anderen Authentifizierungsmittel an (itsme, eID oder mit einem per E-Mail oder App verschickten Sicherheitscode). (VIDIS_0330)",fE="Sie sind nicht berechtigt, die Daten dieses Patienten abzurufen, da Ihr Visum nicht aktiv ist. Bitte wenden Sie sich per E-Mail unter visa@health.belgium.be an den FÖD Gesundheit. (VIDIS_0340)",gE="Sie sind nicht berechtigt, die Daten dieses Patienten abzurufen, entweder weil Ihr Visum nicht aktiv ist, bitte wenden Sie sich in diesem Fall per E-Mail an den FÖD Gesundheit unter visa@health.belgium.be, oder weil die LIKIV-Nummer der Apotheke ungültig ist, bitte kontaktieren Sie in diesem Fall das LIKIV per E-Mail unter dossierpharma@riziv-inami.fgov.be. (VIDIS_0341)",vE="Ihre Anfrage ist ungültig. Bitte versuchen Sie es später nochmal. (VIDIS_0400)",bE="Die Speicherregion für den Medikamentenplan kann nicht bestimmt werden. (VIDIS_0435)",yE="Leider ging dies nicht gut. Versuchen Sie es bitte noch einmal? (VIDIS_0440)",_E="Leider konnten wir Ihre Daten nicht abrufen. Versuchen Sie es bitte noch einmal? (VIDIS_5000)",wE="Leider ging dies nicht gut. Versuchen Sie es bitte noch einmal? (VIDIS_7000)",xE="Leider war es nicht möglich, die Details der Verschreibung abzurufen. Versuchen Sie es erneut?",EE="Ein interner technischer Fehler ist aufgetreten. Bitte versuchen Sie es später nochmal.",SE="Ein interner technischer Fehler ist aufgetreten. Bitte versuchen Sie es später nochmal.",kE="Zurück zum Portal Meine Gesundheit",CE="https://wwwint.meinegesundheit.belgien.be/#/",IE="Es ist leider ein Netzwerkfehler aufgetreten. Bitte wenden Sie sich an Ihren Netzwerkadministrator, wenn das Problem weiterhin besteht.",DE="Ungültiges Datumsformat.",NE="Dienst vorübergehend nicht verfügbar",TE=`Wir haben derzeit ein Problem mit der Verbindung zum Server.
30
+ Bitte versuchen Sie es zu einem späteren Zeitpunkt erneut.`,fJ={VIDIS_0035:Kx,VIDIS_0050:Qx,VIDIS_0090:Jx,VIDIS_0100:Xx,VIDIS_0110:eE,VIDIS_0120:tE,VIDIS_0121:nE,VIDIS_0122:rE,VIDIS_0123:aE,VIDIS_0124:iE,VIDIS_0125:oE,VIDIS_0126:sE,VIDIS_0190:lE,VIDIS_0200:uE,VIDIS_0210:cE,VIDIS_0211:dE,VIDIS_0230:hE,VIDIS_0290:pE,VIDIS_0330:mE,VIDIS_0340:fE,VIDIS_0341:gE,VIDIS_0400:vE,VIDIS_0435:bE,VIDIS_0440:yE,VIDIS_5000:_E,VIDIS_7000:wE,prescriptionList:xE,general:EE,"no-access":SE,myHealth:kE,myHealthUrl:CE,network_error:IE,invalid_date_format:DE,"status-message-title":NE,"status-message-content":TE},ME={};re(ME,{VIDIS_0035:()=>RE,VIDIS_0050:()=>OE,VIDIS_0090:()=>PE,VIDIS_0100:()=>AE,VIDIS_0110:()=>LE,VIDIS_0120:()=>FE,VIDIS_0121:()=>jE,VIDIS_0122:()=>VE,VIDIS_0123:()=>BE,VIDIS_0124:()=>zE,VIDIS_0125:()=>HE,VIDIS_0126:()=>qE,VIDIS_0190:()=>GE,VIDIS_0200:()=>$E,VIDIS_0210:()=>UE,VIDIS_0211:()=>WE,VIDIS_0230:()=>ZE,VIDIS_0290:()=>YE,VIDIS_0330:()=>KE,VIDIS_0340:()=>QE,VIDIS_0341:()=>JE,VIDIS_0400:()=>XE,VIDIS_0435:()=>eS,VIDIS_0440:()=>tS,VIDIS_5000:()=>nS,VIDIS_7000:()=>rS,default:()=>gJ,general:()=>iS,invalid_date_format:()=>cS,myHealth:()=>sS,myHealthUrl:()=>lS,network_error:()=>uS,"no-access":()=>oS,prescriptionList:()=>aS,"status-message-content":()=>hS,"status-message-title":()=>dS});var RE="Unfortunately, this did not succeed. Please try again. (VIDIS_0035)",OE="The patient's NISS number is missing (VIDIS_0050)",PE="The personal information provided was not recognised. (VIDIS_0090)",AE="The user is not allowed to perform the operation. (VIDIS_0100)",LE="The patient did not give informed consent to share personal health information. (VIDIS_0110)",FE="There is no therapeutic relationship between the healthcare provider and the patient. (VIDIS_0120)",jE="Consulting data of a Brussels patient is currently not authorised.",VE="Consulting data of a Walloon patient is currently not authorised.",BE="Consulting data of a Brussels child by a parent is currently not authorised.",zE="Consulting data of a Walloon child by a parent is currently not authorised.",HE="Consulting data of a Brussels patient by a power of attorney is currently not authorised.",qE="Consulting data of a Walloon patient by a power of attorney is currently not authorised.",GE="The patient's NISS number is invalid. (VIDIS_0190)",$E="The user is not allowed to perform the operation because an exclusion exists between the applicant and the patient. (VIDIS_0200)",UE="The login was unsuccessful. Please try again. (VIDIS_0210)",WE="The login was unsuccessful. Please try again. (VIDIS_0211)",ZE="The request is invalid. (VIDIS_0230)",YE="User role must be citizen. (VIDIS_0290)",KE="Your authentication level is insufficient to access this page. Please authenticate by using other means (itsme, eID or a security code sent via email or an app). (VIDIS_0330)",QE="You are not authorised to view this patient's data because your visa is not active. Please contact the FPS Health via the email address visa@health.fgov.be",JE="You are not authorised to view this patient's details because - or your visa is not active. Please contact the FPS Health via the email address visa@health.fgov.be - or the NIHDI number of the pharmacy is not valid. Please contact the NIHDI via the e-mail address dossierpharma@riziv-inami.fgov.be (VIDIS_0341)",XE="You request in invalid. Please try again later. (VIDIS_0400)",eS="Cannot determine the storage region of the medication scheme. (VIDIS_0435)",tS="Unfortunately, this did not succeed. Please try again. (VIDIS_0440)",nS="Unfortunately your data could not be retrieved. Please try again. (VIDIS_5000)",rS="Unfortunately, this did not succeed. Please try again. (VIDIS_7000)",aS="Unfortunately the details of the prescription could not be retrieved. Please try again.",iS="An internal technical error has occured. Please try again later.",oS="An internal technical error has occured. Please try again later.",sS="Back to the MyHealth portal.",lS="https://www.myhealth.belgium.be/",uS="A network error unfortunately has occured. Please contact your network manager if the problem persists.",cS="Invalid date format.",dS="Service temporarily unavailable",hS=`We are currently having a problem connecting to the server.
31
+ Please try again later.`,gJ={VIDIS_0035:RE,VIDIS_0050:OE,VIDIS_0090:PE,VIDIS_0100:AE,VIDIS_0110:LE,VIDIS_0120:FE,VIDIS_0121:jE,VIDIS_0122:VE,VIDIS_0123:BE,VIDIS_0124:zE,VIDIS_0125:HE,VIDIS_0126:qE,VIDIS_0190:GE,VIDIS_0200:$E,VIDIS_0210:UE,VIDIS_0211:WE,VIDIS_0230:ZE,VIDIS_0290:YE,VIDIS_0330:KE,VIDIS_0340:QE,VIDIS_0341:JE,VIDIS_0400:XE,VIDIS_0435:eS,VIDIS_0440:tS,VIDIS_5000:nS,VIDIS_7000:rS,prescriptionList:aS,general:iS,"no-access":oS,myHealth:sS,myHealthUrl:lS,network_error:uS,invalid_date_format:cS,"status-message-title":dS,"status-message-content":hS},pS={};re(pS,{VIDIS_0035:()=>mS,VIDIS_0050:()=>fS,VIDIS_0090:()=>gS,VIDIS_0100:()=>vS,VIDIS_0110:()=>bS,VIDIS_0120:()=>yS,VIDIS_0121:()=>_S,VIDIS_0122:()=>wS,VIDIS_0123:()=>xS,VIDIS_0124:()=>ES,VIDIS_0125:()=>SS,VIDIS_0126:()=>kS,VIDIS_0190:()=>CS,VIDIS_0200:()=>IS,VIDIS_0210:()=>DS,VIDIS_0211:()=>NS,VIDIS_0230:()=>TS,VIDIS_0290:()=>MS,VIDIS_0330:()=>RS,VIDIS_0340:()=>OS,VIDIS_0341:()=>PS,VIDIS_0400:()=>AS,VIDIS_0435:()=>LS,VIDIS_0440:()=>FS,VIDIS_5000:()=>jS,VIDIS_7000:()=>VS,default:()=>vJ,general:()=>zS,invalid_date_format:()=>US,myHealth:()=>qS,myHealthUrl:()=>GS,network_error:()=>$S,"no-access":()=>HS,prescriptionList:()=>BS,"status-message-content":()=>ZS,"status-message-title":()=>WS});var mS="Malheureusement, cela ne s'est pas bien passé. Voulez-vous réessayer ? (VIDIS_0035)",fS="Le NISS du patient est manquant. (VIDIS_0050)",gS="Les informations personnelles fournies n'ont pas été reconnues. (VIDIS_0090)",vS="L’utilisateur n’est pas autorisé à effectuer l’opération. (VIDIS_0100)",bS="Le patient n’a pas donné son consentement éclairé pour partager des informations personnelles sur sa santé. (VIDIS_0110)",yS="Il n’y a pas de relation thérapeutique entre le soignant et le patient. (VIDIS_0120)",_S="La consultation des données d'un(e) patient(e) bruxellois(e) n'est pas autorisée pour le moment.",wS="La consultation des données d'un(e) patient(e) wallon(ne) n'est pas autorisée pour le moment.",xS="La consultation des données d'un(e) enfant bruxellois(e) par un parent n'est pas autorisée pour le moment.",ES="La consultation des données d'un(e) enfant wallon(ne) par un parent n'est pas autorisée pour le moment.",SS="La consultation des données d'un(e) patient(e) bruxellois(e) par un(e) mandataire n'est pas autorisée pour le moment.",kS="La consultation des données d'un(e) patient(e) wallon(ne) par un(e) mandataire n'est pas autorisée pour le moment.",CS="Le NISS du patient n’est pas valide. (VIDIS_0190)",IS="L’utilisateur n’est pas autorisé à effectuer l’opération en raison d’une exclusion entre le demandeur et le patient. (VIDIS_0200)",DS="La connexion a échoué. Essayez-vous à nouveau? (VIDIS_0210)",NS="La connexion a échoué. Essayez-vous à nouveau? (VIDIS_0211)",TS="L’opération n’est pas valide. (VIDIS_0230)",MS="Le rôle d’utilisateur doit être citoyen (VIDIS_0290)",RS="Votre niveau d’authentification ne vous permet pas d’accéder à cette page. Veuillez vous connecter avec un autre moyen d’authentification (itsme, eID ou code de sécurité envoyé par e-mail ou via app). (VIDIS_0330)",OS="Vous n’êtes pas autorisé à consulter les données de ce patient parce que votre visa n’est pas actif. Veuillez prendre contact avec le SPF Santé publique à l’adresse e-mail suivante : visa@health.belgium.be (VIDIS_0340)",PS="Vous n’êtes pas autorisé à consulter les données de ce patient. - Soit votre visa n’est pas actif. Veuillez prendre contact avec le SPF Santé publique via l’adresse e-mail suivante : visa@health.belgium.be - Soit le numéro INAMI de la pharmacie n’est pas valide. Veuillez dans ce cas contacter l’INAMI à l’adresse e-mail dossierpharma@riziv-inami.fgov.be (VIDIS_0341)",AS="Votre requête est invalide. Veuillez réessayer plus tard. (VIDIS_0400)",LS="Impossible de déterminer la région de stockage du schéma de médication. (VIDIS_0435)",FS="Malheureusement, cela ne s'est pas bien passé. Voulez-vous réessayer ? (VIDIS_0440)",jS="Malheureusement, nous n'avons pas pu récupérer vos données. Voulez-vous réessayer ? (VIDIS_5000)",VS="Malheureusement, cela ne s'est pas bien passé. Voulez-vous réessayer ? (VIDIS_7000)",BS="Malheureusement, il n’a pas été possible de retrouver les détails de la prescription. Essayez-vous à nouveau?",zS="Une erreur technique interne s'est produite. Veuillez réessayer plus tard.",HS="Une erreur technique interne s'est produite. Veuillez réessayer plus tard.",qS="Revenir au portail MaSanté",GS="https://wwwint.masante.belgique.be/#/",$S="Désolé, une erreur réseau s'est produite. Veuillez contacter votre administrateur réseau si le problème persiste.",US="Le format de date est invalide.",WS="Service temporairement indisponible",ZS=`Nous rencontrons actuellement un problème de connexion au serveur.
32
+ Veuillez réessayer plus tard.`,vJ={VIDIS_0035:mS,VIDIS_0050:fS,VIDIS_0090:gS,VIDIS_0100:vS,VIDIS_0110:bS,VIDIS_0120:yS,VIDIS_0121:_S,VIDIS_0122:wS,VIDIS_0123:xS,VIDIS_0124:ES,VIDIS_0125:SS,VIDIS_0126:kS,VIDIS_0190:CS,VIDIS_0200:IS,VIDIS_0210:DS,VIDIS_0211:NS,VIDIS_0230:TS,VIDIS_0290:MS,VIDIS_0330:RS,VIDIS_0340:OS,VIDIS_0341:PS,VIDIS_0400:AS,VIDIS_0435:LS,VIDIS_0440:FS,VIDIS_5000:jS,VIDIS_7000:VS,prescriptionList:BS,general:zS,"no-access":HS,myHealth:qS,myHealthUrl:GS,network_error:$S,invalid_date_format:US,"status-message-title":WS,"status-message-content":ZS},YS={};re(YS,{VIDIS_0035:()=>KS,VIDIS_0050:()=>QS,VIDIS_0090:()=>JS,VIDIS_0100:()=>XS,VIDIS_0110:()=>ek,VIDIS_0120:()=>tk,VIDIS_0121:()=>nk,VIDIS_0122:()=>rk,VIDIS_0123:()=>ak,VIDIS_0124:()=>ik,VIDIS_0125:()=>ok,VIDIS_0126:()=>sk,VIDIS_0190:()=>lk,VIDIS_0200:()=>uk,VIDIS_0210:()=>ck,VIDIS_0211:()=>dk,VIDIS_0230:()=>hk,VIDIS_0290:()=>pk,VIDIS_0330:()=>mk,VIDIS_0340:()=>fk,VIDIS_0341:()=>gk,VIDIS_0400:()=>vk,VIDIS_0435:()=>bk,VIDIS_0440:()=>yk,VIDIS_5000:()=>_k,VIDIS_7000:()=>wk,default:()=>bJ,general:()=>Ek,invalid_date_format:()=>Dk,myHealth:()=>kk,myHealthUrl:()=>Ck,network_error:()=>Ik,"no-access":()=>Sk,prescriptionList:()=>xk,"status-message-content":()=>Tk,"status-message-title":()=>Nk});var KS="Dit ging jammer genoeg niet goed. Probeert u het even opnieuw? (VIDIS_0035)",QS="Het INSZ-patiëntnummer ontbreekt. (VIDIS_0050)",JS="De persoonlijke informatie verstrekt werd niet herkend. (VIDIS_0090)",XS="De gebruiker mag de bewerking niet uitvoeren. (VIDIS_0100)",ek="De patiënt heeft geen geïnformeerde toestemming gegeven om persoonlijke gezondheidsinformatie te delen. (VIDIS_0110)",tk="Er is geen therapeutische relatie tussen de zorgverlener en de patiënt. (VIDIS_0120)",nk="Het raadplegen van gegevens van een Brusselse patiënt is momenteel niet toegelaten.",rk="Het raadplegen van gegevens van een Waalse patiënt is op dit moment niet toegelaten.",ak="Het raadplegen van gegevens van een Brusselse kind door een ouder is momenteel niet toegelaten.",ik="Het raadplegen van gegevens van een Waalse kind door een ouder is momenteel niet toegelaten.",ok="Het raadplegen van gegevens van een Brusselse patiënt door een volmacht is momenteel niet toegelaten.",sk="Het raadplegen van gegevens van een Waalse patiënt door een volmacht is momenteel niet toegelaten.",lk="Het INSZ-patiëntnummer is ongeldig. (VIDIS_0190)",uk="De gebruiker mag de bewerking niet uitvoeren omdat er een uitsluiting bestaat tussen de aanvrager en de patiënt. (VIDIS_0200)",ck="Het inloggen is niet geslaagd. Probeert u het even opnieuw? (VIDIS_0210)",dk="Het inloggen is niet geslaagd. Probeert u het even opnieuw? (VIDIS_0211)",hk="Het verzoek is ongeldig. (VIDIS_0230)",pk="Gebruikersrol moet burger zijn. (VIDIS_0290)",mk="Uw authenticatieniveau is onvoldoende om toegang te krijgen tot deze pagina. Gelieve u op een andere manier te authenticeren (itsme, eID of een beveiligingscode verstuurd via email of een app). (VIDIS_0330)",fk="U bent niet bevoegd om de gegevens van deze patiënt te bekijken omdat uw visum niet actief is. Gelieve contact op te nemen met de FOD Volksgezondheid via het e-mailadres visa@health.fgov.be (VIDIS_0340)",gk="U bent niet bevoegd om de gegevens van deze patiënt te bekijken omdat - ofwel uw visum niet actief is. Gelieve contact op te nemen met de FOD Volksgezondheid via het e-mailadres visa@health.fgov.be - ofwel het RIZIV nummer van de apotheek niet geldig is. Gelieve contact op te nemen met het RIZIV via het e-mailadres dossierpharma@riziv-inami.fgov.be (VIDIS_0341)",vk="Uw aanvraag is ongeldig. Probeer het later opnieuw. (VIDIS_0400)",bk="Kan de opslagregio van het medicatieschema niet bepalen. (VIDIS_0435)",yk="Dit ging jammer genoeg niet goed. Probeert u het even opnieuw? (VIDIS_0440)",_k="Het is jammer genoeg niet gelukt uw gegevens op te halen. Probeert u het even opnieuw? (VIDIS_5000)",wk="Dit ging jammer genoeg niet goed. Probeert u het even opnieuw? (VIDIS_7000)",xk="Het is jammer genoeg niet gelukt de details van het voorschrift op te halen. Probeert u het even opnieuw?",Ek="Er is een interne technische fout opgetreden. Probeer het later opnieuw.",Sk="Er is een interne technische fout opgetreden. Probeer het later opnieuw.",kk="Terug naar het MijnGezondheid portaal",Ck="http://wwwint.mijngezondheid.belgie.be/",Ik="Er is helaas een netwerkfout opgetreden. Neem contact op met uw netwerkbeheerder als het probleem aanhoudt.",Dk="Ongeldig datumformaat.",Nk="Service tijdelijk niet beschikbaar",Tk=`Er is momenteel een probleem met de verbinding met de server.
33
+ Probeer het later nog eens.`,bJ={VIDIS_0035:KS,VIDIS_0050:QS,VIDIS_0090:JS,VIDIS_0100:XS,VIDIS_0110:ek,VIDIS_0120:tk,VIDIS_0121:nk,VIDIS_0122:rk,VIDIS_0123:ak,VIDIS_0124:ik,VIDIS_0125:ok,VIDIS_0126:sk,VIDIS_0190:lk,VIDIS_0200:uk,VIDIS_0210:ck,VIDIS_0211:dk,VIDIS_0230:hk,VIDIS_0290:pk,VIDIS_0330:mk,VIDIS_0340:fk,VIDIS_0341:gk,VIDIS_0400:vk,VIDIS_0435:bk,VIDIS_0440:yk,VIDIS_5000:_k,VIDIS_7000:wk,prescriptionList:xk,general:Ek,"no-access":Sk,myHealth:kk,myHealthUrl:Ck,network_error:Ik,invalid_date_format:Dk,"status-message-title":Nk,"status-message-content":Tk},yJ={nl:YS,fr:pS,de:Yx,en:ME},Mk={};re(Mk,{1:()=>Rk,10:()=>zk,11:()=>Hk,12:()=>qk,13:()=>Gk,14:()=>$k,15:()=>Uk,16:()=>Wk,17:()=>Zk,18:()=>Yk,19:()=>Kk,2:()=>Ok,20:()=>Qk,21:()=>Jk,22:()=>Xk,23:()=>eC,24:()=>tC,25:()=>nC,26:()=>rC,27:()=>aC,28:()=>iC,29:()=>oC,3:()=>Pk,30:()=>sC,31:()=>lC,32:()=>uC,33:()=>cC,34:()=>dC,4:()=>Ak,40:()=>hC,41:()=>pC,5:()=>Lk,6:()=>Fk,7:()=>jk,71:()=>mC,8:()=>Vk,9:()=>Bk,90:()=>fC,91:()=>gC,92:()=>vC,93:()=>bC,default:()=>_J});var Rk="Gelatinekapseln",Ok="Tabletten",Pk="Creme",Ak="Gel",Lk="Paste",Fk="Fette Salbe",jk="Granulat",Vk="Zäpfchen für Erwachsene",Bk="Zäpfchen für Kinder",zk="Vaginalzäpfchen",Hk="Rektiole",qk="nicht gespaltenes Pulver innerliche Anwendung",Gk="nicht gespaltenes Pulver äußerliche Anwendung",$k="Inhalation",Uk="Pulver Zum Spalten innerliche Anwendung",Wk="Pulver Zum Spalten äußerliche Anwendung",Zk="Nasentropfen",Yk="Nasensalbe",Kk="Sirup",Qk="Lösung innerliche Anwendung",Jk="Lösung äußerliche Anwendung",Xk="Tropfen innerliche Anwendung",eC="Tropfen äußerliche Anwendung",tC="Emulsion innerliche Anwendung",nC="Emulsion äußerliche Anwendung",rC="Shampoo",aC="Augentropfen",iC="Augenlotion",oC="Augenbad",sC="Salbe",lC="Augensalbe ",uC="Ohrentropfen",cC="Suspension innerliche Anwendung",dC="Suspension äußerliche Anwendung",hC="Kräutermischung",pC="Tee",mC="enterische Kapseln",fC="derartig",gC="Dermatologie (fest) derartig",vC="Pulver derartig",bC="Lösung derartig",_J={1:Rk,2:Ok,3:Pk,4:Ak,5:Lk,6:Fk,7:jk,8:Vk,9:Bk,10:zk,11:Hk,12:qk,13:Gk,14:$k,15:Uk,16:Wk,17:Zk,18:Yk,19:Kk,20:Qk,21:Jk,22:Xk,23:eC,24:tC,25:nC,26:rC,27:aC,28:iC,29:oC,30:sC,31:lC,32:uC,33:cC,34:dC,40:hC,41:pC,71:mC,90:fC,91:gC,92:vC,93:bC},yC={};re(yC,{1:()=>_C,10:()=>NC,11:()=>TC,12:()=>MC,13:()=>RC,14:()=>OC,15:()=>PC,16:()=>AC,17:()=>LC,18:()=>FC,19:()=>jC,2:()=>wC,20:()=>VC,21:()=>BC,22:()=>zC,23:()=>HC,24:()=>qC,25:()=>GC,26:()=>$C,27:()=>UC,28:()=>WC,29:()=>ZC,3:()=>xC,30:()=>YC,31:()=>KC,32:()=>QC,33:()=>JC,34:()=>XC,4:()=>EC,40:()=>eI,41:()=>tI,5:()=>SC,6:()=>kC,7:()=>CC,71:()=>nI,8:()=>IC,9:()=>DC,90:()=>rI,91:()=>aI,92:()=>iI,93:()=>oI,default:()=>wJ});var _C="Capsules",wC="Tablets",xC="Cream",EC="Gel",SC="Paste",kC="Fatty ointment",CC="Granulate",IC="Adult suppository",DC="Child suppository",NC="Vaginal ovules",TC="Rectiole",MC="Undivided powder for internal use",RC="Undivided powder for external use",OC="Inhalation",PC="Divided powders for internal use",AC="Divided powders for external use",LC="Nasal drops",FC="Nasal ointment",jC="Syrup",VC="Solution for internal use",BC="Solution for external use",zC="Drops for internal use",HC="Drops for external use",qC="Emulsion for internal use",GC="Emulsion for external use",$C="Shampoo",UC="Eye drops",WC="Eye lotion",ZC="Eye bath",YC="Ointment",KC="Eye ointment",QC="Ear drops",JC="Suspension for internal use",XC="Suspension for external use",eI="Herbal mixture",tI="Tea",nI="Enteric-coated capsules",rI="As is",aI="Dermatology (solid) as is",iI="Powder as is",oI="Liquid as is",wJ={1:_C,2:wC,3:xC,4:EC,5:SC,6:kC,7:CC,8:IC,9:DC,10:NC,11:TC,12:MC,13:RC,14:OC,15:PC,16:AC,17:LC,18:FC,19:jC,20:VC,21:BC,22:zC,23:HC,24:qC,25:GC,26:$C,27:UC,28:WC,29:ZC,30:YC,31:KC,32:QC,33:JC,34:XC,40:eI,41:tI,71:nI,90:rI,91:aI,92:iI,93:oI},sI={};re(sI,{1:()=>lI,10:()=>vI,11:()=>bI,12:()=>yI,13:()=>_I,14:()=>wI,15:()=>xI,16:()=>EI,17:()=>SI,18:()=>kI,19:()=>CI,2:()=>uI,20:()=>II,21:()=>DI,22:()=>NI,23:()=>TI,24:()=>MI,25:()=>RI,26:()=>OI,27:()=>PI,28:()=>AI,29:()=>LI,3:()=>cI,30:()=>FI,31:()=>jI,32:()=>VI,33:()=>BI,34:()=>zI,4:()=>dI,40:()=>HI,41:()=>qI,5:()=>hI,6:()=>pI,7:()=>mI,71:()=>GI,8:()=>fI,9:()=>gI,90:()=>$I,91:()=>UI,92:()=>WI,93:()=>ZI,default:()=>xJ});var lI="Gélules",uI="Cachets / comprimés",cI="Crème",dI="Gel",hI="Pâte",pI="Pommade grasse",mI="Granulé",fI="Suppo adulte",gI="Suppo enfant",vI="Ovules vaginales",bI="Rectiole",yI="Poudre non-divisée usage interne",_I="Poudre non-divisée usage externe",wI="Inhalation",xI="Poudres à diviser usage interne",EI="Poudres à diviser usage externe",SI="Gouttes nasales",kI="Pommade nasale",CI="Sirop",II="Solution usage interne",DI="Solution usage externe",NI="Gouttes usage interne",TI="Gouttes usage externe",MI="Emulsion usage interne",RI="Emulsion usage externe",OI="Shampooing",PI="Gouttes ophtalmiques",AI="Lotion ophtalmique",LI="Bain ophtalmique",FI="Pommade",jI="Pommade ophtalmique",VI="Gouttes auriculaires",BI="Suspension usage interne",zI="Suspension usage externe",HI="Mélange de plantes",qI="Thé",GI="Gélules à enrobage entérique / Gélules entériques",$I="en tant que tel/telle",UI="Dermatologie (solide) en tant que telle",WI="Poudre en tant que telle ",ZI="Solution en tant que telle ",xJ={1:lI,2:uI,3:cI,4:dI,5:hI,6:pI,7:mI,8:fI,9:gI,10:vI,11:bI,12:yI,13:_I,14:wI,15:xI,16:EI,17:SI,18:kI,19:CI,20:II,21:DI,22:NI,23:TI,24:MI,25:RI,26:OI,27:PI,28:AI,29:LI,30:FI,31:jI,32:VI,33:BI,34:zI,40:HI,41:qI,71:GI,90:$I,91:UI,92:WI,93:ZI},YI={};re(YI,{1:()=>KI,10:()=>i2,11:()=>o2,12:()=>s2,13:()=>l2,14:()=>u2,15:()=>c2,16:()=>d2,17:()=>h2,18:()=>p2,19:()=>m2,2:()=>QI,20:()=>f2,21:()=>g2,22:()=>v2,23:()=>b2,24:()=>y2,25:()=>_2,26:()=>w2,27:()=>x2,28:()=>E2,29:()=>S2,3:()=>JI,30:()=>k2,31:()=>C2,32:()=>I2,33:()=>D2,34:()=>N2,4:()=>XI,40:()=>T2,41:()=>M2,5:()=>e2,6:()=>t2,7:()=>n2,71:()=>R2,8:()=>r2,9:()=>a2,90:()=>O2,91:()=>P2,92:()=>A2,93:()=>L2,default:()=>EJ});var KI="Capsules",QI="Tabletten",JI="Creme",XI="Gel",e2="Pasta",t2="Vette zalf",n2="Granulaat",r2="Suppo volwassene",a2="Suppo kind",i2="Vaginale zetpillen / vaginale ovules",o2="Rektiool",s2="Niet-verdeeld poeder inwendig gebruik",l2="Niet-verdeeld poeder uitwendig gebruik",u2="Inhalatie",c2="Te verdelen poeders inwendig gebruik",d2="Te verdelen poeders uitwendig gebruik",h2="Neusdruppels",p2="Neuszalf",m2="Siroop",f2="Oplossing inwendig gebruik",g2="Oplossing uitwendig gebruik",v2="Druppels inwendig gebruik",b2="Druppels uitwendig gebruik",y2="Emulsie inwendig gebruik",_2="Emulsie uitwendig gebruik",w2="Shampoo",x2="Oogdruppels",E2="Ooglotion",S2="Oogbad",k2="Zalf",C2="Oogzalf",I2="Oordruppels",D2="Suspensie inwendig gebruik",N2="Suspensie uitwendig gebruik",T2="Kruidenmengsel",M2="Thee",R2="enterisch omhulde capsules",O2="Als dusdanig",P2="Als dusdanig dermatologie (vast)",A2="Als dusdanig poeder",L2="Als dusdanig vloeistof",EJ={1:KI,2:QI,3:JI,4:XI,5:e2,6:t2,7:n2,8:r2,9:a2,10:i2,11:o2,12:s2,13:l2,14:u2,15:c2,16:d2,17:h2,18:p2,19:m2,20:f2,21:g2,22:v2,23:b2,24:y2,25:_2,26:w2,27:x2,28:E2,29:S2,30:k2,31:C2,32:I2,33:D2,34:N2,40:T2,41:M2,71:R2,90:O2,91:P2,92:A2,93:L2},SJ={nl:YI,fr:sI,de:Mk,en:yC},F2={};re(F2,{close:()=>j2,default:()=>kJ,downloadLeaflet:()=>V2,file:()=>B2});var j2="Schließen",V2="Download Packungsbeilage (pdf)",B2="feile",kJ={close:j2,downloadLeaflet:V2,file:B2},z2={};re(z2,{close:()=>H2,default:()=>CJ,downloadLeaflet:()=>q2,file:()=>G2});var H2="Close",q2="Download leaflet (pdf)",G2="file",CJ={close:H2,downloadLeaflet:q2,file:G2},$2={};re($2,{close:()=>U2,default:()=>IJ,downloadLeaflet:()=>W2,file:()=>Z2});var U2="Fermer",W2="Télécharger la notice (pdf)",Z2="fichier",IJ={close:U2,downloadLeaflet:W2,file:Z2},Y2={};re(Y2,{close:()=>K2,default:()=>DJ,downloadLeaflet:()=>Q2,file:()=>J2});var K2="Sluiten",Q2="Download bijsluiter (pdf)",J2="bestand",DJ={close:K2,downloadLeaflet:Q2,file:J2},NJ={nl:Y2,fr:$2,de:F2,en:z2},X2={};re(X2,{afterbreakfast:()=>eD,afterdinner:()=>tD,afterlunch:()=>nD,aftermeal:()=>rD,afternoon:()=>aD,beforebreakfast:()=>iD,beforedinner:()=>oD,beforelunch:()=>sD,betweenbreakfastandlunch:()=>lD,betweendinnerandsleep:()=>uD,betweenlunchanddinner:()=>cD,betweenmeals:()=>dD,breakfast:()=>hD,default:()=>TJ,dinner:()=>pD,duringbreakfast:()=>mD,duringdinner:()=>fD,duringlunch:()=>gD,evening:()=>vD,lunch:()=>bD,morning:()=>yD,night:()=>_D,thehourofsleep:()=>wD});var eD="nach dem Frühstück",tD="nach dem Abendessen",nD="nach dem Mittagessen",rD="nach dem Essen",aD="Nachmittag",iD="vor dem Frühstück",oD="vor dem Abendessen",sD="vor dem Mittagessen",lD="zwischen Frühstück und Mittagessen",uD="zwischen Abendessen und Nachtruhe",cD="zwischen Mittagessen und Abendessen",dD="zwischen den Mahlzeiten",hD="Frühstück",pD="Abendessen",mD="zum Frühstück",fD="zum Abendessen",gD="zum Mittagessen",vD="Abend",bD="Mittagessen",yD="Vormittag",_D="Nacht",wD="Nachtruhe",TJ={afterbreakfast:eD,afterdinner:tD,afterlunch:nD,aftermeal:rD,afternoon:aD,beforebreakfast:iD,beforedinner:oD,beforelunch:sD,betweenbreakfastandlunch:lD,betweendinnerandsleep:uD,betweenlunchanddinner:cD,betweenmeals:dD,breakfast:hD,dinner:pD,duringbreakfast:mD,duringdinner:fD,duringlunch:gD,evening:vD,lunch:bD,morning:yD,night:_D,thehourofsleep:wD},xD={};re(xD,{afterbreakfast:()=>ED,afterdinner:()=>SD,afterlunch:()=>kD,aftermeal:()=>CD,afternoon:()=>ID,beforebreakfast:()=>DD,beforedinner:()=>ND,beforelunch:()=>TD,betweenbreakfastandlunch:()=>MD,betweendinnerandsleep:()=>RD,betweenlunchanddinner:()=>OD,betweenmeals:()=>PD,breakfast:()=>AD,default:()=>MJ,dinner:()=>LD,duringbreakfast:()=>FD,duringdinner:()=>jD,duringlunch:()=>VD,evening:()=>BD,lunch:()=>zD,morning:()=>HD,night:()=>qD,thehourofsleep:()=>GD});var ED="after breakfast",SD="after dinner",kD="after lunch",CD="after meal",ID="afternoon",DD="before breakfast",ND="before dinner",TD="before lunch",MD="between breakfast and lunch",RD="between dinner and the hour of sleep",OD="between lunch and dinner",PD="between meals",AD="breakfast",LD="dinner",FD="during breakfast",jD="during dinner",VD="during lunch",BD="evening",zD="lunch",HD="morning",qD="night",GD="the hour of sleep",MJ={afterbreakfast:ED,afterdinner:SD,afterlunch:kD,aftermeal:CD,afternoon:ID,beforebreakfast:DD,beforedinner:ND,beforelunch:TD,betweenbreakfastandlunch:MD,betweendinnerandsleep:RD,betweenlunchanddinner:OD,betweenmeals:PD,breakfast:AD,dinner:LD,duringbreakfast:FD,duringdinner:jD,duringlunch:VD,evening:BD,lunch:zD,morning:HD,night:qD,thehourofsleep:GD},$D={};re($D,{afterbreakfast:()=>UD,afterdinner:()=>WD,afterlunch:()=>ZD,aftermeal:()=>YD,afternoon:()=>KD,beforebreakfast:()=>QD,beforedinner:()=>JD,beforelunch:()=>XD,betweenbreakfastandlunch:()=>eN,betweendinnerandsleep:()=>tN,betweenlunchanddinner:()=>nN,betweenmeals:()=>rN,breakfast:()=>aN,default:()=>RJ,dinner:()=>iN,duringbreakfast:()=>oN,duringdinner:()=>sN,duringlunch:()=>lN,evening:()=>uN,lunch:()=>cN,morning:()=>dN,night:()=>hN,thehourofsleep:()=>pN});var UD="après le petit-déjeuner",WD="après le repas du soir",ZD="après le repas du midi",YD="après le repas",KD="après-midi",QD="avant le petit-déjeuner",JD="avant le repas du soir",XD="avant le repas du midi",eN="entre le petit-déjeuner et le repas du midi",tN="entre le repas du soir et l’heure du coucher",nN="entre le repas du midi et le repas du soir",rN="entre les repas",aN="petit-déjeuner",iN="repas du soir",oN="pendant le petit-déjeuner",sN="pendant le repas du soir",lN="pendant le repas du midi",uN="soir",cN="repas du midi",dN="matin",hN="nuit",pN="heure du coucher",RJ={afterbreakfast:UD,afterdinner:WD,afterlunch:ZD,aftermeal:YD,afternoon:KD,beforebreakfast:QD,beforedinner:JD,beforelunch:XD,betweenbreakfastandlunch:eN,betweendinnerandsleep:tN,betweenlunchanddinner:nN,betweenmeals:rN,breakfast:aN,dinner:iN,duringbreakfast:oN,duringdinner:sN,duringlunch:lN,evening:uN,lunch:cN,morning:dN,night:hN,thehourofsleep:pN},mN={};re(mN,{afterbreakfast:()=>fN,afterdinner:()=>gN,afterlunch:()=>vN,aftermeal:()=>bN,afternoon:()=>yN,beforebreakfast:()=>_N,beforedinner:()=>wN,beforelunch:()=>xN,betweenbreakfastandlunch:()=>EN,betweendinnerandsleep:()=>SN,betweenlunchanddinner:()=>kN,betweenmeals:()=>CN,breakfast:()=>IN,default:()=>OJ,dinner:()=>DN,duringbreakfast:()=>NN,duringdinner:()=>TN,duringlunch:()=>MN,evening:()=>RN,lunch:()=>ON,morning:()=>PN,night:()=>AN,thehourofsleep:()=>LN});var fN="na het ontbijt",gN="na het avondmaal",vN="na het middagmaal",bN="na de maaltijd",yN="namiddag",_N="voor het ontbijt",wN="voor het avondmaal",xN="voor het middagmaal",EN="tussen het ontbijt en het middagmaal",SN="tussen het avondmaal en het slapen gaan",kN="tussen het middagmaal en het avondmaal",CN="tussen de maaltijden",IN="ontbijt",DN="avondmaal",NN="tijdens het ontbijt",TN="tijdens het avondmaal",MN="tijdens het middagmaal",RN="'s avonds",ON="middagmaal",PN="'s ochtends",AN="'s nachts",LN="voor het slapen gaan",OJ={afterbreakfast:fN,afterdinner:gN,afterlunch:vN,aftermeal:bN,afternoon:yN,beforebreakfast:_N,beforedinner:wN,beforelunch:xN,betweenbreakfastandlunch:EN,betweendinnerandsleep:SN,betweenlunchanddinner:kN,betweenmeals:CN,breakfast:IN,dinner:DN,duringbreakfast:NN,duringdinner:TN,duringlunch:MN,evening:RN,lunch:ON,morning:PN,night:AN,thehourofsleep:LN},PJ={nl:mN,fr:$D,de:X2,en:xD},FN={};re(FN,{day:()=>jN,default:()=>AJ,during:()=>zN,on:()=>BN,week:()=>VN});var jN="Tag",VN="Woche",BN="am",zN="für",AJ={day:jN,week:VN,on:BN,during:zN},HN={};re(HN,{day:()=>qN,default:()=>LJ,during:()=>UN,on:()=>$N,week:()=>GN});var qN="day",GN="week",$N="on",UN="during",LJ={day:qN,week:GN,on:$N,during:UN},WN={};re(WN,{day:()=>ZN,default:()=>FJ,during:()=>QN,on:()=>KN,week:()=>YN});var ZN="jour",YN="semaine",KN="le",QN="durant",FJ={day:ZN,week:YN,on:KN,during:QN},JN={};re(JN,{day:()=>XN,default:()=>jJ,during:()=>nT,on:()=>tT,week:()=>eT});var XN="dag",eT="week",tT="op",nT="gedurende",jJ={day:XN,week:eT,on:tT,during:nT},VJ={nl:JN,fr:WN,de:FN,en:HN},rT={};re(rT,{a:()=>aT,d:()=>sT,default:()=>BJ,hr:()=>lT,min:()=>uT,mo:()=>iT,ms:()=>dT,ns:()=>pT,s:()=>cT,us:()=>hT,wk:()=>oT});var aT="{count} {count, plural, one{Jahr} other{Jahre}}",iT="{count} {count, plural, one{Monat} other{Monate}}",oT="{count} {count, plural, one{Woche} other{Wochen}}",sT="{count} {count, plural, one{Tag} other{Tage}}",lT="{count} {count, plural, one{Stunde} other{Stunden}}",uT="{count} {count, plural, one{Minute} other{Minuten}}",cT="{count} {count, plural, one{Sekunde} other{Sekunden}} ",dT="{count} {count, plural, one{Millisekunde} other{Millisekunden}}",hT="{count} {count, plural, one{Microsekunde} other{Microsekunden}}",pT="{count} {count, plural, one{Nanosekunde} other{Nanosekunden}}",BJ={a:aT,mo:iT,wk:oT,d:sT,hr:lT,min:uT,s:cT,ms:dT,us:hT,ns:pT},mT={};re(mT,{a:()=>fT,d:()=>bT,default:()=>zJ,hr:()=>yT,min:()=>_T,mo:()=>gT,ms:()=>xT,ns:()=>ST,s:()=>wT,us:()=>ET,wk:()=>vT});var fT="{count} {count, plural, one{year} other{years}}",gT="{count} {count, plural, one{month} other{months}}",vT="{count} {count, plural, one{week} other{weeks}}",bT="{count} {count, plural, one{day} other{days}}",yT="{count} {count, plural, one{hour} other{hours}}",_T="{count} {count, plural, one{minute} other{minutes}}",wT="{count} {count, plural, one{second} other{seconds}}",xT="{count} {count, plural, one{millisecond} other{millisecondes}}",ET="{count} {count, plural, one{microsecond} other{microsecondes}}",ST="{count} {count, plural, one{nanosecond} other{nanosecondes}}",zJ={a:fT,mo:gT,wk:vT,d:bT,hr:yT,min:_T,s:wT,ms:xT,us:ET,ns:ST},kT={};re(kT,{a:()=>CT,d:()=>NT,default:()=>HJ,hr:()=>TT,min:()=>MT,mo:()=>IT,ms:()=>OT,ns:()=>AT,s:()=>RT,us:()=>PT,wk:()=>DT});var CT="{count} {count, plural, one{année} other{années}}",IT="{count} {count, plural, one{mois} other{mois}}",DT="{count} {count, plural, one{semaine} other{semaines}}",NT="{count} {count, plural, one{jour} other{jours}}",TT="{count} {count, plural, one{heure} other{heures}}",MT="{count} {count, plural, one{minute} other{minutes}}",RT="{count} {count, plural, one{seconde} other{secondes}}",OT="{count} {count, plural, one{milliseconde} other{millisecondes}}",PT="{count} {count, plural, one{microseconde} other{microsecondes}}",AT="{count} {count, plural, one{nanoseconde} other{nanosecondes}}",HJ={a:CT,mo:IT,wk:DT,d:NT,hr:TT,min:MT,s:RT,ms:OT,us:PT,ns:AT},LT={};re(LT,{a:()=>FT,d:()=>BT,default:()=>qJ,hr:()=>zT,min:()=>HT,mo:()=>jT,ms:()=>GT,ns:()=>UT,s:()=>qT,us:()=>$T,wk:()=>VT});var FT="{count} {count, plural, one{jaar} other{jaren}}",jT="{count} {count, plural, one{maand} other{maanden}}",VT="{count} {count, plural, one{week} other{weken}}",BT="{count} {count, plural, one{dag} other{dagen}}",zT="{count} {count, plural, one{uur} other{uren}}",HT="{count} {count, plural, one{minuut} other{minuten}}",qT="{count} {count, plural, one{seconde} other{seconden}}",GT="{count} {count, plural, one{milliseconde} other{milliseconden}}",$T="{count} {count, plural, one{microseconde} other{microseconden}}",UT="{count} {count, plural, one{nanoseconde} other{nanoseconden}}",qJ={a:FT,mo:jT,wk:VT,d:BT,hr:zT,min:HT,s:qT,ms:GT,us:$T,ns:UT},GJ={nl:LT,fr:kT,de:rT,en:mT},WT={};re(WT,{"%":()=>ZT,"%vv":()=>rR,"%wv":()=>aR,"%ww":()=>iR,"1000/mm3":()=>yM,amp:()=>YT,atptreatment:()=>XR,bag:()=>KT,bitperminute:()=>oR,bol:()=>sR,bot:()=>lR,box:()=>QT,c:()=>VR,can:()=>uR,cap:()=>cR,cc:()=>dR,cm:()=>hR,cmm:()=>_M,cnt:()=>BR,ctg:()=>jM,ctr:()=>pR,daily:()=>jR,day:()=>wM,default:()=>$J,degree:()=>bM,dis:()=>kM,drm:()=>zR,fl:()=>JT,fld:()=>CM,flo:()=>IM,ftc:()=>DM,fts:()=>NM,"g/dl":()=>XT,gal:()=>VM,gm:()=>eM,goutte:()=>FM,gr:()=>mR,hour:()=>LM,in:()=>fR,inc:()=>gR,jar:()=>vR,kg:()=>tM,"kg/m2":()=>nM,kit:()=>bR,l:()=>rM,lb:()=>aM,lm:()=>HR,loz:()=>LR,mcg:()=>iM,mcl:()=>oM,mcm:()=>BM,mcn:()=>yR,meq:()=>sM,mg:()=>lM,"mg/dl":()=>uM,"mg/l":()=>cM,"mg/m2":()=>dM,"mg/ml":()=>hM,mgper100ml:()=>HM,mic:()=>_R,mil:()=>wR,millisecond:()=>AM,min:()=>xR,minute:()=>TM,mis:()=>qR,ml:()=>pM,"ml/min":()=>mM,"ml/min/1.73m2":()=>PR,mm:()=>MM,"mm/h":()=>RM,mmhg:()=>OM,mmo:()=>ER,mol:()=>fM,month:()=>SM,nl:()=>SR,nmg:()=>GR,nmo:()=>$R,ns:()=>YM,ondemand:()=>zM,oz:()=>gM,pel:()=>kR,pg:()=>ZM,pkg:()=>CR,pnu:()=>UR,ppm:()=>vM,pt:()=>IR,qs:()=>DR,qt:()=>NR,sat:()=>WR,second:()=>PM,shock:()=>AR,spoon:()=>xM,spr:()=>qM,sqc:()=>TR,stp:()=>ZR,sup:()=>KM,syr:()=>$M,tab:()=>QM,tbl:()=>JM,tes:()=>XM,ton:()=>nR,tpn:()=>UM,trc:()=>YR,tro:()=>FR,tsp:()=>tR,tub:()=>WM,umg:()=>MR,unt:()=>eR,vil:()=>GM,vpr:()=>KR,waf:()=>QR,week:()=>EM,x:()=>JR,ydl:()=>RR,yds:()=>OR});var ZT="%",YT="{count, plural, one{Glühbirn} other{Glühbirnen}}",KT="Beutel",QT="schachteln",JT="fl",XT="g/dl",eM="g",tM="kg",nM="kg/m²",rM="l",aM="lb",iM="µg",oM="µl",sM="meq",lM="mg",uM="mg/dl",cM="mg/l",dM="mg/m²",hM="mg/ml",pM="ml",mM="ml/min",fM="mol",gM="oz",vM="ppm",bM="°",yM="1000/mm³",_M="mm³",wM="{count, plural, one{Tag} other{Tage}}",xM="Löffel",EM="{count, plural, one{Woche} other{Wochen}}",SM="{count, plural, one{Monat} other{Monate}}",kM="{count, plural, one{Platte} other{Platten}}",CM="fl dr",IM="fl oz",DM="cu ft",NM="sq ft",TM="{count, plural, one{Minute} other{Minuten}}",MM="mm",RM="mm/h",OM="mmHg",PM="{count, plural, one{Sekunde} other{Sekunden}}",AM="{count, plural, one{Millisekunde} other{Millisekunden}}",LM="{count, plural, one{Stunde} other{Stunden}}",FM="{count, plural, one{Tropf} other{Tropfen}}",jM="{count, plural, one{Kartusche} other{Kartuschen}}",VM="gal",BM="mmol",zM="auf Antrag",HM="mg/100mL",qM="{count, plural, one{Sprühe} other{Sprühen}}",GM="{count, plural, one{Phiole} other{Phiolen}}",$M="{count, plural, one{Spritze} other{Spritzen}}",UM="Tampon",WM="{count, plural, one{Rohr} other{Rohre}}",ZM="pg",YM="nicht spezifiziert",KM="{count, plural, one{Zäpfch} other{Zäpfchen}}",QM="{count, plural, one{Tablette} other{Tabletten}}",JM="Esslöffel",XM="Test",eR="{count, plural, one{Einheit} other{Einheiten}}",tR="teelöffel",nR="ton",rR="% v/v",aR="% w/v",iR="% w/w",oR="Schläge pro Minute",sR="Bolus",lR="{count, plural, one{Flasche} other{Fläschchen}}",uR="Dose",cR="{count, plural, one{Kapsel} other{Kapseln}}",dR="cm3",hR="cm",pR="Halter",mR="Körnchen",fR="in",gR="in²",vR="Glas",bR="Kitt",yR="Micron",_R="µCi",wR="mCi",xR="minim",ER="μmol",SR="normal",kR="{count, plural, one{Pille} other{Pillen}}",CR="{count, plural, one{Paket} other{Pakete}}",IR="Pinte",DR="ausreichende Menge",NR="qt",TR="cm²",MR="{count, plural, one{Einheit / mg} other{Einheiten / mg}}",RR="yd",OR="yd²",PR="mL/min/1.73m²",AR="{count, plural, one{Schock} other{Schocks}}",LR="{count, plural, one{Pastille} other{Pastillen}}",FR="{count, plural, one{Pastille} other{Pastillen}}",jR="täglich",VR="homöopathische Verdünnung (Centesimal 1/100)",BR="cnt",zR="Fass",HR="homöopathische Verdünnung (50 Millisimal im Verhältnis 1:50,000)",qR="verschiedene",GR="ng",$R="nmol",UR="{count, plural, one{Proteineinheit} other{Proteineinheiten}}",WR="gesättigt",ZR="Strip",YR="Spur",KR="Therapieschema abhängig",QR="{count, plural, one{Oblate} other{Oblaten}}",JR="homöopathische Verdünnung (dezimal 1/10)",XR="anzahl der antitachykardie-stimulationsbehandlungen",$J={"%":ZT,amp:YT,bag:KT,box:QT,fl:JT,"g/dl":XT,gm:eM,kg:tM,"kg/m2":nM,l:rM,lb:aM,mcg:iM,mcl:oM,meq:sM,mg:lM,"mg/dl":uM,"mg/l":cM,"mg/m2":dM,"mg/ml":hM,ml:pM,"ml/min":mM,mol:fM,oz:gM,ppm:vM,degree:bM,"1000/mm3":yM,cmm:_M,day:wM,spoon:xM,week:EM,month:SM,dis:kM,fld:CM,flo:IM,ftc:DM,fts:NM,minute:TM,mm:MM,"mm/h":RM,mmhg:OM,second:PM,millisecond:AM,hour:LM,goutte:FM,ctg:jM,gal:VM,mcm:BM,ondemand:zM,mgper100ml:HM,spr:qM,vil:GM,syr:$M,tpn:UM,tub:WM,pg:ZM,ns:YM,sup:KM,tab:QM,tbl:JM,tes:XM,unt:eR,tsp:tR,ton:nR,"%vv":rR,"%wv":aR,"%ww":iR,bitperminute:oR,bol:sR,bot:lR,can:uR,cap:cR,cc:dR,cm:hR,ctr:pR,gr:mR,in:fR,inc:gR,jar:vR,kit:bR,mcn:yR,mic:_R,mil:wR,min:xR,mmo:ER,nl:SR,pel:kR,pkg:CR,pt:IR,qs:DR,qt:NR,sqc:TR,umg:MR,ydl:RR,yds:OR,"ml/min/1.73m2":PR,shock:AR,loz:LR,tro:FR,daily:jR,c:VR,cnt:BR,drm:zR,lm:HR,mis:qR,nmg:GR,nmo:$R,pnu:UR,sat:WR,stp:ZR,trc:YR,vpr:KR,waf:QR,x:JR,atptreatment:XR},eO={};re(eO,{"%":()=>tO,"%vv":()=>nO,"%wv":()=>rO,"%ww":()=>aO,"1000/mm3":()=>iO,amp:()=>oO,atptreatment:()=>sO,bag:()=>lO,bitperminute:()=>uO,bol:()=>cO,bot:()=>dO,box:()=>hO,c:()=>pO,can:()=>mO,cap:()=>fO,cc:()=>gO,cm:()=>vO,cmm:()=>bO,cnt:()=>yO,ctg:()=>_O,ctr:()=>wO,daily:()=>xO,day:()=>EO,default:()=>UJ,degree:()=>SO,dis:()=>kO,drm:()=>CO,fl:()=>IO,fld:()=>DO,flo:()=>NO,ftc:()=>TO,fts:()=>MO,"g/dl":()=>RO,gal:()=>OO,gm:()=>PO,goutte:()=>AO,gr:()=>LO,hour:()=>FO,in:()=>jO,inc:()=>VO,jar:()=>BO,kg:()=>zO,"kg/m2":()=>HO,kit:()=>qO,l:()=>GO,lb:()=>$O,lm:()=>UO,loz:()=>WO,mcg:()=>ZO,mcl:()=>YO,mcm:()=>KO,mcn:()=>QO,meq:()=>JO,mg:()=>XO,"mg/dl":()=>eP,"mg/l":()=>tP,"mg/m2":()=>nP,"mg/ml":()=>rP,mgper100ml:()=>aP,mic:()=>iP,mil:()=>oP,millisecond:()=>sP,min:()=>lP,minute:()=>uP,mis:()=>cP,ml:()=>dP,"ml/min":()=>hP,"ml/min/1.73m2":()=>pP,mm:()=>mP,"mm/h":()=>fP,mmhg:()=>gP,mmo:()=>vP,mol:()=>bP,month:()=>yP,nl:()=>_P,nmg:()=>wP,nmo:()=>xP,ns:()=>EP,ondemand:()=>SP,oz:()=>kP,pel:()=>CP,pg:()=>IP,pkg:()=>DP,pnu:()=>NP,ppm:()=>TP,pt:()=>MP,qs:()=>RP,sap:()=>OP,sat:()=>PP,second:()=>AP,shock:()=>LP,spoon:()=>FP,spr:()=>jP,sqc:()=>VP,stp:()=>BP,sup:()=>zP,syr:()=>HP,tab:()=>qP,tbl:()=>GP,tes:()=>$P,ton:()=>UP,tpn:()=>WP,trc:()=>ZP,tro:()=>YP,tsp:()=>KP,tub:()=>QP,umg:()=>JP,unt:()=>XP,vil:()=>eA,vpr:()=>tA,waf:()=>nA,week:()=>rA,x:()=>aA,ydl:()=>iA,yds:()=>oA});var tO="%",nO="% v/v",rO="% w/v",aO="% w/w",iO="1000/mm³",oO="{count, plural, one{ampule} other{ampules}}",sO="Number of treatments by anti-tachycardia pacing",lO="{count, plural, one{bag} other{bags}}",uO="{count, plural, one{bit per minute} other{bits per minute}}",cO="bolus",dO="{count, plural, one{bottle} other{bottles}}",hO="{count, plural, one{box} other{boxes}}",pO="homeopathic dilution (centesimal 1/100)",mO="{count, plural, one{can} other{cans}}",fO="{count, plural, one{capsule} other{capsules}}",gO="cm³",vO="cm",bO="mm³",yO="cnt",_O="{count, plural, one{cartridge} other{cartridges}}",wO="{count, plural, one{container} other{containers}}",xO="daily",EO="{count, plural, one{day} other{days}}",SO="°",kO="{count, plural, one{disk} other{disks}}",CO="drum",IO="{count, plural, one{fluid} other{fluids}}",DO="fl dr",NO="{count, plural, one{fluid ounce} other{fluid ounces}}",TO="cu ft",MO="sq ft",RO="g/dl",OO="{count, plural, one{gallon} other{gallons}}",PO="g",AO="{count, plural, one{drop} other{drops}}",LO="{count, plural, one{grain} other{grains}}",FO="{count, plural, one{hour} other{hours}}",jO="{count, plural, one{inch} other{inches}}",VO="in²",BO="{count, plural, one{jar} other{jars}}",zO="kg",HO="kg/m²",qO="kit",GO="{count, plural, one{liter} other{liters}}",$O="{count, plural, one{pound} other{pounds}}",UO="homeopathic dilution (fifty millesimal 1/50,000)",WO="{count, plural, one{lozenge} other{lozenges}}",ZO="µg",YO="µl",KO="mmol",QO="micron",JO="milliequivalent",XO="mg",eP="mg/dl",tP="mg/l",nP="mg/m²",rP="mg/ml",aP="mg/100mL",iP="µCi",oP="mCi",sP="{count, plural, one{millisecond} other{milliseconds}}",lP="minim",uP="{count, plural, one{minute} other{minutes}}",cP="miscellaneous",dP="{count, plural, one{milliliter} other{milliliters}}",hP="ml/min",pP="mL/min/1.73m²",mP="mm",fP="mm/h",gP="mmHg",vP="μmol",bP="mol",yP="{count, plural, one{month} other{months}}",_P="normal",wP="ng",xP="nmol",EP="not stated",SP="on demand",kP="{count, plural, one{ounce} other{ounces}}",CP="{count, plural, one{pellet} other{pellets}}",IP="pg",DP="{count, plural, one{package} other{packages}}",NP="{count, plural, one{protein unit} other{protein unit}}",TP="ppm",MP="{count, plural, one{pint} other{pints}}",RP="quantity sufficient",OP="Cumulative sap value",PP="saturated",AP="{count, plural, one{second} other{seconds}}",LP="shock",FP="{count, plural, one{spoon} other{spoons}}",jP="{count, plural, one{spray} other{sprays}}",VP="cm²",BP="{count, plural, one{strip} other{strips}}",zP="{count, plural, one{suppository} other{suppositories}}",HP="{count, plural, one{syrynge} other{syrynges}}",qP="{count, plural, one{tablet} other{tablets}}",GP="{count, plural, one{tablespoon} other{tablespoons}}",$P="{count, plural, one{test} other{tests}}",UP="{count, plural, one{ton} other{tons}}",WP="{count, plural, one{tampon} other{tampons}}",ZP="{count, plural, one{trace} other{traces}}",YP="{count, plural, one{troche} other{troches}}",KP="{count, plural, one{teaspoon} other{teaspoons}}",QP="{count, plural, one{tube} other{tubes}}",JP="UNITS PER MILLIGRAM",XP="{count, plural, one{unit} other{units}}",eA="{count, plural, one{vial} other{vials}}",tA="varies per regimen",nA="{count, plural, one{wafer} other{wafers}}",rA="{count, plural, one{week} other{weeks}}",aA="homeopathic dilution (decimal 1/10)",iA="yd",oA="yd²",UJ={"%":tO,"%vv":nO,"%wv":rO,"%ww":aO,"1000/mm3":iO,amp:oO,atptreatment:sO,bag:lO,bitperminute:uO,bol:cO,bot:dO,box:hO,c:pO,can:mO,cap:fO,cc:gO,cm:vO,cmm:bO,cnt:yO,ctg:_O,ctr:wO,daily:xO,day:EO,degree:SO,dis:kO,drm:CO,fl:IO,fld:DO,flo:NO,ftc:TO,fts:MO,"g/dl":RO,gal:OO,gm:PO,goutte:AO,gr:LO,hour:FO,in:jO,inc:VO,jar:BO,kg:zO,"kg/m2":HO,kit:qO,l:GO,lb:$O,lm:UO,loz:WO,mcg:ZO,mcl:YO,mcm:KO,mcn:QO,meq:JO,mg:XO,"mg/dl":eP,"mg/l":tP,"mg/m2":nP,"mg/ml":rP,mgper100ml:aP,mic:iP,mil:oP,millisecond:sP,min:lP,minute:uP,mis:cP,ml:dP,"ml/min":hP,"ml/min/1.73m2":pP,mm:mP,"mm/h":fP,mmhg:gP,mmo:vP,mol:bP,month:yP,nl:_P,nmg:wP,nmo:xP,ns:EP,ondemand:SP,oz:kP,pel:CP,pg:IP,pkg:DP,pnu:NP,ppm:TP,pt:MP,qs:RP,sap:OP,sat:PP,second:AP,shock:LP,spoon:FP,spr:jP,sqc:VP,stp:BP,sup:zP,syr:HP,tab:qP,tbl:GP,tes:$P,ton:UP,tpn:WP,trc:ZP,tro:YP,tsp:KP,tub:QP,umg:JP,unt:XP,vil:eA,vpr:tA,waf:nA,week:rA,x:aA,ydl:iA,yds:oA},sA={};re(sA,{"%":()=>lA,"%vv":()=>vL,"%wv":()=>bL,"%ww":()=>yL,"1000/mm3":()=>OA,amp:()=>uA,atptreatment:()=>pF,bag:()=>cA,bitperminute:()=>_L,bol:()=>wL,bot:()=>xL,box:()=>dA,c:()=>XL,can:()=>EL,cap:()=>SL,cc:()=>kL,cm:()=>CL,cmm:()=>PA,cnt:()=>eF,ctg:()=>JA,ctr:()=>IL,daily:()=>JL,day:()=>AA,default:()=>WJ,degree:()=>RA,dis:()=>VA,drm:()=>tF,fl:()=>hA,fld:()=>BA,flo:()=>zA,ftc:()=>HA,fts:()=>qA,"g/dl":()=>pA,gal:()=>XA,gm:()=>mA,goutte:()=>QA,gr:()=>DL,hour:()=>KA,in:()=>NL,inc:()=>TL,jar:()=>ML,kg:()=>fA,"kg/m2":()=>gA,kit:()=>RL,l:()=>vA,lb:()=>bA,lm:()=>nF,loz:()=>KL,mcg:()=>yA,mcl:()=>_A,mcm:()=>eL,mcn:()=>OL,meq:()=>wA,mg:()=>xA,"mg/dl":()=>EA,"mg/l":()=>SA,"mg/m2":()=>kA,"mg/ml":()=>CA,mgper100ml:()=>nL,mic:()=>PL,mil:()=>AL,millisecond:()=>YA,min:()=>LL,minute:()=>GA,mis:()=>rF,ml:()=>IA,"ml/min":()=>DA,"ml/min/1.73m2":()=>ZL,mm:()=>$A,"mm/h":()=>UA,mmhg:()=>WA,mmo:()=>FL,mol:()=>NA,month:()=>jA,nl:()=>jL,nmg:()=>aF,nmo:()=>iF,ns:()=>uL,ondemand:()=>tL,oz:()=>TA,pel:()=>VL,pg:()=>lL,pkg:()=>BL,pnu:()=>oF,ppm:()=>MA,pt:()=>zL,qs:()=>HL,qt:()=>qL,sat:()=>sF,second:()=>ZA,shock:()=>YL,spoon:()=>LA,spr:()=>rL,sqc:()=>GL,stp:()=>lF,sup:()=>cL,syr:()=>iL,tab:()=>dL,tbl:()=>hL,tes:()=>pL,ton:()=>gL,tpn:()=>oL,trc:()=>uF,tro:()=>QL,tsp:()=>fL,tub:()=>sL,umg:()=>$L,unt:()=>mL,vil:()=>aL,vpr:()=>cF,waf:()=>dF,week:()=>FA,x:()=>hF,ydl:()=>UL,yds:()=>WL});var lA="%",uA="{count, plural, one{ampoule} other{ampoules}}",cA="{count, plural, one{sac} other{sacs}}",dA="{count, plural, one{vaporisateur} other{vaporisateurs}}",hA="fl",pA="g/dl",mA="g",fA="kg",gA="kg/m²",vA="l",bA="lb",yA="µg",_A="µl",wA="milli-equivalent",xA="mg",EA="mg/dl",SA="mg/l",kA="mg/m²",CA="mg/ml",IA="ml",DA="ml/min",NA="mol",TA="oz",MA="ppm",RA="°",OA="1000/mm³",PA="mm³",AA="{count, plural, one{jour(s)} other{jours}}",LA="{count, plural, one{cuillère} other{cuillères}}",FA="{count, plural, one{semaine} other{semaines}}",jA="mois",VA="{count, plural, one{disque} other{disques}}",BA="fl dr",zA="fl oz",HA="cu ft",qA="sq ft",GA="{count, plural, one{minute} other{minutes}}",$A="mm",UA="mm/h",WA="mmHg",ZA="{count, plural, one{seconde} other{secondes}}",YA="{count, plural, one{milliseconde} other{millisecondes}}",KA="{count, plural, one{heure} other{heures}}",QA="{count, plural, one{goutte} other{gouttes}}",JA="{count, plural, one{cartouche} other{cartouches}}",XA="gal",eL="mmol",tL="sur demande",nL="mg/100mL",rL="spray",aL="{count, plural, one{fiole} other{fioles}}",iL="{count, plural, one{seringue} other{seringues}}",oL="{count, plural, one{tampon} other{tampons}}",sL="{count, plural, one{tube} other{tubes}}",lL="pg",uL="non spécifié",cL="{count, plural, one{suppositoire} other{suppositoires}}",dL="{count, plural, one{tablette} other{tablettes}}",hL="{count, plural, one{cuillère à soupe} other{cuillères à soupe}}",pL="{count, plural, one{test} other{tests}}",mL="{count, plural, one{unité} other{unités}}",fL="{count, plural, one{cuillère à café} other{cuillères à café}}",gL="{count, plural, one{ton} other{tons}}",vL="% v/v",bL="% w/v",yL="% w/w",_L="{count, plural, one{battement par minute} other{battements par minute}}",wL="{count, plural, one{bolus} other{bolus}}",xL="{count, plural, one{bouteille} other{bouteilles}}",EL="{count, plural, one{canette} other{canettes}}",SL="{count, plural, one{capsule} other{capsules}}",kL="cm3",CL="cm",IL="{count, plural, one{conteneur} other{conteneurs}}",DL="{count, plural, one{granule} other{granules}}",NL="in",TL="in²",ML="pot",RL="{count, plural, one{kit} other{kits}}",OL="micron",PL="µCi",AL="mCi",LL="minim",FL="μmol",jL="normal",VL="{count, plural, one{pilule} other{pilules}}",BL="{count, plural, one{paquet} other{paquets}}",zL="pinte",HL="quantité suffisante",qL="qt",GL="cm²",$L="{count, plural, one{unité / mg} other{unités / mg}}",UL="yd",WL="yd²",ZL="mL/min/1.73m²",YL="choc",KL="{count, plural, one{pastille} other{pastilles}}",QL="{count, plural, one{pastille} other{pastilles}}",JL="journalier",XL="dilution homéopathique (centésimal 1/100)",eF="cnt",tF="fût",nF="dilution homéopathique (50 millisimaux au ratio 1:50,000)",rF="divers",aF="ng",iF="nmol",oF="{count, plural, one{unité protéique} other{unités protéiques}}",sF="saturé",lF="strip",uF="trace",cF="dépendant du schéma thérapeutique",dF="{count, plural, one{hostie} other{hosties}}",hF="dilution homéopathique (décimal 1/10)",pF="{count, plural, one{Nombre de traitements par stimulation antitachycardique} other{Nombres de traitements par stimulation antitachycardique}}",WJ={"%":lA,amp:uA,bag:cA,box:dA,fl:hA,"g/dl":pA,gm:mA,kg:fA,"kg/m2":gA,l:vA,lb:bA,mcg:yA,mcl:_A,meq:wA,mg:xA,"mg/dl":EA,"mg/l":SA,"mg/m2":kA,"mg/ml":CA,ml:IA,"ml/min":DA,mol:NA,oz:TA,ppm:MA,degree:RA,"1000/mm3":OA,cmm:PA,day:AA,spoon:LA,week:FA,month:jA,dis:VA,fld:BA,flo:zA,ftc:HA,fts:qA,minute:GA,mm:$A,"mm/h":UA,mmhg:WA,second:ZA,millisecond:YA,hour:KA,goutte:QA,ctg:JA,gal:XA,mcm:eL,ondemand:tL,mgper100ml:nL,spr:rL,vil:aL,syr:iL,tpn:oL,tub:sL,pg:lL,ns:uL,sup:cL,tab:dL,tbl:hL,tes:pL,unt:mL,tsp:fL,ton:gL,"%vv":vL,"%wv":bL,"%ww":yL,bitperminute:_L,bol:wL,bot:xL,can:EL,cap:SL,cc:kL,cm:CL,ctr:IL,gr:DL,in:NL,inc:TL,jar:ML,kit:RL,mcn:OL,mic:PL,mil:AL,min:LL,mmo:FL,nl:jL,pel:VL,pkg:BL,pt:zL,qs:HL,qt:qL,sqc:GL,umg:$L,ydl:UL,yds:WL,"ml/min/1.73m2":ZL,shock:YL,loz:KL,tro:QL,daily:JL,c:XL,cnt:eF,drm:tF,lm:nF,mis:rF,nmg:aF,nmo:iF,pnu:oF,sat:sF,stp:lF,trc:uF,vpr:cF,waf:dF,x:hF,atptreatment:pF},mF={};re(mF,{"%":()=>fF,"%vv":()=>Sj,"%wv":()=>kj,"%ww":()=>Cj,"1000/mm3":()=>BF,amp:()=>gF,atptreatment:()=>_V,bag:()=>vF,bitperminute:()=>Ij,bol:()=>Dj,bot:()=>Nj,box:()=>bF,c:()=>oV,can:()=>Tj,cap:()=>Mj,cc:()=>Rj,cm:()=>Oj,cmm:()=>zF,cnt:()=>sV,ctg:()=>ij,ctr:()=>Pj,daily:()=>iV,day:()=>HF,default:()=>ZJ,degree:()=>VF,dis:()=>UF,drm:()=>lV,fl:()=>yF,fld:()=>WF,flo:()=>ZF,ftc:()=>YF,fts:()=>KF,"g/dl":()=>_F,gal:()=>oj,gm:()=>wF,goutte:()=>aj,gr:()=>Aj,hour:()=>rj,in:()=>Lj,inc:()=>Fj,jar:()=>jj,kg:()=>xF,"kg/m2":()=>EF,kit:()=>Vj,l:()=>SF,lb:()=>kF,lm:()=>uV,loz:()=>rV,mcg:()=>CF,mcl:()=>IF,mcm:()=>sj,mcn:()=>Bj,meq:()=>DF,mg:()=>NF,"mg/dl":()=>TF,"mg/l":()=>MF,"mg/m2":()=>RF,"mg/ml":()=>OF,mgper100ml:()=>uj,mic:()=>zj,mil:()=>Hj,millisecond:()=>nj,min:()=>qj,minute:()=>QF,mis:()=>cV,ml:()=>PF,"ml/min":()=>AF,"ml/min/1.73m2":()=>tV,mm:()=>JF,"mm/h":()=>XF,mmhg:()=>ej,mmo:()=>Gj,mol:()=>LF,month:()=>$F,nl:()=>$j,nmg:()=>dV,nmo:()=>hV,ns:()=>gj,ondemand:()=>lj,oz:()=>FF,pel:()=>Uj,pg:()=>fj,pkg:()=>Wj,pnu:()=>pV,ppm:()=>jF,pt:()=>Zj,qs:()=>Yj,qt:()=>Kj,sat:()=>mV,second:()=>tj,shock:()=>nV,spoon:()=>qF,spr:()=>cj,sqc:()=>Qj,stp:()=>fV,sup:()=>vj,syr:()=>hj,tab:()=>bj,tbl:()=>yj,tes:()=>_j,ton:()=>Ej,tpn:()=>pj,trc:()=>gV,tro:()=>aV,tsp:()=>xj,tub:()=>mj,umg:()=>Jj,unt:()=>wj,vil:()=>dj,vpr:()=>vV,waf:()=>bV,week:()=>GF,x:()=>yV,ydl:()=>Xj,yds:()=>eV});var fF="%",gF="{count, plural, one{ampule} other{ampullen}}",vF="{count, plural, one{zak} other{zakken}}",bF="{count, plural, one{verstuiver} other{verstuivers}}",yF="fl",_F="g/dl",wF="g",xF="kg",EF="kg/m²",SF="l",kF="lb",CF="µg",IF="µl",DF="{count, plural, one{milli-equivalent} other{milli-equivalenten}}",NF="mg",TF="mg/dl",MF="mg/l",RF="mg/m²",OF="mg/ml",PF="ml",AF="ml/min",LF="mol",FF="oz",jF="ppm",VF="°",BF="1000/mm³",zF="mm³",HF="{count, plural, one{dag} other{dagen}}",qF="{count, plural, one{lepel} other{lepels}}",GF="{count, plural, one{week} other{weken}}",$F="{count, plural, one{maand} other{maanden}}",UF="{count, plural, one{schijf} other{schijven}}",WF="fl dr",ZF="fl oz",YF="cu ft",KF="sq ft",QF="{count, plural, one{minuut} other{minuten}}",JF="mm",XF="mm/h",ej="mmHg",tj="{count, plural, one{seconde} other{seconden}}",nj="{count, plural, one{milliseconde} other{milliseconden}}",rj="{count, plural, one{uur} other{uren}}",aj="{count, plural, one{druppel} other{druppels}}",ij="{count, plural, one{patroon} other{patronen}}",oj="gal",sj="mmol",lj="op aanvraag",uj="mg/100mL",cj="{count, plural, one{spray} other{sprays}}",dj="{count, plural, one{flesje} other{flesjes}}",hj="{count, plural, one{spuit} other{spuiten}}",pj="{count, plural, one{tampon} other{tampons}}",mj="{count, plural, one{buis} other{buizen}}",fj="pg",gj="niet gespecificeerd",vj="{count, plural, one{zetpil} other{zetpillen}}",bj="{count, plural, one{tablet} other{tabletten}}",yj="{count, plural, one{eetlepel} other{eetlepels}}",_j="{count, plural, one{test} other{tests}}",wj="{count, plural, one{eenheid} other{eenheden}}",xj="{count, plural, one{theelepel} other{theelepels}}",Ej="{count, plural, one{ton} other{tonnen}}",Sj="% v/v",kj="% w/v",Cj="% w/w",Ij="{count, plural, one{slag per minuut} other{slagen per minuut}}",Dj="bolus",Nj="{count, plural, one{fles} other{flessen}}",Tj="{count, plural, one{blikje} other{blikjes}}",Mj="{count, plural, one{capsule} other{capsules}}",Rj="cm3",Oj="cm",Pj="{count, plural, one{houder} other{houders}}",Aj="{count, plural, one{korrel} other{korrels}}",Lj="in",Fj="in²",jj="{count, plural, one{pot} other{potten}}",Vj="{count, plural, one{kit} other{kits}}",Bj="micron",zj="µCi",Hj="mCi",qj="minim",Gj="μmol",$j="normaal",Uj="{count, plural, one{pil} other{pillen}}",Wj="{count, plural, one{pakket} other{pakketten}}",Zj="{count, plural, one{pint} other{pinten}}",Yj="voldoende hoeveelheid",Kj="qt",Qj="cm²",Jj="{count, plural, one{eenheid / mg} other{eenheden / mg}}",Xj="yd",eV="yd²",tV="mL/min/1.73m²",nV="{count, plural, one{schok} other{schokken}}",rV="{count, plural, one{zuigtablet} other{zuigtabletten}}",aV="{count, plural, one{zuigtablet} other{zuigtabletten}}",iV="dagelijks",oV="homeopathische verdunning (centesimal 1/100)",sV="cnt",lV="vat",uV="homeopathische verdunning (50 millesimal in verhouding 1:50,000)",cV="diverse",dV="ng",hV="nmol",pV="{count, plural, one{eiwiteenheid} other{eiwiteenheden}}",mV="verzadigd",fV="{count, plural, one{strip} other{strips}}",gV="{count, plural, one{spoor} other{sporen}}",vV="behandelingsschema-afhankelijk",bV="{count, plural, one{ouwel} other{ouwels}}",yV="homeopathische verdunning (decimaal 1/10)",_V="aantal anti-tachycardie-stimulatiebehandelingen",ZJ={"%":fF,amp:gF,bag:vF,box:bF,fl:yF,"g/dl":_F,gm:wF,kg:xF,"kg/m2":EF,l:SF,lb:kF,mcg:CF,mcl:IF,meq:DF,mg:NF,"mg/dl":TF,"mg/l":MF,"mg/m2":RF,"mg/ml":OF,ml:PF,"ml/min":AF,mol:LF,oz:FF,ppm:jF,degree:VF,"1000/mm3":BF,cmm:zF,day:HF,spoon:qF,week:GF,month:$F,dis:UF,fld:WF,flo:ZF,ftc:YF,fts:KF,minute:QF,mm:JF,"mm/h":XF,mmhg:ej,second:tj,millisecond:nj,hour:rj,goutte:aj,ctg:ij,gal:oj,mcm:sj,ondemand:lj,mgper100ml:uj,spr:cj,vil:dj,syr:hj,tpn:pj,tub:mj,pg:fj,ns:gj,sup:vj,tab:bj,tbl:yj,tes:_j,unt:wj,tsp:xj,ton:Ej,"%vv":Sj,"%wv":kj,"%ww":Cj,bitperminute:Ij,bol:Dj,bot:Nj,can:Tj,cap:Mj,cc:Rj,cm:Oj,ctr:Pj,gr:Aj,in:Lj,inc:Fj,jar:jj,kit:Vj,mcn:Bj,mic:zj,mil:Hj,min:qj,mmo:Gj,nl:$j,pel:Uj,pkg:Wj,pt:Zj,qs:Yj,qt:Kj,sqc:Qj,umg:Jj,ydl:Xj,yds:eV,"ml/min/1.73m2":tV,shock:nV,loz:rV,tro:aV,daily:iV,c:oV,cnt:sV,drm:lV,lm:uV,mis:cV,nmg:dV,nmo:hV,pnu:pV,sat:mV,stp:fV,trc:gV,vpr:vV,waf:bV,x:yV,atptreatment:_V},YJ={nl:mF,fr:sA,de:WT,en:eO},wV={};re(wV,{default:()=>KJ,header:()=>xV,patient:()=>EV,professional:()=>SV});var xV="Ausgegebene Medikamente?",EV={part1:{1:"Die Liste kann",2:" unvollständig ",3:"sein: Dies ist der Fall, wenn der Apotheker die Arzneimittel bei der Lieferung nicht auf Ihren Namen registriert hat."},part2:{1:"Die Liste kann Arzneimittel enthalten, die",2:" nicht für Sie bestimmt ",3:"sind. Dies geschieht, wenn Sie Ihre Medikamente gleichzeitig mit Medikamenten für eine andere Person abholen."},part3:{1:"Konsultieren Sie im Zweifelsfall immer Ihren Arzt oder Apotheker. Die Bereitstellung dieser Daten erfolgt zu",2:" Informationszwecken und ist kein Ersatz für eine professionelle medizinische Beratung."}},SV={part1:{1:"Die Liste kann",2:" unvollständig ",3:": , da bestimmte Arzneimittel nicht von einer belgischen Apotheke geliefert oder registriert wurden."},part2:{1:"Die Liste kann Arzneimittel enthalten, die",2:" nicht für diesen Patienten bestimmt ",3:"sind. Dies geschieht, wenn Medikamente für eine andere Person abgeholt werden, ohne dass das/die dazugehörige Verschreibungen ausgestellt wird."}},KJ={header:xV,patient:EV,professional:SV},kV={};re(kV,{default:()=>QJ,header:()=>CV,patient:()=>IV,professional:()=>DV});var CV="Hoe de lijst interpreteren?",IV={part1:{1:"Het is mogelijk dat de lijst",2:" onvolledig ",3:"is: dat is het geval indien de apotheker de geneesmiddelen niet op uw naam heeft geregistreerd bij aflevering."},part2:{1:"De lijst kan geneesmiddelen bevatten die",2:" niet voor u bestemd ",3:"zijn. Dat gebeurt wanneer u uw geneesmiddelen, samen met geneesmiddelen voor iemand anders, ophaalt op het zelfde moment."},part3:{1:"Raadpleeg bij twijfel altijd uw arts of apotheker. Deze gegevens worden aangeboden voor",2:" informatieve doeleinden en zijn geen vervanging voor professioneel medisch advies."}},DV={part1:{1:"Cette liste",2:" peut être incomplète ",3:": c'est le cas lorsque des médicaments n'ont pas été délivrés par une pharmacie belge ou qu'ils n'y ont pas été enregistrés."},part2:{1:"La liste peut contenir des médicaments",2:" qui ne concernent pas ce patient. ",3:"C'est le cas lorsqu'il a retiré des médicaments pour d'autres personnes sans donner leur(s) prescription(s)."}},QJ={header:CV,patient:IV,professional:DV},NV={};re(NV,{default:()=>JJ,header:()=>TV,patient:()=>MV,professional:()=>RV});var TV="Comment interpréter la liste?",MV={part1:{1:"Cette liste",2:" peut être incomplète ",3:": c'est le cas lorsque les médicaments retirés n'ont pas été enregistrés en votre nom par le pharmacien."},part2:{1:"La liste peut contenir des médicaments",2:" qui ne vous concernent pas. ",3:"Cela peut être le cas lorsque vous retirez des médicaments pour d'autres personnes en même temps que les vôtres."},part3:{1:"En cas de doute, consultez toujours votre médecin ou pharmacien. Ces données sont offertes",2:" à titre informatif et ne remplacent pas un avis médical professionnel."}},RV={part1:{1:"Cette liste",2:" peut être incomplète ",3:": c'est le cas lorsque des médicaments n'ont pas été délivrés par une pharmacie belge ou qu'ils n'y ont pas été enregistrés."},part2:{1:"La liste peut contenir des médicaments",2:" qui ne concernent pas ce patient. ",3:"C'est le cas lorsqu'il a retiré des médicaments pour d'autres personnes sans donner leur(s) prescription(s)."}},JJ={header:TV,patient:MV,professional:RV},OV={};re(OV,{default:()=>XJ,header:()=>PV,patient:()=>AV,professional:()=>LV});var PV="Hoe de lijst interpreteren?",AV={part1:{1:"Het is mogelijk dat de lijst",2:" onvolledig ",3:"is: dat is het geval indien de apotheker de geneesmiddelen niet op uw naam heeft geregistreerd bij aflevering."},part2:{1:"De lijst kan geneesmiddelen bevatten die",2:" niet voor u bestemd ",3:"zijn. Dat gebeurt wanneer u uw geneesmiddelen, samen met geneesmiddelen voor iemand anders, ophaalt op het zelfde moment."},part3:{1:"Raadpleeg bij twijfel altijd uw arts of apotheker. Deze gegevens worden aangeboden voor",2:" informatieve doeleinden en zijn geen vervanging voor professioneel medisch advies."}},LV={part1:{1:"Het is mogelijk dat de lijst",2:" onvolledig ",3:": is omdat bepaalde geneesmiddelen niet door een Belgische apotheek afgeleverd of geregistreerd werden."},part2:{1:"De lijst kan geneesmiddelen bevatten die",2:" niet voor deze patiënt bestemd ",3:"zijn. Dit gebeurt wanneer geneesmiddelen voor iemand anders opgehaald worden zonder afgifte van daarbij horend(e) voorschrift(en)."}},XJ={header:PV,patient:AV,professional:LV},eX={nl:OV,fr:NV,de:wV,en:kV},FV={};re(FV,{default:()=>tX,headers:()=>jV,magisterialPreparation:()=>VV,noContent:()=>BV});var jV={deliveredOn:"Ausgestellt am",medicationName:"Medikation",quantity:"Menge",patient:"Patient",leaflet:"Packungsbeilage"},VV="Verschreibungurarzneimittel",BV="Bei diesem Patienten wurden keine abgegebenen Medikamente wiedergefunden.",tX={headers:jV,magisterialPreparation:VV,noContent:BV},zV={};re(zV,{default:()=>nX,headers:()=>HV,magisterialPreparation:()=>qV,noContent:()=>GV});var HV={deliveredOn:"Delivered on",medicationName:"Medication",quantity:"Quantity",patient:"Patient",leaflet:"Leaflet"},qV="Magistral preparation",GV="There is no delivered medication found for this patient.",nX={headers:HV,magisterialPreparation:qV,noContent:GV},$V={};re($V,{default:()=>rX,headers:()=>UV,magisterialPreparation:()=>WV,noContent:()=>ZV});var UV={deliveredOn:"Délivré le",medicationName:"Médicament(s)",quantity:"Quantité",patient:"Patient",leaflet:"Leaflet"},WV="Préparation magistrale",ZV="Aucun médicament délivré n'a été retrouvé pour ce patient.",rX={headers:UV,magisterialPreparation:WV,noContent:ZV},YV={};re(YV,{default:()=>aX,headers:()=>KV,magisterialPreparation:()=>QV,noContent:()=>JV});var KV={deliveredOn:"Afgeleverd op",medicationName:"Geneesmiddel(en)",quantity:"Hoeveelheid",patient:"Patiënt",leaflet:"Bijsluiter"},QV="Magistrale bereiding",JV="Er zijn geen afgeleverde geneesmiddelen teruggevonden voor deze patiënt.",aX={headers:KV,magisterialPreparation:QV,noContent:JV},iX={nl:YV,fr:$V,de:FV,en:zV},XV={};re(XV,{composition:()=>eB,default:()=>oX,"delivered-by":()=>oB,"delivery-date":()=>iB,dguid:()=>nB,"is-prescribed":()=>rB,leaflet:()=>cB,"magisterial-preparation":()=>uB,medication:()=>hB,"no-pharmacy":()=>sB,noDetails:()=>pB,package:()=>dB,patient:()=>lB,posologie:()=>tB,quantity:()=>aB});var eB="Zusammensetzung",tB="Dosierung",nB="ID Ausgabe",rB={title:"Wurde verschrieben",yes:"Ja",no:"Nein"},aB="Gelieferte Menge",iB="Lieferdatum",oB="Geliefert von",sB="Apotheke mit LIKIV-Erkennungsnummer",lB="Patient",uB="Verschreibungurarzneimittel",cB="Packungsbeilage",dB="{count, plural, one{Verpackung} other{Verpackungen}}",hB="Arzneimittel",pB="Die angeforderte verschreibung wurde gelöscht oder existiert nicht.",oX={composition:eB,posologie:tB,dguid:nB,"is-prescribed":rB,quantity:aB,"delivery-date":iB,"delivered-by":oB,"no-pharmacy":sB,patient:lB,"magisterial-preparation":uB,leaflet:cB,package:dB,medication:hB,noDetails:pB},mB={};re(mB,{composition:()=>fB,default:()=>sX,"delivered-by":()=>wB,"delivery-date":()=>_B,dguid:()=>vB,"is-prescribed":()=>bB,leaflet:()=>kB,"magisterial-preparation":()=>SB,medication:()=>IB,"no-pharmacy":()=>xB,noDetails:()=>DB,package:()=>CB,patient:()=>EB,posologie:()=>gB,quantity:()=>yB});var fB="Composition",gB="Posologie",vB="ID délivrance",bB={title:"A été prescrit",yes:"Oui",no:"Non"},yB="Quantité délivrée",_B="Date de délivrance",wB="Délivré par",xB="Pharmacie avec numéro INAMI",EB="Patient",SB="Préparation magistrale",kB="Leaflet",CB="{count, plural, one{emballage} other{emballages}}",IB="Medication",DB="The requested information has been deleted or doesn't exist.",sX={composition:fB,posologie:gB,dguid:vB,"is-prescribed":bB,quantity:yB,"delivery-date":_B,"delivered-by":wB,"no-pharmacy":xB,patient:EB,"magisterial-preparation":SB,leaflet:kB,package:CB,medication:IB,noDetails:DB},NB={};re(NB,{composition:()=>TB,default:()=>lX,"delivered-by":()=>LB,"delivery-date":()=>AB,dguid:()=>RB,"is-prescribed":()=>OB,leaflet:()=>BB,"magisterial-preparation":()=>VB,medication:()=>HB,"no-pharmacy":()=>FB,noDetails:()=>qB,package:()=>zB,patient:()=>jB,posologie:()=>MB,quantity:()=>PB});var TB="Composition",MB="Posologie",RB="ID délivrance",OB={title:"A été prescrit",yes:"Oui",no:"Non"},PB="Quantité délivrée",AB="Date de délivrance",LB="Délivré par",FB="Pharmacie avec numéro INAMI",jB="Patient",VB="Préparation magistrale",BB="Leaflet",zB="{count, plural, one{emballage} other{emballages}}",HB="Médicament",qB="La prescription demandée a été supprimée ou n'existe pas.",lX={composition:TB,posologie:MB,dguid:RB,"is-prescribed":OB,quantity:PB,"delivery-date":AB,"delivered-by":LB,"no-pharmacy":FB,patient:jB,"magisterial-preparation":VB,leaflet:BB,package:zB,medication:HB,noDetails:qB},GB={};re(GB,{composition:()=>$B,default:()=>uX,"delivered-by":()=>QB,"delivery-date":()=>KB,dguid:()=>WB,"is-prescribed":()=>ZB,leaflet:()=>t3,"magisterial-preparation":()=>e3,medication:()=>r3,"no-pharmacy":()=>JB,noDetails:()=>a3,package:()=>n3,patient:()=>XB,posologie:()=>UB,quantity:()=>YB});var $B="Samenstelling",UB="Posologie",WB="ID aflevering",ZB={title:"Werd voorgeschreven",yes:"Ja",no:"Nee"},YB="Afgeleverde hoeveelheid",KB="Datum afgeleverd",QB="Afgeleverd door",JB="Apotheek met RIZIV-nummer",XB="Patiënt",e3="Magistrale bereiding",t3="Bijsluiter",n3="{count, plural, one{verpakking} other{verpakkingen}}",r3="Geneesmiddel(en)",a3="Het gevraagde voorschrift is verwijderd of bestaat niet.",uX={composition:$B,posologie:UB,dguid:WB,"is-prescribed":ZB,quantity:YB,"delivery-date":KB,"delivered-by":QB,"no-pharmacy":JB,patient:XB,"magisterial-preparation":e3,leaflet:t3,package:n3,medication:r3,noDetails:a3},cX={nl:GB,fr:NB,de:XV,en:mB},dX=class extends ro{getTranslation(e){return _t({commons:Kt(ge({},NJ[e]),{units:YJ[e],galenicFormCodes:SJ[e],timeUnits:GJ[e],administrationUnits:uJ[e],periods:PJ[e],days:mJ[e],posology:VJ[e],errors:yJ[e]}),deliveredMedicationsList:iX[e],deliveredMedicationsDisclaimer:eX[e],deliveredMedicationDetails:cX[e]})}},hX=[JQ,Q8({defaultLanguage:"fr",loader:{provide:ro,useClass:dX},compiler:{provide:io,useClass:nJ}})],Sa=function(e){return e.INITIAL="INITIAL",e.LOADING="LOADING",e.SUCCESS="SUCCESS",e.UPDATING="UPDATING",e.ERROR="ERROR",e}(Sa||{});function pX(e){let t=new yc(1);return e.subscribe({next:r=>{t.next(r),t.complete()},error:r=>t.error(r)}),t.asObservable()}function mX(e){return e.pipe(wt(t=>({status:Sa.SUCCESS,data:t})),Hs(t=>_t({status:Sa.ERROR,error:t})),yf({status:Sa.LOADING}))}var fX=()=>e=>mX(e),i3=(()=>{const t=class t{constructor(){this.http=D(no)}get(n){return this.http.post("/v2/deliveredMedications/findAll",{ssin:n})}};t.ɵfac=function(n){return new(n||t)},t.ɵprov=U({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),o3=(()=>{const t=class t{constructor(){this.http=D(no)}get(n){return this.http.get("assets/v2_deliveredMedications_findAll.json")}};t.ɵfac=function(n){return new(n||t)},t.ɵprov=U({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),s3=(()=>{const t=class t{};t.ɵfac=function(n){return new(n||t)},t.ɵprov=U({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),gX=(e,t)=>e.getEnvironmentVariable("env")===yr.DEMO?t.get(o3):t.get(i3),vX={provide:s3,useFactory:gX,deps:[sl,Tt]},dm=(()=>{const t=class t{constructor(){this.deliveredMedicationsApiService=D(s3),this.authServiceSelector=D(qd),this.deliveredMedicationsStateSubject$=new vc({status:Sa.INITIAL}),this.deliveredMedicationsState$=this.deliveredMedicationsStateSubject$.asObservable()}getDeliveredMedications(n,a=!1){return nr(this,null,function*(){let i=yield this.authServiceSelector.getInstance().getSsin(),o=(!n.cache.get(ts.DELIVERED_MEDICATIONS)||a?this.deliveredMedicationsApiService.get(i):_t(n.cache.get(ts.DELIVERED_MEDICATIONS))).pipe(fX(),Ho(l=>{n.cache.set(ts.DELIVERED_MEDICATIONS,l.data),this.deliveredMedicationsStateSubject$.next(l)}));return pX(o)})}};t.ɵfac=function(n){return new(n||t)},t.ɵprov=U({token:t,factory:t.ɵfac});let e=t;return e})(),Lo;function bX(){if(Lo===void 0&&(Lo=null,typeof window<"u")){let e=window;e.trustedTypes!==void 0&&(Lo=e.trustedTypes.createPolicy("angular#components",{createHTML:t=>t}))}return Lo}function ri(e){var t;return((t=bX())==null?void 0:t.createHTML(e))||e}function hm(e){return Error(`Unable to find icon with the name "${e}"`)}function yX(){return Error("Could not find HttpClient for use with Angular Material icons. Please add provideHttpClient() to your providers.")}function pm(e){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${e}".`)}function mm(e){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${e}".`)}var Vr=class{constructor(e,t,r){s(this,"url");s(this,"svgText");s(this,"options");s(this,"svgElement");this.url=e,this.svgText=t,this.options=r}},_X=(()=>{const t=class t{constructor(n,a,i,o){s(this,"_httpClient");s(this,"_sanitizer");s(this,"_errorHandler");s(this,"_document");s(this,"_svgIconConfigs",new Map);s(this,"_iconSetConfigs",new Map);s(this,"_cachedIconsByUrl",new Map);s(this,"_inProgressUrlFetches",new Map);s(this,"_fontCssClassesByAlias",new Map);s(this,"_resolvers",[]);s(this,"_defaultFontSetClass",["material-icons","mat-ligature-font"]);this._httpClient=n,this._sanitizer=a,this._errorHandler=o,this._document=i}addSvgIcon(n,a,i){return this.addSvgIconInNamespace("",n,a,i)}addSvgIconLiteral(n,a,i){return this.addSvgIconLiteralInNamespace("",n,a,i)}addSvgIconInNamespace(n,a,i,o){return this._addSvgIconConfig(n,a,new Vr(i,null,o))}addSvgIconResolver(n){return this._resolvers.push(n),this}addSvgIconLiteralInNamespace(n,a,i,o){let l=this._sanitizer.sanitize(on.HTML,i);if(!l)throw mm(i);let h=ri(l);return this._addSvgIconConfig(n,a,new Vr("",h,o))}addSvgIconSet(n,a){return this.addSvgIconSetInNamespace("",n,a)}addSvgIconSetLiteral(n,a){return this.addSvgIconSetLiteralInNamespace("",n,a)}addSvgIconSetInNamespace(n,a,i){return this._addSvgIconSetConfig(n,new Vr(a,null,i))}addSvgIconSetLiteralInNamespace(n,a,i){let o=this._sanitizer.sanitize(on.HTML,a);if(!o)throw mm(a);let l=ri(o);return this._addSvgIconSetConfig(n,new Vr("",l,i))}registerFontClassAlias(n,a=n){return this._fontCssClassesByAlias.set(n,a),this}classNameForFontAlias(n){return this._fontCssClassesByAlias.get(n)||n}setDefaultFontSetClass(...n){return this._defaultFontSetClass=n,this}getDefaultFontSetClass(){return this._defaultFontSetClass}getSvgIconFromUrl(n){let a=this._sanitizer.sanitize(on.RESOURCE_URL,n);if(!a)throw pm(n);let i=this._cachedIconsByUrl.get(a);return i?_t(Fo(i)):this._loadSvgIconFromConfig(new Vr(n,null)).pipe(Ho(o=>this._cachedIconsByUrl.set(a,o)),wt(o=>Fo(o)))}getNamedSvgIcon(n,a=""){let i=fm(a,n),o=this._svgIconConfigs.get(i);if(o)return this._getSvgFromConfig(o);if(o=this._getIconConfigFromResolvers(a,n),o)return this._svgIconConfigs.set(i,o),this._getSvgFromConfig(o);let l=this._iconSetConfigs.get(a);return l?this._getSvgFromIconSetConfigs(n,l):sf(hm(i))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(n){return n.svgText?_t(Fo(this._svgElementFromConfig(n))):this._loadSvgIconFromConfig(n).pipe(wt(a=>Fo(a)))}_getSvgFromIconSetConfigs(n,a){let i=this._extractIconWithNameFromAnySet(n,a);if(i)return _t(i);let o=a.filter(l=>!l.svgText).map(l=>this._loadSvgIconSetFromConfig(l).pipe(Hs(h=>{let u=`Loading icon set URL: ${this._sanitizer.sanitize(on.RESOURCE_URL,l.url)} failed: ${h.message}`;return this._errorHandler.handleError(new Error(u)),_t(null)})));return hf(o).pipe(wt(()=>{let l=this._extractIconWithNameFromAnySet(n,a);if(!l)throw hm(n);return l}))}_extractIconWithNameFromAnySet(n,a){for(let i=a.length-1;i>=0;i--){let o=a[i];if(o.svgText&&o.svgText.toString().indexOf(n)>-1){let l=this._svgElementFromConfig(o),h=this._extractSvgIconFromSet(l,n,o.options);if(h)return h}}return null}_loadSvgIconFromConfig(n){return this._fetchIcon(n).pipe(Ho(a=>n.svgText=a),wt(()=>this._svgElementFromConfig(n)))}_loadSvgIconSetFromConfig(n){return n.svgText?_t(null):this._fetchIcon(n).pipe(Ho(a=>n.svgText=a))}_extractSvgIconFromSet(n,a,i){let o=n.querySelector(`[id="${a}"]`);if(!o)return null;let l=o.cloneNode(!0);if(l.removeAttribute("id"),l.nodeName.toLowerCase()==="svg")return this._setSvgAttributes(l,i);if(l.nodeName.toLowerCase()==="symbol")return this._setSvgAttributes(this._toSvgElement(l),i);let h=this._svgElementFromString(ri("<svg></svg>"));return h.appendChild(l),this._setSvgAttributes(h,i)}_svgElementFromString(n){let a=this._document.createElement("DIV");a.innerHTML=n;let i=a.querySelector("svg");if(!i)throw Error("<svg> tag not found");return i}_toSvgElement(n){let a=this._svgElementFromString(ri("<svg></svg>")),i=n.attributes;for(let o=0;o<i.length;o++){let{name:l,value:h}=i[o];l!=="id"&&a.setAttribute(l,h)}for(let o=0;o<n.childNodes.length;o++)n.childNodes[o].nodeType===this._document.ELEMENT_NODE&&a.appendChild(n.childNodes[o].cloneNode(!0));return a}_setSvgAttributes(n,a){return n.setAttribute("fit",""),n.setAttribute("height","100%"),n.setAttribute("width","100%"),n.setAttribute("preserveAspectRatio","xMidYMid meet"),n.setAttribute("focusable","false"),a&&a.viewBox&&n.setAttribute("viewBox",a.viewBox),n}_fetchIcon(n){let{url:a,options:i}=n,o=(i==null?void 0:i.withCredentials)??!1;if(!this._httpClient)throw yX();if(a==null)throw Error(`Cannot fetch icon from URL "${a}".`);let l=this._sanitizer.sanitize(on.RESOURCE_URL,a);if(!l)throw pm(a);let h=this._inProgressUrlFetches.get(l);if(h)return h;let u=this._httpClient.get(l,{responseType:"text",withCredentials:o}).pipe(wt(c=>ri(c)),gf(()=>this._inProgressUrlFetches.delete(l)),vf());return this._inProgressUrlFetches.set(l,u),u}_addSvgIconConfig(n,a,i){return this._svgIconConfigs.set(fm(n,a),i),this}_addSvgIconSetConfig(n,a){let i=this._iconSetConfigs.get(n);return i?i.push(a):this._iconSetConfigs.set(n,[a]),this}_svgElementFromConfig(n){if(!n.svgElement){let a=this._svgElementFromString(n.svgText);this._setSvgAttributes(a,n.options),n.svgElement=a}return n.svgElement}_getIconConfigFromResolvers(n,a){for(let i=0;i<this._resolvers.length;i++){let o=this._resolvers[i](a,n);if(o)return wX(o)?new Vr(o.url,null,o.options):new Vr(o,null)}}};s(t,"ɵfac",function(n){return new(n||t)(ee(no,8),ee($0),ee(Le,8),ee(zn))}),s(t,"ɵprov",U({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})();function Fo(e){return e.cloneNode(!0)}function fm(e,t){return e+":"+t}function wX(e){return!!(e.url&&e.options)}var xX=["*"],EX=new Q("MAT_ICON_DEFAULT_OPTIONS"),SX=new Q("mat-icon-location",{providedIn:"root",factory:kX});function kX(){let e=D(Le),t=e?e.location:null;return{getPathname:()=>t?t.pathname+t.search:""}}var l3=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],CX=l3.map(e=>`[${e}]`).join(", "),IX=/^url\(['"]?#(.*?)['"]?\)$/,u3=(()=>{const t=class t{constructor(){s(this,"_elementRef",D(Xt));s(this,"_iconRegistry",D(_X));s(this,"_location",D(SX));s(this,"_errorHandler",D(zn));s(this,"_defaultColor");s(this,"_color");s(this,"inline",!1);s(this,"_svgIcon");s(this,"_fontSet");s(this,"_fontIcon");s(this,"_previousFontSetClass",[]);s(this,"_previousFontIconClass");s(this,"_svgName");s(this,"_svgNamespace");s(this,"_previousPath");s(this,"_elementsWithExternalReferences");s(this,"_currentIconFetch",Zt.EMPTY);let n=D(new j9("aria-hidden"),{optional:!0}),a=D(EX,{optional:!0});a&&(a.color&&(this.color=this._defaultColor=a.color),a.fontSet&&(this.fontSet=a.fontSet)),n||this._elementRef.nativeElement.setAttribute("aria-hidden","true")}get color(){return this._color||this._defaultColor}set color(n){this._color=n}get svgIcon(){return this._svgIcon}set svgIcon(n){n!==this._svgIcon&&(n?this._updateSvgIcon(n):this._svgIcon&&this._clearSvgElement(),this._svgIcon=n)}get fontSet(){return this._fontSet}set fontSet(n){let a=this._cleanupFontValue(n);a!==this._fontSet&&(this._fontSet=a,this._updateFontIconClasses())}get fontIcon(){return this._fontIcon}set fontIcon(n){let a=this._cleanupFontValue(n);a!==this._fontIcon&&(this._fontIcon=a,this._updateFontIconClasses())}_splitIconName(n){if(!n)return["",""];let a=n.split(":");switch(a.length){case 1:return["",a[0]];case 2:return a;default:throw Error(`Invalid icon name: "${n}"`)}}ngOnInit(){this._updateFontIconClasses()}ngAfterViewChecked(){let n=this._elementsWithExternalReferences;if(n&&n.size){let a=this._location.getPathname();a!==this._previousPath&&(this._previousPath=a,this._prependPathToReferences(a))}}ngOnDestroy(){this._currentIconFetch.unsubscribe(),this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear()}_usingFontIcon(){return!this.svgIcon}_setSvgElement(n){this._clearSvgElement();let a=this._location.getPathname();this._previousPath=a,this._cacheChildrenWithExternalReferences(n),this._prependPathToReferences(a),this._elementRef.nativeElement.appendChild(n)}_clearSvgElement(){let n=this._elementRef.nativeElement,a=n.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();a--;){let i=n.childNodes[a];(i.nodeType!==1||i.nodeName.toLowerCase()==="svg")&&i.remove()}}_updateFontIconClasses(){if(!this._usingFontIcon())return;let n=this._elementRef.nativeElement,a=(this.fontSet?this._iconRegistry.classNameForFontAlias(this.fontSet).split(/ +/):this._iconRegistry.getDefaultFontSetClass()).filter(i=>i.length>0);this._previousFontSetClass.forEach(i=>n.classList.remove(i)),a.forEach(i=>n.classList.add(i)),this._previousFontSetClass=a,this.fontIcon!==this._previousFontIconClass&&!a.includes("mat-ligature-font")&&(this._previousFontIconClass&&n.classList.remove(this._previousFontIconClass),this.fontIcon&&n.classList.add(this.fontIcon),this._previousFontIconClass=this.fontIcon)}_cleanupFontValue(n){return typeof n=="string"?n.trim().split(" ")[0]:n}_prependPathToReferences(n){let a=this._elementsWithExternalReferences;a&&a.forEach((i,o)=>{i.forEach(l=>{o.setAttribute(l.name,`url('${n}#${l.value}')`)})})}_cacheChildrenWithExternalReferences(n){let a=n.querySelectorAll(CX),i=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let o=0;o<a.length;o++)l3.forEach(l=>{let h=a[o],u=h.getAttribute(l),c=u?u.match(IX):null;if(c){let m=i.get(h);m||(m=[],i.set(h,m)),m.push({name:l,value:c[1]})}})}_updateSvgIcon(n){if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),n){let[a,i]=this._splitIconName(n);a&&(this._svgNamespace=a),i&&(this._svgName=i),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(i,a).pipe(rr(1)).subscribe(o=>this._setSvgElement(o),o=>{let l=`Error retrieving icon ${a}:${i}! ${o.message}`;this._errorHandler.handleError(new Error(l))})}}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵcmp",Ct({type:t,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:10,hostBindings:function(n,a){n&2&&(Ha("data-mat-icon-type",a._usingFontIcon()?"font":"svg")("data-mat-icon-name",a._svgName||a.fontIcon)("data-mat-icon-namespace",a._svgNamespace||a.fontSet)("fontIcon",a._usingFontIcon()?a.fontIcon:null),fd(a.color?"mat-"+a.color:""),Dr("mat-icon-inline",a.inline)("mat-icon-no-color",a.color!=="primary"&&a.color!=="accent"&&a.color!=="warn"))},inputs:{color:"color",inline:[2,"inline","inline",oi],svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],ngContentSelectors:xX,decls:1,vars:0,template:function(n,a){n&1&&(Ga(),cn(0))},styles:[`mat-icon,mat-icon.mat-primary,mat-icon.mat-accent,mat-icon.mat-warn{color:var(--mat-icon-color, inherit)}.mat-icon{-webkit-user-select:none;user-select:none;background-repeat:no-repeat;display:inline-block;fill:currentColor;height:24px;width:24px;overflow:hidden}.mat-icon.mat-icon-inline{font-size:inherit;height:inherit;line-height:inherit;width:inherit}.mat-icon.mat-ligature-font[fontIcon]::before{content:attr(fontIcon)}[dir=rtl] .mat-icon-rtl-mirror{transform:scale(-1, 1)}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon{display:block}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button .mat-icon{margin:auto}
34
+ `],encapsulation:2,changeDetection:0}));let e=t;return e})();function DX(e){e||(Mc(),e=D($i));let t=new Qe(r=>e.onDestroy(r.next.bind(r)));return r=>r.pipe(Fi(t))}var c3={"application/prs.cww":["cww"],"application/prs.xsf+xml":["xsf"],"application/vnd.1000minds.decision-model+xml":["1km"],"application/vnd.3gpp.pic-bw-large":["plb"],"application/vnd.3gpp.pic-bw-small":["psb"],"application/vnd.3gpp.pic-bw-var":["pvb"],"application/vnd.3gpp2.tcap":["tcap"],"application/vnd.3m.post-it-notes":["pwn"],"application/vnd.accpac.simply.aso":["aso"],"application/vnd.accpac.simply.imp":["imp"],"application/vnd.acucobol":["acu"],"application/vnd.acucorp":["atc","acutc"],"application/vnd.adobe.air-application-installer-package+zip":["air"],"application/vnd.adobe.formscentral.fcdt":["fcdt"],"application/vnd.adobe.fxp":["fxp","fxpl"],"application/vnd.adobe.xdp+xml":["xdp"],"application/vnd.adobe.xfdf":["*xfdf"],"application/vnd.age":["age"],"application/vnd.ahead.space":["ahead"],"application/vnd.airzip.filesecure.azf":["azf"],"application/vnd.airzip.filesecure.azs":["azs"],"application/vnd.amazon.ebook":["azw"],"application/vnd.americandynamics.acc":["acc"],"application/vnd.amiga.ami":["ami"],"application/vnd.android.package-archive":["apk"],"application/vnd.anser-web-certificate-issue-initiation":["cii"],"application/vnd.anser-web-funds-transfer-initiation":["fti"],"application/vnd.antix.game-component":["atx"],"application/vnd.apple.installer+xml":["mpkg"],"application/vnd.apple.keynote":["key"],"application/vnd.apple.mpegurl":["m3u8"],"application/vnd.apple.numbers":["numbers"],"application/vnd.apple.pages":["pages"],"application/vnd.apple.pkpass":["pkpass"],"application/vnd.aristanetworks.swi":["swi"],"application/vnd.astraea-software.iota":["iota"],"application/vnd.audiograph":["aep"],"application/vnd.autodesk.fbx":["fbx"],"application/vnd.balsamiq.bmml+xml":["bmml"],"application/vnd.blueice.multipass":["mpm"],"application/vnd.bmi":["bmi"],"application/vnd.businessobjects":["rep"],"application/vnd.chemdraw+xml":["cdxml"],"application/vnd.chipnuts.karaoke-mmd":["mmd"],"application/vnd.cinderella":["cdy"],"application/vnd.citationstyles.style+xml":["csl"],"application/vnd.claymore":["cla"],"application/vnd.cloanto.rp9":["rp9"],"application/vnd.clonk.c4group":["c4g","c4d","c4f","c4p","c4u"],"application/vnd.cluetrust.cartomobile-config":["c11amc"],"application/vnd.cluetrust.cartomobile-config-pkg":["c11amz"],"application/vnd.commonspace":["csp"],"application/vnd.contact.cmsg":["cdbcmsg"],"application/vnd.cosmocaller":["cmc"],"application/vnd.crick.clicker":["clkx"],"application/vnd.crick.clicker.keyboard":["clkk"],"application/vnd.crick.clicker.palette":["clkp"],"application/vnd.crick.clicker.template":["clkt"],"application/vnd.crick.clicker.wordbank":["clkw"],"application/vnd.criticaltools.wbs+xml":["wbs"],"application/vnd.ctc-posml":["pml"],"application/vnd.cups-ppd":["ppd"],"application/vnd.curl.car":["car"],"application/vnd.curl.pcurl":["pcurl"],"application/vnd.dart":["dart"],"application/vnd.data-vision.rdz":["rdz"],"application/vnd.dbf":["dbf"],"application/vnd.dcmp+xml":["dcmp"],"application/vnd.dece.data":["uvf","uvvf","uvd","uvvd"],"application/vnd.dece.ttml+xml":["uvt","uvvt"],"application/vnd.dece.unspecified":["uvx","uvvx"],"application/vnd.dece.zip":["uvz","uvvz"],"application/vnd.denovo.fcselayout-link":["fe_launch"],"application/vnd.dna":["dna"],"application/vnd.dolby.mlp":["mlp"],"application/vnd.dpgraph":["dpg"],"application/vnd.dreamfactory":["dfac"],"application/vnd.ds-keypoint":["kpxx"],"application/vnd.dvb.ait":["ait"],"application/vnd.dvb.service":["svc"],"application/vnd.dynageo":["geo"],"application/vnd.ecowin.chart":["mag"],"application/vnd.enliven":["nml"],"application/vnd.epson.esf":["esf"],"application/vnd.epson.msf":["msf"],"application/vnd.epson.quickanime":["qam"],"application/vnd.epson.salt":["slt"],"application/vnd.epson.ssf":["ssf"],"application/vnd.eszigno3+xml":["es3","et3"],"application/vnd.ezpix-album":["ez2"],"application/vnd.ezpix-package":["ez3"],"application/vnd.fdf":["*fdf"],"application/vnd.fdsn.mseed":["mseed"],"application/vnd.fdsn.seed":["seed","dataless"],"application/vnd.flographit":["gph"],"application/vnd.fluxtime.clip":["ftc"],"application/vnd.framemaker":["fm","frame","maker","book"],"application/vnd.frogans.fnc":["fnc"],"application/vnd.frogans.ltf":["ltf"],"application/vnd.fsc.weblaunch":["fsc"],"application/vnd.fujitsu.oasys":["oas"],"application/vnd.fujitsu.oasys2":["oa2"],"application/vnd.fujitsu.oasys3":["oa3"],"application/vnd.fujitsu.oasysgp":["fg5"],"application/vnd.fujitsu.oasysprs":["bh2"],"application/vnd.fujixerox.ddd":["ddd"],"application/vnd.fujixerox.docuworks":["xdw"],"application/vnd.fujixerox.docuworks.binder":["xbd"],"application/vnd.fuzzysheet":["fzs"],"application/vnd.genomatix.tuxedo":["txd"],"application/vnd.geogebra.file":["ggb"],"application/vnd.geogebra.slides":["ggs"],"application/vnd.geogebra.tool":["ggt"],"application/vnd.geometry-explorer":["gex","gre"],"application/vnd.geonext":["gxt"],"application/vnd.geoplan":["g2w"],"application/vnd.geospace":["g3w"],"application/vnd.gmx":["gmx"],"application/vnd.google-apps.document":["gdoc"],"application/vnd.google-apps.drawing":["gdraw"],"application/vnd.google-apps.form":["gform"],"application/vnd.google-apps.jam":["gjam"],"application/vnd.google-apps.map":["gmap"],"application/vnd.google-apps.presentation":["gslides"],"application/vnd.google-apps.script":["gscript"],"application/vnd.google-apps.site":["gsite"],"application/vnd.google-apps.spreadsheet":["gsheet"],"application/vnd.google-earth.kml+xml":["kml"],"application/vnd.google-earth.kmz":["kmz"],"application/vnd.gov.sk.xmldatacontainer+xml":["xdcf"],"application/vnd.grafeq":["gqf","gqs"],"application/vnd.groove-account":["gac"],"application/vnd.groove-help":["ghf"],"application/vnd.groove-identity-message":["gim"],"application/vnd.groove-injector":["grv"],"application/vnd.groove-tool-message":["gtm"],"application/vnd.groove-tool-template":["tpl"],"application/vnd.groove-vcard":["vcg"],"application/vnd.hal+xml":["hal"],"application/vnd.handheld-entertainment+xml":["zmm"],"application/vnd.hbci":["hbci"],"application/vnd.hhe.lesson-player":["les"],"application/vnd.hp-hpgl":["hpgl"],"application/vnd.hp-hpid":["hpid"],"application/vnd.hp-hps":["hps"],"application/vnd.hp-jlyt":["jlt"],"application/vnd.hp-pcl":["pcl"],"application/vnd.hp-pclxl":["pclxl"],"application/vnd.hydrostatix.sof-data":["sfd-hdstx"],"application/vnd.ibm.minipay":["mpy"],"application/vnd.ibm.modcap":["afp","listafp","list3820"],"application/vnd.ibm.rights-management":["irm"],"application/vnd.ibm.secure-container":["sc"],"application/vnd.iccprofile":["icc","icm"],"application/vnd.igloader":["igl"],"application/vnd.immervision-ivp":["ivp"],"application/vnd.immervision-ivu":["ivu"],"application/vnd.insors.igm":["igm"],"application/vnd.intercon.formnet":["xpw","xpx"],"application/vnd.intergeo":["i2g"],"application/vnd.intu.qbo":["qbo"],"application/vnd.intu.qfx":["qfx"],"application/vnd.ipunplugged.rcprofile":["rcprofile"],"application/vnd.irepository.package+xml":["irp"],"application/vnd.is-xpr":["xpr"],"application/vnd.isac.fcs":["fcs"],"application/vnd.jam":["jam"],"application/vnd.jcp.javame.midlet-rms":["rms"],"application/vnd.jisp":["jisp"],"application/vnd.joost.joda-archive":["joda"],"application/vnd.kahootz":["ktz","ktr"],"application/vnd.kde.karbon":["karbon"],"application/vnd.kde.kchart":["chrt"],"application/vnd.kde.kformula":["kfo"],"application/vnd.kde.kivio":["flw"],"application/vnd.kde.kontour":["kon"],"application/vnd.kde.kpresenter":["kpr","kpt"],"application/vnd.kde.kspread":["ksp"],"application/vnd.kde.kword":["kwd","kwt"],"application/vnd.kenameaapp":["htke"],"application/vnd.kidspiration":["kia"],"application/vnd.kinar":["kne","knp"],"application/vnd.koan":["skp","skd","skt","skm"],"application/vnd.kodak-descriptor":["sse"],"application/vnd.las.las+xml":["lasxml"],"application/vnd.llamagraphics.life-balance.desktop":["lbd"],"application/vnd.llamagraphics.life-balance.exchange+xml":["lbe"],"application/vnd.lotus-1-2-3":["123"],"application/vnd.lotus-approach":["apr"],"application/vnd.lotus-freelance":["pre"],"application/vnd.lotus-notes":["nsf"],"application/vnd.lotus-organizer":["org"],"application/vnd.lotus-screencam":["scm"],"application/vnd.lotus-wordpro":["lwp"],"application/vnd.macports.portpkg":["portpkg"],"application/vnd.mapbox-vector-tile":["mvt"],"application/vnd.mcd":["mcd"],"application/vnd.medcalcdata":["mc1"],"application/vnd.mediastation.cdkey":["cdkey"],"application/vnd.mfer":["mwf"],"application/vnd.mfmp":["mfm"],"application/vnd.micrografx.flo":["flo"],"application/vnd.micrografx.igx":["igx"],"application/vnd.mif":["mif"],"application/vnd.mobius.daf":["daf"],"application/vnd.mobius.dis":["dis"],"application/vnd.mobius.mbk":["mbk"],"application/vnd.mobius.mqy":["mqy"],"application/vnd.mobius.msl":["msl"],"application/vnd.mobius.plc":["plc"],"application/vnd.mobius.txf":["txf"],"application/vnd.mophun.application":["mpn"],"application/vnd.mophun.certificate":["mpc"],"application/vnd.mozilla.xul+xml":["xul"],"application/vnd.ms-artgalry":["cil"],"application/vnd.ms-cab-compressed":["cab"],"application/vnd.ms-excel":["xls","xlm","xla","xlc","xlt","xlw"],"application/vnd.ms-excel.addin.macroenabled.12":["xlam"],"application/vnd.ms-excel.sheet.binary.macroenabled.12":["xlsb"],"application/vnd.ms-excel.sheet.macroenabled.12":["xlsm"],"application/vnd.ms-excel.template.macroenabled.12":["xltm"],"application/vnd.ms-fontobject":["eot"],"application/vnd.ms-htmlhelp":["chm"],"application/vnd.ms-ims":["ims"],"application/vnd.ms-lrm":["lrm"],"application/vnd.ms-officetheme":["thmx"],"application/vnd.ms-outlook":["msg"],"application/vnd.ms-pki.seccat":["cat"],"application/vnd.ms-pki.stl":["*stl"],"application/vnd.ms-powerpoint":["ppt","pps","pot"],"application/vnd.ms-powerpoint.addin.macroenabled.12":["ppam"],"application/vnd.ms-powerpoint.presentation.macroenabled.12":["pptm"],"application/vnd.ms-powerpoint.slide.macroenabled.12":["sldm"],"application/vnd.ms-powerpoint.slideshow.macroenabled.12":["ppsm"],"application/vnd.ms-powerpoint.template.macroenabled.12":["potm"],"application/vnd.ms-project":["*mpp","mpt"],"application/vnd.ms-visio.viewer":["vdx"],"application/vnd.ms-word.document.macroenabled.12":["docm"],"application/vnd.ms-word.template.macroenabled.12":["dotm"],"application/vnd.ms-works":["wps","wks","wcm","wdb"],"application/vnd.ms-wpl":["wpl"],"application/vnd.ms-xpsdocument":["xps"],"application/vnd.mseq":["mseq"],"application/vnd.musician":["mus"],"application/vnd.muvee.style":["msty"],"application/vnd.mynfc":["taglet"],"application/vnd.nato.bindingdataobject+xml":["bdo"],"application/vnd.neurolanguage.nlu":["nlu"],"application/vnd.nitf":["ntf","nitf"],"application/vnd.noblenet-directory":["nnd"],"application/vnd.noblenet-sealer":["nns"],"application/vnd.noblenet-web":["nnw"],"application/vnd.nokia.n-gage.ac+xml":["*ac"],"application/vnd.nokia.n-gage.data":["ngdat"],"application/vnd.nokia.n-gage.symbian.install":["n-gage"],"application/vnd.nokia.radio-preset":["rpst"],"application/vnd.nokia.radio-presets":["rpss"],"application/vnd.novadigm.edm":["edm"],"application/vnd.novadigm.edx":["edx"],"application/vnd.novadigm.ext":["ext"],"application/vnd.oasis.opendocument.chart":["odc"],"application/vnd.oasis.opendocument.chart-template":["otc"],"application/vnd.oasis.opendocument.database":["odb"],"application/vnd.oasis.opendocument.formula":["odf"],"application/vnd.oasis.opendocument.formula-template":["odft"],"application/vnd.oasis.opendocument.graphics":["odg"],"application/vnd.oasis.opendocument.graphics-template":["otg"],"application/vnd.oasis.opendocument.image":["odi"],"application/vnd.oasis.opendocument.image-template":["oti"],"application/vnd.oasis.opendocument.presentation":["odp"],"application/vnd.oasis.opendocument.presentation-template":["otp"],"application/vnd.oasis.opendocument.spreadsheet":["ods"],"application/vnd.oasis.opendocument.spreadsheet-template":["ots"],"application/vnd.oasis.opendocument.text":["odt"],"application/vnd.oasis.opendocument.text-master":["odm"],"application/vnd.oasis.opendocument.text-template":["ott"],"application/vnd.oasis.opendocument.text-web":["oth"],"application/vnd.olpc-sugar":["xo"],"application/vnd.oma.dd2+xml":["dd2"],"application/vnd.openblox.game+xml":["obgx"],"application/vnd.openofficeorg.extension":["oxt"],"application/vnd.openstreetmap.data+xml":["osm"],"application/vnd.openxmlformats-officedocument.presentationml.presentation":["pptx"],"application/vnd.openxmlformats-officedocument.presentationml.slide":["sldx"],"application/vnd.openxmlformats-officedocument.presentationml.slideshow":["ppsx"],"application/vnd.openxmlformats-officedocument.presentationml.template":["potx"],"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet":["xlsx"],"application/vnd.openxmlformats-officedocument.spreadsheetml.template":["xltx"],"application/vnd.openxmlformats-officedocument.wordprocessingml.document":["docx"],"application/vnd.openxmlformats-officedocument.wordprocessingml.template":["dotx"],"application/vnd.osgeo.mapguide.package":["mgp"],"application/vnd.osgi.dp":["dp"],"application/vnd.osgi.subsystem":["esa"],"application/vnd.palm":["pdb","pqa","oprc"],"application/vnd.pawaafile":["paw"],"application/vnd.pg.format":["str"],"application/vnd.pg.osasli":["ei6"],"application/vnd.picsel":["efif"],"application/vnd.pmi.widget":["wg"],"application/vnd.pocketlearn":["plf"],"application/vnd.powerbuilder6":["pbd"],"application/vnd.previewsystems.box":["box"],"application/vnd.procrate.brushset":["brushset"],"application/vnd.procreate.brush":["brush"],"application/vnd.procreate.dream":["drm"],"application/vnd.proteus.magazine":["mgz"],"application/vnd.publishare-delta-tree":["qps"],"application/vnd.pvi.ptid1":["ptid"],"application/vnd.pwg-xhtml-print+xml":["xhtm"],"application/vnd.quark.quarkxpress":["qxd","qxt","qwd","qwt","qxl","qxb"],"application/vnd.rar":["rar"],"application/vnd.realvnc.bed":["bed"],"application/vnd.recordare.musicxml":["mxl"],"application/vnd.recordare.musicxml+xml":["musicxml"],"application/vnd.rig.cryptonote":["cryptonote"],"application/vnd.rim.cod":["cod"],"application/vnd.rn-realmedia":["rm"],"application/vnd.rn-realmedia-vbr":["rmvb"],"application/vnd.route66.link66+xml":["link66"],"application/vnd.sailingtracker.track":["st"],"application/vnd.seemail":["see"],"application/vnd.sema":["sema"],"application/vnd.semd":["semd"],"application/vnd.semf":["semf"],"application/vnd.shana.informed.formdata":["ifm"],"application/vnd.shana.informed.formtemplate":["itp"],"application/vnd.shana.informed.interchange":["iif"],"application/vnd.shana.informed.package":["ipk"],"application/vnd.simtech-mindmapper":["twd","twds"],"application/vnd.smaf":["mmf"],"application/vnd.smart.teacher":["teacher"],"application/vnd.software602.filler.form+xml":["fo"],"application/vnd.solent.sdkm+xml":["sdkm","sdkd"],"application/vnd.spotfire.dxp":["dxp"],"application/vnd.spotfire.sfs":["sfs"],"application/vnd.stardivision.calc":["sdc"],"application/vnd.stardivision.draw":["sda"],"application/vnd.stardivision.impress":["sdd"],"application/vnd.stardivision.math":["smf"],"application/vnd.stardivision.writer":["sdw","vor"],"application/vnd.stardivision.writer-global":["sgl"],"application/vnd.stepmania.package":["smzip"],"application/vnd.stepmania.stepchart":["sm"],"application/vnd.sun.wadl+xml":["wadl"],"application/vnd.sun.xml.calc":["sxc"],"application/vnd.sun.xml.calc.template":["stc"],"application/vnd.sun.xml.draw":["sxd"],"application/vnd.sun.xml.draw.template":["std"],"application/vnd.sun.xml.impress":["sxi"],"application/vnd.sun.xml.impress.template":["sti"],"application/vnd.sun.xml.math":["sxm"],"application/vnd.sun.xml.writer":["sxw"],"application/vnd.sun.xml.writer.global":["sxg"],"application/vnd.sun.xml.writer.template":["stw"],"application/vnd.sus-calendar":["sus","susp"],"application/vnd.svd":["svd"],"application/vnd.symbian.install":["sis","sisx"],"application/vnd.syncml+xml":["xsm"],"application/vnd.syncml.dm+wbxml":["bdm"],"application/vnd.syncml.dm+xml":["xdm"],"application/vnd.syncml.dmddf+xml":["ddf"],"application/vnd.tao.intent-module-archive":["tao"],"application/vnd.tcpdump.pcap":["pcap","cap","dmp"],"application/vnd.tmobile-livetv":["tmo"],"application/vnd.trid.tpt":["tpt"],"application/vnd.triscape.mxs":["mxs"],"application/vnd.trueapp":["tra"],"application/vnd.ufdl":["ufd","ufdl"],"application/vnd.uiq.theme":["utz"],"application/vnd.umajin":["umj"],"application/vnd.unity":["unityweb"],"application/vnd.uoml+xml":["uoml","uo"],"application/vnd.vcx":["vcx"],"application/vnd.visio":["vsd","vst","vss","vsw","vsdx","vtx"],"application/vnd.visionary":["vis"],"application/vnd.vsf":["vsf"],"application/vnd.wap.wbxml":["wbxml"],"application/vnd.wap.wmlc":["wmlc"],"application/vnd.wap.wmlscriptc":["wmlsc"],"application/vnd.webturbo":["wtb"],"application/vnd.wolfram.player":["nbp"],"application/vnd.wordperfect":["wpd"],"application/vnd.wqd":["wqd"],"application/vnd.wt.stf":["stf"],"application/vnd.xara":["xar"],"application/vnd.xfdl":["xfdl"],"application/vnd.yamaha.hv-dic":["hvd"],"application/vnd.yamaha.hv-script":["hvs"],"application/vnd.yamaha.hv-voice":["hvp"],"application/vnd.yamaha.openscoreformat":["osf"],"application/vnd.yamaha.openscoreformat.osfpvg+xml":["osfpvg"],"application/vnd.yamaha.smaf-audio":["saf"],"application/vnd.yamaha.smaf-phrase":["spf"],"application/vnd.yellowriver-custom-menu":["cmp"],"application/vnd.zul":["zir","zirz"],"application/vnd.zzazz.deck+xml":["zaz"],"application/x-7z-compressed":["7z"],"application/x-abiword":["abw"],"application/x-ace-compressed":["ace"],"application/x-apple-diskimage":["*dmg"],"application/x-arj":["arj"],"application/x-authorware-bin":["aab","x32","u32","vox"],"application/x-authorware-map":["aam"],"application/x-authorware-seg":["aas"],"application/x-bcpio":["bcpio"],"application/x-bdoc":["*bdoc"],"application/x-bittorrent":["torrent"],"application/x-blender":["blend"],"application/x-blorb":["blb","blorb"],"application/x-bzip":["bz"],"application/x-bzip2":["bz2","boz"],"application/x-cbr":["cbr","cba","cbt","cbz","cb7"],"application/x-cdlink":["vcd"],"application/x-cfs-compressed":["cfs"],"application/x-chat":["chat"],"application/x-chess-pgn":["pgn"],"application/x-chrome-extension":["crx"],"application/x-cocoa":["cco"],"application/x-compressed":["*rar"],"application/x-conference":["nsc"],"application/x-cpio":["cpio"],"application/x-csh":["csh"],"application/x-debian-package":["*deb","udeb"],"application/x-dgc-compressed":["dgc"],"application/x-director":["dir","dcr","dxr","cst","cct","cxt","w3d","fgd","swa"],"application/x-doom":["wad"],"application/x-dtbncx+xml":["ncx"],"application/x-dtbook+xml":["dtb"],"application/x-dtbresource+xml":["res"],"application/x-dvi":["dvi"],"application/x-envoy":["evy"],"application/x-eva":["eva"],"application/x-font-bdf":["bdf"],"application/x-font-ghostscript":["gsf"],"application/x-font-linux-psf":["psf"],"application/x-font-pcf":["pcf"],"application/x-font-snf":["snf"],"application/x-font-type1":["pfa","pfb","pfm","afm"],"application/x-freearc":["arc"],"application/x-futuresplash":["spl"],"application/x-gca-compressed":["gca"],"application/x-glulx":["ulx"],"application/x-gnumeric":["gnumeric"],"application/x-gramps-xml":["gramps"],"application/x-gtar":["gtar"],"application/x-hdf":["hdf"],"application/x-httpd-php":["php"],"application/x-install-instructions":["install"],"application/x-ipynb+json":["ipynb"],"application/x-iso9660-image":["*iso"],"application/x-iwork-keynote-sffkey":["*key"],"application/x-iwork-numbers-sffnumbers":["*numbers"],"application/x-iwork-pages-sffpages":["*pages"],"application/x-java-archive-diff":["jardiff"],"application/x-java-jnlp-file":["jnlp"],"application/x-keepass2":["kdbx"],"application/x-latex":["latex"],"application/x-lua-bytecode":["luac"],"application/x-lzh-compressed":["lzh","lha"],"application/x-makeself":["run"],"application/x-mie":["mie"],"application/x-mobipocket-ebook":["*prc","mobi"],"application/x-ms-application":["application"],"application/x-ms-shortcut":["lnk"],"application/x-ms-wmd":["wmd"],"application/x-ms-wmz":["wmz"],"application/x-ms-xbap":["xbap"],"application/x-msaccess":["mdb"],"application/x-msbinder":["obd"],"application/x-mscardfile":["crd"],"application/x-msclip":["clp"],"application/x-msdos-program":["*exe"],"application/x-msdownload":["*exe","*dll","com","bat","*msi"],"application/x-msmediaview":["mvb","m13","m14"],"application/x-msmetafile":["*wmf","*wmz","*emf","emz"],"application/x-msmoney":["mny"],"application/x-mspublisher":["pub"],"application/x-msschedule":["scd"],"application/x-msterminal":["trm"],"application/x-mswrite":["wri"],"application/x-netcdf":["nc","cdf"],"application/x-ns-proxy-autoconfig":["pac"],"application/x-nzb":["nzb"],"application/x-perl":["pl","pm"],"application/x-pilot":["*prc","*pdb"],"application/x-pkcs12":["p12","pfx"],"application/x-pkcs7-certificates":["p7b","spc"],"application/x-pkcs7-certreqresp":["p7r"],"application/x-rar-compressed":["*rar"],"application/x-redhat-package-manager":["rpm"],"application/x-research-info-systems":["ris"],"application/x-sea":["sea"],"application/x-sh":["sh"],"application/x-shar":["shar"],"application/x-shockwave-flash":["swf"],"application/x-silverlight-app":["xap"],"application/x-sql":["*sql"],"application/x-stuffit":["sit"],"application/x-stuffitx":["sitx"],"application/x-subrip":["srt"],"application/x-sv4cpio":["sv4cpio"],"application/x-sv4crc":["sv4crc"],"application/x-t3vm-image":["t3"],"application/x-tads":["gam"],"application/x-tar":["tar"],"application/x-tcl":["tcl","tk"],"application/x-tex":["tex"],"application/x-tex-tfm":["tfm"],"application/x-texinfo":["texinfo","texi"],"application/x-tgif":["*obj"],"application/x-ustar":["ustar"],"application/x-virtualbox-hdd":["hdd"],"application/x-virtualbox-ova":["ova"],"application/x-virtualbox-ovf":["ovf"],"application/x-virtualbox-vbox":["vbox"],"application/x-virtualbox-vbox-extpack":["vbox-extpack"],"application/x-virtualbox-vdi":["vdi"],"application/x-virtualbox-vhd":["vhd"],"application/x-virtualbox-vmdk":["vmdk"],"application/x-wais-source":["src"],"application/x-web-app-manifest+json":["webapp"],"application/x-x509-ca-cert":["der","crt","pem"],"application/x-xfig":["fig"],"application/x-xliff+xml":["*xlf"],"application/x-xpinstall":["xpi"],"application/x-xz":["xz"],"application/x-zip-compressed":["*zip"],"application/x-zmachine":["z1","z2","z3","z4","z5","z6","z7","z8"],"audio/vnd.dece.audio":["uva","uvva"],"audio/vnd.digital-winds":["eol"],"audio/vnd.dra":["dra"],"audio/vnd.dts":["dts"],"audio/vnd.dts.hd":["dtshd"],"audio/vnd.lucent.voice":["lvp"],"audio/vnd.ms-playready.media.pya":["pya"],"audio/vnd.nuera.ecelp4800":["ecelp4800"],"audio/vnd.nuera.ecelp7470":["ecelp7470"],"audio/vnd.nuera.ecelp9600":["ecelp9600"],"audio/vnd.rip":["rip"],"audio/x-aac":["*aac"],"audio/x-aiff":["aif","aiff","aifc"],"audio/x-caf":["caf"],"audio/x-flac":["flac"],"audio/x-m4a":["*m4a"],"audio/x-matroska":["mka"],"audio/x-mpegurl":["m3u"],"audio/x-ms-wax":["wax"],"audio/x-ms-wma":["wma"],"audio/x-pn-realaudio":["ram","ra"],"audio/x-pn-realaudio-plugin":["rmp"],"audio/x-realaudio":["*ra"],"audio/x-wav":["*wav"],"chemical/x-cdx":["cdx"],"chemical/x-cif":["cif"],"chemical/x-cmdf":["cmdf"],"chemical/x-cml":["cml"],"chemical/x-csml":["csml"],"chemical/x-xyz":["xyz"],"image/prs.btif":["btif","btf"],"image/prs.pti":["pti"],"image/vnd.adobe.photoshop":["psd"],"image/vnd.airzip.accelerator.azv":["azv"],"image/vnd.dece.graphic":["uvi","uvvi","uvg","uvvg"],"image/vnd.djvu":["djvu","djv"],"image/vnd.dvb.subtitle":["*sub"],"image/vnd.dwg":["dwg"],"image/vnd.dxf":["dxf"],"image/vnd.fastbidsheet":["fbs"],"image/vnd.fpx":["fpx"],"image/vnd.fst":["fst"],"image/vnd.fujixerox.edmics-mmr":["mmr"],"image/vnd.fujixerox.edmics-rlc":["rlc"],"image/vnd.microsoft.icon":["ico"],"image/vnd.ms-dds":["dds"],"image/vnd.ms-modi":["mdi"],"image/vnd.ms-photo":["wdp"],"image/vnd.net-fpx":["npx"],"image/vnd.pco.b16":["b16"],"image/vnd.tencent.tap":["tap"],"image/vnd.valve.source.texture":["vtf"],"image/vnd.wap.wbmp":["wbmp"],"image/vnd.xiff":["xif"],"image/vnd.zbrush.pcx":["pcx"],"image/x-3ds":["3ds"],"image/x-adobe-dng":["dng"],"image/x-cmu-raster":["ras"],"image/x-cmx":["cmx"],"image/x-freehand":["fh","fhc","fh4","fh5","fh7"],"image/x-icon":["*ico"],"image/x-jng":["jng"],"image/x-mrsid-image":["sid"],"image/x-ms-bmp":["*bmp"],"image/x-pcx":["*pcx"],"image/x-pict":["pic","pct"],"image/x-portable-anymap":["pnm"],"image/x-portable-bitmap":["pbm"],"image/x-portable-graymap":["pgm"],"image/x-portable-pixmap":["ppm"],"image/x-rgb":["rgb"],"image/x-tga":["tga"],"image/x-xbitmap":["xbm"],"image/x-xpixmap":["xpm"],"image/x-xwindowdump":["xwd"],"message/vnd.wfa.wsc":["wsc"],"model/vnd.bary":["bary"],"model/vnd.cld":["cld"],"model/vnd.collada+xml":["dae"],"model/vnd.dwf":["dwf"],"model/vnd.gdl":["gdl"],"model/vnd.gtw":["gtw"],"model/vnd.mts":["*mts"],"model/vnd.opengex":["ogex"],"model/vnd.parasolid.transmit.binary":["x_b"],"model/vnd.parasolid.transmit.text":["x_t"],"model/vnd.pytha.pyox":["pyo","pyox"],"model/vnd.sap.vds":["vds"],"model/vnd.usda":["usda"],"model/vnd.usdz+zip":["usdz"],"model/vnd.valve.source.compiled-map":["bsp"],"model/vnd.vtu":["vtu"],"text/prs.lines.tag":["dsc"],"text/vnd.curl":["curl"],"text/vnd.curl.dcurl":["dcurl"],"text/vnd.curl.mcurl":["mcurl"],"text/vnd.curl.scurl":["scurl"],"text/vnd.dvb.subtitle":["sub"],"text/vnd.familysearch.gedcom":["ged"],"text/vnd.fly":["fly"],"text/vnd.fmi.flexstor":["flx"],"text/vnd.graphviz":["gv"],"text/vnd.in3d.3dml":["3dml"],"text/vnd.in3d.spot":["spot"],"text/vnd.sun.j2me.app-descriptor":["jad"],"text/vnd.wap.wml":["wml"],"text/vnd.wap.wmlscript":["wmls"],"text/x-asm":["s","asm"],"text/x-c":["c","cc","cxx","cpp","h","hh","dic"],"text/x-component":["htc"],"text/x-fortran":["f","for","f77","f90"],"text/x-handlebars-template":["hbs"],"text/x-java-source":["java"],"text/x-lua":["lua"],"text/x-markdown":["mkd"],"text/x-nfo":["nfo"],"text/x-opml":["opml"],"text/x-org":["*org"],"text/x-pascal":["p","pas"],"text/x-processing":["pde"],"text/x-sass":["sass"],"text/x-scss":["scss"],"text/x-setext":["etx"],"text/x-sfv":["sfv"],"text/x-suse-ymp":["ymp"],"text/x-uuencode":["uu"],"text/x-vcalendar":["vcs"],"text/x-vcard":["vcf"],"video/vnd.dece.hd":["uvh","uvvh"],"video/vnd.dece.mobile":["uvm","uvvm"],"video/vnd.dece.pd":["uvp","uvvp"],"video/vnd.dece.sd":["uvs","uvvs"],"video/vnd.dece.video":["uvv","uvvv"],"video/vnd.dvb.file":["dvb"],"video/vnd.fvt":["fvt"],"video/vnd.mpegurl":["mxu","m4u"],"video/vnd.ms-playready.media.pyv":["pyv"],"video/vnd.uvvu.mp4":["uvu","uvvu"],"video/vnd.vivo":["viv"],"video/x-f4v":["f4v"],"video/x-fli":["fli"],"video/x-flv":["flv"],"video/x-m4v":["m4v"],"video/x-matroska":["mkv","mk3d","mks"],"video/x-mng":["mng"],"video/x-ms-asf":["asf","asx"],"video/x-ms-vob":["vob"],"video/x-ms-wm":["wm"],"video/x-ms-wmv":["wmv"],"video/x-ms-wmx":["wmx"],"video/x-ms-wvx":["wvx"],"video/x-msvideo":["avi"],"video/x-sgi-movie":["movie"],"video/x-smv":["smv"],"x-conference/x-cooltalk":["ice"]};Object.freeze(c3);var NX=c3,d3={"application/andrew-inset":["ez"],"application/appinstaller":["appinstaller"],"application/applixware":["aw"],"application/appx":["appx"],"application/appxbundle":["appxbundle"],"application/atom+xml":["atom"],"application/atomcat+xml":["atomcat"],"application/atomdeleted+xml":["atomdeleted"],"application/atomsvc+xml":["atomsvc"],"application/atsc-dwd+xml":["dwd"],"application/atsc-held+xml":["held"],"application/atsc-rsat+xml":["rsat"],"application/automationml-aml+xml":["aml"],"application/automationml-amlx+zip":["amlx"],"application/bdoc":["bdoc"],"application/calendar+xml":["xcs"],"application/ccxml+xml":["ccxml"],"application/cdfx+xml":["cdfx"],"application/cdmi-capability":["cdmia"],"application/cdmi-container":["cdmic"],"application/cdmi-domain":["cdmid"],"application/cdmi-object":["cdmio"],"application/cdmi-queue":["cdmiq"],"application/cpl+xml":["cpl"],"application/cu-seeme":["cu"],"application/cwl":["cwl"],"application/dash+xml":["mpd"],"application/dash-patch+xml":["mpp"],"application/davmount+xml":["davmount"],"application/dicom":["dcm"],"application/docbook+xml":["dbk"],"application/dssc+der":["dssc"],"application/dssc+xml":["xdssc"],"application/ecmascript":["ecma"],"application/emma+xml":["emma"],"application/emotionml+xml":["emotionml"],"application/epub+zip":["epub"],"application/exi":["exi"],"application/express":["exp"],"application/fdf":["fdf"],"application/fdt+xml":["fdt"],"application/font-tdpfr":["pfr"],"application/geo+json":["geojson"],"application/gml+xml":["gml"],"application/gpx+xml":["gpx"],"application/gxf":["gxf"],"application/gzip":["gz"],"application/hjson":["hjson"],"application/hyperstudio":["stk"],"application/inkml+xml":["ink","inkml"],"application/ipfix":["ipfix"],"application/its+xml":["its"],"application/java-archive":["jar","war","ear"],"application/java-serialized-object":["ser"],"application/java-vm":["class"],"application/javascript":["*js"],"application/json":["json","map"],"application/json5":["json5"],"application/jsonml+json":["jsonml"],"application/ld+json":["jsonld"],"application/lgr+xml":["lgr"],"application/lost+xml":["lostxml"],"application/mac-binhex40":["hqx"],"application/mac-compactpro":["cpt"],"application/mads+xml":["mads"],"application/manifest+json":["webmanifest"],"application/marc":["mrc"],"application/marcxml+xml":["mrcx"],"application/mathematica":["ma","nb","mb"],"application/mathml+xml":["mathml"],"application/mbox":["mbox"],"application/media-policy-dataset+xml":["mpf"],"application/mediaservercontrol+xml":["mscml"],"application/metalink+xml":["metalink"],"application/metalink4+xml":["meta4"],"application/mets+xml":["mets"],"application/mmt-aei+xml":["maei"],"application/mmt-usd+xml":["musd"],"application/mods+xml":["mods"],"application/mp21":["m21","mp21"],"application/mp4":["*mp4","*mpg4","mp4s","m4p"],"application/msix":["msix"],"application/msixbundle":["msixbundle"],"application/msword":["doc","dot"],"application/mxf":["mxf"],"application/n-quads":["nq"],"application/n-triples":["nt"],"application/node":["cjs"],"application/octet-stream":["bin","dms","lrf","mar","so","dist","distz","pkg","bpk","dump","elc","deploy","exe","dll","deb","dmg","iso","img","msi","msp","msm","buffer"],"application/oda":["oda"],"application/oebps-package+xml":["opf"],"application/ogg":["ogx"],"application/omdoc+xml":["omdoc"],"application/onenote":["onetoc","onetoc2","onetmp","onepkg","one","onea"],"application/oxps":["oxps"],"application/p2p-overlay+xml":["relo"],"application/patch-ops-error+xml":["xer"],"application/pdf":["pdf"],"application/pgp-encrypted":["pgp"],"application/pgp-keys":["asc"],"application/pgp-signature":["sig","*asc"],"application/pics-rules":["prf"],"application/pkcs10":["p10"],"application/pkcs7-mime":["p7m","p7c"],"application/pkcs7-signature":["p7s"],"application/pkcs8":["p8"],"application/pkix-attr-cert":["ac"],"application/pkix-cert":["cer"],"application/pkix-crl":["crl"],"application/pkix-pkipath":["pkipath"],"application/pkixcmp":["pki"],"application/pls+xml":["pls"],"application/postscript":["ai","eps","ps"],"application/provenance+xml":["provx"],"application/pskc+xml":["pskcxml"],"application/raml+yaml":["raml"],"application/rdf+xml":["rdf","owl"],"application/reginfo+xml":["rif"],"application/relax-ng-compact-syntax":["rnc"],"application/resource-lists+xml":["rl"],"application/resource-lists-diff+xml":["rld"],"application/rls-services+xml":["rs"],"application/route-apd+xml":["rapd"],"application/route-s-tsid+xml":["sls"],"application/route-usd+xml":["rusd"],"application/rpki-ghostbusters":["gbr"],"application/rpki-manifest":["mft"],"application/rpki-roa":["roa"],"application/rsd+xml":["rsd"],"application/rss+xml":["rss"],"application/rtf":["rtf"],"application/sbml+xml":["sbml"],"application/scvp-cv-request":["scq"],"application/scvp-cv-response":["scs"],"application/scvp-vp-request":["spq"],"application/scvp-vp-response":["spp"],"application/sdp":["sdp"],"application/senml+xml":["senmlx"],"application/sensml+xml":["sensmlx"],"application/set-payment-initiation":["setpay"],"application/set-registration-initiation":["setreg"],"application/shf+xml":["shf"],"application/sieve":["siv","sieve"],"application/smil+xml":["smi","smil"],"application/sparql-query":["rq"],"application/sparql-results+xml":["srx"],"application/sql":["sql"],"application/srgs":["gram"],"application/srgs+xml":["grxml"],"application/sru+xml":["sru"],"application/ssdl+xml":["ssdl"],"application/ssml+xml":["ssml"],"application/swid+xml":["swidtag"],"application/tei+xml":["tei","teicorpus"],"application/thraud+xml":["tfi"],"application/timestamped-data":["tsd"],"application/toml":["toml"],"application/trig":["trig"],"application/ttml+xml":["ttml"],"application/ubjson":["ubj"],"application/urc-ressheet+xml":["rsheet"],"application/urc-targetdesc+xml":["td"],"application/voicexml+xml":["vxml"],"application/wasm":["wasm"],"application/watcherinfo+xml":["wif"],"application/widget":["wgt"],"application/winhlp":["hlp"],"application/wsdl+xml":["wsdl"],"application/wspolicy+xml":["wspolicy"],"application/xaml+xml":["xaml"],"application/xcap-att+xml":["xav"],"application/xcap-caps+xml":["xca"],"application/xcap-diff+xml":["xdf"],"application/xcap-el+xml":["xel"],"application/xcap-ns+xml":["xns"],"application/xenc+xml":["xenc"],"application/xfdf":["xfdf"],"application/xhtml+xml":["xhtml","xht"],"application/xliff+xml":["xlf"],"application/xml":["xml","xsl","xsd","rng"],"application/xml-dtd":["dtd"],"application/xop+xml":["xop"],"application/xproc+xml":["xpl"],"application/xslt+xml":["*xsl","xslt"],"application/xspf+xml":["xspf"],"application/xv+xml":["mxml","xhvml","xvml","xvm"],"application/yang":["yang"],"application/yin+xml":["yin"],"application/zip":["zip"],"application/zip+dotlottie":["lottie"],"audio/3gpp":["*3gpp"],"audio/aac":["adts","aac"],"audio/adpcm":["adp"],"audio/amr":["amr"],"audio/basic":["au","snd"],"audio/midi":["mid","midi","kar","rmi"],"audio/mobile-xmf":["mxmf"],"audio/mp3":["*mp3"],"audio/mp4":["m4a","mp4a","m4b"],"audio/mpeg":["mpga","mp2","mp2a","mp3","m2a","m3a"],"audio/ogg":["oga","ogg","spx","opus"],"audio/s3m":["s3m"],"audio/silk":["sil"],"audio/wav":["wav"],"audio/wave":["*wav"],"audio/webm":["weba"],"audio/xm":["xm"],"font/collection":["ttc"],"font/otf":["otf"],"font/ttf":["ttf"],"font/woff":["woff"],"font/woff2":["woff2"],"image/aces":["exr"],"image/apng":["apng"],"image/avci":["avci"],"image/avcs":["avcs"],"image/avif":["avif"],"image/bmp":["bmp","dib"],"image/cgm":["cgm"],"image/dicom-rle":["drle"],"image/dpx":["dpx"],"image/emf":["emf"],"image/fits":["fits"],"image/g3fax":["g3"],"image/gif":["gif"],"image/heic":["heic"],"image/heic-sequence":["heics"],"image/heif":["heif"],"image/heif-sequence":["heifs"],"image/hej2k":["hej2"],"image/ief":["ief"],"image/jaii":["jaii"],"image/jais":["jais"],"image/jls":["jls"],"image/jp2":["jp2","jpg2"],"image/jpeg":["jpg","jpeg","jpe"],"image/jph":["jph"],"image/jphc":["jhc"],"image/jpm":["jpm","jpgm"],"image/jpx":["jpx","jpf"],"image/jxl":["jxl"],"image/jxr":["jxr"],"image/jxra":["jxra"],"image/jxrs":["jxrs"],"image/jxs":["jxs"],"image/jxsc":["jxsc"],"image/jxsi":["jxsi"],"image/jxss":["jxss"],"image/ktx":["ktx"],"image/ktx2":["ktx2"],"image/pjpeg":["jfif"],"image/png":["png"],"image/sgi":["sgi"],"image/svg+xml":["svg","svgz"],"image/t38":["t38"],"image/tiff":["tif","tiff"],"image/tiff-fx":["tfx"],"image/webp":["webp"],"image/wmf":["wmf"],"message/disposition-notification":["disposition-notification"],"message/global":["u8msg"],"message/global-delivery-status":["u8dsn"],"message/global-disposition-notification":["u8mdn"],"message/global-headers":["u8hdr"],"message/rfc822":["eml","mime","mht","mhtml"],"model/3mf":["3mf"],"model/gltf+json":["gltf"],"model/gltf-binary":["glb"],"model/iges":["igs","iges"],"model/jt":["jt"],"model/mesh":["msh","mesh","silo"],"model/mtl":["mtl"],"model/obj":["obj"],"model/prc":["prc"],"model/step":["step","stp","stpnc","p21","210"],"model/step+xml":["stpx"],"model/step+zip":["stpz"],"model/step-xml+zip":["stpxz"],"model/stl":["stl"],"model/u3d":["u3d"],"model/vrml":["wrl","vrml"],"model/x3d+binary":["*x3db","x3dbz"],"model/x3d+fastinfoset":["x3db"],"model/x3d+vrml":["*x3dv","x3dvz"],"model/x3d+xml":["x3d","x3dz"],"model/x3d-vrml":["x3dv"],"text/cache-manifest":["appcache","manifest"],"text/calendar":["ics","ifb"],"text/coffeescript":["coffee","litcoffee"],"text/css":["css"],"text/csv":["csv"],"text/html":["html","htm","shtml"],"text/jade":["jade"],"text/javascript":["js","mjs"],"text/jsx":["jsx"],"text/less":["less"],"text/markdown":["md","markdown"],"text/mathml":["mml"],"text/mdx":["mdx"],"text/n3":["n3"],"text/plain":["txt","text","conf","def","list","log","in","ini"],"text/richtext":["rtx"],"text/rtf":["*rtf"],"text/sgml":["sgml","sgm"],"text/shex":["shex"],"text/slim":["slim","slm"],"text/spdx":["spdx"],"text/stylus":["stylus","styl"],"text/tab-separated-values":["tsv"],"text/troff":["t","tr","roff","man","me","ms"],"text/turtle":["ttl"],"text/uri-list":["uri","uris","urls"],"text/vcard":["vcard"],"text/vtt":["vtt"],"text/wgsl":["wgsl"],"text/xml":["*xml"],"text/yaml":["yaml","yml"],"video/3gpp":["3gp","3gpp"],"video/3gpp2":["3g2"],"video/h261":["h261"],"video/h263":["h263"],"video/h264":["h264"],"video/iso.segment":["m4s"],"video/jpeg":["jpgv"],"video/jpm":["*jpm","*jpgm"],"video/mj2":["mj2","mjp2"],"video/mp2t":["ts","m2t","m2ts","mts"],"video/mp4":["mp4","mp4v","mpg4"],"video/mpeg":["mpeg","mpg","mpe","m1v","m2v"],"video/ogg":["ogv"],"video/quicktime":["qt","mov"],"video/webm":["webm"]};Object.freeze(d3);var TX=d3,nn=function(e,t,r,n){if(typeof t=="function"?e!==t||!0:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return r==="m"?n:r==="a"?n.call(e):n?n.value:t.get(e)},da,ui,zr,MX=class{constructor(...e){da.set(this,new Map),ui.set(this,new Map),zr.set(this,new Map);for(let t of e)this.define(t)}define(e,t=!1){for(let[r,n]of Object.entries(e)){r=r.toLowerCase(),n=n.map(o=>o.toLowerCase()),nn(this,zr,"f").has(r)||nn(this,zr,"f").set(r,new Set);let a=nn(this,zr,"f").get(r),i=!0;for(let o of n){let l=o.startsWith("*");if(o=l?o.slice(1):o,a==null||a.add(o),i&&nn(this,ui,"f").set(r,o),i=!1,l)continue;let h=nn(this,da,"f").get(o);if(h&&h!=r&&!t)throw new Error(`"${r} -> ${o}" conflicts with "${h} -> ${o}". Pass \`force=true\` to override this definition.`);nn(this,da,"f").set(o,r)}}return this}getType(e){if(typeof e!="string")return null;let t=e.replace(/^.*[/\\]/s,"").toLowerCase(),r=t.replace(/^.*\./s,"").toLowerCase(),n=t.length<e.length;return!(r.length<t.length-1)&&n?null:nn(this,da,"f").get(r)??null}getExtension(e){var t;return typeof e!="string"?null:(e=(t=e==null?void 0:e.split)==null?void 0:t.call(e,";")[0],(e&&nn(this,ui,"f").get(e.trim().toLowerCase()))??null)}getAllExtensions(e){return typeof e!="string"?null:nn(this,zr,"f").get(e.toLowerCase())??null}_freeze(){this.define=()=>{throw new Error("define() not allowed for built-in Mime objects. See https://github.com/broofa/mime/blob/main/README.md#custom-mime-instances")},Object.freeze(this);for(let e of nn(this,zr,"f").values())Object.freeze(e);return this}_getTestState(){return{types:nn(this,da,"f"),extensions:nn(this,ui,"f")}}};da=new WeakMap,ui=new WeakMap,zr=new WeakMap;var RX=MX;new RX(TX,NX)._freeze();var OX=(()=>{const t=class t{transform(n){return bQ(n)}};t.ɵfac=function(n){return new(n||t)},t.ɵpipe=za({name:"fullname",type:t,pure:!0});let e=t;return e})(),PX=(()=>{const t=class t{constructor(){this.ingredientLabelService=D(_Q),this.translate=D(Hn),this.destroyRef=D($i),this.cd=D(nl),this.translate.onLangChange.pipe(DX(this.destroyRef)).subscribe(()=>{this.transformIngredientLabel(),this.cd.markForCheck()})}transform(n){return n!==this.ingredient&&(this.ingredient=n,this.transformIngredientLabel()),this.translation}transformIngredientLabel(){this.translation=this.ingredient?this.ingredientLabelService.transform(this.ingredient):""}};t.ɵfac=function(n){return new(n||t)},t.ɵpipe=za({name:"ingredientLabel",type:t,pure:!0});let e=t;return e})(),AX=(()=>{const t=class t{constructor(){this.translate=D(Hn)}transform(n){return Zb(n,this.translate.currentLang)}};t.ɵfac=function(n){return new(n||t)},t.ɵpipe=za({name:"translateValue",type:t,pure:!0});let e=t;return e})(),LX=e=>({count:e});function FX(e,t){if(e&1){let r=r0();ke(0,"span",1),Ae(1),Ye(2,"translate"),Ce(),ke(3,"span",2)(4,"a",3),el("click",function(n){tg(r);let a=Rt(2);return ng(a.onDownloadClick(n))}),Yt(5,"mat-icon",4),Ae(6),Ye(7,"translate"),Ce()()}e&2&&(we(),mt(rt(2,2,"deliveredMedicationDetails.leaflet")),we(5),lr(" ",rt(7,4,"commons.downloadLeaflet")," "))}function jX(e,t){if(e&1&&(ke(0,"span",1),Ae(1),Ye(2,"translate"),Ce(),ke(3,"span",2),Ae(4),Ye(5,"translateValue"),Ce(),Wt(6,FX,8,6)),e&2){let r=Rt();we(),mt(rt(2,3,"deliveredMedicationDetails.medication")),we(3),mt(rt(5,5,r.item().medication.name)),we(2),sn(r.displayAllDetails()&&r.item().medication.identifier&&r.item().medication.identifier.type===r.identifierType.CNK?6:-1)}}function VX(e,t){if(e&1&&(Ae(0),Ye(1,"ingredientLabel")),e&2){let r=t.$implicit;lr(" ",rt(1,1,r)," ")}}function BX(e,t){if(e&1&&(ke(0,"span",1)(1,"strong"),Ae(2),Ye(3,"translate"),Ce()(),ke(4,"span",2),t0(5,VX,2,3,null,null,QG),Ce()),e&2){let r=Rt();we(2),mt(rt(3,1,"deliveredMedicationsList.magisterialPreparation")),we(3),n0(r.item().medication.ingredients)}}function zX(e,t){if(e&1&&(ke(0,"span",1),Ae(1),Ye(2,"translate"),Ce(),ke(3,"span",2),Ae(4),Ye(5,"translate"),Ce()),e&2){let r=t;we(),mt(rt(2,3,"deliveredMedicationDetails.quantity")),we(3),gd("",r," ",c0(5,5,"deliveredMedicationDetails.package",w$(8,LX,r)),"")}}function HX(e,t){if(e&1&&(ke(0,"span",1),Ae(1),Ye(2,"translate"),Ce(),ke(3,"span",2),Ae(4),Ye(5,"date"),Ce()),e&2){let r=Rt();we(),mt(rt(2,2,"deliveredMedicationDetails.delivery-date")),we(3),mt(c0(5,4,r.item().deliveryDate,"dd/MM/yyyy"))}}function qX(e,t){if(e&1&&(Ae(0),Ye(1,"translateValue"),Yt(2,"br"),Ae(3)),e&2){let r=Rt();lr(" ",rt(1,2,t)," "),we(3),lr(" ",r.item().pharmacy.nihdi," ")}}function GX(e,t){if(e&1&&(Ae(0),Ye(1,"translate")),e&2){let r=Rt();gd(" ",rt(1,2,"deliveredMedicationDetails.no-pharmacy"),": ",r.item().pharmacy.nihdi," ")}}function $X(e,t){if(e&1&&(ke(0,"span",1),Ae(1),Ye(2,"translate"),Ce(),ke(3,"span",2),Ae(4),Ye(5,"fullname"),Ce()),e&2){let r=Rt();we(),mt(rt(2,2,"deliveredMedicationDetails.patient")),we(3),mt(rt(5,4,r.item().person))}}var UX=(()=>{const t=class t{constructor(){this.translate=D(Hn),this.leafletService=D(FQ),this.item=$t.required(),this.displayAllDetails=$t(!1),this.isProfessional=$t.required(),this.identifierType=Kb}onDownloadClick(n){n.preventDefault(),this.leafletService.getLeaflet(this.translate.currentLang,this.item().medication.identifier.value)}};t.ɵfac=function(n){return new(n||t)},t.ɵcmp=Ct({type:t,selectors:[["vidis-delivered-medication-details-row"]],inputs:{item:[1,"item"],displayAllDetails:[1,"displayAllDetails"],isProfessional:[1,"isProfessional"]},decls:28,vars:22,consts:[[1,"details"],[1,"details__label"],[1,"details__value"],["mat-button","","target","_blank",3,"click"],["fontIcon","download"]],template:function(n,a){if(n&1&&(ke(0,"span",0),Wt(1,jX,7,7)(2,BX,7,3),ke(3,"span",1),Ae(4),Ye(5,"translate"),Ce(),ke(6,"span",2),Ae(7),Ce(),ke(8,"span",1),Ae(9),Ye(10,"translate"),Ce(),ke(11,"span",2),Ae(12),Ye(13,"translate"),Ce(),Wt(14,zX,6,10)(15,HX,6,7),ke(16,"span",1),Ae(17),Ye(18,"translate"),Ce(),ke(19,"span",2),Wt(20,qX,4,4)(21,GX,2,4),Ce(),Wt(22,$X,6,6),ke(23,"span",1),Ae(24),Ye(25,"translate"),Ce(),ke(26,"span",2),Ae(27),Ce()()),n&2){let i,o,l;we(),sn(a.item().medication.name?1:2),we(3),mt(rt(5,12,"deliveredMedicationDetails.posologie")),we(3),mt((i=a.item().dosageInstruction)==null?null:i.text),we(2),mt(rt(10,14,"deliveredMedicationDetails.is-prescribed.title")),we(3),mt(rt(13,16,"deliveredMedicationDetails.is-prescribed."+(a.item().isPrescribed?"yes":"no"))),we(2),sn((o=(o=a.item().medication.quantity)==null?null:o.value)?14:-1,o),we(),sn(a.displayAllDetails()?15:-1),we(2),mt(rt(18,18,"deliveredMedicationDetails.delivered-by")),we(3),sn((l=(l=a.item().pharmacy)==null?null:l.name)?20:21,l),we(2),sn(a.displayAllDetails()&&!a.isProfessional()?22:-1),we(2),mt(rt(25,20,"deliveredMedicationDetails.dguid")),we(3),mt(a.item().dguid)}},dependencies:[Cd,AX,PX,cW,u3,qU,OX],styles:[".details[_ngcontent-%COMP%]{display:grid}@media only screen and (min-width: 960px){.details[_ngcontent-%COMP%]{grid-template-columns:max-content auto;gap:10px 20px}}@media only screen and (max-width: 960px){.details__value[_ngcontent-%COMP%]{margin-bottom:10px}}.details__label[_ngcontent-%COMP%]{font-family:Open Sans,Roboto,sans-serif;font-weight:700;color:#0d0d0d;font-size:1rem;line-height:1.375rem;letter-spacing:0em}.details__value[_ngcontent-%COMP%]{font-family:Open Sans,Roboto,sans-serif;font-weight:400;color:#0d0d0d;font-size:1rem;line-height:1.375rem;letter-spacing:0em}"]});let e=t;return e})();bm(Qz());var WX=(()=>{const t=class t extends jQ{constructor(){super(...arguments),this.version=dc,this.authServiceSelector=D(qd),this.translateService=D(Hn),this.webComponentConfig=D(sl),this.injector=D(Tt)}onInitialized(){this.webComponentConfig.setEnvironment(this.configName),this.translateService.use(this.language),this.authServiceSelector.getInstance().registerAccessToken(this.services.getAccessToken),this.injectService(),this.fetchData(!1),this.services.registerRefreshCallback(n=>nr(this,null,function*(){this.fetchData(!0),n()}))}onPropsChanged(n){n.language&&this.translateService.use(this.language)}};t.ɵfac=(()=>{let n;return function(a){return(n||(n=En(t)))(a||t)}})(),t.ɵcmp=Ct({type:t,selectors:[["ng-component"]],features:[Tr],decls:0,vars:0,template:function(n,a){},encapsulation:2});let e=t;return e})(),ZX=["*"],YX=[[["","mat-card-avatar",""],["","matCardAvatar",""]],[["mat-card-title"],["mat-card-subtitle"],["","mat-card-title",""],["","mat-card-subtitle",""],["","matCardTitle",""],["","matCardSubtitle",""]],"*"],KX=["[mat-card-avatar], [matCardAvatar]",`mat-card-title, mat-card-subtitle,
35
+ [mat-card-title], [mat-card-subtitle],
36
+ [matCardTitle], [matCardSubtitle]`,"*"],QX=new Q("MAT_CARD_CONFIG"),h3=(()=>{const t=class t{constructor(){s(this,"appearance");let n=D(QX,{optional:!0});this.appearance=(n==null?void 0:n.appearance)||"raised"}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵcmp",Ct({type:t,selectors:[["mat-card"]],hostAttrs:[1,"mat-mdc-card","mdc-card"],hostVars:4,hostBindings:function(n,a){n&2&&Dr("mat-mdc-card-outlined",a.appearance==="outlined")("mdc-card--outlined",a.appearance==="outlined")},inputs:{appearance:"appearance"},exportAs:["matCard"],ngContentSelectors:ZX,decls:1,vars:0,template:function(n,a){n&1&&(Ga(),cn(0))},styles:[`.mat-mdc-card{display:flex;flex-direction:column;box-sizing:border-box;position:relative;border-style:solid;border-width:0;background-color:var(--mdc-elevated-card-container-color, var(--mat-sys-surface-container-low));border-color:var(--mdc-elevated-card-container-color, var(--mat-sys-surface-container-low));border-radius:var(--mdc-elevated-card-container-shape, var(--mat-sys-corner-medium));box-shadow:var(--mdc-elevated-card-container-elevation, var(--mat-sys-level1))}.mat-mdc-card::after{position:absolute;top:0;left:0;width:100%;height:100%;border:solid 1px rgba(0,0,0,0);content:"";display:block;pointer-events:none;box-sizing:border-box;border-radius:var(--mdc-elevated-card-container-shape, var(--mat-sys-corner-medium))}.mat-mdc-card-outlined{background-color:var(--mdc-outlined-card-container-color, var(--mat-sys-surface));border-radius:var(--mdc-outlined-card-container-shape, var(--mat-sys-corner-medium));border-width:var(--mdc-outlined-card-outline-width, 1px);border-color:var(--mdc-outlined-card-outline-color, var(--mat-sys-outline-variant));box-shadow:var(--mdc-outlined-card-container-elevation, var(--mat-sys-level0))}.mat-mdc-card-outlined::after{border:none}.mdc-card__media{position:relative;box-sizing:border-box;background-repeat:no-repeat;background-position:center;background-size:cover}.mdc-card__media::before{display:block;content:""}.mdc-card__media:first-child{border-top-left-radius:inherit;border-top-right-radius:inherit}.mdc-card__media:last-child{border-bottom-left-radius:inherit;border-bottom-right-radius:inherit}.mat-mdc-card-actions{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;min-height:52px;padding:8px}.mat-mdc-card-title{font-family:var(--mat-card-title-text-font, var(--mat-sys-title-large-font));line-height:var(--mat-card-title-text-line-height, var(--mat-sys-title-large-line-height));font-size:var(--mat-card-title-text-size, var(--mat-sys-title-large-size));letter-spacing:var(--mat-card-title-text-tracking, var(--mat-sys-title-large-tracking));font-weight:var(--mat-card-title-text-weight, var(--mat-sys-title-large-weight))}.mat-mdc-card-subtitle{color:var(--mat-card-subtitle-text-color, var(--mat-sys-on-surface));font-family:var(--mat-card-subtitle-text-font, var(--mat-sys-title-medium-font));line-height:var(--mat-card-subtitle-text-line-height, var(--mat-sys-title-medium-line-height));font-size:var(--mat-card-subtitle-text-size, var(--mat-sys-title-medium-size));letter-spacing:var(--mat-card-subtitle-text-tracking, var(--mat-sys-title-medium-tracking));font-weight:var(--mat-card-subtitle-text-weight, var(--mat-sys-title-medium-weight))}.mat-mdc-card-title,.mat-mdc-card-subtitle{display:block;margin:0}.mat-mdc-card-avatar~.mat-mdc-card-header-text .mat-mdc-card-title,.mat-mdc-card-avatar~.mat-mdc-card-header-text .mat-mdc-card-subtitle{padding:16px 16px 0}.mat-mdc-card-header{display:flex;padding:16px 16px 0}.mat-mdc-card-content{display:block;padding:0 16px}.mat-mdc-card-content:first-child{padding-top:16px}.mat-mdc-card-content:last-child{padding-bottom:16px}.mat-mdc-card-title-group{display:flex;justify-content:space-between;width:100%}.mat-mdc-card-avatar{height:40px;width:40px;border-radius:50%;flex-shrink:0;margin-bottom:16px;object-fit:cover}.mat-mdc-card-avatar~.mat-mdc-card-header-text .mat-mdc-card-subtitle,.mat-mdc-card-avatar~.mat-mdc-card-header-text .mat-mdc-card-title{line-height:normal}.mat-mdc-card-sm-image{width:80px;height:80px}.mat-mdc-card-md-image{width:112px;height:112px}.mat-mdc-card-lg-image{width:152px;height:152px}.mat-mdc-card-xl-image{width:240px;height:240px}.mat-mdc-card-subtitle~.mat-mdc-card-title,.mat-mdc-card-title~.mat-mdc-card-subtitle,.mat-mdc-card-header .mat-mdc-card-header-text .mat-mdc-card-title,.mat-mdc-card-header .mat-mdc-card-header-text .mat-mdc-card-subtitle,.mat-mdc-card-title-group .mat-mdc-card-title,.mat-mdc-card-title-group .mat-mdc-card-subtitle{padding-top:0}.mat-mdc-card-content>:last-child:not(.mat-mdc-card-footer){margin-bottom:0}.mat-mdc-card-actions-align-end{justify-content:flex-end}
37
+ `],encapsulation:2,changeDetection:0}));let e=t;return e})(),p3=(()=>{const t=class t{};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵdir",hr({type:t,selectors:[["mat-card-content"]],hostAttrs:[1,"mat-mdc-card-content"]}));let e=t;return e})(),JX=(()=>{const t=class t{};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵcmp",Ct({type:t,selectors:[["mat-card-header"]],hostAttrs:[1,"mat-mdc-card-header"],ngContentSelectors:KX,decls:4,vars:0,consts:[[1,"mat-mdc-card-header-text"]],template:function(n,a){n&1&&(Ga(YX),cn(0),ke(1,"div",0),cn(2,1),Ce(),cn(3,2))},encapsulation:2,changeDetection:0}));let e=t;return e})(),XX=(()=>{const t=class t{constructor(){this.translate=D(Hn),this.error=$t.required()}get messageKey(){var o;let n=(o=this.error().error)==null?void 0:o.code,a="commons.errors.status-message-content";if(!n)return a;let i=`commons.errors.${n}`;return this.translate.instant(i)!==i?i:a}};t.ɵfac=function(n){return new(n||t)},t.ɵcmp=Ct({type:t,selectors:[["vidis-status-message"]],inputs:{error:[1,"error"]},decls:9,vars:6,consts:[["fontIcon","info",1,"material-icons"]],template:function(n,a){n&1&&(ke(0,"mat-card")(1,"mat-card-header"),Yt(2,"mat-icon",0),Ae(3),Ye(4,"translate"),Ce(),ke(5,"mat-card-content")(6,"span"),Ae(7),Ye(8,"translate"),Ce()()()),n&2&&(we(3),lr(" ",rt(4,2,"commons.errors.status-message-title")," "),we(4),mt(rt(8,4,a.messageKey)))},dependencies:[h3,p3,JX,u3,Cd],styles:["mat-card-header[_ngcontent-%COMP%]{color:#c41c0d}mat-card-header[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{margin-right:8px}span[_ngcontent-%COMP%]{white-space:pre-line}"]});let e=t;return e})(),eee=["*"],tee=(e,t,r,n,a)=>({"custom-content":e,circle:t,progress:r,"progress-dark":n,pulse:a});function nee(e,t){e&1&&cn(0)}function ree(e,t){if(e&1&&(ke(0,"div",0),Wt(1,nee,1,0),Ce()),e&2){let r=Rt(),n=ip(0),a=ip(1);qa("ngClass",x$(5,tee,n==="custom-content",n==="circle",a==="progress",a==="progress-dark",a==="pulse"))("ngStyle",r.styles()),Ha("aria-label",r.ariaLabel())("aria-valuetext",r.loadingText()),we(),sn(n==="custom-content"?1:-1)}}var m3=new Q("ngx-skeleton-loader.config"),aee=(()=>{var t;const r=class r{constructor(){ah(this,t);var a,i,o,l,h,u;ih(this,t,D(m3,{optional:!0})),this.count=$t(((a=Xn(this,t))==null?void 0:a.count)||1,{transform:p0}),this.loadingText=$t(((i=Xn(this,t))==null?void 0:i.loadingText)||"Loading..."),this.appearance=$t(((o=Xn(this,t))==null?void 0:o.appearance)||"line"),this.animation=$t(((l=Xn(this,t))==null?void 0:l.animation)||"progress"),this.ariaLabel=$t(((h=Xn(this,t))==null?void 0:h.ariaLabel)||"loading"),this.theme=$t(((u=Xn(this,t))==null?void 0:u.theme)||null),this.items=lp(()=>{let c=this.count()||1;return this.appearance()==="custom-content"&&V$(),[...Array(c)].map((m,b)=>b)}),this.styles=lp(()=>{var m,b,g;let c=this.theme();return(b=(m=Xn(this,t))==null?void 0:m.theme)!=null&&b.extendsFromRoot?ge(ge({},(g=Xn(this,t))==null?void 0:g.theme),c):c})}};t=new WeakMap,r.ɵfac=function(a){return new(a||r)},r.ɵcmp=Ct({type:r,selectors:[["ngx-skeleton-loader"]],inputs:{count:[1,"count"],loadingText:[1,"loadingText"],appearance:[1,"appearance"],animation:[1,"animation"],ariaLabel:[1,"ariaLabel"],theme:[1,"theme"]},ngContentSelectors:eee,decls:4,vars:2,consts:[["aria-busy","true","aria-valuemin","0","aria-valuemax","100","role","progressbar","tabindex","-1",1,"skeleton-loader",3,"ngClass","ngStyle"]],template:function(a,i){a&1&&(Ga(),o0(0)(1),t0(2,ree,2,11,"div",0,JG)),a&2&&(ap(i.appearance()),we(),ap(i.animation()),we(),n0(i.items()))},dependencies:[OU,PU],styles:['.skeleton-loader[_ngcontent-%COMP%]{box-sizing:border-box;overflow:hidden;position:relative;background:#eff1f6 no-repeat;border-radius:4px;width:100%;height:20px;display:inline-block;margin-bottom:10px;will-change:transform}.skeleton-loader[_ngcontent-%COMP%]:after, .skeleton-loader[_ngcontent-%COMP%]:before{box-sizing:border-box}.skeleton-loader.circle[_ngcontent-%COMP%]{width:40px;height:40px;margin:5px;border-radius:50%}.skeleton-loader.progress[_ngcontent-%COMP%], .skeleton-loader.progress-dark[_ngcontent-%COMP%]{transform:translateZ(0)}.skeleton-loader.progress[_ngcontent-%COMP%]:after, .skeleton-loader.progress[_ngcontent-%COMP%]:before, .skeleton-loader.progress-dark[_ngcontent-%COMP%]:after, .skeleton-loader.progress-dark[_ngcontent-%COMP%]:before{box-sizing:border-box}.skeleton-loader.progress[_ngcontent-%COMP%]:before, .skeleton-loader.progress-dark[_ngcontent-%COMP%]:before{animation:_ngcontent-%COMP%_progress 2s ease-in-out infinite;background-size:200px 100%;position:absolute;z-index:1;top:0;left:0;width:200px;height:100%;content:""}.skeleton-loader.progress[_ngcontent-%COMP%]:before{background-image:linear-gradient(90deg,#fff0,#fff9,#fff0)}.skeleton-loader.progress-dark[_ngcontent-%COMP%]:before{background-image:linear-gradient(90deg,transparent,rgba(0,0,0,.2),transparent)}.skeleton-loader.pulse[_ngcontent-%COMP%]{animation:_ngcontent-%COMP%_pulse 1.5s cubic-bezier(.4,0,.2,1) infinite;animation-delay:.5s}.skeleton-loader.custom-content[_ngcontent-%COMP%]{height:100%;background:none}@media (prefers-reduced-motion: reduce){.skeleton-loader.pulse[_ngcontent-%COMP%], .skeleton-loader.progress-dark[_ngcontent-%COMP%], .skeleton-loader.custom-content[_ngcontent-%COMP%], .skeleton-loader.progress[_ngcontent-%COMP%]:before{animation:none}.skeleton-loader.progress[_ngcontent-%COMP%]:before, .skeleton-loader.progress-dark[_ngcontent-%COMP%], .skeleton-loader.custom-content[_ngcontent-%COMP%]{background-image:none}}@media screen and (min-device-width: 1200px){.skeleton-loader[_ngcontent-%COMP%]{-webkit-user-select:none;user-select:none;cursor:wait}}@keyframes _ngcontent-%COMP%_progress{0%{transform:translate3d(-200px,0,0)}to{transform:translate3d(calc(200px + 100vw),0,0)}}@keyframes _ngcontent-%COMP%_pulse{0%{opacity:1}50%{opacity:.4}to{opacity:1}}'],changeDetection:0});let e=r;return e})(),iee=(()=>{const t=class t{static forRoot(n){return{ngModule:t,providers:[{provide:m3,useValue:n}]}}};t.ɵfac=function(n){return new(n||t)},t.ɵmod=zv({type:t}),t.ɵinj=Cf({imports:[GU]});let e=t;return e})(),oee=()=>({width:"40%",height:"20px"});function see(e,t){e&1&&Yt(0,"ngx-skeleton-loader",0),e&2&&qa("theme",_$(1,oee))}function lee(e,t){if(e&1&&Yt(0,"vidis-delivered-medication-details-row",1),e&2){let r=Rt();qa("item",r.item())("displayAllDetails",!0)("isProfessional",r.isProfessional())}}function uee(e,t){e&1&&(ke(0,"div",2)(1,"h3"),Ae(2),Ye(3,"translate"),Ce()()),e&2&&(we(2),mt(rt(3,1,"deliveredMedicationDetails.noDetails")))}var cee=(()=>{const t=class t{constructor(){this.item=$t.required(),this.isLoading=$t.required(),this.isProfessional=$t.required()}};t.ɵfac=function(n){return new(n||t)},t.ɵcmp=Ct({type:t,selectors:[["vidis-delivered-medication-details-card"]],inputs:{item:[1,"item"],isLoading:[1,"isLoading"],isProfessional:[1,"isProfessional"]},decls:5,vars:1,consts:[["count","8","appearance","line",3,"theme"],[3,"item","displayAllDetails","isProfessional"],[1,"center"]],template:function(n,a){n&1&&(ke(0,"mat-card")(1,"mat-card-content"),Wt(2,see,1,2,"ngx-skeleton-loader",0)(3,lee,1,3,"vidis-delivered-medication-details-row",1)(4,uee,4,3,"div",2),Ce()()),n&2&&(we(2),sn(a.isLoading()?2:a.item()?3:4))},dependencies:[h3,p3,Cd,iee,aee,UX],encapsulation:2});let e=t;return e})();function dee(e,t){e&1&&(ke(0,"div"),Ae(1,"Component not properly initialized!"),Ce())}function hee(e,t){if(e&1&&Yt(0,"vidis-status-message",0),e&2){let r=Rt();qa("error",r.error)}}function pee(e,t){if(e&1&&Yt(0,"vidis-delivered-medication-details-card",1),e&2){let r=Rt(),n=Rt(2);qa("item",r.data)("isLoading",r.status===n.loadingStatus.LOADING)("isProfessional",n.professional)}}function mee(e,t){if(e&1&&Wt(0,hee,1,1,"vidis-status-message",0)(1,pee,1,3,"vidis-delivered-medication-details-card",1),e&2){let r=Rt(2);sn(t.status===r.loadingStatus.ERROR?0:1)}}function fee(e,t){if(e&1&&(Wt(0,mee,2,1),Ye(1,"async")),e&2){let r,n=Rt();sn((r=rt(1,1,n.deliveredMedicationsState$))?0:-1,r)}}var gee=(()=>{const t=class t extends WX{constructor(){super(...arguments),this.professional=!1,this.ssin="",this.extraRequiredFields=["dguid"],this.loadingStatus=Sa}fetchData(n){return nr(this,null,function*(){return yield this.deliveredMedicationsService.getDeliveredMedications(this.services,n)})}injectService(){this.deliveredMedicationsService=this.injector.get(dm),this.deliveredMedicationsState$=this.deliveredMedicationsService.deliveredMedicationsState$.pipe(wt(n=>{var a;return Kt(ge({},n),{data:(a=n.data)==null?void 0:a.items.find(i=>i.dguid===this.dguid)})})),this.authServiceSelector.getInstance().isProfessional=this.professional,this.authServiceSelector.getInstance().patientSsin=this.ssin}};t.ɵfac=(()=>{let n;return function(a){return(n||(n=En(t)))(a||t)}})(),t.ɵcmp=Ct({type:t,selectors:[["ng-component"]],inputs:{dguid:"dguid",professional:"professional",ssin:"ssin"},features:[y$([dm,i3,o3,vX]),Tr],decls:2,vars:1,consts:[[3,"error"],[3,"item","isLoading","isProfessional"]],template:function(n,a){n&1&&Wt(0,dee,2,0,"div")(1,fee,2,3),n&2&&sn(a.isCorrectlySetup()?1:0)},dependencies:[VU,cee,XX],encapsulation:2,changeDetection:0});let e=t;return e})();u8({providers:[hX]}).then(e=>{let t=aU(gee,{injector:e.injector});customElements.define("vidis-delivered-medication-detail",t)}).catch(e=>console.error(e));